';return hf(t)}function nt(){if(h&&c){var r=u.index,t=g.getPrev(),i=g.getNext(),f=t>-1&&r-1&&r>i?w.first:w.next;h.disabled=t<0;c.disabled=i<0;n(h,s,f);n(c,s,e);rt(vo,h,c,t,i)}}var y=i(u),tt=y.on,it=y.bind,rt=y.emit,p=o.classes,w=o.i18n,b=e.Elements,g=e.Controller,d=b.arrows,ut=b.track,l=d,h=b.prev,c=b.next,ft,ot,ht={};return{arrows:ht,mount:ct,destroy:lt,update:nt}}function uh(t,u,f){function st(){et&&(ct(),e&&n(e,yi,it.track.id),o||a(),nt())}function ct(){f.pauseOnHover&&y(ft,"mouseenter mouseleave",function(n){k=n.type==="mouseenter";ot()});f.pauseOnFocus&&y(ft,"focusin focusout",function(n){d=n.type==="focusin";ot()});e&&y(e,"click",function(){o?a():g(!0)});tt([rt,eu,r],l.rewind);tt(rt,at)}function a(){b()&&u.Slides.isEnough()&&(l.start(!f.resetProgress),d=k=o=!1,nt(),p(kf))}function g(n){n===void 0&&(n=!0);o=!!n;nt();b()||(l.pause(),p(df))}function ot(){o||(k||d?g(!1):a())}function nt(){e&&(w(e,ht,!o),n(e,s,f.i18n[o?"play":"pause"]))}function lt(n){var t=it.bar;t&&h(t,"width",n*100+"%");p(wo,n)}function at(n){var t=u.Slides.getAt(n);l.set(t&&+c(t.slide,rh)||f.interval)}var v=i(t),tt=v.on,y=v.bind,p=v.emit,l=fr(f.interval,t.go.bind(t,">"),lt),b=l.isPaused,it=u.Elements,ut=u.Elements,ft=ut.root,e=ut.toggle,et=f.autoplay,k,d,o=et==="pause";return{mount:st,destroy:l.cancel,play:a,pause:g,isPaused:b}}function fh(n,u,e){function l(){e.cover&&(o(gf,t(h,!0)),o([st,f,r],t(s,!0)))}function s(n){u.Slides.forEach(function(t){var i=fi(t.container||t.slide,"img");i&&i.src&&h(n,i,t)})}function h(n,t,i){i.style("background",n?'center/cover no-repeat url("'+t.src+'")':"",!0);si(t,n?"none":"")}var c=i(n),o=c.on;return{mount:l,destroy:t(s,!1)}}function lh(n,e,o){function ft(){p(rt,l);p([f,r],tt)}function g(n,i,r,f,o){var p=k(),y,g,tt;l();!r||d&&a()||(y=e.Layout.sliderSize(),g=iu(n)*y*ir(u(n)/y)||0,n=h.toPosition(e.Controller.toDest(n%y))+g);tt=lf(p,n,1);v=1;i=tt?0:i||tr(u(n-p)/hh,ch);c=f;s=fr(i,nt,t(et,p,n,o),1);b(gt);w(eu);s.start()}function nt(){b(lt);c&&c();w(pt)}function et(n,t,i,r){var f=k(),o=n+(t-n)*ot(r),e=(o-f)*v;ut(f+e);d&&!i&&a()&&(v*=sh,u(e)ge,i=l!==(l=ht());(t||i)&&pt(n);nt=!0;k(ho);b(n)}else pi(n)&&(h=yi(n),b(n))}function yt(n){c.is(ki)&&(c.set(lt),k(co));h&&(vi(n),b(n));ut(a,pu,vt);ut(a,wu,yt);h=!1}function ai(n){!tt&&nt&&b(n,!0)}function pt(n){d=w;w=n;ct=ot()}function vi(t){var u=bi(t),f=di(u),i=r.rewind&&r.rewindByDrag;ft(!1);g?o.scroll(f,0,r.snap):n.is(wi)?o.go(si(iu(u))<0?i?"<":"-":i?">":"+"):n.is(bt)&&l&&i?o.go(ht(!0)?">":"<"):o.go(o.toDest(f),!0);ft(!0)}function yi(n){var t=r.dragMinThreshold,i=ni(t),f=i&&t.mouse||0,e=(i?t.touch:+t)||10;return u(v(n))>(rt(n)?e:f)}function pi(n){return u(v(n))>u(v(n,!0))}function bi(t){if(n.is(kt)||!l){var i=wt(t);if(i&&i")}}var e=i(n),o=e.on,a=e.bind,v=e.unbind,y=n.root,h=t.Direction.resolve,s,u;return{mount:p,destroy:l,disable:w}}function wh(u,f,e){function rt(){e.lazyLoad&&(g(),y(r,g))}function g(){p(o);ut();d?tt():(w(h),y(h,l),l())}function ut(){f.Slides.forEach(function(n){gr(n.slide,ph).forEach(function(t){var u=c(t,bi),f=c(t,yr);if(u!==t.src||f!==t.srcset){var i=e.classes.spinner,r=t.parentElement,s=fi(r,"."+i)||vt("span",i,r);o.push([t,n,s]);t.src||si(t,"none")}})})}function l(){o=o.filter(function(n){var t=e.perPage*((e.preloadPages||1)+1)-1;return n[1].isWithin(u.index,t)?nt(n):!0});o.length||w(h)}function nt(i){var r=i[0];a(i[1].slide,yu);it(r,"load error",t(ft,i));n(r,"src",c(r,bi));n(r,"srcset",c(r,yr));v(r,bi);v(r,yr)}function ft(n,t){var i=n[0],r=n[1];k(r.slide,yu);t.type!=="error"&&(et(n[2]),si(i,""),b(gf,i,r),b(vi));d&&tt()}function tt(){o.length&&nt(o.shift())}var s=i(u),y=s.on,w=s.off,it=s.bind,b=s.emit,d=e.lazyLoad==="sequential",h=[ai,pt],o=[];return{mount:rt,destroy:t(p,o),check:l}}function bh(u,e,o){function kt(){dt();ut([f,r,ur],kt);var n=o.pagination;w&&si(w,n?"":"none");n&&(ut([rt,eu,pt],it),ni(),it(),ft(yo,{list:h,items:c},nt(u.index)))}function dt(){h&&(et(w?g(h.children):h),k(h,bt),p(c),h=null);y.destroy()}function ni(){var p=u.length,v=o.classes,f=o.i18n,y=o.perPage,b=ct()?l.getEnd()+1:li(p/y),i;for(h=w||vt("ul",v.pagination,st.track.parentElement),a(h,bt=ar+"--"+tt()),n(h,d,"tablist"),n(h,s,f.select),n(h,hu,tt()===hr?"vertical":""),i=0;i1?f.pageX:f.slideX;ot(r,"click",t(ti,i));o.paginationKeyboard&&ot(r,"keydown",t(ii,i));n(e,d,"presentation");n(r,d,"tab");n(r,yi,k.join(" "));n(r,s,ru(g,i+1));n(r,wt,-1);c.push({li:e,button:r,page:i})}}function ti(n){at(">"+n,!0)}function ii(n,t){var r=c.length,u=bu(t),e=tt(),i=-1,f;u===yt(sr,!1,e)?i=++n%r:u===yt(or,!1,e)?i=(--n+r)%r:u==="Home"?i=0:u==="End"&&(i=r-1);f=c[i];f&&(ef(f.button),at(">"+i),b(t,!0))}function tt(){return o.paginationDirection||o.direction}function nt(n){return c[l.toPage(n)]}function it(){var r=nt(lt(!0)),u=nt(lt()),t,i;r&&(t=r.button,k(t,ht),v(t,ee),n(t,wt,-1));u&&(i=u.button,a(i,ht),n(i,ee,!0),n(i,wt,""));ft(po,{list:h,items:c},r,u)}var y=i(u),ut=y.on,ft=y.emit,ot=y.bind,gt=e.Slides,st=e.Elements,l=e.Controller,ct=l.hasFocus,lt=l.getIndex,at=l.go,yt=e.Direction.resolve,w=st.pagination,c=[],h,bt;return{items:c,mount:kt,destroy:dt,getAt:nt,update:it}}function dh(r,u,e){function c(){r.splides.forEach(function(n){n.isParent||(a(r,n.splide),a(n.splide,r))});s&&w()}function l(){o.forEach(function(n){n.destroy()});p(o)}function y(){l();c()}function a(n,t){var r=i(n);r.on(rt,function(n,i,r){t.go(t.is(kt)?r:n)});o.push(r)}function w(){var n=i(r),t=n.on;t(pf,v);t(ne,d);t([st,f],k);o.push(n);n.emit(bf,r.splides)}function k(){n(u.Elements.list,hu,e.direction===hr?"vertical":"")}function v(n){r.go(n.index)}function d(n,t){kr(kh,bu(t))&&(v(n),b(t))}var s=e.isNavigation,h=e.slideFocus,o=[];return{setup:t(u.Media.set,{slideFocus:ti(h)?s:h},!0),mount:c,destroy:l,remount:y}}function gh(n,t,r){function s(){r.wheel&&o(t.Elements.track,"wheel",h,dt)}function h(t){if(t.cancelable){var i=t.deltaY,e=i<0,o=nu(t),s=r.wheelMinThreshold||0,h=r.wheelSleep||0;u(i)>s&&o-f>h&&(n.go(e?"<":">"),f=o);c(e)&&b(t)}}function c(i){return!r.releaseWheel||n.state.is(at)||t.Controller.getAdjacent(i)!==-1}var e=i(n),o=e.bind,f=0;return{mount:s}}function tc(r,u,f){function p(){c&&(s(!u.Autoplay.isPaused()),n(e,ce,!0),o.textContent="…",h(kf,t(s,!0)),h(df,t(s,!1)),h([ai,pt],t(a,!0)))}function a(t){n(e,he,t);t?(ri(e,o),l.start()):(et(o),l.cancel())}function w(){v(e,[se,ce,he]);et(o)}function s(t){c&&n(e,se,t?"off":"polite")}var y=i(r),h=y.on,e=u.Elements.track,c=f.live&&!f.isNavigation,o=vt("span",os),l=fr(nc,t(a,!1));return{mount:p,disable:s,destroy:w}}function uc(n,t,u){function e(){i(n).on([st,r],o)}function o(){f.forEach(function(n){n.style("transform","translateX(-"+100*n.index+"%)")})}function s(n,t){f.style("transition","opacity "+u.speed+"ms "+u.easing);gu(t)}var f=t.Slides;return{mount:e,start:s,cancel:pr}}function fc(n,r,f){function y(){i(n).bind(o,"transitionend",function(n){n.target===o&&s&&(v(),s())})}function p(n,t){var i=e.toPosition(n,!0),o=e.getPosition(),r=w(n);u(i-o)>=1&&r>=1?f.useScroll?l.scroll(i,r,!1,t):(a("transform "+r+"ms "+f.easing),e.translate(i,!0),s=t):(e.jump(n),t())}function v(){a("");l.cancel()}function w(t){var u=f.rewindSpeed,i,r;return n.is(bt)&&u&&(i=c.getIndex(!0),r=c.getEnd(),i===0&&t>=r||i>=r&&t===0)?u:f.speed}var e=r.Move,c=r.Controller,l=r.Scroll,o=r.Elements.list,a=t(h,o,"transition"),s;return{mount:y,start:p,cancel:v}}var du="(prefers-reduced-motion: reduce)",ct=1,lt=3,at=4,gt=5,ki=6,di=7,io={CREATED:ct,MOUNTED:2,IDLE:lt,MOVING:at,SCROLLING:gt,DRAGGING:ki,DESTROYED:di},gu=setTimeout,pr=function(){},wr=Array.isArray,tf=t(gi,"function"),nt=t(gi,"string"),ti=t(gi,"undefined"),ei=Object.keys,hi="splide",tu="data-"+hi,it=Math.min,tr=Math.max,ir=Math.floor,li=Math.ceil,u=Math.abs,af={},st="mounted",yf="ready",rt="move",ai="moved",pf="click",uo="active",fo="inactive",eo="visible",oo="hidden",r="refresh",f="updated",vi="resize",fu="resized",so="drag",ho="dragging",co="dragged",eu="scroll",pt="scrolled",lo="overflow",wf="destroy",ao="arrows:mounted",vo="arrows:updated",yo="pagination:mounted",po="pagination:updated",bf="navigation:mounted",kf="autoplay:play",wo="autoplay:playing",df="autoplay:pause",gf="lazyload:loaded",ne="sk",te="sh",ur="ei",er="Arrow",or=er+"Left",sr=er+"Right",ie=er+"Up",re=er+"Down",ue="rtl",hr="ttb",ou={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[ie,sr],ArrowRight:[re,or]},d="role",wt="tabindex",l="aria-",yi=l+"controls",fe=l+"current",ee=l+"selected",s=l+"label",su=l+"labelledby",oe=l+"hidden",hu=l+"orientation",pi=l+"roledescription",se=l+"live",he=l+"busy",ce=l+"atomic",cu=[d,wt,"disabled",yi,fe,s,su,oe,hu,pi],y=hi+"__",ut="is-",lu=hi,le=y+"track",ts=y+"list",cr=y+"slide",ae=cr+"--clone",is=cr+"__container",au=y+"arrows",lr=y+"arrow",ve=lr+"--prev",ye=lr+"--next",ar=y+"pagination",pe=ar+"__page",rs=y+"progress",us=rs+"__bar",fs=y+"toggle",es=y+"spinner",os=y+"sr",ss=ut+"initialized",ht=ut+"active",we=ut+"prev",be=ut+"next",vu=ut+"visible",yu=ut+"loading",ke=ut+"focus-in",de=ut+"overflow",hs=[ht,vu,we,be,yu,ke,de],cs={slide:cr,clone:ae,arrows:au,arrow:lr,prev:ve,next:ye,pagination:ar,page:pe,spinner:es},as=5,ge=200,no="touchstart mousedown",pu="touchmove mousemove",wu="touchend touchcancel mouseup click",bt="slide",kt="loop",wi="fade",bs=2,nh="http://www.w3.org/2000/svg",th="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",vr=40,rh=tu+"-interval",eh=10,oh=600,sh=.6,hh=1.5,ch=800,dt={passive:!1,capture:!0},vh={Spacebar:" ",Right:sr,Left:or,Up:ie,Down:re},to="keydown",bi=tu+"-lazy",yr=bi+"-srcset",ph="["+bi+"], ["+yr+"]",kh=[" ","Enter"],nc=90,ic=Object.freeze({__proto__:null,Media:go,Direction:ns,Elements:vs,Slides:ps,Layout:ws,Clones:ks,Move:ds,Controller:gs,Arrows:ih,Autoplay:uh,Cover:fh,Scroll:lh,Drag:ah,Keyboard:yh,LazyLoad:wh,Pagination:bh,Sync:dh,Wheel:gh,Live:tc}),rc={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:cs,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}},ec=function(){function t(n,r){this.event=i();this.Components={};this.state=bo(ct);this.splides=[];this._o={};this._E={};var u=nt(n)?cf(document,n):n;ci(u,u+" is invalid.");this.root=u;r=tt({label:c(u,s)||"",labelledby:c(u,su)||""},rc,t.defaults,r||{});try{tt(r,JSON.parse(c(u,tu)))}catch(f){ci(!1,"Invalid JSON")}this._o=Object.create(tt({},r))}var n=t.prototype;return n.mount=function(n,t){var u=this,r=this.state,i=this.Components,f;return ci(r.is([ct,di]),"Already mounted!"),r.set(ct),this._C=i,this._T=t||this._T||(this.is(wi)?uc:fc),this._E=n||this._E,f=oi({},ic,this._E,{Transition:this._T}),ft(f,function(n,t){var r=n(u,i,u._o);i[t]=r;r.setup&&r.setup()}),ft(i,function(n){n.mount&&n.mount()}),this.emit(st),a(this.root,ss),r.set(lt),this.emit(yf),this},n.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(lt)&&(this._C.Sync.remount(),n.Components.Sync.remount()),this},n.go=function(n){return this._C.Controller.go(n),this},n.on=function(n,t){this.event.on(n,t);return this},n.off=function(n){return this.event.off(n),this},n.emit=function(n){var t;return(t=this.event).emit.apply(t,[n].concat(g(arguments,1))),this},n.add=function(n,t){return this._C.Slides.add(n,t),this},n.remove=function(n){return this._C.Slides.remove(n),this},n.is=function(n){return this._o.type===n},n.refresh=function(){return this.emit(r),this},n.destroy=function(n){n===void 0&&(n=!0);var t=this.event,r=this.state;if(r.is(ct))i(this).on(yf,this.destroy.bind(this,n));else ft(this._C,function(t){t.destroy&&t.destroy(n)},!0),t.emit(wf),t.destroy(),n&&p(this.splides),r.set(di);return this},_createClass(t,[{key:"options",get:function(){return this._o},set:function(n){this._C.Media.set(n,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),t}(),ku=ec;return ku.defaults={},ku.STATES=io,ku}),document.querySelectorAll(".item-content").forEach(n=>{var t=n.querySelectorAll("img");t.length<4&&n.classList.add("hide-arrows")}),tabsList=[],document.querySelectorAll(".items .item").forEach(n=>{var t=n.getAttribute("tabitem").split(",").map(n=>n.trim());t.forEach(n=>{n&&!tabsList.includes(n)&&tabsList.push(n.trim())})}),itemTabs=document.querySelector(".item-tabs"),tabsList.length<=1?itemTabs&&(itemTabs.style.display="none"):tabsList.sort().forEach(n=>{var t=document.createElement("A");t.innerHTML=n;t.setAttribute("tabItem",n);t.setAttribute("onclick","selectItemCategory(this)");itemTabs&&itemTabs.append(t)}),dates=document.querySelectorAll(".date-year"),i=0;it&&(r.push(n[i]),u=i);return ut.max.x&&(i|=2),n.yt.max.y&&(i|=8),i}function pr(n,t,i,u){var o=t.x,t=t.y,f=i.x-o,e=i.y-t,s=f*f+e*e;return 0=this.min.x&&u.x<=this.max.x&&t.y>=this.min.y&&u.y<=this.max.y},intersects:function(n){n=rt(n);var t=this.min,i=this.max,r=n.min,n=n.max,u=n.x>=t.x&&r.x<=i.x,n=n.y>=t.y&&r.y<=i.y;return u&&n},overlaps:function(n){n=rt(n);var t=this.min,i=this.max,r=n.min,n=n.max,u=n.x>t.x&&r.xt.y&&r.y=r.lat&&i.lat<=u.lat&&t.lng>=r.lng&&i.lng<=u.lng},intersects:function(n){n=g(n);var t=this._southWest,i=this._northEast,r=n.getSouthWest(),n=n.getNorthEast(),u=n.lat>=t.lat&&r.lat<=i.lat,n=n.lng>=t.lng&&r.lng<=i.lng;return u&&n},overlaps:function(n){n=g(n);var t=this._southWest,i=this._northEast,r=n.getSouthWest(),n=n.getNorthEast(),u=n.lat>t.lat&&r.latt.lng&&r.lng","http://www.w3.org/2000/svg"===(eu.firstChild&&eu.firstChild.namespaceURI));var t={ie:bi,ielt9:ao,edge:ot,webkit:nu,android:tu,android23:vf,androidStock:sr,opera:ki,chrome:yf,gecko:iu,safari:vo,phantom:pf,opera12:ft,win:hr,ie3d:wf,webkit3d:ru,gecko3d:ei,any3d:bf,mobile:oi,mobileWebkit:kf,mobileWebkit3d:df,msPointer:uu,pointer:fu,touch:yh,touchNative:yo,mobileOpera:ph,mobileGecko:wh,retina:bh,passiveEvents:kh,canvas:dh,svg:gf,vml:!gf&&function(){try{var t=document.createElement("div"),n=(t.innerHTML='',t.firstChild);return n.style.behavior="url(#default#VML)",n&&"object"==typeof n.adj}catch(t){return!1}}(),inlineSvg:eu,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},po=t.msPointer?"MSPointerDown":"pointerdown",wo=t.msPointer?"MSPointerMove":"pointermove",bo=t.msPointer?"MSPointerUp":"pointerup",ko=t.msPointer?"MSPointerCancel":"pointercancel",ne={touchstart:po,touchmove:wo,touchend:bo,touchcancel:ko},go={touchstart:function(n,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&nt(t);ou(n,t)},touchmove:ou,touchend:ou,touchcancel:ou},di={},ns=!1;is=200;var te,gi,cr,su,hu,ie,re=au(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),lr=au(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),rs="webkitTransition"===lr||"OTransition"===lr?lr+"End":"transitionend";su="onselectstart"in document?(cr=function(){u(window,"selectstart",nt)},function(){a(window,"selectstart",nt)}):(gi=au(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),cr=function(){var n;gi&&(n=document.documentElement.style,te=n[gi],n[gi]="none")},function(){gi&&(document.documentElement.style[gi]=te,te=void 0)});bi={__proto__:null,TRANSFORM:re,TRANSITION:lr,TRANSITION_END:rs,get:us,getStyle:ar,create:s,remove:w,empty:cu,toFront:nr,toBack:tr,hasClass:ue,addClass:f,removeClass:k,setClass:fe,getClass:lu,setOpacity:st,testProp:au,setTransform:si,setPosition:d,getPosition:hi,get disableTextSelection(){return cr},get enableTextSelection(){return su},disableImageDrag:ee,enableImageDrag:oe,preventOutline:se,restoreOutline:vu,getSizedParentNode:fs,getScale:he};lt="_leaflet_events";yu={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};hs=t.linux&&t.chrome?window.devicePixelRatio:t.mac?3*window.devicePixelRatio:0this.options.maxZoom)?this.setZoom(n):this},panInsideBounds:function(n,t){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,g(n));return i.equals(n)||this.panTo(n,t),this._enforcingBounds=!1,this},panInside:function(n,t){var r=i((t=t||{}).paddingTopLeft||t.padding||[0,0]),u=i(t.paddingBottomRight||t.padding||[0,0]),f=this.project(this.getCenter()),n=this.project(n),e=this.getPixelBounds(),r=rt([e.min.add(r),e.max.subtract(u)]),e=r.getSize();return r.contains(n)||(this._enforcingBounds=!0,u=n.subtract(r.getCenter()),r=r.extend(n).getSize().subtract(e),f.x+=u.x<0?-r.x:r.x,f.y+=u.y<0?-r.y:r.y,this.panTo(this.unproject(f),t),this._enforcingBounds=!1),this},invalidateSize:function(n){if(!this._loaded)return this;n=c({animate:!1,pan:!0},!0===n?{animate:!0}:n);var i=this.getSize(),r=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),t=i.divideBy(2).round(),u=r.divideBy(2).round(),t=t.subtract(u);return t.x||t.y?(n.animate&&n.pan?this.panBy(t):(n.pan&&this._rawPanBy(t),this.fire("move"),n.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(v(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(n){var t,i;return n=this._locateOptions=c({timeout:1e4,watch:!1},n),"geolocation"in navigator?(t=v(this._handleGeolocationResponse,this),i=v(this._handleGeolocationError,this),n.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,i,n):navigator.geolocation.getCurrentPosition(t,i,n)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(n){var t;this._container._leaflet_id&&(t=n.code,n=n.message||(1===t?"permission denied":2===t?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."}))},_handleGeolocationResponse:function(n){if(this._container._leaflet_id){var i,t,r=new h(n.coords.latitude,n.coords.longitude),f=r.toBounds(2*n.coords.accuracy),u=this._locateOptions,e=(u.setView&&(i=this.getBoundsZoom(f),this.setView(r,u.maxZoom?Math.min(i,u.maxZoom):i)),{latlng:r,bounds:f,timestamp:n.timestamp});for(t in n.coords)"number"==typeof n.coords[t]&&(e[t]=n.coords[t]);this.fire("locationfound",e)}},addHandler:function(n,t){return t&&(t=this[n]=new t(this),this._handlers.push(t),this.options[n]&&t.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(n){this._container._leaflet_id=void 0;this._containerId=void 0}for(var n in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),w(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(et(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[n].remove();for(n in this._panes)w(this._panes[n]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(n,t){return t=s("div","leaflet-pane"+(n?" leaflet-"+n.replace("Pane","")+"-pane":""),t||this._mapPane),n&&(this._panes[n]=t),t},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var n=this.getPixelBounds();return new ut(this.unproject(n.getBottomLeft()),this.unproject(n.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(n,r,u){n=g(n);u=i(u||[0,0]);var f=this.getZoom()||0,s=this.getMinZoom(),h=this.getMaxZoom(),e=n.getNorthWest(),n=n.getSouthEast(),u=this.getSize().subtract(u),n=rt(this.project(n,f),this.project(e,f)).getSize(),e=t.any3d?this.options.zoomSnap:1,o=u.x/n.x,u=u.y/n.y,n=r?Math.max(o,u):Math.min(o,u),f=this.getScaleZoom(n,f);return e&&(f=Math.round(f/(e/100))*(e/100),f=r?Math.ceil(f/e)*e:Math.floor(f/e)*e),Math.max(s,Math.min(h,f))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new r(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(n,t){return n=this._getTopLeftPoint(n,t),new p(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(n){return this.options.crs.getProjectedBounds(void 0===n?this.getZoom():n)},getPane:function(n){return"string"==typeof n?this._panes[n]:n},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(n,t){var i=this.options.crs;return t=void 0===t?this._zoom:t,i.scale(n)/i.scale(t)},getScaleZoom:function(n,t){var i=this.options.crs,n=(t=void 0===t?this._zoom:t,i.zoom(n*i.scale(t)));return isNaN(n)?1/0:n},project:function(n,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(l(n),t)},unproject:function(n,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(i(n),t)},layerPointToLatLng:function(n){return n=i(n).add(this.getPixelOrigin()),this.unproject(n)},latLngToLayerPoint:function(n){return this.project(l(n))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(n){return this.options.crs.wrapLatLng(l(n))},wrapLatLngBounds:function(n){return this.options.crs.wrapLatLngBounds(g(n))},distance:function(n,t){return this.options.crs.distance(l(n),l(t))},containerPointToLayerPoint:function(n){return i(n).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(n){return i(n).add(this._getMapPanePos())},containerPointToLatLng:function(n){return n=this.containerPointToLayerPoint(i(n)),this.layerPointToLatLng(n)},latLngToContainerPoint:function(n){return this.layerPointToContainerPoint(this.latLngToLayerPoint(l(n)))},mouseEventToContainerPoint:function(n){return ss(n,this._container)},mouseEventToLayerPoint:function(n){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(n))},mouseEventToLatLng:function(n){return this.layerPointToLatLng(this.mouseEventToLayerPoint(n))},_initContainer:function(n){if(n=this._container=us(n),!n)throw new Error("Map container not found.");if(n._leaflet_id)throw new Error("Map container is already initialized.");u(n,"scroll",this._onScroll,this);this._containerId=o(n)},_initLayout:function(){var i=this._container,n=(this._fadeAnimated=this.options.fadeAnimation&&t.any3d,f(i,"leaflet-container"+(t.touch?" leaflet-touch":"")+(t.retina?" leaflet-retina":"")+(t.ielt9?" leaflet-oldie":"")+(t.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),ar(i,"position"));"absolute"!==n&&"relative"!==n&&"fixed"!==n&&"sticky"!==n&&(i.style.position="relative");this._initPanes();this._initControlPos&&this._initControlPos()},_initPanes:function(){var n=this._panes={};this._paneRenderers={};this._mapPane=this.createPane("mapPane",this._container);d(this._mapPane,new r(0,0));this.createPane("tilePane");this.createPane("overlayPane");this.createPane("shadowPane");this.createPane("markerPane");this.createPane("tooltipPane");this.createPane("popupPane");this.options.markerZoomAnimation||(f(n.markerPane,"leaflet-zoom-hide"),f(n.shadowPane,"leaflet-zoom-hide"))},_resetView:function(n,t,i){d(this._mapPane,new r(0,0));var f=!this._loaded,u=(this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset"),this._zoom!==t);this._moveStart(u,i)._move(n,t)._moveEnd(u);this.fire("viewreset");f&&this.fire("load")},_moveStart:function(n,t){return n&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(n,t,i,r){void 0===t&&(t=this._zoom);var u=this._zoom!==t;return this._zoom=t,this._lastCenter=n,this._pixelOrigin=this._getNewPixelOrigin(n),r?i&&i.pinch&&this.fire("zoom",i):((u||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(n){return n&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return et(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(n){d(this._mapPane,this._getMapPanePos().subtract(n))},_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(n){this._targets={};var i=n?a:u;i((this._targets[o(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this);this.options.trackResize&&i(window,"resize",this._onResize,this);t.any3d&&this.options.transform3DLimit&&(n?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){et(this._resizeRequest);this._resizeRequest=tt(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0;this._container.scrollLeft=0},_onMoveEnd:function(){var n=this._getMapPanePos();Math.max(Math.abs(n.x),Math.abs(n.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(n,t){for(var r,u=[],f="mouseout"===t||"mouseover"===t,i=n.target||n.srcElement,e=!1;i;){if((r=this._targets[o(i)])&&("click"===t||"preclick"===t)&&this._draggableMoved(r)){e=!0;break}if(r&&r.listens(t,!0)){if(f&&!ve(i,n))break;if(u.push(r),f)break}if(i===this._container)break;i=i.parentNode}return u.length||e||f||!this.listens(t,!0)?u:[this]},_isClickDisabled:function(n){for(;n&&n!==this._container;){if(n._leaflet_disable_click)return!0;n=n.parentNode}},_handleDOMEvent:function(n){var i,t=n.target||n.srcElement;!this._loaded||t._leaflet_disable_events||"click"===n.type&&this._isClickDisabled(t)||("mousedown"===(i=n.type)&&se(t),this._fireDOMEvent(n,i))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(n,t,i){var f,o,r,s,u,e;if("click"===n.type&&((u=c({},n)).type="preclick",this._fireDOMEvent(u,u.type,i)),f=this._findEventTargets(n,t),i){for(o=[],r=0;rthis.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),r=this._getCenterOffset(n)._divideBy(1-1/r);if(!0!==i.animate&&!this.getSize().contains(r))return!1;tt(function(){this._moveStart(!0,!1)._animateZoom(n,t,!0)},this)}return!0},_animateZoom:function(n,t,i,r){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=n,this._animateToZoom=t,f(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:n,zoom:t,noUpdate:r}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(v(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&k(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))}});var as,at=kt.extend({options:{position:"topright"},initialize:function(n){y(this,n)},getPosition:function(){return this.options.position},setPosition:function(n){var t=this._map;return t&&t.removeControl(this),this.options.position=n,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(n){this.remove();this._map=n;var t=this._container=this.onAdd(n),i=this.getPosition(),n=n._controlCorners[i];return f(t,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(t,n.firstChild):n.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(w(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(n){this._map&&n&&0",t=document.createElement("div"),t.innerHTML=n,t.firstChild},_addItem:function(n){var t,r=document.createElement("label"),i=this._map.hasLayer(n.layer),i=(n.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=i):t=this._createRadioElement("leaflet-base-layers_"+o(this),i),this._layerControlInputs.push(t),t.layerId=o(n.layer),u(t,"click",this._onInputClick,this),document.createElement("span")),f=(i.innerHTML=" "+n.name,document.createElement("span"));return r.appendChild(f),f.appendChild(t),f.appendChild(i),(n.overlay?this._overlaysList:this._baseLayersList).appendChild(r),this._checkDisabledLayers(),r},_onInputClick:function(){var t,u,f=this._layerControlInputs,i=[],r=[],n;for(this._handlingClick=!0,n=f.length-1;0<=n;n--)t=f[n],u=this._getLayer(t.layerId).layer,t.checked?i.push(u):t.checked||r.push(u);for(n=0;nn.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var n=this._section;u(n,"click",nt);this.expand();setTimeout(function(){a(n,"click",nt)})}})),ye=at.extend({options:{position:"topleft",zoomInText:'+<\/span>',zoomInTitle:"Zoom in",zoomOutText:'−<\/span>',zoomOutTitle:"Zoom out"},onAdd:function(n){var i="leaflet-control-zoom",r=s("div",i+" leaflet-bar"),t=this.options;return this._zoomInButton=this._createButton(t.zoomInText,t.zoomInTitle,i+"-in",r,this._zoomIn),this._zoomOutButton=this._createButton(t.zoomOutText,t.zoomOutTitle,i+"-out",r,this._zoomOut),this._updateDisabled(),n.on("zoomend zoomlevelschange",this._updateDisabled,this),r},onRemove:function(n){n.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(n){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(n.shiftKey?3:1))},_createButton:function(n,t,i,r,f){return i=s("a",i,r),i.innerHTML=n,i.href="#",i.title=t,i.setAttribute("role","button"),i.setAttribute("aria-label",t),vr(i),u(i,"click",li),u(i,"click",f,this),u(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var n=this._map,t="leaflet-disabled";k(this._zoomInButton,t);k(this._zoomOutButton,t);this._zoomInButton.setAttribute("aria-disabled","false");this._zoomOutButton.setAttribute("aria-disabled","false");!this._disabled&&n._zoom!==n.getMinZoom()||(f(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true"));!this._disabled&&n._zoom!==n.getMaxZoom()||(f(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}}),ys=(e.mergeOptions({zoomControl:!0}),e.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ye,this.addControl(this.zoomControl))}),at.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(n){var t="leaflet-control-scale",i=s("div",t),r=this.options;return this._addScales(r,t+"-line",i),n.on(r.updateWhenIdle?"moveend":"move",this._update,this),n.whenReady(this._update,this),i},onRemove:function(n){n.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(n,t,i){n.metric&&(this._mScale=s("div",t,i));n.imperial&&(this._iScale=s("div",t,i))},_update:function(){var n=this._map,t=n.getSize().y/2,n=n.distance(n.containerPointToLatLng([0,t]),n.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(n){this.options.metric&&n&&this._updateMetric(n);this.options.imperial&&n&&this._updateImperial(n)},_updateMetric:function(n){var t=this._getRoundNum(n);this._updateScale(this._mScale,t<1e3?t+" m":t/1e3+" km",t/n)},_updateImperial:function(n){var i,t,n=3.2808399*n;5280'+(t.inlineSvg?'