From 344f4e6561dd1eaf28dec4b2a19b135c78f28c9f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 22:39:30 +0000 Subject: [PATCH] Deploy to GitHub pages --- README.md | 1 + assets/about-6d282d44.js | 1 + assets/home-264da828.js | 1 + assets/index-26b6cd71.css | 1 + assets/index-cf71a81d.js | 43 ++++++++++++++++++++++++++++++++++++++ favicon.ico | Bin 0 -> 4286 bytes index.html | 21 +++++++++++++++++++ robots.txt | 2 ++ 8 files changed, 70 insertions(+) create mode 100644 README.md create mode 100644 assets/about-6d282d44.js create mode 100644 assets/home-264da828.js create mode 100644 assets/index-26b6cd71.css create mode 100644 assets/index-cf71a81d.js create mode 100644 favicon.ico create mode 100644 index.html create mode 100644 robots.txt 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-6d282d44.js b/assets/about-6d282d44.js new file mode 100644 index 0000000..33e02a9 --- /dev/null +++ b/assets/about-6d282d44.js @@ -0,0 +1 @@ +import{d,r as a,o as c,c as u,w as o,a as e,e as t,b as r}from"./index-cf71a81d.js";const h={class:"markdown-body"},p=e("h1",{id:"about",tabindex:"-1"},"About",-1),f=e("p",null,[e("em",null,"Building community around and gathering knowledge about the world’s stoneflies")],-1),g=e("h2",{id:"overview",tabindex:"-1"},"Overview",-1),m=e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks",-1),b=e("a",{href:"https://speciesfilegroup.org",rel:"noopener noreferrer",target:"_blank"},"Species File Group",-1),_=e("a",{href:"https://github.com/SpeciesFileGroup/taxonpages",rel:"noopener noreferrer",target:"_blank"},"learn more and get help",-1),y=e("h2",{id:"gaps-as-opportunity",tabindex:"-1"},"Gaps as Opportunity",-1),x=e("h2",{id:"history",tabindex:"-1"},"History",-1),w=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),v=e("h2",{id:"team",tabindex:"-1"},"Team",-1),S=e("h3",{id:"contribute-or-get-help",tabindex:"-1"},"Contribute or get help",-1),C=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),T=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),I=e("h3",{id:"contributors",tabindex:"-1"},"Contributors",-1),P=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")])])])],-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:"),e("br"),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),N=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),G=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),H=e("h3",{id:"the-species-file-group",tabindex:"-1"},"The Species File Group",-1),R=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),j=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),D=e("h4",{id:"the-taxonworks-community",tabindex:"-1"},"The TaxonWorks Community",-1),L=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),B=e("h2",{id:"extended-access",tabindex:"-1"},"Extended access",-1),U=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),O=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://link_to_api_for_pertinent_dataset",rel:"noopener noreferrer",target:"_blank"},"associated API"),t(".")])],-1),q=e("h3",{id:"websites",tabindex:"-1"},"Websites",-1),M=e("ul",null,[e("li",null,[e("a",{href:"http://plecoptera.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),X=e("h2",{id:"terms-of-use-(copyright-guidance)",tabindex:"-1"},"Terms of Use (Copyright Guidance)",-1),z=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),V={},Z="",$=d({__name:"about",setup(J,{expose:i}){return i({frontmatter:{},excerpt:void 0}),(Y,K)=>{const n=a("router-link"),s=a("tracker-report"),l=a("markdown-layout");return c(),u(l,{frontmatter:V},{default:o(()=>[e("div",h,[p,f,g,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. Plecoptera Species File is powered by "),m,t(" software managed by the "),b,t(". See "),r(n,{to:"#contribute-or-get-help"},{default:o(()=>[t("Contribute")]),_:1}),t(" below for how you can participate. This site is built using TaxonPages, "),_,t(".")]),y,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. Known gaps in this project include {an incomplete catalog of type-material (important specimens that are linked to the names given to species}, {species names published after XXXX}, {biological associations}, {distributions from X} and more. "),r(n,{to:"#contribute-or-get-help"},{default:o(()=>[t("Contact us")]),_:1}),t(" if you would like to help us address these, in particular we’d like to prioritize {choose from list above}.")]),x,w,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 "),r(n,{to:"about#contribute-or-get-help"},{default:o(()=>[t("contribute")]),_:1}),t(".")]),v,S,C,e("ul",null,[A,e("li",null,[r(s,{label:"Report a problem or offer data",tag:"a"}),t(" (bugs or data issues) on our issue tracker.")]),T]),I,P,E,F,N,W,G,H,R,j,D,L,B,U,O,q,M,X,z])]),_:1})}}});export{$ as default,Z as excerpt,V as frontmatter}; diff --git a/assets/home-264da828.js b/assets/home-264da828.js new file mode 100644 index 0000000..db657bb --- /dev/null +++ b/assets/home-264da828.js @@ -0,0 +1 @@ +import{d,r as s,o as _,c as p,w as o,a as e,b as n,e as t}from"./index-cf71a81d.js";const h={class:"markdown-body"},m=e("h1",{id:"plecoptera-species-file",tabindex:"-1"},"Plecoptera Species File",-1),f=e("p",null,[t("The "),e("strong",null,"Plecoptera Species File"),t(" group builds a "),e("strong",null,"comprehensive source for knowledge about the world’s stoneflies"),t(". Information found here includes "),e("em",null,"valid names, their synonyms, bibliographic data, specimen data, images, sounds, and distributions"),t(" for stoneflies of the world. Our site seeks to include and serve an expanding group of stakeholders such as "),e("em",null,"taxonomists, ecologists, policy makers, and educators"),t(". We welcome you to join us in our efforts.")],-1),b=e("h4",{id:"try-searching-any-taxa-from-order-to-subspecies!",tabindex:"-1"},[t("Try searching any taxa from "),e("strong",null,"order"),t(" to "),e("strong",null,"subspecies"),t("!")],-1),y={style:{"text-align":"center"}},g={style:{"v-align":"bottom"}},w=e("img",{alt:"Taeniopteryx burksi",src:"https://sfg.taxonworks.org/s/v50h1y",style:{"border-style":"none"}},null,-1),x=e("br",null,null,-1),I=e("i",null,"Taeniopteryx burksi",-1),k=e("img",{alt:"Acroneuria perplexa",src:"https://sfg.taxonworks.org/s/hh01cy",style:{"border-style":"none"}},null,-1),E=e("br",null,null,-1),A=e("i",null,"Acroneuria perplexa",-1),N=e("img",{alt:"Acroneuria abnormis",src:"https://sfg.taxonworks.org/s/58hmf8",style:{"border-style":"none"}},null,-1),P=e("br",null,null,-1),v=e("i",null,"Acroneuria abnormis",-1),T=e("img",{alt:"Pteronarcys pictetii",src:"https://sfg.taxonworks.org/s/n3q58p",style:{"border-style":"none"}},null,-1),O=e("br",null,null,-1),S=e("i",null,"Pteronarcys pictetii",-1),F=e("h2",{id:"discover-more",tabindex:"-1"},"Discover more",-1),M=e("em",null,"you",-1),X=e("h2",{id:"announcements",tabindex:"-1"},"Announcements",-1),C=e("h3",{id:"welcome-to-our-new-plecoptera-species-file-website",tabindex:"-1"},"Welcome to our new Plecoptera Species File Website",-1),R=e("p",null,[e("em",null,"Ed DeWalt, Michael D. Maehr, Heidi Hopkins, U. Neu-Becker, G. Stueber, David C. Eades, 2023-08-15")],-1),D=e("p",null,"As of August 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),H=e("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),L=e("p",null,[e("em",null,"Ed DeWalt, Lily Hart, Heidi Hopkins, 2023-08-15")],-1),V=e("p",null,[t("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 "),e("a",{href:"http://plecoptera.speciesfile.org/HomePage/Plecoptera/First_Announcement_IJM_2024.pdf",rel:"noopener noreferrer",target:"_blank"},"first announcement"),t(" which also links to an "),e("a",{href:"https://docs.google.com/forms/d/e/1FAIpQLSeAkvGvVhZbO4XUyVFzF7b0EU44rH4nOniYMqsc7BQWN03ELg/viewform",rel:"noopener noreferrer",target:"_blank"},"attendance interest form"),t(".")],-1),B={style:{"vertical-align":"text-top","text-align":"center","border-style":"solid","border-color":"Gray",padding:"25px"}},U={class:"darkgreen",style:{"font-weight":"bold","font-style":"italic"}},W=e("br",null,null,-1),J=e("br",null,null,-1),j=e("br",null,null,-1),z=e("br",null,null,-1),Y=e("br",null,null,-1),G=e("a",{href:"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/First_Announcement_IJM_2024.pdf",target:"_blank"},"First Announcement",-1),q=e("br",null,null,-1),Q=e("br",null,null,-1),Z=e("br",null,null,-1),K=e("br",null,null,-1),$=e("br",null,null,-1),ee=e("br",null,null,-1),te=e("br",null,null,-1),oe=e("a",{href:"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/MF_SF 2022 Program and Schedule.pdf",target:"naps"},"Download PDF of 2022 Program",-1),ne={},ie="",ce=d({__name:"home",setup(le,{expose:a}){return a({frontmatter:{},excerpt:void 0}),(se,re)=>{const i=s("autocomplete-otu"),l=s("router-link"),c=s("d-r"),r=s("font"),u=s("markdown-layout");return _(),p(u,{frontmatter:ne},{default:o(()=>[e("div",h,[m,f,n(i,{class:"w-80 place-content-center",placeholder:"Search by taxon name"}),b,e("table",y,[e("tbody",null,[e("tr",g,[e("td",null,[w,x,n(l,{to:{name:"otus-id",params:{id:893674}}},{default:o(()=>[I]),_:1})]),e("td",null,[k,E,n(l,{to:{name:"otus-id",params:{id:895791}}},{default:o(()=>[A]),_:1})]),e("td",null,[N,P,n(l,{to:{name:"otus-id",params:{id:895760}}},{default:o(()=>[v]),_:1})]),e("td",null,[T,O,n(l,{to:{name:"otus-id",params:{id:896854}}},{default:o(()=>[S]),_:1})])])])]),F,e("p",null,[t("Our "),n(l,{to:"about"},{default:o(()=>[t("About")]),_:1}),t(" page contains an "),n(l,{to:"about#overview"},{default:o(()=>[t("overview")]),_:1}),t(" and "),n(l,{to:"about#history"},{default:o(()=>[t("history")]),_:1}),t(" of the project, its data and "),n(l,{to:"about#gaps-as-opportunity"},{default:o(()=>[t("gaps")]),_:1}),t(","),n(c,null,{default:o(()=>[t(" and information about the "),n(l,{to:"about#team"},{default:o(()=>[t("team")]),_:1}),t(" and how "),M,t(" can "),n(l,{to:"about#contribute"},{default:o(()=>[t("contribute")]),_:1}),t(". You can also "),n(l,{to:"about#contribute"},{default:o(()=>[t("contact us")]),_:1}),t(" or "),n(l,{to:"about#contribute-or-get-help"},{default:o(()=>[t("get help")]),_:1}),t(".")]),_:1}),X,C]),R,D,H,L,V,e("table",null,[e("tbody",null,[e("tr",null,[e("td",B,[e("span",U,[t(" 2024 XVIIth INTERNATIONAL CONFERENCE ON EPHEMEROPTERA"),W,t(" AND XXIst INTERNATIONAL SYMPOSIUM ON PLECOPTERA"),J,j,n(r,{style:{"font-size":"15pt"}},{default:o(()=>[t("Turin, Italy")]),_:1}),z,Y,G,q,Q,Z,K,n(r,{style:{"font-size":"10pt"}},{default:o(()=>[t(" 2022 XVIth INTERNATIONAL CONFERENCE ON EPHEMEROPTERA"),$,t(" AND XXth INTERNATIONAL SYMPOSIUM ON PLECOPTERA"),ee,te]),_:1}),oe])])])])])])]),_:1})}}});export{ce as default,ie as excerpt,ne as frontmatter}; diff --git a/assets/index-26b6cd71.css b/assets/index-26b6cd71.css new file mode 100644 index 0000000..d9fbab3 --- /dev/null +++ b/assets/index-26b6cd71.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] *)){margin-top:.5em;margin-bottom:.5em;line-height:1.5}.prose :where([class~=lead]):not(:where([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] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([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] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([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] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([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] *)){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] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([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] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([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] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([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] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([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] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure>*):not(:where([class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([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] *)){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] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([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] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([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] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose] *)){vertical-align:top}.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-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-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(video):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose] *)){margin-top:.1428571em;margin-bottom:.1428571em}.prose :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([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-80{width:20rem}.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}.place-content-center{place-content:center}.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-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-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\: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/assets/index-cf71a81d.js b/assets/index-cf71a81d.js new file mode 100644 index 0000000..0d8182e --- /dev/null +++ b/assets/index-cf71a81d.js @@ -0,0 +1,43 @@ +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))o(c);new MutationObserver(c=>{for(const i of c)if(i.type==="childList")for(const u of i.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function s(c){const i={};return c.integrity&&(i.integrity=c.integrity),c.referrerPolicy&&(i.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?i.credentials="include":c.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(c){if(c.ep)return;c.ep=!0;const i=s(c);fetch(c.href,i)}})();function Wa(t,n){const s=Object.create(null),o=t.split(",");for(let c=0;c!!s[c.toLowerCase()]:c=>!!s[c]}const Te={},di=[],Tn=()=>{},wp=()=>!1,xp=/^on[^a-z]/,yo=t=>xp.test(t),Ka=t=>t.startsWith("onUpdate:"),je=Object.assign,Ja=(t,n)=>{const s=t.indexOf(n);s>-1&&t.splice(s,1)},kp=Object.prototype.hasOwnProperty,ge=(t,n)=>kp.call(t,n),Kt=Array.isArray,pi=t=>_s(t)==="[object Map]",Ou=t=>_s(t)==="[object Set]",ae=t=>typeof t=="function",De=t=>typeof t=="string",Ya=t=>typeof t=="symbol",Oe=t=>t!==null&&typeof t=="object",Au=t=>Oe(t)&&ae(t.then)&&ae(t.catch),Ru=Object.prototype.toString,_s=t=>Ru.call(t),Lp=t=>_s(t).slice(8,-1),Bu=t=>_s(t)==="[object Object]",Xa=t=>De(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,to=Wa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ys=t=>{const n=Object.create(null);return s=>n[s]||(n[s]=t(s))},Mp=/-(\w)/g,Gn=ys(t=>t.replace(Mp,(n,s)=>s?s.toUpperCase():"")),Cp=/\B([A-Z])/g,xi=ys(t=>t.replace(Cp,"-$1").toLowerCase()),vs=ys(t=>t.charAt(0).toUpperCase()+t.slice(1)),oa=ys(t=>t?`on${vs(t)}`:""),ao=(t,n)=>!Object.is(t,n),Yo=(t,n)=>{for(let s=0;s{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value:s})},La=t=>{const n=parseFloat(t);return isNaN(n)?t:n},Pp=t=>{const n=De(t)?Number(t):NaN;return isNaN(n)?t:n};let rc;const Ma=()=>rc||(rc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hn(t){if(Kt(t)){const n={};for(let s=0;s{if(s){const o=s.split(Ep);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n}function Xe(t){let n="";if(De(t))n=t;else if(Kt(t))for(let s=0;sDe(t)?t:t==null?"":Kt(t)||Oe(t)&&(t.toString===Ru||!ae(t.toString))?JSON.stringify(t,Du,2):String(t),Du=(t,n)=>n&&n.__v_isRef?Du(t,n.value):pi(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((s,[o,c])=>(s[`${o} =>`]=c,s),{})}:Ou(n)?{[`Set(${n.size})`]:[...n.values()]}:Oe(n)&&!Kt(n)&&!Bu(n)?String(n):n;let dn;class zu{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dn,!n&&dn&&(this.index=(dn.scopes||(dn.scopes=[])).push(this)-1)}get active(){return this._active}run(n){if(this._active){const s=dn;try{return dn=this,n()}finally{dn=s}}}on(){dn=this}off(){dn=this.parent}stop(n){if(this._active){let s,o;for(s=0,o=this.effects.length;s{const n=new Set(t);return n.w=0,n.n=0,n},Fu=t=>(t.w&Lr)>0,Hu=t=>(t.n&Lr)>0,Dp=({deps:t})=>{if(t.length)for(let n=0;n{const{deps:n}=t;if(n.length){let s=0;for(let o=0;o{(_==="length"||_>=f)&&h.push(m)})}else switch(s!==void 0&&h.push(u.get(s)),n){case"add":Kt(t)?Xa(s)&&h.push(u.get("length")):(h.push(u.get(Ur)),pi(t)&&h.push(u.get(Pa)));break;case"delete":Kt(t)||(h.push(u.get(Ur)),pi(t)&&h.push(u.get(Pa)));break;case"set":pi(t)&&h.push(u.get(Ur));break}if(h.length===1)h[0]&&Sa(h[0]);else{const f=[];for(const m of h)m&&f.push(...m);Sa(Qa(f))}}function Sa(t,n){const s=Kt(t)?t:[...t];for(const o of s)o.computed&&oc(o);for(const o of s)o.computed||oc(o)}function oc(t,n){(t!==Sn||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function jp(t,n){var s;return(s=ss.get(t))==null?void 0:s.get(n)}const Np=Wa("__proto__,__v_isRef,__isVue"),Uu=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ya)),Fp=el(),Hp=el(!1,!0),Gp=el(!0),sc=Vp();function Vp(){const t={};return["includes","indexOf","lastIndexOf"].forEach(n=>{t[n]=function(...s){const o=me(this);for(let i=0,u=this.length;i{t[n]=function(...s){ki();const o=me(this)[n].apply(this,s);return Li(),o}}),t}function Up(t){const n=me(this);return cn(n,"has",t),n.hasOwnProperty(t)}function el(t=!1,n=!1){return function(o,c,i){if(c==="__v_isReactive")return!t;if(c==="__v_isReadonly")return t;if(c==="__v_isShallow")return n;if(c==="__v_raw"&&i===(t?n?af:Ku:n?Wu:qu).get(o))return o;const u=Kt(o);if(!t){if(u&&ge(sc,c))return Reflect.get(sc,c,i);if(c==="hasOwnProperty")return Up}const h=Reflect.get(o,c,i);return(Ya(c)?Uu.has(c):Np(c))||(t||cn(o,"get",c),n)?h:Ie(h)?u&&Xa(c)?h:h.value:Oe(h)?t?Yu(h):vo(h):h}}const $p=$u(),Zp=$u(!0);function $u(t=!1){return function(s,o,c,i){let u=s[o];if(gi(u)&&Ie(u)&&!Ie(c))return!1;if(!t&&(!as(c)&&!gi(c)&&(u=me(u),c=me(c)),!Kt(s)&&Ie(u)&&!Ie(c)))return u.value=c,!0;const h=Kt(s)&&Xa(o)?Number(o)t,bs=t=>Reflect.getPrototypeOf(t);function Vo(t,n,s=!1,o=!1){t=t.__v_raw;const c=me(t),i=me(n);s||(n!==i&&cn(c,"get",n),cn(c,"get",i));const{has:u}=bs(c),h=o?nl:s?ol:lo;if(u.call(c,n))return h(t.get(n));if(u.call(c,i))return h(t.get(i));t!==c&&t.get(n)}function Uo(t,n=!1){const s=this.__v_raw,o=me(s),c=me(t);return n||(t!==c&&cn(o,"has",t),cn(o,"has",c)),t===c?s.has(t):s.has(t)||s.has(c)}function $o(t,n=!1){return t=t.__v_raw,!n&&cn(me(t),"iterate",Ur),Reflect.get(t,"size",t)}function ac(t){t=me(t);const n=me(this);return bs(n).has.call(n,t)||(n.add(t),nr(n,"add",t,t)),this}function lc(t,n){n=me(n);const s=me(this),{has:o,get:c}=bs(s);let i=o.call(s,t);i||(t=me(t),i=o.call(s,t));const u=c.call(s,t);return s.set(t,n),i?ao(n,u)&&nr(s,"set",t,n):nr(s,"add",t,n),this}function cc(t){const n=me(this),{has:s,get:o}=bs(n);let c=s.call(n,t);c||(t=me(t),c=s.call(n,t)),o&&o.call(n,t);const i=n.delete(t);return c&&nr(n,"delete",t,void 0),i}function uc(){const t=me(this),n=t.size!==0,s=t.clear();return n&&nr(t,"clear",void 0,void 0),s}function Zo(t,n){return function(o,c){const i=this,u=i.__v_raw,h=me(u),f=n?nl:t?ol:lo;return!t&&cn(h,"iterate",Ur),u.forEach((m,_)=>o.call(c,f(m),f(_),i))}}function qo(t,n,s){return function(...o){const c=this.__v_raw,i=me(c),u=pi(i),h=t==="entries"||t===Symbol.iterator&&u,f=t==="keys"&&u,m=c[t](...o),_=s?nl:n?ol:lo;return!n&&cn(i,"iterate",f?Pa:Ur),{next(){const{value:v,done:M}=m.next();return M?{value:v,done:M}:{value:h?[_(v[0]),_(v[1])]:_(v),done:M}},[Symbol.iterator](){return this}}}}function dr(t){return function(...n){return t==="delete"?!1:this}}function Xp(){const t={get(i){return Vo(this,i)},get size(){return $o(this)},has:Uo,add:ac,set:lc,delete:cc,clear:uc,forEach:Zo(!1,!1)},n={get(i){return Vo(this,i,!1,!0)},get size(){return $o(this)},has:Uo,add:ac,set:lc,delete:cc,clear:uc,forEach:Zo(!1,!0)},s={get(i){return Vo(this,i,!0)},get size(){return $o(this,!0)},has(i){return Uo.call(this,i,!0)},add:dr("add"),set:dr("set"),delete:dr("delete"),clear:dr("clear"),forEach:Zo(!0,!1)},o={get(i){return Vo(this,i,!0,!0)},get size(){return $o(this,!0)},has(i){return Uo.call(this,i,!0)},add:dr("add"),set:dr("set"),delete:dr("delete"),clear:dr("clear"),forEach:Zo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=qo(i,!1,!1),s[i]=qo(i,!0,!1),n[i]=qo(i,!1,!0),o[i]=qo(i,!0,!0)}),[t,s,n,o]}const[Qp,tf,ef,nf]=Xp();function rl(t,n){const s=n?t?nf:ef:t?tf:Qp;return(o,c,i)=>c==="__v_isReactive"?!t:c==="__v_isReadonly"?t:c==="__v_raw"?o:Reflect.get(ge(s,c)&&c in o?s:o,c,i)}const rf={get:rl(!1,!1)},of={get:rl(!1,!0)},sf={get:rl(!0,!1)},qu=new WeakMap,Wu=new WeakMap,Ku=new WeakMap,af=new WeakMap;function lf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cf(t){return t.__v_skip||!Object.isExtensible(t)?0:lf(Lp(t))}function vo(t){return gi(t)?t:il(t,!1,Zu,rf,qu)}function Ju(t){return il(t,!1,Yp,of,Wu)}function Yu(t){return il(t,!0,Jp,sf,Ku)}function il(t,n,s,o,c){if(!Oe(t)||t.__v_raw&&!(n&&t.__v_isReactive))return t;const i=c.get(t);if(i)return i;const u=cf(t);if(u===0)return t;const h=new Proxy(t,u===2?o:s);return c.set(t,h),h}function xr(t){return gi(t)?xr(t.__v_raw):!!(t&&t.__v_isReactive)}function gi(t){return!!(t&&t.__v_isReadonly)}function as(t){return!!(t&&t.__v_isShallow)}function Xu(t){return xr(t)||gi(t)}function me(t){const n=t&&t.__v_raw;return n?me(n):t}function ws(t){return os(t,"__v_skip",!0),t}const lo=t=>Oe(t)?vo(t):t,ol=t=>Oe(t)?Yu(t):t;function Qu(t){wr&&Sn&&(t=me(t),Vu(t.dep||(t.dep=Qa())))}function th(t,n){t=me(t);const s=t.dep;s&&Sa(s)}function Ie(t){return!!(t&&t.__v_isRef===!0)}function Zt(t){return eh(t,!1)}function uf(t){return eh(t,!0)}function eh(t,n){return Ie(t)?t:new hf(t,n)}class hf{constructor(n,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?n:me(n),this._value=s?n:lo(n)}get value(){return Qu(this),this._value}set value(n){const s=this.__v_isShallow||as(n)||gi(n);n=s?n:me(n),ao(n,this._rawValue)&&(this._rawValue=n,this._value=s?n:lo(n),th(this))}}function Wt(t){return Ie(t)?t.value:t}const df={get:(t,n,s)=>Wt(Reflect.get(t,n,s)),set:(t,n,s,o)=>{const c=t[n];return Ie(c)&&!Ie(s)?(c.value=s,!0):Reflect.set(t,n,s,o)}};function nh(t){return xr(t)?t:new Proxy(t,df)}function pf(t){const n=Kt(t)?new Array(t.length):{};for(const s in t)n[s]=mf(t,s);return n}class ff{constructor(n,s,o){this._object=n,this._key=s,this._defaultValue=o,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 jp(me(this._object),this._key)}}function mf(t,n,s){const o=t[n];return Ie(o)?o:new ff(t,n,s)}class gf{constructor(n,s,o,c){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new tl(n,()=>{this._dirty||(this._dirty=!0,th(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!c,this.__v_isReadonly=o}get value(){const n=me(this);return Qu(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}function _f(t,n,s=!1){let o,c;const i=ae(t);return i?(o=t,c=Tn):(o=t.get,c=t.set),new gf(o,c,i||!c,s)}function kr(t,n,s,o){let c;try{c=o?t(...o):t()}catch(i){xs(i,n,s)}return c}function wn(t,n,s,o){if(ae(t)){const i=kr(t,n,s,o);return i&&Au(i)&&i.catch(u=>{xs(u,n,s)}),i}const c=[];for(let i=0;i>>1;uo(Ye[o])Nn&&Ye.splice(n,1)}function wf(t){Kt(t)?fi.push(...t):(!tr||!tr.includes(t,t.allowRecurse?Fr+1:Fr))&&fi.push(t),ih()}function hc(t,n=co?Nn+1:0){for(;nuo(s)-uo(o)),Fr=0;Frt.id==null?1/0:t.id,xf=(t,n)=>{const s=uo(t)-uo(n);if(s===0){if(t.pre&&!n.pre)return-1;if(n.pre&&!t.pre)return 1}return s};function oh(t){Ea=!1,co=!0,Ye.sort(xf);const n=Tn;try{for(Nn=0;NnDe(T)?T.trim():T)),v&&(c=s.map(La))}let h,f=o[h=oa(n)]||o[h=oa(Gn(n))];!f&&i&&(f=o[h=oa(xi(n))]),f&&wn(f,t,6,c);const m=o[h+"Once"];if(m){if(!t.emitted)t.emitted={};else if(t.emitted[h])return;t.emitted[h]=!0,wn(m,t,6,c)}}function sh(t,n,s=!1){const o=n.emitsCache,c=o.get(t);if(c!==void 0)return c;const i=t.emits;let u={},h=!1;if(!ae(t)){const f=m=>{const _=sh(m,n,!0);_&&(h=!0,je(u,_))};!s&&n.mixins.length&&n.mixins.forEach(f),t.extends&&f(t.extends),t.mixins&&t.mixins.forEach(f)}return!i&&!h?(Oe(t)&&o.set(t,null),null):(Kt(i)?i.forEach(f=>u[f]=null):je(u,i),Oe(t)&&o.set(t,u),u)}function Ls(t,n){return!t||!yo(n)?!1:(n=n.slice(2).replace(/Once$/,""),ge(t,n[0].toLowerCase()+n.slice(1))||ge(t,xi(n))||ge(t,n))}let $e=null,Ms=null;function cs(t){const n=$e;return $e=t,Ms=t&&t.type.__scopeId||null,n}function ah(t){Ms=t}function lh(){Ms=null}function ft(t,n=$e,s){if(!n||t._n)return t;const o=(...c)=>{o._d&&kc(-1);const i=cs(n);let u;try{u=t(...c)}finally{cs(i),o._d&&kc(1)}return u};return o._n=!0,o._c=!0,o._d=!0,o}function sa(t){const{type:n,vnode:s,proxy:o,withProxy:c,props:i,propsOptions:[u],slots:h,attrs:f,emit:m,render:_,renderCache:v,data:M,setupState:T,ctx:C,inheritAttrs:P}=t;let H,S;const A=cs(t);try{if(s.shapeFlag&4){const O=c||o;H=Pn(_.call(O,O,v,i,T,M,C)),S=f}else{const O=n;H=Pn(O.length>1?O(i,{attrs:f,slots:h,emit:m}):O(i,null)),S=n.props?f:Lf(f)}}catch(O){ro.length=0,xs(O,t,1),H=rt(pn)}let j=H;if(S&&P!==!1){const O=Object.keys(S),{shapeFlag:z}=j;O.length&&z&7&&(u&&O.some(Ka)&&(S=Mf(S,u)),j=Mr(j,S))}return s.dirs&&(j=Mr(j),j.dirs=j.dirs?j.dirs.concat(s.dirs):s.dirs),s.transition&&(j.transition=s.transition),H=j,cs(A),H}const Lf=t=>{let n;for(const s in t)(s==="class"||s==="style"||yo(s))&&((n||(n={}))[s]=t[s]);return n},Mf=(t,n)=>{const s={};for(const o in t)(!Ka(o)||!(o.slice(9)in n))&&(s[o]=t[o]);return s};function Cf(t,n,s){const{props:o,children:c,component:i}=t,{props:u,children:h,patchFlag:f}=n,m=i.emitsOptions;if(n.dirs||n.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return o?dc(o,u,m):!!u;if(f&8){const _=n.dynamicProps;for(let v=0;v<_.length;v++){const M=_[v];if(u[M]!==o[M]&&!Ls(m,M))return!0}}}else return(c||h)&&(!h||!h.$stable)?!0:o===u?!1:o?u?dc(o,u,m):!0:!!u;return!1}function dc(t,n,s){const o=Object.keys(n);if(o.length!==Object.keys(t).length)return!0;for(let c=0;ct.__isSuspense;function ch(t,n){n&&n.pendingBranch?Kt(t)?n.effects.push(...t):n.effects.push(t):wf(t)}const Wo={};function He(t,n,s){return uh(t,n,s)}function uh(t,n,{immediate:s,deep:o,flush:c,onTrack:i,onTrigger:u}=Te){var h;const f=Nu()===((h=Fe)==null?void 0:h.scope)?Fe:null;let m,_=!1,v=!1;if(Ie(t)?(m=()=>t.value,_=as(t)):xr(t)?(m=()=>t,o=!0):Kt(t)?(v=!0,_=t.some(O=>xr(O)||as(O)),m=()=>t.map(O=>{if(Ie(O))return O.value;if(xr(O))return Vr(O);if(ae(O))return kr(O,f,2)})):ae(t)?n?m=()=>kr(t,f,2):m=()=>{if(!(f&&f.isUnmounted))return M&&M(),wn(t,f,3,[T])}:m=Tn,n&&o){const O=m;m=()=>Vr(O())}let M,T=O=>{M=A.onStop=()=>{kr(O,f,4)}},C;if(fo)if(T=Tn,n?s&&wn(n,f,3,[m(),v?[]:void 0,T]):m(),c==="sync"){const O=xm();C=O.__watcherHandles||(O.__watcherHandles=[])}else return Tn;let P=v?new Array(t.length).fill(Wo):Wo;const H=()=>{if(A.active)if(n){const O=A.run();(o||_||(v?O.some((z,K)=>ao(z,P[K])):ao(O,P)))&&(M&&M(),wn(n,f,3,[O,P===Wo?void 0:v&&P[0]===Wo?[]:P,T]),P=O)}else A.run()};H.allowRecurse=!!n;let S;c==="sync"?S=H:c==="post"?S=()=>an(H,f&&f.suspense):(H.pre=!0,f&&(H.id=f.uid),S=()=>al(H));const A=new tl(m,S);n?s?H():P=A.run():c==="post"?an(A.run.bind(A),f&&f.suspense):A.run();const j=()=>{A.stop(),f&&f.scope&&Ja(f.scope.effects,A)};return C&&C.push(j),j}function Ef(t,n,s){const o=this.proxy,c=De(t)?t.includes(".")?hh(o,t):()=>o[t]:t.bind(o,o);let i;ae(n)?i=n:(i=n.handler,s=n);const u=Fe;yi(this);const h=uh(c,i.bind(o),s);return u?yi(u):$r(),h}function hh(t,n){const s=n.split(".");return()=>{let o=t;for(let c=0;c{Vr(s,n)});else if(Bu(t))for(const s in t)Vr(t[s],n);return t}function bo(t,n){const s=$e;if(s===null)return t;const o=Es(s)||s.proxy,c=t.dirs||(t.dirs=[]);for(let i=0;i{t.isMounted=!0}),or(()=>{t.isUnmounting=!0}),t}const vn=[Function,Array],dh={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},Of={name:"BaseTransition",props:dh,setup(t,{slots:n}){const s=Oh(),o=Tf();let c;return()=>{const i=n.default&&fh(n.default(),!0);if(!i||!i.length)return;let u=i[0];if(i.length>1){for(const P of i)if(P.type!==pn){u=P;break}}const h=me(t),{mode:f}=h;if(o.isLeaving)return aa(u);const m=pc(u);if(!m)return aa(u);const _=Ta(m,h,o,s);Oa(m,_);const v=s.subTree,M=v&&pc(v);let T=!1;const{getTransitionKey:C}=m.type;if(C){const P=C();c===void 0?c=P:P!==c&&(c=P,T=!0)}if(M&&M.type!==pn&&(!Hr(m,M)||T)){const P=Ta(M,h,o,s);if(Oa(M,P),f==="out-in")return o.isLeaving=!0,P.afterLeave=()=>{o.isLeaving=!1,s.update.active!==!1&&s.update()},aa(u);f==="in-out"&&m.type!==pn&&(P.delayLeave=(H,S,A)=>{const j=ph(o,M);j[String(M.key)]=M,H._leaveCb=()=>{S(),H._leaveCb=void 0,delete _.delayedLeave},_.delayedLeave=A})}return u}}},Af=Of;function ph(t,n){const{leavingVNodes:s}=t;let o=s.get(n.type);return o||(o=Object.create(null),s.set(n.type,o)),o}function Ta(t,n,s,o){const{appear:c,mode:i,persisted:u=!1,onBeforeEnter:h,onEnter:f,onAfterEnter:m,onEnterCancelled:_,onBeforeLeave:v,onLeave:M,onAfterLeave:T,onLeaveCancelled:C,onBeforeAppear:P,onAppear:H,onAfterAppear:S,onAppearCancelled:A}=n,j=String(t.key),O=ph(s,t),z=(Y,st)=>{Y&&wn(Y,o,9,st)},K=(Y,st)=>{const ct=st[1];z(Y,st),Kt(Y)?Y.every(gt=>gt.length<=1)&&ct():Y.length<=1&&ct()},ot={mode:i,persisted:u,beforeEnter(Y){let st=h;if(!s.isMounted)if(c)st=P||h;else return;Y._leaveCb&&Y._leaveCb(!0);const ct=O[j];ct&&Hr(t,ct)&&ct.el._leaveCb&&ct.el._leaveCb(),z(st,[Y])},enter(Y){let st=f,ct=m,gt=_;if(!s.isMounted)if(c)st=H||f,ct=S||m,gt=A||_;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?K(st,[Y,bt]):bt()},leave(Y,st){const ct=String(t.key);if(Y._enterCb&&Y._enterCb(!0),s.isUnmounting)return st();z(v,[Y]);let gt=!1;const at=Y._leaveCb=bt=>{gt||(gt=!0,st(),bt?z(C,[Y]):z(T,[Y]),Y._leaveCb=void 0,O[ct]===t&&delete O[ct])};O[ct]=t,M?K(M,[Y,at]):at()},clone(Y){return Ta(Y,n,s,o)}};return ot}function aa(t){if(Cs(t))return t=Mr(t),t.children=null,t}function pc(t){return Cs(t)?t.children?t.children[0]:void 0:t}function Oa(t,n){t.shapeFlag&6&&t.component?Oa(t.component.subTree,n):t.shapeFlag&128?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}function fh(t,n=!1,s){let o=[],c=0;for(let i=0;i1)for(let i=0;ije({name:t.name},n,{setup:t}))():t}const mi=t=>!!t.type.__asyncLoader,Cs=t=>t.type.__isKeepAlive;function Rf(t,n){gh(t,"a",n)}function Bf(t,n){gh(t,"da",n)}function gh(t,n,s=Fe){const o=t.__wdc||(t.__wdc=()=>{let c=s;for(;c;){if(c.isDeactivated)return;c=c.parent}return t()});if(Ps(n,o,s),s){let c=s.parent;for(;c&&c.parent;)Cs(c.parent.vnode)&&If(o,n,s,c),c=c.parent}}function If(t,n,s,o){const c=Ps(n,t,o,!0);Zr(()=>{Ja(o[n],c)},s)}function Ps(t,n,s=Fe,o=!1){if(s){const c=s[t]||(s[t]=[]),i=n.__weh||(n.__weh=(...u)=>{if(s.isUnmounted)return;ki(),yi(s);const h=wn(n,s,t,u);return $r(),Li(),h});return o?c.unshift(i):c.push(i),i}}const ir=t=>(n,s=Fe)=>(!fo||t==="sp")&&Ps(t,(...o)=>n(...o),s),_h=ir("bm"),en=ir("m"),Df=ir("bu"),zf=ir("u"),or=ir("bum"),Zr=ir("um"),ll=ir("sp"),jf=ir("rtg"),Nf=ir("rtc");function Ff(t,n=Fe){Ps("ec",t,n)}const cl="components";function pt(t,n){return vh(cl,t,!0,n)||t}const yh=Symbol.for("v-ndc");function Mi(t){return De(t)?vh(cl,t,!1)||t:t||yh}function vh(t,n,s=!0,o=!1){const c=$e||Fe;if(c){const i=c.type;if(t===cl){const h=vm(i,!1);if(h&&(h===n||h===Gn(n)||h===vs(Gn(n))))return i}const u=fc(c[t]||i[t],n)||fc(c.appContext[t],n);return!u&&o?i:u}}function fc(t,n){return t&&(t[n]||t[Gn(n)]||t[vs(Gn(n))])}function ye(t,n,s,o){let c;const i=s&&s[o];if(Kt(t)||De(t)){c=new Array(t.length);for(let u=0,h=t.length;un(u,h,void 0,i&&i[h]));else{const u=Object.keys(t);c=new Array(u.length);for(let h=0,f=u.length;hds(n)?!(n.type===pn||n.type===$t&&!bh(n.children)):!0)?t:null}const Aa=t=>t?Ah(t)?Es(t)||t.proxy:Aa(t.parent):null,eo=je(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Aa(t.parent),$root:t=>Aa(t.root),$emit:t=>t.emit,$options:t=>ul(t),$forceUpdate:t=>t.f||(t.f=()=>al(t.update)),$nextTick:t=>t.n||(t.n=ks.bind(t.proxy)),$watch:t=>Ef.bind(t)}),la=(t,n)=>t!==Te&&!t.__isScriptSetup&&ge(t,n),Hf={get({_:t},n){const{ctx:s,setupState:o,data:c,props:i,accessCache:u,type:h,appContext:f}=t;let m;if(n[0]!=="$"){const T=u[n];if(T!==void 0)switch(T){case 1:return o[n];case 2:return c[n];case 4:return s[n];case 3:return i[n]}else{if(la(o,n))return u[n]=1,o[n];if(c!==Te&&ge(c,n))return u[n]=2,c[n];if((m=t.propsOptions[0])&&ge(m,n))return u[n]=3,i[n];if(s!==Te&&ge(s,n))return u[n]=4,s[n];Ra&&(u[n]=0)}}const _=eo[n];let v,M;if(_)return n==="$attrs"&&cn(t,"get",n),_(t);if((v=h.__cssModules)&&(v=v[n]))return v;if(s!==Te&&ge(s,n))return u[n]=4,s[n];if(M=f.config.globalProperties,ge(M,n))return M[n]},set({_:t},n,s){const{data:o,setupState:c,ctx:i}=t;return la(c,n)?(c[n]=s,!0):o!==Te&&ge(o,n)?(o[n]=s,!0):ge(t.props,n)||n[0]==="$"&&n.slice(1)in t?!1:(i[n]=s,!0)},has({_:{data:t,setupState:n,accessCache:s,ctx:o,appContext:c,propsOptions:i}},u){let h;return!!s[u]||t!==Te&&ge(t,u)||la(n,u)||(h=i[0])&&ge(h,u)||ge(o,u)||ge(eo,u)||ge(c.config.globalProperties,u)},defineProperty(t,n,s){return s.get!=null?t._.accessCache[n]=0:ge(s,"value")&&this.set(t,n,s.value,null),Reflect.defineProperty(t,n,s)}};function Gf(){return Vf().slots}function Vf(){const t=Oh();return t.setupContext||(t.setupContext=Bh(t))}function mc(t){return Kt(t)?t.reduce((n,s)=>(n[s]=null,n),{}):t}let Ra=!0;function Uf(t){const n=ul(t),s=t.proxy,o=t.ctx;Ra=!1,n.beforeCreate&&gc(n.beforeCreate,t,"bc");const{data:c,computed:i,methods:u,watch:h,provide:f,inject:m,created:_,beforeMount:v,mounted:M,beforeUpdate:T,updated:C,activated:P,deactivated:H,beforeDestroy:S,beforeUnmount:A,destroyed:j,unmounted:O,render:z,renderTracked:K,renderTriggered:ot,errorCaptured:Y,serverPrefetch:st,expose:ct,inheritAttrs:gt,components:at,directives:bt,filters:Lt}=n;if(m&&$f(m,o,null),u)for(const Gt in u){const wt=u[Gt];ae(wt)&&(o[Gt]=wt.bind(s))}if(c){const Gt=c.call(s,s);Oe(Gt)&&(t.data=vo(Gt))}if(Ra=!0,i)for(const Gt in i){const wt=i[Gt],pe=ae(wt)?wt.bind(s,s):ae(wt.get)?wt.get.bind(s,s):Tn,Dt=!ae(wt)&&ae(wt.set)?wt.set.bind(s):Tn,Bt=se({get:pe,set:Dt});Object.defineProperty(o,Gt,{enumerable:!0,configurable:!0,get:()=>Bt.value,set:Vt=>Bt.value=Vt})}if(h)for(const Gt in h)wh(h[Gt],o,s,Gt);if(f){const Gt=ae(f)?f.call(s):f;Reflect.ownKeys(Gt).forEach(wt=>{Xo(wt,Gt[wt])})}_&&gc(_,t,"c");function Ct(Gt,wt){Kt(wt)?wt.forEach(pe=>Gt(pe.bind(s))):wt&&Gt(wt.bind(s))}if(Ct(_h,v),Ct(en,M),Ct(Df,T),Ct(zf,C),Ct(Rf,P),Ct(Bf,H),Ct(Ff,Y),Ct(Nf,K),Ct(jf,ot),Ct(or,A),Ct(Zr,O),Ct(ll,st),Kt(ct))if(ct.length){const Gt=t.exposed||(t.exposed={});ct.forEach(wt=>{Object.defineProperty(Gt,wt,{get:()=>s[wt],set:pe=>s[wt]=pe})})}else t.exposed||(t.exposed={});z&&t.render===Tn&&(t.render=z),gt!=null&&(t.inheritAttrs=gt),at&&(t.components=at),bt&&(t.directives=bt)}function $f(t,n,s=Tn){Kt(t)&&(t=Ba(t));for(const o in t){const c=t[o];let i;Oe(c)?"default"in c?i=xn(c.from||o,c.default,!0):i=xn(c.from||o):i=xn(c),Ie(i)?Object.defineProperty(n,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:u=>i.value=u}):n[o]=i}}function gc(t,n,s){wn(Kt(t)?t.map(o=>o.bind(n.proxy)):t.bind(n.proxy),n,s)}function wh(t,n,s,o){const c=o.includes(".")?hh(s,o):()=>s[o];if(De(t)){const i=n[t];ae(i)&&He(c,i)}else if(ae(t))He(c,t.bind(s));else if(Oe(t))if(Kt(t))t.forEach(i=>wh(i,n,s,o));else{const i=ae(t.handler)?t.handler.bind(s):n[t.handler];ae(i)&&He(c,i,t)}}function ul(t){const n=t.type,{mixins:s,extends:o}=n,{mixins:c,optionsCache:i,config:{optionMergeStrategies:u}}=t.appContext,h=i.get(n);let f;return h?f=h:!c.length&&!s&&!o?f=n:(f={},c.length&&c.forEach(m=>us(f,m,u,!0)),us(f,n,u)),Oe(n)&&i.set(n,f),f}function us(t,n,s,o=!1){const{mixins:c,extends:i}=n;i&&us(t,i,s,!0),c&&c.forEach(u=>us(t,u,s,!0));for(const u in n)if(!(o&&u==="expose")){const h=Zf[u]||s&&s[u];t[u]=h?h(t[u],n[u]):n[u]}return t}const Zf={data:_c,props:yc,emits:yc,methods:Qi,computed:Qi,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:Qi,directives:Qi,watch:Wf,provide:_c,inject:qf};function _c(t,n){return n?t?function(){return je(ae(t)?t.call(this,this):t,ae(n)?n.call(this,this):n)}:n:t}function qf(t,n){return Qi(Ba(t),Ba(n))}function Ba(t){if(Kt(t)){const n={};for(let s=0;s1)return s&&ae(n)?n.call(o&&o.proxy):n}}function Yf(){return!!(Fe||$e||ho)}function Xf(t,n,s,o=!1){const c={},i={};os(i,Ss,1),t.propsDefaults=Object.create(null),kh(t,n,c,i);for(const u in t.propsOptions[0])u in c||(c[u]=void 0);s?t.props=o?c:Ju(c):t.type.props?t.props=c:t.props=i,t.attrs=i}function Qf(t,n,s,o){const{props:c,attrs:i,vnode:{patchFlag:u}}=t,h=me(c),[f]=t.propsOptions;let m=!1;if((o||u>0)&&!(u&16)){if(u&8){const _=t.vnode.dynamicProps;for(let v=0;v<_.length;v++){let M=_[v];if(Ls(t.emitsOptions,M))continue;const T=n[M];if(f)if(ge(i,M))T!==i[M]&&(i[M]=T,m=!0);else{const C=Gn(M);c[C]=Ia(f,h,C,T,t,!1)}else T!==i[M]&&(i[M]=T,m=!0)}}}else{kh(t,n,c,i)&&(m=!0);let _;for(const v in h)(!n||!ge(n,v)&&((_=xi(v))===v||!ge(n,_)))&&(f?s&&(s[v]!==void 0||s[_]!==void 0)&&(c[v]=Ia(f,h,v,void 0,t,!0)):delete c[v]);if(i!==h)for(const v in i)(!n||!ge(n,v))&&(delete i[v],m=!0)}m&&nr(t,"set","$attrs")}function kh(t,n,s,o){const[c,i]=t.propsOptions;let u=!1,h;if(n)for(let f in n){if(to(f))continue;const m=n[f];let _;c&&ge(c,_=Gn(f))?!i||!i.includes(_)?s[_]=m:(h||(h={}))[_]=m:Ls(t.emitsOptions,f)||(!(f in o)||m!==o[f])&&(o[f]=m,u=!0)}if(i){const f=me(s),m=h||Te;for(let _=0;_{f=!0;const[M,T]=Lh(v,n,!0);je(u,M),T&&h.push(...T)};!s&&n.mixins.length&&n.mixins.forEach(_),t.extends&&_(t.extends),t.mixins&&t.mixins.forEach(_)}if(!i&&!f)return Oe(t)&&o.set(t,di),di;if(Kt(i))for(let _=0;_-1,T[1]=P<0||C-1||ge(T,"default"))&&h.push(v)}}}const m=[u,h];return Oe(t)&&o.set(t,m),m}function vc(t){return t[0]!=="$"}function bc(t){const n=t&&t.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:t===null?"null":""}function wc(t,n){return bc(t)===bc(n)}function xc(t,n){return Kt(n)?n.findIndex(s=>wc(s,t)):ae(n)&&wc(n,t)?0:-1}const Mh=t=>t[0]==="_"||t==="$stable",hl=t=>Kt(t)?t.map(Pn):[Pn(t)],tm=(t,n,s)=>{if(n._n)return n;const o=ft((...c)=>hl(n(...c)),s);return o._c=!1,o},Ch=(t,n,s)=>{const o=t._ctx;for(const c in t){if(Mh(c))continue;const i=t[c];if(ae(i))n[c]=tm(c,i,o);else if(i!=null){const u=hl(i);n[c]=()=>u}}},Ph=(t,n)=>{const s=hl(n);t.slots.default=()=>s},em=(t,n)=>{if(t.vnode.shapeFlag&32){const s=n._;s?(t.slots=me(n),os(n,"_",s)):Ch(n,t.slots={})}else t.slots={},n&&Ph(t,n);os(t.slots,Ss,1)},nm=(t,n,s)=>{const{vnode:o,slots:c}=t;let i=!0,u=Te;if(o.shapeFlag&32){const h=n._;h?s&&h===1?i=!1:(je(c,n),!s&&h===1&&delete c._):(i=!n.$stable,Ch(n,c)),u=n}else n&&(Ph(t,n),u={default:1});if(i)for(const h in c)!Mh(h)&&!(h in u)&&delete c[h]};function hs(t,n,s,o,c=!1){if(Kt(t)){t.forEach((M,T)=>hs(M,n&&(Kt(n)?n[T]:n),s,o,c));return}if(mi(o)&&!c)return;const i=o.shapeFlag&4?Es(o.component)||o.component.proxy:o.el,u=c?null:i,{i:h,r:f}=t,m=n&&n.r,_=h.refs===Te?h.refs={}:h.refs,v=h.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,h,12,[u,_]);else{const M=De(f),T=Ie(f);if(M||T){const C=()=>{if(t.f){const P=M?ge(v,f)?v[f]:_[f]:f.value;c?Kt(P)&&Ja(P,i):Kt(P)?P.includes(i)||P.push(i):M?(_[f]=[i],ge(v,f)&&(v[f]=_[f])):(f.value=[i],t.k&&(_[t.k]=f.value))}else M?(_[f]=u,ge(v,f)&&(v[f]=u)):T&&(f.value=u,t.k&&(_[t.k]=u))};u?(C.id=-1,an(C,s)):C()}}}let pr=!1;const Ko=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",Jo=t=>t.nodeType===8;function rm(t){const{mt:n,p:s,o:{patchProp:o,createText:c,nextSibling:i,parentNode:u,remove:h,insert:f,createComment:m}}=t,_=(S,A)=>{if(!A.hasChildNodes()){s(null,S,A),ls(),A._vnode=S;return}pr=!1,v(A.firstChild,S,null,null,null),ls(),A._vnode=S,pr&&console.error("Hydration completed but contains mismatches.")},v=(S,A,j,O,z,K=!1)=>{const ot=Jo(S)&&S.data==="[",Y=()=>P(S,A,j,O,z,ot),{type:st,ref:ct,shapeFlag:gt,patchFlag:at}=A;let bt=S.nodeType;A.el=S,at===-2&&(K=!1,A.dynamicChildren=null);let Lt=null;switch(st){case _i:bt!==3?A.children===""?(f(A.el=c(""),u(S),S),Lt=S):Lt=Y():(S.data!==A.children&&(pr=!0,S.data=A.children),Lt=i(S));break;case pn:bt!==8||ot?Lt=Y():Lt=i(S);break;case no:if(ot&&(S=i(S),bt=S.nodeType),bt===1||bt===3){Lt=S;const Et=!A.children.length;for(let Ct=0;Ct{K=K||!!A.dynamicChildren;const{type:ot,props:Y,patchFlag:st,shapeFlag:ct,dirs:gt}=A,at=ot==="input"&>||ot==="option";if(at||st!==-1){if(gt&&jn(A,null,j,"created"),Y)if(at||!K||st&48)for(const Lt in Y)(at&&Lt.endsWith("value")||yo(Lt)&&!to(Lt))&&o(S,Lt,null,Y[Lt],!1,void 0,j);else Y.onClick&&o(S,"onClick",null,Y.onClick,!1,void 0,j);let bt;if((bt=Y&&Y.onVnodeBeforeMount)&&bn(bt,j,A),gt&&jn(A,null,j,"beforeMount"),((bt=Y&&Y.onVnodeMounted)||gt)&&ch(()=>{bt&&bn(bt,j,A),gt&&jn(A,null,j,"mounted")},O),ct&16&&!(Y&&(Y.innerHTML||Y.textContent))){let Lt=T(S.firstChild,A,S,j,O,z,K);for(;Lt;){pr=!0;const Et=Lt;Lt=Lt.nextSibling,h(Et)}}else ct&8&&S.textContent!==A.children&&(pr=!0,S.textContent=A.children)}return S.nextSibling},T=(S,A,j,O,z,K,ot)=>{ot=ot||!!A.dynamicChildren;const Y=A.children,st=Y.length;for(let ct=0;ct{const{slotScopeIds:ot}=A;ot&&(z=z?z.concat(ot):ot);const Y=u(S),st=T(i(S),A,Y,j,O,z,K);return st&&Jo(st)&&st.data==="]"?i(A.anchor=st):(pr=!0,f(A.anchor=m("]"),Y,st),st)},P=(S,A,j,O,z,K)=>{if(pr=!0,A.el=null,K){const st=H(S);for(;;){const ct=i(S);if(ct&&ct!==st)h(ct);else break}}const ot=i(S),Y=u(S);return h(S),s(null,A,Y,ot,j,O,Ko(Y),z),ot},H=S=>{let A=0;for(;S;)if(S=i(S),S&&Jo(S)&&(S.data==="["&&A++,S.data==="]")){if(A===0)return i(S);A--}return S};return[_,v]}const an=ch;function im(t){return om(t,rm)}function om(t,n){const s=Ma();s.__VUE__=!0;const{insert:o,remove:c,patchProp:i,createElement:u,createText:h,createComment:f,setText:m,setElementText:_,parentNode:v,nextSibling:M,setScopeId:T=Tn,insertStaticContent:C}=t,P=(G,W,J,ht=null,yt=null,xt=null,Ot=!1,I=null,w=!!W.dynamicChildren)=>{if(G===W)return;G&&!Hr(G,W)&&(ht=dt(G),Vt(G,yt,xt,!0),G=null),W.patchFlag===-2&&(w=!1,W.dynamicChildren=null);const{type:k,ref:R,shapeFlag:D}=W;switch(k){case _i:H(G,W,J,ht);break;case pn:S(G,W,J,ht);break;case no:G==null&&A(W,J,ht,Ot);break;case $t:at(G,W,J,ht,yt,xt,Ot,I,w);break;default:D&1?z(G,W,J,ht,yt,xt,Ot,I,w):D&6?bt(G,W,J,ht,yt,xt,Ot,I,w):(D&64||D&128)&&k.process(G,W,J,ht,yt,xt,Ot,I,w,St)}R!=null&&yt&&hs(R,G&&G.ref,xt,W||G,!W)},H=(G,W,J,ht)=>{if(G==null)o(W.el=h(W.children),J,ht);else{const yt=W.el=G.el;W.children!==G.children&&m(yt,W.children)}},S=(G,W,J,ht)=>{G==null?o(W.el=f(W.children||""),J,ht):W.el=G.el},A=(G,W,J,ht)=>{[G.el,G.anchor]=C(G.children,W,J,ht,G.el,G.anchor)},j=({el:G,anchor:W},J,ht)=>{let yt;for(;G&&G!==W;)yt=M(G),o(G,J,ht),G=yt;o(W,J,ht)},O=({el:G,anchor:W})=>{let J;for(;G&&G!==W;)J=M(G),c(G),G=J;c(W)},z=(G,W,J,ht,yt,xt,Ot,I,w)=>{Ot=Ot||W.type==="svg",G==null?K(W,J,ht,yt,xt,Ot,I,w):st(G,W,yt,xt,Ot,I,w)},K=(G,W,J,ht,yt,xt,Ot,I)=>{let w,k;const{type:R,props:D,shapeFlag:F,transition:Q,dirs:it}=G;if(w=G.el=u(G.type,xt,D&&D.is,D),F&8?_(w,G.children):F&16&&Y(G.children,w,null,ht,yt,xt&&R!=="foreignObject",Ot,I),it&&jn(G,null,ht,"created"),ot(w,G,G.scopeId,Ot,ht),D){for(const Tt in D)Tt!=="value"&&!to(Tt)&&i(w,Tt,null,D[Tt],xt,G.children,ht,yt,Ft);"value"in D&&i(w,"value",null,D.value),(k=D.onVnodeBeforeMount)&&bn(k,ht,G)}it&&jn(G,null,ht,"beforeMount");const vt=(!yt||yt&&!yt.pendingBranch)&&Q&&!Q.persisted;vt&&Q.beforeEnter(w),o(w,W,J),((k=D&&D.onVnodeMounted)||vt||it)&&an(()=>{k&&bn(k,ht,G),vt&&Q.enter(w),it&&jn(G,null,ht,"mounted")},yt)},ot=(G,W,J,ht,yt)=>{if(J&&T(G,J),ht)for(let xt=0;xt{for(let k=w;k{const I=W.el=G.el;let{patchFlag:w,dynamicChildren:k,dirs:R}=W;w|=G.patchFlag&16;const D=G.props||Te,F=W.props||Te;let Q;J&&zr(J,!1),(Q=F.onVnodeBeforeUpdate)&&bn(Q,J,W,G),R&&jn(W,G,J,"beforeUpdate"),J&&zr(J,!0);const it=yt&&W.type!=="foreignObject";if(k?ct(G.dynamicChildren,k,I,J,ht,it,xt):Ot||wt(G,W,I,null,J,ht,it,xt,!1),w>0){if(w&16)gt(I,W,D,F,J,ht,yt);else if(w&2&&D.class!==F.class&&i(I,"class",null,F.class,yt),w&4&&i(I,"style",D.style,F.style,yt),w&8){const vt=W.dynamicProps;for(let Tt=0;Tt{Q&&bn(Q,J,W,G),R&&jn(W,G,J,"updated")},ht)},ct=(G,W,J,ht,yt,xt,Ot)=>{for(let I=0;I{if(J!==ht){if(J!==Te)for(const I in J)!to(I)&&!(I in ht)&&i(G,I,J[I],null,Ot,W.children,yt,xt,Ft);for(const I in ht){if(to(I))continue;const w=ht[I],k=J[I];w!==k&&I!=="value"&&i(G,I,k,w,Ot,W.children,yt,xt,Ft)}"value"in ht&&i(G,"value",J.value,ht.value)}},at=(G,W,J,ht,yt,xt,Ot,I,w)=>{const k=W.el=G?G.el:h(""),R=W.anchor=G?G.anchor:h("");let{patchFlag:D,dynamicChildren:F,slotScopeIds:Q}=W;Q&&(I=I?I.concat(Q):Q),G==null?(o(k,J,ht),o(R,J,ht),Y(W.children,J,R,yt,xt,Ot,I,w)):D>0&&D&64&&F&&G.dynamicChildren?(ct(G.dynamicChildren,F,J,yt,xt,Ot,I),(W.key!=null||yt&&W===yt.subTree)&&Sh(G,W,!0)):wt(G,W,J,R,yt,xt,Ot,I,w)},bt=(G,W,J,ht,yt,xt,Ot,I,w)=>{W.slotScopeIds=I,G==null?W.shapeFlag&512?yt.ctx.activate(W,J,ht,Ot,w):Lt(W,J,ht,yt,xt,Ot,w):Et(G,W,w)},Lt=(G,W,J,ht,yt,xt,Ot)=>{const I=G.component=mm(G,ht,yt);if(Cs(G)&&(I.ctx.renderer=St),gm(I),I.asyncDep){if(yt&&yt.registerDep(I,Ct),!G.el){const w=I.subTree=rt(pn);S(null,w,W,J)}return}Ct(I,G,W,J,yt,xt,Ot)},Et=(G,W,J)=>{const ht=W.component=G.component;if(Cf(G,W,J))if(ht.asyncDep&&!ht.asyncResolved){Gt(ht,W,J);return}else ht.next=W,bf(ht.update),ht.update();else W.el=G.el,ht.vnode=W},Ct=(G,W,J,ht,yt,xt,Ot)=>{const I=()=>{if(G.isMounted){let{next:R,bu:D,u:F,parent:Q,vnode:it}=G,vt=R,Tt;zr(G,!1),R?(R.el=it.el,Gt(G,R,Ot)):R=it,D&&Yo(D),(Tt=R.props&&R.props.onVnodeBeforeUpdate)&&bn(Tt,Q,R,it),zr(G,!0);const jt=sa(G),Jt=G.subTree;G.subTree=jt,P(Jt,jt,v(Jt.el),dt(Jt),G,yt,xt),R.el=jt.el,vt===null&&Pf(G,jt.el),F&&an(F,yt),(Tt=R.props&&R.props.onVnodeUpdated)&&an(()=>bn(Tt,Q,R,it),yt)}else{let R;const{el:D,props:F}=W,{bm:Q,m:it,parent:vt}=G,Tt=mi(W);if(zr(G,!1),Q&&Yo(Q),!Tt&&(R=F&&F.onVnodeBeforeMount)&&bn(R,vt,W),zr(G,!0),D&&ce){const jt=()=>{G.subTree=sa(G),ce(D,G.subTree,G,yt,null)};Tt?W.type.__asyncLoader().then(()=>!G.isUnmounted&&jt()):jt()}else{const jt=G.subTree=sa(G);P(null,jt,J,ht,G,yt,xt),W.el=jt.el}if(it&&an(it,yt),!Tt&&(R=F&&F.onVnodeMounted)){const jt=W;an(()=>bn(R,vt,jt),yt)}(W.shapeFlag&256||vt&&mi(vt.vnode)&&vt.vnode.shapeFlag&256)&&G.a&&an(G.a,yt),G.isMounted=!0,W=J=ht=null}},w=G.effect=new tl(I,()=>al(k),G.scope),k=G.update=()=>w.run();k.id=G.uid,zr(G,!0),k()},Gt=(G,W,J)=>{W.component=G;const ht=G.vnode.props;G.vnode=W,G.next=null,Qf(G,W.props,ht,J),nm(G,W.children,J),ki(),hc(),Li()},wt=(G,W,J,ht,yt,xt,Ot,I,w=!1)=>{const k=G&&G.children,R=G?G.shapeFlag:0,D=W.children,{patchFlag:F,shapeFlag:Q}=W;if(F>0){if(F&128){Dt(k,D,J,ht,yt,xt,Ot,I,w);return}else if(F&256){pe(k,D,J,ht,yt,xt,Ot,I,w);return}}Q&8?(R&16&&Ft(k,yt,xt),D!==k&&_(J,D)):R&16?Q&16?Dt(k,D,J,ht,yt,xt,Ot,I,w):Ft(k,yt,xt,!0):(R&8&&_(J,""),Q&16&&Y(D,J,ht,yt,xt,Ot,I,w))},pe=(G,W,J,ht,yt,xt,Ot,I,w)=>{G=G||di,W=W||di;const k=G.length,R=W.length,D=Math.min(k,R);let F;for(F=0;FR?Ft(G,yt,xt,!0,!1,D):Y(W,J,ht,yt,xt,Ot,I,w,D)},Dt=(G,W,J,ht,yt,xt,Ot,I,w)=>{let k=0;const R=W.length;let D=G.length-1,F=R-1;for(;k<=D&&k<=F;){const Q=G[k],it=W[k]=w?vr(W[k]):Pn(W[k]);if(Hr(Q,it))P(Q,it,J,null,yt,xt,Ot,I,w);else break;k++}for(;k<=D&&k<=F;){const Q=G[D],it=W[F]=w?vr(W[F]):Pn(W[F]);if(Hr(Q,it))P(Q,it,J,null,yt,xt,Ot,I,w);else break;D--,F--}if(k>D){if(k<=F){const Q=F+1,it=QF)for(;k<=D;)Vt(G[k],yt,xt,!0),k++;else{const Q=k,it=k,vt=new Map;for(k=it;k<=F;k++){const he=W[k]=w?vr(W[k]):Pn(W[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,yt,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,W[Tt])){we=Tt;break}we===void 0?Vt(he,yt,xt,!0):(Xt[we-it]=k+1,we>=be?be=we:te=!0,P(he,W[we],J,null,yt,xt,Ot,I,w),jt++)}const ve=te?sm(Xt):di;for(Tt=ve.length-1,k=Jt-1;k>=0;k--){const he=it+k,we=W[he],Ae=he+1{const{el:xt,type:Ot,transition:I,children:w,shapeFlag:k}=G;if(k&6){Bt(G.component.subTree,W,J,ht);return}if(k&128){G.suspense.move(W,J,ht);return}if(k&64){Ot.move(G,W,J,St);return}if(Ot===$t){o(xt,W,J);for(let D=0;DI.enter(xt),yt);else{const{leave:D,delayLeave:F,afterLeave:Q}=I,it=()=>o(xt,W,J),vt=()=>{D(xt,()=>{it(),Q&&Q()})};F?F(xt,it,vt):vt()}else o(xt,W,J)},Vt=(G,W,J,ht=!1,yt=!1)=>{const{type:xt,props:Ot,ref:I,children:w,dynamicChildren:k,shapeFlag:R,patchFlag:D,dirs:F}=G;if(I!=null&&hs(I,null,J,G,!0),R&256){W.ctx.deactivate(G);return}const Q=R&1&&F,it=!mi(G);let vt;if(it&&(vt=Ot&&Ot.onVnodeBeforeUnmount)&&bn(vt,W,G),R&6)le(G.component,J,ht);else{if(R&128){G.suspense.unmount(J,ht);return}Q&&jn(G,null,W,"beforeUnmount"),R&64?G.type.remove(G,W,J,yt,St,ht):k&&(xt!==$t||D>0&&D&64)?Ft(k,W,J,!1,!0):(xt===$t&&D&384||!yt&&R&16)&&Ft(w,W,J),ht&&Me(G)}(it&&(vt=Ot&&Ot.onVnodeUnmounted)||Q)&&an(()=>{vt&&bn(vt,W,G),Q&&jn(G,null,W,"unmounted")},J)},Me=G=>{const{type:W,el:J,anchor:ht,transition:yt}=G;if(W===$t){fe(J,ht);return}if(W===no){O(G);return}const xt=()=>{c(J),yt&&!yt.persisted&&yt.afterLeave&&yt.afterLeave()};if(G.shapeFlag&1&&yt&&!yt.persisted){const{leave:Ot,delayLeave:I}=yt,w=()=>Ot(J,xt);I?I(G.el,xt,w):w()}else xt()},fe=(G,W)=>{let J;for(;G!==W;)J=M(G),c(G),G=J;c(W)},le=(G,W,J)=>{const{bum:ht,scope:yt,update:xt,subTree:Ot,um:I}=G;ht&&Yo(ht),yt.stop(),xt&&(xt.active=!1,Vt(Ot,G,W,J)),I&&an(I,W),an(()=>{G.isUnmounted=!0},W),W&&W.pendingBranch&&!W.isUnmounted&&G.asyncDep&&!G.asyncResolved&&G.suspenseId===W.pendingId&&(W.deps--,W.deps===0&&W.resolve())},Ft=(G,W,J,ht=!1,yt=!1,xt=0)=>{for(let Ot=xt;OtG.shapeFlag&6?dt(G.component.subTree):G.shapeFlag&128?G.suspense.next():M(G.anchor||G.el),Pt=(G,W,J)=>{G==null?W._vnode&&Vt(W._vnode,null,null,!0):P(W._vnode||null,G,W,null,null,null,J),hc(),ls(),W._vnode=G},St={p:P,um:Vt,m:Bt,r:Me,mt:Lt,mc:Y,pc:wt,pbc:ct,n:dt,o:t};let zt,ce;return n&&([zt,ce]=n(St)),{render:Pt,hydrate:zt,createApp:Jf(Pt,zt)}}function zr({effect:t,update:n},s){t.allowRecurse=n.allowRecurse=s}function Sh(t,n,s=!1){const o=t.children,c=n.children;if(Kt(o)&&Kt(c))for(let i=0;i>1,t[s[h]]0&&(n[o]=s[i-1]),s[i]=o)}}for(i=s.length,u=s[i-1];i-- >0;)s[i]=u,u=n[u];return s}const am=t=>t.__isTeleport,$t=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),pn=Symbol.for("v-cmt"),no=Symbol.for("v-stc"),ro=[];let En=null;function U(t=!1){ro.push(En=t?null:[])}function lm(){ro.pop(),En=ro[ro.length-1]||null}let po=1;function kc(t){po+=t}function Eh(t){return t.dynamicChildren=po>0?En||di:null,lm(),po>0&&En&&En.push(t),t}function nt(t,n,s,o,c,i){return Eh(et(t,n,s,o,c,i,!0))}function At(t,n,s,o,c){return Eh(rt(t,n,s,o,c,!0))}function ds(t){return t?t.__v_isVNode===!0:!1}function Hr(t,n){return t.type===n.type&&t.key===n.key}const Ss="__vInternal",Th=({key:t})=>t??null,Qo=({ref:t,ref_key:n,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?De(t)||Ie(t)||ae(t)?{i:$e,r:t,k:n,f:!!s}:t:null);function et(t,n=null,s=null,o=0,c=null,i=t===$t?0:1,u=!1,h=!1){const f={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Th(n),ref:n&&Qo(n),scopeId:Ms,slotScopeIds:null,children:s,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:o,dynamicProps:c,dynamicChildren:null,appContext:null,ctx:$e};return h?(dl(f,s),i&128&&t.normalize(f)):s&&(f.shapeFlag|=De(s)?8:16),po>0&&!u&&En&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&En.push(f),f}const rt=cm;function cm(t,n=null,s=null,o=0,c=null,i=!1){if((!t||t===yh)&&(t=pn),ds(t)){const h=Mr(t,n,!0);return s&&dl(h,s),po>0&&!i&&En&&(h.shapeFlag&6?En[En.indexOf(t)]=h:En.push(h)),h.patchFlag|=-2,h}if(bm(t)&&(t=t.__vccOpts),n){n=um(n);let{class:h,style:f}=n;h&&!De(h)&&(n.class=Xe(h)),Oe(f)&&(Xu(f)&&!Kt(f)&&(f=je({},f)),n.style=Hn(f))}const u=De(t)?1:Sf(t)?128:am(t)?64:Oe(t)?4:ae(t)?2:0;return et(t,n,s,o,c,u,i,!0)}function um(t){return t?Xu(t)||Ss in t?je({},t):t:null}function Mr(t,n,s=!1){const{props:o,ref:c,patchFlag:i,children:u}=t,h=n?dm(o||{},n):o;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:h,key:h&&Th(h),ref:n&&n.ref?s&&c?Kt(c)?c.concat(Qo(n)):[c,Qo(n)]:Qo(n):c,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:u,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:n&&t.type!==$t?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mr(t.ssContent),ssFallback:t.ssFallback&&Mr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ne(t=" ",n=0){return rt(_i,null,t,n)}function hm(t,n){const s=rt(no,null,t);return s.staticCount=n,s}function Nt(t="",n=!1){return n?(U(),At(pn,null,t)):rt(pn,null,t)}function Pn(t){return t==null||typeof t=="boolean"?rt(pn):Kt(t)?rt($t,null,t.slice()):typeof t=="object"?vr(t):rt(_i,null,String(t))}function vr(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Mr(t)}function dl(t,n){let s=0;const{shapeFlag:o}=t;if(n==null)n=null;else if(Kt(n))s=16;else if(typeof n=="object")if(o&65){const c=n.default;c&&(c._c&&(c._d=!1),dl(t,c()),c._c&&(c._d=!0));return}else{s=32;const c=n._;!c&&!(Ss in n)?n._ctx=$e:c===3&&$e&&($e.slots._===1?n._=1:(n._=2,t.patchFlag|=1024))}else ae(n)?(n={default:n,_ctx:$e},s=32):(n=String(n),o&64?(s=16,n=[ne(n)]):s=8);t.children=n,t.shapeFlag|=s}function dm(...t){const n={};for(let s=0;sFe||$e;let pl,li,Lc="__VUE_INSTANCE_SETTERS__";(li=Ma()[Lc])||(li=Ma()[Lc]=[]),li.push(t=>Fe=t),pl=t=>{li.length>1?li.forEach(n=>n(t)):li[0](t)};const yi=t=>{pl(t),t.scope.on()},$r=()=>{Fe&&Fe.scope.off(),pl(null)};function Ah(t){return t.vnode.shapeFlag&4}let fo=!1;function gm(t,n=!1){fo=n;const{props:s,children:o}=t.vnode,c=Ah(t);Xf(t,s,c,n),em(t,o);const i=c?_m(t,n):void 0;return fo=!1,i}function _m(t,n){const s=t.type;t.accessCache=Object.create(null),t.proxy=ws(new Proxy(t.ctx,Hf));const{setup:o}=s;if(o){const c=t.setupContext=o.length>1?Bh(t):null;yi(t),ki();const i=kr(o,t,0,[t.props,c]);if(Li(),$r(),Au(i)){if(i.then($r,$r),n)return i.then(u=>{Mc(t,u,n)}).catch(u=>{xs(u,t,0)});t.asyncDep=i}else Mc(t,i,n)}else Rh(t,n)}function Mc(t,n,s){ae(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:Oe(n)&&(t.setupState=nh(n)),Rh(t,s)}let Cc;function Rh(t,n,s){const o=t.type;if(!t.render){if(!n&&Cc&&!o.render){const c=o.template||ul(t).template;if(c){const{isCustomElement:i,compilerOptions:u}=t.appContext.config,{delimiters:h,compilerOptions:f}=o,m=je(je({isCustomElement:i,delimiters:h},u),f);o.render=Cc(c,m)}}t.render=o.render||Tn}yi(t),ki(),Uf(t),Li(),$r()}function ym(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(n,s){return cn(t,"get","$attrs"),n[s]}}))}function Bh(t){const n=s=>{t.exposed=s||{}};return{get attrs(){return ym(t)},slots:t.slots,emit:t.emit,expose:n}}function Es(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(nh(ws(t.exposed)),{get(n,s){if(s in n)return n[s];if(s in eo)return eo[s](t)},has(n,s){return s in n||s in eo}}))}function vm(t,n=!0){return ae(t)?t.displayName||t.name:t.name||n&&t.__name}function bm(t){return ae(t)&&"__vccOpts"in t}const se=(t,n)=>_f(t,n,fo);function fl(t,n,s){const o=arguments.length;return o===2?Oe(n)&&!Kt(n)?ds(n)?rt(t,null,[n]):rt(t,n):rt(t,null,n):(o>3?s=Array.prototype.slice.call(arguments,2):o===3&&ds(s)&&(s=[s]),rt(t,n,s))}const wm=Symbol.for("v-scx"),xm=()=>xn(wm),km="3.3.4",Lm="http://www.w3.org/2000/svg",Gr=typeof document<"u"?document:null,Pc=Gr&&Gr.createElement("template"),Mm={insert:(t,n,s)=>{n.insertBefore(t,s||null)},remove:t=>{const n=t.parentNode;n&&n.removeChild(t)},createElement:(t,n,s,o)=>{const c=n?Gr.createElementNS(Lm,t):Gr.createElement(t,s?{is:s}:void 0);return t==="select"&&o&&o.multiple!=null&&c.setAttribute("multiple",o.multiple),c},createText:t=>Gr.createTextNode(t),createComment:t=>Gr.createComment(t),setText:(t,n)=>{t.nodeValue=n},setElementText:(t,n)=>{t.textContent=n},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Gr.querySelector(t),setScopeId(t,n){t.setAttribute(n,"")},insertStaticContent(t,n,s,o,c,i){const u=s?s.previousSibling:n.lastChild;if(c&&(c===i||c.nextSibling))for(;n.insertBefore(c.cloneNode(!0),s),!(c===i||!(c=c.nextSibling)););else{Pc.innerHTML=o?`${t}`:t;const h=Pc.content;if(o){const f=h.firstChild;for(;f.firstChild;)h.appendChild(f.firstChild);h.removeChild(f)}n.insertBefore(h,s)}return[u?u.nextSibling:n.firstChild,s?s.previousSibling:n.lastChild]}};function Cm(t,n,s){const o=t._vtc;o&&(n=(n?[n,...o]:[...o]).join(" ")),n==null?t.removeAttribute("class"):s?t.setAttribute("class",n):t.className=n}function Pm(t,n,s){const o=t.style,c=De(s);if(s&&!c){if(n&&!De(n))for(const i in n)s[i]==null&&Da(o,i,"");for(const i in s)Da(o,i,s[i])}else{const i=o.display;c?n!==s&&(o.cssText=s):n&&t.removeAttribute("style"),"_vod"in t&&(o.display=i)}}const Sc=/\s*!important$/;function Da(t,n,s){if(Kt(s))s.forEach(o=>Da(t,n,o));else if(s==null&&(s=""),n.startsWith("--"))t.setProperty(n,s);else{const o=Sm(t,n);Sc.test(s)?t.setProperty(xi(o),s.replace(Sc,""),"important"):t[o]=s}}const Ec=["Webkit","Moz","ms"],ca={};function Sm(t,n){const s=ca[n];if(s)return s;let o=Gn(n);if(o!=="filter"&&o in t)return ca[n]=o;o=vs(o);for(let c=0;cua||(Bm.then(()=>ua=0),ua=Date.now());function Dm(t,n){const s=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=s.attached)return;wn(zm(o,s.value),n,5,[o])};return s.value=t,s.attached=Im(),s}function zm(t,n){if(Kt(n)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},n.map(o=>c=>!c._stopped&&o&&o(c))}else return n}const Ac=/^on[a-z]/,jm=(t,n,s,o,c=!1,i,u,h,f)=>{n==="class"?Cm(t,o,c):n==="style"?Pm(t,s,o):yo(n)?Ka(n)||Am(t,n,s,o,u):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):Nm(t,n,o,c))?Tm(t,n,o,i,u,h,f):(n==="true-value"?t._trueValue=o:n==="false-value"&&(t._falseValue=o),Em(t,n,o,c))};function Nm(t,n,s,o){return o?!!(n==="innerHTML"||n==="textContent"||n in t&&Ac.test(n)&&ae(s)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&t.tagName==="INPUT"||n==="type"&&t.tagName==="TEXTAREA"||Ac.test(n)&&De(s)?!1:n in t}const fr="transition",qi="animation",Ts=(t,{slots:n})=>fl(Af,Fm(t),n);Ts.displayName="Transition";const Ih={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};Ts.props=je({},dh,Ih);const jr=(t,n=[])=>{Kt(t)?t.forEach(s=>s(...n)):t&&t(...n)},Rc=t=>t?Kt(t)?t.some(n=>n.length>1):t.length>1:!1;function Fm(t){const n={};for(const at in t)at in Ih||(n[at]=t[at]);if(t.css===!1)return n;const{name:s="v",type:o,duration:c,enterFromClass:i=`${s}-enter-from`,enterActiveClass:u=`${s}-enter-active`,enterToClass:h=`${s}-enter-to`,appearFromClass:f=i,appearActiveClass:m=u,appearToClass:_=h,leaveFromClass:v=`${s}-leave-from`,leaveActiveClass:M=`${s}-leave-active`,leaveToClass:T=`${s}-leave-to`}=t,C=Hm(c),P=C&&C[0],H=C&&C[1],{onBeforeEnter:S,onEnter:A,onEnterCancelled:j,onLeave:O,onLeaveCancelled:z,onBeforeAppear:K=S,onAppear:ot=A,onAppearCancelled:Y=j}=n,st=(at,bt,Lt)=>{Nr(at,bt?_:h),Nr(at,bt?m:u),Lt&&Lt()},ct=(at,bt)=>{at._isLeaving=!1,Nr(at,v),Nr(at,T),Nr(at,M),bt&&bt()},gt=at=>(bt,Lt)=>{const Et=at?ot:A,Ct=()=>st(bt,at,Lt);jr(Et,[bt,Ct]),Bc(()=>{Nr(bt,at?f:i),mr(bt,at?_:h),Rc(Et)||Ic(bt,o,P,Ct)})};return je(n,{onBeforeEnter(at){jr(S,[at]),mr(at,i),mr(at,u)},onBeforeAppear(at){jr(K,[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),Um(),mr(at,M),Bc(()=>{at._isLeaving&&(Nr(at,v),mr(at,T),Rc(O)||Ic(at,o,H,Lt))}),jr(O,[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 Hm(t){if(t==null)return null;if(Oe(t))return[ha(t.enter),ha(t.leave)];{const n=ha(t);return[n,n]}}function ha(t){return Pp(t)}function mr(t,n){n.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t._vtc||(t._vtc=new Set)).add(n)}function Nr(t,n){n.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const{_vtc:s}=t;s&&(s.delete(n),s.size||(t._vtc=void 0))}function Bc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Gm=0;function Ic(t,n,s,o){const c=t._endId=++Gm,i=()=>{c===t._endId&&o()};if(s)return setTimeout(i,s);const{type:u,timeout:h,propCount:f}=Vm(t,n);if(!u)return o();const m=u+"end";let _=0;const v=()=>{t.removeEventListener(m,M),i()},M=T=>{T.target===t&&++_>=f&&v()};setTimeout(()=>{_(s[C]||"").split(", "),c=o(`${fr}Delay`),i=o(`${fr}Duration`),u=Dc(c,i),h=o(`${qi}Delay`),f=o(`${qi}Duration`),m=Dc(h,f);let _=null,v=0,M=0;n===fr?u>0&&(_=fr,v=u,M=i.length):n===qi?m>0&&(_=qi,v=m,M=f.length):(v=Math.max(u,m),_=v>0?u>m?fr:qi:null,M=_?_===fr?i.length:f.length:0);const T=_===fr&&/\b(transform|all)(,|$)/.test(o(`${fr}Property`).toString());return{type:_,timeout:v,propCount:M,hasTransform:T}}function Dc(t,n){for(;t.lengthzc(s)+zc(t[o])))}function zc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Um(){return document.body.offsetHeight}const jc=t=>{const n=t.props["onUpdate:modelValue"]||!1;return Kt(n)?s=>Yo(n,s):n};function $m(t){t.target.composing=!0}function Nc(t){const n=t.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Zm={created(t,{modifiers:{lazy:n,trim:s,number:o}},c){t._assign=jc(c);const i=o||c.props&&c.props.type==="number";ui(t,n?"change":"input",u=>{if(u.target.composing)return;let h=t.value;s&&(h=h.trim()),i&&(h=La(h)),t._assign(h)}),s&&ui(t,"change",()=>{t.value=t.value.trim()}),n||(ui(t,"compositionstart",$m),ui(t,"compositionend",Nc),ui(t,"change",Nc))},mounted(t,{value:n}){t.value=n??""},beforeUpdate(t,{value:n,modifiers:{lazy:s,trim:o,number:c}},i){if(t._assign=jc(i),t.composing||document.activeElement===t&&t.type!=="range"&&(s||o&&t.value.trim()===n||(c||t.type==="number")&&La(t.value)===n))return;const u=n??"";t.value!==u&&(t.value=u)}},qm=["ctrl","shift","alt","meta"],Wm={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,n)=>qm.some(s=>t[`${s}Key`]&&!n.includes(s))},ps=(t,n)=>(s,...o)=>{for(let c=0;c{Wi(t,!1)}):Wi(t,n))},beforeUnmount(t,{value:n}){Wi(t,n)}};function Wi(t,n){t.style.display=n?t._vod:"none"}const Km=je({patchProp:jm},Mm);let da,Fc=!1;function Jm(){return da=Fc?da:im(Km),Fc=!0,da}const Ym=(...t)=>{const n=Jm().createApp(...t),{mount:s}=n;return n.mount=o=>{const c=Xm(o);if(c)return s(c,!0,c instanceof SVGElement)},n};function Xm(t){return De(t)?document.querySelector(t):t}function za(t,n={},s){for(const o in t){const c=t[o],i=s?`${s}:${o}`:o;typeof c=="object"&&c!==null?za(c,n,i):typeof c=="function"&&(n[i]=c)}return n}const Qm={run:t=>t()},tg=()=>Qm,Dh=typeof console.createTask<"u"?console.createTask:tg;function eg(t,n){const s=n.shift(),o=Dh(s);return t.reduce((c,i)=>c.then(()=>o.run(()=>i(...n))),Promise.resolve())}function ng(t,n){const s=n.shift(),o=Dh(s);return Promise.all(t.map(c=>o.run(()=>c(...n))))}function pa(t,n){for(const s of[...t])s(n)}class rg{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(n,s,o={}){if(!n||typeof s!="function")return()=>{};const c=n;let i;for(;this._deprecatedHooks[n];)i=this._deprecatedHooks[n],n=i.to;if(i&&!o.allowDeprecated){let u=i.message;u||(u=`${c} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(u)||(console.warn(u),this._deprecatedMessages.add(u))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+n.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[n]=this._hooks[n]||[],this._hooks[n].push(s),()=>{s&&(this.removeHook(n,s),s=void 0)}}hookOnce(n,s){let o,c=(...i)=>(typeof o=="function"&&o(),o=void 0,c=void 0,s(...i));return o=this.hook(n,c),o}removeHook(n,s){if(this._hooks[n]){const o=this._hooks[n].indexOf(s);o!==-1&&this._hooks[n].splice(o,1),this._hooks[n].length===0&&delete this._hooks[n]}}deprecateHook(n,s){this._deprecatedHooks[n]=typeof s=="string"?{to:s}:s;const o=this._hooks[n]||[];delete this._hooks[n];for(const c of o)this.hook(n,c)}deprecateHooks(n){Object.assign(this._deprecatedHooks,n);for(const s in n)this.deprecateHook(s,n[s])}addHooks(n){const s=za(n),o=Object.keys(s).map(c=>this.hook(c,s[c]));return()=>{for(const c of o.splice(0,o.length))c()}}removeHooks(n){const s=za(n);for(const o in s)this.removeHook(o,s[o])}removeAllHooks(){for(const n in this._hooks)delete this._hooks[n]}callHook(n,...s){return s.unshift(n),this.callHookWith(eg,n,...s)}callHookParallel(n,...s){return s.unshift(n),this.callHookWith(ng,n,...s)}callHookWith(n,s,...o){const c=this._before||this._after?{name:s,args:o,context:{}}:void 0;this._before&&pa(this._before,c);const i=n(s in this._hooks?[...this._hooks[s]]:[],o);return i instanceof Promise?i.finally(()=>{this._after&&c&&pa(this._after,c)}):(this._after&&c&&pa(this._after,c),i)}beforeEach(n){return this._before=this._before||[],this._before.push(n),()=>{if(this._before!==void 0){const s=this._before.indexOf(n);s!==-1&&this._before.splice(s,1)}}}afterEach(n){return this._after=this._after||[],this._after.push(n),()=>{if(this._after!==void 0){const s=this._after.indexOf(n);s!==-1&&this._after.splice(s,1)}}}}function ig(){return new rg}function og(t){return Array.isArray(t)?t:[t]}const sg=["title","script","style","noscript"],ts=["base","meta","link","style","script","noscript"],ag=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],lg=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Hc=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"],cg=typeof window<"u";function zh(t){let n=9;for(let s=0;s>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Gc(t){return t._h||zh(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([n,s])=>`${n}:${String(s)}`).join(",")}`)}function jh(t,n){const{props:s,tag:o}=t;if(lg.includes(o))return o;if(o==="link"&&s.rel==="canonical")return"canonical";if(s.charset)return"charset";const c=["id"];o==="meta"&&c.push("name","property","http-equiv");for(const i of c)if(typeof s[i]<"u"){const u=String(s[i]);return n&&!n(u)?!1:`${o}:${i}:${u}`}return!1}function Vc(t,n){return t==null?n||null:typeof t=="function"?t(n):t}async function ug(t,n,s){const o={tag:t,props:{}};return n instanceof Promise&&(n=await n),t==="templateParams"?(o.props=n,o):["title","titleTemplate"].includes(t)?(n&&typeof n=="object"?(o.textContent=n.textContent,n.tagPriority&&(o.tagPriority=n.tagPriority)):o.textContent=n,o):typeof n=="string"?["script","noscript","style"].includes(t)?(t==="script"&&(/^(https?:)?\/\//.test(n)||n.startsWith("/"))?o.props.src=n:o.innerHTML=n,o):!1:(n.body&&(n.tagPosition="bodyClose",delete n.body),n.children&&(n.innerHTML=n.children,delete n.children),o.props=await dg({...n}),Object.keys(o.props).filter(c=>Hc.includes(c)).forEach(c=>{(!["innerHTML","textContent"].includes(c)||sg.includes(o.tag))&&(o[c]=o.props[c]),delete o.props[c]}),Hc.forEach(c=>{!o[c]&&s[c]&&(o[c]=s[c])}),["innerHTML","textContent"].forEach(c=>{if(o.tag==="script"&&typeof o[c]=="string"&&["application/ld+json","application/json"].includes(o.props.type))try{o[c]=JSON.parse(o[c])}catch{o[c]=""}typeof o[c]=="object"&&(o[c]=JSON.stringify(o[c]))}),o.props.class&&(o.props.class=hg(o.props.class)),o.props.content&&Array.isArray(o.props.content)?o.props.content.map(c=>({...o,props:{...o.props,content:c}})):o)}function hg(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(n=>t[n])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(n=>n.trim()).filter(Boolean).join(" ")}async function dg(t){for(const n of Object.keys(t)){const s=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=s?"true":"":String(t[n])==="false"&&(s?t[n]="false":delete t[n])}return t}const pg=10;async function fg(t){const n=[];return Object.entries(t.resolvedInput).filter(([s,o])=>typeof o<"u"&&ag.includes(s)).forEach(([s,o])=>{const c=og(o);n.push(...c.map(i=>ug(s,i,t)).flat())}),(await Promise.all(n)).flat().filter(Boolean).map((s,o)=>(s._e=t._i,t.mode&&(s._m=t.mode),s._p=(t._i<f&&f[m]||void 0,n):h=n[u],typeof h<"u"?h||"":!1}let o=t;try{o=decodeURI(t)}catch{}(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(u=>{const h=s(u.slice(1));typeof h=="string"&&(t=t.replace(new RegExp(`\\${u}(\\W|$)`,"g"),(f,m)=>`${h}${m}`).trim())});const i=n.separator;return t.includes(i)&&(t.endsWith(i)&&(t=t.slice(0,-i.length).trim()),t.startsWith(i)&&(t=t.slice(i.length).trim()),t=t.replace(new RegExp(`\\${i}\\s*\\${i}`,"g"),i)),t}function gg(t){const n={tag:t.tagName.toLowerCase(),props:t.getAttributeNames().reduce((s,o)=>({...s,[o]:t.getAttribute(o)}),{}),innerHTML:t.innerHTML};return n._d=jh(n),n}async function _g(t,n={}){var _;const s=n.document||t.resolvedOptions.document;if(!s)return;const o=(await t.resolveTags()).map(v=>({tag:v,id:ts.includes(v.tag)?Gc(v):v.tag,shouldRender:!0})),c={shouldRender:!0,tags:o};if(await t.hooks.callHook("dom:beforeRender",c),!c.shouldRender)return;let i=t._dom;if(!i){i={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};for(const v of["body","head"]){const M=(_=s==null?void 0:s[v])==null?void 0:_.children;for(const T of[...M].filter(C=>ts.includes(C.tagName.toLowerCase())))i.elMap[T.getAttribute("data-hid")||Gc(gg(T))]=T}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function u(v,M,T){const C=`${v}:${M}`;i.sideEffects[C]=T,delete i.pendingSideEffects[C]}function h({id:v,$el:M,tag:T}){const C=T.tag.endsWith("Attrs");i.elMap[v]=M,C||(["textContent","innerHTML"].forEach(P=>{T[P]&&T[P]!==M[P]&&(M[P]=T[P])}),u(v,"el",()=>{i.elMap[v].remove(),delete i.elMap[v]})),Object.entries(T.props).forEach(([P,H])=>{H=String(H);const S=`attr:${P}`;if(P==="class")for(const A of(H||"").split(" ").filter(Boolean))C&&u(v,`${S}:${A}`,()=>M.classList.remove(A)),!M.classList.contains(A)&&M.classList.add(A);else M.getAttribute(P)!==H&&M.setAttribute(P,H),C&&u(v,S,()=>M.removeAttribute(P))})}const f=[],m={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const v of o){const{tag:M,shouldRender:T,id:C}=v;if(T){if(M.tag==="title"){s.title=M.textContent;continue}v.$el=v.$el||i.elMap[C],v.$el?h(v):ts.includes(M.tag)&&f.push(v)}}for(const v of f){const M=v.tag.tagPosition||"head";v.$el=s.createElement(v.tag.tag),h(v),m[M]=m[M]||s.createDocumentFragment(),m[M].appendChild(v.$el)}for(const v of o)await t.hooks.callHook("dom:renderTag",v,s,u);m.head&&s.head.appendChild(m.head),m.bodyOpen&&s.body.insertBefore(m.bodyOpen,s.body.firstChild),m.bodyClose&&s.body.appendChild(m.bodyClose),Object.values(i.pendingSideEffects).forEach(v=>v()),t._dom=i,await t.hooks.callHook("dom:rendered",{renders:o})}async function yg(t,n={}){const s=n.delayFn||(o=>setTimeout(o,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(o=>s(async()=>{await _g(t,n),delete t._domUpdatePromise,o()}))}function vg(t){return n=>{var o,c;const s=((c=(o=n.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:c.innerHTML)||!1;return s&&n.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":function(i){yg(i,t)}}}}}const bg=["templateParams","htmlAttrs","bodyAttrs"],wg={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(o=>{t.props[o]&&(t.key=t.props[o],delete t.props[o])});const s=jh(t)||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":function(t){const n={};t.tags.forEach(o=>{const c=(o.key?`${o.tag}:${o.key}`:o._d)||o._p,i=n[c];if(i){let h=o==null?void 0:o.tagDuplicateStrategy;if(!h&&bg.includes(o.tag)&&(h="merge"),h==="merge"){const f=i.props;["class","style"].forEach(m=>{o.props[m]&&f[m]&&(m==="style"&&!f[m].endsWith(";")&&(f[m]+=";"),o.props[m]=`${f[m]} ${o.props[m]}`)}),n[c].props={...f,...o.props};return}else if(o._e===i._e){i._duped=i._duped||[],o._d=`${i._d}:${i._duped.length+1}`,i._duped.push(o);return}else if(fs(o)>fs(i))return}const u=Object.keys(o.props).length+(o.innerHTML?1:0)+(o.textContent?1:0);if(ts.includes(o.tag)&&u===0){delete n[c];return}n[c]=o});const s=[];Object.values(n).forEach(o=>{const c=o._duped;delete o._duped,s.push(o),c&&s.push(...c)}),t.tags=s}}},xg=t=>({mode:"server",hooks:{"tags:resolve":function(n){const s={};n.tags.filter(o=>["titleTemplate","templateParams"].includes(o.tag)&&o._m==="server").forEach(o=>{s[o.tag]=o.tag==="titleTemplate"?o.textContent:o.props}),Object.keys(s).length&&n.tags.push({tag:"script",innerHTML:JSON.stringify(s),props:{type:"text/javascript",id:"unhead:payload"}})}}}),Zc=["script","link","bodyAttrs"];function qc(t){const n={},s={};return Object.entries(t.props).forEach(([o,c])=>{o.startsWith("on")&&typeof c=="function"?s[o]=c:n[o]=c}),{props:n,eventHandlers:s}}const kg={hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!Zc.includes(n.tag)||!Object.entries(n.props).find(([s,o])=>s.startsWith("on")&&typeof o=="function")||(n.props=qc(n).props),n))},"tags:resolve":function(t){t.tags=t.tags.map(n=>{if(!Zc.includes(n.tag))return n;const{props:s,eventHandlers:o}=qc(n);return Object.keys(o).length&&(n.props=s,n._eventHandlers=o),n})},"dom:renderTag":function(t,n,s){if(!t.tag._eventHandlers)return;const o=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([c,i])=>{const u=`${t.tag._d||t.tag._p}:${c}`,h=c.slice(2).toLowerCase(),f=`data-h-${h}`;if(s(t.id,u,()=>{}),t.$el.hasAttribute(f))return;const m=i;t.$el.setAttribute(f,""),o.addEventListener(h,m),t.entry&&s(t.id,u,()=>{o.removeEventListener(h,m),t.$el.removeAttribute(f)})})}}},Lg=["link","style","script","noscript"],Mg={hooks:{"tag:normalise":({tag:t})=>{t.key&&Lg.includes(t.tag)&&(t.props["data-hid"]=t._h=zh(t.key))}}},Cg={hooks:{"tags:resolve":t=>{const n=s=>{var o;return(o=t.tags.find(c=>c._d===s))==null?void 0:o._p};for(const{prefix:s,offset:o}of mg)for(const c of t.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(s))){const i=n(c.tagPriority.replace(s,""));typeof i<"u"&&(c._p=i+o)}t.tags.sort((s,o)=>s._p-o._p).sort((s,o)=>fs(s)-fs(o))}}},Pg={hooks:{"tags:resolve":t=>{var i;const{tags:n}=t,s=(i=n.find(u=>u.tag==="title"))==null?void 0:i.textContent,o=n.findIndex(u=>u.tag==="templateParams"),c=o!==-1?n[o].props:{};c.separator=c.separator||"|",c.pageTitle=Ki(c.pageTitle||s||"",c);for(const u of n)if(["titleTemplate","title"].includes(u.tag)&&typeof u.textContent=="string")u.textContent=Ki(u.textContent,c);else if(u.tag==="meta"&&typeof u.props.content=="string")u.props.content=Ki(u.props.content,c);else if(u.tag==="link"&&typeof u.props.href=="string")u.props.href=Ki(u.props.href,c);else if(u.tag==="script"&&["application/json","application/ld+json"].includes(u.props.type)&&typeof u.innerHTML=="string")try{u.innerHTML=JSON.stringify(JSON.parse(u.innerHTML),(h,f)=>typeof f=="string"?Ki(f,c):f)}catch{}t.tags=n.filter(u=>u.tag!=="templateParams")}}},Sg={hooks:{"tags:resolve":t=>{const{tags:n}=t;let s=n.findIndex(c=>c.tag==="titleTemplate");const o=n.findIndex(c=>c.tag==="title");if(o!==-1&&s!==-1){const c=Vc(n[s].textContent,n[o].textContent);c!==null?n[o].textContent=c||n[o].textContent:delete n[o]}else if(s!==-1){const c=Vc(n[s].textContent);c!==null&&(n[s].textContent=c,n[s].tag="title",s=-1)}s!==-1&&delete n[s],t.tags=n.filter(Boolean)}}};let Nh;function Eg(t={}){const n=Tg(t);return n.use(vg()),Nh=n}function Wc(t,n){return!t||t==="server"&&n||t==="client"&&!n}function Tg(t={}){const n=ig();n.addHooks(t.hooks||{}),t.document=t.document||(cg?document:void 0);const s=!t.document;t.plugins=[wg,xg,kg,Mg,Cg,Pg,Sg,...(t==null?void 0:t.plugins)||[]];const o=()=>n.callHook("entries:updated",u);let c=0,i=[];const u={resolvedOptions:t,hooks:n,headEntries(){return i},use(h){const f=typeof h=="function"?h(u):h;Wc(f.mode,s)&&n.addHooks(f.hooks||{})},push(h,f){const m={_i:c++,input:h,...f};return Wc(m.mode,s)&&(i.push(m),o()),{dispose(){i=i.filter(_=>_._i!==m._i),n.callHook("entries:updated",u),o()},patch(_){i=i.map(v=>(v._i===m._i&&(v.input=m.input=_),v)),o()}}},async resolveTags(){const h={tags:[],entries:[...i]};await n.callHook("entries:resolve",h);for(const f of h.entries){const m=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(m):m),f.resolvedInput)for(const _ of await fg(f)){const v={tag:_,entry:f,resolvedOptions:u.resolvedOptions};await n.callHook("tag:normalise",v),h.tags.push(v.tag)}}return await n.callHook("tags:beforeResolve",h),await n.callHook("tags:resolve",h),h.tags},ssr:s};return t.plugins.forEach(h=>u.use(h)),u.hooks.callHook("init",u),u}function Og(){return Nh}function ml(t,n={}){var s;return(s=Og())==null?void 0:s.push(t,n)}const Ag=["title"],Rg={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"},Bg=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),Ig=[Bg],Dg={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"},zg=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),jg=[zg],Fh={__name:"SwitchTheme",setup(t){const n={dark:"dark",light:"light"},s=Zt(null);window!==void 0&&(localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?s.value="dark":s.value="light",He(s,(c,i)=>{document.documentElement.classList.add(c),document.documentElement.classList.remove(i),localStorage.setItem("theme",c)},{immediate:!0}));const o=()=>{s.value===n.dark?s.value=n.light:s.value=n.dark};return(c,i)=>(U(),nt("button",{type:"button",onClick:o,title:s.value===n.light?"Change to dark mode":"Change to light mode"},[s.value===n.dark?(U(),nt("svg",Rg,Ig)):(U(),nt("svg",Dg,jg))],8,Ag))}},Ng=["aria-expanded"],Fg=et("span",{class:"sr-only"},"Open main menu",-1),Hg={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"},Gg={class:"font-normal container mx-auto"},Vg={class:"flex flex-col m-0 p-0 border-t border-base-border"},Ug={__name:"NavbarMobile",setup(t){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:"https://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"}]},s=Zt(!1),o=()=>{s.value=!s.value};return(c,i)=>{const u=pt("IconClose"),h=pt("IconHamburger"),f=pt("router-link"),m=pt("ClientOnly"),_=pt("TrackerReport"),v=pt("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":s.value,onClick:o},[Fg,s.value?(U(),At(u,{key:0})):(U(),At(h,{key:1,class:"w-6 h-6"}))],8,Ng),rt(v,null,{default:ft(()=>[s.value?(U(),nt("div",Hg,[et("nav",Gg,[et("ul",Vg,[(U(!0),nt($t,null,ye(Wt(n),(M,T)=>(U(),nt("li",{key:T,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(Fh,{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 $g(t){try{return new URL(t),!0}catch{return!1}}const Zg={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"},qg={class:"container flex flex-wrap justify-between items-center mx-auto font-medium text-secondary-content"},Wg=["src","alt"],Kg={class:"relative hidden md:flex items-center ml-auto"},Jg={class:"text-sm leading-6 font-normal"},Yg={class:"flex space-x-8"},Xg={class:"flex items-center border-l ml-6 pl-6 border-base-muted border-opacity-50"},Qg={class:"flex items-center ml-2 border-base-muted"},t_={__name:"LayoutHeader",setup(t){const{header_links:n,header_logo_text:s,header_logo_url:o,base_url:c,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:"https://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=$g(o)?o:(c+o).replace("//","/");return(h,f)=>{const m=pt("RouterLink"),_=pt("router-link"),v=pt("ClientOnly"),M=pt("TrackerReport");return U(),nt("header",Zg,[et("div",qg,[rt(m,{to:"/",class:"flex items-center text-primary-content"},{default:ft(()=>[Wt(o)?(U(),nt("img",{key:0,class:"mr-3 h-10",src:Wt(u),alt:Wt(s)},null,8,Wg)):Nt("",!0),et("span",null,Qt(Wt(s)||Wt(i)),1)]),_:1}),rt(Ug),et("div",Kg,[et("nav",Jg,[et("ul",Yg,[(U(!0),nt($t,null,ye(Wt(n),(T,C)=>(U(),nt("li",{key:C},[rt(_,{to:T.link,class:"hover:text-primary-content text-primary-content"},{default:ft(()=>[ne(Qt(T.label),1)]),_:2},1032,["to"])]))),128))])]),et("div",Xg,[rt(v,null,{default:ft(()=>[rt(Fh,{class:"text-primary-content"})]),_:1})]),et("div",Qg,[rt(M,{icon:""})])])])])}}};/*! + * vue-router v4.2.4 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const hi=typeof window<"u";function e_(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Le=Object.assign;function fa(t,n){const s={};for(const o in n){const c=n[o];s[o]=On(c)?c.map(t):t(c)}return s}const io=()=>{},On=Array.isArray,n_=/\/$/,r_=t=>t.replace(n_,"");function ma(t,n,s="/"){let o,c={},i="",u="";const h=n.indexOf("#");let f=n.indexOf("?");return h=0&&(f=-1),f>-1&&(o=n.slice(0,f),i=n.slice(f+1,h>-1?h:n.length),c=t(i)),h>-1&&(o=o||n.slice(0,h),u=n.slice(h,n.length)),o=a_(o??n,s),{fullPath:o+(i&&"?")+i+u,path:o,query:c,hash:u}}function i_(t,n){const s=n.query?t(n.query):"";return n.path+(s&&"?")+s+(n.hash||"")}function Kc(t,n){return!n||!t.toLowerCase().startsWith(n.toLowerCase())?t:t.slice(n.length)||"/"}function o_(t,n,s){const o=n.matched.length-1,c=s.matched.length-1;return o>-1&&o===c&&vi(n.matched[o],s.matched[c])&&Hh(n.params,s.params)&&t(n.query)===t(s.query)&&n.hash===s.hash}function vi(t,n){return(t.aliasOf||t)===(n.aliasOf||n)}function Hh(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const s in t)if(!s_(t[s],n[s]))return!1;return!0}function s_(t,n){return On(t)?Jc(t,n):On(n)?Jc(n,t):t===n}function Jc(t,n){return On(n)?t.length===n.length&&t.every((s,o)=>s===n[o]):t.length===1&&t[0]===n}function a_(t,n){if(t.startsWith("/"))return t;if(!t)return n;const s=n.split("/"),o=t.split("/"),c=o[o.length-1];(c===".."||c===".")&&o.push("");let i=s.length-1,u,h;for(u=0;u1&&i--;else break;return s.slice(0,i).join("/")+"/"+o.slice(u-(u===o.length?1:0)).join("/")}var mo;(function(t){t.pop="pop",t.push="push"})(mo||(mo={}));var oo;(function(t){t.back="back",t.forward="forward",t.unknown=""})(oo||(oo={}));function l_(t){if(!t)if(hi){const n=document.querySelector("base");t=n&&n.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),r_(t)}const c_=/^[^#]+#/;function u_(t,n){return t.replace(c_,"#")+n}function h_(t,n){const s=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:n.behavior,left:o.left-s.left-(n.left||0),top:o.top-s.top-(n.top||0)}}const As=()=>({left:window.pageXOffset,top:window.pageYOffset});function d_(t){let n;if("el"in t){const s=t.el,o=typeof s=="string"&&s.startsWith("#"),c=typeof s=="string"?o?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!c)return;n=h_(c,t)}else n=t;"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 Yc(t,n){return(history.state?history.state.position-n:-1)+t}const ja=new Map;function p_(t,n){ja.set(t,n)}function f_(t){const n=ja.get(t);return ja.delete(t),n}let m_=()=>location.protocol+"//"+location.host;function Gh(t,n){const{pathname:s,search:o,hash:c}=n,i=t.indexOf("#");if(i>-1){let h=c.includes(t.slice(i))?t.slice(i).length:1,f=c.slice(h);return f[0]!=="/"&&(f="/"+f),Kc(f,"")}return Kc(s,t)+o+c}function g_(t,n,s,o){let c=[],i=[],u=null;const h=({state:M})=>{const T=Gh(t,location),C=s.value,P=n.value;let H=0;if(M){if(s.value=T,n.value=M,u&&u===C){u=null;return}H=P?M.position-P.position:0}else o(T);c.forEach(S=>{S(s.value,C,{delta:H,type:mo.pop,direction:H?H>0?oo.forward:oo.back:oo.unknown})})};function f(){u=s.value}function m(M){c.push(M);const T=()=>{const C=c.indexOf(M);C>-1&&c.splice(C,1)};return i.push(T),T}function _(){const{history:M}=window;M.state&&M.replaceState(Le({},M.state,{scroll:As()}),"")}function v(){for(const M of i)M();i=[],window.removeEventListener("popstate",h),window.removeEventListener("beforeunload",_)}return window.addEventListener("popstate",h),window.addEventListener("beforeunload",_,{passive:!0}),{pauseListeners:f,listen:m,destroy:v}}function Xc(t,n,s,o=!1,c=!1){return{back:t,current:n,forward:s,replaced:o,position:window.history.length,scroll:c?As():null}}function __(t){const{history:n,location:s}=window,o={value:Gh(t,s)},c={value:n.state};c.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function i(f,m,_){const v=t.indexOf("#"),M=v>-1?(s.host&&document.querySelector("base")?t:t.slice(v))+f:m_()+t+f;try{n[_?"replaceState":"pushState"](m,"",M),c.value=m}catch(T){console.error(T),s[_?"replace":"assign"](M)}}function u(f,m){const _=Le({},n.state,Xc(c.value.back,f,c.value.forward,!0),m,{position:c.value.position});i(f,_,!0),o.value=f}function h(f,m){const _=Le({},c.value,n.state,{forward:f,scroll:As()});i(_.current,_,!0);const v=Le({},Xc(o.value,f,null),{position:_.position+1},m);i(f,v,!1),o.value=f}return{location:o,state:c,push:h,replace:u}}function Vh(t){t=l_(t);const n=__(t),s=g_(t,n.state,n.location,n.replace);function o(i,u=!0){u||s.pauseListeners(),history.go(i)}const c=Le({location:"",base:t,go:o,createHref:u_.bind(null,t)},n,s);return Object.defineProperty(c,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(c,"state",{enumerable:!0,get:()=>n.state.value}),c}function y_(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),Vh(t)}function v_(t){return typeof t=="string"||t&&typeof t=="object"}function Uh(t){return typeof t=="string"||typeof t=="symbol"}const gr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},$h=Symbol("");var Qc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Qc||(Qc={}));function bi(t,n){return Le(new Error,{type:t,[$h]:!0},n)}function Qn(t,n){return t instanceof Error&&$h in t&&(n==null||!!(t.type&n))}const tu="[^/]+?",b_={sensitive:!1,strict:!1,start:!0,end:!0},w_=/[.+*?^${}()[\]/\\]/g;function x_(t,n){const s=Le({},b_,n),o=[];let c=s.start?"^":"";const i=[];for(const m of t){const _=m.length?[]:[90];s.strict&&!m.length&&(c+="/");for(let v=0;vn.length?n.length===1&&n[0]===40+40?1:-1:0}function L_(t,n){let s=0;const o=t.score,c=n.score;for(;s0&&n[n.length-1]<0}const M_={type:0,value:""},C_=/[a-zA-Z0-9_]/;function P_(t){if(!t)return[[]];if(t==="/")return[[M_]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function n(T){throw new Error(`ERR (${s})/"${m}": ${T}`)}let s=0,o=s;const c=[];let i;function u(){i&&c.push(i),i=[]}let h=0,f,m="",_="";function v(){m&&(s===0?i.push({type:0,value:m}):s===1||s===2||s===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(;h{u(A)}:io}function u(_){if(Uh(_)){const v=o.get(_);v&&(o.delete(_),s.splice(s.indexOf(v),1),v.children.forEach(u),v.alias.forEach(u))}else{const v=s.indexOf(_);v>-1&&(s.splice(v,1),_.record.name&&o.delete(_.record.name),_.children.forEach(u),_.alias.forEach(u))}}function h(){return s}function f(_){let v=0;for(;v=0&&(_.record.path!==s[v].record.path||!Zh(_,s[v]));)v++;s.splice(v,0,_),_.record.name&&!ru(_)&&o.set(_.record.name,_)}function m(_,v){let M,T={},C,P;if("name"in _&&_.name){if(M=o.get(_.name),!M)throw bi(1,{location:_});P=M.record.name,T=Le(nu(v.params,M.keys.filter(A=>!A.optional).map(A=>A.name)),_.params&&nu(_.params,M.keys.map(A=>A.name))),C=M.stringify(T)}else if("path"in _)C=_.path,M=s.find(A=>A.re.test(C)),M&&(T=M.parse(C),P=M.record.name);else{if(M=v.name?o.get(v.name):s.find(A=>A.re.test(v.path)),!M)throw bi(1,{location:_,currentLocation:v});P=M.record.name,T=Le({},v.params,_.params),C=M.stringify(T)}const H=[];let S=M;for(;S;)H.unshift(S.record),S=S.parent;return{name:P,path:C,params:T,matched:H,meta:A_(H)}}return t.forEach(_=>i(_)),{addRoute:i,resolve:m,removeRoute:u,getRoutes:h,getRecordMatcher:c}}function nu(t,n){const s={};for(const o of n)o in t&&(s[o]=t[o]);return s}function T_(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:O_(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function O_(t){const n={},s=t.props||!1;if("component"in t)n.default=s;else for(const o in t.components)n[o]=typeof s=="object"?s[o]:s;return n}function ru(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function A_(t){return t.reduce((n,s)=>Le(n,s.meta),{})}function iu(t,n){const s={};for(const o in t)s[o]=o in n?n[o]:t[o];return s}function Zh(t,n){return n.children.some(s=>s===t||Zh(t,s))}const qh=/#/g,R_=/&/g,B_=/\//g,I_=/=/g,D_=/\?/g,Wh=/\+/g,z_=/%5B/g,j_=/%5D/g,Kh=/%5E/g,N_=/%60/g,Jh=/%7B/g,F_=/%7C/g,Yh=/%7D/g,H_=/%20/g;function gl(t){return encodeURI(""+t).replace(F_,"|").replace(z_,"[").replace(j_,"]")}function G_(t){return gl(t).replace(Jh,"{").replace(Yh,"}").replace(Kh,"^")}function Na(t){return gl(t).replace(Wh,"%2B").replace(H_,"+").replace(qh,"%23").replace(R_,"%26").replace(N_,"`").replace(Jh,"{").replace(Yh,"}").replace(Kh,"^")}function V_(t){return Na(t).replace(I_,"%3D")}function U_(t){return gl(t).replace(qh,"%23").replace(D_,"%3F")}function $_(t){return t==null?"":U_(t).replace(B_,"%2F")}function ms(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Z_(t){const n={};if(t===""||t==="?")return n;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let c=0;ci&&Na(i)):[o&&Na(o)]).forEach(i=>{i!==void 0&&(n+=(n.length?"&":"")+s,i!=null&&(n+="="+i))})}return n}function q_(t){const n={};for(const s in t){const o=t[s];o!==void 0&&(n[s]=On(o)?o.map(c=>c==null?null:""+c):o==null?o:""+o)}return n}const W_=Symbol(""),su=Symbol(""),Rs=Symbol(""),_l=Symbol(""),Fa=Symbol("");function Ji(){let t=[];function n(o){return t.push(o),()=>{const c=t.indexOf(o);c>-1&&t.splice(c,1)}}function s(){t=[]}return{add:n,list:()=>t.slice(),reset:s}}function br(t,n,s,o,c){const i=o&&(o.enterCallbacks[c]=o.enterCallbacks[c]||[]);return()=>new Promise((u,h)=>{const f=v=>{v===!1?h(bi(4,{from:s,to:n})):v instanceof Error?h(v):v_(v)?h(bi(2,{from:n,to:v})):(i&&o.enterCallbacks[c]===i&&typeof v=="function"&&i.push(v),u())},m=t.call(o&&o.instances[c],n,s,f);let _=Promise.resolve(m);t.length<3&&(_=_.then(f)),_.catch(v=>h(v))})}function ga(t,n,s,o){const c=[];for(const i of t)for(const u in i.components){let h=i.components[u];if(!(n!=="beforeRouteEnter"&&!i.instances[u]))if(K_(h)){const m=(h.__vccOpts||h)[n];m&&c.push(br(m,s,o,i,u))}else{let f=h();c.push(()=>f.then(m=>{if(!m)return Promise.reject(new Error(`Couldn't resolve component "${u}" at "${i.path}"`));const _=e_(m)?m.default:m;i.components[u]=_;const M=(_.__vccOpts||_)[n];return M&&br(M,s,o,i,u)()}))}}return c}function K_(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function au(t){const n=xn(Rs),s=xn(_l),o=se(()=>n.resolve(Wt(t.to))),c=se(()=>{const{matched:f}=o.value,{length:m}=f,_=f[m-1],v=s.matched;if(!_||!v.length)return-1;const M=v.findIndex(vi.bind(null,_));if(M>-1)return M;const T=lu(f[m-2]);return m>1&&lu(_)===T&&v[v.length-1].path!==T?v.findIndex(vi.bind(null,f[m-2])):M}),i=se(()=>c.value>-1&&Q_(s.params,o.value.params)),u=se(()=>c.value>-1&&c.value===s.matched.length-1&&Hh(s.params,o.value.params));function h(f={}){return X_(f)?n[Wt(t.replace)?"replace":"push"](Wt(t.to)).catch(io):Promise.resolve()}return{route:o,href:se(()=>o.value.href),isActive:i,isExactActive:u,navigate:h}}const J_=mh({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:au,setup(t,{slots:n}){const s=vo(au(t)),{options:o}=xn(Rs),c=se(()=>({[cu(t.activeClass,o.linkActiveClass,"router-link-active")]:s.isActive,[cu(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const i=n.default&&n.default(s);return t.custom?i:fl("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:c.value},i)}}}),Y_=J_;function X_(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function Q_(t,n){for(const s in n){const o=n[s],c=t[s];if(typeof o=="string"){if(o!==c)return!1}else if(!On(c)||c.length!==o.length||o.some((i,u)=>i!==c[u]))return!1}return!0}function lu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const cu=(t,n,s)=>t??n??s,ty=mh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:n,slots:s}){const o=xn(Fa),c=se(()=>t.route||o.value),i=xn(su,0),u=se(()=>{let m=Wt(i);const{matched:_}=c.value;let v;for(;(v=_[m])&&!v.components;)m++;return m}),h=se(()=>c.value.matched[u.value]);Xo(su,se(()=>u.value+1)),Xo(W_,h),Xo(Fa,c);const f=Zt();return He(()=>[f.value,h.value,t.name],([m,_,v],[M,T,C])=>{_&&(_.instances[v]=m,T&&T!==_&&m&&m===M&&(_.leaveGuards.size||(_.leaveGuards=T.leaveGuards),_.updateGuards.size||(_.updateGuards=T.updateGuards))),m&&_&&(!T||!vi(_,T)||!M)&&(_.enterCallbacks[v]||[]).forEach(P=>P(m))},{flush:"post"}),()=>{const m=c.value,_=t.name,v=h.value,M=v&&v.components[_];if(!M)return uu(s.default,{Component:M,route:m});const T=v.props[_],C=T?T===!0?m.params:typeof T=="function"?T(m):T:null,H=fl(M,Le({},C,n,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(v.instances[_]=null)},ref:f}));return uu(s.default,{Component:H,route:m})||H}}});function uu(t,n){if(!t)return null;const s=t(n);return s.length===1?s[0]:s}const ey=ty;function ny(t){const n=E_(t.routes,t),s=t.parseQuery||Z_,o=t.stringifyQuery||ou,c=t.history,i=Ji(),u=Ji(),h=Ji(),f=uf(gr);let m=gr;hi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=fa.bind(null,dt=>""+dt),v=fa.bind(null,$_),M=fa.bind(null,ms);function T(dt,Pt){let St,zt;return Uh(dt)?(St=n.getRecordMatcher(dt),zt=Pt):zt=dt,n.addRoute(zt,St)}function C(dt){const Pt=n.getRecordMatcher(dt);Pt&&n.removeRoute(Pt)}function P(){return n.getRoutes().map(dt=>dt.record)}function H(dt){return!!n.getRecordMatcher(dt)}function S(dt,Pt){if(Pt=Le({},Pt||f.value),typeof dt=="string"){const J=ma(s,dt,Pt.path),ht=n.resolve({path:J.path},Pt),yt=c.createHref(J.fullPath);return Le(J,ht,{params:M(ht.params),hash:ms(J.hash),redirectedFrom:void 0,href:yt})}let St;if("path"in dt)St=Le({},dt,{path:ma(s,dt.path,Pt.path).path});else{const J=Le({},dt.params);for(const ht in J)J[ht]==null&&delete J[ht];St=Le({},dt,{params:v(J)}),Pt.params=v(Pt.params)}const zt=n.resolve(St,Pt),ce=dt.hash||"";zt.params=_(M(zt.params));const G=i_(o,Le({},dt,{hash:G_(ce),path:zt.path})),W=c.createHref(G);return Le({fullPath:G,hash:ce,query:o===ou?q_(dt.query):dt.query||{}},zt,{redirectedFrom:void 0,href:W})}function A(dt){return typeof dt=="string"?ma(s,dt,f.value.path):Le({},dt)}function j(dt,Pt){if(m!==dt)return bi(8,{from:Pt,to:dt})}function O(dt){return ot(dt)}function z(dt){return O(Le(A(dt),{replace:!0}))}function K(dt){const Pt=dt.matched[dt.matched.length-1];if(Pt&&Pt.redirect){const{redirect:St}=Pt;let zt=typeof St=="function"?St(dt):St;return typeof zt=="string"&&(zt=zt.includes("?")||zt.includes("#")?zt=A(zt):{path:zt},zt.params={}),Le({query:dt.query,hash:dt.hash,params:"path"in zt?{}:dt.params},zt)}}function ot(dt,Pt){const St=m=S(dt),zt=f.value,ce=dt.state,G=dt.force,W=dt.replace===!0,J=K(St);if(J)return ot(Le(A(J),{state:typeof J=="object"?Le({},ce,J.state):ce,force:G,replace:W}),Pt||St);const ht=St;ht.redirectedFrom=Pt;let yt;return!G&&o_(o,zt,St)&&(yt=bi(16,{to:ht,from:zt}),Bt(zt,zt,!0,!1)),(yt?Promise.resolve(yt):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:W},A(xt.to),{state:typeof xt.to=="object"?Le({},ce,xt.to.state):ce,force:G}),Pt||ht)}else xt=at(ht,zt,!0,W,ce);return gt(ht,zt,xt),xt})}function Y(dt,Pt){const St=j(dt,Pt);return St?Promise.reject(St):Promise.resolve()}function st(dt){const Pt=fe.values().next().value;return Pt&&typeof Pt.runWithContext=="function"?Pt.runWithContext(dt):dt()}function ct(dt,Pt){let St;const[zt,ce,G]=ry(dt,Pt);St=ga(zt.reverse(),"beforeRouteLeave",dt,Pt);for(const J of zt)J.leaveGuards.forEach(ht=>{St.push(br(ht,dt,Pt))});const W=Y.bind(null,dt,Pt);return St.push(W),Ft(St).then(()=>{St=[];for(const J of i.list())St.push(br(J,dt,Pt));return St.push(W),Ft(St)}).then(()=>{St=ga(ce,"beforeRouteUpdate",dt,Pt);for(const J of ce)J.updateGuards.forEach(ht=>{St.push(br(ht,dt,Pt))});return St.push(W),Ft(St)}).then(()=>{St=[];for(const J of G)if(J.beforeEnter)if(On(J.beforeEnter))for(const ht of J.beforeEnter)St.push(br(ht,dt,Pt));else St.push(br(J.beforeEnter,dt,Pt));return St.push(W),Ft(St)}).then(()=>(dt.matched.forEach(J=>J.enterCallbacks={}),St=ga(G,"beforeRouteEnter",dt,Pt),St.push(W),Ft(St))).then(()=>{St=[];for(const J of u.list())St.push(br(J,dt,Pt));return St.push(W),Ft(St)}).catch(J=>Qn(J,8)?J:Promise.reject(J))}function gt(dt,Pt,St){h.list().forEach(zt=>st(()=>zt(dt,Pt,St)))}function at(dt,Pt,St,zt,ce){const G=j(dt,Pt);if(G)return G;const W=Pt===gr,J=hi?history.state:{};St&&(zt||W?c.replace(dt.fullPath,Le({scroll:W&&J&&J.scroll},ce)):c.push(dt.fullPath,ce)),f.value=dt,Bt(dt,Pt,St,W),Dt()}let bt;function Lt(){bt||(bt=c.listen((dt,Pt,St)=>{if(!le.listening)return;const zt=S(dt),ce=K(zt);if(ce){ot(Le(ce,{replace:!0}),zt).catch(io);return}m=zt;const G=f.value;hi&&p_(Yc(G.fullPath,St.delta),As()),ct(zt,G).catch(W=>Qn(W,12)?W:Qn(W,2)?(ot(W.to,zt).then(J=>{Qn(J,20)&&!St.delta&&St.type===mo.pop&&c.go(-1,!1)}).catch(io),Promise.reject()):(St.delta&&c.go(-St.delta,!1),wt(W,zt,G))).then(W=>{W=W||at(zt,G,!1),W&&(St.delta&&!Qn(W,8)?c.go(-St.delta,!1):St.type===mo.pop&&Qn(W,20)&&c.go(-1,!1)),gt(zt,G,W)}).catch(io)}))}let Et=Ji(),Ct=Ji(),Gt;function wt(dt,Pt,St){Dt(dt);const zt=Ct.list();return zt.length?zt.forEach(ce=>ce(dt,Pt,St)):console.error(dt),Promise.reject(dt)}function pe(){return Gt&&f.value!==gr?Promise.resolve():new Promise((dt,Pt)=>{Et.add([dt,Pt])})}function Dt(dt){return Gt||(Gt=!dt,Lt(),Et.list().forEach(([Pt,St])=>dt?St(dt):Pt()),Et.reset()),dt}function Bt(dt,Pt,St,zt){const{scrollBehavior:ce}=t;if(!hi||!ce)return Promise.resolve();const G=!St&&f_(Yc(dt.fullPath,0))||(zt||!St)&&history.state&&history.state.scroll||null;return ks().then(()=>ce(dt,Pt,G)).then(W=>W&&d_(W)).catch(W=>wt(W,dt,Pt))}const Vt=dt=>c.go(dt);let Me;const fe=new Set,le={currentRoute:f,listening:!0,addRoute:T,removeRoute:C,hasRoute:H,getRoutes:P,resolve:S,options:t,push:O,replace:z,go:Vt,back:()=>Vt(-1),forward:()=>Vt(1),beforeEach:i.add,beforeResolve:u.add,afterEach:h.add,onError:Ct.add,isReady:pe,install(dt){const Pt=this;dt.component("RouterLink",Y_),dt.component("RouterView",ey),dt.config.globalProperties.$router=Pt,Object.defineProperty(dt.config.globalProperties,"$route",{enumerable:!0,get:()=>Wt(f)}),hi&&!Me&&f.value===gr&&(Me=!0,O(c.location).catch(ce=>{}));const St={};for(const ce in gr)Object.defineProperty(St,ce,{get:()=>f.value[ce],enumerable:!0});dt.provide(Rs,Pt),dt.provide(_l,Ju(St)),dt.provide(Fa,f);const zt=dt.unmount;fe.add(dt),dt.unmount=function(){fe.delete(dt),fe.size<1&&(m=gr,bt&&bt(),bt=null,f.value=gr,Me=!1,Gt=!1),zt()}}};function Ft(dt){return dt.reduce((Pt,St)=>Pt.then(()=>st(St)),Promise.resolve())}return le}function ry(t,n){const s=[],o=[],c=[],i=Math.max(n.matched.length,t.matched.length);for(let u=0;uvi(m,h))?o.push(h):s.push(h));const f=t.matched[u];f&&(n.matched.find(m=>vi(m,f))||c.push(f))}return[s,o,c]}function Xh(){return xn(Rs)}function Qh(){return xn(_l)}const iy={key:0},oy={__name:"FooterAnalytics",setup(t){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"},o=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:"https://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(c=>n[c]).filter(Boolean).join("; ");return(c,i)=>Wt(o)?(U(),nt("span",iy,"This site use "+Qt(Wt(o))+".",1)):Nt("",!0)}},sy={class:"footer text-white bottom-0 border-gray-200 bg-zinc-800 pl-4 pr-4"},ay={class:"container mx-auto text-sm pt-2 pb-4"},ly={class:"pt-4 pb-2"},cy={key:0},uy=["href"],hy={class:"flex items-center text-xs gap-2"},dy=["src"],py=et("hr",{class:"mt-3 mb-3 border-gray-500"},null,-1),fy={class:"flex flex-col sm:flex-row justify-between gap-4"},my={class:"[&>*:not(:last-child)]:after:content-['|'] [&>*:not(:last-child)]:after:mx-1"},gy=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),_y=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),yy=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),vy={__name:"LayoutFooter",setup(t){const{project_authors:n,project_citation:s,project_url:o,copyright_text:c,copyright_image:i,copyright_image_link:u,hash_mode:h}={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:"https://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=Qh(),_=se(()=>{const v=(o||"").replace(/\/$/,"");return v.length?h?v+"/#"+m.fullPath:v+m.fullPath:""});return(v,M)=>{const T=pt("ClientOnly"),C=pt("TrackerReport");return U(),nt("footer",sy,[et("div",ay,[et("div",ly,[ne(Qt(Wt(n))+" "+Qt(Wt(s))+". ",1),rt(T,null,{default:ft(()=>[et("span",null,"Retrieved on "+Qt(Wt(f)),1)]),_:1}),_.value?(U(),nt("span",cy,[ne(" at "),et("a",{class:"text-secondary-color",href:_.value},Qt(_.value),9,uy)])):Nt("",!0)]),et("div",hy,[(U(),At(Mi(Wt(u)?"a":"span"),{href:Wt(u),class:"min-w-fit"},{default:ft(()=>[Wt(i)?(U(),nt("img",{key:0,src:Wt(i),alt:"copyright"},null,8,dy)):Nt("",!0)]),_:1},8,["href"])),et("span",null,Qt(Wt(c)),1)]),py,et("div",fy,[et("div",my,[gy,_y,yy,rt(oy,{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"})])])])}}},by={class:"min-h-screen h-screen flex flex-col justify-between"},wy={class:"flex flex-col flex-grow"},xy={__name:"Application",setup(t){return(n,s)=>(U(),nt("div",by,[et("div",wy,[rt(t_),Se(n.$slots,"default")]),rt(vy)]))}},ky={__name:"App",setup(t){return ml({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,s)=>{const o=pt("router-view");return U(),At(xy,null,{default:ft(()=>[rt(o)]),_:1})}}},re=(t,n)=>{const s=t.__vccOpts||t;for(const[o,c]of n)s[o]=c;return s},Ly={},My={class:"mx-auto"},Cy=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),Py=[Cy];function Sy(t,n){return U(),nt("div",My,Py)}const Ey=re(Ly,[["render",Sy]]);function td(t){const n={...t};for(const s in t){const o=t[s];(!o||Array.isArray(o)&&!o.length)&&delete n[s]}return n}function Ty(t,n){const{hash_mode:s,base_url:o=""}={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:"https://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=(o+(s?"/#"+n:n)).replaceAll("//","/");return[t,c].join("")}function Oy({id:t,childTaxon:n,parentTaxon:s,taxonRank:o,name:c,scientificName:i,identifier:u,commonNames:h,alternateName:f},{host:m}){return td({"@type":"Taxon","@id":Ty(m,t),"http://purl.org/dc/terms/conformsTo":{"@id":"https://bioschemas.org/profiles/Taxon/1.0-RELEASE"},additionalType:["dwc:Taxon","http://rs.tdwg.org/ontology/voc/TaxonConcept#TaxonConcept"],"dwc:vernacularName":By(h),name:c,alternateName:f.map(_=>_.replaceAll(/<\/?i>/g,"")),childTaxon:n,scientificName:Ay(i),identifier:u,taxonRank:o,parentTaxon:Ry(s)})}function Ay({name:t,author:n,taxonRank:s}){return td({"@type":"TaxonName",author:n,name:t,taxonRank:s})}function Ry({name:t,taxonRank:n}){return{"@type":"Taxon",name:t,taxonRank:n}}function By(t){return t.map(({name:n,language:s})=>({"@language":s,"@value":n}))}function Iy(t){switch(t){case"taxon":return Oy;default:return()=>({})}}function Dy(t,{host:n}){return Iy(t._resolver)(t,{host:n})}function zy({host:t}){return{hooks:{"tags:resolve":async function(n){for(const s of n.tags)s.tag==="script"&&s.key==="schema-org-graph"&&(s.innerHTML=JSON.stringify({"@context":"https://schema.org","@graph":s.props.nodes.map(o=>Dy(o,{host:t}))},null,2),delete s.props.nodes)}}}}var jy=!1;/*! + * pinia v2.1.6 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let ed;const Bs=t=>ed=t,nd=Symbol();function Ha(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var so;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(so||(so={}));function Ny(){const t=ju(!0),n=t.run(()=>Zt({}));let s=[],o=[];const c=ws({install(i){Bs(c),c._a=i,i.provide(nd,c),i.config.globalProperties.$pinia=c,o.forEach(u=>s.push(u)),o=[]},use(i){return!this._a&&!jy?o.push(i):s.push(i),this},_p:s,_a:null,_e:t,_s:new Map,state:n});return c}const rd=()=>{};function hu(t,n,s,o=rd){t.push(n);const c=()=>{const i=t.indexOf(n);i>-1&&(t.splice(i,1),o())};return!s&&Nu()&&Ip(c),c}function ci(t,...n){t.slice().forEach(s=>{s(...n)})}const Fy=t=>t();function Ga(t,n){t instanceof Map&&n instanceof Map&&n.forEach((s,o)=>t.set(o,s)),t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(const s in n){if(!n.hasOwnProperty(s))continue;const o=n[s],c=t[s];Ha(c)&&Ha(o)&&t.hasOwnProperty(s)&&!Ie(o)&&!xr(o)?t[s]=Ga(c,o):t[s]=o}return t}const Hy=Symbol();function Gy(t){return!Ha(t)||!t.hasOwnProperty(Hy)}const{assign:yr}=Object;function Vy(t){return!!(Ie(t)&&t.effect)}function Uy(t,n,s,o){const{state:c,actions:i,getters:u}=n,h=s.state.value[t];let f;function m(){h||(s.state.value[t]=c?c():{});const _=pf(s.state.value[t]);return yr(_,i,Object.keys(u||{}).reduce((v,M)=>(v[M]=ws(se(()=>{Bs(s);const T=s._s.get(t);return u[M].call(T,T)})),v),{}))}return f=id(t,m,n,s,o,!0),f}function id(t,n,s={},o,c,i){let u;const h=yr({actions:{}},s),f={deep:!0};let m,_,v=[],M=[],T;const C=o.state.value[t];!i&&!C&&(o.state.value[t]={}),Zt({});let P;function H(Y){let st;m=_=!1,typeof Y=="function"?(Y(o.state.value[t]),st={type:so.patchFunction,storeId:t,events:T}):(Ga(o.state.value[t],Y),st={type:so.patchObject,payload:Y,storeId:t,events:T});const ct=P=Symbol();ks().then(()=>{P===ct&&(m=!0)}),_=!0,ci(v,st,o.state.value[t])}const S=i?function(){const{state:st}=s,ct=st?st():{};this.$patch(gt=>{yr(gt,ct)})}:rd;function A(){u.stop(),v=[],M=[],o._s.delete(t)}function j(Y,st){return function(){Bs(o);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===t?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 O={_p:o,$id:t,$onAction:hu.bind(null,M),$patch:H,$reset:S,$subscribe(Y,st={}){const ct=hu(v,Y,st.detached,()=>gt()),gt=u.run(()=>He(()=>o.state.value[t],at=>{(st.flush==="sync"?_:m)&&Y({storeId:t,type:so.direct,events:T},at)},yr({},f,st)));return ct},$dispose:A},z=vo(O);o._s.set(t,z);const K=o._a&&o._a.runWithContext||Fy,ot=o._e.run(()=>(u=ju(),K(()=>u.run(n))));for(const Y in ot){const st=ot[Y];if(Ie(st)&&!Vy(st)||xr(st))i||(C&&Gy(st)&&(Ie(st)?st.value=C[Y]:Ga(st,C[Y])),o.state.value[t][Y]=st);else if(typeof st=="function"){const ct=j(Y,st);ot[Y]=ct,h.actions[Y]=st}}return yr(z,ot),yr(me(z),ot),Object.defineProperty(z,"$state",{get:()=>o.state.value[t],set:Y=>{H(st=>{yr(st,Y)})}}),o._p.forEach(Y=>{yr(z,u.run(()=>Y({store:z,app:o._a,pinia:o,options:h})))}),C&&i&&s.hydrate&&s.hydrate(z.$state,C),m=!0,_=!0,z}function Is(t,n,s){let o,c;const i=typeof n=="function";typeof t=="string"?(o=t,c=i?s:n):(c=t,o=t.id);function u(h,f){const m=Yf();return h=h||(m?xn(nd,null):null),h&&Bs(h),h=ed,h._s.has(o)||(i?id(o,n,c,h):Uy(o,c,h)),h._s.get(o)}return u.$id=o,u}const $y={},Zy={class:"container mx-auto text-center relative top-1/4"},qy=et("h1",{class:"text-4xl sm:text-5xl text-base-lighter"}," Welcome to TaxonPages ",-1),Wy=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),Ky=[qy,Wy];function Jy(t,n){return U(),nt("div",Zy,Ky)}const Yy=re($y,[["render",Jy]]),Xy=[{name:"homepage",path:"/",alias:"/home",component:Yy}],Qy={},tv={class:"container mx-auto text-center relative top-1/4"},ev=et("h1",{class:"text-7xl text-base-lighter"},"500",-1),nv=et("p",null,"Internal Server Error.",-1),rv=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),iv=[ev,nv,rv];function ov(t,n){return U(),nt("div",tv,iv)}const sv=re(Qy,[["render",ov]]),av={},lv={class:"container mx-auto text-center relative top-1/4"},cv=et("h1",{class:"text-7xl text-base-lighter"},"404",-1),uv=et("p",null,"Page not found.",-1),hv=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),dv=[cv,uv,hv];function pv(t,n){return U(),nt("div",lv,dv)}const fv=re(av,[["render",pv]]),mv=[{path:"/500",name:"httpError500",component:sv},{path:"/:pathMatch(.*)*",name:"httpError400",component:fv}];function od(t,n){return function(){return t.apply(n,arguments)}}const{toString:gv}=Object.prototype,{getPrototypeOf:yl}=Object,Ds=(t=>n=>{const s=gv.call(n);return t[s]||(t[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),Vn=t=>(t=t.toLowerCase(),n=>Ds(n)===t),zs=t=>n=>typeof n===t,{isArray:Ci}=Array,go=zs("undefined");function _v(t){return t!==null&&!go(t)&&t.constructor!==null&&!go(t.constructor)&&kn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const sd=Vn("ArrayBuffer");function yv(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&sd(t.buffer),n}const vv=zs("string"),kn=zs("function"),ad=zs("number"),js=t=>t!==null&&typeof t=="object",bv=t=>t===!0||t===!1,es=t=>{if(Ds(t)!=="object")return!1;const n=yl(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},wv=Vn("Date"),xv=Vn("File"),kv=Vn("Blob"),Lv=Vn("FileList"),Mv=t=>js(t)&&kn(t.pipe),Cv=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||kn(t.append)&&((n=Ds(t))==="formdata"||n==="object"&&kn(t.toString)&&t.toString()==="[object FormData]"))},Pv=Vn("URLSearchParams"),Sv=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wo(t,n,{allOwnKeys:s=!1}={}){if(t===null||typeof t>"u")return;let o,c;if(typeof t!="object"&&(t=[t]),Ci(t))for(o=0,c=t.length;o0;)if(c=s[o],n===c.toLowerCase())return c;return null}const cd=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ud=t=>!go(t)&&t!==cd;function Va(){const{caseless:t}=ud(this)&&this||{},n={},s=(o,c)=>{const i=t&&ld(n,c)||c;es(n[i])&&es(o)?n[i]=Va(n[i],o):es(o)?n[i]=Va({},o):Ci(o)?n[i]=o.slice():n[i]=o};for(let o=0,c=arguments.length;o(wo(n,(c,i)=>{s&&kn(c)?t[i]=od(c,s):t[i]=c},{allOwnKeys:o}),t),Tv=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ov=(t,n,s,o)=>{t.prototype=Object.create(n.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}),s&&Object.assign(t.prototype,s)},Av=(t,n,s,o)=>{let c,i,u;const h={};if(n=n||{},t==null)return n;do{for(c=Object.getOwnPropertyNames(t),i=c.length;i-- >0;)u=c[i],(!o||o(u,t,n))&&!h[u]&&(n[u]=t[u],h[u]=!0);t=s!==!1&&yl(t)}while(t&&(!s||s(t,n))&&t!==Object.prototype);return n},Rv=(t,n,s)=>{t=String(t),(s===void 0||s>t.length)&&(s=t.length),s-=n.length;const o=t.indexOf(n,s);return o!==-1&&o===s},Bv=t=>{if(!t)return null;if(Ci(t))return t;let n=t.length;if(!ad(n))return null;const s=new Array(n);for(;n-- >0;)s[n]=t[n];return s},Iv=(t=>n=>t&&n instanceof t)(typeof Uint8Array<"u"&&yl(Uint8Array)),Dv=(t,n)=>{const o=(t&&t[Symbol.iterator]).call(t);let c;for(;(c=o.next())&&!c.done;){const i=c.value;n.call(t,i[0],i[1])}},zv=(t,n)=>{let s;const o=[];for(;(s=t.exec(n))!==null;)o.push(s);return o},jv=Vn("HTMLFormElement"),Nv=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,o,c){return o.toUpperCase()+c}),du=(({hasOwnProperty:t})=>(n,s)=>t.call(n,s))(Object.prototype),Fv=Vn("RegExp"),hd=(t,n)=>{const s=Object.getOwnPropertyDescriptors(t),o={};wo(s,(c,i)=>{n(c,i,t)!==!1&&(o[i]=c)}),Object.defineProperties(t,o)},Hv=t=>{hd(t,(n,s)=>{if(kn(t)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const o=t[s];if(kn(o)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},Gv=(t,n)=>{const s={},o=c=>{c.forEach(i=>{s[i]=!0})};return Ci(t)?o(t):o(String(t).split(n)),s},Vv=()=>{},Uv=(t,n)=>(t=+t,Number.isFinite(t)?t:n),_a="abcdefghijklmnopqrstuvwxyz",pu="0123456789",dd={DIGIT:pu,ALPHA:_a,ALPHA_DIGIT:_a+_a.toUpperCase()+pu},$v=(t=16,n=dd.ALPHA_DIGIT)=>{let s="";const{length:o}=n;for(;t--;)s+=n[Math.random()*o|0];return s};function Zv(t){return!!(t&&kn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const qv=t=>{const n=new Array(10),s=(o,c)=>{if(js(o)){if(n.indexOf(o)>=0)return;if(!("toJSON"in o)){n[c]=o;const i=Ci(o)?[]:{};return wo(o,(u,h)=>{const f=s(u,c+1);!go(f)&&(i[h]=f)}),n[c]=void 0,i}}return o};return s(t,0)},Wv=Vn("AsyncFunction"),Kv=t=>t&&(js(t)||kn(t))&&kn(t.then)&&kn(t.catch),_t={isArray:Ci,isArrayBuffer:sd,isBuffer:_v,isFormData:Cv,isArrayBufferView:yv,isString:vv,isNumber:ad,isBoolean:bv,isObject:js,isPlainObject:es,isUndefined:go,isDate:wv,isFile:xv,isBlob:kv,isRegExp:Fv,isFunction:kn,isStream:Mv,isURLSearchParams:Pv,isTypedArray:Iv,isFileList:Lv,forEach:wo,merge:Va,extend:Ev,trim:Sv,stripBOM:Tv,inherits:Ov,toFlatObject:Av,kindOf:Ds,kindOfTest:Vn,endsWith:Rv,toArray:Bv,forEachEntry:Dv,matchAll:zv,isHTMLForm:jv,hasOwnProperty:du,hasOwnProp:du,reduceDescriptors:hd,freezeMethods:Hv,toObjectSet:Gv,toCamelCase:Nv,noop:Vv,toFiniteNumber:Uv,findKey:ld,global:cd,isContextDefined:ud,ALPHABET:dd,generateString:$v,isSpecCompliantForm:Zv,toJSONObject:qv,isAsyncFn:Wv,isThenable:Kv};function _e(t,n,s,o,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",n&&(this.code=n),s&&(this.config=s),o&&(this.request=o),c&&(this.response=c)}_t.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:_t.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const pd=_e.prototype,fd={};["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(t=>{fd[t]={value:t}});Object.defineProperties(_e,fd);Object.defineProperty(pd,"isAxiosError",{value:!0});_e.from=(t,n,s,o,c,i)=>{const u=Object.create(pd);return _t.toFlatObject(t,u,function(f){return f!==Error.prototype},h=>h!=="isAxiosError"),_e.call(u,t.message,n,s,o,c),u.cause=t,u.name=t.name,i&&Object.assign(u,i),u};const Jv=null;function Ua(t){return _t.isPlainObject(t)||_t.isArray(t)}function md(t){return _t.endsWith(t,"[]")?t.slice(0,-2):t}function fu(t,n,s){return t?t.concat(n).map(function(c,i){return c=md(c),!s&&i?"["+c+"]":c}).join(s?".":""):n}function Yv(t){return _t.isArray(t)&&!t.some(Ua)}const Xv=_t.toFlatObject(_t,{},null,function(n){return/^is[A-Z]/.test(n)});function Ns(t,n,s){if(!_t.isObject(t))throw new TypeError("target must be an object");n=n||new FormData,s=_t.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,H){return!_t.isUndefined(H[P])});const o=s.metaTokens,c=s.visitor||_,i=s.dots,u=s.indexes,f=(s.Blob||typeof Blob<"u"&&Blob)&&_t.isSpecCompliantForm(n);if(!_t.isFunction(c))throw new TypeError("visitor must be a function");function m(C){if(C===null)return"";if(_t.isDate(C))return C.toISOString();if(!f&&_t.isBlob(C))throw new _e("Blob is not supported. Use a Buffer instead.");return _t.isArrayBuffer(C)||_t.isTypedArray(C)?f&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function _(C,P,H){let S=C;if(C&&!H&&typeof C=="object"){if(_t.endsWith(P,"{}"))P=o?P:P.slice(0,-2),C=JSON.stringify(C);else if(_t.isArray(C)&&Yv(C)||(_t.isFileList(C)||_t.endsWith(P,"[]"))&&(S=_t.toArray(C)))return P=md(P),S.forEach(function(j,O){!(_t.isUndefined(j)||j===null)&&n.append(u===!0?fu([P],O,i):u===null?P:P+"[]",m(j))}),!1}return Ua(C)?!0:(n.append(fu(H,P,i),m(C)),!1)}const v=[],M=Object.assign(Xv,{defaultVisitor:_,convertValue:m,isVisitable:Ua});function T(C,P){if(!_t.isUndefined(C)){if(v.indexOf(C)!==-1)throw Error("Circular reference detected in "+P.join("."));v.push(C),_t.forEach(C,function(S,A){(!(_t.isUndefined(S)||S===null)&&c.call(n,S,_t.isString(A)?A.trim():A,P,M))===!0&&T(S,P?P.concat(A):[A])}),v.pop()}}if(!_t.isObject(t))throw new TypeError("data must be an object");return T(t),n}function mu(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return n[o]})}function vl(t,n){this._pairs=[],t&&Ns(t,this,n)}const gd=vl.prototype;gd.append=function(n,s){this._pairs.push([n,s])};gd.toString=function(n){const s=n?function(o){return n.call(this,o,mu)}:mu;return this._pairs.map(function(c){return s(c[0])+"="+s(c[1])},"").join("&")};function Qv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _d(t,n,s){if(!n)return t;const o=s&&s.encode||Qv,c=s&&s.serialize;let i;if(c?i=c(n,s):i=_t.isURLSearchParams(n)?n.toString():new vl(n,s).toString(o),i){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class tb{constructor(){this.handlers=[]}use(n,s,o){return this.handlers.push({fulfilled:n,rejected:s,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){_t.forEach(this.handlers,function(o){o!==null&&n(o)})}}const gu=tb,yd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eb=typeof URLSearchParams<"u"?URLSearchParams:vl,nb=typeof FormData<"u"?FormData:null,rb=typeof Blob<"u"?Blob:null,ib=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ob=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Fn={isBrowser:!0,classes:{URLSearchParams:eb,FormData:nb,Blob:rb},isStandardBrowserEnv:ib,isStandardBrowserWebWorkerEnv:ob,protocols:["http","https","file","blob","url","data"]};function sb(t,n){return Ns(t,new Fn.classes.URLSearchParams,Object.assign({visitor:function(s,o,c,i){return Fn.isNode&&_t.isBuffer(s)?(this.append(o,s.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},n))}function ab(t){return _t.matchAll(/\w+|\[(\w*)]/g,t).map(n=>n[0]==="[]"?"":n[1]||n[0])}function lb(t){const n={},s=Object.keys(t);let o;const c=s.length;let i;for(o=0;o=s.length;return u=!u&&_t.isArray(c)?c.length:u,f?(_t.hasOwnProp(c,u)?c[u]=[c[u],o]:c[u]=o,!h):((!c[u]||!_t.isObject(c[u]))&&(c[u]=[]),n(s,o,c[u],i)&&_t.isArray(c[u])&&(c[u]=lb(c[u])),!h)}if(_t.isFormData(t)&&_t.isFunction(t.entries)){const s={};return _t.forEachEntry(t,(o,c)=>{n(ab(o),c,s,0)}),s}return null}const cb={"Content-Type":void 0};function ub(t,n,s){if(_t.isString(t))try{return(n||JSON.parse)(t),_t.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(s||JSON.stringify)(t)}const Fs={transitional:yd,adapter:["xhr","http"],transformRequest:[function(n,s){const o=s.getContentType()||"",c=o.indexOf("application/json")>-1,i=_t.isObject(n);if(i&&_t.isHTMLForm(n)&&(n=new FormData(n)),_t.isFormData(n))return c&&c?JSON.stringify(vd(n)):n;if(_t.isArrayBuffer(n)||_t.isBuffer(n)||_t.isStream(n)||_t.isFile(n)||_t.isBlob(n))return n;if(_t.isArrayBufferView(n))return n.buffer;if(_t.isURLSearchParams(n))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let h;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return sb(n,this.formSerializer).toString();if((h=_t.isFileList(n))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Ns(h?{"files[]":n}:n,f&&new f,this.formSerializer)}}return i||c?(s.setContentType("application/json",!1),ub(n)):n}],transformResponse:[function(n){const s=this.transitional||Fs.transitional,o=s&&s.forcedJSONParsing,c=this.responseType==="json";if(n&&_t.isString(n)&&(o&&!this.responseType||c)){const u=!(s&&s.silentJSONParsing)&&c;try{return JSON.parse(n)}catch(h){if(u)throw h.name==="SyntaxError"?_e.from(h,_e.ERR_BAD_RESPONSE,this,null,this.response):h}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Fn.classes.FormData,Blob:Fn.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_t.forEach(["delete","get","head"],function(n){Fs.headers[n]={}});_t.forEach(["post","put","patch"],function(n){Fs.headers[n]=_t.merge(cb)});const bl=Fs,hb=_t.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"]),db=t=>{const n={};let s,o,c;return t&&t.split(` +`).forEach(function(u){c=u.indexOf(":"),s=u.substring(0,c).trim().toLowerCase(),o=u.substring(c+1).trim(),!(!s||n[s]&&hb[s])&&(s==="set-cookie"?n[s]?n[s].push(o):n[s]=[o]:n[s]=n[s]?n[s]+", "+o:o)}),n},_u=Symbol("internals");function Yi(t){return t&&String(t).trim().toLowerCase()}function ns(t){return t===!1||t==null?t:_t.isArray(t)?t.map(ns):String(t)}function pb(t){const n=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=s.exec(t);)n[o[1]]=o[2];return n}const fb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ya(t,n,s,o,c){if(_t.isFunction(o))return o.call(this,n,s);if(c&&(n=s),!!_t.isString(n)){if(_t.isString(o))return n.indexOf(o)!==-1;if(_t.isRegExp(o))return o.test(n)}}function mb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,s,o)=>s.toUpperCase()+o)}function gb(t,n){const s=_t.toCamelCase(" "+n);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+s,{value:function(c,i,u){return this[o].call(this,n,c,i,u)},configurable:!0})})}class Hs{constructor(n){n&&this.set(n)}set(n,s,o){const c=this;function i(h,f,m){const _=Yi(f);if(!_)throw new Error("header name must be a non-empty string");const v=_t.findKey(c,_);(!v||c[v]===void 0||m===!0||m===void 0&&c[v]!==!1)&&(c[v||f]=ns(h))}const u=(h,f)=>_t.forEach(h,(m,_)=>i(m,_,f));return _t.isPlainObject(n)||n instanceof this.constructor?u(n,s):_t.isString(n)&&(n=n.trim())&&!fb(n)?u(db(n),s):n!=null&&i(s,n,o),this}get(n,s){if(n=Yi(n),n){const o=_t.findKey(this,n);if(o){const c=this[o];if(!s)return c;if(s===!0)return pb(c);if(_t.isFunction(s))return s.call(this,c,o);if(_t.isRegExp(s))return s.exec(c);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,s){if(n=Yi(n),n){const o=_t.findKey(this,n);return!!(o&&this[o]!==void 0&&(!s||ya(this,this[o],o,s)))}return!1}delete(n,s){const o=this;let c=!1;function i(u){if(u=Yi(u),u){const h=_t.findKey(o,u);h&&(!s||ya(o,o[h],h,s))&&(delete o[h],c=!0)}}return _t.isArray(n)?n.forEach(i):i(n),c}clear(n){const s=Object.keys(this);let o=s.length,c=!1;for(;o--;){const i=s[o];(!n||ya(this,this[i],i,n,!0))&&(delete this[i],c=!0)}return c}normalize(n){const s=this,o={};return _t.forEach(this,(c,i)=>{const u=_t.findKey(o,i);if(u){s[u]=ns(c),delete s[i];return}const h=n?mb(i):String(i).trim();h!==i&&delete s[i],s[h]=ns(c),o[h]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const s=Object.create(null);return _t.forEach(this,(o,c)=>{o!=null&&o!==!1&&(s[c]=n&&_t.isArray(o)?o.join(", "):o)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,s])=>n+": "+s).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...s){const o=new this(n);return s.forEach(c=>o.set(c)),o}static accessor(n){const o=(this[_u]=this[_u]={accessors:{}}).accessors,c=this.prototype;function i(u){const h=Yi(u);o[h]||(gb(c,u),o[h]=!0)}return _t.isArray(n)?n.forEach(i):i(n),this}}Hs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_t.freezeMethods(Hs.prototype);_t.freezeMethods(Hs);const er=Hs;function va(t,n){const s=this||bl,o=n||s,c=er.from(o.headers);let i=o.data;return _t.forEach(t,function(h){i=h.call(s,i,c.normalize(),n?n.status:void 0)}),c.normalize(),i}function bd(t){return!!(t&&t.__CANCEL__)}function xo(t,n,s){_e.call(this,t??"canceled",_e.ERR_CANCELED,n,s),this.name="CanceledError"}_t.inherits(xo,_e,{__CANCEL__:!0});function _b(t,n,s){const o=s.config.validateStatus;!s.status||!o||o(s.status)?t(s):n(new _e("Request failed with status code "+s.status,[_e.ERR_BAD_REQUEST,_e.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}const yb=Fn.isStandardBrowserEnv?function(){return{write:function(s,o,c,i,u,h){const f=[];f.push(s+"="+encodeURIComponent(o)),_t.isNumber(c)&&f.push("expires="+new Date(c).toGMTString()),_t.isString(i)&&f.push("path="+i),_t.isString(u)&&f.push("domain="+u),h===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(s){const o=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(s){this.write(s,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function vb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function bb(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}function wd(t,n){return t&&!vb(n)?bb(t,n):n}const wb=Fn.isStandardBrowserEnv?function(){const n=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a");let o;function c(i){let u=i;return n&&(s.setAttribute("href",u),u=s.href),s.setAttribute("href",u),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return o=c(window.location.href),function(u){const h=_t.isString(u)?c(u):u;return h.protocol===o.protocol&&h.host===o.host}}():function(){return function(){return!0}}();function xb(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function kb(t,n){t=t||10;const s=new Array(t),o=new Array(t);let c=0,i=0,u;return n=n!==void 0?n:1e3,function(f){const m=Date.now(),_=o[i];u||(u=m),s[c]=f,o[c]=m;let v=i,M=0;for(;v!==c;)M+=s[v++],v=v%t;if(c=(c+1)%t,c===i&&(i=(i+1)%t),m-u{const i=c.loaded,u=c.lengthComputable?c.total:void 0,h=i-s,f=o(h),m=i<=u;s=i;const _={loaded:i,total:u,progress:u?i/u:void 0,bytes:h,rate:f||void 0,estimated:f&&u&&m?(u-i)/f:void 0,event:c};_[n?"download":"upload"]=!0,t(_)}}const Lb=typeof XMLHttpRequest<"u",Mb=Lb&&function(t){return new Promise(function(s,o){let c=t.data;const i=er.from(t.headers).normalize(),u=t.responseType;let h;function f(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}_t.isFormData(c)&&(Fn.isStandardBrowserEnv||Fn.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let m=new XMLHttpRequest;if(t.auth){const T=t.auth.username||"",C=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(T+":"+C))}const _=wd(t.baseURL,t.url);m.open(t.method.toUpperCase(),_d(_,t.params,t.paramsSerializer),!0),m.timeout=t.timeout;function v(){if(!m)return;const T=er.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),P={data:!u||u==="text"||u==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:T,config:t,request:m};_b(function(S){s(S),f()},function(S){o(S),f()},P),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&&(o(new _e("Request aborted",_e.ECONNABORTED,t,m)),m=null)},m.onerror=function(){o(new _e("Network Error",_e.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let C=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const P=t.transitional||yd;t.timeoutErrorMessage&&(C=t.timeoutErrorMessage),o(new _e(C,P.clarifyTimeoutError?_e.ETIMEDOUT:_e.ECONNABORTED,t,m)),m=null},Fn.isStandardBrowserEnv){const T=(t.withCredentials||wb(_))&&t.xsrfCookieName&&yb.read(t.xsrfCookieName);T&&i.set(t.xsrfHeaderName,T)}c===void 0&&i.setContentType(null),"setRequestHeader"in m&&_t.forEach(i.toJSON(),function(C,P){m.setRequestHeader(P,C)}),_t.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),u&&u!=="json"&&(m.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&m.addEventListener("progress",yu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",yu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(h=T=>{m&&(o(!T||T.type?new xo(null,t,m):T),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h)));const M=xb(_);if(M&&Fn.protocols.indexOf(M)===-1){o(new _e("Unsupported protocol "+M+":",_e.ERR_BAD_REQUEST,t));return}m.send(c||null)})},rs={http:Jv,xhr:Mb};_t.forEach(rs,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const Cb={getAdapter:t=>{t=_t.isArray(t)?t:[t];const{length:n}=t;let s,o;for(let c=0;ct instanceof er?t.toJSON():t;function wi(t,n){n=n||{};const s={};function o(m,_,v){return _t.isPlainObject(m)&&_t.isPlainObject(_)?_t.merge.call({caseless:v},m,_):_t.isPlainObject(_)?_t.merge({},_):_t.isArray(_)?_.slice():_}function c(m,_,v){if(_t.isUndefined(_)){if(!_t.isUndefined(m))return o(void 0,m,v)}else return o(m,_,v)}function i(m,_){if(!_t.isUndefined(_))return o(void 0,_)}function u(m,_){if(_t.isUndefined(_)){if(!_t.isUndefined(m))return o(void 0,m)}else return o(void 0,_)}function h(m,_,v){if(v in n)return o(m,_);if(v in t)return o(void 0,m)}const f={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:h,headers:(m,_)=>c(bu(m),bu(_),!0)};return _t.forEach(Object.keys(Object.assign({},t,n)),function(_){const v=f[_]||c,M=v(t[_],n[_],_);_t.isUndefined(M)&&v!==h||(s[_]=M)}),s}const xd="1.4.0",wl={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{wl[t]=function(o){return typeof o===t||"a"+(n<1?"n ":" ")+t}});const wu={};wl.transitional=function(n,s,o){function c(i,u){return"[Axios v"+xd+"] Transitional option '"+i+"'"+u+(o?". "+o:"")}return(i,u,h)=>{if(n===!1)throw new _e(c(u," has been removed"+(s?" in "+s:"")),_e.ERR_DEPRECATED);return s&&!wu[u]&&(wu[u]=!0,console.warn(c(u," has been deprecated since v"+s+" and will be removed in the near future"))),n?n(i,u,h):!0}};function Pb(t,n,s){if(typeof t!="object")throw new _e("options must be an object",_e.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let c=o.length;for(;c-- >0;){const i=o[c],u=n[i];if(u){const h=t[i],f=h===void 0||u(h,i,t);if(f!==!0)throw new _e("option "+i+" must be "+f,_e.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new _e("Unknown option "+i,_e.ERR_BAD_OPTION)}}const $a={assertOptions:Pb,validators:wl},_r=$a.validators;class gs{constructor(n){this.defaults=n,this.interceptors={request:new gu,response:new gu}}request(n,s){typeof n=="string"?(s=s||{},s.url=n):s=n||{},s=wi(this.defaults,s);const{transitional:o,paramsSerializer:c,headers:i}=s;o!==void 0&&$a.assertOptions(o,{silentJSONParsing:_r.transitional(_r.boolean),forcedJSONParsing:_r.transitional(_r.boolean),clarifyTimeoutError:_r.transitional(_r.boolean)},!1),c!=null&&(_t.isFunction(c)?s.paramsSerializer={serialize:c}:$a.assertOptions(c,{encode:_r.function,serialize:_r.function},!0)),s.method=(s.method||this.defaults.method||"get").toLowerCase();let u;u=i&&_t.merge(i.common,i[s.method]),u&&_t.forEach(["delete","get","head","post","put","patch","common"],C=>{delete i[C]}),s.headers=er.concat(u,i);const h=[];let f=!0;this.interceptors.request.forEach(function(P){typeof P.runWhen=="function"&&P.runWhen(s)===!1||(f=f&&P.synchronous,h.unshift(P.fulfilled,P.rejected))});const m=[];this.interceptors.response.forEach(function(P){m.push(P.fulfilled,P.rejected)});let _,v=0,M;if(!f){const C=[vu.bind(this),void 0];for(C.unshift.apply(C,h),C.push.apply(C,m),M=C.length,_=Promise.resolve(s);v{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](c);o._listeners=null}),this.promise.then=c=>{let i;const u=new Promise(h=>{o.subscribe(h),i=h}).then(c);return u.cancel=function(){o.unsubscribe(i)},u},n(function(i,u,h){o.reason||(o.reason=new xo(i,u,h),s(o.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 s=this._listeners.indexOf(n);s!==-1&&this._listeners.splice(s,1)}static source(){let n;return{token:new xl(function(c){n=c}),cancel:n}}}const Sb=xl;function Eb(t){return function(s){return t.apply(null,s)}}function Tb(t){return _t.isObject(t)&&t.isAxiosError===!0}const Za={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(Za).forEach(([t,n])=>{Za[n]=t});const Ob=Za;function kd(t){const n=new is(t),s=od(is.prototype.request,n);return _t.extend(s,is.prototype,n,{allOwnKeys:!0}),_t.extend(s,n,null,{allOwnKeys:!0}),s.create=function(c){return kd(wi(t,c))},s}const Ge=kd(bl);Ge.Axios=is;Ge.CanceledError=xo;Ge.CancelToken=Sb;Ge.isCancel=bd;Ge.VERSION=xd;Ge.toFormData=Ns;Ge.AxiosError=_e;Ge.Cancel=Ge.CanceledError;Ge.all=function(n){return Promise.all(n)};Ge.spread=Eb;Ge.isAxiosError=Tb;Ge.mergeConfig=wi;Ge.AxiosHeaders=er;Ge.formToJSON=t=>vd(_t.isHTMLForm(t)?new FormData(t):t);Ge.HttpStatusCode=Ob;Ge.default=Ge;const Ab=Ge,{url:Rb,project_token:Bb}={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:"https://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"}]},Ke=Ab.create({baseURL:Rb,params:{project_token:Bb}});class ln{static getTaxonNameCitations(n,s){return Ke.get(`/taxon_names/${n}/inventory/catalog`,s)}static getOtu(n){return Ke.get(`/otus/${n}`,{params:{extend:["parents"]}})}static getOtus(n){return Ke.get("/otus.json",{params:n})}static getTaxon(n,s){return Ke.get(`/taxon_names/${n}`,s)}static summary(n,s){return Ke.get(`/taxon_names/${n}/inventory/summary`,s)}static getTaxonTypeDesignation(n){return Ke.get(`/taxon_names/${n}`,{params:{extend:["type_taxon_name_relationship"]}})}static getOtuImages(n,s){return Ke.get(`/otus/${n}/inventory/images.json`,s)}static getTaxonomy(n,s){return Ke.get(`/otus/${n}/inventory/taxonomy.json`,s)}static getOtuTypeMaterial(n){return Ke.get(`/otus/${n}/inventory/type_material.json`)}static getOtuDistribution(n,s={}){return Ke.get(`/otus/${n}/inventory/distribution.json`,s)}static getOtuGeoJSONDistribution(n){return Ke.get(`/otus/${n}/inventory/distribution.geojson`)}static getCachedMap(n,s){return Ke.get(`/cached_maps/${n}`,s)}static getOtuContent(n,s){return Ke.get(`/otus/${n}/inventory/content`,s)}static getCachedMap(n){return Ke.get(`/cached_maps/${n}`)}}const Gs=Is("otuPageRequest",{state:()=>({requests:{}}),getters:{getRequest:t=>n=>t.requests[n],sitemap:t=>{const n=Object.keys(t.requests).sort();return Object.fromEntries(n.map(s=>[s,t.requests[s].url]))}},actions:{setRequest(t,{data:n,request:s}){var c;const o=((c=s.res)==null?void 0:c.responseUrl)||s.responseURL;this.requests[t]={url:o,data:n}}}}),Ib="FamilyGroup",Db="GenusGroup",Ld="SpeciesGroup",_o={CanceledError:"CanceledError"},xu=["neotype","holotype","neolectotype","lectotype","syntype","paralectotype","paratype","paratypes"];function rr(t,n){const s=Gs(),o=n();return o.then(c=>{s.setRequest(t,c)}).catch(c=>{c.name!==_o.CanceledError&&s.setRequest(t,c.response)}),o}const Pi=Is("otuStore",{state:()=>({otu:null,taxon:null,images:null,catalog:{sources:[],stats:{},timeline:[],isLoading:!1},taxonomy:{commonNames:[],synonyms:[]}}),actions:{async loadTaxon(t,{signal:n}){const s=await rr("summary",()=>ln.summary(t,{signal:n}));this.taxon=s.data},async loadOtu(t,{signal:n}){const s=await ln.getOtu(t,{signal:n});this.otu=s.data},async loadTaxonomy(t,{signal:n}){const{data:s}=await ln.getTaxonomy(t,{params:{max_descendants_depth:0,extend:["common_names"]},signal:n});this.taxonomy={commonNames:s.common_names,synonyms:s.nomenclatural_synonyms}},async loadCatalog(t,{signal:n}){this.catalog.isLoading=!0;const s=await rr("taxonomy",()=>ln.getTaxonNameCitations(t,{signal:n}));this.catalog={...s.data,sources:s.data.sources.map(({cached:o,url:c})=>o.replace(c,`${c}`)),isLoading:!1}},async loadInit({otuId:t,controller:n}){Gs().$reset();try{await this.loadOtu(t,n),await this.loadTaxon(this.otu.taxon_name_id,n),await this.loadCatalog(this.otu.taxon_name_id,n),await this.loadTaxonomy(t,n)}catch(o){return Promise.reject(o)}}}});function zb(t,n){return t||(t={}),t._resolver=n,t}function jb(t){return zb(t,"taxon")}function Nb(t){return ml({script:[{type:"application/ld+json",key:"schema-org-graph",nodes:t}]})}const Fb=et("h3",{class:"font-medium"},"Sitemap",-1),Hb={class:"p-4 pt-0"},Gb=et("p",{class:"text-sm mb-2"}," The following links provide the information present on this page in JSON format. ",-1),Vb=["href"],Ub={__name:"SiteMap",setup(t){const n=Zt(!1),s=Gs();return(o,c)=>{const i=pt("IconJson"),u=pt("VButton"),h=pt("VTableHeaderCell"),f=pt("VTableHeaderRow"),m=pt("VTableHeader"),_=pt("VTableBodyCell"),v=pt("VTableBodyRow"),M=pt("VTableBody"),T=pt("VTable"),C=pt("VModal");return U(),nt("div",null,[rt(u,{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:c[0]||(c[0]=P=>n.value=!0)},{default:ft(()=>[rt(i,{class:"w-4 h-4"}),ne(" Sitemap ")]),_:1}),n.value?(U(),At(C,{key:0,onClose:c[1]||(c[1]=P=>n.value=!1)},{header:ft(()=>[Fb]),default:ft(()=>[et("div",Hb,[Gb,rt(T,null,{default:ft(()=>[rt(m,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(h,null,{default:ft(()=>[ne(" Request Key ")]),_:1}),rt(h,null,{default:ft(()=>[ne(" URL ")]),_:1})]),_:1})]),_:1}),rt(M,null,{default:ft(()=>[(U(!0),nt($t,null,ye(Wt(s).sitemap,(P,H)=>(U(),At(v,{key:H},{default:ft(()=>[rt(_,{class:"capitalize"},{default:ft(()=>[ne(Qt(H.replaceAll(":"," ")),1)]),_:2},1024),rt(_,null,{default:ft(()=>[et("a",{href:P},Qt(P),9,Vb)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])]),_:1})):Nt("",!0)])}}},$b={class:"relative"},Zb=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),qb={key:1,class:"absolute right-0 py-2 bg-white dark:bg-gray-900 rounded-md shadow-xl z-20"},Wb={__name:"BreadcrumbDropdown",props:{list:{type:Array,required:!0}},setup(t){const n=Zt(!1);return(s,o)=>{const c=pt("router-link");return U(),nt("div",$b,[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:o[0]||(o[0]=i=>n.value=!n.value)},[Se(s.$slots,"default"),Zb]),n.value?(U(),nt("div",{key:0,class:"fixed inset-0 h-full w-full z-10",onClick:o[1]||(o[1]=i=>n.value=!1)})):Nt("",!0),n.value?(U(),nt("div",qb,[(U(!0),nt($t,null,ye(t.list,i=>(U(),At(c,{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||s.key),1)]),_:2},1032,["to"]))),128))])):Nt("",!0)])])}}},Kb={class:"inline-flex items-center flex-wrap"},Jb={class:"inline-flex items-center ml-0 text-sm"},Yb=["innerHTML"],Xb={__name:"Breadcrumb",props:{list:{type:Object,default:()=>({})},current:{type:Object,required:!0}},setup(t){return(n,s)=>{const o=pt("IconArrowRight"),c=pt("router-link");return U(),nt("ul",Kb,[(U(!0),nt($t,null,ye(t.list,(i,u,h)=>(U(),nt("li",{key:i.id,class:"inline-flex items-center"},[h?(U(),At(o,{key:0,class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"})):Nt("",!0),i.length===1?(U(),At(c,{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(u),1)]),_:2},1032,["to"])):(U(),At(Wb,{key:2,list:i.map(f=>({...f,name:f.name||u}))},{default:ft(()=>[ne(Qt(u),1)]),_:2},1032,["list"]))]))),128)),et("li",Jb,[rt(o,{class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"}),et("span",{innerHTML:t.current.full_name_tag},null,8,Yb)])])}}},Qb={__name:"CommonNames",setup(t){const n=Pi(),s=se(()=>n.taxonomy.commonNames.map(o=>o.name).join("; "));return(o,c)=>(U(),nt("span",null,Qt(s.value),1))}},t0={class:"text-1xl capitalize"},e0={class:"text-xl dark:text-gray-100"},n0=["title","innerHTML"],r0={key:0,class:"ml-1 text-red-600",title:"Invalid"},i0={class:"text-1xl"},o0={__name:"TaxaInfo",setup(t){const n=Pi();return(s,o)=>(U(),nt("div",null,[et("h2",t0,Qt(Wt(n).taxon.rank||"Combination"),1),et("h1",e0,[et("span",null,[et("span",{title:Wt(n).taxon.short_status,innerHTML:Wt(n).taxon.full_name_tag},null,8,n0),Wt(n).taxon.is_valid?Nt("",!0):(U(),nt("span",r0," ✕ "))])]),et("h2",i0,[rt(Qb)])]))}},s0={__name:"DWCDownload",props:{otu:{type:Object,required:!0}},setup(t){const n=t,{url:s,project_token:o}={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:"https://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 c(){window.open(`${s}/otus/${n.otu.id}/inventory/dwc?project_token=${o}`,"_self")}return(i,u)=>{const h=pt("IconDownload"),f=pt("VButton");return U(),At(f,{primary:"",class:"text-sm flex items-center",title:"Download DwC Occurrences",onClick:u[0]||(u[0]=()=>{c()})},{default:ft(()=>[rt(h,{class:"w-4 h-4 mr-1"}),ne(" DwC ")]),_:1})}}},a0={class:"bg-base-foreground border-b border-base-muted pl-4 pr-4"},l0={class:"container mx-auto pt-6 pb-6"},c0={class:"flex flex-col-reverse md:flex-row justify-between items-start"},u0={class:"mt-8 flex justify-between items-end"},h0={class:"flex flex-row gap-2"},d0={class:"pt-3 pb-4"},p0={class:"container mx-auto box-border"},f0={__name:"Index",setup(t){const n=Qh(),s=Xh(),o=Zt(n.params),c=[],i=Pi();let u=new AbortController;s.afterEach(C=>{o.value=C.params});const h=se(()=>i.otu),f=se(()=>i.taxon),m=se(()=>{var C,P;return((C=h.value)==null?void 0:C.id)&&((P=f.value)==null?void 0:P.id)});ll(async()=>{await _()}),He(()=>n.fullPath,async()=>{u.abort(),u=new AbortController,_()}),en(async()=>{var C,P;((C=h.value)==null?void 0:C.id)!==Number(n.params.id)||!((P=f.value)!=null&&P.id)?await _():M()}),or(()=>{i.$reset()});async function _(){i.$reset();try{await i.loadInit({otuId:n.params.id,controller:u}),M()}catch(C){C.name!==_o.CanceledError&&v(C)}}function v(C){var P;switch((P=C==null?void 0:C.response)==null?void 0:P.status){case 404:s.replace({name:"httpError400"});break;case 500:s.replace({name:"httpError500"});break}}function M(){ml({title:`Plecoptera Species File - ${f.value.full_name}`}),Nb([jb({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 T({id:C,otu_valid_id:P}){s.push({name:"otus-id-overview",params:{id:P||C}})}return(C,P)=>{const H=pt("VSkeleton"),S=pt("Autocomplete"),A=pt("ClientOnly"),j=pt("TabItem"),O=pt("TabMenu"),z=pt("router-view");return U(),nt("main",null,[et("div",a0,[et("div",l0,[et("div",c0,[rt(H,{class:"w-full md:w-3/4"},{default:ft(()=>{var K;return[m.value?(U(),At(Xb,{key:0,class:"w-full md:w-3/4",list:((K=h.value)==null?void 0:K.parents)||{},current:f.value},null,8,["list","current"])):Nt("",!0)]}),_:1}),rt(S,{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:T})]),et("div",u0,[rt(H,{lines:2,class:"w-96"},{default:ft(()=>[m.value?(U(),At(o0,{key:0})):Nt("",!0)]),_:1}),et("div",h0,[rt(A,null,{default:ft(()=>[rt(Ub)]),_:1}),m.value?(U(),At(s0,{key:0,otu:h.value},null,8,["otu"])):Nt("",!0)])]),c.length?(U(),At(O,{key:0,class:"m-[-1px] print:hidden"},{default:ft(()=>[(U(),nt($t,null,ye(c,({name:K,label:ot})=>rt(j,{key:K,to:{name:K}},{default:ft(()=>[ne(Qt(ot),1)]),_:2},1032,["to"])),64))]),_:1})):Nt("",!0)])]),et("div",d0,[et("div",p0,[m.value?(U(),At(z,{key:Wt(n).fullPath,"taxon-id":f.value.id,taxon:f.value,"taxon-rank":f.value.rank_string,"otu-id":h.value.id,otu:h.value},null,8,["taxon-id","taxon","taxon-rank","otu-id","otu"])):Nt("",!0)])])])}}},m0=["innerHTML"],g0={__name:"PanelContentTopic",props:{title:{type:String,required:!0},textList:{type:Array,required:!0}},setup(t){return(n,s)=>{const o=pt("VCardHeader"),c=pt("VCardContent");return U(),nt($t,null,[rt(o,{class:"border-t border-base-muted first:border-t-0"},{default:ft(()=>[ne(Qt(t.title),1)]),_:1}),rt(c,null,{default:ft(()=>[(U(!0),nt($t,null,ye(t.textList,(i,u)=>(U(),nt("ul",{key:u,class:"pt-1 text-sm"},[et("li",{innerHTML:i},null,8,m0)]))),128))]),_:1})],64)}}},_0={__name:"PanelContent",props:{otuId:{type:Number,required:!0}},setup(t){const n=t,s=Zt([]),o=new AbortController,c=se(()=>s.value.reduce((i,u)=>(i[u.name]?i[u.name].push(u.text):i[u.name]=[u.text],i),{}));return _h(()=>{rr("panel:content",()=>ln.getOtuContent(n.otuId,{params:{extend:["depiction"]},signal:o.signal})).then(({data:i})=>{s.value=i}).catch(i=>{})}),or(()=>{o.abort()}),(i,u)=>{const h=pt("VCard");return s.value.length?(U(),At(h,{key:0},{default:ft(()=>[(U(!0),nt($t,null,ye(c.value,(f,m)=>(U(),At(g0,{key:m,title:m,"text-list":f},null,8,["title","text-list"]))),128))]),_:1})):Nt("",!0)}}},y0={id:"panel:content",component:_0},v0={class:"synonyms"},b0=et("span",{class:"text-orange-500 mr-1"},"=",-1),w0=["innerHTML"],x0={__name:"DescendantsSynonymList",props:{list:{type:Array,required:!0}},setup(t){const n=t;return(s,o)=>(U(),nt("ul",v0,[(U(!0),nt($t,null,ye(n.list,c=>(U(),nt("li",{key:c},[b0,et("span",{innerHTML:c},null,8,w0)]))),128))]))}};const k0={key:0,class:"tree"},L0={__name:"DescendantsTree",props:{taxonomy:{type:Object,required:!0},level:{type:Number,default:1}},setup(t){const n=t,s=Zt(!!n.taxonomy.descendants.length),o=Zt([...n.taxonomy.descendants]);He(s,i=>{i&&c()});const c=()=>{o.value.length||ln.getTaxonomy(n.taxonomy.otu_id,{params:{max_descendants_depth:1}}).then(({data:i})=>{o.value=i.descendants})};return(i,u)=>{const h=pt("button-expand"),f=pt("router-link"),m=pt("AnimationOpacity");return Object.keys(t.taxonomy).length?(U(),nt("li",{key:t.taxonomy.otu_id},[t.taxonomy.leaf_node?Nt("",!0):(U(),At(h,{key:0,modelValue:s.value,"onUpdate:modelValue":u[0]||(u[0]=_=>s.value=_),class:"absolute -left-2.5"},null,8,["modelValue"])),rt(f,{class:"text-primary-500",to:{name:"otus-id",params:{id:t.taxonomy.otu_id}},innerHTML:t.taxonomy.name},null,8,["to","innerHTML"]),t.taxonomy.nomenclatural_synonyms.length?(U(),At(x0,{key:1,class:"pb-4",list:t.taxonomy.nomenclatural_synonyms},null,8,["list"])):Nt("",!0),rt(m,null,{default:ft(()=>[o.value.length?(U(),nt("ul",k0,[(U(!0),nt($t,null,ye(o.value,_=>(U(),At(m,{key:_.otu_id},{default:ft(()=>[s.value?(U(),At(Md,{key:0,taxonomy:_},null,8,["taxonomy"])):Nt("",!0)]),_:2},1024))),128))])):Nt("",!0)]),_:1})])):Nt("",!0)}}},Md=re(L0,[["__scopeId","data-v-b79ba271"]]),M0=et("h3",null,"JSON Data",-1),C0={key:0,class:"p-5 font-normal"},P0={class:"pb-2 text-sm"},S0=["href"],E0={class:"relative"},T0=["innerHTML"],Si={__name:"PanelDropdown",props:{panelKey:{type:String,required:!0},menuOptions:{type:Array,default:()=>[]}},setup(t){const n=t,s=se(()=>o.getRequest(n.panelKey)),o=Gs(),c=Zt(!1),i=se(()=>[...n.menuOptions,{label:"JSON Data",action:()=>c.value=!0}]);return(u,h)=>{const f=pt("IconHamburger"),m=pt("Dropdown"),_=pt("VClipboard"),v=pt("VModal");return U(),nt($t,null,[rt(m,{items:i.value},{button:ft(()=>[rt(f,{class:"text-base-soft h-4"})]),_:1},8,["items"]),c.value?(U(),At(v,{key:0,onClose:h[0]||(h[0]=M=>c.value=!1)},{header:ft(()=>[M0]),default:ft(()=>[s.value?(U(),nt("div",C0,[et("h3",P0,[ne(" URL: "),et("a",{href:s.value.url},Qt(s.value.url),9,S0)]),et("div",E0,[et("p",{class:"bg-base-background p-2 text-sm font-normal whitespace-pre-wrap",innerHTML:JSON.stringify(s.value.data,null,4)},null,8,T0),rt(_,{class:"absolute right-2 top-2 opacity-75",text:JSON.stringify(s.value.data,null,2)},null,8,["text"])])])):Nt("",!0)]),_:1})):Nt("",!0)],64)}}};const O0=t=>(ah("data-v-91511d41"),t=t(),lh(),t),A0=O0(()=>et("h2",{class:"text-md"},"Descendants and synonyms",-1)),R0={class:"tree ml-2"},B0={__name:"PanelDescendants",props:{otuId:{type:[String,Number],required:!0}},setup(t){const n=t,s=Zt(null),o=Zt(!1);return He(()=>n.otuId,async()=>{n.otuId&&(o.value=!0,rr("panel:descendants",()=>ln.getTaxonomy(n.otuId,{params:{max_descendants_depth:1}})).then(({data:c})=>{s.value=c}).finally(()=>o.value=!1))},{immediate:!0}),(c,i)=>{const u=pt("VSpinner"),h=pt("ClientOnly"),f=pt("VCardHeader"),m=pt("AnimationOpacity"),_=pt("VCardContent"),v=pt("VCard");return U(),At(v,null,{default:ft(()=>[rt(h,null,{default:ft(()=>[o.value?(U(),At(u,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0)]),_:1}),rt(f,{class:"flex justify-between"},{default:ft(()=>[A0,rt(Si,{"panel-key":"panel:descendants"})]),_:1}),rt(_,{class:"text-sm"},{default:ft(()=>[et("ul",R0,[rt(m,null,{default:ft(()=>[s.value&&(s.value.nomenclatural_synonyms.length||s.value.descendants.length)?(U(),At(Md,{key:0,taxonomy:s.value},null,8,["taxonomy"])):Nt("",!0)]),_:1})])]),_:1})]),_:1})}}},I0=re(B0,[["__scopeId","data-v-91511d41"]]),D0={id:"panel:descendants",component:I0},z0=Is("imageStore",{state:()=>({images:null,controller:null}),actions:{resetRequest(){var t;(t=this.controller)==null||t.abort()},async loadImages(t){const n={extend:["depictions","attribution","source","citations"],otu_scope:["all"]};this.controller=new AbortController;try{const s=await rr("panel:images",()=>ln.getOtuImages(t,{params:n,signal:this.controller.signal}));this.images=s.data,this.controller=null}catch(s){s.name!==_o.CanceledError&&(this.controller=null)}}}}),j0={__name:"PanelGallery",props:{otuId:{type:[String,Number],required:!0}},setup(t){const n=t,s=z0(),o=se(()=>s.images||[]);return ll(async()=>{await s.loadImages(n.otuId)}),en(()=>{s.images||s.loadImages(n.otuId)}),or(()=>{s.resetRequest(),s.$reset()}),(c,i)=>{const u=pt("GalleryImage"),h=pt("VCardContent"),f=pt("VCard");return o.value.length?(U(),At(f,{key:0},{default:ft(()=>[rt(h,null,{default:ft(()=>[rt(u,{images:o.value},null,8,["images"])]),_:1})]),_:1})):Nt("",!0)}}},N0={id:"panel:gallery",component:j0,available:[Ld]};function F0(t,n){return n.split("::").at(2)===t}function H0(t,n){return{type:"Feature",geometry:t,properties:{base:[{type:n}]}}}function G0(t){const n=[],s=[];return t.features.forEach(o=>{const c=o.properties.shape.id,i=o.properties.shape.type;s.includes(o.properties.base.type)||s.push(o.properties.base.type);const u=n.findIndex(h=>h.properties.shape.id===c&&h.properties.shape.type===i);if(u>-1){const h=n[u];h.properties.base.push(o.properties.base),h.properties.target.push(o.properties.target)}else{const h=structuredClone(o);h.properties.base=[h.properties.base],h.properties.target=[h.properties.target],n.push(h)}}),s.sort(),{shapeTypes:s,features:n}}const V0=Is("distributionStore",{state:()=>({distribution:{geojson:null,errorMessage:null,currentShapeTypes:[],cachedMap:null},controller:null}),actions:{resetRequest(){var t;(t=this.controller)==null||t.abort()},loadCachedMap(t){ln.getCachedMap(t,{signal:this.controller.signal}).then(n=>{this.distribution.cachedMap=n.data})},async getAggregateShape(t){rr("panel:map",()=>ln.getOtuDistribution(t,{signal:this.controller.signal})).then(({data:n})=>{const s=JSON.parse(n.cached_map.geo_json);this.distribution.currentShapeTypes=["Aggregate"],this.distribution.geojson={features:[H0(s,"Aggregate")]},this.loadCachedMap(n.cached_map.id)}).catch(n=>{n.name!=_o.CanceledError&&(this.distribution.errorMessage=n.response.data.error,this.distribution.currentShapeTypes=[],this.distribution.geojson=[])})},async loadDistribution({otuId:t,rankString:n}){const s=n&&F0("SpeciesGroup",n);this.controller=new AbortController,s?rr("panel:map",()=>ln.getOtuGeoJSONDistribution(t,{signal:this.controller.signal})).then(({data:o})=>{if(o.request_too_large)this.distribution.geojson=null,this.distribution.errorMessage=o.message;else{const{features:c,shapeTypes:i}=G0(o);this.distribution.currentShapeTypes=i,this.distribution.geojson={features:c}}}).catch(o=>{o.name!==_o.CanceledError&&this.getAggregateShape(t)}):this.getAggregateShape(t)}}});function Cd(t){return{html:`
${t.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 Pd(t){return{html:` +
+
+
+
+
+
+
+ + ${t.getChildCount()} + +
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive",iconSize:[40,40]}}function U0(t){return{html:`
${t.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 $0=Object.freeze(Object.defineProperty({__proto__:null,CollectionObject:Cd,Mixed:Pd,TypeMaterial:U0},Symbol.toStringTag,{value:"Module"}));function Z0({L:t,cluster:n}){const s=n.getAllChildMarkers().map(u=>u.feature.properties.base.map(h=>h.type)).flat(),o=[...new Set(s)],c=o.pop(),i=o.length?Pd:$0[c]||Cd;return t.divIcon(i(n))}const q0=et("h3",{class:"font-medium"},"Cached map",-1),W0={class:"p-4 pt-0"},K0={key:0,class:"text-success flex text-sm items-center"},J0=et("span",{class:"ml-1"}," Map is synchronized with the latest changes * ",-1),Y0={key:1,class:"text-warning flex text-sm items-center"},X0=et("span",{class:"ml-1"}," Map is not synchronized with the latest changes * ",-1),Q0=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),tw={__name:"CachedMap",props:{cachedMap:{type:Object,required:!0}},setup(t){const n=Zt(!1);return(s,o)=>{const c=pt("IconCheck"),i=pt("IconWarning"),u=pt("VButton"),h=pt("VTableHeaderCell"),f=pt("VTableHeaderRow"),m=pt("VTableHeader"),_=pt("VTableBodyCell"),v=pt("VTableBodyRow"),M=pt("VTableBody"),T=pt("VTable"),C=pt("VModal");return U(),nt($t,null,[rt(u,{class:"left-2 bottom-2 !px-2 py-2 rounded-full absolute z-[1500]",primary:"",title:"Cached map",onClick:o[0]||(o[0]=P=>n.value=!0)},{default:ft(()=>[t.cachedMap.synced?(U(),At(c,{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:o[1]||(o[1]=()=>n.value=!1)},{header:ft(()=>[q0]),default:ft(()=>[et("div",W0,[rt(T,null,{default:ft(()=>[rt(m,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(h,null,{default:ft(()=>[ne("Data")]),_:1}),rt(h)]),_:1})]),_:1}),rt(M,null,{default:ft(()=>[rt(v,null,{default:ft(()=>[rt(_,null,{default:ft(()=>[ne(" Is synced ")]),_:1}),rt(_,null,{default:ft(()=>[t.cachedMap.synced?(U(),nt("p",K0,[rt(c,{class:"w-4 h-4"}),J0])):(U(),nt("p",Y0,[rt(i,{class:"w-4 h-4"}),X0]))]),_:1})]),_:1}),rt(v,null,{default:ft(()=>[rt(_,null,{default:ft(()=>[ne(" Last update ")]),_:1}),rt(_,null,{default:ft(()=>[ne(Qt(new Date(t.cachedMap.updated_at)),1)]),_:1})]),_:1})]),_:1}),rt(m,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(h,null,{default:ft(()=>[ne("Source")]),_:1}),rt(h,null,{default:ft(()=>[ne("Total")]),_:1})]),_:1})]),_:1}),rt(M,null,{default:ft(()=>[(U(!0),nt($t,null,ye(t.cachedMap.source_scope,(P,H)=>(U(),At(v,{key:H},{default:ft(()=>[rt(_,{class:"capitalize"},{default:ft(()=>[ne(Qt(H.replaceAll("_"," ")),1)]),_:2},1024),rt(_,null,{default:ft(()=>[ne(Qt(P),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),Q0])]),_:1})):Nt("",!0)],64)}}},ew={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"},nw=["innerHTML"],rw={__name:"SearchBar",props:{label:{type:String,required:!0}},emits:["close"],setup(t,{emit:n}){return(s,o)=>{const c=pt("IconClose");return U(),nt("div",ew,[et("div",null,[et("span",{class:"ml-2",innerHTML:t.label},null,8,nw)]),rt(c,{class:"cursor-pointer",onClick:o[0]||(o[0]=()=>n("close"))})])}}},iw={key:1,class:"text-lg text-center text-base-lighter align-middle p-4"},ow={__name:"ListResults",props:{list:{type:Array,default:()=>[]}},emits:["close","close:table"],setup(t,{emit:n}){return(s,o)=>{const c=pt("IconArrowRight"),i=pt("VTableHeaderCell"),u=pt("VTableHeaderRow"),h=pt("VTableHeader"),f=pt("RouterLink"),m=pt("VTableBodyCell"),_=pt("VTableBodyRow"),v=pt("VTableBody"),M=pt("VTable");return t.list.length?(U(),At(M,{key:0,class:"shadow-md"},{default:ft(()=>[rt(h,null,{default:ft(()=>[rt(u,null,{default:ft(()=>[rt(i,{class:"w-full flex justify-between box-border items-center"},{default:ft(()=>[et("span",null,"OTU ("+Qt(t.list.length)+")",1),rt(c,{class:"opacity-50 cursor-pointer w-4 h-4",onClick:o[0]||(o[0]=T=>n("close:table"))})]),_:1})]),_:1})]),_:1}),rt(v,null,{default:ft(()=>[(U(!0),nt($t,null,ye(t.list,T=>(U(),At(_,{key:T.id},{default:ft(()=>[rt(m,null,{default:ft(()=>[rt(f,{innerHTML:T.object_tag,to:{name:"otus-id",params:{id:T.id}},onClick:o[1]||(o[1]=()=>n("close"))},null,8,["innerHTML","to"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(U(),nt("div",iw," No OTUs found in this area "))}}};const sw={__name:"OtuSearch",props:{otu:{type:Array,default:()=>[]},shapes:{type:Object,default:void 0}},emits:["close"],setup(t,{emit:n}){const s=t,o=Zt(),c=Zt(null),i=Zt([]),u=Zt(!1),h=Zt(),f=Zt(6),m=Zt(6),_=se(()=>!!s.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:H})=>{switch(H){case"Escape":n("close");break}};function M(H){const S={geo_json:H,taxon_name_id:[s.otu.taxon_name_id],descendants:!0,per:5e3};h.value=!0,ln.getOtus(S).then(({data:A})=>{i.value=A,u.value=!0}).finally(A=>{h.value=!1})}function T(H){C(),_.value&&c.value.resizeMap()}function C(){m.value=c.value.getMapObject().getZoom()}function P(){f.value=c.value.getMapObject().getZoom(),C()}return(H,S)=>{const A=pt("VSpinner"),j=pt("VMap");return U(),nt("div",{ref_key:"root",ref:o,class:"w-screen h-screen fixed top-0 left-0 z-[5000] flex flex-col"},[h.value?(U(),At(A,{key:0})):Nt("",!0),rt(rw,{label:t.otu.object_tag,onClose:S[0]||(S[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:c,class:"w-full h-full",controls:"",dragging:!_.value,"zoom-bounds":f.value,geojson:t.shapes,"onGeojson:ready":P,"onAdd:layer":S[1]||(S[1]=O=>M(JSON.stringify(O.geometry))),"onEdit:layer":S[2]||(S[2]=O=>M(JSON.stringify(O.geometry))),"onDrag:layer":S[3]||(S[3]=O=>M(JSON.stringify(O.geometry))),"onZoom:change":T,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":!u.value,"right-0":u.value}])},[u.value?(U(),At(ow,{key:0,list:i.value,onClose:S[4]||(S[4]=()=>n("close")),"onClose:table":S[5]||(S[5]=()=>u.value=!1)},null,8,["list"])):Nt("",!0)],2)],2)],512)}}},aw=re(sw,[["__scopeId","data-v-d0d71188"]]),lw={class:"relative"},cw={key:0,class:"flex flex-row p-2 text-xs italic"},uw={key:1,class:"flex flex-row p-2 gap-2 text-xs"},hw=2,dw={__name:"PanelMap",props:{otuId:{type:[String,Number],required:!0},otu:{type:Object,required:!0},taxon:{type:Object,required:!0}},setup(t){const n=t,s=Zt(!0),o=Zt(!1),c=V0(),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(()=>{s.value=!0,c.loadDistribution({otuId:n.otuId,rankString:n.taxon.rank_string})}),or(()=>{c.resetRequest(),c.$reset()}),(u,h)=>{const f=pt("VSpinner"),m=pt("VMap"),_=pt("VButton"),v=pt("ClientOnly"),M=pt("VCard");return U(),At(M,null,{default:ft(()=>[et("div",lw,[rt(v,null,{default:ft(()=>[s.value?(U(),At(f,{key:0})):Nt("",!0),rt(m,{class:"h-96 max-h-96",dragging:"",cluster:"",zoom:hw,geojson:Wt(c).distribution.geojson,"cluster-icon-create-function":Wt(Z0),"onGeojson:ready":h[0]||(h[0]=()=>s.value=!1)},null,8,["geojson","cluster-icon-create-function"]),rt(_,{class:"h-6 text-sm absolute right-3 top-3 z-[400]",primary:"",onClick:h[1]||(h[1]=()=>o.value=!0)},{default:ft(()=>[ne(" Search ")]),_:1}),o.value?(U(),At(aw,{key:1,otu:t.otu,shapes:Wt(c).distribution.geojson,onClose:h[2]||(h[2]=()=>o.value=!1)},null,8,["otu","shapes"])):Nt("",!0),Wt(c).distribution.cachedMap?(U(),At(tw,{key:2,"cached-map":Wt(c).distribution.cachedMap},null,8,["cached-map"])):Nt("",!0)]),_:1})]),Wt(c).distribution.errorMessage?(U(),nt("div",cw," * "+Qt(Wt(c).distribution.errorMessage),1)):Nt("",!0),Wt(c).distribution.currentShapeTypes.length?(U(),nt("div",uw,[(U(!0),nt($t,null,ye(Wt(c).distribution.currentShapeTypes,T=>(U(),nt("div",{key:T,class:"flex flex-row items-center"},[et("div",{class:Xe(["w-3 h-3 m-1 rounded-sm",i[T].background])},null,2),et("span",null,Qt(i[T].label),1)]))),128))])):Nt("",!0)]),_:1})}}},pw={id:"panel:map",component:dw};function Sd(t,n){const s=t.slice(),o=s.splice(0,n),c=s.splice(-n);return{first:o,middle:s,last:c}}const fw={class:"border-b border-base-muted p-3 px-5"},mw=["title","innerHTML"],gw=["innerHTML"],wa={__name:"PanelCitationRow",props:{citation:{type:Object,required:!0}},setup(t){return(n,s)=>(U(),nt("li",fw,[et("span",{class:"break-all block",title:t.citation.label,innerHTML:t.citation.label},null,8,mw),t.citation.type_label?(U(),nt("span",{key:0,class:"ml-4 text-base-soft",innerHTML:t.citation.type_label},null,8,gw)):Nt("",!0)]))}},_w={class:"flex justify-start border-b p-3 px-4 cursor-pointer border-base-muted"},Ed={__name:"PanelNomenclatureShowMore",props:{count:{type:Number,required:!0}},setup(t){return(n,s)=>{const o=pt("IconPlusCircle");return U(),nt("li",_w,[et("div",{class:"h-5 w-5 text-secondary-color opacity-60 mr-2 cursor-pointer",onClick:s[0]||(s[0]=()=>n.isExpanded=!n.isExpanded)},[rt(o,{class:"h-5 w-5"})]),et("span",null,"... Show all ... ("+Qt(t.count)+")",1)])}}},yw={class:"text-md"},vw={class:"text-sm"},bw={class:"text-sm"},ww={class:"text-sm"},xw=2,kw={__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(t){const n=Pi(),s=Zt(!1),o=se(()=>Sd(n.catalog.timeline,xw)),c=se(()=>[{label:s.value?"Show less":"Show all",action:()=>s.value=!s.value}]);return(i,u)=>{const h=pt("VSpinner"),f=pt("VCardHeader"),m=pt("AnimationOpacity"),_=pt("VCard");return U(),At(_,null,{default:ft(()=>[Wt(n).catalog.isLoading?(U(),At(h,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0),rt(f,{class:"flex justify-between"},{default:ft(()=>[et("h2",yw," Nomenclature ("+Qt(Wt(n).catalog.timeline.length)+") ",1),rt(Si,{"menu-options":c.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),et("ul",vw,[(U(!0),nt($t,null,ye(o.value.first,v=>(U(),At(wa,{key:v.label,citation:v},null,8,["citation"]))),128)),!s.value&&o.value.middle.length?(U(),At(Ed,{key:0,count:o.value.middle.length,onClick:u[0]||(u[0]=v=>s.value=!0)},null,8,["count"])):Nt("",!0)]),rt(m,null,{default:ft(()=>[bo(et("ul",bw,[(U(!0),nt($t,null,ye(o.value.middle,v=>(U(),At(wa,{key:v.label,citation:v},null,8,["citation"]))),128))],512),[[Os,s.value]])]),_:1}),et("ul",ww,[(U(!0),nt($t,null,ye(o.value.last,v=>(U(),At(wa,{key:v.label,citation:v},null,8,["citation"]))),128))])]),_:1})}}},Lw={id:"panel:nomenclature",component:kw},Mw={class:"border-b border-base-muted p-3 px-5"},Cw=["title","innerHTML"],xa={__name:"PanelReferenceRow",props:{reference:{type:String,required:!0}},setup(t){return(n,s)=>(U(),nt("li",Mw,[et("span",{class:"break-all block",title:t.reference,innerHTML:t.reference},null,8,Cw)]))}},Pw={class:"text-md"},Sw={class:"text-sm"},Ew=2,Tw={__name:"PanelNomenclatureReferences",setup(t){const n=Pi(),s=Zt(!1),o=se(()=>Sd(n.catalog.sources,Ew)),c=se(()=>[{label:s.value?"Show less":"Show all",action:()=>s.value=!s.value}]);return(i,u)=>{const h=pt("VSpinner"),f=pt("VCardHeader"),m=pt("AnimationOpacity"),_=pt("VCard");return U(),At(_,null,{default:ft(()=>[Wt(n).catalog.isLoading?(U(),At(h,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0),rt(f,{class:"flex justify-between"},{default:ft(()=>[et("h2",Pw," Nomenclature references ("+Qt(Wt(n).catalog.sources.length)+") ",1),rt(Si,{"menu-options":c.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),et("ul",Sw,[(U(!0),nt($t,null,ye(o.value.first,v=>(U(),At(xa,{key:v,reference:v},null,8,["reference"]))),128)),!s.value&&o.value.middle.length?(U(),At(Ed,{key:0,count:o.value.middle.length,onClick:u[0]||(u[0]=v=>s.value=!0)},null,8,["count"])):Nt("",!0),rt(m,null,{default:ft(()=>[bo(et("div",null,[(U(!0),nt($t,null,ye(o.value.middle,v=>(U(),At(xa,{key:v,reference:v},null,8,["reference"]))),128))],512),[[Os,s.value]])]),_:1}),(U(!0),nt($t,null,ye(o.value.last,v=>(U(),At(xa,{key:v,reference:v},null,8,["reference"]))),128))])]),_:1})}}},Ow={id:"panel:nomenclature-references",component:Tw},Aw=et("h2",{class:"text-md"},"Stats",-1),Rw={__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(t){const n=Pi();return(s,o)=>{const c=pt("VSpinner"),i=pt("VCardHeader"),u=pt("VTableHeaderCell"),h=pt("VTableHeaderRow"),f=pt("VTableHeader"),m=pt("VTableBodyCell"),_=pt("VTableBodyRow"),v=pt("VTableBody"),M=pt("VTable"),T=pt("VCardContent"),C=pt("VCard");return U(),At(C,null,{default:ft(()=>[Wt(n).catalog.isLoading?(U(),At(c,{key:0,"logo-class":"w-8 h-8",legend:""})):Nt("",!0),rt(i,{class:"flex justify-between"},{default:ft(()=>[Aw,rt(Si,{"panel-key":"taxonomy"})]),_:1}),rt(T,{class:"text-sm"},{default:ft(()=>[rt(M,null,{default:ft(()=>[rt(f,null,{default:ft(()=>[rt(h,null,{default:ft(()=>[rt(u,{class:"bg-base-foreground"}),rt(u,{title:"OTUs linked to valid protonyms"},{default:ft(()=>[ne(" Taxa ")]),_:1}),rt(u,{title:"Taxon names",class:"border-l border-base-border"},{default:ft(()=>[ne(" Names ")]),_:1}),rt(u,{colspan:"2",class:"bg-base-foreground"})]),_:1}),rt(h,null,{default:ft(()=>[rt(u,null,{default:ft(()=>[ne("Rank")]),_:1}),rt(u,{title:"OTUs linked to valid protonyms"},{default:ft(()=>[ne("Total")]),_:1}),rt(u,{title:"Taxon names",class:"border-l border-base-border"},{default:ft(()=>[ne(" Total ")]),_:1}),rt(u,null,{default:ft(()=>[ne(" Valid ")]),_:1}),rt(u,null,{default:ft(()=>[ne(" Invalid ")]),_:1})]),_:1})]),_:1}),rt(v,null,{default:ft(()=>[(U(!0),nt($t,null,ye(Wt(n).catalog.stats.taxa,(P,H)=>(U(),At(_,{key:H},{default:ft(()=>[rt(m,{class:"capitalize"},{default:ft(()=>[ne(Qt(H),1)]),_:2},1024),rt(m,null,{default:ft(()=>[ne(Qt(P),1)]),_:2},1024),rt(m,{class:"border-l border-base-border"},{default:ft(()=>[ne(Qt(Wt(n).catalog.stats.names[H].invalid+Wt(n).catalog.stats.names[H].valid),1)]),_:2},1024),rt(m,null,{default:ft(()=>[ne(Qt(Wt(n).catalog.stats.names[H].valid),1)]),_:2},1024),rt(m,null,{default:ft(()=>[ne(Qt(Wt(n).catalog.stats.names[H].invalid),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})}}},Bw={id:"panel:statistics",component:Rw},Iw=et("h2",{class:"text-md"},"Type",-1),Dw=["innerHTML"],zw={__name:"PanelTypeDesignation",props:{taxonId:{type:[String,Number],required:!0}},setup(t){const n=t,s=Zt({}),o=se(()=>[s.value.subject_object_tag||"",s.value.subject_status_tag||"",s.value.object_object_tag||""].join(" "));return He(()=>n.taxonId,async()=>{n.taxonId&&rr("panel:type",()=>ln.getTaxonTypeDesignation(n.taxonId)).then(({data:c})=>{s.value=c.type_taxon_name_relationship||{}})},{immediate:!0}),(c,i)=>{const u=pt("VCardHeader"),h=pt("VCardContent"),f=pt("VCard");return U(),At(f,null,{default:ft(()=>[rt(u,{class:"flex justify-between"},{default:ft(()=>[Iw,rt(Si,{"panel-key":"panel:type"})]),_:1}),rt(h,{class:"text-sm"},{default:ft(()=>[et("p",{innerHTML:o.value},null,8,Dw)]),_:1})]),_:1})}}},jw={id:"panel:type",component:zw,available:[Ib,Db]},Nw=et("h2",{class:"text-md"},"Type specimen",-1),Fw={__name:"PanelTypeSpecimen",props:{otuId:{type:[String,Number],required:!0}},setup(t){const n=t,s=Zt([]);return He(()=>n.otuId,()=>{n.otuId&&rr("panel:typeMaterial",()=>ln.getOtuTypeMaterial(n.otuId)).then(({data:o})=>{s.value=o.type_materials_catalog_labels.sort((c,i)=>xu.indexOf(c.type_type)-xu.indexOf(i.type_type))})},{immediate:!0}),(o,c)=>{const i=pt("VCardHeader"),u=pt("VCardContent"),h=pt("VCard");return s.value.length?(U(),At(h,{key:0},{default:ft(()=>[rt(i,{class:"flex justify-between"},{default:ft(()=>[Nw,rt(Si,{"panel-key":"panel:typeMaterial"})]),_:1}),rt(u,{class:"text-sm"},{default:ft(()=>[et("p",null,Qt(s.value[0].label),1)]),_:1})]),_:1})):Nt("",!0)}}},Hw={id:"panel:type-specimen",component:Fw,available:[Ld]},Gw=Object.values(Object.assign({"/src/modules/otus/components/Panel/PanelContent/main.js":y0,"/src/modules/otus/components/Panel/PanelDescendants/main.js":D0,"/src/modules/otus/components/Panel/PanelGallery/main.js":N0,"/src/modules/otus/components/Panel/PanelMap/main.js":pw,"/src/modules/otus/components/Panel/PanelNomenclature/main.js":Lw,"/src/modules/otus/components/Panel/PanelNomenclatureReferences/main.js":Ow,"/src/modules/otus/components/Panel/PanelStats/main.js":Bw,"/src/modules/otus/components/Panel/PanelTypeDesignation/main.js":jw,"/src/modules/otus/components/Panel/PanelTypeSpecimen/main.js":Hw})),{taxa_page_overview:ka}={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:"https://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"}]},Vw=[[["panel:gallery","panel:type","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]];function Uw(t){return t.map(n=>n.map(s=>s.map(o=>{const i=typeof o=="string"?{id:o}:{...o};return{...Gw.find(h=>h.id===i.id),...i}})))}const $w=Uw((ka==null?void 0:ka.panels)||Vw),Zw={class:"grid gap-3"},qw={__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(t){const n={1:["md:grid-cols-1"],2:["md:grid-cols-2"],3:["md:grid-cols-3"]};function s(o,c){return o.some(i=>c==null?void 0:c.includes(i))}return(o,c)=>(U(),nt("div",Zw,[(U(!0),nt($t,null,ye(Wt($w),(i,u)=>(U(),nt("div",{class:Xe(["grid grid-cols-1 gap-3",[n[i.length]]])},[(U(!0),nt($t,null,ye(i,(h,f)=>(U(),nt("div",{class:"grid grid-cols-1 gap-3 auto-rows-min",key:f},[(U(!0),nt($t,null,ye(h,({component:m,available:_,id:v})=>(U(),nt($t,{key:v},[!_||s(_,t.taxonRank)?(U(),At(Mi(m),{key:0,"otu-id":t.otuId,otu:t.otu,"taxon-id":t.taxonId,taxon:t.taxon},null,8,["otu-id","otu","taxon-id","taxon"])):Nt("",!0)],64))),128))]))),128))],2))),256))]))}},Ww=[{name:"otus-id",path:"/otus/:id",component:f0,redirect:{name:"otus-id-overview"},children:[{path:"overview",name:"otus-id-overview",component:qw}]}],Kw="modulepreload",Jw=function(t){return"/plecoptera/"+t},ku={},Td=function(n,s,o){if(!s||s.length===0)return n();const c=document.getElementsByTagName("link");return Promise.all(s.map(i=>{if(i=Jw(i),i in ku)return;ku[i]=!0;const u=i.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(!!o)for(let _=c.length-1;_>=0;_--){const v=c[_];if(v.href===i&&(!u||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${h}`))return;const m=document.createElement("link");if(m.rel=u?"stylesheet":Kw,u||(m.as="script",m.crossOrigin=""),m.href=i,document.head.appendChild(m),u)return new Promise((_,v)=>{m.addEventListener("load",_),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>n()).catch(i=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=i,window.dispatchEvent(u),!u.defaultPrevented)throw i})},Yw=()=>Td(()=>import("./home-264da828.js"),[]),Xw=()=>Td(()=>import("./about-6d282d44.js"),[]),Qw=[{name:"home",path:"/",component:Yw,props:!0,alias:"/home"},{name:"about",path:"/about",component:Xw,props:!0}],tx=Object.assign({"/src/modules/home/router/index.js":Xy,"/src/modules/httpErrorPages/router/index.js":mv,"/src/modules/otus/router/index.js":Ww}),ex=Object.assign({}),{base_url:Lu,hash_mode:nx}={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:"https://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"}]},rx=[].concat(...Object.values(tx),...Object.values(ex)),ix=[...Qw,...rx];function ox(){return nx?y_(Lu):Vh(Lu)}function sx(){return ny({history:ox(),routes:ix,scrollBehavior(t,n,s){return t.hash?{el:t.hash}:{top:0}}})}function ax({originUrl:t}){const{url:n,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:"https://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(n&&s?ky:Ey),i=sx(),u=Ny();return Eg({plugins:[zy({host:t})]}),c.use(i),c.use(u),{app:c,router:i,store:u}}var Od=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lx(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qa={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(t,n){(function(s,o){o(n)})(Od,function(s){var o="1.9.4";function c(e){var a,d,g,b;for(d=1,g=arguments.length;d"u"||!L||!L.Mixin)){e=j(e)?e:[e];for(var a=0;a0?Math.floor(e):Math.ceil(e)};wt.prototype={clone:function(){return new wt(this.x,this.y)},add:function(e){return this.clone()._add(Dt(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(Dt(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new wt(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new wt(this.x/e.x,this.y/e.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=pe(this.x),this.y=pe(this.y),this},distanceTo:function(e){e=Dt(e);var a=e.x-this.x,d=e.y-this.y;return Math.sqrt(a*a+d*d)},equals:function(e){return e=Dt(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=Dt(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+M(this.x)+", "+M(this.y)+")"}};function Dt(e,a,d){return e instanceof wt?e:j(e)?new wt(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new wt(e.x,e.y):new wt(e,a,d)}function Bt(e,a){if(e)for(var d=a?[e,a]:e,g=0,b=d.length;g=this.min.x&&d.x<=this.max.x&&a.y>=this.min.y&&d.y<=this.max.y},intersects:function(e){e=Vt(e);var a=this.min,d=this.max,g=e.min,b=e.max,E=b.x>=a.x&&g.x<=d.x,q=b.y>=a.y&&g.y<=d.y;return E&&q},overlaps:function(e){e=Vt(e);var a=this.min,d=this.max,g=e.min,b=e.max,E=b.x>a.x&&g.xa.y&&g.y=a.lat&&b.lat<=d.lat&&g.lng>=a.lng&&b.lng<=d.lng},intersects:function(e){e=fe(e);var a=this._southWest,d=this._northEast,g=e.getSouthWest(),b=e.getNorthEast(),E=b.lat>=a.lat&&g.lat<=d.lat,q=b.lng>=a.lng&&g.lng<=d.lng;return E&&q},overlaps:function(e){e=fe(e);var a=this._southWest,d=this._northEast,g=e.getSouthWest(),b=e.getNorthEast(),E=b.lat>a.lat&&g.lata.lng&&g.lng1,Ne=function(){var e=!1;try{var a=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",v,a),window.removeEventListener("testPassiveEventSupport",v,a)}catch{}return e}(),An=function(){return!!document.createElement("canvas").getContext}(),qr=!!(document.createElementNS&&ht("svg").createSVGRect),Ei=!!qr&&function(){var e=document.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Cr=!qr&&function(){try{var e=document.createElement("div");e.innerHTML='';var a=e.firstChild;return a.style.behavior="url(#default#VML)",a&&typeof a.adj=="object"}catch{return!1}}(),Vs=navigator.platform.indexOf("Mac")===0,Ti=navigator.platform.indexOf("Linux")===0;function nn(e){return navigator.userAgent.toLowerCase().indexOf(e)>=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:We,passiveEvents:Ne,canvas:An,svg:qr,vml:Cr,inlineSvg:Ei,mac:Vs,linux:Ti},Oi=Ht.msPointer?"MSPointerDown":"pointerdown",Rn=Ht.msPointer?"MSPointerMove":"pointermove",Bn=Ht.msPointer?"MSPointerUp":"pointerup",ko=Ht.msPointer?"MSPointerCancel":"pointercancel",Pr={touchstart:Oi,touchmove:Rn,touchend:Bn,touchcancel:ko},sr={touchstart:Kr,touchmove:Wr,touchend:Wr,touchcancel:Wr},ar={},Ai=!1;function Lo(e,a,d){return a==="touchstart"&&Ii(),sr[a]?(d=sr[a].bind(this,d),e.addEventListener(Pr[a],d,!1),d):(console.warn("wrong event specified:",a),v)}function Us(e,a,d){if(!Pr[a]){console.warn("wrong event specified:",a);return}e.removeEventListener(Pr[a],d,!1)}function Mo(e){ar[e.pointerId]=e}function Ri(e){ar[e.pointerId]&&(ar[e.pointerId]=e)}function Bi(e){delete ar[e.pointerId]}function Ii(){Ai||(document.addEventListener(Oi,Mo,!0),document.addEventListener(Rn,Ri,!0),document.addEventListener(Bn,Bi,!0),document.addEventListener(ko,Bi,!0),Ai=!0)}function Wr(e,a){if(a.pointerType!==(a.MSPOINTER_TYPE_MOUSE||"mouse")){a.touches=[];for(var d in ar)a.touches.push(ar[d]);a.changedTouches=[a],e(a)}}function Kr(e,a){a.MSPOINTER_TYPE_TOUCH&&a.pointerType===a.MSPOINTER_TYPE_TOUCH&&Z(a),Wr(e,a)}function Co(e){var a={},d,g;for(g in e)d=e[g],a[g]=d&&d.bind?d.bind(e):d;return e=a,a.type="dblclick",a.detail=2,a.isTrusted=!1,a._simulated=!0,a}var $s=200;function Sr(e,a){e.addEventListener("dblclick",a);var d=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-d<=$s?(g++,g===2&&a(Co(E))):g=1,d=tt}}}return e.addEventListener("click",b),{dblclick:a,simDblclick:b}}function Zs(e,a){e.removeEventListener("dblclick",a.dblclick),e.removeEventListener("click",a.simDblclick)}var Jr=Xr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),$n=Xr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Po=$n==="webkitTransition"||$n==="OTransition"?$n+"End":"transitionend";function So(e){return typeof e=="string"?document.getElementById(e):e}function lr(e,a){var d=e.style[a]||e.currentStyle&&e.currentStyle[a];if((!d||d==="auto")&&document.defaultView){var g=document.defaultView.getComputedStyle(e,null);d=g?g[a]:null}return d==="auto"?null:d}function de(e,a,d){var g=document.createElement(e);return g.className=a||"",d&&d.appendChild(g),g}function Ce(e){var a=e.parentNode;a&&a.removeChild(e)}function Er(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Zn(e){var a=e.parentNode;a&&a.lastChild!==e&&a.appendChild(e)}function qn(e){var a=e.parentNode;a&&a.firstChild!==e&&a.insertBefore(e,a.firstChild)}function Yr(e,a){if(e.classList!==void 0)return e.classList.contains(a);var d=Tr(e);return d.length>0&&new RegExp("(^|\\s)"+a+"(\\s|$)").test(d)}function ie(e,a){if(e.classList!==void 0)for(var d=C(a),g=0,b=d.length;g0?2*window.devicePixelRatio:1;function Rt(e){return Ht.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/Mt:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function qt(e,a){var d=a.relatedTarget;if(!d)return!0;try{for(;d&&d!==e;)d=d.parentNode}catch{return!1}return d!==e}var oe={__proto__:null,on:ee,off:l,stopPropagation:N,disableScrollPropagation:$,disableClickPropagation:V,preventDefault:Z,stop:X,getPropagationPath:mt,getMousePosition:ut,getWheelDelta:Rt,isExternalTarget:qt,addListener:ee,removeListener:l},xe=Gt.extend({run:function(e,a,d,g){this.stop(),this._el=e,this._inProgress=!0,this._duration=d||.25,this._easeOutPower=1/Math.max(g||.5,.2),this._startPos=mn(e),this._offset=a.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(e){var a=+new Date-this._startTime,d=this._duration*1e3;athis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,a){this._enforcingBounds=!0;var d=this.getCenter(),g=this._limitCenter(d,this._zoom,fe(e));return d.equals(g)||this.panTo(g,a),this._enforcingBounds=!1,this},panInside:function(e,a){a=a||{};var d=Dt(a.paddingTopLeft||a.padding||[0,0]),g=Dt(a.paddingBottomRight||a.padding||[0,0]),b=this.project(this.getCenter()),E=this.project(e),q=this.getPixelBounds(),tt=Vt([q.min.add(d),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),a),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=c({animate:!1,pan:!0},e===!0?{animate:!0}:e);var a=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var d=this.getSize(),g=a.divideBy(2).round(),b=d.divideBy(2).round(),E=g.subtract(b);return!E.x&&!E.y?this:(e.animate&&e.pan?this.panBy(E):(e.pan&&this._rawPanBy(E),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:a,newSize:d}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=c({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var a=u(this._handleGeolocationResponse,this),d=u(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(a,d,e):navigator.geolocation.getCurrentPosition(a,d,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var a=e.code,d=e.message||(a===1?"permission denied":a===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:a,message:"Geolocation error: "+d+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var a=e.coords.latitude,d=e.coords.longitude,g=new le(a,d),b=g.toBounds(e.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:e.timestamp};for(var lt in e.coords)typeof e.coords[lt]=="number"&&(tt[lt]=e.coords[lt]);this.fire("locationfound",tt)}},addHandler:function(e,a){if(!a)return this;var d=this[e]=new a(this);return this._handlers.push(d),this.options[e]&&d.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 e;for(e in this._layers)this._layers[e].remove();for(e in this._panes)Ce(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,a){var d="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),g=de("div",d,a||this._mapPane);return e&&(this._panes[e]=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 e=this.getPixelBounds(),a=this.unproject(e.getBottomLeft()),d=this.unproject(e.getTopRight());return new Me(a,d)},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(e,a,d){e=fe(e),d=Dt(d||[0,0]);var g=this.getZoom()||0,b=this.getMinZoom(),E=this.getMaxZoom(),q=e.getNorthWest(),tt=e.getSouthEast(),lt=this.getSize().subtract(d),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=a?Math.max(Yt,ue):Math.min(Yt,ue);return g=this.getScaleZoom(Qe,g),It&&(g=Math.round(g/(It/100))*(It/100),g=a?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(e,a){var d=this._getTopLeftPoint(e,a);return new Bt(d,d.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,a){var d=this.options.crs;return a=a===void 0?this._zoom:a,d.scale(e)/d.scale(a)},getScaleZoom:function(e,a){var d=this.options.crs;a=a===void 0?this._zoom:a;var g=d.zoom(e*d.scale(a));return isNaN(g)?1/0:g},project:function(e,a){return a=a===void 0?this._zoom:a,this.options.crs.latLngToPoint(Ft(e),a)},unproject:function(e,a){return a=a===void 0?this._zoom:a,this.options.crs.pointToLatLng(Dt(e),a)},layerPointToLatLng:function(e){var a=Dt(e).add(this.getPixelOrigin());return this.unproject(a)},latLngToLayerPoint:function(e){var a=this.project(Ft(e))._round();return a._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(Ft(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(fe(e))},distance:function(e,a){return this.options.crs.distance(Ft(e),Ft(a))},containerPointToLayerPoint:function(e){return Dt(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return Dt(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var a=this.containerPointToLayerPoint(Dt(e));return this.layerPointToLatLng(a)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(Ft(e)))},mouseEventToContainerPoint:function(e){return ut(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var a=this._container=So(e);if(a){if(a._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ee(a,"scroll",this._onScroll,this),this._containerId=f(a)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ht.any3d,ie(e,"leaflet-container"+(Ht.touch?" leaflet-touch":"")+(Ht.retina?" leaflet-retina":"")+(Ht.ielt9?" leaflet-oldie":"")+(Ht.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var a=lr(e,"position");a!=="absolute"&&a!=="relative"&&a!=="fixed"&&a!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=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(e.markerPane,"leaflet-zoom-hide"),ie(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,a,d){Ee(this._mapPane,new wt(0,0));var g=!this._loaded;this._loaded=!0,a=this._limitZoom(a),this.fire("viewprereset");var b=this._zoom!==a;this._moveStart(b,d)._move(e,a)._moveEnd(b),this.fire("viewreset"),g&&this.fire("load")},_moveStart:function(e,a){return e&&this.fire("zoomstart"),a||this.fire("movestart"),this},_move:function(e,a,d,g){a===void 0&&(a=this._zoom);var b=this._zoom!==a;return this._zoom=a,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),g?d&&d.pinch&&this.fire("zoom",d):((b||d&&d.pinch)&&this.fire("zoom",d),this.fire("move",d)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return at(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){Ee(this._mapPane,this._getMapPanePos().subtract(e))},_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(e){this._targets={},this._targets[f(this._container)]=this;var a=e?l:ee;a(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&a(window,"resize",this._onResize,this),Ht.any3d&&this.options.transform3DLimit&&(e?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 e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,a){for(var d=[],g,b=a==="mouseout"||a==="mouseover",E=e.target||e.srcElement,q=!1;E;){if(g=this._targets[f(E)],g&&(a==="click"||a==="preclick")&&this._draggableMoved(g)){q=!0;break}if(g&&g.listens(a,!0)&&(b&&!qt(E,e)||(d.push(g),b))||E===this._container)break;E=E.parentNode}return!d.length&&!q&&!b&&this.listens(a,!0)&&(d=[this]),d},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var a=e.target||e.srcElement;if(!(!this._loaded||a._leaflet_disable_events||e.type==="click"&&this._isClickDisabled(a))){var d=e.type;d==="mousedown"&&Ni(a),this._fireDOMEvent(e,d)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,a,d){if(e.type==="click"){var g=c({},e);g.type="preclick",this._fireDOMEvent(g,g.type,d)}var b=this._findEventTargets(e,a);if(d){for(var E=[],q=0;q0?Math.round(e-a)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(a))},_limitZoom:function(e){var a=this.getMinZoom(),d=this.getMaxZoom(),g=Ht.any3d?this.options.zoomSnap:1;return g&&(e=Math.round(e/g)*g),Math.max(a,Math.min(d,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Re(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,a){var d=this._getCenterOffset(e)._trunc();return(a&&a.animate)!==!0&&!this.getSize().contains(d)?!1:(this.panBy(d,a),!0)},_createAnimProxy:function(){var e=this._proxy=de("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(a){var d=Jr,g=this._proxy.style[d];In(this._proxy,this.project(a.center,a.zoom),this.getZoomScale(a.zoom,1)),g===this._proxy.style[d]&&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 e=this.getCenter(),a=this.getZoom();In(this._proxy,this.project(e,a),this.getZoomScale(a,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,a,d){if(this._animatingZoom)return!0;if(d=d||{},!this._zoomAnimated||d.animate===!1||this._nothingToAnimate()||Math.abs(a-this._zoom)>this.options.zoomAnimationThreshold)return!1;var g=this.getZoomScale(a),b=this._getCenterOffset(e)._divideBy(1-1/g);return d.animate!==!0&&!this.getSize().contains(b)?!1:(gt(function(){this._moveStart(!0,d.noMoveStart||!1)._animateZoom(e,a,!0)},this),!0)},_animateZoom:function(e,a,d,g){this._mapPane&&(d&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=a,ie(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:a,noUpdate:g}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(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(e,a){return new Ut(e,a)}var Pe=Lt.extend({options:{position:"topright"},initialize:function(e){P(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var a=this._map;return a&&a.removeControl(this),this.options.position=e,a&&a.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var a=this._container=this.onAdd(e),d=this.getPosition(),g=e._controlCorners[d];return ie(a,"leaflet-control"),d.indexOf("bottom")!==-1?g.insertBefore(a,g.firstChild):g.appendChild(a),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(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),Ve=function(e){return new Pe(e)};Ut.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},a="leaflet-",d=this._controlContainer=de("div",a+"control-container",this._container);function g(b,E){var q=a+b+" "+a+E;e[b+E]=de("div",q,d)}g("top","left"),g("top","right"),g("bottom","left"),g("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)Ce(this._controlCorners[e]);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(e,a,d,g){return d1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=a&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var a=this._getLayer(f(e.target)),d=a.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;d&&this._map.fire(d,a)},_createRadioElement:function(e,a){var d='",g=document.createElement("div");return g.innerHTML=d,g.firstChild},_addItem:function(e){var a=document.createElement("label"),d=this._map.hasLayer(e.layer),g;e.overlay?(g=document.createElement("input"),g.type="checkbox",g.className="leaflet-control-layers-selector",g.defaultChecked=d):g=this._createRadioElement("leaflet-base-layers_"+f(this),d),this._layerControlInputs.push(g),g.layerId=f(e.layer),ee(g,"click",this._onInputClick,this);var b=document.createElement("span");b.innerHTML=" "+e.name;var E=document.createElement("span");a.appendChild(E),E.appendChild(g),E.appendChild(b);var q=e.overlay?this._overlaysList:this._baseLayersList;return q.appendChild(a),this._checkDisabledLayers(),a},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,a,d,g=[],b=[];this._handlingClick=!0;for(var E=e.length-1;E>=0;E--)a=e[E],d=this._getLayer(a.layerId).layer,a.checked?g.push(d):a.checked||b.push(d);for(E=0;E=0;b--)a=e[b],d=this._getLayer(a.layerId).layer,a.disabled=d.options.minZoom!==void 0&&gd.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,ee(e,"click",Z),this.expand();var a=this;setTimeout(function(){l(e,"click",Z),a._preventClick=!1})}}),Eo=function(e,a,d){return new Mn(e,a,d)},Br=Pe.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var a="leaflet-control-zoom",d=de("div",a+" leaflet-bar"),g=this.options;return this._zoomInButton=this._createButton(g.zoomInText,g.zoomInTitle,a+"-in",d,this._zoomIn),this._zoomOutButton=this._createButton(g.zoomOutText,g.zoomOutTitle,a+"-out",d,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),d},onRemove:function(e){e.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(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,a,d,g,b){var E=de("a",d,g);return E.innerHTML=e,E.href="#",E.title=a,E.setAttribute("role","button"),E.setAttribute("aria-label",a),V(E),ee(E,"click",X),ee(E,"click",b,this),ee(E,"click",this._refocusOnMap,this),E},_updateDisabled:function(){var e=this._map,a="leaflet-disabled";Re(this._zoomInButton,a),Re(this._zoomOutButton,a),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(ie(this._zoomOutButton,a),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(ie(this._zoomInButton,a),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 Wn=function(e){return new Br(e)},Hi=Pe.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var a="leaflet-control-scale",d=de("div",a),g=this.options;return this._addScales(g,a+"-line",d),e.on(g.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),d},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,a,d){e.metric&&(this._mScale=de("div",a,d)),e.imperial&&(this._iScale=de("div",a,d))},_update:function(){var e=this._map,a=e.getSize().y/2,d=e.distance(e.containerPointToLatLng([0,a]),e.containerPointToLatLng([this.options.maxWidth,a]));this._updateScales(d)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var a=this._getRoundNum(e),d=a<1e3?a+" m":a/1e3+" km";this._updateScale(this._mScale,d,a/e)},_updateImperial:function(e){var a=e*3.2808399,d,g,b;a>5280?(d=a/5280,g=this._getRoundNum(d),this._updateScale(this._iScale,g+" mi",g/d)):(b=this._getRoundNum(a),this._updateScale(this._iScale,b+" ft",b/a))},_updateScale:function(e,a,d){e.style.width=Math.round(this.options.maxWidth*d)+"px",e.innerHTML=a},_getRoundNum:function(e){var a=Math.pow(10,(Math.floor(e)+"").length-1),d=e/a;return d=d>=10?10:d>=5?5:d>=3?3:d>=2?2:1,a*d}}),To=function(e){return new Hi(e)},Ws='',Ir=Pe.extend({options:{position:"bottomright",prefix:''+(Ht.inlineSvg?Ws+" ":"")+"Leaflet"},initialize:function(e){P(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=de("div","leaflet-control-attribution"),V(this._container);for(var a in e._layers)e._layers[a].getAttribution&&this.addAttribution(e._layers[a].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var a in this._attributions)this._attributions[a]&&e.push(a);var d=[];this.options.prefix&&d.push(this.options.prefix),e.length&&d.push(e.join(", ")),this._container.innerHTML=d.join(' ')}}});Ut.mergeOptions({attributionControl:!0}),Ut.addInitHook(function(){this.options.attributionControl&&new Ir().addTo(this)});var Ks=function(e){return new Ir(e)};Pe.Layers=Mn,Pe.Zoom=Br,Pe.Scale=Hi,Pe.Attribution=Ir,Ve.layers=Eo,Ve.zoom=Wn,Ve.scale=To,Ve.attribution=Ks;var gn=Lt.extend({initialize:function(e){this._map=e},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(e,a){return e.addHandler(a,this),this};var Dd={Events:Ct},Ml=Ht.touch?"touchstart mousedown":"mousedown",ur=Gt.extend({options:{clickTolerance:3},initialize:function(e,a,d,g){P(this,g),this._element=e,this._dragStartTarget=a||e,this._preventOutline=d},enable:function(){this._enabled||(ee(this._dragStartTarget,Ml,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ur._dragging===this&&this.finishDrag(!0),l(this._dragStartTarget,Ml,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!Yr(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){ur._dragging===this&&this.finishDrag();return}if(!(ur._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(ur._dragging=this,this._preventOutline&&Ni(this._element),Rr(),Or(),!this._moving)){this.fire("down");var a=e.touches?e.touches[0]:e,d=ei(this._element);this._startPoint=new wt(a.clientX,a.clientY),this._startPos=mn(this._element),this._parentScale=Fi(d);var g=e.type==="mousedown";ee(document,g?"mousemove":"touchmove",this._onMove,this),ee(document,g?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var a=e.touches&&e.touches.length===1?e.touches[0]:e,d=new wt(a.clientX,a.clientY)._subtract(this._startPoint);!d.x&&!d.y||Math.abs(d.x)+Math.abs(d.y)E&&(q=tt,E=lt);E>d&&(a[q]=1,Ys(e,a,d,g,q),Ys(e,a,d,q,b))}function Fd(e,a){for(var d=[e[0]],g=1,b=0,E=e.length;ga&&(d.push(e[g]),b=g);return ba.max.x&&(d|=2),e.ya.max.y&&(d|=8),d}function Hd(e,a){var d=a.x-e.x,g=a.y-e.y;return d*d+g*g}function Gi(e,a,d,g){var b=a.x,E=a.y,q=d.x-b,tt=d.y-E,lt=q*q+tt*tt,kt;return lt>0&&(kt=((e.x-b)*q+(e.y-E)*tt)/lt,kt>1?(b=d.x,E=d.y):kt>0&&(b+=q*kt,E+=tt*kt)),q=e.x-b,tt=e.y-E,g?q*q+tt*tt:new wt(b,E)}function _n(e){return!j(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function Al(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),_n(e)}function Rl(e,a){var d,g,b,E,q,tt,lt,kt;if(!e||e.length===0)throw new Error("latlngs not passed");_n(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var It=Ft([0,0]),Yt=fe(e),ue=Yt.getNorthWest().distanceTo(Yt.getSouthWest())*Yt.getNorthEast().distanceTo(Yt.getNorthWest());ue<1700&&(It=Js(e));var Qe=e.length,Ue=[];for(d=0;dg){lt=(E-g)/b,kt=[tt.x-lt*(tt.x-q.x),tt.y-lt*(tt.y-q.y)];break}var on=a.unproject(Dt(kt));return Ft([on.lat+It.lat,on.lng+It.lng])}var Gd={__proto__:null,simplify:Sl,pointToSegmentDistance:El,closestPointOnSegment:jd,clipSegment:Ol,_getEdgeIntersection:Oo,_getBitCode:Dr,_sqClosestPointOnSegment:Gi,isFlat:_n,_flat:Al,polylineCenter:Rl},Xs={project:function(e){return new wt(e.lng,e.lat)},unproject:function(e){return new le(e.y,e.x)},bounds:new Bt([-180,-90],[180,90])},Qs={R:6378137,R_MINOR:6356752314245179e-9,bounds:new Bt([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var a=Math.PI/180,d=this.R,g=e.lat*a,b=this.R_MINOR/d,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=-d*Math.log(Math.max(tt,1e-10)),new wt(e.lng*a*d,g)},unproject:function(e){for(var a=180/Math.PI,d=this.R,g=this.R_MINOR/d,b=Math.sqrt(1-g*g),E=Math.exp(-e.y/d),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*a,e.x*a/d)}},Vd={__proto__:null,LonLat:Xs,Mercator:Qs,SphericalMercator:zt},Ud=c({},Pt,{code:"EPSG:3395",projection:Qs,transformation:function(){var e=.5/(Math.PI*Qs.R);return G(e,.5,-e,.5)}()}),Bl=c({},Pt,{code:"EPSG:4326",projection:Xs,transformation:G(1/180,1,-1/180,.5)}),$d=c({},dt,{projection:Xs,transformation:G(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,a){var d=a.lng-e.lng,g=a.lat-e.lat;return Math.sqrt(d*d+g*g)},infinite:!0});dt.Earth=Pt,dt.EPSG3395=Ud,dt.EPSG3857=W,dt.EPSG900913=J,dt.EPSG4326=Bl,dt.Simple=$d;var Cn=Gt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[f(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[f(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var a=e.target;if(a.hasLayer(this)){if(this._map=a,this._zoomAnimated=a._zoomAnimated,this.getEvents){var d=this.getEvents();a.on(d,this),this.once("remove",function(){a.off(d,this)},this)}this.onAdd(a),this.fire("add"),a.fire("layeradd",{layer:this})}}});Ut.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var a=f(e);return this._layers[a]?this:(this._layers[a]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var a=f(e);return this._layers[a]?(this._loaded&&e.onRemove(this),delete this._layers[a],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return f(e)in this._layers},eachLayer:function(e,a){for(var d in this._layers)e.call(a,this._layers[d]);return this},_addLayers:function(e){e=e?j(e)?e:[e]:[];for(var a=0,d=e.length;athis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&a[0]instanceof le&&a[0].equals(a[d-1])&&a.pop(),a},_setLatLngs:function(e){Jn.prototype._setLatLngs.call(this,e),_n(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return _n(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,a=this.options.weight,d=new wt(a,a);if(e=new Bt(e.min.subtract(d),e.max.add(d)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var g=0,b=this._rings.length,E;ge.y!=b.y>e.y&&e.x<(b.x-g.x)*(e.y-g.y)/(b.y-g.y)+g.x&&(a=!a);return a||Jn.prototype._containsPoint.call(this,e,!0)}});function Qd(e,a){return new ii(e,a)}var Yn=Kn.extend({initialize:function(e,a){P(this,a),this._layers={},e&&this.addData(e)},addData:function(e){var a=j(e)?e:e.features,d,g,b;if(a){for(d=0,g=a.length;d0&&b.push(b[0].slice()),b}function oi(e,a){return e.feature?c({},e.feature,{geometry:a}):zo(a)}function zo(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var ra={toGeoJSON:function(e){return oi(this,{type:"Point",coordinates:na(this.getLatLng(),e)})}};Ao.include(ra),ta.include(ra),Ro.include(ra),Jn.include({toGeoJSON:function(e){var a=!_n(this._latlngs),d=Do(this._latlngs,a?1:0,!1,e);return oi(this,{type:(a?"Multi":"")+"LineString",coordinates:d})}}),ii.include({toGeoJSON:function(e){var a=!_n(this._latlngs),d=a&&!_n(this._latlngs[0]),g=Do(this._latlngs,d?2:a?1:0,!0,e);return a||(g=[g]),oi(this,{type:(d?"Multi":"")+"Polygon",coordinates:g})}}),ni.include({toMultiPoint:function(e){var a=[];return this.eachLayer(function(d){a.push(d.toGeoJSON(e).geometry.coordinates)}),oi(this,{type:"MultiPoint",coordinates:a})},toGeoJSON:function(e){var a=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(a==="MultiPoint")return this.toMultiPoint(e);var d=a==="GeometryCollection",g=[];return this.eachLayer(function(b){if(b.toGeoJSON){var E=b.toGeoJSON(e);if(d)g.push(E.geometry);else{var q=zo(E);q.type==="FeatureCollection"?g.push.apply(g,q.features):g.push(q)}}}),d?oi(this,{geometries:g,type:"GeometryCollection"}):{type:"FeatureCollection",features:g}}});function zl(e,a){return new Yn(e,a)}var tp=zl,jo=Cn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,a,d){this._url=e,this._bounds=fe(a),P(this,d)},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(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&Zn(this._image),this},bringToBack:function(){return this._map&&qn(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=fe(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",a=this._image=e?this._url:de("img");if(ie(a,"leaflet-image-layer"),this._zoomAnimated&&ie(a,"leaflet-zoom-animated"),this.options.className&&ie(a,this.options.className),a.onselectstart=v,a.onmousemove=v,a.onload=u(this.fire,this,"load"),a.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(a.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=a.src;return}a.src=this._url,a.alt=this.options.alt},_animateZoom:function(e){var a=this._map.getZoomScale(e.zoom),d=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;In(this._image,d,a)},_reset:function(){var e=this._image,a=new Bt(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),d=a.getSize();Ee(e,a.min),e.style.width=d.x+"px",e.style.height=d.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 e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),ep=function(e,a,d){return new jo(e,a,d)},jl=jo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",a=this._image=e?this._url:de("video");if(ie(a,"leaflet-image-layer"),this._zoomAnimated&&ie(a,"leaflet-zoom-animated"),this.options.className&&ie(a,this.options.className),a.onselectstart=v,a.onmousemove=v,a.onloadeddata=u(this.fire,this,"load"),e){for(var d=a.getElementsByTagName("source"),g=[],b=0;b0?g:[a.src];return}j(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(a.style,"objectFit")&&(a.style.objectFit="fill"),a.autoplay=!!this.options.autoplay,a.loop=!!this.options.loop,a.muted=!!this.options.muted,a.playsInline=!!this.options.playsInline;for(var E=0;Eb?(a.height=b+"px",ie(e,E)):Re(e,E),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var a=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),d=this._getAnchor();Ee(this._container,a.add(d))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,a=parseInt(lr(this._container,"marginBottom"),10)||0,d=this._container.offsetHeight+a,g=this._containerWidth,b=new wt(this._containerLeft,-d-this._containerBottom);b._add(mn(this._container));var E=e.layerPointToContainerPoint(b),q=Dt(this.options.autoPanPadding),tt=Dt(this.options.autoPanPaddingTopLeft||q),lt=Dt(this.options.autoPanPaddingBottomRight||q),kt=e.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+d+lt.y>kt.y&&(Yt=E.y+d-kt.y+lt.y),E.y-Yt-tt.y<0&&(Yt=E.y-tt.y),(It||Yt)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([It,Yt]))}},_getAnchor:function(){return Dt(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),ip=function(e,a){return new No(e,a)};Ut.mergeOptions({closePopupOnClick:!0}),Ut.include({openPopup:function(e,a,d){return this._initOverlay(No,e,a,d).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),Cn.include({bindPopup:function(e,a){return this._popup=this._initOverlay(No,this._popup,e,a),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(e){return this._popup&&(this instanceof Kn||(this._popup._source=this),this._popup._prepareOpen(e||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(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){X(e);var a=e.layer||e.target;if(this._popup._source===a&&!(a instanceof hr)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=a,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Fo=zn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){zn.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){zn.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=zn.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",a=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=de("div",a),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+f(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var a,d,g=this._map,b=this._container,E=g.latLngToContainerPoint(g.getCenter()),q=g.layerPointToContainerPoint(e),tt=this.options.direction,lt=b.offsetWidth,kt=b.offsetHeight,It=Dt(this.options.offset),Yt=this._getAnchor();tt==="top"?(a=lt/2,d=kt):tt==="bottom"?(a=lt/2,d=0):tt==="center"?(a=lt/2,d=kt/2):tt==="right"?(a=0,d=kt/2):tt==="left"?(a=lt,d=kt/2):q.xthis.options.maxZoom||dg?this._retainParent(b,E,q,g):!1)},_retainChildren:function(e,a,d,g){for(var b=2*e;b<2*e+2;b++)for(var E=2*a;E<2*a+2;E++){var q=new wt(b,E);q.z=d+1;var tt=this._tileCoordsToKey(q),lt=this._tiles[tt];if(lt&<.active){lt.retain=!0;continue}else lt&<.loaded&&(lt.retain=!0);d+1this.options.maxZoom||this.options.minZoom!==void 0&&b1){this._setView(e,d);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;ued.max.x)||!a.wrapLat&&(e.yd.max.y))return!1}if(!this.options.bounds)return!0;var g=this._tileCoordsToBounds(e);return fe(this.options.bounds).overlaps(g)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var a=this._map,d=this.getTileSize(),g=e.scaleBy(d),b=g.add(d),E=a.unproject(g,e.z),q=a.unproject(b,e.z);return[E,q]},_tileCoordsToBounds:function(e){var a=this._tileCoordsToNwSe(e),d=new Me(a[0],a[1]);return this.options.noWrap||(d=this._map.wrapLatLngBounds(d)),d},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var a=e.split(":"),d=new wt(+a[0],+a[1]);return d.z=+a[2],d},_removeTile:function(e){var a=this._tiles[e];a&&(Ce(a.el),delete this._tiles[e],this.fire("tileunload",{tile:a.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){ie(e,"leaflet-tile");var a=this.getTileSize();e.style.width=a.x+"px",e.style.height=a.y+"px",e.onselectstart=v,e.onmousemove=v,Ht.ielt9&&this.options.opacity<1&&rn(e,this.options.opacity)},_addTile:function(e,a){var d=this._getTilePos(e),g=this._tileCoordsToKey(e),b=this.createTile(this._wrapCoords(e),u(this._tileReady,this,e));this._initTile(b),this.createTile.length<2&>(u(this._tileReady,this,e,null,b)),Ee(b,d),this._tiles[g]={el:b,coords:e,current:!0},a.appendChild(b),this.fire("tileloadstart",{tile:b,coords:e})},_tileReady:function(e,a,d){a&&this.fire("tileerror",{error:a,tile:d,coords:e});var g=this._tileCoordsToKey(e);d=this._tiles[g],d&&(d.loaded=+new Date,this._map._fadeAnimated?(rn(d.el,0),at(this._fadeFrame),this._fadeFrame=gt(this._updateOpacity,this)):(d.active=!0,this._pruneTiles()),a||(ie(d.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:d.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ht.ielt9||!this._map._fadeAnimated?gt(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var a=new wt(this._wrapX?_(e.x,this._wrapX):e.x,this._wrapY?_(e.y,this._wrapY):e.y);return a.z=e.z,a},_pxBoundsToTileRange:function(e){var a=this.getTileSize();return new Bt(e.min.unscaleBy(a).floor(),e.max.unscaleBy(a).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function ap(e){return new Ui(e)}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(e,a){this._url=e,a=P(this,a),a.detectRetina&&Ht.retina&&a.maxZoom>0?(a.tileSize=Math.floor(a.tileSize/2),a.zoomReverse?(a.zoomOffset--,a.minZoom=Math.min(a.maxZoom,a.minZoom+1)):(a.zoomOffset++,a.maxZoom=Math.max(a.minZoom,a.maxZoom-1)),a.minZoom=Math.max(0,a.minZoom)):a.zoomReverse?a.minZoom=Math.min(a.maxZoom,a.minZoom):a.maxZoom=Math.max(a.minZoom,a.maxZoom),typeof a.subdomains=="string"&&(a.subdomains=a.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,a){return this._url===e&&a===void 0&&(a=!0),this._url=e,a||this.redraw(),this},createTile:function(e,a){var d=document.createElement("img");return ee(d,"load",u(this._tileOnLoad,this,a,d)),ee(d,"error",u(this._tileOnError,this,a,d)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(d.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(d.referrerPolicy=this.options.referrerPolicy),d.alt="",d.src=this.getTileUrl(e),d},getTileUrl:function(e){var a={r:Ht.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var d=this._globalTileRange.max.y-e.y;this.options.tms&&(a.y=d),a["-y"]=d}return A(this._url,c(a,this.options))},_tileOnLoad:function(e,a){Ht.ielt9?setTimeout(u(e,this,null,a),0):e(null,a)},_tileOnError:function(e,a,d){var g=this.options.errorTileUrl;g&&a.getAttribute("src")!==g&&(a.src=g),e(d,a)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,a=this.options.maxZoom,d=this.options.zoomReverse,g=this.options.zoomOffset;return d&&(e=a-e),e+g},_getSubdomain:function(e){var a=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[a]},_abortLoading:function(){var e,a;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(a=this._tiles[e].el,a.onload=v,a.onerror=v,!a.complete)){a.src=z;var d=this._tiles[e].coords;Ce(a),delete this._tiles[e],this.fire("tileabort",{tile:a,coords:d})}},_removeTile:function(e){var a=this._tiles[e];if(a)return a.el.setAttribute("src",z),Ui.prototype._removeTile.call(this,e)},_tileReady:function(e,a,d){if(!(!this._map||d&&d.getAttribute("src")===z))return Ui.prototype._tileReady.call(this,e,a,d)}});function Hl(e,a){return new si(e,a)}var Gl=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(e,a){this._url=e;var d=c({},this.defaultWmsParams);for(var g in a)g in this.options||(d[g]=a[g]);a=P(this,a);var b=a.detectRetina&&Ht.retina?2:1,E=this.getTileSize();d.width=E.x*b,d.height=E.y*b,this.wmsParams=d},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var a=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[a]=this._crs.code,si.prototype.onAdd.call(this,e)},getTileUrl:function(e){var a=this._tileCoordsToNwSe(e),d=this._crs,g=Vt(d.project(a[0]),d.project(a[1])),b=g.min,E=g.max,q=(this._wmsVersion>=1.3&&this._crs===Bl?[b.y,b.x,E.y,E.x]:[b.x,b.y,E.x,E.y]).join(","),tt=si.prototype.getTileUrl.call(this,e);return tt+H(this.wmsParams,tt,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+q},setParams:function(e,a){return c(this.wmsParams,e),a||this.redraw(),this}});function lp(e,a){return new Gl(e,a)}si.WMS=Gl,Hl.wms=lp;var Xn=Cn.extend({options:{padding:.1},initialize:function(e){P(this,e),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 e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,a){var d=this._map.getZoomScale(a,this._zoom),g=this._map.getSize().multiplyBy(.5+this.options.padding),b=this._map.project(this._center,a),E=g.multiplyBy(-d).add(b).subtract(this._map._getNewPixelOrigin(e,a));Ht.any3d?In(this._container,E,d):Ee(this._container,E)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,a=this._map.getSize(),d=this._map.containerPointToLayerPoint(a.multiplyBy(-e)).round();this._bounds=new Bt(d,d.add(a.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Vl=Xn.extend({options:{tolerance:0},getEvents:function(){var e=Xn.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Xn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");ee(e,"mousemove",this._onMouseMove,this),ee(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ee(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.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 e;this._redrawBounds=null;for(var a in this._layers)e=this._layers[a],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Xn.prototype._update.call(this);var e=this._bounds,a=this._container,d=e.getSize(),g=Ht.retina?2:1;Ee(a,e.min),a.width=g*d.x,a.height=g*d.y,a.style.width=d.x+"px",a.style.height=d.y+"px",Ht.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){Xn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[f(e)]=e;var a=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=a),this._drawLast=a,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var a=e._order,d=a.next,g=a.prev;d?d.prev=g:this._drawLast=g,g?g.next=d:this._drawFirst=d,delete e._order,delete this._layers[f(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var a=e.options.dashArray.split(/[, ]+/),d=[],g,b;for(b=0;b')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),cp={_initContainer:function(){this._container=de("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Xn.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var a=e._container=$i("shape");ie(a,"leaflet-vml-shape "+(this.options.className||"")),a.coordsize="1 1",e._path=$i("path"),a.appendChild(e._path),this._updateStyle(e),this._layers[f(e)]=e},_addPath:function(e){var a=e._container;this._container.appendChild(a),e.options.interactive&&e.addInteractiveTarget(a)},_removePath:function(e){var a=e._container;Ce(a),e.removeInteractiveTarget(a),delete this._layers[f(e)]},_updateStyle:function(e){var a=e._stroke,d=e._fill,g=e.options,b=e._container;b.stroked=!!g.stroke,b.filled=!!g.fill,g.stroke?(a||(a=e._stroke=$i("stroke")),b.appendChild(a),a.weight=g.weight+"px",a.color=g.color,a.opacity=g.opacity,g.dashArray?a.dashStyle=j(g.dashArray)?g.dashArray.join(" "):g.dashArray.replace(/( *, *)/g," "):a.dashStyle="",a.endcap=g.lineCap.replace("butt","flat"),a.joinstyle=g.lineJoin):a&&(b.removeChild(a),e._stroke=null),g.fill?(d||(d=e._fill=$i("fill")),b.appendChild(d),d.color=g.fillColor||g.color,d.opacity=g.fillOpacity):d&&(b.removeChild(d),e._fill=null)},_updateCircle:function(e){var a=e._point.round(),d=Math.round(e._radius),g=Math.round(e._radiusY||d);this._setPath(e,e._empty()?"M0 0":"AL "+a.x+","+a.y+" "+d+","+g+" 0,"+65535*360)},_setPath:function(e,a){e._path.v=a},_bringToFront:function(e){Zn(e._container)},_bringToBack:function(e){qn(e._container)}},Ho=Ht.vml?$i:ht,Zi=Xn.extend({_initContainer:function(){this._container=Ho("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Ho("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 e=this._bounds,a=e.getSize(),d=this._container;(!this._svgSize||!this._svgSize.equals(a))&&(this._svgSize=a,d.setAttribute("width",a.x),d.setAttribute("height",a.y)),Ee(d,e.min),d.setAttribute("viewBox",[e.min.x,e.min.y,a.x,a.y].join(" ")),this.fire("update")}},_initPath:function(e){var a=e._path=Ho("path");e.options.className&&ie(a,e.options.className),e.options.interactive&&ie(a,"leaflet-interactive"),this._updateStyle(e),this._layers[f(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Ce(e._path),e.removeInteractiveTarget(e._path),delete this._layers[f(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var a=e._path,d=e.options;a&&(d.stroke?(a.setAttribute("stroke",d.color),a.setAttribute("stroke-opacity",d.opacity),a.setAttribute("stroke-width",d.weight),a.setAttribute("stroke-linecap",d.lineCap),a.setAttribute("stroke-linejoin",d.lineJoin),d.dashArray?a.setAttribute("stroke-dasharray",d.dashArray):a.removeAttribute("stroke-dasharray"),d.dashOffset?a.setAttribute("stroke-dashoffset",d.dashOffset):a.removeAttribute("stroke-dashoffset")):a.setAttribute("stroke","none"),d.fill?(a.setAttribute("fill",d.fillColor||d.color),a.setAttribute("fill-opacity",d.fillOpacity),a.setAttribute("fill-rule",d.fillRule||"evenodd")):a.setAttribute("fill","none"))},_updatePoly:function(e,a){this._setPath(e,yt(e._parts,a))},_updateCircle:function(e){var a=e._point,d=Math.max(Math.round(e._radius),1),g=Math.max(Math.round(e._radiusY),1)||d,b="a"+d+","+g+" 0 1,0 ",E=e._empty()?"M0 0":"M"+(a.x-d)+","+a.y+b+d*2+",0 "+b+-d*2+",0 ";this._setPath(e,E)},_setPath:function(e,a){e._path.setAttribute("d",a)},_bringToFront:function(e){Zn(e._path)},_bringToBack:function(e){qn(e._path)}});Ht.vml&&Zi.include(cp);function $l(e){return Ht.svg||Ht.vml?new Zi(e):null}Ut.include({getRenderer:function(e){var a=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return a||(a=this._renderer=this._createRenderer()),this.hasLayer(a)||this.addLayer(a),a},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var a=this._paneRenderers[e];return a===void 0&&(a=this._createRenderer({pane:e}),this._paneRenderers[e]=a),a},_createRenderer:function(e){return this.options.preferCanvas&&Ul(e)||$l(e)}});var Zl=ii.extend({initialize:function(e,a){ii.prototype.initialize.call(this,this._boundsToLatLngs(e),a)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=fe(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function up(e,a){return new Zl(e,a)}Zi.create=Ho,Zi.pointsToPath=yt,Yn.geometryToLayer=Bo,Yn.coordsToLatLng=ea,Yn.coordsToLatLngs=Io,Yn.latLngToCoords=na,Yn.latLngsToCoords=Do,Yn.getFeature=oi,Yn.asFeature=zo,Ut.mergeOptions({boxZoom:!0});var ql=gn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.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(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Or(),Rr(),this._startPoint=this._map.mouseEventToContainerPoint(e),ee(document,{contextmenu:X,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=de("div","leaflet-zoom-box",this._container),ie(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var a=new Bt(this._point,this._startPoint),d=a.getSize();Ee(this._box,a.min),this._box.style.width=d.x+"px",this._box.style.height=d.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(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var a=new Me(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(a).fire("boxzoomend",{boxZoomBounds:a})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Ut.addInitHook("addHandler","boxZoom",ql),Ut.mergeOptions({doubleClickZoom:!0});var Wl=gn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var a=this._map,d=a.getZoom(),g=a.options.zoomDelta,b=e.originalEvent.shiftKey?d-g:d+g;a.options.doubleClickZoom==="center"?a.setZoom(b):a.setZoomAround(e.containerPoint,b)}});Ut.addInitHook("addHandler","doubleClickZoom",Wl),Ut.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Kl=gn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new ur(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.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 e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var a=fe(this._map.options.maxBounds);this._offsetLimit=Vt(this._map.latLngToContainerPoint(a.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(a.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var a=this._lastTime=+new Date,d=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(d),this._times.push(a),this._prunePositions(a)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),a=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=a.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,a){return e-(e-a)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),a=this._offsetLimit;e.xa.max.x&&(e.x=this._viscousLimit(e.x,a.max.x)),e.y>a.max.y&&(e.y=this._viscousLimit(e.y,a.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,a=Math.round(e/2),d=this._initialWorldOffset,g=this._draggable._newPos.x,b=(g-a+d)%e+a-d,E=(g+a+d)%e-a-d,q=Math.abs(b+d)0?E:-E))-a;this._delta=0,this._startTime=null,q&&(e.options.scrollWheelZoom==="center"?e.setZoom(a+q):e.setZoomAround(this._lastMousePos,a+q))}});Ut.addInitHook("addHandler","scrollWheelZoom",Yl);var hp=600;Ut.mergeOptions({tapHold:Ht.touchNative&&Ht.safari&&Ht.mobile,tapTolerance:15});var Xl=gn.extend({addHooks:function(){ee(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){l(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var a=e.touches[0];this._startPos=this._newPos=new wt(a.clientX,a.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(ee(document,"touchend",Z),ee(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",a))},this),hp),ee(document,"touchend touchcancel contextmenu",this._cancel,this),ee(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){l(document,"touchend",Z),l(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),l(document,"touchend touchcancel contextmenu",this._cancel,this),l(document,"touchmove",this._onMove,this)},_onMove:function(e){var a=e.touches[0];this._newPos=new wt(a.clientX,a.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,a){var d=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:a.screenX,screenY:a.screenY,clientX:a.clientX,clientY:a.clientY});d._simulated=!0,a.target.dispatchEvent(d)}});Ut.addInitHook("addHandler","tapHold",Xl),Ut.mergeOptions({touchZoom:Ht.touch,bounceAtZoomLimits:!0});var Ql=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(e){var a=this._map;if(!(!e.touches||e.touches.length!==2||a._animatingZoom||this._zooming)){var d=a.mouseEventToContainerPoint(e.touches[0]),g=a.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=a.getSize()._divideBy(2),this._startLatLng=a.containerPointToLatLng(this._centerPoint),a.options.touchZoom!=="center"&&(this._pinchStartLatLng=a.containerPointToLatLng(d.add(g)._divideBy(2))),this._startDist=d.distanceTo(g),this._startZoom=a.getZoom(),this._moved=!1,this._zooming=!0,a._stop(),ee(document,"touchmove",this._onTouchMove,this),ee(document,"touchend touchcancel",this._onTouchEnd,this),Z(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var a=this._map,d=a.mouseEventToContainerPoint(e.touches[0]),g=a.mouseEventToContainerPoint(e.touches[1]),b=d.distanceTo(g)/this._startDist;if(this._zoom=a.getScaleZoom(b,this._startZoom),!a.options.bounceAtZoomLimits&&(this._zooma.getMaxZoom()&&b>1)&&(this._zoom=a._limitZoom(this._zoom)),a.options.touchZoom==="center"){if(this._center=this._startLatLng,b===1)return}else{var E=d._add(g)._divideBy(2)._subtract(this._centerPoint);if(b===1&&E.x===0&&E.y===0)return;this._center=a.unproject(a.project(this._pinchStartLatLng,this._zoom).subtract(E),this._zoom)}this._moved||(a._moveStart(!0,!1),this._moved=!0),at(this._animRequest);var q=u(a._move,a,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=gt(q,this,!0),Z(e)}},_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",Ql),Ut.BoxZoom=ql,Ut.DoubleClickZoom=Wl,Ut.Drag=Kl,Ut.Keyboard=Jl,Ut.ScrollWheelZoom=Yl,Ut.TapHold=Xl,Ut.TouchZoom=Ql,s.Bounds=Bt,s.Browser=Ht,s.CRS=dt,s.Canvas=Vl,s.Circle=ta,s.CircleMarker=Ro,s.Class=Lt,s.Control=Pe,s.DivIcon=Fl,s.DivOverlay=zn,s.DomEvent=oe,s.DomUtil=qs,s.Draggable=ur,s.Evented=Gt,s.FeatureGroup=Kn,s.GeoJSON=Yn,s.GridLayer=Ui,s.Handler=gn,s.Icon=ri,s.ImageOverlay=jo,s.LatLng=le,s.LatLngBounds=Me,s.Layer=Cn,s.LayerGroup=ni,s.LineUtil=Gd,s.Map=Ut,s.Marker=Ao,s.Mixin=Dd,s.Path=hr,s.Point=wt,s.PolyUtil=zd,s.Polygon=ii,s.Polyline=Jn,s.Popup=No,s.PosAnimation=xe,s.Projection=Vd,s.Rectangle=Zl,s.Renderer=Xn,s.SVG=Zi,s.SVGOverlay=Nl,s.TileLayer=si,s.Tooltip=Fo,s.Transformation=ce,s.Util=bt,s.VideoOverlay=jl,s.bind=u,s.bounds=Vt,s.canvas=Ul,s.circle=Yd,s.circleMarker=Jd,s.control=Ve,s.divIcon=sp,s.extend=c,s.featureGroup=qd,s.geoJSON=zl,s.geoJson=tp,s.gridLayer=ap,s.icon=Wd,s.imageOverlay=ep,s.latLng=Ft,s.latLngBounds=fe,s.layerGroup=Zd,s.map=ke,s.marker=Kd,s.point=Dt,s.polygon=Qd,s.polyline=Xd,s.popup=ip,s.rectangle=up,s.setOptions=P,s.stamp=f,s.svg=$l,s.svgOverlay=rp,s.tileLayer=Hl,s.tooltip=op,s.transformation=G,s.version=o,s.videoOverlay=np;var dp=window.L;s.noConflict=function(){return window.L=dp,this},window.L=s})})(qa,qa.exports);var cx=qa.exports;const sn=lx(cx),ux="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==",hx="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=",dx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",px={className:"bg-map-asserted rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},fx={className:"bg-map-collection-object rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},Ad={className:"bg-map-georeference rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},mx={className:"bg-map-type-material map-point-marker rounded-full",iconSize:[8,8],iconAnchor:[4,4]},gx=Object.freeze(Object.defineProperty({__proto__:null,AssertedDistribution:px,CollectionObject:fx,Georeference:Ad,TypeMaterial:mx},Symbol.toStringTag,{value:"Module"})),_x={color:"rgb(var(--color-map-aggregate))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},yx={color:"rgb(var(--color-map-asserted))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},vx={color:"rgb(var(--color-map-collection-object))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},bx={color:"rgb(var(--color-map-type-material))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},Mu=Object.freeze(Object.defineProperty({__proto__:null,Aggregate:_x,AssertedDistribution:yx,CollectionObject:vx,TypeMaterial:bx},Symbol.toStringTag,{value:"Module"})),Cu=["TypeMaterial","CollectionObject","AssertedDistribution","Georeference","Aggregate"],Pu={allowEditing:!1,allowRemoval:!1,allowCutting:!1,allowRotation:!1,draggable:!1};function Su(t){const n=t.map(s=>s.type);return n.sort((s,o)=>Cu.indexOf(s)-Cu.indexOf(o)),n[0]}const wx=t=>({onEachFeature:(n,s)=>{const o=(n.properties.base||[]).map(i=>i.label).filter(Boolean);if(!o.length)return;const c=` +
+
    + ${o.map(i=>` +
  • + ${i} +
  • + `).join("")} +
+
`;s.pm.setOptions(Pu),s.pm.disable(),s.bindPopup(c)},pointToLayer:(n,s)=>{const o=Su(n.properties.base),c=gx[o]||Ad,i=t.marker(s,{icon:t.divIcon(c)});return i.pm.setOptions(Pu),i},style:n=>{var o;const s=Su((o=n.properties)==null?void 0:o.base);if(Mu[s])return Mu[s]}}),{map_tile_server:xx,map_tile_attribution:kx,map_tiles:Lx}={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:"https://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 Mx(t,n){return Object.fromEntries((Lx||[{label:"tile",server:xx,attribution:kx}]).map(({server:o,attribution:c,label:i})=>[i,t.tileLayer(o,{...n,attribution:c})]))}(()=>{var t={9705:(o,c,i)=>{var u=i(1540);function h(f){var m=[1/0,1/0,-1/0,-1/0];return u.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}h.default=h,c.Z=h},4102:(o,c)=>{function i(S,A,j){j===void 0&&(j={});var O={type:"Feature"};return(j.id===0||j.id)&&(O.id=j.id),j.bbox&&(O.bbox=j.bbox),O.properties=A||{},O.geometry=S,O}function u(S,A,j){if(j===void 0&&(j={}),!S)throw new Error("coordinates is required");if(!Array.isArray(S))throw new Error("coordinates must be an Array");if(S.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!H(S[0])||!H(S[1]))throw new Error("coordinates must contain numbers");return i({type:"Point",coordinates:S},A,j)}function h(S,A,j){j===void 0&&(j={});for(var O=0,z=S;O=0))throw new Error("precision must be a positive number");var j=Math.pow(10,A||0);return Math.round(S*j)/j},c.radiansToLength=T,c.lengthToRadians=C,c.lengthToDegrees=function(S,A){return P(C(S,A))},c.bearingToAzimuth=function(S){var A=S%360;return A<0&&(A+=360),A},c.radiansToDegrees=P,c.degreesToRadians=function(S){return S%360*Math.PI/180},c.convertLength=function(S,A,j){if(A===void 0&&(A="kilometers"),j===void 0&&(j="kilometers"),!(S>=0))throw new Error("length must be a positive number");return T(C(S,A),j)},c.convertArea=function(S,A,j){if(A===void 0&&(A="meters"),j===void 0&&(j="kilometers"),!(S>=0))throw new Error("area must be a positive number");var O=c.areaFactors[A];if(!O)throw new Error("invalid original units");var z=c.areaFactors[j];if(!z)throw new Error("invalid final units");return S/O*z},c.isNumber=H,c.isObject=function(S){return!!S&&S.constructor===Object},c.validateBBox=function(S){if(!S)throw new Error("bbox is required");if(!Array.isArray(S))throw new Error("bbox must be an Array");if(S.length!==4&&S.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");S.forEach(function(A){if(!H(A))throw new Error("bbox must only contain numbers")})},c.validateId=function(S){if(!S)throw new Error("id is required");if(["string","number"].indexOf(typeof S)===-1)throw new Error("id must be a number or a string")}},1540:(o,c,i)=>{Object.defineProperty(c,"__esModule",{value:!0});var u=i(4102);function h(C,P,H){if(C!==null)for(var S,A,j,O,z,K,ot,Y,st=0,ct=0,gt=C.type,at=gt==="FeatureCollection",bt=gt==="Feature",Lt=at?C.features.length:1,Et=0;EtK||at>ot||bt>Y)return z=st,K=S,ot=at,Y=bt,void(j=0);var Lt=u.lineString([z,st],H.properties);if(P(Lt,S,A,bt,j)===!1)return!1;j++,z=st})!==!1&&void 0}}})}function T(C,P){if(!C)throw new Error("geojson is required");v(C,function(H,S,A){if(H.geometry!==null){var j=H.geometry.type,O=H.geometry.coordinates;switch(j){case"LineString":if(P(H,S,A,0,0)===!1)return!1;break;case"Polygon":for(var z=0;z{i(7107);var u=i(2492),h=i.n(u);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ă"}}'),T=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"}}'),P=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"}}'),H=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"}}`),S=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":"将共享顶点固定在一起"}}'),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":"將共享頂點固定在一起"}}'),j={en:f,de:m,it:_,id:v,ro:M,ru:T,es:C,nl:P,fr:H,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:S,zh_tw:A,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 O(r,l){var p=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),p.push.apply(p,y)}return p}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 p=r[l];this._isRelevantForEdit(p)&&this.globalEditModeEnabled()&&p.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 p=r[l];this._isRelevantForDrag(p)&&this.globalDragModeEnabled()&&p.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 p=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),p.push.apply(p,y)}return p}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",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._map,"pm:create",{shape:this._shape,marker:r,layer:r},l,p)},_fireCenterPlaced:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Draw",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=r==="Draw"?this._layer:void 0,y=r!=="Draw"?this._layer:void 0;this.__fire(this._layer,"pm:centerplaced",{shape:this._shape,workingLayer:p,layer:y,latlng:this._layer.getLatLng()},r,l)},_fireCut:function(r,l,p){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:p},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",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(r,"pm:edit",{layer:this._layer,shape:this.getShape()},l,p)},_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,p=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},p,y)},_fireMarkerDrag:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,p=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},p,y)},_fireMarkerDragEnd:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,p=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:p},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",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:drag",at(at({},r),{},{shape:this.getShape()}),l,p)},_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,p=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()},p,y)},_fireVertexAdded:function(r,l,p){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:p,shape:this.getShape()},y,x)},_fireVertexRemoved:function(r,l){var p=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()},p,y)},_fireVertexClick:function(r,l){var p=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()},p,y)},_fireIntersect:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:intersect",{layer:this._layer,intersection:r,shape:this.getShape()},l,p)},_fireLayerReset:function(r,l){var p=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()},p,y)},_fireChange:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:change",{layer:this._layer,latlngs:r,shape:this.getShape()},l,p)},_fireTextChange:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:textchange",{layer:this._layer,text:r,shape:this.getShape()},l,p)},_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 p=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,p,y)},_fireSnap:function(r,l){var p=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,p,y)},_fireUnsnap:function(r,l){var p=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,p,y)},_fireRotationEnable:function(r,l){var p=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()},p,y)},_fireRotationDisable:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Rotation",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(r,"pm:rotatedisable",{layer:this._layer,shape:this.getShape()},l,p)},_fireRotationStart:function(r,l){var p=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},p,y)},_fireRotation:function(r,l,p){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:p,newLatLngs:y.getLatLngs()},x,B)},_fireRotationEnd:function(r,l,p){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:p,newLatLngs:this._rotationLayer.getLatLngs()},y,x)},_fireActionClick:function(r,l,p){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:p},y,x)},_fireButtonClick:function(r,l){var p=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},p,y)},_fireLangChange:function(r,l,p,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:p,translations:y},x,B)},_fireGlobalDragModeToggled:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globaldragmodetoggled",{enabled:r,map:this.map},l,p)},_fireGlobalEditModeToggled:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globaleditmodetoggled",{enabled:r,map:this.map},l,p)},_fireGlobalRemovalModeToggled:function(r){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globalremovalmodetoggled",{enabled:r,map:this.map},l,p)},_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,p=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},p,y)},_fireKeyeventEvent:function(r,l,p){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:p},y,x)},__fire:function(r,l,p,y){var x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};p=h()(p,x,{source:y}),L.PM.Utils._fireEvent(r,l,p)}};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 p={event:r,eventType:r.type,focusOn:l};this._lastEvents[r.type]=p,this._lastEvents.current=p,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),pe=i(8721),Dt=i.n(pe);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+Wn),Hi=Wn,Wn=mt/($*Eo)+Br*(x=Math.sin(Wn))*(y+Br/4*((B=Math.cos(Wn))*(2*y*y-1)-Br/6*y*(4*x*x-3)*(4*y*y-3)));var To=Ut*x-xe*B*qt,Ws=Math.atan2(Ut*B+xe*x*qt,(1-V)*Math.sqrt(Pe*Pe+To*To)),Ir=V/16*Ve*(4+V*(4-3*Ve)),Ks=Z+180*(Math.atan2(x*Rt,xe*B-Ut*x*qt)-(1-Ir)*V*Pe*(Wn+Ir*x*(y+Ir*B*(2*y*y-1))))/ut,gn=180*Ws/ut;return L.latLng(Ks,gn)}function le(r,l,p,y){for(var x,B,N=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],$=[],V=0;V180?ke-360:ke<-180?ke+360:ke,L.latLng([Ut*Z,ke])}(l,x,y)}function dt(r,l){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"asc";if(!l||Object.keys(l).length===0)return function(V,Z){return V-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 $(V){return V instanceof L.Marker?"Marker":V instanceof L.Circle?"Circle":V instanceof L.CircleMarker?"CircleMarker":V instanceof L.Rectangle?"Rectangle":V instanceof L.Polygon?"Polygon":V instanceof L.Polyline?"Line":void 0}return function(V,Z){var X,mt;if(r==="instanceofShape"){if(X=$(V.layer).toLowerCase(),mt=$(Z.layer).toLowerCase(),!X||!mt)return 0}else{if(!V.hasOwnProperty(r)||!Z.hasOwnProperty(r))return 0;X=V[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),p==="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 p,y;if((p=l.options.crs)!==null&&p!==void 0&&(y=p.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,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"en",y=L.PM.activeLang;l&&(j[r]=h()(j[p],l)),L.PM.activeLang=r,this.map.pm.Toolbar.reinit(),this._fireLangChange(y,r,p,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,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=p.ignoreShapes||[],x=p.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,p=h()(this.globalOptions,r),y=!1;this.map.pm.Draw.CircleMarker.enabled()&&!!this.map.pm.Draw.CircleMarker.options.editable!=!!p.editable&&(this.map.pm.Draw.CircleMarker.disable(),y=!0),this.map.pm.Draw.shapes.forEach(function(x){l.map.pm.Draw[x].setOptions(p)}),y&&this.map.pm.Draw.CircleMarker.enable(),L.PM.Utils.findLayers(this.map).forEach(function(x){x.pm.setOptions(p)}),this.map.fire("pm:globaloptionschanged"),this.globalOptions=p,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 p=L.featureGroup();return p._pmTempLayer=!0,l.forEach(function(y){p.addLayer(y)}),p},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 p=L.featureGroup();return p._pmTempLayer=!0,l.forEach(function(y){p.addLayer(y)}),p},_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 p,y=l.touches[0]||l.changedTouches[0];try{p=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{(p=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 p}}),G=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,p=this.options.position.indexOf("right")>-1?"pos-right":"",y=L.DomUtil.create("div","button-container ".concat(p),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(p),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(p," 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 V=L.DomUtil.create("div","control-icon",x);return r.iconUrl&&V.setAttribute("src",r.iconUrl),r.className&&L.DomUtil.addClass(V,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 p in l)if(l[p]._button===this._button){r=p;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 W(r,l){var p=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),p.push.apply(p,y)}return p}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 p in r){var y=r[p];L.Util.setOptions(y,{className:l.geomanIcons[p]})}},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 p=this.buttons[l];p._button.disableByOtherButtons&&p!==r&&p.toggled()&&p._triggerClick()}},toggleButton:function(r,l){var p=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return r==="editPolygon"&&(r="editMode"),r==="deleteLayer"&&(r="removalMode"),p&&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"]},p={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"]},V={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(p)),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(V)),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 p 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[p]&&l.indexOf(p)===-1){var y=r[p]._button.tool;y||(y="draw"),r[p].setPosition(this._getBtnPosition(y)),r[p].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");yt(l)!=="object"&&(l={name:l});var p=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,p);return l=J(J({},this.buttons[p]._button),l),{drawInstance:y,control:this.createCustomControl(l)}},createCustomControl:function(r){var l,p;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:(p=r.disableByOtherButtons)===null||p===void 0||p,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(),p=[];r.forEach(function(Z){l[Z]?p.push(l[Z]):p.push(Z)});var y=this.getButtons(),x={};p.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){p.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){p.indexOf(Z)===-1&&(x[Z]=y[Z])});var $=Object.keys(y).filter(function(Z){return y[Z]._button.tool==="options"});$.forEach(function(Z){p.indexOf(Z)===-1&&(x[Z]=y[Z])});var V=Object.keys(y).filter(function(Z){return y[Z]._button.tool==="custom"});V.forEach(function(Z){p.indexOf(Z)===-1&&(x[Z]=y[Z])}),Object.keys(y).forEach(function(Z){p.indexOf(Z)===-1&&(x[Z]=y[Z])}),this.map.pm.Toolbar.buttons=x,this._showHideButtons()},getControlOrder:function(){var r=this.getButtons(),l=[];for(var p in r)l.push(p);return l},changeActionsOfControl:function(r,l){var p=this._btnNameMapping(r);if(!p)throw new TypeError("No name passed");if(!l)throw new TypeError("No actions passed");if(!this.buttons[p])throw new TypeError("Button with this name not exists");this.buttons[p]._button.actions=l,this.changeControlOrder()},setButtonDisabled:function(r,l){var p=this._btnNameMapping(r);l?this.buttons[p].disable():this.buttons[p].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 p=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),p.push.apply(p,y)}return p}function I(r){for(var l=1;l2&&arguments[2]!==void 0?arguments[2]:1,x=[],B={};l.forEach(function($,V){if(!$._parentCopy||$._parentCopy!==p._layer){var Z=p._calcLayerDistances(r,$);if(Z.distance=Math.floor(Z.distance),p.debugIndicatorLines){if(!p.debugIndicatorLines[V]){var X=L.polyline([],{color:"red",pmIgnore:!0});X._pmTempLayer=!0,p.debugIndicatorLines[V]=X}p.debugIndicatorLines[V].setLatLngs([r,Z.latlng])}y===1&&(B.distance===void 0||Z.distance<=B.distance)?(Z.distance3&&arguments[3]!==void 0&&arguments[3],V=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(p,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 p=["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],y=this._map.pm.globalOptions.snappingOrder||[],x=0,B={};return y.concat(p).forEach(function(N){B[N]||(x+=1,B[N]=x)}),r.sort(dt("instanceofShape",B)),l===1?r[0]||{}:r.slice(0,l)},_checkPrioritiySnapping:function(r){var l=this._map,p=r.segment[0],y=r.segment[1],x=r.latlng,B=this._getDistance(l,p,x),N=this._getDistance(l,y,x),$=B1&&arguments[1]!==void 0&&arguments[1];this.options.pathOptions=l?h()(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(p){l[p]._enabled&&(r=p)}),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 p=this._getShapeFromBtnName(l);if(this[r])throw new TypeError("Draw Type already exists");if(!L.PM.Draw[p])throw new TypeError("There is no class L.PM.Draw.".concat(p));return this[r]=new L.PM.Draw[p](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(p){l.isRelevantMarker(p)&&p.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(),p=new L.Marker(l,this.options.markerStyle);this._setPane(p,"markerPane"),this._finishLayer(p),p.pm||(p.options.draggable=!1),p.addTo(this._map.pm._getContainingLayer()),p.pm&&this.options.markerEditable?p.pm.enable():p.dragging&&p.dragging.disable(),this._fireCreate(p),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,p){p===void 0&&(p={});var y={type:"Feature"};return(p.id===0||p.id)&&(y.id=p.id),p.bbox&&(y.bbox=p.bbox),y.properties=l||{},y.geometry=r,y}function vt(r,l,p){if(p===void 0&&(p={}),!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,p)}function Tt(r,l,p){if(p===void 0&&(p={}),r.length<2)throw new Error("coordinates must be an array of two or more positions");return it({type:"LineString",coordinates:r},l,p)}function jt(r,l){l===void 0&&(l={});var p={type:"FeatureCollection"};return l.id&&(p.id=l.id),l.bbox&&(p.bbox=l.bbox),p.features=r,p}function Jt(r,l){l===void 0&&(l="kilometers");var p=Q[l];if(!p)throw new Error(l+" units is invalid");return r*p}function te(r,l){l===void 0&&(l="kilometers");var p=Q[l];if(!p)throw new Error(l+" units is invalid");return r/p}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,p,y={type:"FeatureCollection",features:[]};if((p=r.type==="Feature"?r.geometry:r).type==="LineString")l=[p.coordinates];else if(p.type==="MultiLineString")l=p.coordinates;else if(p.type==="MultiPolygon")l=[].concat.apply([],p.coordinates);else{if(p.type!=="Polygon")throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");l=p.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 p=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);l&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(r,x).enumerable})),p.push.apply(p,y)}return p}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 Ne(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 An(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,p){if(r!==null)for(var y,x,B,N,$,V,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 p=this._layer._defaultShape().slice();p.push(this._hintMarker.getLatLng()),this._change(p)},hasSelfIntersection:function(){return he(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersection:function(r,l){var p=L.polyline(this._layer.getLatLngs());r&&(l||(l=this._hintMarker.getLatLng()),p.addLatLng(l));var y=he(p.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(),p=this._layer.getLatLngs(),y=p[p.length-1];if(l.equals(p[0])||p.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(),p=r[r.length-1],y=L.PM.Utils.findDeepMarkerIndex(r,p).indexPath;r.pop(),this._layerGroup.removeLayer(p);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(p,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 p=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-style-marker"}),draggable:!1,zIndexOffset:100});this._setPane(p,"vertexPane"),p._pmTempLayer=!0,this._layerGroup.addLayer(p),this._styleMarkers.push(p)}}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(p){L.DomUtil.addClass(p._icon,"visible"),p.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 p=this._layerGroup&&this._layerGroup.hasLayer(this._layer)?this._layer.getLatLngs():[this._hintMarker.getLatLng()];this._fireChange(p,"Draw")},_syncRectangleSize:function(){var r=this,l=St(this._startMarker.getLatLng(),this._map),p=St(this._hintMarker.getLatLng(),this._map),y=L.PM.Utils._getRotatedRectangle(l,p,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(p,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(),p=this._startMarker.getLatLng();if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){var y=L.rectangle([p,l],this.options.pathOptions);if(this.options.rectangleAngle){var x=L.PM.Utils._getRotatedRectangle(p,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(),p=this._hintMarker.getLatLng();r=this._map.options.crs===L.CRS.Simple?this._map.distance(l,p):l.distanceTo(p),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 p=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(p,"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,p=this._centerMarker.getLatLng(),y=this._hintMarker.getLatLng();l=this._map.options.crs===L.CRS.Simple?this._map.distance(p,y):p.distanceTo(y),this.options.minRadiusCircle&&lthis.options.maxRadiusCircle&&(l=this.options.maxRadiusCircle);var x=un(un({},this.options.pathOptions),{},{radius:l}),B=L.circle(p,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(),p=l.distanceTo(r);return this.options.minRadiusCircle&&pthis.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(),p=r.distanceTo(l);this._layerGroup.hasLayer(this._centerMarker)&&(this.options.minRadiusCircle&&pthis.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 p={};L.extend(p,this.options.templineStyle),p.radius=0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.circleMarker(this._map.getCenter(),p),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(),p=this._map.project(r).distanceTo(this._map.project(l));this.options.minRadiusCircleMarker&&pthis.options.maxRadiusCircleMarker?this._layer.setRadius(this.options.maxRadiusCircleMarker):this._layer.setRadius(p)},_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 p=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(p,"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(),p=L.circleMarker(l,this.options.pathOptions);this._setPane(p,"layerPane"),this._finishLayer(p),p.addTo(this._map.pm._getContainingLayer()),p.pm&&this.options.markerEditable&&p.pm.enable(),this._fireCreate(p),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(),p=this._hintMarker.getLatLng(),y=this._map.project(l).distanceTo(this._map.project(p));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(),p=this._map.project(l).distanceTo(this._map.project(r));this.options.minRadiusCircleMarker&&pthis.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(),p=this._map.project(r).distanceTo(this._map.project(l));this._layerGroup.hasLayer(this._centerMarker)&&(this.options.minRadiusCircleMarker&&pthis.options.maxRadiusCircleMarker)&&this._hintMarker.setLatLng(this._hintMarker._orgLatLng)}this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker())}},_pxRadiusToMeter:function(r){var l=this._centerMarker.getLatLng(),p=this._map.project(l),y=L.point(p.x+r,p.y);return this._map.unproject(y).distanceTo(l)},setStyle:function(){var r,l,p={};L.extend(p,this.options.templineStyle),this.options.editable&&(p.radius=0),(r=this._layer)===null||r===void 0||r.setStyle(p),(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(p){(function(y,x){var B=[],N=y.geometry;if(N!==null){switch(N.type){case"Polygon":B=Ne(N);break;case"LineString":B=[Ne(N)]}B.forEach(function($){var V=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);V.forEach(function(Z){Z.id=x.length,x.push(Z)})})}})(p,l)}),jt(l)};var Ht=i(1787);function Oi(r,l){var p=Ne(r),y=Ne(l);if(p.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=p[0][0],B=p[0][1],N=p[1][0],$=p[1][1],V=y[0][0],Z=y[0][1],X=y[1][0],mt=y[1][1],ut=(mt-Z)*(N-x)-(X-V)*($-B),Mt=(X-V)*(B-Z)-(mt-Z)*(x-V),Rt=(N-x)*(B-Z)-($-B)*(x-V);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 Rn=function(r,l){var p={},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 V=Oi(N,$);if(V){var Z=Ne(V).join(",");p[Z]||(p[Z]=!0,y.push(V))}})}),jt(y)},Bn=function(r,l,p){p===void 0&&(p={});var y=We(r),x=We(l),B=Xt(x[1]-y[1]),N=Xt(x[0]-y[0]),$=Xt(y[1]),V=Xt(x[1]),Z=Math.pow(Math.sin(B/2),2)+Math.pow(Math.sin(N/2),2)*Math.cos($)*Math.cos(V);return Jt(2*Math.atan2(Math.sqrt(Z),Math.sqrt(1-Z)),p.units)},ko=function(r){var l=r[0],p=r[1],y=r[2],x=r[3];if(Bn(r.slice(0,2),[y,p])>=Bn(r.slice(0,2),[l,x])){var B=(p+x)/2;return[l,B-(y-l)/2,y,B+(y-l)/2]}var N=(l+y)/2;return[N-(x-p)/2,p,N+(x-p)/2,x]};function Pr(r){var l=[1/0,1/0,-1/0,-1/0];return Ei(r,function(p){l[0]>p[0]&&(l[0]=p[0]),l[1]>p[1]&&(l[1]=p[1]),l[2] is required");if(typeof p!="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,p);return Ei(r,function(N){(function($,V,Z){$.length>Z&&$.splice(Z,$.length);for(var X=0;X<$.length;X++)$[X]=Math.round($[X]*V)/V})(N,B,y)}),r};function Ai(r,l,p){if(p===void 0&&(p={}),p.final===!0)return function(mt,ut){var Mt=Ai(ut,mt);return Mt=(Mt+180)%360}(r,l);var y=We(r),x=We(l),B=Xt(y[0]),N=Xt(x[0]),$=Xt(y[1]),V=Xt(x[1]),Z=Math.sin(N-B)*Math.cos(V),X=Math.cos($)*Math.sin(V)-Math.sin($)*Math.cos(V)*Math.cos(N-B);return be(Math.atan2(Z,X))}function Lo(r,l,p,y){y===void 0&&(y={});var x=We(r),B=Xt(x[0]),N=Xt(x[1]),$=Xt(p),V=te(l,y.units),Z=Math.asin(Math.sin(N)*Math.cos(V)+Math.cos(N)*Math.sin(V)*Math.cos($));return vt([be(B+Math.atan2(Math.sin($)*Math.sin(V)*Math.cos(N),Math.cos(V)-Math.sin(N)*Math.sin(Z))),be(Z)],y.properties)}const Us=function(r,l,p){p===void 0&&(p={});var y=vt([1/0,1/0],{dist:1/0}),x=0;return Ti(r,function(B){for(var N=Ne(B),$=0;$0&&((oe=qt.features[0]).properties.dist=Bn(l,oe,p),oe.properties.location=x+Bn(V,oe,p)),V.properties.dist1&&p.push(Tt(Z)),jt(p)}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 p,y=1/0;return Cr(l,function(x){var B=Us(x,r).properties.dist;B=ut[0]&&Mt[3]>=ut[1]}(y,N)===!1)return!1;B==="Polygon"&&($=[$]);for(var V=!1,Z=0;Z<$.length&&!V;Z++)if(Co(y,$[Z][0],p.ignoreBoundary)){for(var X=!1,mt=1;mt<$[Z].length&&!X;)Co(y,$[Z][mt],!p.ignoreBoundary)&&(X=!0),mt++;X||(V=!0)}return V}function Co(r,l,p){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]<(V-N)*(r[1]-$)/(Z-$)+N&&(y=!y)}return y}function $s(r,l,p,y,x){var B=p[0],N=p[1],$=r[0],V=r[1],Z=l[0],X=l[1],mt=Z-$,ut=X-V,Mt=(p[0]-$)*ut-(p[1]-V)*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?V=Math.abs(ut)?mt>0?$<=B&&B0?V<=N&&N=Math.abs(ut)?mt>0?$0?V=Math.abs(ut)?mt>0?$<=B&&B<=Z:Z<=B&&B<=$:ut>0?V<=N&&N<=X:X<=N&&N<=V}const Sr=function(r,l,p){p===void 0&&(p={});for(var y=We(r),x=Ne(l),B=0;B"u"?null:p.epsilon))return!0}return!1};function Zs(r,l){var p=An(r),y=An(l),x=p.type,B=y.type,N=p.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(V,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 de({type:"LineString",coordinates:B})}(x))}):y.push(r),y}function Re(r){var l=[];return r.eachLayer(function(p){l.push(Er(p.toGeoJSON(15)))}),function(p){return de({type:"MultiLineString",coordinates:p})}(l)}function Di(r,l){return function(p){if(Array.isArray(p))return p}(r)||function(p,y){var x=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(x!=null){var B,N,$=[],V=!0,Z=!1;try{for(x=x.call(p);!(V=(B=x.next()).done)&&($.push(B.value),!y||$.length!==y);V=!0);}catch(X){Z=!0,N=X}finally{try{V||x.return==null||x.return()}finally{if(Z)throw N}}return $}}(r,l)||function(p,y){if(p){if(typeof p=="string")return Tr(p,y);var x=Object.prototype.toString.call(p).slice(8,-1);if(x==="Object"&&p.constructor&&(x=p.constructor.name),x==="Map"||x==="Set")return Array.from(p);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return Tr(p,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 p=0,y=new Array(l);pr.length)&&(l=r.length);for(var p=0,y=new Array(l);p0)||l.options.layersToCut.indexOf(x)>-1}).filter(function(x){return!l._layerGroup.hasLayer(x)}).filter(function(x){try{var B=!!Rn(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),V=Ce(N),Z=Ce($),!((X=lr().intersection(V.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,$,V,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),V=L.geoJSON($,x.options);if(V.getLayers().length===1){var Z=V.getLayers();V=Di(Z,1)[0]}l._setPane(V,"layerPane");var X=V.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 p,y,x,B,N,$,V=L.geoJSON();if(l instanceof L.Polygon)y=l.toGeoJSON(15),x=r.toGeoJSON(15),B=Ce(y),N=Ce(x),p=($=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=Wr(X,r.toGeoJSON(15));(mt&&mt.features.length>0?L.geoJSON(mt):L.geoJSON(X)).getLayers().forEach(function(ut){Zs(r.toGeoJSON(15),ut.toGeoJSON(15))||ut.addTo(V)})}),p=Z.length>1?Re(V):V.toGeoJSON(15)}return p},_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 p=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(p,{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 $,V,Z,X,mt;N.pm.textArea=this.textArea,L.setOptions(N.pm,{removeIfEmpty:($=(V=this.options.textOptions)===null||V===void 0?void 0:V.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,p={originalEvent:l,target:this._layer};return p.containerPoint=this._map.mouseEventToContainerPoint(l),p.latlng=this._map.containerPointToLatLng(p.containerPoint),this._dragMixinOnMouseDown(p),!1},_simulateMouseMoveEvent:function(r){var l=r.touches?r.touches[0]:r,p={originalEvent:l,target:this._layer};return p.containerPoint=this._map.mouseEventToContainerPoint(l),p.latlng=this._map.containerPointToLatLng(p.containerPoint),this._dragMixinOnMouseMove(p),!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,p=this._syncLayers("_dragMixinOnMouseDown",r);this._layer instanceof L.Marker&&(!this.options.snappable||l||p?this._disableSnapping():this._initSnappableMarkers()),this._layer instanceof L.CircleMarker&&!(this._layer instanceof L.Circle)&&(!this.options.snappable||l||p?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,p=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,p&&L.DomUtil.removeClass(p,"leaflet-pm-dragging"),l._fireDragEnd(),l._fireEdit(),l._layerEdited=!0},10),!0)},_onLayerDrag:function(r){var l=r.latlng,p=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+p,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 V=x([this._layer.getBounds().getNorthWest(),this._layer.getBounds().getSouthEast()]);this._layer.setBounds(V),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 p=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!==p._layer&&N.pm[r]&&(N._snapped=!1,N.pm[r](l))}),y.length>0}return!1},_stopDOMImageDrag:function(r){return r.preventDefault(),!1}};function In(r,l,p){var y=p.getMaxZoom();if(y===1/0&&(y=p.getZoom()),L.Util.isArray(r)){var x=[];return r.forEach(function(B){x.push(In(B,l,p))}),x}return r instanceof L.LatLng?function(B,N,$,V){return $.unproject(N.transform($.project(B,V)),V)}(r,l,p,y):null}function Ee(r,l){l instanceof L.Layer&&(l=l.getLatLng());var p=r.getMaxZoom();return p===1/0&&(p=r.getZoom()),r.project(l,p)}function mn(r,l){var p=r.getMaxZoom();return p===1/0&&(p=r.getZoom()),r.unproject(l,p)}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()),p=this._rotationStartPoint,y=this._rotationOriginPoint,x=Math.atan2(l.y-y.y,l.x-y.x)-Math.atan2(p.y-y.y,p.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,V=($=$<0?$+360:$)+this._startAngle;this._setAngle(V),this._rotationLayer.pm._setAngle(V),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,p,y,x){var B=Ee(x,p);return this._matrix=y.clone().rotate(r,B).flip(),In(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(),p=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,p,this._layer),this._fireRotation(this._map||this._layer._map,x,p,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 p=l.target,y={layer:this._layer,marker:p,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"&&(p._cancelDragEventChain=p.getLatLng()),!1):(p._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 Dn(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,p){if(l){if(typeof l=="string")return Rr(l,p);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,p)}}(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 p=0,y=new Array(l);p0&&l._getMap()&&l._getMap().pm.globalEditModeEnabled()&&l.enabled()&&l.enable(l.getOptions())}},100,this),this),this._layerGroup.on("layerremove",function(p){l._removeLayerFromGroup(p.target)},this),this._layerGroup.on("layerremove",L.Util.throttle(function(p){p.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(p){p instanceof L.LayerGroup?l.indexOf(p._leaflet_id)===-1&&(l.push(p._leaflet_id),p.pm.enable(r,l)):p.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(p){return p instanceof L.LayerGroup?r.indexOf(p._leaflet_id)===-1&&(r.push(p._leaflet_id),p.pm.enabled(r)):p.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(p){p instanceof L.LayerGroup?l.indexOf(p._leaflet_id)===-1&&(l.push(p._leaflet_id),p.pm.toggleEdit(r,l)):p.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],p=!(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(),p&&(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(p){p.pm&&(p instanceof L.LayerGroup?l.indexOf(p._leaflet_id)===-1&&(l.push(p._leaflet_id),p.pm.setOptions(r,l)):p.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(Dn(this._markerGroup.getLayers()),Dn(this.markerCache));this.markerCache=r.filter(function(l,p,y){return y.indexOf(l)===p})},renderLimits:function(r){var l=this;this.markerCache.forEach(function(p){r.includes(p)?l._markerGroup.addLayer(p):l._markerGroup.removeLayer(p)})},applyLimitFilters:function(r){var l=r.latlng,p=l===void 0?{lat:0,lng:0}:l;if(!this._preventRenderMarkers){var y=Dn(this._filterClosestMarkers(p));this.renderLimits(y)}},_filterClosestMarkers:function(r){var l=Dn(this.markerCache),p=this.options.limitMarkersToCount;return p===-1?l:(l.sort(function(y,x){return y._latlng.distanceTo(r)-x._latlng.distanceTo(r)}),l.filter(function(y,x){return!(p>-1)||xr.length)&&(l=r.length);for(var p=0,y=new Array(l);pr.length)&&(l=r.length);for(var p=0,y=new Array(l);p1?wt()(x,V):x,X=N.length>1?wt()(this._markers,V):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,p)),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 p=this;r.forEach(function(y){Array.isArray(y)?p._updateDisabledMarkerStyle(y,l):y._icon&&(l&&!p._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 p=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()(p,N):p,V=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(p),this.isPolygon()&&$.length<=2&&$.splice(0,$.length);var Z=!1;if($.length<=1&&($.splice(0,$.length),N.length>1&&x.length>1&&(p=Me(p)),this._layer.setLatLngs(p),this._initMarkers(),Z=!0),Vt(p)||this._layer.remove(),p=Me(p),this._layer.setLatLngs(p),this._markers=Me(this._markers),!Z&&(V=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),V)){var X,mt;if(this.isPolygon()?(X=(B+1)%V.length,mt=(B+(V.length-1))%V.length):(mt=B-1<0?void 0:B-1,X=B+1>=V.length?void 0:B+1),X!==mt){var ut=V[mt],Mt=V[X];this.options.hideMiddleMarkers!==!0&&this._createMiddleMarker(ut,Mt)}V.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(),p=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,p),this._layer.setLatLngs(l)},_getNeighborMarkers:function(r){var l=L.PM.Utils.findDeepMarkerIndex(this._markers,r),p=l.indexPath,y=l.index,x=l.parentPath,B=p.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),p=l.prevMarker,y=l.nextMarker,x=L.polyline([p.getLatLng(),r.getLatLng()]),B=L.polyline([r.getLatLng(),y.getLatLng()]),N=Rn(this._layer.toGeoJSON(15),x.toGeoJSON(15)).features.length,$=Rn(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 p=L.PM.Utils.findDeepMarkerIndex(this._markers,l).indexPath;this._fireMarkerDragStart(r,p),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 p=L.PM.Utils.findDeepMarkerIndex(this._markers,l),y=p.indexPath,x=p.index,B=p.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,V=(x+(N.length-1))%N.length,Z=l.getLatLng(),X=N[V].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 p=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,p,x),x)return this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers(),this.options.snappable&&this._initSnappableMarkers(),this._handleLayerStyle(),void this._fireLayerReset(r,p);!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 p=L.PM.Utils.findDeepMarkerIndex(this._markers,l).indexPath;this._fireVertexClick(r,p)}}}),Be.Polygon=Be.Line.extend({_shape:"Polygon",_checkMarkerAllowedToDrag:function(r){var l=this._getNeighborMarkers(r),p=l.prevMarker,y=l.nextMarker,x=L.polyline([p.getLatLng(),r.getLatLng()]),B=L.polyline([r.getLatLng(),y.getLatLng()]),N=Rn(this._layer.toGeoJSON(15),x.toGeoJSON(15)).features.length,$=Rn(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,p=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]=p.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 p=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(p,"vertexPane"),p._origLatLng=r,p._index=l,p._pmTempLayer=!0,this._markerGroup.addLayer(p),p},_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,p=this._cornerMarkers;l._oppositeCornerLatLng=p.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(p){delete p._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(p,y){r._cornerMarkers[y].setLatLng(p)}),this._cornerMarkers.slice(l.length).forEach(function(p){p.setLatLng(l[0])})):l&&l.length?this._cornerMarkers.forEach(function(p){p.setLatLng(l[p._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(),p=this._layer._radius,y=this._getLatLngOnCircle(l,p);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 p=r.getLatLng(),y=l.getLatLng();this._hintline=L.polyline([p,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 p=this._layer._radius,y=this._getLatLngOnCircle(l,p);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(),p=this._map.distance(r,l);this.options.minRadiusCircle&&pthis.options.maxRadiusCircle?this._layer.setRadius(this.options.maxRadiusCircle):this._layer.setRadius(p),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 p=this._map.project(r),y=L.point(p.x+l,p.y);return this._map.unproject(y)},_getNewDestinationOfOuterMarker:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),p=this._map.distance(r,l);return this.options.minRadiusCircle&&pthis.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(),p=this._map.distance(r,l);(this.options.minRadiusCircle&&pthis.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(),p=this._layer._radius,y=this._getLatLngOnCircle(l,p);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 p=this._map.project(r),y=L.point(p.x+l,p.y);return this._map.unproject(y)},_createHintLine:function(r,l){var p=r.getLatLng(),y=l.getLatLng();this._hintline=L.polyline([p,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,p=this._getLatLngOnCircle(r,l);this._outerMarker._latlng=p,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,p=this._getLatLngOnCircle(r,l);this._outerMarker.setLatLng(p),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(),p=this._map.project(r).distanceTo(this._map.project(l));this.options.minRadiusCircleMarker&&pthis.options.maxRadiusCircleMarker?this._layer.setRadius(this.options.maxRadiusCircleMarker):this._layer.setRadius(p),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()),p=L.circle(this._layer.getLatLng(),this._layer.options);p.setRadius(l);var y=r&&r.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(p,200,!y).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(p,200,!y),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)}},_getNewDestinationOfOuterMarker:function(){var r=this._centerMarker.getLatLng(),l=this._outerMarker.getLatLng(),p=this._map.project(r).distanceTo(this._map.project(l));return this.options.minRadiusCircleMarker&&pthis.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(),p=this._map.project(r).distanceTo(this._map.project(l));(this.options.minRadiusCircleMarker&&pthis.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 p=L.PM.Draw.Text.prototype._createTextIcon.call(this,this.textArea);this._layer.setIcon(p),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,p,y,x,B){this._matrix=[r,l,p,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,p=r.x,y=r.y;return r.x=l[0]*p+l[1]*y+l[4],r.y=l[2]*p+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,p=r):(l=r.x,p=r.y),this._add(1,0,0,1,l,p));var l,p},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"?(p=r,y=r):(p=r.x,y=r.y),this._add(p,0,0,y,l.x,l.y)._add(1,0,0,1,-l.x,-l.y));var p,y},rotate:function(r,l){var p=Math.cos(r),y=Math.sin(r);return l=l||new L.Point(0,0),this._add(p,y,-y,p,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,p,y,x,B){var N,$=[[],[],[]],V=this._matrix,Z=[[V[0],V[2],V[4]],[V[1],V[3],V[5]],[0,0,1]],X=[[r,p,x],[l,y,B],[0,0,1]];r&&r instanceof L.PM.Matrix&&(X=[[(V=r._matrix)[0],V[2],V[4]],[V[1],V[3],V[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 qs={calcMiddleLatLng:function(r,l,p){var y=r.project(l),x=r.project(p);return r.unproject(y._add(x)._divideBy(2))},findLayers:function(r){var l=[];return r.eachLayer(function(p){(p instanceof L.Polyline||p instanceof L.Marker||p instanceof L.Circle||p instanceof L.CircleMarker||p instanceof L.ImageOverlay)&&l.push(p)}),l=(l=(l=l.filter(function(p){return!!p.pm})).filter(function(p){return!p._pmTempLayer})).filter(function(p){return!L.PM.optIn&&!p.options.pmIgnore||L.PM.optIn&&p.options.pmIgnore===!1})},circleToPolygon:function(r){for(var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,p=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],y=r.getLatLng(),x=r.getRadius(),B=le(y,x,l,0,p),N=[],$=0;$3&&arguments[3]!==void 0&&arguments[3];r.fire(l,p,y);var x=this.getAllParentGroups(r),B=x.groups;B.forEach(function(N){N.fire(l,p,y)})},getAllParentGroups:function(r){var l=[],p=[];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];p.push(N),y(N)}}(r),r._pmLastGroupFetch={time:new Date().getTime(),groups:p,groupIds:l},{groupIds:l,groups:p}):{groups:r._pmLastGroupFetch.groups,groupIds:r._pmLastGroupFetch.groupIds}},createGeodesicPolygon:le,getTranslation:Bt,findDeepCoordIndex:function(r,l){var p,y=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],x=function N($){return function(V,Z){var X=$.concat(Z);if(y){if(V.lat&&V.lat===l.lat&&V.lng===l.lng)return p=X,!0}else if(V.lat&&L.latLng(V).equals(l))return p=X,!0;return Array.isArray(V)&&V.some(N(X))}};r.some(x([]));var B={};return p&&(B={indexPath:p,index:p[p.length-1],parentPath:p.slice(0,p.length-1)}),B},findDeepMarkerIndex:function(r,l){var p;r.some(function x(B){return function(N,$){var V=B.concat($);return N._leaflet_id===l._leaflet_id?(p=V,!0):Array.isArray(N)&&N.some(x(V))}}([]));var y={};return p&&(y={indexPath:p,index:p[p.length-1],parentPath:p.slice(0,p.length-1)}),y},_getIndexFromSegment:function(r,l){if(l&&l.length===2){var p=this.findDeepCoordIndex(r,l[0]),y=this.findDeepCoordIndex(r,l[1]),x=Math.max(p.index,y.index);return p.index!==0&&y.index!==0||x===1||(x+=1),{indexA:p,indexB:y,newIndex:x,indexPath:p.indexPath,parentPath:p.parentPath}}return null},_getRotatedRectangle:function(r,l,p,y){var x=Ee(y,r),B=Ee(y,l),N=p*Math.PI/180,$=Math.cos(N),V=Math.sin(N),Z=(B.x-x.x)*$+(B.y-x.y)*V,X=(B.y-x.y)*$-(B.x-x.x)*V,mt=Z*$+x.x,ut=Z*V+x.y,Mt=-X*V+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,p){var y=l.project(p),x=L.point(y.x+r,y.y);return l.distance(l.unproject(x),p)}};const ee=qs;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(p){l.reInitLayer(p)}),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,p,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))&&(p=l);p&&(L.DomEvent.fakeStop(r),this._fireEvent([p],r))}}),L.PM.initialize()},7107:()=>{Array.prototype.findIndex=Array.prototype.findIndex||function(o){if(this===null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof o!="function")throw new TypeError("callback must be a function");for(var c=Object(this),i=c.length>>>0,u=arguments[1],h=0;h>>0,u=arguments[1],h=0;h>>0;if(u===0)return!1;for(var h,f,m=0|c,_=Math.max(m>=0?m:u-Math.abs(m),0);_{var u=i(2582),h=i(4102),f=i(1540),m=i(9705).Z,_=f.featureEach,v=(f.coordEach,h.polygon,h.featureCollection);function M(T){var C=new u(T);return C.insert=function(P){if(P.type!=="Feature")throw new Error("invalid feature");return P.bbox=P.bbox?P.bbox:m(P),u.prototype.insert.call(this,P)},C.load=function(P){var H=[];return Array.isArray(P)?P.forEach(function(S){if(S.type!=="Feature")throw new Error("invalid features");S.bbox=S.bbox?S.bbox:m(S),H.push(S)}):_(P,function(S){if(S.type!=="Feature")throw new Error("invalid features");S.bbox=S.bbox?S.bbox:m(S),H.push(S)}),u.prototype.load.call(this,H)},C.remove=function(P,H){if(P.type!=="Feature")throw new Error("invalid feature");return P.bbox=P.bbox?P.bbox:m(P),u.prototype.remove.call(this,P,H)},C.clear=function(){return u.prototype.clear.call(this)},C.search=function(P){var H=u.prototype.search.call(this,this.toBBox(P));return v(H)},C.collides=function(P){return u.prototype.collides.call(this,this.toBBox(P))},C.all=function(){var P=u.prototype.all.call(this);return v(P)},C.toJSON=function(){return u.prototype.toJSON.call(this)},C.fromJSON=function(P){return u.prototype.fromJSON.call(this,P)},C.toBBox=function(P){var H;if(P.bbox)H=P.bbox;else if(Array.isArray(P)&&P.length===4)H=P;else if(Array.isArray(P)&&P.length===6)H=[P[0],P[1],P[3],P[4]];else if(P.type==="Feature")H=m(P);else{if(P.type!=="FeatureCollection")throw new Error("invalid geojson");H=m(P)}return{minX:H[0],minY:H[1],maxX:H[2],maxY:H[3]}},C}o.exports=M,o.exports.default=M},1989:(o,c,i)=>{var u=i(1789),h=i(401),f=i(7667),m=i(1327),_=i(1866);function v(M){var T=-1,C=M==null?0:M.length;for(this.clear();++T{var u=i(7040),h=i(4125),f=i(2117),m=i(7518),_=i(4705);function v(M){var T=-1,C=M==null?0:M.length;for(this.clear();++T{var u=i(852)(i(5639),"Map");o.exports=u},3369:(o,c,i)=>{var u=i(4785),h=i(1285),f=i(6e3),m=i(9916),_=i(5265);function v(M){var T=-1,C=M==null?0:M.length;for(this.clear();++T{var u=i(8407),h=i(7465),f=i(3779),m=i(7599),_=i(4758),v=i(4309);function M(T){var C=this.__data__=new u(T);this.size=C.size}M.prototype.clear=h,M.prototype.delete=f,M.prototype.get=m,M.prototype.has=_,M.prototype.set=v,o.exports=M},2705:(o,c,i)=>{var u=i(5639).Symbol;o.exports=u},1149:(o,c,i)=>{var u=i(5639).Uint8Array;o.exports=u},6874:o=>{o.exports=function(c,i,u){switch(u.length){case 0:return c.call(i);case 1:return c.call(i,u[0]);case 2:return c.call(i,u[0],u[1]);case 3:return c.call(i,u[0],u[1],u[2])}return c.apply(i,u)}},4636:(o,c,i)=>{var u=i(2545),h=i(5694),f=i(1469),m=i(4144),_=i(5776),v=i(6719),M=Object.prototype.hasOwnProperty;o.exports=function(T,C){var P=f(T),H=!P&&h(T),S=!P&&!H&&m(T),A=!P&&!H&&!S&&v(T),j=P||H||S||A,O=j?u(T.length,String):[],z=O.length;for(var K in T)!C&&!M.call(T,K)||j&&(K=="length"||S&&(K=="offset"||K=="parent")||A&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||_(K,z))||O.push(K);return O}},9932:o=>{o.exports=function(c,i){for(var u=-1,h=c==null?0:c.length,f=Array(h);++u{var u=i(9465),h=i(7813);o.exports=function(f,m,_){(_!==void 0&&!h(f[m],_)||_===void 0&&!(m in f))&&u(f,m,_)}},4865:(o,c,i)=>{var u=i(9465),h=i(7813),f=Object.prototype.hasOwnProperty;o.exports=function(m,_,v){var M=m[_];f.call(m,_)&&h(M,v)&&(v!==void 0||_ in m)||u(m,_,v)}},8470:(o,c,i)=>{var u=i(7813);o.exports=function(h,f){for(var m=h.length;m--;)if(u(h[m][0],f))return m;return-1}},9465:(o,c,i)=>{var u=i(8777);o.exports=function(h,f,m){f=="__proto__"&&u?u(h,f,{configurable:!0,enumerable:!0,value:m,writable:!0}):h[f]=m}},3118:(o,c,i)=>{var u=i(3218),h=Object.create,f=function(){function m(){}return function(_){if(!u(_))return{};if(h)return h(_);m.prototype=_;var v=new m;return m.prototype=void 0,v}}();o.exports=f},8483:(o,c,i)=>{var u=i(5063)();o.exports=u},7786:(o,c,i)=>{var u=i(1811),h=i(327);o.exports=function(f,m){for(var _=0,v=(m=u(m,f)).length;f!=null&&_{var u=i(2705),h=i(9607),f=i(2333),m=u?u.toStringTag:void 0;o.exports=function(_){return _==null?_===void 0?"[object Undefined]":"[object Null]":m&&m in Object(_)?h(_):f(_)}},8565:o=>{var c=Object.prototype.hasOwnProperty;o.exports=function(i,u){return i!=null&&c.call(i,u)}},9454:(o,c,i)=>{var u=i(4239),h=i(7005);o.exports=function(f){return h(f)&&u(f)=="[object Arguments]"}},8458:(o,c,i)=>{var u=i(3560),h=i(5346),f=i(3218),m=i(346),_=/^\[object .+?Constructor\]$/,v=Function.prototype,M=Object.prototype,T=v.toString,C=M.hasOwnProperty,P=RegExp("^"+T.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");o.exports=function(H){return!(!f(H)||h(H))&&(u(H)?P:_).test(m(H))}},8749:(o,c,i)=>{var u=i(4239),h=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,o.exports=function(_){return f(_)&&h(_.length)&&!!m[u(_)]}},313:(o,c,i)=>{var u=i(3218),h=i(5726),f=i(3498),m=Object.prototype.hasOwnProperty;o.exports=function(_){if(!u(_))return f(_);var v=h(_),M=[];for(var T in _)(T!="constructor"||!v&&m.call(_,T))&&M.push(T);return M}},2980:(o,c,i)=>{var u=i(6384),h=i(6556),f=i(8483),m=i(9783),_=i(3218),v=i(1704),M=i(6390);o.exports=function T(C,P,H,S,A){C!==P&&f(P,function(j,O){if(A||(A=new u),_(j))m(C,P,O,H,T,S,A);else{var z=S?S(M(C,O),j,O+"",C,P,A):void 0;z===void 0&&(z=j),h(C,O,z)}},v)}},9783:(o,c,i)=>{var u=i(6556),h=i(4626),f=i(7133),m=i(278),_=i(8517),v=i(5694),M=i(1469),T=i(9246),C=i(4144),P=i(3560),H=i(3218),S=i(8630),A=i(6719),j=i(6390),O=i(9881);o.exports=function(z,K,ot,Y,st,ct,gt){var at=j(z,ot),bt=j(K,ot),Lt=gt.get(bt);if(Lt)u(z,ot,Lt);else{var Et=ct?ct(at,bt,ot+"",z,K,gt):void 0,Ct=Et===void 0;if(Ct){var Gt=M(bt),wt=!Gt&&C(bt),pe=!Gt&&!wt&&A(bt);Et=bt,Gt||wt||pe?M(at)?Et=at:T(at)?Et=m(at):wt?(Ct=!1,Et=h(bt,!0)):pe?(Ct=!1,Et=f(bt,!0)):Et=[]:S(bt)||v(bt)?(Et=at,v(at)?Et=O(at):H(at)&&!P(at)||(Et=_(bt))):Ct=!1}Ct&&(gt.set(bt,Et),st(Et,bt,Y,ct,gt),gt.delete(bt)),u(z,ot,Et)}}},5976:(o,c,i)=>{var u=i(6557),h=i(5357),f=i(61);o.exports=function(m,_){return f(h(m,_,u),m+"")}},6560:(o,c,i)=>{var u=i(5703),h=i(8777),f=i(6557),m=h?function(_,v){return h(_,"toString",{configurable:!0,enumerable:!1,value:u(v),writable:!0})}:f;o.exports=m},2545:o=>{o.exports=function(c,i){for(var u=-1,h=Array(c);++u{var u=i(2705),h=i(9932),f=i(1469),m=i(3448),_=u?u.prototype:void 0,v=_?_.toString:void 0;o.exports=function M(T){if(typeof T=="string")return T;if(f(T))return h(T,M)+"";if(m(T))return v?v.call(T):"";var C=T+"";return C=="0"&&1/T==-1/0?"-0":C}},1717:o=>{o.exports=function(c){return function(i){return c(i)}}},1811:(o,c,i)=>{var u=i(1469),h=i(5403),f=i(5514),m=i(9833);o.exports=function(_,v){return u(_)?_:h(_,v)?[_]:f(m(_))}},4318:(o,c,i)=>{var u=i(1149);o.exports=function(h){var f=new h.constructor(h.byteLength);return new u(f).set(new u(h)),f}},4626:(o,c,i)=>{o=i.nmd(o);var u=i(5639),h=c&&!c.nodeType&&c,f=h&&o&&!o.nodeType&&o,m=f&&f.exports===h?u.Buffer:void 0,_=m?m.allocUnsafe:void 0;o.exports=function(v,M){if(M)return v.slice();var T=v.length,C=_?_(T):new v.constructor(T);return v.copy(C),C}},7133:(o,c,i)=>{var u=i(4318);o.exports=function(h,f){var m=f?u(h.buffer):h.buffer;return new h.constructor(m,h.byteOffset,h.length)}},278:o=>{o.exports=function(c,i){var u=-1,h=c.length;for(i||(i=Array(h));++u{var u=i(4865),h=i(9465);o.exports=function(f,m,_,v){var M=!_;_||(_={});for(var T=-1,C=m.length;++T{var u=i(5639)["__core-js_shared__"];o.exports=u},1463:(o,c,i)=>{var u=i(5976),h=i(6612);o.exports=function(f){return u(function(m,_){var v=-1,M=_.length,T=M>1?_[M-1]:void 0,C=M>2?_[2]:void 0;for(T=f.length>3&&typeof T=="function"?(M--,T):void 0,C&&h(_[0],_[1],C)&&(T=M<3?void 0:T,M=1),m=Object(m);++v{o.exports=function(c){return function(i,u,h){for(var f=-1,m=Object(i),_=h(i),v=_.length;v--;){var M=_[c?v:++f];if(u(m[M],M,m)===!1)break}return i}}},8777:(o,c,i)=>{var u=i(852),h=function(){try{var f=u(Object,"defineProperty");return f({},"",{}),f}catch{}}();o.exports=h},1957:(o,c,i)=>{var u=typeof i.g=="object"&&i.g&&i.g.Object===Object&&i.g;o.exports=u},5050:(o,c,i)=>{var u=i(7019);o.exports=function(h,f){var m=h.__data__;return u(f)?m[typeof f=="string"?"string":"hash"]:m.map}},852:(o,c,i)=>{var u=i(8458),h=i(7801);o.exports=function(f,m){var _=h(f,m);return u(_)?_:void 0}},5924:(o,c,i)=>{var u=i(5569)(Object.getPrototypeOf,Object);o.exports=u},9607:(o,c,i)=>{var u=i(2705),h=Object.prototype,f=h.hasOwnProperty,m=h.toString,_=u?u.toStringTag:void 0;o.exports=function(v){var M=f.call(v,_),T=v[_];try{v[_]=void 0;var C=!0}catch{}var P=m.call(v);return C&&(M?v[_]=T:delete v[_]),P}},7801:o=>{o.exports=function(c,i){return c==null?void 0:c[i]}},222:(o,c,i)=>{var u=i(1811),h=i(5694),f=i(1469),m=i(5776),_=i(1780),v=i(327);o.exports=function(M,T,C){for(var P=-1,H=(T=u(T,M)).length,S=!1;++P{var u=i(4536);o.exports=function(){this.__data__=u?u(null):{},this.size=0}},401:o=>{o.exports=function(c){var i=this.has(c)&&delete this.__data__[c];return this.size-=i?1:0,i}},7667:(o,c,i)=>{var u=i(4536),h=Object.prototype.hasOwnProperty;o.exports=function(f){var m=this.__data__;if(u){var _=m[f];return _==="__lodash_hash_undefined__"?void 0:_}return h.call(m,f)?m[f]:void 0}},1327:(o,c,i)=>{var u=i(4536),h=Object.prototype.hasOwnProperty;o.exports=function(f){var m=this.__data__;return u?m[f]!==void 0:h.call(m,f)}},1866:(o,c,i)=>{var u=i(4536);o.exports=function(h,f){var m=this.__data__;return this.size+=this.has(h)?0:1,m[h]=u&&f===void 0?"__lodash_hash_undefined__":f,this}},8517:(o,c,i)=>{var u=i(3118),h=i(5924),f=i(5726);o.exports=function(m){return typeof m.constructor!="function"||f(m)?{}:u(h(m))}},5776:o=>{var c=/^(?:0|[1-9]\d*)$/;o.exports=function(i,u){var h=typeof i;return!!(u=u??9007199254740991)&&(h=="number"||h!="symbol"&&c.test(i))&&i>-1&&i%1==0&&i{var u=i(7813),h=i(8612),f=i(5776),m=i(3218);o.exports=function(_,v,M){if(!m(M))return!1;var T=typeof v;return!!(T=="number"?h(M)&&f(v,M.length):T=="string"&&v in M)&&u(M[v],_)}},5403:(o,c,i)=>{var u=i(1469),h=i(3448),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m=/^\w*$/;o.exports=function(_,v){if(u(_))return!1;var M=typeof _;return!(M!="number"&&M!="symbol"&&M!="boolean"&&_!=null&&!h(_))||m.test(_)||!f.test(_)||v!=null&&_ in Object(v)}},7019:o=>{o.exports=function(c){var i=typeof c;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?c!=="__proto__":c===null}},5346:(o,c,i)=>{var u,h=i(4429),f=(u=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";o.exports=function(m){return!!f&&f in m}},5726:o=>{var c=Object.prototype;o.exports=function(i){var u=i&&i.constructor;return i===(typeof u=="function"&&u.prototype||c)}},7040:o=>{o.exports=function(){this.__data__=[],this.size=0}},4125:(o,c,i)=>{var u=i(8470),h=Array.prototype.splice;o.exports=function(f){var m=this.__data__,_=u(m,f);return!(_<0)&&(_==m.length-1?m.pop():h.call(m,_,1),--this.size,!0)}},2117:(o,c,i)=>{var u=i(8470);o.exports=function(h){var f=this.__data__,m=u(f,h);return m<0?void 0:f[m][1]}},7518:(o,c,i)=>{var u=i(8470);o.exports=function(h){return u(this.__data__,h)>-1}},4705:(o,c,i)=>{var u=i(8470);o.exports=function(h,f){var m=this.__data__,_=u(m,h);return _<0?(++this.size,m.push([h,f])):m[_][1]=f,this}},4785:(o,c,i)=>{var u=i(1989),h=i(8407),f=i(7071);o.exports=function(){this.size=0,this.__data__={hash:new u,map:new(f||h),string:new u}}},1285:(o,c,i)=>{var u=i(5050);o.exports=function(h){var f=u(this,h).delete(h);return this.size-=f?1:0,f}},6e3:(o,c,i)=>{var u=i(5050);o.exports=function(h){return u(this,h).get(h)}},9916:(o,c,i)=>{var u=i(5050);o.exports=function(h){return u(this,h).has(h)}},5265:(o,c,i)=>{var u=i(5050);o.exports=function(h,f){var m=u(this,h),_=m.size;return m.set(h,f),this.size+=m.size==_?0:1,this}},4523:(o,c,i)=>{var u=i(8306);o.exports=function(h){var f=u(h,function(_){return m.size===500&&m.clear(),_}),m=f.cache;return f}},4536:(o,c,i)=>{var u=i(852)(Object,"create");o.exports=u},3498:o=>{o.exports=function(c){var i=[];if(c!=null)for(var u in Object(c))i.push(u);return i}},1167:(o,c,i)=>{o=i.nmd(o);var u=i(1957),h=c&&!c.nodeType&&c,f=h&&o&&!o.nodeType&&o,m=f&&f.exports===h&&u.process,_=function(){try{var v=f&&f.require&&f.require("util").types;return v||m&&m.binding&&m.binding("util")}catch{}}();o.exports=_},2333:o=>{var c=Object.prototype.toString;o.exports=function(i){return c.call(i)}},5569:o=>{o.exports=function(c,i){return function(u){return c(i(u))}}},5357:(o,c,i)=>{var u=i(6874),h=Math.max;o.exports=function(f,m,_){return m=h(m===void 0?f.length-1:m,0),function(){for(var v=arguments,M=-1,T=h(v.length-m,0),C=Array(T);++M{var u=i(1957),h=typeof self=="object"&&self&&self.Object===Object&&self,f=u||h||Function("return this")();o.exports=f},6390:o=>{o.exports=function(c,i){if((i!=="constructor"||typeof c[i]!="function")&&i!="__proto__")return c[i]}},61:(o,c,i)=>{var u=i(6560),h=i(1275)(u);o.exports=h},1275:o=>{var c=Date.now;o.exports=function(i){var u=0,h=0;return function(){var f=c(),m=16-(f-h);if(h=f,m>0){if(++u>=800)return arguments[0]}else u=0;return i.apply(void 0,arguments)}}},7465:(o,c,i)=>{var u=i(8407);o.exports=function(){this.__data__=new u,this.size=0}},3779:o=>{o.exports=function(c){var i=this.__data__,u=i.delete(c);return this.size=i.size,u}},7599:o=>{o.exports=function(c){return this.__data__.get(c)}},4758:o=>{o.exports=function(c){return this.__data__.has(c)}},4309:(o,c,i)=>{var u=i(8407),h=i(7071),f=i(3369);o.exports=function(m,_){var v=this.__data__;if(v instanceof u){var M=v.__data__;if(!h||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:(o,c,i)=>{var u=i(4523),h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,m=u(function(_){var v=[];return _.charCodeAt(0)===46&&v.push(""),_.replace(h,function(M,T,C,P){v.push(C?P.replace(f,"$1"):T||M)}),v});o.exports=m},327:(o,c,i)=>{var u=i(3448);o.exports=function(h){if(typeof h=="string"||u(h))return h;var f=h+"";return f=="0"&&1/h==-1/0?"-0":f}},346:o=>{var c=Function.prototype.toString;o.exports=function(i){if(i!=null){try{return c.call(i)}catch{}try{return i+""}catch{}}return""}},5703:o=>{o.exports=function(c){return function(){return c}}},7813:o=>{o.exports=function(c,i){return c===i||c!=c&&i!=i}},7361:(o,c,i)=>{var u=i(7786);o.exports=function(h,f,m){var _=h==null?void 0:u(h,f);return _===void 0?m:_}},8721:(o,c,i)=>{var u=i(8565),h=i(222);o.exports=function(f,m){return f!=null&&h(f,m,u)}},6557:o=>{o.exports=function(c){return c}},5694:(o,c,i)=>{var u=i(9454),h=i(7005),f=Object.prototype,m=f.hasOwnProperty,_=f.propertyIsEnumerable,v=u(function(){return arguments}())?u:function(M){return h(M)&&m.call(M,"callee")&&!_.call(M,"callee")};o.exports=v},1469:o=>{var c=Array.isArray;o.exports=c},8612:(o,c,i)=>{var u=i(3560),h=i(1780);o.exports=function(f){return f!=null&&h(f.length)&&!u(f)}},9246:(o,c,i)=>{var u=i(8612),h=i(7005);o.exports=function(f){return h(f)&&u(f)}},4144:(o,c,i)=>{o=i.nmd(o);var u=i(5639),h=i(5062),f=c&&!c.nodeType&&c,m=f&&o&&!o.nodeType&&o,_=m&&m.exports===f?u.Buffer:void 0,v=(_?_.isBuffer:void 0)||h;o.exports=v},3560:(o,c,i)=>{var u=i(4239),h=i(3218);o.exports=function(f){if(!h(f))return!1;var m=u(f);return m=="[object Function]"||m=="[object GeneratorFunction]"||m=="[object AsyncFunction]"||m=="[object Proxy]"}},1780:o=>{o.exports=function(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=9007199254740991}},3218:o=>{o.exports=function(c){var i=typeof c;return c!=null&&(i=="object"||i=="function")}},7005:o=>{o.exports=function(c){return c!=null&&typeof c=="object"}},8630:(o,c,i)=>{var u=i(4239),h=i(5924),f=i(7005),m=Function.prototype,_=Object.prototype,v=m.toString,M=_.hasOwnProperty,T=v.call(Object);o.exports=function(C){if(!f(C)||u(C)!="[object Object]")return!1;var P=h(C);if(P===null)return!0;var H=M.call(P,"constructor")&&P.constructor;return typeof H=="function"&&H instanceof H&&v.call(H)==T}},3448:(o,c,i)=>{var u=i(4239),h=i(7005);o.exports=function(f){return typeof f=="symbol"||h(f)&&u(f)=="[object Symbol]"}},6719:(o,c,i)=>{var u=i(8749),h=i(1717),f=i(1167),m=f&&f.isTypedArray,_=m?h(m):u;o.exports=_},1704:(o,c,i)=>{var u=i(4636),h=i(313),f=i(8612);o.exports=function(m){return f(m)?u(m,!0):h(m)}},8306:(o,c,i)=>{var u=i(3369);function h(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],T=_.cache;if(T.has(M))return T.get(M);var C=f.apply(this,v);return _.cache=T.set(M,C)||T,C};return _.cache=new(h.Cache||u),_}h.Cache=u,o.exports=h},2492:(o,c,i)=>{var u=i(2980),h=i(1463)(function(f,m,_){u(f,m,_)});o.exports=h},5062:o=>{o.exports=function(){return!1}},9881:(o,c,i)=>{var u=i(8363),h=i(1704);o.exports=function(f){return u(f,h(f))}},9833:(o,c,i)=>{var u=i(531);o.exports=function(h){return h==null?"":u(h)}},2676:function(o){o.exports=function(){function c(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 h(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 T(I,w,k,R,D){if(I){R(w+(k?"└── ":"├── ")+D(I)+` +`);var F=w+(k?" ":"│ ");I.left&&T(I.left,F,!1,R,D),I.right&&T(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 h(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 S(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&&O(w,k,0,D-1,F),this._root===null)this._root=P(w,k,0,D),this._size=D;else{var Q=j(this.toList(),H(w,k),F);D=this._size+D,this._root=A({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 T(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 P(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 h(Q,it);return vt.left=P(I,w,k,F),vt.right=P(I,w,F+1,R),vt}return null}function H(I,w){for(var k=new h(null,null),R=k,D=0;D0?w=(w=F=F.next=k.pop()).right:R=!0;return F.next=null,D.next}function A(I,w,k){var R=k-w;if(R>0){var D=w+Math.floor(R/2),F=A(I,w,D),Q=I.head;return Q.left=F,I.head=I.head.next,Q.right=A(I,D+1,k),Q}return null}function j(I,w,k){for(var R=new h(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 O(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}O(I,w,k,it,D),O(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},K=function(I,w){if(w.ur.xk.x?1:w.yk.y?1:0}}]),u(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){c(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 u(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}}]),u(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(c(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 u(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 u(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 u(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){c(this,I),this.exteriorRing=w,w.poly=this,this.interiorRings=[]}return u(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;c(this,I),this.queue=w,this.tree=new C(k),this.segments=[]}return u(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;LnG)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>G)throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big). Please file a bug report.");if(qe.segments.length>W)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,We=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),pe=.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+pe)),Math.min(bt,Math.floor(gt+(Et-Ct)*wt/Et+pe)),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)}})(O,z,K||0,ot||O.length-1,Y||u)}function i(O,z,K){var ot=O[z];O[z]=O[K],O[K]=ot}function u(O,z){return Oz?1:0}var h=function(O){O===void 0&&(O=9),this._maxEntries=Math.max(4,O),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function f(O,z,K){if(!K)return z.indexOf(O);for(var ot=0;ot=O.minX&&z.maxY>=O.minY}function A(O){return{children:O,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function j(O,z,K,ot,Y){for(var st=[z,K];st.length;)if(!((K=st.pop())-(z=st.pop())<=ot)){var ct=z+Math.ceil((K-z)/ot/2)*ot;c(O,ct,z,K,Y),st.push(z,ct,ct,K)}}return h.prototype.all=function(){return this._all(this.data,[])},h.prototype.search=function(O){var z=this.data,K=[];if(!S(O,z))return K;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)},h.prototype._split=function(O,z){var K=O[z],ot=K.children.length,Y=this._minEntries;this._chooseSplitAxis(K,Y,ot);var st=this._chooseSplitIndex(K,Y,ot),ct=A(K.children.splice(st,K.children.length-st));ct.height=K.height,ct.leaf=K.leaf,m(K,this.toBBox),m(ct,this.toBBox),z?O[z-1].children.push(ct):this._splitRoot(K,ct)},h.prototype._splitRoot=function(O,z){this.data=A([O,z]),this.data.height=O.height+1,this.data.leaf=!1,m(this.data,this.toBBox)},h.prototype._chooseSplitIndex=function(O,z,K){for(var ot,Y,st,ct,gt,at,bt,Lt=1/0,Et=1/0,Ct=z;Ct<=K-z;Ct++){var Gt=_(O,0,Ct,this.toBBox),wt=_(O,Ct,K,this.toBBox),pe=(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);pe=z;Lt--){var Et=O.children[Lt];v(ct,O.leaf?Y(Et):Et),gt+=P(ct)}return gt},h.prototype._adjustParentBBoxes=function(O,z,K){for(var ot=K;ot>=0;ot--)v(z[ot],O)},h.prototype._condense=function(O){for(var z=O.length-1,K=void 0;z>=0;z--)O[z].children.length===0?z>0?(K=O[z-1].children).splice(K.indexOf(O[z]),1):this.clear():m(O[z],this.toBBox)},h}()}},n={};function s(o){var c=n[o];if(c!==void 0)return c.exports;var i=n[o]={id:o,loaded:!1,exports:{}};return t[o].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.n=o=>{var c=o&&o.__esModule?()=>o.default:()=>o;return s.d(c,{a:c}),c},s.d=(o,c)=>{for(var i in c)s.o(c,i)&&!s.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:c[i]})},s.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),s.o=(o,c)=>Object.prototype.hasOwnProperty.call(o,c),s.nmd=o=>(o.paths=[],o.children||(o.children=[]),o),s(5975)})();var Eu={exports:{}};(function(t,n){(function(s,o){o(n)})(Od,function(s){var o=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 u=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,u?this._withAnimation:this._noAnimation),this._markerCluster=u?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 u=i,h=this._zoom;if(i.__parent)for(;u.__parent._zoom>=h;)u=u.__parent;return this._currentShownBounds.contains(u.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(i,u):this._animationAddLayerNonAnimated(i,u)),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,u){if(!L.Util.isArray(i))return this.addLayer(i);var h,f=this._featureGroup,m=this._nonPointGroup,_=this.options.chunkedLoading,v=this.options.chunkInterval,M=this.options.chunkProgress,T=i.length,C=0,P=!0;if(this._map){var H=new Date().getTime(),S=L.bind(function(){var j=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();C"+u+"",className:"marker-cluster"+h,iconSize:new L.Point(40,40)})},_bindEvents:function(){var i=this._map,u=this.options.spiderfyOnMaxZoom,h=this.options.showCoverageOnHover,f=this.options.zoomToBoundsOnClick,m=this.options.spiderfyOnEveryZoom;(u||f||m)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),h&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),i.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(i){var u=i.layer,h=u;if(i.type!=="clusterkeypress"||!i.originalEvent||i.originalEvent.keyCode===13){for(;h._childClusters.length===1;)h=h._childClusters[0];h._zoom===this._maxZoom&&h._childCount===u._childCount&&this.options.spiderfyOnMaxZoom?u.spiderfy():this.options.zoomToBoundsOnClick&&u.zoomToBounds(),this.options.spiderfyOnEveryZoom&&u.spiderfy(),i.originalEvent&&i.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(i){var u=this._map;this._inZoomAnimation||(this._shownPolygon&&u.removeLayer(this._shownPolygon),2T._zoom;f--)P=new this._markerCluster(this,f,P),m[f].addObject(P,this._map.project(M.getLatLng(),f));return T._addChild(P),void this._removeFromGridUnclustered(M,u)}_[u].addObject(i,h)}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 u=this._maxLat;return u!==void 0&&(i.getNorth()>=u&&(i._northEast.lat=1/0),i.getSouth()<=-u&&(i._southWest.lat=-1/0)),i},_animationAddLayerNonAnimated:function(i,u){if(u===i)this._featureGroup.addLayer(i);else if(u._childCount===2){u._addToMap();var h=u.getAllChildMarkers();this._featureGroup.removeLayer(h[0]),this._featureGroup.removeLayer(h[1])}else u._updateIcon()},_extractNonGroupLayers:function(i,u){var h,f=i.getLayers(),m=0;for(u=u||[];mh)&&(h=(v=S).lat),(f===!1||S.latm)&&(m=(T=S).lng),(_===!1||S.lng<_)&&(_=(C=S).lng)}return P=f!==h?(H=M,v):(H=C,T),[].concat(this.buildConvexHull([H,P],i),this.buildConvexHull([P,H],i))}},L.MarkerCluster.include({getConvexHull:function(){var i,u,h=this.getAllChildMarkers(),f=[];for(u=h.length-1;0<=u;u--)i=h[u].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,u=this.getAllChildMarkers(null,!0),h=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),i=(this._group._spiderfied=this)._group.options.spiderfyShapePositions?this._group.options.spiderfyShapePositions(u.length,h):u.length>=this._circleSpiralSwitchover?this._generatePointsSpiral(u.length,h):(h.y+=10,this._generatePointsCircle(u.length,h)),this._animationSpiderfy(u,i)}},unspiderfy:function(i){this._group._inZoomAnimation||(this._animationUnspiderfy(i),this._group._spiderfied=null)},_generatePointsCircle:function(i,u){var h,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,h=0;h[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(t,{expose:n,emit:s}){const o=t;delete sn.Icon.Default.prototype._getIconUrl,sn.Icon.Default.mergeOptions({iconRetinaUrl:ux,iconUrl:hx,shadowUrl:dx});let c,i,u,h;const f=Zt(null),m=se(()=>({maxZoom:o.zoomBounds,zoom:{animate:o.zoomAnimate}}));He(()=>o.geojson,A=>{h.clearLayers(),H(A)},{deep:!0}),He(()=>o.dragging,A=>{A?c.dragging.enable():c.dragging.disable()});function _(){const A={maxClusterRadius:o.maxClusterRadius};return o.clusterIconCreateFunction&&Object.assign(A,{iconCreateFunction:j=>o.clusterIconCreateFunction({L:sn,cluster:j})}),A}en(()=>{const A=Mx(sn,{maxZoom:o.maxZoom,minZoom:o.minZoom,className:"map-tiles"}),[j]=Object.values(A),O={center:o.center,zoom:o.zoom,worldCopyJump:!0,dragging:o.dragging,maxZoom:o.maxZoom};o.disableZoom&&Object.assign(O,{scrollWheelZoom:!1,zoomControl:!1,doubleClickZoom:!1,touchZoom:!1,boxZoom:!1}),u=new sn.FeatureGroup,h=o.cluster?new sn.markerClusterGroup(_()):new sn.FeatureGroup,c=sn.map(f.value,O),c.attributionControl.setPrefix(o.prefix),c.pm.setGlobalOptions({layerGroup:u}),h.addTo(c),c.addLayer(u),c.addLayer(h),o.geojson&&H(o.geojson),o.controls&&(c.pm.addControls({position:"topleft",drawText:!1,drawCircle:!1,drawPolyline:!1,drawCircleMarker:!1,drawMarker:!1,cutPolygon:!1}),c.on("pm:create",z=>{s("geojson",v()),s("add:layer",T(z.layer))}),u.on("pm:edit",z=>{s("geojson",v()),s("edit:layer",T(z.layer))}),c.on("pm:drawstart",z=>{M(),s("draw:start",z)}),c.on("zoom",z=>s("zoom:change",z)),c.on("zoomstart",z=>s("zoom:start",z))),j.addTo(c),Object.keys(A).length>1&&sn.control.layers(A,{},{position:"topleft",collapsed:!1}).addTo(c),P()});function v(){const A=sn.featureGroup();return u.eachLayer(j=>{(j instanceof sn.Path||j instanceof sn.Marker)&&j.pm&&A.addLayer(j)}),A.toGeoJSON()}function M(){u.clearLayers()}function T(A){const j=A.toGeoJSON();return typeof A.getRadius=="function"&&(j.properties.radius=A.getRadius()),j}const C=()=>{if(!h)return;const A=h.getBounds();c.invalidateSize(),ks(()=>{Object.keys(A).length&&c.fitBounds(A,m.value)})},P=()=>{i=new ResizeObserver(A=>{A[0].contentRect,C()}),i.observe(f.value)};Zr(()=>{h.clearLayers(),i==null||i.disconnect()});function H(A){if(A){sn.geoJSON(A,{...wx(sn),...o.geojsonOptions}).addTo(h);const j=h.getBounds();j.isValid()&&c.fitBounds(j,m.value)}s("geojson:ready",h)}function S(){return c}return n({clearDrawLayers:M,getMapObject:S,resizeMap:C}),(A,j)=>(U(),nt("div",{ref_key:"leafletMap",ref:f,style:Hn({width:o.width,height:o.height})},null,4))}};function Px(t){Sx(t,Object.assign({"/src/components/Map/VMap.client.vue":Cx}))}function Sx(t,n){Object.entries(n).forEach(([o,c])=>{const i=o.split("/").pop().replace(/\.client.\w+$/,"");t.component(i,c)})}const Ex=["innerHTML"],Tx={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"},Ox=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),Ax=[Ox],Rx={key:1,class:"inline h-4 w-1"},Bx=et("circle",{cy:"calc(100% - 5px)",cx:"2.5",r:"1",fill:"currentColor"},null,-1),Ix=[Bx],Dx=["innerHTML"],zx={__name:"AddressMaker.global",props:{items:{type:Array,required:!0}},setup(t){const n=t,s=se(()=>{const[c,...i]=n.items;return{username:c,host:i}});function o(){const[c,...i]=n.items;document.location.href=`mailto:${c}@${i.join(".")}`}return(c,i)=>(U(),nt("span",{class:"text-secondary-color cursor-pointer whitespace-nowrap",onClick:o},[et("span",{innerHTML:s.value.username},null,8,Ex),(U(!0),nt($t,null,ye(s.value.host,(u,h)=>(U(),nt($t,null,[h===0?(U(),nt("svg",Tx,Ax)):(U(),nt("svg",Rx,Ix)),et("span",{innerHTML:u},null,8,Dx)],64))),256))]))}},jx={};function Nx(t,n){return U(),At(Ts,{"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(t.$slots,"default")]),_:3})}const Fx=re(jx,[["render",Nx]]),Hx={},Gx={viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"green"},Vx=hm('',1),Ux=[Vx];function $x(t,n){return U(),nt("svg",Gx,Ux)}const Zx=re(Hx,[["render",$x]]);const qx={class:"autocomplete md:block md:mr-0 mr-3 relative w-fit"},Wx={class:"flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none"},Kx=["placeholder"],Jx={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"},Yx=["onClick"],Xx=["innerHTML"],Qx=500,t1={__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(t,{emit:n}){const s=t,o=Zt(""),c=Zt([]),i=Zt(!1),u=Zt(null);let h;He(o,m=>{clearTimeout(h),m.length?h=setTimeout(()=>{i.value=!0,Ke.get(s.url,{params:{...s.params,[s.queryParam]:o.value}}).then(({data:_})=>{i.value=!1,c.value=_})},Qx):c.value=[]});const f=m=>{n("select",m),o.value=""};return en(()=>{s.autofocus&&u.value.focus()}),(m,_)=>{const v=pt("IconSearch");return U(),nt("div",qx,[et("div",Wx,[rt(v,{class:"w-4 h-4 text-gray-500"})]),bo(et("input",{"onUpdate:modelValue":_[0]||(_[0]=M=>o.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:t.placeholder,ref_key:"inputElement",ref:u},null,8,Kx),[[Zm,o.value]]),i.value?(U(),At(Zx,{key:0,class:"absolute top-1/2 -translate-y-1/2 right-2 h-5 w-5"})):Nt("",!0),c.value.length?(U(),nt("ul",Jx,[(U(!0),nt($t,null,ye(c.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:T=>f(M)},[et("span",{innerHTML:M[t.label]},null,8,Xx)],8,Yx))),128))])):Nt("",!0)])}}},Rd=re(t1,[["__scopeId","data-v-c5caf34f"]]),e1={__name:"AutocompleteOtu.global",props:{autofocus:{type:Boolean,default:!1}},setup(t){const n=Xh(),s=({id:o,otu_valid_id:c})=>{n.push({name:"otus-id-overview",params:{id:c||o}})};return(o,c)=>(U(),At(Rd,{url:"/otus/autocomplete","query-param":"term",label:"label_html",autofocus:t.autofocus,params:{having_taxon_name_only:!0},onSelect:s},null,8,["autofocus"]))}},n1=["title"],r1={__name:"ButtonExpand.global",props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(t,{emit:n}){const s=t,o=se({get(){return s.modelValue},set(c){n("update:modelValue",c)}});return(c,i)=>{const u=pt("IconMinusCircle"),h=pt("IconPlusCircle");return U(),nt("button",{type:"button",title:o.value?"Close":"Expand",class:"button-expand bg-base-foreground text-secondary-color w-5 h-5",onClick:i[0]||(i[0]=f=>o.value=!o.value)},[o.value?(U(),At(u,{key:0,class:"w-5 h-5"})):(U(),At(h,{key:1,class:"w-5 h-5"}))],8,n1)}}},i1={__name:"VButton.global",props:{primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1}},setup(t){return(n,s)=>(U(),nt("button",{type:"button",class:Xe(["px-3 py-1 hover:bg-opacity-80",{"bg-primary-color":t.primary,"bg-secondary-color":t.secondary,"text-primary-content":t.primary,"text-secondary-content":t.secondary}])},[Se(n.$slots,"default")],2))}};const o1={},s1={class:"border-1 card border-base-muted bg-base-foreground print:shadow-none print:border-0 rounded"};function a1(t,n){return U(),nt("div",s1,[Se(t.$slots,"default")])}const l1=re(o1,[["render",a1]]),c1={},u1={class:"p-4 pl-5 pr-5"};function h1(t,n){return U(),nt("div",u1,[Se(t.$slots,"default")])}const d1=re(c1,[["render",h1]]),p1={},f1={class:"p-4 pl-5 pr-5 border-b font-medium border-base-muted"};function m1(t,n){return U(),nt("div",f1,[Se(t.$slots,"default")])}const g1=re(p1,[["render",m1]]),_1={__name:"VClipboard.global",props:{text:{type:String,required:!0},delay:{type:Number,default:2e3}},setup(t){const n=t,s=Zt(!1);let o;function c(){navigator.clipboard.writeText(n.text).then(()=>{s.value=!0,o=setTimeout(()=>{s.value=!1},n.delay)})}return or(()=>{clearTimeout(o)}),(i,u)=>{const h=pt("IconCheck"),f=pt("IconClipboard"),m=pt("VButton");return U(),At(m,{class:"px-2 py-2 rounded-full",primary:"",onClick:c},{default:ft(()=>[s.value?(U(),At(h,{key:0,class:"w-4 h-4"})):(U(),At(f,{key:1,class:"w-4 h-4"}))]),_:1})}}},y1={class:"relative inline"},v1=["onClick"],b1={__name:"Dropdown.global",props:{items:{type:Array,default:()=>[]}},setup(t){const n=Zt(null),s=Zt(!1),o=()=>{s.value=!s.value},c=u=>{s.value=!1,u.action()};function i(u){var h;(!u.target||!((h=n.value)!=null&&h.contains(u.target)))&&(s.value=!1)}return en(()=>{document.addEventListener("pointerdown",i,{passive:!0,capture:!0})}),or(()=>{document.removeEventListener("pointerdown",i,{capture:!0})}),(u,h)=>(U(),nt("div",y1,[et("button",{title:"Menu",onClick:o},[Se(u.$slots,"button")]),s.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(t.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=>c(f)},Qt(f.label),9,v1))),128))],512)):Nt("",!0)]))}};function Bd({props:t}){const n=Zt([]);function s(o){var c,i;return{id:o.id,objectId:o.depiction_object_id,objectType:o.depiction_object_type,objectLabel:o.depiction_object.label,label:o.label,imageOriginal:o.image.original,imageMedium:o.image.medium,attribution:((c=o.attribution)==null?void 0:c.label)||"",labelAttribution:[o.depiction_object.label,((i=o.attribution)==null?void 0:i.label)||""].join(" ")}}return He(()=>t.depictionId,o=>{o.length&&Ke.get("/depictions/gallery",{params:{depiction_id:o}}).then(({data:c})=>{n.value=c.map(s).sort((i,u)=>t.depictionId.indexOf(i.id)-t.depictionId.indexOf(u.id))})},{immediate:!0}),{depictions:n}}const w1=["src","alt"],x1={class:"bg-black bg-opacity-25 absolute h-full w-full"},k1={key:0,class:"z-10 text-white text-sm drop-shadow absolute bottom-2 right-4"},L1=["innerHTML"],M1={__name:"GalleryCarousel.global",props:{depictionId:{type:Array,default:()=>[]},interval:{type:Number,default:1e4},height:{type:String,default:"550px"}},setup(t){const n=t,{depictions:s}=Bd({props:n}),o=Zt(0),c=se(()=>({height:n.height})),i=se(()=>s.value[o.value]||{}),u=se(()=>i.value.objectType==="Otu"),h=se(()=>[i.value.objectLabel,i.value.attribution].join(" "));let f=null;function m(){o.value=(o.value+1)%s.value.length}return He(s,()=>{n.interval?(clearInterval(f),f=setInterval(m,n.interval)):o.value=Math.floor(Math.random()*data.length)}),or(()=>{clearInterval(f)}),(_,v)=>{const M=pt("RouterLink");return U(),nt("div",{class:"overflow-hidden w-full relative",style:Hn(c.value)},[rt(Ts,{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,w1)):Nt("",!0)]),_:1}),et("div",x1,[Se(_.$slots,"default",{},void 0,!0)]),i.value.objectId?(U(),nt("span",k1,[u.value?(U(),At(M,{key:0,class:"text-white decoration-transparent",to:{name:"otus-id",params:{id:i.value.objectId}},innerHTML:h.value},null,8,["to","innerHTML"])):(U(),nt("span",{key:1,innerHTML:h.value},null,8,L1))])):Nt("",!0)],4)}}},C1=re(M1,[["__scopeId","data-v-6970dada"]]),P1=["title"],S1=["alt","src"],E1={__name:"GalleryThumbnail",props:{image:{type:Object,required:!0},title:{type:String,default:void 0}},setup(t){return(n,s)=>(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:t.title},[et("img",{class:"max-h-20 max-w-24 h-20 w-24 object-contain rounded",alt:t.title,src:t.image.thumb},null,8,S1)],8,P1))}},T1={class:"flex flex-row overflow-x-auto print:flex-wrap"},Id={__name:"GalleryThumbnailList",props:{images:{type:Array,default:()=>[]},current:{type:Number,default:void 0}},emits:["selectIndex"],setup(t,{emit:n}){return(s,o)=>(U(),nt("div",T1,[(U(!0),nt($t,null,ye(t.images,(c,i)=>(U(),nt("div",{key:c.id,class:"pr-1.5 last:pr-0"},[rt(E1,{image:c,class:Xe({"border border-secondary-color":t.current===i}),title:c.depictions.map(u=>u.label).join(";"),onClick:u=>n("selectIndex",i)},null,8,["image","class","title","onClick"])]))),128))]))}},O1={class:"h-80 max-h-80 flex items-center justify-center"},A1=["textContent"],R1=["src","alt"],B1={__name:"GalleryMainImage",props:{image:{type:Object,required:!0}},emits:["open:viewer"],setup(t,{emit:n}){const s=t,o=Zt(!1),c=Zt(null),i=Zt(null);He(()=>s.image,f=>{f.original&&(i.value=null,o.value=!0)});function u(f){f.preventDefault(),o.value=!1,i.value="Image was not found or format is not supported"}function h(){o.value=!1}return en(()=>{c.value.addEventListener("load",h),c.value.addEventListener("error",u)}),(f,m)=>{const _=pt("VSpinner"),v=pt("ClientOnly");return U(),nt("div",O1,[rt(v,null,{default:ft(()=>[o.value?(U(),At(_,{key:0})):Nt("",!0)]),_:1}),i.value?(U(),nt("span",{key:0,textContent:Qt(i.value)},null,8,A1)):Nt("",!0),bo(et("img",{ref_key:"imageElement",ref:c,class:"max-h-80 h-max w-100 cursor-zoom-in m-auto object-contain",src:t.image.original,alt:t.image.depictions.map(M=>M.label).join(";"),onClick:m[0]||(m[0]=M=>n("open:viewer"))},null,8,R1),[[Os,!i.value]])])}}},I1={class:"flex flex-col"},D1={class:"flex justify-center border print:hidden bg-base-0 border-base-muted"},z1={__name:"GalleryImage.global",props:{images:{type:Array,default:()=>[]}},setup(t){const n=t,s=Zt(!1),o=Zt(0),c=se(()=>n.images[o.value]||{}),i=()=>{o.value--},u=()=>{o.value++};return He(()=>n.images,()=>{o.value=0},{immediate:!0}),(h,f)=>{const m=pt("ImageViewer");return U(),nt($t,null,[et("div",I1,[et("div",D1,[rt(B1,{image:c.value,"onOpen:viewer":f[0]||(f[0]=()=>s.value=!0)},null,8,["image"])]),rt(Id,{class:"pt-2 pb-2",images:t.images,onSelectIndex:f[1]||(f[1]=_=>{o.value=_})},null,8,["images"])]),s.value?(U(),At(m,{key:0,index:o.value,images:t.images,next:o.value0,onSelectIndex:f[2]||(f[2]=_=>o.value=_),onNext:f[3]||(f[3]=_=>u()),onPrevious:f[4]||(f[4]=_=>i()),onClose:f[5]||(f[5]=_=>s.value=!1)},null,8,["index","images","next","previous"])):Nt("",!0)],64)}}},j1=["src"],N1=["innerHTML"],F1={__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(t){const n=t,s=se(()=>({height:n.imageHeight}));function o(i){return i.objectType==="Otu"?"RouterLink":"div"}const{depictions:c}=Bd({props:n});return(i,u)=>(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(Wt(c),h=>(U(),At(Mi(o(h)),{key:h.id,to:{name:"otus-id",params:{id:h.objectId}}},{default:ft(()=>[et("img",{src:h.imageMedium,style:Hn(s.value),class:"max-w-full my-0 object-cover w-full"},null,12,j1),t.label?(U(),nt("span",{key:0,class:"text-sm",innerHTML:h.labelAttribution},null,8,N1)):Nt("",!0)]),_:2},1032,["to"]))),128))],6))}},H1={},G1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},V1=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19 9l-7 7-7-7"},null,-1),U1=[V1];function $1(t,n){return U(),nt("svg",G1,U1)}const Z1=re(H1,[["render",$1]]),q1={},W1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},K1=et("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 19l-7-7 7-7"},null,-1),J1=[K1];function Y1(t,n){return U(),nt("svg",W1,J1)}const X1=re(q1,[["render",Y1]]),Q1={},tk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},ek=et("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 5l7 7-7 7"},null,-1),nk=[ek];function rk(t,n){return U(),nt("svg",tk,nk)}const ik=re(Q1,[["render",rk]]),ok={},sk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},ak=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"},null,-1),lk=[ak];function ck(t,n){return U(),nt("svg",sk,lk)}const uk=re(ok,[["render",ck]]),hk={},dk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},pk=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),fk=[pk];function mk(t,n){return U(),nt("svg",dk,fk)}const gk=re(hk,[["render",mk]]),_k={},yk={xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},vk=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"},null,-1),bk=[vk];function wk(t,n){return U(),nt("svg",yk,bk)}const xk=re(_k,[["render",wk]]),kk={},Lk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Mk=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),Ck=[Mk];function Pk(t,n){return U(),nt("svg",Lk,Ck)}const Sk=re(kk,[["render",Pk]]),Ek={},Tk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Ok=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),Ak=[Ok];function Rk(t,n){return U(),nt("svg",Tk,Ak)}const Bk=re(Ek,[["render",Rk]]),Ik={},Dk={viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true"},zk=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),jk=[zk];function Nk(t,n){return U(),nt("svg",Dk,jk)}const Fk=re(Ik,[["render",Nk]]),Hk={},Gk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Vk=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M4 12h16M4 18h16"},null,-1),Uk=[Vk];function $k(t,n){return U(),nt("svg",Gk,Uk)}const Zk=re(Hk,[["render",$k]]),qk={},Wk={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24"},Kk=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),Jk=[Kk];function Yk(t,n){return U(),nt("svg",Wk,Jk)}const Xk=re(qk,[["render",Yk]]),Qk={},tL={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},eL=et("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),nL=[eL];function rL(t,n){return U(),nt("svg",tL,nL)}const iL=re(Qk,[["render",rL]]),oL={},sL={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},aL=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),lL=[aL];function cL(t,n){return U(),nt("svg",sL,lL)}const uL=re(oL,[["render",cL]]),hL={},dL={xmlns:"http://www.w3.org/2000/svg",class:"text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},pL=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),fL=[pL];function mL(t,n){return U(),nt("svg",dL,fL)}const gL=re(hL,[["render",mL]]),_L={},yL={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},vL=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),bL=[vL];function wL(t,n){return U(),nt("svg",yL,bL)}const xL=re(_L,[["render",wL]]),kL={},LL={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},ML=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),CL=[ML];function PL(t,n){return U(),nt("svg",LL,CL)}const SL=re(kL,[["render",PL]]),EL={__name:"ImageAttribution",props:{attribution:{type:Object,default:()=>({})}},setup(t){return(n,s)=>(U(),nt("div",null,[et("p",null,Qt(t.attribution.label),1)]))}},TL={__name:"ImageDepictions",props:{depictions:{type:Array,default:()=>[]}},setup(t){return(n,s)=>(U(),nt("div",null,[(U(!0),nt($t,null,ye(t.depictions,o=>(U(),nt("div",{key:o.id},[et("p",null,Qt(o.label),1)]))),128))]))}},OL=["innerHTML"],AL={__name:"ImageSource",props:{source:{type:Object,default:()=>({})}},setup(t){return(n,s)=>(U(),nt("div",null,[et("p",{innerHTML:t.source.label},null,8,OL)]))}},RL={class:"p-2 text-black dark:text-white opacity-50"},BL={__name:"ImageViewerCounter",props:{currentImage:{type:Number,required:!0},totalImages:{type:Number,required:!0}},setup(t){return(n,s)=>(U(),nt("span",RL,Qt(t.currentImage+1)+"/"+Qt(t.totalImages),1))}},IL={},DL={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Next image"};function zL(t,n){const s=pt("IconArrowRight");return U(),nt("button",DL,[rt(s,{class:"h-8 w-8"})])}const jL=re(IL,[["render",zL]]),NL={},FL={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Previous image"};function HL(t,n){const s=pt("IconArrowLeft");return U(),nt("button",FL,[rt(s,{class:"h-8 w-8"})])}const GL=re(NL,[["render",HL]]),VL={},UL={class:"p-2 box-border flex justify-between"};function $L(t,n){return U(),nt("div",UL,[et("div",null,[Se(t.$slots,"default")]),et("div",null,[Se(t.$slots,"right")])])}const ZL=re(VL,[["render",$L]]),qL={},WL={type:"button",class:"p-2 cursor-pointer opacity-50 text-base-content"};function KL(t,n){const s=pt("IconClose");return U(),nt("button",WL,[rt(s)])}const JL=re(qL,[["render",KL]]),YL={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"},XL={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"},QL=["textContent"],tM=["alt","src"],eM={class:"bottom-0 fixed max-w-full w-full"},nM={class:"text-base-content text-sm attributions p-6 align-middle flex justify-between flex-col text-center"},rM={class:"flex justify-center"},iM={__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(t,{emit:n}){const s=t,o=({key:_})=>{switch(_){case"ArrowLeft":s.previous&&n("previous");break;case"ArrowRight":s.next&&n("next");break;case"Escape":n("close");break}},c=Zt(null),i=Zt(!1),u=Zt(null),h=se(()=>s.images[s.index]);document.addEventListener("keyup",o);function f(){i.value=!1,u.value="Image was not found or format is not supported"}function m(){i.value=!1}return en(()=>{c.value.addEventListener("load",m),c.value.addEventListener("error",f),document.body.classList.add("overflow-hidden")}),Zr(()=>{document.removeEventListener("keyup",o),document.body.classList.remove("overflow-hidden")}),He(()=>s.index,()=>{u.value=null,i.value=!0}),(_,v)=>{const M=pt("VSpinner");return U(),nt("div",YL,[et("div",{class:"min-w-96 dark:bg-slate-900 rounded-lg shadow-sm mb-24",onClick:v[3]||(v[3]=ps(()=>{},["stop"]))},[et("div",XL,[i.value?(U(),At(M,{key:0})):Nt("",!0),u.value?(U(),nt("div",{key:1,class:"flex flex-col justify-center",textContent:Qt(u.value)},null,8,QL)):Nt("",!0),bo(et("img",{ref_key:"imageElement",ref:c,class:"mx-auto cursor-zoom-out w-auto max-w-full max-h-full h-auto my-auto",alt:h.value.depictions.map(T=>T.label).join(";"),src:h.value.original,onClick:v[0]||(v[0]=T=>n("close"))},null,8,tM),[[Os,!u.value]]),t.next?(U(),At(jL,{key:2,class:"right-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:v[1]||(v[1]=T=>n("next"))})):Nt("",!0),t.previous?(U(),At(GL,{key:3,class:"left-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:v[2]||(v[2]=T=>n("previous"))})):Nt("",!0)])]),et("div",eM,[et("div",nM,[rt(TL,{class:"my-auto",depictions:h.value.depictions},null,8,["depictions"]),rt(EL,{class:"my-auto",attribution:h.value.attribution},null,8,["attribution"]),rt(AL,{class:"my-auto",source:h.value.source},null,8,["source"])]),et("div",rM,[rt(Id,{class:"pb-2",current:t.index,images:t.images,onSelectIndex:v[4]||(v[4]=T=>n("selectIndex",T)),onClick:v[5]||(v[5]=ps(()=>{},["stop"]))},null,8,["current","images"])])]),rt(ZL,{class:"w-full absolute top-0 h-12 left-0 items-center"},{right:ft(()=>[rt(JL,{onClick:v[6]||(v[6]=T=>n("close"))})]),default:ft(()=>[rt(BL,{"current-image":t.index,"total-images":t.images.length},null,8,["current-image","total-images"])]),_:1})])}}},oM="!container mx-auto p-4 sm:px-0 prose dark:prose-invert box-border",sM={__name:"MarkdownLayout.global",props:{tag:{type:String,default:"div"},frontmatter:{type:Object,required:!0}},setup(t){const n=t,s={fullwidth:"p-4 sm:px-0 prose dark:prose-invert max-w-none",blank:"sm:px-0 prose dark:prose-invert max-w-none"},o=se(()=>s[n.frontmatter.layout]||oM);return(c,i)=>(U(),At(Mi(t.tag),{class:Xe(o.value)},{default:ft(()=>[Se(c.$slots,"default")]),_:3},8,["class"]))}},aM={class:"w-full p-4 md:p-4 flex flex-row box-border justify-between items-center"},lM=et("span",null,null,-1),cM={class:"bg-base-foreground overflow-x-auto h-full md:h-auto max-h-full"},uM={__name:"VModal.global",emits:["close"],setup(t,{emit:n}){const s=o=>{o.key==="Escape"&&(o.stopPropagation(),n("close"))};return en(()=>{document.addEventListener("keydown",s),document.body.classList.add("overflow-hidden")}),Zr(()=>{document.removeEventListener("keydown",s),document.body.classList.remove("overflow-hidden")}),(o,c)=>{const i=pt("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:c[2]||(c[2]=u=>n("close")),onKey:c[3]||(c[3]=ps(u=>n("close"),["stop"]))},[et("div",{class:"h-full md:h-auto mx-auto md:max-h-[70vh] bg-base-foreground container",onClick:c[1]||(c[1]=ps(()=>{},["stop"]))},[et("div",aM,[Se(o.$slots,"header",{},()=>[lM]),rt(i,{class:"w-6 h-6 cursor-pointer opacity-50",onClick:c[0]||(c[0]=()=>n("close"))})]),et("div",cM,[Se(o.$slots,"default")]),et("div",null,[Se(o.$slots,"footer")])])],32)}}},hM={__name:"ProjectStats.global",props:{data:{type:Array,default:()=>[]},tag:{type:String,default:"span"}},setup(t){const n=t,s=Zt({data:[]}),o=se(()=>n.data.map(u=>u.toLowerCase())),c=se(()=>{const u=s.value.data;return u.length?i(u):o.value.map(h=>[h,"??"])});function i(u){const h=n.data.length?u.filter(([f])=>o.value.includes(f)):u;return h.sort(([f],[m])=>o.value.indexOf(f)-o.value.indexOf(m)),h}return en(()=>{Ke.get("/stats").then(u=>{const h=Object.entries(u.data.data).map(([f,m])=>[f.toLowerCase(),m.toLocaleString()]);s.value.data=h})}),(u,h)=>(U(),At(Mi(t.tag),null,{default:ft(()=>[(U(!0),nt($t,null,ye(c.value,([f,m],_)=>Se(u.$slots,"default",{type:f,value:m},()=>[et("span",null,Qt(f)+": "+Qt(m)+Qt(_{n.value=!0}),(s,o)=>n.value?Se(s.$slots,"default",{key:0}):(U(),nt("div",dM))}},fM={class:"inline-flex items-center text-sm"},mM={__name:"TabItem.global",props:{to:{type:[String,Object],required:!0}},setup(t){return(n,s)=>{const o=pt("router-link");return U(),nt("li",fM,[rt(o,{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:t.to},{default:ft(()=>[Se(n.$slots,"default")]),_:3},8,["to"])])}}},gM={},_M={class:"inline-flex items-center space-x-1 md:space-x-3"};function yM(t,n){return U(),nt("ul",_M,[Se(t.$slots,"default")])}const vM=re(gM,[["render",yM]]),bM={},wM={class:"relative sm:rounded-lg"},xM={class:"w-full text-sm text-left text-gray-500 dark:text-gray-400"};function kM(t,n){return U(),nt("div",wM,[et("table",xM,[Se(t.$slots,"default")])])}const LM=re(bM,[["render",kM]]),MM={},CM={class:"normal-case text-xs"};function PM(t,n){return U(),nt("tbody",CM,[Se(t.$slots,"default")])}const SM=re(MM,[["render",PM]]),EM={},TM={class:"px-4 py-4"};function OM(t,n){return U(),nt("td",TM,[Se(t.$slots,"default")])}const AM=re(EM,[["render",OM]]),RM={},BM={class:"bg-base-foreground border-b border-base-border"};function IM(t,n){return U(),nt("tr",BM,[Se(t.$slots,"default")])}const DM=re(RM,[["render",IM]]),zM={},jM={class:"text-xs text-base-content uppercase bg-base-background"};function NM(t,n){return U(),nt("thead",jM,[Se(t.$slots,"default")])}const FM=re(zM,[["render",NM]]),HM={},GM={class:"px-4 py-3"};function VM(t,n){return U(),nt("th",GM,[Se(t.$slots,"default")])}const UM=re(HM,[["render",VM]]),$M={};function ZM(t,n){return U(),nt("tr",null,[Se(t.$slots,"default")])}const qM=re($M,[["render",ZM]]),WM={key:1},KM=et("h1",{class:"font-medium text-base px-1"},"Report a problem",-1),JM={class:"font-normal p-5 pt-0 text-base"},YM=et("span",null,"My issue is with:",-1),XM={class:"mx-5 my-2"},QM=["href"],tC={key:0,class:"text-sm"},eC="https://github.com/SpeciesFileGroup/taxonpages/issues/new/choose",nC={__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(t){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:"https://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"}]},s=Zt(!1);function o(){n?s.value=!0:window.open(eC,"_self")}return(c,i)=>{const u=pt("IconGithub"),h=pt("VModal");return U(),nt($t,null,[(U(),At(Mi(t.tag),{type:"button",title:"Report a problem",class:Xe(t.buttonClass),onClick:o},{default:ft(()=>[t.icon?(U(),At(u,{key:0,class:"w-5 h-5"})):Nt("",!0),t.label?(U(),nt("span",WM,Qt(t.label),1)):Nt("",!0)]),_:1},8,["class"])),s.value?(U(),At(h,{key:0,class:"text-base-content",onClose:i[0]||(i[0]=f=>s.value=!1)},{header:ft(()=>[KM]),default:ft(()=>[et("div",JM,[YM,et("ul",XM,[(U(!0),nt($t,null,ye(Wt(n),f=>(U(),nt("li",null,[et("a",{href:f.url},Qt(f.label),9,QM),f.description?(U(),nt("span",tC," - "+Qt(f.description),1)):Nt("",!0)]))),256))])])]),_:1})):Nt("",!0)],64)}}},rC={__name:"VSkeleton.global",props:{class:{type:String,default:"w-full"},lines:{type:Number,default:1}},setup(t){const n=Gf(),s=se(()=>{var i;const c=(i=n.default)==null?void 0:i.call(n);return o(c)});function o(c){if(!c)return!0;const[i]=c;let u=i.children;return i.el!==null||u!==null}return(c,i)=>(U(),nt($t,null,[Se(c.$slots,"default"),s.value?(U(),nt("span",{key:0,class:Xe(t.class)},[(U(!0),nt($t,null,ye(t.lines,u=>(U(),nt("span",{key:u,class:"inline-block w-full rounded-sm bg-base-muted leading-5 animate-pulse"}," ‌ "))),128))],2)):Nt("",!0)],64))}};const kl=t=>(ah("data-v-b688ef4b"),t=t(),lh(),t),iC=kl(()=>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)),oC=kl(()=>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)),sC=[iC,oC],aC=kl(()=>et("span",{class:"sr-only"},"Loading...",-1)),lC=["innerHTML"],cC={__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(t){const n=t,s={position:"fixed",width:"100vw",height:"100vh",top:"0px",left:"0px"},o=Zt(null),c=Zt({}),i=Zt(void 0);en(()=>{u(),n.resize&&!n.fullScreen&&f()}),Zr(()=>clearInterval(i.value));const u=()=>{const m=n.target?document.querySelector(n.target):o.value.parentNode;Object.assign(c.value,n.fullScreen?s:h(m))},h=m=>{const _=m.getBoundingClientRect(),v=window.getComputedStyle(m,null),M=parseInt(v.getPropertyValue("padding-left"),10),T=parseInt(v.getPropertyValue("padding-right"),10),C=parseInt(v.getPropertyValue("padding-top"),10),P=parseInt(v.getPropertyValue("padding-bottom"),10);return{position:"absolute",width:_.width-M-T+"px",height:_.height-C-P+"px"}},f=()=>{i.value=setInterval(u(),500)};return(m,_)=>(U(),nt("div",{ref_key:"spinnerElement",ref:o,class:"box-spinner mx-spinner absolute bg-base-foreground opacity-90 h-full flex items-center",style:Hn(c.value)},[et("div",{class:Xe(["tw-spinner",[`tw-spinner-${t.spinnerPosition}`]])},[t.showSpinner?(U(),nt("svg",{key:0,style:Hn(t.logoSize),"aria-hidden":"true",class:Xe(["text-base-lighter animate-spin fill-primary-color",t.logoClass]),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sC,6)):Nt("",!0),aC,t.legend.length?(U(),nt("div",{key:1,class:Xe(["text-base-content text-center",t.legendClass]),style:Hn(t.legendStyle)},[t.showLegend?(U(),nt("span",{key:0,innerHTML:t.legend},null,8,lC)):Nt("",!0),Se(m.$slots,"default",{},void 0,!0)],6)):Nt("",!0)],2)],4))}},uC=re(cC,[["__scopeId","data-v-b688ef4b"]]);function hC(t){dC(t,Object.assign({"/src/components/AddressMaker.global.vue":zx,"/src/components/Animation/AnimationOpacity.global.vue":Fx,"/src/components/Autocomplete/Autocomplete.global.vue":Rd,"/src/components/Autocomplete/AutocompleteOtu.global.vue":e1,"/src/components/Button/ButtonExpand.global.vue":r1,"/src/components/Button/VButton.global.vue":i1,"/src/components/Card/VCard.global.vue":l1,"/src/components/Card/VCardContent.global.vue":d1,"/src/components/Card/VCardHeader.global.vue":g1,"/src/components/Clipboard/VClipboard.global.vue":_1,"/src/components/Dropdown/Dropdown.global.vue":b1,"/src/components/Gallery/GalleryCarousel/GalleryCarousel.global.vue":C1,"/src/components/Gallery/GalleryImage.global.vue":z1,"/src/components/Gallery/GalleryMosaic/GalleryMosaic.global.vue":F1,"/src/components/Icon/IconArrowDown.global.vue":Z1,"/src/components/Icon/IconArrowLeft.global.vue":X1,"/src/components/Icon/IconArrowRight.global.vue":ik,"/src/components/Icon/IconCheck.global.vue":uk,"/src/components/Icon/IconClipboard.global.vue":gk,"/src/components/Icon/IconClose.global.vue":xk,"/src/components/Icon/IconDocument.global.vue":Sk,"/src/components/Icon/IconDownload.global.vue":Bk,"/src/components/Icon/IconGithub.global.vue":Fk,"/src/components/Icon/IconHamburger.global.vue":Zk,"/src/components/Icon/IconJson.global.vue":Xk,"/src/components/Icon/IconMinusCircle.global.vue":iL,"/src/components/Icon/IconPlusCircle.global.vue":uL,"/src/components/Icon/IconSearch.global.vue":gL,"/src/components/Icon/IconTrash.global.vue":xL,"/src/components/Icon/IconWarning.global.vue":SL,"/src/components/ImageViewer/ImageViewer.global.vue":iM,"/src/components/Markdown/MarkdownLayout.global.vue":sM,"/src/components/Modal/VModal.global.vue":uM,"/src/components/ProjectStats.global.vue":hM,"/src/components/Ssr/ClientOnly.global.vue":pM,"/src/components/Tab/TabItem.global.vue":mM,"/src/components/Tab/TabMenu.global.vue":vM,"/src/components/Table/VTable.global.vue":LM,"/src/components/Table/VTableBody.global.vue":SM,"/src/components/Table/VTableBodyCell.global.vue":AM,"/src/components/Table/VTableBodyRow.global.vue":DM,"/src/components/Table/VTableHeader.global.vue":FM,"/src/components/Table/VTableHeaderCell.global.vue":UM,"/src/components/Table/VTableHeaderRow.global.vue":qM,"/src/components/TrackerReport.global.vue":nC,"/src/components/VSkeleton.global.vue":rC,"/src/components/VSpinner.global.vue":uC}))}function dC(t,n){Object.entries(n).forEach(([o,c])=>{const i=o.split("/").pop().replace(/\.client.global.\w+$/,"").replace(/\.global.\w+$/,"");t.component(i,c)})}const pC=window.location.origin,Tu=window.initialState,{app:Ll,router:fC,store:mC}=ax({originUrl:pC});Tu&&(mC.state.value=Tu);Px(Ll);hC(Ll);fC.isReady().then(()=>{Ll.mount("#app")});export{et as a,rt as b,At as c,mh as d,ne as e,U as o,pt as r,ft as w}; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..df36fcfb72584e00488330b560ebcf34a41c64c2 GIT binary patch literal 4286 zcmds*O-Phc6o&64GDVCEQHxsW(p4>LW*W<827=Unuo8sGpRux(DN@jWP-e29Wl%wj zY84_aq9}^Am9-cWTD5GGEo#+5Fi2wX_P*bo+xO!)p*7B;iKlbFd(U~_d(U?#hLj56 zPhFkj-|A6~Qk#@g^#D^U0XT1cu=c-vu1+SElX9NR;kzAUV(q0|dl0|%h|dI$%VICy zJnu2^L*Te9JrJMGh%-P79CL0}dq92RGU6gI{v2~|)p}sG5x0U*z<8U;Ij*hB9z?ei z@g6Xq-pDoPl=MANPiR7%172VA%r)kevtV-_5H*QJKFmd;8yA$98zCxBZYXTNZ#QFk2(TX0;Y2dt&WitL#$96|gJY=3xX zpCoi|YNzgO3R`f@IiEeSmKrPSf#h#Qd<$%Ej^RIeeYfsxhPMOG`S`Pz8q``=511zm zAm)MX5AV^5xIWPyEu7u>qYs?pn$I4nL9J!=K=SGlKLXpE<5x+2cDTXq?brj?n6sp= zphe9;_JHf40^9~}9i08r{XM$7HB!`{Ys~TK0kx<}ZQng`UPvH*11|q7&l9?@FQz;8 zx!=3<4seY*%=OlbCbcae?5^V_}*K>Uo6ZWV8mTyE^B=DKy7-sdLYkR5Z?paTgK-zyIkKjIcpyO z{+uIt&YSa_$QnN_@t~L014dyK(fOOo+W*MIxbA6Ndgr=Y!f#Tokqv}n<7-9qfHkc3 z=>a|HWqcX8fzQCT=dqVbogRq!-S>H%yA{1w#2Pn;=e>JiEj7Hl;zdt-2f+j2%DeVD zsW0Ab)ZK@0cIW%W7z}H{&~yGhn~D;aiP4=;m-HCo`BEI+Kd6 z={Xwx{TKxD#iCLfl2vQGDitKtN>z|-AdCN|$jTFDg0m3O`WLD4_s#$S literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 0000000..390b479 --- /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: /