PageSourceSearch

https://exod.com/assets/ProjectsMapCanvas-DyFgMHSM.js

js exod.com collected 2026-10-02 00:16:15 UTC 230,373 bytes, 7 lines download raw bytes

1import{r as E,ab as ri,ay as rr,az as sr,j as G,$ as ar}from"./index-C86MYRw2.js";function Cn(h,d){const a=E.useRef(d);E.useEffect(function(){d!==a.current&&h.attributionControl!=null&&(a.current!=null&&h.attributionControl.removeAttribution(a.current),d!=null&&h.attributionControl.addAttribution(d)),a.current=d},[h,d])}const lr=1;function ur(h){return Object.freeze({__version:lr,map:h})}function cr(h,d){return Object.freeze({...h,...d})}const Sn=E.createContext(null),On=Sn.Provider;function li(){const h=E.useContext(Sn);if(h==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return h}function dr(h){function d(a,p){const{instance:m,context:x}=h(a).current;return E.useImperativeHandle(p,()=>m),a.children==null?null:ri.createElement(On,{value:x},a.children)}return E.forwardRef(d)}function hr(h){function d(a,p){const[m,x]=E.useState(!1),{instance:_}=h(a,x).current;E.useImperativeHandle(p,()=>_),E.useEffect(function(){m&&_.update()},[_,m,a.children]);const V=_._contentNode;return V?rr.createPortal(a.children,V):null}return E.forwardRef(d)}function pr(h){function d(a,p){const{instance:m}=h(a).current;return E.useImperativeHandle(p,()=>m),null}return E.forwardRef(d)}function En(h,d){const a=E.useRef();E.useEffect(function(){return d!=null&&h.instance.on(d),a.current=d,function(){a.current!=null&&h.instance.off(a.current),a.current=null}},[h,d])}function ui(h,d){const a=h.pane??d.pane;return a?{...h,pane:a}:h}function mr(h,d){return function(p,m){const x=li(),_=h(ui(p,x),x);return Cn(x.map,p.attribution),En(_.current,p.eventHandlers),d(_.current,x,p,m),_}}var si={exports:{}};/* @preserve
2 * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
3 * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
4 */(function(h,d){(function(a,p){p(d)})(sr,function(a){var p="1.9.4";function m(e){var t,i,n,o;for(i=1,n=arguments.length;i<n;i++){o=arguments[i];for(t in o)e[t]=o[t]}return e}var x=Object.create||function(){function e(){}return function(t){return e.prototype=t,new e}}();function _(e,t){var i=Array.prototype.slice;if(e.bind)return e.bind.apply(e,i.call(arguments,1));var n=i.call(arguments,2);return function(){return e.apply(t,n.length?n.concat(i.call(arguments)):arguments)}}var V=0;function P(e){return"_leaflet_id"in e||(e._leaflet_id=++V),e._leaflet_id}function se(e,t,i){var n,o,r,s;return s=function(){n=!1,o&&(r.apply(i,o),o=!1)},r=function(){n?o=arguments:(e.apply(i,arguments),setTimeout(s,t),n=!0)},r}function ae(e,t,i){var n=t[1],o=t[0],r=n-o;return e===n&&i?e:((e-o)%r+r)%r+o}function j(){return!1}function $(e,t){if(t===!1)return e;var i=Math.pow(10,t===void 0?6:t);return Math.round(e*i)/i}function H(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function he(e){return H(e).split(/\s+/)}function A(e,t){Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?x(e.options):{});for(var i in t)e.options[i]=t[i];return e.options}function Qe(e,t,i){var n=[];for(var o in e)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(e[o]));return(!t||t.indexOf("?")===-1?"?":"&")+n.join("&")}var et=/\{ *([\w_ -]+) *\}/g;function xe(e,t){return e.replace(et,function(i,n){var o=t[n];if(o===void 0)throw new Error("No value provided for variable "+i);return typeof o=="function"&&(o=o(t)),o})}var ne=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function wt(e,t){for(var i=0;i<e.length;i++)if(e[i]===t)return i;return-1}var tt="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function xt(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var hi=0;function pi(e){var t=+new Date,i=Math.max(0,16-(t-hi));return hi=t+i,window.setTimeout(e,i)}var Lt=window.requestAnimationFrame||xt("RequestAnimationFrame")||pi,mi=window.cancelAnimationFrame||xt("CancelAnimationFrame")||xt("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function U(e,t,i){if(i&&Lt===pi)e.call(t);else return Lt.call(window,_(e,t))}function Q(e){e&&mi.call(window,e)}var An={__proto__:null,extend:m,create:x,bind:_,get lastId(){return V},stamp:P,throttle:se,wrapNum:ae,falseFn:j,formatNum:$,trim:H,splitWords:he,setOptions:A,getParamString:Qe,template:xe,isArray:ne,indexOf:wt,emptyImageUrl:tt,requestFn:Lt,cancelFn:mi,requestAnimFrame:U,cancelAnimFrame:Q};function pe(){}pe.extend=function(e){var t=function(){A(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=t.__super__=this.prototype,n=x(i);n.constructor=t,t.prototype=n;for(var o in this)Object.prototype.hasOwnProperty.call(this,o)&&o!=="prototype"&&o!=="__super__"&&(t[o]=this[o]);return e.statics&&m(t,e.statics),e.includes&&(kn(e.includes),m.apply(null,[n].concat(e.includes))),m(n,e),delete n.statics,delete n.includes,n.options&&(n.options=i.options?x(i.options):{},m(n.options,e.options)),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var r=0,s=n._initHooks.length;r<s;r++)n._initHooks[r].call(this)}},t},pe.include=function(e){var t=this.prototype.options;return m(this.prototype,e),e.options&&(this.prototype.options=t,this.mergeOptions(e.options)),this},pe.mergeOptions=function(e){return m(this.prototype.options,e),this},pe.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1
4),i=typeof e=="function"?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};function kn(e){if(!(typeof L>"u"||!L||!L.Mixin)){e=ne(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var Y={on:function(e,t,i){if(typeof e=="object")for(var n in e)this._on(n,e[n],t);else{e=he(e);for(var o=0,r=e.length;o<r;o++)this._on(e[o],t,i)}return this},off:function(e,t,i){if(!arguments.length)delete this._events;else if(typeof e=="object")for(var n in e)this._off(n,e[n],t);else{e=he(e);for(var o=arguments.length===1,r=0,s=e.length;r<s;r++)o?this._off(e[r]):this._off(e[r],t,i)}return this},_on:function(e,t,i,n){if(typeof t!="function"){console.warn("wrong listener type: "+typeof t);return}if(this._listens(e,t,i)===!1){i===this&&(i=void 0);var o={fn:t,ctx:i};n&&(o.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(o)}},_off:function(e,t,i){var n,o,r;if(this._events&&(n=this._events[e],!!n)){if(arguments.length===1){if(this._firingCount)for(o=0,r=n.length;o<r;o++)n[o].fn=j;delete this._events[e];return}if(typeof t!="function"){console.warn("wrong listener type: "+typeof t);return}var s=this._listens(e,t,i);if(s!==!1){var l=n[s];this._firingCount&&(l.fn=j,this._events[e]=n=n.slice()),n.splice(s,1)}}},fire:function(e,t,i){if(!this.listens(e,i))return this;var n=m({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var o=this._events[e];if(o){this._firingCount=this._firingCount+1||1;for(var r=0,s=o.length;r<s;r++){var l=o[r],u=l.fn;l.once&&this.off(e,u,l.ctx),u.call(l.ctx||this,n)}this._firingCount--}}return i&&this._propagateEvent(n),this},listens:function(e,t,i,n){typeof e!="string"&&console.warn('"string" type argument expected');var o=t;typeof t!="function"&&(n=!!t,o=void 0,i=void 0);var r=this._events&&this._events[e];if(r&&r.length&&this._listens(e,o,i)!==!1)return!0;if(n){for(var s in this._eventParents)if(this._eventParents[s].listens(e,t,i,n))return!0}return!1},_listens:function(e,t,i){if(!this._events)return!1;var n=this._events[e]||[];if(!t)return!!n.length;i===this&&(i=void 0);for(var o=0,r=n.length;o<r;o++)if(n[o].fn===t&&n[o].ctx===i)return o;return!1},once:function(e,t,i){if(typeof e=="object")for(var n in e)this._on(n,e[n],t,!0);else{e=he(e);for(var o=0,r=e.length;o<r;o++)this._on(e[o],t,i,!0)}return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[P(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[P(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,m({layer:e.target,propagatedFrom:e.target},e),!0)}};Y.addEventListener=Y.on,Y.removeEventListener=Y.clearAllEventListeners=Y.off,Y.addOneTimeEventListener=Y.once,Y.fireEvent=Y.fire,Y.hasEventListeners=Y.listens;var De=pe.extend(Y);function b(e,t,i){this.x=i?Math.round(e):e,this.y=i?Math.round(t):t}var fi=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};b.prototype={clone:function(){return new b(this.x,this.y)},add:function(e){return this.clone()._add(y(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(y(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 b(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new b(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=fi(this.x),this.y=fi(this.y),this},distanceTo:function(e){e=y(e);var t=e.x-this.x,i=e.y-this.y;return Math.sqrt(t*t+i*i)},equals:function(e){return e=y(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=y(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+$(this.x)+", "+$(this.y)+")"}};function y(e,t,i){return e instanceof b?e:ne(e)?new b(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new b(e.x,e.y):new b(e,t,i)}function I(e,t){if(e)for(var i=t?[e,t]:e,n=0,o=i.length;n<o;n++)this.extend(i[n])}I.prototype={extend:function(e){var t,i;if(!e)return this;if(e instanceof b||typeof e[0]=="number"||"x"in e)t=i=y(e);else if(e=J(e),t=e.min,i=e.max,!t||!i)return this;
4return!this.min&&!this.max?(this.min=t.clone(),this.max=i.clone()):(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(i.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(i.y,this.max.y)),this},getCenter:function(e){return y((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return y(this.min.x,this.max.y)},getTopRight:function(){return y(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,i;return typeof e[0]=="number"||e instanceof b?e=y(e):e=J(e),e instanceof I?(t=e.min,i=e.max):t=i=e,t.x>=this.min.x&&i.x<=this.max.x&&t.y>=this.min.y&&i.y<=this.max.y},intersects:function(e){e=J(e);var t=this.min,i=this.max,n=e.min,o=e.max,r=o.x>=t.x&&n.x<=i.x,s=o.y>=t.y&&n.y<=i.y;return r&&s},overlaps:function(e){e=J(e);var t=this.min,i=this.max,n=e.min,o=e.max,r=o.x>t.x&&n.x<i.x,s=o.y>t.y&&n.y<i.y;return r&&s},isValid:function(){return!!(this.min&&this.max)},pad:function(e){var t=this.min,i=this.max,n=Math.abs(t.x-i.x)*e,o=Math.abs(t.y-i.y)*e;return J(y(t.x-n,t.y-o),y(i.x+n,i.y+o))},equals:function(e){return e?(e=J(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight())):!1}};function J(e,t){return!e||e instanceof I?e:new I(e,t)}function X(e,t){if(e)for(var i=t?[e,t]:e,n=0,o=i.length;n<o;n++)this.extend(i[n])}X.prototype={extend:function(e){var t=this._southWest,i=this._northEast,n,o;if(e instanceof z)n=e,o=e;else if(e instanceof X){if(n=e._southWest,o=e._northEast,!n||!o)return this}else return e?this.extend(C(e)||D(e)):this;return!t&&!i?(this._southWest=new z(n.lat,n.lng),this._northEast=new z(o.lat,o.lng)):(t.lat=Math.min(n.lat,t.lat),t.lng=Math.min(n.lng,t.lng),i.lat=Math.max(o.lat,i.lat),i.lng=Math.max(o.lng,i.lng)),this},pad:function(e){var t=this._southWest,i=this._northEast,n=Math.abs(t.lat-i.lat)*e,o=Math.abs(t.lng-i.lng)*e;return new X(new z(t.lat-n,t.lng-o),new z(i.lat+n,i.lng+o))},getCenter:function(){return new z((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new z(this.getNorth(),this.getWest())},getSouthEast:function(){return new z(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){typeof e[0]=="number"||e instanceof z||"lat"in e?e=C(e):e=D(e);var t=this._southWest,i=this._northEast,n,o;
4return e instanceof X?(n=e.getSouthWest(),o=e.getNorthEast()):n=o=e,n.lat>=t.lat&&o.lat<=i.lat&&n.lng>=t.lng&&o.lng<=i.lng},intersects:function(e){e=D(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),o=e.getNorthEast(),r=o.lat>=t.lat&&n.lat<=i.lat,s=o.lng>=t.lng&&n.lng<=i.lng;return r&&s},overlaps:function(e){e=D(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),o=e.getNorthEast(),r=o.lat>t.lat&&n.lat<i.lat,s=o.lng>t.lng&&n.lng<i.lng;return r&&s},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return e?(e=D(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function D(e,t){return e instanceof X?e:new X(e,t)}function z(e,t,i){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,i!==void 0&&(this.alt=+i)}z.prototype={equals:function(e,t){if(!e)return!1;e=C(e);var i=Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng));return i<=(t===void 0?1e-9:t)},toString:function(e){return"LatLng("+$(this.lat,e)+", "+$(this.lng,e)+")"},distanceTo:function(e){return ye.distance(this,C(e))},wrap:function(){return ye.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,i=t/Math.cos(Math.PI/180*this.lat);return D([this.lat-t,this.lng-i],[this.lat+t,this.lng+i])},clone:function(){return new z(this.lat,this.lng,this.alt)}};function C(e,t,i){return e instanceof z?e:ne(e)&&typeof e[0]!="object"?e.length===3?new z(e[0],e[1],e[2]):e.length===2?new z(e[0],e[1]):null:e==null?e:typeof e=="object"&&"lat"in e?new z(e.lat,"lng"in e?e.lng:e.lon,e.alt):t===void 0?null:new z(e,t,i)}var me={latLngToPoint:function(e,t){var i=this.projection.project(e),n=this.scale(t);return this.transformation._transform(i,n)},pointToLatLng:function(e,t){var i=this.scale(t),n=this.transformation.untransform(e,i);return this.projection.unproject(n)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,i=this.scale(e),n=this.transformation.transform(t.min,i),o=this.transformation.transform(t.max,i);return new I(n,o)},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?ae(e.lng,this.wrapLng,!0):e.lng,i=this.wrapLat?ae(e.lat,this.wrapLat,!0):e.lat,n=e.alt;return new z(i,t,n)},wrapLatLngBounds:function(e){var t=e.getCenter(),i=this.wrapLatLng(t),n=t.lat-i.lat,o=t.lng-i.lng;if(n===0&&o===0)return e;
4var r=e.getSouthWest(),s=e.getNorthEast(),l=new z(r.lat-n,r.lng-o),u=new z(s.lat-n,s.lng-o);return new X(l,u)}},ye=m({},me,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var i=Math.PI/180,n=e.lat*i,o=t.lat*i,r=Math.sin((t.lat-e.lat)*i/2),s=Math.sin((t.lng-e.lng)*i/2),l=r*r+Math.cos(n)*Math.cos(o)*s*s,u=2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l));return this.R*u}}),_i=6378137,Pt={R:_i,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,e.lat),-i),o=Math.sin(n*t);return new b(this.R*e.lng*t,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(e){var t=180/Math.PI;return new z((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:function(){var e=_i*Math.PI;return new I([-e,-e],[e,e])}()};function Mt(e,t,i,n){if(ne(e)){this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3];return}this._a=e,this._b=t,this._c=i,this._d=n}Mt.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t=t||1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new b((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};function Ne(e,t,i,n){return new Mt(e,t,i,n)}var Tt=m({},ye,{code:"EPSG:3857",projection:Pt,transformation:function(){var e=.5/(Math.PI*Pt.R);return Ne(e,.5,-e,.5)}()}),jn=m({},Tt,{code:"EPSG:900913"});function gi(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function vi(e,t){var i="",n,o,r,s,l,u;for(n=0,r=e.length;n<r;n++){for(l=e[n],o=0,s=l.length;o<s;o++)u=l[o],i+=(o?"L":"M")+u.x+" "+u.y;i+=t?g.svg?"z":"x":""}return i||"M0 0"}var Ct=document.documentElement.style,it="ActiveXObject"in window,In=it&&!document.addEventListener,yi="msLaunchUri"in navigator&&!("documentMode"in document),St=le("webkit"),bi=le("android"),wi=le("android 2")||le("android 3"),Bn=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Zn=bi&&le("Google")&&Bn<537&&!("AudioNode"in window),Ot=!!window.opera,xi=!yi&&le("chrome"),Li=le("gecko")&&!St&&!Ot&&!it,Dn=!xi&&le("safari"),Pi=le("phantom"),Mi="OTransition"in Ct,Nn=navigator.platform.indexOf("Win")===0,Ti=it&&"transition"in Ct,Et="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!wi,Ci="MozPerspective"in Ct,Rn=!window.L_DISABLE_3D&&(Ti||Et||Ci)&&!Mi&&!Pi,Re=typeof orientation<"u"||le("mobile"),qn=Re&&St,Fn=Re&&Et,Si=!window.PointerEvent&&window.MSPointerEvent,Oi=!!(window.PointerEvent||Si),Ei="ontouchstart"in window||!!window.TouchEvent,Vn=!window.L_NO_TOUCH&&(Ei||Oi),Hn=Re&&Ot,Wn=Re&&Li,Gn=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Un=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",j,t),window.removeEventListener("testPassiveEventSupport",j,t)}catch{}return e}(),Jn=function(){return!!document.createElement("canvas").getContext}(),zt=!!(document.createElementNS&&gi("svg").createSVGRect),Xn=!!zt&&function(){var e=document.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Kn=!zt&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&typeof t.adj=="object"}catch{return!1}}(),Yn=navigator.platform.indexOf("Mac")===0,$n=navigator.platform.indexOf("Linux")===0;function le(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var g={ie:it,ielt9:In,edge:yi,webkit:St,android:bi,android23:wi,androidStock:Zn,opera:Ot,chrome:xi,gecko:Li,safari:Dn,phantom:Pi,opera12:Mi,win:Nn,ie3d:Ti,webkit3d:Et,gecko3d:Ci,any3d:Rn,mobile:Re,mobileWebkit:qn,mobileWebkit3d:Fn,msPointer:Si,pointer:Oi,touch:Vn,touchNative:Ei,mobileOpera:Hn,mobileGecko:Wn,retina:Gn,passiveEvents:Un,canvas:Jn,svg:zt,vml:Kn,inlineSvg:Xn,mac:Yn,linux:$n},zi=g.msPointer?"MSPointerDown":"pointerdown",Ai=g.msPointer?"MSPointerMove":"pointermove",ki=g.msPointer?"MSPointerUp":"pointerup",ji=g.msPointer?"MSPointerCancel":"pointercancel",At={touchstart:zi,touchmove:Ai,touchend:ki,touchcancel:ji},Ii={touchstart:oo,touchmove:nt,touchend:nt,touchcancel:nt},Se={},Bi=!1;function Qn(e,t,i){return t==="touchstart"&&no(),Ii[t]?(i=Ii[t].bind(this,i),e.addEventListener(At[t],i,!1),i):(console.warn("wrong event specified:",t),j)}function eo(e,t,i){if(!At[t]){console.warn("wrong event specified:",t);return}e.removeEventListener(At[t],i,!1)}function to(e){Se[e.pointerId]=e}function io(e){Se[e.pointerId]&&(Se[e.pointerId]=e)}function Zi(e){delete Se[e.pointerId]}function no(){Bi||(document.addEventListener(zi,to,!0),document.addEventListener(Ai,io,!0),document.addEventListener(ki,Zi,!0),document.addEventListener(ji,Zi,!0),Bi=!0)}function nt(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){t.touches=[];for(var i in Se)t.touches.push(Se[i]);t.changedTouches=[t],e(t)}}function oo(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&F(t),nt(e,t)}function ro(e){var t={},i,n;for(n in e)i=e[n],t[n]=i&&i.bind?i.bind(e):i;return e=t,t.type="dblclick",t.detail=2,t.isTrusted=!1,t._simulated=!0,t}var so=200;function ao(e,t){e.addEventListener("dblclick",t);var i=0,n;function o(r){if(r.detail!==1){n=r.detail;return}if(!(r.pointerType==="mouse"||r.sourceCapabilities&&!r.sourceCapabilities.firesTouchEvents)){var s=Fi(r);if(!(s.some(function(u){return u instanceof HTMLLabelElement&&u.attributes.for})&&!s.some(function(u){return u instanceof HTMLInputElement||u instanceof HTMLSelectElement}))){var l=Date.now();l-i<=so?(n++,n===2&&t(ro(r))):n=1,i=l}}}return e.addEventListener("click",o),{dblclick:t,simDblclick:o}}function lo(e,t){e.removeEventListener("dblclick",t.dblclick),e.removeEventListener("click",t.simDblclick)}var kt=st(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),qe=st(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Di=qe==="webkitTransition"||qe==="OTransition"?qe+"End":"transitionend";function Ni(e){return typeof e=="string"?document.getElementById(e):e}function Fe(e,t){var i=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!i||i==="auto")&&document.defaultView){var n=document.defaultView.getComputedStyle(e,null);i=n?n[t]:null}return i==="auto"?null:i}function O(e,t,i){var n=document.createElement(e);return n.className=t||"",i&&i.appendChild(n),n}function B(e){var t=e.parentNode;t&&t.removeChild(e)}function ot(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Oe(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function Ee(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function jt(e,t){if(e.classList!==void 0)return e.classList.contains(t);var i=rt(e);return i.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(i)}function M(e,t){if(e.classList!==void 0)for(var i=he(t),n=0,o=i.length;n<o;n++)e.classList.add(i[n]);else if(!jt(e,t)){var r=rt(e);It(e,(r?r+" ":"")+t)}}function Z(e,t){e.classList!==void 0?e.classList.remove(t):It(e,H((" "+rt(e)+" ").replace(" "+t+" "," ")))}function It(e,t){e.className.baseVal===void 0?e.className=t:e.className.baseVal=t}function rt(e){return e.correspondingElement&&(e=e.correspondingElement),e.className.baseVal===void 0?e.className:e.className.baseVal}function ee(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&uo(e,t)}function uo(e,t){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=e.filters.item(n)}catch{if(t===1)return}t=Math.round(t*100),i?(i.Enabled=t!==100,i.Opacity=t):e.style.filter+=" progid:"+n+"(opacity="+t+")"}function st(e){for(var t=document.documentElement.style,i=0;i<e.length;i++)if(e[i]in t)return e[i];return!1}function Le(e,t,i){var n=t||new b(0,0);e.style[kt]=(g.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function N(e,t){e._leaflet_pos=t,g.any3d?Le(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function Pe(e){return e._leaflet_pos||new b(0,0)}var Ve,He,Bt;if("onselectstart"in document)Ve=function(){w(window,"selectstart",F)},He=function(){k(window,"selectstart",F)};else{var We=st(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Ve=function(){if(We){var e=document.documentElement.style;Bt=e[We],e[We]="none"}},He=function(){We&&(document.documentElement.style[We]=Bt,Bt=void 0)}}function Zt(){w(window,"dragstart",F)}function Dt(){k(window,"dragstart",F)}var at,Nt;function Rt(e){for(;e.tabIndex===-1;)e=e.parentNode;e.style&&(lt(),at=e,Nt=e.style.outlineStyle,e.style.outlineStyle="none",w(window,"keydown",lt))}function lt(){at&&(at.style.outlineStyle=Nt,at=void 0,Nt=void 0,k(window,"keydown",lt))}function Ri(e){do e=e.parentNode;while((!e.offsetWidth||!e.offsetHeight)&&e!==document.body);return e}function qt(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var co={__proto__:null,TRANSFORM:kt,TRANSITION:qe,TRANSITION_END:Di,get:Ni,getStyle:Fe,create:O,remove:B,empty:ot,toFront:Oe,toBack:Ee,hasClass:jt,addClass:M,removeClass:Z,setClass:It,getClass:rt,setOpacity:ee,testProp:st,setTransform:Le,setPosition:N,getPosition:Pe,get disableTextSelection(){return Ve},get enableTextSelection(){return He},disableImageDrag:Zt,enableImageDrag:Dt,preventOutline:Rt,restoreOutline:lt,getSizedParentNode:Ri,getScale:qt};function w(e,t,i,n){if(t&&typeof t=="object")for(var o in t)Vt(e,o,t[o],i);else{t=he(t);for(var r=0,s=t.length;r<s;r++)Vt(e,t[r],i,n)}return this}var ue="_leaflet_events";function k(e,t,i,n){if(arguments.length===1)qi(e),delete e[ue];else if(t&&typeof t=="object")for(var o in t)Ht(e,o,t[o],i);else if(t=he(t),arguments.length===2)qi(e,function(l){return wt(t,l)!==-1});else for(var r=0,s=t.length;r<s;r++)Ht(e,t[r],i,n);return this}function qi(e,t){for(var i in e[ue]){var n=i.split(/\d/)[0];(!t||t(n))&&Ht(e,n,null,null,i)}}
4var Ft={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Vt(e,t,i,n){var o=t+P(i)+(n?"_"+P(n):"");if(e[ue]&&e[ue][o])return this;var r=function(l){return i.call(n||e,l||window.event)},s=r;!g.touchNative&&g.pointer&&t.indexOf("touch")===0?r=Qn(e,t,r):g.touch&&t==="dblclick"?r=ao(e,r):"addEventListener"in e?t==="touchstart"||t==="touchmove"||t==="wheel"||t==="mousewheel"?e.addEventListener(Ft[t]||t,r,g.passiveEvents?{passive:!1}:!1):t==="mouseenter"||t==="mouseleave"?(r=function(l){l=l||window.event,Gt(e,l)&&s(l)},e.addEventListener(Ft[t],r,!1)):e.addEventListener(t,s,!1):e.attachEvent("on"+t,r),e[ue]=e[ue]||{},e[ue][o]=r}function Ht(e,t,i,n,o){o=o||t+P(i)+(n?"_"+P(n):"");var r=e[ue]&&e[ue][o];if(!r)return this;!g.touchNative&&g.pointer&&t.indexOf("touch")===0?eo(e,t,r):g.touch&&t==="dblclick"?lo(e,r):"removeEventListener"in e?e.removeEventListener(Ft[t]||t,r,!1):e.detachEvent("on"+t,r),e[ue][o]=null}function Me(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function Wt(e){return Vt(e,"wheel",Me),this}function Ge(e){return w(e,"mousedown touchstart dblclick contextmenu",Me),e._leaflet_disable_click=!0,this}function F(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function Te(e){return F(e),Me(e),this}function Fi(e){if(e.composedPath)return e.composedPath();for(var t=[],i=e.target;i;)t.push(i),i=i.parentNode;return t}function Vi(e,t){if(!t)return new b(e.clientX,e.clientY);var i=qt(t),n=i.boundingClientRect;return new b((e.clientX-n.left)/i.x-t.clientLeft,(e.clientY-n.top)/i.y-t.clientTop)}var ho=g.linux&&g.chrome?window.devicePixelRatio:g.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Hi(e){return g.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/ho: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 Gt(e,t){var i=t.relatedTarget;if(!i)return!0;try{for(;i&&i!==e;)i=i.parentNode}catch{return!1}return i!==e}var po={__proto__:null,on:w,off:k,stopPropagation:Me,disableScrollPropagation:Wt,disableClickPropagation:Ge,preventDefault:F,stop:Te,getPropagationPath:Fi,getMousePosition:Vi,getWheelDelta:Hi,isExternalTarget:Gt,addListener:w,removeListener:k},Wi=De.extend({run:function(e,t,i,n){this.stop(),this._el=e,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Pe(e),this._offset=t.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=U(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,i=this._duration*1e3;t<i?this._runFrame(this._easeOut(t/i),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var i=this._startPos.add(this._offset.multiplyBy(e));t&&i._round(),N(this._el,i),this.fire("step")},_complete:function(){Q(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),S=De.extend({options:{crs:Tt,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=A(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=_(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),t.zoom!==void 0&&(this._zoom=this._limitZoom(t.zoom)),t.center&&t.zoom!==void 0&&this.setView(C(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=qe&&g.any3d&&!g.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),w(this._proxy,Di,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
4,setView:function(e,t,i){if(t=t===void 0?this._zoom:this._limitZoom(t),e=this._limitCenter(C(e),t,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&i!==!0){i.animate!==void 0&&(i.zoom=m({animate:i.animate},i.zoom),i.pan=m({animate:i.animate,duration:i.duration},i.pan));var n=this._zoom!==t?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,i.zoom):this._tryAnimatedPan(e,i.pan);if(n)return clearTimeout(this._sizeTimer),this}return this._resetView(e,t,i.pan&&i.pan.noMoveStart),this},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(g.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(g.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,i){var n=this.getZoomScale(t),o=this.getSize().divideBy(2),r=e instanceof b?e:this.latLngToContainerPoint(e),s=r.subtract(o).multiplyBy(1-1/n),l=this.containerPointToLatLng(o.add(s));return this.setView(l,t,{zoom:i})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():D(e);var i=y(t.paddingTopLeft||t.padding||[0,0]),n=y(t.paddingBottomRight||t.padding||[0,0]),o=this.getBoundsZoom(e,!1,i.add(n));if(o=typeof t.maxZoom=="number"?Math.min(t.maxZoom,o):o,o===1/0)return{center:e.getCenter(),zoom:o};
4var r=n.subtract(i).divideBy(2),s=this.project(e.getSouthWest(),o),l=this.project(e.getNorthEast(),o),u=this.unproject(s.add(l).divideBy(2).add(r),o);return{center:u,zoom:o}},fitBounds:function(e,t){if(e=D(e),!e.isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(e,t);return this.setView(i.center,i.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(e=y(e).round(),t=t||{},!e.x&&!e.y)return this.fire("moveend");if(t.animate!==!0&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Wi,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),t.animate!==!1){M(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,i,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,i){if(i=i||{},i.animate===!1||!g.any3d)return this.setView(e,t,i);this._stop();var n=this.project(this.getCenter()),o=this.project(e),r=this.getSize(),s=this._zoom;e=C(e),t=t===void 0?s:t;var l=Math.max(r.x,r.y),u=l*this.getZoomScale(s,t),c=o.distanceTo(n)||1,f=1.42,v=f*f;function T(R){var bt=R?-1:1,tr=R?u:l,ir=u*u-l*l+bt*v*v*c*c,nr=2*tr*v*c,ni=ir/nr,Tn=Math.sqrt(ni*ni+1)-ni,or=Tn<1e-9?-18:Math.log(Tn);return or}function W(R){return(Math.exp(R)-Math.exp(-R))/2}function q(R){return(Math.exp(R)+Math.exp(-R))/2}function ie(R){return W(R)/q(R)}var K=T(0);function Be(R){return l*(q(K)/q(K+f*R))}function Yo(R){return l*(q(K)*ie(K+f*R)-W(K))/v}function $o(R){return 1-Math.pow(1-R,1.5)}var Qo=Date.now(),Pn=(T(1)-K)/f,er=i.duration?1e3*i.duration:1e3*Pn*.8;function Mn(){var R=(Date.now()-Qo)/er,bt=$o(R)*Pn;R<=1?(this._flyToFrame=U(Mn,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(Yo(bt)/c)),s),this.getScaleZoom(l/Be(bt),s),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}return this._moveStart(!0,i.noMoveStart),Mn.call(this),this},flyToBounds:function(e,t){var i=this._getBoundsCenterZoom(e,t);return this.flyTo(i.center,i.zoom,t)},setMaxBounds:function(e){return e=D(e),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,D(e));return i.equals(n)||this.panTo(n,t),this._enforcingBounds=!1,this},panInside:function(e,t){t=t||{};var i=y(t.paddingTopLeft||t.padding||[0,0]),n=y(t.paddingBottomRight||t.padding||[0,0]),o=this.project(this.getCenter()),r=this.project(e),s=this.getPixelBounds(),l=J([s.min.add(i),s.max.subtract(n)]),u=l.getSize();if(!l.contains(r)){this._enforcingBounds=!0;var c=r.subtract(l.getCenter()),f=l.extend(r).getSize().subtract(u);o.x+=c.x<0?-f.x:f.x,o.y+=c.y<0?-f.y:f.y,this.panTo(this.unproject(o),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=m({animate:!1,pan:!0},e===!0?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),n=t.divideBy(2).round(),o=i.divideBy(2).round(),r=n.subtract(o);return!r.x&&!r.y?this:(e.animate&&e.pan?this.panBy(r):(e.pan&&this._rawPanBy(r),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(_(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:i}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=m({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=_(this._handleGeolocationResponse,this),i=_(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,i,e):navigator.geolocation.getCurrentPosition(t,i,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 t=e.code,i=e.message||(t===1?"permission denied":t===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=e.coords.latitude,i=e.coords.longitude,n=new z(t,i),o=n.toBounds(e.coords.accuracy*2),r=this._locateOptions;if(r.setView){var s=this.getBoundsZoom(o);this.setView(n,r.maxZoom?Math.min(s,r.maxZoom):s)}var l={latlng:n,bounds:o,timestamp:e.timestamp};for(var u in e.coords)typeof e.coords[u]=="number"&&(l[u]=e.coords[u]);this.fire("locationfound",l)}},addHandler:function(e,t){if(!t)return this;var i=this[e]=new t(this);return this._handlers.push(i),this.options[e]&&i.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(),B(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Q(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;
4for(e in this._layers)this._layers[e].remove();for(e in this._panes)B(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var i="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),n=O("div",i,t||this._mapPane);return e&&(this._panes[e]=n),n},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(),t=this.unproject(e.getBottomLeft()),i=this.unproject(e.getTopRight());return new X(t,i)},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,t,i){e=D(e),i=y(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=e.getNorthWest(),l=e.getSouthEast(),u=this.getSize().subtract(i),c=J(this.project(l,n),this.project(s,n)).getSize(),f=g.any3d?this.options.zoomSnap:1,v=u.x/c.x,T=u.y/c.y,W=t?Math.max(v,T):Math.min(v,T);return n=this.getScaleZoom(W,n),f&&(n=Math.round(n/(f/100))*(f/100),n=t?Math.ceil(n/f)*f:Math.floor(n/f)*f),Math.max(o,Math.min(r,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new b(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var i=this._getTopLeftPoint(e,t);return new I(i,i.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,t){var i=this.options.crs;return t=t===void 0?this._zoom:t,i.scale(e)/i.scale(t)},getScaleZoom:function(e,t){var i=this.options.crs;t=t===void 0?this._zoom:t;var n=i.zoom(e*i.scale(t));return isNaN(n)?1/0:n},project:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.latLngToPoint(C(e),t)},unproject:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.pointToLatLng(y(e),t)},layerPointToLatLng:function(e){var t=y(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){var t=this.project(C(e))._round();return t._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(C(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(D(e))},distance:function(e,t){return this.options.crs.distance(C(e),C(t))},containerPointToLayerPoint:function(e){return y(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return y(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(y(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(C(e)))},mouseEventToContainerPoint:function(e){return Vi(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 t=this._container=Ni(e);if(t){if(t._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");w(t,"scroll",this._onScroll,this),this._containerId=P(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&g.any3d,M(e,"leaflet-container"+(g.touch?" leaflet-touch":"")+(g.retina?" leaflet-retina":"")+(g.ielt9?" leaflet-oldie":"")+(g.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=Fe(e,"position");t!=="absolute"&&t!=="relative"&&t!=="fixed"&&t!=="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),N(this._mapPane,new b(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(M(e.markerPane,"leaflet-zoom-hide"),M(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,i){N(this._mapPane,new b(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var o=this._zoom!==t;this._moveStart(o,i)._move(e,t)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,i,n){t===void 0&&(t=this._zoom);var o=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Q(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){N(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[P(this._container)]=this;var t=e?k:w;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),g.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Q(this._resizeRequest),this._resizeRequest=U(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,t){for(var i=[],n,o=t==="mouseout"||t==="mouseover",r=e.target||e.srcElement,s=!1;r;){if(n=this._targets[P(r)],n&&(t==="click"||t==="preclick")&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(t,!0)&&(o&&!Gt(r,e)||(i.push(n),o))||r===this._container)break;r=r.parentNode}return!i.length&&!s&&!o&&this.listens(t,!0)&&(i=[this]),i},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||e.type==="click"&&this._isCl
4ickDisabled(t))){var i=e.type;i==="mousedown"&&Rt(t),this._fireDOMEvent(e,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,i){if(e.type==="click"){var n=m({},e);n.type="preclick",this._fireDOMEvent(n,n.type,i)}var o=this._findEventTargets(e,t);if(i){for(var r=[],s=0;s<i.length;s++)i[s].listens(t,!0)&&r.push(i[s]);o=r.concat(o)}if(o.length){t==="contextmenu"&&F(e);var l=o[0],u={originalEvent:e};if(e.type!=="keypress"&&e.type!=="keydown"&&e.type!=="keyup"){var c=l.getLatLng&&(!l._radius||l._radius<=10);u.containerPoint=c?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(e),u.layerPoint=this.containerPointToLayerPoint(u.containerPoint),u.latlng=c?l.getLatLng():this.layerPointToLatLng(u.layerPoint)}for(s=0;s<o.length;s++)if(o[s].fire(t,u,!0),u.originalEvent._stopped||o[s].options.bubblingMouseEvents===!1&&wt(this._mouseEvents,t)!==-1)return}},_draggableMoved:function(e){return e=e.dragging&&e.dragging.enabled()?e:this,e.dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return Pe(this._mapPane)||new b(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){var i=e&&t!==void 0?this._getNewPixelOrigin(e,t):this.getPixelOrigin();return i.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var i=this.getSize()._divideBy(2);return this.project(e,t)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,i){var n=this._getNewPixelOrigin(i,t);return this.project(e,t)._subtract(n)},_latLngBoundsToNewLayerBounds:function(e,t,i){var n=this._getNewPixelOrigin(i,t);
4return J([this.project(e.getSouthWest(),t)._subtract(n),this.project(e.getNorthWest(),t)._subtract(n),this.project(e.getSouthEast(),t)._subtract(n),this.project(e.getNorthEast(),t)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,i){if(!i)return e;var n=this.project(e,t),o=this.getSize().divideBy(2),r=new I(n.subtract(o),n.add(o)),s=this._getBoundsOffset(r,i,t);return Math.abs(s.x)<=1&&Math.abs(s.y)<=1?e:this.unproject(n.add(s),t)},_limitOffset:function(e,t){if(!t)return e;var i=this.getPixelBounds(),n=new I(i.min.add(e),i.max.add(e));return e.add(this._getBoundsOffset(n,t))},_getBoundsOffset:function(e,t,i){var n=J(this.project(t.getNorthEast(),i),this.project(t.getSouthWest(),i)),o=n.min.subtract(e.min),r=n.max.subtract(e.max),s=this._rebound(o.x,-r.x),l=this._rebound(o.y,-r.y);return new b(s,l)},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),i=this.getMaxZoom(),n=g.any3d?this.options.zoomSnap:1;return n&&(e=Math.round(e/n)*n),Math.max(t,Math.min(i,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Z(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var i=this._getCenterOffset(e)._trunc();return(t&&t.animate)!==!0&&!this.getSize().contains(i)?!1:(this.panBy(i,t),!0)},_createAnimProxy:function(){var e=this._proxy=O("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(t){var i=kt,n=this._proxy.style[i];Le(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){B(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();Le(this._proxy,this.project(e,t),this.getZoomScale(t,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,t,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||i.animate===!1||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/n);return i.animate!==!0&&!this.getSize().contains(o)?!1:(U(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,M(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(_(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Z(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 mo(e,t){return new S(e,t)}var oe=pe.extend({options:{position:"topright"},initialize:function(e){A(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),i=this.getPosition(),n=e._controlCorners[i];return M(t,"leaflet-control"),i.indexOf("bottom")!==-1?n.insertBefore(t,n.firstChild):n.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(B(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()}}),Ue=function(e){return new oe(e)};S.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this}
vendor: 4,454 bytes, line 4
4,_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",i=this._controlContainer=O("div",t+"control-container",this._container);function n(o,r){var s=t+o+" "+t+r;e[o+r]=O("div",s,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)B(this._controlCorners[e]);B(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Gi=oe.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,i,n){return i<n?-1:n<i?1:0}},initialize:function(e,t,i){A(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var n in e)this._addLayer(e[n],n);for(n in t)this._addLayer(t[n],n,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return oe.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(P(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){M(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(M(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):Z(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return Z(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=O("div",e),i=this.options.collapsed;t.setAttribute("aria-haspopup",!0),Ge(t),Wt(t);var n=this._section=O("section",e+"-list");i&&(this._map.on("click",this.collapse,this),w(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var o=this._layersLink=O("a",e+"-toggle",t);o.href="#",o.title="Layers",o.setAttribute("role","button"),w(o,{keydown:function(r){r.keyCode===13&&this._expandSafely()},click:function(r){F(r),this._expandSafely()}},this),i||this.expand(),this._baseLayersList=O("div",e+"-base",n),this._separator=O("div",e+"-separator",n),this._overlaysList=O("div",e+"-overlays",n),t.appendChild(n)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&P(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,i){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:i}),this.options.sortLayers&&this._layers.sort(_(function(n,o){return this.options.sortFunction(n.layer,o.layer,n.name,o.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ot(this._baseLayersList),ot(this._overlaysList),this._layerControlInputs=[];var e,t,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),t=t||n.overlay,e=e||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(e=e&&o>1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(P(e.target)),i=t.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;i&&this._map.fire(i,t)},_createRadioElement:function(e,t){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(e){var t=document.createElement("label"),i=this._map.hasLayer(e.layer),n;e.overlay?(n=document.createElement("input"),n.type="checkbox",n.className="leaflet-control-layers-selector",n.defaultChecked=i):n=this._createRadioElement("leaflet-base-layers_"+P
4(this),i),this._layerControlInputs.push(n),n.layerId=P(e.layer),w(n,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+e.name;var r=document.createElement("span");t.appendChild(r),r.appendChild(n),r.appendChild(o);var s=e.overlay?this._overlaysList:this._baseLayersList;return s.appendChild(t),this._checkDisabledLayers(),t},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,t,i,n=[],o=[];this._handlingClick=!0;for(var r=e.length-1;r>=0;r--)t=e[r],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(r=0;r<o.length;r++)this._map.hasLayer(o[r])&&this._map.removeLayer(o[r]);for(r=0;r<n.length;r++)this._map.hasLayer(n[r])||this._map.addLayer(n[r]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e=this._layerControlInputs,t,i,n=this._map.getZoom(),o=e.length-1;o>=0;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=i.options.minZoom!==void 0&&n<i.options.minZoom||i.options.maxZoom!==void 0&&n>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,w(e,"click",F),this.expand();var t=this;setTimeout(function(){k(e,"click",F),t._preventClick=!1})}}),fo=function(e,t,i){return new Gi(e,t,i)},Ut=oe.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",i=O("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",i,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),i},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._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,i,n,o){var r=O("a",i,n);return r.innerHTML=e,r.href="#",r.title=t,r.setAttribute("role","button"),r.setAttribute("aria-label",t),Ge(r),w(r,"click",Te),w(r,"click",o,this),w(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";Z(this._zoomInButton,t),Z(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(M(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(M(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});S.mergeOptions({zoomControl:!0}),S.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ut,this.addControl(this.zoomControl))});var _o=function(e){return new Ut(e)},Ui=oe.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",i=O("div",t),n=this.options;return this._addScales(n,t+"-line",i),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),i},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,i){e.metric&&(this._mScale=O("div",t,i)),e.imperial&&(this._iScale=O("div",t,i))},_update:function(){var e=this._map,t=e.getSize().y/2,i=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(i)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),i=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,i,t/e)},_updateImperial:function(e){var t=e*3.2808399,i,n,o;t>5280?(i=t/5280,n=this._getRoundNum(i),this._updateScale(this._iScale,n+" mi",n/i)):(o=this._getRoundNum(t),this._updateScale(this._iScale,o+" ft",o/t))},_updateScale:function(e,t,i){e.style.width=Math.round(this.options.maxWidth*i)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),i=e/t;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1,t*i}}),go=function(e){return new Ui(e)},vo='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',Jt=oe.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(g.inlineSvg?vo+" ":"")+"Leaflet</a>"},initialize:function(e){A(this,e),this._attributions={}}
4,onAdd:function(e){e.attributionControl=this,this._container=O("div","leaflet-control-attribution"),Ge(this._container);for(var t in e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].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 t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(' <span aria-hidden="true">|</span> ')}}});S.mergeOptions({attributionControl:!0}),S.addInitHook(function(){this.options.attributionControl&&new Jt().addTo(this)});var yo=function(e){return new Jt(e)};oe.Layers=Gi,oe.Zoom=Ut,oe.Scale=Ui,oe.Attribution=Jt,Ue.layers=fo,Ue.zoom=_o,Ue.scale=go,Ue.attribution=yo;var ce=pe.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}});ce.addTo=function(e,t){return e.addHandler(t,this),this};var bo={Events:Y},Ji=g.touch?"touchstart mousedown":"mousedown",be=De.extend({options:{clickTolerance:3},initialize:function(e,t,i,n){A(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=i},enable:function(){this._enabled||(w(this._dragStartTarget,Ji,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(be._dragging===this&&this.finishDrag(!0),k(this._dragStartTarget,Ji,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!jt(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){be._dragging===this&&this.finishDrag();return}if(!(be._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(be._dragging=this,this._preventOutline&&Rt(this._element),Zt(),Ve(),!this._moving)){this.fire("down");var t=e.touches?e.touches[0]:e,i=Ri(this._element);this._startPoint=new b(t.clientX,t.clientY),this._startPos=Pe(this._element),this._parentScale=qt(i);var n=e.type==="mousedown";w(document,n?"mousemove":"touchmove",this._onMove,this),w(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var t=e.touches&&e.touches.length===1?e.touches[0]:e,i=new b(t.clientX,t.clientY)._subtract(this._startPoint);!i.x&&!i.y||Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,F(e),this._moved||(this.fire("dragstart"),this._moved=!0,M(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),M(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,this._lastEvent=e,this._updatePosition())}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),N(this._element,this._newPos),this.fire("drag",e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){Z(document.body,"leaflet-dragging"),this._lastTarget&&(Z(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),k(document,"mousemove touchmove",this._onMove,this),k(document,"mouseup touchend touchcancel",this._onUp,this),Dt(),He();var t=this._moved&&this._moving;this._moving=!1,be._dragging=!1,t&&this.fire("dragend",{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function Xi(e,t,i){var n,o=[1,4,2,8],r,s,l,u,c,f,v,T;for(r=0,f=e.length;r<f;r++)e[r]._code=Ce(e[r],t);for(l=0;l<4;l++){for(v=o[l],n=[],r=0,f=e.length,s=f-1;r<f;s=r++)u=e[r],c=e[s],u._code&v?c._code&v||(T=ut(c,u,v,t,i),T._code=Ce(T,t),n.push(T)):(c._c
4ode&v&&(T=ut(c,u,v,t,i),T._code=Ce(T,t),n.push(T)),n.push(u));e=n}return e}function Ki(e,t){var i,n,o,r,s,l,u,c,f;if(!e||e.length===0)throw new Error("latlngs not passed");te(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var v=C([0,0]),T=D(e),W=T.getNorthWest().distanceTo(T.getSouthWest())*T.getNorthEast().distanceTo(T.getNorthWest());W<1700&&(v=Xt(e));var q=e.length,ie=[];for(i=0;i<q;i++){var K=C(e[i]);ie.push(t.project(C([K.lat-v.lat,K.lng-v.lng])))}for(l=u=c=0,i=0,n=q-1;i<q;n=i++)o=ie[i],r=ie[n],s=o.y*r.x-r.y*o.x,u+=(o.x+r.x)*s,c+=(o.y+r.y)*s,l+=s*3;l===0?f=ie[0]:f=[u/l,c/l];var Be=t.unproject(y(f));return C([Be.lat+v.lat,Be.lng+v.lng])}function Xt(e){for(var t=0,i=0,n=0,o=0;o<e.length;o++){var r=C(e[o]);t+=r.lat,i+=r.lng,n++}return C([t/n,i/n])}var wo={__proto__:null,clipPolygon:Xi,polygonCenter:Ki,centroid:Xt};function Yi(e,t){if(!t||!e.length)return e.slice();var i=t*t;return e=Po(e,i),e=Lo(e,i),e}function $i(e,t,i){return Math.sqrt(Je(e,t,i,!0))}function xo(e,t,i){return Je(e,t,i)}function Lo(e,t){var i=e.length,n=typeof Uint8Array<"u"?Uint8Array:Array,o=new n(i);o[0]=o[i-1]=1,Kt(e,o,t,0,i-1);var r,s=[];for(r=0;r<i;r++)o[r]&&s.push(e[r]);return s}function Kt(e,t,i,n,o){var r=0,s,l,u;for(l=n+1;l<=o-1;l++)u=Je(e[l],e[n],e[o],!0),u>r&&(s=l,r=u);r>i&&(t[s]=1,Kt(e,t,i,n,s),Kt(e,t,i,s,o))}function Po(e,t){for(var i=[e[0]],n=1,o=0,r=e.length;n<r;n++)Mo(e[n],e[o])>t&&(i.push(e[n]),o=n);return o<r-1&&i.push(e[r-1]),i}var Qi;function en(e,t,i,n,o){var r=n?Qi:Ce(e,i),s=Ce(t,i),l,u,c;for(Qi=s;;){if(!(r|s))return[e,t];if(r&s)return!1;l=r||s,u=ut(e,t,l,i,o),c=Ce(u,i),l===r?(e=u,r=c):(t=u,s=c)}}function ut(e,t,i,n,o){var r=t.x-e.x,s=t.y-e.y,l=n.min,u=n.max,c,f;return i&8?(c=e.x+r*(u.y-e.y)/s,f=u.y):i&4?(c=e.x+r*(l.y-e.y)/s,f=l.y):i&2?(c=u.x,f=e.y+s*(u.x-e.x)/r):i&1&&(c=l.x,f=e.y+s*(l.x-e.x)/r),new b(c,f,o)}function Ce(e,t){var i=0;return e.x<t.min.x?i|=1:e.x>t.max.x&&(i|=2),e.y<t.min.y?i|=4:e.y>t.max.y&&(i|=8),i}function Mo(e,t){var i=t.x-e.x,n=t.y-e.y;return i*i+n*n}function Je(e,t,i,n){var o=t.x,r=t.y,s=i.x-o,l=i.y-r,u=s*s+l*l,c;return u>0&&(c=((e.x-o)*s+(e.y-r)*l)/u,c>1?(o=i.x,r=i.y):c>0&&(o+=s*c,r+=l*c)),s=e.x-o,l=e.y-r,n?s*s+l*l:new b(o,r)}function te(e){return!ne(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function tn(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),te(e)}function nn(e,t){var i,n,o,r,s,l,u,c;if(!e||e.length===0)throw new Error("latlngs not passed");te(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var f=C([0,0]),v=D(e),T=v.getNorthWest().distanceTo(v.getSouthWest
4())*v.getNorthEast().distanceTo(v.getNorthWest());T<1700&&(f=Xt(e));var W=e.length,q=[];for(i=0;i<W;i++){var ie=C(e[i]);q.push(t.project(C([ie.lat-f.lat,ie.lng-f.lng])))}for(i=0,n=0;i<W-1;i++)n+=q[i].distanceTo(q[i+1])/2;if(n===0)c=q[0];else for(i=0,r=0;i<W-1;i++)if(s=q[i],l=q[i+1],o=s.distanceTo(l),r+=o,r>n){u=(r-n)/o,c=[l.x-u*(l.x-s.x),l.y-u*(l.y-s.y)];break}var K=t.unproject(y(c));return C([K.lat+f.lat,K.lng+f.lng])}var To={__proto__:null,simplify:Yi,pointToSegmentDistance:$i,closestPointOnSegment:xo,clipSegment:en,_getEdgeIntersection:ut,_getBitCode:Ce,_sqClosestPointOnSegment:Je,isFlat:te,_flat:tn,polylineCenter:nn},Yt={project:function(e){return new b(e.lng,e.lat)},unproject:function(e){return new z(e.y,e.x)},bounds:new I([-180,-90],[180,90])},$t={R:6378137,R_MINOR:6356752314245179e-9,bounds:new I([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var t=Math.PI/180,i=this.R,n=e.lat*t,o=this.R_MINOR/i,r=Math.sqrt(1-o*o),s=r*Math.sin(n),l=Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),r/2);return n=-i*Math.log(Math.max(l,1e-10)),new b(e.lng*t*i,n)},unproject:function(e){for(var t=180/Math.PI,i=this.R,n=this.R_MINOR/i,o=Math.sqrt(1-n*n),r=Math.exp(-e.y/i),s=Math.PI/2-2*Math.atan(r),l=0,u=.1,c;l<15&&Math.abs(u)>1e-7;l++)c=o*Math.sin(s),c=Math.pow((1-c)/(1+c),o/2),u=Math.PI/2-2*Math.atan(r*c)-s,s+=u;return new z(s*t,e.x*t/i)}},Co={__proto__:null,LonLat:Yt,Mercator:$t,SphericalMercator:Pt},So=m({},ye,{code:"EPSG:3395",projection:$t,transformation:function(){var e=.5/(Math.PI*$t.R);return Ne(e,.5,-e,.5)}()}),on=m({},ye,{code:"EPSG:4326",projection:Yt,transformation:Ne(1/180,1,-1/180,.5)}),Oo=m({},me,{projection:Yt,transformation:Ne(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var i=t.lng-e.lng,n=t.lat-e.lat;return Math.sqrt(i*i+n*n)},infinite:!0});me.Earth=ye,me.EPSG3395=So,me.EPSG3857=Tt,me.EPSG900913=jn,me.EPSG4326=on,me.Simple=Oo;var re=De.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[P(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[P(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var i=this.getEvents();t.on(i,this),this.once("remove",function(){t.off(i,this)},this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});S.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=P(e);return this._layers[t]?this:(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var t=P(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return P(e)in this._layers},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},_addLayers:function(e){e=e?ne(e)?e:[e]:[];for(var t=0,i=e.length;t<i;t++)this.addLayer(e[t])},_addZoomLimit:function(e){(!isNaN(e.options.maxZoom)||!isNaN(e.options.minZoom))&&(this._zoomBoundLayers[P(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=P(e);
4this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;e=o.minZoom===void 0?e:Math.min(e,o.minZoom),t=o.maxZoom===void 0?t:Math.max(t,o.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var ze=re.extend({initialize:function(e,t){A(this,t),this._layers={};var i,n;if(e)for(i=0,n=e.length;i<n;i++)this.addLayer(e[i])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){var t=typeof e=="number"?e:this.getLayerId(e);return t in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t=Array.prototype.slice.call(arguments,1),i,n;for(i in this._layers)n=this._layers[i],n[e]&&n[e].apply(n,t);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return P(e)}}),Eo=function(e,t){return new ze(e,t)},fe=ze.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),ze.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),ze.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new X;for(var t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),zo=function(e,t){return new fe(e,t)},Ae=pe.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){A(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var i=this._getIconUrl(e);if(!i){if(e==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,t&&t.tagName==="IMG"?t:null);return this._setIconStyles(n,e),(this.options.crossOrigin||this.options.crossOrigin==="")&&(n.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),n},_setIconStyles:function(e,t){var i=this.options,n=i[t+"Size"];typeof n=="number"&&(n=[n,n]);var o=y(n),r=y(t==="shadow"&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(i.className||""),r&&(e.style.marginLeft=-r.x+"px",e.style.marginTop=-r.y+"px"),o&&(e.style.width=o.x+"px",e.style.height=o.y+"px")},_createImg:function(e,t){return t=t||document.createElement("img"),t.src=e,t},_getIconUrl:function(e){return g.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}});function Ao(e){return new Ae(e)}var Xe=Ae.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return typeof Xe.imagePath!="string"&&(Xe.imagePath=this._detectIconPath()),(this.options.imagePath||Xe.imagePath)+Ae.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(i,n,o){var r=n.exec(i);return r&&r[o]};return e=t(e,/^url\((['"])?(.+)\1\)$/,2),e&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=O("div","leaflet-default-icon-path",document.body),t=Fe(e,"background-image")||Fe(e,"backgroundImage");if(document.body.removeChild(e),t=this._stripUrl(t),t)return t;var i=document.querySelector('link[href$="leaflet.css"]');return i?i.href.substring(0,i.href.length-11-1):""}}),rn=ce.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new be(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),M(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&Z(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,i=t._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,r=Pe(t._icon),s=i.getPixelBounds(),l=i.getPixelOrigin(),u=J(s.min._subtract(l).add(o),s.max._subtract(l).subtract(o));if(!u.contains(r)){var c=y((Math.max(u.max.x,r.x)-u.max.x)/(s.max.x-u.max.x)-(Math.min(u.min.x,r.x)-u.min.x)/(s.min.x-u.min.x),(Math.max(u.max.y,r.y)-u.max.y)/(s.max.y-u.max.y)-(Math.min(u.min.y,r.
vendor: 4,468 bytes, line 4
4y)-u.min.y)/(s.min.y-u.min.y)).multiplyBy(n);i.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),N(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=U(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(Q(this._panRequest),this._panRequest=U(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,i=t._shadow,n=Pe(t._icon),o=t._map.layerPointToLatLng(n);i&&N(i,n),t._latlng=o,e.latlng=o,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){Q(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),ct=re.extend({options:{icon:new Xe,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){A(this,t),this._latlng=C(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=C(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=e.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,e.title&&(i.title=e.title),i.tagName==="IMG"&&(i.alt=e.alt||"")),M(i,t),e.keyboard&&(i.tabIndex="0",i.setAttribute("role","button")),this._icon=i,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&w(i,"focus",this._panOnFocus,this);var o=e.icon.createShadow(this._shadow),r=!1;o!==this._shadow&&(this._removeShadow(),r=!0),o&&(M(o,t),o.alt=""),this._shadow=o,e.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&r&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&k(this._icon,"focus",this._panOnFocus,this),B(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&B(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&N(this._icon,e),this._shadow&&N(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(M(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),rn)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new rn(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&ee(this._icon,e),this._shadow&&ee(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,i=t.iconSize?y(t.iconSize):y(0,0),n=t.iconA
vendor: 4,318 bytes, line 4
4nchor?y(t.iconAnchor):y(0,0);e.panInside(this._latlng,{paddingTopLeft:n,paddingBottomRight:i.subtract(n)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function ko(e,t){return new ct(e,t)}var we=re.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return A(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),dt=we.extend({options:{fill:!0,radius:10},initialize:function(e,t){A(this,t),this._latlng=C(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=C(e),this.redraw(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return we.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,i=this._clickTolerance(),n=[e+i,t+i];this._pxBounds=new I(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function jo(e,t){return new dt(e,t)}var Qt=dt.extend({initialize:function(e,t,i){if(typeof t=="number"&&(t=m({},i,{radius:t})),A(this,t),this._latlng=C(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new X(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:we.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===ye.distance){var o=Math.PI/180,r=this._mRadius/ye.R/o,s=i.project([t+r,e]),l=i.project([t-r,e]),u=s.add(l).divideBy(2),c=i.unproject(u).lat,f=Math.acos((Math.cos(r*o)-Math.sin(t*o)*Math.sin(c*o))/(Math.cos(t*o)*Math.cos(c*o)))/o;(isNaN(f)||f===0)&&(f=r/Math.cos(Math.PI/180*t)),this._point=u.subtract(i.getPixelOrigin()),this._radius=isNaN(f)?0:u.x-i.project([c,e-f]).x,this._radiusY=u.y-s.y}else{var v=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(v).x}this._updateBounds()}});function Io(e,t,i){return new Qt(e,t,i)}var _e=we.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){A(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t=1/0,i=null,n=Je,o,r,s=0,l=this._parts.length;s<l;s++)for(var u=this._parts[s],c=1,f=u.length;c<f;c++){o=u[c-1],r=u[c];var v=n(e,o,r,!0);v<t&&(t=v,i=n(e,o,r))}return i&&(i.distance=Math.sqrt(t)),i}
4,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return nn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=C(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new X,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return te(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],i=te(e),n=0,o=e.length;n<o;n++)i?(t[n]=C(e[n]),this._bounds.extend(t[n])):t[n]=this._convertLatLngs(e[n]);return t},_project:function(){var e=new I;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new b(e,e);this._rawPxBounds&&(this._pxBounds=new I([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,i){var n=e[0]instanceof z,o=e.length,r,s;if(n){for(s=[],r=0;r<o;r++)s[r]=this._map.latLngToLayerPoint(e[r]),i.extend(s[r]);t.push(s)}else for(r=0;r<o;r++)this._projectLatlngs(e[r],t,i)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}var t=this._parts,i,n,o,r,s,l,u;for(i=0,o=0,r=this._rings.length;i<r;i++)for(u=this._rings[i],n=0,s=u.length;n<s-1;n++)l=en(u[n],u[n+1],e,n,!0),l&&(t[o]=t[o]||[],t[o].push(l[0]),(l[1]!==u[n+1]||n===s-2)&&(t[o].push(l[1]),o++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,i=0,n=e.length;i<n;i++)e[i]=Yi(e[i],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var i,n,o,r,s,l,u=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(i=0,r=this._parts.length;i<r;i++)for(l=this._parts[i],n=0,s=l.length,o=s-1;n<s;o=n++)if(!(!t&&n===0)&&$i(e,l[o],l[n])<=u)return!0;return!1}});function Bo(e,t){return new _e(e,t)}_e._flat=tn;var ke=_e.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
4,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Ki(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=_e.prototype._convertLatLngs.call(this,e),i=t.length;return i>=2&&t[0]instanceof z&&t[0].equals(t[i-1])&&t.pop(),t},_setLatLngs:function(e){_e.prototype._setLatLngs.call(this,e),te(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return te(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,i=new b(t,t);if(e=new I(e.min.subtract(i),e.max.add(i)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var n=0,o=this._rings.length,r;n<o;n++)r=Xi(this._rings[n],e,!0),r.length&&this._parts.push(r)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t=!1,i,n,o,r,s,l,u,c;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(r=0,u=this._parts.length;r<u;r++)for(i=this._parts[r],s=0,c=i.length,l=c-1;s<c;l=s++)n=i[s],o=i[l],n.y>e.y!=o.y>e.y&&e.x<(o.x-n.x)*(e.y-n.y)/(o.y-n.y)+n.x&&(t=!t);return t||_e.prototype._containsPoint.call(this,e,!0)}});function Zo(e,t){return new ke(e,t)}var ge=fe.extend({initialize:function(e,t){A(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t=ne(e)?e:e.features,i,n,o;if(t){for(i=0,n=t.length;i<n;i++)o=t[i],(o.geometries||o.geometry||o.features||o.coordinates)&&this.addData(o);return this}var r=this.options;if(r.filter&&!r.filter(e))return this;var s=ht(e,r);return s?(s.feature=ft(e),s.defaultOptions=s.options,this.resetStyle(s),r.onEachFeature&&r.onEachFeature(e,s),this.addLayer(s)):this},resetStyle:function(e){return e===void 0?this.eachLayer(this.resetStyle,this):(e.options=m({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&(typeof t=="function"&&(t=t(e.feature)),e.setStyle(t))}});function ht(e,t){var i=e.type==="Feature"?e.geometry:e,n=i?i.coordinates:null,o=[],r=t&&t.pointToLayer,s=t&&t.coordsToLatLng||ei,l,u,c,f;if(!n&&!i)return null;switch(i.type){case"Point":return l=s(n),sn(r,e,l,t);case"MultiPoint":for(c=0,f=n.length;c<f;c++)l=s(n[c]),o.push(sn(r,e,l,t));return new fe(o);case"LineString":case"MultiLineString":return u=pt(n,i.type==="LineString"?0:1,s),new _e(u,t);case"Polygon":case"MultiPolygon":return u=pt(n,i.type==="Polygon"?1:2,s),new ke(u,t);case"GeometryCollection":for(c=0,f=i.geometries.length;c<f;c++){var v=ht({geometry:i.geometries[c],type:"Feature",properties:e.properties},t);v&&o.push(v)}return new fe(o);case"FeatureCollection":for(c=0,f=i.features.length;c<f;c++){var T=ht(i.features[c],t);T&&o.push(T)}return new fe(o);default:throw new Error("Invalid GeoJSON object.")}}function sn(e,t,i,n){return e?e(t,i):new ct(i,n&&n.markersInheritOptions&&n)}function ei(e){return new z(e[1],e[0],e[2])}function pt(e,t,i){for(var n=[],o=0,r=e.length,s;o<r;o++)s=t?pt(e[o],t-1,i):(i||ei)(e[o]),n.push(s);return n}function ti(e,t){return e=C(e),e.alt!==void 0?[$(e.lng,t),$(e.lat,t),$(e.alt,t)]:[$(e.lng,t),$(e.lat,t)]}function mt(e,t,i,n){for(var o=[],r=0,s=e.length;r<s;r++)o.push(t?mt(e[r],te(e[r])?0:t-1,i,n):ti(e[r],n));return!t&&i&&o.length>0&&o.push(o[0].slice()),o}function je(e,t){return e.feature?m({},e.feature,{geometry:t}):ft(t)}function ft(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var ii={toGeoJSON:function(e){return je(this,{type:"Point",coordinates:ti(this.getLatLng(),e)})}};ct.include(ii),Qt.include(ii),dt.include(ii),_e.include({toGeoJSON:function(e){var t=!te(this._latlngs),i=mt(this._latlngs,t?1:0,!1,e);return je(this,{type:(t?"Multi":"")+"LineString",coordinates:i})}}),ke.include({toGeoJSON:function(e){var t=!te(this._latlngs),i=t&&!te(this._latlngs[0]),n=mt(this._latlngs,i?2:t?1:0,!0,e);return t||(n=[n]),je(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),ze.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(i){t.push(i.toGeoJSON(e).geometry.coordinates)}),je(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(t==="MultiPoint")return this.toMultiPoint(e);var i=t==="GeometryCollection",n=[];
4return this.eachLayer(function(o){if(o.toGeoJSON){var r=o.toGeoJSON(e);if(i)n.push(r.geometry);else{var s=ft(r);s.type==="FeatureCollection"?n.push.apply(n,s.features):n.push(s)}}}),i?je(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});function an(e,t){return new ge(e,t)}var Do=an,_t=re.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,i){this._url=e,this._bounds=D(t),A(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(M(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){B(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&&Oe(this._image),this},bringToBack:function(){return this._map&&Ee(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=D(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",t=this._image=e?this._url:O("img");if(M(t,"leaflet-image-layer"),this._zoomAnimated&&M(t,"leaflet-zoom-animated"),this.options.className&&M(t,this.options.className),t.onselectstart=j,t.onmousemove=j,t.onload=_(this.fire,this,"load"),t.onerror=_(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(t.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=t.src;return}t.src=this._url,t.alt=this.options.alt},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;Le(this._image,i,t)},_reset:function(){var e=this._image,t=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=t.getSize();N(e,t.min),e.style.width=i.x+"px",e.style.height=i.y+"px"},_updateOpacity:function(){ee(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()}}),No=function(e,t,i){return new _t(e,t,i)},ln=_t.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",t=this._image=e?this._url:O("video");if(M(t,"leaflet-image-layer"),this._zoomAnimated&&M(t,"leaflet-zoom-animated"),this.options.className&&M(t,this.options.className),t.onselectstart=j,t.onmousemove=j,t.onloadeddata=_(this.fire,this,"load"),e){for(var i=t.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=i.length>0?n:[t.src];return}ne(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var r=0;r<this._url.length;r++){var s=O("source");s.src=this._url[r],t.appendChild(s)}}});function Ro(e,t,i){return new ln(e,t,i)}var un=_t.extend({_initImage:function(){var e=this._image=this._url;M(e,"leaflet-image-layer"),this._zoomAnimated&&M(e,"leaflet-zoom-animated"),this.options.className&&M(e,this.options.className),e.onselectstart=j,e.onmousemove=j}});function qo(e,t,i){return new un(e,t,i)}var de=re.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(e,t){e&&(e instanceof z||ne(e))?(this._latlng=C(e),A(this,t)):(A(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return e=arguments.length?e:this._source._map,e.hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&ee(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&ee(this._container,1),this.bringToFront(),this.options.interactive&&(M(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(ee(this._container,0),this._removeTimeout=setTimeout(_(B,void 0,this._container),200)):B(this._container),this.options.interactive&&(Z(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=C(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&Oe(this._container),this},bringToBack:function(){return this._map&&Ee(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof fe){t=null;var i=this._source._layers;for(var n in i)if(i[n]._map){t=i[n];break}if(!t)return!1;this._source=t}if(!e)if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else if(t.getBounds)e=t.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof t=="string")e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=y(this.options.offset),i=this._getAnchor();this._zoomAnimated?N(this._container,e.add(i)):t=t.add(e).add(i);var n=this._containerBottom=-t.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}});S.include({_initOverlay:function(e,t,i,n){var o=t;return o instanceof e||(o=new e(n).setContent(t)),i&&o.setLatLng(i),o}}),re.include({_initOverlay:function(e,t,i,n){var o=i;return o instanceof e?(A(o,n),o._source=this):(o=t&&!n?t:new e(n,this),o.setContent(i)),o}});var gt=de.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e=arguments.length?e:this._source._map,!e.hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,de.prototype.openOn.call(this,e)},onAdd:function(e){de.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof we||this._source.on("preclick",Me))},onRemove:function(e){de.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof we||this._source.off("preclick",Me))},getEvents:function(){var e=de.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this.close),this.options.keepInView&&
4(e.moveend=this._adjustPan),e},_initLayout:function(){var e="leaflet-popup",t=this._container=O("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=O("div",e+"-content-wrapper",t);if(this._contentNode=O("div",e+"-content",i),Ge(t),Wt(this._contentNode),w(t,"contextmenu",Me),this._tipContainer=O("div",e+"-tip-container",t),this._tip=O("div",e+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=O("a",e+"-close-button",t);n.setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">&#215;</span>',w(n,"click",function(o){F(o),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var i=e.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),t.width=i+1+"px",t.whiteSpace="",t.height="";var n=e.offsetHeight,o=this.options.maxHeight,r="leaflet-popup-scrolled";o&&n>o?(t.height=o+"px",M(e,r)):Z(e,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),i=this._getAnchor();N(this._container,t.add(i))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,t=parseInt(Fe(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+t,n=this._containerWidth,o=new b(this._containerLeft,-i-this._containerBottom);o._add(Pe(this._container));var r=e.layerPointToContainerPoint(o),s=y(this.options.autoPanPadding),l=y(this.options.autoPanPaddingTopLeft||s),u=y(this.options.autoPanPaddingBottomRight||s),c=e.getSize(),f=0,v=0;r.x+n+u.x>c.x&&(f=r.x+n-c.x+u.x),r.x-f-l.x<0&&(f=r.x-l.x),r.y+i+u.y>c.y&&(v=r.y+i-c.y+u.y),r.y-v-l.y<0&&(v=r.y-l.y),(f||v)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([f,v]))}},_getAnchor:function(){return y(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Fo=function(e,t){return new gt(e,t)};S.mergeOptions({closePopupOnClick:!0}),S.include({openPopup:function(e,t,i){return this._initOverlay(gt,e,t,i).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),re.include({bindPopup:function(e,t){return this._popup=this._initOverlay(gt,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof fe||(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)){Te(e);var t=e.layer||e.target;if(this._popup._source===t&&!(t instanceof we)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=t,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var vt=de.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){de.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){de.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=de.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",t=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=O("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+P(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,i,n=this._map,o=this._container,r=n.latLngToContainerPoint(n.getCenter()),s=n.layerPointToContainerPoint(e),l=this.options.direction,u=o.offsetWidth,c=o.offsetHeight,f=y(this.options.offset),v=this._getAnchor();l==="top"?(t=u/2,i=c):l==="bottom"?(t=u/2,i=0):l==="center"?(t=u/2,i=c/2):l==="right"?(t=0,i=c/2):l==="left"?
4(t=u,i=c/2):s.x<r.x?(l="right",t=0,i=c/2):(l="left",t=u+(f.x+v.x)*2,i=c/2),e=e.subtract(y(t,i,!0)).add(f).add(v),Z(o,"leaflet-tooltip-right"),Z(o,"leaflet-tooltip-left"),Z(o,"leaflet-tooltip-top"),Z(o,"leaflet-tooltip-bottom"),M(o,"leaflet-tooltip-"+l),N(o,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&ee(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return y(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Vo=function(e,t){return new vt(e,t)};S.include({openTooltip:function(e,t,i){return this._initOverlay(vt,e,t,i).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),re.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(vt,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(!(!e&&this._tooltipHandlersAdded)){var t=e?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,i.click=this._openTooltip,this._map?this._addFocusListeners():i.add=this._addFocusListeners),this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),this[t](i),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof fe||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t=typeof e.getElement=="function"&&e.getElement();t&&(w(t,"focus",function(){this._tooltip._source=e,this.openTooltip()},this),w(t,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t=typeof e.getElement=="function"&&e.getElement();t&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(e){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once("moveend",function(){t._openOnceFlag=!1,t._openTooltip(e)});return}this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)}},_moveTooltip:function(e){var t=e.latlng,i,n;this._tooltip.options.sticky&&e.originalEvent&&(i=this._map.mouseEventToContainerPoint(e.originalEvent),n=this._map.containerPointToLayerPoint(i),t=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(t)}});var cn=Ae.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&e.tagName==="DIV"?e:document.createElement("div"),i=this.options;if(i.html instanceof Element?(ot(t),t.appendChild(i.html)):t.innerHTML=i.html!==!1?i.html:"",i.bgPos){var n=y(i.bgPos);t.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});function Ho(e){return new cn(e)}Ae.Default=Xe;var Ke=re.extend({options:{tileSize:256,opacity:1,updateWhenIdle:g.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){A(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),B(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Oe(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(Ee(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=se(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof b?e:new b(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t=this.getPane().children,i=-e(-1/0,1/0),n=0,o=t.length,r;n<o;n++)r=t[n].style.zIndex,t[n]!==this._container&&r&&(i=e(i,+r));isFinite(i)&&(this.options.zIndex=i+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!g.ielt9){ee(this._container,this.options.opacity);var e=+new Date,t=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(!(!o.current||!o.loaded)){var r=Math.min(1,(e-o.loaded)/200);ee(o.el,r),r<1?t=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),t&&(Q(this._fadeFrame),this._fadeFrame=U(this._updateOpacity,this))}},_onOpaqueTile:j,_initContainer:function(){this._container||(this._container=O("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(e!==void 0){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===e?(this._levels[i].el.style.zIndex=t-Math.abs(e-i),this._onUpdateLevel(i)):(B(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[e],o=this._map;return n||(n=this._levels[e]={},n.el=O("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=t,n.origin=o.project(o.unproject(o.getPixelOrigin()),e).round(),n.zoom=e,this._setZoomTransform(n,o.getCenter(),o.getZoom()),j(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:j,_onRemoveLevel:j,_onCreateLevel:j,_pruneTiles:function(){if(this._map){var e,t,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom){this._removeAllTiles();return}for(e in this._tiles)t=this._tiles[e],t.retain=t.current;for(e in this._tiles)if(t=this._tiles[e],t.current&&!t.active){var n=t.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)B(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,i,n){var o=Math.floor(e/2),r=Math.floor(t/2),s=i-1,l=new b(+o,+r);l.z=+s;var u=this._tileCoordsToKey(l),c=this._tiles[u];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),s>n?this._retainParent(o,r,s,n):!1)},_retainChildren:function(e,t,i,n){for(var o=2*e;o<2*e+2;o++)for(var r=2*t;r<2*t+2;r++){var s=new b(o,r);s.z=i+1;var l=this._tileCoordsToKey(s),u=this._tiles[l];if(u&&u.active){u.retain=!0;continue}else u&&u.loaded&&(u.retain=!0);i+1<n&&this._retainChildren(o,r,i+1,n)}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);
4this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return t.minNativeZoom!==void 0&&e<t.minNativeZoom?t.minNativeZoom:t.maxNativeZoom!==void 0&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,i,n){var o=Math.round(t);this.options.maxZoom!==void 0&&o>this.options.maxZoom||this.options.minZoom!==void 0&&o<this.options.minZoom?o=void 0:o=this._clampZoom(o);var r=this.options.updateWhenZooming&&o!==this._tileZoom;(!n||r)&&(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),o!==void 0&&this._update(e),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var i in this._levels)this._setZoomTransform(this._levels[i],e,t)},_setZoomTransform:function(e,t,i){var n=this._map.getZoomScale(i,e.zoom),o=e.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(t,i)).round();g.any3d?Le(e.el,o,n):N(e.el,o)},_resetGrid:function(){var e=this._map,t=e.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],n).x/i.x),Math.ceil(e.project([0,t.wrapLng[1]],n).x/i.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],n).y/i.x),Math.ceil(e.project([t.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(e){var t=this._map,i=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),n=t.getZoomScale(i,this._tileZoom),o=t.project(e,this._tileZoom).floor(),r=t.getSize().divideBy(n*2);return new I(o.subtract(r),o.add(r))},_update:function(e){var t=this._map;if(t){var i=this._clampZoom(t.getZoom());if(e===void 0&&(e=t.getCenter()),this._tileZoom!==void 0){var n=this._getTiledPixelBounds(e),o=this._pxBoundsToTileRange(n),r=o.getCenter(),s=[],l=this.options.keepBuffer,u=new I(o.getBottomLeft().subtract([l,-l]),o.getTopRight().add([l,-l]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var f=this._tiles[c].coords;(f.z!==this._tileZoom||!u.contains(new b(f.x,f.y)))&&(this._tiles[c].current=!1)}if(Math.abs(i-this._tileZoom)>1){this._setView(e,i);return}for(var v=o.min.y;v<=o.max.y;v++)for(var T=o.min.x;T<=o.max.x;T++){var W=new b(T,v);if(W.z=this._tileZoom,!!this._isValidTile(W)){var q=this._tiles[this._tileCoordsToKey(W)];q?q.current=!0:s.push(W)}}if(s.sort(function(K,Be){return K.distanceTo(r)-Be.distanceTo(r)}),s.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var ie=document.createDocumentFragment();for(T=0;T<s.length;T++)this._addTile(s[T],ie);this._level.el.appendChild(ie)}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var i=this._globalTileRange;if(!t.wrapLng&&(e.x<i.min.x||e.x>i.max.x)||!t.wrapLat&&(e.y<i.min.y||e.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(e);return D(this.options.bounds).overlaps(n)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,i=this.getTileSize(),n=e.scaleBy(i),o=n.add(i),r=t.unproject(n,e.z),s=t.unproject(o,e.z);return[r,s]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),i=new X(t[0],t[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),i=new b(+t[0],+t[1]);return i.z=+t[2],i},_removeTile:function(e){var t=this._tiles[e];t&&(B(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){M(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=j,e.onmousemove=j,g.ielt9&&this.options.opacity<1&&ee(e,this.options.opacity)},_addTile:function(e,t){var i=this._getTilePos(e),n=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),_(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&U(_(this._tileReady,this,e,null,o)),N(o,i),this._tiles[n]={el:o,c
vendor: 6,116 bytes, line 4
4oords:e,current:!0},t.appendChild(o),this.fire("tileloadstart",{tile:o,coords:e})},_tileReady:function(e,t,i){t&&this.fire("tileerror",{error:t,tile:i,coords:e});var n=this._tileCoordsToKey(e);i=this._tiles[n],i&&(i.loaded=+new Date,this._map._fadeAnimated?(ee(i.el,0),Q(this._fadeFrame),this._fadeFrame=U(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),t||(M(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),g.ielt9||!this._map._fadeAnimated?U(this._pruneTiles,this):setTimeout(_(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new b(this._wrapX?ae(e.x,this._wrapX):e.x,this._wrapY?ae(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new I(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Wo(e){return new Ke(e)}var Ie=Ke.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,t=A(this,t),t.detectRetina&&g.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),typeof t.subdomains=="string"&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&t===void 0&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var i=document.createElement("img");return w(i,"load",_(this._tileOnLoad,this,t,i)),w(i,"error",_(this._tileOnError,this,t,i)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(e),i},getTileUrl:function(e){var t={r:g.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=i),t["-y"]=i}return xe(this._url,m(t,this.options))},_tileOnLoad:function(e,t){g.ielt9?setTimeout(_(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,i){var n=this.options.errorTileUrl;n&&t.getAttribute("src")!==n&&(t.src=n),e(i,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(e=t-e),e+n},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(t=this._tiles[e].el,t.onload=j,t.onerror=j,!t.complete)){t.src=tt;var i=this._tiles[e].coords;B(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:i})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",tt),Ke.prototype._removeTile.call(this,e)},_tileReady:function(e,t,i){if(!(!this._map||i&&i.getAttribute("src")===tt))return Ke.prototype._tileReady.call(this,e,t,i)}});function dn(e,t){return new Ie(e,t)}var hn=Ie.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,t){this._url=e;var i=m({},this.defaultWmsParams);for(var n in t)n in this.options||(i[n]=t[n]);t=A(this,t);var o=t.detectRetina&&g.retina?2:1,r=this.getTileSize();i.width=r.x*o,i.height=r.y*o,this.wmsParams=i},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,Ie.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),i=this._crs,n=J(i.project(t[0]),i.project(t[1])),o=n.min,r=n.max,s=(this._wmsVersion>=1.3&&this._crs===on?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),l=Ie.prototype.getTileUrl.call(this,e);return l+Qe(this.wmsParams,l,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(e,t){return m(this.wmsParams,e),t||this.redraw(),this}});function Go(e,t){return new hn(e,t)}Ie.WMS=hn,dn.wms=Go;var ve=re.extend({options:{padding:.1},initialize:function(e){A(this,e),P(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),M(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,t){var i=this._map.getZoomScale(t,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,t),r=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(e,t));g.any3d?Le(this._container,r,i):N(this._container,r)},_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,t=this._map.getSize(),i=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
4this._bounds=new I(i,i.add(t.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),pn=ve.extend({options:{tolerance:0},getEvents:function(){var e=ve.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ve.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");w(e,"mousemove",this._onMouseMove,this),w(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),w(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){Q(this._redrawRequest),delete this._ctx,B(this._container),k(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var t in this._layers)e=this._layers[t],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ve.prototype._update.call(this);var e=this._bounds,t=this._container,i=e.getSize(),n=g.retina?2:1;N(t,e.min),t.width=n*i.x,t.height=n*i.y,t.style.width=i.x+"px",t.style.height=i.y+"px",g.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){ve.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[P(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,i=t.next,n=t.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete e._order,delete this._layers[P(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 t=e.options.dashArray.split(/[, ]+/),i=[],n,o;for(o=0;o<t.length;o++){if(n=Number(t[o]),isNaN(n))return;i.push(n)}e.options._dashArray=i}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||U(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new I,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var i=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)e=n.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var i,n,o,r,s=e._parts,l=s.length,u=this._ctx;if(l){for(u.beginPath(),i=0;i<l;i++){for(n=0,o=s[i].length;n<o;n++)r=s[i][n],u[n?"lineTo":"moveTo"](r.x,r.y);t&&u.closePath()}this._fillStroke(u,e)}}},_updateCircle:function(e){if(!(!this._drawing||e._empty())){var t=e._point,i=this._ctx,n=Math.max(Math.round(e._radius),1),o=(Math.max(Math.round(e._radiusY),1)||n)/n;o!==1&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(t.x,t.y/o,n,0,Math.PI*2,!1),o!==1&&i.restore(),this._fillStroke(i,e)}},_fillStroke:function(e,t){var i=t.options;i.fill&&(e.globalAlpha=i.fillOpacity,e.fillStyle=i.fillColor||i.color,e.fill(i.fillRule||"evenodd")),i.stroke&&i.weight!==0&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=i.opacity,e.lineWidth=i.weight,e.strokeStyle=i.color,e.lineCap=i.lineCap,e.lineJoin=i.lineJoin,e.stroke())},_onClick:function(e){for(var t=this._map.mouseEventToLayerPoint(e),i,n,o=this._drawFirst;o;o=o.next)i=o.layer,i.options.interactive&&i._containsPoint(t)&&(!(e.type==="click"||e.type==="preclick")||!this._map._draggableMoved(i))&&(n=i);this._fireEvent(n?[n]:!1,e)},_onMouseMove:function(e){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(Z(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var i,n,o=this._drawFirst;o;o=o.next)i=o.layer,i.options.interactive&&i._containsPoint(t)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(e),n&&(M(this._container,"leaflet-interactive"),this._fireEvent([n],e,"mouseover"),this._hoveredLayer=n)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,e),this._mouseHoverThrottled=!0,setTimeout(_(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,i){this._map._fireDOMEvent(t,i||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var i=t.next,n=t.prev;if(i)i.prev=n;else return;n?n.next=i:i&&(this._drawFirst=i),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e)}},_bringToBack:function(e){var t=e._order;if(t){var i=t.next,n=t.prev;if(n)n.next=i;else return;i?i.prev=n:n&&(this._drawLast=n),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e)}}});function mn(e){return g.canvas?new pn(e):null}var Ye=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Uo={_initContainer:function(){this._container=O("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ve.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Ye("shape");M(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Ye("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[P(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;B(t),e.removeInteractiveTarget(t),delete this._layers[P(e)]},_updateStyle:function(e){var t=e._stroke,i=e._fill,n=e.options,o=e._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(t||(t=e._stroke=Ye("stroke")),o.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=ne(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(o.removeChild(t),e._stroke=null),n.fill?(i||(i=e._fill=Ye("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),i=Math.round(e._radius),n=Math.round(e._radiusY||i);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+i+","+n+" 0,"+65535*360)},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){Oe(e._container)},_bringToBack:function(e){Ee(e._container)}},yt=g.vml?Ye:gi,$e=ve.extend({_initContainer:function(){this._container=yt("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=yt("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){B(this._container),k(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ve.prototype._update.call(this);var e=this._bounds,t=e.getSize(),i=this._container;(!this._svgSize||!this._svgSize.equals(t))&&(this._svgSize=t,i.setAttribute("width",t.x),i.setAttribute("height",t.y)),N(i,e.min),i.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=yt("path");e.options.className&&M(t,e.options.className),e.options.interactive&&M(t,"leaflet-interactive"),this._updateStyle(e),this._layers[P(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){B(e._path),e.removeInteractiveTarget(e._path),delete this._layers[P(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,i=e.options;t&&(i.stroke?(t.setAttribute("stroke",i.color),t.setAttribute("stroke-opacity",i.opacity),t.setAttribute("stroke-width",i.weight),t.setAttribute("stroke-linecap",i.lineCap),t.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?t.setAttribute("stroke-dasharray",i.dashArray):t.removeAttribute("stroke-dasharray"),i.dashOffset?t.setAttribute("stroke-dashoffset",i.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),i.fill?(t.setAttribute("fill",i.fillColor||i.color),t.setAttribute("fill-opacity",i.fillOpacity),t.setAttribute("fill-rule",i.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,vi(e._parts,t))},_updateCircle:function(e){var t=e._point,i=Math.max(Math.round(e._radius),1),n=Math.max(Math.round(e._radiusY),1)||i,o="a"+i+","+n+" 0 1,0 ",r=e._empty()?"M0 0":"M"+(t.x-i)+","+t.y+o+i*2+",0 "+o+-i*2+",0 ";this._setPath(e,r)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){Oe(e._path)},_bringToBack:function(e){Ee(e._path)}});g.vml&&$e.include(Uo);function fn(e){return g.svg||g.vml?new $e(e):null}S.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var t=this._paneRenderers[e];return t===void 0&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&mn(e)||fn(e)}});var _n=ke.extend({initialize:function(e,t){ke.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))}
vendor: 5,632 bytes, line 4
4,_boundsToLatLngs:function(e){return e=D(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function Jo(e,t){return new _n(e,t)}$e.create=yt,$e.pointsToPath=vi,ge.geometryToLayer=ht,ge.coordsToLatLng=ei,ge.coordsToLatLngs=pt,ge.latLngToCoords=ti,ge.latLngsToCoords=mt,ge.getFeature=je,ge.asFeature=ft,S.mergeOptions({boxZoom:!0});var gn=ce.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(){w(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){k(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){B(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(),Ve(),Zt(),this._startPoint=this._map.mouseEventToContainerPoint(e),w(document,{contextmenu:Te,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=O("div","leaflet-zoom-box",this._container),M(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new I(this._point,this._startPoint),i=t.getSize();N(this._box,t.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(B(this._box),Z(this._container,"leaflet-crosshair")),He(),Dt(),k(document,{contextmenu:Te,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(_(this._resetState,this),0);var t=new X(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});S.addInitHook("addHandler","boxZoom",gn),S.mergeOptions({doubleClickZoom:!0});var vn=ce.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,i=t.getZoom(),n=t.options.zoomDelta,o=e.originalEvent.shiftKey?i-n:i+n;t.options.doubleClickZoom==="center"?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});S.addInitHook("addHandler","doubleClickZoom",vn),S.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var yn=ce.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new be(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))}M(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Z(this._map._container,"leaflet-grab"),Z(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 t=D(this._map.options.maxBounds);this._offsetLimit=J(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.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 t=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(t),this._prunePositions(t)}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),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-t+i)%e+t-i,r=(n+t+i)%e-t-i,s=Math.abs(o+i)<Math.abs(r+i)?o:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=s}
4,_onDragEnd:function(e){var t=this._map,i=t.options,n=!i.inertia||e.noInertia||this._times.length<2;if(t.fire("dragend",e),n)t.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,s=i.easeLinearity,l=o.multiplyBy(s/r),u=l.distanceTo([0,0]),c=Math.min(i.inertiaMaxSpeed,u),f=l.multiplyBy(c/u),v=c/(i.inertiaDeceleration*s),T=f.multiplyBy(-v/2).round();!T.x&&!T.y?t.fire("moveend"):(T=t._limitOffset(T,t.options.maxBounds),U(function(){t.panBy(T,{duration:v,easeLinearity:s,noMoveStart:!0,animate:!0})}))}}});S.addInitHook("addHandler","dragging",yn),S.mergeOptions({keyboard:!0,keyboardPanDelta:80});var bn=ce.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),w(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),k(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,i=e.scrollTop||t.scrollTop,n=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t=this._panKeys={},i=this.keyCodes,n,o;for(n=0,o=i.left.length;n<o;n++)t[i.left[n]]=[-1*e,0];for(n=0,o=i.right.length;n<o;n++)t[i.right[n]]=[e,0];for(n=0,o=i.down.length;n<o;n++)t[i.down[n]]=[0,e];for(n=0,o=i.up.length;n<o;n++)t[i.up[n]]=[0,-1*e]},_setZoomDelta:function(e){var t=this._zoomKeys={},i=this.keyCodes,n,o;for(n=0,o=i.zoomIn.length;n<o;n++)t[i.zoomIn[n]]=e;for(n=0,o=i.zoomOut.length;n<o;n++)t[i.zoomOut[n]]=-e},_addHooks:function(){w(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){k(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t=e.keyCode,i=this._map,n;if(t in this._panKeys){if(!i._panAnim||!i._panAnim._inProgress)if(n=this._panKeys[t],e.shiftKey&&(n=y(n).multiplyBy(3)),i.options.maxBounds&&(n=i._limitOffset(y(n),i.options.maxBounds)),i.options.worldCopyJump){var o=i.wrapLatLng(i.unproject(i.project(i.getCenter()).add(n)));i.panTo(o)}else i.panBy(n)}else if(t in this._zoomKeys)i.setZoom(i.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[t]);else if(t===27&&i._popup&&i._popup.options.closeOnEscapeKey)i.closePopup();else return;Te(e)}}});S.addInitHook("addHandler","keyboard",bn),S.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var wn=ce.extend({addHooks:function(){w(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){k(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=Hi(e),i=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(_(this._performZoom,this),n),Te(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),i=this._map.options.zoomSnap||0;e._stop();var n=this._delta/(this._map.options.wheelPxPerZoomLevel*4),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,r=i?Math.ceil(o/i)*i:o,s=e._limitZoom(t+(this._delta>0?r:-r))-t;this._delta=0,this._startTime=null,s&&(e.options.scrollWheelZoom==="center"?e.setZoom(t+s):e.setZoomAround(this._lastMousePos,t+s))}});S.addInitHook("addHandler","scrollWheelZoom",wn);var Xo=600;S.mergeOptions({tapHold:g.touchNative&&g.safari&&g.mobile,tapTolerance:15});var xn=ce.extend({addHooks:function(){w(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){k(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var t=e.touches[0];this._startPos=this._newPos=new b(t.clientX,t.clientY),this._holdTimeout=setTimeout(_(function(){this._cancel(),this._isTapValid()&&(w(document,"touchend",F),w(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))},this),Xo),w(document,"touchend touchcancel contextmenu",this._cancel,this),w(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){k(document,"touchend",F),k(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),k(document,"touchend touchcancel contextmenu",this._cancel,this),k(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new b(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var i=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});i._simulated=!0,t.target.dispatchEvent(i)}});S.addInitHook("addHandler","tapHold",xn),S.mergeOptions({touchZoom:g.touch,bounceAtZoomLimits:!0});var Ln=ce.extend({addHooks:function(){M(this._map._container,"leaflet-touch-zoom"),w(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Z(this._map._container,"leaflet-touch-zoom"),k(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(!(!e.touches||e.touches.length!==2||t._animatingZoom||this._zooming)){var i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),t.options.touchZoom!=="center"&&(this._pinchStartLatLng=t.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),w(document,"touchmove",this._onTouchMove,this),w(document,"touchend touchcancel",this._onTouchEnd,this),F(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var t=this._map,i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=t.getScaleZoom(o,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&o<1||this._zoom>t.getMaxZoom()&&o>1)&&(this._zoom=t._limitZoom(this._zoom)),t.options.touchZoom==="center"){if(this._center=this._startLatLng,o===1)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(o===1&&r.x===0&&r.y===0)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),Q(this._animRequest);var s=_(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=U(s,this,!0),F(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Q(this._animRequest),k(document,"touchmove",this._onTouchMove,this),k(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))}});S.addInitHook("addHandler","touchZoom",Ln),S.BoxZoom=gn,S.DoubleClickZoom=vn,S.Drag=yn,S.Keyboard=bn,S.ScrollWheelZoom=wn,S.TapHold=xn,S.TouchZoom=Ln,a.Bounds=I,a.Browser=g,a.CRS=me,a.Canvas=pn,a.Circle=Qt,a.CircleMarker=dt,a.Class=
4pe,a.Control=oe,a.DivIcon=cn,a.DivOverlay=de,a.DomEvent=po,a.DomUtil=co,a.Draggable=be,a.Evented=De,a.FeatureGroup=fe,a.GeoJSON=ge,a.GridLayer=Ke,a.Handler=ce,a.Icon=Ae,a.ImageOverlay=_t,a.LatLng=z,a.LatLngBounds=X,a.Layer=re,a.LayerGroup=ze,a.LineUtil=To,a.Map=S,a.Marker=ct,a.Mixin=bo,a.Path=we,a.Point=b,a.PolyUtil=wo,a.Polygon=ke,a.Polyline=_e,a.Popup=gt,a.PosAnimation=Wi,a.Projection=Co,a.Rectangle=_n,a.Renderer=ve,a.SVG=$e,a.SVGOverlay=un,a.TileLayer=Ie,a.Tooltip=vt,a.Transformation=Mt,a.Util=An,a.VideoOverlay=ln,a.bind=_,a.bounds=J,a.canvas=mn,a.circle=Io,a.circleMarker=jo,a.control=Ue,a.divIcon=Ho,a.extend=m,a.featureGroup=zo,a.geoJSON=an,a.geoJson=Do,a.gridLayer=Wo,a.icon=Ao,a.imageOverlay=No,a.latLng=C,a.latLngBounds=D,a.layerGroup=Eo,a.map=mo,a.marker=ko,a.point=y,a.polygon=Zo,a.polyline=Bo,a.popup=Fo,a.rectangle=Jo,a.setOptions=A,a.stamp=P,a.svg=fn,a.svgOverlay=qo,a.tileLayer=dn,a.tooltip=Vo,a.transformation=Ne,a.version=p,a.videoOverlay=Ro;var Ko=window.L;a.noConflict=function(){return window.L=Ko,this},window.L=a})})(si,si.exports);var Ze=si.exports;function ci(h,d,a){return Object.freeze({instance:h,context:d,container:a})}function di(h,d){return d==null?function(p,m){const x=E.useRef();return x.current||(x.current=h(p,m)),x}:function(p,m){const x=E.useRef();x.current||(x.current=h(p,m));const _=E.useRef(p),{instance:V}=x.current;return E.useEffect(function(){_.current!==p&&(d(V,p,_.current),_.current=p)},[V,p,m]),x}}function fr(h,d){E.useEffect(function(){return(d.layerContainer??d.map).addLayer(h.instance),function(){var x;(x=d.layerContainer)==null||x.removeLayer(h.instance),d.map.removeLayer(h.instance)}},[d,h])}function zn(h){return function(a){const p=li(),m=h(ui(a,p),p);return Cn(p.map,a.attribution),En(m.current,a.eventHandlers),fr(m.current,p),m}}function _r(h,d){const a=di(h,d),p=zn(a);return dr(p)}function gr(h,d){const a=di(h),p=mr(a,d);return hr(p)}function vr(h,d){const a=di(h,d),p=zn(a);return pr(p)}function yr(h,d,a){const{opacity:p,zIndex:m}=d;p!=null&&p!==a.opacity&&h.setOpacity(p),m!=null&&m!==a.zIndex&&h.setZIndex(m)}function br(){return li().map}function ai(){return ai=Object.assign||function(h){for(var d=1;d<arguments.length;d++){var a=arguments[d];for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&(h[p]=a[p])}return h},ai.apply(this,arguments)}
4function wr({bounds:h,boundsOptions:d,center:a,children:p,className:m,id:x,placeholder:_,style:V,whenReady:P,zoom:se,...ae},j){const[$]=E.useState({className:m,id:x,style:V}),[H,he]=E.useState(null);E.useImperativeHandle(j,()=>(H==null?void 0:H.map)??null,[H]);const A=E.useCallback(et=>{if(et!==null&&H===null){const xe=new Ze.Map(et,ae);a!=null&&se!=null?xe.setView(a,se):h!=null&&xe.fitBounds(h,d),P!=null&&xe.whenReady(P),he(ur(xe))}},[]);E.useEffect(()=>()=>{H==null||H.map.remove()},[H]);const Qe=H?ri.createElement(On,{value:H},p):_??null;return ri.createElement("div",ai({},$,{ref:A}),Qe)}const xr=E.forwardRef(wr),Lr=_r(function({position:d,...a},p){const m=new Ze.Marker(d,a);return ci(m,cr(p,{overlayContainer:m}))},function(d,a,p){a.position!==p.position&&d.setLatLng(a.position),a.icon!=null&&a.icon!==p.icon&&d.setIcon(a.icon),a.zIndexOffset!=null&&a.zIndexOffset!==p.zIndexOffset&&d.setZIndexOffset(a.zIndexOffset),a.opacity!=null&&a.opacity!==p.opacity&&d.setOpacity(a.opacity),d.dragging!=null&&a.draggable!==p.draggable&&(a.draggable===!0?d.dragging.enable():d.dragging.disable())}),Pr=gr(function(d,a){const p=new Ze.Popup(d,a.overlayContainer);return ci(p,a)},function(d,a,{position:p},m){E.useEffect(function(){const{instance:_}=d;function V(se){se.popup===_&&(_.update(),m(!0))}function P(se){se.popup===_&&m(!1)}return a.map.on({popupopen:V,popupclose:P}),a.overlayContainer==null?(p!=null&&_.setLatLng(p),_.openOn(a.map)):a.overlayContainer.bindPopup(_),function(){var ae;a.map.off({popupopen:V,popupclose:P}),(ae=a.overlayContainer)==null||ae.unbindPopup(),a.map.removeLayer(_)}},[d,a,m,p])}),Mr=vr(function({url:d,...a},p){const m=new Ze.TileLayer(d,ui(a,p));return ci(m,p)},function(d,a,p){yr(d,a,p);const{url:m}=a;m!=null&&m!==p.url&&d.setUrl(m)}),Tr=1,Cr="ae699e76-ea2b-4bb8-902f-621a07c5c57b",Sr="492d89e6-429b-48af-a3eb-07d024adce52",Or="/__l5e/assets-v1/ae699e76-ea2b-4bb8-902f-621a07c5c57b/gaillon-cover.jpg",Er="a/v1/492d89e6-429b-48af-a3eb-07d024adce52/ae699e76-ea2b-4bb8-902f-621a07c5c57b/gaillon-cover.jpg",zr="gaillon-cover.jpg",Ar=285672,kr="image/jpeg",jr="2026-08-31T19:40:01Z",Ir={version:Tr,asset_id:Cr,project_id:Sr,url:Or,r2_key:Er,original_filename:zr,size:Ar,content_type:kr,created_at:jr},Br=1,Zr="b5e18204-3a2e-4e89-ad32-ee2c9e08e42f",Dr="492d89e6-429b-48af-a3eb-07d024adce52",Nr="/__l5e/assets-v1/b5e18204-3a2e-4e89-ad32-ee2c9e08e42f/foret-fontainebleau.jpg",Rr="a/v1/492d89e6-429b-48af-a3eb-07d024adce52/b5e18204-3a2e-4e89-ad32-ee2c9e08e42f/foret-fontainebleau.jpg",qr="foret-fontainebleau.jpg",Fr=79390,Vr="image/jpeg",Hr="2026-09-17T08:29:34Z",Wr={version:Br,asset_id:Zr,project_id:Dr,url:Nr,r2_key:Rr,original_filename:qr,size:Fr,content_type:Vr,created_at:Hr},Gr=[{id:"csv-1",slug:"fleche-basilique-saint-denis",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Flèche de la basilique cathédrale de Saint-Denis",accroche:"Une flèche de 90 mètres démontée il y a 180 ans. Vos pas la font remonter, pierre après pierre.",description:"La flèche nord de Saint-Denis a été démontée en 1846 après avoir été fragilisée par une tornade. Depuis 2023, un chantier de restitution la reconstruit avec les techniques et matériaux d'époque, au cœur de la nécropole des rois de France. Le chantier est ouvert au public : tailleurs de pierre et forgerons y travaillent sous les yeux des visiteurs. Vos Oboles financent la remontée.",commune:"Saint-Denis",departement:"Seine-Saint-Denis",region:"Île-de-France",lat:48.932549,lng:2.357409,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Guillaume_d_Oliveira_14_55d6740645.jpg",url:"https://www.fondation-patrimoine.org/les-projets/fleche-de-la-basilique-cathedrale-saint-denis/90868",objectif:1e6,collecte:221966,urgent:void 0},{id:"csv-2",slug:"chateau-mereville",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Château de Méréville",accroche:"Le plus beau jardin des Lumières existe encore. Son château, lui, menaçait de s'effondrer.",description:"Fermé au public et dans un état de délabrement critique, le château de Méréville a failli s'écrouler. Le Département de l'Essonne engage 8 millions d'euros pour restaurer le clos et le couvert : charpente, corniches, planchers, façades, tours, perron, terrasses. Les couvreurs et charpentiers du chantier de Notre-Dame y travaillent. Vos Oboles financent la suite.",commune:"Méréville",departement:"Essonne",region:"Île-de-France",lat:48.319551,lng:2.088712,image:"https://img.centrefrance.com/lFpTTFD9UGnduJFy95KxFBTIA5UA0l4Nk-QeehuS-X0/rs:auto:1200:800:1:0/g:sm/bG9jYWw6Ly8vMDAvMDAvMDYvNjgvNzkvMjAwMDAwNjY4NzkxNw.webp",url:"https://www.fondation-
4patrimoine.org/les-projets/chateau-de-mereville/79785",objectif:7e5,collecte:12575,urgent:void 0},{id:"csv-3",slug:"theatre-chateau-la-roche-guyon",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Théâtre du château de La Roche-Guyon",accroche:"Un théâtre souterrain de 1768, enfoui sous le grand salon. Vos pas peuvent rallumer la scène.",description:"Humidité, confinement et insectes xylophages ont ravagé ce théâtre creusé sous le grand salon du château. Deux phases de travaux sont prévues : conservation préventive puis restauration des boiseries, de la scène, des loges, du balcon, des décors et de la machinerie. Lauréat de la Mission Bern 2019, le projet a relancé une collecte en juin 2026. Vos Oboles financent la renaissance de la salle.",commune:"La Roche-Guyon",departement:"Val-d'Oise",region:"Île-de-France",lat:49.081505,lng:1.628985,image:"https://strapi-upload.cdn.fondation-patrimoine.org/102163_i97l61fkyx_whr_2045439f59.jpg",url:"https://www.fondation-patrimoine.org/les-projets/theatre-du-chateau-de-la-roche-guyon/62821",objectif:15e4,collecte:33514,urgent:void 0},{id:"csv-4",slug:"hotel-de-magny-paris",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Hôtel de Magny - Jardin des Plantes, Paris",accroche:"Buffon a travaillé dans cette maison. Elle est au milieu du Jardin des Plantes et presque personne ne la voit.",description:"Rare témoignage du passé royal du Jardin des Plantes, l'Hôtel de Magny est un exemple remarquable d'architecture aristocratique de la fin du règne de Louis XIV. Sélectionné par la Mission Patrimoine en septembre 2025, le chantier a démarré en novembre 2025 pour s'achever fin 2027. Vos Oboles financent la restauration des façades sculptées et la réouverture du lieu.",commune:"Paris 5e",departement:"Paris",region:"Île-de-France",lat:48.844345,lng:2.356233,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Sans_titre_2_0ffafce6df.png",url:"https://www.fondation-patrimoine.org/les-projets/hotel-de-magny/102449",objectif:2e5,collecte:180870,urgent:void 0},{id:"csv-5",slug:"foret-de-fontainebleau",type:"patrimoine_naturel",statut:"collecte_en_cours",title:"Forêt de Fontainebleau",accroche:"La forêt qui a inventé la protection de la nature en France a brûlé. Vos pas la replantent.",description:"Après l'incendie, la Fondation du patrimoine a lancé une collecte d'urgence pour replanter le massif de Fontainebleau avec l'ONF, la ville, le département, la région et le château. Les dons financent les diagnostics post-incendie, les interventions d'urgence contre l'érosion des sols et la réhabilitation des zones brûlées. Les essences retenues visent une meilleure résilience face aux sécheresses. Vos Oboles font repousser la forêt.",commune:"Fontainebleau",departement:"Seine-et-Marne",region:"Île-de-France",lat:48.411111,lng:2.739817,image:Wr.url,url:"https://www.fondation-patrimoine.org/les-projets/sauvons-la-foret-de-fontainebleau-/105641",objectif:2e6,collecte:1215715,urgent:void 0},{id:"csv-6",slug:"basilique-saint-benoit-sur-loire",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Basilique de Saint-Benoît-sur-Loire",accroche:"Douze chapiteaux sculptés dans une tour-porche du XIe siècle. La charpente qui les abrite cède.",description:"Classée Monument Historique dès 1840, la basilique de Fleury présente une dégradation avancée : charpente et couverture en mauvais état, vitraux de la crypte abîmés, protection coupe-feu absente, maçonneries à reprendre. La rénovation du clos et du couvert se déroule en plusieurs phases, à commencer par la tour-porche et le clocher. Vos Oboles financent la mise hors d'eau.",commune:"Saint-Benoît-sur-Loire",departement:"Loiret",region:"Centre-Val de Loire",lat:47.80983,lng:2.304539,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Centre_Val_de_Loire_Loiret_Saint_Bneoit_sur_Loire_Vue_d_ensemble_Abbaye_C_Beaudin_82e7800056.jpg",url:"https://www.fondation-patrimoine.org/les-projets/basilique-de-saint-benoit-sur-loire-dans-le-loiret/92300",objectif:1e5,collecte:52102,urgent:void 0},{id:"csv-7",slug:"abbatiale-thiron-gardais",type:"patrimoine_bati",statut:"collecte_en_cours",t
4itle:"Église abbatiale de Thiron-Gardais",accroche:"Une nef de 64 mètres en coque de navire renversé, étayée depuis 2008. C'est une course contre le temps.",description:"Depuis la disparition du cloître au XIXe siècle, le mur nord de l'abbatiale ne bénéficie d'aucun soutien : l'édifice, déséquilibré, est étayé depuis 2008 et sa charpente continue de se déformer. Lauréate de la Mission Bern 2018, l'abbatiale a vu sa première tranche s'achever en 2021 et la deuxième en 2025. Vos Oboles financent la consolidation du mur nord.",commune:"Thiron-Gardais",departement:"Eure-et-Loir",region:"Centre-Val de Loire",lat:48.312784,lng:.991815,image:"https://strapi-upload.cdn.fondation-patrimoine.org/34697_4tt12xknki_whr_3a837a0a65.jpg",url:"https://www.fondation-patrimoine.org/les-projets/eglise-abbatiale-de-thiron-gardais/14573",objectif:570337,collecte:143834,urgent:void 0},{id:"csv-8",slug:"ateliers-lorin-chartres",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Ateliers Lorin - Chartres",accroche:"Une tour d'exposition unique en France pour vérifier les vitraux à la lumière du jour. Elle est étayée.",description:"Les 1 500 m² des Ateliers Lorin réunissent fours anciens, atelier, salle de peinture, salle de cuisson, réserves de verre et une tour d'exposition unique en France. Fortement dégradés, les bâtiments compromettent le maintien de l'activité artisanale sur place. Lauréat de la Mission Patrimoine 2023, le chantier a démarré à l'automne 2023. Vos Oboles maintiennent sept maîtres verriers au travail.",commune:"Chartres",departement:"Eure-et-Loir",region:"Centre-Val de Loire",lat:48.448642,lng:1.491061,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Ateliers_Lorin_3_0_c_Fondation_du_patrimoine_My_Photo_Agency_Jean_Marc_Pomme_1fa508e0f8.jpg",url:"https://www.fondation-patrimoine.org/les-projets/ateliers-lorin-a-chartres/85224",objectif:1e5,collecte:17573,urgent:void 0},{id:"csv-9",slug:"commanderie-arville",type:"patrimoine_mobilier",statut:"collecte_en_cours",title:"Commanderie templière d'Arville - Ancien logis et presbytère",accroche:"L'un des sites templiers les mieux conservés de France. Le bâtiment d'accueil, lui, est presque inutilisé.",description:"Construit sur une partie du logis médiéval, l'ancien presbytère d'Arville est aujourd'hui quasiment inutilisé alors qu'il occupe l'emplacement idéal entre le porche monumental et l'église. Le projet prévoit une restauration complète axée sur la performance énergétique : reprise des maçonneries extérieures et réfection partielle de la couverture. Lauréat de la Mission Patrimoine 2024. Vos Oboles ouvrent la porte d'entrée du site.",commune:"Couëtron-au-Perche",departement:"Loir-et-Cher",region:"Centre-Val de Loire",lat:48.063875,lng:.94781,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Vue_aerienne_N_HUTTEAU_da0e360670.jpg",url:"https://www.fondation-patrimoine.org/les-projets/lancien-logis-et-presbytere-de-la-commanderie-darville/100945",objectif:15e3,collecte:16220,urgent:void 0},{id:"csv-10",slug:"eglise-yevre-le-chatel",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église Saint-Gault de Yèvre-le-Châtel",accroche:"Un village de 200 habitants classé parmi les Plus Beaux Villages de France, 100 000 visiteurs par an. Et des voûtes qui se dégradent.",description:"Après la restauration des maçonneries extérieures, des vitraux et des couvertures, la commune engage la réfection complète de l'intérieur : voûtes et plafonds fortement dégradés, charpente, menuiserie, électricité. Inscrite à l'inventaire supplémentaire des Monuments Historiques depuis 1925, l'église est située dans la basse-cour du château médiéval. Lauréate de la Mission Patrimoine, elle a vu ses travaux démarrer fin 2025. Vos Oboles financent l'intérieur.",commune:"Yèvre-la-Ville",departement:"Loiret",region:"Centre-Val de Loire",lat:48.160428,lng:2.335354,image:"https://strapi-upload.cdn.fondation-patrimoine.org/386955_tlxrsm7dcb_whr_033b024f98.jpg",url:"https://www.fondation-patrimoine.org/les-projets/eglise-saint-gault-de-yevre-le-chatel/76197",objectif:22e3,collecte:20440,urgent:void 0},{id:"csv-11",slug:"abbaye-citeaux",type:"patrimoine_bati",statut:"collecte_en_cours",t
4itle:"Abbaye Notre-Dame de Cîteaux - Le Définitoire",accroche:"Le bâtiment où l'on gouvernait tous les monastères cisterciens d'Europe. Il est en péril.",description:"Le Définitoire, où se tenait le chapitre général réunissant les abbés de tous les monastères cisterciens, est en grande partie désaffecté et aujourd'hui en situation de péril. Les moines engagent la restauration prioritaire des murs et de la toiture. Lauréat de la Mission Patrimoine, le chantier a démarré en mars 2025. Vos Oboles financent le sauvetage.",commune:"Saint-Nicolas-lès-Cîteaux",departement:"Côte-d'Or",region:"Bourgogne-Franche-Comté",lat:47.123148,lng:5.073702,image:"https://strapi-upload.cdn.fondation-patrimoine.org/abbayenotredamedeciteau2_1cabc62a8f.jpg",url:"https://www.fondation-patrimoine.org/les-projets/abbaye-notre-dame-de-citeaux/60121",objectif:13e5,collecte:1157215,urgent:void 0},{id:"csv-12",slug:"grande-saline-salins-les-bains",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Grande Saline de Salins-les-Bains - La galerie souterraine",accroche:"Une galerie souterraine de 165 mètres, voûtée de pierre, à dix mètres sous vos pieds. Elle se fissure.",description:"Les travées 34 à 38 de la galerie souterraine présentent des fissures et des déformations importantes qui condamnent à terme l'ouvrage. Des travaux de confortation structurelle et de maçonnerie sont indispensables pour maintenir l'accueil du public. Lauréate de la Mission Patrimoine 2022, la saline a déjà vu restaurer sa poêle à sel et son balancier. Vos Oboles financent la galerie.",commune:"Salins-les-Bains",departement:"Jura",region:"Bourgogne-Franche-Comté",lat:46.937577,lng:5.876188,image:"https://strapi-upload.cdn.fondation-patrimoine.org/150806_341_Salins_Bestjobers_min_d54bbb60ee.jpg",url:"https://www.fondation-patrimoine.org/les-projets/la-grande-saline-de-salins-les-bains/79218",objectif:175e3,collecte:13986,urgent:void 0},{id:"csv-13",slug:"collegiale-semur-en-auxois",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Collégiale Notre-Dame de Semur-en-Auxois",accroche:"Mérimée l'appelait l'un des monuments les plus remarquables de Bourgogne. Sa flèche de pierre est menacée.",description:"Malgré les travaux menés de 1999 à 2006, la collégiale connaît de nombreux désordres de structure et son état de conservation est jugé très inquiétant. La première tranche porte sur la restauration de la flèche de pierre à la croisée du transept : maçonnerie, sculptures, charpente, abat-sons. Lauréate de la Mission Patrimoine 2025, la collecte a démarré en mai 2024. Vos Oboles financent la flèche.",commune:"Semur-en-Auxois",departement:"Côte-d'Or",region:"Bourgogne-Franche-Comté",lat:47.490597,lng:4.332713,image:"https://strapi-upload.cdn.fondation-patrimoine.org/P1410204_Copie_8ff8548139.JPG",url:"https://www.fondation-patrimoine.org/les-projets/collegiale-de-semur-en-auxois/2563",objectif:3e5,collecte:203848,urgent:void 0},{id:"csv-14",slug:"abbaye-saint-colomban-luxeuil",type:"patrimoine_naturel",statut:"collecte_en_cours",title:"Ancienne abbaye Saint-Colomban - Luxeuil-les-Bains",accroche:"En 2015, deux poutres cèdent. En 2024, une troisième. Le rez-de-chaussée est condamné.",description:"Des infiltrations à répétition ont fragilisé l'abbaye : deux abouts de sommiers ont cédé en 2015, un nouvel étaiement a été posé en mars 2024, le rez-de-chaussée est condamné et l'édifice est fermé au public. Les désordres touchent aussi le péristyle d'architecture Eiffel, la galer
4ie au-dessus du cloître et 52 fenêtres anciennes. Lauréate de la Mission Patrimoine 2024. Vos Oboles sortent la chapelle du péril.",commune:"Luxeuil-les-Bains",departement:"Haute-Saône",region:"Bourgogne-Franche-Comté",lat:47.816146,lng:6.380886,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Abbaye_Saint_Colomban_de_Luxeuil_BOIH_5208_c2a7341e33_ffaa18226f.jpeg",url:"https://www.fondation-patrimoine.org/les-projets/ancienne-abbaye-saint-colomban-a-luxeuil-les-bains-en-haute-saone/101365",objectif:3e5,collecte:208550,urgent:void 0},{id:"csv-15",slug:"temple-saint-martin-montbeliard",type:"patrimoine_mobilier",statut:"collecte_en_cours",title:"Temple Saint-Martin de Montbéliard",accroche:"Le plus ancien temple protestant encore en usage en France. Sous ses murs, des peintures cachées depuis 1837.",description:"Des sondages réalisés en 2019 ont révélé des peintures murales datant de la construction du temple, dissimulées lors de la restauration de 1837, ainsi que des chapiteaux de pilastres sculptés. La restauration en cours redécouvre ces décors des XVIIe et XVIIIe siècles tout en refondant sols, plafond, chauffage par géothermie, électricité, éclairage et sonorisation. Vos Oboles financent la mise au jour.",commune:"Montbéliard",departement:"Doubs",region:"Bourgogne-Franche-Comté",lat:47.510346,lng:6.797307,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Temple_Saint_Martin_de_Montbeliard_c_Francis_Meslet_F_MESLET_Temple_St_Martin_Montbeliard_2023_01_d281639969.jpg",url:"https://www.fondation-patrimoine.org/les-projets/temple-saint-martin-de-montbeliard/32860",objectif:9e5,collecte:479273,urgent:void 0},{id:"csv-16",slug:"chateau-gaillon",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Château de Gaillon",accroche:"Le premier château Renaissance de France est en Normandie, pas dans la Loire. Il était inoccupé depuis des années.",description:"Inoccupé depuis des années, le château de Gaillon fait l'objet d'un vaste programme de réhabilitation estimé à près de 22 millions d'euros. À l'issue des travaux, les bâtiments et jardins restaurés accueilleront un pôle de médiation autour des métiers du patrimoine et le conservatoire de musique et d'art dramatique de l'agglomération. Vos Oboles financent les renaissances de Gaillon.",commune:"Gaillon",departement:"Eure",region:"Normandie",lat:49.158618,lng:1.343799,image:Ir.url,url:"https://www.fondation-patrimoine.org/les-projets/chateau-de-gaillon/80478",objectif:1e5,collecte:48834,urgent:void 0},{id:"csv-17",slug:"abbaye-saint-wandrille",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Abbaye Saint-Wandrille - Aile Est",accroche:"Une alerte lancée en 2000, une consolidation demandée sous cinq ans. Vingt-cinq ans plus tard, les fissures s'élargissent.",description:"Dès 2000, l'architecte en chef des Monuments Historiques alertait sur le défaut de stabilité de l'aile Est. Vingt-cinq ans plus tard, de nouvelles fissures apparaissent régulièrement. Les travaux de restauration sont estimés à 2 millions d'euros et incluent la charpente, la bibliothèque et l'infirmerie de la communauté. Vos Oboles financent la stabilisation.",commune:"Saint-Wandrille-Rançon",departement:"Seine-Maritime",region:"Normandie",lat:49.529968,lng:.761959,image:"https://strapi-upload.cdn.fondation-patrimoine.org/AILE_EST_20ff4da176.jpg",url:"https://www.fondation-patrimoine.org/les-projets/cloitre-de-labbaye-de-fontenelle-a-saint-wandrille-rancon/30370",objectif:1e5,collecte:69810,urgent:void 0},{id:"csv-18",slug:"eglise-etretat",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église Notre-Dame de l'Assomption d'Étretat",accroche:"Elle domine les falaises que le monde entier photographie. Sa charpente prend l'eau.",description:"Après un diagnostic complet en 2019 et une première phase d'urgence de 845 000 € engagée en 2021 sur la charpente, la couverture de la nef, la façade occidentale et le portail, la seconde phase de 955 000 € porte le montant global au-delà de 1,8 million d'euros. Elle concerne les bas-côtés romans et gothiques, la nef gothique et la désolidarisation du beffroi. Vos Oboles financent la mise hors d'eau.",commune:"Étretat",departement:"Seine-Maritime",region:"Normandie",lat:49.708805,lng:.213525,image:"https://strapi-upload.cdn.fondation-
4patrimoine.org/20220211_103850_bcae2e17b4.jpg",url:"https://www.fondation-patrimoine.org/les-projets/eglise-notre-dame-etretat/76003",objectif:25e4,collecte:242034,urgent:void 0},{id:"csv-19",slug:"basilique-montligeon",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Basilique Notre-Dame de Montligeon",accroche:"Une cathédrale de 74 mètres au milieu des champs du Perche, bâtie par un curé de campagne.",description:"Construite entre 1894 et 1911 dans un style néogothique, la basilique est inscrite au titre des Monuments Historiques et menacée aujourd'hui par l'usure. Ses vitraux forment un ensemble unique retraçant l'évolution de l'art du vitrail de 1912 à 1978. Le sanctuaire accueille chaque année des milliers de pèlerins et visiteurs. Vos Oboles financent la sauvegarde de l'édifice.",commune:"La Chapelle-Montligeon",departement:"Orne",region:"Normandie",lat:48.479164,lng:.65793,image:"https://strapi-upload.cdn.fondation-patrimoine.org/basilique_de_Montligeon_Vue_de_devant_376f98efbf.jpg",url:"https://www.fondation-patrimoine.org/les-projets/la-basilique-notre-dame-de-montligeon/2089",objectif:1488778,collecte:448870,urgent:void 0},{id:"csv-20",slug:"marite-granville",type:"patrimoine_mobilier",statut:"collecte_en_cours",title:"Le Marité - Dernier terre-neuvier français",accroche:"Le plus grand voilier en bois du patrimoine français. Un champignon lignivore ronge sa coque.",description:"Mis à sec en novembre 2023 pour un grand carénage, le Marité a révélé la présence d'un champignon lignivore en fond de cale. L'ensemble des bordés, des membrures et la carlingue qui rigidifie la coque doivent être changés, avec un traitement fongicide et un système de ventilation. Objectif : être présent à l'Armada de Rouen en juillet 2027. Vos Oboles remettent le navire à flot.",commune:"Granville",departement:"Manche",region:"Normandie",lat:48.835799,lng:-1.605418,image:"https://strapi-upload.cdn.fondation-patrimoine.org/GIP_Marite_O_Lemaignen_2_c7b0e14708.jpg",url:"https://www.fondation-patrimoine.org/les-projets/navire-la-marite/101674",objectif:25e4,collecte:235730,urgent:void 0},{id:"csv-21",slug:"centre-historique-minier-lewarde",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Centre Historique Minier de Lewarde - Fosse Delloye",accroche:"Un chevalement, une passerelle, une lampisterie. Le bassin minier UNESCO se corrode.",description:"Plusieurs bâtiments construits entre 1910 et 1930 souffrent d'une dégradation avancée due aux infiltrations et à la corrosion des structures métalliques. Les dons permettront de restaurer le puits n°2 avec son chevalement, la passerelle du personnel et la couverture de la lampisterie, selon les exigences des Monuments Historiques. Vos Oboles sauvent trois ouvrages emblématiques.",commune:"Lewarde",departement:"Nord",region:"Hauts-de-France",lat:50.335689,lng:3.168385,image:"https://upload.wikimedia.org/wikipedia/commons/4/45/Lewarde_-_Fosse_Delloye_des_mines_d'Aniche_(311).JPG",url:"https://www.fondation-patrimoine.org/les-projets/centre-historique-minier-de-lewarde/100912",objectif:1e5,collecte:4596,urgent:void 0},{id:"csv-22",slug:"abbaye-ourscamp",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Ruines du chœur de l'abbaye d'Ourscamp",accroche:"Une dentelle de pierre à ciel ouvert, sous périmètre de sécurité depuis 2019. Elle a un an devant elle.",description:"En 2019, des pierres sont tombées du haut des voûtes du chœur gothique, révélant un risque élevé de chute et imposant un périmètre de sécurité. Le sauvetage est urgent pour éviter l'écroulement. Lauréat départemental de la Mission Patrimoine 2022 et du Fonds Impact de la Fondation du patrimoine, le chantier doit s'achever en 2027. Vos Oboles empêchent l'effondrement.",commune:"Chiry-Ourscamp",departement:"Oise",region:"Hauts-de-France",lat:49.539185,lng:2.956197,image:"https://strapi-upload.cdn.fondation-patrimoine.org/207292_asaaasf1x6_xlarge_1dddec516a.jpg",url:"https://www.fondation-patrimoine.org/les-projets/abbaye-dourscamp/61486",objectif:15e4,collecte:33405,urgent:void 0},{id:"csv-23",slug:"chateau-royal-senlis",type:"patrimoine_bati",statut:"collecte_en_cours",t
4itle:"Château royal de Senlis",accroche:"Hugues Capet a été élu roi ici, en 987. La plus ancienne résidence royale de France s'effondre.",description:"Chutes de pierres, végétation envahissante, parements, joints, murs et pignons fragilisés : le diagnostic de l'architecte en chef des Monuments Historiques alerte sur la pérennité du site. Sélectionné par la Mission Patrimoine en mars 2026, le chantier a démarré en avril 2026 pour s'achever fin 2027. Vos Oboles sauvent le berceau de la dynastie capétienne.",commune:"Senlis",departement:"Oise",region:"Hauts-de-France",lat:49.207336,lng:2.587679,image:"https://strapi-upload.cdn.fondation-patrimoine.org/pm_37_401_401754_2fs8qvrjla_whr_7f7546b260.jpg",url:"https://www.fondation-patrimoine.org/les-projets/le-chateau-royal-de-senlis/105086",objectif:15e4,collecte:21855,urgent:void 0},{id:"csv-24",slug:"orgue-cathedrale-soissons",type:"patrimoine_mobilier",statut:"collecte_en_cours",title:"Grand orgue de la cathédrale de Soissons",accroche:"Dans la nuit du 12 janvier 2017, la tempête arrache la rose. Elle tombe sur l'orgue.",description:"La tempête Egon a soufflé la rose occidentale de la cathédrale, dont les décombres ont rendu l'orgue inutilisable. L'instrument mutilé a été entièrement démonté en 2018 et diagnostiqué ; sa restauration porte sur des milliers de tuyaux et des pièces mécaniques complexes. La rose a été restaurée en 2022, les travaux sur l'orgue démarrent en 2026. Vos Oboles rendent sa voix à la cathédrale.",commune:"Soissons",departement:"Aisne",region:"Hauts-de-France",lat:49.380791,lng:3.324173,image:"https://strapi-upload.cdn.fondation-patrimoine.org/pm_37_364_364165_bmo8ri25ji_whr_fba195531b.jpg",url:"https://www.fondation-patrimoine.org/les-projets/sauver-et-reconstruire-lorgue-de-tribune-de-la-cathedrale-de-soissons/100693",objectif:3e5,collecte:280100,urgent:void 0},{id:"csv-25",slug:"ferme-nord-zuydcoote",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Ferme Nord de Zuydcoote",accroche:"Une ferme modèle au milieu des dunes, dans le décor du plus célèbre roman de la poche de Dunkerque.",description:"La Ferme Nord doit devenir la Maison du Grand Site des Dunes de Flandre. Sa réhabilitation, en deux phases, créera un lieu d'accueil, une halte vélo-rando, un espace consacré à l'histoire de la ferme et du territoire pendant la Seconde Guerre mondiale, et des bureaux pour les gestionnaires du Grand Site. Lauréate de la Mission Patrimoine 2025. Vos Oboles ouvrent la porte des dunes.",commune:"Zuydcoote",departement:"Nord",region:"Hauts-de-France",lat:51.064323,lng:2.488309,image:"/__l5e/assets-v1/95ee5556-2283-4821-93ec-ce4785511007/ferme-nord-zuydcoote.jpg",url:"https://www.fondation-patrimoine.org/les-projets/ferme-nord-a-zuydcoote/79812",objectif:1e5,collecte:13455,urgent:void 0},{id:"csv-26",slug:"palais-du-tau-reims",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Chapelle palatine du palais du Tau - Reims",accroche:"Trente rois de France ont dormi ici la veille de leur sacre. La chapelle attend ses nouveaux vitraux.",description:"Le palais du Tau, résidence des archevêques de Reims et lieu de séjour des rois lors de leur sacre, doit devenir le Musée des sacres. Le projet porte sur la restauration de la chapelle palatine et la création de vitraux contemporains sur le thème du drapé, confiés à Anne et Patrick Poirier et exécutés par les ateliers Duchemin et Simon-Marq. Les travaux s'achèvent fin 2026. Vos Oboles financent la chapelle.",commune:"Reims",departement:"Marne",region:"Grand Est",lat:49.253005,lng:4.033466,image:"https://strapi-upload.cdn.fondation-patrimoine.org/20260429_174021n_95c7db7497.jpg",url:"https://www.fondation-patrimoine.org/les-projets/chapelle-du-palais-du-taumusee-des-sacres-a-reims/100834",objectif:1e6,collecte:621815,urgent:void 0},{id:"csv-27",slug:"mont-sainte-odile",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Mont Sainte-Odile",accroche:"Un promontoire à 763 mètres, un rocher qui s'érode, des terrasses instables. Des centaines de milliers de visiteurs par an.",description:"Initialement centrée sur les chapelles, la collecte s'élargit à la mise en sécurité de l'ensemble du site : stabilisation du promontoire, restauration des chapelles des Anges et des Larmes avec leurs mosaïques, renforcement des plateformes et du rocher. Lauréat de la Mission Patrimoine 2024, le chantier démarre à l'automne 2026. Vos Oboles sécurisent le sanctuaire de l'Alsace.",commune:"Ottrott",departement:"Bas-Rhin",region:"Grand Est",lat:48.437196,lng:7.403973,image:"https://strapi-upload.cdn.fondation-
4patrimoine.org/Photos_01_Mont_Sainte_Odile_sud_est_6f5f45dd80.JPG",url:"https://www.fondation-patrimoine.org/les-projets/le-mont-sainte-odile/90867",objectif:6e5,collecte:528009,urgent:void 0},{id:"csv-28",slug:"eglise-hautvillers-dom-perignon",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église Saint-Sindulphe de Hautvillers",accroche:"Dom Pérignon repose ici. L'église où il a inventé le champagne a le clocher fragilisé.",description:"La restauration générale, programmée sur trois années, concerne l'ensemble des ouvrages avec un point majeur : le renforcement structurel du clocher. Elle couvre le clos et couvert des façades, le chevet et ses baies, la sacristie, la chapelle Jeanne d'Arc, ainsi que l'intérieur. Les travaux de la première tranche ont démarré en décembre 2025. Vos Oboles consolident le clocher.",commune:"Hautvillers",departement:"Marne",region:"Grand Est",lat:49.082829,lng:3.94092,image:"https://strapi-upload.cdn.fondation-patrimoine.org/360847_ujwoip51io_whr_90300b4f84.jpg",url:"https://www.fondation-patrimoine.org/les-projets/eglise-saint-sindulphe-dhautvillers/101942",objectif:5e5,collecte:41845,urgent:void 0},{id:"csv-29",slug:"ecluse-le-corbusier-kembs-niffer",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Écluse Le Corbusier de Kembs-Niffer",accroche:"La seule réalisation de Le Corbusier en Alsace. Deux bâtiments de béton et de verre, à l'abandon.",description:"Une tour de contrôle et un bâtiment administratif conçus par Le Corbusier, inscrits Monuments Historiques depuis 2005, se dégradaient faute d'entretien : bétons, murs, portes, fenêtres et sols doivent être rénovés. Retenu comme projet de maillage de la Mission Bern 2020, le chantier de la tour de contrôle a démarré en mai 2025. Vos Oboles restaurent une commande publique rare.",commune:"Niffer",departement:"Haut-Rhin",region:"Grand Est",lat:47.711129,lng:7.506014,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Le_Corbusier_Alexandra_LEBON_1_2912d7b92f.jpg",url:"https://www.fondation-patrimoine.org/les-projets/ecluse-le-corbusier-de-kembs-niffer/59138",objectif:2e5,collecte:124765,urgent:void 0},{id:"csv-30",slug:"chartreuse-mont-dieu",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Chartreuse du Mont-Dieu",accroche:"Le 2 novembre 2025 au matin, le logis principal brûle entièrement. Il ne reste que les murs.",description:"Un incendie a réduit en cendres tout le logis principal de la première chartreuse de France, à l'exception des murs et de quelques voûtes. Tous les décors peints sur les poutres et la charpente ont disparu. Les propriétaires engagent d'abord la protection des maçonneries avant l'hiver, puis la restauration de la charpente et de la couverture. Vos Oboles financent l'urgence.",commune:"Le Mont-Dieu",departement:"Ardennes",region:"Grand Est",lat:49.54703,lng:4.86555,image:"https://strapi-upload.cdn.fondation-patrimoine.org/390480_rr02wfk49r_whr_21339ebdae.jpg",url:"https://www.fondation-patrimoine.org/les-projets/chartreuse-du-mont-dieu/104186",objectif:5e5,collecte:22137,urgent:void 0},{id:"csv-31",slug:"notre-dame-du-pre-le-mans",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église Notre-Dame-du-Pré - Le Mans",accroche:"La plus ancienne église du Mans, en face de la Cité Plantagenêt. Ses toitures laissent passer l'eau.",description:"Classée Monument Historique sur la toute première liste de 1840, l'église voit ses toitures en très mauvais état provoquer des infiltrations et l'altération progressive des charpentes, des voûtes et des élévations. Le chantier porte sur la charpente, la couverture, la maçonnerie, la pierre de taille et la restauration d'éléments de sculpture. Fin prévue en décembre 2026. Vos Oboles financent la couverture.",commune:"Le Mans",departement:"Sarthe",region:"Pays de la Loire",lat:48.009904,lng:.192257,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Eglise_du_Pre_Ville_du_Mans_Arnaud_Despelchain_09_fb00dab097.jpg",url:"https://www.fondation-patrimoine.org/les-projets/eglise-notre-dame-du-pre-au-mans/100805",objectif:5e4,collecte:29745,urgent:void 0},{id:"csv-32",slug:"porte-beucheresse-laval",type:"patrimoine_bati",statut:"collecte_en_cours",t
4itle:"Porte Beucheresse - Laval",accroche:"Le Douanier Rousseau est né dans cette porte de ville. Elle a dû être étayée en urgence.",description:"L'étude sanitaire des remparts de Laval a révélé des fragilités majeures, certaines parties devant être traitées en urgence absolue face au risque d'effondrement, dont la porte Beucheresse. Des travaux d'étayage ont été conduits durant l'hiver 2020 avant une restauration complète. Lauréate de la Mission Patrimoine 2022. Vos Oboles rouvrent l'accès au public.",commune:"Laval",departement:"Mayenne",region:"Pays de la Loire",lat:48.067539,lng:-.77372,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Porte_Beucheresse_c_Fondation_du_patrimoine_My_Photo_Agency_Simon_Bourcier_25_72a3bc3dd3.jpg",url:"https://www.fondation-patrimoine.org/les-projets/porte-beucheresse-laval/79047",objectif:1e5,collecte:4587,urgent:void 0},{id:"csv-33",slug:"moulin-de-brissac",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Moulin du Pavé dit de Brissac",accroche:"Il figurait sur toutes les cartes postales de l'Anjou. Il a perdu ses ailes en 1996 et menace de s'effondrer.",description:"Après deux éboulements importants sur ses versants nord et sud, le moulin menace de s'effondrer complètement. Les propriétaires qui l'ont racheté en 2020 restaurent la masse en lauzes d'ardoise, les voûtes en tuffeau et la hucherolle en chêne, avant la restitution des ailes. Lauréat de la Mission Patrimoine 2023. Vos Oboles lui rendent ses ailes.",commune:"Les Garennes-sur-Loire",departement:"Maine-et-Loire",region:"Pays de la Loire",lat:47.397416,lng:-.451593,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Vue_Drone_4d5d975a3f.jpg",url:"https://www.fondation-patrimoine.org/les-projets/moulin-du-pave-dit-de-brissac-aux-garennes-sur-loire/67651",objectif:9e4,collecte:16401,urgent:void 0},{id:"csv-34",slug:"theatre-tivoli-clisson",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Théâtre le Tivoli - Clisson",accroche:"Un incendie en 2008 emporte le toit. Depuis dix-huit ans, le théâtre est à ciel ouvert.",description:"En 2008, un important incendie emporte le toit principal et les menuiseries extérieures du Tivoli. Le projet, porté par la mairie et l'association Sauvons le Tivoli, restaure à l'identique ces éléments pour rendre le théâtre clos et couvert. Lauréat de la Mission Patrimoine 2025, le chantier a démarré en septembre 2025. Vos Oboles remettent le toit.",commune:"Clisson",departement:"Loire-Atlantique",region:"Pays de la Loire",lat:47.089109,lng:-1.278701,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Theatre_Le_Tivoli_Clisson_2_631f065447.jpg",url:"https://www.fondation-patrimoine.org/les-projets/theatre-le-tivoli-a-clisson/101850",objectif:8e4,collecte:50165,urgent:void 0},{id:"csv-35",slug:"chateau-escurays-prinquiau",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Château de l'Escurays - Prinquiau",accroche:"Un manoir breton médiéval dans un parc de 25 hectares, acquis par sa commune en 1994.",description:"Après avoir réhabilité la maison du Bienveillant, la commune restaure le château lui-même : remplacement de la couverture très abîmée, restauration des charpentes, façades et lucarnes, restitution de la tour médiévale et aménagement des pièces principales du rez-de-chaussée. Fin des travaux intérieurs prévue fin 2027. Vos Oboles financent la tour et les salons.",commune:"Prinquiau",departement:"Loire-Atlantique",region:"Pays de la Loire",lat:47.367566,lng:-2.006422,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Photo_Pascal_COLLIN_aa98551ee1.JPG",url:"https://www.fondation-patrimoine.org/les-projets/le-chateau-de-lescurays-a-prinquiau/74674",objectif:65e3,collecte:53799,urgent:void 0},{id:"csv-36",slug:"phare-petit-minou",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Phare du Petit Minou - Plouzané",accroche:"L'image la plus reproduite de la côte bretonne. Fermée à la visite depuis 2024.",description:"Toujours en activité, le phare subit d'importantes infiltrations par la lanterne et par des fissures visibles le long du fût. La tempête Ciaran de novembre 2023 a aggravé les désordres : la lanterne reste bâchée et le phare est fermé à la visite depuis début 2024. Lauréat de la Mission Patrimoine 2025, le chantier a démarré en n
4ovembre 2025. Vos Oboles rouvrent le phare.",commune:"Plouzané",departement:"Finistère",region:"Bretagne",lat:48.36514,lng:-4.616141,image:"https://strapi-upload.cdn.fondation-patrimoine.org/pm_37_365_365258_7er9w3gc3k_whr_1859ca6ec8.jpg",url:"https://www.fondation-patrimoine.org/les-projets/phare-du-petit-minou/102700",objectif:1e5,collecte:63876,urgent:void 0},{id:"csv-37",slug:"sainte-anne-d-auray",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Sanctuaire de Sainte-Anne-d'Auray - Hôtellerie des Carmes",accroche:"Le premier lieu de pèlerinage de Bretagne. Son académie de musique travaille dans un bâtiment vétuste depuis 1950.",description:"L'Hôtellerie des Carmes et sa porterie, plus de 1 500 m² sur trois étages, abritent depuis 1999 l'Académie de Musique et d'Arts Sacrés. L'ensemble n'a pas connu de travaux d'ampleur depuis les années 1950 : installation électrique défectueuse, eau non potable, absence d'isolation, fenêtres bloquées, sanitaires dégradés. Vos Oboles remettent en état le cœur de l'Académie.",commune:"Sainte-Anne-d'Auray",departement:"Morbihan",region:"Bretagne",lat:47.703132,lng:-2.929263,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Sanctuaire_Ste_Anne_Auray_octobre2010_auteur_de_vues_245376ab9c.jpg",url:"https://www.fondation-patrimoine.org/les-projets/sainte-anne-d-auray-heritiers-devenez-batisseurs/13517",objectif:4e5,collecte:131220,urgent:void 0},{id:"csv-38",slug:"eglise-saint-ronan-locronan",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église Saint-Ronan - Locronan",accroche:"La place de Locronan est un décor de cinéma intact. L'eau s'infiltre dans ses vitraux du XVe siècle.",description:"Classée Monument Historique depuis 1846, l'église souffre de problèmes d'étanchéité graves : les entrées d'eau endommagent charpentes et voûtes, mais aussi les décors peints et les vitraux, très abîmés. Une restauration d'ampleur est engagée depuis 2025 pour lui rendre sa splendeur médiévale. Vos Oboles protègent les verrières de la Passion.",commune:"Locronan",departement:"Finistère",region:"Bretagne",lat:48.096787,lng:-4.208113,image:"https://strapi-upload.cdn.fondation-patrimoine.org/354364_3lylct3wp2_whr_05ea93c1f7.jpg",url:"https://www.fondation-patrimoine.org/les-projets/retable-rosaire-de-leglise-saint-ronan-a-locronan/43412",objectif:5e4,collecte:15700,urgent:void 0},{id:"csv-39",slug:"penitencier-belle-ile-en-mer",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Ancienne colonie pénitentiaire de Belle-Île-en-Mer",accroche:"On l'a appelé le bagne pour enfants. Abandonné depuis 1977, il perd son toit.",description:"Les bâtiments sont à l'abandon depuis 1977 : la couverture en ardoise s'envole par endroits, la charpente montre des signes de faiblesse, les huisseries ont totalement disparu. Les travaux soutenus par la Mission Patrimoine 2022 portent sur la mise hors d'eau et hors d'air, estimée à près de 2 millions d'euros, avant réhabilitation intérieure. Vos Oboles sauvent un lieu de mémoire.",commune:"Le Palais",departement:"Morbihan",region:"Bretagne",lat:47.344657,lng:-3.156363,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Ancienne_colonie_maritime_et_agricole_de_Belle_Ile_en_Mer_c_Fondation_du_patrimoine_My_Photo_Agency_Jean_Yves_GAUTI_5_98f791d398.jpg",url:"https://www.fondation-patrimoine.org/les-projets/ancienne-colonie-penitentiaire-de-belle-ile-en-mer/79048",objectif:3e5,collecte:38330,urgent:void 0},{id:"csv-40",slug:"ile-aux-moines-sept-iles",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Phare, fort et caserne de l'Île aux Moines - Sept-Îles",accroche:"L'île où est née la protection des oiseaux en France. Ses bâtiments ont été réparés avec de mauvais matériaux.",description:"Des travaux d'urgence ont préservé les bâtiments mais avec des matériaux inadaptés : une restauration respectueuse est désormais nécessaire. Le phare doit voir sa couverture refaite, ses maçonneries rejointoyées et ses menuiseries remplacées ; la caserne nécessite une reprise des fondations, du mur d'enceinte et la restauration de la chapelle. Projet emblématique breton de la Mission Bern 2020. Vos Oboles restaurent l'archipel.",commune:"Perros-Guirec",departement:"Côtes-d'Armor",region:"Bretagne",lat:48.816075,lng:-3.446165,image:"https://upload.wikimedia.org/wikipedia/commons/8/8b/Moines05.JPG",url:"https://www.fondation-
4patrimoine.org/les-projets/phare-fort-et-caserne-de-lile-aux-moines/67362",objectif:5e4,collecte:23939,urgent:void 0},{id:"csv-41",slug:"fort-boyard",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Fort Boyard",accroche:"Des millions de personnes le connaissent par la télévision. Personne n'y est jamais entré. En 2028, ce sera possible.",description:"Le Département de la Charente-Maritime a lancé un projet de sauvegarde de 2025 à 2028 : réfection du talus très dégradé qui entoure l'ouvrage, restitution d'un havre d'accostage au sud-est et d'un éperon au nord-ouest. Lauréat de la Mission Patrimoine 2026, le chantier doit permettre l'ouverture au public en 2028, une première dans l'histoire du fort. Vos Oboles ouvrent Fort Boyard.",commune:"Île-d'Aix",departement:"Charente-Maritime",region:"Nouvelle-Aquitaine",lat:46.020385,lng:-1.169863,image:"https://strapi-upload.cdn.fondation-patrimoine.org/medium_7_caroussel_site_Fdp_Home_projet_2_Dept17_8960ef81ae.jpg",url:"https://www.fondation-patrimoine.org/les-projets/fort-boyard-en-charente-maritime/101891",objectif:14e5,collecte:649632,urgent:void 0},{id:"csv-42",slug:"oradour-sur-glane",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Village martyr d'Oradour-sur-Glane",accroche:"Dix hectares de ruines conservées en l'état depuis 1944. Le temps les efface plus vite que prévu.",description:"Malgré l'entretien constant assuré par le ministère de la Culture, le temps et les intempéries provoquent une érosion des ruines qui s'amplifie. Le nouveau plan de gestion prévoit d'amplifier les travaux conservatoires sur les dix hectares : cristallisation des éléments les plus sensibles, restauration de diverses parties du site, protection des biens mobiliers dont les carcasses de véhicules. Vos Oboles conservent la mémoire.",commune:"Oradour-sur-Glane",departement:"Haute-Vienne",region:"Nouvelle-Aquitaine",lat:45.928145,lng:1.037099,image:"https://strapi-upload.cdn.fondation-patrimoine.org/village_martyr_d_Oradour_Credits_Benoit_SADRY_Fondation_du_patrimoine_Limousin_43_a351905e21.JPG",url:"https://www.fondation-patrimoine.org/les-projets/village-martyr-doradour-sur-glane/87672",objectif:2e6,collecte:672787,urgent:void 0},{id:"csv-43",slug:"notre-dame-la-grande-poitiers",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église Notre-Dame-la-Grande - Poitiers",accroche:"Sa façade sculptée est l'une des plus célèbres d'Europe. À l'intérieur, les peintures romanes sont en péril absolu.",description:"L'édifice le plus visité du département affiche une disparité manifeste entre un extérieur restauré et un intérieur extrêmement dégradé : sels, humidité, désordres structurels, fragilité des décors peints. Les peintures murales romanes du chœur, classées Monuments Historiques, sont en péril absolu. Lauréate de la Mission Patrimoine 2025. Vos Oboles sauvent les peintures.",commune:"Poitiers",departement:"Vienne",region:"Nouvelle-Aquitaine",lat:46.583869,lng:.344079,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Eglise_ND_la_Grande_de_Poitiers_c_Yann_Gachet_Ville_de_Poitiers_e6d2d358b9.jpg",url:"https://www.fondation-patrimoine.org/les-projets/eglise-notre-dame-la-grande/87630",objectif:2e6,collecte:484179,urgent:void 0},{id:"csv-44",slug:"eglise-sainte-eugenie-biarritz",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église Sainte-Eugénie - Biarritz",accroche:"Un séisme en février 2023, des chutes de pierres, des fissures dans les voûtes. Elle surplombe le port des Pêcheurs.",description:"À la suite d'un séisme ressenti le 16 février 2023, des chutes de pierres et de nouvelles fissures ont été constatées sur les voûtes. Après mise en sécurité, la réhabilitation est envisagée en trois tranches : consolidation des sols et renforcement des fondations, puis restauration du clos et couvert, enfin restauration intérieure et remise en service de l'orgue. Vos Oboles consolident les fondations.",commune:"Biarritz",departement:"Pyrénées-Atlantiques",region:"Nouvelle-Aquitaine",lat:43.482405,lng:-1.563917,image:"https://strapi-upload.cdn.fondation-
4patrimoine.org/sainte_eugenie_2_c_Ville_de_Biarritz_d6508a0e8c.jpg",url:"https://www.fondation-patrimoine.org/les-projets/eglise-sainte-eugenie-a-biarritz/102639",objectif:25e4,collecte:230316,urgent:void 0},{id:"csv-45",slug:"collegiale-turenne",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Collégiale Notre-Dame et Saint-Pantaléon - Turenne",accroche:"La capitale d'un État quasi indépendant du royaume de France jusqu'en 1738. Sa collégiale se tasse.",description:"Cet exemple typique d'architecture de la Contre-Réforme souffre de désordres structurels importants résultant d'un tassement opéré depuis sa construction ; mobilier liturgique, objets d'art et installation électrique sont dans un état préoccupant. Charpentes, couvertures en ardoise et chevet ont été traités en première phase, avant les maçonneries et les décors intérieurs. Vos Oboles financent la suite.",commune:"Turenne",departement:"Corrèze",region:"Nouvelle-Aquitaine",lat:45.053177,lng:1.580552,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Ext_1_d3f7de7bf4.JPG",url:"https://www.fondation-patrimoine.org/les-projets/collegiale-notre-dame-et-saint-pantelon-a-turenne/79515",objectif:15e4,collecte:74471,urgent:void 0},{id:"csv-46",slug:"pont-valentre-cahors",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Pont Valentré - Cahors",accroche:"Trois tours sur un pont médiéval, uniques au monde. Le Lot ronge ses piles à chaque crue.",description:"Faiblesses des couvertures, décollements d'enduits avec pertes de matière, désordres sur les piles dus aux embâcles : l'étude sanitaire de 2019 a conclu à la nécessité d'une restauration totale, avec échafaudages complexes et barges fluviales. Lauréat de la Mission Patrimoine 2025, le chantier maintient la continuité des usages. Vos Oboles restaurent le pont.",commune:"Cahors",departement:"Lot",region:"Occitanie",lat:44.446514,lng:1.432702,image:"https://strapi-upload.cdn.fondation-patrimoine.org/15052025_DJI_20250515162516_0199_D_dd85741b0b.jpg",url:"https://www.fondation-patrimoine.org/les-projets/pont-valentre-de-cahors/100361",objectif:1e5,collecte:45011,urgent:void 0},{id:"csv-47",slug:"chateau-pog-montsegur",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Château et pog de Montségur",accroche:"Deux cent vingt cathares y sont montés sur le bûcher en 1244. Le mur bouclier se fissure.",description:"Le château et le castrum présentent des pathologies importantes : infiltrations, effondrements des soutènements en pierre sèche, fissuration critique de l'angle nord-est du mur bouclier. Les premiers travaux, urgents et périlleux, portent sur la stabilisation du donjon et la dévégétalisation des terrasses. Lancée au printemps 2026, la tranche 1 est en cours. Vos Oboles stabilisent le pog.",commune:"Montségur",departement:"Ariège",region:"Occitanie",lat:42.881012,lng:1.88827,image:"https://strapi-upload.cdn.fondation-patrimoine.org/MONTSEG_047_092ae65ec9.jpg",url:"https://www.fondation-patrimoine.org/les-projets/chateau-et-pog-de-montsegur/105349",objectif:14e4,collecte:2085,urgent:void 0},{id:"csv-48",slug:"abbatiale-souillac",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église abbatiale Sainte-Marie - Souillac",accroche:"Un portail sculpté si précieux qu'on l'a démonté et rentré à l'intérieur pour le sauver.",description:"Après une première souscription en 2015 consacrée à la mise aux normes électriques et à la mise en lumière, une étude patrimoniale a établi la nécessité de travaux d'ensemble : façades extérieures, toitures et intérieur. Lauréate de la Mission Patrimoine, l'abbatiale a réuni plus de 400 donateurs. Vos Oboles financent la rénovation globale.",commune:"Souillac",departement:"Lot",region:"Occitanie",lat:44.8941448339758,lng:1.48179628825727,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Eglise_Abbatiale_Saint_Marie_de_Souillac_3_5349498fec.jpg",url:"https://www.fondation-patrimoine.org/les-projets/abbatiale-sainte-marie-de-souillac/32651",objectif:5e5,collecte:332736,urgent:void 0},{id:"csv-49",slug:"collegiale-la-romieu",type:"patrimoine_bati",statut:"collecte_en_cours",t
4itle:"Collégiale Saint-Pierre - La Romieu",accroche:"Une faille traverse la tour-clocher. Le cloître est impraticable. Étape UNESCO sur le chemin de Compostelle.",description:"La tour-clocher présente une grande faille nécessitant une intervention rapide, les contreforts doivent être consolidés et le cloître, en mauvais état, a un sol impraticable pour les personnes à mobilité réduite. Lauréate de la Mission Patrimoine 2022, la collégiale a vu son programme s'étendre en 2026 à cinq nouvelles tranches jusqu'en 2031. Vos Oboles sécurisent le clocher.",commune:"La Romieu",departement:"Gers",region:"Occitanie",lat:43.982647,lng:.493113,image:"https://strapi-upload.cdn.fondation-patrimoine.org/pm_37_175_175321_tg27kn58e3_ec459af4fe.jpg",url:"https://www.fondation-patrimoine.org/les-projets/collegiale-saint-pierre-de-la-romieu-dans-le-gers/2264",objectif:8e4,collecte:3250,urgent:void 0},{id:"csv-50",slug:"hotel-dieu-saint-jacques-toulouse",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Hôtel-Dieu Saint-Jacques - Toulouse",accroche:"Neuf siècles d'hôpital public sur les berges de la Garonne. Les façades se délitent.",description:"Après un diagnostic patrimonial réalisé par l'architecte en chef des Monuments Historiques en 2018, un projet de réhabilitation restaure les façades majestueuses de l'Hôtel-Dieu, dans la continuité de la restauration de la pile de l'ancien pont de la Daurade. Le chantier porte sur les maçonneries et parements, les menuiseries, les ferronneries d'époque et la restitution des enduits d'origine. Vos Oboles financent les façades.",commune:"Toulouse",departement:"Haute-Garonne",region:"Occitanie",lat:43.6047,lng:1.4442,image:"https://strapi-upload.cdn.fondation-patrimoine.org/22483789_431_D_4_E98_85_F5_805_EEAABEFCD_5ec1a572ee.JPG",url:"https://www.fondation-patrimoine.org/les-projets/hotel-dieu-de-toulouse/101710",objectif:1e5,collecte:44455,urgent:void 0},{id:"csv-51",slug:"parc-des-sources-vichy",type:"patrimoine_naturel",statut:"collecte_en_cours",title:"Parc des Sources - Vichy",accroche:"Sept cents mètres de galeries Art nouveau en fer forgé, oxydées et fissurées.",description:"Faute d'entretien avant le rachat par la Ville en 2021, les galeries promenoirs sont très altérées : lambrissage, décors, verrière et structures métalliques de l'arche monumentale dégradés, panneaux de couverture oxydés, sols désorganisés, arbres malades. Lauréat de la Mission Patrimoine 2022, le chantier s'achève en 2026. Vos Oboles restaurent les galeries.",commune:"Vichy",departement:"Allier",region:"Auvergne-Rhône-Alpes",lat:46.124366,lng:3.419076,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Parc_des_sources_c_Fondation_du_patrimoine_My_Photo_Agency_Noel_Gautier_21_d0c9c33d57.jpg",url:"https://www.fondation-patrimoine.org/les-projets/parc-des-sources-de-vichy/78803",objectif:5e5,collecte:26075,urgent:void 0},{id:"csv-52",slug:"buvette-cachat-evian",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Buvette Cachat - Évian-les-Bains",accroche:"Un temple de l'eau en bois et en verre, fermé et silencieux pendant des décennies.",description:"Après des années de silence, la Buvette Cachat renaît. La Ville a engagé la restauration complète du bâtiment et de ses espaces extérieurs, accompagnée par un architecte des Monuments Historiques : mise en sécurité et sauvegarde d'abord, puis restitution du grand promenoir et aménagement des espaces intérieurs et de la place. Vos Oboles financent la dernière phase.",commune:"Évian-les-Bains",departement:"Haute-Savoie",region:"Auvergne-Rhône-Alpes",lat:46.399945,lng:6.592256,image:"https://strapi-upload.cdn.fondation-patrimoine.org/8_92ffccfdbc.png",url:"https://www.fondation-patrimoine.org/les-projets/la-buvette-cachat-a-evian-les-bains-en-haute-savoie/59791",objectif:5e5,collecte:406903,urgent:void 0},{id:"csv-53",slug:"serres-tete-d-or-lyon",type:"patrimoine_naturel",statut:"collecte_en_cours",title:"Serres du Jardin botanique - Parc de la Tête d'Or, Lyon",accroche:"Quatorze mille espèces végétales, dont neuf cents menacées d'extinction, sous des verrières du XIXe siècle.",description:"Les 6 500 m² de serres du Jardin botanique de Lyon, à l'architecture typique du XIXe siècle, nécessitent une réhabilitation d'ampleur pour continuer d'abriter les collections et d'accueillir le public. Lauréat de la Mission Patrimoine 2025, le chantier a démarré en juin 2025. Vos Oboles sauvent les serres et les collections qu'elles protègent.",commune:"Lyon",departement:"Rhône",region:"Auvergne-Rhône-Alpes",lat:45.768697,lng:4.852494,image:"https://strapi-upload.cdn.fondation-
4patrimoine.org/358315_j8aco1b9ih_whr_2e998ca2d7.jpg",url:"https://www.fondation-patrimoine.org/les-projets/serres-de-la-tete-dor/101469",objectif:1e6,collecte:109294,urgent:void 0},{id:"csv-54",slug:"musee-faure-aix-les-bains",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Musée Faure - Villa des Chimères, Aix-les-Bains",accroche:"Plus de trente Rodin, des Degas, des Cézanne. Dans une villa génoise de 1906 qui a besoin de tout.",description:"La Villa des Chimères nécessite une restauration complète pour valoriser ses éléments patrimoniaux : façades, balustrade, frise peinte dite des Chimères, parquets et carreaux ciment d'origine, grand escalier en bois, forme des ouvrants. L'objectif est de requalifier les espaces d'exposition et d'aménager le parc arboré accueillant des sculptures. Vos Oboles restaurent l'écrin.",commune:"Aix-les-Bains",departement:"Savoie",region:"Auvergne-Rhône-Alpes",lat:45.692157,lng:5.915578,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Ville_d_Aix_les_Bains_12_131abde71e.jpg",url:"https://www.fondation-patrimoine.org/les-projets/musee-faure-a-aix-les-bains/87926",objectif:3e5,collecte:31486,urgent:void 0},{id:"csv-55",slug:"abbatiale-saint-chef",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Église abbatiale Saint-Theudère - Saint-Chef",accroche:"Les fresques du XIIe siècle les plus complètes de la région, sous une toiture dégradée.",description:"Dans le cadre d'une campagne de restauration débutée en 2022, un relevé archéologique et un diagnostic structurel ont établi la nécessité d'intervenir rapidement sur la toiture dégradée et les parements extérieurs, dont le remarquable portail du XVe siècle. Des travaux spécifiques sont prévus pour les décors peints. Vos Oboles protègent les fresques.",commune:"Saint-Chef",departement:"Isère",region:"Auvergne-Rhône-Alpes",lat:45.634498,lng:5.366219,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Eglise_vue_face_Saint_Chef_Mairie_f8728908c8.jpg",url:"https://www.fondation-patrimoine.org/les-projets/restauration-de-leglise-abbatiale-saint-theudere-a-saint-chef/100465",objectif:9e4,collecte:46206,urgent:void 0},{id:"csv-56",slug:"cathedrale-embrun",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Cathédrale Notre-Dame-du-Réal - Embrun",accroche:"Contemporaine de Notre-Dame de Paris, en pierres noires et grises alternées. Son tympan peint disparaît.",description:"Des désordres affectent les pierres de l'ensemble des façades, qui s'effritent et s'érodent ; certaines doivent être remplacées, d'autres consolidées. Les vitraux, la rosace et les oculi sont encrassés et dégradés, et le tympan de la façade occidentale, peinture du XVe siècle représentant l'Annonciation, est en train de disparaître. Lauréate de la Mission Bern. Vos Oboles sauvent les façades.",commune:"Embrun",departement:"Hautes-Alpes",region:"Provence-Alpes-Côte d'Azur",lat:44.562639,lng:6.494816,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Cathedrale_Notre_Dame_du_Real_a_Embrun_2_Copie_af889a396f.jpg",url:"https://www.fondation-patrimoine.org/les-projets/cathedrale-notre-dame-du-real-d-embrun/61667",objectif:8e4,collecte:71401,urgent:void 0},{id:"csv-57",slug:"fort-royal-sainte-marguerite",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Fort Royal de l'île Sainte-Marguerite - Cannes",accroche:"La cellule du Masque de fer est ici. Les remparts qui l'entourent menacent de céder.",description:"La première tranche de travaux porte sur les urgences : consolidation des remparts et murailles, restauration des toitures de plusieurs bâtiments, travaux urgents de consolidation de l'aile sud du musée autour de la tour du sémaphore. Lauréat de la Mission Patrimoine 2024, le chantier a démarré début 2025. Vos Oboles consolident la forteresse.",commune:"Cannes",departement:"Alpes-Maritimes",region:"Provence-Alpes-Côte d'Azur",lat:43.550805,lng:6.983443,image:"https://strapi-upload.cdn.fondation-patrimoine.org/FORT_ROYAL_DE_L_ILE_SAINTE_MARGUERITE_1_FR_Axis_Drone_Mairie_de_Cannes_9c2cfb4cd9.jpg",url:"https://www.fondation-
4patrimoine.org/les-projets/fort-royal-de-lile-sainte-marguerite-a-cannes/101166",objectif:2e4,collecte:16110,urgent:void 0},{id:"csv-58",slug:"villa-le-reve-matisse-vence",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Villa Le Rêve dite Matisse - Vence",accroche:"Matisse y a vécu six ans et y a inventé les gouaches découpées. La villa n'est pas ouverte au public.",description:"La Villa Le Rêve, où Henri Matisse a vécu et travaillé de 1943 à 1949, nécessite une rénovation et un aménagement pour être ouverte au public comme lieu de mémoire. Le projet prévoit un niveau consacré à la découverte de Matisse, un accueil d'étudiants de l'Université Côte d'Azur, une boutique et une restauration légère. Lauréate de la Mission Patrimoine 2023. Vos Oboles ouvrent la maison.",commune:"Vence",departement:"Alpes-Maritimes",region:"Provence-Alpes-Côte d'Azur",lat:43.72681,lng:7.110524,image:"https://strapi-upload.cdn.fondation-patrimoine.org/23_VILLA_LE_REVE_a9567ec566.jpg",url:"https://www.fondation-patrimoine.org/les-projets/villa-le-reve-dite-matisse/88244",objectif:1e5,collecte:32110,urgent:void 0},{id:"csv-59",slug:"villa-le-parais-giono-manosque",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Villa Le Paraïs de Jean Giono - Manosque",accroche:"Huit mille livres, dont certains annotés de sa main. La maison où Giono a tout écrit se dégrade.",description:"Pour assurer l'ouverture au public et la conservation de la maison et de tout ce qu'elle contient, une restauration complète est indispensable : rénovation du bâti, remplacement des installations vétustes, restauration des décors peints et mise aux normes de sécurité. Lauréate de la Mission Patrimoine 2022. Vos Oboles sauvent la maison et ses collections.",commune:"Manosque",departement:"Alpes-de-Haute-Provence",region:"Provence-Alpes-Côte d'Azur",lat:43.834333,lng:5.789712,image:"https://strapi-upload.cdn.fondation-patrimoine.org/3927_uvkx08l7a1_whr_791cdd278e.jpg",url:"https://www.fondation-patrimoine.org/les-projets/villa-le-parais-de-jean-giono-manosque/80038",objectif:15e4,collecte:33980,urgent:void 0},{id:"csv-60",slug:"chateau-comtal-vaison-la-romaine",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Château comtal de Vaison-la-Romaine",accroche:"Il domine la ville depuis son éperon rocheux. Fissures, chutes de pierres, façades qui gonflent. Fermé au public.",description:"Le monument présente de graves désordres structurels : fissures, chutes de pierres, infiltrations, gonflement des façades. La commune projette une restauration globale articulée autour de trois axes : mise en sécurité, restauration et valorisation patrimoniale, avec une dimension paysagère liée à la protection du rocher classé. Vos Oboles rouvrent le château.",commune:"Vaison-la-Romaine",departement:"Vaucluse",region:"Provence-Alpes-Côte d'Azur",lat:44.237229,lng:5.07078,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Chateau_comtal_de_Vaison_la_Romaine_Chateau_3_e9d24739f8_4620d5b9ca.jpg",url:"https://www.fondation-patrimoine.org/les-projets/chateau-comtal-a-vaison-la-romaine/102848",objectif:4e5,collecte:32145,urgent:void 0},{id:"csv-61",slug:"remparts-bonifacio",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Remparts de Bonifacio",accroche:"Neuf cents ans de fortifications au bord d'une falaise calcaire. Des parements entiers se sont éboulés.",description:"Compte tenu de l'ancienneté des ouvrages, le chantier est colossal : réouverture de portes murées, consolidation des maçonneries, remontage des parements éboulés, restauration des fenêtres de tir et réfection des chemins. Retenu comme projet de maillage du Loto du Patrimoine dès 2018, le chantier a été lancé au second semestre 2021. Vos Oboles remontent les remparts.",commune:"Bonifacio",departement:"Corse-du-Sud",region:"Corse",lat:41.386513,lng:9.201956,image:"https://strapi-upload.cdn.fondation-patrimoine.org/38512886_287467052018647_7635280876699385856_n_bec5cfd207.jpg",url:"https://www.fondation-patrimoine.org/les-projets/remparts-de-bonifacio/59834",objectif:155e4,collecte:289e3,urgent:void 0},{id:"csv-62",slug:"couvent-orezza",type:"patrimoine_bati",statut:"collecte_en_cours",t
4itle:"Couvent San Francescu d'Orezza - Piedicroce",accroche:"En 1735, un gouvernement corse indépendant est proclamé dans ces murs. Ils sont aujourd'hui en ruine.",description:"Abandonné depuis des décennies, le couvent subit une dégradation avancée et nécessite une intervention urgente. Le projet porté par la Collectivité de Corse transforme les ruines en centre de mémoire vivant : stabilisation, restitution des sols, création d'un parvis, assainissement des maçonneries, éclairage discret et parcours immersif. Lauréat de la Mission Patrimoine 2026. Vos Oboles stabilisent les ruines.",commune:"Piedicroce",departement:"Haute-Corse",region:"Corse",lat:42.386573252284,lng:9.38040465105135,image:"https://strapi-upload.cdn.fondation-patrimoine.org/DJI_20250502120301_0051_D_ac2049294b.jpg",url:"https://www.fondation-patrimoine.org/les-projets/couvent-san-francescu-dorezza/102835",objectif:5e5,collecte:53282,urgent:void 0},{id:"csv-63",slug:"citadelle-saint-florent",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Citadelle de Saint-Florent",accroche:"Un fort circulaire unique en Corse. Une explosion en 1943 en a détruit une grande partie.",description:"Plusieurs bâtiments de la citadelle sont endommagés, certains présentant un risque d'effondrement. Les deux premières phases prioritaires concernent la réhabilitation de la poudrière et du four, afin de sécuriser ces structures et préserver leur intégrité. Lauréate de la Mission Patrimoine 2025. Vos Oboles sauvent un chef-d'œuvre d'architecture militaire.",commune:"Saint-Florent",departement:"Haute-Corse",region:"Corse",lat:42.682735,lng:9.301448,image:"https://strapi-upload.cdn.fondation-patrimoine.org/Citadelle_Saint_Florent_drone_9_cmjn_ec43342805.jpg",url:"https://www.fondation-patrimoine.org/les-projets/citadelle-de-saint-florent/102160",objectif:18e4,collecte:8612,urgent:void 0},{id:"csv-64",slug:"tour-carabelli-colomba-fozzano",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Tour Carabelli dite Maison de Colomba - Fozzano",accroche:"La maison forte qui a inspiré Colomba à Mérimée. Sa voûte d'accès s'est effondrée.",description:"Malgré l'entretien de la commune, la tour présente des désordres structurels préoccupants : désolidarisation des pierres, fissures, renflement des façades, tirants défectueux, couverture endommagée. La voûte formant le plancher d'accès s'est effondrée. Les travaux portent sur la charpente, la couverture, la consolidation des maçonneries et les planchers intérieurs. Lauréate de la Mission Patrimoine 2023. Vos Oboles relèvent la tour.",commune:"Fozzano",departement:"Corse-du-Sud",region:"Corse",lat:41.697795,lng:9.00136,image:"https://strapi-upload.cdn.fondation-patrimoine.org/tour_colomba_corse_4fcf4c3631.png",url:"https://www.fondation-patrimoine.org/les-projets/tour-carabelli-maison-de-colomba-fozzano/85220",objectif:5e4,collecte:1275,urgent:void 0},{id:"csv-65",slug:"couvent-saint-francois-pino",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Couvent Saint-François de Pino - Cap Corse",accroche:"Un couvent de 1486 au bord de la mer, sauvé du pillage par un pirate né au village.",description:"Après la restauration complète de la toiture, réalisée avec des artisans locaux grâce aux dons et à un financement direct de 83 000 € de la Fondation du patrimoine, il reste à restaurer les façades et à remplacer la totalité des boiseries pour mettre définitivement l'édifice à l'abri des vents et des pluies. Projet emblématique de la Corse pour la Mission Patrimoine. Vos Oboles achèvent le chantier.",commune:"Pino",departement:"Haute-Corse",region:"Corse",lat:42.911964,lng:9.347418,image:"https://strapi-upload.cdn.fondation-patrimoine.org/COUVENT_DE_PINO_min_min_3a43ef5a62.JPG",url:"https://www.fondation-patrimoine.org/les-projets/couvent-de-pino/13196",objectif:7e5,collecte:305491,urgent:void 0},{id:"exod-1",slug:"exod-1",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Château Guillaume de Nogaret",accroche:"Ce château est fermé au public depuis des années. Ce vote peut rouvrir ses portes.",description:"Classé Monument Historique depuis 1995, le château de Marsillargues porte 700 ans d'histoire. Depuis 2022, la commune restaure l'aile nord.",commune:"Marsillargues",departement:"Hérault",region:"Occitanie",lat:43.6667,lng:4.1167,image:"https://upload.wikimedia.org/wikipedia/commons/5/5d/Ch%C3%A2teau_de_Marsillargues_-_aile_nord_-_2020-09-02.jpg",url:"https://www.fondation-
4patrimoine.org/les-projets/le-chateau-guillaume-de-nogaret-a-marsillargues/78506",objectif:void 0,collecte:void 0,urgent:void 0},{id:"exod-2",slug:"exod-2",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Hôtel de ville, ancien château du Comte de Turenne",accroche:"Cet hôtel de ville est en train de tomber en ruine. Ce vote peut le garder debout.",description:"Construit à partir de 1673 par Augustin-Charles d'Aviler. Le projet porte sur la rénovation intégrale des menuiseries et des protections solaires.",commune:"Pignan",departement:"Hérault",region:"Occitanie",lat:43.5867,lng:3.7633,image:"https://strapi-upload.cdn.fondation-patrimoine.org/large_DSC_0046_729bebb7b0.JPG",url:"https://www.fondation-patrimoine.org/les-projets/lhotel-de-ville-ancien-chateau-du-comte-de-turenne/101082",objectif:void 0,collecte:void 0,urgent:void 0},{id:"exod-3",slug:"exod-3",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Chapelle de l'ancienne abbaye",accroche:"Cette chapelle a été prison, théâtre, cinéma. Elle a survécu à 12 siècles.",description:"Fondée au VIIIe siècle par Saint Benoît d'Aniane, l'abbaye est vendue à la Révolution, transformée en filature puis en prison en 1845.",commune:"Aniane",departement:"Hérault",region:"Occitanie",lat:43.6892,lng:3.5867,image:"https://strapi-upload.cdn.fondation-patrimoine.org/large_139462_omqp0i0puh_whr_dec87ff607.jpg",url:"https://www.fondation-patrimoine.org/les-projets/la-chapelle-de-lancienne-abbaye-daniane-dans-lherault/61260",objectif:void 0,collecte:void 0,urgent:void 0},{id:"exod-4",slug:"exod-4",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Fort de Brescou",accroche:"Ce fort sur une île volcanique est fermé au public depuis des années. Ce vote peut le rouvrir.",description:"L'île de Brescou est la dernière partie émergée d'un ancien volcan. Le fort y est érigé en 1586 par le vicomte de Joyeuse.",commune:"Agde",departement:"Hérault",region:"Occitanie",lat:43.3108,lng:3.4758,image:"https://strapi-upload.cdn.fondation-patrimoine.org/large_86655_tw7goasj1g_whr_2b3e4951c0.jpg",url:"https://www.fondation-patrimoine.org/les-projets/fort-de-brescou-a-agde/42956",objectif:void 0,collecte:void 0,urgent:void 0},{id:"exod-5",slug:"exod-5",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Peintures du plafond de la chapelle Sainte-Foy",accroche:"En plein cœur de Montpellier, un plafond baroque du XVIIIe siècle se dégrade tableau par tableau.",description:"Classée Monument Historique depuis 1995, la chapelle Sainte-Foy appartient à la confrérie des Pénitents Blancs de Montpellier.",commune:"Montpellier",departement:"Hérault",region:"Occitanie",lat:43.6117,lng:3.8772,image:"https://strapi-upload.cdn.fondation-patrimoine.org/large_27377_mp7mc6tefu_whr_d8886c4d0c.jpg",url:"https://www.fondation-patrimoine.org/les-projets/les-peintures-du-plafond-de-la-chapelle-sainte-foy-a-montpellier/14177",objectif:void 0,collecte:void 0,urgent:void 0},{id:"exod-6",slug:"exod-6",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Château de Montferrier-sur-Lez",accroche:"Ce château abrite la mairie depuis des générations. Ses murs s'effritent.",description:"Perché sur un piton volcanique au nord de Montpellier, le château remonte à 1114. Le projet porte sur la restauration des façades.",commune:"Montferrier-sur-Lez",departement:"Hérault",region:"Occitanie",lat:43.6711,lng:3.8592,image:"https://strapi-upload.cdn.fondation-patrimoine.org/large_montferrier_sur_lez_378140_002_5d98f7750c.jpg",url:"https://www.fondation-patrimoine.org/les-projets/renovation-du-chateau-de-montferrier-sur-lez/100384",objectif:void 0,collecte:void 0,urgent:void 0},{id:"exod-7",slug:"exod-7",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Berges du Lez, Grand Parc de Lunaret",accroche:"Le poumon vert de Montpellier s'érode sous la fréquentation. La loutre y vit encore.",description:"Légué à la Ville de Montpellier en 1910, ce domaine en bordure du Lez abrite des espèces rares dont la loutre.",commune:"Montpellier",departement:"Hérault",region:"Occitanie",lat:43.65,lng:3.88,image:"https://strapi-upload.cdn.fondation-
4patrimoine.org/large_Les_berges_du_Lez_a_Montpellier_photos_retouchees_7f9abd952a.jpg",url:"https://www.fondation-patrimoine.org/les-projets/les-berges-du-lez-secteur-la-valette-grand-parc-de-lunaret-a-montpellier/103210",objectif:void 0,collecte:void 0,urgent:void 0},{id:"exod-8",slug:"exod-8",type:"patrimoine_bati",statut:"collecte_en_cours",title:"Chapelle Notre-Dame d'Aleyrac",accroche:"Entre garrigue et vignes, face au Pic Saint-Loup, une chapelle romane du XIe siècle tombe en ruine.",description:"Chapelle isolée entre garrigue et vignes, connue pour ses vertus de guérison miraculeuses. Les travaux de voûte sont le principal enjeu.",commune:"Sauteyrargues",departement:"Hérault",region:"Occitanie",lat:43.7667,lng:3.7833,image:"https://strapi-upload.cdn.fondation-patrimoine.org/large_277487804_495812728655656_1145886100399180846_n_ee1cb73863.jpg",url:"https://www.fondation-patrimoine.org/les-projets/chapelle-nd-daleyrac-a-sauteyrargues/85207",objectif:void 0,collecte:void 0,urgent:void 0}],oi=768;function Ur(){const[h,d]=E.useState(void 0);return E.useEffect(()=>{const a=window.matchMedia(`(max-width: ${oi-1}px)`),p=()=>{d(window.innerWidth<oi)};return a.addEventListener("change",p),d(window.innerWidth<oi),()=>a.removeEventListener("change",p)},[]),!!h}const Jr="pk.eyJ1IjoiZXhvZCIsImEiOiJjbXRiZnJvbngwMnA3MndxemVjY2NvcjFhIn0.AqE4B86Z5XbqK-RjvXinAA",Xr=h=>`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="40" viewBox="0 0 32 40" aria-hidden="true" style="pointer-events:none">
5    <path d="M16 0C7.2 0 0 7.2 0 16c0 11.8 16 24 16 24s16-12.2 16-24C32 7.2 24.8 0 16 0z" fill="#12314F" stroke="#0E243D" stroke-width="1.5"/>
6    <circle cx="16" cy="16" r="6" fill="white"/>
7  </svg>`,Kr=h=>new Ze.DivIcon({className:"custom-map-marker",html:Xr(),iconSize:[32,40],iconAnchor:[16,40],popupAnchor:[0,-42]}),Yr=({bounds:h})=>{const d=br();return E.useEffect(()=>{if(!h.isValid())return;const a=()=>{d.invalidateSize(),d.fitBounds(h,{padding:[24,24],maxZoom:7,animate:!1})},p=requestAnimationFrame(a),m=window.setTimeout(a,250),x=window.setTimeout(a,700),_=new ResizeObserver(()=>a());return _.observe(d.getContainer()),()=>{cancelAnimationFrame(p),window.clearTimeout(m),window.clearTimeout(x),_.disconnect()}},[d,h]),null},$r=h=>h.id.startsWith("exod-"),Qr=({p:h,voteApi:d})=>G.jsxs("div",{className:"w-[min(260px,62vw)] font-sans",children:[G.jsx(ar,{src:h.image,alt:h.title,className:"aspect-[4/3] w-full rounded-[8px] object-cover"}),G.jsxs("p",{className:"mt-3 font-mono text-[9px] uppercase tracking-[0.12em] text-slate/60",children:[h.commune,h.departement&&` · ${h.departement}`]}),G.jsx("h3",{className:"mt-1 text-[1rem] font-semibold leading-snug text-navy",children:h.title}),G.jsx("p",{className:"mt-2 text-[0.875rem] leading-[1.5] text-slate",children:h.accroche}),$r(h)?d?d.votedProjectId===h.id?G.jsx("span",{className:"mt-3 inline-block rounded-full bg-navy px-3 py-1.5 text-[0.8125rem] font-semibold text-cream",children:"Votre vote ✓"}):G.jsx("button",{type:"button",disabled:!d.canVote,onClick:()=>d.onVote(h),className:"mt-3 inline-block rounded-full bg-coral px-3 py-1.5 text-[0.8125rem] font-semibold text-white transition hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-50",children:d.votedProjectId?"Vote déjà enregistré":"Voter pour ce projet"}):G.jsx("a",{href:"/vote",className:"mt-3 inline-block text-[0.875rem] font-semibold text-coral hover:underline",children:"Voter pour ce projet →"}):G.jsx("span",{className:"mt-3 inline-block rounded-full border border-line bg-cream px-2.5 py-1 font-mono text-[9px] uppercase tracking-[0.12em] text-slate/70",children:"Soumis au vote en septembre"})]}),es=({excludeIds:h=[],voteApi:d})=>{const a=Ur(),p=E.useMemo(()=>Gr.filter(x=>!h.includes(x.id)),[h.join(",")]),m=E.useMemo(()=>{const x=p.map(_=>[_.lat,_.lng]);return Ze.latLngBounds(x)},[p]);return G.jsxs(xr,{className:"h-[420px] w-full md:h-[520px]",center:[46.5,2],zoom:5,scrollWheelZoom:!1,zoomControl:!1,children:[G.jsx(Mr,{url:`https://api.mapbox.com/styles/v1/mapbox/light-v11/tiles/512/{z}/{x}/{y}@2x?access_token=${Jr}`,tileSize:512,zoomOffset:-1,attribution:'© <a href="https://www.mapbox.com/about/maps/">Mapbox</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}),G.jsx(Yr,{bounds:m}),p.map(x=>{const _=a&&(d==null?void 0:d.onSelectProject);return G.jsx(Lr,{position:[x.lat,x.lng],icon:Kr(),eventHandlers:_?{click:()=>{var V;(V=d.onSelectProject)==null||V.call(d,x)}}:void 0,children:!_&&G.jsx(Pr,{autoPan:!0,autoPanPadding:[24,24],keepInView:!0,maxWidth:280,children:G.jsx(Qr,{p:x,voteApi:d})})},x.id)})]})},is=Object.freeze(Object.defineProperty({__proto__:null,default:es},Symbol.toStringTag,{value:"Module"}));
7export{es as P,is as a,Gr as m};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.