diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3cc6cd --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Assets in this directory will be served at root path. diff --git a/assets/about-4f114832.js b/assets/about-4f114832.js new file mode 100644 index 0000000..11dd462 --- /dev/null +++ b/assets/about-4f114832.js @@ -0,0 +1 @@ +import{d as c,r as n,o as h,c as u,w as r,a as e,e as t,b as o}from"./index-cfaa60b6.js";const p={class:"markdown-body"},f=e("h1",{id:"about",tabindex:"-1"},"About",-1),g=e("p",null,[e("em",null,"Building community around and gathering knowledge about the world’s stoneflies")],-1),m=e("h2",{id:"overview",tabindex:"-1"},"Overview",-1),y=e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks",-1),_=e("a",{href:"https://speciesfilegroup.org",rel:"noopener noreferrer",target:"_blank"},"Species File Group",-1),b=e("a",{href:"https://github.com/SpeciesFileGroup/taxonpages",rel:"noopener noreferrer",target:"_blank"},"learn more and get help",-1),x=e("h2",{id:"gaps-as-opportunity",tabindex:"-1"},"Gaps as Opportunity",-1),w=e("h2",{id:"history",tabindex:"-1"},"History",-1),v=e("p",null,[e("em",null,[t("Our old website is now a read-only resource available at "),e("a",{href:"http://Plecoptera.archive.speciesfile.org",rel:"noopener noreferrer",target:"_blank"},"http://Plecoptera.archive.speciesfile.org"),t(".")])],-1),k=e("p",null,"{How did the Species File Group come to be (shared history)}. How did this specific SF group come to be? When did we start our efforts? What are the historically important catalogs behind these data.}",-1),S=e("h2",{id:"team",tabindex:"-1"},"Team",-1),I=e("h3",{id:"contribute-or-get-help",tabindex:"-1"},"Contribute or get help",-1),P=e("p",null,[e("em",null,"We welcome you to join us in our efforts! Projects of this nature require expertise in many different areas, not only on the taxa being treated. Collaboration is key. Please see below how to best reach our team with your questions, concerns, suggestions, and ideas:")],-1),A=e("li",null,[t("Enquire about joining the researchers building this Species File: "),e("a",{href:"mailto:dewalt@illinois.edu",rel:"noopener noreferrer",target:"_blank"},"Contact R.E. DeWalt directly"),t(".")],-1),N=e("li",null,[e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),t(" and TaxonPages are open-source efforts that are "),e("a",{href:"https://docs.taxonworks.org/develop/contributing.html",rel:"noopener noreferrer",target:"_blank"},"opportunities for you and others to join"),t(" to request new features, report bugs, or discuss use among other things.")],-1),T=e("h3",{id:"contributors",tabindex:"-1"},"Contributors",-1),C=e("table",null,[e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Name"),e("th",{style:{"text-align":"left"}},"Affiliation"),e("th",{style:{"text-align":"left"}},"Role"),e("th",{style:{"text-align":"left"}},"Email")])]),e("tbody",null,[e("tr",null,[e("td",{style:{"text-align":"left"}},"R. Edward DeWalt"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:dewalt@illinois.edu",rel:"noopener noreferrer",target:"_blank"},"dewalt@illinois.edu")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Heidi Hopkins"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural HIstory Survey"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:cockroachdoc@gmail.com",rel:"noopener noreferrer",target:"_blank"},"cockroachdoc@gmail.com")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"U. Neu-Becker"),e("td",{style:{"text-align":"left"}},"Max-Planck Institute"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"G. Stueber"),e("td",{style:{"text-align":"left"}},"Max-Planck Institute"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Lily Hart"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Editor"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:lvhart2@illinois.edu",rel:"noopener noreferrer",target:"_blank"},"lvhart2@illinois.edu")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Matt Yoder"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Facilitator"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Rich Flood"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Facilitator"),e("td",{style:{"text-align":"left"}})])])],-1),E=e("h3",{id:"cite-this-website",tabindex:"-1"},"Cite this website",-1),F=e("p",null,[e("em",null,"please use the following format:")],-1),R=e("p",null,[t("DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G. 2023. Plecoptera Species File. [retrieval date]. "),e("a",{href:"https://plecoptera.speciesfile.org",rel:"noopener noreferrer",target:"_blank"},"https://plecoptera.speciesfile.org")],-1),H=e("h3",{id:"support-and-cooperation",tabindex:"-1"},"Support and Cooperation",-1),W=e("p",null,[e("em",null,"Plecoptera Species File functionality and content are made possible through services from:")],-1),j=e("ul",null,[e("li",null,"Species File Group"),e("li",null,"University of Illinois, Illinois Natural History Survey"),e("li",null,"National Science Foundation (NSF) under Grant DEB 09–18805 ARRA. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the NSF.")],-1),D=e("h3",{id:"the-species-file-group",tabindex:"-1"},"The Species File Group",-1),G=e("p",null,[t("The "),e("a",{href:"https://speciesfilegroup.org/index.html",rel:"noopener noreferrer",target:"_blank"},"Species File Group (SFG)"),t(" is an endowment-funded collective of specialists whose broader goal is the advancement of biodiversity informatics. We are located at the University of Illinois, Illinois Natural History Survey. Our group supports the following software/activities:")],-1),L=e("ul",null,[e("li",null,[e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),t(" - a workbench for taxonomists and natural history museums.")]),e("li",null,[e("a",{href:"https://globalnames.org/",rel:"noopener noreferrer",target:"_blank"},"Global Names Architecture"),t(" - finding, parsing, and resolving taxon names from literature. Lead Developer: Dmitry Mozzherin.")]),e("li",null,[e("a",{href:"https://catalogueoflife.org/",rel:"noopener noreferrer",target:"_blank"},"Catalogue of Life"),t(" - editorial group, and data assembly hub. Executive Editor Yury Roskov and Database Manager Geoff Ower.")]),e("li",null,"Taxonomic/Systematic Research supporting several insect groups.")],-1),O=e("h4",{id:"the-taxonworks-community",tabindex:"-1"},"The TaxonWorks Community",-1),U=e("p",null,[t("Everyone joining us at our weekly meetings, everyone who invests efforts to capture, study, and share knowledge using and developing our software, and building on or connecting to our services, enriches our goal to support evolving our broader community efforts to describe life, together. The work revealed on this website comes from many community meetings, many hours of research, a lot of software and data model development. This includes considerable effort to support impactful culture change and potentially enhanced standards of practice for data capture, sharing resources, knowledge, and workload. Please join us any Wednesday to add your voice to our community and learn more (see "),e("a",{href:"https://speciesfilegroup.org/events.html",rel:"noopener noreferrer",target:"_blank"},"Events"),t(").")],-1),M=e("h2",{id:"extended-access",tabindex:"-1"},"Extended access",-1),B=e("p",null,[e("em",null,"A goal of these pages is to ensure that the underlying data behind them are accessible in their digital format. By diversifying the ways the data are accessible (e.g. on the web page, in JSON, in Darwin Core standard), we increase the opportunities to both spot errors and provide new services and portals.")],-1),q=e("ul",null,[e("li",null,"Researchers working on this project use their rich, multi-faceted access to the data via TaxonWorks’ interfaces (e.g. filters, reporting, downloads). Access requires a project account, see [Contacts][#contact]."),e("li",null,[t("Data behind individual panels can be seen via the "),e("em",null,"SiteMap"),t(" functionality.")]),e("li",null,[t("Each page offers an option to download a "),e("em",null,"DarwinCore formatted table"),t(" containing all data for this taxon and its children.")]),e("li",null,[t("Panel data (each section on a page) and other data not available here are accessible via a "),e("a",{href:"https://api.taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks API"),t(" at "),e("a",{href:"https://sfg.taxonworks.org/api/v1",rel:"noopener noreferrer",target:"_blank"},"https://sfg.taxonworks.org/api/v1"),t(",")]),e("li",null,[t("Core taxonomic data are exported to and available at the "),e("a",{href:"https://www.catalogueoflife.org/data/taxon/62372",rel:"noopener noreferrer",target:"_blank"},"Catalogue of Life"),t(" and its "),e("a",{href:"https://api.checklistbank.org/dataset/3LR/taxon/62372",rel:"noopener noreferrer",target:"_blank"},"associated API"),t(".")])],-1),V=e("h3",{id:"websites",tabindex:"-1"},"Websites",-1),Y=e("ul",null,[e("li",null,[e("a",{href:"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/PerlaList.aspx",rel:"noopener noreferrer",target:"_blank"},"PERLA Annual News Letter")]),e("li",null,[e("a",{href:"http://illiesia.speciesfile.org/",rel:"noopener noreferrer",target:"_blank"},"ILLIESIA International Journal of Stonefly Research")])],-1),z=e("h3",{id:"past-meetings",tabindex:"-1"},"Past meetings",-1),X=e("h4",{id:"2022-xvith-international-conference-on-ephemeroptera-and-xxth-international-symposium-on-plecoptera",tabindex:"-1"},"2022 XVIth INTERNATIONAL CONFERENCE ON EPHEMEROPTERA AND XXth INTERNATIONAL SYMPOSIUM ON PLECOPTERA",-1),J=e("p",null,[e("a",{href:"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/MF_SF 2022 Program and Schedule.pdf",target:"naps"},"Download PDF of 2022 Program"),t(".")],-1),K=e("h2",{id:"terms-of-use-(copyright-guidance)",tabindex:"-1"},"Terms of Use (Copyright Guidance)",-1),Q=e("div",{class:"flex items-center gap-2"},[e("a",{class:"min-w-fit",href:"http://creativecommons.org/licenses/by/4.0/"},[e("img",{src:"https://licensebuttons.net/l/by/4.0/80x15.png",alt:"copyright",class:"m-0"})]),e("span",null,"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)")],-1),Z={},ne="",re=c({__name:"about",setup($,{expose:i}){return i({frontmatter:{},excerpt:void 0}),(ee,te)=>{const l=n("project-stats"),a=n("router-link"),s=n("tracker-report"),d=n("markdown-layout");return h(),u(d,{frontmatter:Z},{default:r(()=>[e("div",p,[f,g,m,e("p",null,[t("The Plecoptera Species File offers a community-curated collection of richly-cited and annotated data on the taxonomy of Earth’s stoneflies. The project currently includes the following- "),o(l,{data:["Taxon names","Collection objects","Project sources","Documents","Citations","Images","Asserted distributions"]}),t(", along with many annotations and related data.")]),e("p",null,[t("Plecoptera Species File is powered by "),y,t(" managed by the "),_,t(". See "),o(a,{to:"#contribute-or-get-help"},{default:r(()=>[t("Contribute or get help")]),_:1}),t(" below for how you can participate. This site is built using TaxonPages, "),b,t(".")]),x,e("p",null,[t("The Earth’s biodiversity is vast, the data captured to describe it are minimal in comparison, but still immense. All projects of this nature contain gaps, i.e. opportunities for collaboration on future work, grants, and research. "),o(a,{to:"#contribute-or-get-help"},{default:r(()=>[t("Contact us")]),_:1}),t(" if you would like to help us address these.")]),w,v,k,e("p",null,[t("As of August 2023 all data in the former Species File Websites were frozen and shortly thereafter migrated to TaxonWorks. As with all migrations of this nature the process is both lossy (e.g. some data could not be mapped with certainty) and improved (e.g. semantics of the new models have more precision and clarity). The old website remains an excellent resource for fact-checking this migration. If you spot something that needs attention, please see "),o(a,{to:"about#contribute-or-get-help"},{default:r(()=>[t("contribute or get help")]),_:1}),t(".")]),S,I,P,e("ul",null,[A,e("li",null,[o(s,{label:"Report a problem or offer data",tag:"a","button-class":"cursor-pointer"}),t(" (bugs or data issues) on our issue tracker.")]),N]),T,C,E,F,R,H,W,j,D,G,L,O,U,M,B,q,V,Y,z,X,J,K,Q])]),_:1})}}});export{re as default,ne as excerpt,Z as frontmatter}; diff --git a/assets/home-4df0b754.js b/assets/home-4df0b754.js new file mode 100644 index 0000000..1e424a2 --- /dev/null +++ b/assets/home-4df0b754.js @@ -0,0 +1 @@ +import{d,r as i,o as p,c as m,w as t,a as o,b as n,e}from"./index-cfaa60b6.js";const f={class:"markdown-body"},_=o("div",{class:"flex flex-col justify-center items-center w-full h-full bg-black bg-opacity-25 text-white gap-4"},[o("span",{class:"text-4xl font-medium"},"Welcome to Plecoptera Species File"),o("p",{class:"text-xl px-20"},[e("A comprehensive source for knowledge about the world’s stoneflies from the Plecoptera Species File group. Information includes valid names, their synonyms, bibliographic data, specimen data, images, sounds, and distributions for stoneflies of the world. Our site seeks to include and serve an expanding group of stakeholders such as taxonomists, ecologists, policy makers, and educators. "),o("em",null," We welcome you to join us in our efforts.")])],-1),h={class:"container mx-auto my-8"},b={class:"mx-auto flex flex-col items-center"},y=o("h2",{id:"discover-more",tabindex:"-1"},"Discover more",-1),g=o("em",null,"you",-1),w=o("h2",{id:"announcements",tabindex:"-1"},"Announcements",-1),x=o("h3",{id:"welcome-to-our-new-plecoptera-species-file-website",tabindex:"-1"},"Welcome to our new Plecoptera Species File Website",-1),k=o("p",null,[o("em",null,"Ed DeWalt, Lily Hart, Heidi Hopkins, 2023-09-28")],-1),v=o("p",null,"As of Septemeber 2023, we would like to welcome you to our new Plecoptera Species File website. We’re glad you’re here and look forward to hearing from you about your experiences with our new features and how you use the information you find here. ",-1),I=o("h3",{id:"2024-joint-meeting-of-the-xvii-international-conference-on-ephemeroptera-and-xxi-international-symposium-on-plecoptera-in-july-2024",tabindex:"-1"},"2024 Joint Meeting of the XVII International Conference on Ephemeroptera and XXI International Symposium on Plecoptera in July 2024",-1),S=o("p",null,[o("em",null,"Ed DeWalt, Lily Hart, Heidi Hopkins, 2023-08-15")],-1),P=o("a",{href:"https://plecoptera.speciesfile.org/HomePage/Plecoptera/First_Announcement_IJM_2024.pdf",rel:"noopener noreferrer",target:"_blank"},"first announcement",-1),A=o("a",{href:"https://docs.google.com/forms/d/e/1FAIpQLSeAkvGvVhZbO4XUyVFzF7b0EU44rH4nOniYMqsc7BQWN03ELg/viewform",rel:"noopener noreferrer",target:"_blank"},"attendance interest form",-1),F={layout:"blank"},X="",B=d({__name:"home",setup(H,{expose:s}){return s({frontmatter:{layout:"blank"},excerpt:void 0}),(V,W)=>{const r=i("gallery-carousel"),l=i("autocomplete-otu"),a=i("router-link"),c=i("d-r"),u=i("markdown-layout");return p(),m(u,{frontmatter:F},{default:t(()=>[o("div",f,[n(r,{"depiction-id":[1106932,1106926,1106927,1106931,1106937,1106929,1106936,1106924,1106925,1106930,1106933,1106934,1106935,1058997,1059008,1059047,1106921],height:"470px"},{default:t(()=>[_]),_:1}),o("div",h,[o("div",b,[n(l,{class:"w-full sm:w-96",placeholder:"Search by taxon name"}),o("em",null,[e("Try searching any taxa from order "),n(a,{to:"/otus/890815"},{default:t(()=>[e("Plecoptera")]),_:1}),e(" to subspecies! ")])]),y,o("p",null,[e("Our "),n(a,{to:"about"},{default:t(()=>[e("About")]),_:1}),e(" page contains an "),n(a,{to:"about#overview"},{default:t(()=>[e("overview")]),_:1}),e(" and "),n(a,{to:"about#history"},{default:t(()=>[e("history")]),_:1}),e(" of the project, its data and "),n(a,{to:"about#gaps-as-opportunity"},{default:t(()=>[e("gaps")]),_:1}),e(","),n(c,null,{default:t(()=>[e(" and information about the "),n(a,{to:"about#team"},{default:t(()=>[e("team")]),_:1}),e(" and how "),g,e(" can "),n(a,{to:"about#contribute"},{default:t(()=>[e("contribute")]),_:1}),e(". You can also "),n(a,{to:"about#contribute"},{default:t(()=>[e("contact us")]),_:1}),e(" or "),n(a,{to:"about#contribute-or-get-help"},{default:t(()=>[e("get help")]),_:1}),e(".")]),_:1}),w,x]),k,v,I,S,o("p",null,[e("The 2024 Joint Meeting of the XVII International Conference on Ephemeroptera and XXI International Symposium on Plecoptera will take place in Turin, Italy, from 21 - 26 July 2024. The conference will be held at the Dipartimento di Scienze della Vita e Biologia dei Sistemi (Department of Life Sciences and Systems Biology) of the Università di Torino (University of Turin, Italy). See "),P,e(" which also links to an "),A,e(". See "),n(a,{to:"about#past-meetings"},{default:t(()=>[e("About")]),_:1}),e(" for past meetings.")])])])]),_:1})}}});export{B as default,X as excerpt,F as frontmatter}; diff --git a/assets/index-cfaa60b6.js b/assets/index-cfaa60b6.js new file mode 100644 index 0000000..d23cf44 --- /dev/null +++ b/assets/index-cfaa60b6.js @@ -0,0 +1,43 @@ +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const i of u)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&s(c)}).observe(document,{childList:!0,subtree:!0});function a(u){const i={};return u.integrity&&(i.integrity=u.integrity),u.referrerPolicy&&(i.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?i.credentials="include":u.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(u){if(u.ep)return;u.ep=!0;const i=a(u);fetch(u.href,i)}})();function Ga(e,n){const a=Object.create(null),s=e.split(",");for(let u=0;u!!a[u.toLowerCase()]:u=>!!a[u]}const Te={},pi=[],On=()=>{},id=()=>!1,od=/^on[^a-z]/,_o=e=>od.test(e),Va=e=>e.startsWith("onUpdate:"),je=Object.assign,Ua=(e,n)=>{const a=e.indexOf(n);a>-1&&e.splice(a,1)},sd=Object.prototype.hasOwnProperty,ge=(e,n)=>sd.call(e,n),Wt=Array.isArray,di=e=>fs(e)==="[object Map]",yu=e=>fs(e)==="[object Set]",ae=e=>typeof e=="function",De=e=>typeof e=="string",$a=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",vu=e=>Oe(e)&&ae(e.then)&&ae(e.catch),bu=Object.prototype.toString,fs=e=>bu.call(e),ad=e=>fs(e).slice(8,-1),wu=e=>fs(e)==="[object Object]",Za=e=>De(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qi=Ga(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ms=e=>{const n=Object.create(null);return a=>n[a]||(n[a]=e(a))},ld=/-(\w)/g,Gn=ms(e=>e.replace(ld,(n,a)=>a?a.toUpperCase():"")),cd=/\B([A-Z])/g,xi=ms(e=>e.replace(cd,"-$1").toLowerCase()),gs=ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),ea=ms(e=>e?`on${gs(e)}`:""),so=(e,n)=>!Object.is(e,n),Jo=(e,n)=>{for(let a=0;a{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:a})},va=e=>{const n=parseFloat(e);return isNaN(n)?e:n},ud=e=>{const n=De(e)?Number(e):NaN;return isNaN(n)?e:n};let Xl;const ba=()=>Xl||(Xl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hn(e){if(Wt(e)){const n={};for(let a=0;a{if(a){const s=a.split(pd);s.length>1&&(n[s[0].trim()]=s[1].trim())}}),n}function Xe(e){let n="";if(De(e))n=e;else if(Wt(e))for(let a=0;aDe(e)?e:e==null?"":Wt(e)||Oe(e)&&(e.toString===bu||!ae(e.toString))?JSON.stringify(e,ku,2):String(e),ku=(e,n)=>n&&n.__v_isRef?ku(e,n.value):di(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((a,[s,u])=>(a[`${s} =>`]=u,a),{})}:yu(n)?{[`Set(${n.size})`]:[...n.values()]}:Oe(n)&&!Wt(n)&&!wu(n)?String(n):n;let pn;class Lu{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pn,!n&&pn&&(this.index=(pn.scopes||(pn.scopes=[])).push(this)-1)}get active(){return this._active}run(n){if(this._active){const a=pn;try{return pn=this,n()}finally{pn=a}}}on(){pn=this}off(){pn=this.parent}stop(n){if(this._active){let a,s;for(a=0,s=this.effects.length;a{const n=new Set(e);return n.w=0,n.n=0,n},Pu=e=>(e.w&Lr)>0,Su=e=>(e.n&Lr)>0,vd=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let a=0;for(let s=0;s{(_==="length"||_>=f)&&p.push(m)})}else switch(a!==void 0&&p.push(c.get(a)),n){case"add":Wt(e)?Za(a)&&p.push(c.get("length")):(p.push(c.get(Ur)),di(e)&&p.push(c.get(xa)));break;case"delete":Wt(e)||(p.push(c.get(Ur)),di(e)&&p.push(c.get(xa)));break;case"set":di(e)&&p.push(c.get(Ur));break}if(p.length===1)p[0]&&ka(p[0]);else{const f=[];for(const m of p)m&&f.push(...m);ka(qa(f))}}function ka(e,n){const a=Wt(e)?e:[...e];for(const s of a)s.computed&&tc(s);for(const s of a)s.computed||tc(s)}function tc(e,n){(e!==Sn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function wd(e,n){var a;return(a=is.get(e))==null?void 0:a.get(n)}const xd=Ga("__proto__,__v_isRef,__isVue"),Ou=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($a)),kd=Wa(),Ld=Wa(!1,!0),Md=Wa(!0),ec=Cd();function Cd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...a){const s=me(this);for(let i=0,c=this.length;i{e[n]=function(...a){ki();const s=me(this)[n].apply(this,a);return Li(),s}}),e}function Pd(e){const n=me(this);return cn(n,"has",e),n.hasOwnProperty(e)}function Wa(e=!1,n=!1){return function(s,u,i){if(u==="__v_isReactive")return!e;if(u==="__v_isReadonly")return e;if(u==="__v_isShallow")return n;if(u==="__v_raw"&&i===(e?n?Vd:Du:n?Iu:Bu).get(s))return s;const c=Wt(s);if(!e){if(c&&ge(ec,u))return Reflect.get(ec,u,i);if(u==="hasOwnProperty")return Pd}const p=Reflect.get(s,u,i);return($a(u)?Ou.has(u):xd(u))||(e||cn(s,"get",u),n)?p:Ie(p)?c&&Za(u)?p:p.value:Oe(p)?e?ju(p):yo(p):p}}const Sd=Au(),Ed=Au(!0);function Au(e=!1){return function(a,s,u,i){let c=a[s];if(gi(c)&&Ie(c)&&!Ie(u))return!1;if(!e&&(!os(u)&&!gi(u)&&(c=me(c),u=me(u)),!Wt(a)&&Ie(c)&&!Ie(u)))return c.value=u,!0;const p=Wt(a)&&Za(s)?Number(s)e,_s=e=>Reflect.getPrototypeOf(e);function Go(e,n,a=!1,s=!1){e=e.__v_raw;const u=me(e),i=me(n);a||(n!==i&&cn(u,"get",n),cn(u,"get",i));const{has:c}=_s(u),p=s?Ja:a?Qa:ao;if(c.call(u,n))return p(e.get(n));if(c.call(u,i))return p(e.get(i));e!==u&&e.get(n)}function Vo(e,n=!1){const a=this.__v_raw,s=me(a),u=me(e);return n||(e!==u&&cn(s,"has",e),cn(s,"has",u)),e===u?a.has(e):a.has(e)||a.has(u)}function Uo(e,n=!1){return e=e.__v_raw,!n&&cn(me(e),"iterate",Ur),Reflect.get(e,"size",e)}function nc(e){e=me(e);const n=me(this);return _s(n).has.call(n,e)||(n.add(e),nr(n,"add",e,e)),this}function rc(e,n){n=me(n);const a=me(this),{has:s,get:u}=_s(a);let i=s.call(a,e);i||(e=me(e),i=s.call(a,e));const c=u.call(a,e);return a.set(e,n),i?so(n,c)&&nr(a,"set",e,n):nr(a,"add",e,n),this}function ic(e){const n=me(this),{has:a,get:s}=_s(n);let u=a.call(n,e);u||(e=me(e),u=a.call(n,e)),s&&s.call(n,e);const i=n.delete(e);return u&&nr(n,"delete",e,void 0),i}function oc(){const e=me(this),n=e.size!==0,a=e.clear();return n&&nr(e,"clear",void 0,void 0),a}function $o(e,n){return function(s,u){const i=this,c=i.__v_raw,p=me(c),f=n?Ja:e?Qa:ao;return!e&&cn(p,"iterate",Ur),c.forEach((m,_)=>s.call(u,f(m),f(_),i))}}function Zo(e,n,a){return function(...s){const u=this.__v_raw,i=me(u),c=di(i),p=e==="entries"||e===Symbol.iterator&&c,f=e==="keys"&&c,m=u[e](...s),_=a?Ja:n?Qa:ao;return!n&&cn(i,"iterate",f?xa:Ur),{next(){const{value:v,done:M}=m.next();return M?{value:v,done:M}:{value:p?[_(v[0]),_(v[1])]:_(v),done:M}},[Symbol.iterator](){return this}}}}function pr(e){return function(...n){return e==="delete"?!1:this}}function Id(){const e={get(i){return Go(this,i)},get size(){return Uo(this)},has:Vo,add:nc,set:rc,delete:ic,clear:oc,forEach:$o(!1,!1)},n={get(i){return Go(this,i,!1,!0)},get size(){return Uo(this)},has:Vo,add:nc,set:rc,delete:ic,clear:oc,forEach:$o(!1,!0)},a={get(i){return Go(this,i,!0)},get size(){return Uo(this,!0)},has(i){return Vo.call(this,i,!0)},add:pr("add"),set:pr("set"),delete:pr("delete"),clear:pr("clear"),forEach:$o(!0,!1)},s={get(i){return Go(this,i,!0,!0)},get size(){return Uo(this,!0)},has(i){return Vo.call(this,i,!0)},add:pr("add"),set:pr("set"),delete:pr("delete"),clear:pr("clear"),forEach:$o(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Zo(i,!1,!1),a[i]=Zo(i,!0,!1),n[i]=Zo(i,!1,!0),s[i]=Zo(i,!0,!0)}),[e,a,n,s]}const[Dd,zd,jd,Nd]=Id();function Ya(e,n){const a=n?e?Nd:jd:e?zd:Dd;return(s,u,i)=>u==="__v_isReactive"?!e:u==="__v_isReadonly"?e:u==="__v_raw"?s:Reflect.get(ge(a,u)&&u in s?a:s,u,i)}const Fd={get:Ya(!1,!1)},Hd={get:Ya(!1,!0)},Gd={get:Ya(!0,!1)},Bu=new WeakMap,Iu=new WeakMap,Du=new WeakMap,Vd=new WeakMap;function Ud(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $d(e){return e.__v_skip||!Object.isExtensible(e)?0:Ud(ad(e))}function yo(e){return gi(e)?e:Xa(e,!1,Ru,Fd,Bu)}function zu(e){return Xa(e,!1,Bd,Hd,Iu)}function ju(e){return Xa(e,!0,Rd,Gd,Du)}function Xa(e,n,a,s,u){if(!Oe(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const i=u.get(e);if(i)return i;const c=$d(e);if(c===0)return e;const p=new Proxy(e,c===2?s:a);return u.set(e,p),p}function xr(e){return gi(e)?xr(e.__v_raw):!!(e&&e.__v_isReactive)}function gi(e){return!!(e&&e.__v_isReadonly)}function os(e){return!!(e&&e.__v_isShallow)}function Nu(e){return xr(e)||gi(e)}function me(e){const n=e&&e.__v_raw;return n?me(n):e}function ys(e){return rs(e,"__v_skip",!0),e}const ao=e=>Oe(e)?yo(e):e,Qa=e=>Oe(e)?ju(e):e;function Fu(e){wr&&Sn&&(e=me(e),Tu(e.dep||(e.dep=qa())))}function Hu(e,n){e=me(e);const a=e.dep;a&&ka(a)}function Ie(e){return!!(e&&e.__v_isRef===!0)}function Zt(e){return Gu(e,!1)}function Zd(e){return Gu(e,!0)}function Gu(e,n){return Ie(e)?e:new qd(e,n)}class qd{constructor(n,a){this.__v_isShallow=a,this.dep=void 0,this.__v_isRef=!0,this._rawValue=a?n:me(n),this._value=a?n:ao(n)}get value(){return Fu(this),this._value}set value(n){const a=this.__v_isShallow||os(n)||gi(n);n=a?n:me(n),so(n,this._rawValue)&&(this._rawValue=n,this._value=a?n:ao(n),Hu(this))}}function Kt(e){return Ie(e)?e.value:e}const Kd={get:(e,n,a)=>Kt(Reflect.get(e,n,a)),set:(e,n,a,s)=>{const u=e[n];return Ie(u)&&!Ie(a)?(u.value=a,!0):Reflect.set(e,n,a,s)}};function Vu(e){return xr(e)?e:new Proxy(e,Kd)}function Wd(e){const n=Wt(e)?new Array(e.length):{};for(const a in e)n[a]=Yd(e,a);return n}class Jd{constructor(n,a,s){this._object=n,this._key=a,this._defaultValue=s,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}get dep(){return wd(me(this._object),this._key)}}function Yd(e,n,a){const s=e[n];return Ie(s)?s:new Jd(e,n,a)}class Xd{constructor(n,a,s,u){this._setter=a,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ka(n,()=>{this._dirty||(this._dirty=!0,Hu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!u,this.__v_isReadonly=s}get value(){const n=me(this);return Fu(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}function Qd(e,n,a=!1){let s,u;const i=ae(e);return i?(s=e,u=On):(s=e.get,u=e.set),new Xd(s,u,i||!u,a)}function kr(e,n,a,s){let u;try{u=s?e(...s):e()}catch(i){vs(i,n,a)}return u}function wn(e,n,a,s){if(ae(e)){const i=kr(e,n,a,s);return i&&vu(i)&&i.catch(c=>{vs(c,n,a)}),i}const u=[];for(let i=0;i>>1;co(Ye[s])Fn&&Ye.splice(n,1)}function rf(e){Wt(e)?fi.push(...e):(!tr||!tr.includes(e,e.allowRecurse?Fr+1:Fr))&&fi.push(e),$u()}function sc(e,n=lo?Fn+1:0){for(;nco(a)-co(s)),Fr=0;Fre.id==null?1/0:e.id,of=(e,n)=>{const a=co(e)-co(n);if(a===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return a};function Zu(e){La=!1,lo=!0,Ye.sort(of);const n=On;try{for(Fn=0;FnDe(A)?A.trim():A)),v&&(u=a.map(va))}let p,f=s[p=ea(n)]||s[p=ea(Gn(n))];!f&&i&&(f=s[p=ea(xi(n))]),f&&wn(f,e,6,u);const m=s[p+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,wn(m,e,6,u)}}function qu(e,n,a=!1){const s=n.emitsCache,u=s.get(e);if(u!==void 0)return u;const i=e.emits;let c={},p=!1;if(!ae(e)){const f=m=>{const _=qu(m,n,!0);_&&(p=!0,je(c,_))};!a&&n.mixins.length&&n.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!p?(Oe(e)&&s.set(e,null),null):(Wt(i)?i.forEach(f=>c[f]=null):je(c,i),Oe(e)&&s.set(e,c),c)}function ws(e,n){return!e||!_o(n)?!1:(n=n.slice(2).replace(/Once$/,""),ge(e,n[0].toLowerCase()+n.slice(1))||ge(e,xi(n))||ge(e,n))}let $e=null,xs=null;function as(e){const n=$e;return $e=e,xs=e&&e.type.__scopeId||null,n}function Ku(e){xs=e}function Wu(){xs=null}function ft(e,n=$e,a){if(!n||e._n)return e;const s=(...u)=>{s._d&&yc(-1);const i=as(n);let c;try{c=e(...u)}finally{as(i),s._d&&yc(1)}return c};return s._n=!0,s._c=!0,s._d=!0,s}function na(e){const{type:n,vnode:a,proxy:s,withProxy:u,props:i,propsOptions:[c],slots:p,attrs:f,emit:m,render:_,renderCache:v,data:M,setupState:A,ctx:C,inheritAttrs:S}=e;let V,P;const O=as(e);try{if(a.shapeFlag&4){const T=u||s;V=Pn(_.call(T,T,v,i,A,M,C)),P=f}else{const T=n;V=Pn(T.length>1?T(i,{attrs:f,slots:p,emit:m}):T(i,null)),P=n.props?f:af(f)}}catch(T){no.length=0,vs(T,e,1),V=rt(dn)}let j=V;if(P&&S!==!1){const T=Object.keys(P),{shapeFlag:z}=j;T.length&&z&7&&(c&&T.some(Va)&&(P=lf(P,c)),j=Mr(j,P))}return a.dirs&&(j=Mr(j),j.dirs=j.dirs?j.dirs.concat(a.dirs):a.dirs),a.transition&&(j.transition=a.transition),V=j,as(O),V}const af=e=>{let n;for(const a in e)(a==="class"||a==="style"||_o(a))&&((n||(n={}))[a]=e[a]);return n},lf=(e,n)=>{const a={};for(const s in e)(!Va(s)||!(s.slice(9)in n))&&(a[s]=e[s]);return a};function cf(e,n,a){const{props:s,children:u,component:i}=e,{props:c,children:p,patchFlag:f}=n,m=i.emitsOptions;if(n.dirs||n.transition)return!0;if(a&&f>=0){if(f&1024)return!0;if(f&16)return s?ac(s,c,m):!!c;if(f&8){const _=n.dynamicProps;for(let v=0;v<_.length;v++){const M=_[v];if(c[M]!==s[M]&&!ws(m,M))return!0}}}else return(u||p)&&(!p||!p.$stable)?!0:s===c?!1:s?c?ac(s,c,m):!0:!!c;return!1}function ac(e,n,a){const s=Object.keys(n);if(s.length!==Object.keys(e).length)return!0;for(let u=0;ue.__isSuspense;function Ju(e,n){n&&n.pendingBranch?Wt(e)?n.effects.push(...e):n.effects.push(e):rf(e)}const qo={};function Ge(e,n,a){return Yu(e,n,a)}function Yu(e,n,{immediate:a,deep:s,flush:u,onTrack:i,onTrigger:c}=Te){var p;const f=Cu()===((p=He)==null?void 0:p.scope)?He:null;let m,_=!1,v=!1;if(Ie(e)?(m=()=>e.value,_=os(e)):xr(e)?(m=()=>e,s=!0):Wt(e)?(v=!0,_=e.some(T=>xr(T)||os(T)),m=()=>e.map(T=>{if(Ie(T))return T.value;if(xr(T))return Vr(T);if(ae(T))return kr(T,f,2)})):ae(e)?n?m=()=>kr(e,f,2):m=()=>{if(!(f&&f.isUnmounted))return M&&M(),wn(e,f,3,[A])}:m=On,n&&s){const T=m;m=()=>Vr(T())}let M,A=T=>{M=O.onStop=()=>{kr(T,f,4)}},C;if(po)if(A=On,n?a&&wn(n,f,3,[m(),v?[]:void 0,A]):m(),u==="sync"){const T=om();C=T.__watcherHandles||(T.__watcherHandles=[])}else return On;let S=v?new Array(e.length).fill(qo):qo;const V=()=>{if(O.active)if(n){const T=O.run();(s||_||(v?T.some((z,W)=>so(z,S[W])):so(T,S)))&&(M&&M(),wn(n,f,3,[T,S===qo?void 0:v&&S[0]===qo?[]:S,A]),S=T)}else O.run()};V.allowRecurse=!!n;let P;u==="sync"?P=V:u==="post"?P=()=>an(V,f&&f.suspense):(V.pre=!0,f&&(V.id=f.uid),P=()=>el(V));const O=new Ka(m,P);n?a?V():S=O.run():u==="post"?an(O.run.bind(O),f&&f.suspense):O.run();const j=()=>{O.stop(),f&&f.scope&&Ua(f.scope.effects,O)};return C&&C.push(j),j}function pf(e,n,a){const s=this.proxy,u=De(e)?e.includes(".")?Xu(s,e):()=>s[e]:e.bind(s,s);let i;ae(n)?i=n:(i=n.handler,a=n);const c=He;yi(this);const p=Yu(u,i.bind(s),a);return c?yi(c):$r(),p}function Xu(e,n){const a=n.split(".");return()=>{let s=e;for(let u=0;u{Vr(a,n)});else if(wu(e))for(const a in e)Vr(e[a],n);return e}function vo(e,n){const a=$e;if(a===null)return e;const s=Cs(a)||a.proxy,u=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),or(()=>{e.isUnmounting=!0}),e}const vn=[Function,Array],Qu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vn,onEnter:vn,onAfterEnter:vn,onEnterCancelled:vn,onBeforeLeave:vn,onLeave:vn,onAfterLeave:vn,onLeaveCancelled:vn,onBeforeAppear:vn,onAppear:vn,onAfterAppear:vn,onAppearCancelled:vn},ff={name:"BaseTransition",props:Qu,setup(e,{slots:n}){const a=yh(),s=df();let u;return()=>{const i=n.default&&eh(n.default(),!0);if(!i||!i.length)return;let c=i[0];if(i.length>1){for(const S of i)if(S.type!==dn){c=S;break}}const p=me(e),{mode:f}=p;if(s.isLeaving)return ra(c);const m=lc(c);if(!m)return ra(c);const _=Ma(m,p,s,a);Ca(m,_);const v=a.subTree,M=v&&lc(v);let A=!1;const{getTransitionKey:C}=m.type;if(C){const S=C();u===void 0?u=S:S!==u&&(u=S,A=!0)}if(M&&M.type!==dn&&(!Hr(m,M)||A)){const S=Ma(M,p,s,a);if(Ca(M,S),f==="out-in")return s.isLeaving=!0,S.afterLeave=()=>{s.isLeaving=!1,a.update.active!==!1&&a.update()},ra(c);f==="in-out"&&m.type!==dn&&(S.delayLeave=(V,P,O)=>{const j=th(s,M);j[String(M.key)]=M,V._leaveCb=()=>{P(),V._leaveCb=void 0,delete _.delayedLeave},_.delayedLeave=O})}return c}}},mf=ff;function th(e,n){const{leavingVNodes:a}=e;let s=a.get(n.type);return s||(s=Object.create(null),a.set(n.type,s)),s}function Ma(e,n,a,s){const{appear:u,mode:i,persisted:c=!1,onBeforeEnter:p,onEnter:f,onAfterEnter:m,onEnterCancelled:_,onBeforeLeave:v,onLeave:M,onAfterLeave:A,onLeaveCancelled:C,onBeforeAppear:S,onAppear:V,onAfterAppear:P,onAppearCancelled:O}=n,j=String(e.key),T=th(a,e),z=(Y,st)=>{Y&&wn(Y,s,9,st)},W=(Y,st)=>{const ct=st[1];z(Y,st),Wt(Y)?Y.every(gt=>gt.length<=1)&&ct():Y.length<=1&&ct()},ot={mode:i,persisted:c,beforeEnter(Y){let st=p;if(!a.isMounted)if(u)st=S||p;else return;Y._leaveCb&&Y._leaveCb(!0);const ct=T[j];ct&&Hr(e,ct)&&ct.el._leaveCb&&ct.el._leaveCb(),z(st,[Y])},enter(Y){let st=f,ct=m,gt=_;if(!a.isMounted)if(u)st=V||f,ct=P||m,gt=O||_;else return;let at=!1;const bt=Y._enterCb=Lt=>{at||(at=!0,Lt?z(gt,[Y]):z(ct,[Y]),ot.delayedLeave&&ot.delayedLeave(),Y._enterCb=void 0)};st?W(st,[Y,bt]):bt()},leave(Y,st){const ct=String(e.key);if(Y._enterCb&&Y._enterCb(!0),a.isUnmounting)return st();z(v,[Y]);let gt=!1;const at=Y._leaveCb=bt=>{gt||(gt=!0,st(),bt?z(C,[Y]):z(A,[Y]),Y._leaveCb=void 0,T[ct]===e&&delete T[ct])};T[ct]=e,M?W(M,[Y,at]):at()},clone(Y){return Ma(Y,n,a,s)}};return ot}function ra(e){if(ks(e))return e=Mr(e),e.children=null,e}function lc(e){return ks(e)?e.children?e.children[0]:void 0:e}function Ca(e,n){e.shapeFlag&6&&e.component?Ca(e.component.subTree,n):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function eh(e,n=!1,a){let s=[],u=0;for(let i=0;i1)for(let i=0;ije({name:e.name},n,{setup:e}))():e}const mi=e=>!!e.type.__asyncLoader,ks=e=>e.type.__isKeepAlive;function gf(e,n){rh(e,"a",n)}function _f(e,n){rh(e,"da",n)}function rh(e,n,a=He){const s=e.__wdc||(e.__wdc=()=>{let u=a;for(;u;){if(u.isDeactivated)return;u=u.parent}return e()});if(Ls(n,s,a),a){let u=a.parent;for(;u&&u.parent;)ks(u.parent.vnode)&&yf(s,n,a,u),u=u.parent}}function yf(e,n,a,s){const u=Ls(n,e,s,!0);Zr(()=>{Ua(s[n],u)},a)}function Ls(e,n,a=He,s=!1){if(a){const u=a[e]||(a[e]=[]),i=n.__weh||(n.__weh=(...c)=>{if(a.isUnmounted)return;ki(),yi(a);const p=wn(n,a,e,c);return $r(),Li(),p});return s?u.unshift(i):u.push(i),i}}const ir=e=>(n,a=He)=>(!po||e==="sp")&&Ls(e,(...s)=>n(...s),a),ih=ir("bm"),en=ir("m"),vf=ir("bu"),bf=ir("u"),or=ir("bum"),Zr=ir("um"),nl=ir("sp"),wf=ir("rtg"),xf=ir("rtc");function kf(e,n=He){Ls("ec",e,n)}const rl="components";function dt(e,n){return sh(rl,e,!0,n)||e}const oh=Symbol.for("v-ndc");function Mi(e){return De(e)?sh(rl,e,!1)||e:e||oh}function sh(e,n,a=!0,s=!1){const u=$e||He;if(u){const i=u.type;if(e===rl){const p=nm(i,!1);if(p&&(p===n||p===Gn(n)||p===gs(Gn(n))))return i}const c=cc(u[e]||i[e],n)||cc(u.appContext[e],n);return!c&&s?i:c}}function cc(e,n){return e&&(e[n]||e[Gn(n)]||e[gs(Gn(n))])}function ye(e,n,a,s){let u;const i=a&&a[s];if(Wt(e)||De(e)){u=new Array(e.length);for(let c=0,p=e.length;cn(c,p,void 0,i&&i[p]));else{const c=Object.keys(e);u=new Array(c.length);for(let p=0,f=c.length;pus(n)?!(n.type===dn||n.type===$t&&!ah(n.children)):!0)?e:null}const Pa=e=>e?vh(e)?Cs(e)||e.proxy:Pa(e.parent):null,to=je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Pa(e.parent),$root:e=>Pa(e.root),$emit:e=>e.emit,$options:e=>il(e),$forceUpdate:e=>e.f||(e.f=()=>el(e.update)),$nextTick:e=>e.n||(e.n=bs.bind(e.proxy)),$watch:e=>pf.bind(e)}),ia=(e,n)=>e!==Te&&!e.__isScriptSetup&&ge(e,n),Lf={get({_:e},n){const{ctx:a,setupState:s,data:u,props:i,accessCache:c,type:p,appContext:f}=e;let m;if(n[0]!=="$"){const A=c[n];if(A!==void 0)switch(A){case 1:return s[n];case 2:return u[n];case 4:return a[n];case 3:return i[n]}else{if(ia(s,n))return c[n]=1,s[n];if(u!==Te&&ge(u,n))return c[n]=2,u[n];if((m=e.propsOptions[0])&&ge(m,n))return c[n]=3,i[n];if(a!==Te&&ge(a,n))return c[n]=4,a[n];Sa&&(c[n]=0)}}const _=to[n];let v,M;if(_)return n==="$attrs"&&cn(e,"get",n),_(e);if((v=p.__cssModules)&&(v=v[n]))return v;if(a!==Te&&ge(a,n))return c[n]=4,a[n];if(M=f.config.globalProperties,ge(M,n))return M[n]},set({_:e},n,a){const{data:s,setupState:u,ctx:i}=e;return ia(u,n)?(u[n]=a,!0):s!==Te&&ge(s,n)?(s[n]=a,!0):ge(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(i[n]=a,!0)},has({_:{data:e,setupState:n,accessCache:a,ctx:s,appContext:u,propsOptions:i}},c){let p;return!!a[c]||e!==Te&&ge(e,c)||ia(n,c)||(p=i[0])&&ge(p,c)||ge(s,c)||ge(to,c)||ge(u.config.globalProperties,c)},defineProperty(e,n,a){return a.get!=null?e._.accessCache[n]=0:ge(a,"value")&&this.set(e,n,a.value,null),Reflect.defineProperty(e,n,a)}};function Mf(){return Cf().slots}function Cf(){const e=yh();return e.setupContext||(e.setupContext=wh(e))}function uc(e){return Wt(e)?e.reduce((n,a)=>(n[a]=null,n),{}):e}let Sa=!0;function Pf(e){const n=il(e),a=e.proxy,s=e.ctx;Sa=!1,n.beforeCreate&&hc(n.beforeCreate,e,"bc");const{data:u,computed:i,methods:c,watch:p,provide:f,inject:m,created:_,beforeMount:v,mounted:M,beforeUpdate:A,updated:C,activated:S,deactivated:V,beforeDestroy:P,beforeUnmount:O,destroyed:j,unmounted:T,render:z,renderTracked:W,renderTriggered:ot,errorCaptured:Y,serverPrefetch:st,expose:ct,inheritAttrs:gt,components:at,directives:bt,filters:Lt}=n;if(m&&Sf(m,s,null),c)for(const Gt in c){const wt=c[Gt];ae(wt)&&(s[Gt]=wt.bind(a))}if(u){const Gt=u.call(a,a);Oe(Gt)&&(e.data=yo(Gt))}if(Sa=!0,i)for(const Gt in i){const wt=i[Gt],de=ae(wt)?wt.bind(a,a):ae(wt.get)?wt.get.bind(a,a):On,Dt=!ae(wt)&&ae(wt.set)?wt.set.bind(a):On,Bt=se({get:de,set:Dt});Object.defineProperty(s,Gt,{enumerable:!0,configurable:!0,get:()=>Bt.value,set:Vt=>Bt.value=Vt})}if(p)for(const Gt in p)lh(p[Gt],s,a,Gt);if(f){const Gt=ae(f)?f.call(a):f;Reflect.ownKeys(Gt).forEach(wt=>{Yo(wt,Gt[wt])})}_&&hc(_,e,"c");function Ct(Gt,wt){Wt(wt)?wt.forEach(de=>Gt(de.bind(a))):wt&&Gt(wt.bind(a))}if(Ct(ih,v),Ct(en,M),Ct(vf,A),Ct(bf,C),Ct(gf,S),Ct(_f,V),Ct(kf,Y),Ct(xf,W),Ct(wf,ot),Ct(or,O),Ct(Zr,T),Ct(nl,st),Wt(ct))if(ct.length){const Gt=e.exposed||(e.exposed={});ct.forEach(wt=>{Object.defineProperty(Gt,wt,{get:()=>a[wt],set:de=>a[wt]=de})})}else e.exposed||(e.exposed={});z&&e.render===On&&(e.render=z),gt!=null&&(e.inheritAttrs=gt),at&&(e.components=at),bt&&(e.directives=bt)}function Sf(e,n,a=On){Wt(e)&&(e=Ea(e));for(const s in e){const u=e[s];let i;Oe(u)?"default"in u?i=xn(u.from||s,u.default,!0):i=xn(u.from||s):i=xn(u),Ie(i)?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):n[s]=i}}function hc(e,n,a){wn(Wt(e)?e.map(s=>s.bind(n.proxy)):e.bind(n.proxy),n,a)}function lh(e,n,a,s){const u=s.includes(".")?Xu(a,s):()=>a[s];if(De(e)){const i=n[e];ae(i)&&Ge(u,i)}else if(ae(e))Ge(u,e.bind(a));else if(Oe(e))if(Wt(e))e.forEach(i=>lh(i,n,a,s));else{const i=ae(e.handler)?e.handler.bind(a):n[e.handler];ae(i)&&Ge(u,i,e)}}function il(e){const n=e.type,{mixins:a,extends:s}=n,{mixins:u,optionsCache:i,config:{optionMergeStrategies:c}}=e.appContext,p=i.get(n);let f;return p?f=p:!u.length&&!a&&!s?f=n:(f={},u.length&&u.forEach(m=>ls(f,m,c,!0)),ls(f,n,c)),Oe(n)&&i.set(n,f),f}function ls(e,n,a,s=!1){const{mixins:u,extends:i}=n;i&&ls(e,i,a,!0),u&&u.forEach(c=>ls(e,c,a,!0));for(const c in n)if(!(s&&c==="expose")){const p=Ef[c]||a&&a[c];e[c]=p?p(e[c],n[c]):n[c]}return e}const Ef={data:pc,props:dc,emits:dc,methods:Xi,computed:Xi,beforeCreate:tn,created:tn,beforeMount:tn,mounted:tn,beforeUpdate:tn,updated:tn,beforeDestroy:tn,beforeUnmount:tn,destroyed:tn,unmounted:tn,activated:tn,deactivated:tn,errorCaptured:tn,serverPrefetch:tn,components:Xi,directives:Xi,watch:Of,provide:pc,inject:Tf};function pc(e,n){return n?e?function(){return je(ae(e)?e.call(this,this):e,ae(n)?n.call(this,this):n)}:n:e}function Tf(e,n){return Xi(Ea(e),Ea(n))}function Ea(e){if(Wt(e)){const n={};for(let a=0;a1)return a&&ae(n)?n.call(s&&s.proxy):n}}function Bf(){return!!(He||$e||uo)}function If(e,n,a,s=!1){const u={},i={};rs(i,Ms,1),e.propsDefaults=Object.create(null),uh(e,n,u,i);for(const c in e.propsOptions[0])c in u||(u[c]=void 0);a?e.props=s?u:zu(u):e.type.props?e.props=u:e.props=i,e.attrs=i}function Df(e,n,a,s){const{props:u,attrs:i,vnode:{patchFlag:c}}=e,p=me(u),[f]=e.propsOptions;let m=!1;if((s||c>0)&&!(c&16)){if(c&8){const _=e.vnode.dynamicProps;for(let v=0;v<_.length;v++){let M=_[v];if(ws(e.emitsOptions,M))continue;const A=n[M];if(f)if(ge(i,M))A!==i[M]&&(i[M]=A,m=!0);else{const C=Gn(M);u[C]=Ta(f,p,C,A,e,!1)}else A!==i[M]&&(i[M]=A,m=!0)}}}else{uh(e,n,u,i)&&(m=!0);let _;for(const v in p)(!n||!ge(n,v)&&((_=xi(v))===v||!ge(n,_)))&&(f?a&&(a[v]!==void 0||a[_]!==void 0)&&(u[v]=Ta(f,p,v,void 0,e,!0)):delete u[v]);if(i!==p)for(const v in i)(!n||!ge(n,v))&&(delete i[v],m=!0)}m&&nr(e,"set","$attrs")}function uh(e,n,a,s){const[u,i]=e.propsOptions;let c=!1,p;if(n)for(let f in n){if(Qi(f))continue;const m=n[f];let _;u&&ge(u,_=Gn(f))?!i||!i.includes(_)?a[_]=m:(p||(p={}))[_]=m:ws(e.emitsOptions,f)||(!(f in s)||m!==s[f])&&(s[f]=m,c=!0)}if(i){const f=me(a),m=p||Te;for(let _=0;_{f=!0;const[M,A]=hh(v,n,!0);je(c,M),A&&p.push(...A)};!a&&n.mixins.length&&n.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!i&&!f)return Oe(e)&&s.set(e,pi),pi;if(Wt(i))for(let _=0;_-1,A[1]=S<0||C-1||ge(A,"default"))&&p.push(v)}}}const m=[c,p];return Oe(e)&&s.set(e,m),m}function fc(e){return e[0]!=="$"}function mc(e){const n=e&&e.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:e===null?"null":""}function gc(e,n){return mc(e)===mc(n)}function _c(e,n){return Wt(n)?n.findIndex(a=>gc(a,e)):ae(n)&&gc(n,e)?0:-1}const ph=e=>e[0]==="_"||e==="$stable",ol=e=>Wt(e)?e.map(Pn):[Pn(e)],zf=(e,n,a)=>{if(n._n)return n;const s=ft((...u)=>ol(n(...u)),a);return s._c=!1,s},dh=(e,n,a)=>{const s=e._ctx;for(const u in e){if(ph(u))continue;const i=e[u];if(ae(i))n[u]=zf(u,i,s);else if(i!=null){const c=ol(i);n[u]=()=>c}}},fh=(e,n)=>{const a=ol(n);e.slots.default=()=>a},jf=(e,n)=>{if(e.vnode.shapeFlag&32){const a=n._;a?(e.slots=me(n),rs(n,"_",a)):dh(n,e.slots={})}else e.slots={},n&&fh(e,n);rs(e.slots,Ms,1)},Nf=(e,n,a)=>{const{vnode:s,slots:u}=e;let i=!0,c=Te;if(s.shapeFlag&32){const p=n._;p?a&&p===1?i=!1:(je(u,n),!a&&p===1&&delete u._):(i=!n.$stable,dh(n,u)),c=n}else n&&(fh(e,n),c={default:1});if(i)for(const p in u)!ph(p)&&!(p in c)&&delete u[p]};function cs(e,n,a,s,u=!1){if(Wt(e)){e.forEach((M,A)=>cs(M,n&&(Wt(n)?n[A]:n),a,s,u));return}if(mi(s)&&!u)return;const i=s.shapeFlag&4?Cs(s.component)||s.component.proxy:s.el,c=u?null:i,{i:p,r:f}=e,m=n&&n.r,_=p.refs===Te?p.refs={}:p.refs,v=p.setupState;if(m!=null&&m!==f&&(De(m)?(_[m]=null,ge(v,m)&&(v[m]=null)):Ie(m)&&(m.value=null)),ae(f))kr(f,p,12,[c,_]);else{const M=De(f),A=Ie(f);if(M||A){const C=()=>{if(e.f){const S=M?ge(v,f)?v[f]:_[f]:f.value;u?Wt(S)&&Ua(S,i):Wt(S)?S.includes(i)||S.push(i):M?(_[f]=[i],ge(v,f)&&(v[f]=_[f])):(f.value=[i],e.k&&(_[e.k]=f.value))}else M?(_[f]=c,ge(v,f)&&(v[f]=c)):A&&(f.value=c,e.k&&(_[e.k]=c))};c?(C.id=-1,an(C,a)):C()}}}let dr=!1;const Ko=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Wo=e=>e.nodeType===8;function Ff(e){const{mt:n,p:a,o:{patchProp:s,createText:u,nextSibling:i,parentNode:c,remove:p,insert:f,createComment:m}}=e,_=(P,O)=>{if(!O.hasChildNodes()){a(null,P,O),ss(),O._vnode=P;return}dr=!1,v(O.firstChild,P,null,null,null),ss(),O._vnode=P,dr&&console.error("Hydration completed but contains mismatches.")},v=(P,O,j,T,z,W=!1)=>{const ot=Wo(P)&&P.data==="[",Y=()=>S(P,O,j,T,z,ot),{type:st,ref:ct,shapeFlag:gt,patchFlag:at}=O;let bt=P.nodeType;O.el=P,at===-2&&(W=!1,O.dynamicChildren=null);let Lt=null;switch(st){case _i:bt!==3?O.children===""?(f(O.el=u(""),c(P),P),Lt=P):Lt=Y():(P.data!==O.children&&(dr=!0,P.data=O.children),Lt=i(P));break;case dn:bt!==8||ot?Lt=Y():Lt=i(P);break;case eo:if(ot&&(P=i(P),bt=P.nodeType),bt===1||bt===3){Lt=P;const Et=!O.children.length;for(let Ct=0;Ct{W=W||!!O.dynamicChildren;const{type:ot,props:Y,patchFlag:st,shapeFlag:ct,dirs:gt}=O,at=ot==="input"&>||ot==="option";if(at||st!==-1){if(gt&&Nn(O,null,j,"created"),Y)if(at||!W||st&48)for(const Lt in Y)(at&&Lt.endsWith("value")||_o(Lt)&&!Qi(Lt))&&s(P,Lt,null,Y[Lt],!1,void 0,j);else Y.onClick&&s(P,"onClick",null,Y.onClick,!1,void 0,j);let bt;if((bt=Y&&Y.onVnodeBeforeMount)&&bn(bt,j,O),gt&&Nn(O,null,j,"beforeMount"),((bt=Y&&Y.onVnodeMounted)||gt)&&Ju(()=>{bt&&bn(bt,j,O),gt&&Nn(O,null,j,"mounted")},T),ct&16&&!(Y&&(Y.innerHTML||Y.textContent))){let Lt=A(P.firstChild,O,P,j,T,z,W);for(;Lt;){dr=!0;const Et=Lt;Lt=Lt.nextSibling,p(Et)}}else ct&8&&P.textContent!==O.children&&(dr=!0,P.textContent=O.children)}return P.nextSibling},A=(P,O,j,T,z,W,ot)=>{ot=ot||!!O.dynamicChildren;const Y=O.children,st=Y.length;for(let ct=0;ct{const{slotScopeIds:ot}=O;ot&&(z=z?z.concat(ot):ot);const Y=c(P),st=A(i(P),O,Y,j,T,z,W);return st&&Wo(st)&&st.data==="]"?i(O.anchor=st):(dr=!0,f(O.anchor=m("]"),Y,st),st)},S=(P,O,j,T,z,W)=>{if(dr=!0,O.el=null,W){const st=V(P);for(;;){const ct=i(P);if(ct&&ct!==st)p(ct);else break}}const ot=i(P),Y=c(P);return p(P),a(null,O,Y,ot,j,T,Ko(Y),z),ot},V=P=>{let O=0;for(;P;)if(P=i(P),P&&Wo(P)&&(P.data==="["&&O++,P.data==="]")){if(O===0)return i(P);O--}return P};return[_,v]}const an=Ju;function Hf(e){return Gf(e,Ff)}function Gf(e,n){const a=ba();a.__VUE__=!0;const{insert:s,remove:u,patchProp:i,createElement:c,createText:p,createComment:f,setText:m,setElementText:_,parentNode:v,nextSibling:M,setScopeId:A=On,insertStaticContent:C}=e,S=(H,K,J,ht=null,_t=null,xt=null,Ot=!1,I=null,w=!!K.dynamicChildren)=>{if(H===K)return;H&&!Hr(H,K)&&(ht=pt(H),Vt(H,_t,xt,!0),H=null),K.patchFlag===-2&&(w=!1,K.dynamicChildren=null);const{type:k,ref:R,shapeFlag:D}=K;switch(k){case _i:V(H,K,J,ht);break;case dn:P(H,K,J,ht);break;case eo:H==null&&O(K,J,ht,Ot);break;case $t:at(H,K,J,ht,_t,xt,Ot,I,w);break;default:D&1?z(H,K,J,ht,_t,xt,Ot,I,w):D&6?bt(H,K,J,ht,_t,xt,Ot,I,w):(D&64||D&128)&&k.process(H,K,J,ht,_t,xt,Ot,I,w,St)}R!=null&&_t&&cs(R,H&&H.ref,xt,K||H,!K)},V=(H,K,J,ht)=>{if(H==null)s(K.el=p(K.children),J,ht);else{const _t=K.el=H.el;K.children!==H.children&&m(_t,K.children)}},P=(H,K,J,ht)=>{H==null?s(K.el=f(K.children||""),J,ht):K.el=H.el},O=(H,K,J,ht)=>{[H.el,H.anchor]=C(H.children,K,J,ht,H.el,H.anchor)},j=({el:H,anchor:K},J,ht)=>{let _t;for(;H&&H!==K;)_t=M(H),s(H,J,ht),H=_t;s(K,J,ht)},T=({el:H,anchor:K})=>{let J;for(;H&&H!==K;)J=M(H),u(H),H=J;u(K)},z=(H,K,J,ht,_t,xt,Ot,I,w)=>{Ot=Ot||K.type==="svg",H==null?W(K,J,ht,_t,xt,Ot,I,w):st(H,K,_t,xt,Ot,I,w)},W=(H,K,J,ht,_t,xt,Ot,I)=>{let w,k;const{type:R,props:D,shapeFlag:F,transition:Q,dirs:it}=H;if(w=H.el=c(H.type,xt,D&&D.is,D),F&8?_(w,H.children):F&16&&Y(H.children,w,null,ht,_t,xt&&R!=="foreignObject",Ot,I),it&&Nn(H,null,ht,"created"),ot(w,H,H.scopeId,Ot,ht),D){for(const Tt in D)Tt!=="value"&&!Qi(Tt)&&i(w,Tt,null,D[Tt],xt,H.children,ht,_t,Ft);"value"in D&&i(w,"value",null,D.value),(k=D.onVnodeBeforeMount)&&bn(k,ht,H)}it&&Nn(H,null,ht,"beforeMount");const vt=(!_t||_t&&!_t.pendingBranch)&&Q&&!Q.persisted;vt&&Q.beforeEnter(w),s(w,K,J),((k=D&&D.onVnodeMounted)||vt||it)&&an(()=>{k&&bn(k,ht,H),vt&&Q.enter(w),it&&Nn(H,null,ht,"mounted")},_t)},ot=(H,K,J,ht,_t)=>{if(J&&A(H,J),ht)for(let xt=0;xt{for(let k=w;k{const I=K.el=H.el;let{patchFlag:w,dynamicChildren:k,dirs:R}=K;w|=H.patchFlag&16;const D=H.props||Te,F=K.props||Te;let Q;J&&zr(J,!1),(Q=F.onVnodeBeforeUpdate)&&bn(Q,J,K,H),R&&Nn(K,H,J,"beforeUpdate"),J&&zr(J,!0);const it=_t&&K.type!=="foreignObject";if(k?ct(H.dynamicChildren,k,I,J,ht,it,xt):Ot||wt(H,K,I,null,J,ht,it,xt,!1),w>0){if(w&16)gt(I,K,D,F,J,ht,_t);else if(w&2&&D.class!==F.class&&i(I,"class",null,F.class,_t),w&4&&i(I,"style",D.style,F.style,_t),w&8){const vt=K.dynamicProps;for(let Tt=0;Tt{Q&&bn(Q,J,K,H),R&&Nn(K,H,J,"updated")},ht)},ct=(H,K,J,ht,_t,xt,Ot)=>{for(let I=0;I{if(J!==ht){if(J!==Te)for(const I in J)!Qi(I)&&!(I in ht)&&i(H,I,J[I],null,Ot,K.children,_t,xt,Ft);for(const I in ht){if(Qi(I))continue;const w=ht[I],k=J[I];w!==k&&I!=="value"&&i(H,I,k,w,Ot,K.children,_t,xt,Ft)}"value"in ht&&i(H,"value",J.value,ht.value)}},at=(H,K,J,ht,_t,xt,Ot,I,w)=>{const k=K.el=H?H.el:p(""),R=K.anchor=H?H.anchor:p("");let{patchFlag:D,dynamicChildren:F,slotScopeIds:Q}=K;Q&&(I=I?I.concat(Q):Q),H==null?(s(k,J,ht),s(R,J,ht),Y(K.children,J,R,_t,xt,Ot,I,w)):D>0&&D&64&&F&&H.dynamicChildren?(ct(H.dynamicChildren,F,J,_t,xt,Ot,I),(K.key!=null||_t&&K===_t.subTree)&&mh(H,K,!0)):wt(H,K,J,R,_t,xt,Ot,I,w)},bt=(H,K,J,ht,_t,xt,Ot,I,w)=>{K.slotScopeIds=I,H==null?K.shapeFlag&512?_t.ctx.activate(K,J,ht,Ot,w):Lt(K,J,ht,_t,xt,Ot,w):Et(H,K,w)},Lt=(H,K,J,ht,_t,xt,Ot)=>{const I=H.component=Xf(H,ht,_t);if(ks(H)&&(I.ctx.renderer=St),Qf(I),I.asyncDep){if(_t&&_t.registerDep(I,Ct),!H.el){const w=I.subTree=rt(dn);P(null,w,K,J)}return}Ct(I,H,K,J,_t,xt,Ot)},Et=(H,K,J)=>{const ht=K.component=H.component;if(cf(H,K,J))if(ht.asyncDep&&!ht.asyncResolved){Gt(ht,K,J);return}else ht.next=K,nf(ht.update),ht.update();else K.el=H.el,ht.vnode=K},Ct=(H,K,J,ht,_t,xt,Ot)=>{const I=()=>{if(H.isMounted){let{next:R,bu:D,u:F,parent:Q,vnode:it}=H,vt=R,Tt;zr(H,!1),R?(R.el=it.el,Gt(H,R,Ot)):R=it,D&&Jo(D),(Tt=R.props&&R.props.onVnodeBeforeUpdate)&&bn(Tt,Q,R,it),zr(H,!0);const jt=na(H),Jt=H.subTree;H.subTree=jt,S(Jt,jt,v(Jt.el),pt(Jt),H,_t,xt),R.el=jt.el,vt===null&&uf(H,jt.el),F&&an(F,_t),(Tt=R.props&&R.props.onVnodeUpdated)&&an(()=>bn(Tt,Q,R,it),_t)}else{let R;const{el:D,props:F}=K,{bm:Q,m:it,parent:vt}=H,Tt=mi(K);if(zr(H,!1),Q&&Jo(Q),!Tt&&(R=F&&F.onVnodeBeforeMount)&&bn(R,vt,K),zr(H,!0),D&&ce){const jt=()=>{H.subTree=na(H),ce(D,H.subTree,H,_t,null)};Tt?K.type.__asyncLoader().then(()=>!H.isUnmounted&&jt()):jt()}else{const jt=H.subTree=na(H);S(null,jt,J,ht,H,_t,xt),K.el=jt.el}if(it&&an(it,_t),!Tt&&(R=F&&F.onVnodeMounted)){const jt=K;an(()=>bn(R,vt,jt),_t)}(K.shapeFlag&256||vt&&mi(vt.vnode)&&vt.vnode.shapeFlag&256)&&H.a&&an(H.a,_t),H.isMounted=!0,K=J=ht=null}},w=H.effect=new Ka(I,()=>el(k),H.scope),k=H.update=()=>w.run();k.id=H.uid,zr(H,!0),k()},Gt=(H,K,J)=>{K.component=H;const ht=H.vnode.props;H.vnode=K,H.next=null,Df(H,K.props,ht,J),Nf(H,K.children,J),ki(),sc(),Li()},wt=(H,K,J,ht,_t,xt,Ot,I,w=!1)=>{const k=H&&H.children,R=H?H.shapeFlag:0,D=K.children,{patchFlag:F,shapeFlag:Q}=K;if(F>0){if(F&128){Dt(k,D,J,ht,_t,xt,Ot,I,w);return}else if(F&256){de(k,D,J,ht,_t,xt,Ot,I,w);return}}Q&8?(R&16&&Ft(k,_t,xt),D!==k&&_(J,D)):R&16?Q&16?Dt(k,D,J,ht,_t,xt,Ot,I,w):Ft(k,_t,xt,!0):(R&8&&_(J,""),Q&16&&Y(D,J,ht,_t,xt,Ot,I,w))},de=(H,K,J,ht,_t,xt,Ot,I,w)=>{H=H||pi,K=K||pi;const k=H.length,R=K.length,D=Math.min(k,R);let F;for(F=0;FR?Ft(H,_t,xt,!0,!1,D):Y(K,J,ht,_t,xt,Ot,I,w,D)},Dt=(H,K,J,ht,_t,xt,Ot,I,w)=>{let k=0;const R=K.length;let D=H.length-1,F=R-1;for(;k<=D&&k<=F;){const Q=H[k],it=K[k]=w?vr(K[k]):Pn(K[k]);if(Hr(Q,it))S(Q,it,J,null,_t,xt,Ot,I,w);else break;k++}for(;k<=D&&k<=F;){const Q=H[D],it=K[F]=w?vr(K[F]):Pn(K[F]);if(Hr(Q,it))S(Q,it,J,null,_t,xt,Ot,I,w);else break;D--,F--}if(k>D){if(k<=F){const Q=F+1,it=QF)for(;k<=D;)Vt(H[k],_t,xt,!0),k++;else{const Q=k,it=k,vt=new Map;for(k=it;k<=F;k++){const he=K[k]=w?vr(K[k]):Pn(K[k]);he.key!=null&&vt.set(he.key,k)}let Tt,jt=0;const Jt=F-it+1;let te=!1,be=0;const Xt=new Array(Jt);for(k=0;k=Jt){Vt(he,_t,xt,!0);continue}let we;if(he.key!=null)we=vt.get(he.key);else for(Tt=it;Tt<=F;Tt++)if(Xt[Tt-it]===0&&Hr(he,K[Tt])){we=Tt;break}we===void 0?Vt(he,_t,xt,!0):(Xt[we-it]=k+1,we>=be?be=we:te=!0,S(he,K[we],J,null,_t,xt,Ot,I,w),jt++)}const ve=te?Vf(Xt):pi;for(Tt=ve.length-1,k=Jt-1;k>=0;k--){const he=it+k,we=K[he],Ae=he+1{const{el:xt,type:Ot,transition:I,children:w,shapeFlag:k}=H;if(k&6){Bt(H.component.subTree,K,J,ht);return}if(k&128){H.suspense.move(K,J,ht);return}if(k&64){Ot.move(H,K,J,St);return}if(Ot===$t){s(xt,K,J);for(let D=0;DI.enter(xt),_t);else{const{leave:D,delayLeave:F,afterLeave:Q}=I,it=()=>s(xt,K,J),vt=()=>{D(xt,()=>{it(),Q&&Q()})};F?F(xt,it,vt):vt()}else s(xt,K,J)},Vt=(H,K,J,ht=!1,_t=!1)=>{const{type:xt,props:Ot,ref:I,children:w,dynamicChildren:k,shapeFlag:R,patchFlag:D,dirs:F}=H;if(I!=null&&cs(I,null,J,H,!0),R&256){K.ctx.deactivate(H);return}const Q=R&1&&F,it=!mi(H);let vt;if(it&&(vt=Ot&&Ot.onVnodeBeforeUnmount)&&bn(vt,K,H),R&6)le(H.component,J,ht);else{if(R&128){H.suspense.unmount(J,ht);return}Q&&Nn(H,null,K,"beforeUnmount"),R&64?H.type.remove(H,K,J,_t,St,ht):k&&(xt!==$t||D>0&&D&64)?Ft(k,K,J,!1,!0):(xt===$t&&D&384||!_t&&R&16)&&Ft(w,K,J),ht&&Me(H)}(it&&(vt=Ot&&Ot.onVnodeUnmounted)||Q)&&an(()=>{vt&&bn(vt,K,H),Q&&Nn(H,null,K,"unmounted")},J)},Me=H=>{const{type:K,el:J,anchor:ht,transition:_t}=H;if(K===$t){fe(J,ht);return}if(K===eo){T(H);return}const xt=()=>{u(J),_t&&!_t.persisted&&_t.afterLeave&&_t.afterLeave()};if(H.shapeFlag&1&&_t&&!_t.persisted){const{leave:Ot,delayLeave:I}=_t,w=()=>Ot(J,xt);I?I(H.el,xt,w):w()}else xt()},fe=(H,K)=>{let J;for(;H!==K;)J=M(H),u(H),H=J;u(K)},le=(H,K,J)=>{const{bum:ht,scope:_t,update:xt,subTree:Ot,um:I}=H;ht&&Jo(ht),_t.stop(),xt&&(xt.active=!1,Vt(Ot,H,K,J)),I&&an(I,K),an(()=>{H.isUnmounted=!0},K),K&&K.pendingBranch&&!K.isUnmounted&&H.asyncDep&&!H.asyncResolved&&H.suspenseId===K.pendingId&&(K.deps--,K.deps===0&&K.resolve())},Ft=(H,K,J,ht=!1,_t=!1,xt=0)=>{for(let Ot=xt;OtH.shapeFlag&6?pt(H.component.subTree):H.shapeFlag&128?H.suspense.next():M(H.anchor||H.el),Pt=(H,K,J)=>{H==null?K._vnode&&Vt(K._vnode,null,null,!0):S(K._vnode||null,H,K,null,null,null,J),sc(),ss(),K._vnode=H},St={p:S,um:Vt,m:Bt,r:Me,mt:Lt,mc:Y,pc:wt,pbc:ct,n:pt,o:e};let zt,ce;return n&&([zt,ce]=n(St)),{render:Pt,hydrate:zt,createApp:Rf(Pt,zt)}}function zr({effect:e,update:n},a){e.allowRecurse=n.allowRecurse=a}function mh(e,n,a=!1){const s=e.children,u=n.children;if(Wt(s)&&Wt(u))for(let i=0;i>1,e[a[p]]0&&(n[s]=a[i-1]),a[i]=s)}}for(i=a.length,c=a[i-1];i-- >0;)a[i]=c,c=n[c];return a}const Uf=e=>e.__isTeleport,$t=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),dn=Symbol.for("v-cmt"),eo=Symbol.for("v-stc"),no=[];let En=null;function U(e=!1){no.push(En=e?null:[])}function $f(){no.pop(),En=no[no.length-1]||null}let ho=1;function yc(e){ho+=e}function gh(e){return e.dynamicChildren=ho>0?En||pi:null,$f(),ho>0&&En&&En.push(e),e}function nt(e,n,a,s,u,i){return gh(et(e,n,a,s,u,i,!0))}function At(e,n,a,s,u){return gh(rt(e,n,a,s,u,!0))}function us(e){return e?e.__v_isVNode===!0:!1}function Hr(e,n){return e.type===n.type&&e.key===n.key}const Ms="__vInternal",_h=({key:e})=>e??null,Xo=({ref:e,ref_key:n,ref_for:a})=>(typeof e=="number"&&(e=""+e),e!=null?De(e)||Ie(e)||ae(e)?{i:$e,r:e,k:n,f:!!a}:e:null);function et(e,n=null,a=null,s=0,u=null,i=e===$t?0:1,c=!1,p=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&_h(n),ref:n&&Xo(n),scopeId:xs,slotScopeIds:null,children:a,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:$e};return p?(sl(f,a),i&128&&e.normalize(f)):a&&(f.shapeFlag|=De(a)?8:16),ho>0&&!c&&En&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&En.push(f),f}const rt=Zf;function Zf(e,n=null,a=null,s=0,u=null,i=!1){if((!e||e===oh)&&(e=dn),us(e)){const p=Mr(e,n,!0);return a&&sl(p,a),ho>0&&!i&&En&&(p.shapeFlag&6?En[En.indexOf(e)]=p:En.push(p)),p.patchFlag|=-2,p}if(rm(e)&&(e=e.__vccOpts),n){n=qf(n);let{class:p,style:f}=n;p&&!De(p)&&(n.class=Xe(p)),Oe(f)&&(Nu(f)&&!Wt(f)&&(f=je({},f)),n.style=Hn(f))}const c=De(e)?1:hf(e)?128:Uf(e)?64:Oe(e)?4:ae(e)?2:0;return et(e,n,a,s,u,c,i,!0)}function qf(e){return e?Nu(e)||Ms in e?je({},e):e:null}function Mr(e,n,a=!1){const{props:s,ref:u,patchFlag:i,children:c}=e,p=n?Wf(s||{},n):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&_h(p),ref:n&&n.ref?a&&u?Wt(u)?u.concat(Xo(n)):[u,Xo(n)]:Xo(n):u,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==$t?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mr(e.ssContent),ssFallback:e.ssFallback&&Mr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ne(e=" ",n=0){return rt(_i,null,e,n)}function Kf(e,n){const a=rt(eo,null,e);return a.staticCount=n,a}function Nt(e="",n=!1){return n?(U(),At(dn,null,e)):rt(dn,null,e)}function Pn(e){return e==null||typeof e=="boolean"?rt(dn):Wt(e)?rt($t,null,e.slice()):typeof e=="object"?vr(e):rt(_i,null,String(e))}function vr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mr(e)}function sl(e,n){let a=0;const{shapeFlag:s}=e;if(n==null)n=null;else if(Wt(n))a=16;else if(typeof n=="object")if(s&65){const u=n.default;u&&(u._c&&(u._d=!1),sl(e,u()),u._c&&(u._d=!0));return}else{a=32;const u=n._;!u&&!(Ms in n)?n._ctx=$e:u===3&&$e&&($e.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else ae(n)?(n={default:n,_ctx:$e},a=32):(n=String(n),s&64?(a=16,n=[ne(n)]):a=8);e.children=n,e.shapeFlag|=a}function Wf(...e){const n={};for(let a=0;aHe||$e;let al,li,vc="__VUE_INSTANCE_SETTERS__";(li=ba()[vc])||(li=ba()[vc]=[]),li.push(e=>He=e),al=e=>{li.length>1?li.forEach(n=>n(e)):li[0](e)};const yi=e=>{al(e),e.scope.on()},$r=()=>{He&&He.scope.off(),al(null)};function vh(e){return e.vnode.shapeFlag&4}let po=!1;function Qf(e,n=!1){po=n;const{props:a,children:s}=e.vnode,u=vh(e);If(e,a,u,n),jf(e,s);const i=u?tm(e,n):void 0;return po=!1,i}function tm(e,n){const a=e.type;e.accessCache=Object.create(null),e.proxy=ys(new Proxy(e.ctx,Lf));const{setup:s}=a;if(s){const u=e.setupContext=s.length>1?wh(e):null;yi(e),ki();const i=kr(s,e,0,[e.props,u]);if(Li(),$r(),vu(i)){if(i.then($r,$r),n)return i.then(c=>{bc(e,c,n)}).catch(c=>{vs(c,e,0)});e.asyncDep=i}else bc(e,i,n)}else bh(e,n)}function bc(e,n,a){ae(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:Oe(n)&&(e.setupState=Vu(n)),bh(e,a)}let wc;function bh(e,n,a){const s=e.type;if(!e.render){if(!n&&wc&&!s.render){const u=s.template||il(e).template;if(u){const{isCustomElement:i,compilerOptions:c}=e.appContext.config,{delimiters:p,compilerOptions:f}=s,m=je(je({isCustomElement:i,delimiters:p},c),f);s.render=wc(u,m)}}e.render=s.render||On}yi(e),ki(),Pf(e),Li(),$r()}function em(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(n,a){return cn(e,"get","$attrs"),n[a]}}))}function wh(e){const n=a=>{e.exposed=a||{}};return{get attrs(){return em(e)},slots:e.slots,emit:e.emit,expose:n}}function Cs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Vu(ys(e.exposed)),{get(n,a){if(a in n)return n[a];if(a in to)return to[a](e)},has(n,a){return a in n||a in to}}))}function nm(e,n=!0){return ae(e)?e.displayName||e.name:e.name||n&&e.__name}function rm(e){return ae(e)&&"__vccOpts"in e}const se=(e,n)=>Qd(e,n,po);function ll(e,n,a){const s=arguments.length;return s===2?Oe(n)&&!Wt(n)?us(n)?rt(e,null,[n]):rt(e,n):rt(e,null,n):(s>3?a=Array.prototype.slice.call(arguments,2):s===3&&us(a)&&(a=[a]),rt(e,n,a))}const im=Symbol.for("v-scx"),om=()=>xn(im),sm="3.3.4",am="http://www.w3.org/2000/svg",Gr=typeof document<"u"?document:null,xc=Gr&&Gr.createElement("template"),lm={insert:(e,n,a)=>{n.insertBefore(e,a||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,a,s)=>{const u=n?Gr.createElementNS(am,e):Gr.createElement(e,a?{is:a}:void 0);return e==="select"&&s&&s.multiple!=null&&u.setAttribute("multiple",s.multiple),u},createText:e=>Gr.createTextNode(e),createComment:e=>Gr.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gr.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,a,s,u,i){const c=a?a.previousSibling:n.lastChild;if(u&&(u===i||u.nextSibling))for(;n.insertBefore(u.cloneNode(!0),a),!(u===i||!(u=u.nextSibling)););else{xc.innerHTML=s?`${e}`:e;const p=xc.content;if(s){const f=p.firstChild;for(;f.firstChild;)p.appendChild(f.firstChild);p.removeChild(f)}n.insertBefore(p,a)}return[c?c.nextSibling:n.firstChild,a?a.previousSibling:n.lastChild]}};function cm(e,n,a){const s=e._vtc;s&&(n=(n?[n,...s]:[...s]).join(" ")),n==null?e.removeAttribute("class"):a?e.setAttribute("class",n):e.className=n}function um(e,n,a){const s=e.style,u=De(a);if(a&&!u){if(n&&!De(n))for(const i in n)a[i]==null&&Oa(s,i,"");for(const i in a)Oa(s,i,a[i])}else{const i=s.display;u?n!==a&&(s.cssText=a):n&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const kc=/\s*!important$/;function Oa(e,n,a){if(Wt(a))a.forEach(s=>Oa(e,n,s));else if(a==null&&(a=""),n.startsWith("--"))e.setProperty(n,a);else{const s=hm(e,n);kc.test(a)?e.setProperty(xi(s),a.replace(kc,""),"important"):e[s]=a}}const Lc=["Webkit","Moz","ms"],oa={};function hm(e,n){const a=oa[n];if(a)return a;let s=Gn(n);if(s!=="filter"&&s in e)return oa[n]=s;s=gs(s);for(let u=0;usa||(_m.then(()=>sa=0),sa=Date.now());function vm(e,n){const a=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=a.attached)return;wn(bm(s,a.value),n,5,[s])};return a.value=e,a.attached=ym(),a}function bm(e,n){if(Wt(n)){const a=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{a.call(e),e._stopped=!0},n.map(s=>u=>!u._stopped&&s&&s(u))}else return n}const Pc=/^on[a-z]/,wm=(e,n,a,s,u=!1,i,c,p,f)=>{n==="class"?cm(e,s,u):n==="style"?um(e,a,s):_o(n)?Va(n)||mm(e,n,a,s,c):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):xm(e,n,s,u))?dm(e,n,s,i,c,p,f):(n==="true-value"?e._trueValue=s:n==="false-value"&&(e._falseValue=s),pm(e,n,s,u))};function xm(e,n,a,s){return s?!!(n==="innerHTML"||n==="textContent"||n in e&&Pc.test(n)&&ae(a)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||Pc.test(n)&&De(a)?!1:n in e}const fr="transition",qi="animation",Ps=(e,{slots:n})=>ll(mf,km(e),n);Ps.displayName="Transition";const xh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ps.props=je({},Qu,xh);const jr=(e,n=[])=>{Wt(e)?e.forEach(a=>a(...n)):e&&e(...n)},Sc=e=>e?Wt(e)?e.some(n=>n.length>1):e.length>1:!1;function km(e){const n={};for(const at in e)at in xh||(n[at]=e[at]);if(e.css===!1)return n;const{name:a="v",type:s,duration:u,enterFromClass:i=`${a}-enter-from`,enterActiveClass:c=`${a}-enter-active`,enterToClass:p=`${a}-enter-to`,appearFromClass:f=i,appearActiveClass:m=c,appearToClass:_=p,leaveFromClass:v=`${a}-leave-from`,leaveActiveClass:M=`${a}-leave-active`,leaveToClass:A=`${a}-leave-to`}=e,C=Lm(u),S=C&&C[0],V=C&&C[1],{onBeforeEnter:P,onEnter:O,onEnterCancelled:j,onLeave:T,onLeaveCancelled:z,onBeforeAppear:W=P,onAppear:ot=O,onAppearCancelled:Y=j}=n,st=(at,bt,Lt)=>{Nr(at,bt?_:p),Nr(at,bt?m:c),Lt&&Lt()},ct=(at,bt)=>{at._isLeaving=!1,Nr(at,v),Nr(at,A),Nr(at,M),bt&&bt()},gt=at=>(bt,Lt)=>{const Et=at?ot:O,Ct=()=>st(bt,at,Lt);jr(Et,[bt,Ct]),Ec(()=>{Nr(bt,at?f:i),mr(bt,at?_:p),Sc(Et)||Tc(bt,s,S,Ct)})};return je(n,{onBeforeEnter(at){jr(P,[at]),mr(at,i),mr(at,c)},onBeforeAppear(at){jr(W,[at]),mr(at,f),mr(at,m)},onEnter:gt(!1),onAppear:gt(!0),onLeave(at,bt){at._isLeaving=!0;const Lt=()=>ct(at,bt);mr(at,v),Pm(),mr(at,M),Ec(()=>{at._isLeaving&&(Nr(at,v),mr(at,A),Sc(T)||Tc(at,s,V,Lt))}),jr(T,[at,Lt])},onEnterCancelled(at){st(at,!1),jr(j,[at])},onAppearCancelled(at){st(at,!0),jr(Y,[at])},onLeaveCancelled(at){ct(at),jr(z,[at])}})}function Lm(e){if(e==null)return null;if(Oe(e))return[aa(e.enter),aa(e.leave)];{const n=aa(e);return[n,n]}}function aa(e){return ud(e)}function mr(e,n){n.split(/\s+/).forEach(a=>a&&e.classList.add(a)),(e._vtc||(e._vtc=new Set)).add(n)}function Nr(e,n){n.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:a}=e;a&&(a.delete(n),a.size||(e._vtc=void 0))}function Ec(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mm=0;function Tc(e,n,a,s){const u=e._endId=++Mm,i=()=>{u===e._endId&&s()};if(a)return setTimeout(i,a);const{type:c,timeout:p,propCount:f}=Cm(e,n);if(!c)return s();const m=c+"end";let _=0;const v=()=>{e.removeEventListener(m,M),i()},M=A=>{A.target===e&&++_>=f&&v()};setTimeout(()=>{_(a[C]||"").split(", "),u=s(`${fr}Delay`),i=s(`${fr}Duration`),c=Oc(u,i),p=s(`${qi}Delay`),f=s(`${qi}Duration`),m=Oc(p,f);let _=null,v=0,M=0;n===fr?c>0&&(_=fr,v=c,M=i.length):n===qi?m>0&&(_=qi,v=m,M=f.length):(v=Math.max(c,m),_=v>0?c>m?fr:qi:null,M=_?_===fr?i.length:f.length:0);const A=_===fr&&/\b(transform|all)(,|$)/.test(s(`${fr}Property`).toString());return{type:_,timeout:v,propCount:M,hasTransform:A}}function Oc(e,n){for(;e.lengthAc(a)+Ac(e[s])))}function Ac(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Pm(){return document.body.offsetHeight}const Rc=e=>{const n=e.props["onUpdate:modelValue"]||!1;return Wt(n)?a=>Jo(n,a):n};function Sm(e){e.target.composing=!0}function Bc(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Em={created(e,{modifiers:{lazy:n,trim:a,number:s}},u){e._assign=Rc(u);const i=s||u.props&&u.props.type==="number";ui(e,n?"change":"input",c=>{if(c.target.composing)return;let p=e.value;a&&(p=p.trim()),i&&(p=va(p)),e._assign(p)}),a&&ui(e,"change",()=>{e.value=e.value.trim()}),n||(ui(e,"compositionstart",Sm),ui(e,"compositionend",Bc),ui(e,"change",Bc))},mounted(e,{value:n}){e.value=n??""},beforeUpdate(e,{value:n,modifiers:{lazy:a,trim:s,number:u}},i){if(e._assign=Rc(i),e.composing||document.activeElement===e&&e.type!=="range"&&(a||s&&e.value.trim()===n||(u||e.type==="number")&&va(e.value)===n))return;const c=n??"";e.value!==c&&(e.value=c)}},Tm=["ctrl","shift","alt","meta"],Om={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,n)=>Tm.some(a=>e[`${a}Key`]&&!n.includes(a))},hs=(e,n)=>(a,...s)=>{for(let u=0;u{Ki(e,!1)}):Ki(e,n))},beforeUnmount(e,{value:n}){Ki(e,n)}};function Ki(e,n){e.style.display=n?e._vod:"none"}const Am=je({patchProp:wm},lm);let la,Ic=!1;function Rm(){return la=Ic?la:Hf(Am),Ic=!0,la}const Bm=(...e)=>{const n=Rm().createApp(...e),{mount:a}=n;return n.mount=s=>{const u=Im(s);if(u)return a(u,!0,u instanceof SVGElement)},n};function Im(e){return De(e)?document.querySelector(e):e}let Dm;function zm(){return Dm}function cl(e,n={}){const a=n.head||zm();return a==null?void 0:a.push(e,n)}const jm=["title"],Nm={key:0,xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Fm=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"},null,-1),Hm=[Fm],Gm={key:1,xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Vm=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"},null,-1),Um=[Vm],kh={__name:"SwitchTheme",setup(e){const n={dark:"dark",light:"light"},a=Zt(null);window!==void 0&&(localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?a.value="dark":a.value="light",Ge(a,(u,i)=>{document.documentElement.classList.add(u),document.documentElement.classList.remove(i),localStorage.setItem("theme",u)},{immediate:!0}));const s=()=>{a.value===n.dark?a.value=n.light:a.value=n.dark};return(u,i)=>(U(),nt("button",{type:"button",onClick:s,title:a.value===n.light?"Change to dark mode":"Change to light mode"},[a.value===n.dark?(U(),nt("svg",Nm,Hm)):(U(),nt("svg",Gm,Um))],8,jm))}},$m=["aria-expanded"],Zm=et("span",{class:"sr-only"},"Open main menu",-1),qm={key:0,class:"absolute top-full left-0 w-full z-50 bg-base-foreground text-base-content block shadow-md md:hidden print:hidden"},Km={class:"font-normal container mx-auto"},Wm={class:"flex flex-col m-0 p-0 border-t border-base-border"},Jm={__name:"NavbarMobile",setup(e){const{header_links:n}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},a=Zt(!1),s=()=>{a.value=!a.value};return(u,i)=>{const c=dt("IconClose"),p=dt("IconHamburger"),f=dt("router-link"),m=dt("ClientOnly"),_=dt("TrackerReport"),v=dt("AnimationOpacity");return U(),nt($t,null,[et("button",{type:"button",class:"inline-flex items-center p-2 z-50 ml-3 text-sm text-primary-content rounded-lg md:hidden print:hidden",title:"Menu","aria-controls":"mobile-menu","aria-expanded":a.value,onClick:s},[Zm,a.value?(U(),At(c,{key:0})):(U(),At(p,{key:1,class:"w-6 h-6"}))],8,$m),rt(v,null,{default:ft(()=>[a.value?(U(),nt("div",qm,[et("nav",Km,[et("ul",Wm,[(U(!0),nt($t,null,ye(Kt(n),(M,A)=>(U(),nt("li",{key:A,class:"border-b border-base-border"},[rt(f,{to:M.link,class:"text-base-content w-full p-4 pt-3 pb-3 block box-border"},{default:ft(()=>[ne(Qt(M.label),1)]),_:2},1032,["to"])]))),128)),et("li",null,[rt(m,null,{default:ft(()=>[rt(kh,{class:"text-base-content w-full p-4 pt-3 pb-3 block box-border border-b border-b-base-border"})]),_:1})]),et("li",null,[rt(_,{icon:"","button-class":"text-base-content w-full p-4 pt-3 pb-3 block box-border border-b border-b-base-border"})])])])])):Nt("",!0)]),_:1})],64)}}};function Ym(e){try{return new URL(e),!0}catch{return!1}}const Xm={class:"relative bg-header px-2 sm:px-4 py-2.5 shadow-sm shadow-base-muted pl-4 pr-4 h-9 align-middle flex items-center bg-primary-color"},Qm={class:"container flex flex-wrap justify-between items-center mx-auto font-medium text-secondary-content"},tg=["src","alt"],eg={class:"relative hidden md:flex items-center ml-auto"},ng={class:"text-sm leading-6 font-normal"},rg={class:"flex space-x-8"},ig={class:"flex items-center border-l ml-6 pl-6 border-base-muted border-opacity-50"},og={class:"flex items-center ml-2 border-base-muted"},sg={__name:"LayoutHeader",setup(e){const{header_links:n,header_logo_text:a,header_logo_url:s,base_url:u,project_name:i}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},c=Ym(s)?s:(u+s).replace("//","/");return(p,f)=>{const m=dt("RouterLink"),_=dt("router-link"),v=dt("ClientOnly"),M=dt("TrackerReport");return U(),nt("header",Xm,[et("div",Qm,[rt(m,{to:"/",class:"flex items-center text-primary-content"},{default:ft(()=>[Kt(s)?(U(),nt("img",{key:0,class:"mr-3 h-10",src:Kt(c),alt:Kt(a)},null,8,tg)):Nt("",!0),et("span",null,Qt(Kt(a)||Kt(i)),1)]),_:1}),rt(Jm),et("div",eg,[et("nav",ng,[et("ul",rg,[(U(!0),nt($t,null,ye(Kt(n),(A,C)=>(U(),nt("li",{key:C},[rt(_,{to:A.link,class:"hover:text-primary-content text-primary-content"},{default:ft(()=>[ne(Qt(A.label),1)]),_:2},1032,["to"])]))),128))])]),et("div",ig,[rt(v,null,{default:ft(()=>[rt(kh,{class:"text-primary-content"})]),_:1})]),et("div",og,[rt(M,{icon:""})])])])])}}};/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const hi=typeof window<"u";function ag(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Le=Object.assign;function ca(e,n){const a={};for(const s in n){const u=n[s];a[s]=An(u)?u.map(e):e(u)}return a}const ro=()=>{},An=Array.isArray,lg=/\/$/,cg=e=>e.replace(lg,"");function ua(e,n,a="/"){let s,u={},i="",c="";const p=n.indexOf("#");let f=n.indexOf("?");return p=0&&(f=-1),f>-1&&(s=n.slice(0,f),i=n.slice(f+1,p>-1?p:n.length),u=e(i)),p>-1&&(s=s||n.slice(0,p),c=n.slice(p,n.length)),s=dg(s??n,a),{fullPath:s+(i&&"?")+i+c,path:s,query:u,hash:c}}function ug(e,n){const a=n.query?e(n.query):"";return n.path+(a&&"?")+a+(n.hash||"")}function Dc(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function hg(e,n,a){const s=n.matched.length-1,u=a.matched.length-1;return s>-1&&s===u&&vi(n.matched[s],a.matched[u])&&Lh(n.params,a.params)&&e(n.query)===e(a.query)&&n.hash===a.hash}function vi(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function Lh(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const a in e)if(!pg(e[a],n[a]))return!1;return!0}function pg(e,n){return An(e)?zc(e,n):An(n)?zc(n,e):e===n}function zc(e,n){return An(n)?e.length===n.length&&e.every((a,s)=>a===n[s]):e.length===1&&e[0]===n}function dg(e,n){if(e.startsWith("/"))return e;if(!e)return n;const a=n.split("/"),s=e.split("/"),u=s[s.length-1];(u===".."||u===".")&&s.push("");let i=a.length-1,c,p;for(c=0;c1&&i--;else break;return a.slice(0,i).join("/")+"/"+s.slice(c-(c===s.length?1:0)).join("/")}var fo;(function(e){e.pop="pop",e.push="push"})(fo||(fo={}));var io;(function(e){e.back="back",e.forward="forward",e.unknown=""})(io||(io={}));function fg(e){if(!e)if(hi){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),cg(e)}const mg=/^[^#]+#/;function gg(e,n){return e.replace(mg,"#")+n}function _g(e,n){const a=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:n.behavior,left:s.left-a.left-(n.left||0),top:s.top-a.top-(n.top||0)}}const Es=()=>({left:window.pageXOffset,top:window.pageYOffset});function yg(e){let n;if("el"in e){const a=e.el,s=typeof a=="string"&&a.startsWith("#"),u=typeof a=="string"?s?document.getElementById(a.slice(1)):document.querySelector(a):a;if(!u)return;n=_g(u,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.pageXOffset,n.top!=null?n.top:window.pageYOffset)}function jc(e,n){return(history.state?history.state.position-n:-1)+e}const Aa=new Map;function vg(e,n){Aa.set(e,n)}function bg(e){const n=Aa.get(e);return Aa.delete(e),n}let wg=()=>location.protocol+"//"+location.host;function Mh(e,n){const{pathname:a,search:s,hash:u}=n,i=e.indexOf("#");if(i>-1){let p=u.includes(e.slice(i))?e.slice(i).length:1,f=u.slice(p);return f[0]!=="/"&&(f="/"+f),Dc(f,"")}return Dc(a,e)+s+u}function xg(e,n,a,s){let u=[],i=[],c=null;const p=({state:M})=>{const A=Mh(e,location),C=a.value,S=n.value;let V=0;if(M){if(a.value=A,n.value=M,c&&c===C){c=null;return}V=S?M.position-S.position:0}else s(A);u.forEach(P=>{P(a.value,C,{delta:V,type:fo.pop,direction:V?V>0?io.forward:io.back:io.unknown})})};function f(){c=a.value}function m(M){u.push(M);const A=()=>{const C=u.indexOf(M);C>-1&&u.splice(C,1)};return i.push(A),A}function _(){const{history:M}=window;M.state&&M.replaceState(Le({},M.state,{scroll:Es()}),"")}function v(){for(const M of i)M();i=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",_)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",_,{passive:!0}),{pauseListeners:f,listen:m,destroy:v}}function Nc(e,n,a,s=!1,u=!1){return{back:e,current:n,forward:a,replaced:s,position:window.history.length,scroll:u?Es():null}}function kg(e){const{history:n,location:a}=window,s={value:Mh(e,a)},u={value:n.state};u.value||i(s.value,{back:null,current:s.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function i(f,m,_){const v=e.indexOf("#"),M=v>-1?(a.host&&document.querySelector("base")?e:e.slice(v))+f:wg()+e+f;try{n[_?"replaceState":"pushState"](m,"",M),u.value=m}catch(A){console.error(A),a[_?"replace":"assign"](M)}}function c(f,m){const _=Le({},n.state,Nc(u.value.back,f,u.value.forward,!0),m,{position:u.value.position});i(f,_,!0),s.value=f}function p(f,m){const _=Le({},u.value,n.state,{forward:f,scroll:Es()});i(_.current,_,!0);const v=Le({},Nc(s.value,f,null),{position:_.position+1},m);i(f,v,!1),s.value=f}return{location:s,state:u,push:p,replace:c}}function Ch(e){e=fg(e);const n=kg(e),a=xg(e,n.state,n.location,n.replace);function s(i,c=!0){c||a.pauseListeners(),history.go(i)}const u=Le({location:"",base:e,go:s,createHref:gg.bind(null,e)},n,a);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>n.state.value}),u}function Lg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ch(e)}function Mg(e){return typeof e=="string"||e&&typeof e=="object"}function Ph(e){return typeof e=="string"||typeof e=="symbol"}const gr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Sh=Symbol("");var Fc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Fc||(Fc={}));function bi(e,n){return Le(new Error,{type:e,[Sh]:!0},n)}function Qn(e,n){return e instanceof Error&&Sh in e&&(n==null||!!(e.type&n))}const Hc="[^/]+?",Cg={sensitive:!1,strict:!1,start:!0,end:!0},Pg=/[.+*?^${}()[\]/\\]/g;function Sg(e,n){const a=Le({},Cg,n),s=[];let u=a.start?"^":"";const i=[];for(const m of e){const _=m.length?[]:[90];a.strict&&!m.length&&(u+="/");for(let v=0;vn.length?n.length===1&&n[0]===40+40?1:-1:0}function Tg(e,n){let a=0;const s=e.score,u=n.score;for(;a0&&n[n.length-1]<0}const Og={type:0,value:""},Ag=/[a-zA-Z0-9_]/;function Rg(e){if(!e)return[[]];if(e==="/")return[[Og]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(A){throw new Error(`ERR (${a})/"${m}": ${A}`)}let a=0,s=a;const u=[];let i;function c(){i&&u.push(i),i=[]}let p=0,f,m="",_="";function v(){m&&(a===0?i.push({type:0,value:m}):a===1||a===2||a===3?(i.length>1&&(f==="*"||f==="+")&&n(`A repeatable param (${m}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:m,regexp:_,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):n("Invalid state to consume buffer"),m="")}function M(){m+=f}for(;p{c(O)}:ro}function c(_){if(Ph(_)){const v=s.get(_);v&&(s.delete(_),a.splice(a.indexOf(v),1),v.children.forEach(c),v.alias.forEach(c))}else{const v=a.indexOf(_);v>-1&&(a.splice(v,1),_.record.name&&s.delete(_.record.name),_.children.forEach(c),_.alias.forEach(c))}}function p(){return a}function f(_){let v=0;for(;v=0&&(_.record.path!==a[v].record.path||!Eh(_,a[v]));)v++;a.splice(v,0,_),_.record.name&&!Uc(_)&&s.set(_.record.name,_)}function m(_,v){let M,A={},C,S;if("name"in _&&_.name){if(M=s.get(_.name),!M)throw bi(1,{location:_});S=M.record.name,A=Le(Vc(v.params,M.keys.filter(O=>!O.optional).map(O=>O.name)),_.params&&Vc(_.params,M.keys.map(O=>O.name))),C=M.stringify(A)}else if("path"in _)C=_.path,M=a.find(O=>O.re.test(C)),M&&(A=M.parse(C),S=M.record.name);else{if(M=v.name?s.get(v.name):a.find(O=>O.re.test(v.path)),!M)throw bi(1,{location:_,currentLocation:v});S=M.record.name,A=Le({},v.params,_.params),C=M.stringify(A)}const V=[];let P=M;for(;P;)V.unshift(P.record),P=P.parent;return{name:S,path:C,params:A,matched:V,meta:jg(V)}}return e.forEach(_=>i(_)),{addRoute:i,resolve:m,removeRoute:c,getRoutes:p,getRecordMatcher:u}}function Vc(e,n){const a={};for(const s of n)s in e&&(a[s]=e[s]);return a}function Dg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:zg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function zg(e){const n={},a=e.props||!1;if("component"in e)n.default=a;else for(const s in e.components)n[s]=typeof a=="object"?a[s]:a;return n}function Uc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jg(e){return e.reduce((n,a)=>Le(n,a.meta),{})}function $c(e,n){const a={};for(const s in e)a[s]=s in n?n[s]:e[s];return a}function Eh(e,n){return n.children.some(a=>a===e||Eh(e,a))}const Th=/#/g,Ng=/&/g,Fg=/\//g,Hg=/=/g,Gg=/\?/g,Oh=/\+/g,Vg=/%5B/g,Ug=/%5D/g,Ah=/%5E/g,$g=/%60/g,Rh=/%7B/g,Zg=/%7C/g,Bh=/%7D/g,qg=/%20/g;function ul(e){return encodeURI(""+e).replace(Zg,"|").replace(Vg,"[").replace(Ug,"]")}function Kg(e){return ul(e).replace(Rh,"{").replace(Bh,"}").replace(Ah,"^")}function Ra(e){return ul(e).replace(Oh,"%2B").replace(qg,"+").replace(Th,"%23").replace(Ng,"%26").replace($g,"`").replace(Rh,"{").replace(Bh,"}").replace(Ah,"^")}function Wg(e){return Ra(e).replace(Hg,"%3D")}function Jg(e){return ul(e).replace(Th,"%23").replace(Gg,"%3F")}function Yg(e){return e==null?"":Jg(e).replace(Fg,"%2F")}function ps(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Xg(e){const n={};if(e===""||e==="?")return n;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let u=0;ui&&Ra(i)):[s&&Ra(s)]).forEach(i=>{i!==void 0&&(n+=(n.length?"&":"")+a,i!=null&&(n+="="+i))})}return n}function Qg(e){const n={};for(const a in e){const s=e[a];s!==void 0&&(n[a]=An(s)?s.map(u=>u==null?null:""+u):s==null?s:""+s)}return n}const t_=Symbol(""),qc=Symbol(""),Ts=Symbol(""),hl=Symbol(""),Ba=Symbol("");function Wi(){let e=[];function n(s){return e.push(s),()=>{const u=e.indexOf(s);u>-1&&e.splice(u,1)}}function a(){e=[]}return{add:n,list:()=>e.slice(),reset:a}}function br(e,n,a,s,u){const i=s&&(s.enterCallbacks[u]=s.enterCallbacks[u]||[]);return()=>new Promise((c,p)=>{const f=v=>{v===!1?p(bi(4,{from:a,to:n})):v instanceof Error?p(v):Mg(v)?p(bi(2,{from:n,to:v})):(i&&s.enterCallbacks[u]===i&&typeof v=="function"&&i.push(v),c())},m=e.call(s&&s.instances[u],n,a,f);let _=Promise.resolve(m);e.length<3&&(_=_.then(f)),_.catch(v=>p(v))})}function ha(e,n,a,s){const u=[];for(const i of e)for(const c in i.components){let p=i.components[c];if(!(n!=="beforeRouteEnter"&&!i.instances[c]))if(e_(p)){const m=(p.__vccOpts||p)[n];m&&u.push(br(m,a,s,i,c))}else{let f=p();u.push(()=>f.then(m=>{if(!m)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${i.path}"`));const _=ag(m)?m.default:m;i.components[c]=_;const M=(_.__vccOpts||_)[n];return M&&br(M,a,s,i,c)()}))}}return u}function e_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Kc(e){const n=xn(Ts),a=xn(hl),s=se(()=>n.resolve(Kt(e.to))),u=se(()=>{const{matched:f}=s.value,{length:m}=f,_=f[m-1],v=a.matched;if(!_||!v.length)return-1;const M=v.findIndex(vi.bind(null,_));if(M>-1)return M;const A=Wc(f[m-2]);return m>1&&Wc(_)===A&&v[v.length-1].path!==A?v.findIndex(vi.bind(null,f[m-2])):M}),i=se(()=>u.value>-1&&o_(a.params,s.value.params)),c=se(()=>u.value>-1&&u.value===a.matched.length-1&&Lh(a.params,s.value.params));function p(f={}){return i_(f)?n[Kt(e.replace)?"replace":"push"](Kt(e.to)).catch(ro):Promise.resolve()}return{route:s,href:se(()=>s.value.href),isActive:i,isExactActive:c,navigate:p}}const n_=nh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Kc,setup(e,{slots:n}){const a=yo(Kc(e)),{options:s}=xn(Ts),u=se(()=>({[Jc(e.activeClass,s.linkActiveClass,"router-link-active")]:a.isActive,[Jc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const i=n.default&&n.default(a);return e.custom?i:ll("a",{"aria-current":a.isExactActive?e.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:u.value},i)}}}),r_=n_;function i_(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function o_(e,n){for(const a in n){const s=n[a],u=e[a];if(typeof s=="string"){if(s!==u)return!1}else if(!An(u)||u.length!==s.length||s.some((i,c)=>i!==u[c]))return!1}return!0}function Wc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jc=(e,n,a)=>e??n??a,s_=nh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:a}){const s=xn(Ba),u=se(()=>e.route||s.value),i=xn(qc,0),c=se(()=>{let m=Kt(i);const{matched:_}=u.value;let v;for(;(v=_[m])&&!v.components;)m++;return m}),p=se(()=>u.value.matched[c.value]);Yo(qc,se(()=>c.value+1)),Yo(t_,p),Yo(Ba,u);const f=Zt();return Ge(()=>[f.value,p.value,e.name],([m,_,v],[M,A,C])=>{_&&(_.instances[v]=m,A&&A!==_&&m&&m===M&&(_.leaveGuards.size||(_.leaveGuards=A.leaveGuards),_.updateGuards.size||(_.updateGuards=A.updateGuards))),m&&_&&(!A||!vi(_,A)||!M)&&(_.enterCallbacks[v]||[]).forEach(S=>S(m))},{flush:"post"}),()=>{const m=u.value,_=e.name,v=p.value,M=v&&v.components[_];if(!M)return Yc(a.default,{Component:M,route:m});const A=v.props[_],C=A?A===!0?m.params:typeof A=="function"?A(m):A:null,V=ll(M,Le({},C,n,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(v.instances[_]=null)},ref:f}));return Yc(a.default,{Component:V,route:m})||V}}});function Yc(e,n){if(!e)return null;const a=e(n);return a.length===1?a[0]:a}const a_=s_;function l_(e){const n=Ig(e.routes,e),a=e.parseQuery||Xg,s=e.stringifyQuery||Zc,u=e.history,i=Wi(),c=Wi(),p=Wi(),f=Zd(gr);let m=gr;hi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=ca.bind(null,pt=>""+pt),v=ca.bind(null,Yg),M=ca.bind(null,ps);function A(pt,Pt){let St,zt;return Ph(pt)?(St=n.getRecordMatcher(pt),zt=Pt):zt=pt,n.addRoute(zt,St)}function C(pt){const Pt=n.getRecordMatcher(pt);Pt&&n.removeRoute(Pt)}function S(){return n.getRoutes().map(pt=>pt.record)}function V(pt){return!!n.getRecordMatcher(pt)}function P(pt,Pt){if(Pt=Le({},Pt||f.value),typeof pt=="string"){const J=ua(a,pt,Pt.path),ht=n.resolve({path:J.path},Pt),_t=u.createHref(J.fullPath);return Le(J,ht,{params:M(ht.params),hash:ps(J.hash),redirectedFrom:void 0,href:_t})}let St;if("path"in pt)St=Le({},pt,{path:ua(a,pt.path,Pt.path).path});else{const J=Le({},pt.params);for(const ht in J)J[ht]==null&&delete J[ht];St=Le({},pt,{params:v(J)}),Pt.params=v(Pt.params)}const zt=n.resolve(St,Pt),ce=pt.hash||"";zt.params=_(M(zt.params));const H=ug(s,Le({},pt,{hash:Kg(ce),path:zt.path})),K=u.createHref(H);return Le({fullPath:H,hash:ce,query:s===Zc?Qg(pt.query):pt.query||{}},zt,{redirectedFrom:void 0,href:K})}function O(pt){return typeof pt=="string"?ua(a,pt,f.value.path):Le({},pt)}function j(pt,Pt){if(m!==pt)return bi(8,{from:Pt,to:pt})}function T(pt){return ot(pt)}function z(pt){return T(Le(O(pt),{replace:!0}))}function W(pt){const Pt=pt.matched[pt.matched.length-1];if(Pt&&Pt.redirect){const{redirect:St}=Pt;let zt=typeof St=="function"?St(pt):St;return typeof zt=="string"&&(zt=zt.includes("?")||zt.includes("#")?zt=O(zt):{path:zt},zt.params={}),Le({query:pt.query,hash:pt.hash,params:"path"in zt?{}:pt.params},zt)}}function ot(pt,Pt){const St=m=P(pt),zt=f.value,ce=pt.state,H=pt.force,K=pt.replace===!0,J=W(St);if(J)return ot(Le(O(J),{state:typeof J=="object"?Le({},ce,J.state):ce,force:H,replace:K}),Pt||St);const ht=St;ht.redirectedFrom=Pt;let _t;return!H&&hg(s,zt,St)&&(_t=bi(16,{to:ht,from:zt}),Bt(zt,zt,!0,!1)),(_t?Promise.resolve(_t):ct(ht,zt)).catch(xt=>Qn(xt)?Qn(xt,2)?xt:Dt(xt):wt(xt,ht,zt)).then(xt=>{if(xt){if(Qn(xt,2))return ot(Le({replace:K},O(xt.to),{state:typeof xt.to=="object"?Le({},ce,xt.to.state):ce,force:H}),Pt||ht)}else xt=at(ht,zt,!0,K,ce);return gt(ht,zt,xt),xt})}function Y(pt,Pt){const St=j(pt,Pt);return St?Promise.reject(St):Promise.resolve()}function st(pt){const Pt=fe.values().next().value;return Pt&&typeof Pt.runWithContext=="function"?Pt.runWithContext(pt):pt()}function ct(pt,Pt){let St;const[zt,ce,H]=c_(pt,Pt);St=ha(zt.reverse(),"beforeRouteLeave",pt,Pt);for(const J of zt)J.leaveGuards.forEach(ht=>{St.push(br(ht,pt,Pt))});const K=Y.bind(null,pt,Pt);return St.push(K),Ft(St).then(()=>{St=[];for(const J of i.list())St.push(br(J,pt,Pt));return St.push(K),Ft(St)}).then(()=>{St=ha(ce,"beforeRouteUpdate",pt,Pt);for(const J of ce)J.updateGuards.forEach(ht=>{St.push(br(ht,pt,Pt))});return St.push(K),Ft(St)}).then(()=>{St=[];for(const J of H)if(J.beforeEnter)if(An(J.beforeEnter))for(const ht of J.beforeEnter)St.push(br(ht,pt,Pt));else St.push(br(J.beforeEnter,pt,Pt));return St.push(K),Ft(St)}).then(()=>(pt.matched.forEach(J=>J.enterCallbacks={}),St=ha(H,"beforeRouteEnter",pt,Pt),St.push(K),Ft(St))).then(()=>{St=[];for(const J of c.list())St.push(br(J,pt,Pt));return St.push(K),Ft(St)}).catch(J=>Qn(J,8)?J:Promise.reject(J))}function gt(pt,Pt,St){p.list().forEach(zt=>st(()=>zt(pt,Pt,St)))}function at(pt,Pt,St,zt,ce){const H=j(pt,Pt);if(H)return H;const K=Pt===gr,J=hi?history.state:{};St&&(zt||K?u.replace(pt.fullPath,Le({scroll:K&&J&&J.scroll},ce)):u.push(pt.fullPath,ce)),f.value=pt,Bt(pt,Pt,St,K),Dt()}let bt;function Lt(){bt||(bt=u.listen((pt,Pt,St)=>{if(!le.listening)return;const zt=P(pt),ce=W(zt);if(ce){ot(Le(ce,{replace:!0}),zt).catch(ro);return}m=zt;const H=f.value;hi&&vg(jc(H.fullPath,St.delta),Es()),ct(zt,H).catch(K=>Qn(K,12)?K:Qn(K,2)?(ot(K.to,zt).then(J=>{Qn(J,20)&&!St.delta&&St.type===fo.pop&&u.go(-1,!1)}).catch(ro),Promise.reject()):(St.delta&&u.go(-St.delta,!1),wt(K,zt,H))).then(K=>{K=K||at(zt,H,!1),K&&(St.delta&&!Qn(K,8)?u.go(-St.delta,!1):St.type===fo.pop&&Qn(K,20)&&u.go(-1,!1)),gt(zt,H,K)}).catch(ro)}))}let Et=Wi(),Ct=Wi(),Gt;function wt(pt,Pt,St){Dt(pt);const zt=Ct.list();return zt.length?zt.forEach(ce=>ce(pt,Pt,St)):console.error(pt),Promise.reject(pt)}function de(){return Gt&&f.value!==gr?Promise.resolve():new Promise((pt,Pt)=>{Et.add([pt,Pt])})}function Dt(pt){return Gt||(Gt=!pt,Lt(),Et.list().forEach(([Pt,St])=>pt?St(pt):Pt()),Et.reset()),pt}function Bt(pt,Pt,St,zt){const{scrollBehavior:ce}=e;if(!hi||!ce)return Promise.resolve();const H=!St&&bg(jc(pt.fullPath,0))||(zt||!St)&&history.state&&history.state.scroll||null;return bs().then(()=>ce(pt,Pt,H)).then(K=>K&&yg(K)).catch(K=>wt(K,pt,Pt))}const Vt=pt=>u.go(pt);let Me;const fe=new Set,le={currentRoute:f,listening:!0,addRoute:A,removeRoute:C,hasRoute:V,getRoutes:S,resolve:P,options:e,push:T,replace:z,go:Vt,back:()=>Vt(-1),forward:()=>Vt(1),beforeEach:i.add,beforeResolve:c.add,afterEach:p.add,onError:Ct.add,isReady:de,install(pt){const Pt=this;pt.component("RouterLink",r_),pt.component("RouterView",a_),pt.config.globalProperties.$router=Pt,Object.defineProperty(pt.config.globalProperties,"$route",{enumerable:!0,get:()=>Kt(f)}),hi&&!Me&&f.value===gr&&(Me=!0,T(u.location).catch(ce=>{}));const St={};for(const ce in gr)Object.defineProperty(St,ce,{get:()=>f.value[ce],enumerable:!0});pt.provide(Ts,Pt),pt.provide(hl,zu(St)),pt.provide(Ba,f);const zt=pt.unmount;fe.add(pt),pt.unmount=function(){fe.delete(pt),fe.size<1&&(m=gr,bt&&bt(),bt=null,f.value=gr,Me=!1,Gt=!1),zt()}}};function Ft(pt){return pt.reduce((Pt,St)=>Pt.then(()=>st(St)),Promise.resolve())}return le}function c_(e,n){const a=[],s=[],u=[],i=Math.max(n.matched.length,e.matched.length);for(let c=0;cvi(m,p))?s.push(p):a.push(p));const f=e.matched[c];f&&(n.matched.find(m=>vi(m,f))||u.push(f))}return[a,s,u]}function Ih(){return xn(Ts)}function Dh(){return xn(hl)}const u_={key:0},h_={__name:"FooterAnalytics",setup(e){const n={analytics:"Google Analytics",gtm:"Google Tag Manager",pixel:"Facebook Pixel",retargeting:"VK Retargeting",linkedin:"Linkedin Insight",tongji:"Baidu Tongji",metrica:"Yandex Metrica",microsoft:"Microsoft Analytics",hotjar:"Hotjar Analytics",fullStory:"Full story Analytics",unbounce:"Unbounce conversion analytics",tiktok:"TikTok Pixel Analytics"},s=Object.keys({base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]}.analytics_services||{}).map(u=>n[u]).filter(Boolean).join("; ");return(u,i)=>Kt(s)?(U(),nt("span",u_,"This site uses "+Qt(Kt(s))+".",1)):Nt("",!0)}},p_={class:"footer text-white bottom-0 border-gray-200 bg-zinc-800 pl-4 pr-4"},d_={class:"container mx-auto text-sm pt-2 pb-4"},f_={class:"pt-4 pb-2"},m_={key:0},g_=["href"],__={class:"flex items-center text-xs gap-2"},y_=["src"],v_=et("hr",{class:"mt-3 mb-3 border-gray-500"},null,-1),b_={class:"flex flex-col sm:flex-row justify-between gap-4"},w_={class:"[&>*:not(:last-child)]:after:content-['|'] [&>*:not(:last-child)]:after:mx-1"},x_=et("span",null,[ne(" Data provided by "),et("a",{class:"text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium",target:"_blank",href:"https://taxonworks.org/"}," TaxonWorks ")],-1),k_=et("span",null,[ne(" Pages by "),et("a",{class:"text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium",target:"_blank",href:"https://github.com/SpeciesFileGroup/taxonpages"}," TaxonPages ")],-1),L_=et("span",null,[ne(" Support (Services) by "),et("a",{class:"text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium",target:"_blank",href:"https://speciesfilegroup.org"}," Species File Group ")],-1),M_={__name:"LayoutFooter",setup(e){const{project_authors:n,project_citation:a,project_url:s,copyright_text:u,copyright_image:i,copyright_image_link:c,hash_mode:p}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},f=new Date().toISOString().split("T")[0],m=Dh(),_=se(()=>{const v=(s||"").replace(/\/$/,"");return v.length?p?v+"/#"+m.fullPath:v+m.fullPath:""});return(v,M)=>{const A=dt("ClientOnly"),C=dt("TrackerReport");return U(),nt("footer",p_,[et("div",d_,[et("div",f_,[ne(Qt(Kt(n))+" "+Qt(Kt(a))+". ",1),rt(A,null,{default:ft(()=>[et("span",null,"Retrieved on "+Qt(Kt(f)),1)]),_:1}),_.value?(U(),nt("span",m_,[ne(" at "),et("a",{class:"text-secondary-color",href:_.value},Qt(_.value),9,g_)])):Nt("",!0)]),et("div",__,[(U(),At(Mi(Kt(c)?"a":"span"),{href:Kt(c),class:"min-w-fit"},{default:ft(()=>[Kt(i)?(U(),nt("img",{key:0,src:Kt(i),alt:"copyright"},null,8,y_)):Nt("",!0)]),_:1},8,["href"])),et("span",null,Qt(Kt(u)),1)]),v_,et("div",b_,[et("div",w_,[x_,k_,L_,rt(h_,{class:"italic"})]),rt(C,{icon:"",label:"Report a problem","button-class":"flex gap-2 items-center pl-0 pr-0 pt-0 pb-0 self-end"})])])])}}},C_={class:"min-h-screen h-screen flex flex-col justify-between"},P_={class:"flex flex-col flex-grow"},S_={__name:"Application",setup(e){return(n,a)=>(U(),nt("div",C_,[et("div",P_,[rt(sg),Se(n.$slots,"default")]),rt(M_)]))}},E_={__name:"App",setup(e){return cl({title:"Plecoptera Species File",meta:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}]}),(n,a)=>{const s=dt("router-view");return U(),At(S_,null,{default:ft(()=>[rt(s)]),_:1})}}},re=(e,n)=>{const a=e.__vccOpts||e;for(const[s,u]of n)a[s]=u;return a},T_={},O_={class:"mx-auto"},A_=et("div",{class:"container mx-auto flex flex-col items-center h-screen justify-center"},[et("h1",{class:"text-4xl font-medium"}," Welcome to TaxonPages "),et("p",{class:"text-xl p-4"}," We're almost there! If you're seeing this, it's because you haven't configured API access yet. ")],-1),R_=[A_];function B_(e,n){return U(),nt("div",O_,R_)}const I_=re(T_,[["render",B_]]);var D_=!1;/*! + * pinia v2.1.6 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let zh;const Os=e=>zh=e,jh=Symbol();function Ia(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var oo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(oo||(oo={}));function z_(){const e=Mu(!0),n=e.run(()=>Zt({}));let a=[],s=[];const u=ys({install(i){Os(u),u._a=i,i.provide(jh,u),i.config.globalProperties.$pinia=u,s.forEach(c=>a.push(c)),s=[]},use(i){return!this._a&&!D_?s.push(i):a.push(i),this},_p:a,_a:null,_e:e,_s:new Map,state:n});return u}const Nh=()=>{};function Xc(e,n,a,s=Nh){e.push(n);const u=()=>{const i=e.indexOf(n);i>-1&&(e.splice(i,1),s())};return!a&&Cu()&&yd(u),u}function ci(e,...n){e.slice().forEach(a=>{a(...n)})}const j_=e=>e();function Da(e,n){e instanceof Map&&n instanceof Map&&n.forEach((a,s)=>e.set(s,a)),e instanceof Set&&n instanceof Set&&n.forEach(e.add,e);for(const a in n){if(!n.hasOwnProperty(a))continue;const s=n[a],u=e[a];Ia(u)&&Ia(s)&&e.hasOwnProperty(a)&&!Ie(s)&&!xr(s)?e[a]=Da(u,s):e[a]=s}return e}const N_=Symbol();function F_(e){return!Ia(e)||!e.hasOwnProperty(N_)}const{assign:yr}=Object;function H_(e){return!!(Ie(e)&&e.effect)}function G_(e,n,a,s){const{state:u,actions:i,getters:c}=n,p=a.state.value[e];let f;function m(){p||(a.state.value[e]=u?u():{});const _=Wd(a.state.value[e]);return yr(_,i,Object.keys(c||{}).reduce((v,M)=>(v[M]=ys(se(()=>{Os(a);const A=a._s.get(e);return c[M].call(A,A)})),v),{}))}return f=Fh(e,m,n,a,s,!0),f}function Fh(e,n,a={},s,u,i){let c;const p=yr({actions:{}},a),f={deep:!0};let m,_,v=[],M=[],A;const C=s.state.value[e];!i&&!C&&(s.state.value[e]={}),Zt({});let S;function V(Y){let st;m=_=!1,typeof Y=="function"?(Y(s.state.value[e]),st={type:oo.patchFunction,storeId:e,events:A}):(Da(s.state.value[e],Y),st={type:oo.patchObject,payload:Y,storeId:e,events:A});const ct=S=Symbol();bs().then(()=>{S===ct&&(m=!0)}),_=!0,ci(v,st,s.state.value[e])}const P=i?function(){const{state:st}=a,ct=st?st():{};this.$patch(gt=>{yr(gt,ct)})}:Nh;function O(){c.stop(),v=[],M=[],s._s.delete(e)}function j(Y,st){return function(){Os(s);const ct=Array.from(arguments),gt=[],at=[];function bt(Ct){gt.push(Ct)}function Lt(Ct){at.push(Ct)}ci(M,{args:ct,name:Y,store:z,after:bt,onError:Lt});let Et;try{Et=st.apply(this&&this.$id===e?this:z,ct)}catch(Ct){throw ci(at,Ct),Ct}return Et instanceof Promise?Et.then(Ct=>(ci(gt,Ct),Ct)).catch(Ct=>(ci(at,Ct),Promise.reject(Ct))):(ci(gt,Et),Et)}}const T={_p:s,$id:e,$onAction:Xc.bind(null,M),$patch:V,$reset:P,$subscribe(Y,st={}){const ct=Xc(v,Y,st.detached,()=>gt()),gt=c.run(()=>Ge(()=>s.state.value[e],at=>{(st.flush==="sync"?_:m)&&Y({storeId:e,type:oo.direct,events:A},at)},yr({},f,st)));return ct},$dispose:O},z=yo(T);s._s.set(e,z);const W=s._a&&s._a.runWithContext||j_,ot=s._e.run(()=>(c=Mu(),W(()=>c.run(n))));for(const Y in ot){const st=ot[Y];if(Ie(st)&&!H_(st)||xr(st))i||(C&&F_(st)&&(Ie(st)?st.value=C[Y]:Da(st,C[Y])),s.state.value[e][Y]=st);else if(typeof st=="function"){const ct=j(Y,st);ot[Y]=ct,p.actions[Y]=st}}return yr(z,ot),yr(me(z),ot),Object.defineProperty(z,"$state",{get:()=>s.state.value[e],set:Y=>{V(st=>{yr(st,Y)})}}),s._p.forEach(Y=>{yr(z,c.run(()=>Y({store:z,app:s._a,pinia:s,options:p})))}),C&&i&&a.hydrate&&a.hydrate(z.$state,C),m=!0,_=!0,z}function As(e,n,a){let s,u;const i=typeof n=="function";typeof e=="string"?(s=e,u=i?a:n):(u=e,s=e.id);function c(p,f){const m=Bf();return p=p||(m?xn(jh,null):null),p&&Os(p),p=zh,p._s.has(s)||(i?Fh(s,n,u,p):G_(s,u,p)),p._s.get(s)}return c.$id=s,c}const V_={},U_={class:"container mx-auto text-center relative top-1/4"},$_=et("h1",{class:"text-4xl sm:text-5xl text-base-lighter"}," Welcome to TaxonPages ",-1),Z_=et("p",{class:"m-4 my-8 text-xl"}," It seems you don't have a index or home file in your /pages folder, create one to replace this page. ",-1),q_=[$_,Z_];function K_(e,n){return U(),nt("div",U_,q_)}const W_=re(V_,[["render",K_]]),J_=[{name:"homepage",path:"/",alias:"/home",component:W_}],Y_={},X_={class:"container mx-auto text-center relative top-1/4"},Q_=et("h1",{class:"text-7xl text-base-lighter"},"500",-1),ty=et("p",null,"Internal Server Error.",-1),ey=et("p",{class:"m-4 my-10 text-xl"},[ne(" Uh oh, looks like something went wrong!"),et("br"),ne(" We track these errors automatically, but if the problem persists feel free to contact us. ")],-1),ny=[Q_,ty,ey];function ry(e,n){return U(),nt("div",X_,ny)}const iy=re(Y_,[["render",ry]]),oy={},sy={class:"container mx-auto text-center relative top-1/4"},ay=et("h1",{class:"text-7xl text-base-lighter"},"404",-1),ly=et("p",null,"Page not found.",-1),cy=et("p",{class:"m-4 my-10 text-xl"}," Uh oh, we can't seem to find the page you're looking for. Try going back to the previous page. ",-1),uy=[ay,ly,cy];function hy(e,n){return U(),nt("div",sy,uy)}const py=re(oy,[["render",hy]]),dy=[{path:"/500",name:"httpError500",component:iy,meta:{statusCode:500}},{path:"/:pathMatch(.*)*",name:"httpError404",component:py,meta:{statusCode:404}}];function Hh(e,n){return function(){return e.apply(n,arguments)}}const{toString:fy}=Object.prototype,{getPrototypeOf:pl}=Object,Rs=(e=>n=>{const a=fy.call(n);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),Vn=e=>(e=e.toLowerCase(),n=>Rs(n)===e),Bs=e=>n=>typeof n===e,{isArray:Ci}=Array,mo=Bs("undefined");function my(e){return e!==null&&!mo(e)&&e.constructor!==null&&!mo(e.constructor)&&kn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gh=Vn("ArrayBuffer");function gy(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&Gh(e.buffer),n}const _y=Bs("string"),kn=Bs("function"),Vh=Bs("number"),Is=e=>e!==null&&typeof e=="object",yy=e=>e===!0||e===!1,Qo=e=>{if(Rs(e)!=="object")return!1;const n=pl(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},vy=Vn("Date"),by=Vn("File"),wy=Vn("Blob"),xy=Vn("FileList"),ky=e=>Is(e)&&kn(e.pipe),Ly=e=>{let n;return e&&(typeof FormData=="function"&&e instanceof FormData||kn(e.append)&&((n=Rs(e))==="formdata"||n==="object"&&kn(e.toString)&&e.toString()==="[object FormData]"))},My=Vn("URLSearchParams"),Cy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function bo(e,n,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let s,u;if(typeof e!="object"&&(e=[e]),Ci(e))for(s=0,u=e.length;s0;)if(u=a[s],n===u.toLowerCase())return u;return null}const $h=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Zh=e=>!mo(e)&&e!==$h;function za(){const{caseless:e}=Zh(this)&&this||{},n={},a=(s,u)=>{const i=e&&Uh(n,u)||u;Qo(n[i])&&Qo(s)?n[i]=za(n[i],s):Qo(s)?n[i]=za({},s):Ci(s)?n[i]=s.slice():n[i]=s};for(let s=0,u=arguments.length;s(bo(n,(u,i)=>{a&&kn(u)?e[i]=Hh(u,a):e[i]=u},{allOwnKeys:s}),e),Sy=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ey=(e,n,a,s)=>{e.prototype=Object.create(n.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),a&&Object.assign(e.prototype,a)},Ty=(e,n,a,s)=>{let u,i,c;const p={};if(n=n||{},e==null)return n;do{for(u=Object.getOwnPropertyNames(e),i=u.length;i-- >0;)c=u[i],(!s||s(c,e,n))&&!p[c]&&(n[c]=e[c],p[c]=!0);e=a!==!1&&pl(e)}while(e&&(!a||a(e,n))&&e!==Object.prototype);return n},Oy=(e,n,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=n.length;const s=e.indexOf(n,a);return s!==-1&&s===a},Ay=e=>{if(!e)return null;if(Ci(e))return e;let n=e.length;if(!Vh(n))return null;const a=new Array(n);for(;n-- >0;)a[n]=e[n];return a},Ry=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&pl(Uint8Array)),By=(e,n)=>{const s=(e&&e[Symbol.iterator]).call(e);let u;for(;(u=s.next())&&!u.done;){const i=u.value;n.call(e,i[0],i[1])}},Iy=(e,n)=>{let a;const s=[];for(;(a=e.exec(n))!==null;)s.push(a);return s},Dy=Vn("HTMLFormElement"),zy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,s,u){return s.toUpperCase()+u}),Qc=(({hasOwnProperty:e})=>(n,a)=>e.call(n,a))(Object.prototype),jy=Vn("RegExp"),qh=(e,n)=>{const a=Object.getOwnPropertyDescriptors(e),s={};bo(a,(u,i)=>{let c;(c=n(u,i,e))!==!1&&(s[i]=c||u)}),Object.defineProperties(e,s)},Ny=e=>{qh(e,(n,a)=>{if(kn(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const s=e[a];if(kn(s)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},Fy=(e,n)=>{const a={},s=u=>{u.forEach(i=>{a[i]=!0})};return Ci(e)?s(e):s(String(e).split(n)),a},Hy=()=>{},Gy=(e,n)=>(e=+e,Number.isFinite(e)?e:n),pa="abcdefghijklmnopqrstuvwxyz",tu="0123456789",Kh={DIGIT:tu,ALPHA:pa,ALPHA_DIGIT:pa+pa.toUpperCase()+tu},Vy=(e=16,n=Kh.ALPHA_DIGIT)=>{let a="";const{length:s}=n;for(;e--;)a+=n[Math.random()*s|0];return a};function Uy(e){return!!(e&&kn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const $y=e=>{const n=new Array(10),a=(s,u)=>{if(Is(s)){if(n.indexOf(s)>=0)return;if(!("toJSON"in s)){n[u]=s;const i=Ci(s)?[]:{};return bo(s,(c,p)=>{const f=a(c,u+1);!mo(f)&&(i[p]=f)}),n[u]=void 0,i}}return s};return a(e,0)},Zy=Vn("AsyncFunction"),qy=e=>e&&(Is(e)||kn(e))&&kn(e.then)&&kn(e.catch),yt={isArray:Ci,isArrayBuffer:Gh,isBuffer:my,isFormData:Ly,isArrayBufferView:gy,isString:_y,isNumber:Vh,isBoolean:yy,isObject:Is,isPlainObject:Qo,isUndefined:mo,isDate:vy,isFile:by,isBlob:wy,isRegExp:jy,isFunction:kn,isStream:ky,isURLSearchParams:My,isTypedArray:Ry,isFileList:xy,forEach:bo,merge:za,extend:Py,trim:Cy,stripBOM:Sy,inherits:Ey,toFlatObject:Ty,kindOf:Rs,kindOfTest:Vn,endsWith:Oy,toArray:Ay,forEachEntry:By,matchAll:Iy,isHTMLForm:Dy,hasOwnProperty:Qc,hasOwnProp:Qc,reduceDescriptors:qh,freezeMethods:Ny,toObjectSet:Fy,toCamelCase:zy,noop:Hy,toFiniteNumber:Gy,findKey:Uh,global:$h,isContextDefined:Zh,ALPHABET:Kh,generateString:Vy,isSpecCompliantForm:Uy,toJSONObject:$y,isAsyncFn:Zy,isThenable:qy};function _e(e,n,a,s,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",n&&(this.code=n),a&&(this.config=a),s&&(this.request=s),u&&(this.response=u)}yt.inherits(_e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:yt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wh=_e.prototype,Jh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Jh[e]={value:e}});Object.defineProperties(_e,Jh);Object.defineProperty(Wh,"isAxiosError",{value:!0});_e.from=(e,n,a,s,u,i)=>{const c=Object.create(Wh);return yt.toFlatObject(e,c,function(f){return f!==Error.prototype},p=>p!=="isAxiosError"),_e.call(c,e.message,n,a,s,u),c.cause=e,c.name=e.name,i&&Object.assign(c,i),c};const Ky=null;function ja(e){return yt.isPlainObject(e)||yt.isArray(e)}function Yh(e){return yt.endsWith(e,"[]")?e.slice(0,-2):e}function eu(e,n,a){return e?e.concat(n).map(function(u,i){return u=Yh(u),!a&&i?"["+u+"]":u}).join(a?".":""):n}function Wy(e){return yt.isArray(e)&&!e.some(ja)}const Jy=yt.toFlatObject(yt,{},null,function(n){return/^is[A-Z]/.test(n)});function Ds(e,n,a){if(!yt.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,a=yt.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,V){return!yt.isUndefined(V[S])});const s=a.metaTokens,u=a.visitor||_,i=a.dots,c=a.indexes,f=(a.Blob||typeof Blob<"u"&&Blob)&&yt.isSpecCompliantForm(n);if(!yt.isFunction(u))throw new TypeError("visitor must be a function");function m(C){if(C===null)return"";if(yt.isDate(C))return C.toISOString();if(!f&&yt.isBlob(C))throw new _e("Blob is not supported. Use a Buffer instead.");return yt.isArrayBuffer(C)||yt.isTypedArray(C)?f&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function _(C,S,V){let P=C;if(C&&!V&&typeof C=="object"){if(yt.endsWith(S,"{}"))S=s?S:S.slice(0,-2),C=JSON.stringify(C);else if(yt.isArray(C)&&Wy(C)||(yt.isFileList(C)||yt.endsWith(S,"[]"))&&(P=yt.toArray(C)))return S=Yh(S),P.forEach(function(j,T){!(yt.isUndefined(j)||j===null)&&n.append(c===!0?eu([S],T,i):c===null?S:S+"[]",m(j))}),!1}return ja(C)?!0:(n.append(eu(V,S,i),m(C)),!1)}const v=[],M=Object.assign(Jy,{defaultVisitor:_,convertValue:m,isVisitable:ja});function A(C,S){if(!yt.isUndefined(C)){if(v.indexOf(C)!==-1)throw Error("Circular reference detected in "+S.join("."));v.push(C),yt.forEach(C,function(P,O){(!(yt.isUndefined(P)||P===null)&&u.call(n,P,yt.isString(O)?O.trim():O,S,M))===!0&&A(P,S?S.concat(O):[O])}),v.pop()}}if(!yt.isObject(e))throw new TypeError("data must be an object");return A(e),n}function nu(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return n[s]})}function dl(e,n){this._pairs=[],e&&Ds(e,this,n)}const Xh=dl.prototype;Xh.append=function(n,a){this._pairs.push([n,a])};Xh.toString=function(n){const a=n?function(s){return n.call(this,s,nu)}:nu;return this._pairs.map(function(u){return a(u[0])+"="+a(u[1])},"").join("&")};function Yy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Qh(e,n,a){if(!n)return e;const s=a&&a.encode||Yy,u=a&&a.serialize;let i;if(u?i=u(n,a):i=yt.isURLSearchParams(n)?n.toString():new dl(n,a).toString(s),i){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Xy{constructor(){this.handlers=[]}use(n,a,s){return this.handlers.push({fulfilled:n,rejected:a,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){yt.forEach(this.handlers,function(s){s!==null&&n(s)})}}const ru=Xy,tp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qy=typeof URLSearchParams<"u"?URLSearchParams:dl,tv=typeof FormData<"u"?FormData:null,ev=typeof Blob<"u"?Blob:null,nv=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),rv=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Tn={isBrowser:!0,classes:{URLSearchParams:Qy,FormData:tv,Blob:ev},isStandardBrowserEnv:nv,isStandardBrowserWebWorkerEnv:rv,protocols:["http","https","file","blob","url","data"]};function iv(e,n){return Ds(e,new Tn.classes.URLSearchParams,Object.assign({visitor:function(a,s,u,i){return Tn.isNode&&yt.isBuffer(a)?(this.append(s,a.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},n))}function ov(e){return yt.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function sv(e){const n={},a=Object.keys(e);let s;const u=a.length;let i;for(s=0;s=a.length;return c=!c&&yt.isArray(u)?u.length:c,f?(yt.hasOwnProp(u,c)?u[c]=[u[c],s]:u[c]=s,!p):((!u[c]||!yt.isObject(u[c]))&&(u[c]=[]),n(a,s,u[c],i)&&yt.isArray(u[c])&&(u[c]=sv(u[c])),!p)}if(yt.isFormData(e)&&yt.isFunction(e.entries)){const a={};return yt.forEachEntry(e,(s,u)=>{n(ov(s),u,a,0)}),a}return null}function av(e,n,a){if(yt.isString(e))try{return(n||JSON.parse)(e),yt.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(a||JSON.stringify)(e)}const fl={transitional:tp,adapter:Tn.isNode?"http":"xhr",transformRequest:[function(n,a){const s=a.getContentType()||"",u=s.indexOf("application/json")>-1,i=yt.isObject(n);if(i&&yt.isHTMLForm(n)&&(n=new FormData(n)),yt.isFormData(n))return u&&u?JSON.stringify(ep(n)):n;if(yt.isArrayBuffer(n)||yt.isBuffer(n)||yt.isStream(n)||yt.isFile(n)||yt.isBlob(n))return n;if(yt.isArrayBufferView(n))return n.buffer;if(yt.isURLSearchParams(n))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let p;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return iv(n,this.formSerializer).toString();if((p=yt.isFileList(n))||s.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Ds(p?{"files[]":n}:n,f&&new f,this.formSerializer)}}return i||u?(a.setContentType("application/json",!1),av(n)):n}],transformResponse:[function(n){const a=this.transitional||fl.transitional,s=a&&a.forcedJSONParsing,u=this.responseType==="json";if(n&&yt.isString(n)&&(s&&!this.responseType||u)){const c=!(a&&a.silentJSONParsing)&&u;try{return JSON.parse(n)}catch(p){if(c)throw p.name==="SyntaxError"?_e.from(p,_e.ERR_BAD_RESPONSE,this,null,this.response):p}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Tn.classes.FormData,Blob:Tn.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};yt.forEach(["delete","get","head","post","put","patch"],e=>{fl.headers[e]={}});const ml=fl,lv=yt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cv=e=>{const n={};let a,s,u;return e&&e.split(` +`).forEach(function(c){u=c.indexOf(":"),a=c.substring(0,u).trim().toLowerCase(),s=c.substring(u+1).trim(),!(!a||n[a]&&lv[a])&&(a==="set-cookie"?n[a]?n[a].push(s):n[a]=[s]:n[a]=n[a]?n[a]+", "+s:s)}),n},iu=Symbol("internals");function Ji(e){return e&&String(e).trim().toLowerCase()}function ts(e){return e===!1||e==null?e:yt.isArray(e)?e.map(ts):String(e)}function uv(e){const n=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=a.exec(e);)n[s[1]]=s[2];return n}const hv=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function da(e,n,a,s,u){if(yt.isFunction(s))return s.call(this,n,a);if(u&&(n=a),!!yt.isString(n)){if(yt.isString(s))return n.indexOf(s)!==-1;if(yt.isRegExp(s))return s.test(n)}}function pv(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,a,s)=>a.toUpperCase()+s)}function dv(e,n){const a=yt.toCamelCase(" "+n);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+a,{value:function(u,i,c){return this[s].call(this,n,u,i,c)},configurable:!0})})}class zs{constructor(n){n&&this.set(n)}set(n,a,s){const u=this;function i(p,f,m){const _=Ji(f);if(!_)throw new Error("header name must be a non-empty string");const v=yt.findKey(u,_);(!v||u[v]===void 0||m===!0||m===void 0&&u[v]!==!1)&&(u[v||f]=ts(p))}const c=(p,f)=>yt.forEach(p,(m,_)=>i(m,_,f));return yt.isPlainObject(n)||n instanceof this.constructor?c(n,a):yt.isString(n)&&(n=n.trim())&&!hv(n)?c(cv(n),a):n!=null&&i(a,n,s),this}get(n,a){if(n=Ji(n),n){const s=yt.findKey(this,n);if(s){const u=this[s];if(!a)return u;if(a===!0)return uv(u);if(yt.isFunction(a))return a.call(this,u,s);if(yt.isRegExp(a))return a.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,a){if(n=Ji(n),n){const s=yt.findKey(this,n);return!!(s&&this[s]!==void 0&&(!a||da(this,this[s],s,a)))}return!1}delete(n,a){const s=this;let u=!1;function i(c){if(c=Ji(c),c){const p=yt.findKey(s,c);p&&(!a||da(s,s[p],p,a))&&(delete s[p],u=!0)}}return yt.isArray(n)?n.forEach(i):i(n),u}clear(n){const a=Object.keys(this);let s=a.length,u=!1;for(;s--;){const i=a[s];(!n||da(this,this[i],i,n,!0))&&(delete this[i],u=!0)}return u}normalize(n){const a=this,s={};return yt.forEach(this,(u,i)=>{const c=yt.findKey(s,i);if(c){a[c]=ts(u),delete a[i];return}const p=n?pv(i):String(i).trim();p!==i&&delete a[i],a[p]=ts(u),s[p]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const a=Object.create(null);return yt.forEach(this,(s,u)=>{s!=null&&s!==!1&&(a[u]=n&&yt.isArray(s)?s.join(", "):s)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,a])=>n+": "+a).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...a){const s=new this(n);return a.forEach(u=>s.set(u)),s}static accessor(n){const s=(this[iu]=this[iu]={accessors:{}}).accessors,u=this.prototype;function i(c){const p=Ji(c);s[p]||(dv(u,c),s[p]=!0)}return yt.isArray(n)?n.forEach(i):i(n),this}}zs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);yt.reduceDescriptors(zs.prototype,({value:e},n)=>{let a=n[0].toUpperCase()+n.slice(1);return{get:()=>e,set(s){this[a]=s}}});yt.freezeMethods(zs);const er=zs;function fa(e,n){const a=this||ml,s=n||a,u=er.from(s.headers);let i=s.data;return yt.forEach(e,function(p){i=p.call(a,i,u.normalize(),n?n.status:void 0)}),u.normalize(),i}function np(e){return!!(e&&e.__CANCEL__)}function wo(e,n,a){_e.call(this,e??"canceled",_e.ERR_CANCELED,n,a),this.name="CanceledError"}yt.inherits(wo,_e,{__CANCEL__:!0});function fv(e,n,a){const s=a.config.validateStatus;!a.status||!s||s(a.status)?e(a):n(new _e("Request failed with status code "+a.status,[_e.ERR_BAD_REQUEST,_e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}const mv=Tn.isStandardBrowserEnv?function(){return{write:function(a,s,u,i,c,p){const f=[];f.push(a+"="+encodeURIComponent(s)),yt.isNumber(u)&&f.push("expires="+new Date(u).toGMTString()),yt.isString(i)&&f.push("path="+i),yt.isString(c)&&f.push("domain="+c),p===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(a){const s=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function gv(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _v(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}function rp(e,n){return e&&!gv(n)?_v(e,n):n}const yv=Tn.isStandardBrowserEnv?function(){const n=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let s;function u(i){let c=i;return n&&(a.setAttribute("href",c),c=a.href),a.setAttribute("href",c),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return s=u(window.location.href),function(c){const p=yt.isString(c)?u(c):c;return p.protocol===s.protocol&&p.host===s.host}}():function(){return function(){return!0}}();function vv(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}function bv(e,n){e=e||10;const a=new Array(e),s=new Array(e);let u=0,i=0,c;return n=n!==void 0?n:1e3,function(f){const m=Date.now(),_=s[i];c||(c=m),a[u]=f,s[u]=m;let v=i,M=0;for(;v!==u;)M+=a[v++],v=v%e;if(u=(u+1)%e,u===i&&(i=(i+1)%e),m-c{const i=u.loaded,c=u.lengthComputable?u.total:void 0,p=i-a,f=s(p),m=i<=c;a=i;const _={loaded:i,total:c,progress:c?i/c:void 0,bytes:p,rate:f||void 0,estimated:f&&c&&m?(c-i)/f:void 0,event:u};_[n?"download":"upload"]=!0,e(_)}}const wv=typeof XMLHttpRequest<"u",xv=wv&&function(e){return new Promise(function(a,s){let u=e.data;const i=er.from(e.headers).normalize(),c=e.responseType;let p;function f(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}yt.isFormData(u)&&(Tn.isStandardBrowserEnv||Tn.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let m=new XMLHttpRequest;if(e.auth){const A=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(A+":"+C))}const _=rp(e.baseURL,e.url);m.open(e.method.toUpperCase(),Qh(_,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function v(){if(!m)return;const A=er.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),S={data:!c||c==="text"||c==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:A,config:e,request:m};fv(function(P){a(P),f()},function(P){s(P),f()},S),m=null}if("onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(v)},m.onabort=function(){m&&(s(new _e("Request aborted",_e.ECONNABORTED,e,m)),m=null)},m.onerror=function(){s(new _e("Network Error",_e.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let C=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const S=e.transitional||tp;e.timeoutErrorMessage&&(C=e.timeoutErrorMessage),s(new _e(C,S.clarifyTimeoutError?_e.ETIMEDOUT:_e.ECONNABORTED,e,m)),m=null},Tn.isStandardBrowserEnv){const A=(e.withCredentials||yv(_))&&e.xsrfCookieName&&mv.read(e.xsrfCookieName);A&&i.set(e.xsrfHeaderName,A)}u===void 0&&i.setContentType(null),"setRequestHeader"in m&&yt.forEach(i.toJSON(),function(C,S){m.setRequestHeader(S,C)}),yt.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),c&&c!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",ou(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",ou(e.onUploadProgress)),(e.cancelToken||e.signal)&&(p=A=>{m&&(s(!A||A.type?new wo(null,e,m):A),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p)));const M=vv(_);if(M&&Tn.protocols.indexOf(M)===-1){s(new _e("Unsupported protocol "+M+":",_e.ERR_BAD_REQUEST,e));return}m.send(u||null)})},es={http:Ky,xhr:xv};yt.forEach(es,(e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch{}Object.defineProperty(e,"adapterName",{value:n})}});const ip={getAdapter:e=>{e=yt.isArray(e)?e:[e];const{length:n}=e;let a,s;for(let u=0;ue instanceof er?e.toJSON():e;function wi(e,n){n=n||{};const a={};function s(m,_,v){return yt.isPlainObject(m)&&yt.isPlainObject(_)?yt.merge.call({caseless:v},m,_):yt.isPlainObject(_)?yt.merge({},_):yt.isArray(_)?_.slice():_}function u(m,_,v){if(yt.isUndefined(_)){if(!yt.isUndefined(m))return s(void 0,m,v)}else return s(m,_,v)}function i(m,_){if(!yt.isUndefined(_))return s(void 0,_)}function c(m,_){if(yt.isUndefined(_)){if(!yt.isUndefined(m))return s(void 0,m)}else return s(void 0,_)}function p(m,_,v){if(v in n)return s(m,_);if(v in e)return s(void 0,m)}const f={url:i,method:i,data:i,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:p,headers:(m,_)=>u(au(m),au(_),!0)};return yt.forEach(Object.keys(Object.assign({},e,n)),function(_){const v=f[_]||u,M=v(e[_],n[_],_);yt.isUndefined(M)&&v!==p||(a[_]=M)}),a}const op="1.5.0",gl={};["object","boolean","number","function","string","symbol"].forEach((e,n)=>{gl[e]=function(s){return typeof s===e||"a"+(n<1?"n ":" ")+e}});const lu={};gl.transitional=function(n,a,s){function u(i,c){return"[Axios v"+op+"] Transitional option '"+i+"'"+c+(s?". "+s:"")}return(i,c,p)=>{if(n===!1)throw new _e(u(c," has been removed"+(a?" in "+a:"")),_e.ERR_DEPRECATED);return a&&!lu[c]&&(lu[c]=!0,console.warn(u(c," has been deprecated since v"+a+" and will be removed in the near future"))),n?n(i,c,p):!0}};function kv(e,n,a){if(typeof e!="object")throw new _e("options must be an object",_e.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let u=s.length;for(;u-- >0;){const i=s[u],c=n[i];if(c){const p=e[i],f=p===void 0||c(p,i,e);if(f!==!0)throw new _e("option "+i+" must be "+f,_e.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new _e("Unknown option "+i,_e.ERR_BAD_OPTION)}}const Na={assertOptions:kv,validators:gl},_r=Na.validators;class ds{constructor(n){this.defaults=n,this.interceptors={request:new ru,response:new ru}}request(n,a){typeof n=="string"?(a=a||{},a.url=n):a=n||{},a=wi(this.defaults,a);const{transitional:s,paramsSerializer:u,headers:i}=a;s!==void 0&&Na.assertOptions(s,{silentJSONParsing:_r.transitional(_r.boolean),forcedJSONParsing:_r.transitional(_r.boolean),clarifyTimeoutError:_r.transitional(_r.boolean)},!1),u!=null&&(yt.isFunction(u)?a.paramsSerializer={serialize:u}:Na.assertOptions(u,{encode:_r.function,serialize:_r.function},!0)),a.method=(a.method||this.defaults.method||"get").toLowerCase();let c=i&&yt.merge(i.common,i[a.method]);i&&yt.forEach(["delete","get","head","post","put","patch","common"],C=>{delete i[C]}),a.headers=er.concat(c,i);const p=[];let f=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(a)===!1||(f=f&&S.synchronous,p.unshift(S.fulfilled,S.rejected))});const m=[];this.interceptors.response.forEach(function(S){m.push(S.fulfilled,S.rejected)});let _,v=0,M;if(!f){const C=[su.bind(this),void 0];for(C.unshift.apply(C,p),C.push.apply(C,m),M=C.length,_=Promise.resolve(a);v{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](u);s._listeners=null}),this.promise.then=u=>{let i;const c=new Promise(p=>{s.subscribe(p),i=p}).then(u);return c.cancel=function(){s.unsubscribe(i)},c},n(function(i,c,p){s.reason||(s.reason=new wo(i,c,p),a(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const a=this._listeners.indexOf(n);a!==-1&&this._listeners.splice(a,1)}static source(){let n;return{token:new _l(function(u){n=u}),cancel:n}}}const Lv=_l;function Mv(e){return function(a){return e.apply(null,a)}}function Cv(e){return yt.isObject(e)&&e.isAxiosError===!0}const Fa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fa).forEach(([e,n])=>{Fa[n]=e});const Pv=Fa;function sp(e){const n=new ns(e),a=Hh(ns.prototype.request,n);return yt.extend(a,ns.prototype,n,{allOwnKeys:!0}),yt.extend(a,n,null,{allOwnKeys:!0}),a.create=function(u){return sp(wi(e,u))},a}const Ne=sp(ml);Ne.Axios=ns;Ne.CanceledError=wo;Ne.CancelToken=Lv;Ne.isCancel=np;Ne.VERSION=op;Ne.toFormData=Ds;Ne.AxiosError=_e;Ne.Cancel=Ne.CanceledError;Ne.all=function(n){return Promise.all(n)};Ne.spread=Mv;Ne.isAxiosError=Cv;Ne.mergeConfig=wi;Ne.AxiosHeaders=er;Ne.formToJSON=e=>ep(yt.isHTMLForm(e)?new FormData(e):e);Ne.getAdapter=ip.getAdapter;Ne.HttpStatusCode=Pv;Ne.default=Ne;const Sv=Ne,{url:Ev,project_token:Tv}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},We=Sv.create({baseURL:Ev,params:{project_token:Tv}});class ln{static getTaxonNameCitations(n,a){return We.get(`/taxon_names/${n}/inventory/catalog`,a)}static getOtu(n){return We.get(`/otus/${n}`,{params:{extend:["parents"]}})}static getOtus(n){return We.get("/otus.json",{params:n})}static getTaxon(n,a){return We.get(`/taxon_names/${n}`,a)}static summary(n,a){return We.get(`/taxon_names/${n}/inventory/summary`,a)}static getTaxonTypeDesignation(n){return We.get(`/taxon_names/${n}`,{params:{extend:["type_taxon_name_relationship"]}})}static getOtuImages(n,a){return We.get(`/otus/${n}/inventory/images.json`,a)}static getTaxonomy(n,a){return We.get(`/otus/${n}/inventory/taxonomy.json`,a)}static getOtuTypeMaterial(n){return We.get(`/otus/${n}/inventory/type_material.json`)}static getOtuDistribution(n,a={}){return We.get(`/otus/${n}/inventory/distribution.json`,a)}static getOtuGeoJSONDistribution(n){return We.get(`/otus/${n}/inventory/distribution.geojson`)}static getCachedMap(n,a){return We.get(`/cached_maps/${n}`,a)}static getOtuContent(n,a){return We.get(`/otus/${n}/inventory/content`,a)}static getCachedMap(n){return We.get(`/cached_maps/${n}`)}}const js=As("otuPageRequest",{state:()=>({requests:{}}),getters:{getRequest:e=>n=>e.requests[n],sitemap:e=>{const n=Object.keys(e.requests).sort();return Object.fromEntries(n.map(a=>[a,e.requests[a].url]))}},actions:{setRequest(e,{data:n,request:a}){var u;const s=((u=a.res)==null?void 0:u.responseUrl)||a.responseURL;this.requests[e]={url:s,data:n}}}}),Ov="FamilyGroup",Av="GenusGroup",ap="SpeciesGroup",go={CanceledError:"CanceledError"},cu=["neotype","holotype","neolectotype","lectotype","syntype","paralectotype","paratype","paratypes"];function rr(e,n){const a=js(),s=n();return s.then(u=>{a.setRequest(e,u)}).catch(u=>{u.name!==go.CanceledError&&a.setRequest(e,u.response)}),s}const Pi=As("otuStore",{state:()=>({otu:null,taxon:null,images:null,catalog:{sources:[],stats:{},timeline:[],isLoading:!1},taxonomy:{commonNames:[],synonyms:[]}}),actions:{async loadTaxon(e,{signal:n}){const a=await rr("summary",()=>ln.summary(e,{signal:n}));this.taxon=a.data},async loadOtu(e,{signal:n}){const a=await ln.getOtu(e,{signal:n});this.otu=a.data},async loadTaxonomy(e,{signal:n}){const{data:a}=await ln.getTaxonomy(e,{params:{max_descendants_depth:0,extend:["common_names"]},signal:n});this.taxonomy={commonNames:a.common_names,synonyms:a.nomenclatural_synonyms}},async loadCatalog(e,{signal:n}){this.catalog.isLoading=!0;const a=await rr("taxonomy",()=>ln.getTaxonNameCitations(e,{signal:n}));this.catalog={...a.data,sources:a.data.sources.map(({cached:s,url:u})=>s.replace(u,`${u}`)),isLoading:!1}},async loadInit({otuId:e,controller:n}){js().$reset();try{await this.loadOtu(e,n),await this.loadTaxon(this.otu.taxon_name_id,n),await this.loadCatalog(this.otu.taxon_name_id,n),await this.loadTaxonomy(e,n)}catch(s){return Promise.reject(s)}}}});function Rv(e,n){return e||(e={}),e._resolver=n,e}function Bv(e){return Rv(e,"taxon")}function Iv(e){return cl({script:[{type:"application/ld+json",key:"schema-org-graph",nodes:e}]})}const Dv=et("h3",{class:"font-medium"},"Sitemap",-1),zv={class:"p-4 pt-0"},jv=et("p",{class:"text-sm mb-2"}," The following links provide the information present on this page in JSON format. ",-1),Nv=["href"],Fv={__name:"SiteMap",setup(e){const n=Zt(!1),a=js();return(s,u)=>{const i=dt("IconJson"),c=dt("VButton"),p=dt("VTableHeaderCell"),f=dt("VTableHeaderRow"),m=dt("VTableHeader"),_=dt("VTableBodyCell"),v=dt("VTableBodyRow"),M=dt("VTableBody"),A=dt("VTable"),C=dt("VModal");return U(),nt("div",null,[rt(c,{primary:"",class:"text-sm md:flex items-center gap-1 hidden",title:"Links used to obtain the information present on this page in JSON format.",onClick:u[0]||(u[0]=S=>n.value=!0)},{default:ft(()=>[rt(i,{class:"w-4 h-4"}),ne(" Sitemap ")]),_:1}),n.value?(U(),At(C,{key:0,onClose:u[1]||(u[1]=S=>n.value=!1)},{header:ft(()=>[Dv]),default:ft(()=>[et("div",zv,[jv,rt(A,null,{default:ft(()=>[rt(m,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(p,null,{default:ft(()=>[ne(" Request Key ")]),_:1}),rt(p,null,{default:ft(()=>[ne(" URL ")]),_:1})]),_:1})]),_:1}),rt(M,null,{default:ft(()=>[(U(!0),nt($t,null,ye(Kt(a).sitemap,(S,V)=>(U(),At(v,{key:V},{default:ft(()=>[rt(_,{class:"capitalize"},{default:ft(()=>[ne(Qt(V.replaceAll(":"," ")),1)]),_:2},1024),rt(_,null,{default:ft(()=>[et("a",{href:S},Qt(S),9,Nv)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])]),_:1})):Nt("",!0)])}}},Hv={class:"relative"},Gv=et("svg",{class:"h-5 w-5 text-primary-500 print:hidden",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[et("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Vv={key:1,class:"absolute right-0 py-2 bg-white dark:bg-gray-900 rounded-md shadow-xl z-20"},Uv={__name:"BreadcrumbDropdown",props:{list:{type:Array,required:!0}},setup(e){const n=Zt(!1);return(a,s)=>{const u=dt("router-link");return U(),nt("div",Hv,[et("div",null,[et("button",{class:"inline-flex items-center text-sm hover:text-gray-900 text-primary-500 dark:hover:text-gray-500",onClick:s[0]||(s[0]=i=>n.value=!n.value)},[Se(a.$slots,"default"),Gv]),n.value?(U(),nt("div",{key:0,class:"fixed inset-0 h-full w-full z-10",onClick:s[1]||(s[1]=i=>n.value=!1)})):Nt("",!0),n.value?(U(),nt("div",Vv,[(U(!0),nt($t,null,ye(e.list,i=>(U(),At(u,{key:i.id,class:"block px-4 py-2 text-sm capitalize hover:bg-secondary-color hover:bg-opacity-5",to:{name:"otus-id",params:{id:i.id}}},{default:ft(()=>[ne(Qt(i.name||a.key),1)]),_:2},1032,["to"]))),128))])):Nt("",!0)])])}}},$v={class:"inline-flex items-center flex-wrap"},Zv={class:"inline-flex items-center ml-0 text-sm"},qv=["innerHTML"],Kv={__name:"Breadcrumb",props:{list:{type:Object,default:()=>({})},current:{type:Object,required:!0}},setup(e){return(n,a)=>{const s=dt("IconArrowRight"),u=dt("router-link");return U(),nt("ul",$v,[(U(!0),nt($t,null,ye(e.list,(i,c,p)=>(U(),nt("li",{key:i.id,class:"inline-flex items-center"},[p?(U(),At(s,{key:0,class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"})):Nt("",!0),i.length===1?(U(),At(u,{key:1,class:"inline-flex items-center text-sm text-accent-100 hover:text-gray-900 dark:hover:text-gray-500 text-secondary-color",to:{name:"otus-id",params:{id:i[0].id}}},{default:ft(()=>[ne(Qt(c),1)]),_:2},1032,["to"])):(U(),At(Uv,{key:2,list:i.map(f=>({...f,name:f.name||c}))},{default:ft(()=>[ne(Qt(c),1)]),_:2},1032,["list"]))]))),128)),et("li",Zv,[rt(s,{class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"}),et("span",{innerHTML:e.current.full_name_tag},null,8,qv)])])}}},Wv={__name:"CommonNames",setup(e){const n=Pi(),a=se(()=>n.taxonomy.commonNames.map(s=>s.name).join("; "));return(s,u)=>(U(),nt("span",null,Qt(a.value),1))}},Jv={class:"text-1xl capitalize"},Yv={class:"text-xl dark:text-gray-100"},Xv=["title","innerHTML"],Qv={key:0,class:"ml-1 text-red-600",title:"Invalid"},tb={class:"text-1xl"},eb={__name:"TaxaInfo",setup(e){const n=Pi();return(a,s)=>(U(),nt("div",null,[et("h2",Jv,Qt(Kt(n).taxon.rank||"Combination"),1),et("h1",Yv,[et("span",null,[et("span",{title:Kt(n).taxon.short_status,innerHTML:Kt(n).taxon.full_name_tag},null,8,Xv),Kt(n).taxon.is_valid?Nt("",!0):(U(),nt("span",Qv," ✕ "))])]),et("h2",tb,[rt(Wv)])]))}},nb={__name:"DWCDownload",props:{otu:{type:Object,required:!0}},setup(e){const n=e,{url:a,project_token:s}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};function u(){window.open(`${a}/otus/${n.otu.id}/inventory/dwc?project_token=${s}`,"_self")}return(i,c)=>{const p=dt("IconDownload"),f=dt("VButton");return U(),At(f,{primary:"",class:"text-sm flex items-center",title:"Download DwC Occurrences",onClick:c[0]||(c[0]=()=>{u()})},{default:ft(()=>[rt(p,{class:"w-4 h-4 mr-1"}),ne(" DwC ")]),_:1})}}},rb={class:"bg-base-foreground border-b border-base-muted pl-4 pr-4"},ib={class:"container mx-auto pt-6 pb-6"},ob={class:"flex flex-col-reverse md:flex-row justify-between items-start"},sb={class:"mt-8 flex justify-between items-end"},ab={class:"flex flex-row gap-2"},lb={class:"pt-3 pb-4"},cb={class:"container mx-auto box-border"},ub={__name:"Index",setup(e){const n=Dh(),a=Ih(),s=Zt(n.params),u=[],i=Pi();let c=new AbortController;a.afterEach(C=>{s.value=C.params});const p=se(()=>i.otu),f=se(()=>i.taxon),m=se(()=>{var C,S;return((C=p.value)==null?void 0:C.id)&&((S=f.value)==null?void 0:S.id)});nl(async()=>{await _()}),Ge(()=>n.fullPath,async()=>{c.abort(),c=new AbortController,_()}),en(async()=>{var C,S;((C=p.value)==null?void 0:C.id)!==Number(n.params.id)||!((S=f.value)!=null&&S.id)?await _():M()}),or(()=>{i.$reset()});async function _(){i.$reset();try{await i.loadInit({otuId:n.params.id,controller:c}),M()}catch(C){C.name!==go.CanceledError&&v(C)}}function v(C){var S;switch((S=C==null?void 0:C.response)==null?void 0:S.status){case 404:a.replace({name:"httpError404"});break;case 500:a.replace({name:"httpError500"});break}}function M(){cl({title:`Plecoptera Species File - ${f.value.full_name}`}),Iv([Bv({id:n.fullPath,name:f.value.full_name,scientificName:{name:f.value.full_name,author:f.value.author,taxonRank:f.value.rank},parentTaxon:{name:f.value.parent.full_name,taxonRank:f.value.parent.rank},commonNames:i.taxonomy.commonNames,alternateName:i.taxonomy.synonyms})])}function A({id:C,otu_valid_id:S}){a.push({name:"otus-id-overview",params:{id:S||C}})}return(C,S)=>{const V=dt("VSkeleton"),P=dt("Autocomplete"),O=dt("ClientOnly"),j=dt("TabItem"),T=dt("TabMenu"),z=dt("router-view");return U(),nt("main",null,[et("div",rb,[et("div",ib,[et("div",ob,[rt(V,{class:"w-full md:w-3/4"},{default:ft(()=>{var W;return[m.value?(U(),At(Kv,{key:0,class:"w-full md:w-3/4",list:((W=p.value)==null?void 0:W.parents)||{},current:f.value},null,8,["list","current"])):Nt("",!0)]}),_:1}),rt(P,{class:"print:hidden min-w-full mb-2 md:min-w-fit md:ml-2 md:mb-0 md:w-96",url:"/otus/autocomplete","query-param":"term",label:"label_html",placeholder:"Search name...",params:{having_taxon_name_only:!0},onSelect:A})]),et("div",sb,[rt(V,{lines:2,class:"w-96"},{default:ft(()=>[m.value?(U(),At(eb,{key:0})):Nt("",!0)]),_:1}),et("div",ab,[rt(O,null,{default:ft(()=>[rt(Fv)]),_:1}),m.value?(U(),At(nb,{key:0,otu:p.value},null,8,["otu"])):Nt("",!0)])]),u.length?(U(),At(T,{key:0,class:"m-[-1px] print:hidden"},{default:ft(()=>[(U(),nt($t,null,ye(u,({name:W,label:ot})=>rt(j,{key:W,to:{name:W}},{default:ft(()=>[ne(Qt(ot),1)]),_:2},1032,["to"])),64))]),_:1})):Nt("",!0)])]),et("div",lb,[et("div",cb,[m.value?(U(),At(z,{key:Kt(n).fullPath,"taxon-id":f.value.id,taxon:f.value,"taxon-rank":f.value.rank_string,"otu-id":p.value.id,otu:p.value},null,8,["taxon-id","taxon","taxon-rank","otu-id","otu"])):Nt("",!0)])])])}}},hb=["innerHTML"],pb={__name:"PanelContentTopic",props:{title:{type:String,required:!0},textList:{type:Array,required:!0}},setup(e){return(n,a)=>{const s=dt("VCardHeader"),u=dt("VCardContent");return U(),nt($t,null,[rt(s,{class:"border-t border-base-muted first:border-t-0"},{default:ft(()=>[ne(Qt(e.title),1)]),_:1}),rt(u,null,{default:ft(()=>[(U(!0),nt($t,null,ye(e.textList,(i,c)=>(U(),nt("ul",{key:c,class:"pt-1 text-sm"},[et("li",{innerHTML:i},null,8,hb)]))),128))]),_:1})],64)}}},db={__name:"PanelContent",props:{otuId:{type:Number,required:!0}},setup(e){const n=e,a=Zt([]),s=new AbortController,u=se(()=>a.value.reduce((i,c)=>(i[c.name]?i[c.name].push(c.text):i[c.name]=[c.text],i),{}));return ih(()=>{rr("panel:content",()=>ln.getOtuContent(n.otuId,{params:{extend:["depiction"]},signal:s.signal})).then(({data:i})=>{a.value=i}).catch(i=>{})}),or(()=>{s.abort()}),(i,c)=>{const p=dt("VCard");return a.value.length?(U(),At(p,{key:0},{default:ft(()=>[(U(!0),nt($t,null,ye(u.value,(f,m)=>(U(),At(pb,{key:m,title:m,"text-list":f},null,8,["title","text-list"]))),128))]),_:1})):Nt("",!0)}}},fb={id:"panel:content",component:db},mb={class:"synonyms"},gb=et("span",{class:"text-orange-500 mr-1"},"=",-1),_b=["innerHTML"],yb={__name:"DescendantsSynonymList",props:{list:{type:Array,required:!0}},setup(e){const n=e;return(a,s)=>(U(),nt("ul",mb,[(U(!0),nt($t,null,ye(n.list,u=>(U(),nt("li",{key:u},[gb,et("span",{innerHTML:u},null,8,_b)]))),128))]))}};const vb={key:0,class:"tree"},bb={__name:"DescendantsTree",props:{taxonomy:{type:Object,required:!0},level:{type:Number,default:1}},setup(e){const n=e,a=Zt(!!n.taxonomy.descendants.length),s=Zt([...n.taxonomy.descendants]);Ge(a,i=>{i&&u()});const u=()=>{s.value.length||ln.getTaxonomy(n.taxonomy.otu_id,{params:{max_descendants_depth:1}}).then(({data:i})=>{s.value=i.descendants})};return(i,c)=>{const p=dt("button-expand"),f=dt("router-link"),m=dt("AnimationOpacity");return Object.keys(e.taxonomy).length?(U(),nt("li",{key:e.taxonomy.otu_id},[e.taxonomy.leaf_node?Nt("",!0):(U(),At(p,{key:0,modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=_=>a.value=_),class:"absolute -left-2.5"},null,8,["modelValue"])),rt(f,{class:"text-primary-500",to:{name:"otus-id",params:{id:e.taxonomy.otu_id}},innerHTML:e.taxonomy.name},null,8,["to","innerHTML"]),e.taxonomy.nomenclatural_synonyms.length?(U(),At(yb,{key:1,class:"pb-4",list:e.taxonomy.nomenclatural_synonyms},null,8,["list"])):Nt("",!0),rt(m,null,{default:ft(()=>[s.value.length?(U(),nt("ul",vb,[(U(!0),nt($t,null,ye(s.value,_=>(U(),At(m,{key:_.otu_id},{default:ft(()=>[a.value?(U(),At(lp,{key:0,taxonomy:_},null,8,["taxonomy"])):Nt("",!0)]),_:2},1024))),128))])):Nt("",!0)]),_:1})])):Nt("",!0)}}},lp=re(bb,[["__scopeId","data-v-b79ba271"]]),wb=et("h3",null,"JSON Data",-1),xb={key:0,class:"p-5 font-normal"},kb={class:"pb-2 text-sm"},Lb=["href"],Mb={class:"relative"},Cb=["innerHTML"],Si={__name:"PanelDropdown",props:{panelKey:{type:String,required:!0},menuOptions:{type:Array,default:()=>[]}},setup(e){const n=e,a=se(()=>s.getRequest(n.panelKey)),s=js(),u=Zt(!1),i=se(()=>[...n.menuOptions,{label:"JSON Data",action:()=>u.value=!0}]);return(c,p)=>{const f=dt("IconHamburger"),m=dt("Dropdown"),_=dt("VClipboard"),v=dt("VModal");return U(),nt($t,null,[rt(m,{items:i.value},{button:ft(()=>[rt(f,{class:"text-base-soft h-4"})]),_:1},8,["items"]),u.value?(U(),At(v,{key:0,onClose:p[0]||(p[0]=M=>u.value=!1)},{header:ft(()=>[wb]),default:ft(()=>[a.value?(U(),nt("div",xb,[et("h3",kb,[ne(" URL: "),et("a",{href:a.value.url},Qt(a.value.url),9,Lb)]),et("div",Mb,[et("p",{class:"bg-base-background p-2 text-sm font-normal whitespace-pre-wrap",innerHTML:JSON.stringify(a.value.data,null,4)},null,8,Cb),rt(_,{class:"absolute right-2 top-2 opacity-75",text:JSON.stringify(a.value.data,null,2)},null,8,["text"])])])):Nt("",!0)]),_:1})):Nt("",!0)],64)}}};const Pb=e=>(Ku("data-v-91511d41"),e=e(),Wu(),e),Sb=Pb(()=>et("h2",{class:"text-md"},"Descendants and synonyms",-1)),Eb={class:"tree ml-2"},Tb={__name:"PanelDescendants",props:{otuId:{type:[String,Number],required:!0}},setup(e){const n=e,a=Zt(null),s=Zt(!1);return Ge(()=>n.otuId,async()=>{n.otuId&&(s.value=!0,rr("panel:descendants",()=>ln.getTaxonomy(n.otuId,{params:{max_descendants_depth:1}})).then(({data:u})=>{a.value=u}).finally(()=>s.value=!1))},{immediate:!0}),(u,i)=>{const c=dt("VSpinner"),p=dt("ClientOnly"),f=dt("VCardHeader"),m=dt("AnimationOpacity"),_=dt("VCardContent"),v=dt("VCard");return U(),At(v,null,{default:ft(()=>[rt(p,null,{default:ft(()=>[s.value?(U(),At(c,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0)]),_:1}),rt(f,{class:"flex justify-between"},{default:ft(()=>[Sb,rt(Si,{"panel-key":"panel:descendants"})]),_:1}),rt(_,{class:"text-sm"},{default:ft(()=>[et("ul",Eb,[rt(m,null,{default:ft(()=>[a.value&&(a.value.nomenclatural_synonyms.length||a.value.descendants.length)?(U(),At(lp,{key:0,taxonomy:a.value},null,8,["taxonomy"])):Nt("",!0)]),_:1})])]),_:1})]),_:1})}}},Ob=re(Tb,[["__scopeId","data-v-91511d41"]]),Ab={id:"panel:descendants",component:Ob},Rb=As("imageStore",{state:()=>({images:null,controller:null}),actions:{resetRequest(){var e;(e=this.controller)==null||e.abort()},async loadImages(e){const n={extend:["depictions","attribution","source","citations"],otu_scope:["all"]};this.controller=new AbortController;try{const a=await rr("panel:images",()=>ln.getOtuImages(e,{params:n,signal:this.controller.signal}));this.images=a.data,this.controller=null}catch(a){a.name!==go.CanceledError&&(this.controller=null)}}}}),Bb={__name:"PanelGallery",props:{otuId:{type:[String,Number],required:!0}},setup(e){const n=e,a=Rb(),s=se(()=>a.images||[]);return nl(async()=>{await a.loadImages(n.otuId)}),en(()=>{a.images||a.loadImages(n.otuId)}),or(()=>{a.resetRequest(),a.$reset()}),(u,i)=>{const c=dt("GalleryImage"),p=dt("VCardContent"),f=dt("VCard");return s.value.length?(U(),At(f,{key:0},{default:ft(()=>[rt(p,null,{default:ft(()=>[rt(c,{images:s.value},null,8,["images"])]),_:1})]),_:1})):Nt("",!0)}}},Ib={id:"panel:gallery",component:Bb,available:[ap]};function Db(e,n){return n.split("::").at(2)===e}function zb(e,n){return{type:"Feature",geometry:e,properties:{base:[{type:n}]}}}function jb(e){const n=[],a=[];return e.features.forEach(s=>{const u=s.properties.shape.id,i=s.properties.shape.type;a.includes(s.properties.base.type)||a.push(s.properties.base.type);const c=n.findIndex(p=>p.properties.shape.id===u&&p.properties.shape.type===i);if(c>-1){const p=n[c];p.properties.base.push(s.properties.base),p.properties.target.push(s.properties.target)}else{const p=structuredClone(s);p.properties.base=[p.properties.base],p.properties.target=[p.properties.target],n.push(p)}}),a.sort(),{shapeTypes:a,features:n}}const Nb=As("distributionStore",{state:()=>({distribution:{geojson:null,errorMessage:null,currentShapeTypes:[],cachedMap:null},controller:null}),actions:{resetRequest(){var e;(e=this.controller)==null||e.abort()},loadCachedMap(e){ln.getCachedMap(e,{signal:this.controller.signal}).then(n=>{this.distribution.cachedMap=n.data})},async getAggregateShape(e){rr("panel:map",()=>ln.getOtuDistribution(e,{signal:this.controller.signal})).then(({data:n})=>{const a=JSON.parse(n.cached_map.geo_json);this.distribution.currentShapeTypes=["Aggregate"],this.distribution.geojson={features:[zb(a,"Aggregate")]},this.loadCachedMap(n.cached_map.id)}).catch(n=>{n.name!=go.CanceledError&&(this.distribution.errorMessage=n.response.data.error,this.distribution.currentShapeTypes=[],this.distribution.geojson=[])})},async loadDistribution({otuId:e,rankString:n}){const a=n&&Db("SpeciesGroup",n);this.controller=new AbortController,a?rr("panel:map",()=>ln.getOtuGeoJSONDistribution(e,{signal:this.controller.signal})).then(({data:s})=>{if(s.request_too_large)this.distribution.geojson=null,this.distribution.errorMessage=s.message;else{const{features:u,shapeTypes:i}=jb(s);this.distribution.currentShapeTypes=i,this.distribution.geojson={features:u}}}).catch(s=>{s.name!==go.CanceledError&&this.getAggregateShape(e)}):this.getAggregateShape(e)}}});function cp(e){return{html:`
${e.getChildCount()}
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive bg-map-collection-object bg-opacity-60 marker-cluster text-white",iconSize:[40,40]}}function up(e){return{html:` +
+
+
+
+
+
+
+ + ${e.getChildCount()} + +
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive",iconSize:[40,40]}}function Fb(e){return{html:`
${e.getChildCount()}
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive marker-cluster bg-map-type-material bg-opacity-60 text-white",iconSize:[40,40]}}const Hb=Object.freeze(Object.defineProperty({__proto__:null,CollectionObject:cp,Mixed:up,TypeMaterial:Fb},Symbol.toStringTag,{value:"Module"}));function Gb({L:e,cluster:n}){const a=n.getAllChildMarkers().map(c=>c.feature.properties.base.map(p=>p.type)).flat(),s=[...new Set(a)],u=s.pop(),i=s.length?up:Hb[u]||cp;return e.divIcon(i(n))}const Vb=et("h3",{class:"font-medium"},"Cached map",-1),Ub={class:"p-4 pt-0"},$b={key:0,class:"text-success flex text-sm items-center"},Zb=et("span",{class:"ml-1"}," Map is synchronized with the latest changes * ",-1),qb={key:1,class:"text-warning flex text-sm items-center"},Kb=et("span",{class:"ml-1"}," Map is not synchronized with the latest changes * ",-1),Wb=et("p",{class:"italic text-xs pt-4"}," * Aggregate maps are generated from georeference and asserted distribution data. Map computation takes time, and as such they are re-calculated periodically rather than when individual georeferences and asserted distributions are created, destroyed, or updated. When a warning notice is present then the map is not syncronized with the latest changes to the underlying data. ",-1),Jb={__name:"CachedMap",props:{cachedMap:{type:Object,required:!0}},setup(e){const n=Zt(!1);return(a,s)=>{const u=dt("IconCheck"),i=dt("IconWarning"),c=dt("VButton"),p=dt("VTableHeaderCell"),f=dt("VTableHeaderRow"),m=dt("VTableHeader"),_=dt("VTableBodyCell"),v=dt("VTableBodyRow"),M=dt("VTableBody"),A=dt("VTable"),C=dt("VModal");return U(),nt($t,null,[rt(c,{class:"left-2 bottom-2 !px-2 py-2 rounded-full absolute z-[1500]",primary:"",title:"Cached map",onClick:s[0]||(s[0]=S=>n.value=!0)},{default:ft(()=>[e.cachedMap.synced?(U(),At(u,{key:0,class:"w-4 h-4"})):(U(),At(i,{key:1,class:"w-4 h-4"}))]),_:1}),n.value?(U(),At(C,{key:0,onClose:s[1]||(s[1]=()=>n.value=!1)},{header:ft(()=>[Vb]),default:ft(()=>[et("div",Ub,[rt(A,null,{default:ft(()=>[rt(m,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(p,null,{default:ft(()=>[ne("Data")]),_:1}),rt(p)]),_:1})]),_:1}),rt(M,null,{default:ft(()=>[rt(v,null,{default:ft(()=>[rt(_,null,{default:ft(()=>[ne(" Is synced ")]),_:1}),rt(_,null,{default:ft(()=>[e.cachedMap.synced?(U(),nt("p",$b,[rt(u,{class:"w-4 h-4"}),Zb])):(U(),nt("p",qb,[rt(i,{class:"w-4 h-4"}),Kb]))]),_:1})]),_:1}),rt(v,null,{default:ft(()=>[rt(_,null,{default:ft(()=>[ne(" Last update ")]),_:1}),rt(_,null,{default:ft(()=>[ne(Qt(new Date(e.cachedMap.updated_at)),1)]),_:1})]),_:1})]),_:1}),rt(m,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(p,null,{default:ft(()=>[ne("Source")]),_:1}),rt(p,null,{default:ft(()=>[ne("Total")]),_:1})]),_:1})]),_:1}),rt(M,null,{default:ft(()=>[(U(!0),nt($t,null,ye(e.cachedMap.source_scope,(S,V)=>(U(),At(v,{key:V},{default:ft(()=>[rt(_,{class:"capitalize"},{default:ft(()=>[ne(Qt(V.replaceAll("_"," ")),1)]),_:2},1024),rt(_,null,{default:ft(()=>[ne(Qt(S),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),Wb])]),_:1})):Nt("",!0)],64)}}},Yb={class:"bottom-0 w-screen bg-base-foreground z-[1000] left-0 p-4 text-sm flex flex-row justify-between align-middle box-border border-b border-base-muted"},Xb=["innerHTML"],Qb={__name:"SearchBar",props:{label:{type:String,required:!0}},emits:["close"],setup(e,{emit:n}){return(a,s)=>{const u=dt("IconClose");return U(),nt("div",Yb,[et("div",null,[et("span",{class:"ml-2",innerHTML:e.label},null,8,Xb)]),rt(u,{class:"cursor-pointer",onClick:s[0]||(s[0]=()=>n("close"))})])}}},t0={key:1,class:"text-lg text-center text-base-lighter align-middle p-4"},e0={__name:"ListResults",props:{list:{type:Array,default:()=>[]}},emits:["close","close:table"],setup(e,{emit:n}){return(a,s)=>{const u=dt("IconArrowRight"),i=dt("VTableHeaderCell"),c=dt("VTableHeaderRow"),p=dt("VTableHeader"),f=dt("RouterLink"),m=dt("VTableBodyCell"),_=dt("VTableBodyRow"),v=dt("VTableBody"),M=dt("VTable");return e.list.length?(U(),At(M,{key:0,class:"shadow-md"},{default:ft(()=>[rt(p,null,{default:ft(()=>[rt(c,null,{default:ft(()=>[rt(i,{class:"w-full flex justify-between box-border items-center"},{default:ft(()=>[et("span",null,"OTU ("+Qt(e.list.length)+")",1),rt(u,{class:"opacity-50 cursor-pointer w-4 h-4",onClick:s[0]||(s[0]=A=>n("close:table"))})]),_:1})]),_:1})]),_:1}),rt(v,null,{default:ft(()=>[(U(!0),nt($t,null,ye(e.list,A=>(U(),At(_,{key:A.id},{default:ft(()=>[rt(m,null,{default:ft(()=>[rt(f,{innerHTML:A.object_tag,to:{name:"otus-id",params:{id:A.id}},onClick:s[1]||(s[1]=()=>n("close"))},null,8,["innerHTML","to"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(U(),nt("div",t0," No OTUs found in this area "))}}};const n0={__name:"OtuSearch",props:{otu:{type:Array,default:()=>[]},shapes:{type:Object,default:void 0}},emits:["close"],setup(e,{emit:n}){const a=e,s=Zt(),u=Zt(null),i=Zt([]),c=Zt(!1),p=Zt(),f=Zt(6),m=Zt(6),_=se(()=>!!a.shapes&&m.value<=f.value);en(()=>{document.addEventListener("keyup",v),document.body.classList.add("overflow-hidden")}),Zr(()=>{document.removeEventListener("keyup",v),document.body.classList.remove("overflow-hidden")});const v=({key:V})=>{switch(V){case"Escape":n("close");break}};function M(V){const P={geo_json:V,taxon_name_id:[a.otu.taxon_name_id],descendants:!0,per:5e3};p.value=!0,ln.getOtus(P).then(({data:O})=>{i.value=O,c.value=!0}).finally(O=>{p.value=!1})}function A(V){C(),_.value&&u.value.resizeMap()}function C(){m.value=u.value.getMapObject().getZoom()}function S(){f.value=u.value.getMapObject().getZoom(),C()}return(V,P)=>{const O=dt("VSpinner"),j=dt("VMap");return U(),nt("div",{ref_key:"root",ref:s,class:"w-screen h-screen fixed top-0 left-0 z-[5000] flex flex-col"},[p.value?(U(),At(O,{key:0})):Nt("",!0),rt(Qb,{label:e.otu.object_tag,onClose:P[0]||(P[0]=()=>n("close"))},null,8,["label"]),et("div",{class:Xe(["w-full h-full relative",{"disable-zoom-out":_.value}])},[rt(j,{ref_key:"mapRef",ref:u,class:"w-full h-full",controls:"",dragging:!_.value,"zoom-bounds":f.value,geojson:e.shapes,"onGeojson:ready":S,"onAdd:layer":P[1]||(P[1]=T=>M(JSON.stringify(T.geometry))),"onEdit:layer":P[2]||(P[2]=T=>M(JSON.stringify(T.geometry))),"onDrag:layer":P[3]||(P[3]=T=>M(JSON.stringify(T.geometry))),"onZoom:change":A,zoom:4},null,8,["dragging","zoom-bounds","geojson"]),et("div",{class:Xe(["h-full md:w-96 absolute top-0 bg-base-background z-[2000] overflow-auto ease-in-out duration-300 w-full",{"md:-right-96 -right-full":!c.value,"right-0":c.value}])},[c.value?(U(),At(e0,{key:0,list:i.value,onClose:P[4]||(P[4]=()=>n("close")),"onClose:table":P[5]||(P[5]=()=>c.value=!1)},null,8,["list"])):Nt("",!0)],2)],2)],512)}}},r0=re(n0,[["__scopeId","data-v-d0d71188"]]),i0={class:"relative"},o0={key:0,class:"flex flex-row p-2 text-xs italic"},s0={key:1,class:"flex flex-row p-2 gap-2 text-xs"},a0=2,l0={__name:"PanelMap",props:{otuId:{type:[String,Number],required:!0},otu:{type:Object,required:!0},taxon:{type:Object,required:!0}},setup(e){const n=e,a=Zt(!0),s=Zt(!1),u=Nb(),i={AssertedDistribution:{label:"Asserted distribution",background:"bg-map-asserted"},Georeference:{label:"Georeference",background:"bg-map-georeference"},TypeMaterial:{label:"Type material",background:"bg-map-type-material"},CollectionObject:{label:"Collection object",background:"bg-map-collection-object"},Aggregate:{label:"Aggregate (Asserted distribution & Georeference)",background:"bg-map-aggregate"}};return en(()=>{a.value=!0,u.loadDistribution({otuId:n.otuId,rankString:n.taxon.rank_string})}),or(()=>{u.resetRequest(),u.$reset()}),(c,p)=>{const f=dt("VSpinner"),m=dt("VMap"),_=dt("VButton"),v=dt("ClientOnly"),M=dt("VCard");return U(),At(M,null,{default:ft(()=>[et("div",i0,[rt(v,null,{default:ft(()=>[a.value?(U(),At(f,{key:0})):Nt("",!0),rt(m,{class:"h-96 max-h-96",dragging:"",cluster:"",zoom:a0,geojson:Kt(u).distribution.geojson,"cluster-icon-create-function":Kt(Gb),"onGeojson:ready":p[0]||(p[0]=()=>a.value=!1)},null,8,["geojson","cluster-icon-create-function"]),rt(_,{class:"h-6 text-sm absolute right-3 top-3 z-[400]",primary:"",onClick:p[1]||(p[1]=()=>s.value=!0)},{default:ft(()=>[ne(" Search ")]),_:1}),s.value?(U(),At(r0,{key:1,otu:e.otu,shapes:Kt(u).distribution.geojson,onClose:p[2]||(p[2]=()=>s.value=!1)},null,8,["otu","shapes"])):Nt("",!0),Kt(u).distribution.cachedMap?(U(),At(Jb,{key:2,"cached-map":Kt(u).distribution.cachedMap},null,8,["cached-map"])):Nt("",!0)]),_:1})]),Kt(u).distribution.errorMessage?(U(),nt("div",o0," * "+Qt(Kt(u).distribution.errorMessage),1)):Nt("",!0),Kt(u).distribution.currentShapeTypes.length?(U(),nt("div",s0,[(U(!0),nt($t,null,ye(Kt(u).distribution.currentShapeTypes,A=>(U(),nt("div",{key:A,class:"flex flex-row items-center"},[et("div",{class:Xe(["w-3 h-3 m-1 rounded-sm",i[A].background])},null,2),et("span",null,Qt(i[A].label),1)]))),128))])):Nt("",!0)]),_:1})}}},c0={id:"panel:map",component:l0};function hp(e,n){const a=e.slice(),s=a.splice(0,n),u=a.splice(-n);return{first:s,middle:a,last:u}}const u0={class:"border-b border-base-muted p-3 px-5"},h0=["title","innerHTML"],p0=["innerHTML"],ga={__name:"PanelCitationRow",props:{citation:{type:Object,required:!0}},setup(e){return(n,a)=>(U(),nt("li",u0,[et("span",{class:"break-all block",title:e.citation.label,innerHTML:e.citation.label},null,8,h0),e.citation.type_label?(U(),nt("span",{key:0,class:"ml-4 text-base-soft",innerHTML:e.citation.type_label},null,8,p0)):Nt("",!0)]))}},d0={class:"flex justify-start border-b p-3 px-4 cursor-pointer border-base-muted"},pp={__name:"PanelNomenclatureShowMore",props:{count:{type:Number,required:!0}},setup(e){return(n,a)=>{const s=dt("IconPlusCircle");return U(),nt("li",d0,[et("div",{class:"h-5 w-5 text-secondary-color opacity-60 mr-2 cursor-pointer",onClick:a[0]||(a[0]=()=>n.isExpanded=!n.isExpanded)},[rt(s,{class:"h-5 w-5"})]),et("span",null,"... Show all ... ("+Qt(e.count)+")",1)])}}},f0={class:"text-md"},m0={class:"text-sm"},g0={class:"text-sm"},_0={class:"text-sm"},y0=2,v0={__name:"PanelNomenclature",props:{otuId:{type:[Number,String],required:!0},taxonId:{type:[Number,String],required:!0},taxon:{type:Object,default:void 0},otu:{type:Object,default:void 0}},setup(e){const n=Pi(),a=Zt(!1),s=se(()=>hp(n.catalog.timeline,y0)),u=se(()=>[{label:a.value?"Show less":"Show all",action:()=>a.value=!a.value}]);return(i,c)=>{const p=dt("VSpinner"),f=dt("VCardHeader"),m=dt("AnimationOpacity"),_=dt("VCard");return U(),At(_,null,{default:ft(()=>[Kt(n).catalog.isLoading?(U(),At(p,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0),rt(f,{class:"flex justify-between"},{default:ft(()=>[et("h2",f0," Nomenclature ("+Qt(Kt(n).catalog.timeline.length)+") ",1),rt(Si,{"menu-options":u.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),et("ul",m0,[(U(!0),nt($t,null,ye(s.value.first,v=>(U(),At(ga,{key:v.label,citation:v},null,8,["citation"]))),128)),!a.value&&s.value.middle.length?(U(),At(pp,{key:0,count:s.value.middle.length,onClick:c[0]||(c[0]=v=>a.value=!0)},null,8,["count"])):Nt("",!0)]),rt(m,null,{default:ft(()=>[vo(et("ul",g0,[(U(!0),nt($t,null,ye(s.value.middle,v=>(U(),At(ga,{key:v.label,citation:v},null,8,["citation"]))),128))],512),[[Ss,a.value]])]),_:1}),et("ul",_0,[(U(!0),nt($t,null,ye(s.value.last,v=>(U(),At(ga,{key:v.label,citation:v},null,8,["citation"]))),128))])]),_:1})}}},b0={id:"panel:nomenclature",component:v0},w0={class:"border-b border-base-muted p-3 px-5"},x0=["title","innerHTML"],_a={__name:"PanelReferenceRow",props:{reference:{type:String,required:!0}},setup(e){return(n,a)=>(U(),nt("li",w0,[et("span",{class:"break-all block",title:e.reference,innerHTML:e.reference},null,8,x0)]))}},k0={class:"text-md"},L0={class:"text-sm"},M0=2,C0={__name:"PanelNomenclatureReferences",setup(e){const n=Pi(),a=Zt(!1),s=se(()=>hp(n.catalog.sources,M0)),u=se(()=>[{label:a.value?"Show less":"Show all",action:()=>a.value=!a.value}]);return(i,c)=>{const p=dt("VSpinner"),f=dt("VCardHeader"),m=dt("AnimationOpacity"),_=dt("VCard");return U(),At(_,null,{default:ft(()=>[Kt(n).catalog.isLoading?(U(),At(p,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0),rt(f,{class:"flex justify-between"},{default:ft(()=>[et("h2",k0," Nomenclature references ("+Qt(Kt(n).catalog.sources.length)+") ",1),rt(Si,{"menu-options":u.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),et("ul",L0,[(U(!0),nt($t,null,ye(s.value.first,v=>(U(),At(_a,{key:v,reference:v},null,8,["reference"]))),128)),!a.value&&s.value.middle.length?(U(),At(pp,{key:0,count:s.value.middle.length,onClick:c[0]||(c[0]=v=>a.value=!0)},null,8,["count"])):Nt("",!0),rt(m,null,{default:ft(()=>[vo(et("div",null,[(U(!0),nt($t,null,ye(s.value.middle,v=>(U(),At(_a,{key:v,reference:v},null,8,["reference"]))),128))],512),[[Ss,a.value]])]),_:1}),(U(!0),nt($t,null,ye(s.value.last,v=>(U(),At(_a,{key:v,reference:v},null,8,["reference"]))),128))])]),_:1})}}},P0={id:"panel:nomenclature-references",component:C0},S0=et("h2",{class:"text-md"},"Stats",-1),E0={__name:"PanelStats",props:{otuId:{type:[Number,String],required:!0},taxonId:{type:[Number,String],required:!0},taxon:{type:Object,default:void 0},otu:{type:Object,default:void 0}},setup(e){const n=Pi();return(a,s)=>{const u=dt("VSpinner"),i=dt("VCardHeader"),c=dt("VTableHeaderCell"),p=dt("VTableHeaderRow"),f=dt("VTableHeader"),m=dt("VTableBodyCell"),_=dt("VTableBodyRow"),v=dt("VTableBody"),M=dt("VTable"),A=dt("VCardContent"),C=dt("VCard");return U(),At(C,null,{default:ft(()=>[Kt(n).catalog.isLoading?(U(),At(u,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0),rt(i,{class:"flex justify-between"},{default:ft(()=>[S0,rt(Si,{"panel-key":"taxonomy"})]),_:1}),rt(A,{class:"text-sm"},{default:ft(()=>[rt(M,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(p,null,{default:ft(()=>[rt(c,{class:"bg-base-foreground"}),rt(c,{title:"OTUs linked to valid protonyms"},{default:ft(()=>[ne(" Taxa ")]),_:1}),rt(c,{title:"Taxon names",class:"border-l border-base-border"},{default:ft(()=>[ne(" Names ")]),_:1}),rt(c,{colspan:"2",class:"bg-base-foreground"})]),_:1}),rt(p,null,{default:ft(()=>[rt(c,null,{default:ft(()=>[ne("Rank")]),_:1}),rt(c,{title:"OTUs linked to valid protonyms"},{default:ft(()=>[ne("Total")]),_:1}),rt(c,{title:"Taxon names",class:"border-l border-base-border"},{default:ft(()=>[ne(" Total ")]),_:1}),rt(c,null,{default:ft(()=>[ne(" Valid ")]),_:1}),rt(c,null,{default:ft(()=>[ne(" Invalid ")]),_:1})]),_:1})]),_:1}),rt(v,null,{default:ft(()=>[(U(!0),nt($t,null,ye(Kt(n).catalog.stats.taxa,(S,V)=>(U(),At(_,{key:V},{default:ft(()=>[rt(m,{class:"capitalize"},{default:ft(()=>[ne(Qt(V),1)]),_:2},1024),rt(m,null,{default:ft(()=>[ne(Qt(S),1)]),_:2},1024),rt(m,{class:"border-l border-base-border"},{default:ft(()=>[ne(Qt(Kt(n).catalog.stats.names[V].invalid+Kt(n).catalog.stats.names[V].valid),1)]),_:2},1024),rt(m,null,{default:ft(()=>[ne(Qt(Kt(n).catalog.stats.names[V].valid),1)]),_:2},1024),rt(m,null,{default:ft(()=>[ne(Qt(Kt(n).catalog.stats.names[V].invalid),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})}}},T0={id:"panel:statistics",component:E0},O0=et("h2",{class:"text-md"},"Type",-1),A0=["innerHTML"],R0={__name:"PanelTypeDesignation",props:{taxonId:{type:[String,Number],required:!0}},setup(e){const n=e,a=Zt({}),s=se(()=>[a.value.subject_object_tag||"",a.value.subject_status_tag||"",a.value.object_object_tag||""].join(" "));return Ge(()=>n.taxonId,async()=>{n.taxonId&&rr("panel:type",()=>ln.getTaxonTypeDesignation(n.taxonId)).then(({data:u})=>{a.value=u.type_taxon_name_relationship||{}})},{immediate:!0}),(u,i)=>{const c=dt("VCardHeader"),p=dt("VCardContent"),f=dt("VCard");return U(),At(f,null,{default:ft(()=>[rt(c,{class:"flex justify-between"},{default:ft(()=>[O0,rt(Si,{"panel-key":"panel:type"})]),_:1}),rt(p,{class:"text-sm"},{default:ft(()=>[et("p",{innerHTML:s.value},null,8,A0)]),_:1})]),_:1})}}},B0={id:"panel:type",component:R0,available:[Ov,Av]},I0=et("h2",{class:"text-md"},"Type specimen",-1),D0={__name:"PanelTypeSpecimen",props:{otuId:{type:[String,Number],required:!0}},setup(e){const n=e,a=Zt([]);return Ge(()=>n.otuId,()=>{n.otuId&&rr("panel:typeMaterial",()=>ln.getOtuTypeMaterial(n.otuId)).then(({data:s})=>{a.value=s.type_materials_catalog_labels.sort((u,i)=>cu.indexOf(u.type_type)-cu.indexOf(i.type_type))})},{immediate:!0}),(s,u)=>{const i=dt("VCardHeader"),c=dt("VCardContent"),p=dt("VCard");return a.value.length?(U(),At(p,{key:0},{default:ft(()=>[rt(i,{class:"flex justify-between"},{default:ft(()=>[I0,rt(Si,{"panel-key":"panel:typeMaterial"})]),_:1}),rt(c,{class:"text-sm"},{default:ft(()=>[et("p",null,Qt(a.value[0].label),1)]),_:1})]),_:1})):Nt("",!0)}}},z0={id:"panel:type-specimen",component:D0,available:[ap]},j0=Object.values(Object.assign({"/src/modules/otus/components/Panel/PanelContent/main.js":fb,"/src/modules/otus/components/Panel/PanelDescendants/main.js":Ab,"/src/modules/otus/components/Panel/PanelGallery/main.js":Ib,"/src/modules/otus/components/Panel/PanelMap/main.js":c0,"/src/modules/otus/components/Panel/PanelNomenclature/main.js":b0,"/src/modules/otus/components/Panel/PanelNomenclatureReferences/main.js":P0,"/src/modules/otus/components/Panel/PanelStats/main.js":T0,"/src/modules/otus/components/Panel/PanelTypeDesignation/main.js":B0,"/src/modules/otus/components/Panel/PanelTypeSpecimen/main.js":z0})),{taxa_page_overview:ya}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},N0=[[["panel:gallery","panel:type","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]];function F0(e){return e.map(n=>n.map(a=>a.map(s=>{const i=typeof s=="string"?{id:s}:{...s};return{...j0.find(p=>p.id===i.id),...i}})))}const H0=F0((ya==null?void 0:ya.panels)||N0),G0={class:"grid gap-3"},V0={__name:"Overview",props:{taxonId:{type:[Number,String],required:!0},taxonRank:{type:[String,null],required:!0},otuId:{type:[Number,String],required:!0},otu:{type:Object,required:!0},taxon:{type:Object,required:!0}},setup(e){const n={1:["md:grid-cols-1"],2:["md:grid-cols-2"],3:["md:grid-cols-3"]};function a(s,u){return s.some(i=>u==null?void 0:u.includes(i))}return(s,u)=>(U(),nt("div",G0,[(U(!0),nt($t,null,ye(Kt(H0),(i,c)=>(U(),nt("div",{class:Xe(["grid grid-cols-1 gap-3",[n[i.length]]])},[(U(!0),nt($t,null,ye(i,(p,f)=>(U(),nt("div",{class:"grid grid-cols-1 gap-3 auto-rows-min",key:f},[(U(!0),nt($t,null,ye(p,({component:m,available:_,id:v})=>(U(),nt($t,{key:v},[!_||a(_,e.taxonRank)?(U(),At(Mi(m),{key:0,"otu-id":e.otuId,otu:e.otu,"taxon-id":e.taxonId,taxon:e.taxon},null,8,["otu-id","otu","taxon-id","taxon"])):Nt("",!0)],64))),128))]))),128))],2))),256))]))}},U0=[{name:"otus-id",path:"/otus/:id",component:ub,redirect:{name:"otus-id-overview"},children:[{path:"overview",name:"otus-id-overview",component:V0}]}],$0="modulepreload",Z0=function(e){return"/plecoptera/"+e},uu={},dp=function(n,a,s){if(!a||a.length===0)return n();const u=document.getElementsByTagName("link");return Promise.all(a.map(i=>{if(i=Z0(i),i in uu)return;uu[i]=!0;const c=i.endsWith(".css"),p=c?'[rel="stylesheet"]':"";if(!!s)for(let _=u.length-1;_>=0;_--){const v=u[_];if(v.href===i&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${p}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":$0,c||(m.as="script",m.crossOrigin=""),m.href=i,document.head.appendChild(m),c)return new Promise((_,v)=>{m.addEventListener("load",_),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>n()).catch(i=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=i,window.dispatchEvent(c),!c.defaultPrevented)throw i})},q0=()=>dp(()=>import("./home-4df0b754.js"),[]),K0=()=>dp(()=>import("./about-4f114832.js"),[]),W0=[{name:"home",path:"/",component:q0,props:!0,alias:"/home"},{name:"about",path:"/about",component:K0,props:!0}],J0=Object.assign({"/src/modules/home/router/index.js":J_,"/src/modules/httpErrorPages/router/index.js":dy,"/src/modules/otus/router/index.js":U0}),Y0=Object.assign({}),{base_url:hu,hash_mode:X0}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},Q0=[].concat(...Object.values(J0),...Object.values(Y0)),tw=[...W0,...Q0];function ew(){return X0?Lg(hu):Ch(hu)}function nw(){return l_({history:ew(),routes:tw,scrollBehavior(e,n,a){return e.hash?{el:e.hash}:{top:0}}})}function rw({originUrl:e}){const{url:n,project_token:a}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},u=Bm(n&&a?E_:I_),i=nw(),c=z_();return u.use(i),u.use(c),{app:u,router:i,store:c}}var fp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function iw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ha={exports:{}};/* @preserve + * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com + * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(e,n){(function(a,s){s(n)})(fp,function(a){var s="1.9.4";function u(t){var o,h,g,b;for(h=1,g=arguments.length;h"u"||!L||!L.Mixin)){t=j(t)?t:[t];for(var o=0;o0?Math.floor(t):Math.ceil(t)};wt.prototype={clone:function(){return new wt(this.x,this.y)},add:function(t){return this.clone()._add(Dt(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(Dt(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new wt(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new wt(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=de(this.x),this.y=de(this.y),this},distanceTo:function(t){t=Dt(t);var o=t.x-this.x,h=t.y-this.y;return Math.sqrt(o*o+h*h)},equals:function(t){return t=Dt(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=Dt(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+M(this.x)+", "+M(this.y)+")"}};function Dt(t,o,h){return t instanceof wt?t:j(t)?new wt(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new wt(t.x,t.y):new wt(t,o,h)}function Bt(t,o){if(t)for(var h=o?[t,o]:t,g=0,b=h.length;g=this.min.x&&h.x<=this.max.x&&o.y>=this.min.y&&h.y<=this.max.y},intersects:function(t){t=Vt(t);var o=this.min,h=this.max,g=t.min,b=t.max,E=b.x>=o.x&&g.x<=h.x,q=b.y>=o.y&&g.y<=h.y;return E&&q},overlaps:function(t){t=Vt(t);var o=this.min,h=this.max,g=t.min,b=t.max,E=b.x>o.x&&g.xo.y&&g.y=o.lat&&b.lat<=h.lat&&g.lng>=o.lng&&b.lng<=h.lng},intersects:function(t){t=fe(t);var o=this._southWest,h=this._northEast,g=t.getSouthWest(),b=t.getNorthEast(),E=b.lat>=o.lat&&g.lat<=h.lat,q=b.lng>=o.lng&&g.lng<=h.lng;return E&&q},overlaps:function(t){t=fe(t);var o=this._southWest,h=this._northEast,g=t.getSouthWest(),b=t.getNorthEast(),E=b.lat>o.lat&&g.lato.lng&&g.lng1,Fe=function(){var t=!1;try{var o=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",v,o),window.removeEventListener("testPassiveEventSupport",v,o)}catch{}return t}(),Rn=function(){return!!document.createElement("canvas").getContext}(),qr=!!(document.createElementNS&&ht("svg").createSVGRect),Ei=!!qr&&function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Cr=!qr&&function(){try{var t=document.createElement("div");t.innerHTML='';var o=t.firstChild;return o.style.behavior="url(#default#VML)",o&&typeof o.adj=="object"}catch{return!1}}(),Ns=navigator.platform.indexOf("Mac")===0,Ti=navigator.platform.indexOf("Linux")===0;function nn(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Ht={ie:Ot,ielt9:I,edge:w,webkit:k,android:R,android23:D,androidStock:Q,opera:it,chrome:vt,gecko:Tt,safari:jt,phantom:Jt,opera12:te,win:be,ie3d:Xt,webkit3d:ve,gecko3d:he,any3d:we,mobile:Ae,mobileWebkit:Ze,mobileWebkit3d:qe,msPointer:fn,pointer:un,touch:hn,touchNative:Je,mobileOpera:Ln,mobileGecko:Un,retina:Ke,passiveEvents:Fe,canvas:Rn,svg:qr,vml:Cr,inlineSvg:Ei,mac:Ns,linux:Ti},Oi=Ht.msPointer?"MSPointerDown":"pointerdown",Bn=Ht.msPointer?"MSPointerMove":"pointermove",In=Ht.msPointer?"MSPointerUp":"pointerup",xo=Ht.msPointer?"MSPointerCancel":"pointercancel",Pr={touchstart:Oi,touchmove:Bn,touchend:In,touchcancel:xo},sr={touchstart:Wr,touchmove:Kr,touchend:Kr,touchcancel:Kr},ar={},Ai=!1;function ko(t,o,h){return o==="touchstart"&&Ii(),sr[o]?(h=sr[o].bind(this,h),t.addEventListener(Pr[o],h,!1),h):(console.warn("wrong event specified:",o),v)}function Fs(t,o,h){if(!Pr[o]){console.warn("wrong event specified:",o);return}t.removeEventListener(Pr[o],h,!1)}function Lo(t){ar[t.pointerId]=t}function Ri(t){ar[t.pointerId]&&(ar[t.pointerId]=t)}function Bi(t){delete ar[t.pointerId]}function Ii(){Ai||(document.addEventListener(Oi,Lo,!0),document.addEventListener(Bn,Ri,!0),document.addEventListener(In,Bi,!0),document.addEventListener(xo,Bi,!0),Ai=!0)}function Kr(t,o){if(o.pointerType!==(o.MSPOINTER_TYPE_MOUSE||"mouse")){o.touches=[];for(var h in ar)o.touches.push(ar[h]);o.changedTouches=[o],t(o)}}function Wr(t,o){o.MSPOINTER_TYPE_TOUCH&&o.pointerType===o.MSPOINTER_TYPE_TOUCH&&Z(o),Kr(t,o)}function Mo(t){var o={},h,g;for(g in t)h=t[g],o[g]=h&&h.bind?h.bind(t):h;return t=o,o.type="dblclick",o.detail=2,o.isTrusted=!1,o._simulated=!0,o}var Hs=200;function Sr(t,o){t.addEventListener("dblclick",o);var h=0,g;function b(E){if(E.detail!==1){g=E.detail;return}if(!(E.pointerType==="mouse"||E.sourceCapabilities&&!E.sourceCapabilities.firesTouchEvents)){var q=mt(E);if(!(q.some(function(lt){return lt instanceof HTMLLabelElement&<.attributes.for})&&!q.some(function(lt){return lt instanceof HTMLInputElement||lt instanceof HTMLSelectElement}))){var tt=Date.now();tt-h<=Hs?(g++,g===2&&o(Mo(E))):g=1,h=tt}}}return t.addEventListener("click",b),{dblclick:o,simDblclick:b}}function Gs(t,o){t.removeEventListener("dblclick",o.dblclick),t.removeEventListener("click",o.simDblclick)}var Jr=Xr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),$n=Xr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Co=$n==="webkitTransition"||$n==="OTransition"?$n+"End":"transitionend";function Po(t){return typeof t=="string"?document.getElementById(t):t}function lr(t,o){var h=t.style[o]||t.currentStyle&&t.currentStyle[o];if((!h||h==="auto")&&document.defaultView){var g=document.defaultView.getComputedStyle(t,null);h=g?g[o]:null}return h==="auto"?null:h}function pe(t,o,h){var g=document.createElement(t);return g.className=o||"",h&&h.appendChild(g),g}function Ce(t){var o=t.parentNode;o&&o.removeChild(t)}function Er(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Zn(t){var o=t.parentNode;o&&o.lastChild!==t&&o.appendChild(t)}function qn(t){var o=t.parentNode;o&&o.firstChild!==t&&o.insertBefore(t,o.firstChild)}function Yr(t,o){if(t.classList!==void 0)return t.classList.contains(o);var h=Tr(t);return h.length>0&&new RegExp("(^|\\s)"+o+"(\\s|$)").test(h)}function ie(t,o){if(t.classList!==void 0)for(var h=C(o),g=0,b=h.length;g0?2*window.devicePixelRatio:1;function Rt(t){return Ht.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/Mt:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function qt(t,o){var h=o.relatedTarget;if(!h)return!0;try{for(;h&&h!==t;)h=h.parentNode}catch{return!1}return h!==t}var oe={__proto__:null,on:ee,off:l,stopPropagation:N,disableScrollPropagation:$,disableClickPropagation:G,preventDefault:Z,stop:X,getPropagationPath:mt,getMousePosition:ut,getWheelDelta:Rt,isExternalTarget:qt,addListener:ee,removeListener:l},xe=Gt.extend({run:function(t,o,h,g){this.stop(),this._el=t,this._inProgress=!0,this._duration=h||.25,this._easeOutPower=1/Math.max(g||.5,.2),this._startPos=mn(t),this._offset=o.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=gt(this._animate,this),this._step()},_step:function(t){var o=+new Date-this._startTime,h=this._duration*1e3;othis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,o){this._enforcingBounds=!0;var h=this.getCenter(),g=this._limitCenter(h,this._zoom,fe(t));return h.equals(g)||this.panTo(g,o),this._enforcingBounds=!1,this},panInside:function(t,o){o=o||{};var h=Dt(o.paddingTopLeft||o.padding||[0,0]),g=Dt(o.paddingBottomRight||o.padding||[0,0]),b=this.project(this.getCenter()),E=this.project(t),q=this.getPixelBounds(),tt=Vt([q.min.add(h),q.max.subtract(g)]),lt=tt.getSize();if(!tt.contains(E)){this._enforcingBounds=!0;var kt=E.subtract(tt.getCenter()),It=tt.extend(E).getSize().subtract(lt);b.x+=kt.x<0?-It.x:It.x,b.y+=kt.y<0?-It.y:It.y,this.panTo(this.unproject(b),o),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=u({animate:!1,pan:!0},t===!0?{animate:!0}:t);var o=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var h=this.getSize(),g=o.divideBy(2).round(),b=h.divideBy(2).round(),E=g.subtract(b);return!E.x&&!E.y?this:(t.animate&&t.pan?this.panBy(E):(t.pan&&this._rawPanBy(E),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(c(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:o,newSize:h}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=u({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var o=c(this._handleGeolocationResponse,this),h=c(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(o,h,t):navigator.geolocation.getCurrentPosition(o,h,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){if(this._container._leaflet_id){var o=t.code,h=t.message||(o===1?"permission denied":o===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:o,message:"Geolocation error: "+h+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var o=t.coords.latitude,h=t.coords.longitude,g=new le(o,h),b=g.toBounds(t.coords.accuracy*2),E=this._locateOptions;if(E.setView){var q=this.getBoundsZoom(b);this.setView(g,E.maxZoom?Math.min(q,E.maxZoom):q)}var tt={latlng:g,bounds:b,timestamp:t.timestamp};for(var lt in t.coords)typeof t.coords[lt]=="number"&&(tt[lt]=t.coords[lt]);this.fire("locationfound",tt)}},addHandler:function(t,o){if(!o)return this;var h=this[t]=new o(this);return this._handlers.push(h),this.options[t]&&h.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&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{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Ce(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(at(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)Ce(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,o){var h="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),g=pe("div",h,o||this._mapPane);return t&&(this._panes[t]=g),g},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),o=this.unproject(t.getBottomLeft()),h=this.unproject(t.getTopRight());return new Me(o,h)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,o,h){t=fe(t),h=Dt(h||[0,0]);var g=this.getZoom()||0,b=this.getMinZoom(),E=this.getMaxZoom(),q=t.getNorthWest(),tt=t.getSouthEast(),lt=this.getSize().subtract(h),kt=Vt(this.project(tt,g),this.project(q,g)).getSize(),It=Ht.any3d?this.options.zoomSnap:1,Yt=lt.x/kt.x,ue=lt.y/kt.y,Qe=o?Math.max(Yt,ue):Math.min(Yt,ue);return g=this.getScaleZoom(Qe,g),It&&(g=Math.round(g/(It/100))*(It/100),g=o?Math.ceil(g/It)*It:Math.floor(g/It)*It),Math.max(b,Math.min(E,g))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new wt(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,o){var h=this._getTopLeftPoint(t,o);return new Bt(h,h.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,o){var h=this.options.crs;return o=o===void 0?this._zoom:o,h.scale(t)/h.scale(o)},getScaleZoom:function(t,o){var h=this.options.crs;o=o===void 0?this._zoom:o;var g=h.zoom(t*h.scale(o));return isNaN(g)?1/0:g},project:function(t,o){return o=o===void 0?this._zoom:o,this.options.crs.latLngToPoint(Ft(t),o)},unproject:function(t,o){return o=o===void 0?this._zoom:o,this.options.crs.pointToLatLng(Dt(t),o)},layerPointToLatLng:function(t){var o=Dt(t).add(this.getPixelOrigin());return this.unproject(o)},latLngToLayerPoint:function(t){var o=this.project(Ft(t))._round();return o._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(Ft(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(fe(t))},distance:function(t,o){return this.options.crs.distance(Ft(t),Ft(o))},containerPointToLayerPoint:function(t){return Dt(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return Dt(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var o=this.containerPointToLayerPoint(Dt(t));return this.layerPointToLatLng(o)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(Ft(t)))},mouseEventToContainerPoint:function(t){return ut(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 o=this._container=Po(t);if(o){if(o._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ee(o,"scroll",this._onScroll,this),this._containerId=f(o)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ht.any3d,ie(t,"leaflet-container"+(Ht.touch?" leaflet-touch":"")+(Ht.retina?" leaflet-retina":"")+(Ht.ielt9?" leaflet-oldie":"")+(Ht.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var o=lr(t,"position");o!=="absolute"&&o!=="relative"&&o!=="fixed"&&o!=="sticky"&&(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),Ee(this._mapPane,new wt(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ie(t.markerPane,"leaflet-zoom-hide"),ie(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,o,h){Ee(this._mapPane,new wt(0,0));var g=!this._loaded;this._loaded=!0,o=this._limitZoom(o),this.fire("viewprereset");var b=this._zoom!==o;this._moveStart(b,h)._move(t,o)._moveEnd(b),this.fire("viewreset"),g&&this.fire("load")},_moveStart:function(t,o){return t&&this.fire("zoomstart"),o||this.fire("movestart"),this},_move:function(t,o,h,g){o===void 0&&(o=this._zoom);var b=this._zoom!==o;return this._zoom=o,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),g?h&&h.pinch&&this.fire("zoom",h):((b||h&&h.pinch)&&this.fire("zoom",h),this.fire("move",h)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return at(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Ee(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[f(this._container)]=this;var o=t?l:ee;o(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&o(window,"resize",this._onResize,this),Ht.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){at(this._resizeRequest),this._resizeRequest=gt(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,o){for(var h=[],g,b=o==="mouseout"||o==="mouseover",E=t.target||t.srcElement,q=!1;E;){if(g=this._targets[f(E)],g&&(o==="click"||o==="preclick")&&this._draggableMoved(g)){q=!0;break}if(g&&g.listens(o,!0)&&(b&&!qt(E,t)||(h.push(g),b))||E===this._container)break;E=E.parentNode}return!h.length&&!q&&!b&&this.listens(o,!0)&&(h=[this]),h},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var o=t.target||t.srcElement;if(!(!this._loaded||o._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(o))){var h=t.type;h==="mousedown"&&Ni(o),this._fireDOMEvent(t,h)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,o,h){if(t.type==="click"){var g=u({},t);g.type="preclick",this._fireDOMEvent(g,g.type,h)}var b=this._findEventTargets(t,o);if(h){for(var E=[],q=0;q0?Math.round(t-o)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(o))},_limitZoom:function(t){var o=this.getMinZoom(),h=this.getMaxZoom(),g=Ht.any3d?this.options.zoomSnap:1;return g&&(t=Math.round(t/g)*g),Math.max(o,Math.min(h,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Re(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,o){var h=this._getCenterOffset(t)._trunc();return(o&&o.animate)!==!0&&!this.getSize().contains(h)?!1:(this.panBy(h,o),!0)},_createAnimProxy:function(){var t=this._proxy=pe("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(o){var h=Jr,g=this._proxy.style[h];Dn(this._proxy,this.project(o.center,o.zoom),this.getZoomScale(o.zoom,1)),g===this._proxy.style[h]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Ce(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),o=this.getZoom();Dn(this._proxy,this.project(t,o),this.getZoomScale(o,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,o,h){if(this._animatingZoom)return!0;if(h=h||{},!this._zoomAnimated||h.animate===!1||this._nothingToAnimate()||Math.abs(o-this._zoom)>this.options.zoomAnimationThreshold)return!1;var g=this.getZoomScale(o),b=this._getCenterOffset(t)._divideBy(1-1/g);return h.animate!==!0&&!this.getSize().contains(b)?!1:(gt(function(){this._moveStart(!0,h.noMoveStart||!1)._animateZoom(t,o,!0)},this),!0)},_animateZoom:function(t,o,h,g){this._mapPane&&(h&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=o,ie(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:o,noUpdate:g}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(c(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Re(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ke(t,o){return new Ut(t,o)}var Pe=Lt.extend({options:{position:"topright"},initialize:function(t){S(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var o=this._map;return o&&o.removeControl(this),this.options.position=t,o&&o.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var o=this._container=this.onAdd(t),h=this.getPosition(),g=t._controlCorners[h];return ie(o,"leaflet-control"),h.indexOf("bottom")!==-1?g.insertBefore(o,g.firstChild):g.appendChild(o),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Ce(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()}}),Ve=function(t){return new Pe(t)};Ut.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},o="leaflet-",h=this._controlContainer=pe("div",o+"control-container",this._container);function g(b,E){var q=o+b+" "+o+E;t[b+E]=pe("div",q,h)}g("top","left"),g("top","right"),g("bottom","left"),g("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Ce(this._controlCorners[t]);Ce(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Mn=Pe.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,o,h,g){return h1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=o&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var o=this._getLayer(f(t.target)),h=o.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;h&&this._map.fire(h,o)},_createRadioElement:function(t,o){var h='",g=document.createElement("div");return g.innerHTML=h,g.firstChild},_addItem:function(t){var o=document.createElement("label"),h=this._map.hasLayer(t.layer),g;t.overlay?(g=document.createElement("input"),g.type="checkbox",g.className="leaflet-control-layers-selector",g.defaultChecked=h):g=this._createRadioElement("leaflet-base-layers_"+f(this),h),this._layerControlInputs.push(g),g.layerId=f(t.layer),ee(g,"click",this._onInputClick,this);var b=document.createElement("span");b.innerHTML=" "+t.name;var E=document.createElement("span");o.appendChild(E),E.appendChild(g),E.appendChild(b);var q=t.overlay?this._overlaysList:this._baseLayersList;return q.appendChild(o),this._checkDisabledLayers(),o},_onInputClick:function(){if(!this._preventClick){var t=this._layerControlInputs,o,h,g=[],b=[];this._handlingClick=!0;for(var E=t.length-1;E>=0;E--)o=t[E],h=this._getLayer(o.layerId).layer,o.checked?g.push(h):o.checked||b.push(h);for(E=0;E=0;b--)o=t[b],h=this._getLayer(o.layerId).layer,o.disabled=h.options.minZoom!==void 0&&gh.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,ee(t,"click",Z),this.expand();var o=this;setTimeout(function(){l(t,"click",Z),o._preventClick=!1})}}),So=function(t,o,h){return new Mn(t,o,h)},Br=Pe.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var o="leaflet-control-zoom",h=pe("div",o+" leaflet-bar"),g=this.options;return this._zoomInButton=this._createButton(g.zoomInText,g.zoomInTitle,o+"-in",h,this._zoomIn),this._zoomOutButton=this._createButton(g.zoomOutText,g.zoomOutTitle,o+"-out",h,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),h},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,o,h,g,b){var E=pe("a",h,g);return E.innerHTML=t,E.href="#",E.title=o,E.setAttribute("role","button"),E.setAttribute("aria-label",o),G(E),ee(E,"click",X),ee(E,"click",b,this),ee(E,"click",this._refocusOnMap,this),E},_updateDisabled:function(){var t=this._map,o="leaflet-disabled";Re(this._zoomInButton,o),Re(this._zoomOutButton,o),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(ie(this._zoomOutButton,o),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(ie(this._zoomInButton,o),this._zoomInButton.setAttribute("aria-disabled","true"))}});Ut.mergeOptions({zoomControl:!0}),Ut.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Br,this.addControl(this.zoomControl))});var Kn=function(t){return new Br(t)},Hi=Pe.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var o="leaflet-control-scale",h=pe("div",o),g=this.options;return this._addScales(g,o+"-line",h),t.on(g.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),h},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,o,h){t.metric&&(this._mScale=pe("div",o,h)),t.imperial&&(this._iScale=pe("div",o,h))},_update:function(){var t=this._map,o=t.getSize().y/2,h=t.distance(t.containerPointToLatLng([0,o]),t.containerPointToLatLng([this.options.maxWidth,o]));this._updateScales(h)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var o=this._getRoundNum(t),h=o<1e3?o+" m":o/1e3+" km";this._updateScale(this._mScale,h,o/t)},_updateImperial:function(t){var o=t*3.2808399,h,g,b;o>5280?(h=o/5280,g=this._getRoundNum(h),this._updateScale(this._iScale,g+" mi",g/h)):(b=this._getRoundNum(o),this._updateScale(this._iScale,b+" ft",b/o))},_updateScale:function(t,o,h){t.style.width=Math.round(this.options.maxWidth*h)+"px",t.innerHTML=o},_getRoundNum:function(t){var o=Math.pow(10,(Math.floor(t)+"").length-1),h=t/o;return h=h>=10?10:h>=5?5:h>=3?3:h>=2?2:1,o*h}}),Eo=function(t){return new Hi(t)},Us='',Ir=Pe.extend({options:{position:"bottomright",prefix:''+(Ht.inlineSvg?Us+" ":"")+"Leaflet"},initialize:function(t){S(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=pe("div","leaflet-control-attribution"),G(this._container);for(var o in t._layers)t._layers[o].getAttribution&&this.addAttribution(t._layers[o].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},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 o in this._attributions)this._attributions[o]&&t.push(o);var h=[];this.options.prefix&&h.push(this.options.prefix),t.length&&h.push(t.join(", ")),this._container.innerHTML=h.join(' ')}}});Ut.mergeOptions({attributionControl:!0}),Ut.addInitHook(function(){this.options.attributionControl&&new Ir().addTo(this)});var $s=function(t){return new Ir(t)};Pe.Layers=Mn,Pe.Zoom=Br,Pe.Scale=Hi,Pe.Attribution=Ir,Ve.layers=So,Ve.zoom=Kn,Ve.scale=Eo,Ve.attribution=$s;var gn=Lt.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});gn.addTo=function(t,o){return t.addHandler(o,this),this};var vp={Events:Ct},bl=Ht.touch?"touchstart mousedown":"mousedown",ur=Gt.extend({options:{clickTolerance:3},initialize:function(t,o,h,g){S(this,g),this._element=t,this._dragStartTarget=o||t,this._preventOutline=h},enable:function(){this._enabled||(ee(this._dragStartTarget,bl,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ur._dragging===this&&this.finishDrag(!0),l(this._dragStartTarget,bl,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Yr(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){ur._dragging===this&&this.finishDrag();return}if(!(ur._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(ur._dragging=this,this._preventOutline&&Ni(this._element),Rr(),Or(),!this._moving)){this.fire("down");var o=t.touches?t.touches[0]:t,h=ei(this._element);this._startPoint=new wt(o.clientX,o.clientY),this._startPos=mn(this._element),this._parentScale=Fi(h);var g=t.type==="mousedown";ee(document,g?"mousemove":"touchmove",this._onMove,this),ee(document,g?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var o=t.touches&&t.touches.length===1?t.touches[0]:t,h=new wt(o.clientX,o.clientY)._subtract(this._startPoint);!h.x&&!h.y||Math.abs(h.x)+Math.abs(h.y)E&&(q=tt,E=lt);E>h&&(o[q]=1,qs(t,o,h,g,q),qs(t,o,h,q,b))}function kp(t,o){for(var h=[t[0]],g=1,b=0,E=t.length;go&&(h.push(t[g]),b=g);return bo.max.x&&(h|=2),t.yo.max.y&&(h|=8),h}function Lp(t,o){var h=o.x-t.x,g=o.y-t.y;return h*h+g*g}function Gi(t,o,h,g){var b=o.x,E=o.y,q=h.x-b,tt=h.y-E,lt=q*q+tt*tt,kt;return lt>0&&(kt=((t.x-b)*q+(t.y-E)*tt)/lt,kt>1?(b=h.x,E=h.y):kt>0&&(b+=q*kt,E+=tt*kt)),q=t.x-b,tt=t.y-E,g?q*q+tt*tt:new wt(b,E)}function _n(t){return!j(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function Pl(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),_n(t)}function Sl(t,o){var h,g,b,E,q,tt,lt,kt;if(!t||t.length===0)throw new Error("latlngs not passed");_n(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var It=Ft([0,0]),Yt=fe(t),ue=Yt.getNorthWest().distanceTo(Yt.getSouthWest())*Yt.getNorthEast().distanceTo(Yt.getNorthWest());ue<1700&&(It=Zs(t));var Qe=t.length,Ue=[];for(h=0;hg){lt=(E-g)/b,kt=[tt.x-lt*(tt.x-q.x),tt.y-lt*(tt.y-q.y)];break}var on=o.unproject(Dt(kt));return Ft([on.lat+It.lat,on.lng+It.lng])}var Mp={__proto__:null,simplify:kl,pointToSegmentDistance:Ll,closestPointOnSegment:wp,clipSegment:Cl,_getEdgeIntersection:To,_getBitCode:Dr,_sqClosestPointOnSegment:Gi,isFlat:_n,_flat:Pl,polylineCenter:Sl},Ks={project:function(t){return new wt(t.lng,t.lat)},unproject:function(t){return new le(t.y,t.x)},bounds:new Bt([-180,-90],[180,90])},Ws={R:6378137,R_MINOR:6356752314245179e-9,bounds:new Bt([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var o=Math.PI/180,h=this.R,g=t.lat*o,b=this.R_MINOR/h,E=Math.sqrt(1-b*b),q=E*Math.sin(g),tt=Math.tan(Math.PI/4-g/2)/Math.pow((1-q)/(1+q),E/2);return g=-h*Math.log(Math.max(tt,1e-10)),new wt(t.lng*o*h,g)},unproject:function(t){for(var o=180/Math.PI,h=this.R,g=this.R_MINOR/h,b=Math.sqrt(1-g*g),E=Math.exp(-t.y/h),q=Math.PI/2-2*Math.atan(E),tt=0,lt=.1,kt;tt<15&&Math.abs(lt)>1e-7;tt++)kt=b*Math.sin(q),kt=Math.pow((1-kt)/(1+kt),b/2),lt=Math.PI/2-2*Math.atan(E*kt)-q,q+=lt;return new le(q*o,t.x*o/h)}},Cp={__proto__:null,LonLat:Ks,Mercator:Ws,SphericalMercator:zt},Pp=u({},Pt,{code:"EPSG:3395",projection:Ws,transformation:function(){var t=.5/(Math.PI*Ws.R);return H(t,.5,-t,.5)}()}),El=u({},Pt,{code:"EPSG:4326",projection:Ks,transformation:H(1/180,1,-1/180,.5)}),Sp=u({},pt,{projection:Ks,transformation:H(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,o){var h=o.lng-t.lng,g=o.lat-t.lat;return Math.sqrt(h*h+g*g)},infinite:!0});pt.Earth=Pt,pt.EPSG3395=Pp,pt.EPSG3857=K,pt.EPSG900913=J,pt.EPSG4326=El,pt.Simple=Sp;var Cn=Gt.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[f(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[f(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var o=t.target;if(o.hasLayer(this)){if(this._map=o,this._zoomAnimated=o._zoomAnimated,this.getEvents){var h=this.getEvents();o.on(h,this),this.once("remove",function(){o.off(h,this)},this)}this.onAdd(o),this.fire("add"),o.fire("layeradd",{layer:this})}}});Ut.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var o=f(t);return this._layers[o]?this:(this._layers[o]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var o=f(t);return this._layers[o]?(this._loaded&&t.onRemove(this),delete this._layers[o],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return f(t)in this._layers},eachLayer:function(t,o){for(var h in this._layers)t.call(o,this._layers[h]);return this},_addLayers:function(t){t=t?j(t)?t:[t]:[];for(var o=0,h=t.length;othis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&o[0]instanceof le&&o[0].equals(o[h-1])&&o.pop(),o},_setLatLngs:function(t){Jn.prototype._setLatLngs.call(this,t),_n(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return _n(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,o=this.options.weight,h=new wt(o,o);if(t=new Bt(t.min.subtract(h),t.max.add(h)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var g=0,b=this._rings.length,E;gt.y!=b.y>t.y&&t.x<(b.x-g.x)*(t.y-g.y)/(b.y-g.y)+g.x&&(o=!o);return o||Jn.prototype._containsPoint.call(this,t,!0)}});function Dp(t,o){return new ii(t,o)}var Yn=Wn.extend({initialize:function(t,o){S(this,o),this._layers={},t&&this.addData(t)},addData:function(t){var o=j(t)?t:t.features,h,g,b;if(o){for(h=0,g=o.length;h0&&b.push(b[0].slice()),b}function oi(t,o){return t.feature?u({},t.feature,{geometry:o}):Do(o)}function Do(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var Qs={toGeoJSON:function(t){return oi(this,{type:"Point",coordinates:Xs(this.getLatLng(),t)})}};Oo.include(Qs),Js.include(Qs),Ao.include(Qs),Jn.include({toGeoJSON:function(t){var o=!_n(this._latlngs),h=Io(this._latlngs,o?1:0,!1,t);return oi(this,{type:(o?"Multi":"")+"LineString",coordinates:h})}}),ii.include({toGeoJSON:function(t){var o=!_n(this._latlngs),h=o&&!_n(this._latlngs[0]),g=Io(this._latlngs,h?2:o?1:0,!0,t);return o||(g=[g]),oi(this,{type:(h?"Multi":"")+"Polygon",coordinates:g})}}),ni.include({toMultiPoint:function(t){var o=[];return this.eachLayer(function(h){o.push(h.toGeoJSON(t).geometry.coordinates)}),oi(this,{type:"MultiPoint",coordinates:o})},toGeoJSON:function(t){var o=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(o==="MultiPoint")return this.toMultiPoint(t);var h=o==="GeometryCollection",g=[];return this.eachLayer(function(b){if(b.toGeoJSON){var E=b.toGeoJSON(t);if(h)g.push(E.geometry);else{var q=Do(E);q.type==="FeatureCollection"?g.push.apply(g,q.features):g.push(q)}}}),h?oi(this,{geometries:g,type:"GeometryCollection"}):{type:"FeatureCollection",features:g}}});function Al(t,o){return new Yn(t,o)}var zp=Al,zo=Cn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,o,h){this._url=t,this._bounds=fe(o),S(this,h)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ie(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Ce(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&Zn(this._image),this},bringToBack:function(){return this._map&&qn(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=fe(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG",o=this._image=t?this._url:pe("img");if(ie(o,"leaflet-image-layer"),this._zoomAnimated&&ie(o,"leaflet-zoom-animated"),this.options.className&&ie(o,this.options.className),o.onselectstart=v,o.onmousemove=v,o.onload=c(this.fire,this,"load"),o.onerror=c(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=o.src;return}o.src=this._url,o.alt=this.options.alt},_animateZoom:function(t){var o=this._map.getZoomScale(t.zoom),h=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Dn(this._image,h,o)},_reset:function(){var t=this._image,o=new Bt(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),h=o.getSize();Ee(t,o.min),t.style.width=h.x+"px",t.style.height=h.y+"px"},_updateOpacity:function(){rn(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),jp=function(t,o,h){return new zo(t,o,h)},Rl=zo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",o=this._image=t?this._url:pe("video");if(ie(o,"leaflet-image-layer"),this._zoomAnimated&&ie(o,"leaflet-zoom-animated"),this.options.className&&ie(o,this.options.className),o.onselectstart=v,o.onmousemove=v,o.onloadeddata=c(this.fire,this,"load"),t){for(var h=o.getElementsByTagName("source"),g=[],b=0;b0?g:[o.src];return}j(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(o.style,"objectFit")&&(o.style.objectFit="fill"),o.autoplay=!!this.options.autoplay,o.loop=!!this.options.loop,o.muted=!!this.options.muted,o.playsInline=!!this.options.playsInline;for(var E=0;Eb?(o.height=b+"px",ie(t,E)):Re(t,E),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var o=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),h=this._getAnchor();Ee(this._container,o.add(h))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,o=parseInt(lr(this._container,"marginBottom"),10)||0,h=this._container.offsetHeight+o,g=this._containerWidth,b=new wt(this._containerLeft,-h-this._containerBottom);b._add(mn(this._container));var E=t.layerPointToContainerPoint(b),q=Dt(this.options.autoPanPadding),tt=Dt(this.options.autoPanPaddingTopLeft||q),lt=Dt(this.options.autoPanPaddingBottomRight||q),kt=t.getSize(),It=0,Yt=0;E.x+g+lt.x>kt.x&&(It=E.x+g-kt.x+lt.x),E.x-It-tt.x<0&&(It=E.x-tt.x),E.y+h+lt.y>kt.y&&(Yt=E.y+h-kt.y+lt.y),E.y-Yt-tt.y<0&&(Yt=E.y-tt.y),(It||Yt)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([It,Yt]))}},_getAnchor:function(){return Dt(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Hp=function(t,o){return new jo(t,o)};Ut.mergeOptions({closePopupOnClick:!0}),Ut.include({openPopup:function(t,o,h){return this._initOverlay(jo,t,o,h).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),Cn.include({bindPopup:function(t,o){return this._popup=this._initOverlay(jo,this._popup,t,o),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){return this._popup&&(this instanceof Wn||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(!(!this._popup||!this._map)){X(t);var o=t.layer||t.target;if(this._popup._source===o&&!(o instanceof hr)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=o,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var No=jn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){jn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){jn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=jn.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",o=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=pe("div",o),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+f(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var o,h,g=this._map,b=this._container,E=g.latLngToContainerPoint(g.getCenter()),q=g.layerPointToContainerPoint(t),tt=this.options.direction,lt=b.offsetWidth,kt=b.offsetHeight,It=Dt(this.options.offset),Yt=this._getAnchor();tt==="top"?(o=lt/2,h=kt):tt==="bottom"?(o=lt/2,h=0):tt==="center"?(o=lt/2,h=kt/2):tt==="right"?(o=0,h=kt/2):tt==="left"?(o=lt,h=kt/2):q.xthis.options.maxZoom||hg?this._retainParent(b,E,q,g):!1)},_retainChildren:function(t,o,h,g){for(var b=2*t;b<2*t+2;b++)for(var E=2*o;E<2*o+2;E++){var q=new wt(b,E);q.z=h+1;var tt=this._tileCoordsToKey(q),lt=this._tiles[tt];if(lt&<.active){lt.retain=!0;continue}else lt&<.loaded&&(lt.retain=!0);h+1this.options.maxZoom||this.options.minZoom!==void 0&&b1){this._setView(t,h);return}for(var Yt=b.min.y;Yt<=b.max.y;Yt++)for(var ue=b.min.x;ue<=b.max.x;ue++){var Qe=new wt(ue,Yt);if(Qe.z=this._tileZoom,!!this._isValidTile(Qe)){var Ue=this._tiles[this._tileCoordsToKey(Qe)];Ue?Ue.current=!0:q.push(Qe)}}if(q.sort(function(on,ai){return on.distanceTo(E)-ai.distanceTo(E)}),q.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var yn=document.createDocumentFragment();for(ue=0;ueh.max.x)||!o.wrapLat&&(t.yh.max.y))return!1}if(!this.options.bounds)return!0;var g=this._tileCoordsToBounds(t);return fe(this.options.bounds).overlaps(g)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var o=this._map,h=this.getTileSize(),g=t.scaleBy(h),b=g.add(h),E=o.unproject(g,t.z),q=o.unproject(b,t.z);return[E,q]},_tileCoordsToBounds:function(t){var o=this._tileCoordsToNwSe(t),h=new Me(o[0],o[1]);return this.options.noWrap||(h=this._map.wrapLatLngBounds(h)),h},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var o=t.split(":"),h=new wt(+o[0],+o[1]);return h.z=+o[2],h},_removeTile:function(t){var o=this._tiles[t];o&&(Ce(o.el),delete this._tiles[t],this.fire("tileunload",{tile:o.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ie(t,"leaflet-tile");var o=this.getTileSize();t.style.width=o.x+"px",t.style.height=o.y+"px",t.onselectstart=v,t.onmousemove=v,Ht.ielt9&&this.options.opacity<1&&rn(t,this.options.opacity)},_addTile:function(t,o){var h=this._getTilePos(t),g=this._tileCoordsToKey(t),b=this.createTile(this._wrapCoords(t),c(this._tileReady,this,t));this._initTile(b),this.createTile.length<2&>(c(this._tileReady,this,t,null,b)),Ee(b,h),this._tiles[g]={el:b,coords:t,current:!0},o.appendChild(b),this.fire("tileloadstart",{tile:b,coords:t})},_tileReady:function(t,o,h){o&&this.fire("tileerror",{error:o,tile:h,coords:t});var g=this._tileCoordsToKey(t);h=this._tiles[g],h&&(h.loaded=+new Date,this._map._fadeAnimated?(rn(h.el,0),at(this._fadeFrame),this._fadeFrame=gt(this._updateOpacity,this)):(h.active=!0,this._pruneTiles()),o||(ie(h.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:h.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ht.ielt9||!this._map._fadeAnimated?gt(this._pruneTiles,this):setTimeout(c(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var o=new wt(this._wrapX?_(t.x,this._wrapX):t.x,this._wrapY?_(t.y,this._wrapY):t.y);return o.z=t.z,o},_pxBoundsToTileRange:function(t){var o=this.getTileSize();return new Bt(t.min.unscaleBy(o).floor(),t.max.unscaleBy(o).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Up(t){return new Ui(t)}var si=Ui.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,o){this._url=t,o=S(this,o),o.detectRetina&&Ht.retina&&o.maxZoom>0?(o.tileSize=Math.floor(o.tileSize/2),o.zoomReverse?(o.zoomOffset--,o.minZoom=Math.min(o.maxZoom,o.minZoom+1)):(o.zoomOffset++,o.maxZoom=Math.max(o.minZoom,o.maxZoom-1)),o.minZoom=Math.max(0,o.minZoom)):o.zoomReverse?o.minZoom=Math.min(o.maxZoom,o.minZoom):o.maxZoom=Math.max(o.minZoom,o.maxZoom),typeof o.subdomains=="string"&&(o.subdomains=o.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,o){return this._url===t&&o===void 0&&(o=!0),this._url=t,o||this.redraw(),this},createTile:function(t,o){var h=document.createElement("img");return ee(h,"load",c(this._tileOnLoad,this,o,h)),ee(h,"error",c(this._tileOnError,this,o,h)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(h.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(h.referrerPolicy=this.options.referrerPolicy),h.alt="",h.src=this.getTileUrl(t),h},getTileUrl:function(t){var o={r:Ht.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var h=this._globalTileRange.max.y-t.y;this.options.tms&&(o.y=h),o["-y"]=h}return O(this._url,u(o,this.options))},_tileOnLoad:function(t,o){Ht.ielt9?setTimeout(c(t,this,null,o),0):t(null,o)},_tileOnError:function(t,o,h){var g=this.options.errorTileUrl;g&&o.getAttribute("src")!==g&&(o.src=g),t(h,o)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,o=this.options.maxZoom,h=this.options.zoomReverse,g=this.options.zoomOffset;return h&&(t=o-t),t+g},_getSubdomain:function(t){var o=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[o]},_abortLoading:function(){var t,o;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(o=this._tiles[t].el,o.onload=v,o.onerror=v,!o.complete)){o.src=z;var h=this._tiles[t].coords;Ce(o),delete this._tiles[t],this.fire("tileabort",{tile:o,coords:h})}},_removeTile:function(t){var o=this._tiles[t];if(o)return o.el.setAttribute("src",z),Ui.prototype._removeTile.call(this,t)},_tileReady:function(t,o,h){if(!(!this._map||h&&h.getAttribute("src")===z))return Ui.prototype._tileReady.call(this,t,o,h)}});function Dl(t,o){return new si(t,o)}var zl=si.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,o){this._url=t;var h=u({},this.defaultWmsParams);for(var g in o)g in this.options||(h[g]=o[g]);o=S(this,o);var b=o.detectRetina&&Ht.retina?2:1,E=this.getTileSize();h.width=E.x*b,h.height=E.y*b,this.wmsParams=h},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var o=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[o]=this._crs.code,si.prototype.onAdd.call(this,t)},getTileUrl:function(t){var o=this._tileCoordsToNwSe(t),h=this._crs,g=Vt(h.project(o[0]),h.project(o[1])),b=g.min,E=g.max,q=(this._wmsVersion>=1.3&&this._crs===El?[b.y,b.x,E.y,E.x]:[b.x,b.y,E.x,E.y]).join(","),tt=si.prototype.getTileUrl.call(this,t);return tt+V(this.wmsParams,tt,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+q},setParams:function(t,o){return u(this.wmsParams,t),o||this.redraw(),this}});function $p(t,o){return new zl(t,o)}si.WMS=zl,Dl.wms=$p;var Xn=Cn.extend({options:{padding:.1},initialize:function(t){S(this,t),f(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),ie(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,o){var h=this._map.getZoomScale(o,this._zoom),g=this._map.getSize().multiplyBy(.5+this.options.padding),b=this._map.project(this._center,o),E=g.multiplyBy(-h).add(b).subtract(this._map._getNewPixelOrigin(t,o));Ht.any3d?Dn(this._container,E,h):Ee(this._container,E)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in 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,o=this._map.getSize(),h=this._map.containerPointToLayerPoint(o.multiplyBy(-t)).round();this._bounds=new Bt(h,h.add(o.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),jl=Xn.extend({options:{tolerance:0},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Xn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ee(t,"mousemove",this._onMouseMove,this),ee(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ee(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){at(this._redrawRequest),delete this._ctx,Ce(this._container),l(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var o in this._layers)t=this._layers[o],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Xn.prototype._update.call(this);var t=this._bounds,o=this._container,h=t.getSize(),g=Ht.retina?2:1;Ee(o,t.min),o.width=g*h.x,o.height=g*h.y,o.style.width=h.x+"px",o.style.height=h.y+"px",Ht.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Xn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[f(t)]=t;var o=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=o),this._drawLast=o,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var o=t._order,h=o.next,g=o.prev;h?h.prev=g:this._drawLast=g,g?g.next=h:this._drawFirst=h,delete t._order,delete this._layers[f(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(typeof t.options.dashArray=="string"){var o=t.options.dashArray.split(/[, ]+/),h=[],g,b;for(b=0;b')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Zp={_initContainer:function(){this._container=pe("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Xn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var o=t._container=$i("shape");ie(o,"leaflet-vml-shape "+(this.options.className||"")),o.coordsize="1 1",t._path=$i("path"),o.appendChild(t._path),this._updateStyle(t),this._layers[f(t)]=t},_addPath:function(t){var o=t._container;this._container.appendChild(o),t.options.interactive&&t.addInteractiveTarget(o)},_removePath:function(t){var o=t._container;Ce(o),t.removeInteractiveTarget(o),delete this._layers[f(t)]},_updateStyle:function(t){var o=t._stroke,h=t._fill,g=t.options,b=t._container;b.stroked=!!g.stroke,b.filled=!!g.fill,g.stroke?(o||(o=t._stroke=$i("stroke")),b.appendChild(o),o.weight=g.weight+"px",o.color=g.color,o.opacity=g.opacity,g.dashArray?o.dashStyle=j(g.dashArray)?g.dashArray.join(" "):g.dashArray.replace(/( *, *)/g," "):o.dashStyle="",o.endcap=g.lineCap.replace("butt","flat"),o.joinstyle=g.lineJoin):o&&(b.removeChild(o),t._stroke=null),g.fill?(h||(h=t._fill=$i("fill")),b.appendChild(h),h.color=g.fillColor||g.color,h.opacity=g.fillOpacity):h&&(b.removeChild(h),t._fill=null)},_updateCircle:function(t){var o=t._point.round(),h=Math.round(t._radius),g=Math.round(t._radiusY||h);this._setPath(t,t._empty()?"M0 0":"AL "+o.x+","+o.y+" "+h+","+g+" 0,"+65535*360)},_setPath:function(t,o){t._path.v=o},_bringToFront:function(t){Zn(t._container)},_bringToBack:function(t){qn(t._container)}},Fo=Ht.vml?$i:ht,Zi=Xn.extend({_initContainer:function(){this._container=Fo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Fo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Ce(this._container),l(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Xn.prototype._update.call(this);var t=this._bounds,o=t.getSize(),h=this._container;(!this._svgSize||!this._svgSize.equals(o))&&(this._svgSize=o,h.setAttribute("width",o.x),h.setAttribute("height",o.y)),Ee(h,t.min),h.setAttribute("viewBox",[t.min.x,t.min.y,o.x,o.y].join(" ")),this.fire("update")}},_initPath:function(t){var o=t._path=Fo("path");t.options.className&&ie(o,t.options.className),t.options.interactive&&ie(o,"leaflet-interactive"),this._updateStyle(t),this._layers[f(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Ce(t._path),t.removeInteractiveTarget(t._path),delete this._layers[f(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var o=t._path,h=t.options;o&&(h.stroke?(o.setAttribute("stroke",h.color),o.setAttribute("stroke-opacity",h.opacity),o.setAttribute("stroke-width",h.weight),o.setAttribute("stroke-linecap",h.lineCap),o.setAttribute("stroke-linejoin",h.lineJoin),h.dashArray?o.setAttribute("stroke-dasharray",h.dashArray):o.removeAttribute("stroke-dasharray"),h.dashOffset?o.setAttribute("stroke-dashoffset",h.dashOffset):o.removeAttribute("stroke-dashoffset")):o.setAttribute("stroke","none"),h.fill?(o.setAttribute("fill",h.fillColor||h.color),o.setAttribute("fill-opacity",h.fillOpacity),o.setAttribute("fill-rule",h.fillRule||"evenodd")):o.setAttribute("fill","none"))},_updatePoly:function(t,o){this._setPath(t,_t(t._parts,o))},_updateCircle:function(t){var o=t._point,h=Math.max(Math.round(t._radius),1),g=Math.max(Math.round(t._radiusY),1)||h,b="a"+h+","+g+" 0 1,0 ",E=t._empty()?"M0 0":"M"+(o.x-h)+","+o.y+b+h*2+",0 "+b+-h*2+",0 ";this._setPath(t,E)},_setPath:function(t,o){t._path.setAttribute("d",o)},_bringToFront:function(t){Zn(t._path)},_bringToBack:function(t){qn(t._path)}});Ht.vml&&Zi.include(Zp);function Fl(t){return Ht.svg||Ht.vml?new Zi(t):null}Ut.include({getRenderer:function(t){var o=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return o||(o=this._renderer=this._createRenderer()),this.hasLayer(o)||this.addLayer(o),o},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var o=this._paneRenderers[t];return o===void 0&&(o=this._createRenderer({pane:t}),this._paneRenderers[t]=o),o},_createRenderer:function(t){return this.options.preferCanvas&&Nl(t)||Fl(t)}});var Hl=ii.extend({initialize:function(t,o){ii.prototype.initialize.call(this,this._boundsToLatLngs(t),o)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=fe(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function qp(t,o){return new Hl(t,o)}Zi.create=Fo,Zi.pointsToPath=_t,Yn.geometryToLayer=Ro,Yn.coordsToLatLng=Ys,Yn.coordsToLatLngs=Bo,Yn.latLngToCoords=Xs,Yn.latLngsToCoords=Io,Yn.getFeature=oi,Yn.asFeature=Do,Ut.mergeOptions({boxZoom:!0});var Gl=gn.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(){ee(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){l(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Ce(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||t.which!==1&&t.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Or(),Rr(),this._startPoint=this._map.mouseEventToContainerPoint(t),ee(document,{contextmenu:X,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=pe("div","leaflet-zoom-box",this._container),ie(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var o=new Bt(this._point,this._startPoint),h=o.getSize();Ee(this._box,o.min),this._box.style.width=h.x+"px",this._box.style.height=h.y+"px"},_finish:function(){this._moved&&(Ce(this._box),Re(this._container,"leaflet-crosshair")),Ar(),ji(),l(document,{contextmenu:X,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(!(t.which!==1&&t.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(c(this._resetState,this),0);var o=new Me(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(o).fire("boxzoomend",{boxZoomBounds:o})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Ut.addInitHook("addHandler","boxZoom",Gl),Ut.mergeOptions({doubleClickZoom:!0});var Vl=gn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var o=this._map,h=o.getZoom(),g=o.options.zoomDelta,b=t.originalEvent.shiftKey?h-g:h+g;o.options.doubleClickZoom==="center"?o.setZoom(b):o.setZoomAround(t.containerPoint,b)}});Ut.addInitHook("addHandler","doubleClickZoom",Vl),Ut.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Ul=gn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new ur(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))}ie(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Re(this._map._container,"leaflet-grab"),Re(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 o=fe(this._map.options.maxBounds);this._offsetLimit=Vt(this._map.latLngToContainerPoint(o.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(o.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 o=this._lastTime=+new Date,h=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(h),this._times.push(o),this._prunePositions(o)}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),o=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=o.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,o){return t-(t-o)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),o=this._offsetLimit;t.xo.max.x&&(t.x=this._viscousLimit(t.x,o.max.x)),t.y>o.max.y&&(t.y=this._viscousLimit(t.y,o.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,o=Math.round(t/2),h=this._initialWorldOffset,g=this._draggable._newPos.x,b=(g-o+h)%t+o-h,E=(g+o+h)%t-o-h,q=Math.abs(b+h)0?E:-E))-o;this._delta=0,this._startTime=null,q&&(t.options.scrollWheelZoom==="center"?t.setZoom(o+q):t.setZoomAround(this._lastMousePos,o+q))}});Ut.addInitHook("addHandler","scrollWheelZoom",Zl);var Kp=600;Ut.mergeOptions({tapHold:Ht.touchNative&&Ht.safari&&Ht.mobile,tapTolerance:15});var ql=gn.extend({addHooks:function(){ee(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){l(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var o=t.touches[0];this._startPos=this._newPos=new wt(o.clientX,o.clientY),this._holdTimeout=setTimeout(c(function(){this._cancel(),this._isTapValid()&&(ee(document,"touchend",Z),ee(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",o))},this),Kp),ee(document,"touchend touchcancel contextmenu",this._cancel,this),ee(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){l(document,"touchend",Z),l(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),l(document,"touchend touchcancel contextmenu",this._cancel,this),l(document,"touchmove",this._onMove,this)},_onMove:function(t){var o=t.touches[0];this._newPos=new wt(o.clientX,o.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,o){var h=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:o.screenX,screenY:o.screenY,clientX:o.clientX,clientY:o.clientY});h._simulated=!0,o.target.dispatchEvent(h)}});Ut.addInitHook("addHandler","tapHold",ql),Ut.mergeOptions({touchZoom:Ht.touch,bounceAtZoomLimits:!0});var Kl=gn.extend({addHooks:function(){ie(this._map._container,"leaflet-touch-zoom"),ee(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Re(this._map._container,"leaflet-touch-zoom"),l(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var o=this._map;if(!(!t.touches||t.touches.length!==2||o._animatingZoom||this._zooming)){var h=o.mouseEventToContainerPoint(t.touches[0]),g=o.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=o.getSize()._divideBy(2),this._startLatLng=o.containerPointToLatLng(this._centerPoint),o.options.touchZoom!=="center"&&(this._pinchStartLatLng=o.containerPointToLatLng(h.add(g)._divideBy(2))),this._startDist=h.distanceTo(g),this._startZoom=o.getZoom(),this._moved=!1,this._zooming=!0,o._stop(),ee(document,"touchmove",this._onTouchMove,this),ee(document,"touchend touchcancel",this._onTouchEnd,this),Z(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var o=this._map,h=o.mouseEventToContainerPoint(t.touches[0]),g=o.mouseEventToContainerPoint(t.touches[1]),b=h.distanceTo(g)/this._startDist;if(this._zoom=o.getScaleZoom(b,this._startZoom),!o.options.bounceAtZoomLimits&&(this._zoomo.getMaxZoom()&&b>1)&&(this._zoom=o._limitZoom(this._zoom)),o.options.touchZoom==="center"){if(this._center=this._startLatLng,b===1)return}else{var E=h._add(g)._divideBy(2)._subtract(this._centerPoint);if(b===1&&E.x===0&&E.y===0)return;this._center=o.unproject(o.project(this._pinchStartLatLng,this._zoom).subtract(E),this._zoom)}this._moved||(o._moveStart(!0,!1),this._moved=!0),at(this._animRequest);var q=c(o._move,o,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=gt(q,this,!0),Z(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,at(this._animRequest),l(document,"touchmove",this._onTouchMove,this),l(document,"touchend touchcancel",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))}});Ut.addInitHook("addHandler","touchZoom",Kl),Ut.BoxZoom=Gl,Ut.DoubleClickZoom=Vl,Ut.Drag=Ul,Ut.Keyboard=$l,Ut.ScrollWheelZoom=Zl,Ut.TapHold=ql,Ut.TouchZoom=Kl,a.Bounds=Bt,a.Browser=Ht,a.CRS=pt,a.Canvas=jl,a.Circle=Js,a.CircleMarker=Ao,a.Class=Lt,a.Control=Pe,a.DivIcon=Il,a.DivOverlay=jn,a.DomEvent=oe,a.DomUtil=Vs,a.Draggable=ur,a.Evented=Gt,a.FeatureGroup=Wn,a.GeoJSON=Yn,a.GridLayer=Ui,a.Handler=gn,a.Icon=ri,a.ImageOverlay=zo,a.LatLng=le,a.LatLngBounds=Me,a.Layer=Cn,a.LayerGroup=ni,a.LineUtil=Mp,a.Map=Ut,a.Marker=Oo,a.Mixin=vp,a.Path=hr,a.Point=wt,a.PolyUtil=bp,a.Polygon=ii,a.Polyline=Jn,a.Popup=jo,a.PosAnimation=xe,a.Projection=Cp,a.Rectangle=Hl,a.Renderer=Xn,a.SVG=Zi,a.SVGOverlay=Bl,a.TileLayer=si,a.Tooltip=No,a.Transformation=ce,a.Util=bt,a.VideoOverlay=Rl,a.bind=c,a.bounds=Vt,a.canvas=Nl,a.circle=Bp,a.circleMarker=Rp,a.control=Ve,a.divIcon=Vp,a.extend=u,a.featureGroup=Tp,a.geoJSON=Al,a.geoJson=zp,a.gridLayer=Up,a.icon=Op,a.imageOverlay=jp,a.latLng=Ft,a.latLngBounds=fe,a.layerGroup=Ep,a.map=ke,a.marker=Ap,a.point=Dt,a.polygon=Dp,a.polyline=Ip,a.popup=Hp,a.rectangle=qp,a.setOptions=S,a.stamp=f,a.svg=Fl,a.svgOverlay=Fp,a.tileLayer=Dl,a.tooltip=Gp,a.transformation=H,a.version=s,a.videoOverlay=Np;var Wp=window.L;a.noConflict=function(){return window.L=Wp,this},window.L=a})})(Ha,Ha.exports);var ow=Ha.exports;const sn=iw(ow),sw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",aw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",lw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",cw={className:"bg-map-asserted rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},uw={className:"bg-map-collection-object rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},mp={className:"bg-map-georeference rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},hw={className:"bg-map-type-material map-point-marker rounded-full",iconSize:[8,8],iconAnchor:[4,4]},pw=Object.freeze(Object.defineProperty({__proto__:null,AssertedDistribution:cw,CollectionObject:uw,Georeference:mp,TypeMaterial:hw},Symbol.toStringTag,{value:"Module"})),dw={color:"rgb(var(--color-map-aggregate))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},fw={color:"rgb(var(--color-map-asserted))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},mw={color:"rgb(var(--color-map-collection-object))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},gw={color:"rgb(var(--color-map-type-material))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},pu=Object.freeze(Object.defineProperty({__proto__:null,Aggregate:dw,AssertedDistribution:fw,CollectionObject:mw,TypeMaterial:gw},Symbol.toStringTag,{value:"Module"})),du=["TypeMaterial","CollectionObject","AssertedDistribution","Georeference","Aggregate"],fu={allowEditing:!1,allowRemoval:!1,allowCutting:!1,allowRotation:!1,draggable:!1};function mu(e){const n=e.map(a=>a.type);return n.sort((a,s)=>du.indexOf(a)-du.indexOf(s)),n[0]}const _w=e=>({onEachFeature:(n,a)=>{const s=(n.properties.base||[]).map(i=>i.label).filter(Boolean);if(!s.length)return;const u=` +
+
    + ${s.map(i=>` +
  • + ${i} +
  • + `).join("")} +
+
`;a.pm.setOptions(fu),a.pm.disable(),a.bindPopup(u)},pointToLayer:(n,a)=>{const s=mu(n.properties.base),u=pw[s]||mp,i=e.marker(a,{icon:e.divIcon(u)});return i.pm.setOptions(fu),i},style:n=>{var s;const a=mu((s=n.properties)==null?void 0:s.base);if(pu[a])return pu[a]}}),{map_tile_server:yw,map_tile_attribution:vw,map_tiles:bw}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};function ww(e,n){return Object.fromEntries((bw||[{label:"tile",server:yw,attribution:vw}]).map(({server:s,attribution:u,label:i})=>[i,e.tileLayer(s,{...n,attribution:u})]))}(()=>{var e={9705:(s,u,i)=>{var c=i(1540);function p(f){var m=[1/0,1/0,-1/0,-1/0];return c.coordEach(f,function(_){m[0]>_[0]&&(m[0]=_[0]),m[1]>_[1]&&(m[1]=_[1]),m[2]<_[0]&&(m[2]=_[0]),m[3]<_[1]&&(m[3]=_[1])}),m}p.default=p,u.Z=p},4102:(s,u)=>{function i(P,O,j){j===void 0&&(j={});var T={type:"Feature"};return(j.id===0||j.id)&&(T.id=j.id),j.bbox&&(T.bbox=j.bbox),T.properties=O||{},T.geometry=P,T}function c(P,O,j){if(j===void 0&&(j={}),!P)throw new Error("coordinates is required");if(!Array.isArray(P))throw new Error("coordinates must be an Array");if(P.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!V(P[0])||!V(P[1]))throw new Error("coordinates must contain numbers");return i({type:"Point",coordinates:P},O,j)}function p(P,O,j){j===void 0&&(j={});for(var T=0,z=P;T=0))throw new Error("precision must be a positive number");var j=Math.pow(10,O||0);return Math.round(P*j)/j},u.radiansToLength=A,u.lengthToRadians=C,u.lengthToDegrees=function(P,O){return S(C(P,O))},u.bearingToAzimuth=function(P){var O=P%360;return O<0&&(O+=360),O},u.radiansToDegrees=S,u.degreesToRadians=function(P){return P%360*Math.PI/180},u.convertLength=function(P,O,j){if(O===void 0&&(O="kilometers"),j===void 0&&(j="kilometers"),!(P>=0))throw new Error("length must be a positive number");return A(C(P,O),j)},u.convertArea=function(P,O,j){if(O===void 0&&(O="meters"),j===void 0&&(j="kilometers"),!(P>=0))throw new Error("area must be a positive number");var T=u.areaFactors[O];if(!T)throw new Error("invalid original units");var z=u.areaFactors[j];if(!z)throw new Error("invalid final units");return P/T*z},u.isNumber=V,u.isObject=function(P){return!!P&&P.constructor===Object},u.validateBBox=function(P){if(!P)throw new Error("bbox is required");if(!Array.isArray(P))throw new Error("bbox must be an Array");if(P.length!==4&&P.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");P.forEach(function(O){if(!V(O))throw new Error("bbox must only contain numbers")})},u.validateId=function(P){if(!P)throw new Error("id is required");if(["string","number"].indexOf(typeof P)===-1)throw new Error("id must be a number or a string")}},1540:(s,u,i)=>{Object.defineProperty(u,"__esModule",{value:!0});var c=i(4102);function p(C,S,V){if(C!==null)for(var P,O,j,T,z,W,ot,Y,st=0,ct=0,gt=C.type,at=gt==="FeatureCollection",bt=gt==="Feature",Lt=at?C.features.length:1,Et=0;EtW||at>ot||bt>Y)return z=st,W=P,ot=at,Y=bt,void(j=0);var Lt=c.lineString([z,st],V.properties);if(S(Lt,P,O,bt,j)===!1)return!1;j++,z=st})!==!1&&void 0}}})}function A(C,S){if(!C)throw new Error("geojson is required");v(C,function(V,P,O){if(V.geometry!==null){var j=V.geometry.type,T=V.geometry.coordinates;switch(j){case"LineString":if(S(V,P,O,0,0)===!1)return!1;break;case"Polygon":for(var z=0;z{i(7107);var c=i(2492),p=i.n(c);const f=JSON.parse('{"tooltips":{"placeMarker":"Click to place marker","firstVertex":"Click to place first vertex","continueLine":"Click to continue drawing","finishLine":"Click any existing marker to finish","finishPoly":"Click first marker to finish","finishRect":"Click to finish","startCircle":"Click to place circle center","finishCircle":"Click to finish circle","placeCircleMarker":"Click to place circle marker","placeText":"Click to place text"},"actions":{"finish":"Finish","cancel":"Cancel","removeLastVertex":"Remove Last Vertex"},"buttonTitles":{"drawMarkerButton":"Draw Marker","drawPolyButton":"Draw Polygons","drawLineButton":"Draw Polyline","drawCircleButton":"Draw Circle","drawRectButton":"Draw Rectangle","editButton":"Edit Layers","dragButton":"Drag Layers","cutButton":"Cut Layers","deleteButton":"Remove Layers","drawCircleMarkerButton":"Draw Circle Marker","snappingButton":"Snap dragged marker to other layers and vertices","pinningButton":"Pin shared vertices together","rotateButton":"Rotate Layers","drawTextButton":"Draw Text","scaleButton":"Scale Layers","autoTracingButton":"Auto trace Line"},"measurements":{"totalLength":"Length","segmentLength":"Segment length","area":"Area","radius":"Radius","perimeter":"Perimeter","height":"Height","width":"Width","coordinates":"Position","coordinatesMarker":"Position Marker"}}'),m=JSON.parse('{"tooltips":{"placeMarker":"Platziere den Marker mit Klick","firstVertex":"Platziere den ersten Marker mit Klick","continueLine":"Klicke, um weiter zu zeichnen","finishLine":"Beende mit Klick auf existierenden Marker","finishPoly":"Beende mit Klick auf ersten Marker","finishRect":"Beende mit Klick","startCircle":"Platziere das Kreiszentrum mit Klick","finishCircle":"Beende den Kreis mit Klick","placeCircleMarker":"Platziere den Kreismarker mit Klick","placeText":"Platziere den Text mit Klick"},"actions":{"finish":"Beenden","cancel":"Abbrechen","removeLastVertex":"Letzten Vertex löschen"},"buttonTitles":{"drawMarkerButton":"Marker zeichnen","drawPolyButton":"Polygon zeichnen","drawLineButton":"Polyline zeichnen","drawCircleButton":"Kreis zeichnen","drawRectButton":"Rechteck zeichnen","editButton":"Layer editieren","dragButton":"Layer bewegen","cutButton":"Layer schneiden","deleteButton":"Layer löschen","drawCircleMarkerButton":"Kreismarker zeichnen","snappingButton":"Bewegter Layer an andere Layer oder Vertexe einhacken","pinningButton":"Vertexe an der gleichen Position verknüpfen","rotateButton":"Layer drehen","drawTextButton":"Text zeichnen","scaleButton":"Layer skalieren","autoTracingButton":"Linie automatisch nachzeichen"},"measurements":{"totalLength":"Länge","segmentLength":"Segment Länge","area":"Fläche","radius":"Radius","perimeter":"Umfang","height":"Höhe","width":"Breite","coordinates":"Position","coordinatesMarker":"Position Marker"}}'),_=JSON.parse(`{"tooltips":{"placeMarker":"Clicca per posizionare un Marker","firstVertex":"Clicca per posizionare il primo vertice","continueLine":"Clicca per continuare a disegnare","finishLine":"Clicca qualsiasi marker esistente per terminare","finishPoly":"Clicca il primo marker per terminare","finishRect":"Clicca per terminare","startCircle":"Clicca per posizionare il punto centrale del cerchio","finishCircle":"Clicca per terminare il cerchio","placeCircleMarker":"Clicca per posizionare un Marker del cherchio"},"actions":{"finish":"Termina","cancel":"Annulla","removeLastVertex":"Rimuovi l'ultimo vertice"},"buttonTitles":{"drawMarkerButton":"Disegna Marker","drawPolyButton":"Disegna Poligoni","drawLineButton":"Disegna Polilinea","drawCircleButton":"Disegna Cerchio","drawRectButton":"Disegna Rettangolo","editButton":"Modifica Livelli","dragButton":"Sposta Livelli","cutButton":"Ritaglia Livelli","deleteButton":"Elimina Livelli","drawCircleMarkerButton":"Disegna Marker del Cerchio","snappingButton":"Snap ha trascinato il pennarello su altri strati e vertici","pinningButton":"Pin condiviso vertici insieme"}}`),v=JSON.parse('{"tooltips":{"placeMarker":"Klik untuk menempatkan marker","firstVertex":"Klik untuk menempatkan vertex pertama","continueLine":"Klik untuk meneruskan digitasi","finishLine":"Klik pada sembarang marker yang ada untuk mengakhiri","finishPoly":"Klik marker pertama untuk mengakhiri","finishRect":"Klik untuk mengakhiri","startCircle":"Klik untuk menempatkan titik pusat lingkaran","finishCircle":"Klik untuk mengakhiri lingkaran","placeCircleMarker":"Klik untuk menempatkan penanda lingkarann"},"actions":{"finish":"Selesai","cancel":"Batal","removeLastVertex":"Hilangkan Vertex Terakhir"},"buttonTitles":{"drawMarkerButton":"Digitasi Marker","drawPolyButton":"Digitasi Polygon","drawLineButton":"Digitasi Polyline","drawCircleButton":"Digitasi Lingkaran","drawRectButton":"Digitasi Segi Empat","editButton":"Edit Layer","dragButton":"Geser Layer","cutButton":"Potong Layer","deleteButton":"Hilangkan Layer","drawCircleMarkerButton":"Digitasi Penanda Lingkaran","snappingButton":"Jepretkan penanda yang ditarik ke lapisan dan simpul lain","pinningButton":"Sematkan simpul bersama bersama"}}'),M=JSON.parse('{"tooltips":{"placeMarker":"Adaugă un punct","firstVertex":"Apasă aici pentru a adăuga primul Vertex","continueLine":"Apasă aici pentru a continua desenul","finishLine":"Apasă pe orice obiect pentru a finisa desenul","finishPoly":"Apasă pe primul obiect pentru a finisa","finishRect":"Apasă pentru a finisa","startCircle":"Apasă pentru a desena un cerc","finishCircle":"Apasă pentru a finisa un cerc","placeCircleMarker":"Adaugă un punct"},"actions":{"finish":"Termină","cancel":"Anulează","removeLastVertex":"Șterge ultimul Vertex"},"buttonTitles":{"drawMarkerButton":"Adaugă o bulină","drawPolyButton":"Desenează un poligon","drawLineButton":"Desenează o linie","drawCircleButton":"Desenează un cerc","drawRectButton":"Desenează un dreptunghi","editButton":"Editează straturile","dragButton":"Mută straturile","cutButton":"Taie straturile","deleteButton":"Șterge straturile","drawCircleMarkerButton":"Desenează marcatorul cercului","snappingButton":"Fixați marcatorul glisat pe alte straturi și vârfuri","pinningButton":"Fixați vârfurile partajate împreună"}}'),A=JSON.parse('{"tooltips":{"placeMarker":"Нажмите, чтобы нанести маркер","firstVertex":"Нажмите, чтобы нанести первый объект","continueLine":"Нажмите, чтобы продолжить рисование","finishLine":"Нажмите любой существующий маркер для завершения","finishPoly":"Выберите первую точку, чтобы закончить","finishRect":"Нажмите, чтобы закончить","startCircle":"Нажмите, чтобы добавить центр круга","finishCircle":"Нажмите, чтобы задать радиус","placeCircleMarker":"Нажмите, чтобы нанести круговой маркер"},"actions":{"finish":"Завершить","cancel":"Отменить","removeLastVertex":"Отменить последнее действие"},"buttonTitles":{"drawMarkerButton":"Добавить маркер","drawPolyButton":"Рисовать полигон","drawLineButton":"Рисовать кривую","drawCircleButton":"Рисовать круг","drawRectButton":"Рисовать прямоугольник","editButton":"Редактировать слой","dragButton":"Перенести слой","cutButton":"Вырезать слой","deleteButton":"Удалить слой","drawCircleMarkerButton":"Добавить круговой маркер","snappingButton":"Привязать перетаскиваемый маркер к другим слоям и вершинам","pinningButton":"Связать общие точки вместе"}}'),C=JSON.parse('{"tooltips":{"placeMarker":"Presiona para colocar un marcador","firstVertex":"Presiona para colocar el primer vértice","continueLine":"Presiona para continuar dibujando","finishLine":"Presiona cualquier marcador existente para finalizar","finishPoly":"Presiona el primer marcador para finalizar","finishRect":"Presiona para finalizar","startCircle":"Presiona para colocar el centro del círculo","finishCircle":"Presiona para finalizar el círculo","placeCircleMarker":"Presiona para colocar un marcador de círculo"},"actions":{"finish":"Finalizar","cancel":"Cancelar","removeLastVertex":"Eliminar último vértice"},"buttonTitles":{"drawMarkerButton":"Dibujar Marcador","drawPolyButton":"Dibujar Polígono","drawLineButton":"Dibujar Línea","drawCircleButton":"Dibujar Círculo","drawRectButton":"Dibujar Rectángulo","editButton":"Editar Capas","dragButton":"Arrastrar Capas","cutButton":"Cortar Capas","deleteButton":"Eliminar Capas","drawCircleMarkerButton":"Dibujar Marcador de Círculo","snappingButton":"El marcador de Snap arrastrado a otras capas y vértices","pinningButton":"Fijar juntos los vértices compartidos"}}'),S=JSON.parse('{"tooltips":{"placeMarker":"Klik om een marker te plaatsen","firstVertex":"Klik om het eerste punt te plaatsen","continueLine":"Klik om te blijven tekenen","finishLine":"Klik op een bestaand punt om te beëindigen","finishPoly":"Klik op het eerst punt om te beëindigen","finishRect":"Klik om te beëindigen","startCircle":"Klik om het middelpunt te plaatsen","finishCircle":"Klik om de cirkel te beëindigen","placeCircleMarker":"Klik om een marker te plaatsen"},"actions":{"finish":"Bewaar","cancel":"Annuleer","removeLastVertex":"Verwijder laatste punt"},"buttonTitles":{"drawMarkerButton":"Plaats Marker","drawPolyButton":"Teken een vlak","drawLineButton":"Teken een lijn","drawCircleButton":"Teken een cirkel","drawRectButton":"Teken een vierkant","editButton":"Bewerk","dragButton":"Verplaats","cutButton":"Knip","deleteButton":"Verwijder","drawCircleMarkerButton":"Plaats Marker","snappingButton":"Snap gesleepte marker naar andere lagen en hoekpunten","pinningButton":"Speld gedeelde hoekpunten samen"}}'),V=JSON.parse(`{"tooltips":{"placeMarker":"Cliquez pour placer un marqueur","firstVertex":"Cliquez pour placer le premier sommet","continueLine":"Cliquez pour continuer à dessiner","finishLine":"Cliquez sur n'importe quel marqueur pour terminer","finishPoly":"Cliquez sur le premier marqueur pour terminer","finishRect":"Cliquez pour terminer","startCircle":"Cliquez pour placer le centre du cercle","finishCircle":"Cliquez pour finir le cercle","placeCircleMarker":"Cliquez pour placer le marqueur circulaire"},"actions":{"finish":"Terminer","cancel":"Annuler","removeLastVertex":"Retirer le dernier sommet"},"buttonTitles":{"drawMarkerButton":"Placer des marqueurs","drawPolyButton":"Dessiner des polygones","drawLineButton":"Dessiner des polylignes","drawCircleButton":"Dessiner un cercle","drawRectButton":"Dessiner un rectangle","editButton":"Éditer des calques","dragButton":"Déplacer des calques","cutButton":"Couper des calques","deleteButton":"Supprimer des calques","drawCircleMarkerButton":"Dessiner un marqueur circulaire","snappingButton":"Glisser le marqueur vers d'autres couches et sommets","pinningButton":"Épingler ensemble les sommets partagés","rotateButton":"Tourner des calques"}}`),P=JSON.parse('{"tooltips":{"placeMarker":"单击放置标记","firstVertex":"单击放置首个顶点","continueLine":"单击继续绘制","finishLine":"单击任何存在的标记以完成","finishPoly":"单击第一个标记以完成","finishRect":"单击完成","startCircle":"单击放置圆心","finishCircle":"单击完成圆形","placeCircleMarker":"点击放置圆形标记"},"actions":{"finish":"完成","cancel":"取消","removeLastVertex":"移除最后的顶点"},"buttonTitles":{"drawMarkerButton":"绘制标记","drawPolyButton":"绘制多边形","drawLineButton":"绘制线段","drawCircleButton":"绘制圆形","drawRectButton":"绘制长方形","editButton":"编辑图层","dragButton":"拖拽图层","cutButton":"剪切图层","deleteButton":"删除图层","drawCircleMarkerButton":"画圆圈标记","snappingButton":"将拖动的标记捕捉到其他图层和顶点","pinningButton":"将共享顶点固定在一起"}}'),O=JSON.parse('{"tooltips":{"placeMarker":"單擊放置標記","firstVertex":"單擊放置第一個頂點","continueLine":"單擊繼續繪製","finishLine":"單擊任何存在的標記以完成","finishPoly":"單擊第一個標記以完成","finishRect":"單擊完成","startCircle":"單擊放置圓心","finishCircle":"單擊完成圓形","placeCircleMarker":"點擊放置圓形標記"},"actions":{"finish":"完成","cancel":"取消","removeLastVertex":"移除最後一個頂點"},"buttonTitles":{"drawMarkerButton":"放置標記","drawPolyButton":"繪製多邊形","drawLineButton":"繪製線段","drawCircleButton":"繪製圓形","drawRectButton":"繪製方形","editButton":"編輯圖形","dragButton":"移動圖形","cutButton":"裁切圖形","deleteButton":"刪除圖形","drawCircleMarkerButton":"畫圓圈標記","snappingButton":"將拖動的標記對齊到其他圖層和頂點","pinningButton":"將共享頂點固定在一起"}}'),j={en:f,de:m,it:_,id:v,ro:M,ru:A,es:C,nl:S,fr:V,pt_br:JSON.parse('{"tooltips":{"placeMarker":"Clique para posicionar o marcador","firstVertex":"Clique para posicionar o primeiro vértice","continueLine":"Clique para continuar desenhando","finishLine":"Clique em qualquer marcador existente para finalizar","finishPoly":"Clique no primeiro ponto para fechar o polígono","finishRect":"Clique para finalizar","startCircle":"Clique para posicionar o centro do círculo","finishCircle":"Clique para fechar o círculo","placeCircleMarker":"Clique para posicionar o marcador circular"},"actions":{"finish":"Finalizar","cancel":"Cancelar","removeLastVertex":"Remover último vértice"},"buttonTitles":{"drawMarkerButton":"Desenhar um marcador","drawPolyButton":"Desenhar um polígono","drawLineButton":"Desenhar uma polilinha","drawCircleButton":"Desenhar um círculo","drawRectButton":"Desenhar um retângulo","editButton":"Editar camada(s)","dragButton":"Mover camada(s)","cutButton":"Recortar camada(s)","deleteButton":"Remover camada(s)","drawCircleMarkerButton":"Marcador de círculos de desenho","snappingButton":"Marcador arrastado para outras camadas e vértices","pinningButton":"Vértices compartilhados de pinos juntos"}}'),zh:P,zh_tw:O,pl:JSON.parse('{"tooltips":{"placeMarker":"Kliknij, aby ustawić znacznik","firstVertex":"Kliknij, aby ustawić pierwszy punkt","continueLine":"Kliknij, aby kontynuować rysowanie","finishLine":"Kliknij dowolny punkt, aby zakończyć","finishPoly":"Kliknij pierwszy punkt, aby zakończyć","finishRect":"Kliknij, aby zakończyć","startCircle":"Kliknij, aby ustawić środek koła","finishCircle":"Kliknij, aby zakończyć rysowanie koła","placeCircleMarker":"Kliknij, aby ustawić okrągły znacznik"},"actions":{"finish":"Zakończ","cancel":"Anuluj","removeLastVertex":"Usuń ostatni punkt"},"buttonTitles":{"drawMarkerButton":"Narysuj znacznik","drawPolyButton":"Narysuj wielokąt","drawLineButton":"Narysuj ścieżkę","drawCircleButton":"Narysuj koło","drawRectButton":"Narysuj prostokąt","editButton":"Edytuj","dragButton":"Przesuń","cutButton":"Wytnij","deleteButton":"Usuń","drawCircleMarkerButton":"Narysuj okrągły znacznik","snappingButton":"Snap przeciągnięty marker na inne warstwy i wierzchołki","pinningButton":"Sworzeń wspólne wierzchołki razem"}}'),sv:JSON.parse('{"tooltips":{"placeMarker":"Klicka för att placera markör","firstVertex":"Klicka för att placera första hörnet","continueLine":"Klicka för att fortsätta rita","finishLine":"Klicka på en existerande punkt för att slutföra","finishPoly":"Klicka på den första punkten för att slutföra","finishRect":"Klicka för att slutföra","startCircle":"Klicka för att placera cirkelns centrum","finishCircle":"Klicka för att slutföra cirkeln","placeCircleMarker":"Klicka för att placera cirkelmarkör"},"actions":{"finish":"Slutför","cancel":"Avbryt","removeLastVertex":"Ta bort sista hörnet"},"buttonTitles":{"drawMarkerButton":"Rita Markör","drawPolyButton":"Rita Polygoner","drawLineButton":"Rita Linje","drawCircleButton":"Rita Cirkel","drawRectButton":"Rita Rektangel","editButton":"Redigera Lager","dragButton":"Dra Lager","cutButton":"Klipp i Lager","deleteButton":"Ta bort Lager","drawCircleMarkerButton":"Rita Cirkelmarkör","snappingButton":"Snäpp dra markören till andra lager och hörn","pinningButton":"Fäst delade hörn tillsammans"}}'),el:JSON.parse('{"tooltips":{"placeMarker":"Κάντε κλικ για να τοποθετήσετε Δείκτη","firstVertex":"Κάντε κλικ για να τοποθετήσετε το πρώτο σημείο","continueLine":"Κάντε κλικ για να συνεχίσετε να σχεδιάζετε","finishLine":"Κάντε κλικ σε οποιονδήποτε υπάρχον σημείο για να ολοκληρωθεί","finishPoly":"Κάντε κλικ στο πρώτο σημείο για να τελειώσετε","finishRect":"Κάντε κλικ για να τελειώσετε","startCircle":"Κάντε κλικ για να τοποθετήσετε κέντρο Κύκλου","finishCircle":"Κάντε κλικ για να ολοκληρώσετε τον Κύκλο","placeCircleMarker":"Κάντε κλικ για να τοποθετήσετε Κυκλικό Δείκτη"},"actions":{"finish":"Τέλος","cancel":"Ακύρωση","removeLastVertex":"Κατάργηση τελευταίου σημείου"},"buttonTitles":{"drawMarkerButton":"Σχεδίαση Δείκτη","drawPolyButton":"Σχεδίαση Πολυγώνου","drawLineButton":"Σχεδίαση Γραμμής","drawCircleButton":"Σχεδίαση Κύκλου","drawRectButton":"Σχεδίαση Ορθογωνίου","editButton":"Επεξεργασία Επιπέδων","dragButton":"Μεταφορά Επιπέδων","cutButton":"Αποκοπή Επιπέδων","deleteButton":"Κατάργηση Επιπέδων","drawCircleMarkerButton":"Σχεδίαση Κυκλικού Δείκτη","snappingButton":"Προσκόλληση του Δείκτη μεταφοράς σε άλλα Επίπεδα και Κορυφές","pinningButton":"Περικοπή κοινών κορυφών μαζί"}}'),hu:JSON.parse('{"tooltips":{"placeMarker":"Kattintson a jelölő elhelyezéséhez","firstVertex":"Kattintson az első pont elhelyezéséhez","continueLine":"Kattintson a következő pont elhelyezéséhez","finishLine":"A befejezéshez kattintson egy meglévő pontra","finishPoly":"A befejezéshez kattintson az első pontra","finishRect":"Kattintson a befejezéshez","startCircle":"Kattintson a kör középpontjának elhelyezéséhez","finishCircle":"Kattintson a kör befejezéséhez","placeCircleMarker":"Kattintson a körjelölő elhelyezéséhez"},"actions":{"finish":"Befejezés","cancel":"Mégse","removeLastVertex":"Utolsó pont eltávolítása"},"buttonTitles":{"drawMarkerButton":"Jelölő rajzolása","drawPolyButton":"Poligon rajzolása","drawLineButton":"Vonal rajzolása","drawCircleButton":"Kör rajzolása","drawRectButton":"Négyzet rajzolása","editButton":"Elemek szerkesztése","dragButton":"Elemek mozgatása","cutButton":"Elemek vágása","deleteButton":"Elemek törlése","drawCircleMarkerButton":"Kör jelölő rajzolása","snappingButton":"Kapcsolja a jelöltőt másik elemhez vagy ponthoz","pinningButton":"Közös pontok összekötése"}}'),da:JSON.parse('{"tooltips":{"placeMarker":"Tryk for at placere en markør","firstVertex":"Tryk for at placere det første punkt","continueLine":"Tryk for at fortsætte linjen","finishLine":"Tryk på et eksisterende punkt for at afslutte","finishPoly":"Tryk på det første punkt for at afslutte","finishRect":"Tryk for at afslutte","startCircle":"Tryk for at placere cirklens center","finishCircle":"Tryk for at afslutte cirklen","placeCircleMarker":"Tryk for at placere en cirkelmarkør"},"actions":{"finish":"Afslut","cancel":"Afbryd","removeLastVertex":"Fjern sidste punkt"},"buttonTitles":{"drawMarkerButton":"Placer markør","drawPolyButton":"Tegn polygon","drawLineButton":"Tegn linje","drawCircleButton":"Tegn cirkel","drawRectButton":"Tegn firkant","editButton":"Rediger","dragButton":"Træk","cutButton":"Klip","deleteButton":"Fjern","drawCircleMarkerButton":"Tegn cirkelmarkør","snappingButton":"Fastgør trukket markør til andre elementer","pinningButton":"Sammenlæg delte elementer"}}'),no:JSON.parse('{"tooltips":{"placeMarker":"Klikk for å plassere punkt","firstVertex":"Klikk for å plassere første punkt","continueLine":"Klikk for å tegne videre","finishLine":"Klikk på et eksisterende punkt for å fullføre","finishPoly":"Klikk første punkt for å fullføre","finishRect":"Klikk for å fullføre","startCircle":"Klikk for å sette sirkel midtpunkt","finishCircle":"Klikk for å fullføre sirkel","placeCircleMarker":"Klikk for å plassere sirkel"},"actions":{"finish":"Fullfør","cancel":"Kanseller","removeLastVertex":"Fjern forrige punkt"},"buttonTitles":{"drawMarkerButton":"Tegn Punkt","drawPolyButton":"Tegn Flate","drawLineButton":"Tegn Linje","drawCircleButton":"Tegn Sirkel","drawRectButton":"Tegn rektangel","editButton":"Rediger Objekter","dragButton":"Dra Objekter","cutButton":"Kutt Objekter","deleteButton":"Fjern Objekter","drawCircleMarkerButton":"Tegn sirkel-punkt","snappingButton":"Fest dratt punkt til andre objekter og punkt","pinningButton":"Pin delte punkt sammen"}}'),fa:JSON.parse('{"tooltips":{"placeMarker":"کلیک برای جانمایی نشان","firstVertex":"کلیک برای رسم اولین رأس","continueLine":"کلیک برای ادامه رسم","finishLine":"کلیک روی هر نشان موجود برای پایان","finishPoly":"کلیک روی اولین نشان برای پایان","finishRect":"کلیک برای پایان","startCircle":"کلیک برای رسم مرکز دایره","finishCircle":"کلیک برای پایان رسم دایره","placeCircleMarker":"کلیک برای رسم نشان دایره","placeText":"کلیک برای نوشتن متن"},"actions":{"finish":"پایان","cancel":"لفو","removeLastVertex":"حذف آخرین رأس"},"buttonTitles":{"drawMarkerButton":"درج نشان","drawPolyButton":"رسم چندضلعی","drawLineButton":"رسم خط","drawCircleButton":"رسم دایره","drawRectButton":"رسم چهارضلعی","editButton":"ویرایش لایه‌ها","dragButton":"جابجایی لایه‌ها","cutButton":"برش لایه‌ها","deleteButton":"حذف لایه‌ها","drawCircleMarkerButton":"رسم نشان دایره","snappingButton":"نشانگر را به لایه‌ها و رئوس دیگر بکشید","pinningButton":"رئوس مشترک را با هم پین کنید","rotateButton":"چرخش لایه","drawTextButton":"رسم متن"}}'),ua:JSON.parse(`{"tooltips":{"placeMarker":"Натисніть, щоб нанести маркер","firstVertex":"Натисніть, щоб нанести першу вершину","continueLine":"Натисніть, щоб продовжити малювати","finishLine":"Натисніть будь-який існуючий маркер для завершення","finishPoly":"Виберіть перший маркер, щоб завершити","finishRect":"Натисніть, щоб завершити","startCircle":"Натисніть, щоб додати центр кола","finishCircle":"Натисніть, щоб завершити коло","placeCircleMarker":"Натисніть, щоб нанести круговий маркер"},"actions":{"finish":"Завершити","cancel":"Відмінити","removeLastVertex":"Видалити попередню вершину"},"buttonTitles":{"drawMarkerButton":"Малювати маркер","drawPolyButton":"Малювати полігон","drawLineButton":"Малювати криву","drawCircleButton":"Малювати коло","drawRectButton":"Малювати прямокутник","editButton":"Редагувати шари","dragButton":"Перенести шари","cutButton":"Вирізати шари","deleteButton":"Видалити шари","drawCircleMarkerButton":"Малювати круговий маркер","snappingButton":"Прив’язати перетягнутий маркер до інших шарів та вершин","pinningButton":"Зв'язати спільні вершини разом"}}`),tr:JSON.parse('{"tooltips":{"placeMarker":"İşaretçi yerleştirmek için tıklayın","firstVertex":"İlk tepe noktasını yerleştirmek için tıklayın","continueLine":"Çizime devam etmek için tıklayın","finishLine":"Bitirmek için mevcut herhangi bir işaretçiyi tıklayın","finishPoly":"Bitirmek için ilk işaretçiyi tıklayın","finishRect":"Bitirmek için tıklayın","startCircle":"Daire merkezine yerleştirmek için tıklayın","finishCircle":"Daireyi bitirmek için tıklayın","placeCircleMarker":"Daire işaretçisi yerleştirmek için tıklayın"},"actions":{"finish":"Bitir","cancel":"İptal","removeLastVertex":"Son köşeyi kaldır"},"buttonTitles":{"drawMarkerButton":"Çizim İşaretçisi","drawPolyButton":"Çokgenler çiz","drawLineButton":"Çoklu çizgi çiz","drawCircleButton":"Çember çiz","drawRectButton":"Dikdörtgen çiz","editButton":"Katmanları düzenle","dragButton":"Katmanları sürükle","cutButton":"Katmanları kes","deleteButton":"Katmanları kaldır","drawCircleMarkerButton":"Daire işaretçisi çiz","snappingButton":"Sürüklenen işaretçiyi diğer katmanlara ve köşelere yapıştır","pinningButton":"Paylaşılan köşeleri birbirine sabitle"}}'),cz:JSON.parse('{"tooltips":{"placeMarker":"Kliknutím vytvoříte značku","firstVertex":"Kliknutím vytvoříte první objekt","continueLine":"Kliknutím pokračujte v kreslení","finishLine":"Kliknutí na libovolnou existující značku pro dokončení","finishPoly":"Vyberte první bod pro dokončení","finishRect":"Klikněte pro dokončení","startCircle":"Kliknutím přidejte střed kruhu","finishCircle":"Нажмите, чтобы задать радиус","placeCircleMarker":"Kliknutím nastavte poloměr"},"actions":{"finish":"Dokončit","cancel":"Zrušit","removeLastVertex":"Zrušit poslední akci"},"buttonTitles":{"drawMarkerButton":"Přidat značku","drawPolyButton":"Nakreslit polygon","drawLineButton":"Nakreslit křivku","drawCircleButton":"Nakreslit kruh","drawRectButton":"Nakreslit obdélník","editButton":"Upravit vrstvu","dragButton":"Přeneste vrstvu","cutButton":"Vyjmout vrstvu","deleteButton":"Smazat vrstvu","drawCircleMarkerButton":"Přidat kruhovou značku","snappingButton":"Navázat tažnou značku k dalším vrstvám a vrcholům","pinningButton":"Spojit společné body dohromady"}}'),ja:JSON.parse('{"tooltips":{"placeMarker":"クリックしてマーカーを配置","firstVertex":"クリックして最初の頂点を配置","continueLine":"クリックして描画を続ける","finishLine":"任意のマーカーをクリックして終了","finishPoly":"最初のマーカーをクリックして終了","finishRect":"クリックして終了","startCircle":"クリックして円の中心を配置","finishCircle":"クリックして円の描画を終了","placeCircleMarker":"クリックして円マーカーを配置","placeText":"クリックしてテキストを配置"},"actions":{"finish":"終了","cancel":"キャンセル","removeLastVertex":"最後の頂点を削除"},"buttonTitles":{"drawMarkerButton":"マーカーを描画","drawPolyButton":"ポリゴンを描画","drawLineButton":"折れ線を描画","drawCircleButton":"円を描画","drawRectButton":"矩形を描画","editButton":"レイヤーを編集","dragButton":"レイヤーをドラッグ","cutButton":"レイヤーを切り取り","deleteButton":"レイヤーを削除","drawCircleMarkerButton":"円マーカーを描画","snappingButton":"ドラッグしたマーカーを他のレイヤーや頂点にスナップする","pinningButton":"共有する頂点を同時に動かす","rotateButton":"レイヤーを回転","drawTextButton":"テキストを描画"}}'),fi:JSON.parse('{"tooltips":{"placeMarker":"Klikkaa asettaaksesi merkin","firstVertex":"Klikkaa asettaakseni ensimmäisen osuuden","continueLine":"Klikkaa jatkaaksesi piirtämistä","finishLine":"Klikkaa olemassa olevaa merkkiä lopettaaksesi","finishPoly":"Klikkaa ensimmäistä merkkiä lopettaaksesi","finishRect":"Klikkaa lopettaaksesi","startCircle":"Klikkaa asettaaksesi ympyrän keskipisteen","finishCircle":"Klikkaa lopettaaksesi ympyrän","placeCircleMarker":"Klikkaa asettaaksesi ympyrämerkin","placeText":"Klikkaa asettaaksesi tekstin"},"actions":{"finish":"Valmis","cancel":"Peruuta","removeLastVertex":"Poista viimeinen osuus"},"buttonTitles":{"drawMarkerButton":"Piirrä merkkejä","drawPolyButton":"Piirrä monikulmioita","drawLineButton":"Piirrä viivoja","drawCircleButton":"Piirrä ympyrä","drawRectButton":"Piirrä neliskulmioita","editButton":"Muokkaa","dragButton":"Siirrä","cutButton":"Leikkaa","deleteButton":"Poista","drawCircleMarkerButton":"Piirrä ympyrämerkki","snappingButton":"Kiinnitä siirrettävä merkki toisiin muotoihin","pinningButton":"Kiinnitä jaetut muodot yhteen","rotateButton":"Käännä","drawTextButton":"Piirrä tekstiä"}}'),ko:JSON.parse('{"tooltips":{"placeMarker":"마커 위치를 클릭하세요","firstVertex":"첫번째 꼭지점 위치을 클릭하세요","continueLine":"계속 그리려면 클릭하세요","finishLine":"끝내려면 기존 마커를 클릭하세요","finishPoly":"끝내려면 처음 마커를 클릭하세요","finishRect":"끝내려면 클릭하세요","startCircle":"원의 중심이 될 위치를 클릭하세요","finishCircle":"원을 끝내려면 클릭하세요","placeCircleMarker":"원 마커 위치를 클릭하세요","placeText":"텍스트 위치를 클릭하세요"},"actions":{"finish":"끝내기","cancel":"취소","removeLastVertex":"마지막 꼭지점 제거"},"buttonTitles":{"drawMarkerButton":"마커 그리기","drawPolyButton":"다각형 그리기","drawLineButton":"다각선 그리기","drawCircleButton":"원 그리기","drawRectButton":"직사각형 그리기","editButton":"레이어 편집하기","dragButton":"레이어 끌기","cutButton":"레이어 자르기","deleteButton":"레이어 제거하기","drawCircleMarkerButton":"원 마커 그리기","snappingButton":"잡아끈 마커를 다른 레이어 및 꼭지점에 들러붙게 하기","pinningButton":"공유 꼭지점을 함께 찍기","rotateButton":"레이어 회전하기","drawTextButton":"텍스트 그리기"}}')};function T(r,l){var d=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),d.push.apply(d,y)}return d}function z(r){for(var l=1;l0&&arguments[0]!==void 0?arguments[0]:this.globalOptions;this.globalEditModeEnabled()?this.disableGlobalEditMode():this.enableGlobalEditMode(r)},handleLayerAdditionInGlobalEditMode:function(){var r=this._addedLayers;for(var l in this._addedLayers={},r){var d=r[l];this._isRelevantForEdit(d)&&this.globalEditModeEnabled()&&d.pm.enable(z({},this.globalOptions))}},_layerAdded:function(r){var l=r.layer;this._addedLayers[L.stamp(l)]=l},_isRelevantForEdit:function(r){return r.pm&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.allowEditing}},Y={_globalDragModeEnabled:!1,enableGlobalDragMode:function(){var r=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!0,this._addedLayersDrag={},r.forEach(function(l){l.pm.enableLayerDrag()}),this.throttledReInitDrag||(this.throttledReInitDrag=L.Util.throttle(this.reinitGlobalDragMode,100,this)),this.map.on("layeradd",this._layerAddedDrag,this),this.map.on("layeradd",this.throttledReInitDrag,this),this.Toolbar.toggleButton("dragMode",this.globalDragModeEnabled()),this._fireGlobalDragModeToggled(!0)},disableGlobalDragMode:function(){var r=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!1,r.forEach(function(l){l.pm.disableLayerDrag()}),this.map.off("layeradd",this._layerAddedDrag,this),this.map.off("layeradd",this.throttledReInitDrag,this),this.Toolbar.toggleButton("dragMode",this.globalDragModeEnabled()),this._fireGlobalDragModeToggled(!1)},globalDragModeEnabled:function(){return!!this._globalDragModeEnabled},toggleGlobalDragMode:function(){this.globalDragModeEnabled()?this.disableGlobalDragMode():this.enableGlobalDragMode()},reinitGlobalDragMode:function(){var r=this._addedLayersDrag;for(var l in this._addedLayersDrag={},r){var d=r[l];this._isRelevantForDrag(d)&&this.globalDragModeEnabled()&&d.pm.enableLayerDrag()}},_layerAddedDrag:function(r){var l=r.layer;this._addedLayersDrag[L.stamp(l)]=l},_isRelevantForDrag:function(r){return r.pm&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.draggable}},st={_globalRemovalModeEnabled:!1,enableGlobalRemovalMode:function(){var r=this;this._globalRemovalModeEnabled=!0,this.map.eachLayer(function(l){r._isRelevantForRemoval(l)&&(l.pm.disable(),l.on("click",r.removeLayer,r))}),this.throttledReInitRemoval||(this.throttledReInitRemoval=L.Util.throttle(this.reinitGlobalRemovalMode,100,this)),this.map.on("layeradd",this.throttledReInitRemoval,this),this.Toolbar.toggleButton("removalMode",this.globalRemovalModeEnabled()),this._fireGlobalRemovalModeToggled(!0)},disableGlobalRemovalMode:function(){var r=this;this._globalRemovalModeEnabled=!1,this.map.eachLayer(function(l){l.off("click",r.removeLayer,r)}),this.map.off("layeradd",this.throttledReInitRemoval,this),this.Toolbar.toggleButton("removalMode",this.globalRemovalModeEnabled()),this._fireGlobalRemovalModeToggled(!1)},globalRemovalEnabled:function(){return this.globalRemovalModeEnabled()},globalRemovalModeEnabled:function(){return!!this._globalRemovalModeEnabled},toggleGlobalRemovalMode:function(){this.globalRemovalModeEnabled()?this.disableGlobalRemovalMode():this.enableGlobalRemovalMode()},reinitGlobalRemovalMode:function(r){var l=r.layer;this._isRelevantForRemoval(l)&&this.globalRemovalModeEnabled()&&(this.disableGlobalRemovalMode(),this.enableGlobalRemovalMode())},removeLayer:function(r){var l=r.target;this._isRelevantForRemoval(l)&&!l.pm.dragging()&&(l.removeFrom(this.map.pm._getContainingLayer()),l.remove(),l instanceof L.LayerGroup?(this._fireRemoveLayerGroup(l),this._fireRemoveLayerGroup(this.map,l)):(l.pm._fireRemove(l),l.pm._fireRemove(this.map,l)))},_isRelevantForRemoval:function(r){return r.pm&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.allowRemoval}},ct={_globalRotateModeEnabled:!1,enableGlobalRotateMode:function(){var r=this;this._globalRotateModeEnabled=!0,L.PM.Utils.findLayers(this.map).filter(function(l){return l instanceof L.Polyline}).forEach(function(l){r._isRelevantForRotate(l)&&l.pm.enableRotate()}),this.throttledReInitRotate||(this.throttledReInitRotate=L.Util.throttle(this._reinitGlobalRotateMode,100,this)),this.map.on("layeradd",this.throttledReInitRotate,this),this.Toolbar.toggleButton("rotateMode",this.globalRotateModeEnabled()),this._fireGlobalRotateModeToggled()},disableGlobalRotateMode:function(){this._globalRotateModeEnabled=!1,L.PM.Utils.findLayers(this.map).filter(function(r){return r instanceof L.Polyline}).forEach(function(r){r.pm.disableRotate()}),this.map.off("layeradd",this.throttledReInitRotate,this),this.Toolbar.toggleButton("rotateMode",this.globalRotateModeEnabled()),this._fireGlobalRotateModeToggled()},globalRotateModeEnabled:function(){return!!this._globalRotateModeEnabled},toggleGlobalRotateMode:function(){this.globalRotateModeEnabled()?this.disableGlobalRotateMode():this.enableGlobalRotateMode()},_reinitGlobalRotateMode:function(r){var l=r.layer;this._isRelevantForRotate(l)&&this.globalRotateModeEnabled()&&(this.disableGlobalRotateMode(),this.enableGlobalRotateMode())},_isRelevantForRotate:function(r){return r.pm&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.allowRotation}};function gt(r,l){var d=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),d.push.apply(d,y)}return d}function at(r){for(var l=1;l0&&arguments[0]!==void 0?arguments[0]:"Draw",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:drawstart",{shape:this._shape,workingLayer:this._layer},r,l)},_fireDrawEnd:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Draw",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:drawend",{shape:this._shape},r,l)},_fireCreate:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Draw",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._map,"pm:create",{shape:this._shape,marker:r,layer:r},l,d)},_fireCenterPlaced:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Draw",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=r==="Draw"?this._layer:void 0,y=r!=="Draw"?this._layer:void 0;this.__fire(this._layer,"pm:centerplaced",{shape:this._shape,workingLayer:d,layer:y,latlng:this._layer.getLatLng()},r,l)},_fireCut:function(r,l,d){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Draw",x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(r,"pm:cut",{shape:this._shape,layer:l,originalLayer:d},y,x)},_fireEdit:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._layer,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(r,"pm:edit",{layer:this._layer,shape:this.getShape()},l,d)},_fireEnable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:enable",{layer:this._layer,shape:this.getShape()},r,l)},_fireDisable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:disable",{layer:this._layer,shape:this.getShape()},r,l)},_fireUpdate:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:update",{layer:this._layer,shape:this.getShape()},r,l)},_fireMarkerDragStart:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:markerdragstart",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:l},d,y)},_fireMarkerDrag:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:markerdrag",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:l},d,y)},_fireMarkerDragEnd:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Edit",x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this._layer,"pm:markerdragend",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:l,intersectionReset:d},y,x)},_fireDragStart:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragstart",{layer:this._layer,shape:this.getShape()},r,l)},_fireDrag:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:drag",at(at({},r),{},{shape:this.getShape()}),l,d)},_fireDragEnd:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragend",{layer:this._layer,shape:this.getShape()},r,l)},_fireDragEnable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragenable",{layer:this._layer,shape:this.getShape()},r,l)},_fireDragDisable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragdisable",{layer:this._layer,shape:this.getShape()},r,l)},_fireRemove:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:remove",{layer:l,shape:this.getShape()},d,y)},_fireVertexAdded:function(r,l,d){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Edit",x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this._layer,"pm:vertexadded",{layer:this._layer,workingLayer:this._layer,marker:r,indexPath:l,latlng:d,shape:this.getShape()},y,x)},_fireVertexRemoved:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:vertexremoved",{layer:this._layer,marker:r,indexPath:l,shape:this.getShape()},d,y)},_fireVertexClick:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:vertexclick",{layer:this._layer,markerEvent:r,indexPath:l,shape:this.getShape()},d,y)},_fireIntersect:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:intersect",{layer:this._layer,intersection:r,shape:this.getShape()},l,d)},_fireLayerReset:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:layerreset",{layer:this._layer,markerEvent:r,indexPath:l,shape:this.getShape()},d,y)},_fireChange:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:change",{layer:this._layer,latlngs:r,shape:this.getShape()},l,d)},_fireTextChange:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:textchange",{layer:this._layer,text:r,shape:this.getShape()},l,d)},_fireTextFocus:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:textfocus",{layer:this._layer,shape:this.getShape()},r,l)},_fireTextBlur:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:textblur",{layer:this._layer,shape:this.getShape()},r,l)},_fireSnapDrag:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Snapping",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:snapdrag",l,d,y)},_fireSnap:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Snapping",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:snap",l,d,y)},_fireUnsnap:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Snapping",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:unsnap",l,d,y)},_fireRotationEnable:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Rotation",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:rotateenable",{layer:this._layer,helpLayer:this._rotatePoly,shape:this.getShape()},d,y)},_fireRotationDisable:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Rotation",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(r,"pm:rotatedisable",{layer:this._layer,shape:this.getShape()},l,d)},_fireRotationStart:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Rotation",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:rotatestart",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:this._startAngle,originLatLngs:l},d,y)},_fireRotation:function(r,l,d){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this._rotationLayer,x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"Rotation",B=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.__fire(r,"pm:rotate",{layer:y,helpLayer:this._layer,startAngle:this._startAngle,angle:y.pm.getAngle(),angleDiff:l,oldLatLngs:d,newLatLngs:y.getLatLngs()},x,B)},_fireRotationEnd:function(r,l,d){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Rotation",x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(r,"pm:rotateend",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:l,angle:this._rotationLayer.pm.getAngle(),originLatLngs:d,newLatLngs:this._rotationLayer.getLatLngs()},y,x)},_fireActionClick:function(r,l,d){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Toolbar",x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this._map,"pm:actionclick",{text:r.text,action:r,btnName:l,button:d},y,x)},_fireButtonClick:function(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Toolbar",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._map,"pm:buttonclick",{btnName:r,button:l},d,y)},_fireLangChange:function(r,l,d,y){var x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"Global",B=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.__fire(this.map,"pm:langchange",{oldLang:r,activeLang:l,fallback:d,translations:y},x,B)},_fireGlobalDragModeToggled:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globaldragmodetoggled",{enabled:r,map:this.map},l,d)},_fireGlobalEditModeToggled:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globaleditmodetoggled",{enabled:r,map:this.map},l,d)},_fireGlobalRemovalModeToggled:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globalremovalmodetoggled",{enabled:r,map:this.map},l,d)},_fireGlobalCutModeToggled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Global",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:globalcutmodetoggled",{enabled:!!this._enabled,map:this._map},r,l)},_fireGlobalDrawModeToggled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Global",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:globaldrawmodetoggled",{enabled:this._enabled,shape:this._shape,map:this._map},r,l)},_fireGlobalRotateModeToggled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Global",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this.map,"pm:globalrotatemodetoggled",{enabled:this.globalRotateModeEnabled(),map:this.map},r,l)},_fireRemoveLayerGroup:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:remove",{layer:l,shape:void 0},d,y)},_fireKeyeventEvent:function(r,l,d){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Global",x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this.map,"pm:keyevent",{event:r,eventType:l,focusOn:d},y,x)},__fire:function(r,l,d,y){var x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};d=p()(d,x,{source:y}),L.PM.Utils._fireEvent(r,l,d)}};const Et=Lt,Ct={_lastEvents:{keydown:void 0,keyup:void 0,current:void 0},_initKeyListener:function(r){this.map=r,L.DomEvent.on(document,"keydown keyup",this._onKeyListener,this),L.DomEvent.on(window,"blur",this._onBlur,this)},_onKeyListener:function(r){var l="document";this.map.getContainer().contains(r.target)&&(l="map");var d={event:r,eventType:r.type,focusOn:l};this._lastEvents[r.type]=d,this._lastEvents.current=d,this.map.pm._fireKeyeventEvent(r,r.type,l)},_onBlur:function(r){r.altKey=!1;var l={event:r,eventType:r.type,focusOn:"document"};this._lastEvents[r.type]=l,this._lastEvents.current=l},getLastKeyEvent:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"current";return this._lastEvents[r]},isShiftKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.shiftKey},isAltKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.altKey},isCtrlKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.ctrlKey},isMetaKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.metaKey},getPressedKey:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.key}};var Gt=i(7361),wt=i.n(Gt),de=i(8721),Dt=i.n(de);function Bt(r){var l=L.PM.activeLang;return Dt()(j,l)||(l="en"),wt()(j[l],r)}function Vt(r){for(var l=0;l1e-12;)y=Math.cos(2*ke+Kn),Hi=Kn,Kn=mt/($*So)+Br*(x=Math.sin(Kn))*(y+Br/4*((B=Math.cos(Kn))*(2*y*y-1)-Br/6*y*(4*x*x-3)*(4*y*y-3)));var Eo=Ut*x-xe*B*qt,Us=Math.atan2(Ut*B+xe*x*qt,(1-G)*Math.sqrt(Pe*Pe+Eo*Eo)),Ir=G/16*Ve*(4+G*(4-3*Ve)),$s=Z+180*(Math.atan2(x*Rt,xe*B-Ut*x*qt)-(1-Ir)*G*Pe*(Kn+Ir*x*(y+Ir*B*(2*y*y-1))))/ut,gn=180*Us/ut;return L.latLng($s,gn)}function le(r,l,d,y){for(var x,B,N=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],$=[],G=0;G180?ke-360:ke<-180?ke+360:ke,L.latLng([Ut*Z,ke])}(l,x,y)}function pt(r,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"asc";if(!l||Object.keys(l).length===0)return function(G,Z){return G-Z};for(var y,x=Object.keys(l),B=x.length-1,N={};B>=0;)y=x[B],N[y.toLowerCase()]=l[y],B-=1;function $(G){return G instanceof L.Marker?"Marker":G instanceof L.Circle?"Circle":G instanceof L.CircleMarker?"CircleMarker":G instanceof L.Rectangle?"Rectangle":G instanceof L.Polygon?"Polygon":G instanceof L.Polyline?"Line":void 0}return function(G,Z){var X,mt;if(r==="instanceofShape"){if(X=$(G.layer).toLowerCase(),mt=$(Z.layer).toLowerCase(),!X||!mt)return 0}else{if(!G.hasOwnProperty(r)||!Z.hasOwnProperty(r))return 0;X=G[r].toLowerCase(),mt=Z[r].toLowerCase()}var ut=X in N?N[X]:Number.MAX_SAFE_INTEGER,Mt=mt in N?N[mt]:Number.MAX_SAFE_INTEGER,Rt=0;return utMt&&(Rt=1),d==="desc"?-1*Rt:Rt}}function Pt(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.getLatLngs();return r instanceof L.Polygon?L.polygon(l).getLatLngs():L.polyline(l).getLatLngs()}function St(r,l){var d,y;if((d=l.options.crs)!==null&&d!==void 0&&(y=d.projection)!==null&&y!==void 0&&y.MAX_LATITUDE){var x,B,N=(x=l.options.crs)===null||x===void 0||(B=x.projection)===null||B===void 0?void 0:B.MAX_LATITUDE;r.lat=Math.max(Math.min(N,r.lat),-N)}return r}function zt(r){return r.options.renderer||r._map&&(r._map._getPaneRenderer(r.options.pane)||r._map.options.renderer||r._map._renderer)||r._renderer}const ce=L.Class.extend({includes:[ot,Y,st,ct,Et],initialize:function(r){this.map=r,this.Draw=new L.PM.Draw(r),this.Toolbar=new L.PM.Toolbar(r),this.Keyboard=Ct,this.globalOptions={snappable:!0,layerGroup:void 0,snappingOrder:["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],panes:{vertexPane:"markerPane",layerPane:"overlayPane",markerPane:"markerPane"},draggable:!0},this.Keyboard._initKeyListener(r)},setLang:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"en",l=arguments.length>1?arguments[1]:void 0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"en",y=L.PM.activeLang;l&&(j[r]=p()(j[d],l)),L.PM.activeLang=r,this.map.pm.Toolbar.reinit(),this._fireLangChange(y,r,d,j[r])},addControls:function(r){this.Toolbar.addControls(r)},removeControls:function(){this.Toolbar.removeControls()},toggleControls:function(){this.Toolbar.toggleControls()},controlsVisible:function(){return this.Toolbar.isVisible},enableDraw:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Polygon",l=arguments.length>1?arguments[1]:void 0;r==="Poly"&&(r="Polygon"),this.Draw.enable(r,l)},disableDraw:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Polygon";r==="Poly"&&(r="Polygon"),this.Draw.disable(r)},setPathOptions:function(r){var l=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=d.ignoreShapes||[],x=d.merge||!1;this.map.pm.Draw.shapes.forEach(function(B){y.indexOf(B)===-1&&l.map.pm.Draw[B].setPathOptions(r,x)})},getGlobalOptions:function(){return this.globalOptions},setGlobalOptions:function(r){var l=this,d=p()(this.globalOptions,r),y=!1;this.map.pm.Draw.CircleMarker.enabled()&&!!this.map.pm.Draw.CircleMarker.options.editable!=!!d.editable&&(this.map.pm.Draw.CircleMarker.disable(),y=!0),this.map.pm.Draw.shapes.forEach(function(x){l.map.pm.Draw[x].setOptions(d)}),y&&this.map.pm.Draw.CircleMarker.enable(),L.PM.Utils.findLayers(this.map).forEach(function(x){x.pm.setOptions(d)}),this.map.fire("pm:globaloptionschanged"),this.globalOptions=d,this.applyGlobalOptions()},applyGlobalOptions:function(){L.PM.Utils.findLayers(this.map).forEach(function(r){r.pm.enabled()&&r.pm.applyOptions()})},globalDrawModeEnabled:function(){return!!this.Draw.getActiveShape()},globalCutModeEnabled:function(){return!!this.Draw.Cut.enabled()},enableGlobalCutMode:function(r){return this.Draw.Cut.enable(r)},toggleGlobalCutMode:function(r){return this.Draw.Cut.toggle(r)},disableGlobalCutMode:function(){return this.Draw.Cut.disable()},getGeomanLayers:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],l=L.PM.Utils.findLayers(this.map);if(!r)return l;var d=L.featureGroup();return d._pmTempLayer=!0,l.forEach(function(y){d.addLayer(y)}),d},getGeomanDrawLayers:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],l=L.PM.Utils.findLayers(this.map).filter(function(y){return y._drawnByGeoman===!0});if(!r)return l;var d=L.featureGroup();return d._pmTempLayer=!0,l.forEach(function(y){d.addLayer(y)}),d},_getContainingLayer:function(){return this.globalOptions.layerGroup&&this.globalOptions.layerGroup instanceof L.LayerGroup?this.globalOptions.layerGroup:this.map},_isCRSSimple:function(){return this.map.options.crs===L.CRS.Simple},_touchEventCounter:0,_addTouchEvents:function(r){this._touchEventCounter===0&&(L.DomEvent.on(r,"touchmove",this._canvasTouchMove,this),L.DomEvent.on(r,"touchstart touchend touchcancel",this._canvasTouchClick,this)),this._touchEventCounter+=1},_removeTouchEvents:function(r){this._touchEventCounter===1&&(L.DomEvent.off(r,"touchmove",this._canvasTouchMove,this),L.DomEvent.off(r,"touchstart touchend touchcancel",this._canvasTouchClick,this)),this._touchEventCounter=this._touchEventCounter<=1?0:this._touchEventCounter-1},_canvasTouchMove:function(r){zt(this.map)._onMouseMove(this._createMouseEvent("mousemove",r))},_canvasTouchClick:function(r){var l="";r.type==="touchstart"||r.type==="pointerdown"?l="mousedown":r.type==="touchend"||r.type==="pointerup"?l="mouseup":r.type!=="touchcancel"&&r.type!=="pointercancel"||(l="mouseup"),l&&zt(this.map)._onClick(this._createMouseEvent(l,r))},_createMouseEvent:function(r,l){var d,y=l.touches[0]||l.changedTouches[0];try{d=new MouseEvent(r,{bubbles:l.bubbles,cancelable:l.cancelable,view:l.view,detail:y.detail,screenX:y.screenX,screenY:y.screenY,clientX:y.clientX,clientY:y.clientY,ctrlKey:l.ctrlKey,altKey:l.altKey,shiftKey:l.shiftKey,metaKey:l.metaKey,button:l.button,relatedTarget:l.relatedTarget})}catch{(d=document.createEvent("MouseEvents")).initMouseEvent(r,l.bubbles,l.cancelable,l.view,y.detail,y.screenX,y.screenY,y.clientX,y.clientY,l.ctrlKey,l.altKey,l.shiftKey,l.metaKey,l.button,l.relatedTarget)}return d}}),H=L.Control.extend({includes:[Et],options:{position:"topleft",disableByOtherButtons:!0},initialize:function(r){this._button=L.Util.extend({},this.options,r)},onAdd:function(r){return this._map=r,this._map.pm.Toolbar.options.oneBlock?this._container=this._map.pm.Toolbar._createContainer(this.options.position):this._button.tool==="edit"?this._container=this._map.pm.Toolbar.editContainer:this._button.tool==="options"?this._container=this._map.pm.Toolbar.optionsContainer:this._button.tool==="custom"?this._container=this._map.pm.Toolbar.customContainer:this._container=this._map.pm.Toolbar.drawContainer,this.buttonsDomNode=this._makeButton(this._button),this._container.appendChild(this.buttonsDomNode),this._container},onRemove:function(){return this.buttonsDomNode.remove(),this._container},getText:function(){return this._button.text},getIconUrl:function(){return this._button.iconUrl},destroy:function(){this._button={},this._update()},toggle:function(r){return this._button.toggleStatus=typeof r=="boolean"?r:!this._button.toggleStatus,this._applyStyleClasses(),this._button.toggleStatus},toggled:function(){return this._button.toggleStatus},onCreate:function(){this.toggle(!1)},disable:function(){this.toggle(!1),this._button.disabled=!0,this._updateDisabled()},enable:function(){this._button.disabled=!1,this._updateDisabled()},_triggerClick:function(r){r&&r.preventDefault(),this._button.disabled||(this._button.onClick(r,{button:this,event:r}),this._clicked(r),this._button.afterClick(r,{button:this,event:r}))},_makeButton:function(r){var l=this,d=this.options.position.indexOf("right")>-1?"pos-right":"",y=L.DomUtil.create("div","button-container ".concat(d),this._container);r.title&&y.setAttribute("title",r.title);var x=L.DomUtil.create("a","leaflet-buttons-control-button",y);x.setAttribute("role","button"),x.setAttribute("tabindex","0"),x.href="#";var B=L.DomUtil.create("div","leaflet-pm-actions-container ".concat(d),y),N=r.actions,$={cancel:{text:Bt("actions.cancel"),onClick:function(){this._triggerClick()}},finishMode:{text:Bt("actions.finish"),onClick:function(){this._triggerClick()}},removeLastVertex:{text:Bt("actions.removeLastVertex"),onClick:function(){this._map.pm.Draw[r.jsClass]._removeLastVertex()}},finish:{text:Bt("actions.finish"),onClick:function(Z){this._map.pm.Draw[r.jsClass]._finishShape(Z)}}};N.forEach(function(Z){var X,mt=typeof Z=="string"?Z:Z.name;if($[mt])X=$[mt];else{if(!Z.text)return;X=Z}var ut=L.DomUtil.create("a","leaflet-pm-action ".concat(d," action-").concat(mt),B);ut.setAttribute("role","button"),ut.setAttribute("tabindex","0"),ut.href="#",ut.innerHTML=X.text,L.DomEvent.disableClickPropagation(ut),L.DomEvent.on(ut,"click",L.DomEvent.stop),!r.disabled&&X.onClick&&(L.DomEvent.addListener(ut,"click",function(Mt){Mt.preventDefault();var Rt="",qt=l._map.pm.Toolbar.buttons;for(var oe in qt)if(qt[oe]._button===r){Rt=oe;break}l._fireActionClick(X,Rt,r)},l),L.DomEvent.addListener(ut,"click",X.onClick,l))}),r.toggleStatus&&L.DomUtil.addClass(y,"active");var G=L.DomUtil.create("div","control-icon",x);return r.iconUrl&&G.setAttribute("src",r.iconUrl),r.className&&L.DomUtil.addClass(G,r.className),L.DomEvent.disableClickPropagation(x),L.DomEvent.on(x,"click",L.DomEvent.stop),r.disabled||(L.DomEvent.addListener(x,"click",this._onBtnClick,this),L.DomEvent.addListener(x,"click",this._triggerClick,this)),r.disabled&&(L.DomUtil.addClass(x,"pm-disabled"),x.setAttribute("aria-disabled","true")),y},_applyStyleClasses:function(){this._container&&(this._button.toggleStatus&&this._button.cssToggle!==!1?(L.DomUtil.addClass(this.buttonsDomNode,"active"),L.DomUtil.addClass(this._container,"activeChild")):(L.DomUtil.removeClass(this.buttonsDomNode,"active"),L.DomUtil.removeClass(this._container,"activeChild")))},_onBtnClick:function(){this._button.disableOtherButtons&&this._map.pm.Toolbar.triggerClickOnToggledButtons(this);var r="",l=this._map.pm.Toolbar.buttons;for(var d in l)if(l[d]._button===this._button){r=d;break}this._fireButtonClick(r,this._button)},_clicked:function(){this._button.doToggle&&this.toggle()},_updateDisabled:function(){if(this._container){var r="pm-disabled",l=this.buttonsDomNode.children[0];this._button.disabled?(L.DomUtil.addClass(l,r),l.setAttribute("aria-disabled","true"),L.DomEvent.off(l,"click",this._triggerClick,this),L.DomEvent.off(l,"click",this._onBtnClick,this)):(L.DomUtil.removeClass(l,r),l.setAttribute("aria-disabled","false"),L.DomEvent.on(l,"click",this._triggerClick,this),L.DomEvent.on(l,"click",this._onBtnClick,this))}}});function K(r,l){var d=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),d.push.apply(d,y)}return d}function J(r){for(var l=1;l0&&arguments[0]!==void 0?arguments[0]:this.options;typeof r.editPolygon<"u"&&(r.editMode=r.editPolygon),typeof r.deleteLayer<"u"&&(r.removalMode=r.deleteLayer),L.Util.setOptions(this,r),this.applyIconStyle(),this.isVisible=!0,this._showHideButtons()},applyIconStyle:function(){var r=this.getButtons(),l={geomanIcons:{drawMarker:"control-icon leaflet-pm-icon-marker",drawPolyline:"control-icon leaflet-pm-icon-polyline",drawRectangle:"control-icon leaflet-pm-icon-rectangle",drawPolygon:"control-icon leaflet-pm-icon-polygon",drawCircle:"control-icon leaflet-pm-icon-circle",drawCircleMarker:"control-icon leaflet-pm-icon-circle-marker",editMode:"control-icon leaflet-pm-icon-edit",dragMode:"control-icon leaflet-pm-icon-drag",cutPolygon:"control-icon leaflet-pm-icon-cut",removalMode:"control-icon leaflet-pm-icon-delete",drawText:"control-icon leaflet-pm-icon-text"}};for(var d in r){var y=r[d];L.Util.setOptions(y,{className:l.geomanIcons[d]})}},removeControls:function(){var r=this.getButtons();for(var l in r)r[l].remove();this.isVisible=!1},toggleControls:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options;this.isVisible?this.removeControls():this.addControls(r)},_addButton:function(r,l){return this.buttons[r]=l,this.options[r]=this.options[r]||!1,this.buttons[r]},triggerClickOnToggledButtons:function(r){for(var l in this.buttons){var d=this.buttons[l];d._button.disableByOtherButtons&&d!==r&&d.toggled()&&d._triggerClick()}},toggleButton:function(r,l){var d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return r==="editPolygon"&&(r="editMode"),r==="deleteLayer"&&(r="removalMode"),d&&this.triggerClickOnToggledButtons(this.buttons[r]),!!this.buttons[r]&&this.buttons[r].toggle(l)},_defineButtons:function(){var r=this,l={className:"control-icon leaflet-pm-icon-marker",title:Bt("buttonTitles.drawMarkerButton"),jsClass:"Marker",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},d={title:Bt("buttonTitles.drawPolyButton"),className:"control-icon leaflet-pm-icon-polygon",jsClass:"Polygon",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},y={className:"control-icon leaflet-pm-icon-polyline",title:Bt("buttonTitles.drawLineButton"),jsClass:"Line",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},x={title:Bt("buttonTitles.drawCircleButton"),className:"control-icon leaflet-pm-icon-circle",jsClass:"Circle",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},B={title:Bt("buttonTitles.drawCircleMarkerButton"),className:"control-icon leaflet-pm-icon-circle-marker",jsClass:"CircleMarker",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},N={title:Bt("buttonTitles.drawRectButton"),className:"control-icon leaflet-pm-icon-rectangle",jsClass:"Rectangle",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},$={title:Bt("buttonTitles.editButton"),className:"control-icon leaflet-pm-icon-edit",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalEditMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},G={title:Bt("buttonTitles.dragButton"),className:"control-icon leaflet-pm-icon-drag",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalDragMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},Z={title:Bt("buttonTitles.cutButton"),className:"control-icon leaflet-pm-icon-cut",jsClass:"Cut",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle({snappable:!0,cursorMarker:!0,allowSelfIntersection:!1})},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finish","removeLastVertex","cancel"]},X={title:Bt("buttonTitles.deleteButton"),className:"control-icon leaflet-pm-icon-delete",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalRemovalMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},mt={title:Bt("buttonTitles.rotateButton"),className:"control-icon leaflet-pm-icon-rotate",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalRotateMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},ut={className:"control-icon leaflet-pm-icon-text",title:Bt("buttonTitles.drawTextButton"),jsClass:"Text",onClick:function(){},afterClick:function(Mt,Rt){r.map.pm.Draw[Rt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]};this._addButton("drawMarker",new L.Control.PMButton(l)),this._addButton("drawPolyline",new L.Control.PMButton(y)),this._addButton("drawRectangle",new L.Control.PMButton(N)),this._addButton("drawPolygon",new L.Control.PMButton(d)),this._addButton("drawCircle",new L.Control.PMButton(x)),this._addButton("drawCircleMarker",new L.Control.PMButton(B)),this._addButton("drawText",new L.Control.PMButton(ut)),this._addButton("editMode",new L.Control.PMButton($)),this._addButton("dragMode",new L.Control.PMButton(G)),this._addButton("cutPolygon",new L.Control.PMButton(Z)),this._addButton("removalMode",new L.Control.PMButton(X)),this._addButton("rotateMode",new L.Control.PMButton(mt))},_showHideButtons:function(){if(this.isVisible){this.removeControls(),this.isVisible=!0;var r=this.getButtons(),l=[];for(var d in this.options.drawControls===!1&&(l=l.concat(Object.keys(r).filter(function(x){return!r[x]._button.tool}))),this.options.editControls===!1&&(l=l.concat(Object.keys(r).filter(function(x){return r[x]._button.tool==="edit"}))),this.options.optionsControls===!1&&(l=l.concat(Object.keys(r).filter(function(x){return r[x]._button.tool==="options"}))),this.options.customControls===!1&&(l=l.concat(Object.keys(r).filter(function(x){return r[x]._button.tool==="custom"}))),r)if(this.options[d]&&l.indexOf(d)===-1){var y=r[d]._button.tool;y||(y="draw"),r[d].setPosition(this._getBtnPosition(y)),r[d].addTo(this.map)}}},_getBtnPosition:function(r){return this.options.positions&&this.options.positions[r]?this.options.positions[r]:this.options.position},setBlockPosition:function(r,l){this.options.positions[r]=l,this._showHideButtons(),this.changeControlOrder()},getBlockPositions:function(){return this.options.positions},copyDrawControl:function(r,l){if(!l)throw new TypeError("Button has no name");_t(l)!=="object"&&(l={name:l});var d=this._btnNameMapping(r);if(!l.name)throw new TypeError("Button has no name");if(this.buttons[l.name])throw new TypeError("Button with this name already exists");var y=this.map.pm.Draw.createNewDrawInstance(l.name,d);return l=J(J({},this.buttons[d]._button),l),{drawInstance:y,control:this.createCustomControl(l)}},createCustomControl:function(r){var l,d;if(!r.name)throw new TypeError("Button has no name");if(this.buttons[r.name])throw new TypeError("Button with this name already exists");r.onClick||(r.onClick=function(){}),r.afterClick||(r.afterClick=function(){}),r.toggle!==!1&&(r.toggle=!0),r.block&&(r.block=r.block.toLowerCase()),r.block&&r.block!=="draw"||(r.block=""),r.className?r.className.indexOf("control-icon")===-1&&(r.className="control-icon ".concat(r.className)):r.className="control-icon";var y={tool:r.block,className:r.className,title:r.title||"",jsClass:r.name,onClick:r.onClick,afterClick:r.afterClick,doToggle:r.toggle,toggleStatus:!1,disableOtherButtons:(l=r.disableOtherButtons)===null||l===void 0||l,disableByOtherButtons:(d=r.disableByOtherButtons)===null||d===void 0||d,cssToggle:r.toggle,position:this.options.position,actions:r.actions||[],disabled:!!r.disabled};this.options[r.name]!==!1&&(this.options[r.name]=!0);var x=this._addButton(r.name,new L.Control.PMButton(y));return this.changeControlOrder(),x},changeControlOrder:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=this._shapeMapping(),d=[];r.forEach(function(Z){l[Z]?d.push(l[Z]):d.push(Z)});var y=this.getButtons(),x={};d.forEach(function(Z){y[Z]&&(x[Z]=y[Z])});var B=Object.keys(y).filter(function(Z){return!y[Z]._button.tool});B.forEach(function(Z){d.indexOf(Z)===-1&&(x[Z]=y[Z])});var N=Object.keys(y).filter(function(Z){return y[Z]._button.tool==="edit"});N.forEach(function(Z){d.indexOf(Z)===-1&&(x[Z]=y[Z])});var $=Object.keys(y).filter(function(Z){return y[Z]._button.tool==="options"});$.forEach(function(Z){d.indexOf(Z)===-1&&(x[Z]=y[Z])});var G=Object.keys(y).filter(function(Z){return y[Z]._button.tool==="custom"});G.forEach(function(Z){d.indexOf(Z)===-1&&(x[Z]=y[Z])}),Object.keys(y).forEach(function(Z){d.indexOf(Z)===-1&&(x[Z]=y[Z])}),this.map.pm.Toolbar.buttons=x,this._showHideButtons()},getControlOrder:function(){var r=this.getButtons(),l=[];for(var d in r)l.push(d);return l},changeActionsOfControl:function(r,l){var d=this._btnNameMapping(r);if(!d)throw new TypeError("No name passed");if(!l)throw new TypeError("No actions passed");if(!this.buttons[d])throw new TypeError("Button with this name not exists");this.buttons[d]._button.actions=l,this.changeControlOrder()},setButtonDisabled:function(r,l){var d=this._btnNameMapping(r);l?this.buttons[d].disable():this.buttons[d].enable()},_shapeMapping:function(){return{Marker:"drawMarker",Circle:"drawCircle",Polygon:"drawPolygon",Rectangle:"drawRectangle",Polyline:"drawPolyline",Line:"drawPolyline",CircleMarker:"drawCircleMarker",Edit:"editMode",Drag:"dragMode",Cut:"cutPolygon",Removal:"removalMode",Rotate:"rotateMode",Text:"drawText"}},_btnNameMapping:function(r){var l=this._shapeMapping();return l[r]?l[r]:r}});function Ot(r,l){var d=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),d.push.apply(d,y)}return d}function I(r){for(var l=1;l2&&arguments[2]!==void 0?arguments[2]:1,x=[],B={};l.forEach(function($,G){if(!$._parentCopy||$._parentCopy!==d._layer){var Z=d._calcLayerDistances(r,$);if(Z.distance=Math.floor(Z.distance),d.debugIndicatorLines){if(!d.debugIndicatorLines[G]){var X=L.polyline([],{color:"red",pmIgnore:!0});X._pmTempLayer=!0,d.debugIndicatorLines[G]=X}d.debugIndicatorLines[G].setLatLngs([r,Z.latlng])}y===1&&(B.distance===void 0||Z.distance<=B.distance)?(Z.distance3&&arguments[3]!==void 0&&arguments[3],G=function X(mt){mt.forEach(function(ut,Mt){if(Array.isArray(ut))X(ut);else if(N.options.snapSegment){var Rt,qt=ut;Rt=$?Mt+1===mt.length?0:Mt+1:Mt+1===mt.length?void 0:Mt+1;var oe=mt[Rt];if(oe){var xe=N._getDistanceToSegment(d,r,qt,oe);(x===void 0||xe1&&arguments[1]!==void 0?arguments[1]:1;r=r.sort(function(N,$){return N._leaflet_id-$._leaflet_id});var d=["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],y=this._map.pm.globalOptions.snappingOrder||[],x=0,B={};return y.concat(d).forEach(function(N){B[N]||(x+=1,B[N]=x)}),r.sort(pt("instanceofShape",B)),l===1?r[0]||{}:r.slice(0,l)},_checkPrioritiySnapping:function(r){var l=this._map,d=r.segment[0],y=r.segment[1],x=r.latlng,B=this._getDistance(l,d,x),N=this._getDistance(l,y,x),$=B1&&arguments[1]!==void 0&&arguments[1];this.options.pathOptions=l?p()(this.options.pathOptions,r):r},getShapes:function(){return this.shapes},getShape:function(){return this._shape},enable:function(r,l){if(!r)throw new Error("Error: Please pass a shape as a parameter. Possible shapes are: ".concat(this.getShapes().join(",")));this.disable(),this[r].enable(l)},disable:function(){var r=this;this.shapes.forEach(function(l){r[l].disable()})},addControls:function(){var r=this;this.shapes.forEach(function(l){r[l].addButton()})},getActiveShape:function(){var r,l=this;return this.shapes.forEach(function(d){l[d]._enabled&&(r=d)}),r},_setGlobalDrawMode:function(){this._shape==="Cut"?this._fireGlobalCutModeToggled():this._fireGlobalDrawModeToggled();var r=L.PM.Utils.findLayers(this._map);this._enabled?r.forEach(function(l){L.PM.Utils.disablePopup(l)}):r.forEach(function(l){L.PM.Utils.enablePopup(l)})},createNewDrawInstance:function(r,l){var d=this._getShapeFromBtnName(l);if(this[r])throw new TypeError("Draw Type already exists");if(!L.PM.Draw[d])throw new TypeError("There is no class L.PM.Draw.".concat(d));return this[r]=new L.PM.Draw[d](this._map),this[r].toolbarButtonName=r,this[r]._shape=r,this.shapes.push(r),this[l]&&this[r].setOptions(this[l].options),this[r].setOptions(this[r].options),this[r]},_getShapeFromBtnName:function(r){var l={drawMarker:"Marker",drawCircle:"Circle",drawPolygon:"Polygon",drawPolyline:"Line",drawRectangle:"Rectangle",drawCircleMarker:"CircleMarker",editMode:"Edit",dragMode:"Drag",cutPolygon:"Cut",removalMode:"Removal",rotateMode:"Rotate",drawText:"Text"};return l[r]?l[r]:this[r]?this[r]._shape:r},_finishLayer:function(r){r.pm&&(r.pm.setOptions(this.options),r.pm._shape=this._shape,r.pm._map=this._map),this._addDrawnLayerProp(r)},_addDrawnLayerProp:function(r){r._drawnByGeoman=!0},_setPane:function(r,l){l==="layerPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":l==="vertexPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":l==="markerPane"&&(r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},_isFirstLayer:function(){return(this._map||this._layer._map).pm.getGeomanLayers().length===0}});D.Marker=D.extend({initialize:function(r){this._map=r,this._shape="Marker",this.toolbarButtonName="drawMarker"},enable:function(r){var l=this;L.Util.setOptions(this,r),this._enabled=!0,this._map.on("click",this._createMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._hintMarker=L.marker(this._map.getCenter(),this.options.markerStyle),this._setPane(this._hintMarker,"markerPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this.options.tooltips&&this._hintMarker.bindTooltip(Bt("tooltips.placeMarker"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._layer=this._hintMarker,this._map.on("mousemove",this._syncHintMarker,this),this.options.markerEditable&&this._map.eachLayer(function(d){l.isRelevantMarker(d)&&d.pm.enable()}),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){var r=this;this._enabled&&(this._enabled=!1,this._map.off("click",this._createMarker,this),this._hintMarker.remove(),this._map.off("mousemove",this._syncHintMarker,this),this._map.eachLayer(function(l){r.isRelevantMarker(l)&&l.pm.disable()}),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},isRelevantMarker:function(r){return r instanceof L.Marker&&r.pm&&!r._pmTempLayer&&!r.pm._initTextMarker},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var l=r;l.target=this._hintMarker,this._handleSnapping(l)}this._fireChange(this._hintMarker.getLatLng(),"Draw")},_createMarker:function(r){if(r.latlng&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._hintMarker.getLatLng(),d=new L.Marker(l,this.options.markerStyle);this._setPane(d,"markerPane"),this._finishLayer(d),d.pm||(d.options.draggable=!1),d.addTo(this._map.pm._getContainingLayer()),d.pm&&this.options.markerEditable?d.pm.enable():d.dragging&&d.dragging.disable(),this._fireCreate(d),this._cleanupSnapping(),this.options.continueDrawing||this.disable()}},setStyle:function(){var r,l;(r=this.options.markerStyle)!==null&&r!==void 0&&r.icon&&((l=this._hintMarker)===null||l===void 0||l.setIcon(this.options.markerStyle.icon))}});var F=63710088e-1,Q={centimeters:637100880,centimetres:637100880,degrees:57.22891354143274,feet:20902260511392e-6,inches:39.37*F,kilometers:6371.0088,kilometres:6371.0088,meters:F,metres:F,miles:3958.761333810546,millimeters:6371008800,millimetres:6371008800,nauticalmiles:F/1852,radians:1,yards:6967335223679999e-9};function it(r,l,d){d===void 0&&(d={});var y={type:"Feature"};return(d.id===0||d.id)&&(y.id=d.id),d.bbox&&(y.bbox=d.bbox),y.properties=l||{},y.geometry=r,y}function vt(r,l,d){if(d===void 0&&(d={}),!r)throw new Error("coordinates is required");if(!Array.isArray(r))throw new Error("coordinates must be an Array");if(r.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!ve(r[0])||!ve(r[1]))throw new Error("coordinates must contain numbers");return it({type:"Point",coordinates:r},l,d)}function Tt(r,l,d){if(d===void 0&&(d={}),r.length<2)throw new Error("coordinates must be an array of two or more positions");return it({type:"LineString",coordinates:r},l,d)}function jt(r,l){l===void 0&&(l={});var d={type:"FeatureCollection"};return l.id&&(d.id=l.id),l.bbox&&(d.bbox=l.bbox),d.features=r,d}function Jt(r,l){l===void 0&&(l="kilometers");var d=Q[l];if(!d)throw new Error(l+" units is invalid");return r*d}function te(r,l){l===void 0&&(l="kilometers");var d=Q[l];if(!d)throw new Error(l+" units is invalid");return r/d}function be(r){return 180*(r%(2*Math.PI))/Math.PI}function Xt(r){return r%360*Math.PI/180}function ve(r){return!isNaN(r)&&r!==null&&!Array.isArray(r)}function he(r){var l,d,y={type:"FeatureCollection",features:[]};if((d=r.type==="Feature"?r.geometry:r).type==="LineString")l=[d.coordinates];else if(d.type==="MultiLineString")l=d.coordinates;else if(d.type==="MultiPolygon")l=[].concat.apply([],d.coordinates);else{if(d.type!=="Polygon")throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");l=d.coordinates}return l.forEach(function(x){l.forEach(function(B){for(var N=0;N=0&&Z<=1&&(ut.onLine1=!0),X>=0&&X<=1&&(ut.onLine2=!0),!(!ut.onLine1||!ut.onLine2)&&[ut.x,ut.y])}function Ae(r,l){var d=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),d.push.apply(d,y)}return d}function Ze(r){for(var l=1;l=2&&!Array.isArray(r[0])&&!Array.isArray(r[1]))return r;throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Fe(r){if(Array.isArray(r))return r;if(r.type==="Feature"){if(r.geometry!==null)return r.geometry.coordinates}else if(r.coordinates)return r.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function Rn(r){return r.type==="Feature"?r.geometry:r}function qr(r,l){return r.type==="FeatureCollection"?"FeatureCollection":r.type==="GeometryCollection"?"GeometryCollection":r.type==="Feature"&&r.geometry!==null?r.geometry.type:r.type}function Ei(r,l,d){if(r!==null)for(var y,x,B,N,$,G,Z,X,mt=0,ut=0,Mt=r.type,Rt=Mt==="FeatureCollection",qt=Mt==="Feature",oe=Rt?r.features.length:1,xe=0;xe0){var l=r[r.length-1];this._hintline.setLatLngs([l,this._hintMarker.getLatLng()])}},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var l=r;l.target=this._hintMarker,this._handleSnapping(l)}this.options.allowSelfIntersection||this._handleSelfIntersection(!0,this._hintMarker.getLatLng());var d=this._layer._defaultShape().slice();d.push(this._hintMarker.getLatLng()),this._change(d)},hasSelfIntersection:function(){return he(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersection:function(r,l){var d=L.polyline(this._layer.getLatLngs());r&&(l||(l=this._hintMarker.getLatLng()),d.addLatLng(l));var y=he(d.toGeoJSON(15));this._doesSelfIntersect=y.features.length>0,this._doesSelfIntersect?this._hintline.setStyle({color:"#f00000ff"}):this._hintline.isEmpty()||this._hintline.setStyle(this.options.hintlineStyle)},_createVertex:function(r){if(this.options.allowSelfIntersection||(this._handleSelfIntersection(!0,r.latlng),!this._doesSelfIntersect)){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._hintMarker.getLatLng(),d=this._layer.getLatLngs(),y=d[d.length-1];if(l.equals(d[0])||d.length>0&&l.equals(y))this._finishShape();else{this._layer._latlngInfo=this._layer._latlngInfo||[],this._layer._latlngInfo.push({latlng:l,snapInfo:this._hintMarker._snapInfo}),this._layer.addLatLng(l);var x=this._createMarker(l);this._setTooltipText(),this._setHintLineAfterNewVertex(l),this._fireVertexAdded(x,void 0,l,"Draw"),this._change(this._layer.getLatLngs()),this.options.finishOn==="snap"&&this._hintMarker._snapped&&this._finishShape(r)}}},_setHintLineAfterNewVertex:function(r){this._hintline.setLatLngs([r,r])},_removeLastVertex:function(){var r=this._markers;if(r.length<=1)this.disable();else{var l=this._layer.getLatLngs(),d=r[r.length-1],y=L.PM.Utils.findDeepMarkerIndex(r,d).indexPath;r.pop(),this._layerGroup.removeLayer(d);var x=r[r.length-1],B=l.indexOf(x.getLatLng());l=l.slice(0,B+1),this._layer.setLatLngs(l),this._layer._latlngInfo.pop(),this._syncHintLine(),this._setTooltipText(),this._fireVertexRemoved(d,y,"Draw"),this._change(this._layer.getLatLngs())}},_finishShape:function(){if((this.options.allowSelfIntersection||(this._handleSelfIntersection(!1),!this._doesSelfIntersect))&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){var r=this._layer.getLatLngs();if(!(r.length<=1)){var l=L.polyline(r,this.options.pathOptions);this._setPane(l,"layerPane"),this._finishLayer(l),l.addTo(this._map.pm._getContainingLayer()),this._fireCreate(l),this.options.snappable&&this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()}}},_createMarker:function(r){var l=new L.Marker(r,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(l,"vertexPane"),l._pmTempLayer=!0,this._layerGroup.addLayer(l),this._markers.push(l),l.on("click",this._finishShape,this),l},_setTooltipText:function(){var r="";r=Bt(this._layer.getLatLngs().flat().length<=1?"tooltips.continueLine":"tooltips.finishLine"),this._hintMarker.setTooltipContent(r)},_change:function(r){this._fireChange(r,"Draw")},setStyle:function(){var r,l;(r=this._layer)===null||r===void 0||r.setStyle(this.options.templineStyle),(l=this._hintline)===null||l===void 0||l.setStyle(this.options.hintlineStyle)}}),D.Polygon=D.Line.extend({initialize:function(r){this._map=r,this._shape="Polygon",this.toolbarButtonName="drawPolygon"},enable:function(r){L.PM.Draw.Line.prototype.enable.call(this,r),this._layer.pm._shape="Polygon"},_createMarker:function(r){var l=new L.Marker(r,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(l,"vertexPane"),l._pmTempLayer=!0,this._layerGroup.addLayer(l),this._markers.push(l),this._layer.getLatLngs().flat().length===1?(l.on("click",this._finishShape,this),this._tempSnapLayerIndex=this._otherSnapLayers.push(l)-1,this.options.snappable&&this._cleanupSnapping()):l.on("click",function(){return 1}),l},_setTooltipText:function(){var r="";r=Bt(this._layer.getLatLngs().flat().length<=2?"tooltips.continueLine":"tooltips.finishPoly"),this._hintMarker.setTooltipContent(r)},_finishShape:function(){if((this.options.allowSelfIntersection||(this._handleSelfIntersection(!0,this._layer.getLatLngs()[0]),!this._doesSelfIntersect))&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){var r=this._layer.getLatLngs();if(!(r.length<=2)){var l=L.polygon(r,this.options.pathOptions);this._setPane(l,"layerPane"),this._finishLayer(l),l.addTo(this._map.pm._getContainingLayer()),this._fireCreate(l),this._cleanupSnapping(),this._otherSnapLayers.splice(this._tempSnapLayerIndex,1),delete this._tempSnapLayerIndex,this.disable(),this.options.continueDrawing&&this.enable()}}}}),D.Rectangle=D.extend({initialize:function(r){this._map=r,this._shape="Rectangle",this.toolbarButtonName="drawRectangle"},enable:function(r){if(L.Util.setOptions(this,r),this._enabled=!0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.rectangle([[0,0],[0,0]],this.options.pathOptions),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._startMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-start-marker"}),draggable:!1,zIndexOffset:-100,opacity:this.options.cursorMarker?1:0}),this._setPane(this._startMarker,"vertexPane"),this._startMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._startMarker),this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:150,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(Bt("tooltips.firstVertex"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this.options.cursorMarker){this._styleMarkers=[];for(var l=0;l<2;l+=1){var d=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-style-marker"}),draggable:!1,zIndexOffset:100});this._setPane(d,"vertexPane"),d._pmTempLayer=!0,this._layerGroup.addLayer(d),this._styleMarkers.push(d)}}this._map._container.style.cursor="crosshair",this._map.on("click",this._placeStartingMarkers,this),this._map.on("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._otherSnapLayers=[],this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map._container.style.cursor="",this._map.off("click",this._finishShape,this),this._map.off("click",this._placeStartingMarkers,this),this._map.off("mousemove",this._syncHintMarker,this),this._map.removeLayer(this._layerGroup),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},_placeStartingMarkers:function(r){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._hintMarker.getLatLng();L.DomUtil.addClass(this._startMarker._icon,"visible"),this._startMarker.setLatLng(l),this.options.cursorMarker&&this._styleMarkers&&this._styleMarkers.forEach(function(d){L.DomUtil.addClass(d._icon,"visible"),d.setLatLng(l)}),this._map.off("click",this._placeStartingMarkers,this),this._map.on("click",this._finishShape,this),this._hintMarker.setTooltipContent(Bt("tooltips.finishRect")),this._setRectangleOrigin()},_setRectangleOrigin:function(){var r=this._startMarker.getLatLng();r&&(this._layerGroup.addLayer(this._layer),this._layer.setLatLngs([r,r]),this._hintMarker.on("move",this._syncRectangleSize,this))},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var l=r;l.target=this._hintMarker,this._handleSnapping(l)}var d=this._layerGroup&&this._layerGroup.hasLayer(this._layer)?this._layer.getLatLngs():[this._hintMarker.getLatLng()];this._fireChange(d,"Draw")},_syncRectangleSize:function(){var r=this,l=St(this._startMarker.getLatLng(),this._map),d=St(this._hintMarker.getLatLng(),this._map),y=L.PM.Utils._getRotatedRectangle(l,d,this.options.rectangleAngle||0,this._map);if(this._layer.setLatLngs(y),this.options.cursorMarker&&this._styleMarkers){var x=[];y.forEach(function(B){B.equals(l,1e-8)||B.equals(d,1e-8)||x.push(B)}),x.forEach(function(B,N){try{r._styleMarkers[N].setLatLng(B)}catch{}})}},_findCorners:function(){var r=this._layer.getBounds();return[r.getNorthWest(),r.getNorthEast(),r.getSouthEast(),r.getSouthWest()]},_finishShape:function(r){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._hintMarker.getLatLng(),d=this._startMarker.getLatLng();if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){var y=L.rectangle([d,l],this.options.pathOptions);if(this.options.rectangleAngle){var x=L.PM.Utils._getRotatedRectangle(d,l,this.options.rectangleAngle||0,this._map);y.setLatLngs(x),y.pm&&y.pm._setAngle(this.options.rectangleAngle||0)}this._setPane(y,"layerPane"),this._finishLayer(y),y.addTo(this._map.pm._getContainingLayer()),this._fireCreate(y),this.disable(),this.options.continueDrawing&&this.enable()}},setStyle:function(){var r;(r=this._layer)===null||r===void 0||r.setStyle(this.options.pathOptions)}}),D.Circle=D.extend({initialize:function(r){this._map=r,this._shape="Circle",this.toolbarButtonName="drawCircle"},enable:function(r){L.Util.setOptions(this,r),this.options.radius=0,this._enabled=!0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.circle(this._map.getCenter(),un(un({},this.options.templineStyle),{},{radius:0})),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._centerMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon"}),draggable:!1,zIndexOffset:100}),this._setPane(this._centerMarker,"vertexPane"),this._centerMarker._pmTempLayer=!0,this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:110,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(Bt("tooltips.startCircle"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._hintline=L.polyline([],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._layerGroup.addLayer(this._hintline),this._map._container.style.cursor="crosshair",this._map.on("click",this._placeCenterMarker,this),this._map.on("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._otherSnapLayers=[],this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map._container.style.cursor="",this._map.off("click",this._finishShape,this),this._map.off("click",this._placeCenterMarker,this),this._map.off("mousemove",this._syncHintMarker,this),this._map.removeLayer(this._layerGroup),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},_syncHintLine:function(){var r=this._centerMarker.getLatLng(),l=this._getNewDestinationOfHintMarker();this._hintline.setLatLngs([r,l])},_syncCircleRadius:function(){var r,l=this._centerMarker.getLatLng(),d=this._hintMarker.getLatLng();r=this._map.options.crs===L.CRS.Simple?this._map.distance(l,d):l.distanceTo(d),this.options.minRadiusCircle&&rthis.options.maxRadiusCircle?this._layer.setRadius(this.options.maxRadiusCircle):this._layer.setRadius(r)},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker()),this.options.snappable){var l=r;l.target=this._hintMarker,this._handleSnapping(l)}this._handleHintMarkerSnapping();var d=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(d,"Draw")},_placeCenterMarker:function(r){this._layerGroup.addLayer(this._layer),this._layerGroup.addLayer(this._centerMarker),this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._hintMarker.getLatLng();this._layerGroup.addLayer(this._layer),this._centerMarker.setLatLng(l),this._map.off("click",this._placeCenterMarker,this),this._map.on("click",this._finishShape,this),this._placeCircleCenter()},_placeCircleCenter:function(){var r=this._centerMarker.getLatLng();r&&(this._layer.setLatLng(r),this._hintMarker.on("move",this._syncHintLine,this),this._hintMarker.on("move",this._syncCircleRadius,this),this._hintMarker.setTooltipContent(Bt("tooltips.finishCircle")),this._fireCenterPlaced(),this._fireChange(this._layer.getLatLng(),"Draw"))},_finishShape:function(r){if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l,d=this._centerMarker.getLatLng(),y=this._hintMarker.getLatLng();l=this._map.options.crs===L.CRS.Simple?this._map.distance(d,y):d.distanceTo(y),this.options.minRadiusCircle&&lthis.options.maxRadiusCircle&&(l=this.options.maxRadiusCircle);var x=un(un({},this.options.pathOptions),{},{radius:l}),B=L.circle(d,x);this._setPane(B,"layerPane"),this._finishLayer(B),B.addTo(this._map.pm._getContainingLayer()),B.pm&&B.pm._updateHiddenPolyCircle(),this._fireCreate(B),this.disable(),this.options.continueDrawing&&this.enable()}},_getNewDestinationOfHintMarker:function(){var r=this._hintMarker.getLatLng();if(!this._layerGroup.hasLayer(this._centerMarker))return r;var l=this._centerMarker.getLatLng(),d=l.distanceTo(r);return this.options.minRadiusCircle&&dthis.options.maxRadiusCircle&&(r=Ft(this._map,l,r,this.options.maxRadiusCircle)),r},_handleHintMarkerSnapping:function(){if(this._hintMarker._snapped){var r=this._centerMarker.getLatLng(),l=this._hintMarker.getLatLng(),d=r.distanceTo(l);this._layerGroup.hasLayer(this._centerMarker)&&(this.options.minRadiusCircle&&dthis.options.maxRadiusCircle)&&this._hintMarker.setLatLng(this._hintMarker._orgLatLng)}this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker())},setStyle:function(){var r,l;(r=this._layer)===null||r===void 0||r.setStyle(this.options.templineStyle),(l=this._hintline)===null||l===void 0||l.setStyle(this.options.hintlineStyle)}}),D.CircleMarker=D.Marker.extend({initialize:function(r){this._map=r,this._shape="CircleMarker",this.toolbarButtonName="drawCircleMarker",this._layerIsDragging=!1},enable:function(r){var l=this;if(L.Util.setOptions(this,r),this._enabled=!0,this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this.options.editable){var d={};L.extend(d,this.options.templineStyle),d.radius=0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.circleMarker(this._map.getCenter(),d),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._centerMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon"}),draggable:!1,zIndexOffset:100}),this._setPane(this._centerMarker,"vertexPane"),this._centerMarker._pmTempLayer=!0,this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:110,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(Bt("tooltips.startCircle"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._hintline=L.polyline([],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._layerGroup.addLayer(this._hintline),this._map.on("click",this._placeCenterMarker,this),this._map._container.style.cursor="crosshair"}else this._map.on("click",this._createMarker,this),this._hintMarker=L.circleMarker(this._map.getCenter(),this.options.templineStyle),this._setPane(this._hintMarker,"layerPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this._layer=this._hintMarker,this.options.tooltips&&this._hintMarker.bindTooltip(Bt("tooltips.placeCircleMarker"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip();this._map.on("mousemove",this._syncHintMarker,this),!this.options.editable&&this.options.markerEditable&&this._map.eachLayer(function(y){l.isRelevantMarker(y)&&y.pm.enable()}),this._layer.bringToBack(),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){var r=this;this._enabled&&(this._enabled=!1,this.options.editable?(this._map._container.style.cursor="",this._map.off("click",this._finishShape,this),this._map.off("click",this._placeCenterMarker,this),this._map.removeLayer(this._layerGroup)):(this._map.off("click",this._createMarker,this),this._map.eachLayer(function(l){r.isRelevantMarker(l)&&l.pm.disable()}),this._hintMarker.remove()),this._map.off("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},_placeCenterMarker:function(r){this._layerGroup.addLayer(this._layer),this._layerGroup.addLayer(this._centerMarker),this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._hintMarker.getLatLng();this._layerGroup.addLayer(this._layer),this._centerMarker.setLatLng(l),this._map.off("click",this._placeCenterMarker,this),this._map.on("click",this._finishShape,this),this._placeCircleCenter()},_placeCircleCenter:function(){var r=this._centerMarker.getLatLng();r&&(this._layer.setLatLng(r),this._hintMarker.on("move",this._syncHintLine,this),this._hintMarker.on("move",this._syncCircleRadius,this),this._hintMarker.setTooltipContent(Bt("tooltips.finishCircle")),this._fireCenterPlaced(),this._fireChange(this._layer.getLatLng(),"Draw"))},_syncHintLine:function(){var r=this._centerMarker.getLatLng(),l=this._getNewDestinationOfHintMarker();this._hintline.setLatLngs([r,l])},_syncCircleRadius:function(){var r=this._centerMarker.getLatLng(),l=this._hintMarker.getLatLng(),d=this._map.project(r).distanceTo(this._map.project(l));this.options.minRadiusCircleMarker&&dthis.options.maxRadiusCircleMarker?this._layer.setRadius(this.options.maxRadiusCircleMarker):this._layer.setRadius(d)},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker()),this.options.snappable){var l=r;l.target=this._hintMarker,this._handleSnapping(l)}this._handleHintMarkerSnapping();var d=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(d,"Draw")},isRelevantMarker:function(r){return r instanceof L.CircleMarker&&!(r instanceof L.Circle)&&r.pm&&!r._pmTempLayer},_createMarker:function(r){if((!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())&&r.latlng&&!this._layerIsDragging){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._hintMarker.getLatLng(),d=L.circleMarker(l,this.options.pathOptions);this._setPane(d,"layerPane"),this._finishLayer(d),d.addTo(this._map.pm._getContainingLayer()),d.pm&&this.options.markerEditable&&d.pm.enable(),this._fireCreate(d),this._cleanupSnapping(),this.options.continueDrawing||this.disable()}},_finishShape:function(r){if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var l=this._centerMarker.getLatLng(),d=this._hintMarker.getLatLng(),y=this._map.project(l).distanceTo(this._map.project(d));this.options.editable&&(this.options.minRadiusCircleMarker&&ythis.options.maxRadiusCircleMarker&&(y=this.options.maxRadiusCircleMarker));var x=Ln(Ln({},this.options.pathOptions),{},{radius:y}),B=L.circleMarker(l,x);this._setPane(B,"layerPane"),this._finishLayer(B),B.addTo(this._map.pm._getContainingLayer()),B.pm&&B.pm._updateHiddenPolyCircle(),this._fireCreate(B),this.disable(),this.options.continueDrawing&&this.enable()}},_getNewDestinationOfHintMarker:function(){var r=this._hintMarker.getLatLng();if(this.options.editable){if(!this._layerGroup.hasLayer(this._centerMarker))return r;var l=this._centerMarker.getLatLng(),d=this._map.project(l).distanceTo(this._map.project(r));this.options.minRadiusCircleMarker&&dthis.options.maxRadiusCircleMarker&&(r=Ft(this._map,l,r,this._pxRadiusToMeter(this.options.maxRadiusCircleMarker)))}return r},_handleHintMarkerSnapping:function(){if(this.options.editable){if(this._hintMarker._snapped){var r=this._centerMarker.getLatLng(),l=this._hintMarker.getLatLng(),d=this._map.project(r).distanceTo(this._map.project(l));this._layerGroup.hasLayer(this._centerMarker)&&(this.options.minRadiusCircleMarker&&dthis.options.maxRadiusCircleMarker)&&this._hintMarker.setLatLng(this._hintMarker._orgLatLng)}this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker())}},_pxRadiusToMeter:function(r){var l=this._centerMarker.getLatLng(),d=this._map.project(l),y=L.point(d.x+r,d.y);return this._map.unproject(y).distanceTo(l)},setStyle:function(){var r,l,d={};L.extend(d,this.options.templineStyle),this.options.editable&&(d.radius=0),(r=this._layer)===null||r===void 0||r.setStyle(d),(l=this._hintline)===null||l===void 0||l.setStyle(this.options.hintlineStyle)}});const nn=function(r){if(!r)throw new Error("geojson is required");var l=[];return Ti(r,function(d){(function(y,x){var B=[],N=y.geometry;if(N!==null){switch(N.type){case"Polygon":B=Fe(N);break;case"LineString":B=[Fe(N)]}B.forEach(function($){var G=function(Z,X){var mt=[];return Z.reduce(function(ut,Mt){var Rt,qt,oe,xe,Ut,ke,Pe=Tt([ut,Mt],X);return Pe.bbox=(qt=Mt,oe=(Rt=ut)[0],xe=Rt[1],Ut=qt[0],ke=qt[1],[oeUt?oe:Ut,xe>ke?xe:ke]),mt.push(Pe),Mt}),mt}($,y.properties);G.forEach(function(Z){Z.id=x.length,x.push(Z)})})}})(d,l)}),jt(l)};var Ht=i(1787);function Oi(r,l){var d=Fe(r),y=Fe(l);if(d.length!==2)throw new Error(" line1 must only contain 2 coordinates");if(y.length!==2)throw new Error(" line2 must only contain 2 coordinates");var x=d[0][0],B=d[0][1],N=d[1][0],$=d[1][1],G=y[0][0],Z=y[0][1],X=y[1][0],mt=y[1][1],ut=(mt-Z)*(N-x)-(X-G)*($-B),Mt=(X-G)*(B-Z)-(mt-Z)*(x-G),Rt=(N-x)*(B-Z)-($-B)*(x-G);if(ut===0)return null;var qt=Mt/ut,oe=Rt/ut;return qt>=0&&qt<=1&&oe>=0&&oe<=1?vt([x+qt*(N-x),B+qt*($-B)]):null}const Bn=function(r,l){var d={},y=[];if(r.type==="LineString"&&(r=it(r)),l.type==="LineString"&&(l=it(l)),r.type==="Feature"&&l.type==="Feature"&&r.geometry!==null&&l.geometry!==null&&r.geometry.type==="LineString"&&l.geometry.type==="LineString"&&r.geometry.coordinates.length===2&&l.geometry.coordinates.length===2){var x=Oi(r,l);return x&&y.push(x),jt(y)}var B=Ht();return B.load(nn(l)),Cr(nn(r),function(N){Cr(B.search(N),function($){var G=Oi(N,$);if(G){var Z=Fe(G).join(",");d[Z]||(d[Z]=!0,y.push(G))}})}),jt(y)},In=function(r,l,d){d===void 0&&(d={});var y=Ke(r),x=Ke(l),B=Xt(x[1]-y[1]),N=Xt(x[0]-y[0]),$=Xt(y[1]),G=Xt(x[1]),Z=Math.pow(Math.sin(B/2),2)+Math.pow(Math.sin(N/2),2)*Math.cos($)*Math.cos(G);return Jt(2*Math.atan2(Math.sqrt(Z),Math.sqrt(1-Z)),d.units)},xo=function(r){var l=r[0],d=r[1],y=r[2],x=r[3];if(In(r.slice(0,2),[y,d])>=In(r.slice(0,2),[l,x])){var B=(d+x)/2;return[l,B-(y-l)/2,y,B+(y-l)/2]}var N=(l+y)/2;return[N-(x-d)/2,d,N+(x-d)/2,x]};function Pr(r){var l=[1/0,1/0,-1/0,-1/0];return Ei(r,function(d){l[0]>d[0]&&(l[0]=d[0]),l[1]>d[1]&&(l[1]=d[1]),l[2] is required");if(typeof d!="number")throw new Error(" must be a number");if(typeof y!="number")throw new Error(" must be a number");x!==!1&&x!==void 0||(r=JSON.parse(JSON.stringify(r)));var B=Math.pow(10,d);return Ei(r,function(N){(function($,G,Z){$.length>Z&&$.splice(Z,$.length);for(var X=0;X<$.length;X++)$[X]=Math.round($[X]*G)/G})(N,B,y)}),r};function Ai(r,l,d){if(d===void 0&&(d={}),d.final===!0)return function(mt,ut){var Mt=Ai(ut,mt);return Mt=(Mt+180)%360}(r,l);var y=Ke(r),x=Ke(l),B=Xt(y[0]),N=Xt(x[0]),$=Xt(y[1]),G=Xt(x[1]),Z=Math.sin(N-B)*Math.cos(G),X=Math.cos($)*Math.sin(G)-Math.sin($)*Math.cos(G)*Math.cos(N-B);return be(Math.atan2(Z,X))}function ko(r,l,d,y){y===void 0&&(y={});var x=Ke(r),B=Xt(x[0]),N=Xt(x[1]),$=Xt(d),G=te(l,y.units),Z=Math.asin(Math.sin(N)*Math.cos(G)+Math.cos(N)*Math.sin(G)*Math.cos($));return vt([be(B+Math.atan2(Math.sin($)*Math.sin(G)*Math.cos(N),Math.cos(G)-Math.sin(N)*Math.sin(Z))),be(Z)],y.properties)}const Fs=function(r,l,d){d===void 0&&(d={});var y=vt([1/0,1/0],{dist:1/0}),x=0;return Ti(r,function(B){for(var N=Fe(B),$=0;$0&&((oe=qt.features[0]).properties.dist=In(l,oe,d),oe.properties.location=x+In(G,oe,d)),G.properties.dist1&&d.push(Tt(Z)),jt(d)}function Bi(r,l){if(!l.features.length)throw new Error("lines must contain features");if(l.features.length===1)return l.features[0];var d,y=1/0;return Cr(l,function(x){var B=Fs(x,r).properties.dist;B=ut[0]&&Mt[3]>=ut[1]}(y,N)===!1)return!1;B==="Polygon"&&($=[$]);for(var G=!1,Z=0;Z<$.length&&!G;Z++)if(Mo(y,$[Z][0],d.ignoreBoundary)){for(var X=!1,mt=1;mt<$[Z].length&&!X;)Mo(y,$[Z][mt],!d.ignoreBoundary)&&(X=!0),mt++;X||(G=!0)}return G}function Mo(r,l,d){var y=!1;l[0][0]===l[l.length-1][0]&&l[0][1]===l[l.length-1][1]&&(l=l.slice(0,l.length-1));for(var x=0,B=l.length-1;xr[1]!=Z>r[1]&&r[0]<(G-N)*(r[1]-$)/(Z-$)+N&&(y=!y)}return y}function Hs(r,l,d,y,x){var B=d[0],N=d[1],$=r[0],G=r[1],Z=l[0],X=l[1],mt=Z-$,ut=X-G,Mt=(d[0]-$)*ut-(d[1]-G)*mt;if(x!==null){if(Math.abs(Mt)>x)return!1}else if(Mt!==0)return!1;return y?y==="start"?Math.abs(mt)>=Math.abs(ut)?mt>0?$0?G=Math.abs(ut)?mt>0?$<=B&&B0?G<=N&&N=Math.abs(ut)?mt>0?$0?G=Math.abs(ut)?mt>0?$<=B&&B<=Z:Z<=B&&B<=$:ut>0?G<=N&&N<=X:X<=N&&N<=G}const Sr=function(r,l,d){d===void 0&&(d={});for(var y=Ke(r),x=Fe(l),B=0;B"u"?null:d.epsilon))return!0}return!1};function Gs(r,l){var d=Rn(r),y=Rn(l),x=d.type,B=y.type,N=d.coordinates,$=y.coordinates;switch(x){case"Point":if(B==="Point")return $n(N,$);throw new Error("feature2 "+B+" geometry not supported");case"MultiPoint":switch(B){case"Point":return function(G,Z){var X,mt=!1;for(X=0;Xl[0])&&!(r[2]l[1])&&!(r[3]1?l.forEach(function(x){y.push(function(B){return pe({type:"LineString",coordinates:B})}(x))}):y.push(r),y}function Re(r){var l=[];return r.eachLayer(function(d){l.push(Er(d.toGeoJSON(15)))}),function(d){return pe({type:"MultiLineString",coordinates:d})}(l)}function Di(r,l){return function(d){if(Array.isArray(d))return d}(r)||function(d,y){var x=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(x!=null){var B,N,$=[],G=!0,Z=!1;try{for(x=x.call(d);!(G=(B=x.next()).done)&&($.push(B.value),!y||$.length!==y);G=!0);}catch(X){Z=!0,N=X}finally{try{G||x.return==null||x.return()}finally{if(Z)throw N}}return $}}(r,l)||function(d,y){if(d){if(typeof d=="string")return Tr(d,y);var x=Object.prototype.toString.call(d).slice(8,-1);if(x==="Object"&&d.constructor&&(x=d.constructor.name),x==="Map"||x==="Set")return Array.from(d);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return Tr(d,y)}}(r,l)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Tr(r,l){(l==null||l>r.length)&&(l=r.length);for(var d=0,y=new Array(l);dr.length)&&(l=r.length);for(var d=0,y=new Array(l);d0)||l.options.layersToCut.indexOf(x)>-1}).filter(function(x){return!l._layerGroup.hasLayer(x)}).filter(function(x){try{var B=!!Bn(r.toGeoJSON(15),x.toGeoJSON(15)).features.length>0;return B||x instanceof L.Polyline&&!(x instanceof L.Polygon)?B:(N=r.toGeoJSON(15),$=x.toGeoJSON(15),G=Ce(N),Z=Ce($),!((X=lr().intersection(G.coordinates,Z.coordinates)).length===0||!(X.length===1?Zn(X[0]):qn(X))))}catch{return x instanceof L.Polygon&&console.error("You can't cut polygons with self-intersections"),!1}var N,$,G,Z,X}).forEach(function(x){var B;if(x instanceof L.Polygon){var N=(B=L.polygon(x.getLatLngs())).getLatLngs();y.forEach(function(ut){if(ut&&ut.snapInfo){var Mt=ut.latlng,Rt=l._calcClosestLayer(Mt,[B]);if(Rt&&Rt.segment&&Rt.distance1?wt()(N,Ut):N).splice(ke,0,Mt)}}}})}else B=x;var $=l._cutLayer(r,B),G=L.geoJSON($,x.options);if(G.getLayers().length===1){var Z=G.getLayers();G=Di(Z,1)[0]}l._setPane(G,"layerPane");var X=G.addTo(l._map.pm._getContainingLayer());if(X.pm.enable(x.pm.options),X.pm.disable(),x._pmTempLayer=!0,r._pmTempLayer=!0,x.remove(),x.removeFrom(l._map.pm._getContainingLayer()),r.remove(),r.removeFrom(l._map.pm._getContainingLayer()),X.getLayers&&X.getLayers().length===0&&l._map.pm.removeLayer({target:X}),X instanceof L.LayerGroup&&X.eachLayer(function(ut){l._addDrawnLayerProp(ut)}),l._addDrawnLayerProp(X),l.options.layersToCut&&L.Util.isArray(l.options.layersToCut)&&l.options.layersToCut.length>0){var mt=l.options.layersToCut.indexOf(x);mt>-1&&l.options.layersToCut.splice(mt,1)}l._editedLayers.push({layer:X,originalLayer:x})})},_cutLayer:function(r,l){var d,y,x,B,N,$,G=L.geoJSON();if(l instanceof L.Polygon)y=l.toGeoJSON(15),x=r.toGeoJSON(15),B=Ce(y),N=Ce(x),d=($=lr().difference(B.coordinates,N.coordinates)).length===0?null:$.length===1?Zn($[0]):qn($);else{var Z=ie(l);Z.forEach(function(X){var mt=Kr(X,r.toGeoJSON(15));(mt&&mt.features.length>0?L.geoJSON(mt):L.geoJSON(X)).getLayers().forEach(function(ut){Gs(r.toGeoJSON(15),ut.toGeoJSON(15))||ut.addTo(G)})}),d=Z.length>1?Re(G):G.toGeoJSON(15)}return d},_change:L.Util.falseFn}),D.Text=D.extend({initialize:function(r){this._map=r,this._shape="Text",this.toolbarButtonName="drawText"},enable:function(r){L.Util.setOptions(this,r),this._enabled=!0,this._map.on("click",this._createMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._hintMarker=L.marker(this._map.getCenter(),{interactive:!1,zIndexOffset:100,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(Bt("tooltips.placeText"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._layer=this._hintMarker,this._map.on("mousemove",this._syncHintMarker,this),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map.off("click",this._createMarker,this),this._hintMarker.remove(),this._map.off("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var l=r;l.target=this._hintMarker,this._handleSnapping(l)}},_createMarker:function(r){var l;if(r.latlng&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var d=this._hintMarker.getLatLng();if(this.textArea=this._createTextArea(),(l=this.options.textOptions)!==null&&l!==void 0&&l.className){var y,x=this.options.textOptions.className.split(" ");(y=this.textArea.classList).add.apply(y,rn(x))}var B=this._createTextIcon(this.textArea),N=new L.Marker(d,{textMarker:!0,_textMarkerOverPM:!0,icon:B});if(this._setPane(N,"markerPane"),this._finishLayer(N),N.pm||(N.options.draggable=!1),N.addTo(this._map.pm._getContainingLayer()),N.pm){var $,G,Z,X,mt;N.pm.textArea=this.textArea,L.setOptions(N.pm,{removeIfEmpty:($=(G=this.options.textOptions)===null||G===void 0?void 0:G.removeIfEmpty)===null||$===void 0||$});var ut=(Z=(X=this.options.textOptions)===null||X===void 0?void 0:X.focusAfterDraw)===null||Z===void 0||Z;N.pm._createTextMarker(ut),(mt=this.options.textOptions)!==null&&mt!==void 0&&mt.text&&N.pm.setText(this.options.textOptions.text)}this._fireCreate(N),this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()}},_createTextArea:function(){var r=document.createElement("textarea");return r.autofocus=!0,r.readOnly=!0,r.classList.add("pm-textarea","pm-disabled"),r},_createTextIcon:function(r){return L.divIcon({className:"pm-text-marker",html:r})}});const Xr={enableLayerDrag:function(){if(this.options.draggable&&this._layer._map){this.disable(),this._layerDragEnabled=!0,this._map||(this._map=this._layer._map),(this._layer instanceof L.Marker||this._layer instanceof L.ImageOverlay)&&L.DomEvent.on(this._getDOMElem(),"dragstart",this._stopDOMImageDrag),this._layer.dragging&&this._layer.dragging.disable(),this._tempDragCoord=null,zt(this._layer)instanceof L.Canvas?(this._layer.on("mouseout",this.removeDraggingClass,this),this._layer.on("mouseover",this.addDraggingClass,this)):this.addDraggingClass(),this._originalMapDragState=this._layer._map.dragging._enabled,this._safeToCacheDragState=!0;var r=this._getDOMElem();r&&(zt(this._layer)instanceof L.Canvas?(this._layer.on("touchstart mousedown",this._dragMixinOnMouseDown,this),this._map.pm._addTouchEvents(r)):L.DomEvent.on(r,"touchstart mousedown",this._simulateMouseDownEvent,this)),this._fireDragEnable()}},disableLayerDrag:function(){this._layerDragEnabled=!1,zt(this._layer)instanceof L.Canvas?(this._layer.off("mouseout",this.removeDraggingClass,this),this._layer.off("mouseover",this.addDraggingClass,this)):this.removeDraggingClass(),this._originalMapDragState&&this._dragging&&this._map.dragging.enable(),this._safeToCacheDragState=!1,this._layer.dragging&&this._layer.dragging.disable();var r=this._getDOMElem();r&&(zt(this._layer)instanceof L.Canvas?(this._layer.off("touchstart mousedown",this._dragMixinOnMouseDown,this),this._map.pm._removeTouchEvents(r)):L.DomEvent.off(r,"touchstart mousedown",this._simulateMouseDownEvent,this)),this._layerDragged&&this._fireUpdate(),this._layerDragged=!1,this._fireDragDisable()},dragging:function(){return this._dragging},layerDragEnabled:function(){return!!this._layerDragEnabled},_simulateMouseDownEvent:function(r){var l=r.touches?r.touches[0]:r,d={originalEvent:l,target:this._layer};return d.containerPoint=this._map.mouseEventToContainerPoint(l),d.latlng=this._map.containerPointToLatLng(d.containerPoint),this._dragMixinOnMouseDown(d),!1},_simulateMouseMoveEvent:function(r){var l=r.touches?r.touches[0]:r,d={originalEvent:l,target:this._layer};return d.containerPoint=this._map.mouseEventToContainerPoint(l),d.latlng=this._map.containerPointToLatLng(d.containerPoint),this._dragMixinOnMouseMove(d),!1},_simulateMouseUpEvent:function(r){var l={originalEvent:r.touches?r.touches[0]:r,target:this._layer};return r.type.indexOf("touch")===-1&&(l.containerPoint=this._map.mouseEventToContainerPoint(r),l.latlng=this._map.containerPointToLatLng(l.containerPoint)),this._dragMixinOnMouseUp(l),!1},_dragMixinOnMouseDown:function(r){if(!(r.originalEvent.button>0)){this._overwriteEventIfItComesFromMarker(r);var l=r._fromLayerSync,d=this._syncLayers("_dragMixinOnMouseDown",r);this._layer instanceof L.Marker&&(!this.options.snappable||l||d?this._disableSnapping():this._initSnappableMarkers()),this._layer instanceof L.CircleMarker&&!(this._layer instanceof L.Circle)&&(!this.options.snappable||l||d?this._layer.pm.options.editable?this._layer.pm._disableSnapping():this._layer.pm._disableSnappingDrag():this._layer.pm.options.editable||this._initSnappableMarkersDrag()),this._safeToCacheDragState&&(this._originalMapDragState=this._layer._map.dragging._enabled,this._safeToCacheDragState=!1),this._tempDragCoord=r.latlng,L.DomEvent.on(this._map.getContainer(),"touchend mouseup",this._simulateMouseUpEvent,this),L.DomEvent.on(this._map.getContainer(),"touchmove mousemove",this._simulateMouseMoveEvent,this)}},_dragMixinOnMouseMove:function(r){this._overwriteEventIfItComesFromMarker(r);var l=this._getDOMElem();this._syncLayers("_dragMixinOnMouseMove",r),this._dragging||(this._dragging=!0,L.DomUtil.addClass(l,"leaflet-pm-dragging"),this._layer instanceof L.Marker||this._layer.bringToFront(),this._originalMapDragState&&this._map.dragging.disable(),this._fireDragStart()),this._tempDragCoord||(this._tempDragCoord=r.latlng),this._onLayerDrag(r),this._layer instanceof L.CircleMarker&&this._layer.pm._updateHiddenPolyCircle()},_dragMixinOnMouseUp:function(r){var l=this,d=this._getDOMElem();return this._syncLayers("_dragMixinOnMouseUp",r),this._originalMapDragState&&this._map.dragging.enable(),this._safeToCacheDragState=!0,L.DomEvent.off(this._map.getContainer(),"touchmove mousemove",this._simulateMouseMoveEvent,this),L.DomEvent.off(this._map.getContainer(),"touchend mouseup",this._simulateMouseUpEvent,this),!!this._dragging&&(this._layer instanceof L.CircleMarker&&this._layer.pm._updateHiddenPolyCircle(),this._layerDragged=!0,window.setTimeout(function(){l._dragging=!1,d&&L.DomUtil.removeClass(d,"leaflet-pm-dragging"),l._fireDragEnd(),l._fireEdit(),l._layerEdited=!0},10),!0)},_onLayerDrag:function(r){var l=r.latlng,d=l.lat-this._tempDragCoord.lat,y=l.lng-this._tempDragCoord.lng,x=function X(mt){return mt.map(function(ut){if(Array.isArray(ut))return X(ut);var Mt={lat:ut.lat+d,lng:ut.lng+y};return(ut.alt||ut.alt===0)&&(Mt.alt=ut.alt),Mt})};if(this._layer instanceof L.Circle||this._layer instanceof L.CircleMarker&&this._layer.options.editable){var B=x([this._layer.getLatLng()]);this._layer.setLatLng(B[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.CircleMarker||this._layer instanceof L.Marker){var N=this._layer.getLatLng();this._layer._snapped&&(N=this._layer._orgLatLng);var $=x([N]);this._layer.setLatLng($[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.ImageOverlay){var G=x([this._layer.getBounds().getNorthWest(),this._layer.getBounds().getSouthEast()]);this._layer.setBounds(G),this._fireChange(this._layer.getBounds(),"Edit")}else{var Z=x(this._layer.getLatLngs());this._layer.setLatLngs(Z),this._fireChange(this._layer.getLatLngs(),"Edit")}this._tempDragCoord=l,r.layer=this._layer,this._fireDrag(r)},addDraggingClass:function(){var r=this._getDOMElem();r&&L.DomUtil.addClass(r,"leaflet-pm-draggable")},removeDraggingClass:function(){var r=this._getDOMElem();r&&L.DomUtil.removeClass(r,"leaflet-pm-draggable")},_getDOMElem:function(){var r=null;return this._layer._path?r=this._layer._path:this._layer._renderer&&this._layer._renderer._container?r=this._layer._renderer._container:this._layer._image?r=this._layer._image:this._layer._icon&&(r=this._layer._icon),r},_overwriteEventIfItComesFromMarker:function(r){r.target.getLatLng&&(!r.target._radius||r.target._radius<=10)&&(r.containerPoint=this._map.mouseEventToContainerPoint(r.originalEvent),r.latlng=this._map.containerPointToLatLng(r.containerPoint))},_syncLayers:function(r,l){var d=this;if(this.enabled())return!1;if(!l._fromLayerSync&&this._layer===l.target&&this.options.syncLayersOnDrag){l._fromLayerSync=!0;var y=[];if(L.Util.isArray(this.options.syncLayersOnDrag))y=this.options.syncLayersOnDrag,this.options.syncLayersOnDrag.forEach(function(N){N instanceof L.LayerGroup&&(y=y.concat(N.pm.getLayers(!0)))});else if(this.options.syncLayersOnDrag===!0&&this._parentLayerGroup)for(var x in this._parentLayerGroup){var B=this._parentLayerGroup[x];B.pm&&(y=B.pm.getLayers(!0))}return L.Util.isArray(y)&&y.length>0&&(y=y.filter(function(N){return!!N.pm}).filter(function(N){return!!N.pm.options.draggable})).forEach(function(N){N!==d._layer&&N.pm[r]&&(N._snapped=!1,N.pm[r](l))}),y.length>0}return!1},_stopDOMImageDrag:function(r){return r.preventDefault(),!1}};function Dn(r,l,d){var y=d.getMaxZoom();if(y===1/0&&(y=d.getZoom()),L.Util.isArray(r)){var x=[];return r.forEach(function(B){x.push(Dn(B,l,d))}),x}return r instanceof L.LatLng?function(B,N,$,G){return $.unproject(N.transform($.project(B,G)),G)}(r,l,d,y):null}function Ee(r,l){l instanceof L.Layer&&(l=l.getLatLng());var d=r.getMaxZoom();return d===1/0&&(d=r.getZoom()),r.project(l,d)}function mn(r,l){var d=r.getMaxZoom();return d===1/0&&(d=r.getZoom()),r.unproject(l,d)}var Or={_onRotateStart:function(r){this._preventRenderingMarkers(!0),this._rotationOriginLatLng=this._getRotationCenter().clone(),this._rotationOriginPoint=Ee(this._map,this._rotationOriginLatLng),this._rotationStartPoint=Ee(this._map,r.target.getLatLng()),this._initialRotateLatLng=Pt(this._layer),this._startAngle=this.getAngle();var l=Pt(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._fireRotationStart(this._rotationLayer,l),this._fireRotationStart(this._map,l)},_onRotate:function(r){var l=Ee(this._map,r.target.getLatLng()),d=this._rotationStartPoint,y=this._rotationOriginPoint,x=Math.atan2(l.y-y.y,l.x-y.x)-Math.atan2(d.y-y.y,d.x-y.x);this._layer.setLatLngs(this._rotateLayer(x,this._initialRotateLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));var B=this;(function Z(X){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1;if(ut>-1&&mt.push(ut),L.Util.isArray(X[0]))X.forEach(function(Rt,qt){return Z(Rt,mt.slice(),qt)});else{var Mt=wt()(B._markers,mt);X.forEach(function(Rt,qt){Mt[qt].setLatLng(Rt)})}})(this._layer.getLatLngs());var N=Pt(this._rotationLayer);this._rotationLayer.setLatLngs(this._rotateLayer(x,this._rotationLayer.pm._rotateOrgLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));var $=180*x/Math.PI,G=($=$<0?$+360:$)+this._startAngle;this._setAngle(G),this._rotationLayer.pm._setAngle(G),this._fireRotation(this._rotationLayer,$,N),this._fireRotation(this._map,$,N),this._rotationLayer.pm._fireChange(this._rotationLayer.getLatLngs(),"Rotation")},_onRotateEnd:function(){var r=this._startAngle;delete this._rotationOriginLatLng,delete this._rotationOriginPoint,delete this._rotationStartPoint,delete this._initialRotateLatLng,delete this._startAngle;var l=Pt(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._rotationLayer.pm._rotateOrgLatLng=Pt(this._rotationLayer),this._fireRotationEnd(this._rotationLayer,r,l),this._fireRotationEnd(this._map,r,l),this._rotationLayer.pm._fireEdit(this._rotationLayer,"Rotation"),this._preventRenderingMarkers(!1),this._layerRotated=!0},_rotateLayer:function(r,l,d,y,x){var B=Ee(x,d);return this._matrix=y.clone().rotate(r,B).flip(),Dn(l,this._matrix,x)},_setAngle:function(r){r=r<0?r+360:r,this._angle=r%360},_getRotationCenter:function(){var r=L.polygon(this._layer.getLatLngs(),{stroke:!1,fill:!1,pmIgnore:!0}).addTo(this._layer._map),l=r.getCenter();return r.removeFrom(this._layer._map),l},enableRotate:function(){this.options.allowRotation?(this.rotateEnabled()&&this.disableRotate(),this._rotatePoly=L.polygon(this._layer.getLatLngs(),{fill:!1,stroke:!1,pmIgnore:!1,snapIgnore:!0}),this._rotatePoly._pmTempLayer=!0,this._rotatePoly.addTo(this._layer._map),this._rotatePoly.pm._setAngle(this.getAngle()),this._rotatePoly.pm.setOptions(this._layer._map.pm.getGlobalOptions()),this._rotatePoly.pm.setOptions({rotate:!0,snappable:!1,hideMiddleMarkers:!0}),this._rotatePoly.pm._rotationLayer=this._layer,this._rotatePoly.pm.enable(),this._rotateOrgLatLng=Pt(this._layer),this._rotateEnabled=!0,this._layer.on("remove",this.disableRotate,this),this._fireRotationEnable(this._layer),this._fireRotationEnable(this._layer._map)):this.disableRotate()},disableRotate:function(){this.rotateEnabled()&&(this._rotatePoly.pm._layerRotated&&this._fireUpdate(),this._rotatePoly.pm._layerRotated=!1,this._rotatePoly.pm.disable(),this._rotatePoly.remove(),this._rotatePoly.pm.setOptions({rotate:!1}),this._rotatePoly=void 0,this._rotateOrgLatLng=void 0,this._layer.off("remove",this.disableRotate,this),this._rotateEnabled=!1,this._fireRotationDisable(this._layer),this._fireRotationDisable(this._layer._map))},rotateEnabled:function(){return this._rotateEnabled},rotateLayer:function(r){var l=this.getAngle(),d=this._layer.getLatLngs(),y=r*(Math.PI/180);this._layer.setLatLngs(this._rotateLayer(y,this._layer.getLatLngs(),this._getRotationCenter(),L.PM.Matrix.init(),this._layer._map)),this._rotateOrgLatLng=L.polygon(this._layer.getLatLngs()).getLatLngs(),this._setAngle(this.getAngle()+r),this.rotateEnabled()&&this._rotatePoly&&this._rotatePoly.pm.enabled()&&(this._rotatePoly.setLatLngs(this._rotateLayer(y,this._rotatePoly.getLatLngs(),this._getRotationCenter(),L.PM.Matrix.init(),this._rotatePoly._map)),this._rotatePoly.pm._initMarkers());var x=this.getAngle()-l;x=x<0?x+360:x,this._startAngle=l,this._fireRotation(this._layer,x,d,this._layer),this._fireRotation(this._map||this._layer._map,x,d,this._layer),delete this._startAngle,this._fireChange(this._layer.getLatLngs(),"Rotation")},rotateLayerToAngle:function(r){var l=r-this.getAngle();this.rotateLayer(l)},getAngle:function(){return this._angle||0},setInitAngle:function(r){this._setAngle(r)}};const Ar=Or,Be=L.Class.extend({includes:[Xr,R,Ar,Et],options:{snappable:!0,snapDistance:20,allowSelfIntersection:!0,allowSelfIntersectionEdit:!1,preventMarkerRemoval:!1,removeLayerBelowMinVertexCount:!0,limitMarkersToCount:-1,hideMiddleMarkers:!1,snapSegment:!0,syncLayersOnDrag:!1,draggable:!0,allowEditing:!0,allowRemoval:!0,allowCutting:!0,allowRotation:!0,addVertexOn:"click",removeVertexOn:"contextmenu",removeVertexValidation:void 0,addVertexValidation:void 0,moveVertexValidation:void 0},setOptions:function(r){L.Util.setOptions(this,r)},getOptions:function(){return this.options},applyOptions:function(){},isPolygon:function(){return this._layer instanceof L.Polygon},getShape:function(){return this._shape},_setPane:function(r,l){l==="layerPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":l==="vertexPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":l==="markerPane"&&(r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},remove:function(){(this._map||this._layer._map).pm.removeLayer({target:this._layer})},_vertexValidation:function(r,l){var d=l.target,y={layer:this._layer,marker:d,event:l},x="";return r==="move"?x="moveVertexValidation":r==="add"?x="addVertexValidation":r==="remove"&&(x="removeVertexValidation"),this.options[x]&&typeof this.options[x]=="function"&&!this.options[x](y)?(r==="move"&&(d._cancelDragEventChain=d.getLatLng()),!1):(d._cancelDragEventChain=null,!0)},_vertexValidationDrag:function(r){return!r._cancelDragEventChain||(r._latlng=r._cancelDragEventChain,r.update(),!1)},_vertexValidationDragEnd:function(r){return!r._cancelDragEventChain||(r._cancelDragEventChain=null,!1)}});function zn(r){return function(l){if(Array.isArray(l))return Rr(l)}(r)||function(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}(r)||function(l,d){if(l){if(typeof l=="string")return Rr(l,d);var y=Object.prototype.toString.call(l).slice(8,-1);if(y==="Object"&&l.constructor&&(y=l.constructor.name),y==="Map"||y==="Set")return Array.from(l);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return Rr(l,d)}}(r)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Rr(r,l){(l==null||l>r.length)&&(l=r.length);for(var d=0,y=new Array(l);d0&&l._getMap()&&l._getMap().pm.globalEditModeEnabled()&&l.enabled()&&l.enable(l.getOptions())}},100,this),this),this._layerGroup.on("layerremove",function(d){l._removeLayerFromGroup(d.target)},this),this._layerGroup.on("layerremove",L.Util.throttle(function(d){d.target._pmTempLayer||(l._layers=l.getLayers())},100,this),this)},enable:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];l.length===0&&(this._layers=this.getLayers()),this._options=r,this._layers.forEach(function(d){d instanceof L.LayerGroup?l.indexOf(d._leaflet_id)===-1&&(l.push(d._leaflet_id),d.pm.enable(r,l)):d.pm.enable(r)})},disable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r.length===0&&(this._layers=this.getLayers()),this._layers.forEach(function(l){l instanceof L.LayerGroup?r.indexOf(l._leaflet_id)===-1&&(r.push(l._leaflet_id),l.pm.disable(r)):l.pm.disable()})},enabled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r.length===0&&(this._layers=this.getLayers());var l=this._layers.find(function(d){return d instanceof L.LayerGroup?r.indexOf(d._leaflet_id)===-1&&(r.push(d._leaflet_id),d.pm.enabled(r)):d.pm.enabled()});return!!l},toggleEdit:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];l.length===0&&(this._layers=this.getLayers()),this._options=r,this._layers.forEach(function(d){d instanceof L.LayerGroup?l.indexOf(d._leaflet_id)===-1&&(l.push(d._leaflet_id),d.pm.toggleEdit(r,l)):d.pm.toggleEdit(r)})},_initLayer:function(r){var l=L.Util.stamp(this._layerGroup);r.pm._parentLayerGroup||(r.pm._parentLayerGroup={}),r.pm._parentLayerGroup[l]=this._layerGroup},_removeLayerFromGroup:function(r){if(r.pm&&r.pm._layerGroup){var l=L.Util.stamp(this._layerGroup);delete r.pm._layerGroup[l]}},dragging:function(){if(this._layers=this.getLayers(),this._layers){var r=this._layers.find(function(l){return l.pm.dragging()});return!!r}return!1},getOptions:function(){return this.options},_getMap:function(){var r;return this._map||((r=this._layers.find(function(l){return!!l._map}))===null||r===void 0?void 0:r._map)||null},getLayers:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],l=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[],x=[];return r?this._layerGroup.getLayers().forEach(function(B){x.push(B),B instanceof L.LayerGroup&&y.indexOf(B._leaflet_id)===-1&&(y.push(B._leaflet_id),x=x.concat(B.pm.getLayers(!0,!0,!0,y)))}):x=this._layerGroup.getLayers(),d&&(x=x.filter(function(B){return!(B instanceof L.LayerGroup)})),l&&(x=(x=(x=x.filter(function(B){return!!B.pm})).filter(function(B){return!B._pmTempLayer})).filter(function(B){return!L.PM.optIn&&!B.options.pmIgnore||L.PM.optIn&&B.options.pmIgnore===!1})),x},setOptions:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];l.length===0&&(this._layers=this.getLayers()),this.options=r,this._layers.forEach(function(d){d.pm&&(d instanceof L.LayerGroup?l.indexOf(d._leaflet_id)===-1&&(l.push(d._leaflet_id),d.pm.setOptions(r,l)):d.pm.setOptions(r))})}}),Be.Marker=Be.extend({_shape:"Marker",initialize:function(r){this._layer=r,this._enabled=!1,this._layer.on("dragend",this._onDragEnd,this)},enable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{draggable:!0};L.Util.setOptions(this,r),this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._fireEnable()):this.disable()},disable:function(){this.enabled()&&(this.disableLayerDrag(),this._layer.off("remove",this.disable,this),this._layer.off("contextmenu",this._removeMarker,this),this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable(),this._enabled=!1)},enabled:function(){return this._enabled},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping(),this.options.draggable?this.enableLayerDrag():this.disableLayerDrag(),this.options.preventMarkerRemoval||this._layer.on("contextmenu",this._removeMarker,this)},_removeMarker:function(r){var l=r.target;l.remove(),this._fireRemove(l),this._fireRemove(this._map,l)},_onDragEnd:function(){this._fireEdit(),this._layerEdited=!0},_initSnappableMarkers:function(){var r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0||this.options.snapSegment,r.off("pm:drag",this._handleSnapping,this),r.on("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.on("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this),r.on("pm:dragstart",this._unsnap,this)},_disableSnapping:function(){var r=this._layer;r.off("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this)}});const ji={filterMarkerGroup:function(){this.markerCache=[],this.createCache(),this._layer.on("pm:edit",this.createCache,this),this.applyLimitFilters({}),this.throttledApplyLimitFilters||(this.throttledApplyLimitFilters=L.Util.throttle(this.applyLimitFilters,100,this)),this._layer.on("pm:disable",this._removeMarkerLimitEvents,this),this.options.limitMarkersToCount>-1&&(this._layer.on("pm:vertexremoved",this._initMarkers,this),this._map.on("mousemove",this.throttledApplyLimitFilters,this))},_removeMarkerLimitEvents:function(){this._map.off("mousemove",this.throttledApplyLimitFilters,this),this._layer.off("pm:edit",this.createCache,this),this._layer.off("pm:disable",this._removeMarkerLimitEvents,this),this._layer.off("pm:vertexremoved",this._initMarkers,this)},createCache:function(){var r=[].concat(zn(this._markerGroup.getLayers()),zn(this.markerCache));this.markerCache=r.filter(function(l,d,y){return y.indexOf(l)===d})},renderLimits:function(r){var l=this;this.markerCache.forEach(function(d){r.includes(d)?l._markerGroup.addLayer(d):l._markerGroup.removeLayer(d)})},applyLimitFilters:function(r){var l=r.latlng,d=l===void 0?{lat:0,lng:0}:l;if(!this._preventRenderMarkers){var y=zn(this._filterClosestMarkers(d));this.renderLimits(y)}},_filterClosestMarkers:function(r){var l=zn(this.markerCache),d=this.options.limitMarkersToCount;return d===-1?l:(l.sort(function(y,x){return y._latlng.distanceTo(r)-x._latlng.distanceTo(r)}),l.filter(function(y,x){return!(d>-1)||xr.length)&&(l=r.length);for(var d=0,y=new Array(l);dr.length)&&(l=r.length);for(var d=0,y=new Array(l);d1?wt()(x,G):x,X=N.length>1?wt()(this._markers,G):this._markers;Z.splice($+1,0,y),X.splice($+1,0,r),this._layer.setLatLngs(x),this.options.hideMiddleMarkers!==!0&&(this._createMiddleMarker(l,r),this._createMiddleMarker(r,d)),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit"),this._fireVertexAdded(r,L.PM.Utils.findDeepMarkerIndex(this._markers,r).indexPath,y),this.options.snappable&&this._initSnappableMarkers()},hasSelfIntersection:function(){return he(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersectionOnVertexRemoval:function(){this._handleLayerStyle(!0),this.hasSelfIntersection()&&(this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers())},_handleLayerStyle:function(r){var l=this._layer;if(this.hasSelfIntersection()){if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!0),this.isRed)return;r?this._flashLayer():(l.setStyle({color:"#f00000ff"}),this.isRed=!0),this._fireIntersect(he(this._layer.toGeoJSON(15)))}else l.setStyle({color:this.cachedColor}),this.isRed=!1,!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!1)},_flashLayer:function(){var r=this;this.cachedColor||(this.cachedColor=this._layer.options.color),this._layer.setStyle({color:"#f00000ff"}),this.isRed=!0,window.setTimeout(function(){r._layer.setStyle({color:r.cachedColor}),r.isRed=!1},200)},_updateDisabledMarkerStyle:function(r,l){var d=this;r.forEach(function(y){Array.isArray(y)?d._updateDisabledMarkerStyle(y,l):y._icon&&(l&&!d._checkMarkerAllowedToDrag(y)?L.DomUtil.addClass(y._icon,"vertexmarker-disabled"):L.DomUtil.removeClass(y._icon,"vertexmarker-disabled"))})},_removeMarker:function(r){var l=r.target;if(this._vertexValidation("remove",r)){this.options.allowSelfIntersection||(this._coordsBeforeEdit=Pt(this._layer,this._layer.getLatLngs()));var d=this._layer.getLatLngs(),y=L.PM.Utils.findDeepMarkerIndex(this._markers,l),x=y.indexPath,B=y.index,N=y.parentPath;if(x){var $=x.length>1?wt()(d,N):d,G=x.length>1?wt()(this._markers,N):this._markers;if(this.options.removeLayerBelowMinVertexCount||!($.length<=2||this.isPolygon()&&$.length<=3)){$.splice(B,1),this._layer.setLatLngs(d),this.isPolygon()&&$.length<=2&&$.splice(0,$.length);var Z=!1;if($.length<=1&&($.splice(0,$.length),N.length>1&&x.length>1&&(d=Me(d)),this._layer.setLatLngs(d),this._initMarkers(),Z=!0),Vt(d)||this._layer.remove(),d=Me(d),this._layer.setLatLngs(d),this._markers=Me(this._markers),!Z&&(G=x.length>1?wt()(this._markers,N):this._markers,l._middleMarkerPrev&&this._markerGroup.removeLayer(l._middleMarkerPrev),l._middleMarkerNext&&this._markerGroup.removeLayer(l._middleMarkerNext),this._markerGroup.removeLayer(l),G)){var X,mt;if(this.isPolygon()?(X=(B+1)%G.length,mt=(B+(G.length-1))%G.length):(mt=B-1<0?void 0:B-1,X=B+1>=G.length?void 0:B+1),X!==mt){var ut=G[mt],Mt=G[X];this.options.hideMiddleMarkers!==!0&&this._createMiddleMarker(ut,Mt)}G.splice(B,1)}this._fireEdit(),this._layerEdited=!0,this._fireVertexRemoved(l,x),this._fireChange(this._layer.getLatLngs(),"Edit")}else this._flashLayer()}}},updatePolygonCoordsFromMarkerDrag:function(r){var l=this._layer.getLatLngs(),d=r.getLatLng(),y=L.PM.Utils.findDeepMarkerIndex(this._markers,r),x=y.indexPath,B=y.index,N=y.parentPath;(x.length>1?wt()(l,N):l).splice(B,1,d),this._layer.setLatLngs(l)},_getNeighborMarkers:function(r){var l=L.PM.Utils.findDeepMarkerIndex(this._markers,r),d=l.indexPath,y=l.index,x=l.parentPath,B=d.length>1?wt()(this._markers,x):this._markers,N=(y+1)%B.length;return{prevMarker:B[(y+(B.length-1))%B.length],nextMarker:B[N]}},_checkMarkerAllowedToDrag:function(r){var l=this._getNeighborMarkers(r),d=l.prevMarker,y=l.nextMarker,x=L.polyline([d.getLatLng(),r.getLatLng()]),B=L.polyline([r.getLatLng(),y.getLatLng()]),N=Bn(this._layer.toGeoJSON(15),x.toGeoJSON(15)).features.length,$=Bn(this._layer.toGeoJSON(15),B.toGeoJSON(15)).features.length;return r.getLatLng()===this._markers[0][0].getLatLng()?$+=1:r.getLatLng()===this._markers[0][this._markers[0].length-1].getLatLng()&&(N+=1),!(N<=2&&$<=2)},_onMarkerDragStart:function(r){var l=r.target;if(this.cachedColor||(this.cachedColor=this._layer.options.color),this._vertexValidation("move",r)){var d=L.PM.Utils.findDeepMarkerIndex(this._markers,l).indexPath;this._fireMarkerDragStart(r,d),this.options.allowSelfIntersection||(this._coordsBeforeEdit=Pt(this._layer,this._layer.getLatLngs())),!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()?this._markerAllowedToDrag=this._checkMarkerAllowedToDrag(l):this._markerAllowedToDrag=null}},_onMarkerDrag:function(r){var l=r.target;if(this._vertexValidationDrag(l)){var d=L.PM.Utils.findDeepMarkerIndex(this._markers,l),y=d.indexPath,x=d.index,B=d.parentPath;if(y){if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()&&this._markerAllowedToDrag===!1)return this._layer.setLatLngs(this._coordsBeforeEdit),this._initMarkers(),void this._handleLayerStyle();this.updatePolygonCoordsFromMarkerDrag(l);var N=y.length>1?wt()(this._markers,B):this._markers,$=(x+1)%N.length,G=(x+(N.length-1))%N.length,Z=l.getLatLng(),X=N[G].getLatLng(),mt=N[$].getLatLng();if(l._middleMarkerNext){var ut=L.PM.Utils.calcMiddleLatLng(this._map,Z,mt);l._middleMarkerNext.setLatLng(ut)}if(l._middleMarkerPrev){var Mt=L.PM.Utils.calcMiddleLatLng(this._map,Z,X);l._middleMarkerPrev.setLatLng(Mt)}this.options.allowSelfIntersection||this._handleLayerStyle(),this._fireMarkerDrag(r,y),this._fireChange(this._layer.getLatLngs(),"Edit")}}},_onMarkerDragEnd:function(r){var l=r.target;if(this._vertexValidationDragEnd(l)){var d=L.PM.Utils.findDeepMarkerIndex(this._markers,l).indexPath,y=this.hasSelfIntersection();y&&this.options.allowSelfIntersectionEdit&&this._markerAllowedToDrag&&(y=!1);var x=!this.options.allowSelfIntersection&&y;if(this._fireMarkerDragEnd(r,d,x),x)return this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers(),this.options.snappable&&this._initSnappableMarkers(),this._handleLayerStyle(),void this._fireLayerReset(r,d);!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._handleLayerStyle(),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit")}},_onVertexClick:function(r){var l=r.target;if(!l._dragging){var d=L.PM.Utils.findDeepMarkerIndex(this._markers,l).indexPath;this._fireVertexClick(r,d)}}}),Be.Polygon=Be.Line.extend({_shape:"Polygon",_checkMarkerAllowedToDrag:function(r){var l=this._getNeighborMarkers(r),d=l.prevMarker,y=l.nextMarker,x=L.polyline([d.getLatLng(),r.getLatLng()]),B=L.polyline([r.getLatLng(),y.getLatLng()]),N=Bn(this._layer.toGeoJSON(15),x.toGeoJSON(15)).features.length,$=Bn(this._layer.toGeoJSON(15),B.toGeoJSON(15)).features.length;return!(N<=2&&$<=2)}}),Be.Rectangle=Be.Polygon.extend({_shape:"Rectangle",_initMarkers:function(){var r=this,l=this._map,d=this._findCorners();this._markerGroup&&this._markerGroup.clearLayers(),this._markerGroup=new L.FeatureGroup,this._markerGroup._pmTempLayer=!0,l.addLayer(this._markerGroup),this._markers=[],this._markers[0]=d.map(this._createMarker,this);var y=Qr(this._markers,1);this._cornerMarkers=y[0],this._layer.getLatLngs()[0].forEach(function(x,B){var N=r._cornerMarkers.find(function($){return $._index===B});N&&N.setLatLng(x)})},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping(),this._addMarkerEvents()},_createMarker:function(r,l){var d=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(d,"vertexPane"),d._origLatLng=r,d._index=l,d._pmTempLayer=!0,this._markerGroup.addLayer(d),d},_addMarkerEvents:function(){var r=this;this._markers[0].forEach(function(l){l.on("dragstart",r._onMarkerDragStart,r),l.on("drag",r._onMarkerDrag,r),l.on("dragend",r._onMarkerDragEnd,r),r.options.preventMarkerRemoval||l.on("contextmenu",r._removeMarker,r)})},_removeMarker:function(){return null},_onMarkerDragStart:function(r){if(this._vertexValidation("move",r)){var l=r.target,d=this._cornerMarkers;l._oppositeCornerLatLng=d.find(function(y){return y._index===(l._index+2)%4}).getLatLng(),l._snapped=!1,this._fireMarkerDragStart(r)}},_onMarkerDrag:function(r){var l=r.target;this._vertexValidationDrag(l)&&l._index!==void 0&&(this._adjustRectangleForMarkerMove(l),this._fireMarkerDrag(r),this._fireChange(this._layer.getLatLngs(),"Edit"))},_onMarkerDragEnd:function(r){var l=r.target;this._vertexValidationDragEnd(l)&&(this._cornerMarkers.forEach(function(d){delete d._oppositeCornerLatLng}),this._fireMarkerDragEnd(r),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit"))},_adjustRectangleForMarkerMove:function(r){L.extend(r._origLatLng,r._latlng);var l=L.PM.Utils._getRotatedRectangle(r.getLatLng(),r._oppositeCornerLatLng,this._angle||0,this._map);this._layer.setLatLngs(l),this._adjustAllMarkers(),this._layer.redraw()},_adjustAllMarkers:function(){var r=this,l=this._layer.getLatLngs()[0];l&&l.length!==4&&l.length>0?(l.forEach(function(d,y){r._cornerMarkers[y].setLatLng(d)}),this._cornerMarkers.slice(l.length).forEach(function(d){d.setLatLng(l[0])})):l&&l.length?this._cornerMarkers.forEach(function(d){d.setLatLng(l[d._index])}):console.error("The layer has no LatLngs")},_findCorners:function(){var r=this._layer.getLatLngs()[0];return L.PM.Utils._getRotatedRectangle(r[0],r[2],this._angle||0,this._map)}}),Be.Circle=Be.extend({_shape:"Circle",initialize:function(r){this._layer=r,this._enabled=!1,this._updateHiddenPolyCircle()},enable:function(r){L.Util.setOptions(this,r),this._map=this._layer._map,this.options.allowEditing?(this.enabled()||this.disable(),this._enabled=!0,this._initMarkers(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._updateHiddenPolyCircle(),this._fireEnable()):this.disable()},disable:function(){if(this.enabled()&&!this._dragging){this._centerMarker.off("dragstart",this._onCircleDragStart,this),this._centerMarker.off("drag",this._onCircleDrag,this),this._centerMarker.off("dragend",this._onCircleDragEnd,this),this._outerMarker.off("drag",this._handleOuterMarkerSnapping,this),this._layer.off("remove",this.disable,this),this._enabled=!1,this._helperLayers.clearLayers();var r=this._layer._path?this._layer._path:this._layer._renderer._container;L.DomUtil.removeClass(r,"leaflet-pm-draggable"),this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()}},enabled:function(){return this._enabled},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},_initMarkers:function(){var r=this._map;this._helperLayers&&this._helperLayers.clearLayers(),this._helperLayers=new L.FeatureGroup,this._helperLayers._pmTempLayer=!0,this._helperLayers.addTo(r);var l=this._layer.getLatLng(),d=this._layer._radius,y=this._getLatLngOnCircle(l,d);this._centerMarker=this._createCenterMarker(l),this._outerMarker=this._createOuterMarker(y),this._markers=[this._centerMarker,this._outerMarker],this._createHintLine(this._centerMarker,this._outerMarker)},applyOptions:function(){this.options.snappable?(this._initSnappableMarkers(),this._outerMarker.on("drag",this._handleOuterMarkerSnapping,this),this._outerMarker.on("move",this._syncHintLine,this),this._outerMarker.on("move",this._syncCircleRadius,this),this._centerMarker.on("move",this._moveCircle,this)):this._disableSnapping()},_createHintLine:function(r,l){var d=r.getLatLng(),y=l.getLatLng();this._hintline=L.polyline([d,y],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._helperLayers.addLayer(this._hintline)},_createCenterMarker:function(r){var l=this._createMarker(r);return L.DomUtil.addClass(l._icon,"leaflet-pm-draggable"),l.on("drag",this._moveCircle,this),l.on("dragstart",this._onCircleDragStart,this),l.on("drag",this._onCircleDrag,this),l.on("dragend",this._onCircleDragEnd,this),l},_createOuterMarker:function(r){var l=this._createMarker(r);return l.on("drag",this._resizeCircle,this),l},_createMarker:function(r){var l=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(l,"vertexPane"),l._origLatLng=r,l._pmTempLayer=!0,l.on("dragstart",this._onMarkerDragStart,this),l.on("drag",this._onMarkerDrag,this),l.on("dragend",this._onMarkerDragEnd,this),this._helperLayers.addLayer(l),l},_resizeCircle:function(){this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker()),this._syncHintLine(),this._syncCircleRadius()},_moveCircle:function(r){if(!r.target._cancelDragEventChain){var l=r.latlng;this._layer.setLatLng(l);var d=this._layer._radius,y=this._getLatLngOnCircle(l,d);this._outerMarker._latlng=y,this._outerMarker.update(),this._syncHintLine(),this._updateHiddenPolyCircle(),this._fireCenterPlaced("Edit"),this._fireChange(this._layer.getLatLng(),"Edit")}},_syncCircleRadius:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),d=this._map.distance(r,l);this.options.minRadiusCircle&&dthis.options.maxRadiusCircle?this._layer.setRadius(this.options.maxRadiusCircle):this._layer.setRadius(d),this._updateHiddenPolyCircle(),this._fireChange(this._layer.getLatLng(),"Edit")},_syncHintLine:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng();this._hintline.setLatLngs([r,l])},_disableSnapping:function(){var r=this;this._markers.forEach(function(l){l.off("move",r._syncHintLine,r),l.off("move",r._syncCircleRadius,r),l.off("drag",r._handleSnapping,r),l.off("dragend",r._cleanupSnapping,r)}),this._layer.off("pm:dragstart",this._unsnap,this)},_onMarkerDragStart:function(r){this._vertexValidation("move",r)&&this._fireMarkerDragStart(r)},_onMarkerDrag:function(r){var l=r.target;this._vertexValidationDrag(l)&&this._fireMarkerDrag(r)},_onMarkerDragEnd:function(r){var l=r.target;this._vertexValidationDragEnd(l)&&(this._fireEdit(),this._layerEdited=!0,this._fireMarkerDragEnd(r))},_onCircleDragStart:function(r){this._vertexValidationDrag(r.target)?(delete this._vertexValidationReset,this._fireDragStart()):this._vertexValidationReset=!0},_onCircleDrag:function(r){this._vertexValidationReset||this._fireDrag(r)},_onCircleDragEnd:function(){this._vertexValidationReset?delete this._vertexValidationReset:this._fireDragEnd()},_updateHiddenPolyCircle:function(){var r=this._map&&this._map.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(this._layer,200,!r).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(this._layer,200,!r),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)},_getLatLngOnCircle:function(r,l){var d=this._map.project(r),y=L.point(d.x+l,d.y);return this._map.unproject(y)},_getNewDestinationOfOuterMarker:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),d=this._map.distance(r,l);return this.options.minRadiusCircle&&dthis.options.maxRadiusCircle&&(l=Ft(this._map,r,l,this.options.maxRadiusCircle)),l},_handleOuterMarkerSnapping:function(){if(this._outerMarker._snapped){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),d=this._map.distance(r,l);(this.options.minRadiusCircle&&dthis.options.maxRadiusCircle)&&this._outerMarker.setLatLng(this._outerMarker._orgLatLng)}this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker())}}),Be.CircleMarker=Be.extend({_shape:"CircleMarker",initialize:function(r){this._layer=r,this._enabled=!1,this._updateHiddenPolyCircle()},enable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{draggable:!0,snappable:!0};L.Util.setOptions(this,r),this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._layer.on("pm:dragstart",this._onDragStart,this),this._layer.on("pm:drag",this._onMarkerDrag,this),this._layer.on("pm:dragend",this._onMarkerDragEnd,this),this._updateHiddenPolyCircle(),this._fireEnable()):this.disable()},disable:function(){this._dragging||(this._helperLayers&&this._helperLayers.clearLayers(),this._map||(this._map=this._layer._map),this._map||(this.options.editable?(this._map.off("move",this._syncMarkers,this),this._outerMarker&&this._outerMarker.on("drag",this._handleOuterMarkerSnapping,this)):this._map.off("move",this._updateHiddenPolyCircle,this)),this.disableLayerDrag(),this._layer.off("contextmenu",this._removeMarker,this),this._layer.off("remove",this.disable,this),this.enabled()&&(this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()),this._enabled=!1)},enabled:function(){return this._enabled},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},applyOptions:function(){!this.options.editable&&this.options.draggable?this.enableLayerDrag():this.disableLayerDrag(),this.options.editable?(this._initMarkers(),this._map.on("move",this._syncMarkers,this)):this._map.on("move",this._updateHiddenPolyCircle,this),this.options.snappable?this.options.editable?(this._initSnappableMarkers(),this._centerMarker.on("drag",this._moveCircle,this),this.options.editable&&this._outerMarker.on("drag",this._handleOuterMarkerSnapping,this),this._outerMarker.on("move",this._syncHintLine,this),this._outerMarker.on("move",this._syncCircleRadius,this)):this._initSnappableMarkersDrag():this.options.editable?this._disableSnapping():this._disableSnappingDrag(),this.options.preventMarkerRemoval||this._layer.on("contextmenu",this._removeMarker,this)},_initMarkers:function(){var r=this._map;this._helperLayers&&this._helperLayers.clearLayers(),this._helperLayers=new L.FeatureGroup,this._helperLayers._pmTempLayer=!0,this._helperLayers.addTo(r);var l=this._layer.getLatLng(),d=this._layer._radius,y=this._getLatLngOnCircle(l,d);this._centerMarker=this._createCenterMarker(l),this._outerMarker=this._createOuterMarker(y),this._markers=[this._centerMarker,this._outerMarker],this._createHintLine(this._centerMarker,this._outerMarker)},_getLatLngOnCircle:function(r,l){var d=this._map.project(r),y=L.point(d.x+l,d.y);return this._map.unproject(y)},_createHintLine:function(r,l){var d=r.getLatLng(),y=l.getLatLng();this._hintline=L.polyline([d,y],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._helperLayers.addLayer(this._hintline)},_createCenterMarker:function(r){var l=this._createMarker(r);return this.options.draggable?L.DomUtil.addClass(l._icon,"leaflet-pm-draggable"):l.dragging.disable(),l},_createOuterMarker:function(r){var l=this._createMarker(r);return l.on("drag",this._resizeCircle,this),l},_createMarker:function(r){var l=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(l,"vertexPane"),l._origLatLng=r,l._pmTempLayer=!0,l.on("dragstart",this._onMarkerDragStart,this),l.on("drag",this._onMarkerDrag,this),l.on("dragend",this._onMarkerDragEnd,this),this._helperLayers.addLayer(l),l},_moveCircle:function(){var r=this._centerMarker.getLatLng();this._layer.setLatLng(r);var l=this._layer._radius,d=this._getLatLngOnCircle(r,l);this._outerMarker._latlng=d,this._outerMarker.update(),this._syncHintLine(),this._updateHiddenPolyCircle(),this._fireCenterPlaced("Edit"),this._fireChange(this._layer.getLatLng(),"Edit")},_syncMarkers:function(){var r=this._layer.getLatLng(),l=this._layer._radius,d=this._getLatLngOnCircle(r,l);this._outerMarker.setLatLng(d),this._centerMarker.setLatLng(r),this._syncHintLine(),this._updateHiddenPolyCircle()},_resizeCircle:function(){this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker()),this._syncHintLine(),this._syncCircleRadius()},_syncCircleRadius:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),d=this._map.project(r).distanceTo(this._map.project(l));this.options.minRadiusCircleMarker&&dthis.options.maxRadiusCircleMarker?this._layer.setRadius(this.options.maxRadiusCircleMarker):this._layer.setRadius(d),this._updateHiddenPolyCircle(),this._fireChange(this._layer.getLatLng(),"Edit")},_syncHintLine:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng();this._hintline.setLatLngs([r,l])},_removeMarker:function(){this.options.editable&&this.disable(),this._layer.remove(),this._fireRemove(this._layer),this._fireRemove(this._map,this._layer)},_onDragStart:function(){this._map.pm.Draw.CircleMarker._layerIsDragging=!0},_onMarkerDragStart:function(r){this._vertexValidation("move",r)&&this._fireMarkerDragStart(r)},_onMarkerDrag:function(r){var l=r.target;l instanceof L.Marker&&!this._vertexValidationDrag(l)||this._fireMarkerDrag(r)},_onMarkerDragEnd:function(r){this._map.pm.Draw.CircleMarker._layerIsDragging=!1;var l=r.target;this._vertexValidationDragEnd(l)&&(this.options.editable&&(this._fireEdit(),this._layerEdited=!0),this._fireMarkerDragEnd(r))},_initSnappableMarkersDrag:function(){var r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0||this.options.snapSegment,r.off("pm:drag",this._handleSnapping,this),r.on("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.on("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this),r.on("pm:dragstart",this._unsnap,this)},_disableSnappingDrag:function(){var r=this._layer;r.off("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this)},_updateHiddenPolyCircle:function(){var r=this._layer._map||this._map;if(r){var l=L.PM.Utils.pxRadiusToMeterRadius(this._layer.getRadius(),r,this._layer.getLatLng()),d=L.circle(this._layer.getLatLng(),this._layer.options);d.setRadius(l);var y=r&&r.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(d,200,!y).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(d,200,!y),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)}},_getNewDestinationOfOuterMarker:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),d=this._map.project(r).distanceTo(this._map.project(l));return this.options.minRadiusCircleMarker&&dthis.options.maxRadiusCircleMarker&&(l=Ft(this._map,r,l,L.PM.Utils.pxRadiusToMeterRadius(this.options.maxRadiusCircleMarker,this._map,r))),l},_handleOuterMarkerSnapping:function(){if(this._outerMarker._snapped){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),d=this._map.project(r).distanceTo(this._map.project(l));(this.options.minRadiusCircleMarker&&dthis.options.maxRadiusCircleMarker)&&this._outerMarker.setLatLng(this._outerMarker._orgLatLng)}this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker())}}),Be.ImageOverlay=Be.extend({_shape:"ImageOverlay",initialize:function(r){this._layer=r,this._enabled=!1},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},enabled:function(){return this._enabled},enable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{draggable:!0,snappable:!0};L.Util.setOptions(this,r),this._map=this._layer._map,this._map&&(this.options.allowEditing?(this.enabled()||this.disable(),this.enableLayerDrag(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._otherSnapLayers=this._findCorners(),this._fireEnable()):this.disable())},disable:function(){this._dragging||(this._map||(this._map=this._layer._map),this.disableLayerDrag(),this._layer.off("remove",this.disable,this),this.enabled()||(this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()),this._enabled=!1)},_findCorners:function(){var r=this._layer.getBounds();return[r.getNorthWest(),r.getNorthEast(),r.getSouthEast(),r.getSouthWest()]}}),Be.Text=Be.extend({_shape:"Text",initialize:function(r){this._layer=r,this._enabled=!1},enable:function(r){L.Util.setOptions(this,r),this.textArea&&(this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._safeToCacheDragState=!0,this._focusChange(),this.textArea.readOnly=!1,this.textArea.classList.remove("pm-disabled"),this._layer.on("remove",this.disable,this),L.DomEvent.on(this.textArea,"input",this._autoResize,this),L.DomEvent.on(this.textArea,"focus",this._focusChange,this),L.DomEvent.on(this.textArea,"blur",this._focusChange,this),this._layer.on("dblclick",L.DomEvent.stop),L.DomEvent.off(this.textArea,"mousedown",this._preventTextSelection),this._enabled=!0,this._fireEnable()):this.disable())},disable:function(){if(this.enabled()){this._layer.off("remove",this.disable,this),L.DomEvent.off(this.textArea,"input",this._autoResize,this),L.DomEvent.off(this.textArea,"focus",this._focusChange,this),L.DomEvent.off(this.textArea,"blur",this._focusChange,this),L.DomEvent.off(document,"click",this._documentClick,this),this._focusChange(),this.textArea.readOnly=!0,this.textArea.classList.add("pm-disabled");var r=document.activeElement;this.textArea.focus(),this.textArea.selectionStart=0,this.textArea.selectionEnd=0,L.DomEvent.on(this.textArea,"mousedown",this._preventTextSelection),r.focus(),this._disableOnBlurActive=!1,this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable(),this._enabled=!1}},enabled:function(){return this._enabled},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping()},_initSnappableMarkers:function(){var r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0||this.options.snapSegment,r.off("pm:drag",this._handleSnapping,this),r.on("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.on("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this),r.on("pm:dragstart",this._unsnap,this)},_disableSnapping:function(){var r=this._layer;r.off("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this)},_autoResize:function(){this.textArea.style.height="1px",this.textArea.style.width="1px";var r=this.textArea.scrollHeight>21?this.textArea.scrollHeight:21,l=this.textArea.scrollWidth>16?this.textArea.scrollWidth:16;this.textArea.style.height="".concat(r,"px"),this.textArea.style.width="".concat(l,"px"),this._layer.options.text=this.getText(),this._fireTextChange(this.getText())},_disableOnBlur:function(){var r=this;this._disableOnBlurActive=!0,setTimeout(function(){r.enabled()&&L.DomEvent.on(document,"click",r._documentClick,r)},100)},_documentClick:function(r){r.target!==this.textArea&&(this.disable(),!this.getText()&&this.options.removeIfEmpty&&this.remove())},_focusChange:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=this._hasFocus;this._hasFocus=r.type==="focus",!l!=!this._hasFocus&&(this._hasFocus?(this._applyFocus(),this._focusText=this.getText(),this._fireTextFocus()):(this._removeFocus(),this._fireTextBlur(),this._focusText!==this.getText()&&(this._fireEdit(),this._layerEdited=!0)))},_applyFocus:function(){this.textArea.classList.add("pm-hasfocus"),this._map.dragging&&(this._safeToCacheDragState&&(this._originalMapDragState=this._map.dragging._enabled,this._safeToCacheDragState=!1),this._map.dragging.disable())},_removeFocus:function(){this._map.dragging&&(this._originalMapDragState&&this._map.dragging.enable(),this._safeToCacheDragState=!0),this.textArea.classList.remove("pm-hasfocus")},focus:function(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.focus()},blur:function(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.blur(),this._disableOnBlurActive&&this.disable()},hasFocus:function(){return this._hasFocus},getElement:function(){return this.textArea},setText:function(r){this.textArea.value=r,this._autoResize()},getText:function(){return this.textArea.value},_initTextMarker:function(){if(this.textArea=L.PM.Draw.Text.prototype._createTextArea.call(this),this.options.className){var r,l=this.options.className.split(" ");(r=this.textArea.classList).add.apply(r,Ni(l))}var d=L.PM.Draw.Text.prototype._createTextIcon.call(this,this.textArea);this._layer.setIcon(d),this._layer.once("add",this._createTextMarker,this)},_createTextMarker:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this._layer.off("add",this._createTextMarker,this),this._layer.getElement().tabIndex=-1,this.textArea.wrap="off",this.textArea.style.overflow="hidden",this.textArea.style.height=L.DomUtil.getStyle(this.textArea,"font-size"),this.textArea.style.width="1px",this._layer.options.text&&this.setText(this._layer.options.text),this._autoResize(),r===!0&&(this.enable(),this.focus(),this._disableOnBlur())},_preventTextSelection:function(r){r.preventDefault()}});var ei=function(r,l,d,y,x,B){this._matrix=[r,l,d,y,x,B]};ei.init=function(){return new L.PM.Matrix(1,0,0,1,0,0)},ei.prototype={transform:function(r){return this._transform(r.clone())},_transform:function(r){var l=this._matrix,d=r.x,y=r.y;return r.x=l[0]*d+l[1]*y+l[4],r.y=l[2]*d+l[3]*y+l[5],r},untransform:function(r){var l=this._matrix;return new L.Point((r.x/l[0]-l[4])/l[0],(r.y/l[2]-l[5])/l[2])},clone:function(){var r=this._matrix;return new L.PM.Matrix(r[0],r[1],r[2],r[3],r[4],r[5])},translate:function(r){return r===void 0?new L.Point(this._matrix[4],this._matrix[5]):(typeof r=="number"?(l=r,d=r):(l=r.x,d=r.y),this._add(1,0,0,1,l,d));var l,d},scale:function(r,l){return r===void 0?new L.Point(this._matrix[0],this._matrix[3]):(l=l||L.point(0,0),typeof r=="number"?(d=r,y=r):(d=r.x,y=r.y),this._add(d,0,0,y,l.x,l.y)._add(1,0,0,1,-l.x,-l.y));var d,y},rotate:function(r,l){var d=Math.cos(r),y=Math.sin(r);return l=l||new L.Point(0,0),this._add(d,y,-y,d,l.x,l.y)._add(1,0,0,1,-l.x,-l.y)},flip:function(){return this._matrix[1]*=-1,this._matrix[2]*=-1,this},_add:function(r,l,d,y,x,B){var N,$=[[],[],[]],G=this._matrix,Z=[[G[0],G[2],G[4]],[G[1],G[3],G[5]],[0,0,1]],X=[[r,d,x],[l,y,B],[0,0,1]];r&&r instanceof L.PM.Matrix&&(X=[[(G=r._matrix)[0],G[2],G[4]],[G[1],G[3],G[5]],[0,0,1]]);for(var mt=0;mt<3;mt+=1)for(var ut=0;ut<3;ut+=1){N=0;for(var Mt=0;Mt<3;Mt+=1)N+=Z[mt][Mt]*X[Mt][ut];$[mt][ut]=N}return this._matrix=[$[0][0],$[1][0],$[0][1],$[1][1],$[0][2],$[1][2]],this}};const Fi=ei;var Vs={calcMiddleLatLng:function(r,l,d){var y=r.project(l),x=r.project(d);return r.unproject(y._add(x)._divideBy(2))},findLayers:function(r){var l=[];return r.eachLayer(function(d){(d instanceof L.Polyline||d instanceof L.Marker||d instanceof L.Circle||d instanceof L.CircleMarker||d instanceof L.ImageOverlay)&&l.push(d)}),l=(l=(l=l.filter(function(d){return!!d.pm})).filter(function(d){return!d._pmTempLayer})).filter(function(d){return!L.PM.optIn&&!d.options.pmIgnore||L.PM.optIn&&d.options.pmIgnore===!1})},circleToPolygon:function(r){for(var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],y=r.getLatLng(),x=r.getRadius(),B=le(y,x,l,0,d),N=[],$=0;$3&&arguments[3]!==void 0&&arguments[3];r.fire(l,d,y);var x=this.getAllParentGroups(r),B=x.groups;B.forEach(function(N){N.fire(l,d,y)})},getAllParentGroups:function(r){var l=[],d=[];return!r._pmLastGroupFetch||!r._pmLastGroupFetch.time||new Date().getTime()-r._pmLastGroupFetch.time>1e3?(function y(x){for(var B in x._eventParents)if(l.indexOf(B)===-1){l.push(B);var N=x._eventParents[B];d.push(N),y(N)}}(r),r._pmLastGroupFetch={time:new Date().getTime(),groups:d,groupIds:l},{groupIds:l,groups:d}):{groups:r._pmLastGroupFetch.groups,groupIds:r._pmLastGroupFetch.groupIds}},createGeodesicPolygon:le,getTranslation:Bt,findDeepCoordIndex:function(r,l){var d,y=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],x=function N($){return function(G,Z){var X=$.concat(Z);if(y){if(G.lat&&G.lat===l.lat&&G.lng===l.lng)return d=X,!0}else if(G.lat&&L.latLng(G).equals(l))return d=X,!0;return Array.isArray(G)&&G.some(N(X))}};r.some(x([]));var B={};return d&&(B={indexPath:d,index:d[d.length-1],parentPath:d.slice(0,d.length-1)}),B},findDeepMarkerIndex:function(r,l){var d;r.some(function x(B){return function(N,$){var G=B.concat($);return N._leaflet_id===l._leaflet_id?(d=G,!0):Array.isArray(N)&&N.some(x(G))}}([]));var y={};return d&&(y={indexPath:d,index:d[d.length-1],parentPath:d.slice(0,d.length-1)}),y},_getIndexFromSegment:function(r,l){if(l&&l.length===2){var d=this.findDeepCoordIndex(r,l[0]),y=this.findDeepCoordIndex(r,l[1]),x=Math.max(d.index,y.index);return d.index!==0&&y.index!==0||x===1||(x+=1),{indexA:d,indexB:y,newIndex:x,indexPath:d.indexPath,parentPath:d.parentPath}}return null},_getRotatedRectangle:function(r,l,d,y){var x=Ee(y,r),B=Ee(y,l),N=d*Math.PI/180,$=Math.cos(N),G=Math.sin(N),Z=(B.x-x.x)*$+(B.y-x.y)*G,X=(B.y-x.y)*$-(B.x-x.x)*G,mt=Z*$+x.x,ut=Z*G+x.y,Mt=-X*G+x.x,Rt=X*$+x.y;return[mn(y,x),mn(y,{x:mt,y:ut}),mn(y,B),mn(y,{x:Mt,y:Rt})]},pxRadiusToMeterRadius:function(r,l,d){var y=l.project(d),x=L.point(y.x+r,y.y);return l.distance(l.unproject(x),d)}};const ee=Vs;L.PM=L.PM||{version:"2.14.2",Map:ce,Toolbar:xt,Draw:D,Edit:Be,Utils:ee,Matrix:Fi,activeLang:"en",optIn:!1,initialize:function(r){this.addInitHooks(r)},setOptIn:function(r){this.optIn=!!r},addInitHooks:function(){L.Map.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Map(this)):this.options.pmIgnore||(this.pm=new L.PM.Map(this)),this.pm&&this.pm.setGlobalOptions({})}),L.LayerGroup.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.LayerGroup(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.LayerGroup(this))}),L.Marker.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.options.textMarker?(this.pm=new L.PM.Edit.Text(this),this.options._textMarkerOverPM||this.pm._initTextMarker(),delete this.options._textMarkerOverPM):this.pm=new L.PM.Edit.Marker(this)):this.options.pmIgnore||(this.options.textMarker?(this.pm=new L.PM.Edit.Text(this),this.options._textMarkerOverPM||this.pm._initTextMarker(),delete this.options._textMarkerOverPM):this.pm=new L.PM.Edit.Marker(this))}),L.CircleMarker.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.CircleMarker(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.CircleMarker(this))}),L.Polyline.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Line(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Line(this))}),L.Polygon.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Polygon(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Polygon(this))}),L.Rectangle.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Rectangle(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Rectangle(this))}),L.Circle.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Circle(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Circle(this))}),L.ImageOverlay.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.ImageOverlay(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.ImageOverlay(this))})},reInitLayer:function(r){var l=this;r instanceof L.LayerGroup&&r.eachLayer(function(d){l.reInitLayer(d)}),r.pm||L.PM.optIn&&r.options.pmIgnore!==!1||r.options.pmIgnore||(r instanceof L.Map?r.pm=new L.PM.Map(r):r instanceof L.Marker?r.options.textMarker?(r.pm=new L.PM.Edit.Text(r),r.pm._initTextMarker(),r.pm._createTextMarker(!1)):r.pm=new L.PM.Edit.Marker(r):r instanceof L.Circle?r.pm=new L.PM.Edit.Circle(r):r instanceof L.CircleMarker?r.pm=new L.PM.Edit.CircleMarker(r):r instanceof L.Rectangle?r.pm=new L.PM.Edit.Rectangle(r):r instanceof L.Polygon?r.pm=new L.PM.Edit.Polygon(r):r instanceof L.Polyline?r.pm=new L.PM.Edit.Line(r):r instanceof L.LayerGroup?r.pm=new L.PM.Edit.LayerGroup(r):r instanceof L.ImageOverlay&&(r.pm=new L.PM.Edit.ImageOverlay(r)))}},L.version==="1.7.1"&&L.Canvas.include({_onClick:function(r){for(var l,d,y=this._map.mouseEventToLayerPoint(r),x=this._drawFirst;x;x=x.next)(l=x.layer).options.interactive&&l._containsPoint(y)&&(r.type!=="click"&&r.type!=="preclick"||!this._map._draggableMoved(l))&&(d=l);d&&(L.DomEvent.fakeStop(r),this._fireEvent([d],r))}}),L.PM.initialize()},7107:()=>{Array.prototype.findIndex=Array.prototype.findIndex||function(s){if(this===null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof s!="function")throw new TypeError("callback must be a function");for(var u=Object(this),i=u.length>>>0,c=arguments[1],p=0;p>>0,c=arguments[1],p=0;p>>0;if(c===0)return!1;for(var p,f,m=0|u,_=Math.max(m>=0?m:c-Math.abs(m),0);_{var c=i(2582),p=i(4102),f=i(1540),m=i(9705).Z,_=f.featureEach,v=(f.coordEach,p.polygon,p.featureCollection);function M(A){var C=new c(A);return C.insert=function(S){if(S.type!=="Feature")throw new Error("invalid feature");return S.bbox=S.bbox?S.bbox:m(S),c.prototype.insert.call(this,S)},C.load=function(S){var V=[];return Array.isArray(S)?S.forEach(function(P){if(P.type!=="Feature")throw new Error("invalid features");P.bbox=P.bbox?P.bbox:m(P),V.push(P)}):_(S,function(P){if(P.type!=="Feature")throw new Error("invalid features");P.bbox=P.bbox?P.bbox:m(P),V.push(P)}),c.prototype.load.call(this,V)},C.remove=function(S,V){if(S.type!=="Feature")throw new Error("invalid feature");return S.bbox=S.bbox?S.bbox:m(S),c.prototype.remove.call(this,S,V)},C.clear=function(){return c.prototype.clear.call(this)},C.search=function(S){var V=c.prototype.search.call(this,this.toBBox(S));return v(V)},C.collides=function(S){return c.prototype.collides.call(this,this.toBBox(S))},C.all=function(){var S=c.prototype.all.call(this);return v(S)},C.toJSON=function(){return c.prototype.toJSON.call(this)},C.fromJSON=function(S){return c.prototype.fromJSON.call(this,S)},C.toBBox=function(S){var V;if(S.bbox)V=S.bbox;else if(Array.isArray(S)&&S.length===4)V=S;else if(Array.isArray(S)&&S.length===6)V=[S[0],S[1],S[3],S[4]];else if(S.type==="Feature")V=m(S);else{if(S.type!=="FeatureCollection")throw new Error("invalid geojson");V=m(S)}return{minX:V[0],minY:V[1],maxX:V[2],maxY:V[3]}},C}s.exports=M,s.exports.default=M},1989:(s,u,i)=>{var c=i(1789),p=i(401),f=i(7667),m=i(1327),_=i(1866);function v(M){var A=-1,C=M==null?0:M.length;for(this.clear();++A{var c=i(7040),p=i(4125),f=i(2117),m=i(7518),_=i(4705);function v(M){var A=-1,C=M==null?0:M.length;for(this.clear();++A{var c=i(852)(i(5639),"Map");s.exports=c},3369:(s,u,i)=>{var c=i(4785),p=i(1285),f=i(6e3),m=i(9916),_=i(5265);function v(M){var A=-1,C=M==null?0:M.length;for(this.clear();++A{var c=i(8407),p=i(7465),f=i(3779),m=i(7599),_=i(4758),v=i(4309);function M(A){var C=this.__data__=new c(A);this.size=C.size}M.prototype.clear=p,M.prototype.delete=f,M.prototype.get=m,M.prototype.has=_,M.prototype.set=v,s.exports=M},2705:(s,u,i)=>{var c=i(5639).Symbol;s.exports=c},1149:(s,u,i)=>{var c=i(5639).Uint8Array;s.exports=c},6874:s=>{s.exports=function(u,i,c){switch(c.length){case 0:return u.call(i);case 1:return u.call(i,c[0]);case 2:return u.call(i,c[0],c[1]);case 3:return u.call(i,c[0],c[1],c[2])}return u.apply(i,c)}},4636:(s,u,i)=>{var c=i(2545),p=i(5694),f=i(1469),m=i(4144),_=i(5776),v=i(6719),M=Object.prototype.hasOwnProperty;s.exports=function(A,C){var S=f(A),V=!S&&p(A),P=!S&&!V&&m(A),O=!S&&!V&&!P&&v(A),j=S||V||P||O,T=j?c(A.length,String):[],z=T.length;for(var W in A)!C&&!M.call(A,W)||j&&(W=="length"||P&&(W=="offset"||W=="parent")||O&&(W=="buffer"||W=="byteLength"||W=="byteOffset")||_(W,z))||T.push(W);return T}},9932:s=>{s.exports=function(u,i){for(var c=-1,p=u==null?0:u.length,f=Array(p);++c{var c=i(9465),p=i(7813);s.exports=function(f,m,_){(_!==void 0&&!p(f[m],_)||_===void 0&&!(m in f))&&c(f,m,_)}},4865:(s,u,i)=>{var c=i(9465),p=i(7813),f=Object.prototype.hasOwnProperty;s.exports=function(m,_,v){var M=m[_];f.call(m,_)&&p(M,v)&&(v!==void 0||_ in m)||c(m,_,v)}},8470:(s,u,i)=>{var c=i(7813);s.exports=function(p,f){for(var m=p.length;m--;)if(c(p[m][0],f))return m;return-1}},9465:(s,u,i)=>{var c=i(8777);s.exports=function(p,f,m){f=="__proto__"&&c?c(p,f,{configurable:!0,enumerable:!0,value:m,writable:!0}):p[f]=m}},3118:(s,u,i)=>{var c=i(3218),p=Object.create,f=function(){function m(){}return function(_){if(!c(_))return{};if(p)return p(_);m.prototype=_;var v=new m;return m.prototype=void 0,v}}();s.exports=f},8483:(s,u,i)=>{var c=i(5063)();s.exports=c},7786:(s,u,i)=>{var c=i(1811),p=i(327);s.exports=function(f,m){for(var _=0,v=(m=c(m,f)).length;f!=null&&_{var c=i(2705),p=i(9607),f=i(2333),m=c?c.toStringTag:void 0;s.exports=function(_){return _==null?_===void 0?"[object Undefined]":"[object Null]":m&&m in Object(_)?p(_):f(_)}},8565:s=>{var u=Object.prototype.hasOwnProperty;s.exports=function(i,c){return i!=null&&u.call(i,c)}},9454:(s,u,i)=>{var c=i(4239),p=i(7005);s.exports=function(f){return p(f)&&c(f)=="[object Arguments]"}},8458:(s,u,i)=>{var c=i(3560),p=i(5346),f=i(3218),m=i(346),_=/^\[object .+?Constructor\]$/,v=Function.prototype,M=Object.prototype,A=v.toString,C=M.hasOwnProperty,S=RegExp("^"+A.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");s.exports=function(V){return!(!f(V)||p(V))&&(c(V)?S:_).test(m(V))}},8749:(s,u,i)=>{var c=i(4239),p=i(1780),f=i(7005),m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m["[object Arguments]"]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m["[object Function]"]=m["[object Map]"]=m["[object Number]"]=m["[object Object]"]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1,s.exports=function(_){return f(_)&&p(_.length)&&!!m[c(_)]}},313:(s,u,i)=>{var c=i(3218),p=i(5726),f=i(3498),m=Object.prototype.hasOwnProperty;s.exports=function(_){if(!c(_))return f(_);var v=p(_),M=[];for(var A in _)(A!="constructor"||!v&&m.call(_,A))&&M.push(A);return M}},2980:(s,u,i)=>{var c=i(6384),p=i(6556),f=i(8483),m=i(9783),_=i(3218),v=i(1704),M=i(6390);s.exports=function A(C,S,V,P,O){C!==S&&f(S,function(j,T){if(O||(O=new c),_(j))m(C,S,T,V,A,P,O);else{var z=P?P(M(C,T),j,T+"",C,S,O):void 0;z===void 0&&(z=j),p(C,T,z)}},v)}},9783:(s,u,i)=>{var c=i(6556),p=i(4626),f=i(7133),m=i(278),_=i(8517),v=i(5694),M=i(1469),A=i(9246),C=i(4144),S=i(3560),V=i(3218),P=i(8630),O=i(6719),j=i(6390),T=i(9881);s.exports=function(z,W,ot,Y,st,ct,gt){var at=j(z,ot),bt=j(W,ot),Lt=gt.get(bt);if(Lt)c(z,ot,Lt);else{var Et=ct?ct(at,bt,ot+"",z,W,gt):void 0,Ct=Et===void 0;if(Ct){var Gt=M(bt),wt=!Gt&&C(bt),de=!Gt&&!wt&&O(bt);Et=bt,Gt||wt||de?M(at)?Et=at:A(at)?Et=m(at):wt?(Ct=!1,Et=p(bt,!0)):de?(Ct=!1,Et=f(bt,!0)):Et=[]:P(bt)||v(bt)?(Et=at,v(at)?Et=T(at):V(at)&&!S(at)||(Et=_(bt))):Ct=!1}Ct&&(gt.set(bt,Et),st(Et,bt,Y,ct,gt),gt.delete(bt)),c(z,ot,Et)}}},5976:(s,u,i)=>{var c=i(6557),p=i(5357),f=i(61);s.exports=function(m,_){return f(p(m,_,c),m+"")}},6560:(s,u,i)=>{var c=i(5703),p=i(8777),f=i(6557),m=p?function(_,v){return p(_,"toString",{configurable:!0,enumerable:!1,value:c(v),writable:!0})}:f;s.exports=m},2545:s=>{s.exports=function(u,i){for(var c=-1,p=Array(u);++c{var c=i(2705),p=i(9932),f=i(1469),m=i(3448),_=c?c.prototype:void 0,v=_?_.toString:void 0;s.exports=function M(A){if(typeof A=="string")return A;if(f(A))return p(A,M)+"";if(m(A))return v?v.call(A):"";var C=A+"";return C=="0"&&1/A==-1/0?"-0":C}},1717:s=>{s.exports=function(u){return function(i){return u(i)}}},1811:(s,u,i)=>{var c=i(1469),p=i(5403),f=i(5514),m=i(9833);s.exports=function(_,v){return c(_)?_:p(_,v)?[_]:f(m(_))}},4318:(s,u,i)=>{var c=i(1149);s.exports=function(p){var f=new p.constructor(p.byteLength);return new c(f).set(new c(p)),f}},4626:(s,u,i)=>{s=i.nmd(s);var c=i(5639),p=u&&!u.nodeType&&u,f=p&&s&&!s.nodeType&&s,m=f&&f.exports===p?c.Buffer:void 0,_=m?m.allocUnsafe:void 0;s.exports=function(v,M){if(M)return v.slice();var A=v.length,C=_?_(A):new v.constructor(A);return v.copy(C),C}},7133:(s,u,i)=>{var c=i(4318);s.exports=function(p,f){var m=f?c(p.buffer):p.buffer;return new p.constructor(m,p.byteOffset,p.length)}},278:s=>{s.exports=function(u,i){var c=-1,p=u.length;for(i||(i=Array(p));++c{var c=i(4865),p=i(9465);s.exports=function(f,m,_,v){var M=!_;_||(_={});for(var A=-1,C=m.length;++A{var c=i(5639)["__core-js_shared__"];s.exports=c},1463:(s,u,i)=>{var c=i(5976),p=i(6612);s.exports=function(f){return c(function(m,_){var v=-1,M=_.length,A=M>1?_[M-1]:void 0,C=M>2?_[2]:void 0;for(A=f.length>3&&typeof A=="function"?(M--,A):void 0,C&&p(_[0],_[1],C)&&(A=M<3?void 0:A,M=1),m=Object(m);++v{s.exports=function(u){return function(i,c,p){for(var f=-1,m=Object(i),_=p(i),v=_.length;v--;){var M=_[u?v:++f];if(c(m[M],M,m)===!1)break}return i}}},8777:(s,u,i)=>{var c=i(852),p=function(){try{var f=c(Object,"defineProperty");return f({},"",{}),f}catch{}}();s.exports=p},1957:(s,u,i)=>{var c=typeof i.g=="object"&&i.g&&i.g.Object===Object&&i.g;s.exports=c},5050:(s,u,i)=>{var c=i(7019);s.exports=function(p,f){var m=p.__data__;return c(f)?m[typeof f=="string"?"string":"hash"]:m.map}},852:(s,u,i)=>{var c=i(8458),p=i(7801);s.exports=function(f,m){var _=p(f,m);return c(_)?_:void 0}},5924:(s,u,i)=>{var c=i(5569)(Object.getPrototypeOf,Object);s.exports=c},9607:(s,u,i)=>{var c=i(2705),p=Object.prototype,f=p.hasOwnProperty,m=p.toString,_=c?c.toStringTag:void 0;s.exports=function(v){var M=f.call(v,_),A=v[_];try{v[_]=void 0;var C=!0}catch{}var S=m.call(v);return C&&(M?v[_]=A:delete v[_]),S}},7801:s=>{s.exports=function(u,i){return u==null?void 0:u[i]}},222:(s,u,i)=>{var c=i(1811),p=i(5694),f=i(1469),m=i(5776),_=i(1780),v=i(327);s.exports=function(M,A,C){for(var S=-1,V=(A=c(A,M)).length,P=!1;++S{var c=i(4536);s.exports=function(){this.__data__=c?c(null):{},this.size=0}},401:s=>{s.exports=function(u){var i=this.has(u)&&delete this.__data__[u];return this.size-=i?1:0,i}},7667:(s,u,i)=>{var c=i(4536),p=Object.prototype.hasOwnProperty;s.exports=function(f){var m=this.__data__;if(c){var _=m[f];return _==="__lodash_hash_undefined__"?void 0:_}return p.call(m,f)?m[f]:void 0}},1327:(s,u,i)=>{var c=i(4536),p=Object.prototype.hasOwnProperty;s.exports=function(f){var m=this.__data__;return c?m[f]!==void 0:p.call(m,f)}},1866:(s,u,i)=>{var c=i(4536);s.exports=function(p,f){var m=this.__data__;return this.size+=this.has(p)?0:1,m[p]=c&&f===void 0?"__lodash_hash_undefined__":f,this}},8517:(s,u,i)=>{var c=i(3118),p=i(5924),f=i(5726);s.exports=function(m){return typeof m.constructor!="function"||f(m)?{}:c(p(m))}},5776:s=>{var u=/^(?:0|[1-9]\d*)$/;s.exports=function(i,c){var p=typeof i;return!!(c=c??9007199254740991)&&(p=="number"||p!="symbol"&&u.test(i))&&i>-1&&i%1==0&&i{var c=i(7813),p=i(8612),f=i(5776),m=i(3218);s.exports=function(_,v,M){if(!m(M))return!1;var A=typeof v;return!!(A=="number"?p(M)&&f(v,M.length):A=="string"&&v in M)&&c(M[v],_)}},5403:(s,u,i)=>{var c=i(1469),p=i(3448),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m=/^\w*$/;s.exports=function(_,v){if(c(_))return!1;var M=typeof _;return!(M!="number"&&M!="symbol"&&M!="boolean"&&_!=null&&!p(_))||m.test(_)||!f.test(_)||v!=null&&_ in Object(v)}},7019:s=>{s.exports=function(u){var i=typeof u;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?u!=="__proto__":u===null}},5346:(s,u,i)=>{var c,p=i(4429),f=(c=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"";s.exports=function(m){return!!f&&f in m}},5726:s=>{var u=Object.prototype;s.exports=function(i){var c=i&&i.constructor;return i===(typeof c=="function"&&c.prototype||u)}},7040:s=>{s.exports=function(){this.__data__=[],this.size=0}},4125:(s,u,i)=>{var c=i(8470),p=Array.prototype.splice;s.exports=function(f){var m=this.__data__,_=c(m,f);return!(_<0)&&(_==m.length-1?m.pop():p.call(m,_,1),--this.size,!0)}},2117:(s,u,i)=>{var c=i(8470);s.exports=function(p){var f=this.__data__,m=c(f,p);return m<0?void 0:f[m][1]}},7518:(s,u,i)=>{var c=i(8470);s.exports=function(p){return c(this.__data__,p)>-1}},4705:(s,u,i)=>{var c=i(8470);s.exports=function(p,f){var m=this.__data__,_=c(m,p);return _<0?(++this.size,m.push([p,f])):m[_][1]=f,this}},4785:(s,u,i)=>{var c=i(1989),p=i(8407),f=i(7071);s.exports=function(){this.size=0,this.__data__={hash:new c,map:new(f||p),string:new c}}},1285:(s,u,i)=>{var c=i(5050);s.exports=function(p){var f=c(this,p).delete(p);return this.size-=f?1:0,f}},6e3:(s,u,i)=>{var c=i(5050);s.exports=function(p){return c(this,p).get(p)}},9916:(s,u,i)=>{var c=i(5050);s.exports=function(p){return c(this,p).has(p)}},5265:(s,u,i)=>{var c=i(5050);s.exports=function(p,f){var m=c(this,p),_=m.size;return m.set(p,f),this.size+=m.size==_?0:1,this}},4523:(s,u,i)=>{var c=i(8306);s.exports=function(p){var f=c(p,function(_){return m.size===500&&m.clear(),_}),m=f.cache;return f}},4536:(s,u,i)=>{var c=i(852)(Object,"create");s.exports=c},3498:s=>{s.exports=function(u){var i=[];if(u!=null)for(var c in Object(u))i.push(c);return i}},1167:(s,u,i)=>{s=i.nmd(s);var c=i(1957),p=u&&!u.nodeType&&u,f=p&&s&&!s.nodeType&&s,m=f&&f.exports===p&&c.process,_=function(){try{var v=f&&f.require&&f.require("util").types;return v||m&&m.binding&&m.binding("util")}catch{}}();s.exports=_},2333:s=>{var u=Object.prototype.toString;s.exports=function(i){return u.call(i)}},5569:s=>{s.exports=function(u,i){return function(c){return u(i(c))}}},5357:(s,u,i)=>{var c=i(6874),p=Math.max;s.exports=function(f,m,_){return m=p(m===void 0?f.length-1:m,0),function(){for(var v=arguments,M=-1,A=p(v.length-m,0),C=Array(A);++M{var c=i(1957),p=typeof self=="object"&&self&&self.Object===Object&&self,f=c||p||Function("return this")();s.exports=f},6390:s=>{s.exports=function(u,i){if((i!=="constructor"||typeof u[i]!="function")&&i!="__proto__")return u[i]}},61:(s,u,i)=>{var c=i(6560),p=i(1275)(c);s.exports=p},1275:s=>{var u=Date.now;s.exports=function(i){var c=0,p=0;return function(){var f=u(),m=16-(f-p);if(p=f,m>0){if(++c>=800)return arguments[0]}else c=0;return i.apply(void 0,arguments)}}},7465:(s,u,i)=>{var c=i(8407);s.exports=function(){this.__data__=new c,this.size=0}},3779:s=>{s.exports=function(u){var i=this.__data__,c=i.delete(u);return this.size=i.size,c}},7599:s=>{s.exports=function(u){return this.__data__.get(u)}},4758:s=>{s.exports=function(u){return this.__data__.has(u)}},4309:(s,u,i)=>{var c=i(8407),p=i(7071),f=i(3369);s.exports=function(m,_){var v=this.__data__;if(v instanceof c){var M=v.__data__;if(!p||M.length<199)return M.push([m,_]),this.size=++v.size,this;v=this.__data__=new f(M)}return v.set(m,_),this.size=v.size,this}},5514:(s,u,i)=>{var c=i(4523),p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,m=c(function(_){var v=[];return _.charCodeAt(0)===46&&v.push(""),_.replace(p,function(M,A,C,S){v.push(C?S.replace(f,"$1"):A||M)}),v});s.exports=m},327:(s,u,i)=>{var c=i(3448);s.exports=function(p){if(typeof p=="string"||c(p))return p;var f=p+"";return f=="0"&&1/p==-1/0?"-0":f}},346:s=>{var u=Function.prototype.toString;s.exports=function(i){if(i!=null){try{return u.call(i)}catch{}try{return i+""}catch{}}return""}},5703:s=>{s.exports=function(u){return function(){return u}}},7813:s=>{s.exports=function(u,i){return u===i||u!=u&&i!=i}},7361:(s,u,i)=>{var c=i(7786);s.exports=function(p,f,m){var _=p==null?void 0:c(p,f);return _===void 0?m:_}},8721:(s,u,i)=>{var c=i(8565),p=i(222);s.exports=function(f,m){return f!=null&&p(f,m,c)}},6557:s=>{s.exports=function(u){return u}},5694:(s,u,i)=>{var c=i(9454),p=i(7005),f=Object.prototype,m=f.hasOwnProperty,_=f.propertyIsEnumerable,v=c(function(){return arguments}())?c:function(M){return p(M)&&m.call(M,"callee")&&!_.call(M,"callee")};s.exports=v},1469:s=>{var u=Array.isArray;s.exports=u},8612:(s,u,i)=>{var c=i(3560),p=i(1780);s.exports=function(f){return f!=null&&p(f.length)&&!c(f)}},9246:(s,u,i)=>{var c=i(8612),p=i(7005);s.exports=function(f){return p(f)&&c(f)}},4144:(s,u,i)=>{s=i.nmd(s);var c=i(5639),p=i(5062),f=u&&!u.nodeType&&u,m=f&&s&&!s.nodeType&&s,_=m&&m.exports===f?c.Buffer:void 0,v=(_?_.isBuffer:void 0)||p;s.exports=v},3560:(s,u,i)=>{var c=i(4239),p=i(3218);s.exports=function(f){if(!p(f))return!1;var m=c(f);return m=="[object Function]"||m=="[object GeneratorFunction]"||m=="[object AsyncFunction]"||m=="[object Proxy]"}},1780:s=>{s.exports=function(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=9007199254740991}},3218:s=>{s.exports=function(u){var i=typeof u;return u!=null&&(i=="object"||i=="function")}},7005:s=>{s.exports=function(u){return u!=null&&typeof u=="object"}},8630:(s,u,i)=>{var c=i(4239),p=i(5924),f=i(7005),m=Function.prototype,_=Object.prototype,v=m.toString,M=_.hasOwnProperty,A=v.call(Object);s.exports=function(C){if(!f(C)||c(C)!="[object Object]")return!1;var S=p(C);if(S===null)return!0;var V=M.call(S,"constructor")&&S.constructor;return typeof V=="function"&&V instanceof V&&v.call(V)==A}},3448:(s,u,i)=>{var c=i(4239),p=i(7005);s.exports=function(f){return typeof f=="symbol"||p(f)&&c(f)=="[object Symbol]"}},6719:(s,u,i)=>{var c=i(8749),p=i(1717),f=i(1167),m=f&&f.isTypedArray,_=m?p(m):c;s.exports=_},1704:(s,u,i)=>{var c=i(4636),p=i(313),f=i(8612);s.exports=function(m){return f(m)?c(m,!0):p(m)}},8306:(s,u,i)=>{var c=i(3369);function p(f,m){if(typeof f!="function"||m!=null&&typeof m!="function")throw new TypeError("Expected a function");var _=function(){var v=arguments,M=m?m.apply(this,v):v[0],A=_.cache;if(A.has(M))return A.get(M);var C=f.apply(this,v);return _.cache=A.set(M,C)||A,C};return _.cache=new(p.Cache||c),_}p.Cache=c,s.exports=p},2492:(s,u,i)=>{var c=i(2980),p=i(1463)(function(f,m,_){c(f,m,_)});s.exports=p},5062:s=>{s.exports=function(){return!1}},9881:(s,u,i)=>{var c=i(8363),p=i(1704);s.exports=function(f){return c(f,p(f))}},9833:(s,u,i)=>{var c=i(531);s.exports=function(p){return p==null?"":c(p)}},2676:function(s){s.exports=function(){function u(I,w){if(!(I instanceof w))throw new TypeError("Cannot call a class as a function")}function i(I,w){for(var k=0;kw?1:I0)||w.right===null||k(I,w.right.key)>0&&(it=w.right,w.right=it.left,it.left=w,(w=it).right===null))break;D.right=w,D=w,w=w.right}}return D.right=w.left,F.left=w.right,w.left=R.right,w.right=R.left,w}function _(I,w,k,R){var D=new p(I,w);if(k===null)return D.left=D.right=null,D;var F=R(I,(k=m(I,k,R)).key);return F<0?(D.left=k.left,D.right=k,k.left=null):F>=0&&(D.right=k.right,D.left=k,k.right=null),D}function v(I,w,k){var R=null,D=null;if(w){var F=k((w=m(I,w,k)).key,I);F===0?(R=w.left,D=w.right):F<0?(D=w.right,w.right=null,R=w):(R=w.left,w.left=null,D=w)}return{left:R,right:D}}function M(I,w,k){return w===null?I:(I===null||((w=m(I.key,w,k)).left=I),w)}function A(I,w,k,R,D){if(I){R(w+(k?"└── ":"├── ")+D(I)+` +`);var F=w+(k?" ":"│ ");I.left&&A(I.left,F,!1,R,D),I.right&&A(I.right,F,!0,R,D)}}var C=function(){function I(w){w===void 0&&(w=f),this._root=null,this._size=0,this._comparator=w}return I.prototype.insert=function(w,k){return this._size++,this._root=_(w,k,this._root,this._comparator)},I.prototype.add=function(w,k){var R=new p(w,k);this._root===null&&(R.left=R.right=null,this._size++,this._root=R);var D=this._comparator,F=m(w,this._root,D),Q=D(w,F.key);return Q===0?this._root=F:(Q<0?(R.left=F.left,R.right=F,F.left=null):Q>0&&(R.right=F.right,R.left=F,F.right=null),this._size++,this._root=R),this._root},I.prototype.remove=function(w){this._root=this._remove(w,this._root,this._comparator)},I.prototype._remove=function(w,k,R){var D;return k===null?null:R(w,(k=m(w,k,R)).key)===0?(k.left===null?D=k.right:(D=m(w,k.left,R)).right=k.right,this._size--,D):k},I.prototype.pop=function(){var w=this._root;if(w){for(;w.left;)w=w.left;return this._root=m(w.key,this._root,this._comparator),this._root=this._remove(w.key,this._root,this._comparator),{key:w.key,data:w.data}}return null},I.prototype.findStatic=function(w){for(var k=this._root,R=this._comparator;k;){var D=R(w,k.key);if(D===0)return k;k=D<0?k.left:k.right}return null},I.prototype.find=function(w){return this._root&&(this._root=m(w,this._root,this._comparator),this._comparator(w,this._root.key)!==0)?null:this._root},I.prototype.contains=function(w){for(var k=this._root,R=this._comparator;k;){var D=R(w,k.key);if(D===0)return!0;k=D<0?k.left:k.right}return!1},I.prototype.forEach=function(w,k){for(var R=this._root,D=[],F=!1;!F;)R!==null?(D.push(R),R=R.left):D.length!==0?(R=D.pop(),w.call(k,R),R=R.right):F=!0;return this},I.prototype.range=function(w,k,R,D){for(var F=[],Q=this._comparator,it=this._root;F.length!==0||it;)if(it)F.push(it),it=it.left;else{if(Q((it=F.pop()).key,k)>0)break;if(Q(it.key,w)>=0&&R.call(D,it))return this;it=it.right}return this},I.prototype.keys=function(){var w=[];return this.forEach(function(k){var R=k.key;return w.push(R)}),w},I.prototype.values=function(){var w=[];return this.forEach(function(k){var R=k.data;return w.push(R)}),w},I.prototype.min=function(){return this._root?this.minNode(this._root).key:null},I.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},I.prototype.minNode=function(w){if(w===void 0&&(w=this._root),w)for(;w.left;)w=w.left;return w},I.prototype.maxNode=function(w){if(w===void 0&&(w=this._root),w)for(;w.right;)w=w.right;return w},I.prototype.at=function(w){for(var k=this._root,R=!1,D=0,F=[];!R;)if(k)F.push(k),k=k.left;else if(F.length>0){if(k=F.pop(),D===w)return k;D++,k=k.right}else R=!0;return null},I.prototype.next=function(w){var k=this._root,R=null;if(w.right){for(R=w.right;R.left;)R=R.left;return R}for(var D=this._comparator;k;){var F=D(w.key,k.key);if(F===0)break;F<0?(R=k,k=k.left):k=k.right}return R},I.prototype.prev=function(w){var k=this._root,R=null;if(w.left!==null){for(R=w.left;R.right;)R=R.right;return R}for(var D=this._comparator;k;){var F=D(w.key,k.key);if(F===0)break;F<0?k=k.left:(R=k,k=k.right)}return R},I.prototype.clear=function(){return this._root=null,this._size=0,this},I.prototype.toList=function(){return P(this._root)},I.prototype.load=function(w,k,R){k===void 0&&(k=[]),R===void 0&&(R=!1);var D=w.length,F=this._comparator;if(R&&T(w,k,0,D-1,F),this._root===null)this._root=S(w,k,0,D),this._size=D;else{var Q=j(this.toList(),V(w,k),F);D=this._size+D,this._root=O({head:Q},0,D)}return this},I.prototype.isEmpty=function(){return this._root===null},Object.defineProperty(I.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(I.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),I.prototype.toString=function(w){w===void 0&&(w=function(R){return String(R.key)});var k=[];return A(this._root,"",!0,function(R){return k.push(R)},w),k.join("")},I.prototype.update=function(w,k,R){var D=this._comparator,F=v(w,this._root,D),Q=F.left,it=F.right;D(w,k)<0?it=_(k,R,it,D):Q=_(k,R,Q,D),this._root=M(Q,it,D)},I.prototype.split=function(w){return v(w,this._root,this._comparator)},I}();function S(I,w,k,R){var D=R-k;if(D>0){var F=k+Math.floor(D/2),Q=I[F],it=w[F],vt=new p(Q,it);return vt.left=S(I,w,k,F),vt.right=S(I,w,F+1,R),vt}return null}function V(I,w){for(var k=new p(null,null),R=k,D=0;D0?w=(w=F=F.next=k.pop()).right:R=!0;return F.next=null,D.next}function O(I,w,k){var R=k-w;if(R>0){var D=w+Math.floor(R/2),F=O(I,w,D),Q=I.head;return Q.left=F,I.head=I.head.next,Q.right=O(I,D+1,k),Q}return null}function j(I,w,k){for(var R=new p(null,null),D=R,F=I,Q=w;F!==null&&Q!==null;)k(F.key,Q.key)<0?(D.next=F,F=F.next):(D.next=Q,Q=Q.next),D=D.next;return F!==null?D.next=F:Q!==null&&(D.next=Q),R.next}function T(I,w,k,R,D){if(!(k>=R)){for(var F=I[k+R>>1],Q=k-1,it=R+1;;){do Q++;while(D(I[Q],F)<0);do it--;while(D(I[it],F)>0);if(Q>=it)break;var vt=I[Q];I[Q]=I[it],I[it]=vt,vt=w[Q],w[Q]=w[it],w[it]=vt}T(I,w,k,it,D),T(I,w,it+1,R,D)}}var z=function(I,w){return I.ll.x<=w.x&&w.x<=I.ur.x&&I.ll.y<=w.y&&w.y<=I.ur.y},W=function(I,w){if(w.ur.xk.x?1:w.yk.y?1:0}}]),c(I,[{key:"link",value:function(w){if(w.point===this.point)throw new Error("Tried to link already linked events");for(var k=w.point.events,R=0,D=k.length;R=0&&Jt>=0?Ttte?-1:0:vt<0&&Jt<0?Ttte?1:0:Jtvt?1:0}}}]),I}(),Me=0,fe=function(){function I(w,k,R,D){u(this,I),this.id=++Me,this.leftSE=w,w.segment=this,w.otherSE=k,this.rightSE=k,k.segment=this,k.otherSE=w,this.rings=R,this.windings=D}return c(I,null,[{key:"compare",value:function(w,k){var R=w.leftSE.point.x,D=k.leftSE.point.x,F=w.rightSE.point.x,Q=k.rightSE.point.x;if(Qit&&vt>Tt)return-1;var Jt=w.comparePoint(k.leftSE.point);if(Jt<0)return 1;if(Jt>0)return-1;var te=k.comparePoint(w.rightSE.point);return te!==0?te:-1}if(R>D){if(itvt&&it>jt)return 1;var be=k.comparePoint(w.leftSE.point);if(be!==0)return be;var Xt=w.comparePoint(k.rightSE.point);return Xt<0?1:Xt>0?-1:1}if(itvt)return 1;if(FQ){var he=w.comparePoint(k.rightSE.point);if(he<0)return 1;if(he>0)return-1}if(F!==Q){var we=Tt-it,Ae=F-R,Ze=jt-vt,qe=Q-D;if(we>Ae&&Zeqe)return-1}return F>Q?1:Fjt?1:w.idk.id?1:0}}]),c(I,[{key:"replaceRightSE",value:function(w){this.rightSE=w,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}},{key:"bbox",value:function(){var w=this.leftSE.point.y,k=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:wk?w:k}}}},{key:"vector",value:function(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}},{key:"isAnEndpoint",value:function(w){return w.x===this.leftSE.point.x&&w.y===this.leftSE.point.y||w.x===this.rightSE.point.x&&w.y===this.rightSE.point.y}},{key:"comparePoint",value:function(w){if(this.isAnEndpoint(w))return 0;var k=this.leftSE.point,R=this.rightSE.point,D=this.vector();if(k.x===R.x)return w.x===k.x?0:w.x0&&it.swapEvents(),Vt.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),R&&(D.checkForConsuming(),F.checkForConsuming()),k}},{key:"swapEvents",value:function(){var w=this.rightSE;this.rightSE=this.leftSE,this.leftSE=w,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(var k=0,R=this.windings.length;k0){var F=k;k=R,R=F}if(k.prev===R){var Q=k;k=R,R=Q}for(var it=0,vt=R.rings.length;it0))throw new Error("Tried to create degenerate segment at [".concat(w.x,", ").concat(w.y,"]"));D=k,F=w,Q=-1}return new I(new Vt(D,!0),new Vt(F,!1),[R],[Q])}}]),I}(),le=function(){function I(w,k,R){if(u(this,I),!Array.isArray(w)||w.length===0)throw new Error("Input geometry is not a valid Polygon or MultiPolygon");if(this.poly=k,this.isExterior=R,this.segments=[],typeof w[0][0]!="number"||typeof w[0][1]!="number")throw new Error("Input geometry is not a valid Polygon or MultiPolygon");var D=at.round(w[0][0],w[0][1]);this.bbox={ll:{x:D.x,y:D.y},ur:{x:D.x,y:D.y}};for(var F=D,Q=1,it=w.length;Qthis.bbox.ur.x&&(this.bbox.ur.x=vt.x),vt.y>this.bbox.ur.y&&(this.bbox.ur.y=vt.y),F=vt)}D.x===F.x&&D.y===F.y||this.segments.push(fe.fromRing(F,D,this))}return c(I,[{key:"getSweepEvents",value:function(){for(var w=[],k=0,R=this.segments.length;kthis.bbox.ur.x&&(this.bbox.ur.x=F.bbox.ur.x),F.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=F.bbox.ur.y),this.interiorRings.push(F)}this.multiPoly=k}return c(I,[{key:"getSweepEvents",value:function(){for(var w=this.exteriorRing.getSweepEvents(),k=0,R=this.interiorRings.length;kthis.bbox.ur.x&&(this.bbox.ur.x=F.bbox.ur.x),F.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=F.bbox.ur.y),this.polys.push(F)}this.isSubject=k}return c(I,[{key:"getSweepEvents",value:function(){for(var w=[],k=0,R=this.polys.length;k0&&(w=D)}for(var F=w.segment.prevInResult(),Q=F?F.prevInResult():null;;){if(!F)return null;if(!Q)return F.ringOut;if(Q.ringOut!==F.ringOut)return Q.ringOut.enclosingRing()!==F.ringOut?F.ringOut:F.ringOut.enclosingRing();F=Q.prevInResult(),Q=F?F.prevInResult():null}}}]),I}(),St=function(){function I(w){u(this,I),this.exteriorRing=w,w.poly=this,this.interiorRings=[]}return c(I,[{key:"addInterior",value:function(w){this.interiorRings.push(w),w.poly=this}},{key:"getGeom",value:function(){var w=[this.exteriorRing.getGeom()];if(w[0]===null)return null;for(var k=0,R=this.interiorRings.length;k1&&arguments[1]!==void 0?arguments[1]:fe.compare;u(this,I),this.queue=w,this.tree=new C(k),this.segments=[]}return c(I,[{key:"process",value:function(w){var k=w.segment,R=[];if(w.consumedBy)return w.isLeft?this.queue.remove(w.otherSE):this.tree.remove(k),R;var D=w.isLeft?this.tree.insert(k):this.tree.find(k);if(!D)throw new Error("Unable to find segment #".concat(k.id," ")+"[".concat(k.leftSE.point.x,", ").concat(k.leftSE.point.y,"] -> ")+"[".concat(k.rightSE.point.x,", ").concat(k.rightSE.point.y,"] ")+"in SweepLine tree. Please submit a bug report.");for(var F=D,Q=D,it=void 0,vt=void 0;it===void 0;)(F=this.tree.prev(F))===null?it=null:F.key.consumedBy===void 0&&(it=F.key);for(;vt===void 0;)(Q=this.tree.next(Q))===null?vt=null:Q.key.consumedBy===void 0&&(vt=Q.key);if(w.isLeft){var Tt=null;if(it){var jt=it.getIntersection(k);if(jt!==null&&(k.isAnEndpoint(jt)||(Tt=jt),!it.isAnEndpoint(jt)))for(var Jt=this._splitSafely(it,jt),te=0,be=Jt.length;te0?(this.tree.remove(k),R.push(w)):(this.segments.push(k),k.prev=it)}else{if(it&&vt){var Je=it.getIntersection(vt);if(Je!==null){if(!it.isAnEndpoint(Je))for(var hn=this._splitSafely(it,Je),Ln=0,Un=hn.length;LnH)throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big). Please file a bug report.");for(var qe=new ce(Xt),fn=Xt.size,un=Xt.pop();un;){var Je=un.key;if(Xt.size===fn){var hn=Je.segment;throw new Error("Unable to pop() ".concat(Je.isLeft?"left":"right"," SweepEvent ")+"[".concat(Je.point.x,", ").concat(Je.point.y,"] from segment #").concat(hn.id," ")+"[".concat(hn.leftSE.point.x,", ").concat(hn.leftSE.point.y,"] -> ")+"[".concat(hn.rightSE.point.x,", ").concat(hn.rightSE.point.y,"] from queue. ")+"Please file a bug report.")}if(Xt.size>H)throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big). Please file a bug report.");if(qe.segments.length>K)throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments). Please file a bug report.");for(var Ln=qe.process(Je),Un=0,Ke=Ln.length;Un1?w-1:0),R=1;R1?w-1:0),R=1;R1?w-1:0),R=1;R1?w-1:0),R=1;Rat;){if(bt-at>600){var Et=bt-at+1,Ct=gt-at+1,Gt=Math.log(Et),wt=.5*Math.exp(2*Gt/3),de=.5*Math.sqrt(Gt*wt*(Et-wt)/Et)*(Ct-Et/2<0?-1:1);st(ct,gt,Math.max(at,Math.floor(gt-Ct*wt/Et+de)),Math.min(bt,Math.floor(gt+(Et-Ct)*wt/Et+de)),Lt)}var Dt=ct[gt],Bt=at,Vt=bt;for(i(ct,at,gt),Lt(ct[bt],Dt)>0&&i(ct,at,bt);Bt0;)Vt--}Lt(ct[at],Dt)===0?i(ct,at,Vt):i(ct,++Vt,bt),Vt<=gt&&(at=Vt+1),gt<=Vt&&(bt=Vt-1)}})(T,z,W||0,ot||T.length-1,Y||c)}function i(T,z,W){var ot=T[z];T[z]=T[W],T[W]=ot}function c(T,z){return Tz?1:0}var p=function(T){T===void 0&&(T=9),this._maxEntries=Math.max(4,T),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function f(T,z,W){if(!W)return z.indexOf(T);for(var ot=0;ot=T.minX&&z.maxY>=T.minY}function O(T){return{children:T,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function j(T,z,W,ot,Y){for(var st=[z,W];st.length;)if(!((W=st.pop())-(z=st.pop())<=ot)){var ct=z+Math.ceil((W-z)/ot/2)*ot;u(T,ct,z,W,Y),st.push(z,ct,ct,W)}}return p.prototype.all=function(){return this._all(this.data,[])},p.prototype.search=function(T){var z=this.data,W=[];if(!P(T,z))return W;for(var ot=this.toBBox,Y=[];z;){for(var st=0;st=0&&Y[z].children.length>this._maxEntries;)this._split(Y,z),z--;this._adjustParentBBoxes(ot,Y,z)},p.prototype._split=function(T,z){var W=T[z],ot=W.children.length,Y=this._minEntries;this._chooseSplitAxis(W,Y,ot);var st=this._chooseSplitIndex(W,Y,ot),ct=O(W.children.splice(st,W.children.length-st));ct.height=W.height,ct.leaf=W.leaf,m(W,this.toBBox),m(ct,this.toBBox),z?T[z-1].children.push(ct):this._splitRoot(W,ct)},p.prototype._splitRoot=function(T,z){this.data=O([T,z]),this.data.height=T.height+1,this.data.leaf=!1,m(this.data,this.toBBox)},p.prototype._chooseSplitIndex=function(T,z,W){for(var ot,Y,st,ct,gt,at,bt,Lt=1/0,Et=1/0,Ct=z;Ct<=W-z;Ct++){var Gt=_(T,0,Ct,this.toBBox),wt=_(T,Ct,W,this.toBBox),de=(Y=Gt,st=wt,ct=void 0,gt=void 0,at=void 0,bt=void 0,ct=Math.max(Y.minX,st.minX),gt=Math.max(Y.minY,st.minY),at=Math.min(Y.maxX,st.maxX),bt=Math.min(Y.maxY,st.maxY),Math.max(0,at-ct)*Math.max(0,bt-gt)),Dt=C(Gt)+C(wt);de=z;Lt--){var Et=T.children[Lt];v(ct,T.leaf?Y(Et):Et),gt+=S(ct)}return gt},p.prototype._adjustParentBBoxes=function(T,z,W){for(var ot=W;ot>=0;ot--)v(z[ot],T)},p.prototype._condense=function(T){for(var z=T.length-1,W=void 0;z>=0;z--)T[z].children.length===0?z>0?(W=T[z-1].children).splice(W.indexOf(T[z]),1):this.clear():m(T[z],this.toBBox)},p}()}},n={};function a(s){var u=n[s];if(u!==void 0)return u.exports;var i=n[s]={id:s,loaded:!1,exports:{}};return e[s].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}a.n=s=>{var u=s&&s.__esModule?()=>s.default:()=>s;return a.d(u,{a:u}),u},a.d=(s,u)=>{for(var i in u)a.o(u,i)&&!a.o(s,i)&&Object.defineProperty(s,i,{enumerable:!0,get:u[i]})},a.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),a.o=(s,u)=>Object.prototype.hasOwnProperty.call(s,u),a.nmd=s=>(s.paths=[],s.children||(s.children=[]),s),a(5975)})();var gu={exports:{}};(function(e,n){(function(a,s){s(n)})(fp,function(a){var s=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(i){L.Util.setOptions(this,i),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 c=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,c?this._withAnimation:this._noAnimation),this._markerCluster=c?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(i){if(i instanceof L.LayerGroup)return this.addLayers([i]);if(!i.getLatLng)return this._nonPointGroup.addLayer(i),this.fire("layeradd",{layer:i}),this;if(!this._map)return this._needsClustering.push(i),this.fire("layeradd",{layer:i}),this;if(this.hasLayer(i))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(i,this._maxZoom),this.fire("layeradd",{layer:i}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var c=i,p=this._zoom;if(i.__parent)for(;c.__parent._zoom>=p;)c=c.__parent;return this._currentShownBounds.contains(c.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(i,c):this._animationAddLayerNonAnimated(i,c)),this},removeLayer:function(i){return i instanceof L.LayerGroup?this.removeLayers([i]):(i.getLatLng?this._map?i.__parent&&(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(i)),this._removeLayer(i,!0),this.fire("layerremove",{layer:i}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),i.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(i)&&(this._featureGroup.removeLayer(i),i.clusterShow&&i.clusterShow())):(!this._arraySplice(this._needsClustering,i)&&this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire("layerremove",{layer:i})):(this._nonPointGroup.removeLayer(i),this.fire("layerremove",{layer:i})),this)},addLayers:function(i,c){if(!L.Util.isArray(i))return this.addLayer(i);var p,f=this._featureGroup,m=this._nonPointGroup,_=this.options.chunkedLoading,v=this.options.chunkInterval,M=this.options.chunkProgress,A=i.length,C=0,S=!0;if(this._map){var V=new Date().getTime(),P=L.bind(function(){var j=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();C"+c+"",className:"marker-cluster"+p,iconSize:new L.Point(40,40)})},_bindEvents:function(){var i=this._map,c=this.options.spiderfyOnMaxZoom,p=this.options.showCoverageOnHover,f=this.options.zoomToBoundsOnClick,m=this.options.spiderfyOnEveryZoom;(c||f||m)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),p&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),i.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(i){var c=i.layer,p=c;if(i.type!=="clusterkeypress"||!i.originalEvent||i.originalEvent.keyCode===13){for(;p._childClusters.length===1;)p=p._childClusters[0];p._zoom===this._maxZoom&&p._childCount===c._childCount&&this.options.spiderfyOnMaxZoom?c.spiderfy():this.options.zoomToBoundsOnClick&&c.zoomToBounds(),this.options.spiderfyOnEveryZoom&&c.spiderfy(),i.originalEvent&&i.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(i){var c=this._map;this._inZoomAnimation||(this._shownPolygon&&c.removeLayer(this._shownPolygon),2A._zoom;f--)S=new this._markerCluster(this,f,S),m[f].addObject(S,this._map.project(M.getLatLng(),f));return A._addChild(S),void this._removeFromGridUnclustered(M,c)}_[c].addObject(i,p)}this._topClusterLevel._addChild(i),i.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(i){i instanceof L.MarkerCluster&&i._iconNeedsUpdate&&i._updateIcon()})},_enqueue:function(i){this._queue.push(i),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var i=0;ii?(this._animationStart(),this._animationZoomOut(this._zoom,i)):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(i){var c=this._maxLat;return c!==void 0&&(i.getNorth()>=c&&(i._northEast.lat=1/0),i.getSouth()<=-c&&(i._southWest.lat=-1/0)),i},_animationAddLayerNonAnimated:function(i,c){if(c===i)this._featureGroup.addLayer(i);else if(c._childCount===2){c._addToMap();var p=c.getAllChildMarkers();this._featureGroup.removeLayer(p[0]),this._featureGroup.removeLayer(p[1])}else c._updateIcon()},_extractNonGroupLayers:function(i,c){var p,f=i.getLayers(),m=0;for(c=c||[];mp)&&(p=(v=P).lat),(f===!1||P.latm)&&(m=(A=P).lng),(_===!1||P.lng<_)&&(_=(C=P).lng)}return S=f!==p?(V=M,v):(V=C,A),[].concat(this.buildConvexHull([V,S],i),this.buildConvexHull([S,V],i))}},L.MarkerCluster.include({getConvexHull:function(){var i,c,p=this.getAllChildMarkers(),f=[];for(c=p.length-1;0<=c;c--)i=p[c].getLatLng(),f.push(i);return L.QuickHull.getConvexHull(f)}}),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 i,c=this.getAllChildMarkers(null,!0),p=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),i=(this._group._spiderfied=this)._group.options.spiderfyShapePositions?this._group.options.spiderfyShapePositions(c.length,p):c.length>=this._circleSpiralSwitchover?this._generatePointsSpiral(c.length,p):(p.y+=10,this._generatePointsCircle(c.length,p)),this._animationSpiderfy(c,i)}},unspiderfy:function(i){this._group._inZoomAnimation||(this._animationUnspiderfy(i),this._group._spiderfied=null)},_generatePointsCircle:function(i,c){var p,f,m=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+i)/this._2PI,_=this._2PI/i,v=[];for(m=Math.max(m,35),v.length=i,p=0;p[0,0]},geojson:{type:Object,default:void 0},zoomBounds:{type:Number,default:void 0},geojsonOptions:{type:Object,default:()=>({})},prefix:{type:[String,Boolean],default:!1},cluster:{type:Boolean,default:!1},maxClusterRadius:{type:Number,default:20},clusterIconCreateFunction:{type:Function,default:void 0}},emits:["geojson:ready","geojson","add:layer","draw:start","edit:layer","drag:layer","zoom:change","zoom:start"],setup(e,{expose:n,emit:a}){const s=e;delete sn.Icon.Default.prototype._getIconUrl,sn.Icon.Default.mergeOptions({iconRetinaUrl:sw,iconUrl:aw,shadowUrl:lw});let u,i,c,p;const f=Zt(null),m=se(()=>({maxZoom:s.zoomBounds,zoom:{animate:s.zoomAnimate}}));Ge(()=>s.geojson,O=>{p.clearLayers(),V(O)},{deep:!0}),Ge(()=>s.dragging,O=>{O?u.dragging.enable():u.dragging.disable()});function _(){const O={maxClusterRadius:s.maxClusterRadius};return s.clusterIconCreateFunction&&Object.assign(O,{iconCreateFunction:j=>s.clusterIconCreateFunction({L:sn,cluster:j})}),O}en(()=>{const O=ww(sn,{maxZoom:s.maxZoom,minZoom:s.minZoom,className:"map-tiles"}),[j]=Object.values(O),T={center:s.center,zoom:s.zoom,worldCopyJump:!0,dragging:s.dragging,maxZoom:s.maxZoom};s.disableZoom&&Object.assign(T,{scrollWheelZoom:!1,zoomControl:!1,doubleClickZoom:!1,touchZoom:!1,boxZoom:!1}),c=new sn.FeatureGroup,p=s.cluster?new sn.markerClusterGroup(_()):new sn.FeatureGroup,u=sn.map(f.value,T),u.attributionControl.setPrefix(s.prefix),u.pm.setGlobalOptions({layerGroup:c}),p.addTo(u),u.addLayer(c),u.addLayer(p),s.geojson&&V(s.geojson),s.controls&&(u.pm.addControls({position:"topleft",drawText:!1,drawCircle:!1,drawPolyline:!1,drawCircleMarker:!1,drawMarker:!1,cutPolygon:!1}),u.on("pm:create",z=>{a("geojson",v()),a("add:layer",A(z.layer))}),c.on("pm:edit",z=>{a("geojson",v()),a("edit:layer",A(z.layer))}),u.on("pm:drawstart",z=>{M(),a("draw:start",z)}),u.on("zoom",z=>a("zoom:change",z)),u.on("zoomstart",z=>a("zoom:start",z))),j.addTo(u),Object.keys(O).length>1&&sn.control.layers(O,{},{position:"topleft",collapsed:!1}).addTo(u),S()});function v(){const O=sn.featureGroup();return c.eachLayer(j=>{(j instanceof sn.Path||j instanceof sn.Marker)&&j.pm&&O.addLayer(j)}),O.toGeoJSON()}function M(){c.clearLayers()}function A(O){const j=O.toGeoJSON();return typeof O.getRadius=="function"&&(j.properties.radius=O.getRadius()),j}const C=()=>{if(!p)return;const O=p.getBounds();u.invalidateSize(),bs(()=>{Object.keys(O).length&&u.fitBounds(O,m.value)})},S=()=>{i=new ResizeObserver(O=>{O[0].contentRect,C()}),i.observe(f.value)};Zr(()=>{p.clearLayers(),i==null||i.disconnect()});function V(O){if(O){sn.geoJSON(O,{..._w(sn),...s.geojsonOptions}).addTo(p);const j=p.getBounds();j.isValid()&&u.fitBounds(j,m.value)}a("geojson:ready",p)}function P(){return u}return n({clearDrawLayers:M,getMapObject:P,resizeMap:C}),(O,j)=>(U(),nt("div",{ref_key:"leafletMap",ref:f,style:Hn({width:s.width,height:s.height})},null,4))}};function kw(e){Lw(e,Object.assign({"/src/components/Map/VMap.client.vue":xw}))}function Lw(e,n){Object.entries(n).forEach(([s,u])=>{const i=s.split("/").pop().replace(/\.client.\w+$/,"");e.component(i,u)})}const Mw=["innerHTML"],Cw={key:0,class:"h-4 inline",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Pw=et("path",{"stroke-linecap":"round",d:"M16.5 12a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 10-2.636 6.364M16.5 12V8.25"},null,-1),Sw=[Pw],Ew={key:1,class:"inline h-4 w-1"},Tw=et("circle",{cy:"calc(100% - 5px)",cx:"2.5",r:"1",fill:"currentColor"},null,-1),Ow=[Tw],Aw=["innerHTML"],Rw={__name:"AddressMaker.global",props:{items:{type:Array,required:!0}},setup(e){const n=e,a=se(()=>{const[u,...i]=n.items;return{username:u,host:i}});function s(){const[u,...i]=n.items;document.location.href=`mailto:${u}@${i.join(".")}`}return(u,i)=>(U(),nt("span",{class:"text-secondary-color cursor-pointer whitespace-nowrap",onClick:s},[et("span",{innerHTML:a.value.username},null,8,Mw),(U(!0),nt($t,null,ye(a.value.host,(c,p)=>(U(),nt($t,null,[p===0?(U(),nt("svg",Cw,Sw)):(U(),nt("svg",Ew,Ow)),et("span",{innerHTML:c},null,8,Aw)],64))),256))]))}},Bw={};function Iw(e,n){return U(),At(Ps,{"enter-active-class":"duration-500 ease-out origin-top","enter-from-class":"transform opacity-0 scale-y-0","enter-to-class":"opacity-100 scale-y-100","leave-active-class":"duration-200 ease-in origin-top","leave-from-class":"opacity-100 scale-y-100","leave-to-class":"transform opacity-0 scale-y-0"},{default:ft(()=>[Se(e.$slots,"default")]),_:3})}const Dw=re(Bw,[["render",Iw]]),zw={},jw={viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"green"},Nw=Kf('',1),Fw=[Nw];function Hw(e,n){return U(),nt("svg",jw,Fw)}const Gw=re(zw,[["render",Hw]]);const Vw={class:"autocomplete md:block md:mr-0 mr-3 relative w-fit"},Uw={class:"flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none"},$w=["placeholder"],Zw={key:1,class:"autocomplete__list list absolute z-[500] max-h-52 w-full overflow-y-auto border bg-base-foreground border-base-border !m-0 shadow-md"},qw=["onClick"],Kw=["innerHTML"],Ww=500,Jw={__name:"Autocomplete.global",props:{autofocus:{type:Boolean,default:!1},placeholder:{type:String,default:"Search..."},url:{type:String,required:!0},queryParam:{type:String,default:"term"},params:{type:Object,default:()=>({})},label:{type:String,default:"label"}},emits:["select"],setup(e,{emit:n}){const a=e,s=Zt(""),u=Zt([]),i=Zt(!1),c=Zt(null);let p;Ge(s,m=>{clearTimeout(p),m.length?p=setTimeout(()=>{i.value=!0,We.get(a.url,{params:{...a.params,[a.queryParam]:s.value}}).then(({data:_})=>{i.value=!1,u.value=_})},Ww):u.value=[]});const f=m=>{n("select",m),s.value=""};return en(()=>{a.autofocus&&c.value.focus()}),(m,_)=>{const v=dt("IconSearch");return U(),nt("div",Vw,[et("div",Uw,[rt(v,{class:"w-4 h-4 text-gray-500"})]),vo(et("input",{"onUpdate:modelValue":_[0]||(_[0]=M=>s.value=M),type:"text",autocomplete:"none",class:"autocomplete__input block box-border min-w-full p-1.5 pl-10 text-base-content rounded border sm:text-sm placeholder:text-sm dark:border-slate-700 border-gray-300 dark:placeholder:text-slate-400 focus:ring-primary-500 focus:border-primary-500",placeholder:e.placeholder,ref_key:"inputElement",ref:c},null,8,$w),[[Em,s.value]]),i.value?(U(),At(Gw,{key:0,class:"absolute top-1/2 -translate-y-1/2 right-2 h-5 w-5"})):Nt("",!0),u.value.length?(U(),nt("ul",Zw,[(U(!0),nt($t,null,ye(u.value,M=>(U(),nt("li",{key:M.id,class:"autocomplete__item px-3 py-2 border-b text-xs cursor-pointer hover:bg-secondary-color hover:bg-opacity-5 border-base-border truncate",onClick:A=>f(M)},[et("span",{innerHTML:M[e.label]},null,8,Kw)],8,qw))),128))])):Nt("",!0)])}}},gp=re(Jw,[["__scopeId","data-v-c5caf34f"]]),Yw={__name:"AutocompleteOtu.global",props:{autofocus:{type:Boolean,default:!1}},setup(e){const n=Ih(),a=({id:s,otu_valid_id:u})=>{n.push({name:"otus-id-overview",params:{id:u||s}})};return(s,u)=>(U(),At(gp,{url:"/otus/autocomplete","query-param":"term",label:"label_html",autofocus:e.autofocus,params:{having_taxon_name_only:!0},onSelect:a},null,8,["autofocus"]))}},Xw=["title"],Qw={__name:"ButtonExpand.global",props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(e,{emit:n}){const a=e,s=se({get(){return a.modelValue},set(u){n("update:modelValue",u)}});return(u,i)=>{const c=dt("IconMinusCircle"),p=dt("IconPlusCircle");return U(),nt("button",{type:"button",title:s.value?"Close":"Expand",class:"button-expand bg-base-foreground text-secondary-color w-5 h-5",onClick:i[0]||(i[0]=f=>s.value=!s.value)},[s.value?(U(),At(c,{key:0,class:"w-5 h-5"})):(U(),At(p,{key:1,class:"w-5 h-5"}))],8,Xw)}}},tx={__name:"VButton.global",props:{primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1}},setup(e){return(n,a)=>(U(),nt("button",{type:"button",class:Xe(["px-3 py-1 hover:bg-opacity-80",{"bg-primary-color":e.primary,"bg-secondary-color":e.secondary,"text-primary-content":e.primary,"text-secondary-content":e.secondary}])},[Se(n.$slots,"default")],2))}};const ex={},nx={class:"border-1 card border-base-muted bg-base-foreground print:shadow-none print:border-0 rounded"};function rx(e,n){return U(),nt("div",nx,[Se(e.$slots,"default")])}const ix=re(ex,[["render",rx]]),ox={},sx={class:"p-4 pl-5 pr-5"};function ax(e,n){return U(),nt("div",sx,[Se(e.$slots,"default")])}const lx=re(ox,[["render",ax]]),cx={},ux={class:"p-4 pl-5 pr-5 border-b font-medium border-base-muted"};function hx(e,n){return U(),nt("div",ux,[Se(e.$slots,"default")])}const px=re(cx,[["render",hx]]),dx={__name:"VClipboard.global",props:{text:{type:String,required:!0},delay:{type:Number,default:2e3}},setup(e){const n=e,a=Zt(!1);let s;function u(){navigator.clipboard.writeText(n.text).then(()=>{a.value=!0,s=setTimeout(()=>{a.value=!1},n.delay)})}return or(()=>{clearTimeout(s)}),(i,c)=>{const p=dt("IconCheck"),f=dt("IconClipboard"),m=dt("VButton");return U(),At(m,{class:"px-2 py-2 rounded-full",primary:"",onClick:u},{default:ft(()=>[a.value?(U(),At(p,{key:0,class:"w-4 h-4"})):(U(),At(f,{key:1,class:"w-4 h-4"}))]),_:1})}}},fx={class:"relative inline"},mx=["onClick"],gx={__name:"Dropdown.global",props:{items:{type:Array,default:()=>[]}},setup(e){const n=Zt(null),a=Zt(!1),s=()=>{a.value=!a.value},u=c=>{a.value=!1,c.action()};function i(c){var p;(!c.target||!((p=n.value)!=null&&p.contains(c.target)))&&(a.value=!1)}return en(()=>{document.addEventListener("pointerdown",i,{passive:!0,capture:!0})}),or(()=>{document.removeEventListener("pointerdown",i,{capture:!0})}),(c,p)=>(U(),nt("div",fx,[et("button",{title:"Menu",onClick:s},[Se(c.$slots,"button")]),a.value?(U(),nt("ul",{key:0,ref_key:"element",ref:n,class:"bg-base-foreground absolute font-normal text-sm text-base-lighter right-0 z-10 mt-2 w-56 origin-top-right rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"},[(U(!0),nt($t,null,ye(e.items,f=>(U(),nt("li",{key:f.label,class:"block w-full px-4 py-2 text-left cursor-pointer hover:bg-secondary-color hover:bg-opacity-5 box-border border-b border-base-border last:border-b-0",onClick:m=>u(f)},Qt(f.label),9,mx))),128))],512)):Nt("",!0)]))}};function _p({props:e}){const n=Zt([]);function a(s){var u,i;return{id:s.id,objectId:s.depiction_object_id,objectType:s.depiction_object_type,objectLabel:s.depiction_object.label,label:s.label,imageOriginal:s.image.original,imageMedium:s.image.medium,attribution:((u=s.attribution)==null?void 0:u.label)||"",labelAttribution:[s.depiction_object.label,((i=s.attribution)==null?void 0:i.label)||""].join(" ")}}return Ge(()=>e.depictionId,s=>{s.length&&We.get("/depictions/gallery",{params:{depiction_id:s}}).then(({data:u})=>{n.value=u.map(a).sort((i,c)=>e.depictionId.indexOf(i.id)-e.depictionId.indexOf(c.id))})},{immediate:!0}),{depictions:n}}const _x=["src","alt"],yx={class:"bg-black bg-opacity-25 absolute h-full w-full"},vx={key:0,class:"z-10 text-white text-sm drop-shadow absolute bottom-2 right-4"},bx=["innerHTML"],wx={__name:"GalleryCarousel.global",props:{depictionId:{type:Array,default:()=>[]},interval:{type:Number,default:1e4},height:{type:String,default:"550px"}},setup(e){const n=e,{depictions:a}=_p({props:n}),s=Zt(0),u=se(()=>({height:n.height})),i=se(()=>a.value[s.value]||{}),c=se(()=>i.value.objectType==="Otu"),p=se(()=>[i.value.objectLabel,i.value.attribution].join(" "));let f=null;function m(){s.value=(s.value+1)%a.value.length}return Ge(a,()=>{n.interval?(clearInterval(f),f=setInterval(m,n.interval)):s.value=Math.floor(Math.random()*data.length)}),or(()=>{clearInterval(f)}),(_,v)=>{const M=dt("RouterLink");return U(),nt("div",{class:"overflow-hidden w-full relative",style:Hn(u.value)},[rt(Ps,{name:"fade"},{default:ft(()=>[i.value.imageOriginal?(U(),nt("img",{class:"object-cover overflow-hidden h-full w-full absolute top-0 my-0",key:i.value.imageOriginal,src:i.value.imageOriginal,alt:i.value.label},null,8,_x)):Nt("",!0)]),_:1}),et("div",yx,[Se(_.$slots,"default",{},void 0,!0)]),i.value.objectId?(U(),nt("span",vx,[c.value?(U(),At(M,{key:0,class:"text-white decoration-transparent",to:{name:"otus-id",params:{id:i.value.objectId}},innerHTML:p.value},null,8,["to","innerHTML"])):(U(),nt("span",{key:1,innerHTML:p.value},null,8,bx))])):Nt("",!0)],4)}}},xx=re(wx,[["__scopeId","data-v-6970dada"]]),kx=["title"],Lx=["alt","src"],Mx={__name:"GalleryThumbnail",props:{image:{type:Object,required:!0},title:{type:String,default:void 0}},setup(e){return(n,a)=>(U(),nt("div",{class:"bg-base-background flex flex-col justify-center cursor-pointer w-24 max-h-20 h-20 border-base-muted rounded-md border",title:e.title},[et("img",{class:"max-h-20 max-w-24 h-20 w-24 object-contain rounded",alt:e.title,src:e.image.thumb},null,8,Lx)],8,kx))}},Cx={class:"flex flex-row overflow-x-auto print:flex-wrap"},yp={__name:"GalleryThumbnailList",props:{images:{type:Array,default:()=>[]},current:{type:Number,default:void 0}},emits:["selectIndex"],setup(e,{emit:n}){return(a,s)=>(U(),nt("div",Cx,[(U(!0),nt($t,null,ye(e.images,(u,i)=>(U(),nt("div",{key:u.id,class:"pr-1.5 last:pr-0"},[rt(Mx,{image:u,class:Xe({"border border-secondary-color":e.current===i}),title:u.depictions.map(c=>c.label).join(";"),onClick:c=>n("selectIndex",i)},null,8,["image","class","title","onClick"])]))),128))]))}},Px={class:"h-80 max-h-80 flex items-center justify-center"},Sx=["textContent"],Ex=["src","alt"],Tx={__name:"GalleryMainImage",props:{image:{type:Object,required:!0}},emits:["open:viewer"],setup(e,{emit:n}){const a=e,s=Zt(!1),u=Zt(null),i=Zt(null);Ge(()=>a.image,f=>{f.original&&(i.value=null,s.value=!0)});function c(f){f.preventDefault(),s.value=!1,i.value="Image was not found or format is not supported"}function p(){s.value=!1}return en(()=>{u.value.addEventListener("load",p),u.value.addEventListener("error",c)}),(f,m)=>{const _=dt("VSpinner"),v=dt("ClientOnly");return U(),nt("div",Px,[rt(v,null,{default:ft(()=>[s.value?(U(),At(_,{key:0})):Nt("",!0)]),_:1}),i.value?(U(),nt("span",{key:0,textContent:Qt(i.value)},null,8,Sx)):Nt("",!0),vo(et("img",{ref_key:"imageElement",ref:u,class:"max-h-80 h-max w-100 cursor-zoom-in m-auto object-contain",src:e.image.original,alt:e.image.depictions.map(M=>M.label).join(";"),onClick:m[0]||(m[0]=M=>n("open:viewer"))},null,8,Ex),[[Ss,!i.value]])])}}},Ox={class:"flex flex-col"},Ax={class:"flex justify-center border print:hidden bg-base-0 border-base-muted"},Rx={__name:"GalleryImage.global",props:{images:{type:Array,default:()=>[]}},setup(e){const n=e,a=Zt(!1),s=Zt(0),u=se(()=>n.images[s.value]||{}),i=()=>{s.value--},c=()=>{s.value++};return Ge(()=>n.images,()=>{s.value=0},{immediate:!0}),(p,f)=>{const m=dt("ImageViewer");return U(),nt($t,null,[et("div",Ox,[et("div",Ax,[rt(Tx,{image:u.value,"onOpen:viewer":f[0]||(f[0]=()=>a.value=!0)},null,8,["image"])]),rt(yp,{class:"pt-2 pb-2",images:e.images,onSelectIndex:f[1]||(f[1]=_=>{s.value=_})},null,8,["images"])]),a.value?(U(),At(m,{key:0,index:s.value,images:e.images,next:s.value0,onSelectIndex:f[2]||(f[2]=_=>s.value=_),onNext:f[3]||(f[3]=_=>c()),onPrevious:f[4]||(f[4]=_=>i()),onClose:f[5]||(f[5]=_=>a.value=!1)},null,8,["index","images","next","previous"])):Nt("",!0)],64)}}},Bx=["src"],Ix=["innerHTML"],Dx={__name:"GalleryMosaic.global",props:{depictionId:{type:Array,default:()=>[]},imageHeight:{type:String,default:"112px"},imageWidth:{type:String,default:"200px"},wrap:{type:Boolean,default:!1},label:{type:Boolean,default:!1}},setup(e){const n=e,a=se(()=>({height:n.imageHeight}));function s(i){return i.objectType==="Otu"?"RouterLink":"div"}const{depictions:u}=_p({props:n});return(i,c)=>(U(),nt("div",{class:Xe(["grid gap-2",!n.wrap&&"grid-flow-col"]),style:Hn(n.wrap&&`grid-template-columns: repeat(auto-fit, minmax(${n.imageWidth}, 1fr))`)},[(U(!0),nt($t,null,ye(Kt(u),p=>(U(),At(Mi(s(p)),{key:p.id,to:{name:"otus-id",params:{id:p.objectId}}},{default:ft(()=>[et("img",{src:p.imageMedium,style:Hn(a.value),class:"max-w-full my-0 object-cover w-full"},null,12,Bx),e.label?(U(),nt("span",{key:0,class:"text-sm",innerHTML:p.labelAttribution},null,8,Ix)):Nt("",!0)]),_:2},1032,["to"]))),128))],6))}},zx={},jx={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Nx=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19 9l-7 7-7-7"},null,-1),Fx=[Nx];function Hx(e,n){return U(),nt("svg",jx,Fx)}const Gx=re(zx,[["render",Hx]]),Vx={},Ux={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},$x=et("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 19l-7-7 7-7"},null,-1),Zx=[$x];function qx(e,n){return U(),nt("svg",Ux,Zx)}const Kx=re(Vx,[["render",qx]]),Wx={},Jx={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Yx=et("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 5l7 7-7 7"},null,-1),Xx=[Yx];function Qx(e,n){return U(),nt("svg",Jx,Xx)}const t1=re(Wx,[["render",Qx]]),e1={},n1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},r1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"},null,-1),i1=[r1];function o1(e,n){return U(),nt("svg",n1,i1)}const s1=re(e1,[["render",o1]]),a1={},l1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},c1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z"},null,-1),u1=[c1];function h1(e,n){return U(),nt("svg",l1,u1)}const p1=re(a1,[["render",h1]]),d1={},f1={xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},m1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"},null,-1),g1=[m1];function _1(e,n){return U(),nt("svg",f1,g1)}const y1=re(d1,[["render",_1]]),v1={},b1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},w1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},null,-1),x1=[w1];function k1(e,n){return U(),nt("svg",b1,x1)}const L1=re(v1,[["render",k1]]),M1={},C1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},P1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"},null,-1),S1=[P1];function E1(e,n){return U(),nt("svg",C1,S1)}const T1=re(M1,[["render",E1]]),O1={},A1={viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true"},R1=et("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"},null,-1),B1=[R1];function I1(e,n){return U(),nt("svg",A1,B1)}const D1=re(O1,[["render",I1]]),z1={},j1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},N1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M4 12h16M4 18h16"},null,-1),F1=[N1];function H1(e,n){return U(),nt("svg",j1,F1)}const G1=re(z1,[["render",H1]]),V1={},U1={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24"},$1=et("path",{fill:"currentColor",d:"M5 3h2v2H5v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2 2 0 0 0-2-2H0v-2h1a2 2 0 0 0 2-2V5a2 2 0 0 1 2-2m14 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2a2 2 0 0 1-2-2V5h-2V3h2m-7 12a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m8 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1Z"},null,-1),Z1=[$1];function q1(e,n){return U(),nt("svg",U1,Z1)}const K1=re(V1,[["render",q1]]),W1={},J1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Y1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),X1=[Y1];function Q1(e,n){return U(),nt("svg",J1,X1)}const tk=re(W1,[["render",Q1]]),ek={},nk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},rk=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),ik=[rk];function ok(e,n){return U(),nt("svg",nk,ik)}const sk=re(ek,[["render",ok]]),ak={},lk={xmlns:"http://www.w3.org/2000/svg",class:"text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},ck=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"},null,-1),uk=[ck];function hk(e,n){return U(),nt("svg",lk,uk)}const pk=re(ak,[["render",hk]]),dk={},fk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},mk=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"},null,-1),gk=[mk];function _k(e,n){return U(),nt("svg",fk,gk)}const yk=re(dk,[["render",_k]]),vk={},bk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},wk=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"},null,-1),xk=[wk];function kk(e,n){return U(),nt("svg",bk,xk)}const Lk=re(vk,[["render",kk]]),Mk={__name:"ImageAttribution",props:{attribution:{type:Object,default:()=>({})}},setup(e){return(n,a)=>(U(),nt("div",null,[et("p",null,Qt(e.attribution.label),1)]))}},Ck={__name:"ImageDepictions",props:{depictions:{type:Array,default:()=>[]}},setup(e){return(n,a)=>(U(),nt("div",null,[(U(!0),nt($t,null,ye(e.depictions,s=>(U(),nt("div",{key:s.id},[et("p",null,Qt(s.label),1)]))),128))]))}},Pk=["innerHTML"],Sk={__name:"ImageSource",props:{source:{type:Object,default:()=>({})}},setup(e){return(n,a)=>(U(),nt("div",null,[et("p",{innerHTML:e.source.label},null,8,Pk)]))}},Ek={class:"p-2 text-black dark:text-white opacity-50"},Tk={__name:"ImageViewerCounter",props:{currentImage:{type:Number,required:!0},totalImages:{type:Number,required:!0}},setup(e){return(n,a)=>(U(),nt("span",Ek,Qt(e.currentImage+1)+"/"+Qt(e.totalImages),1))}},Ok={},Ak={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Next image"};function Rk(e,n){const a=dt("IconArrowRight");return U(),nt("button",Ak,[rt(a,{class:"h-8 w-8"})])}const Bk=re(Ok,[["render",Rk]]),Ik={},Dk={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Previous image"};function zk(e,n){const a=dt("IconArrowLeft");return U(),nt("button",Dk,[rt(a,{class:"h-8 w-8"})])}const jk=re(Ik,[["render",zk]]),Nk={},Fk={class:"p-2 box-border flex justify-between"};function Hk(e,n){return U(),nt("div",Fk,[et("div",null,[Se(e.$slots,"default")]),et("div",null,[Se(e.$slots,"right")])])}const Gk=re(Nk,[["render",Hk]]),Vk={},Uk={type:"button",class:"p-2 cursor-pointer opacity-50 text-base-content"};function $k(e,n){const a=dt("IconClose");return U(),nt("button",Uk,[rt(a)])}const Zk=re(Vk,[["render",$k]]),qk={class:"fixed z-[10000] h-full overflow-y-hidden overflow-x-hidden w-full top-0 left-0 flex flex-col items-center justify-center backdrop-blur-md bg-base-foreground"},Kk={class:"absolute rounded-t-lg w-auto max-h-full h-auto top-12 bottom-44 left-0 right-0 flex justify-center align-middle"},Wk=["textContent"],Jk=["alt","src"],Yk={class:"bottom-0 fixed max-w-full w-full"},Xk={class:"text-base-content text-sm attributions p-6 align-middle flex justify-between flex-col text-center"},Qk={class:"flex justify-center"},tL={__name:"ImageViewer.global",props:{index:{type:Number,required:!0},images:{type:Array,default:()=>[]},next:{type:Boolean,default:!1},previous:{type:Boolean,default:!1}},emits:["close","previous","next","selectIndex"],setup(e,{emit:n}){const a=e,s=({key:_})=>{switch(_){case"ArrowLeft":a.previous&&n("previous");break;case"ArrowRight":a.next&&n("next");break;case"Escape":n("close");break}},u=Zt(null),i=Zt(!1),c=Zt(null),p=se(()=>a.images[a.index]);document.addEventListener("keyup",s);function f(){i.value=!1,c.value="Image was not found or format is not supported"}function m(){i.value=!1}return en(()=>{u.value.addEventListener("load",m),u.value.addEventListener("error",f),document.body.classList.add("overflow-hidden")}),Zr(()=>{document.removeEventListener("keyup",s),document.body.classList.remove("overflow-hidden")}),Ge(()=>a.index,()=>{c.value=null,i.value=!0}),(_,v)=>{const M=dt("VSpinner");return U(),nt("div",qk,[et("div",{class:"min-w-96 dark:bg-slate-900 rounded-lg shadow-sm mb-24",onClick:v[3]||(v[3]=hs(()=>{},["stop"]))},[et("div",Kk,[i.value?(U(),At(M,{key:0})):Nt("",!0),c.value?(U(),nt("div",{key:1,class:"flex flex-col justify-center",textContent:Qt(c.value)},null,8,Wk)):Nt("",!0),vo(et("img",{ref_key:"imageElement",ref:u,class:"mx-auto cursor-zoom-out w-auto max-w-full max-h-full h-auto my-auto",alt:p.value.depictions.map(A=>A.label).join(";"),src:p.value.original,onClick:v[0]||(v[0]=A=>n("close"))},null,8,Jk),[[Ss,!c.value]]),e.next?(U(),At(Bk,{key:2,class:"right-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:v[1]||(v[1]=A=>n("next"))})):Nt("",!0),e.previous?(U(),At(jk,{key:3,class:"left-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:v[2]||(v[2]=A=>n("previous"))})):Nt("",!0)])]),et("div",Yk,[et("div",Xk,[rt(Ck,{class:"my-auto",depictions:p.value.depictions},null,8,["depictions"]),rt(Mk,{class:"my-auto",attribution:p.value.attribution},null,8,["attribution"]),rt(Sk,{class:"my-auto",source:p.value.source},null,8,["source"])]),et("div",Qk,[rt(yp,{class:"pb-2",current:e.index,images:e.images,onSelectIndex:v[4]||(v[4]=A=>n("selectIndex",A)),onClick:v[5]||(v[5]=hs(()=>{},["stop"]))},null,8,["current","images"])])]),rt(Gk,{class:"w-full absolute top-0 h-12 left-0 items-center"},{right:ft(()=>[rt(Zk,{onClick:v[6]||(v[6]=A=>n("close"))})]),default:ft(()=>[rt(Tk,{"current-image":e.index,"total-images":e.images.length},null,8,["current-image","total-images"])]),_:1})])}}},eL="!container mx-auto p-4 sm:px-0 prose dark:prose-invert box-border",nL={__name:"MarkdownLayout.global",props:{tag:{type:String,default:"div"},frontmatter:{type:Object,required:!0}},setup(e){const n=e,a={fullwidth:"p-4 sm:px-0 prose dark:prose-invert max-w-none",blank:"sm:px-0 prose dark:prose-invert max-w-none"},s=se(()=>a[n.frontmatter.layout]||eL);return(u,i)=>(U(),At(Mi(e.tag),{class:Xe(s.value)},{default:ft(()=>[Se(u.$slots,"default")]),_:3},8,["class"]))}},rL={class:"w-full p-4 md:p-4 flex flex-row box-border justify-between items-center"},iL=et("span",null,null,-1),oL={class:"bg-base-foreground overflow-x-auto h-full md:h-auto max-h-full"},sL={__name:"VModal.global",emits:["close"],setup(e,{emit:n}){const a=s=>{s.key==="Escape"&&(s.stopPropagation(),n("close"))};return en(()=>{document.addEventListener("keydown",a),document.body.classList.add("overflow-hidden")}),Zr(()=>{document.removeEventListener("keydown",a),document.body.classList.remove("overflow-hidden")}),(s,u)=>{const i=dt("IconClose");return U(),nt("div",{class:"fixed top-0 left-0 w-full h-screen max-h-screen flex flex-col justify-center bg-black bg-opacity-50 z-[2000]",onClick:u[2]||(u[2]=c=>n("close")),onKey:u[3]||(u[3]=hs(c=>n("close"),["stop"]))},[et("div",{class:"h-full md:h-auto mx-auto md:max-h-[70vh] bg-base-foreground container",onClick:u[1]||(u[1]=hs(()=>{},["stop"]))},[et("div",rL,[Se(s.$slots,"header",{},()=>[iL]),rt(i,{class:"w-6 h-6 cursor-pointer opacity-50",onClick:u[0]||(u[0]=()=>n("close"))})]),et("div",oL,[Se(s.$slots,"default")]),et("div",null,[Se(s.$slots,"footer")])])],32)}}},aL={__name:"ProjectStats.global",props:{data:{type:Array,default:()=>[]},tag:{type:String,default:"span"}},setup(e){const n=e,a=Zt({data:[]}),s=se(()=>n.data.map(c=>c.toLowerCase())),u=se(()=>{const c=a.value.data;return c.length?i(c):s.value.map(p=>[p,"??"])});function i(c){const p=n.data.length?c.filter(([f])=>s.value.includes(f)):c;return p.sort(([f],[m])=>s.value.indexOf(f)-s.value.indexOf(m)),p}return en(()=>{We.get("/stats").then(c=>{const p=Object.entries(c.data.data).map(([f,m])=>[f.toLowerCase(),m.toLocaleString()]);a.value.data=p})}),(c,p)=>(U(),At(Mi(e.tag),null,{default:ft(()=>[(U(!0),nt($t,null,ye(u.value,([f,m],_)=>Se(c.$slots,"default",{type:f,value:m},()=>[et("span",null,Qt(f)+": "+Qt(m)+Qt(_{n.value=!0}),(a,s)=>n.value?Se(a.$slots,"default",{key:0}):(U(),nt("div",lL))}},uL={class:"inline-flex items-center text-sm"},hL={__name:"TabItem.global",props:{to:{type:[String,Object],required:!0}},setup(e){return(n,a)=>{const s=dt("router-link");return U(),nt("li",uL,[rt(s,{class:"p-2 pb-2 block py-2 pr-4 pl-3 text-gray-700 border-b-2 border-transparent","active-class":"border-b-2 border-blue-500 text-primary-500",to:e.to},{default:ft(()=>[Se(n.$slots,"default")]),_:3},8,["to"])])}}},pL={},dL={class:"inline-flex items-center space-x-1 md:space-x-3"};function fL(e,n){return U(),nt("ul",dL,[Se(e.$slots,"default")])}const mL=re(pL,[["render",fL]]),gL={},_L={class:"relative sm:rounded-lg"},yL={class:"w-full text-sm text-left text-gray-500 dark:text-gray-400"};function vL(e,n){return U(),nt("div",_L,[et("table",yL,[Se(e.$slots,"default")])])}const bL=re(gL,[["render",vL]]),wL={},xL={class:"normal-case text-xs"};function kL(e,n){return U(),nt("tbody",xL,[Se(e.$slots,"default")])}const LL=re(wL,[["render",kL]]),ML={},CL={class:"px-4 py-4"};function PL(e,n){return U(),nt("td",CL,[Se(e.$slots,"default")])}const SL=re(ML,[["render",PL]]),EL={},TL={class:"bg-base-foreground border-b border-base-border"};function OL(e,n){return U(),nt("tr",TL,[Se(e.$slots,"default")])}const AL=re(EL,[["render",OL]]),RL={},BL={class:"text-xs text-base-content uppercase bg-base-background"};function IL(e,n){return U(),nt("thead",BL,[Se(e.$slots,"default")])}const DL=re(RL,[["render",IL]]),zL={},jL={class:"px-4 py-3"};function NL(e,n){return U(),nt("th",jL,[Se(e.$slots,"default")])}const FL=re(zL,[["render",NL]]),HL={};function GL(e,n){return U(),nt("tr",null,[Se(e.$slots,"default")])}const VL=re(HL,[["render",GL]]),UL={key:1},$L=et("h1",{class:"font-medium text-base px-1"},"Report a problem",-1),ZL={class:"font-normal p-5 pt-0 text-base"},qL=et("span",null,"My issue is with:",-1),KL={class:"mx-5 my-2"},WL=["href"],JL={key:0,class:"text-sm"},YL="https://github.com/SpeciesFileGroup/taxonpages/issues/new/choose",XL={__name:"TrackerReport.global",props:{buttonClass:{type:String,default:void 0},label:{type:String,default:void 0},icon:{type:Boolean,default:!1},tag:{type:String,default:"VButton"}},setup(e){const{issue_trackers:n}={base_url:"/plecoptera/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/plecoptera/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]},a=Zt(!1);function s(){n?a.value=!0:window.open(YL,"_self")}return(u,i)=>{const c=dt("IconGithub"),p=dt("VModal");return U(),nt($t,null,[(U(),At(Mi(e.tag),{type:"button",title:"Report a problem",class:Xe(e.buttonClass),onClick:s},{default:ft(()=>[e.icon?(U(),At(c,{key:0,class:"w-5 h-5"})):Nt("",!0),e.label?(U(),nt("span",UL,Qt(e.label),1)):Nt("",!0)]),_:1},8,["class"])),a.value?(U(),At(p,{key:0,class:"text-base-content",onClose:i[0]||(i[0]=f=>a.value=!1)},{header:ft(()=>[$L]),default:ft(()=>[et("div",ZL,[qL,et("ul",KL,[(U(!0),nt($t,null,ye(Kt(n),f=>(U(),nt("li",null,[et("a",{href:f.url},Qt(f.label),9,WL),f.description?(U(),nt("span",JL," - "+Qt(f.description),1)):Nt("",!0)]))),256))])])]),_:1})):Nt("",!0)],64)}}},QL={__name:"VSkeleton.global",props:{class:{type:String,default:"w-full"},lines:{type:Number,default:1}},setup(e){const n=Mf(),a=se(()=>{var i;const u=(i=n.default)==null?void 0:i.call(n);return s(u)});function s(u){if(!u)return!0;const[i]=u;let c=i.children;return i.el!==null||c!==null}return(u,i)=>(U(),nt($t,null,[Se(u.$slots,"default"),a.value?(U(),nt("span",{key:0,class:Xe(e.class)},[(U(!0),nt($t,null,ye(e.lines,c=>(U(),nt("span",{key:c,class:"inline-block w-full rounded-sm bg-base-muted leading-5 animate-pulse"}," ‌ "))),128))],2)):Nt("",!0)],64))}};const yl=e=>(Ku("data-v-b688ef4b"),e=e(),Wu(),e),tM=yl(()=>et("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1)),eM=yl(()=>et("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)),nM=[tM,eM],rM=yl(()=>et("span",{class:"sr-only"},"Loading...",-1)),iM=["innerHTML"],oM={__name:"VSpinner.global",props:{target:{type:String,default:void 0},fullScreen:{type:Boolean,default:!1},legend:{type:String,default:"Loading, please wait."},resize:{type:Boolean,default:!0},legendStyle:{type:Object,default:()=>({})},legendClass:{type:String,default:"mt-5"},showLegend:{type:Boolean,default:!0},showSpinner:{type:Boolean,default:!0},spinnerPosition:{type:String,default:"top"},logoSize:{type:Object,default:()=>({})},logoClass:{type:String,default:"w-12 h-12"}},setup(e){const n=e,a={position:"fixed",width:"100vw",height:"100vh",top:"0px",left:"0px"},s=Zt(null),u=Zt({}),i=Zt(void 0);en(()=>{c(),n.resize&&!n.fullScreen&&f()}),Zr(()=>clearInterval(i.value));const c=()=>{const m=n.target?document.querySelector(n.target):s.value.parentNode;Object.assign(u.value,n.fullScreen?a:p(m))},p=m=>{const _=m.getBoundingClientRect(),v=window.getComputedStyle(m,null),M=parseInt(v.getPropertyValue("padding-left"),10),A=parseInt(v.getPropertyValue("padding-right"),10),C=parseInt(v.getPropertyValue("padding-top"),10),S=parseInt(v.getPropertyValue("padding-bottom"),10);return{position:"absolute",width:_.width-M-A+"px",height:_.height-C-S+"px"}},f=()=>{i.value=setInterval(c(),500)};return(m,_)=>(U(),nt("div",{ref_key:"spinnerElement",ref:s,class:"box-spinner mx-spinner absolute bg-base-foreground opacity-90 h-full flex items-center",style:Hn(u.value)},[et("div",{class:Xe(["tw-spinner",[`tw-spinner-${e.spinnerPosition}`]])},[e.showSpinner?(U(),nt("svg",{key:0,style:Hn(e.logoSize),"aria-hidden":"true",class:Xe(["text-base-lighter animate-spin fill-primary-color",e.logoClass]),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nM,6)):Nt("",!0),rM,e.legend.length?(U(),nt("div",{key:1,class:Xe(["text-base-content text-center",e.legendClass]),style:Hn(e.legendStyle)},[e.showLegend?(U(),nt("span",{key:0,innerHTML:e.legend},null,8,iM)):Nt("",!0),Se(m.$slots,"default",{},void 0,!0)],6)):Nt("",!0)],2)],4))}},sM=re(oM,[["__scopeId","data-v-b688ef4b"]]);function aM(e){lM(e,Object.assign({"/src/components/AddressMaker.global.vue":Rw,"/src/components/Animation/AnimationOpacity.global.vue":Dw,"/src/components/Autocomplete/Autocomplete.global.vue":gp,"/src/components/Autocomplete/AutocompleteOtu.global.vue":Yw,"/src/components/Button/ButtonExpand.global.vue":Qw,"/src/components/Button/VButton.global.vue":tx,"/src/components/Card/VCard.global.vue":ix,"/src/components/Card/VCardContent.global.vue":lx,"/src/components/Card/VCardHeader.global.vue":px,"/src/components/Clipboard/VClipboard.global.vue":dx,"/src/components/Dropdown/Dropdown.global.vue":gx,"/src/components/Gallery/GalleryCarousel/GalleryCarousel.global.vue":xx,"/src/components/Gallery/GalleryImage.global.vue":Rx,"/src/components/Gallery/GalleryMosaic/GalleryMosaic.global.vue":Dx,"/src/components/Icon/IconArrowDown.global.vue":Gx,"/src/components/Icon/IconArrowLeft.global.vue":Kx,"/src/components/Icon/IconArrowRight.global.vue":t1,"/src/components/Icon/IconCheck.global.vue":s1,"/src/components/Icon/IconClipboard.global.vue":p1,"/src/components/Icon/IconClose.global.vue":y1,"/src/components/Icon/IconDocument.global.vue":L1,"/src/components/Icon/IconDownload.global.vue":T1,"/src/components/Icon/IconGithub.global.vue":D1,"/src/components/Icon/IconHamburger.global.vue":G1,"/src/components/Icon/IconJson.global.vue":K1,"/src/components/Icon/IconMinusCircle.global.vue":tk,"/src/components/Icon/IconPlusCircle.global.vue":sk,"/src/components/Icon/IconSearch.global.vue":pk,"/src/components/Icon/IconTrash.global.vue":yk,"/src/components/Icon/IconWarning.global.vue":Lk,"/src/components/ImageViewer/ImageViewer.global.vue":tL,"/src/components/Markdown/MarkdownLayout.global.vue":nL,"/src/components/Modal/VModal.global.vue":sL,"/src/components/ProjectStats.global.vue":aL,"/src/components/Ssr/ClientOnly.global.vue":cL,"/src/components/Tab/TabItem.global.vue":hL,"/src/components/Tab/TabMenu.global.vue":mL,"/src/components/Table/VTable.global.vue":bL,"/src/components/Table/VTableBody.global.vue":LL,"/src/components/Table/VTableBodyCell.global.vue":SL,"/src/components/Table/VTableBodyRow.global.vue":AL,"/src/components/Table/VTableHeader.global.vue":DL,"/src/components/Table/VTableHeaderCell.global.vue":FL,"/src/components/Table/VTableHeaderRow.global.vue":VL,"/src/components/TrackerReport.global.vue":XL,"/src/components/VSkeleton.global.vue":QL,"/src/components/VSpinner.global.vue":sM}))}function lM(e,n){Object.entries(n).forEach(([s,u])=>{const i=s.split("/").pop().replace(/\.client.global.\w+$/,"").replace(/\.global.\w+$/,"");e.component(i,u)})}const cM=window.location.origin,_u=window.initialState,{app:vl,router:uM,store:hM}=rw({originUrl:cM});_u&&(hM.state.value=_u);kw(vl);aM(vl);uM.isReady().then(()=>{vl.mount("#app")});export{et as a,rt as b,At as c,nh as d,ne as e,U as o,dt as r,ft as w}; diff --git a/assets/index-e0640165.css b/assets/index-e0640165.css new file mode 100644 index 0000000..a73cea9 --- /dev/null +++ b/assets/index-e0640165.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,400;0,500;0,900;1,100;1,400&display=swap";:root{--color-primary: 0, 0, 0;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-success: 34, 197, 94;--color-warning: 245, 158, 11;--color-danger: 239, 68, 68;--color-base-foreground: 255, 255, 255;--color-base-background: 245, 247, 251;--color-base-muted: 226, 232, 240;--color-base-soft: 156, 163, 175;--color-base-lighter: 55, 65, 81;--color-base-border: 203, 213, 225;--color-base-content: 0, 0, 0;--color-map-georeference: 239, 68, 68;--color-map-aggregate: 3, 115, 22;--color-map-asserted: 249, 115, 22;--color-map-type-material: 51, 136, 255;--color-map-collection-object: 239, 68, 68;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 229, 231, 235;--color-map-shape-opacity: .5;--color-map-marker-opacity: .75}.dark{--color-primary: 23, 23, 23;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-success: 22, 163, 74;--color-warning: 217, 119, 6;--color-danger: 185, 28, 28;--color-base-background: 23, 23, 23;--color-base-foreground: 38, 38, 38;--color-base-muted: 48, 48, 48;--color-base-soft: 200, 200, 200;--color-base-lighter: 220, 220, 220;--color-base-border: 70, 70, 70;--color-base-content: 255, 255, 255;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 55, 65, 81}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em;line-height:1.5}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:0;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.7777778em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:1em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: rgb(var(--color-secondary));--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.1428571em;margin-bottom:.1428571em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-left-2{left:-.5rem}.-left-2\.5{left:-.625rem}.-right-full{right:-100%}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-44{bottom:11rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-12{top:3rem}.top-2{top:.5rem}.top-3{top:.75rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[10000\]{z-index:10000}.z-\[1000\]{z-index:1000}.z-\[1500\]{z-index:1500}.z-\[2000\]{z-index:2000}.z-\[400\]{z-index:400}.z-\[5000\]{z-index:5000}.z-\[500\]{z-index:500}.\!m-0{margin:0!important}.m-0{margin:0}.m-1{margin:.25rem}.m-4{margin:1rem}.m-\[-1px\]{margin:-1px}.m-auto{margin:auto}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-2{margin-bottom:.5rem}.mb-24{margin-bottom:6rem}.mb-3{margin-bottom:.75rem}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-\[5px\]{margin-left:5px}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-\[5px\]{margin-right:5px}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-\[5px\]{margin-top:5px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-20{height:5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[30px\]{height:30px}.h-\[40px\]{height:40px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-screen{height:100vh}.max-h-20{max-height:5rem}.max-h-32{max-height:8rem}.max-h-52{max-height:13rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-12{width:3rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-96{width:24rem}.w-\[15px\]{width:15px}.w-\[40px\]{width:40px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.max-w-none{max-width:none}.flex-grow{flex-grow:1}.origin-top{transform-origin:top}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-0{--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-zoom-in{cursor:zoom-in}.cursor-zoom-out{cursor:zoom-out}.resize{resize:both}.grid-flow-col{grid-auto-flow:column}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-base-border{--tw-border-opacity: 1;border-color:rgba(var(--color-base-border),var(--tw-border-opacity))}.border-base-muted{--tw-border-opacity: 1;border-color:rgba(var(--color-base-muted),var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-secondary-color{--tw-border-opacity: 1;border-color:rgba(var(--color-secondary),var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-b-base-border{--tw-border-opacity: 1;border-bottom-color:rgba(var(--color-base-border),var(--tw-border-opacity))}.border-opacity-50{--tw-border-opacity: .5}.bg-base-background{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-background),var(--tw-bg-opacity))}.bg-base-content{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-content),var(--tw-bg-opacity))}.bg-base-foreground{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-foreground),var(--tw-bg-opacity))}.bg-base-muted{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-muted),var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-map-aggregate{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-aggregate),var(--tw-bg-opacity))}.bg-map-asserted{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-asserted),var(--tw-bg-opacity))}.bg-map-collection-object{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-collection-object),var(--tw-bg-opacity))}.bg-map-georeference{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-georeference),var(--tw-bg-opacity))}.bg-map-type-material{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-type-material),var(--tw-bg-opacity))}.bg-primary-color{--tw-bg-opacity: 1;background-color:rgba(var(--color-primary),var(--tw-bg-opacity))}.bg-secondary-color{--tw-bg-opacity: 1;background-color:rgba(var(--color-secondary),var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.fill-primary-color{fill:rgb(var(--color-primary))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20{padding-left:5rem;padding-right:5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-6{padding-left:1.5rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-1\.5{padding-right:.375rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-7xl{font-size:4.5rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.text-base-background{--tw-text-opacity: 1;color:rgba(var(--color-base-background),var(--tw-text-opacity))}.text-base-content{--tw-text-opacity: 1;color:rgba(var(--color-base-content),var(--tw-text-opacity))}.text-base-lighter{--tw-text-opacity: 1;color:rgba(var(--color-base-lighter),var(--tw-text-opacity))}.text-base-soft{--tw-text-opacity: 1;color:rgba(var(--color-base-soft),var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-primary-content{--tw-text-opacity: 1;color:rgba(var(--color-primary-content),var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-secondary-color{--tw-text-opacity: 1;color:rgba(var(--color-secondary),var(--tw-text-opacity))}.text-secondary-content{--tw-text-opacity: 1;color:rgba(var(--color-secondary-content),var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-success{--tw-text-opacity: 1;color:rgba(var(--color-success),var(--tw-text-opacity))}.text-warning{--tw-text-opacity: 1;color:rgba(var(--color-warning),var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.decoration-transparent{text-decoration-color:transparent}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-90{opacity:.9}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-base-muted{--tw-shadow-color: rgb(var(--color-base-muted));--tw-shadow: var(--tw-shadow-colored)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:rgba(255,255,255,.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}:root{--map-tiles-filter: brightness(.6) invert(1) contrast(3) hue-rotate(200deg) saturate(.3) brightness(.7)}.map-point-marker{opacity:var(--color-map-marker-opacity)}.dark .map-tiles{filter:var(--map-tiles-filter, none)}::-webkit-scrollbar{width:6px;height:6px;-webkit-transition:background .3s;transition:background .3s}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:rgb(var(--color-scrollbar-thumb))}::-webkit-scrollbar-track{background-color:rgb(var(--color-scrollbar-track))}*{box-sizing:content-box}body{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-background),var(--tw-bg-opacity));font-family:Roboto,sans-serif}a{--tw-text-opacity: 1;color:rgba(var(--color-secondary),var(--tw-text-opacity))}.dark{color-scheme:dark}:is(.dark .dark\:prose-invert){--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: rgb(var(--color-secondary));--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.placeholder\:text-sm::-moz-placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.first\:border-t-0:first-child{border-top-width:0px}.last\:border-0:last-child{border-width:0px}.last\:border-b-0:last-child{border-bottom-width:0px}.last\:pr-0:last-child{padding-right:0}.hover\:bg-secondary-color:hover{--tw-bg-opacity: 1;background-color:rgba(var(--color-secondary),var(--tw-bg-opacity))}.hover\:bg-opacity-5:hover{--tw-bg-opacity: .05}.hover\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary-content:hover{--tw-text-opacity: 1;color:rgba(var(--color-primary-content),var(--tw-text-opacity))}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .dark\:border-slate-700){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-slate-400)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-slate-400)::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-300:hover){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:w-96{width:24rem}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:-right-96{right:-24rem}.md\:mb-0{margin-bottom:0}.md\:ml-2{margin-left:.5rem}.md\:mr-0{margin-right:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:max-h-\[70vh\]{max-height:70vh}.md\:w-3\/4{width:75%}.md\:w-96{width:24rem}.md\:min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:p-4{padding:1rem}}@media print{.print\:hidden{display:none}.print\:flex-wrap{flex-wrap:wrap}.print\:border-0{border-width:0px}.print\:shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}.\[\&\>\*\:not\(\:last-child\)\]\:after\:mx-1>*:not(:last-child):after{content:var(--tw-content);margin-left:.25rem;margin-right:.25rem}.\[\&\>\*\:not\(\:last-child\)\]\:after\:content-\[\'\|\'\]>*:not(:last-child):after{--tw-content: "|";content:var(--tw-content)}:root{--color-primary: 0, 0, 0;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-base-foreground: 255, 255, 255;--color-base-background: 245, 247, 251;--color-base-muted: 226, 232, 240;--color-base-soft: 156, 163, 175;--color-base-lighter: 55, 65, 81;--color-base-border: 203, 213, 225;--color-base-content: 0, 0, 0;--color-map-georeference: 239, 68, 68;--color-map-aggregate: 3, 115, 22;--color-map-asserted: 249, 115, 22;--color-map-type-material: 51, 136, 255;--color-map-collection-object: 239, 68, 68;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 229, 231, 235;--color-map-shape-opacity: .5;--color-map-marker-opacity: .75}.dark{--color-primary: 23, 23, 23;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-base-background: 23, 23, 23;--color-base-foreground: 38,38,38;--color-base-muted: 48, 48, 48;--color-base-soft: 200, 200, 200;--color-base-lighter: 220, 220, 220;--color-base-border: 38, 38, 38;--color-base-content: 255, 255, 255;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 55, 65, 81}.tree[data-v-b79ba271]{list-style:none;margin:0;padding:0}.tree ul[data-v-b79ba271]{margin-left:14px}.tree li[data-v-b79ba271]{position:relative;margin:0;padding:0 6px;border-left:1px solid rgb(100,100,100)}.tree li[data-v-b79ba271]:last-child{border-left:none}.tree li[data-v-b79ba271]:before{position:relative;top:-.3em;height:1em;width:12px;color:#fff;border-bottom:1px solid rgb(100,100,100);content:"";display:inline-block;left:-6px}.tree li[data-v-b79ba271]:last-child:before{border-left:1px solid rgb(100,100,100)}.otu-synonyms[data-v-91511d41]{list-style:none;border-left:1px solid rgb(100,100,100);padding-left:8px;padding-bottom:8px}.cached-map-icon{right:20px;top:20px;z-index:1098}[data-v-d0d71188] .disable-zoom-out .leaflet-control-zoom-out{display:none!important}.marker-icon,.marker-icon:focus{background-color:#fff;border:1px solid #3388ff;border-radius:50%;margin:-8px 0 0 -8px!important;width:14px!important;height:14px!important;outline:0;transition:opacity ease .3s}.marker-icon-middle,.marker-icon-middle:focus{opacity:.7;margin:-6px 0 0 -6px!important;width:10px!important;height:10px!important}.leaflet-pm-draggable{cursor:move!important}.cursor-marker{cursor:crosshair;pointer-events:none;opacity:0}.cursor-marker.visible{opacity:1!important}.leaflet-pm-invalid{stroke:red;transition:fill ease 0s,stroke ease 0s}.rect-style-marker,.rect-start-marker{opacity:0}.rect-style-marker.visible,.rect-start-marker.visible{opacity:1!important}.vertexmarker-disabled{opacity:.7}.pm-text-marker{width:0;height:0}.pm-textarea{background-color:#fff;color:#000;resize:none;border:none;outline:0;cursor:pointer;border-radius:3px;padding-left:7px;padding-bottom:0;padding-top:4px}.leaflet-pm-draggable .pm-textarea{cursor:move}.pm-textarea:focus,.pm-textarea:focus-within,.pm-textarea:focus-visible,.pm-textarea:active{border:2px solid #000;outline:0}.pm-textarea.pm-disabled{border:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pm-textarea.pm-hasfocus{cursor:auto}.leaflet-pm-toolbar .leaflet-buttons-control-button{padding:5px;box-sizing:border-box;position:relative;z-index:3}.leaflet-pm-toolbar .leaflet-pm-actions-container a.leaflet-pm-action:first-child:not(.pos-right),.leaflet-pm-toolbar .leaflet-pm-actions-container a.leaflet-pm-action:last-child.pos-right{border-radius:0}.leaflet-pm-toolbar .button-container a.leaflet-buttons-control-button{border-radius:0}.leaflet-pm-toolbar .button-container:last-child a.leaflet-buttons-control-button{border-radius:0 0 2px 2px}.leaflet-pm-toolbar .button-container:first-child a.leaflet-buttons-control-button{border-radius:2px 2px 0 0}.leaflet-pm-toolbar .button-container:last-child a.leaflet-buttons-control-button{border-bottom:none}.leaflet-pm-toolbar .control-fa-icon{font-size:19px;line-height:24px}.leaflet-pm-toolbar .control-icon{width:100%;height:100%;box-sizing:border-box;background-size:contain;background-repeat:no-repeat;background-position:center center}.leaflet-pm-toolbar .leaflet-pm-icon-marker{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9NYXJrZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMTUuNSwyNC44NzgyOTU5IEMxNS4yOTA5MjAxLDI0Ljg3NzIyMTkgMTUuMTc0NDg1NywyNC44NDY3ODE3IDE0LjY1OTA4NjYsMjQuMjM1NDE2MyBDMTAuMjE5Njk1NSwxOS40MTE4MDU0IDgsMTUuNTAxNDM5MiA4LDEyLjUwNDMxNzcgQzgsOC4zNTk3OTc0NiAxMS4zNTc4NjQ0LDUgMTUuNSw1IEMxOS42NDIxMzU2LDUgMjMsOC4zNTk3OTc0NiAyMywxMi41MDQzMTc3IEMyMywxNyAxOC4yODc4MjE3LDIxLjkyNjgzNzggMTYuMzMzNjYwMSwyNC4yNDQwMTg2IEMxNS44MjI0NjIyLDI0Ljg1MDE4MDIgMTUuNzA5MDc5OSwyNC44NzkzNjk5IDE1LjUsMjQuODc4Mjk1OSBaIE0xNS41LDE1LjUzMjY5NDggQzE3LjI3NTIwMSwxNS41MzI2OTQ4IDE4LjcxNDI4NTcsMTQuMTE4MDAwNCAxOC43MTQyODU3LDEyLjM3Mjg4NjQgQzE4LjcxNDI4NTcsMTAuNjI3NzcyMyAxNy4yNzUyMDEsOS4yMTMwNzc5MiAxNS41LDkuMjEzMDc3OTIgQzEzLjcyNDc5OSw5LjIxMzA3NzkyIDEyLjI4NTcxNDMsMTAuNjI3NzcyMyAxMi4yODU3MTQzLDEyLjM3Mjg4NjQgQzEyLjI4NTcxNDMsMTQuMTE4MDAwNCAxMy43MjQ3OTksMTUuNTMyNjk0OCAxNS41LDE1LjUzMjY5NDggWiIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9IlN5bWJvbHMiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJBdG9tcy9JY29ucy9Ub29scy9NYXJrZXIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zLjAwMDAwMCwgLTMuMDAwMDAwKSI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iTWFzayIgZmlsbD0iIzVCNUI1QiIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.leaflet-pm-toolbar .leaflet-pm-icon-polygon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0icG9seWdvbi1hIiBkPSJNMTkuNDIwNjg5Miw5LjE2NTA5NzI1IEMxOS4xNTIzNjgxLDguNjY5OTI5MTQgMTksOC4xMDI3NTgzMSAxOSw3LjUgQzE5LDUuNTY3MDAzMzggMjAuNTY3MDAzNCw0IDIyLjUsNCBDMjQuNDMyOTk2Niw0IDI2LDUuNTY3MDAzMzggMjYsNy41IEMyNiw5LjI2MzIzNTk1IDI0LjY5NjE0NzEsMTAuNzIxOTQwNyAyMywxMC45NjQ1NTU2IEwyMywxOS4wMzU0NDQ0IEMyNC42OTYxNDcxLDE5LjI3ODA1OTMgMjYsMjAuNzM2NzY0IDI2LDIyLjUgQzI2LDI0LjQzMjk5NjYgMjQuNDMyOTk2NiwyNiAyMi41LDI2IEMyMC43MzY3NjQsMjYgMTkuMjc4MDU5MywyNC42OTYxNDcxIDE5LjAzNTQ0NDQsMjMgTDEwLjk2NDU1NTYsMjMgQzEwLjcyMTk0MDcsMjQuNjk2MTQ3MSA5LjI2MzIzNTk1LDI2IDcuNSwyNiBDNS41NjcwMDMzOCwyNiA0LDI0LjQzMjk5NjYgNCwyMi41IEM0LDIwLjU2NzAwMzQgNS41NjcwMDMzOCwxOSA3LjUsMTkgQzguMTAyNzU4MzEsMTkgOC42Njk5MjkxNCwxOS4xNTIzNjgxIDkuMTY1MDk3MjUsMTkuNDIwNjg5MiBMMTkuNDIwNjg5Miw5LjE2NTA5NzI1IFogTTIwLjgzNDkwNzMsMTAuNTc5MzA2MyBMMTAuNTc5MzEwOCwyMC44MzQ5MDI3IEMxMC42MDg2NzMxLDIwLjg4OTA4ODggMTAuNjM2NjQ2OSwyMC45NDQxMzcyIDEwLjY2MzE4NDQsMjEgTDE5LjMzNjgxNTYsMjEgQzE5LjY4MjU3NzUsMjAuMjcyMTU0IDIwLjI3MjE1NCwxOS42ODI1Nzc1IDIxLDE5LjMzNjgxNTYgTDIxLDEwLjY2MzE4NDQgQzIwLjk0NDEzNzIsMTAuNjM2NjQ2OSAyMC44ODkwODg4LDEwLjYwODY3MzEgMjAuODM0OTAyNywxMC41NzkzMTA4IFogTTIyLjUsOSBDMjMuMzI4NDI3MSw5IDI0LDguMzI4NDI3MTIgMjQsNy41IEMyNCw2LjY3MTU3Mjg4IDIzLjMyODQyNzEsNiAyMi41LDYgQzIxLjY3MTU3MjksNiAyMSw2LjY3MTU3Mjg4IDIxLDcuNSBDMjEsOC4zMjg0MjcxMiAyMS42NzE1NzI5LDkgMjIuNSw5IFogTTIyLjUsMjQgQzIzLjMyODQyNzEsMjQgMjQsMjMuMzI4NDI3MSAyNCwyMi41IEMyNCwyMS42NzE1NzI5IDIzLjMyODQyNzEsMjEgMjIuNSwyMSBDMjEuNjcxNTcyOSwyMSAyMSwyMS42NzE1NzI5IDIxLDIyLjUgQzIxLDIzLjMyODQyNzEgMjEuNjcxNTcyOSwyNCAyMi41LDI0IFogTTcuNSwyNCBDOC4zMjg0MjcxMiwyNCA5LDIzLjMyODQyNzEgOSwyMi41IEM5LDIxLjY3MTU3MjkgOC4zMjg0MjcxMiwyMSA3LjUsMjEgQzYuNjcxNTcyODgsMjEgNiwyMS42NzE1NzI5IDYsMjIuNSBDNiwyMy4zMjg0MjcxIDYuNjcxNTcyODgsMjQgNy41LDI0IFoiLz4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMykiPgogICAgPG1hc2sgaWQ9InBvbHlnb24tYiIgZmlsbD0iI2ZmZiI+CiAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BvbHlnb24tYSIvPgogICAgPC9tYXNrPgogICAgPHVzZSBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNwb2x5Z29uLWEiLz4KICAgIDxnIGZpbGw9IiM1QjVCNUIiIG1hc2s9InVybCgjcG9seWdvbi1iKSI+CiAgICAgIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==)}.leaflet-pm-toolbar .leaflet-pm-icon-polyline{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0ibGluZS1hIiBkPSJNOS4xNjUwOTcyNSwxOS40MjA2ODkyIEwxOC40MjA2ODkyLDEwLjE2NTA5NzMgQzE4LjE1MjM2ODEsOS42Njk5MjkxNCAxOCw5LjEwMjc1ODMxIDE4LDguNSBDMTgsNi41NjcwMDMzOCAxOS41NjcwMDM0LDUgMjEuNSw1IEMyMy40MzI5OTY2LDUgMjUsNi41NjcwMDMzOCAyNSw4LjUgQzI1LDEwLjQzMjk5NjYgMjMuNDMyOTk2NiwxMiAyMS41LDEyIEMyMC44OTcyNDE3LDEyIDIwLjMzMDA3MDksMTEuODQ3NjMxOSAxOS44MzQ5MDI3LDExLjU3OTMxMDggTDEwLjU3OTMxMDgsMjAuODM0OTAyNyBDMTAuODQ3NjMxOSwyMS4zMzAwNzA5IDExLDIxLjg5NzI0MTcgMTEsMjIuNSBDMTEsMjQuNDMyOTk2NiA5LjQzMjk5NjYyLDI2IDcuNSwyNiBDNS41NjcwMDMzOCwyNiA0LDI0LjQzMjk5NjYgNCwyMi41IEM0LDIwLjU2NzAwMzQgNS41NjcwMDMzOCwxOSA3LjUsMTkgQzguMTAyNzU4MzEsMTkgOC42Njk5MjkxNCwxOS4xNTIzNjgxIDkuMTY1MDk3MjUsMTkuNDIwNjg5MiBaIE0yMS41LDEwIEMyMi4zMjg0MjcxLDEwIDIzLDkuMzI4NDI3MTIgMjMsOC41IEMyMyw3LjY3MTU3Mjg4IDIyLjMyODQyNzEsNyAyMS41LDcgQzIwLjY3MTU3MjksNyAyMCw3LjY3MTU3Mjg4IDIwLDguNSBDMjAsOS4zMjg0MjcxMiAyMC42NzE1NzI5LDEwIDIxLjUsMTAgWiBNNy41LDI0IEM4LjMyODQyNzEyLDI0IDksMjMuMzI4NDI3MSA5LDIyLjUgQzksMjEuNjcxNTcyOSA4LjMyODQyNzEyLDIxIDcuNSwyMSBDNi42NzE1NzI4OCwyMSA2LDIxLjY3MTU3MjkgNiwyMi41IEM2LDIzLjMyODQyNzEgNi42NzE1NzI4OCwyNCA3LjUsMjQgWiIvPgogIDwvZGVmcz4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zIC0zKSI+CiAgICA8bWFzayBpZD0ibGluZS1iIiBmaWxsPSIjZmZmIj4KICAgICAgPHVzZSB4bGluazpocmVmPSIjbGluZS1hIi8+CiAgICA8L21hc2s+CiAgICA8dXNlIGZpbGw9IiM1QjVCNUIiIGZpbGwtcnVsZT0ibm9uemVybyIgeGxpbms6aHJlZj0iI2xpbmUtYSIvPgogICAgPGcgZmlsbD0iIzVCNUI1QiIgbWFzaz0idXJsKCNsaW5lLWIpIj4KICAgICAgPHJlY3Qgd2lkdGg9IjMwIiBoZWlnaHQ9IjMwIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K)}.leaflet-pm-toolbar .leaflet-pm-icon-circle{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9DaXJjbGU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMTguMjg5Nzc1MSw2Ljc4NjAyMjc1IEMxOC44OTI0MTMxLDYuMjk0NjQ5ODEgMTkuNjYxNzk3LDYgMjAuNSw2IEMyMi40MzI5OTY2LDYgMjQsNy41NjcwMDMzOCAyNCw5LjUgQzI0LDEwLjMzODIwMyAyMy43MDUzNTAyLDExLjEwNzU4NjkgMjMuMjEzOTc3MiwxMS43MTAyMjQ5IEMyMy43MTk1OTksMTIuODcxMjA1MyAyNCwxNC4xNTI4NTcxIDI0LDE1LjUgQzI0LDIwLjc0NjcwNTEgMTkuNzQ2NzA1MSwyNSAxNC41LDI1IEM5LjI1MzI5NDg4LDI1IDUsMjAuNzQ2NzA1MSA1LDE1LjUgQzUsMTAuMjUzMjk0OSA5LjI1MzI5NDg4LDYgMTQuNSw2IEMxNS44NDcxNDI5LDYgMTcuMTI4Nzk0Nyw2LjI4MDQwMDk4IDE4LjI4OTc3NTEsNi43ODYwMjI3NSBaIE0xNy4xNTA0MjI4LDguNDgxNzU4NiBDMTYuMzI2MzU4MSw4LjE3MDM5MjM2IDE1LjQzMzA3NzcsOCAxNC41LDggQzEwLjM1Nzg2NDQsOCA3LDExLjM1Nzg2NDQgNywxNS41IEM3LDE5LjY0MjEzNTYgMTAuMzU3ODY0NCwyMyAxNC41LDIzIEMxOC42NDIxMzU2LDIzIDIyLDE5LjY0MjEzNTYgMjIsMTUuNSBDMjIsMTQuNTY2OTIyMyAyMS44Mjk2MDc2LDEzLjY3MzY0MTkgMjEuNTE4MjQxNCwxMi44NDk1NzcyIEMyMS4xOTYwMzgzLDEyLjk0NzM5NjggMjAuODU0MTYyMiwxMyAyMC41LDEzIEMxOC41NjcwMDM0LDEzIDE3LDExLjQzMjk5NjYgMTcsOS41IEMxNyw5LjE0NTgzNzc4IDE3LjA1MjYwMzIsOC44MDM5NjE2OSAxNy4xNTA0MjI4LDguNDgxNzU4NiBaIE0xNC41LDE3IEMxMy42NzE1NzI5LDE3IDEzLDE2LjMyODQyNzEgMTMsMTUuNSBDMTMsMTQuNjcxNTcyOSAxMy42NzE1NzI5LDE0IDE0LjUsMTQgQzE1LjMyODQyNzEsMTQgMTYsMTQuNjcxNTcyOSAxNiwxNS41IEMxNiwxNi4zMjg0MjcxIDE1LjMyODQyNzEsMTcgMTQuNSwxNyBaIE0yMC41LDExIEMyMS4zMjg0MjcxLDExIDIyLDEwLjMyODQyNzEgMjIsOS41IEMyMiw4LjY3MTU3Mjg4IDIxLjMyODQyNzEsOCAyMC41LDggQzE5LjY3MTU3MjksOCAxOSw4LjY3MTU3Mjg4IDE5LDkuNSBDMTksMTAuMzI4NDI3MSAxOS42NzE1NzI5LDExIDIwLjUsMTEgWiIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9IlN5bWJvbHMiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJBdG9tcy9JY29ucy9Ub29scy9DaXJjbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zLjAwMDAwMCwgLTMuMDAwMDAwKSI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iTWFzayIgZmlsbD0iIzVCNUI1QiIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICAgICAgPGcgaWQ9IkF0b21zL0NvbG9yL0dyZXkiIG1hc2s9InVybCgjbWFzay0yKSIgZmlsbD0iIzVCNUI1QiI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMzAiIGhlaWdodD0iMzAiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.leaflet-pm-toolbar .leaflet-pm-icon-circle-marker{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KCjxzdmcgdmlld0JveD0iMCAwIDEwMCAxMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjNUI1QjVCIiBzdHJva2Utd2lkdGg9IjgiCiAgICAgZmlsbD0ibm9uZSI+CjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjM1Ii8+CiAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMyIgZmlsbD0iIzVCNUI1QiIvPgo8L3N2Zz4=)}.leaflet-pm-toolbar .leaflet-pm-icon-rectangle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0icmVjdGFuZ2xlLWEiIGQ9Ik0yMywxMC45NjQ1NTU2IEwyMywxOS4wMzU0NDQ0IEMyNC42OTYxNDcxLDE5LjI3ODA1OTMgMjYsMjAuNzM2NzY0IDI2LDIyLjUgQzI2LDI0LjQzMjk5NjYgMjQuNDMyOTk2NiwyNiAyMi41LDI2IEMyMC43MzY3NjQsMjYgMTkuMjc4MDU5MywyNC42OTYxNDcxIDE5LjAzNTQ0NDQsMjMgTDEwLjk2NDU1NTYsMjMgQzEwLjcyMTk0MDcsMjQuNjk2MTQ3MSA5LjI2MzIzNTk1LDI2IDcuNSwyNiBDNS41NjcwMDMzOCwyNiA0LDI0LjQzMjk5NjYgNCwyMi41IEM0LDIwLjczNjc2NCA1LjMwMzg1MjkzLDE5LjI3ODA1OTMgNywxOS4wMzU0NDQ0IEw3LDEwLjk2NDU1NTYgQzUuMzAzODUyOTMsMTAuNzIxOTQwNyA0LDkuMjYzMjM1OTUgNCw3LjUgQzQsNS41NjcwMDMzOCA1LjU2NzAwMzM4LDQgNy41LDQgQzkuMjYzMjM1OTUsNCAxMC43MjE5NDA3LDUuMzAzODUyOTMgMTAuOTY0NTU1Niw3IEwxOS4wMzU0NDQ0LDcgQzE5LjI3ODA1OTMsNS4zMDM4NTI5MyAyMC43MzY3NjQsNCAyMi41LDQgQzI0LjQzMjk5NjYsNCAyNiw1LjU2NzAwMzM4IDI2LDcuNSBDMjYsOS4yNjMyMzU5NSAyNC42OTYxNDcxLDEwLjcyMTk0MDcgMjMsMTAuOTY0NTU1NiBaIE0yMSwxMC42NjMxODQ0IEMyMC4yNzIxNTQsMTAuMzE3NDIyNSAxOS42ODI1Nzc1LDkuNzI3ODQ1OTggMTkuMzM2ODE1Niw5IEwxMC42NjMxODQ0LDkgQzEwLjMxNzQyMjUsOS43Mjc4NDU5OCA5LjcyNzg0NTk4LDEwLjMxNzQyMjUgOSwxMC42NjMxODQ0IEw5LDE5LjMzNjgxNTYgQzkuNzI3ODQ1OTgsMTkuNjgyNTc3NSAxMC4zMTc0MjI1LDIwLjI3MjE1NCAxMC42NjMxODQ0LDIxIEwxOS4zMzY4MTU2LDIxIEMxOS42ODI1Nzc1LDIwLjI3MjE1NCAyMC4yNzIxNTQsMTkuNjgyNTc3NSAyMSwxOS4zMzY4MTU2IEwyMSwxMC42NjMxODQ0IFogTTcuNSw5IEM4LjMyODQyNzEyLDkgOSw4LjMyODQyNzEyIDksNy41IEM5LDYuNjcxNTcyODggOC4zMjg0MjcxMiw2IDcuNSw2IEM2LjY3MTU3Mjg4LDYgNiw2LjY3MTU3Mjg4IDYsNy41IEM2LDguMzI4NDI3MTIgNi42NzE1NzI4OCw5IDcuNSw5IFogTTIyLjUsOSBDMjMuMzI4NDI3MSw5IDI0LDguMzI4NDI3MTIgMjQsNy41IEMyNCw2LjY3MTU3Mjg4IDIzLjMyODQyNzEsNiAyMi41LDYgQzIxLjY3MTU3MjksNiAyMSw2LjY3MTU3Mjg4IDIxLDcuNSBDMjEsOC4zMjg0MjcxMiAyMS42NzE1NzI5LDkgMjIuNSw5IFogTTIyLjUsMjQgQzIzLjMyODQyNzEsMjQgMjQsMjMuMzI4NDI3MSAyNCwyMi41IEMyNCwyMS42NzE1NzI5IDIzLjMyODQyNzEsMjEgMjIuNSwyMSBDMjEuNjcxNTcyOSwyMSAyMSwyMS42NzE1NzI5IDIxLDIyLjUgQzIxLDIzLjMyODQyNzEgMjEuNjcxNTcyOSwyNCAyMi41LDI0IFogTTcuNSwyNCBDOC4zMjg0MjcxMiwyNCA5LDIzLjMyODQyNzEgOSwyMi41IEM5LDIxLjY3MTU3MjkgOC4zMjg0MjcxMiwyMSA3LjUsMjEgQzYuNjcxNTcyODgsMjEgNiwyMS42NzE1NzI5IDYsMjIuNSBDNiwyMy4zMjg0MjcxIDYuNjcxNTcyODgsMjQgNy41LDI0IFoiLz4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMykiPgogICAgPG1hc2sgaWQ9InJlY3RhbmdsZS1iIiBmaWxsPSIjZmZmIj4KICAgICAgPHVzZSB4bGluazpocmVmPSIjcmVjdGFuZ2xlLWEiLz4KICAgIDwvbWFzaz4KICAgIDx1c2UgZmlsbD0iIzVCNUI1QiIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcmVjdGFuZ2xlLWEiLz4KICAgIDxnIGZpbGw9IiM1QjVCNUIiIG1hc2s9InVybCgjcmVjdGFuZ2xlLWIpIj4KICAgICAgPHJlY3Qgd2lkdGg9IjMwIiBoZWlnaHQ9IjMwIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K)}.leaflet-pm-toolbar .leaflet-pm-icon-delete{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9FcmFzZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMTcuNzg3NDIxOSwxOC40ODEyNTUyIEwxMS42NDgwMDc5LDEzLjM0OTgxODQgTDYuNDA0NjYwMDksMTkuMzgxNjAwMSBMMTAuNTUzOTE1NiwyMi45ODg0OTI5IEwxMy44NjkzNCwyMi45ODg0OTI5IEwxNy43ODc0MjE5LDE4LjQ4MTI1NTIgWiBNMTYuNTA3NDI1MiwyMi45ODg0OTI5IEwyNi4wMDAwMDAyLDIyLjk4ODQ5MjkgTDI2LjAwMDAwMDIsMjQuOTg4NDkyOSBMMTAuMDAwMDAwMiwyNC45ODg0OTI5IEw5LjgwNzA4MzEzLDI0Ljk4ODQ5MjkgTDUuMDkyNTQyMDQsMjAuODkxMDE5MiBDNC4yNTg5MTI4NSwyMC4xNjYzNTY0IDQuMTcwNTc4MTQsMTguOTAzMTExMiA0Ljg5NTI0MDkzLDE4LjA2OTQ4MiBMMTYuMDQ4MjQ0NCw1LjIzOTQxOTE2IEMxNi43NzI5MDcyLDQuNDA1Nzg5OTggMTguMDM2MTUyNSw0LjMxNzQ1NTI2IDE4Ljg2OTc4MTYsNS4wNDIxMTgwNiBMMjQuOTA3NDU4MywxMC4yOTA1OTAzIEMyNS43NDEwODc1LDExLjAxNTI1MzEgMjUuODI5NDIyMiwxMi4yNzg0OTgzIDI1LjEwNDc1OTQsMTMuMTEyMTI3NSBMMTYuNTA3NDI1MiwyMi45ODg0OTI5IFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJTeW1ib2xzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iQXRvbXMvSWNvbnMvVG9vbHMvRXJhc2VyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMy4wMDAwMDAsIC0zLjAwMDAwMCkiPgogICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDx1c2UgaWQ9IkNvbWJpbmVkLVNoYXBlIiBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.leaflet-pm-toolbar .leaflet-pm-icon-edit{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0iZWRpdF9hbmNob3ItYSIgZD0iTTEzLjUsMTEgQzExLjU2NzAwMzQsMTEgMTAsOS40MzI5OTY2MiAxMCw3LjUgQzEwLDUuNTY3MDAzMzggMTEuNTY3MDAzNCw0IDEzLjUsNCBDMTUuNDMyOTk2Niw0IDE3LDUuNTY3MDAzMzggMTcsNy41IEMxNyw5LjQzMjk5NjYyIDE1LjQzMjk5NjYsMTEgMTMuNSwxMSBaIE0xMy41LDkgQzE0LjMyODQyNzEsOSAxNSw4LjMyODQyNzEyIDE1LDcuNSBDMTUsNi42NzE1NzI4OCAxNC4zMjg0MjcxLDYgMTMuNSw2IEMxMi42NzE1NzI5LDYgMTIsNi42NzE1NzI4OCAxMiw3LjUgQzEyLDguMzI4NDI3MTIgMTIuNjcxNTcyOSw5IDEzLjUsOSBaIE0xMi4wMDAyODg5LDcuNTI5NzM4OTMgQzEyLjAxMjU5ODMsOC4xNjI3MzY3MiAxMi40MTcwMTk3LDguNjk5NjY0MyAxMi45ODA3MTExLDguOTA3Njc5NjYgTDMsMTUgTDMsMTMgTDEyLjAwMDI4ODksNy41Mjk3Mzg5MyBaIE0xNC4yMTcyNzIyLDYuMTgyMjg0NzIgTDE5LjQ1MzEyNSwzIEwyMi42NTg5MzU1LDMgTDE0Ljk4OTEwMiw3LjY4MTczODg1IEMxNC45OTYyOTcxLDcuNjIyMTY0NTkgMTUsNy41NjE1MTQ3MiAxNSw3LjUgQzE1LDYuOTMxMzgzODEgMTQuNjgzNjA5OCw2LjQzNjY2NDUgMTQuMjE3MjcyMiw2LjE4MjI4NDcyIFogTTIzLjQ0MzQwNDIsMTkuMjg1MTczNiBMMjAuMTI4Mjc5OSwxOS4yODUxNzM2IEwyMS44NzI5OTgzLDIzLjUzNDk1MjUgQzIxLjk5NDUyOTYsMjMuODI5NTc3MyAyMS44NTU2NTQ2LDI0LjE1OTkyMDkgMjEuNTc3ODczNCwyNC4yODQ5MjA4IEwyMC4wNDE0Njc1LDI0Ljk1NDUxNDIgQzE5Ljc1NTA2MTMsMjUuMDc5NTE0MSAxOS40MzM4NzM4LDI0LjkzNjY3MDQgMTkuMzEyMzQyNiwyNC42NTA5NTE4IEwxNy42NTQ0MzY3LDIwLjYxNTQ1NDEgTDE0Ljk0NjE4NzMsMjMuNDAxMDE1MSBDMTQuNTg1MjgxMSwyMy43NzIxNzExIDE0LDIzLjQ4NjA0NjMgMTQsMjIuOTk5MjY1MyBMMTQsOS41NzE4MzUzMyBDMTQsOS4wNTkzMzU2MSAxNC42MjI1MzExLDguODA5NDkyIDE0Ljk0NjE1Niw5LjE3MDA4NTU1IEwyMy44MzQwMjkyLDE4LjMxMjAxNzkgQzI0LjE5MjUyOTEsMTguNjYxMzYxNSAyMy45Mjc5OTc5LDE5LjI4NTE3MzYgMjMuNDQzNDA0MiwxOS4yODUxNzM2IFoiLz4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMykiPgogICAgPG1hc2sgaWQ9ImVkaXRfYW5jaG9yLWIiIGZpbGw9IiNmZmYiPgogICAgICA8dXNlIHhsaW5rOmhyZWY9IiNlZGl0X2FuY2hvci1hIi8+CiAgICA8L21hc2s+CiAgICA8dXNlIGZpbGw9IiM1QjVCNUIiIGZpbGwtcnVsZT0ibm9uemVybyIgeGxpbms6aHJlZj0iI2VkaXRfYW5jaG9yLWEiLz4KICAgIDxnIGZpbGw9IiM1QjVCNUIiIG1hc2s9InVybCgjZWRpdF9hbmNob3ItYikiPgogICAgICA8cmVjdCB3aWR0aD0iMzAiIGhlaWdodD0iMzAiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=)}.leaflet-pm-toolbar .leaflet-pm-icon-drag{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0ibW92ZS1hIiBkPSJNMjEsMTQgTDIxLDEwIEwyNywxNSBMMjEsMjAgTDIxLDE2IEwxNiwxNiBMMTYsMjEgTDIwLDIxIEwxNSwyNyBMMTAsMjEgTDE0LDIxIEwxNCwxNiBMOSwxNiBMOSwyMCBMMywxNSBMOSwxMCBMOSwxNCBMMTQsMTQgTDE0LDkgTDEwLDkgTDE1LDMgTDIwLDkgTDE2LDkgTDE2LDE0IEwyMSwxNCBaIi8+CiAgPC9kZWZzPgogIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMgLTMpIj4KICAgIDxtYXNrIGlkPSJtb3ZlLWIiIGZpbGw9IiNmZmYiPgogICAgICA8dXNlIHhsaW5rOmhyZWY9IiNtb3ZlLWEiLz4KICAgIDwvbWFzaz4KICAgIDx1c2UgZmlsbD0iI0Q4RDhEOCIgeGxpbms6aHJlZj0iI21vdmUtYSIvPgogICAgPGcgZmlsbD0iIzVCNUI1QiIgbWFzaz0idXJsKCNtb3ZlLWIpIj4KICAgICAgPHJlY3Qgd2lkdGg9IjMwIiBoZWlnaHQ9IjMwIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K)}.leaflet-pm-toolbar .leaflet-pm-icon-cut{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9TY2lzc29yczwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPgogICAgICAgIDxwYXRoIGQ9Ik0xMi45NjkxNTc0LDEzLjQ5Mzk0MzUgTDIxLjAzMTcwMzIsNS41NDE2NzAxMyBMMjMuNDY0OTQ5OSw1LjY3NzIyOTU3IEwxNy4wNDcwNzEzLDE0LjUxMDY4MTYgTDI3LjU2NjAzMzYsMTcuMTMzMzUzNSBMMjUuNzg5MTk0NCwxOC44MDEyNTg4IEwxNC41ODU0OTUxLDE3Ljg5ODc1MDYgTDEzLjY0ODc5NTUsMTkuMTg4MDA3IEMxMy43OTQ2MzksMTkuMjY1MDk1OCAxMy45MzY3OTg1LDE5LjM1MzQ0MTcgMTQuMDc0MTM3NywxOS40NTMyMjQ1IEMxNS42Mzc5NjQ4LDIwLjU4OTQxMTQgMTUuOTg0NjM1NywyMi43NzgyMDUyIDE0Ljg0ODQ0ODgsMjQuMzQyMDMyNCBDMTMuNzEyMjYxOSwyNS45MDU4NTk1IDExLjUyMzQ2ODEsMjYuMjUyNTMwNCA5Ljk1OTY0MDk2LDI1LjExNjM0MzUgQzguMzk1ODEzODQsMjMuOTgwMTU2NSA4LjA0OTE0Mjk2LDIxLjc5MTM2MjcgOS4xODUzMjk4NiwyMC4yMjc1MzU2IEM5Ljc0NTg3Mjc2LDE5LjQ1NjAxNDUgMTAuNTYyNjE4OCwxOC45ODA3NDc1IDExLjQzNDEyMTgsMTguODMzNjQwNyBMMTIuNjgwNTY1NiwxNy4xMTgwNTc5IEwxMi41MjM5NzI0LDE2LjM3NDcyMTYgTDExLjk1MDY5MzIsMTUuMzAxMjM5MSBMOS44OTMxMDY0NiwxNC43ODgyMjUxIEM5LjEzMDkzNzk2LDE1LjIzNTcyNjEgOC4xOTk3Nzg1NCwxNS4zOTY2NDQ3IDcuMjc0NDUzNTUsMTUuMTY1OTM1MiBDNS4zOTg4NzUxOSwxNC42OTgzMDEgNC4yNTc1MTA5NCwxMi43OTg3NTE5IDQuNzI1MTQ1MTUsMTAuOTIzMTczNiBDNS4xOTI3NzkzNSw5LjA0NzU5NTE5IDcuMDkyMzI4NDYsNy45MDYyMzA5NCA4Ljk2NzkwNjgyLDguMzczODY1MTUgQzEwLjg0MzQ4NTIsOC44NDE0OTkzNSAxMS45ODQ4NDk0LDEwLjc0MTA0ODUgMTEuNTE3MjE1MiwxMi42MTY2MjY4IEMxMS40NzYxNDY0LDEyLjc4MTM0NDkgMTEuNDI0MDMzNSwxMi45NDA0MDAxIDExLjM2MTg2MjcsMTMuMDkzMTk5OSBMMTIuOTY5MTU3NCwxMy40OTM5NDM1IFogTTcuNzU4Mjk3MzUsMTMuMjI1MzQzOCBDOC41NjIxMTY2NCwxMy40MjU3NTg0IDkuMzc2MjA5MTIsMTIuOTM2NjAyMyA5LjU3NjYyMzc4LDEyLjEzMjc4MyBDOS43NzcwMzg0NCwxMS4zMjg5NjM3IDkuMjg3ODgyMzMsMTAuNTE0ODcxMyA4LjQ4NDA2MzAzLDEwLjMxNDQ1NjYgQzcuNjgwMjQzNzMsMTAuMTE0MDQxOSA2Ljg2NjE1MTI2LDEwLjYwMzE5OCA2LjY2NTczNjYsMTEuNDA3MDE3MyBDNi40NjUzMjE5NCwxMi4yMTA4MzY2IDYuOTU0NDc4MDUsMTMuMDI0OTI5MSA3Ljc1ODI5NzM1LDEzLjIyNTM0MzggWiBNMTAuODAzMzYzOSwyMS40MDMxMDYxIEMxMC4zMTY0MjY2LDIyLjA3MzMxNzcgMTAuNDY0OTk5OCwyMy4wMTEzNzIyIDExLjEzNTIxMTUsMjMuNDk4MzA5NSBDMTEuODA1NDIzMSwyMy45ODUyNDY3IDEyLjc0MzQ3NzYsMjMuODM2NjczNSAxMy4yMzA0MTQ4LDIzLjE2NjQ2MTkgQzEzLjcxNzM1MjEsMjIuNDk2MjUwMiAxMy41Njg3Nzg4LDIxLjU1ODE5NTcgMTIuODk4NTY3MiwyMS4wNzEyNTg1IEMxMi4yMjgzNTU2LDIwLjU4NDMyMTIgMTEuMjkwMzAxMSwyMC43MzI4OTQ1IDEwLjgwMzM2MzksMjEuNDAzMTA2MSBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iU3ltYm9scyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkF0b21zL0ljb25zL1Rvb2xzL1NjaXNzb3JzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMy4wMDAwMDAsIC0zLjAwMDAwMCkiPgogICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDx1c2UgaWQ9Ik1hc2siIGZpbGw9IiM1QjVCNUIiIGZpbGwtcnVsZT0ibm9uemVybyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYuMDkzMTk0LCAxNS42NjMzNTEpIHJvdGF0ZSgtMzIuMDAwMDAwKSB0cmFuc2xhdGUoLTE2LjA5MzE5NCwgLTE1LjY2MzM1MSkgIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.leaflet-pm-toolbar .leaflet-pm-icon-snapping{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDU3LjEgKDgzMDg4KSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9NYWduZXQ8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMjEuOTk5NDc1OSwxMC45NDI4MTgzIEwyMS45OTk5OTg1LDE2LjM3MTA0MTcgQzIyLDE2LjY4NzIwMDcgMjIsMTcuMDA1ODI3OCAyMiwxNy4zMjY5NDExIEMyMiwyMS41NjQ2NTQ1IDE4LjY0MjEzNTYsMjUgMTQuNSwyNSBDMTAuMzU3ODY0NCwyNSA3LDIxLjU2NDY1NDUgNywxNy4zMjY5NDExIEw3LjAwMDg3NTA4LDEwLjk5MDc1MDcgTDExLjAwMjI4MDgsMTAuOTk4NDEyNSBDMTEuMDAxNzAzMywxMS42OTgwMTE0IDExLjAwMTI0NywxMi40MTY4MjQ4IDExLjAwMDg5OTIsMTMuMTU1NDg4NyBMMTEsMTcuMzI2OTQxMSBDMTEsMTkuMzc1NjgwOSAxMi41ODc2ODQxLDIxIDE0LjUsMjEgQzE2LjQxMjMxNTksMjEgMTgsMTkuMzc1NjgwOSAxOCwxNy4zMjY5NDExIEMxOCwxNS4wNzAyMDMyIDE3Ljk5OTU2OTYsMTIuOTYxOTY2OCAxNy45OTg1MzksMTAuOTkxMDAzMiBMMjEuOTk5NDc1OSwxMC45NDI4MTgzIFogTTEwLDcgQzEwLjU1MjI4NDcsNyAxMSw3LjQ0NzcxNTI1IDExLDggTDExLDEwIEw3LDEwIEw3LDggQzcsNy40NDc3MTUyNSA3LjQ0NzcxNTI1LDcgOCw3IEwxMCw3IFogTTIxLDcgQzIxLjU1MjI4NDcsNyAyMiw3LjQ0NzcxNTI1IDIyLDggTDIyLDEwIEwxOCwxMCBMMTgsOCBDMTgsNy40NDc3MTUyNSAxOC40NDc3MTUzLDcgMTksNyBMMjEsNyBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iU3ltYm9scyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkF0b21zL0ljb25zL1Rvb2xzL01hZ25ldCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMuMDAwMDAwLCAtMy4wMDAwMDApIj4KICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICA8dXNlIGlkPSJNYXNrIiBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0LjUwMDAwMCwgMTYuMDAwMDAwKSByb3RhdGUoNDUuMDAwMDAwKSB0cmFuc2xhdGUoLTE0LjUwMDAwMCwgLTE2LjAwMDAwMCkgIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.leaflet-pm-toolbar .leaflet-pm-icon-rotate{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icm90YXRlIiBkPSJNMjEuMiw1LjhjLTAuMS0wLjItMC4yLTAuMy0wLjMtMC41bC0wLjEtMC4yYy0wLjEtMC4yLTAuMi0wLjMtMC4zLTAuNWwtMC4xLTAuMmMtMC4xLTAuMi0wLjItMC4zLTAuNC0wLjVsLTAuMi0wLjNsMi44LTMuMUwxOCwwLjZsLTQuNiwwLjFsMC41LDQuNWwwLjUsNC41bDMuMi0zLjZ2MC4xbDAuMSwwLjJjMC4xLDAuMSwwLjEsMC4yLDAuMiwwLjJsMC4xLDAuMkMxOCw3LDE4LDcuMSwxOC4xLDcuMmMwLjMsMC43LDAuNiwxLjQsMC43LDIuMWMwLjIsMS40LDAsMi45LTAuNiw0LjJMMTgsMTMuOUwxNy45LDE0bC0wLjMsMC41bC0wLjEsMC4yYy0wLjIsMC4yLTAuNCwwLjUtMC42LDAuN2MtMC41LDAuNS0xLjEsMS0xLjcsMS4zYy0wLjYsMC40LTEuMywwLjYtMi4xLDAuOGMtMC43LDAuMS0xLjUsMC4yLTIuMiwwLjFjLTAuOC0wLjEtMS41LTAuMy0yLjItMC41Yy0wLjctMC4zLTEuMy0wLjctMS45LTEuMmwtMC40LTAuNGwtMC4yLTAuM0w2LDE1Yy0wLjEtMC4xLTAuMi0wLjItMC4yLTAuM2wtMC4zLTAuNGwtMC4xLTAuMWwtMC4yLTAuNGMwLTAuMS0wLjEtMC4xLTAuMS0wLjJsLTAuMy0wLjVsLTAuMS0wLjJjLTAuMS0wLjMtMC4yLTAuNi0wLjMtMC45Yy0wLjItMC44LTAuMy0xLjYtMC4zLTIuNGMwLTAuMiwwLTAuMywwLTAuNVY4LjljMC0wLjIsMC0wLjMsMC4xLTAuNGwwLjEtMC42bDAuMi0wLjZjMC4zLTAuOCwwLjctMS41LDEuMi0yLjJjMC41LTAuNywxLjEtMS4zLDEuOC0xLjhjMC4yLTAuMSwwLjMtMC40LDAuMS0wLjZDNy41LDIuNiw3LjQsMi41LDcuMywyLjVINy4xTDcsMi42QzYuMSwzLDUuNCwzLjYsNC43LDQuMkM0LDQuOSwzLjUsNS43LDMsNi42Yy0wLjksMS44LTEuMiwzLjgtMC44LDUuOGMwLjEsMC41LDAuMiwwLjksMC4zLDEuNGwwLjMsMC44QzIuOSwxNC43LDMsMTQuOCwzLDE1bDAuMiwwLjRjMCwwLjEsMC4xLDAuMiwwLjEsMC4ybDAuMywwLjVjMC4xLDAuMiwwLjIsMC4zLDAuMywwLjVsMC4xLDAuMmMwLjEsMC4xLDAuMiwwLjMsMC4zLDAuNEw1LDE3LjhjMC43LDAuNywxLjYsMS4zLDIuNSwxLjhjMC45LDAuNSwxLjksMC44LDMsMC45YzAuNSwwLjEsMSwwLjEsMS41LDAuMWMwLjYsMCwxLjEsMCwxLjYtMC4xYzEtMC4yLDIuMS0wLjUsMy0xbDAuMi0wLjFjMC4yLTAuMSwwLjMtMC4yLDAuNS0wLjNsMC43LTAuNGMwLjItMC4xLDAuMy0wLjIsMC40LTAuM2wwLjItMC4yYzAuMi0wLjEsMC40LTAuMywwLjUtMC41bDAuMS0wLjFjMC4zLTAuMywwLjctMC43LDAuOS0xbDAuNi0wLjlsMC40LTAuNmMxLTEuOSwxLjQtNC4xLDEuMS02LjJDMjIsNy44LDIxLjcsNi43LDIxLjIsNS44eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDIpIj4KICAgICAgICA8bWFzayBpZD0icm90YXRlLWIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNyb3RhdGUiLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPHVzZSBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNyb3RhdGUiLz4KICAgICAgICA8ZyBmaWxsPSIjNUI1QjVCIiBtYXNrPSJ1cmwoI3JvdGF0ZS1iKSI+CiAgICAgICAgICAgIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==)}.leaflet-pm-toolbar .leaflet-pm-icon-text{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOm5vbmU7c3Ryb2tlOiM1YjViNWI7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoyLjVweDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlRleHQ8L3RpdGxlPjxnIGlkPSJFYmVuZV8yIiBkYXRhLW5hbWU9IkViZW5lIDIiPjxwb2x5bGluZSBjbGFzcz0iY2xzLTEiIHBvaW50cz0iMTkuNjQgNy4yNyAxOS42NCA0IDEyIDQgMTIgMjAgMTUuOTEgMjAgOC4wOSAyMCAxMiAyMCAxMiA0IDQuMzYgNCA0LjM2IDcuMjciLz48L2c+PC9zdmc+)}.leaflet-buttons-control-button:hover,.leaflet-buttons-control-button:focus{cursor:pointer;background-color:#f4f4f4}.active>.leaflet-buttons-control-button{box-shadow:inset 0 -1px 5px 2px #514d4d4f}.leaflet-buttons-control-text-hide{display:none}.button-container{position:relative}.button-container .leaflet-pm-actions-container{z-index:2;position:absolute;top:0;left:100%;display:none;white-space:nowrap;direction:ltr}.leaflet-right .leaflet-pm-toolbar .button-container .leaflet-pm-actions-container{right:100%;left:auto}.button-container.active .leaflet-pm-actions-container{display:block}.button-container .leaflet-pm-actions-container:not(.pos-right) a.leaflet-pm-action:last-child{border-radius:0 3px 3px 0;border-right:0}.button-container .leaflet-pm-actions-container.pos-right a.leaflet-pm-action:first-child{border-radius:3px 0 0 3px}.button-container .leaflet-pm-actions-container.pos-right a.leaflet-pm-action:last-child{border-right:0}.button-container .leaflet-pm-actions-container .leaflet-pm-action{padding:0 10px;background-color:#666;color:#fff;display:inline-block;width:auto;border-right:1px solid #eee;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-bottom:none;height:29px;line-height:29px}.leaflet-pm-toolbar .button-container:first-child.pos-right.active a.leaflet-buttons-control-button{border-top-left-radius:0}.leaflet-pm-toolbar .button-container:first-child.active:not(.pos-right) a.leaflet-buttons-control-button{border-top-right-radius:0}.button-container .leaflet-pm-actions-container .leaflet-pm-action:hover,.button-container .leaflet-pm-actions-container .leaflet-pm-action:focus{cursor:pointer;background-color:#777}.leaflet-pm-toolbar.activeChild{z-index:801}.leaflet-buttons-control-button.pm-disabled{background-color:#f4f4f4}.leaflet-buttons-control-button.pm-disabled>.control-icon{filter:opacity(.6)}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}.autocomplete__list[data-v-c5caf34f]{display:none;padding:0}.autocomplete__item[data-v-c5caf34f]{margin:0}.autocomplete__input:focus~.autocomplete__list[data-v-c5caf34f]{display:block}.autocomplete__list[data-v-c5caf34f]:hover{display:block}.card{box-shadow:#1e293b0a 0 2px 4px;border:1px solid rgba(98,105,118,.16);transition:transform .3s ease-out,opacity .3s ease-out,box-shadow .3s ease-out}.fade-enter-active[data-v-6970dada],.fade-leave-active[data-v-6970dada]{transition:opacity 1s ease-in-out}.fade-enter-from[data-v-6970dada]{opacity:0}.fade-enter-to[data-v-6970dada]{opacity:1}.fade-enter[data-v-6970dada],.fade-leave-to[data-v-6970dada]{opacity:0}.tw-spinner[data-v-b688ef4b]{display:flex;margin:0 auto;height:auto;width:auto;align-items:center;justify-content:center}.fade-enter-active[data-v-b688ef4b],.fade-leave-active[data-v-b688ef4b]{transition:opacity .5s}.fade-enter[data-v-b688ef4b],.fade-leave-to[data-v-b688ef4b]{opacity:0}.tw-spinner-left[data-v-b688ef4b]{flex-direction:row}.tw-spinner-right[data-v-b688ef4b]{flex-direction:row-reverse}.tw-spinner-top[data-v-b688ef4b]{flex-direction:column}.tw-spinner-bottom[data-v-b688ef4b]{flex-direction:column-reverse}.box-spinner[data-v-b688ef4b]{z-index:4000}.tw-spinner[data-v-b688ef4b]{font-size:20px;overflow:hidden;width:100%;position:relative}.tw-spinner svg[data-v-b688ef4b]{display:block;position:relative;margin:0 auto}.tw-spinner #Tail[data-v-b688ef4b]{opacity:0;animation:tail-b688ef4b 2s ease infinite;fill:#41ba8d}.tw-spinner #LeftBottom[data-v-b688ef4b]{fill:#00845d;opacity:0;animation:spinner-b688ef4b 1s ease alternate infinite;animation-delay:0s}.tw-spinner #LeftMid[data-v-b688ef4b]{fill:#28221b;opacity:0;animation:spinner-b688ef4b 1s ease alternate infinite;animation-delay:.2s}.tw-spinner #LeftTop[data-v-b688ef4b]{fill:#342d25;opacity:0;animation:spinner-b688ef4b 1s ease alternate infinite;animation-delay:.4s}.tw-spinner #Head[data-v-b688ef4b]{fill:#342d25;opacity:0;animation:spinner-b688ef4b 1s ease alternate infinite;animation-delay:.6s}@keyframes spinner-b688ef4b{0%{opacity:0}30%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes tail-b688ef4b{0%{opacity:0}30%{opacity:1}50%{opacity:1}90%{opacity:0}to{opacity:0}} diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..7d93c1b --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + + +
+ + + + diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /