vendor: 10,278 bytes, line 1
1!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=19)}([function(t,e){t.exports=jQuery},function(t,e,i){!function(t){"use strict";function e(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i])t[e]=o[e];return t}var i=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function n(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var o=0;function s(t){return"_leaflet_id"in t||(t._leaflet_id=++o),t._leaflet_id}function r(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}}function a(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o}function l(){return!1}function c(t,e){if(!1===e)return t;var i=Math.pow(10,void 0===e?6:e);return Math.round(t*i)/i}function u(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return u(t).split(/\s+/)}function h(t,e){for(var n in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?i(t.options):{}),e)t.options[n]=e[n];return t.options}function p(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}var f=/\{ *([\w_ -]+) *\}/g;function m(t,e){return t.replace(f,(function(t,i){var n=e[i];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(e)),n}))}var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var _="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var b=0;function w(t){var e=+new Date,i=Math.max(0,16-(e-b));return b=e+i,window.setTimeout(t,i)}var x=window.requestAnimationFrame||y("RequestAnimationFrame")||w,T=window.cancelAnimationFrame||y("CancelAnimationFrame")||y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function C(t,e,i){if(!i||x!==w)return x.call(window,n(t,e));t.call(e)}function S(t){t&&T.call(window,t)}var k={__proto__:null,extend:e,create:i,bind:n,get lastId(){return o},stamp:s,throttle:r,wrapNum:a,falseFn:l,formatNum:c,trim:u,splitWords:d,setOptions:h,getParamString:p,template:m,isArray:g,indexOf:v,emptyImageUrl:_,requestFn:x,cancelFn:T,requestAnimFrame:C,cancelAnimFrame:S};function P(){}P.extend=function(t){var n=function(){h(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},o=n.__super__=this.prototype,s=i(o);for(var r in s.constructor=n,n.prototype=s,this)Object.prototype.hasOwnProperty.call(this,r)&&"prototype"!==r&&"__super__"!==r&&(n[r]=this[r]);return t.statics&&e(n,t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=g(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===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)}}(t.includes),e.apply(null,[s].concat(t.includes))),e(s,t),delete s.statics,delete s.includes,s.options&&(s.options=o.options?i(o.options):{},e(s.options,t.options)),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=s._initHooks.length;t<e;t++)s._initHooks[t].call(this)}},n},P.include=function(t){var i=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=i,this.mergeOptions(t.options)),this},P.mergeOptions=function(t){return e(this.prototype.options,t),this},P.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var E={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,s=(t=d(t)).length;o<s;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(arguments.length)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else{t=d(t);for(var o=1===arguments.length,s=0,r=t.length;s<r;s++)o?this._off(t[s]):this._off(t[s],e,i)}else delete this._events;return this},_on:function(t,e,i,n){if("function"==typeof e){if(!1===this._listens(t,e,i)){i===this&&(i=void 0);var o={fn:e,ctx:i};n&&(o.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(o)}}else console.warn("wrong listener type: "+typeof e)},_off:function(t,e,i){var n,o,s;if(this._events&&(n=this._events[t]))if(1!==arguments.length)if("function"==typeof e){var r=this._listens(t,e,i);if(!1!==r){var a=n[r];this._firingCount&&(a.fn=l,this._events[t]=n=n.slice()),n.splice(r,1)}}else console.warn("wrong listener type: "+typeof e);else{if(this._firingCount)for(o=0,s=n.length;o<s;o++)n[o].fn=l;delete this._events[t]}},fire:function(t,i,n){if(!this.listens(t,n))return this;var o=e({},i,{type:t,target:this,sourceTarget:i&&i.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var l=s[r],c=l.fn;l.once&&this.off(t,c,l.ctx),c.call(l.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,e,i,n){"string"!=typeof t&&console.warn('"string" type argument expected');var o=e;"function"!=typeof e&&(n=!!e,o=void 0,i=void 0);var s=this._events&&this._events[t];if(s&&s.length&&!1!==this._listens(t,o,i))return!0;if(n)for(var r in this._eventParents)if(this._eventParents[r].listens(t,e,i,n))return!0;return!1},_listens:function(t,e,i){if(!this._events)return!1;var n=this._events[t]||[];if(!e)return!!n.length;i===this&&(i=void 0);for(var o=0,s=n.length;o<s;o++)if(n[o].fn===e&&n[o].ctx===i)return o;return!1},once:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e,!0);else for(var o=0,s=(t=d(t)).length;o<s;o++)this._on(t[o],e,i,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(t)],this},_propagateEvent:function(t){for(var i in this._eventParents)this._eventParents[i].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}};E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens;var A=P.extend(E);function M(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var O=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function F(t,e,i){return t instanceof M?t:g(t)?new M(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new M(t.x,t.y):new M(t,e,i)}function z(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function I(t,e){return!t||t instanceof z?t:new z(t,e)}function D(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function $(t,e){return t instanceof D?t:new D(t,e)}function j(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function N(t,e,i){return t instanceof j?t:g(t)&&"object"!=typeof t[0]?3===t.length?new j(t[0],t[1],t[2]):2===t.length?new j(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new j(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new j(t,e,i)}M.prototype={clone:function(){return new M(this.x,this.y)},add:function(t){return this.clone()._add(F(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(F(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new M(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new M(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=O(this.x),this.y=O(this.y),this},distanceTo:function(t){var e=(t=F(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=F(t)).x===this.x&&t.y===this.y},contains:function(t){return t=F(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+c(this.x)+", "+c(this.y)+")"}},z.prototype={extend:function(t){var e,i;if(!t)return this;if(t instanceof M||"number"==typeof t[0]||"x"in t)e=i=F(t);else if(e=(t=I(t)).min,i=t.max,!e||!i)return this;return this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(i.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(i.y,this.max.y)):(this.min=e.clone(),this.max=i.
vendor: 2,346 bytes, line 1
1clone()),this},getCenter:function(t){return F((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return F(this.min.x,this.max.y)},getTopRight:function(){return F(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(t){var e,i;return(t="number"==typeof t[0]||t instanceof M?F(t):I(t))instanceof z?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=I(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=I(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.x<i.x,r=o.y>e.y&&n.y<i.y;return s&&r},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,i=this.max,n=Math.abs(e.x-i.x)*t,o=Math.abs(e.y-i.y)*t;return I(F(e.x-n,e.y-o),F(i.x+n,i.y+o))},equals:function(t){return!!t&&(t=I(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},D.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof j)e=t,i=t;else{if(!(t instanceof D))return t?this.extend(N(t)||$(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new j(e.lat,e.lng),this._northEast=new j(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new D(new j(e.lat-n,e.lng-o),new j(i.lat+n,i.lng+o))},getCenter:function(){return new j((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 j(this.getNorth(),this.getWest())},getSouthEast:function(){return new j(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(t){t="number"==typeof t[0]||t instanceof j||"lat"in t?N(t):$(t);var e,i,n=this._southWest,o=this._northEast;
vendor: 2,213 bytes, line 1
1return t instanceof D?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=$(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=$(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.lat<i.lat,r=o.lng>e.lng&&n.lng<i.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=$(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},j.prototype={equals:function(t,e){return!!t&&(t=N(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+c(this.lat,t)+", "+c(this.lng,t)+")"},distanceTo:function(t){return H.distance(this,N(t))},wrap:function(){return H.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return $([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new j(this.lat,this.lng,this.alt)}};var R,B={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t);return new z(this.transformation.transform(e.min,i),this.transformation.transform(e.max,i))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?a(t.lng,this.wrapLng,!0):t.lng;return new j(this.wrapLat?a(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,o=e.lng-i.lng;if(0===n&&0===o)return t;
vendor: 4,283 bytes, line 1
1var s=t.getSouthWest(),r=t.getNorthEast();return new D(new j(s.lat-n,s.lng-o),new j(r.lat-n,r.lng-o))}},H=e({},B,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin((e.lat-t.lat)*i/2),r=Math.sin((e.lng-t.lng)*i/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*l}}),Z={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=Math.sin(n*e);return new M(this.R*t.lng*e,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var e=180/Math.PI;return new j((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(R=6378137*Math.PI,new z([-R,-R],[R,R]))};function W(t,e,i,n){if(g(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=i,this._d=n}function q(t,e,i,n){return new W(t,e,i,n)}W.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new M((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var U=e({},H,{code:"EPSG:3857",projection:Z,transformation:function(){var t=.5/(Math.PI*Z.R);return q(t,.5,-t,.5)}()}),V=e({},U,{code:"EPSG:900913"});function Y(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function G(t,e){var i,n,o,s,r,a,l="";for(i=0,o=t.length;i<o;i++){for(n=0,s=(r=t[i]).length;n<s;n++)l+=(n?"L":"M")+(a=r[n]).x+" "+a.y;l+=e?It.svg?"z":"x":""}return l||"M0 0"}var X,K=document.documentElement.style,J="ActiveXObject"in window,Q=J&&!document.addEventListener,tt="msLaunchUri"in navigator&&!("documentMode"in document),et=zt("webkit"),it=zt("android"),nt=zt("android 2")||zt("android 3"),ot=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),st=it&&zt("Google")&&ot<537&&!("AudioNode"in window),rt=!!window.opera,at=!tt&&zt("chrome"),lt=zt("gecko")&&!et&&!rt&&!J,ct=!at&&zt("safari"),ut=zt("phantom"),dt="OTransition"in K,ht=0===navigator.platform.indexOf("Win"),pt=J&&"transition"in K,ft="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!nt,mt="MozPerspective"in K,gt=!window.L_DISABLE_3D&&(pt||ft||mt)&&!dt&&!ut,vt="undefined"!=typeof orientation||zt("mobile"),_t=vt&&et,yt=vt&&ft,bt=!window.PointerEvent&&window.MSPointerEvent,wt=!(!window.PointerEvent&&!bt),xt="ontouchstart"in window||!!window.TouchEvent,Tt=!window.L_NO_TOUCH&&(xt||wt),Ct=vt&&rt,St=vt&<,kt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Pt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(t){}return t}(),Et=!!document.createElement("canvas").getContext,Lt=!(!document.createElementNS||!Y("svg").createSVGRect),At=!!Lt&&((X=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(X.firstChild&&X.firstChild.namespaceURI)),Mt=!Lt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}(),Ot=0===navigator.platform.indexOf("Mac"),Ft=0===navigator.platform.indexOf("Linux");function zt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var It={ie:J,ielt9:Q,edge:tt,webkit:et,android:it,android23:nt,androidStock:st,opera:rt,chrome:at,gecko:lt,safari:ct,phantom:ut,opera12:dt,win:ht,ie3d:pt,webkit3d:ft,gecko3d:mt,any3d:gt,mobile:vt,mobileWebkit:_t,mobileWebkit3d:yt,msPointer:bt,pointer:wt,touch:Tt,touchNative:xt,mobileOpera:Ct,mobileGecko:St,retina:kt,passiveEvents:Pt,canvas:Et,svg:Lt,vml:Mt,inlineSvg:At,mac:Ot,linux:Ft},Dt=It.msPointer?"MSPointerDown":"pointerdown",$t=It.msPointer?"MSPointerMove":"pointermove",jt=It.msPointer?"MSPointerUp":"pointerup",Nt=It.msPointer?"MSPointerCancel":"pointercancel",Rt={touchstart:Dt,touchmove:$t,touchend:jt,touchcancel:Nt},Bt={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&je(e),Yt(t,e)},touchmove:Yt,touchend:Yt,touchcancel:Yt},Ht={},Zt=!1;function Wt(t,e,i){return"touchstart"===e&&(Zt||(document.addEventListener(
vendor: 9,633 bytes, line 1
1Dt,qt,!0),document.addEventListener($t,Ut,!0),document.addEventListener(jt,Vt,!0),document.addEventListener(Nt,Vt,!0),Zt=!0)),Bt[e]?(i=Bt[e].bind(this,i),t.addEventListener(Rt[e],i,!1),i):(console.warn("wrong event specified:",e),l)}function qt(t){Ht[t.pointerId]=t}function Ut(t){Ht[t.pointerId]&&(Ht[t.pointerId]=t)}function Vt(t){delete Ht[t.pointerId]}function Yt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],Ht)e.touches.push(Ht[i]);e.changedTouches=[e],t(e)}}var Gt,Xt,Kt,Jt,Qt,te=ge(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ee=ge(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ie="webkitTransition"===ee||"OTransition"===ee?ee+"End":"transitionend";function ne(t){return"string"==typeof t?document.getElementById(t):t}function oe(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function se(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function re(t){var e=t.parentNode;e&&e.removeChild(t)}function ae(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function le(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ce(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ue(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=fe(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function de(t,e){if(void 0!==t.classList)for(var i=d(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!ue(t,e)){var s=fe(t);pe(t,(s?s+" ":"")+e)}}function he(t,e){void 0!==t.classList?t.classList.remove(e):pe(t,u((" "+fe(t)+" ").replace(" "+e+" "," ")))}function pe(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function fe(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function me(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}(t,e)}function ge(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function ve(t,e,i){var n=e||new M(0,0);t.style[te]=(It.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function _e(t,e){t._leaflet_pos=e,It.any3d?ve(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function ye(t){return t._leaflet_pos||new M(0,0)}if("onselectstart"in document)Gt=function(){Ee(window,"selectstart",je)},Xt=function(){Ae(window,"selectstart",je)};else{var be=ge(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Gt=function(){if(be){var t=document.documentElement.style;Kt=t[be],t[be]="none"}},Xt=function(){be&&(document.documentElement.style[be]=Kt,Kt=void 0)}}function we(){Ee(window,"dragstart",je)}function xe(){Ae(window,"dragstart",je)}function Te(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Ce(),Jt=t,Qt=t.style.outlineStyle,t.style.outlineStyle="none",Ee(window,"keydown",Ce))}function Ce(){Jt&&(Jt.style.outlineStyle=Qt,Jt=void 0,Qt=void 0,Ae(window,"keydown",Ce))}function Se(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function ke(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Pe={__proto__:null,TRANSFORM:te,TRANSITION:ee,TRANSITION_END:ie,get:ne,getStyle:oe,create:se,remove:re,empty:ae,toFront:le,toBack:ce,hasClass:ue,addClass:de,removeClass:he,setClass:pe,getClass:fe,setOpacity:me,testProp:ge,setTransform:ve,setPosition:_e,getPosition:ye,get disableTextSelection(){return Gt},get enableTextSelection(){return Xt},disableImageDrag:we,enableImageDrag:xe,preventOutline:Te,restoreOutline:Ce,getSizedParentNode:Se,getScale:ke};function Ee(t,e,i,n){if(e&&"object"==typeof e)for(var o in e)Fe(t,o,e[o],i);else for(var s=0,r=(e=d(e)).length;s<r;s++)Fe(t,e[s],i,n);return this}var Le="_leaflet_events";function Ae(t,e,i,n){if(1===arguments.length)Me(t),delete t[Le];else if(e&&"object"==typeof e)for(var o in e)ze(t,o,e[o],i);else if(e=d(e),2===arguments.length)Me(t,(function(t){return-1!==v(e,t)}));else for(var s=0,r=e.length;s<r;s++)ze(t,e[s],i,n);return this}function Me(t,e){for(var i in t[Le]){var n=i.split(/\d/)[0];e&&!e(n)||ze(t,n,null,null,i)}}var Oe={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Fe(t,e,i,n){var o=e+s(i)+(n?"_"+s(n):"");if(t[Le]&&t[Le][o])return this;var r=function(e){return i.call(n||t,e||window.event)},a=r;!It.touchNative&&It.pointer&&0===e.indexOf("touch")?r=Wt(t,e,r):It.touch&&"dblclick"===e?r=function(t,e){t.addEventListener("dblclick",e);var i,n=0;function o(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var o=Re(t);if(!o.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||o.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var s=Date.now();s-n<=200?2==++i&&e(function(t){var e,i,n={};for(i in t)e=t[i],n[i]=e&&e.bind?e.bind(t):e;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}(t)):i=1,n=s}}}else i=t.detail}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}(t,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Oe[e]||e,r,!!It.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(r=function(e){e=e||window.event,We(t,e)&&a(e)},t.addEventListener(Oe[e],r,!1)):t.addEventListener(e,a,!1):t.attachEvent("on"+e,r),t[Le]=t[Le]||{},t[Le][o]=r}function ze(t,e,i,n,o){o=o||e+s(i)+(n?"_"+s(n):"");var r=t[Le]&&t[Le][o];if(!r)return this;!It.touchNative&&It.pointer&&0===e.indexOf("touch")?function(t,e,i){Rt[e]?t.removeEventListener(Rt[e],i,!1):console.warn("wrong event specified:",e)}(t,e,r):It.touch&&"dblclick"===e?function(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}(t,r):"removeEventListener"in t?t.removeEventListener(Oe[e]||e,r,!1):t.detachEvent("on"+e,r),t[Le][o]=null}function Ie(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function De(t){return Fe(t,"wheel",Ie),this}function $e(t){return Ee(t,"mousedown touchstart dblclick contextmenu",Ie),t._leaflet_disable_click=!0,this}function je(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return je(t),Ie(t),this}function Re(t){if(t.composedPath)return t.composedPath();for(var e=[],i=t.target;i;)e.push(i),i=i.parentNode;return e}function Be(t,e){if(!e)return new M(t.clientX,t.clientY);var i=ke(e),n=i.boundingClientRect;return new M((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var He=It.linux&&It.chrome?window.devicePixelRatio:It.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Ze(t){return It.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/He:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function We(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var qe={__proto__:null,on:Ee,off:Ae,stopPropagation:Ie,disableScrollPropagation:De,disableClickPropagation:$e,preventDefault:je,stop:Ne,getPropagationPath:Re,getMousePosition:Be,getWheelDelta:Ze,isExternalTarget:We,addListener:Ee,removeListener:Ae},Ue=A.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=ye(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),_e(this._el,i),this.fire("step")},_complete:function(){S(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Ve=A.extend({options:{crs:U,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(t,e){e=h(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=n(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(N(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ee&&It.any3d&&!It.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Ee(this._proxy,ie,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 1,335 bytes, line 1
1,setView:function(t,i,n){return i=void 0===i?this._zoom:this._limitZoom(i),t=this._limitCenter(N(t),i,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=e({animate:n.animate},n.zoom),n.pan=e({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==i?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,i,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,i,n.pan&&n.pan.noMoveStart),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(It.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(It.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),s=(t instanceof M?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():$(t);var i=F(e.paddingTopLeft||e.padding||[0,0]),n=F(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));if((o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};
vendor: 4,189 bytes, line 1
1var s=n.subtract(i).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,e){if(!(t=$(t)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=F(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Ue,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){de(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,i){if(!1===(i=i||{}).animate||!It.any3d)return this.setView(t,e,i);this._stop();var n=this.project(this.getCenter()),o=this.project(t),s=this.getSize(),r=this._zoom;t=N(t),e=void 0===e?r:e;var a=Math.max(s.x,s.y),l=a*this.getZoomScale(r,e),c=o.distanceTo(n)||1;function u(t){var e=(l*l-a*a+2.0164*(t?-1:1)*2.0164*c*c)/(2*(t?l:a)*2.0164*c),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function h(t){return(Math.exp(t)+Math.exp(-t))/2}var p=u(0);function f(t){return a*(h(p)*(d(e=p+1.42*t)/h(e))-d(p))/2.0164;var e}var m=Date.now(),g=(u(1)-p)/1.42,v=i.duration?1e3*i.duration:1e3*g*.8;return this._moveStart(!0,i.noMoveStart),function i(){var s=(Date.now()-m)/v,l=function(t){return 1-Math.pow(1-t,1.5)}(s)*g;s<=1?(this._flyToFrame=C(i,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(f(l)/c)),r),this.getScaleZoom(a/function(t){return a*(h(p)/h(p+1.42*t))}(l),r),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return t=$(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,$(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=F((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=F(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),a=I([r.min.add(i),r.max.subtract(n)]),l=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var c=s.subtract(a.getCenter()),u=a.extend(s).getSize().subtract(l);o.x+=c.x<0?-u.x:u.x,o.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),s=i.divideBy(2).round(),r=o.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(n(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()}
vendor: 16,101 bytes, line 1
1,locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=n(this._handleGeolocationResponse,this),o=n(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,o,t):navigator.geolocation.getCurrentPosition(i,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new j(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&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(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),re(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)re(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=se("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new D(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=$(t),i=F(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),l=this.getSize().subtract(i),c=I(this.project(a,n),this.project(r,n)).getSize(),u=It.any3d?this.options.zoomSnap:1,d=l.x/c.x,h=l.y/c.y,p=e?Math.max(d,h):Math.min(d,h);return n=this.getScaleZoom(p,n),u&&(n=Math.round(n/(u/100))*(u/100),n=e?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new z(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(N(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(F(t),e)},layerPointToLatLng:function(t){var e=F(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(N(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(N(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds($(t))},distance:function(t,e){return this.options.crs.distance(N(t),N(e))},containerPointToLayerPoint:function(t){return F(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return F(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(F(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(N(t)))},mouseEventToContainerPoint:function(t){return Be(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ne(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ee(e,"scroll",this._onScroll,this),this._containerId=s(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&It.any3d,de(t,"leaflet-container"+(It.touch?" leaflet-touch":"")+(It.retina?" leaflet-retina":"")+(It.ielt9?" leaflet-oldie":"")+(It.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=oe(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),_e(this._mapPane,new M(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(de(t.markerPane,"leaflet-zoom-hide"),de(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){_e(this._mapPane,new M(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){_e(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[s(this._container)]=this;var e=t?Ae:Ee;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),It.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,a=!1;r;){if((i=this._targets[s(r)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(o&&!We(r,t))break;if(n.push(i),o)break}if(r===this._container)break;r=r.parentNode}return n.length||a||o||!this.listens(e,!0)||(n=[this]),n},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var i=t.type;"mousedown"===i&&Te(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,n){if("click"===t.type){var o=e({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var s=this._findEventTargets(t,i);if(n){for(var r=[],a=0;a<n.length;a++)n[a].listens(i,!0)&&r.push(n[a]);s=r.concat(s)}if(s.length){"contextmenu"===i&&je(t);var l=s[0],c={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var u=l.getLatLng&&(!l._radius||l._radius<=10);c.containerPoint=u?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(t),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=u?l.getLatLng():this.layerPointToLatLng(c.layerPoint)}for(a=0;a<s.length;a++)if(s[a].fire(i,c,!0),c.originalEvent._stopped||!1===s[a].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,i))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return ye(this._mapPane)||new M(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return I([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),o=this.getSize().divideBy(2),s=new z(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,i,e);return Math.abs(r.x)<=1&&Math.abs(r.y)<=1?t:this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new z(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=I(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new M(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=It.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){he(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i)||(this.panBy(i,e),0))},_createAnimProxy:function(){var t=this._proxy=se("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=te,i=this._proxy.style[e];ve(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){re(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ve(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o)||(C((function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,i,o){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,de(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:o}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(n(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&he(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))}}),Ye=P.extend({options:{position:"topright"},initialize:function(t){h(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return de(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(re(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ge=function(t){return new Ye(t)};Ve.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=se("div",e+"control-container",this._container);function n(n,o){var s=e+n+" "+e+o;t[n+o]=se("div",s,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)re(this._controlCorners[t]);re(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}
vendor: 11,069 bytes, line 1
1);var Xe=Ye.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in h(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Ye.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(s(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){de(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(de(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):he(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return he(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=se("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),$e(e),De(e);var n=this._section=se("section",t+"-list");i&&(this._map.on("click",this.collapse,this),Ee(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var o=this._layersLink=se("a",t+"-toggle",e);o.href="#",o.title="Layers",o.setAttribute("role","button"),Ee(o,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){je(t),this._expandSafely()}},this),i||this.expand(),this._baseLayersList=se("div",t+"-base",n),this._separator=se("div",t+"-separator",n),this._overlaysList=se("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(n((function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ae(this._baseLayersList),ae(this._overlaysList),this._layerControlInputs=[];var t,e,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+s(this),n),this._layerControlInputs.push(e),e.layerId=s(t.layer),Ee(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var r=document.createElement("span");return i.appendChild(r),r.appendChild(e),r.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;o>=0;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Ee(t,"click",je),this.expand();var e=this;setTimeout((function(){Ae(t,"click",je),e._preventClick=!1}))}}),Ke=Ye.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=se("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var s=se("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),$e(s),Ee(s,"click",Ne),Ee(s,"click",o,this),Ee(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";he(this._zoomInButton,e),he(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(de(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(de(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});Ve.mergeOptions({zoomControl:!0}),Ve.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ke,this.addControl(this.zoomControl))}));var Je=Ye.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=se("div","leaflet-control-scale"),i=this.options;return this._addScales(i,"leaflet-control-scale-line",e),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=se("div",e,i)),t.imperial&&(this._iScale=se("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),Qe=Ye.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(It.inlineSvg?'<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> ':"")+"Leaflet</a>"},initialize:function(t){h(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=se("div","leaflet-control-attribution"),$e(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' <span aria-hidden="true">|</span> ')}}});Ve.mergeOptions({attributionControl:!0}),Ve.addInitHook((function(){this.options.attributionControl&&(new Qe).addTo(this)})),Ye.Layers=Xe,Ye.Zoom=Ke,Ye.Scale=Je,Ye.Attribution=Qe,Ge.layers=function(t,e,i){return new Xe(t,e,i)},Ge.zoom=function(t){return new Ke(t)},Ge.scale=function(t){return new Je(t)},Ge.attribution=function(t){return new Qe(t)};var ti=P.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});ti.addTo=function(t,e){return t.addHandler(e,this),this};var ei={Events:E},ii=It.touch?"touchstart mousedown":"mousedown",ni=A.extend({options:{clickTolerance:3}
vendor: 2,894 bytes, line 1
1,initialize:function(t,e,i,n){h(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(Ee(this._dragStartTarget,ii,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ni._dragging===this&&this.finishDrag(!0),Ae(this._dragStartTarget,ii,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ue(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)ni._dragging===this&&this.finishDrag();else if(!(ni._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(ni._dragging=this,this._preventOutline&&Te(this._element),we(),Gt(),this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,i=Se(this._element);this._startPoint=new M(e.clientX,e.clientY),this._startPos=ye(this._element),this._parentScale=ke(i);var n="mousedown"===t.type;Ee(document,n?"mousemove":"touchmove",this._onMove,this),Ee(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new M(e.clientX,e.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,je(t),this._moved||(this.fire("dragstart"),this._moved=!0,de(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),de(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),_e(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){he(document.body,"leaflet-dragging"),this._lastTarget&&(he(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Ae(document,"mousemove touchmove",this._onMove,this),Ae(document,"mouseup touchend touchcancel",this._onUp,this),xe(),Xt();var e=this._moved&&this._moving;this._moving=!1,ni._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function oi(t,e,i){var n,o,s,r,a,l,c,u,d,h=[1,4,2,8];for(o=0,c=t.length;o<c;o++)t[o]._code=pi(t[o],e);for(r=0;r<4;r++){for(u=h[r],n=[],o=0,s=(c=t.length)-1;o<c;s=o++)a=t[o],l=t[s],a._code&u?l._code&u||((d=hi(l,a,u,e,i))._code=pi(d,e),n.push(d)):(l._code&u&&((d=hi(l,a,u,e,i))._code=pi(d,e),n.push(d)),n.push(a));t=n}return t}function si(t,e){var i,n,o,s,r,a,l,c,u;if(!t||0===t.length)throw new Error("latlngs not passed");mi(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var d=N([0,0]),h=$(t);
vendor: 2,246 bytes, line 1
1h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest())<1700&&(d=ri(t));var p=t.length,f=[];for(i=0;i<p;i++){var m=N(t[i]);f.push(e.project(N([m.lat-d.lat,m.lng-d.lng])))}for(a=l=c=0,i=0,n=p-1;i<p;n=i++)o=f[i],s=f[n],r=o.y*s.x-s.y*o.x,l+=(o.x+s.x)*r,c+=(o.y+s.y)*r,a+=3*r;u=0===a?f[0]:[l/a,c/a];var g=e.unproject(F(u));return N([g.lat+d.lat,g.lng+d.lng])}function ri(t){for(var e=0,i=0,n=0,o=0;o<t.length;o++){var s=N(t[o]);e+=s.lat,i+=s.lng,n++}return N([e/n,i/n])}var ai,li={__proto__:null,clipPolygon:oi,polygonCenter:si,centroid:ri};function ci(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=function(t,e){var i=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,function t(e,i,n,o,s){var r,a,l,c=0;for(a=o+1;a<=s-1;a++)(l=fi(e[a],e[o],e[s],!0))>c&&(r=a,c=l);c>n&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,s))}(t,n,e,0,i-1);var o,s=[];for(o=0;o<i;o++)n[o]&&s.push(t[o]);return s}(t=function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;n++)r=t[n],a=t[o],l=void 0,c=void 0,l=a.x-r.x,c=a.y-r.y,l*l+c*c>e&&(i.push(t[n]),o=n);var r,a,l,c;return o<s-1&&i.push(t[s-1]),i}(t,i),i)}function ui(t,e,i){return Math.sqrt(fi(t,e,i,!0))}function di(t,e,i,n,o){var s,r,a,l=n?ai:pi(t,i),c=pi(e,i);for(ai=c;;){if(!(l|c))return[t,e];if(l&c)return!1;a=pi(r=hi(t,e,s=l||c,i,o),i),s===l?(t=r,l=a):(e=r,c=a)}}function hi(t,e,i,n,o){var s,r,a=e.x-t.x,l=e.y-t.y,c=n.min,u=n.max;return 8&i?(s=t.x+a*(u.y-t.y)/l,r=u.y):4&i?(s=t.x+a*(c.y-t.y)/l,r=c.y):2&i?(s=u.x,r=t.y+l*(u.x-t.x)/a):1&i&&(s=c.x,r=t.y+l*(c.x-t.x)/a),new M(s,r,o)}function pi(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function fi(t,e,i,n){var o,s=e.x,r=e.y,a=i.x-s,l=i.y-r,c=a*a+l*l;return c>0&&((o=((t.x-s)*a+(t.y-r)*l)/c)>1?(s=i.x,r=i.y):o>0&&(s+=a*o,r+=l*o)),a=t.x-s,l=t.y-r,n?a*a+l*l:new M(s,r)}function mi(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function gi(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mi(t)}function vi(t,e){var i,n,o,s,r,a,l,c;if(!t||0===t.length)throw new Error("latlngs not passed");mi(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var u=N([0,0]),d=$(t);
vendor: 4,226 bytes, line 1
1d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(u=ri(t));var h=t.length,p=[];for(i=0;i<h;i++){var f=N(t[i]);p.push(e.project(N([f.lat-u.lat,f.lng-u.lng])))}for(i=0,n=0;i<h-1;i++)n+=p[i].distanceTo(p[i+1])/2;if(0===n)c=p[0];else for(i=0,s=0;i<h-1;i++)if(r=p[i],a=p[i+1],(s+=o=r.distanceTo(a))>n){l=(s-n)/o,c=[a.x-l*(a.x-r.x),a.y-l*(a.y-r.y)];break}var m=e.unproject(F(c));return N([m.lat+u.lat,m.lng+u.lng])}var _i={__proto__:null,simplify:ci,pointToSegmentDistance:ui,closestPointOnSegment:function(t,e,i){return fi(t,e,i)},clipSegment:di,_getEdgeIntersection:hi,_getBitCode:pi,_sqClosestPointOnSegment:fi,isFlat:mi,_flat:gi,polylineCenter:vi},yi={project:function(t){return new M(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new z([-180,-90],[180,90])},bi={R:6378137,R_MINOR:6356752.314245179,bounds:new z([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-i*Math.log(Math.max(a,1e-10)),new M(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)e=s*Math.sin(a),e=Math.pow((1-e)/(1+e),s/2),a+=c=Math.PI/2-2*Math.atan(r*e)-a;return new j(a*i,t.x*i/n)}},wi={__proto__:null,LonLat:yi,Mercator:bi,SphericalMercator:Z},xi=e({},H,{code:"EPSG:3395",projection:bi,transformation:function(){var t=.5/(Math.PI*bi.R);return q(t,.5,-t,.5)}()}),Ti=e({},H,{code:"EPSG:4326",projection:yi,transformation:q(1/180,1,-1/180,.5)}),Ci=e({},B,{projection:yi,transformation:q(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});B.Earth=H,B.EPSG3395=xi,B.EPSG3857=U,B.EPSG900913=V,B.EPSG4326=Ti,B.Simple=Ci;var Si=A.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",(function(){e.off(i,this)}),this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ve.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=s(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=s(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return s(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?g(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=s(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZo
vendor: 13,670 bytes, line 1
1om&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var ki=Si.extend({initialize:function(t,e){var i,n;if(h(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return s(t)}}),Pi=ki.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),ki.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),ki.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new D;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),Ei=P.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){h(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"==typeof n&&(n=[n,n]);var o=F(n),s=F("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return It.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Li=Ei.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(t){return"string"!=typeof Li.imagePath&&(Li.imagePath=this._detectIconPath()),(this.options.imagePath||Li.imagePath)+Ei.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(t,e,i){var n=e.exec(t);return n&&n[i]};return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=se("div","leaflet-default-icon-path",document.body),e=oe(t,"background-image")||oe(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e))return e;var i=document.querySelector('link[href$="leaflet.css"]');return i?i.href.substring(0,i.href.length-"leaflet.css".length-1):""}}),Ai=ti.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new ni(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),de(t,"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&&he(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=ye(e._icon),r=i.getPixelBounds(),a=i.getPixelOrigin(),l=I(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!l.contains(s)){var c=F((Math.max(l.max.x,s.x)-l.max.x)/(r.max.x-l.max.x)-(Math.min(l.min.x,s.x)-l.min.x)/(r.min.x-l.min.x),(Math.max(l.max.y,s.y)-l.max.y)/(r.max.y-l.max.y)-(Math.min(l.min.y,s.y)-l.min.y)/(r.min.y-l.min.y)).multiplyBy(n);i.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),_e(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=C(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(S(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=ye(e._icon),o=e._map.layerPointToLatLng(n);i&&_e(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){S(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Mi=Si.extend({options:{icon:new Li,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(t,e){h(this,e),this._latlng=N(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.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(t){var e=this._latlng;return this._latlng=N(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,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 t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),de(i,e),t.keyboard&&(i.tabIndex="0",i.setAttribute("role","button")),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Ee(i,"focus",this._panOnFocus,this);var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(de(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Ae(this._icon,"focus",this._panOnFocus,this),re(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&re(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&_e(this._icon,t),this._shadow&&_e(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(de(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Ai)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ai(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&me(this._icon,t),this._shadow&&me(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var e=this.options.icon.options,i=e.iconSize?F(e.iconSize):F(0,0),n=e.iconAnchor?F(e.iconAnchor):F(0,0);t.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}}),Oi=Si.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(t){this._renderer=t.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(t){return h(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"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)}}),Fi=Oi.extend({options:{fill:!0,radius:10},initialize:function(t,e){h(this,e),this._latlng=N(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=N(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return Oi.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),n=[t+i,e+i];this._pxBounds=new z(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(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),zi=Fi.extend({initialize:function(t,i,n){if("number"==typeof i&&(i=e({},n,{radius:i})),h(this,i),this._latlng=N(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new D(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Oi.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===H.distance){var o=Math.PI/180,s=this._mRadius/H.R/o,r=i.project([e+s,t]),a=i.project([e-s,t]),l=r.add(a).divideBy(2),c=i.unproject(l).lat,u=Math.acos((Math.cos(s*o)-Math.sin(e*o)*Math.sin(c*o))/(Math.cos(e*o)*Math.cos(c*o)))/o;(isNaN(u)||0===u)&&(u=s/Math.cos(Math.PI/180*e)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-i.project([c,t-u]).x,this._radiusY=l.y-r.y}else{var d=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(d).x}this._updateBounds()}}),Ii=Oi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){h(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,s=fi,r=0,a=this._parts.length;r<a;r++)for(var l=this._parts[r],c=1,u=l.length;c<u;c++){var d=s(t,e=l[c-1],i=l[c],!0);d<n&&(n=d,o=s(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o}
vendor: 2,255 bytes, line 1
1,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return vi(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=N(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new D,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return mi(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=mi(t),n=0,o=t.length;n<o;n++)i?(e[n]=N(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new z;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new M(t,t);this._rawPxBounds&&(this._pxBounds=new z([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,i){var n,o,s=t[0]instanceof j,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,i,n,o,s,r,a,l=this._parts;for(e=0,n=0,o=this._rings.length;e<o;e++)for(i=0,s=(a=this._rings[e]).length;i<s-1;i++)(r=di(a[i],a[i+1],t,i,!0))&&(l[n]=l[n]||[],l[n].push(r[0]),r[1]===a[i+1]&&i!==s-2||(l[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=ci(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,s,r,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,s=this._parts.length;i<s;i++)for(n=0,o=(r=(a=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&ui(t,a[o],a[n])<=l)return!0;return!1}});Ii._flat=gi;var Di=Ii.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
vendor: 11,675 bytes, line 1
1,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return si(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var e=Ii.prototype._convertLatLngs.call(this,t),i=e.length;return i>=2&&e[0]instanceof j&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){Ii.prototype._setLatLngs.call(this,t),mi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new M(e,e);if(t=new z(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=oi(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,s,r,a,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(l=(e=this._parts[o]).length)-1;s<l;r=s++)i=e[s],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||Ii.prototype._containsPoint.call(this,t,!0)}}),$i=Pi.extend({initialize:function(t,e){h(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=g(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=ji(t,s);return r?(r.feature=qi(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(e){this._setLayerStyle(e,t)}),this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function ji(t,e){var i,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,l=[],c=e&&e.pointToLayer,u=e&&e.coordsToLatLng||Ri;if(!a&&!r)return null;switch(r.type){case"Point":return Ni(c,t,i=u(a),e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)i=u(a[o]),l.push(Ni(c,t,i,e));return new Pi(l);case"LineString":case"MultiLineString":return n=Bi(a,"LineString"===r.type?0:1,u),new Ii(n,e);case"Polygon":case"MultiPolygon":return n=Bi(a,"Polygon"===r.type?1:2,u),new Di(n,e);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var d=ji({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);d&&l.push(d)}return new Pi(l);case"FeatureCollection":for(o=0,s=r.features.length;o<s;o++){var h=ji(r.features[o],e);h&&l.push(h)}return new Pi(l);default:throw new Error("Invalid GeoJSON object.")}}function Ni(t,e,i,n){return t?t(e,i):new Mi(i,n&&n.markersInheritOptions&&n)}function Ri(t){return new j(t[1],t[0],t[2])}function Bi(t,e,i){for(var n,o=[],s=0,r=t.length;s<r;s++)n=e?Bi(t[s],e-1,i):(i||Ri)(t[s]),o.push(n);return o}function Hi(t,e){return void 0!==(t=N(t)).alt?[c(t.lng,e),c(t.lat,e),c(t.alt,e)]:[c(t.lng,e),c(t.lat,e)]}function Zi(t,e,i,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(e?Zi(t[s],mi(t[s])?0:e-1,i,n):Hi(t[s],n));return!e&&i&&o.length>0&&o.push(o[0].slice()),o}function Wi(t,i){return t.feature?e({},t.feature,{geometry:i}):qi(i)}function qi(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Ui={toGeoJSON:function(t){return Wi(this,{type:"Point",coordinates:Hi(this.getLatLng(),t)})}};function Vi(t,e){return new $i(t,e)}Mi.include(Ui),zi.include(Ui),Fi.include(Ui),Ii.include({toGeoJSON:function(t){var e=!mi(this._latlngs);return Wi(this,{type:(e?"Multi":"")+"LineString",coordinates:Zi(this._latlngs,e?1:0,!1,t)})}}),Di.include({toGeoJSON:function(t){var e=!mi(this._latlngs),i=e&&!mi(this._latlngs[0]),n=Zi(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),Wi(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),ki.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(i){e.push(i.toGeoJSON(t).geometry.coordinates)})),Wi(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer((function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var s=qi(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}})),i?Wi(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var Yi=Vi,Gi=Si.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=$(e),h(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(de(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){re(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&le(this._image),this},bringToBack:function(){return this._map&&ce(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=$(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:se("img");de(e,"leaflet-image-layer"),this._zoomAnimated&&de(e,"leaflet-zoom-animated"),this.options.className&&de(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=n(this.fire,this,"load"),e.onerror=n(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ve(this._image,i,e)},_reset:function(){var t=this._image,e=new z(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();_e(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){me(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Xi=Gi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:se("video");if(de(e,"leaflet-image-layer"),this._zoomAnimated&&de(e,"leaflet-zoom-animated"),this.options.className&&de(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=n(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),o=[],s=0;s<i.length;s++)o.push(i[s].src);this._url=i.length>0?o:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var r=0;r<this._url.length;r++){var a=se("source");a.src=this._url[r],e.appendChild(a)}}}}),Ki=Gi.extend({_initImage:function(){var t=this._image=this._url;de(t,"leaflet-image-layer"),this._zoomAnimated&&de(t,"leaflet-zoom-animated"),this.options.className&&de(t,this.options.className),t.onselectstart=l,t.onmousemove=l}}),Ji=Si.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof j||g(t))?(this._latlng=N(t),h(this,e)):(h(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&me(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&me(this._container,1),this.bringToFront(),this.options.interactive&&(de(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(me(this._container,0),this._removeTimeout=setTimeout(n(re,void 0,this._container),200)):re(this._container),this.options.interactive&&(he(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=N(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,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 t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&le(this._container),this},bringToBack:function(){return this._map&&ce(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof Pi){e=null;var i=this._source._layers;for(var n in i)if(i[n]._map){e=i[n];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=F(this.options.offset),i=this._getAnchor();this._zoomAnimated?_e(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}});
vendor: 14,478 bytes, line 1
1Ve.include({_initOverlay:function(t,e,i,n){var o=e;return o instanceof t||(o=new t(n).setContent(e)),i&&o.setLatLng(i),o}}),Si.include({_initOverlay:function(t,e,i,n){var o=i;return o instanceof t?(h(o,n),o._source=this):(o=e&&!n?e:new t(n,this)).setContent(i),o}});var Qi=Ji.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(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,Ji.prototype.openOn.call(this,t)},onAdd:function(t){Ji.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Oi||this._source.on("preclick",Ie))},onRemove:function(t){Ji.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Oi||this._source.off("preclick",Ie))},getEvents:function(){var t=Ji.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=se("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=se("div",t+"-content-wrapper",e);if(this._contentNode=se("div",t+"-content",i),$e(e),De(this._contentNode),Ee(e,"contextmenu",Ie),this._tipContainer=se("div",t+"-tip-container",e),this._tip=se("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=se("a",t+"-close-button",e);n.setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">×</span>',Ee(n,"click",(function(t){je(t),this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight;o&&n>o?(e.height=o+"px",de(t,"leaflet-popup-scrolled")):he(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();_e(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(oe(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new M(this._containerLeft,-i-this._containerBottom);o._add(ye(this._container));var s=t.layerPointToContainerPoint(o),r=F(this.options.autoPanPadding),a=F(this.options.autoPanPaddingTopLeft||r),l=F(this.options.autoPanPaddingBottomRight||r),c=t.getSize(),u=0,d=0;s.x+n+l.x>c.x&&(u=s.x+n-c.x+l.x),s.x-u-a.x<0&&(u=s.x-a.x),s.y+i+l.y>c.y&&(d=s.y+i-c.y+l.y),s.y-d-a.y<0&&(d=s.y-a.y),(u||d)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([u,d]))}},_getAnchor:function(){return F(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ve.mergeOptions({closePopupOnClick:!0}),Ve.include({openPopup:function(t,e,i){return this._initOverlay(Qi,t,e,i).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),Si.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Qi,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Pi||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){Ne(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof Oi?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var tn=Ji.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Ji.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Ji.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Ji.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=se("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+s(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,l=o.offsetWidth,c=o.offsetHeight,u=F(this.options.offset),d=this._getAnchor();"top"===a?(e=l/2,i=c):"bottom"===a?(e=l/2,i=0):"center"===a?(e=l/2,i=c/2):"right"===a?(e=0,i=c/2):"left"===a?(e=l,i=c/2):r.x<s.x?(a="right",e=0,i=c/2):(a="left",e=l+2*(u.x+d.x),i=c/2),t=t.subtract(F(e,i,!0)).add(u).add(d),he(o,"leaflet-tooltip-right"),he(o,"leaflet-tooltip-left"),he(o,"leaflet-tooltip-top"),he(o,"leaflet-tooltip-bottom"),de(o,"leaflet-tooltip-"+a),_e(o,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&me(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return F(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Ve.include({openTooltip:function(t,e,i){return this._initOverlay(tn,t,e,i).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),Si.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(tn,this._tooltip,t,e),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(t){if(t||!this._tooltipHandlersAdded){var e=t?"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[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof Pi||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(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(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(Ee(e,"focus",(function(){this._tooltip._source=t,this.openTooltip()}),this),Ee(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var e=this;this._map.once("moveend",(function(){e._openOnceFlag=!1,e._openTooltip(t)}))}else this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var en=Ei.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),i=this.options;if(i.html instanceof Element?(ae(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=F(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Ei.Default=Li;var nn=Si.extend({options:{tileSize:256,opacity:1,updateWhenIdle:It.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(t){h(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),re(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(le(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ce(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=r(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof M?t:new M(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,s=i.length;o<s;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!It.ielt9){me(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);me(o.el,s),s<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(S(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=se("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(re(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=se("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)re(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0}
vendor: 5,039 bytes, line 1
1,_retainParent:function(t,e,i,n){var o=Math.floor(t/2),s=Math.floor(e/2),r=i-1,a=new M(+o,+s);a.z=+r;var l=this._tileCoordsToKey(a),c=this._tiles[l];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new M(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),l=this._tiles[a];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(o,s,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=Math.round(e);o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();It.any3d?ve(t.el,o,n):_e(t.el,o)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(i,this._tileZoom),o=e.project(t,this._tileZoom).floor(),s=e.getSize().divideBy(2*n);return new z(o.subtract(s),o.add(s))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,l=new z(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));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 u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new M(u.x,u.y))||(this._tiles[c].current=!1)}if(Math.abs(i-this._tileZoom)>1)this._setView(t,i);else{for(var d=o.min.y;d<=o.max.y;d++)for(var h=o.min.x;h<=o.max.x;h++){var p=new M(h,d);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:r.push(p)}}if(r.sort((function(t,e){return t.distanceTo(s)-e.distanceTo(s)})),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(h=0;h<r.length;h++)this._addTile(r[h],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return $(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new D(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new M(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(re(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){de(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,It.ielt9&&this.options.opacity<1&&me(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),o=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),n(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&C(n(this._tileReady,this,t,null,s)),_e(s,i),this._tiles[o]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})}
vendor: 5,985 bytes, line 1
1,_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var o=this._tileCoordsToKey(t);(i=this._tiles[o])&&(i.loaded=+new Date,this._map._fadeAnimated?(me(i.el,0),S(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(de(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),It.ielt9||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(n(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new M(this._wrapX?a(t.x,this._wrapX):t.x,this._wrapY?a(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new z(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),on=nn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=h(this,e)).detectRetina&&It.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return Ee(i,"load",n(this._tileOnLoad,this,e,i)),Ee(i,"error",n(this._tileOnError,this,e,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var i={r:It.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(i.y=n),i["-y"]=n}return m(this._url,e(i,this.options))},_tileOnLoad:function(t,e){It.ielt9?setTimeout(n(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,!e.complete)){e.src=_;var i=this._tiles[t].coords;re(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",_),nn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==_))return nn.prototype._tileReady.call(this,t,e,i)}});function sn(t,e){return new on(t,e)}var rn=on.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,i){this._url=t;var n=e({},this.defaultWmsParams);for(var o in i)o in this.options||(n[o]=i[o]);var s=(i=h(this,i)).detectRetina&&It.retina?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,on.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=I(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===Ti?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=on.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,i){return e(this.wmsParams,t),i||this.redraw(),this}});on.WMS=rn,sn.wms=function(t,e){return new rn(t,e)};var an=Si.extend({options:{padding:.1},initialize:function(t){h(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),de(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),s=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));It.any3d?ve(this._container,s,i):_e(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).roun
vendor: 5,441 bytes, line 1
1d();this._bounds=new z(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ln=an.extend({options:{tolerance:0},getEvents:function(){var t=an.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){an.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ee(t,"mousemove",this._onMouseMove,this),Ee(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ee(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,re(this._container),Ae(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){an.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=It.retina?2:1;_e(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",It.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){an.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[s(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[s(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(e=Number(n[i]),isNaN(e))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new z,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_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 t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.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 t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,s,r=t._parts,a=r.length,l=this._ctx;if(a){for(l.beginPath(),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],l[n?"lineTo":"moveTo"](s.x,s.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!==o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!==o&&i.restore(),this._fillStroke(i,t)}},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&("click"!==t.type&&"preclick"!==t.type||!this._map._draggableMoved(e))&&(i=e);this._fireEvent(!!i&&[i],t)},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(he(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var i,o,s=this._drawFirst;s;s=s.next)(i=s.layer).options.interactive&&i._containsPoint(e)&&(o=i);o!==this._hoveredLayer&&(this._handleMouseOut(t),o&&(de(this._container,"leaflet-interactive"),this._fireEvent([o],t,"mouseover"),this._hoveredLayer=o)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(n((function(){this._mouseHoverThrottled=!1}),this),32)}}
vendor: 5,351 bytes, line 1
1,_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;i&&(i.prev=n,n?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;n&&(n.next=i,i?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function cn(t){return It.canvas?new ln(t):null}var un=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),dn={_initContainer:function(){this._container=se("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(an.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=un("shape");de(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=un("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;re(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=un("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=un("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){le(t._container)},_bringToBack:function(t){ce(t._container)}},hn=It.vml?un:Y,pn=an.extend({_initContainer:function(){this._container=hn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=hn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){re(this._container),Ae(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){an.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),_e(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=hn("path");t.options.className&&de(e,t.options.className),t.options.interactive&&de(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){re(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,G(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){le(t._path)},_bringToBack:function(t){ce(t._path)}});function fn(t){return It.svg||It.vml?new pn(t):null}It.vml&&pn.include(dn),Ve.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&cn(t)||fn(t)}});var mn=Di.extend({initialize:function(t,e){Di.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))}
vendor: 12,265 bytes, line 1
1,_boundsToLatLngs:function(t){return[(t=$(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});pn.create=hn,pn.pointsToPath=G,$i.geometryToLayer=ji,$i.coordsToLatLng=Ri,$i.coordsToLatLngs=Bi,$i.latLngToCoords=Hi,$i.latLngsToCoords=Zi,$i.getFeature=Wi,$i.asFeature=qi,Ve.mergeOptions({boxZoom:!0});var gn=ti.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ee(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ae(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){re(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Gt(),we(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ee(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=se("div","leaflet-zoom-box",this._container),de(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new z(this._point,this._startPoint),i=e.getSize();_e(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(re(this._box),he(this._container,"leaflet-crosshair")),Xt(),xe(),Ae(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(n(this._resetState,this),0);var e=new D(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Ve.addInitHook("addHandler","boxZoom",gn),Ve.mergeOptions({doubleClickZoom:!0});var vn=ti.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});Ve.addInitHook("addHandler","doubleClickZoom",vn),Ve.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var _n=ti.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new ni(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}de(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){he(this._map._container,"leaflet-grab"),he(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=$(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)<Math.abs(s+i)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=i.easeLinearity,a=o.multiplyBy(r/s),l=a.distanceTo([0,0]),c=Math.min(i.inertiaMaxSpeed,l),u=a.multiplyBy(c/l),d=c/(i.inertiaDeceleration*r),h=u.multiplyBy(-d/2).round();h.x||h.y?(h=e._limitOffset(h,e.options.maxBounds),C((function(){e.panBy(h,{duration:d,easeLinearity:r,noMoveStart:!0,animate:!0})}))):e.fire("moveend")}}});Ve.addInitHook("addHandler","dragging",_n),Ve.mergeOptions({keyboard:!0,keyboardPanDelta:80});var yn=ti.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Ee(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Ae(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 t=document.body,e=document.documentElement,i=t.scrollTop||e.scrollTop,n=t.scrollLeft||e.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(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){Ee(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Ae(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys){if(!n._panAnim||!n._panAnim._inProgress)if(e=this._panKeys[i],t.shiftKey&&(e=F(e).multiplyBy(3)),n.options.maxBounds&&(e=n._limitOffset(F(e),n.options.maxBounds)),n.options.worldCopyJump){var o=n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(e)));n.panTo(o)}else n.panBy(e)}else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Ne(t)}}});Ve.addInitHook("addHandler","keyboard",yn),Ve.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var bn=ti.extend({addHooks:function(){Ee(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Ae(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Ze(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(n(this._performZoom,this),o),Ne(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=i?Math.ceil(o/i)*i:o,r=t._limitZoom(e+(this._delta>0?s:-s))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});Ve.addInitHook("addHandler","scrollWheelZoom",bn),Ve.mergeOptions({tapHold:It.touchNative&&It.safari&&It.mobile,tapTolerance:15});var wn=ti.extend({addHooks:function(){Ee(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ae(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new M(e.clientX,e.clientY),this._holdTimeout=setTimeout(n((function(){this._cancel(),this._isTapValid()&&(Ee(document,"touchend",je),Ee(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),600),Ee(document,"touchend touchcancel contextmenu",this._cancel,this),Ee(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Ae(document,"touchend",je),Ae(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Ae(document,"touchend touchcancel contextmenu",this._cancel,this),Ae(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new M(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});Ve.addInitHook("addHandler","tapHold",wn),Ve.mergeOptions({touchZoom:It.touch,bounceAtZoomLimits:!0});var xn=ti.extend({addHooks:function(){de(this._map._container,"leaflet-touch-zoom"),Ee(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){he(this._map._container,"leaflet-touch-zoom"),Ae(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ee(document,"touchmove",this._onTouchMove,this),Ee(document,"touchend touchcancel",this._onTouchEnd,this),je(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]),s=i.distanceTo(o)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMin
1Zoom()&&s<1||this._zoom>e.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),S(this._animRequest);var a=n(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=C(a,this,!0),je(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,S(this._animRequest),Ae(document,"touchmove",this._onTouchMove,this),Ae(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))):this._zooming=!1}});Ve.addInitHook("addHandler","touchZoom",xn),Ve.BoxZoom=gn,Ve.DoubleClickZoom=vn,Ve.Drag=_n,Ve.Keyboard=yn,Ve.ScrollWheelZoom=bn,Ve.TapHold=wn,Ve.TouchZoom=xn,t.Bounds=z,t.Browser=It,t.CRS=B,t.Canvas=ln,t.Circle=zi,t.CircleMarker=Fi,t.Class=P,t.Control=Ye,t.DivIcon=en,t.DivOverlay=Ji,t.DomEvent=qe,t.DomUtil=Pe,t.Draggable=ni,t.Evented=A,t.FeatureGroup=Pi,t.GeoJSON=$i,t.GridLayer=nn,t.Handler=ti,t.Icon=Ei,t.ImageOverlay=Gi,t.LatLng=j,t.LatLngBounds=D,t.Layer=Si,t.LayerGroup=ki,t.LineUtil=_i,t.Map=Ve,t.Marker=Mi,t.Mixin=ei,t.Path=Oi,t.Point=M,t.PolyUtil=li,t.Polygon=Di,t.Polyline=Ii,t.Popup=Qi,t.PosAnimation=Ue,t.Projection=wi,t.Rectangle=mn,t.Renderer=an,t.SVG=pn,t.SVGOverlay=Ki,t.TileLayer=on,t.Tooltip=tn,t.Transformation=W,t.Util=k,t.VideoOverlay=Xi,t.bind=n,t.bounds=I,t.canvas=cn,t.circle=function(t,e,i){return new zi(t,e,i)},t.circleMarker=function(t,e){return new Fi(t,e)},t.control=Ge,t.divIcon=function(t){return new en(t)},t.extend=e,t.featureGroup=function(t,e){return new Pi(t,e)},t.geoJSON=Vi,t.geoJson=Yi,t.gridLayer=function(t){return new nn(t)},t.icon=function(t){return new Ei(t)},t.imageOverlay=function(t,e,i){return new Gi(t,e,i)},t.latLng=N,t.latLngBounds=$,t.layerGroup=function(t,e){return new ki(t,e)},t.map=function(t,e){return new Ve(t,e)},t.marker=function(t,e){return new Mi(t,e)},t.point=F,t.polygon=function(t,e){return new Di(t,e)},t.polyline=function(t,e){return new Ii(t,e)},t.popup=function(t,e){return new Qi(t,e)},t.rectangle=function(t,e){return new mn(t,e)},t.setOptions=h,t.stamp=s,t.svg=fn,t.svgOverlay=function(t,e,i){return new Ki(t,e,i)},t.tileLayer=sn,t.tooltip=function(t,e){return new tn(t,e)},t.transformation=q,t.version="1.9.4",t.videoOverlay=function(t,e,i){return new Xi(t,e,i)};var Tn=window.L;t.noConflict=function(){return window.L=Tn,this},window.L=t}(e)},function(t,e,i){var n,o;function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(s,a){"object"===r(e)&&void 0!==t?t.exports=a():void 0===(o="function"==typeof(n=a)?n.call(e,i,e,t):n)||(t.exports=o)}(0,(function(){"use strict";var t="undefined"!=typeof window,e=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),i=t&&"IntersectionObserver"in window,n=t&&"classList"in document.createElement("p"),o={elements_selector:"img",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null},r=function(t,e){return t.getAttribute("data-"+e)},a=function(t,e,i){var n="data-"+e;null!==i?t.setAttribute(n,i):t.removeAttribute(n)},l=function(t){return"true"===r(t,"was-processed")},c=function(t,e){return a(t,"ll-timeout",e)},u=function(t){return r(t,"ll-timeout")},d=function(t,e){var i,n=new t(e);try{i=new CustomEvent("LazyLoad::Initialized",{detail:{instance:n}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:n})}window.dispatchEvent(i)},h=function(t,e){t&&t(e)},p=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&h(t._settings.callback_finish)},f=function(t){for(var e,i=[],n=0;e=t.children[n];n+=1)"SOURCE"===e.tagName&&i.push(e);return i}
1,m=function(t,e,i){i&&t.setAttribute(e,i)},g=function(t,e){m(t,"sizes",r(t,e.data_sizes)),m(t,"srcset",r(t,e.data_srcset)),m(t,"src",r(t,e.data_src))},v={IMG:function(t,e){var i=t.parentNode;i&&"PICTURE"===i.tagName&&f(i).forEach((function(t){g(t,e)})),g(t,e)},IFRAME:function(t,e){m(t,"src",r(t,e.data_src))},VIDEO:function(t,e){f(t).forEach((function(t){m(t,"src",r(t,e.data_src))})),m(t,"src",r(t,e.data_src)),t.load()}},_=function(t,e){n?t.classList.add(e):t.className+=(t.className?" ":"")+e},y=function(t,e,i){t.addEventListener(e,i)},b=function(t,e,i){t.removeEventListener(e,i)},w=function(t,e,i){b(t,"load",e),b(t,"loadeddata",e),b(t,"error",i)},x=function(t,e,i){var o=i._settings,s=e?o.class_loaded:o.class_error,r=e?o.callback_loaded:o.callback_error,a=t.target;!function(t,e){n?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}(a,o.class_loading),_(a,s),h(r,a),p(i,-1)},T=["IMG","IFRAME","VIDEO"],C=function(t,e){var i=e._observer;k(t,e),i&&e._settings.auto_unobserve&&i.unobserve(t)},S=function(t){var e=u(t);e&&(clearTimeout(e),c(t,null))},k=function(t,e,i){var n=e._settings;!i&&l(t)||(T.indexOf(t.tagName)>-1&&(function(t,e){var i=function i(o){x(o,!0,e),w(t,i,n)},n=function n(o){x(o,!1,e),w(t,i,n)};!function(t,e,i){y(t,"load",e),y(t,"loadeddata",e),y(t,"error",i)}(t,i,n)}(t,e),_(t,n.class_loading)),function(t,e){var i,n,o=e._settings,s=t.tagName,a=v[s];if(a)return a(t,o),p(e,1),void(e._elements=(i=e._elements,n=t,i.filter((function(t){return t!==n}))));!function(t,e){var i=r(t,e.data_src),n=r(t,e.data_bg);i&&(t.style.backgroundImage='url("'.concat(i,'")')),n&&(t.style.backgroundImage=n)}(t,o)}(t,e),function(t){a(t,"was-processed","true")}(t),h(n.callback_reveal,t),h(n.callback_set,t))},P=function(t){return!!i&&(t._observer=new IntersectionObserver((function(e){e.forEach((function(e){return function(t){return t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e){var i=e._settings;h(i.callback_enter,t),i.load_delay?function(t,e){var i=e._settings.load_delay,n=u(t);n||(n=setTimeout((function(){C(t,e),S(t)}),i),c(t,n))}(t,e):C(t,e)}(e.target,t):function(t,e){var i=e._settings;h(i.callback_exit,t),i.load_delay&&S(t)}(e.target,t)}))}),{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}),!0);var e},E=function(t,e){this._settings=function(t){return s({},o,t)}(t),this._loadingCount=0,P(this),this.update(e)};return E.prototype={update:function(t){var i=this,n=this._settings,o=t||n.container.querySelectorAll(n.elements_selector);this._elements=function(t){return t.filter((function(t){return!l(t)}))}(Array.prototype.slice.call(o)),!e&&this._observer?this._elements.forEach((function(t){i._observer.observe(t)})):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach((function(e){t._observer.unobserve(e)})),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){k(t,this,e)},loadAll:function(){var t=this;this._elements.forEach((function(e){C(e,t)}))}},t&&function(t,e){if(e)if(e.length)for(var i,n=0;i=e[n];n+=1)d(t,i);else d(t,e)}(E,window.lazyLoadOptions),E}))},function(t,e){!function(e){var i="Modernizr"in e,n=e.Modernizr;!function(t,e,i){function n(t,e){return typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function s(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):b?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function r(t,i,n,o){var r,a,l,c,u="modernizr",d=s("div"),h=function(){var t=e.body;return t||((t=s(b?"svg":"body")).fake=!0),t}();if(parseInt(n,10))for(;n--;)(l=s("div")).id=o?o[n]:u+(n+1),d.appendChild(l);return(r=s("style")).type="text/css",r.id="s"+u,(h.fake?h:d).appendChild(r),h.appendChild(d),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(e.createTextNode(t)),d.id=u,h.fake&&(h.style.background="",h.style.overflow="hidden",c=y.style.overflow,y.style.overflow="hidden",y.appendChild(h)),a=i(d,t),h.fake?(h.parentNode.removeChild(h),y.style.overflow=c,y.offsetHeight):d.parentNode.removeChild(d),!!a}function a(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()})).replace(/^ms-/,"-ms-")}function l(e,i,n){var o;if("getComputedStyle"in t){o=getComputedStyle.call(t,e,i);var s=t.console;if(null!==o)n&&(o=o.getPropertyValue(n));else if(s){s[s.error?"error":"log"].call(s,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else o=!i&&e.currentStyle&&e.currentStyle[n];return o}function c(e,n){var o=e.length;if("CSS"in t&&"supports"in t.CSS){for(;o--;)if(t.CSS.supports(a(e[o]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var s=[];o--;)s.push("("+a(e[o])+":"+n+")");return r("@supports ("+(s=s.join(" or "))+") { #modernizr { position: absolute; } }",(function(t){return"absolute"==l(t,null,"position")}))}return i}function u(t){return t.replace(/([a-z])-([a-z])/g,(function(t,e,
1i){return e+i.toUpperCase()})).replace(/^-/,"")}function d(t,e,r,a){function l(){h&&(delete C.style,delete C.modElem)}if(a=!n(a,"undefined")&&a,!n(r,"undefined")){var d=c(t,r);if(!n(d,"undefined"))return d}for(var h,p,f,m,g,v=["modernizr","tspan","samp"];!C.style&&v.length;)h=!0,C.modElem=s(v.shift()),C.style=C.modElem.style;for(f=t.length,p=0;f>p;p++)if(m=t[p],g=C.style[m],o(m,"-")&&(m=u(m)),C.style[m]!==i){if(a||n(r,"undefined"))return l(),"pfx"!=e||m;try{C.style[m]=r}catch(t){}if(C.style[m]!=g)return l(),"pfx"!=e||m}return l(),!1}function h(t,e){return function(){return t.apply(e,arguments)}}function p(t,e,i,o,s){var r=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+x.join(r+" ")+r).split(" ");return n(e,"string")||n(e,"undefined")?d(a,e,o,s):function(t,e,i){var o;for(var s in t)if(t[s]in e)return!1===i?t[s]:n(o=e[t[s]],"function")?h(o,i||e):o;return!1}(a=(t+" "+S.join(r+" ")+r).split(" "),e,i)}function f(t,e,n){return p(t,i,i,e,n)}var m=[],g={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var i=this;setTimeout((function(){e(i[t])}),0)},addTest:function(t,e,i){m.push({name:t,fn:e,options:i})},addAsyncTest:function(t){m.push({name:null,fn:t})}},v=function(){};v.prototype=g,v=new v;var _=[],y=e.documentElement,b="svg"===y.nodeName.toLowerCase(),w="Moz O ms Webkit",x=g._config.usePrefixes?w.split(" "):[];g._cssomPrefixes=x;var T={elem:s("modernizr")};v._q.push((function(){delete T.elem}));var C={style:T.elem.style};v._q.unshift((function(){delete C.style}));var S=g._config.usePrefixes?w.toLowerCase().split(" "):[];g._domPrefixes=S,g.testAllProps=p,g.testAllProps=f,v.addTest("flexbox",f("flexBasis","1px",!0)),v.addTest("promises",(function(){return"Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise((function(t){e=t})),"function"==typeof e}()})),v.addTest("serviceworker","serviceWorker"in navigator);var k=g._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];g._prefixes=k;var P=g.testStyles=r;v.addTest("touchevents",(function(){var i;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)i=!0;else{var n=["@media (",k.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");P(n,(function(t){i=9===t.offsetTop}))}return i}));var E=function(e){var n,o=k.length,s=t.CSSRule;if(void 0===s)return i;if(!e)return!1;if((n=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in s)return"@"+e;for(var r=0;o>r;r++){var a=k[r];if(a.toUpperCase()+"_"+n in s)return"@-"+a.toLowerCase()+"-"+e}return!1};g.atRule=E;var L=g.prefixed=function(t,e,i){return 0===t.indexOf("@")?E(t):(-1!=t.indexOf("-")&&(t=u(t)),e?p(t,e,i):p(t,"pfx"))};v.addTest("objectfit",!!L("objectFit"),{aliases:["object-fit"]}),v.addTest("backgroundcliptext",(function(){return f("backgroundClip","text")})),v.addTest("cssgridlegacy",f("grid-columns","10px",!0)),v.addTest("cssgrid",f("grid-template-rows","none",!0)),function(){var t,e,i,o,s,r;for(var a in m)if(m.hasOwnProperty(a)){if(t=[],(e=m[a]).name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(i=0;i<e.options.aliases.length;i++)t.push(e.options.aliases[i].toLowerCase());for(o=n(e.fn,"function")?e.fn():e.fn,s=0;s<t.length;s++)1===(r=t[s].split(".")).length?v[r[0]]=o:(!v[r[0]]||v[r[0]]instanceof Boolean||(v[r[0]]=new Boolean(v[r[0]])),v[r[0]][r[1]]=o),_.push((o?"":"no-")+r.join("-"))}}(),function(t){var e=y.className,i=v._config.classPrefix||"";if(b&&(e=e.baseVal),v._config.enableJSClass){var n=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");e=e.replace(n,"$1"+i+"js$2")}v._config.enableClasses&&(e+=" "+i+t.join(" "+i),b?y.className.baseVal=e:y.className=e)}(_),delete g.addTest,delete g.addAsyncTest;for(var A=0;A<v._q.length;A++)v._q[A]();t.Modernizr=v}(e,document),t.exports=e.Modernizr,i?e.Modernizr=n:delete e.Modernizr}(window)},function(t,e,i){var n,o,s;!function(r){"use strict";o=[i(0)],void 0===(s="function"==typeof(n=function(t){var e=window.Slick||{};(e=function(){var e=0;return function(i,n){var o,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
1sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,o=t(i).data("slick")||{},s.options=t.extend({},s.defaults,n,o),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.instanceUid=e++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):n?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):!0===n?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each((function(e,i){t(i).attr("data-slick-index",e)})),o.$slidesCache=o.$slides,o.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var n={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(e=-e),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),!1===o.options.vertical?(n[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),!1===o.options.vertical?n[o.animType]="translate3d("+e+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout((function(){o.disableTransition(),i.call()}),o.options.speed))},e.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},e.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)}))},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;
1t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,n=this;if(!0===n.options.dots){for(n.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)i.append(t("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each((function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")})),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,o,s,r,a=this;if(n=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,o=Math.ceil(s.length/r),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var u=t*r+(e*a.options.slidesPerRow+i);s.get(u)&&c.appendChild(s.get(u))}l.appendChild(c)}n.appendChild(l)}a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var n,o,s,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?s=c:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(n in o=null,r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[n]&&(o=r.breakpoints[n]):s>r.breakpoints[n]&&(o=r.breakpoints[n]));null!==o?null!==r.activeBreakpoint?(o!==r.activeBreakpoint||i)&&(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=o),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},e.prototype.changeSlide=function(e,i){var n,o,s=this,r=t(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),n=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":o=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,i);break;case"next":o=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),r.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.
1slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){t(this).attr("style",t(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout((function(){i.disableTransition(t),e.call()}),i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=t(this);setTimeout((function(){e.options.pauseOnFocus&&(e.focussed=n.is(":focus"),e.autoPlay())}),0)}))},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},e.prototype.getLeft=function(t){var e,i,n,o,s=this,r=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,o=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?o=-1.5:1===s.options.slidesToShow&&(o=-2)),r=i*s.options.slidesToShow*o),s.slideCount%s.options.slidesToScroll!=0&&t+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(t>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(t-s.slideCount))*s.slideWidth*-1,r=(s.options.slidesToShow-(t-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,r=s.slideCount%s.options.slidesToScroll*i*-1))):t+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(t+s.options.slidesToShow-s.slideCount)*s.slideWidth,r=(t+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,r=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=!1===s.options.vertical?t*s.slideWidth*-1+s.slideOffset:t*i*-1+r,!0===s.options.variableWidth&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===s.options.centerMode&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow+1),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(s.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each((function(o,s){if(s.offsetLeft-i+t(s).outerWidth()/2>-1*n.swipeLeft)return e=s,!1})),Math.abs(t(e).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
1parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),n=e.getNavigableIndexes().filter((function(t){return t>=0&&t<e.slideCount}));e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(i){var o=n.indexOf(i);t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1}),-1!==o&&t(this).attr({"aria-describedby":"slick-slide-control"+e.instanceUid+o})})),e.$dots.attr("role","tablist").find("li").each((function(o){var s=n[o];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+o,"aria-controls":"slick-slide"+e.instanceUid+s,"aria-label":o+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var o=e.currentSlide,s=o+e.options.slidesToShow;o<s;o++)e.$slides.eq(o).attr("tabindex",0);e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
1,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each((function(){var e=t(this),i=t(this).attr("data-lazy"),n=t(this).attr("data-srcset"),o=t(this).attr("data-sizes")||s.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
1,100,(function(){n&&(e.attr("srcset",n),o&&e.attr("sizes",o)),e.attr("src",i).animate({opacity:1},200,(function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),s.$slider.trigger("lazyLoaded",[s,e,i])}))},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,i])},r.src=i}))}var i,n,o,s=this;if(!0===s.options.centerMode?!0===s.options.infinite?o=(n=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(n=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),o=s.options.slidesToShow/2+1+2+s.currentSlide):(n=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,o=Math.ceil(n+s.options.slidesToShow),!0===s.options.fade&&(n>0&&n--,o<=s.slideCount&&o++)),i=s.$slider.find(".slick-slide").slice(n,o),"anticipated"===s.options.lazyLoad)for(var r=n-1,a=o,l=s.$slider.find(".slick-slide"),c=0;c<s.options.slidesToScroll;c++)r<0&&(r=s.slideCount-1),i=(i=i.add(l.eq(r))).add(l.eq(a)),r--,a++;e(i),s.slideCount<=s.options.slidesToShow?e(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?e(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&e(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(e){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,e]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&t(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,n,o,s,r,a=this,l=t("img[data-lazy]",a.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),o=i.attr("data-srcset"),s=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){o&&(i.attr("srcset",o),s&&i.attr("sizes",s)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,n]),a.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout((function(){a.progressiveLazyLoad(e+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,n]),a.progressiveLazyLoad())},r.src=n):a.$slider.trigger("allImagesLoaded",[a])},e.prototype.refresh=function(e){var i,n,o=this;n=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>n&&(o.currentSlide=n),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),t.extend(o,o.initials,{currentSlide:i}),o.init(),e||o.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,n,o=this,s=o.options.responsive||null;if("array"===t.type(s)&&s.length){for(e in o.respondTo=o.options.respondTo||"window",s)if(n=o.breakpoints.length-1,s.hasOwnProperty(e)){for(i=s[e].breakpoint;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=s[e].settings}o.breakpoints.sort((function(t,e){return o.options.mobileFirst?t-e:e-t}))}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout((function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()}),50))}
1,e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},e.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1===n.transformsEnabled?n.$slideTrack.css(o):(o={},!1===n.cssTransitions?(o[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(o)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each((function(n,o){e=i.slideWidth*n*-1,!0===i.options.rtl?t(o).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
1):t(o).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,n,o,s,r=this,a=!1;if("object"===t.type(arguments[0])?(n=arguments[0],a=arguments[1],s="multiple"):"string"===t.type(arguments[0])&&(n=arguments[0],o=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[n]=o;else if("multiple"===s)t.each(n,(function(t,e){r.options[t]=e}));else if("responsive"===s)for(i in o)if("array"!==t.type(r.options.responsive))r.options.responsive=[o[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===o[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(o[i])}a&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,n,o,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode){var r=s.options.slidesToShow%2==0?1:0;e=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e+r,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=s.options.slidesToShow+t,i.slice(n-e+1+r,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=s.slideCount%s.options.slidesToShow,n=!0===s.options.infinite?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(n-(s.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-n;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;e<n+o.slideCount;e+=1)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each((function(){t(this).attr("id","")}))}},e.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},e.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));o||(o=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(o,!1,!0):i.slideHandler(o)}
1,e.prototype.slideHandler=function(t,e,i){var n,o,s,r,a,l=null,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),n=t,l=c.getLeft(n),r=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(r,(function(){c.postSlide(n)})):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(r,(function(){c.postSlide(n)})):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=n<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),s=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=(a=c.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(s),c.fadeSlide(o,(function(){c.postSlide(o)}))):c.postSlide(o),void c.animateHeight();!0!==i?c.animateSlide(l,(function(){c.postSlide(o)})):c.postSlide(o)}},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?!1===o.options.rtl?"left":"right":n>=135&&n<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,n,o,s,r,a=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),i=a.swipeDirection(),void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,t.preventDefault()),o=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(o=a.touchObject.curY>a.touchObject.startY?1:-1),n=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(n=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+n*o:a.swipeLeft=e+n*(a.$list.height()/a.listWidth)*o,!0===a.options.verticalSwiping&&(a.swipeLeft=e+n*o),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},e.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,n=this,o=arguments[0],s=Array.prototype.slice.call(arguments,1),r=n.length;for(t=0;t<r;t++)if("object"==typeof o||void 0===o?n[t].slick=new e(n[t],o):i=n[t].slick[o].apply(n[t].slick,s),void 0!==i)return i;return n}})?n.apply(e,o):n)||(t.exports=s)}()},function(t,e,i){var n,o,s;!function(r){"use strict";o=[i(0)],void 0===(s="function"==typeof(n=function(t){var e=-1,i=-1,n=function(t){return parseFloat(t)||0},o=function(e){var i=t(e),o=null,s=[];return i.each((function(){var e=t(this),i=e.offset().top-n(e.css("margin-top")),r=s.length>0?s[s.length-1]:null;null===r?s.push(e):Math.floor(Math.abs(o-i))<=1?s[s.length-1]=r.add(e):s.push(e),o=i})),s},s=function(e){var i={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(i,e):("boolean"==typeof e?i.byRow=e:"remove"===e&&(i.remove=!0),i)},r=t.fn.matchHeight=function(e){var i=s(e);if(i.remove){var n=this;return this.css(i.property,""),t.each(r._groups,(function(t,e){e.elements=e.elements.not(n)})),this}return this.length<=1&&!i.target||(r._groups.push({elements:this,options:i}),r._apply(this,i)),this};r.version="0.7.2",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=o,r._parse=n,r._parseOptions=s,r._apply=function(e,i){var a=s(i),l=t(e),c=[l],u=t(window).scrollTop(),d=t("html").outerHeight(!0),h=l.parents().filter(":hidden");return h.each((function(){var e=t(this);e.data("style-cache",e.attr("style"))})),h.css("display","block"),a.byRow&&!a.target&&(l.each((function(){var e=t(this),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block"),e.data("style-cache",e.attr("style")),e.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})})),c=o(l),l.each((function(){var e=t(this);e.attr("style",e.data("style-cache")||"")}))),t.each(c,(function(e,i){var o=t(i),s=0;if(a.target)s=a.target.outerHeight(!1);else{if(a.byRow&&o.length<=1)return void o.css(a.property,"");o.each((function(){var e=t(this),i=e.attr("style"),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block");var o={display:n};o[a.property]="",e.css(o),e.outerHeight(!1)>s&&(s=e.outerHeight(!1)),i?e.attr("style",i):e.css("display","")}))}o.each((function(){var e=t(this),i=0;a.target&&e.is(a.target)||("border-box"!==e.css("box-sizing")&&(i+=n(e.css("border-top-width"))+n(e.css("border-bottom-width")),i+=n(e.css("padding-top"))+n(e.css("padding-bottom"))),e.css(a.property,s-i+"px"))}))})),h.each((function(){var e=t(this);e.attr("style",e.data("style-cache")||null)})),r._maintainScroll&&t(window).scrollTop(u/d*t("html").outerHeight(!0)),this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each((function(){var i=t(this),n=i.attr("data-mh")||i.attr("data-match-height");e[n]=n in e?e[n].add(i):i})),t.each(e,(function(){this.matchHeight(!0)}))};var a=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,
1(function(){r._apply(this.elements,this.options)})),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(n,o){if(o&&"resize"===o.type){var s=t(window).width();if(s===e)return;e=s}n?-1===i&&(i=setTimeout((function(){a(o),i=-1}),r._throttle)):a(o)},t(r._applyDataApi);var l=t.fn.on?"on":"bind";t(window)[l]("load",(function(t){r._update(!1,t)})),t(window)[l]("resize orientationchange",(function(t){r._update(!0,t)}))})?n.apply(e,o):n)||(t.exports=s)}()},function(t,e,i){t.exports=function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="dist/",e(0)}([function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},s=(n(i(1)),i(6)),r=n(s),a=n(i(7)),l=n(i(8)),c=n(i(9)),u=n(i(10)),d=n(i(11)),h=n(i(14)),p=[],f=!1,m={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},g=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t&&(f=!0),f)return p=(0,d.default)(p,m),(0,u.default)(p,m.once),p},v=function(){p=(0,h.default)(),g()};t.exports={init:function(t){m=o(m,t),p=(0,h.default)();var e=document.all&&!window.atob;return function(t){return!0===t||"mobile"===t&&c.default.mobile()||"phone"===t&&c.default.phone()||"tablet"===t&&c.default.tablet()||"function"==typeof t&&!0===t()}(m.disable)||e?void p.forEach((function(t,e){t.node.removeAttribute("data-aos"),t.node.removeAttribute("data-aos-easing"),t.node.removeAttribute("data-aos-duration"),t.node.removeAttribute("data-aos-delay")})):(m.disableMutationObserver||l.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),m.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",m.easing),document.querySelector("body").setAttribute("data-aos-duration",m.duration),document.querySelector("body").setAttribute("data-aos-delay",m.delay),"DOMContentLoaded"===m.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?g(!0):"load"===m.startEvent?window.addEventListener(m.startEvent,(function(){g(!0)})):document.addEventListener(m.startEvent,(function(){g(!0)})),window.addEventListener("resize",(0,a.default)(g,m.debounceDelay,!0)),window.addEventListener("orientationchange",(0,a.default)(g,m.debounceDelay,!0)),window.addEventListener("scroll",(0,r.default)((function(){(0,u.default)(p,m.once)}),m.throttleDelay)),m.disableMutationObserver||l.default.ready("[data-aos]",v),p)},refresh:g,refreshHard:v}},function(t,e){},,,,,function(t,e){(function(e){"use strict";function i(t,e,i){function o(e){var i=h,n=p;return h=p=void 0,_=e,m=t.apply(n,i)}function r(t){return _=t,g=setTimeout(c,e),x?o(t):m}function l(t){var i=t-v;return void 0===v||i>=e||i<0||T&&t-_>=f}function c(){var t=w();return l(t)?u(t):void(g=setTimeout(c,function(t){var i=e-(t-v);return T?b(i,f-(t-_)):i}(t)))}function u(t){return g=void 0,C&&h?o(t):(h=p=void 0,m)}function d(){var t=w(),i=l(t);if(h=arguments,p=this,v=t,i){if(void 0===g)return r(v);if(T)return g=setTimeout(c,e),o(v)}return void 0===g&&(g=setTimeout(c,e)),m}var h,p,f,m,g,v,_=0,x=!1,T=!1,C=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,n(i)&&(x=!!i.leading,f=(T="maxWait"in i)?y(s(i.maxWait)||0,e):f,C="trailing"in i?!!i.trailing:C),d.cancel=function(){void 0!==g&&clearTimeout(g),_=0,h=v=p=g=void 0},d.flush=function(){return void 0===g?m:u(w())},d}function n(t){var e=void 0===t?"undefined":r(t);return!!t&&("object"==e||"function"==e)}function o(t){return"symbol"==(void 0===t?"undefined":r(t))||function(t){return!!t&&"object"==(void 0===t?"undefined":r(t))}(t)&&_.call(t)==c}function s(t){if("number"==typeof t)return t;if(o(t))return l;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var i=h.test(t);return i||p.test(t)?f(t.slice(2),i?2:8):d.test(t)?l:+t}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a="Expected a function",l=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,f=parseInt,m="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,g="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),_=Object.prototype.toString,y=Math.max,b=Math.min,w=function(){return v.Date.now()};t.exports=function(t,e,o){var s=!0,r=!0;if("function"!=typeof t)throw new TypeError(a);return n(o)&&(s="leading"in o?!!o.leading:s,r="trailing"in o?!!o.trailing:r),i(t,e,{leading:s,maxWait:e,trailing:r})}}).call(e,function(){return this}())},function(t,e){(function(e){"use strict";function i(t){var e=void 0===t?"undefined":s(t);return!!t&&("object"==e||"function"==e)}function n(t){return"symbol"==(void 0===t?"undefined":s(t))||function(t){return!!t&&"object"==(void 0===t?"undefined":s(t))}(t)&&v.call(t)==l}function o(t){if("number"==typeof t)return t;if(n(t))return a;
1if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(c,"");var o=d.test(t);return o||h.test(t)?p(t.slice(2),o?2:8):u.test(t)?a:+t}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r="Expected a function",a=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,h=/^0o[0-7]+$/i,p=parseInt,f="object"==(void 0===e?"undefined":s(e))&&e&&e.Object===Object&&e,m="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,g=f||m||Function("return this")(),v=Object.prototype.toString,_=Math.max,y=Math.min,b=function(){return g.Date.now()};t.exports=function(t,e,n){function s(e){var i=h,n=p;return h=p=void 0,w=e,m=t.apply(n,i)}function a(t){return w=t,g=setTimeout(c,e),x?s(t):m}function l(t){var i=t-v;return void 0===v||i>=e||i<0||T&&t-w>=f}function c(){var t=b();return l(t)?u(t):void(g=setTimeout(c,function(t){var i=e-(t-v);return T?y(i,f-(t-w)):i}(t)))}function u(t){return g=void 0,C&&h?s(t):(h=p=void 0,m)}function d(){var t=b(),i=l(t);if(h=arguments,p=this,v=t,i){if(void 0===g)return a(v);if(T)return g=setTimeout(c,e),s(v)}return void 0===g&&(g=setTimeout(c,e)),m}var h,p,f,m,g,v,w=0,x=!1,T=!1,C=!0;if("function"!=typeof t)throw new TypeError(r);return e=o(e)||0,i(n)&&(x=!!n.leading,f=(T="maxWait"in n)?_(o(n.maxWait)||0,e):f,C="trailing"in n?!!n.trailing:C),d.cancel=function(){void 0!==g&&clearTimeout(g),w=0,h=v=p=g=void 0},d.flush=function(){return void 0===g?m:u(b())},d}}).call(e,function(){return this}())},function(t,e){"use strict";function i(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function n(t){t&&t.forEach((function(t){var e=Array.prototype.slice.call(t.addedNodes),i=Array.prototype.slice.call(t.removedNodes);if(function t(e){var i=void 0,n=void 0;for(i=0;i<e.length;i+=1){if((n=e[i]).dataset&&n.dataset.aos)return!0;if(n.children&&t(n.children))return!0}return!1}(e.concat(i)))return o()}))}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){};e.default={isSupported:function(){return!!i()},ready:function(t,e){var s=window.document,r=new(i())(n);o=e,r.observe(s.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(t,e){"use strict";function i(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return n(t,[{key:"phone",value:function(){var t=i();return!(!o.test(t)&&!s.test(t.substr(0,4)))}},{key:"mobile",value:function(){var t=i();return!(!r.test(t)&&!a.test(t.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),t}();e.default=new l},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var i=window.pageYOffset,n=window.innerHeight;t.forEach((function(t,o){!function(t,e,i){var n=t.node.getAttribute("data-aos-once");e>t.position?t.node.classList.add("aos-animate"):void 0!==n&&("false"===n||!i&&"true"!==n)&&t.node.classList.remove("aos-animate")}(t,n+i,e)}))}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(12));e.default=function(t,e){return t.forEach((function(t,i){t.node.classList.add("aos-init"),t.position=(0,n.default)(t.node,e.offset)})),t}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(13));e.default=function(t,e){var i=0,o=0,s=window.innerHeight,r={offset:t.getAttribute("data-aos-offset"),anchor:t.getAttribute("data-aos-anchor"),anchorPlacement:t.getAttribute("data-aos-anchor-placement")};switch(r.offset&&!isNaN(r.offset)&&(o=parseInt(r.offset)),r.anchor&&document.querySelectorAll(r.anchor)&&(t=document.querySelectorAll(r.anchor)[0]),i=(0,n.default)(t).top,r.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=t.offsetHeight/2;break;case"bottom-bottom":i+=t.offsetHeight;break;case"top-center":i+=s/2;break;case"bottom-center":i+=s/2+t.offsetHeight;break;case"center-center":i+=s/2+t.offsetHeight/2;break;case"top-top":i+=s;break;case"bottom-top":i+=t.offsetHeight+s;break;case"center-top":i+=t.offsetHeight/2+s}return r.anchorPlacement||r.offset||isNaN(e)||(o=e),i+o}},function(t,e){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=0,i=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e+=t.offsetLeft-("BODY"!=t.tagName?t.scrollLeft:0),i+=t.offsetTop-("BODY"!=t.tagName?t.scrollTop:0),t=t.offsetParent;return{top:i,left:e}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t=t||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(t,(function(t){return{node:t}}))}}])},,function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return c}));i(4),i(24),i(5);var n=i(3),o=i.n(n),s=i(6),r=i.n(s),a=i(2),l=i.n(a);class c{constructor(){this.initializeJsClick(),this.initializeBootstrpTooltip(),this.initializeFancybox(),this.initializeSearchBox(),this.initializeBackToTop(),this.initializeSmoothScroll(),this.initializeSearchBorder(),this.initializeVarScrollbarWidth(),this.initializeAnchor(),this.initializeDataTel(),this.initializeMatchHeight(),this.initializeReadMore(),this.initializeIframeWebcam(),this.initializeWeather(),this.initializeSidebarToggle(),this.initializeAnimation(),this.initializeStickySidebar(),this.initializeReadMoreWP(),this.initializeInstagram(),this.initializeLazyload(),this.submitFormCF7ScrollTo()}initializeJsClick(){if(o.a.touchevents)t(document).on("click",".js-click",(function(e){let i=!1,n=t(this).find("a").attr("href");return"_blank"==t(this).find("a").attr("target")&&(i=!0),i?window.open(n,"_blank"):window.location=n,!1}));else{let e=0;t(window).on("keydown",(function(t){17!=t.which&&91!=t.which||(e=!0)})),t(window).on("keyup",(function(){e=!1})),t(document).on("mouseup",".js-click",(function(i){if(1==i.which||2==i.which){let n=!1,o=t(this).find("a").attr("href");return 2==i.which&&(n=!0),"_blank"==t(this).find("a").attr("target")&&(n=!0),n||e?window.open(o,"_blank"):window.location=o,!1}return!1}))}}initializeBootstrpTooltip(){o.a.touchevents||(t('[data-toggle="tooltip"]').tooltip({trigger:"hover"}),t('[rel="tooltip"]').tooltip({trigger:"hover"}))}initializeFancybox(){t('.article a:has(>img):not([target="_blank"]):not(".no-fancybox")').attr("data-fancybox","fancybox"),t("[data-fancybox='fancybox']").fancybox({buttons:["zoom","slideShow","close"],lang:"fr",i18n:{fr:{CLOSE:Theme.translate.fancyboxClose,NEXT:Theme.translate.fancyboxNext,PREV:Theme.translate.fancyboxPrev,ERROR:Theme.translate.fancyboxError,PLAY_START:Theme.translate.fancyboxStart,PLAY_STOP:Theme.translate.fancyboxStop,FULL_SCREEN:Theme.translate.fancyboxFullScreen,THUMBS:Theme.translate.fancyboxThumbs,DOWNLOAD:Theme.translate.fancyboxDownload,SHARE:Theme.translate.fancyboxShare,ZOOM:Theme.translate.fancyboxZoom}},caption:function(e,i){let n=t(this).find("img").attr("data-caption");return n||(n=t(this).closest("figure").find("figcaption").html()),n||(n=t(this).find("img").attr("title")),n||(n=t(this).find("img").attr("alt")),n}})}initializeSearchBox(){t(".js-wpSearchLayoutOpen").on("click",(function(e){e.preventDefault(),t(".wpSearchLayout").fadeIn(),setTimeout((function(){t(".wpSearchFormItem--input").focus()}),100)})),t(".js-wpSearchLayoutClose").on("click",(function(e){e.preventDefault(),t(".wpSearchLayout").fadeOut()}))}initializeBackToTop(){t(".js-backToTop").on("click",(function(e){e.preventDefault(),0!=t(window).scrollTop()&&t("html, body").animate({scrollTop:0},300)})),t(window).on("scroll",(function(e){t(this).scrollTop()>250?t(".js-backToTop").addClass("backToTop--show"):t(".js-backToTop").removeClass("backToTop--show")}))}initializeSmoothScroll(){t(".js-scroll").click((function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){let e=t(this.hash);if(e=e.length?e:t("[name="+this.hash.slice(1)+"]"),e.length)return o.a.touchevents?t("html,body").animate({scrollTop:e.offset().top-125},750):t("html,body").animate({scrollTop:e.offset().top},750),!1}}))}initializeSearchBorder(){let e=t(".js-fake-border-input"),i=t(".js-fake-border"),n=t(".js-fake-txt"),o="";function s(){o=e.val(),n.text(o);var t=n.width();i.css("width",t)}e.length&&i.length&&n.length&&(e.keyup((function(){s()})),t(window).resize((function(){t("body").hasClass("searchmode")&&s()})))}initializeVarScrollbarWidth(){window.innerWidth>document.querySelector("body").offsetWidth?document.querySelector("body").setAttribute("style","--scroll-bar: "+(window.innerWidth-document.querySelector("body").offsetWidth)+"px"):document.querySelector("body").setAttribute("style","--scroll-bar: 15px")}initializeAnchor(){o.a.touchevents||t(window).load((function(){t(".anchorItem").length>0&&function(e,i,n,o){o=void 0!==o?o:0;var s={},r="";t.each(e,(function(){s[t(this).attr("id")]=t(this).offset().top})),t(window).scroll((function(){i.offset().top;for(var t in s)s[t]<n.find('a[href="#'+t+'"]').offset().top+o&&(r=t);s[Object.keys(s)[0]]>n.find('a[href="#'+t+'"]').offset().top+o?n.find("a").removeClass("active"):(n.find("a").removeClass("active"),n.find('a[href="#'+r+'"]').addClass("active"))}))}(t("h2,h3,h4,h5,h6,.wpetStrate"),t(".anchorList"),t(".anchorItem"))})),window.matchMedia("(max-width: 739px)").matches&&t(".anchorItem a").on("click",(function(){let e=t(this).attr("href");t(e).removeClass("close")}));let e=t(".alignfull, .alignwide");function i(e){let i=t(".anchorList");e?i.hasClass("masked")&&i.removeClass("masked"):i.hasClass("masked")||i.addClass("masked")}t(window).on("scroll",(function(){let n=t(window).scrollTop(),o=t(".anchorList").outerHeight();if(e.length){var s=!0;e.each((function(){var e=t(this).offset().top,i=t(this).outerHeight();n+o>=e&&n<=e+i&&(s=!1)})),i(s)}else i(!0)}))}initializeDataTel(){let e=t(".button--tel"),i="";e.length>0&&e.on("click",(function(t){t.preventDefault(),i=e.attr("data-tel"),e.html(i),e.attr("href","tel:"+i)}))}initializeMatchHeight(){let e=t("[data-mh]");e.length>0&&e.matchHeight({property:"min-height"})}initializeReadMore(){let e=t(".js-dropdown"),i=t(".js-dropdown-readmore span");e.each((function(){let e=t(this).attr("data-trigger"),i=t(this).children();t(this);i.length>=8&&(t(e).show(),i.each((function(e,i){e>
1=8&&t(this).slideUp(150)})))})),i.on("click",(function(){t(this).attr("class");let e=t(this).parents(".js-dropdown-readmore").attr("data-dropdown"),i=t(this).parents(".sidebarCategories");i.find("ul").children().each((function(n,o){n>=8&&("more"==e?(t(this).slideDown(150),i.find(".js-dropdown-readmore").attr("data-dropdown","less")):(t(this).slideUp(150),i.find(".js-dropdown-readmore").attr("data-dropdown","more")))}))}))}initializeIframeWebcam(){t(".iframeWebcam").mouseleave((function(){t(".iframeWebcam iframe").css("pointer-events","none")})),t(".iframeWebcam").click((function(){t(".iframeWebcam iframe").css("pointer-events","auto")}))}initializeWeather(){t(".pageMeteo").length>0&&t(".tab-meteo .bloc-texte .close").click((function(){return t(".row-date").removeClass("open"),t(this).toggleClass("open"),t(this).parent().closest(".row-date").addClass("open"),t(".row-date.open").next("div").slideToggle(500),!1}))}initializeSidebarToggle(){let e=t("[data-sidebar-toggle], .overlay"),i=t("[data-sidebar-modal]");i.length>0&&e.on("click",(function(){i.toggleClass("show"),t("body").toggleClass("modalOpened")}))}initializeAnimation(){if(r.a.init({disable:function(){return window.innerWidth<959},once:!0}),window.matchMedia("(min-width: 959px)").matches){t(".blocks-gallery-item");t(".wp-block-gallery").each((function(e){let i=0;t(this).find(".blocks-gallery-item").each((function(){t(this).attr("data-aos","fade-up").attr("data-aos-delay",i).attr("data-aos-duration","1500"),i+=200})),r.a.refreshHard()}))}}initializeStickySidebar(){function e(){let e=t(".sidebar--blog"),i=t(window).height();e.outerHeight()+20<=i?e.addClass("sticky"):e.removeClass("sticky")}t(".js-dropdown-readmore span").on("click",(function(){setTimeout((function(){e()}),200)})),t(window).on("load resize",(function(){e()}))}initializeInstagram(){t(".instagramWall").length>0&&(self=this,t.ajax({url:Theme.ajaxURL,data:{action:"social_wall"},type:"POST",success:function(e){t(".instagramWall").append(e),self.initializeLazyload()}}))}initializeLazyload(){new l.a({elements_selector:"[data-src], [data-bg]"})}initializeReadMoreWP(){let e=t("span[id*=more]");if(e.length>0){let t=e.outerHeight(),i=e.parents(".article"),n=(e.attr("id").split("more-")[1],i.offset().top),o=e.offset().top+t-n;i.height(o),i.addClass("readmoreActive"),e.on("click",(function(){i.height("auto"),i.removeClass("readmoreActive"),e.hide()}))}}submitFormCF7ScrollTo(){document.addEventListener("DOMContentLoaded",(function(){document.querySelector(".wpcf7").addEventListener("wpcf7submit",(function(e){setTimeout((function(){t([document.documentElement,document.body]).animate({scrollTop:t(".wpcf7-response-output").offset().top-100},500)}),500)}),!1)}))}}}).call(this,i(0))},function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return n}));class n{constructor(){this.customizeInput(),this.customizeSelect(),this.animationLabel()}customizeInput(){let e=t('.wpcf7 [type="checkbox"], .wpcf7 [type="radio"]');t(e).each((function(e,i){let n='<label for="'+(t(i).attr("name")+"-"+e)+'">'+t(i).siblings(".wpcf7-list-item-label").text()+"</label>";t(i).siblings(".wpcf7-list-item-label").remove(),t(i).parent().append(n)}))}customizeSelect(){t("select").parent().not(".formSelect").children("select").wrap('<div class="formSelect"></div>')}animationLabel(){t(".formGroup:not(.formGroup--noLabel)").on("focusin change",(function(e){t(this).addClass("is-focused")})),t(".formGroup:not(.formGroup--noLabel)").on("focusout change",(function(e){var i=t(this).find("input"),n=t(this).find("textarea"),o=t(this).find("select");t(i).val()||t(n).val()||t(o).val()||t(this).removeClass("is-focused")})),t(document).ready((function(){t(".formGroup").each((function(){let e=t(this).find("input");""!=e.val()&&e.parent().addClass("is-focused")}))}))}}}).call(this,i(0))},function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return a}));var n=i(1),o=i.n(n),s=i(11),r=i.n(s);class a{constructor(){this.initializeMap()}initializeMap(){t("[data-js-map]").each((function(){let e=o.a.map("map",{center:[parseFloat(Theme.latitude),parseFloat(Theme.longitude)],zoom:11,scrollWheelZoom:!1});o.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(e);let i=[];t(this).find(".marker").each((function(n,s){let r=t(this).html(),a=t(this).attr("data-lat"),l=t(this).attr("data-lng"),c=o.a.icon({iconUrl:Theme.themeURL+"/assets/dist/images/markers/marker.svg",iconSize:[30,30]});o.a.featureGroup().addLayer(o.a.marker([parseFloat(a),parseFloat(l)],{icon:c})).bindPopup(r,{className:"light",autoPanPadding:o.a.point(30,30)}).addTo(e);i.push([parseFloat(a),parseFloat(l)])})),e.scrollWheelZoom.disable();let n=t("#map-kml").attr("data-kml");
1if(n){let t=o.a.geoJson(null,{style:function(t){return{color:"#301D55"}}}),i=r.a.kml(n,null,t).addTo(e);i.on("ready",(function(){e.fitBounds(i.getBounds())}))}else e.fitBounds(i,{padding:[50,50]});return e}))}}}).call(this,i(0))},function(t,e,i){var n=i(25),o=i(26),s=i(28),r=i(29),a=i(30),l=i(31);function c(t,e){"setGeoJSON"in t?t.setGeoJSON(e):"addData"in t&&t.addData(e)}function u(t,e,i){var n="string"==typeof t?JSON.parse(t):t;for(var o in i=i||L.geoJson(),n.objects){var s=a.feature(n,n.objects[o]);s.features?c(i,s.features):c(i,s)}return i}function d(t,e,i){return i=i||L.geoJson(),e=e||{},o.csv2geojson(t,e,(function(t,e){if(t)return i.fire("error",{error:t});c(i,e)})),i}function h(t,e,i){var n=g(t);return n?(c(i=i||L.geoJson(),l.gpx(n)),i):i.fire("error",{error:"Could not parse GPX"})}function p(t,e,i){var n=g(t);return n?(c(i=i||L.geoJson(),l.kml(n)),i):i.fire("error",{error:"Could not parse KML"})}function f(t,e,i){i=i||L.geoJson(),e=e||{};for(var n=r.decode(t,e.precision),o={type:"LineString",coordinates:[]},s=0;s<n.length;s++)o.coordinates[s]=[n[s][1],n[s][0]];return c(i,o),i}function m(t,e,i){return c(i=i||L.geoJson(),s(t)),i}function g(t){return"string"==typeof t?(new DOMParser).parseFromString(t,"text/xml"):t}t.exports.polyline=function(t,e,i){var o=i||L.geoJson();return n(t,(function(t,i){if(t)return o.fire("error",{error:t});f(i.responseText,e,o),o.fire("ready")})),o},t.exports.polyline.parse=f,t.exports.geojson=function(t,e,i){var o=i||L.geoJson();return n(t,(function(t,e){if(t)return o.fire("error",{error:t});c(o,JSON.parse(e.responseText)),o.fire("ready")})),o},t.exports.topojson=function(t,e,i){var o=i||L.geoJson();return n(t,(function(t,i){if(t)return o.fire("error",{error:t});u(i.responseText,e,o),o.fire("ready")})),o},t.exports.topojson.parse=u,t.exports.csv=function(t,e,i){var o=i||L.geoJson();return n(t,(function(t,i){var n;if(t)return o.fire("error",{error:t});function s(){n=!0}o.on("error",s),d(i.responseText,e,o),o.off("error",s),n||o.fire("ready")})),o},t.exports.csv.parse=d,t.exports.gpx=function(t,e,i){var o=i||L.geoJson();return n(t,(function(t,i){var n;if(t)return o.fire("error",{error:t});function s(){n=!0}o.on("error",s),h(i.responseXML||i.responseText,e,o),o.off("error",s),n||o.fire("ready")})),o},t.exports.gpx.parse=h,t.exports.kml=function(t,e,i){var o=i||L.geoJson();return n(t,(function(t,i){var n;if(t)return o.fire("error",{error:t});function s(){n=!0}o.on("error",s),p(i.responseXML||i.responseText,e,o),o.off("error",s),n||o.fire("ready")})),o},t.exports.kml.parse=p,t.exports.wkt=function(t,e,i){var o=i||L.geoJson();return n(t,(function(t,i){if(t)return o.fire("error",{error:t});m(i.responseText,e,o),o.fire("ready")})),o},t.exports.wkt.parse=m},function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return n}));i(2);class n{constructor(){this.initializeSlider(),this.initializePresentation()}initializeSlider(){let e=t(".sliderList");t(".sliderItemPhoto").length>0&&e.slick({infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:3e3,speed:800,arrows:!1,fade:!0,cssEase:"linear",dots:!0});let i=t(".entitySlider");t(".entitySlider .entityItem").length>0&&i.slick({infinite:!0,slidesToShow:1,slidesToScroll:1,arrows:!0,dots:!1,fade:!0,speed:1200,adaptiveHeight:!0,responsive:[{breakpoint:959,settings:{arrows:!1,dots:!0}}]}),t(".strateAgenda").each((function(){let e=t(this).attr("id"),i=t("#"+e+" .agendaList"),n=t("#"+e+" .agendaList .agendaItem");n.length;n.length>0&&i.slick({infinite:!1,slidesToShow:4,slidesToScroll:1,arrows:!0,dots:!1,variableWidth:!0,currentSlide:0,responsive:[{breakpoint:1280,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:959,settings:{slidesToShow:3,slidesToScroll:1,arrows:!1}},{breakpoint:739,settings:{slidesToShow:1,centerMode:!0,arrows:!1}}]})})),t(".strateBlog").each((function(){let e=t(this).attr("id"),i=t("#"+e+" .postList");t("#"+e+" .postList .postItem").length>0&&window.matchMedia("(max-width: 739px)").matches&&i.slick({infinite:!1,slidesToShow:1,slidesToScroll:1,centerMode:!0,arrows:!1,dots:!1,variableWidth:!0,currentSlide:0})})),t(".strateStays").each((function(){let e=t(this).attr("id"),i=t("#"+e+" .staySlider");t("#"+e+" .staySlider .entityItem").length>3&&i.slick({infinite:!1,slidesToShow:3,slidesToScroll:1,arrows:!0,dots:!1,currentSlide:0,responsive:[{breakpoint:959,settings:{slidesToShow:2,slidesToScroll:1,variableWidth:!0,arrows:!1}
1},{breakpoint:320,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!0,initialSlide:1}}]})}))}initializePresentation(){let e=t(".stratePresentation");if(e.length>0&&window.matchMedia("(min-width: 959px)").matches&&e.each((function(){let e=t(this).attr("id"),i=t("#"+e+" .strateCol"),n=(t("#"+e+" .stratePresentationContainer"),0);i.each((function(){let e=t(this).outerHeight();e>n&&(n=e)})),t(this).height(n)})),window.matchMedia("(max-width: 959px)").matches){let e=t(".stratePresentation .strateHeader"),i=t(".stratePresentationContainer"),n=e.outerHeight(),o=n+235,s="<p class='strateButton' style='display: block;'><button type='button' class='button buttonToggle' data-toggle-read='more'>"+Theme.translate.read_more+"</button></p>",r="<p class='strateButton'><button type='button' class='button buttonToggle' data-toggle-read='less'>"+Theme.translate.read_less+"</button></p>";window.matchMedia("(max-width: 739px)").matches&&(o=n+180),i.addClass("is-closed").height(o),t(s).insertAfter(i),t(r).insertAfter(i),t(document).on("click",".buttonToggle",(function(){"more"==t(this).attr("data-toggle-read")?(i.toggleClass("is-closed").height("auto"),t('[data-toggle-read="less"]').parent().show(),t('[data-toggle-read="more"]').parent().hide()):(i.addClass("is-closed").height(o),t('[data-toggle-read="more"]').parent().show(),t('[data-toggle-read="less"]').parent().hide(),t("html,body").animate({scrollTop:i.offset().top-70},750))}))}}}}).call(this,i(0))},function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return s}));var n=i(2),o=i.n(n);class s{constructor(){this.ajaxSubmit()}ajaxSubmit(){let e=t("[data-engine-station]"),i=t("[data-filter-domain]"),n=t("[data-filter-station]"),s=t("[data-filter-label]"),r=t("[data-station-update]"),a="",l="",c="";e.length>0&&e.submit((function(e){a="dom0"!=i.val()?i.val():"",l="st0"!=n.val()?n.val():"",c="lb0"!=s.val()?s.val():"",e.preventDefault(),t.ajax({url:Theme.getResultSearchStation,method:"POST",data:{domain:a,station:l,label:c}}).done((function(t){r.html(" "),r.html(t.result);new o.a({elements_selector:"[data-src], [data-bg]"})}))}))}}}).call(this,i(0))},function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return n}));class n{constructor(){this.initializeEngineHome()}initializeEngineHome(){if(t(".home").length>0){let e=t("[data-engine-home]"),i=t("[data-engine-home-item]"),n=t("[data-engine-home-select]"),o=t("[data-engine-form]");t("[data-engine-home-close]").on("click",(function(){e.toggleClass("show"),t("body").removeClass("engineOpened")})),i.on("click",(function(){let i=t(this).attr("id");t("body").toggleClass("engineOpened"),t(".nbPers").hide(),e.attr("data-current")!=i&&t.ajax({url:Theme.getSelectEngineHome,method:"POST",data:{type:i}}).done((function(s){e.attr("data-current",i),n.html(s.result);let r=n.find("option:selected").attr("rel");1==n.find("option:selected").attr("data-pers")?t(".nbPers").show():t(".nbPers").hide(),o.attr("action",r)})),e.addClass("show")})),n.on("change",(function(){let e=t(this).find("option:selected").attr("rel");1==t(this).find("option:selected").attr("data-pers")?t(".nbPers").show():t(".nbPers").hide(),o.attr("action",e)}));let s=new Date,r=t("#dateend").pickadate({min:s,container:".wrapper"}),a=t("#datestart").pickadate({min:s,container:".wrapper",onSet:function(t){t=new Date(t.select);let e=r.pickadate("picker");e.set("min",t),t.setDate(t.getDate()+7),e.set("select",t)}});t("#dateend").on("click",(function(){""!=t("#datestart").val()&&r.pickadate("picker").set("min",t("#datestart").val())})),e.find("input[type=submit]").on("click",(function(i){let n=a.pickadate("picker"),s=r.pickadate("picker"),l=n.get("select"),c=s.get("select");if(null!==l&&null!==c&&void 0!==l.obj&&void 0!==c.obj){let e=Math.abs(c.obj.getTime()-l.obj.getTime()),i=Math.ceil(e/864e5);0==i&&(i=1),t('.engineForm [name="marketplace_search[duration]"]').val(i)}return e.validationEngine("attach",{promptPosition:"topLeft",scroll:!1}),1==e.validationEngine("validate")&&o.submit(),i.preventDefault(),!1}))}}}}).call(this,i(0))},function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return n}));
1class n{constructor(){this.initializeResponsiveMenu()}initializeResponsiveMenu(){let e=t(".burger"),i=t(".moreMenu"),n=t(".backMenu");e.on("click",(function(){t(this).toggleClass("open"),t("body").toggleClass("menuActiveMobile")})),t(document).on("click",".menuActiveMobile .overlay",(function(){t(".burger").toggleClass("open"),t("body").removeClass("menuActiveMobile")})),i.on("click",(function(e){e.preventDefault(),t(this).parent().addClass("submenuActive")})),n.on("click",(function(e){e.preventDefault(),t(this).parents(".menuItem").removeClass("submenuActive")}))}}}).call(this,i(0))},function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return n}));class n{constructor(){this.initializeSliderEntity()}initializeSliderEntity(){let e=t(".highlighted .entityList");t(".highlighted .entityItem").length>2&&window.matchMedia("(max-width: 739px)").matches&&e.slick({infinite:!1,slidesToShow:1,slidesToScroll:1,dots:!1,variableWidth:!0,arrows:!1,responsive:[{breakpoint:320,settings:{centerMode:!0,initialSlide:1}}]})}}}).call(this,i(0))},,,function(t,e,i){"use strict";i.r(e);i(36),i(84),i(86),i(20),i(21),i(22);var n=i(8),o=i(9),s=i(10),r=i(12),a=i(13),l=i(14),c=i(15),u=i(16);document.addEventListener("DOMContentLoaded",(function(){new n.a,new o.a,new s.a,new r.a,new a.a,new l.a,new c.a,new u.a}))},function(t,e,i){(function(t){!function(e){"use strict";var i={init:function(t){return this.data("jqv")&&null!=this.data("jqv")||(t=i._saveOptions(this,t),e(document).on("click",".formError",(function(){e(this).fadeOut(150,(function(){e(this).closest(".formError").remove()}))}))),this},attach:function(t){var n;return(n=t?i._saveOptions(this,t):this.data("jqv")).validateAttribute=this.find("[data-validation-engine*=validate]").length?"data-validation-engine":"class",n.binded&&(this.on(n.validationEventTrigger,"["+n.validateAttribute+"*=validate]:not([type=checkbox]):not([type=radio]):not(.datepicker)",i._onFieldEvent),this.on("click","["+n.validateAttribute+"*=validate][type=checkbox],["+n.validateAttribute+"*=validate][type=radio]",i._onFieldEvent),this.on(n.validationEventTrigger,"["+n.validateAttribute+"*=validate][class*=datepicker]",{delay:300},i._onFieldEvent)),n.autoPositionUpdate&&e(window).bind("resize",{noAnimation:!0,formElem:this},i.updatePromptsPosition),this.on("click","a[data-validation-engine-skip], a[class*='validate-skip'], button[data-validation-engine-skip], button[class*='validate-skip'], input[data-validation-engine-skip], input[class*='validate-skip']",i._submitButtonClick),this.removeData("jqv_submitButton"),this.on("submit",i._onSubmitEvent),this},detach:function(){var t=this.data("jqv");return this.off(t.validationEventTrigger,"["+t.validateAttribute+"*=validate]:not([type=checkbox]):not([type=radio]):not(.datepicker)",i._onFieldEvent),this.off("click","["+t.validateAttribute+"*=validate][type=checkbox],["+t.validateAttribute+"*=validate][type=radio]",i._onFieldEvent),this.off(t.validationEventTrigger,"["+t.validateAttribute+"*=validate][class*=datepicker]",i._onFieldEvent),this.off("submit",i._onSubmitEvent),this.removeData("jqv"),this.off("click","a[data-validation-engine-skip], a[class*='validate-skip'], button[data-validation-engine-skip], button[class*='validate-skip'], input[data-validation-engine-skip], input[class*='validate-skip']",i._submitButtonClick),this.removeData("jqv_submitButton"),t.autoPositionUpdate&&e(window).off("resize",i.updatePromptsPosition),this},validate:function(t){var n,o=e(this),s=null;
1if(o.is("form")||o.hasClass("validationEngineContainer")){if(o.hasClass("validating"))return!1;o.addClass("validating"),n=t?i._saveOptions(o,t):o.data("jqv");s=i._validateFields(this);setTimeout((function(){o.removeClass("validating")}),100),s&&n.onSuccess?n.onSuccess():!s&&n.onFailure&&n.onFailure()}else{if(!o.is("form")&&!o.hasClass("validationEngineContainer")){var r=o.closest("form, .validationEngineContainer");return n=r.data("jqv")?r.data("jqv"):e.validationEngine.defaults,(s=i._validateField(o,n))&&n.onFieldSuccess?n.onFieldSuccess():n.onFieldFailure&&n.InvalidFields.length>0&&n.onFieldFailure(),!s}o.removeClass("validating")}return n.onValidationComplete?!!n.onValidationComplete(r,s):s},updatePromptsPosition:function(t){if(t&&this==window)var n=t.data.formElem,o=t.data.noAnimation;else n=e(this.closest("form, .validationEngineContainer"));var s=n.data("jqv");return s||(s=i._saveOptions(n,s)),n.find("["+s.validateAttribute+"*=validate]").not(":disabled").each((function(){var t=e(this);s.prettySelect&&t.is(":hidden")&&(t=n.find("#"+s.usePrefix+t.attr("id")+s.useSuffix));var r=i._getPrompt(t),a=e(r).find(".formErrorContent").html();r&&i._updatePrompt(t,e(r),a,void 0,!1,s,o)})),this},showPrompt:function(t,e,n,o){var s=this.closest("form, .validationEngineContainer").data("jqv");return s||(s=i._saveOptions(this,s)),n&&(s.promptPosition=n),s.showArrow=1==o,i._showPrompt(this,t,e,!1,s),this},hide:function(){var t=e(this).closest("form, .validationEngineContainer"),n=t.data("jqv");n||(n=i._saveOptions(t,n));var o,s=n&&n.fadeDuration?n.fadeDuration:.3;
1return o=t.is("form")||t.hasClass("validationEngineContainer")?"parentForm"+i._getClassName(e(t).attr("id")):i._getClassName(e(t).attr("id"))+"formError",e("."+o).fadeTo(s,0,(function(){e(this).closest(".formError").remove()})),this},hideAll:function(){var t=this.data("jqv"),i=t?t.fadeDuration:300;return e(".formError").fadeTo(i,0,(function(){e(this).closest(".formError").remove()})),this},_onFieldEvent:function(t){var n=e(this),o=n.closest("form, .validationEngineContainer"),s=o.data("jqv");s||(s=i._saveOptions(o,s)),s.eventTrigger="field",1==s.notEmpty?n.val().length>0&&window.setTimeout((function(){i._validateField(n,s)}),t.data?t.data.delay:0):window.setTimeout((function(){i._validateField(n,s)}),t.data?t.data.delay:0)},_onSubmitEvent:function(){var t=e(this),n=t.data("jqv");if(t.data("jqv_submitButton")){var o=e("#"+t.data("jqv_submitButton"));if(o&&o.length>0&&(o.hasClass("validate-skip")||"true"==o.attr("data-validation-engine-skip")))return!0}n.eventTrigger="submit";var s=i._validateFields(t);return s&&n.ajaxFormValidation?(i._validateFormWithAjax(t,n),!1):n.onValidationComplete?!!n.onValidationComplete(t,s):s},_checkAjaxStatus:function(t){var i=!0;return e.each(t.ajaxValidCache,(function(t,e){if(!e)return i=!1,!1})),i},_checkAjaxFieldStatus:function(t,e){return 1==e.ajaxValidCache[t]},_validateFields:function(n){var o=n.data("jqv"),s=!1;n.trigger("jqv.form.validating");var r=null;if(n.find("["+o.validateAttribute+"*=validate]").not(":disabled").each((function(){var a=e(this),l=[];if(e.inArray(a.attr("name"),l)<0){if((s|=i._validateField(a,o))&&null==r&&(a.is(":hidden")&&o.prettySelect?r=a=n.find("#"+o.usePrefix+i._jqSelector(a.attr("id"))+o.useSuffix):(a.data("jqv-prompt-at")instanceof t?a=a.data("jqv-prompt-at"):a.data("jqv-prompt-at")&&(a=e(a.data("jqv-prompt-at"))),r=a)),o.doNotShowAllErrosOnSubmit)return!1;if(l.push(a.attr("name")),1==o.showOneMessage&&s)return!1}})),n.trigger("jqv.form.result",[s]),s){if(o.scroll){var a=r.offset().top,l=r.offset().left,c=o.promptPosition;if("string"==typeof c&&-1!=c.indexOf(":")&&(c=c.substring(0,c.indexOf(":"))),"bottomRight"!=c&&"bottomLeft"!=c){var u=i._getPrompt(r);u&&(a=u.offset().top)}if(o.scrollOffset&&(a-=o.scrollOffset),o.isOverflown){var d=e(o.overflownDIV);if(!d.length)return!1;a+=d.scrollTop()+-parseInt(d.offset().top)-5,e(o.overflownDIV).filter(":not(:animated)").animate({scrollTop:a},1100,(function(){o.focusFirstField&&r.focus()}))}else e("html, body").animate({scrollTop:a},1100,(function(){o.focusFirstField&&r.focus()})),e("html, body").animate({scrollLeft:l},1100)}else o.focusFirstField&&r.focus();return!1}return!0},_validateFormWithAjax:function(t,n){var o=t.serialize(),s=n.ajaxFormValidationMethod?n.ajaxFormValidationMethod:"GET",r=n.ajaxFormValidationURL?n.ajaxFormValidationURL:t.attr("action"),a=n.dataType?n.dataType:"json";e.ajax({type:s,url:r,cache:!1,dataType:a,data:o,form:t,methods:i,options:n,beforeSend:function(){return n.onBeforeAjaxFormValidation(t,n)},error:function(t,e){n.onFailure?n.onFailure(t,e):i._ajaxError(t,e)},success:function(o){if("json"==a&&!0!==o){for(var s=!1,r=0;r<o.length;r++){var l=o[r],c=l[0],u=e(e("#"+c)[0]);if(1==u.length){var d=l[2];if(1==l[1])if(""!=d&&d){if(n.allrules[d])(h=n.allrules[d].alertTextOk)&&(d=h);n.showPrompts&&i._showPrompt(u,d,"pass",!1,n,!0)}else i._closePrompt(u);else{var h;if(s|=!0,n.allrules[d])(h=n.allrules[d].alertText)&&(d=h);n.showPrompts&&i._showPrompt(u,d,"",!1,n,!0)}}}n.onAjaxFormComplete(!s,t,o,n)}else n.onAjaxFormComplete(!0,t,o,n)}})},_validateField:function(t,n,o){if(t.attr("id")||(t.attr("id","form-validation-field-"+e.validationEngine.fieldIdCounter),++e.validationEngine.fieldIdCounter),t.hasClass(n.ignoreFieldsWithClass))return!1;if(!n.validateNonVisibleFields&&(t.is(":hidden")&&!n.prettySelect||t.parent().is(":hidden")))return!1;var s=t.attr(n.validateAttribute),r=/validate\[(.*)\]/.exec(s);if(!r)return!1;var a=r[1],l=a.split(/\[|,|\]/),c=t.attr("name"),u="",d="",h=!1,p=!1;n.isError=!1,n.showArrow=!0,n.maxErrorsPerField>0&&(p=!0);for(var f=e(t.closest("form, .validationEngineContainer")),m=0;m<l.length;m++)l[m]=l[m].toString().replace(" ",""),""===l[m]&&delete l[m];m=0;for(var g=0;m<l.length;m++){if(p&&g>=n.maxErrorsPerField){if(!h){var v=e.inArray("required",l);h=-1!=v&&v>=m}break}var _=void 0;switch(l[m]){case"required":h=!0,_=i._getErrorMessage(f,t,l[m],l,m,n,i._required);break;
1case"custom":_=i._getErrorMessage(f,t,l[m],l,m,n,i._custom);break;case"groupRequired":var y="["+n.validateAttribute+"*="+l[m+1]+"]",b=f.find(y).eq(0);b[0]!=t[0]&&(i._validateField(b,n,o),n.showArrow=!0),(_=i._getErrorMessage(f,t,l[m],l,m,n,i._groupRequired))&&(h=!0),n.showArrow=!1;break;case"ajax":(_=i._ajax(t,l,m,n))&&(d="load");break;case"minSize":_=i._getErrorMessage(f,t,l[m],l,m,n,i._minSize);break;case"maxSize":_=i._getErrorMessage(f,t,l[m],l,m,n,i._maxSize);break;case"min":_=i._getErrorMessage(f,t,l[m],l,m,n,i._min);break;case"max":_=i._getErrorMessage(f,t,l[m],l,m,n,i._max);break;case"past":_=i._getErrorMessage(f,t,l[m],l,m,n,i._past);break;case"future":_=i._getErrorMessage(f,t,l[m],l,m,n,i._future);break;case"dateRange":y="["+n.validateAttribute+"*="+l[m+1]+"]";n.firstOfGroup=f.find(y).eq(0),n.secondOfGroup=f.find(y).eq(1),(n.firstOfGroup[0].value||n.secondOfGroup[0].value)&&(_=i._getErrorMessage(f,t,l[m],l,m,n,i._dateRange)),_&&(h=!0),n.showArrow=!1;break;case"dateTimeRange":y="["+n.validateAttribute+"*="+l[m+1]+"]";n.firstOfGroup=f.find(y).eq(0),n.secondOfGroup=f.find(y).eq(1),(n.firstOfGroup[0].value||n.secondOfGroup[0].value)&&(_=i._getErrorMessage(f,t,l[m],l,m,n,i._dateTimeRange)),_&&(h=!0),n.showArrow=!1;break;case"maxCheckbox":t=e(f.find("input[name='"+c+"']")),_=i._getErrorMessage(f,t,l[m],l,m,n,i._maxCheckbox);break;case"minCheckbox":t=e(f.find("input[name='"+c+"']")),_=i._getErrorMessage(f,t,l[m],l,m,n,i._minCheckbox);break;case"equals":_=i._getErrorMessage(f,t,l[m],l,m,n,i._equals);break;case"funcCall":_=i._getErrorMessage(f,t,l[m],l,m,n,i._funcCall);break;case"creditCard":_=i._getErrorMessage(f,t,l[m],l,m,n,i._creditCard);break;case"condRequired":void 0!==(_=i._getErrorMessage(f,t,l[m],l,m,n,i._condRequired))&&(h=!0);break;case"funcCallRequired":void 0!==(_=i._getErrorMessage(f,t,l[m],l,m,n,i._funcCallRequired))&&(h=!0)}var w=!1;if("object"==typeof _)switch(_.status){case"_break":w=!0;break;case"_error":_=_.message;break;case"_error_no_prompt":return!0}if(0==m&&0==a.indexOf("funcCallRequired")&&void 0!==_&&(u+=_+"<br/>",n.isError=!0,g++,w=!0),w)break;"string"==typeof _&&(u+=_+"<br/>",n.isError=!0,g++)}!h&&!t.val()&&t.val().length<1&&e.inArray("equals",l)<0&&(n.isError=!1);var x=t.prop("type"),T=t.data("promptPosition")||n.promptPosition;("radio"==x||"checkbox"==x)&&f.find("input[name='"+c+"']").size()>1&&(t=e("inline"===T?f.find("input[name='"+c+"'][type!=hidden]:last"):f.find("input[name='"+c+"'][type!=hidden]:first")),n.showArrow=n.showArrowOnRadioAndCheckbox),t.is(":hidden")&&n.prettySelect&&(t=f.find("#"+n.usePrefix+i._jqSelector(t.attr("id"))+n.useSuffix)),n.isError&&n.showPrompts?i._showPrompt(t,u,d,!1,n):i._closePrompt(t),t.trigger("jqv.field.result",[t,n.isError,u]);var C=e.inArray(t[0],n.InvalidFields);return-1==C?n.isError&&n.InvalidFields.push(t[0]):n.isError||n.InvalidFields.splice(C,1),i._handleStatusCssClasses(t,n),n.isError&&n.onFieldFailure&&n.onFieldFailure(t),!n.isError&&n.onFieldSuccess&&n.onFieldSuccess(t),n.isError},_handleStatusCssClasses:function(t,e){e.addSuccessCssClassToField&&t.removeClass(e.addSuccessCssClassToField),e.addFailureCssClassToField&&t.removeClass(e.addFailureCssClassToField),e.addSuccessCssClassToField&&!e.isError&&t.addClass(e.addSuccessCssClassToField),e.addFailureCssClassToField&&e.isError&&t.addClass(e.addFailureCssClassToField)},_getErrorMessage:function(n,o,s,r,a,l,c){var u=t.inArray(s,r);"custom"!==s&&"funcCall"!==s&&"funcCallRequired"!==s||(s=s+"["+r[u+1]+"]",delete r[u]);var d,h=s,p=(o.attr("data-validation-engine")?o.attr("data-validation-engine"):o.attr("class")).split(" ");if(null!=(d="future"==s||"past"==s||"maxCheckbox"==s||"minCheckbox"==s?c(n,o,r,a,l):c(o,r,a,l))){var f=i._getCustomErrorMessage(e(o),p,h,l);f&&(d=f)}return d},_getCustomErrorMessage:function(t,e,n,o){var s=!1,r=/^custom\[.*\]$/.test(n)?i._validityProp.custom:i._validityProp[n];if(null!=r&&null!=(s=t.attr("data-errormessage-"+r)))return s;if(null!=(s=t.attr("data-errormessage")))return s;var a="#"+t.attr("id");if(void 0!==o.custom_error_messages[a]&&void 0!==o.custom_error_messages[a][n])s=o.custom_error_messages[a][n].message;else if(e.length>0)for(var l=0;l<e.length&&e.length>0;l++){var c="."+e[l];if(void 0!==o.custom_error_messages[c]&&void 0!==o.custom_error_messages[c][n]){s=o.custom_error_messages[c][n].message;break}}return s||void 0===o.custom_error_messages[n]||void 0===o.custom_error_messages[n].message||(s=o.custom_error_messages[n].message),s},_validityProp:{required:"value-missing",custom:"custom-error",groupRequired:"value-missing",ajax:"custom-error",minSize:"range-underflow",maxSize:"range-overflow",min:"range-underflow",max:"range-overflow",past:"type-mismatch",future:"type-mismatch",dateRange:"type-mismatch",dateTimeRange:"type-mismatch",maxCheckbox:"range-overflow",minCheckbox:"range-underflow",equals:"pattern-mismatch",funcCall:"custom-error",funcCallRequired:"custom-error",creditCard:"pattern-mismatch",condRequired:"value-missing"},_required:function(t,i,n,o,s){switch(t.prop("type")){case"radio":case"checkbox":if(s){if(!t.prop("checked"))return o.allrules[i[n]].alertTextCheckboxMultiple;break}var r=t.closest("form, .validationEngineContainer"),a=t.attr("name");if(0==r.find("input[name='"+a+"']:checked").size())return 1==r.find("input[name='"+a+"']:visible").size()?o.allrules[i[n]].alertTextCheckboxe:o.allrules[i[n]].alertTextCheckboxMultiple;break;case"text":case"password":case"textarea":case"file":case"select-one":case"select-multiple":default:var l=e.trim(t.val()),c=e.trim(t.attr("data-validation-placeholder")),u=e.trim(t.attr("placeholder"));if(!l||c&&l==c||u&&l==u)return o.allrules[i[n]].alertText}},_groupRequired:function(t,n,o,s){var r="["+s.validateAttribute+"*="+n[o+1]+"]",a=!1;if(t.closest("form, .validationEngineContainer").find(r).each((function(){if(!i._required(e(this),n,o,s))return a=!0,!1})),!a)return s.allrules[n[o]].alertText}
1,_custom:function(t,e,i,n){var o,s=e[i+1],r=n.allrules[s];if(r)if(r.regex){var a=r.regex;if(!a)return void alert("jqv:custom regex not found - "+s);if(!new RegExp(a).test(t.val()))return n.allrules[s].alertText}else{if(!r.func)return void alert("jqv:custom type not allowed "+s);if("function"!=typeof(o=r.func))return void alert("jqv:custom parameter 'function' is no function - "+s);if(!o(t,e,i,n))return n.allrules[s].alertText}else alert("jqv:custom rule not found - "+s)},_funcCall:function(t,e,i,n){var o,s=e[i+1];if(s.indexOf(".")>-1){for(var r=s.split("."),a=window;r.length;)a=a[r.shift()];o=a}else o=window[s]||n.customFunctions[s];if("function"==typeof o)return o(t,e,i,n)},_funcCallRequired:function(t,e,n,o){return i._funcCall(t,e,n,o)},_equals:function(t,i,n,o){var s=i[n+1];if(t.val()!=e("#"+s).val())return o.allrules.equals.alertText},_maxSize:function(t,e,i,n){var o=e[i+1];if(t.val().length>o){var s=n.allrules.maxSize;return s.alertText+o+s.alertText2}},_minSize:function(t,e,i,n){var o=e[i+1];if(t.val().length<o){var s=n.allrules.minSize;return s.alertText+o+s.alertText2}},_min:function(t,e,i,n){var o=parseFloat(e[i+1]);if(parseFloat(t.val())<o){var s=n.allrules.min;return s.alertText2?s.alertText+o+s.alertText2:s.alertText+o}},_max:function(t,e,i,n){var o=parseFloat(e[i+1]);if(parseFloat(t.val())>o){var s=n.allrules.max;return s.alertText2?s.alertText+o+s.alertText2:s.alertText+o}},_past:function(t,n,o,s,r){var a,l=o[s+1],c=e(t.find("*[name='"+l.replace(/^#+/,"")+"']"));if("now"==l.toLowerCase())a=new Date;else if(null!=c.val()){if(c.is(":disabled"))return;a=i._parseDate(c.val())}else a=i._parseDate(l);if(i._parseDate(n.val())>a){var u=r.allrules.past;return u.alertText2?u.alertText+i._dateToString(a)+u.alertText2:u.alertText+i._dateToString(a)}},_future:function(t,n,o,s,r){var a,l=o[s+1],c=e(t.find("*[name='"+l.replace(/^#+/,"")+"']"));if("now"==l.toLowerCase())a=new Date;else if(null!=c.val()){if(c.is(":disabled"))return;a=i._parseDate(c.val())}else a=i._parseDate(l);if(i._parseDate(n.val())<a){var u=r.allrules.future;return u.alertText2?u.alertText+i._dateToString(a)+u.alertText2:u.alertText+i._dateToString(a)}},_isDate:function(t){return new RegExp(/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(?:(?:0?[1-9]|1[0-2])(\/|-)(?:0?[1-9]|1\d|2[0-8]))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(0?2(\/|-)29)(\/|-)(?:(?:0[48]00|[13579][26]00|[2468][048]00)|(?:\d\d)?(?:0[48]|[2468][048]|[13579][26]))$/).test(t)},_isDateTime:function(t){return new RegExp(/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1}$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^((1[012]|0?[1-9]){1}\/(0?[1-9]|[12][0-9]|3[01]){1}\/\d{2,4}\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1})$/).test(t)},_dateCompare:function(t,e){return new Date(t.toString())<new Date(e.toString())},_dateRange:function(t,e,n,o){return!o.firstOfGroup[0].value&&o.secondOfGroup[0].value||o.firstOfGroup[0].value&&!o.secondOfGroup[0].value?o.allrules[e[n]].alertText+o.allrules[e[n]].alertText2:i._isDate(o.firstOfGroup[0].value)&&i._isDate(o.secondOfGroup[0].value)&&i._dateCompare(o.firstOfGroup[0].value,o.secondOfGroup[0].value)?void 0:o.allrules[e[n]].alertText+o.allrules[e[n]].alertText2},_dateTimeRange:function(t,e,n,o){return!o.firstOfGroup[0].value&&o.secondOfGroup[0].value||o.firstOfGroup[0].value&&!o.secondOfGroup[0].value?o.allrules[e[n]].alertText+o.allrules[e[n]].alertText2:i._isDateTime(o.firstOfGroup[0].value)&&i._isDateTime(o.secondOfGroup[0].value)&&i._dateCompare(o.firstOfGroup[0].value,o.secondOfGroup[0].value)?void 0:o.allrules[e[n]].alertText+o.allrules[e[n]].alertText2},_maxCheckbox:function(t,e,i,n,o){var s=i[n+1],r=e.attr("name");if(t.find("input[name='"+r+"']:checked").size()>s)return o.showArrow=!1,o.allrules.maxCheckbox.alertText2?o.allrules.maxCheckbox.alertText+" "+s+" "+o.allrules.maxCheckbox.alertText2:o.allrules.maxCheckbox.alertText}
1,_minCheckbox:function(t,e,i,n,o){var s=i[n+1],r=e.attr("name");if(t.find("input[name='"+r+"']:checked").size()<s)return o.showArrow=!1,o.allrules.minCheckbox.alertText+" "+s+" "+o.allrules.minCheckbox.alertText2},_creditCard:function(t,e,i,n){var o=!1,s=t.val().replace(/ +/g,"").replace(/-+/g,""),r=s.length;if(r>=14&&r<=16&&parseInt(s)>0){var a,l=0,c=(i=r-1,1),u=new String;do{a=parseInt(s.charAt(i)),u+=c++%2==0?2*a:a}while(--i>=0);for(i=0;i<u.length;i++)l+=parseInt(u.charAt(i));o=l%10==0}if(!o)return n.allrules.creditCard.alertText},_ajax:function(t,n,o,s){var r=n[o+1],a=s.allrules[r],l=a.extraData,c=a.extraDataDynamic,u={fieldId:t.attr("id"),fieldValue:t.val()};if("object"==typeof l)e.extend(u,l);else if("string"==typeof l){var d=l.split("&");for(o=0;o<d.length;o++){var h=d[o].split("=");h[0]&&h[0]&&(u[h[0]]=h[1])}}if(c){var p=String(c).split(",");for(o=0;o<p.length;o++){var f=p[o];if(e(f).length){var m=t.closest("form, .validationEngineContainer").find(f).val();f.replace("#",""),escape(m);u[f.replace("#","")]=m}}}if("field"==s.eventTrigger&&delete s.ajaxValidCache[t.attr("id")],!s.isError&&!i._checkAjaxFieldStatus(t.attr("id"),s))return e.ajax({type:s.ajaxFormValidationMethod,url:a.url,cache:!1,dataType:"json",data:u,field:t,rule:a,methods:i,options:s,beforeSend:function(){},error:function(t,e){s.onFailure?s.onFailure(t,e):i._ajaxError(t,e)},success:function(n){var o=n[0],r=e("#"+o).eq(0);if(1==r.length){var l=n[1],c=n[2];if(l){if(s.ajaxValidCache[o]=!0,c){if(s.allrules[c])(u=s.allrules[c].alertTextOk)&&(c=u)}else c=a.alertTextOk;s.showPrompts&&(c?i._showPrompt(r,c,"pass",!0,s):i._closePrompt(r)),"submit"==s.eventTrigger&&t.closest("form").submit()}else{var u;if(s.ajaxValidCache[o]=!1,s.isError=!0,c){if(s.allrules[c])(u=s.allrules[c].alertText)&&(c=u)}else c=a.alertText;s.showPrompts&&i._showPrompt(r,c,"",!0,s)}}r.trigger("jqv.field.result",[r,s.isError,c])}}),a.alertTextLoad},_ajaxError:function(t,e){0==t.status&&null==e?alert("The page is not served from a server! ajax call failed"):"undefined"!=typeof console&&console.log("Ajax error: "+t.status+" "+e)},_dateToString:function(t){return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()},_parseDate:function(t){var e=t.split("-");return e==t&&(e=t.split("/")),e==t?(e=t.split("."),new Date(e[2],e[1]-1,e[0])):new Date(e[0],e[1]-1,e[2])},_showPrompt:function(n,o,s,r,a,l){n.data("jqv-prompt-at")instanceof t?n=n.data("jqv-prompt-at"):n.data("jqv-prompt-at")&&(n=e(n.data("jqv-prompt-at")));var c=i._getPrompt(n);l&&(c=!1),e.trim(o)&&(c?i._updatePrompt(n,c,o,s,r,a):i._buildPrompt(n,o,s,r,a))},_buildPrompt:function(t,n,o,s,r){var a=e("<div>");switch(a.addClass(i._getClassName(t.attr("id"))+"formError"),a.addClass("parentForm"+i._getClassName(t.closest("form, .validationEngineContainer").attr("id"))),a.addClass("formError"),o){case"pass":a.addClass("greenPopup");break;case"load":a.addClass("blackPopup")}s&&a.addClass("ajaxed");e("<div>").addClass("formErrorContent").html(n).appendTo(a);var l=t.data("promptPosition")||r.promptPosition;if(r.showArrow){var c=e("<div>").addClass("formErrorArrow");if("string"==typeof l)-1!=(h=l.indexOf(":"))&&(l=l.substring(0,h));switch(l){case"bottomLeft":case"bottomRight":a.find(".formErrorContent").before(c),c.addClass("formErrorArrowBottom").html('<div class="line1">\x3c!-- --\x3e</div><div class="line2">\x3c!-- --\x3e</div><div class="line3">\x3c!-- --\x3e</div><div class="line4">\x3c!-- --\x3e</div><div class="line5">\x3c!-- --\x3e</div><div class="line6">\x3c!-- --\x3e</div><div class="line7">\x3c!-- --\x3e</div><div class="line8">\x3c!-- --\x3e</div><div class="line9">\x3c!-- --\x3e</div><div class="line10">\x3c!-- --\x3e</div>');break;case"topLeft":case"topRight":c.html('<div class="line10">\x3c!-- --\x3e</div><div class="line9">\x3c!-- --\x3e</div><div class="line8">\x3c!-- --\x3e</div><div class="line7">\x3c!-- --\x3e</div><div class="line6">\x3c!-- --\x3e</div><div class="line5">\x3c!-- --\x3e</div><div class="line4">\x3c!-- --\x3e</div><div class="line3">\x3c!-- --\x3e</div><div class="line2">\x3c!-- --\x3e</div><div class="line1">\x3c!-- --\x3e</div>'),a.append(c)}}r.addPromptClass&&a.addClass(r.addPromptClass);var u=t.attr("data-required-class");if(void 0!==u)a.addClass(u);else if(r.prettySelect&&e("#"+t.attr("id")).next().is("select")){var d=e("#"+t.attr("id").substr(r.usePrefix.length).substring(r.useSuffix.length)).attr("data-required-class");void 0!==d&&a.addClass(d)}a.css({opacity:0}
1),"inline"===l?(a.addClass("inline"),void 0!==t.attr("data-prompt-target")&&e("#"+t.attr("data-prompt-target")).length>0?a.appendTo(e("#"+t.attr("data-prompt-target"))):t.after(a)):t.before(a);var h=i._calculatePosition(t,a,r);return a.css({position:"inline"===l?"relative":"absolute",top:h.callerTopPosition,left:h.callerleftPosition,marginTop:h.marginTopSize,opacity:0}).data("callerField",t),r.autoHidePrompt&&setTimeout((function(){a.animate({opacity:0},(function(){a.closest(".formError").remove()}))}),r.autoHideDelay),a.animate({opacity:.87})},_updatePrompt:function(t,e,n,o,s,r,a){if(e){void 0!==o&&("pass"==o?e.addClass("greenPopup"):e.removeClass("greenPopup"),"load"==o?e.addClass("blackPopup"):e.removeClass("blackPopup")),s?e.addClass("ajaxed"):e.removeClass("ajaxed"),e.find(".formErrorContent").html(n);var l=i._calculatePosition(t,e,r),c={top:l.callerTopPosition,left:l.callerleftPosition,marginTop:l.marginTopSize,opacity:.87};e.css({opacity:0,display:"block"}),a?e.css(c):e.animate(c)}},_closePrompt:function(t){var e=i._getPrompt(t);e&&e.fadeTo("fast",0,(function(){e.closest(".formError").remove()}))},closePrompt:function(t){return i._closePrompt(t)},_getPrompt:function(t){var n=e(t).closest("form, .validationEngineContainer").attr("id"),o=i._getClassName(t.attr("id"))+"formError",s=e("."+i._escapeExpression(o)+".parentForm"+i._getClassName(n))[0];if(s)return e(s)},_escapeExpression:function(t){return t.replace(/([#;&,\.\+\*\~':"\!\^$\[\]\(\)=>\|])/g,"\\$1")},isRTL:function(t){var i=e(document),n=e("body"),o=t&&t.hasClass("rtl")||t&&"rtl"===(t.attr("dir")||"").toLowerCase()||i.hasClass("rtl")||"rtl"===(i.attr("dir")||"").toLowerCase()||n.hasClass("rtl")||"rtl"===(n.attr("dir")||"").toLowerCase();return Boolean(o)},_calculatePosition:function(t,e,i){var n,o,s,r=t.width(),a=t.position().left,l=t.position().top;t.height();n=o=0,s=-e.height();var c=t.data("promptPosition")||i.promptPosition,u="",d="",h=0,p=0;switch("string"==typeof c&&-1!=c.indexOf(":")&&(u=c.substring(c.indexOf(":")+1),c=c.substring(0,c.indexOf(":")),-1!=u.indexOf(",")&&(d=u.substring(u.indexOf(",")+1),u=u.substring(0,u.indexOf(",")),p=parseInt(d),isNaN(p)&&(p=0)),h=parseInt(u),isNaN(u)&&(u=0)),c){default:case"topRight":o+=a+r-27,n+=l;break;case"topLeft":n+=l,o+=a;break;case"centerRight":n=l+4,s=0,o=a+t.outerWidth(!0)+5;break;case"centerLeft":o=a-(e.width()+2),n=l+4,s=0;break;case"bottomLeft":n=l+t.height()+5,s=0,o=a;break;case"bottomRight":o=a+r-27,n=l+t.height()+5,s=0;break;case"inline":o=0,n=0,s=0}return{callerTopPosition:(n+=p)+"px",callerleftPosition:(o+=h)+"px",marginTopSize:s+"px"}},_saveOptions:function(t,i){if(e.validationEngineLanguage)var n=e.validationEngineLanguage.allRules;else e.error("jQuery.validationEngine rules are not loaded, plz add localization files to the page");e.validationEngine.defaults.allrules=n;var o=e.extend(!0,{},e.validationEngine.defaults,i);return t.data("jqv",o),o},_getClassName:function(t){if(t)return t.replace(/:/g,"_").replace(/\./g,"_")},_jqSelector:function(t){return t.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1")},_condRequired:function(e,n,o,s){var r,a;for(r=o+1;r<n.length;r++)if((a=t("#"+n[r]).first()).length&&null==i._required(a,["required"],0,s,!0))return i._required(e,["required"],0,s)},_submitButtonClick:function(t){var i=e(this);i.closest("form, .validationEngineContainer").data("jqv_submitButton",i.attr("id"))}};e.fn.validationEngine=function(t){var n=e(this);return n[0]?"string"==typeof t&&"_"!=t.charAt(0)&&i[t]?("showPrompt"!=t&&"hide"!=t&&"hideAll"!=t&&i.init.apply(n),i[t].apply(n,Array.prototype.slice.call(arguments,1))):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist in jQuery.validationEngine"):(i.init.apply(n,arguments),i.attach.apply(n)):n},e.validationEngine={fieldIdCounter:0,defaults:{validationEventTrigger:"blur",scroll:!0,focusFirstField:!0,showPrompts:!0,validateNonVisibleFields:!1,ignoreFieldsWithClass:"ignoreMe",promptPosition:"topRight",bindMethod:"bind",inlineAjax:!1,ajaxFormValidation:!1,ajaxFormValidationURL:!1,ajaxFormValidationMethod:"get",onAjaxFormComplete:e.noop,onBeforeAjaxFormValidation:e.noop,onValidationComplete:!1,doNotShowAllErrosOnSubmit:!1,custom_error_messages:{},binded:!0,notEmpty:!1,showArrow:!0,showArrowOnRadioAndCheckbox:!1,isError:!1,maxErrorsPerField:!1,ajaxValidCache:{},autoPositionUpdate:!1,InvalidFields:[],onFieldSuccess:!1,onFieldFailure:!1,onSuccess:!1,onFailure:!1,validateAttribute:"class",addSuccessCssClassToField:"",addFailureCssClassToField:"",autoHidePrompt:!1,autoHideDelay:1e4,fadeDuration:300,prettySelect:!1,addPromptClass:"",usePrefix:"",useSuffix:"",showOneMessage:!1}},e((function(){e.validationEngine.defaults.promptPosition=i.isRTL()?"topLeft":"topRight"}))}(t)}
1).call(this,i(0))},function(t,e,i){(function(t){var e;(e=t).fn.validationEngineLanguage=function(){},e.validationEngineLanguage={newLang:function(){e.validationEngineLanguage.allRules={required:{regex:"none",alertText:"* Ce champ est requis",alertTextCheckboxMultiple:"* Choisir une option",alertTextCheckboxe:"* Cette option est requise"},requiredInFunction:{func:function(t,e,i,n){return"test"==t.val()},alertText:"* Field must equal test"},minSize:{regex:"none",alertText:"* Minimum ",alertText2:" caractères requis"},groupRequired:{regex:"none",alertText:"* Vous devez remplir un des champs suivant"},maxSize:{regex:"none",alertText:"* Maximum ",alertText2:" caractères requis"},min:{regex:"none",alertText:"* Valeur minimum requise "},max:{regex:"none",alertText:"* Valeur maximum requise "},past:{regex:"none",alertText:"* Date antérieure au "},future:{regex:"none",alertText:"* Date postérieure au "},maxCheckbox:{regex:"none",alertText:"* Nombre max de choix excédé"},minCheckbox:{regex:"none",alertText:"* Veuillez choisir ",alertText2:" options"},equals:{regex:"none",alertText:"* Votre champ n'est pas identique"},creditCard:{regex:"none",alertText:"* Numéro de carte bancaire valide"},phone:{regex:/^([\+][0-9]{1,3}([ \.\-])?)?([\(][0-9]{1,6}[\)])?([0-9 \.\-]{1,32})(([A-Za-z \:]{1,11})?[0-9]{1,4}?)$/,alertText:"* Numéro de téléphone invalide"},email:{regex:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,alertText:"* Adresse email invalide"},integer:{regex:/^[\-\+]?\d+$/,alertText:"* Nombre entier invalide"},number:{regex:/^[\-\+]?((([0-9]{1,3})([,][0-9]{3})*)|([0-9]+))?([\.]([0-9]+))?$/,alertText:"* Nombre flottant invalide"},date:{regex:/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/,alertText:"* Date invalide, format YYYY-MM-DD requis"},ipv4:{regex:/^((([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))[.]){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))$/,alertText:"* Adresse IP invalide"},url:{regex:/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,alertText:"* URL invalide"},onlyNumberSp:{regex:/^[0-9\ ]+$/,alertText:"* Seuls les chiffres sont acceptés"},onlyLetterSp:{regex:/^[a-zA-Z\u00C0-\u00D6\u00D9-\u00F6\u00F9-\u00FD\ \']+$/,alertText:"* Seules les lettres sont acceptées"},onlyLetterNumber:{regex:/^[0-9a-zA-Z\u00C0-\u00D6\u00D9-\u00F6\u00F9-\u00FD]+$/,alertText:"* Aucun caractère spécial n'est accepté"},ajaxUserCall:{url:"ajaxValidateFieldUser",extraData:"name=eric",alertTextLoad:"* Chargement, veuillez attendre",alertText:"* Ce nom est déjà pris"},ajaxNameCall:{url:"ajaxValidateFieldName",alertText:"* Ce nom est déjà pris",alertTextOk:"*Ce nom est disponible",alertTextLoad:"* Chargement, veuillez attendre"},validate2fields:{alertText:"Veuillez taper le mot HELLO"}}}},e.validationEngineLanguage.newLang()}).call(this,i(0))}
1,function(t,e,i){(function(t){(function(e,i){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function s(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function r(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter((function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable})))),n.forEach((function(e){s(t,e,i[e])}))}return t}for(var a=function(t){function e(e){var n=this,o=!1;return t(this).one(i.TRANSITION_END,(function(){o=!0})),setTimeout((function(){o||i.triggerTransitionEnd(n)}),e),this}var i={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(e){var i=e.getAttribute("data-target");i&&"#"!==i||(i=e.getAttribute("href")||"");try{return t(document).find(i).length>0?i:null}catch(t){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var i=t(e).css("transition-duration");return parseFloat(i)?(i=i.split(",")[0],1e3*parseFloat(i)):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var s=n[o],r=e[o],a=r&&i.isElement(r)?"element":(l=r,{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(a))throw new Error(t.toUpperCase()+': Option "'+o+'" provided type "'+a+'" but expected type "'+s+'".')}var l}};return t.fn.emulateTransitionEnd=e,t.event.special[i.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},i}(i=i&&i.hasOwnProperty("default")?i.default:i),l=function(t){var e="alert",i=t.fn[e],n={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},s="alert",r="fade",l="show",c=function(){function e(t){this._element=t}var i=e.prototype;return i.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},i.dispose=function(){t.removeData(this._element,"bs.alert"),this._element=null},i._getRootElement=function(e){var i=a.getSelectorFromElement(e),n=!1;return i&&(n=t(i)[0]),n||(n=t(e).closest("."+s)[0]),n},i._triggerCloseEvent=function(e){var i=t.Event(n.CLOSE);return t(e).trigger(i),i},i._removeElement=function(e){var i=this;if(t(e).removeClass(l),t(e).hasClass(r)){var n=a.getTransitionDurationFromElement(e);t(e).one(a.TRANSITION_END,(function(t){return i._destroyElement(e,t)})).emulateTransitionEnd(n)}else this._destroyElement(e)},i._destroyElement=function(e){t(e).detach().trigger(n.CLOSED).remove()},e._jQueryInterface=function(i){return this.each((function(){var n=t(this),o=n.data("bs.alert");o||(o=new e(this),n.data("bs.alert",o)),"close"===i&&o[i](this)}))},e._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(e,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),e}();return t(document).on(n.CLICK_DATA_API,'[data-dismiss="alert"]',c._handleDismiss(new c)),t.fn[e]=c._jQueryInterface,t.fn[e].Constructor=c,t.fn[e].noConflict=function(){return t.fn[e]=i,c._jQueryInterface},c}(i),c=function(t){var e="button",i=t.fn[e],n="active",s="btn",r="focus",a='[data-toggle^="button"]',l='[data-toggle="buttons"]',c="input",u=".active",d=".btn",h={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},p=function(){function e(t){this._element=t}var i=e.prototype;return i.toggle=function(){var e=!0,i=!0,o=t(this._element).closest(l)[0];if(o){var s=t(this._element).find(c)[0];if(s){if("radio"===s.type)if(s.checked&&t(this._element).hasClass(n))e=!1;else{var r=t(o).find(u)[0];r&&t(r).removeClass(n)}if(e){if(s.hasAttribute("disabled")||o.hasAttribute("disabled")||s.classList.contains("disabled")||o.classList.contains("disabled"))return;s.checked=!t(this._element).hasClass(n),t(s).trigger("change")}s.focus(),i=!1}}i&&this._element.setAttribute("aria-pressed",!t(this._element).hasClass(n)),e&&t(this._element).toggleClass(n)}
1,i.dispose=function(){t.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(i){return this.each((function(){var n=t(this).data("bs.button");n||(n=new e(this),t(this).data("bs.button",n)),"toggle"===i&&n[i]()}))},o(e,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),e}();return t(document).on(h.CLICK_DATA_API,a,(function(e){e.preventDefault();var i=e.target;t(i).hasClass(s)||(i=t(i).closest(d)),p._jQueryInterface.call(t(i),"toggle")})).on(h.FOCUS_BLUR_DATA_API,a,(function(e){var i=t(e.target).closest(d)[0];t(i).toggleClass(r,/^focus(in)?$/.test(e.type))})),t.fn[e]=p._jQueryInterface,t.fn[e].Constructor=p,t.fn[e].noConflict=function(){return t.fn[e]=i,p._jQueryInterface},p}(i),u=function(t){var e="carousel",i="bs.carousel",n="."+i,s=t.fn[e],l={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},c={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},u="next",d="prev",h="left",p="right",f={SLIDE:"slide"+n,SLID:"slid"+n,KEYDOWN:"keydown"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n,TOUCHEND:"touchend"+n,LOAD_DATA_API:"load"+n+".data-api",CLICK_DATA_API:"click"+n+".data-api"},m="carousel",g="active",v="slide",_="carousel-item-right",y="carousel-item-left",b="carousel-item-next",w="carousel-item-prev",x=".active",T=".active.carousel-item",C=".carousel-item",S=".carousel-item-next, .carousel-item-prev",k=".carousel-indicators",P="[data-slide], [data-slide-to]",E='[data-ride="carousel"]',L=function(){function s(e,i){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(i),this._element=t(e)[0],this._indicatorsElement=t(this._element).find(k)[0],this._addEventListeners()}var P=s.prototype;return P.next=function(){this._isSliding||this._slide(u)},P.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},P.prev=function(){this._isSliding||this._slide(d)},P.pause=function(e){e||(this._isPaused=!0),t(this._element).find(S)[0]&&(a.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},P.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},P.to=function(e){var i=this;this._activeElement=t(this._element).find(T)[0];var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(f.SLID,(function(){return i.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var o=e>n?u:d;this._slide(o,this._items[e])}},P.dispose=function(){t(this._element).off(n),t.removeData(this._element,i),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},P._getConfig=function(t){return t=r({},l,t),a.typeCheckConfig(e,t,c),t},P._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(f.KEYDOWN,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(t(this._element).on(f.MOUSEENTER,(function(t){return e.pause(t)})).on(f.MOUSELEAVE,(function(t){return e.cycle(t)})),"ontouchstart"in document.documentElement&&t(this._element).on(f.TOUCHEND,(function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval)})))},P._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},P._getItemIndex=function(e){return this._items=t.makeArray(t(e).parent().find(C)),this._items.indexOf(e)},P._getItemByDirection=function(t,e){var i=t===u,n=t===d,o=this._getItemIndex(e),s=this._items.length-1;if((n&&0===o||i&&o===s)&&!this._config.wrap)return e;var r=(o+(t===d?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},P._triggerSlideEvent=function(e,i){var n=this._getItemIndex(e),o=this._getItemIndex(t(this._element).find(T)[0]),s=t.Event(f.SLIDE,{relatedTarget:e,direction:i,from:o,to:n});return t(this._element).trigger(s),s},P._setActiveIndicatorElement=function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(x).removeClass(g);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(g)}},P._slide=function(e,i){var n,o,s,r=this,l=t(this._element).find(T)[0],c=this._getItemIndex(l),d=i||l&&this._getItemByDirection(e,l),m=this._getItemIndex(d),x=Boolean(this._interval);if(e===u?(n=y,o=b,s=h):(n=_,o=w,s=p),d&&t(d).hasClass(g))this._isSliding=!1;else if(!this._triggerSlideEvent(d,s).isDefaultPrevented()&&l&&d){this._isSliding=!0,x&&this.pause(),this._setActiveIndicatorElement(d);var C=t.Event(f.SLID,{relatedTarget:d,direction:s,from:c,to:m});if(t(this._element).hasClass(v)){t(d).addClass(o),a.reflow(d),t(l).addClass(n),t(d).addClass(n);var S=a.getTransitionDurationFromElement(l);t(l).one(a.TRANSITION_END,(function(){t(d).removeClass(n+" "+o).addClass(g),t(l).removeClass(g+" "+o+" "+n),r._isSliding=!1,setTimeout((function(){return t(r._element).trigger(C)}),0)})).emulateTransitionEnd(S)}else t(l).removeClass(g),t(d).addClass(g),this._isSliding=!1,t(this._element).trigger(C);x&&this.cycle()}},s._jQueryInterface=function(e){return this.each((function(){var n=t(this).data(i),o=r({},l,t(this).data());"object"==typeof e&&(o=r({},o,e));var a="string"==typeof e?e:o.slide;if(n||(n=new s(this,o),t(this).data(i,n)),"number"==typeof e)n.to(e);else if("string"==typeof a){if(void 0===n[a])throw new TypeError('No method n
1amed "'+a+'"');n[a]()}else o.interval&&(n.pause(),n.cycle())}))},s._dataApiClickHandler=function(e){var n=a.getSelectorFromElement(this);if(n){var o=t(n)[0];if(o&&t(o).hasClass(m)){var l=r({},t(o).data(),t(this).data()),c=this.getAttribute("data-slide-to");c&&(l.interval=!1),s._jQueryInterface.call(t(o),l),c&&t(o).data(i).to(c),e.preventDefault()}}},o(s,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return l}}]),s}();return t(document).on(f.CLICK_DATA_API,P,L._dataApiClickHandler),t(window).on(f.LOAD_DATA_API,(function(){t(E).each((function(){var e=t(this);L._jQueryInterface.call(e,e.data())}))})),t.fn[e]=L._jQueryInterface,t.fn[e].Constructor=L,t.fn[e].noConflict=function(){return t.fn[e]=s,L._jQueryInterface},L}(i),d=function(t){var e="collapse",i="bs.collapse",n=t.fn[e],s={toggle:!0,parent:""},l={toggle:"boolean",parent:"(string|element)"},c={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},u="show",d="collapse",h="collapsing",p="collapsed",f="width",m="height",g=".show, .collapsing",v='[data-toggle="collapse"]',_=function(){function n(e,i){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(i),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=t(v),o=0;o<n.length;o++){var s=n[o],r=a.getSelectorFromElement(s);null!==r&&t(r).filter(e).length>0&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var _=n.prototype;return _.toggle=function(){t(this._element).hasClass(u)?this.hide():this.show()},_.show=function(){var e,o,s=this;if(!(this._isTransitioning||t(this._element).hasClass(u)||(this._parent&&0===(e=t.makeArray(t(this._parent).find(g).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),e&&(o=t(e).not(this._selector).data(i))&&o._isTransitioning))){var r=t.Event(c.SHOW);if(t(this._element).trigger(r),!r.isDefaultPrevented()){e&&(n._jQueryInterface.call(t(e).not(this._selector),"hide"),o||t(e).data(i,null));var l=this._getDimension();t(this._element).removeClass(d).addClass(h),this._element.style[l]=0,this._triggerArray.length>0&&t(this._triggerArray).removeClass(p).attr("aria-expanded",!0),this.setTransitioning(!0);var f="scroll"+(l[0].toUpperCase()+l.slice(1)),m=a.getTransitionDurationFromElement(this._element);t(this._element).one(a.TRANSITION_END,(function(){t(s._element).removeClass(h).addClass(d).addClass(u),s._element.style[l]="",s.setTransitioning(!1),t(s._element).trigger(c.SHOWN)})).emulateTransitionEnd(m),this._element.style[l]=this._element[f]+"px"}}},_.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(u)){var i=t.Event(c.HIDE);if(t(this._element).trigger(i),!i.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",a.reflow(this._element),t(this._element).addClass(h).removeClass(d).removeClass(u),this._triggerArray.length>0)for(var o=0;o<this._triggerArray.length;o++){var s=this._triggerArray[o],r=a.getSelectorFromElement(s);null!==r&&(t(r).hasClass(u)||t(s).addClass(p).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";var l=a.getTransitionDurationFromElement(this._element);t(this._element).one(a.TRANSITION_END,(function(){e.setTransitioning(!1),t(e._element).removeClass(h).addClass(d).trigger(c.HIDDEN)})).emulateTransitionEnd(l)}}},_.setTransitioning=function(t){this._isTransitioning=t},_.dispose=function(){t.removeData(this._element,i),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},_._getConfig=function(t){return(t=r({},s,t)).toggle=Boolean(t.toggle),a.typeCheckConfig(e,t,l),t},_._getDimension=function(){return t(this._element).hasClass(f)?f:m},_._getParent=function(){var e=this,i=null;a.isElement(this._config.parent)?(i=this._config.parent,void 0!==this._config.parent.jquery&&(i=this._config.parent[0])):i=t(this._config.parent)[0];var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(i).find(o).each((function(t,i){e._addAriaAndCollapsedClass(n._getTargetFromElement(i),[i])})),i},_._addAriaAndCollapsedClass=function(e,i){if(e){var n=t(e).hasClass(u);i.length>0&&t(i).toggleClass(p,!n).attr("aria-expanded",n)}},n._getTargetFromElement=function(e){var i=a.getSelectorFromElement(e);return i?t(i)[0]:null},n._jQueryInterface=function(e){return this.each((function(){var o=t(this),a=o.data(i),l=r({},s,o.data(),"object"==typeof e&&e?e:{});if(!a&&l.toggle&&/show|hide/.test(e)&&(l.toggle=!1),a||(a=new n(this,l),o.data(i,a)),"string"==typeof e){if(void 0===a[e])throw new TypeError('No method n
1amed "'+e+'"');a[e]()}}))},o(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return s}}]),n}();return t(document).on(c.CLICK_DATA_API,v,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=t(this),o=a.getSelectorFromElement(this);t(o).each((function(){var e=t(this),o=e.data(i)?"toggle":n.data();_._jQueryInterface.call(e,o)}))})),t.fn[e]=_._jQueryInterface,t.fn[e].Constructor=_,t.fn[e].noConflict=function(){return t.fn[e]=n,_._jQueryInterface},_}(i),h="undefined"!=typeof window&&"undefined"!=typeof document,p=["Edge","Trident","Firefox"],f=0,m=0;m<p.length;m+=1)if(h&&navigator.userAgent.indexOf(p[m])>=0){f=1;break}var g=h&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),f))}};function v(t){return t&&"[object Function]"==={}.toString.call(t)}function _(t,e){if(1!==t.nodeType)return[];var i=getComputedStyle(t,null);return e?i[e]:i}function y(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function b(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=_(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(i+o+n)?t:b(y(t))}var w=h&&!(!window.MSInputMethodContext||!document.documentMode),x=h&&/MSIE 10/.test(navigator.userAgent);function T(t){return 11===t?w:10===t?x:w||x}function C(t){if(!t)return document.documentElement;for(var e=T(10)?document.body:null,i=t.offsetParent;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(i.nodeName)&&"static"===_(i,"position")?C(i):i:t?t.ownerDocument.documentElement:document.documentElement}function S(t){return null!==t.parentNode?S(t.parentNode):t}function k(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,s=document.createRange();s.setStart(n,0),s.setEnd(o,0);var r,a,l=s.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(r=l).nodeName)||"HTML"!==a&&C(r.firstElementChild)!==r?C(l):l;var c=S(t);return c.host?k(c.host,e):k(t,S(e).host)}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,s=t.ownerDocument.scrollingElement||o;return s[i]}return t[i]}function E(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=P(e,"top"),o=P(e,"left"),s=i?-1:1;return t.top+=n*s,t.bottom+=n*s,t.left+=o*s,t.right+=o*s,t}function L(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function A(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],T(10)?i["offset"+t]+n["margin"+("Height"===t?"Top":"Left")]+n["margin"+("Height"===t?"Bottom":"Right")]:0)}function M(){var t=document.body,e=document.documentElement,i=T(10)&&getComputedStyle(e);return{height:A("Height",t,e,i),width:A("Width",t,e,i)}}var O=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},F=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),z=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function D(t){return I({},t,{right:t.left+t.width,bottom:t.top+t.height})}function $(t){var e={};try{if(T(10)){e=t.getBoundingClientRect();var i=P(t,"top"),n=P(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?M():{},r=s.width||t.clientWidth||o.right-o.left,a=s.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-r,c=t.offsetHeight-a;if(l||c){var u=_(t);l-=L(u,"x"),c-=L(u,"y"),o.width-=l,o.height-=c}return D(o)}function j(t,e){var i=arguments.length>
vendor: 5,749 bytes, line 1
12&&void 0!==arguments[2]&&arguments[2],n=T(10),o="HTML"===e.nodeName,s=$(t),r=$(e),a=b(t),l=_(e),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);i&&"HTML"===e.nodeName&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0));var d=D({top:s.top-r.top-c,left:s.left-r.left-u,width:s.width,height:s.height});if(d.marginTop=0,d.marginLeft=0,!n&&o){var h=parseFloat(l.marginTop,10),p=parseFloat(l.marginLeft,10);d.top-=c-h,d.bottom-=c-h,d.left-=u-p,d.right-=u-p,d.marginTop=h,d.marginLeft=p}return(n&&!i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(d=E(d,e)),d}function N(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=j(t,i),o=Math.max(i.clientWidth,window.innerWidth||0),s=Math.max(i.clientHeight,window.innerHeight||0),r=e?0:P(i),a=e?0:P(i,"left"),l={top:r-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:s};return D(l)}function R(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===_(t,"position")||R(y(t)))}function B(t){if(!t||!t.parentElement||T())return document.documentElement;for(var e=t.parentElement;e&&"none"===_(e,"transform");)e=e.parentElement;return e||document.documentElement}function H(t,e,i,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},r=o?B(t):k(t,e);if("viewport"===n)s=N(r,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=b(y(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var l=j(a,r,o);if("HTML"!==a.nodeName||R(r))s=l;else{var c=M(),u=c.height,d=c.width;s.top+=l.top-l.marginTop,s.bottom=u+l.top,s.left+=l.left-l.marginLeft,s.right=d+l.left}}return s.left+=i,s.top+=i,s.right-=i,s.bottom-=i,s}function Z(t){return t.width*t.height}function W(t,e,i,n,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=H(i,n,s,o),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map((function(t){return I({key:t},a[t],{area:Z(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function q(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?B(e):k(e,i);return j(i,o,n)}function U(t){var e=getComputedStyle(t),i=parseFloat(e.marginTop)+parseFloat(e.marginBottom),n=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function V(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function Y(t,e,i){i=i.split("-")[0];var n=U(t),o={width:n.width,height:n.height},s=-1!==["right","left"].indexOf(i),r=s?"top":"left",a=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return o[r]=e[r]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[c]:e[V(a)],o}function G(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function X(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===i}));var n=G(t,(function(t){return t[e]===i}));return t.indexOf(n)}(t,"name",i))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&v(i)&&(e.offsets.popper=D(e.offsets.popper),e.offsets.reference=D(e.offsets.reference),e=i(e,t))})),e}function K(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=q(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=W(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Y(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=X(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function J(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function Q(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],s=o?""+o+i:t;if(void 0!==document.body.style[s])return s}return null}function tt(){return this.state.isDestroyed=!0,J(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function et(t){var e=t.ownerDocument;return e?e.defaultView:window}function it(t,e,i,n){i.updateBound=n,et(t).addEventListener("resize",i.updateBound,{passive:!0});var o=b(t);return function t(e,i,n,o){var s="BODY"===e.nodeName,r=s?e.ownerDocument.defaultView:e;r.addEventListener(i,n,{passive:!0}),s||t(b(r.parentNode),i,n,o),o.push(r)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function nt(){this.state.eventsEnabled||(this.state=it(this.reference,this.options,this.state,this.scheduleUpdate))}function ot(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,et(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEac
vendor: 4,743 bytes, line 1
1h((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function st(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function rt(t,e){Object.keys(e).forEach((function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&st(e[i])&&(n="px"),t.style[i]=e[i]+n}))}function at(t,e,i){var n=G(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===i&&t.enabled&&t.order<n.order}));if(!o){var s="`"+e+"`",r="`"+i+"`";console.warn(r+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}var lt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ct=lt.slice(3);function ut(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=ct.indexOf(t),n=ct.slice(i+1).concat(ct.slice(0,i));return e?n.reverse():n}var dt="flip",ht="clockwise",pt="counterclockwise";function ft(t,e,i,n){var o=[0,0],s=-1!==["right","left"].indexOf(n),r=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=r.indexOf(G(r,(function(t){return-1!==t.search(/,|\s/)})));r[a]&&-1===r[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))]:[r];return(c=c.map((function(t,n){var o=(1===n?!s:s)?"height":"width",r=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],r=o[2];if(!s)return t;if(0===r.indexOf("%")){var a=void 0;switch(r){case"%p":a=i;break;case"%":case"%r":default:a=n}return D(a)[e]/100*s}return"vh"===r||"vw"===r?("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s}(t,o,e,i)}))}))).forEach((function(t,e){t.forEach((function(i,n){st(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))}))})),o}var mt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,s=o.reference,r=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",c=a?"width":"height",u={start:z({},l,s[l]),end:z({},l,s[l]+s[c]-r[c])};t.offsets.popper=I({},r,u[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,s=o.popper,r=o.reference,a=n.split("-")[0],l=void 0;return l=st(+i)?[+i,0]:ft(i,s,r,a),"left"===a?(s.top+=l[0],s.left-=l[1]):"right"===a?(s.top+=l[0],s.left+=l[1]):"top"===a?(s.left+=l[0],s.top-=l[1]):"bottom"===a&&(s.left+=l[0],s.top+=l[1]),t.popper=s,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||C(t.instance.popper);t.instance.reference===i&&(i=C(i));var n=Q("transform"),o=t.instance.popper.style,s=o.top,r=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=H(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);o.top=s,o.left=r,o[n]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,d={primary:function(t){var i=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(u[t],l[t])),z({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=u[i];return u[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(u[i],l[t]-("right"===t?u.width:u.height))),z({},i,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=I({},u,d[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],s=Math.floor,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",c=r?"width":"height";return i[a]<s(n[l])&&(t.offsets.popper[l]=s(n[l])-i[c]),i[l]>s(n[a])&&(t.offsets.popper[l]=s(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!at(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],s=t.offsets,r=s.popper,a=s.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),h=l?"left"
vendor: 3,724 bytes, line 1
1:"top",p=l?"bottom":"right",f=U(n)[c];a[p]-f<r[d]&&(t.offsets.popper[d]-=r[d]-(a[p]-f)),a[d]+f>r[p]&&(t.offsets.popper[d]+=a[d]+f-r[p]),t.offsets.popper=D(t.offsets.popper);var m=a[d]+a[c]/2-f/2,g=_(t.instance.popper),v=parseFloat(g["margin"+u],10),y=parseFloat(g["border"+u+"Width"],10),b=m-t.offsets.popper[d]-v-y;return b=Math.max(Math.min(r[c]-f,b),0),t.arrowElement=n,t.offsets.arrow=(z(i={},d,Math.round(b)),z(i,h,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(J(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=H(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=V(n),s=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case dt:r=[n,o];break;case ht:r=ut(n);break;case pt:r=ut(n,!0);break;default:r=e.behavior}return r.forEach((function(a,l){if(n!==a||r.length===l+1)return t;n=t.placement.split("-")[0],o=V(n);var c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,h="left"===n&&d(c.right)>d(u.left)||"right"===n&&d(c.left)<d(u.right)||"top"===n&&d(c.bottom)>d(u.top)||"bottom"===n&&d(c.top)<d(u.bottom),p=d(c.left)<d(i.left),f=d(c.right)>d(i.right),m=d(c.top)<d(i.top),g=d(c.bottom)>d(i.bottom),v="left"===n&&p||"right"===n&&f||"top"===n&&m||"bottom"===n&&g,_=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(_&&"start"===s&&p||_&&"end"===s&&f||!_&&"start"===s&&m||!_&&"end"===s&&g);(h||v||y)&&(t.flipped=!0,(h||v)&&(n=r[l+1]),y&&(s=function(t){return"end"===t?"start":"start"===t?"end":t}(s)),t.placement=n+(s?"-"+s:""),t.offsets.popper=I({},t.offsets.popper,Y(t.instance.popper,t.offsets.reference,t.placement)),t=X(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,s=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[r?"left":"top"]=s[i]-(a?o[r?"width":"height"]:0),t.placement=V(e),t.offsets.popper=D(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!at(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=G(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,s=G(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r=void 0!==s?s:e.gpuAcceleration,a=$(C(t.instance.popper)),l={position:o.position},c={left:Math.floor(o.left),top:Math.round(o.top),bottom:Math.round(o.bottom),right:Math.floor(o.right)},u="bottom"===i?"top":"bottom",d="right"===n?"left":"right",h=Q("transform"),p=void 0,f=void 0;if(f="bottom"===u?-a.height+c.bottom:c.top,p="right"===d?-a.width+c.right:c.left,r&&h)l[h]="translate3d("+p+"px, "+f+"px, 0)",l[u]=0,l[d]=0,l.willChange="transform";else{var m="bottom"===u?-1:1,g="right"===d?-1:1;l[u]=f*m,l[d]=p*g,l.willChange=u+", "+d}var v={"x-placement":t.placement};return t.attributes=I({},v,t.attributes),t.styles=I({},l,t.styles),t.arrowStyles=I({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return rt(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEac
1h((function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&rt(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var s=q(o,e,t,i.positionFixed),r=W(i.placement,s,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",r),rt(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},gt=function(){function t(e,i){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};O(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=g(this.update.bind(this)),this.options=I({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(I({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=I({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return I({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&v(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return F(t,[{key:"update",value:function(){return K.call(this)}},{key:"destroy",value:function(){return tt.call(this)}},{key:"enableEventListeners",value:function(){return nt.call(this)}},{key:"disableEventListeners",value:function(){return ot.call(this)}}]),t}();gt.Utils=("undefined"!=typeof window?window:t).PopperUtils,gt.placements=lt,gt.Defaults=mt;var vt=function(t){var e="dropdown",i="bs.dropdown",n="."+i,s=t.fn[e],l=new RegExp("38|40|27"),c={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,CLICK:"click"+n,CLICK_DATA_API:"click"+n+".data-api",KEYDOWN_DATA_API:"keydown"+n+".data-api",KEYUP_DATA_API:"keyup"+n+".data-api"},u="disabled",d="show",h="dropup",p="dropright",f="dropleft",m="dropdown-menu-right",g="position-static",v='[data-toggle="dropdown"]',_=".dropdown form",y=".dropdown-menu",b=".navbar-nav",w=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",x="top-start",T="top-end",C="bottom-start",S="bottom-end",k="right-start",P="left-start",E={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},L={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},A=function(){function s(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var _=s.prototype;return _.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(u)){var e=s._getParentFromElement(this._element),i=t(this._menu).hasClass(d);if(s._clearMenus(),!i){var n={relatedTarget:this._element},o=t.Event(c.SHOW,n);if(t(e).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar){if(void 0===gt)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var r=this._element;"parent"===this._config.reference?r=e:a.isElement(this._config.reference)&&(r=this._config.reference,void 0!==this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(e).addClass(g),this._popper=new gt(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(e).closest(b).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(d),t(e).toggleClass(d).trigger(t.Event(c.SHOWN,n))}}}},_.dispose=function(){t.removeData(this._element,i),t(this._element).off(n),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},_.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},_._addEventListeners=function(){var e=this;t(this._element).on(c.CLICK,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle(
1)}))},_._getConfig=function(i){return i=r({},this.constructor.Default,t(this._element).data(),i),a.typeCheckConfig(e,i,this.constructor.DefaultType),i},_._getMenuElement=function(){if(!this._menu){var e=s._getParentFromElement(this._element);this._menu=t(e).find(y)[0]}return this._menu},_._getPlacement=function(){var e=t(this._element).parent(),i=C;return e.hasClass(h)?(i=x,t(this._menu).hasClass(m)&&(i=T)):e.hasClass(p)?i=k:e.hasClass(f)?i=P:t(this._menu).hasClass(m)&&(i=S),i},_._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},_._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;var i={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(i.modifiers.applyStyle={enabled:!1}),i},s._jQueryInterface=function(e){return this.each((function(){var n=t(this).data(i);if(n||(n=new s(this,"object"==typeof e?e:null),t(this).data(i,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},s._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=t.makeArray(t(v)),o=0;o<n.length;o++){var r=s._getParentFromElement(n[o]),a=t(n[o]).data(i),l={relatedTarget:n[o]};if(a){var u=a._menu;if(t(r).hasClass(d)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&t.contains(r,e.target))){var h=t.Event(c.HIDE,l);t(r).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),n[o].setAttribute("aria-expanded","false"),t(u).removeClass(d),t(r).removeClass(d).trigger(t.Event(c.HIDDEN,l)))}}}},s._getParentFromElement=function(e){var i,n=a.getSelectorFromElement(e);return n&&(i=t(n)[0]),i||e.parentNode},s._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||t(e.target).closest(y).length):!l.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!t(this).hasClass(u))){var i=s._getParentFromElement(this),n=t(i).hasClass(d);if((n||27===e.which&&32===e.which)&&(!n||27!==e.which&&32!==e.which)){var o=t(i).find(w).get();if(0!==o.length){var r=o.indexOf(e.target);38===e.which&&r>0&&r--,40===e.which&&r<o.length-1&&r++,r<0&&(r=0),o[r].focus()}}else{if(27===e.which){var a=t(i).find(v)[0];t(a).trigger("focus")}t(this).trigger("click")}}},o(s,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return E}},{key:"DefaultType",get:function(){return L}}]),s}();return t(document).on(c.KEYDOWN_DATA_API,v,A._dataApiKeydownHandler).on(c.KEYDOWN_DATA_API,y,A._dataApiKeydownHandler).on(c.CLICK_DATA_API+" "+c.KEYUP_DATA_API,A._clearMenus).on(c.CLICK_DATA_API,v,(function(e){e.preventDefault(),e.stopPropagation(),A._jQueryInterface.call(t(this),"toggle")})).on(c.CLICK_DATA_API,_,(function(t){t.stopPropagation()})),t.fn[e]=A._jQueryInterface,t.fn[e].Constructor=A,t.fn[e].noConflict=function(){return t.fn[e]=s,A._jQueryInterface},A}(i),_t=function(t){var e="modal",i=".bs.modal",n=t.fn[e],s={backdrop:!0,keyboard:!0,focus:!0,show:!0},l={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},c={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,FOCUSIN:"focusin"+i,RESIZE:"resize"+i,CLICK_DISMISS:"click.dismiss"+i,KEYDOWN_DISMISS:"keydown.dismiss"+i,MOUSEUP_DISMISS:"mouseup.dismiss"+i,MOUSEDOWN_DISMISS:"mousedown.dismiss"+i,CLICK_DATA_API:"click"+i+".data-api"},u="modal-scrollbar-measure",d="modal-backdrop",h="modal-open",p="fade",f="show",m=".modal-dialog",g='[data-toggle="modal"]',v='[data-dismiss="modal"]',_=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",y=".sticky-top",b=".navbar-toggler",w=function(){function n(e,i){this._config=this._getConfig(i),this._element=e,this._dialog=t(e).find(m)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var g=n.prototype;return g.toggle=function(t){return this._isShown?this.hide():this.show(t)},g.show=function(e){var i=this;if(!this._isTransitioning&&!this._isShown){t(this._element).hasClass(p)&&(this._isTransitioning=!0);var n=t.Event(c.SHOW,{relatedTarget:e});t(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),t(document.body).addClass(h),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(c.CLICK_DISMISS,v,(function(t){return i.hide(t)})),t(this._dialog).on(c.MOUSEDOWN_DISMISS,(function(){t(i._element).one(c.MOUSEUP_DISMISS,(function(e){t(e.target).is(i._element)&&(i._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return i._showElement(e)})))}},g.hide=function(e){var i=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var n=t.Event(c.HIDE);if(t(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var o=t(this._element).hasClass(p);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(c.FOCUSIN),t(this._element).removeClass(f),t(this._element).off(c.CLICK_DISMISS),t(this._dialog).off(c.MOUSEDOWN_DISMISS),o){var s=a.getTransitionDurationFromElement(this._element);t(this._element).one(a.TRANSITION_END,(function(t){return i._hideModal(t)})).emulateTransitionEnd(s)}else this._hideModal()}}}
1,g.dispose=function(){t.removeData(this._element,"bs.modal"),t(window,document,this._element,this._backdrop).off(i),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},g.handleUpdate=function(){this._adjustDialog()},g._getConfig=function(t){return t=r({},s,t),a.typeCheckConfig(e,t,l),t},g._showElement=function(e){var i=this,n=t(this._element).hasClass(p);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&a.reflow(this._element),t(this._element).addClass(f),this._config.focus&&this._enforceFocus();var o=t.Event(c.SHOWN,{relatedTarget:e}),s=function(){i._config.focus&&i._element.focus(),i._isTransitioning=!1,t(i._element).trigger(o)};if(n){var r=a.getTransitionDurationFromElement(this._element);t(this._dialog).one(a.TRANSITION_END,s).emulateTransitionEnd(r)}else s()},g._enforceFocus=function(){var e=this;t(document).off(c.FOCUSIN).on(c.FOCUSIN,(function(i){document!==i.target&&e._element!==i.target&&0===t(e._element).has(i.target).length&&e._element.focus()}))},g._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(c.KEYDOWN_DISMISS,(function(t){27===t.which&&(t.preventDefault(),e.hide())})):this._isShown||t(this._element).off(c.KEYDOWN_DISMISS)},g._setResizeEvent=function(){var e=this;this._isShown?t(window).on(c.RESIZE,(function(t){return e.handleUpdate(t)})):t(window).off(c.RESIZE)},g._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop((function(){t(document.body).removeClass(h),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(c.HIDDEN)}))},g._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},g._showBackdrop=function(e){var i=this,n=t(this._element).hasClass(p)?p:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=d,n&&t(this._backdrop).addClass(n),t(this._backdrop).appendTo(document.body),t(this._element).on(c.CLICK_DISMISS,(function(t){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide())})),n&&a.reflow(this._backdrop),t(this._backdrop).addClass(f),!e)return;if(!n)return void e();var o=a.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(a.TRANSITION_END,e).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(f);var s=function(){i._removeBackdrop(),e&&e()};if(t(this._element).hasClass(p)){var r=a.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(a.TRANSITION_END,s).emulateTransitionEnd(r)}else s()}else e&&e()},g._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},g._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},g._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},g._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){t(_).each((function(i,n){var o=t(n)[0].style.paddingRight,s=t(n).css("padding-right");t(n).data("padding-right",o).css("padding-right",parseFloat(s)+e._scrollbarWidth+"px")})),t(y).each((function(i,n){var o=t(n)[0].style.marginRight,s=t(n).css("margin-right");t(n).data("margin-right",o).css("margin-right",parseFloat(s)-e._scrollbarWidth+"px")})),t(b).each((function(i,n){var o=t(n)[0].style.marginRight,s=t(n).css("margin-right");t(n).data("margin-right",o).css("margin-right",parseFloat(s)+e._scrollbarWidth+"px")}));var i=document.body.style.paddingRight,n=t(document.body).css("padding-right");t(document.body).data("padding-right",i).css("padding-right",parseFloat(n)+this._scrollbarWidth+"px")}},g._resetScrollbar=function(){t(_).each((function(e,i){var n=t(i).data("padding-right");void 0!==n&&t(i).css("padding-right",n).removeData("padding-right")})),t(y+", "+b).each((function(e,i){var n=t(i).data("margin-right");void 0!==n&&t(i).css("margin-right",n).removeData("margin-right")}));var e=t(document.body).data("padding-right");void 0!==e&&t(document.body).css("padding-right",e).removeData("padding-right")},g._getScrollbarWidth=function(){var t=document.createElement("div");t.className=u,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},n._jQueryInterface=function(e,i){return this.each((function(){var o=t(this).data("bs.modal"),a=r({},s,t(this).data(),"object"==typeof e&&e?e:{});if(o||(o=new n(this,a),t(this).data("bs.modal",o)),"string"==typeof e){if(void 0===o[e])throw new TypeError('No method n
1amed "'+e+'"');o[e](i)}else a.show&&o.show(i)}))},o(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return s}}]),n}();return t(document).on(c.CLICK_DATA_API,g,(function(e){var i,n=this,o=a.getSelectorFromElement(this);o&&(i=t(o)[0]);var s=t(i).data("bs.modal")?"toggle":r({},t(i).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var l=t(i).one(c.SHOW,(function(e){e.isDefaultPrevented()||l.one(c.HIDDEN,(function(){t(n).is(":visible")&&n.focus()}))}));w._jQueryInterface.call(t(i),s,this)})),t.fn[e]=w._jQueryInterface,t.fn[e].Constructor=w,t.fn[e].noConflict=function(){return t.fn[e]=n,w._jQueryInterface},w}(i),yt=function(t){var e="tooltip",i=".bs.tooltip",n=t.fn[e],s=new RegExp("(^|\\s)bs-tooltip\\S+","g"),l={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},c={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},u={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},d="show",h="out",p={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},f="fade",m="show",g=".tooltip-inner",v=".arrow",_="hover",y="focus",b="click",w="manual",x=function(){function n(t,e){if(void 0===gt)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var x=n.prototype;return x.enable=function(){this._isEnabled=!0},x.disable=function(){this._isEnabled=!1},x.toggleEnabled=function(){this._isEnabled=!this._isEnabled},x.toggle=function(e){if(this._isEnabled)if(e){var i=this.constructor.DATA_KEY,n=t(e.currentTarget).data(i);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(t(this.getTipElement()).hasClass(m))return void this._leave(null,this);this._enter(null,this)}},x.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},x.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var n=t.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!n)return;var o=this.getTipElement(),s=a.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&t(o).addClass(f);var r="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(r);this.addAttachmentClass(l);var c=!1===this.config.container?document.body:t(this.config.container);t(o).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(o).appendTo(c),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new gt(this.element,o,{placement:l,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:v}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),t(o).addClass(m),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var u=function(){e.config.animation&&e._fixTransition();var i=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),i===h&&e._leave(null,e)};if(t(this.tip).hasClass(f)){var d=a.getTransitionDurationFromElement(this.tip);t(this.tip).one(a.TRANSITION_END,u).emulateTransitionEnd(d)}else u()}},x.hide=function(e){var i=this,n=this.getTipElement(),o=t.Event(this.constructor.Event.HIDE),s=function(){i._hoverState!==d&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),t(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),e&&e()};if(t(this.element).trigger(o),!o.isDefaultPrevented()){if(t(n).removeClass(m),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[b]=!1,this._activeTrigger[y]=!1,this._activeTrigger[_]=!1,t(this.tip).hasClass(f)){var r=a.getTransitionDurationFromElement(n);t(n).one(a.TRANSITION_END,s).emulateTransitionEnd(r)}else s();this._hoverState=""}},x.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},x.isWithContent=function(){return Boolean(this.getTitle())},x.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-tooltip-"+e)},x.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},x.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(g),this.getTitle()),e.removeClass(f+" "+m)},x.setElementContent=function(e,i){var n=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?n?t(i).parent().is(e)||e.empty().append(i):e.text(t(i).text()):e[n?"html":"text"](i)},x.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},x._getAttachment=function(t){return c[t.toUpperCase()]},x._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(i){if("click"===i)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(i!==w){var n=i===_?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=i===_?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(o,e.config.selector,(function(t){return e._leave(t)}))}t(e.element).closest(".modal").on("hide.bs.modal",(function(){return e.hide()}))})),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},x._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},x._enter=function(e,i){var n=this.constructor.DATA_KEY;(i=i||t(e.currentTarget).data(n))||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusin"===e.type?y:_]=!0),t(i.getTipElement()).hasClass(m)||i._hoverState===d?i._hoverState=d:(clearTimeout(i._timeout),i._hoverState=d,i.config.delay&&i.config.delay.show?i._timeout=setTimeout((function(){i._hoverState===d&&i.show()}),i.config.delay.show):i.show())},x._leave=function(e,i){var n=this.constructor.DATA_KEY;(i=i||t(e.currentTarget).data(n))||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusout"===e.type?y:_]=!1),i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=h,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout((function(){i._hoverState===h&&i.hide()}),i.config.delay.hide):i.hide())},x._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},x._getConfig=function(i){return"number"==typeof(i=r({},this.constructor.Default,t(this.element).data(),"object"==typeof i&&i?i:{})).delay&&(i.delay={show:i.delay,hide:i.delay}),"number"==typeof i.title&&(i.title=i.title.toString()),"number"==typeof i.content&&(i.content=i.content.toString()),a.typeCheckConfig(e,i,this.constructor.DefaultType),i},x._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},x._cleanTipClass=function(){var e=t(this.getTipElement()),i=e.attr("class").match(s);null!==i&&i.length>0&&e.removeClass(i.join(""))},x._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},x._fixTransition=function(){var e=this.getTipElement(),i=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(f),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},n._jQueryInterface=function(e){return this.each((function(){var i=t(this).data("bs.tooltip"),o="object"==typeof e&&e;if((i||!/dispose|hide/.test(e))&&(i||(i=new n(this,o),t(this).data("bs.tooltip",i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method n
1amed "'+e+'"');i[e]()}}))},o(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return l}}]),n}();return t.fn[e]=x._jQueryInterface,t.fn[e].Constructor=x,t.fn[e].noConflict=function(){return t.fn[e]=n,x._jQueryInterface},x}(i),bt=function(t){var e="popover",i=".bs.popover",n=t.fn[e],s=new RegExp("(^|\\s)bs-popover\\S+","g"),a=r({},yt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),l=r({},yt.DefaultType,{content:"(string|element|function)"}),c="fade",u="show",d=".popover-header",h=".popover-body",p={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},f=function(n){var r,f;function m(){return n.apply(this,arguments)||this}f=n,(r=m).prototype=Object.create(f.prototype),r.prototype.constructor=r,r.__proto__=f;var g=m.prototype;return g.isWithContent=function(){return this.getTitle()||this._getContent()},g.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-popover-"+e)},g.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},g.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(d),this.getTitle());var i=this._getContent();"function"==typeof i&&(i=i.call(this.element)),this.setElementContent(e.find(h),i),e.removeClass(c+" "+u)},g._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},g._cleanTipClass=function(){var e=t(this.getTipElement()),i=e.attr("class").match(s);null!==i&&i.length>0&&e.removeClass(i.join(""))},m._jQueryInterface=function(e){return this.each((function(){var i=t(this).data("bs.popover"),n="object"==typeof e?e:null;if((i||!/destroy|hide/.test(e))&&(i||(i=new m(this,n),t(this).data("bs.popover",i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},o(m,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return a}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return l}}]),m}(yt);return t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=n,f._jQueryInterface},f}(i),wt=function(t){var e="scrollspy",i=t.fn[e],n={offset:10,method:"auto",target:""},s={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},c="dropdown-item",u="active",d='[data-spy="scroll"]',h=".active",p=".nav, .list-group",f=".nav-link",m=".nav-item",g=".list-group-item",v=".dropdown",_=".dropdown-item",y=".dropdown-toggle",b="offset",w="position",x=function(){function i(e,i){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(i),this._selector=this._config.target+" "+f+","+this._config.target+" "+g+","+this._config.target+" "+_,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(l.SCROLL,(function(t){return n._process(t)})),this.refresh(),this._process()}var d=i.prototype;return d.refresh=function(){var e=this,i=this._scrollElement===this._scrollElement.window?b:w,n="auto"===this._config.method?i:this._config.method,o=n===w?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),t.makeArray(t(this._selector)).map((function(e){var i,s=a.getSelectorFromElement(e);if(s&&(i=t(s)[0]),i){var r=i.getBoundingClientRect();if(r.width||r.height)return[t(i)[n]().top+o,s]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]}
1)).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},d.dispose=function(){t.removeData(this._element,"bs.scrollspy"),t(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},d._getConfig=function(i){if("string"!=typeof(i=r({},n,"object"==typeof i&&i?i:{})).target){var o=t(i.target).attr("id");o||(o=a.getUID(e),t(i.target).attr("id",o)),i.target="#"+o}return a.typeCheckConfig(e,i,s),i},d._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},d._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},d._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},d._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},d._activate=function(e){this._activeTarget=e,this._clear();var i=this._selector.split(",");i=i.map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}));var n=t(i.join(","));n.hasClass(c)?(n.closest(v).find(y).addClass(u),n.addClass(u)):(n.addClass(u),n.parents(p).prev(f+", "+g).addClass(u),n.parents(p).prev(m).children(f).addClass(u)),t(this._scrollElement).trigger(l.ACTIVATE,{relatedTarget:e})},d._clear=function(){t(this._selector).filter(h).removeClass(u)},i._jQueryInterface=function(e){return this.each((function(){var n=t(this).data("bs.scrollspy");if(n||(n=new i(this,"object"==typeof e&&e),t(this).data("bs.scrollspy",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},o(i,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return n}}]),i}();return t(window).on(l.LOAD_DATA_API,(function(){for(var e=t.makeArray(t(d)),i=e.length;i--;){var n=t(e[i]);x._jQueryInterface.call(n,n.data())}})),t.fn[e]=x._jQueryInterface,t.fn[e].Constructor=x,t.fn[e].noConflict=function(){return t.fn[e]=i,x._jQueryInterface},x}(i),xt=function(t){var e=t.fn.tab,i={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},n="dropdown-menu",s="active",r="disabled",l="fade",c="show",u=".dropdown",d=".nav, .list-group",h=".active",p="> li > .active",f='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',m=".dropdown-toggle",g="> .dropdown-menu .active",v=function(){function e(t){this._element=t}var f=e.prototype;return f.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(s)||t(this._element).hasClass(r))){var n,o,l=t(this._element).closest(d)[0],c=a.getSelectorFromElement(this._element);if(l){var u="UL"===l.nodeName?p:h;o=(o=t.makeArray(t(l).find(u)))[o.length-1]}var f=t.Event(i.HIDE,{relatedTarget:this._element}),m=t.Event(i.SHOW,{relatedTarget:o});if(o&&t(o).trigger(f),t(this._element).trigger(m),!m.isDefaultPrevented()&&!f.isDefaultPrevented()){c&&(n=t(c)[0]),this._activate(this._element,l);var g=function(){var n=t.Event(i.HIDDEN,{relatedTarget:e._element}),s=t.Event(i.SHOWN,{relatedTarget:o});t(o).trigger(n),t(e._element).trigger(s)};n?this._activate(n,n.parentNode,g):g()}}},f.dispose=function(){t.removeData(this._element,"bs.tab"),this._element=null},f._activate=function(e,i,n){var o=this,s=("UL"===i.nodeName?t(i).find(p):t(i).children(h))[0],r=n&&s&&t(s).hasClass(l),c=function(){return o._transitionComplete(e,s,n)};if(s&&r){var u=a.getTransitionDurationFromElement(s);t(s).one(a.TRANSITION_END,c).emulateTransitionEnd(u)}else c()},f._transitionComplete=function(e,i,o){if(i){t(i).removeClass(c+" "+s);var r=t(i.parentNode).find(g)[0];r&&t(r).removeClass(s),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}if(t(e).addClass(s),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),a.reflow(e),t(e).addClass(c),e.parentNode&&t(e.parentNode).hasClass(n)){var l=t
1(e).closest(u)[0];l&&t(l).find(m).addClass(s),e.setAttribute("aria-expanded",!0)}o&&o()},e._jQueryInterface=function(i){return this.each((function(){var n=t(this),o=n.data("bs.tab");if(o||(o=new e(this),n.data("bs.tab",o)),"string"==typeof i){if(void 0===o[i])throw new TypeError('No method named "'+i+'"');o[i]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),e}();return t(document).on(i.CLICK_DATA_API,f,(function(e){e.preventDefault(),v._jQueryInterface.call(t(this),"show")})),t.fn.tab=v._jQueryInterface,t.fn.tab.Constructor=v,t.fn.tab.noConflict=function(){return t.fn.tab=e,v._jQueryInterface},v}(i);!function(t){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(i),e.Util=a,e.Alert=l,e.Button=c,e.Carousel=u,e.Collapse=d,e.Dropdown=vt,e.Modal=_t,e.Popover=bt,e.Scrollspy=wt,e.Tab=xt,e.Tooltip=yt,Object.defineProperty(e,"__esModule",{value:!0})})(e,i(0))}).call(this,i(23))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){(function(t){!function(t,e,i,n){"use strict";function o(t,e){var n,o,s,r=[],a=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=p(t.data.options,e)),n=e.$target||i(t.currentTarget).trigger("blur"),(s=i.fancybox.getInstance())&&s.$trigger&&s.$trigger.is(n)||(e.selector?r=i(e.selector):(o=n.attr("data-fancybox")||"")?r=(r=t.data?t.data.items:[]).length?r.filter('[data-fancybox="'+o+'"]'):i('[data-fancybox="'+o+'"]'):r=[n],(a=i(r).index(n))<0&&(a=0),(s=i.fancybox.open(r,e,a)).$trigger=n))}if(t.console=t.console||{info:function(t){}},i){if(i.fn.fancybox)return void console.info("fancyBox already initialized");var s={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1<path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeClose:i.noop,afterClose:i.noop,onActivate:i.noop,onDeactivate:i.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},r=i(t),a=i(e),l=0,c=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},u=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},d=function(){var t,i=e.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(void 0!==i.style[t])return n[t];return"transitionend"}(),h=function(t){return t&&t.length&&t[0].offsetHeight},p=function(t,e){var n=i.extend(!0,{},t,e);return i.each(e,(function(t,e){i.isArray(e)&&(n[t]=e)})),n},f=function(t){var n,o;return!(!t||t.ownerDocument!==e)&&(i(".fancybox-container").css("pointer-events","none"),n={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},o=e.elementFromPoint(n.x,n.y)===t,i(".fancybox-container").css("pointer-events",""),o)},m=function(t,e,n){var o=this;o.opts=p({index:n},i.fancybox.defaults),i.isPlainObject(e)&&(o.opts=p(o.opts,e)),i.fancybox.isMobile&&(o.opts=p(o.opts,o.opts.mobile)),o.id=o.opts.id||++l,o.currIndex=parseInt(o.opts.index,10)||0,o.prevIndex=null,o.prevPos=null,o.currPos=0,o.firstRun=!0,o.group=[],o.slides={},o.addContent(t),o.group.length&&o.init()};i.extend(m.prototype,{init:function(){var n,o,s=this,r=s.group[s.currIndex].opts;r.closeExisting&&i.fancybox.close(!0),i("body").addClass("fancybox-active"),!i.fancybox.getInstance()&&!1!==r.hideScrollbar&&!i.fancybox.isMobile&&e.body.scrollHeight>
1t.innerHeight&&(i("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),i("body").addClass("compensate-for-scrollbar")),o="",i.each(r.buttons,(function(t,e){o+=r.btnTpl[e]||""})),n=i(s.translate(s,r.baseTpl.replace("{{buttons}}",o).replace("{{arrows}}",r.btnTpl.arrowLeft+r.btnTpl.arrowRight))).attr("id","fancybox-container-"+s.id).addClass(r.baseClass).data("FancyBox",s).appendTo(r.parentEl),s.$refs={container:n},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(t){s.$refs[t]=n.find(".fancybox-"+t)})),s.trigger("onInit"),s.activate(),s.jumpTo(s.currIndex)},translate:function(t,e){var i=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,(function(t,e){return void 0===i[e]?t:i[e]}))},addContent:function(t){var e,n=this,o=i.makeArray(t);i.each(o,(function(t,e){var o,s,r,a,l,c={},u={};i.isPlainObject(e)?(c=e,u=e.opts||e):"object"===i.type(e)&&i(e).length?(u=(o=i(e)).data()||{},(u=i.extend(!0,{},u,u.options)).$orig=o,c.src=n.opts.src||u.src||o.attr("href"),c.type||c.src||(c.type="inline",c.src=e)):c={type:"html",src:e+""},c.opts=i.extend(!0,{},n.opts,u),i.isArray(u.buttons)&&(c.opts.buttons=u.buttons),i.fancybox.isMobile&&c.opts.mobile&&(c.opts=p(c.opts,c.opts.mobile)),s=c.type||c.opts.type,a=c.src||"",!s&&a&&((r=a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(s="video",c.opts.video.format||(c.opts.video.format="video/"+("ogv"===r[1]?"ogg":r[1]))):a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":a.match(/\.(pdf)((\?|#).*)?$/i)?(s="iframe",c=i.extend(!0,c,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===a.charAt(0)&&(s="inline")),s?c.type=s:n.trigger("objectNeedsType",c),c.contentType||(c.contentType=i.inArray(c.type,["html","inline","ajax"])>-1?"html":c.type),c.index=n.group.length,"auto"==c.opts.smallBtn&&(c.opts.smallBtn=i.inArray(c.type,["html","inline","ajax"])>-1),"auto"===c.opts.toolbar&&(c.opts.toolbar=!c.opts.smallBtn),c.$thumb=c.opts.$thumb||null,c.opts.$trigger&&c.index===n.opts.index&&(c.$thumb=c.opts.$trigger.find("img:first"),c.$thumb.length&&(c.opts.$orig=c.opts.$trigger)),c.$thumb&&c.$thumb.length||!c.opts.$orig||(c.$thumb=c.opts.$orig.find("img:first")),c.$thumb&&!c.$thumb.length&&(c.$thumb=null),c.thumb=c.opts.thumb||(c.$thumb?c.$thumb[0].src:null),"function"===i.type(c.opts.caption)&&(c.opts.caption=c.opts.caption.apply(e,[n,c])),"function"===i.type(n.opts.caption)&&(c.opts.caption=n.opts.caption.apply(e,[n,c])),c.opts.caption instanceof i||(c.opts.caption=void 0===c.opts.caption?"":c.opts.caption+""),"ajax"===c.type&&((l=a.split(/\s+/,2)).length>1&&(c.src=l.shift(),c.opts.filter=l.shift())),c.opts.modal&&(c.opts=i.extend(!0,c.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),n.group.push(c)})),Object.keys(n.slides).length&&(n.updateControls(),(e=n.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(t){t.stopPropagation(),t.preventDefault(),e.close(t)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(t){t.stopPropagation(),t.preventDefault(),e.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(t){t.stopPropagation(),t.preventDefault(),e.next()})).on("click.fb","[data-fancybox-zoom]",(function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()})),r.on("orientationchange.fb resize.fb",(function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&u(e.requestId),e.requestId=c((function(){e.update(t)}))):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout((function(){e.$refs.stage.show(),e.update(t)}),i.fancybox.isMobile?600:250))})),a.on("keydown.fb",(function(t){var n=(i.fancybox?i.fancybox.getInstance():null).current,o=t.keyCode||t.which;if(9!=o)return!n.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||i(t.target).is("input,textarea,video,audio,select")?void 0:8===o||27===o?(t.preventDefault(),void e.close(t)):37===o||38===o?(t.preventDefault(),void e.previous()):39===o||40===o?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,o);n.opts.trapFocus&&e.focus(t)})),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,a.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1})),e.idleInterval=t.setInterval((function(){++e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())}),1e3))},removeEvents:function(){var e=this;r.off("orientationchange.fb resize.fb"),a.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var n,o,s,r,a,l,c,u,d,p=this,f=p.group.length;if(!(p.isDragging||p.isClosing||p.isAnimating&&p.firstRun)){if(t=parseInt(t,10),!(s=p.current?p.current.opts.loop:p.opts.loop)&&(t<0||t>=f))return!1;if(n=p.firstRun=!Object.keys(p.slides).length,a=p.current,p.prevIndex=p.currIndex,p.prevPos=p.currPos,r=p.createSlide(t),f>1&&((s||r.index<f-1)&&p.createSlide(t+1),(s||r.index>
10)&&p.createSlide(t-1)),p.current=r,p.currIndex=r.index,p.currPos=r.pos,p.trigger("beforeShow",n),p.updateControls(),r.forcedDuration=void 0,i.isNumeric(e)?r.forcedDuration=e:e=r.opts[n?"animationDuration":"transitionDuration"],e=parseInt(e,10),o=p.isMoved(r),r.$slide.addClass("fancybox-slide--current"),n)return r.opts.animationEffect&&e&&p.$refs.container.css("transition-duration",e+"ms"),p.$refs.container.addClass("fancybox-is-open").trigger("focus"),p.loadSlide(r),void p.preload("image");l=i.fancybox.getTranslate(a.$slide),c=i.fancybox.getTranslate(p.$refs.stage),i.each(p.slides,(function(t,e){i.fancybox.stop(e.$slide,!0)})),a.pos!==r.pos&&(a.isComplete=!1),a.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),o?(d=l.left-(a.pos*l.width+a.pos*a.opts.gutter),i.each(p.slides,(function(t,n){n.$slide.removeClass("fancybox-animated").removeClass((function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var o=n.pos*l.width+n.pos*n.opts.gutter;i.fancybox.setTranslate(n.$slide,{top:0,left:o-c.left+d}),n.pos!==r.pos&&n.$slide.addClass("fancybox-slide--"+(n.pos>r.pos?"next":"previous")),h(n.$slide),i.fancybox.animate(n.$slide,{top:0,left:(n.pos-r.pos)*l.width+(n.pos-r.pos)*n.opts.gutter},e,(function(){n.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),n.pos===p.currPos&&p.complete()}))}))):e&&r.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+r.opts.transitionEffect,a.$slide.addClass("fancybox-slide--"+(a.pos>r.pos?"next":"previous")),i.fancybox.animate(a.$slide,u,e,(function(){a.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),r.isLoaded?p.revealContent(r):p.loadSlide(r),p.preload("image")}},createSlide:function(t){var e,n,o=this;return n=(n=t%o.group.length)<0?o.group.length+n:n,!o.slides[t]&&o.group[n]&&(e=i('<div class="fancybox-slide"></div>').appendTo(o.$refs.stage),o.slides[t]=i.extend(!0,{},o.group[n],{pos:t,$slide:e,isLoaded:!1}),o.updateSlide(o.slides[t])),o.slides[t]},scaleToActual:function(t,e,n){var o,s,r,a,l,c=this,u=c.current,d=u.$content,h=i.fancybox.getTranslate(u.$slide).width,p=i.fancybox.getTranslate(u.$slide).height,f=u.width,m=u.height;c.isAnimating||c.isMoved()||!d||"image"!=u.type||!u.isLoaded||u.hasError||(c.isAnimating=!0,i.fancybox.stop(d),t=void 0===t?.5*h:t,e=void 0===e?.5*p:e,(o=i.fancybox.getTranslate(d)).top-=i.fancybox.getTranslate(u.$slide).top,o.left-=i.fancybox.getTranslate(u.$slide).left,a=f/o.width,l=m/o.height,s=.5*h-.5*f,r=.5*p-.5*m,f>h&&((s=o.left*a-(t*a-t))>0&&(s=0),s<h-f&&(s=h-f)),m>p&&((r=o.top*l-(e*l-e))>0&&(r=0),r<p-m&&(r=p-m)),c.updateCursor(f,m),i.fancybox.animate(d,{top:r,left:s,scaleX:a,scaleY:l},n||366,(function(){c.isAnimating=!1})),c.SlideShow&&c.SlideShow.isActive&&c.SlideShow.stop())},scaleToFit:function(t){var e,n=this,o=n.current,s=o.$content;n.isAnimating||n.isMoved()||!s||"image"!=o.type||!o.isLoaded||o.hasError||(n.isAnimating=!0,i.fancybox.stop(s),e=n.getFitPos(o),n.updateCursor(e.width,e.height),i.fancybox.animate(s,{top:e.top,left:e.left,scaleX:e.width/s.width(),scaleY:e.height/s.height()},t||366,(function(){n.isAnimating=!1})))},getFitPos:function(t){var e,n,o,s,r=t.$content,a=t.$slide,l=t.width||t.opts.width,c=t.height||t.opts.height,u={};return!!(t.isLoaded&&r&&r.length)&&(e=i.fancybox.getTranslate(this.$refs.stage).width,n=i.fancybox.getTranslate(this.$refs.stage).height,e-=parseFloat(a.css("paddingLeft"))+parseFloat(a.css("paddingRight"))+parseFloat(r.css("marginLeft"))+parseFloat(r.css("marginRight")),n-=parseFloat(a.css("paddingTop"))+parseFloat(a.css("paddingBottom"))+parseFloat(r.css("marginTop"))+parseFloat(r.css("marginBottom")),l&&c||(l=e,c=n),(l*=o=Math.min(1,e/l,n/c))>e-.5&&(l=e),(c*=o)>n-.5&&(c=n),"image"===t.type?(u.top=Math.floor(.5*(n-c))+parseFloat(a.css("paddingTop")),u.left=Math.floor(.5*(e-l))+parseFloat(a.css("paddingLeft"))):"video"===t.contentType&&(c>l/(s=t.opts.width&&t.opts.height?l/c:t.opts.ratio||16/9)?c=l/s:l>c*s&&(l=c*s)),u.width=l,u.height=c,u)},update:function(t){var e=this;i.each(e.slides,(function(i,n){e.updateSlide(n,t)}))},updateSlide:function(t,e){var n=this,o=t&&t.$content,s=t.width||t.opts.width,r=t.height||t.opts.height,a=t.$slide;
1n.adjustCaption(t),o&&(s||r||"video"===t.contentType)&&!t.hasError&&(i.fancybox.stop(o),i.fancybox.setTranslate(o,n.getFitPos(t)),t.pos===n.currPos&&(n.isAnimating=!1,n.updateCursor())),n.adjustLayout(t),a.length&&(a.trigger("refresh"),t.pos===n.currPos&&n.$refs.toolbar.add(n.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),n.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,n=e.current,o=n.$slide;!e.isClosing&&n&&(o.siblings().css({transform:"",opacity:""}),o.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),i.fancybox.animate(o,{top:0,left:0,opacity:1},void 0===t?0:t,(function(){o.css({transform:"",opacity:""}),n.isComplete||e.complete()}),!1))},isMoved:function(t){var e,n,o=t||this.current;return!!o&&(n=i.fancybox.getTranslate(this.$refs.stage),e=i.fancybox.getTranslate(o.$slide),!o.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-n.top)>.5||Math.abs(e.left-n.left)>.5))},updateCursor:function(t,e){var n,o,s=this,r=s.current,a=s.$refs.container;r&&!s.isClosing&&s.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=!!(n=s.canPan(t,e))||s.isZoomable(),a.toggleClass("fancybox-is-zoomable",o),i("[data-fancybox-zoom]").prop("disabled",!o),n?a.addClass("fancybox-can-pan"):o&&("zoom"===r.opts.clickContent||i.isFunction(r.opts.clickContent)&&"zoom"==r.opts.clickContent(r))?a.addClass("fancybox-can-zoomIn"):r.opts.touch&&(r.opts.touch.vertical||s.group.length>1)&&"video"!==r.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,i=e.current;if(i&&!e.isClosing&&"image"===i.type&&!i.hasError){if(!i.isLoaded)return!0;if((t=e.getFitPos(i))&&(i.width>t.width||i.height>t.height))return!0}return!1},isScaledDown:function(t,e){var n=!1,o=this.current,s=o.$content;return void 0!==t&&void 0!==e?n=t<o.width&&e<o.height:s&&(n=(n=i.fancybox.getTranslate(s)).width<o.width&&n.height<o.height),n},canPan:function(t,e){var n=this.current,o=null,s=!1;return"image"===n.type&&(n.isComplete||t&&e)&&!n.hasError&&(s=this.getFitPos(n),void 0!==t&&void 0!==e?o={width:t,height:e}:n.isComplete&&(o=i.fancybox.getTranslate(n.$content)),o&&s&&(s=Math.abs(o.width-s.width)>1.5||Math.abs(o.height-s.height)>1.5)),s},loadSlide:function(t){var e,n,o,s=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===s.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,(n=t.$slide).off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":s.setImage(t);break;case"iframe":s.setIframe(t);break;case"html":s.setContent(t,t.src||t.content);break;case"video":s.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":i(t.src).length?s.setContent(t,i(t.src)):s.setError(t);break;case"ajax":s.showLoading(t),o=i.ajax(i.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,i){"success"===i&&s.setContent(t,e)},error:function(e,i){e&&"abort"!==i&&s.setError(t)}})),n.one("onReset",(function(){o.abort()}));break;default:s.setError(t)}return!0}},setImage:function(t){var n,o=this;setTimeout((function(){var e=t.$image;o.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||o.showLoading(t)}),50),o.checkSrcset(t),t.$content=i('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(n=e.createElement("img")).onerror=function(){i(this).remove(),t.$ghost=null},n.onload=function(){o.afterLoad(t)},t.$ghost=i(n).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),o.setBigImage(t)},checkSrcset:function(e){var i,n,o,s,r=e.opts.srcset||e.opts.image.srcset;if(r){o=t.devicePixelRatio||1,s=t.innerWidth*o,(n=r.split(",").map((function(t){var e={};return t.trim().split(/\s+/).forEach((function(t,i){var n=parseInt(t.substring(0,t.length-1),10);if(0===i)return e.url=t;n&&(e.value=n,e.postfix=t[t.length-1])})),e}))).sort((function(t,e){return t.value-e.value}));for(var a=0;a<n.length;a++){var l=n[a];if("w"===l.postfix&&l.value>=s||"x"===l.postfix&&l.value>=o){i=l;break}}!i&&n.length&&(i=n[n.length-1]),i&&(e.src=i.url,e.width&&e.height&&"w"==i.postfix&&(e.height=e.width/e.height*i.value,e.width=i.value),e.opts.srcset=r)}},setBigImage:function(t){var n=this,o=e.createElement("img"),s=i(o);t.$image=s.one("error",(function(){n.setError(t)})).one("load",(function(){var e;
1t.$ghost||(n.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),n.afterLoad(t)),n.isClosing||(t.opts.srcset&&((e=t.opts.sizes)&&"auto"!==e||(e=(t.width/t.height>1&&r.width()/r.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),s.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout((function(){t.$ghost&&!n.isClosing&&t.$ghost.hide()}),Math.min(300,Math.max(1e3,t.height/1600))),n.hideLoading(t))})).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(o.complete||"complete"==o.readyState)&&s.naturalWidth&&s.naturalHeight?s.trigger("load"):o.error&&s.trigger("error")},resolveImageSlideSize:function(t,e,i){var n=parseInt(t.opts.width,10),o=parseInt(t.opts.height,10);t.width=e,t.height=i,n>0&&(t.width=n,t.height=Math.floor(n*i/e)),o>0&&(t.width=Math.floor(o*e/i),t.height=o)},setIframe:function(t){var e,n=this,o=t.opts.iframe,s=t.$slide;t.$content=i('<div class="fancybox-content'+(o.preload?" fancybox-is-hidden":"")+'"></div>').css(o.css).appendTo(s),s.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=i(o.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(o.attr).appendTo(t.$content),o.preload?(n.showLoading(t),e.on("load.fb error.fb",(function(e){this.isReady=1,t.$slide.trigger("refresh"),n.afterLoad(t)})),s.on("refresh.fb",(function(){var i,n=t.$content,r=o.css.width,a=o.css.height;if(1===e[0].isReady){try{i=e.contents().find("body")}catch(t){}i&&i.length&&i.children().length&&(s.css("overflow","visible"),n.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===r&&(r=Math.ceil(Math.max(i[0].clientWidth,i.outerWidth(!0)))),n.css("width",r||"").css("max-width",""),void 0===a&&(a=Math.ceil(Math.max(i[0].clientHeight,i.outerHeight(!0)))),n.css("height",a||""),s.css("overflow","auto")),n.removeClass("fancybox-is-hidden")}}))):n.afterLoad(t),e.attr("src",t.src),s.one("onReset",(function(){try{i(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}i(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1}))},setContent:function(t,e){var n=this;n.isClosing||(n.hideLoading(t),t.$content&&i.fancybox.stop(t.$content),t.$slide.empty(),function(t){return t&&t.hasOwnProperty&&t instanceof i}(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=i("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===i.type(e)&&(e=i("<div>").append(i.trim(e)).contents()),t.opts.filter&&(e=i("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",(function(){i(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(i(this).empty(),t.isLoaded=!1,t.isRevealed=!1)})),i(e).appendTo(t.$slide),i(e).is("video,audio")&&(i(e).addClass("fancybox-video"),i(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||i(e).attr("width"),t.opts.height=t.opts.height||i(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),n.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=i(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=i(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",(function(t){return 2==t.button&&t.preventDefault(),!0})),"image"===t.type&&i('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(
1),e.revealContent(t))},adjustCaption:function(t){var e,i=this,n=t||i.current,o=n.opts.caption,s=n.opts.preventCaptionOverlap,r=i.$refs.caption,a=!1;r.toggleClass("fancybox-caption--separate",s),s&&o&&o.length&&(n.pos!==i.currPos?((e=r.clone().appendTo(r.parent())).children().eq(0).empty().html(o),a=e.outerHeight(!0),e.empty().remove()):i.$caption&&(a=i.$caption.outerHeight(!0)),n.$slide.css("padding-bottom",a||""))},adjustLayout:function(t){var e,i,n,o,s=t||this.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(n=s.$slide[0].style["padding-bottom"],o=s.$slide.css("padding-bottom"),parseFloat(o)>0&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(i=o),s.$slide.css("padding-bottom",n))),s.$content.css("margin-bottom",i))},revealContent:function(t){var e,n,o,s,r=this,a=t.$slide,l=!1,c=!1,u=r.isMoved(t),d=t.isRevealed;return t.isRevealed=!0,e=t.opts[r.firstRun?"animationEffect":"transitionEffect"],o=t.opts[r.firstRun?"animationDuration":"transitionDuration"],o=parseInt(void 0===t.forcedDuration?o:t.forcedDuration,10),!u&&t.pos===r.currPos&&o||(e=!1),"zoom"===e&&(t.pos===r.currPos&&o&&"image"===t.type&&!t.hasError&&(c=r.getThumbPos(t))?l=r.getFitPos(t):e="fade"),"zoom"===e?(r.isAnimating=!0,l.scaleX=l.width/c.width,l.scaleY=l.height/c.height,"auto"==(s=t.opts.zoomOpacity)&&(s=Math.abs(t.width/t.height-c.width/c.height)>.1),s&&(c.opacity=.1,l.opacity=1),i.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),c),h(t.$content),void i.fancybox.animate(t.$content,l,o,(function(){r.isAnimating=!1,r.complete()}))):(r.updateSlide(t),e?(i.fancybox.stop(a),n="fancybox-slide--"+(t.pos>=r.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,a.addClass(n).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),h(a),"image"!==t.type&&t.$content.hide().show(0),void i.fancybox.animate(a,"fancybox-slide--current",o,(function(){a.removeClass(n).css({transform:"",opacity:""}),t.pos===r.currPos&&r.complete()}),!0)):(t.$content.removeClass("fancybox-is-hidden"),d||!u||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===r.currPos&&r.complete())))},getThumbPos:function(t){var e,n,o,s,r,a=!1,l=t.$thumb;return!(!l||!f(l[0]))&&(e=i.fancybox.getTranslate(l),n=parseFloat(l.css("border-top-width")||0),o=parseFloat(l.css("border-right-width")||0),s=parseFloat(l.css("border-bottom-width")||0),r=parseFloat(l.css("border-left-width")||0),a={top:e.top+n,left:e.left+r,width:e.width-o-r,height:e.height-n-s,scaleX:1,scaleY:1},e.width>0&&e.height>0&&a)},complete:function(){var t,e=this,n=e.current,o={};!e.isMoved()&&n.isLoaded&&(n.isComplete||(n.isComplete=!0,n.$slide.siblings().trigger("onReset"),e.preload("inline"),h(n.$slide),n.$slide.addClass("fancybox-slide--complete"),i.each(e.slides,(function(t,n){n.pos>=e.currPos-1&&n.pos<=e.currPos+1?o[n.pos]=n:n&&(i.fancybox.stop(n.$slide),n.$slide.off().remove())})),e.slides=o),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),n.opts.video.autoStart&&n.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()})),n.opts.autoFocus&&"html"===n.contentType&&((t=n.$content.find("input[autofocus]:enabled:visible:first")).length?t.trigger("focus"):e.focus(null,!0)),n.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,i,n=this;n.group.length<2||(i=n.slides[n.currPos+1],(e=n.slides[n.currPos-1])&&e.type===t&&n.loadSlide(e),i&&i.type===t&&n.loadSlide(i))},focus:function(t,n){var o,s,r=this,a=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");r.isClosing||((o=(o=!t&&r.current&&r.current.isComplete?r.current.$slide.find("*:visible"+(n?":not(.fancybox-close-small)":"")):r.$refs.container.find("*:visible")).filter(a).filter((function(){return"hidden"!==i(this).css("visibility")&&!i(this).hasClass("disabled")}))).length?(s=o.index(e.activeElement),t&&t.shiftKey?(s<0||0==s)&&(t.preventDefault(),o.eq(o.length-1).trigger("focus")):(s<0||s==o.length-1)&&(t&&t.preventDefault(),o.eq(0).trigger("focus"))):r.$refs.container.trigger("focus"))},activate:function(){var t=this;i(".fancybox-container").each((function(){var e=i(this).data("FancyBox");
vendor: 4,118 bytes, line 1
1e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)})),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var n,o,s,r,a,l,u,d=this,p=d.current,f=function(){d.cleanUp(t)};return!(d.isClosing||(d.isClosing=!0,!1===d.trigger("beforeClose",t)?(d.isClosing=!1,c((function(){d.update()})),1):(d.removeEvents(),s=p.$content,n=p.opts.animationEffect,o=i.isNumeric(e)?e:n?p.opts.animationDuration:0,p.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?i.fancybox.stop(p.$slide):n=!1,p.$slide.siblings().trigger("onReset").remove(),o&&d.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",o+"ms"),d.hideLoading(p),d.hideControls(!0),d.updateCursor(),"zoom"!==n||s&&o&&"image"===p.type&&!d.isMoved()&&!p.hasError&&(u=d.getThumbPos(p))||(n="fade"),"zoom"===n?(i.fancybox.stop(s),r=i.fancybox.getTranslate(s),l={top:r.top,left:r.left,scaleX:r.width/u.width,scaleY:r.height/u.height,width:u.width,height:u.height},a=p.opts.zoomOpacity,"auto"==a&&(a=Math.abs(p.width/p.height-u.width/u.height)>.1),a&&(u.opacity=0),i.fancybox.setTranslate(s,l),h(s),i.fancybox.animate(s,u,o,f),0):(n&&o?i.fancybox.animate(p.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+n,o,f):!0===t?setTimeout(f,o):f(),0))))},cleanUp:function(e){var n,o,s,r=this,a=r.current.opts.$orig;r.current.$slide.trigger("onReset"),r.$refs.container.empty().remove(),r.trigger("afterClose",e),r.current.opts.backFocus&&(a&&a.length&&a.is(":visible")||(a=r.$trigger),a&&a.length&&(o=t.scrollX,s=t.scrollY,a.trigger("focus"),i("html, body").scrollTop(s).scrollLeft(o))),r.current=null,(n=i.fancybox.getInstance())?n.activate():(i("body").removeClass("fancybox-active compensate-for-scrollbar"),i("#fancybox-style-noscroll").remove())},trigger:function(t,e){var n,o=Array.prototype.slice.call(arguments,1),s=this,r=e&&e.opts?e:s.current;if(r?o.unshift(r):r=s,o.unshift(s),i.isFunction(r.opts[t])&&(n=r.opts[t].apply(r,o)),!1===n)return n;"afterClose"!==t&&s.$refs?s.$refs.container.trigger(t+".fb",o):a.trigger(t+".fb",o)},updateControls:function(){var t=this,n=t.current,o=n.index,s=t.$refs.container,r=t.$refs.caption,a=n.opts.caption;n.$slide.trigger("refresh"),a&&a.length?(t.$caption=r,r.children().eq(0).html(a)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),s.find("[data-fancybox-count]").html(t.group.length),s.find("[data-fancybox-index]").html(o+1),s.find("[data-fancybox-prev]").prop("disabled",!n.opts.loop&&o<=0),s.find("[data-fancybox-next]").prop("disabled",!n.opts.loop&&o>=t.group.length-1),"image"===n.type?s.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",n.opts.image.src||n.src).show():n.opts.toolbar&&s.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),i(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=["infobar","toolbar","nav"];!t&&this.current.opts.preventCaptionOverlap||e.push("caption"),this.$refs.container.removeClass(e.map((function(t){return"fancybox-show-"+t})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,i=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,i.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),i.fancybox={version:"3.5.7",defaults:s,getInstance:function(t){var e=i('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),n=Array.prototype.slice.call(arguments,1);return e instanceof m&&("string"===i.type(t)?e[t].apply(e,n):"function"===i.type(t)&&t.apply(e,n),e)}
1,open:function(t,e,i){return new m(t,e,i)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),a.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var i=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(i)&&t.getComputedStyle(i).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&{top:(e=t[0].getBoundingClientRect()).top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,e){var i="",n={};if(t&&e)return void 0===e.left&&void 0===e.top||(i=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),void 0!==e.scaleX&&void 0!==e.scaleY?i+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(i+=" scaleX("+e.scaleX+")"),i.length&&(n.transform=i),void 0!==e.opacity&&(n.opacity=e.opacity),void 0!==e.width&&(n.width=e.width),void 0!==e.height&&(n.height=e.height),t.css(n)},animate:function(t,e,n,o,s){var r,a=this;i.isFunction(n)&&(o=n,n=null),a.stop(t),r=a.getTranslate(t),t.on(d,(function(l){(!l||!l.originalEvent||t.is(l.originalEvent.target)&&"z-index"!=l.originalEvent.propertyName)&&(a.stop(t),i.isNumeric(n)&&t.css("transition-duration",""),i.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&a.setTranslate(t,{top:e.top,left:e.left,width:r.width*e.scaleX,height:r.height*e.scaleY,scaleX:1,scaleY:1}):!0!==s&&t.removeClass(e),i.isFunction(o)&&o(l))})),i.isNumeric(n)&&t.css("transition-duration",n+"ms"),i.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),i.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout((function(){t.trigger(d)}),n+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(d),t.off(d).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},i.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?i("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},o):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},o),this},a.on("click.fb-start","[data-fancybox]",o),a.on("click.fb-start","[data-fancybox-trigger]",(function(t){i('[data-fancybox="'+i(this).attr("data-fancybox-trigger")+'"]').eq(i(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:i(this)})})),function(){var t=null;a.on("mousedown mouseup focus blur",".fancybox-button",(function(e){switch(e.type){case"mousedown":t=i(this);break;case"mouseup":t=null;break;case"focusin":i(".fancybox-button").removeClass("fancybox-focus"),i(this).is(t)||i(this).is("[disabled]")||i(this).addClass("fancybox-focus");break;case"focusout":i(".fancybox-button").removeClass("fancybox-focus")}}))}()}}(window,document,t),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},i=function(e,i,n){if(e)return n=n||"","object"===t.type(n)&&(n=t.param(n,!0)),t.each(i,(function(t,i){e=e.replace("$"+t,i||"")})),n.length&&(e+=(e.indexOf("?")>0?"&":"?")+n),e};t(document).on("objectNeedsType.fb",(function(n,o,s){var r,a,l,c,u,d,h,p=s.src||"",f=!1;r=t.extend(!0,{},e,s.opts.media),t.each(r,(function(e,n){if(l=p.match(n.matcher)){if(f=n.type,h=e,d={},n.paramPlace&&l[n.paramPlace]){"?"==(u=l[n.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var o=0;o<u.length;++o){var r=u[o].split("=",2);2==r.length&&(d[r[0]]=decodeURIComponent(r[1].replace(/\+/g," ")))}}return c=t.extend(!0,{},n.params,s.opts[e],d),p="function"===t.type(n.url)?n.url.call(this,l,c,s):i(n.url,l,c),a="function"===t.type(n.thumb)?n.thumb.call(this,l,c,s):i(n.thumb,l),"youtube"===e?p=p.replace(/&t=((\d+)m)?(\d+)s/,(function(t,e,
1i,n){return"&start="+((i?60*parseInt(i,10):0)+parseInt(n,10))})):"vimeo"===e&&(p=p.replace("&%23","#")),!1}})),f?(s.opts.thumb||s.opts.$thumb&&s.opts.$thumb.length||(s.opts.thumb=a),"iframe"===f&&(s.opts=t.extend(!0,s.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(s,{type:f,src:p,origSrc:s.src,contentSource:h,contentType:"image"===f?"image":"gmap_place"==h||"gmap_search"==h?"map":"video"})):p&&(s.type=s.opts.defaultType)}));var n={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,i=this;this[t].loaded?setTimeout((function(){i.done(t)})):this[t].loading||(this[t].loading=!0,(e=document.createElement("script")).type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){i[t].loaded=!0,i.done(t)}:e.onload=function(){i[t].loaded=!0,i.done(t)},document.body.appendChild(e))},done:function(e){var i,n;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(i=t.fancybox.getInstance())&&(n=i.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?new YT.Player(n.attr("id"),{events:{onStateChange:function(t){0==t.data&&i.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(n).on("ended",(function(){i.next()})))}};t(document).on({"afterShow.fb":function(t,e,i){e.group.length>1&&("youtube"===i.contentSource||"vimeo"===i.contentSource)&&n.load(i.contentSource)}})}(t),function(t,e,i){"use strict";var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},o=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},s=function(e){var i=[];for(var n in e=(e=e.originalEvent||e||t.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[n].pageX?i.push({x:e[n].pageX,y:e[n].pageY}):e[n].clientX&&i.push({x:e[n].clientX,y:e[n].clientY});return i},r=function(t,e,i){return e&&t?"x"===i?t.x-e.x:"y"===i?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},a=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||i.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,n=t[0].attributes,o=n.length;e<o;e++)if("data-fancybox-"===n[e].nodeName.substr(0,14))return!0;return!1},l=function(e){var i=t.getComputedStyle(e)["overflow-y"],n=t.getComputedStyle(e)["overflow-x"],o=("scroll"===i||"auto"===i)&&e.scrollHeight>e.clientHeight,s=("scroll"===n||"auto"===n)&&e.scrollWidth>e.clientWidth;return o||s},c=function(t){for(var e=!1;!(e=l(t.get(0)))&&((t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body")););return e},u=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",i.proxy(e,"ontouchstart"))};u.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),i(e).off(".fb.touch"),t.requestId&&(o(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},u.prototype.ontouchstart=function(n){var o=this,l=i(n.target),u=o.instance,d=u.current,h=d.$slide,p=d.$content,f="touchstart"==n.type;if(f&&o.$container.off("mousedown.fb.touch"),(!n.originalEvent||2!=n.originalEvent.button)&&h.length&&l.length&&!a(l)&&!a(l.parent())&&(l.is("img")||!(n.originalEvent.clientX>l[0].clientWidth+l.offset().left))){if(!d||u.isAnimating||d.$slide.hasClass("fancybox-animated"))return n.stopPropagation(),void n.preventDefault();o.realPoints=o.startPoints=s(n),o.startPoints.length&&(d.touch&&n.stopPropagation(),o.startEvent=n,o.canTap=!0,o.$target=l,o.$content=p,o.opts=d.opts.touch,o.isPanning=!1,o.isSwiping=!1,o.isZooming=!1,o.isScrolling=!1,o.canPan=u.canPan(),o.startTime=(new Date).getTime(),o.distanceX=o.distanceY=o.distance=0,o.canvasWidth=Math.round(h[0].clientWidth),o.canvasHeight=Math.round(h[0].clientHeight),o.contentLastPos=null,o.contentStartPos=i.fancybox.getTranslate(o.$content)||{top:0,left:0},o.sliderStartPos=i.fancybox.getTranslate(h),o.stagePos=i.fancybox.getTranslate(u.$refs.stage),o.sliderStartPos.top-=o.stagePos.top,o.sliderStartPos.left-=o.stagePos.left,o.contentStartPos.top-=o.stagePos.top,o.contentStartPos.left-=o.stagePos.left,i(e).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",i.proxy(o,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",i.proxy(o,"ontouchmove")),i.fancybox.isMobile&&e.addEventListener("scroll",o.onscroll,!0),((o.opts||o.canPan)&&(l.is(o.$stage)||o.$stage.find(l).length)||(l.is(".fancybox-image")&&n.preventDefault(),i.fancybox.isMobile&&l.parents(".fancybox-caption").length))&&(o.isScrollable=c(l)||c(l.parent()),i.fancybox.isMobile&&o.isScrollable||n.preventDefault(),(1===o.startPoints.length||d.hasError)&&(o.canPan?(i.fancybox.stop(o.$content),o.isPanning=!0):o.isSwiping=!0,o.$container.addClass("fancybox-is-grabbing")),2===o.startPoints.length&&"image"===d.type&&(d.isLoaded||d.$ghost)&&(o.canTap=!1,o.isSwiping=!1,o.isPanning=!1,o.isZooming=!0,i.fancybox.stop(o.$content),o.centerPointStartX=.5*(o.startPoints[0].x+o.startPoints[1].x)-i(t).scrollLeft(),o.centerPointStartY=.5*(o.startPoints[0].y+o.startPoints[1].y)-i(t).scrollTop(),o.percentageOfImageAtPinchPointX=(o.centerPointStartX-o.c
vendor: 1,520 bytes, line 1
1ontentStartPos.left)/o.contentStartPos.width,o.percentageOfImageAtPinchPointY=(o.centerPointStartY-o.contentStartPos.top)/o.contentStartPos.height,o.startDistanceBetweenFingers=r(o.startPoints[0],o.startPoints[1]))))}},u.prototype.onscroll=function(t){this.isScrolling=!0,e.removeEventListener("scroll",this.onscroll,!0)},u.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=s(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=r(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=r(e.newPoints[0],e.startPoints[0],"y"),e.distance=r(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},u.prototype.onSwipe=function(e){var s,r=this,a=r.instance,l=r.isSwiping,c=r.sliderStartPos.left||0;if(!0!==l)"x"==l&&(r.distanceX>0&&(r.instance.group.length<2||0===r.instance.current.index&&!r.instance.current.opts.loop)?c+=Math.pow(r.distanceX,.8):r.distanceX<0&&(r.instance.group.length<2||r.instance.current.index===r.instance.group.length-1&&!r.instance.current.opts.loop)?c-=Math.pow(-r.distanceX,.8):c+=r.distanceX),r.sliderLastPos={top:"x"==l?0:r.sliderStartPos.top+r.distanceY,left:c},r.requestId&&(o(r.requestId),r.requestId=null),r.requestId=n((function(){r.sliderLastPos&&(i.each(r.instance.slides,(function(t,e){var n=e.pos-r.instance.currPos;
1i.fancybox.setTranslate(e.$slide,{top:r.sliderLastPos.top,left:r.sliderLastPos.left+n*r.canvasWidth+n*e.opts.gutter})})),r.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(r.distance)>10){if(r.canTap=!1,a.group.length<2&&r.opts.vertical?r.isSwiping="y":a.isDragging||!1===r.opts.vertical||"auto"===r.opts.vertical&&i(t).width()>800?r.isSwiping="x":(s=Math.abs(180*Math.atan2(r.distanceY,r.distanceX)/Math.PI),r.isSwiping=s>45&&s<135?"y":"x"),"y"===r.isSwiping&&i.fancybox.isMobile&&r.isScrollable)return void(r.isScrolling=!0);a.isDragging=r.isSwiping,r.startPoints=r.newPoints,i.each(a.slides,(function(t,e){var n,o;i.fancybox.stop(e.$slide),n=i.fancybox.getTranslate(e.$slide),o=i.fancybox.getTranslate(a.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),e.pos===a.current.pos&&(r.sliderStartPos.top=n.top-o.top,r.sliderStartPos.left=n.left-o.left),i.fancybox.setTranslate(e.$slide,{top:n.top-o.top,left:n.left-o.left})})),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop()}},u.prototype.onPan=function(){var t=this;r(t.newPoints[0],t.realPoints[0])<(i.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&o(t.requestId),t.requestId=n((function(){i.fancybox.setTranslate(t.$content,t.contentLastPos)})))},u.prototype.limitMovement=function(){var t,e,i,n,o,s,r=this,a=r.canvasWidth,l=r.canvasHeight,c=r.distanceX,u=r.distanceY,d=r.contentStartPos,h=d.left,p=d.top,f=d.width,m=d.height;return o=f>a?h+c:h,s=p+u,t=Math.max(0,.5*a-.5*f),e=Math.max(0,.5*l-.5*m),i=Math.min(a-f,.5*a-.5*f),n=Math.min(l-m,.5*l-.5*m),c>0&&o>t&&(o=t-1+Math.pow(-t+h+c,.8)||0),c<0&&o<i&&(o=i+1-Math.pow(i-h-c,.8)||0),u>0&&s>e&&(s=e-1+Math.pow(-e+p+u,.8)||0),u<0&&s<n&&(s=n+1-Math.pow(n-p-u,.8)||0),{top:s,left:o}},u.prototype.limitPosition=function(t,e,i,n){var o=this.canvasWidth,s=this.canvasHeight;return i>o?t=(t=t>0?0:t)<o-i?o-i:t:t=Math.max(0,o/2-i/2),n>s?e=(e=e>0?0:e)<s-n?s-n:e:e=Math.max(0,s/2-n/2),{top:e,left:t}},u.prototype.onZoom=function(){var e=this,s=e.contentStartPos,a=s.width,l=s.height,c=s.left,u=s.top,d=r(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,h=Math.floor(a*d),p=Math.floor(l*d),f=(a-h)*e.percentageOfImageAtPinchPointX,m=(l-p)*e.percentageOfImageAtPinchPointY,g=(e.newPoints[0].x+e.newPoints[1].x)/2-i(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-i(t).scrollTop(),_=g-e.centerPointStartX,y={top:u+(m+(v-e.centerPointStartY)),left:c+(f+_),scaleX:d,scaleY:d};e.canTap=!1,e.newWidth=h,e.newHeight=p,e.contentLastPos=y,e.requestId&&o(e.requestId),e.requestId=n((function(){i.fancybox.setTranslate(e.$content,e.contentLastPos)}))},u.prototype.ontouchend=function(t){var n=this,r=n.isSwiping,a=n.isPanning,l=n.isZooming,c=n.isScrolling;if(n.endPoints=s(t),n.dMs=Math.max((new Date).getTime()-n.startTime,1),n.$container.removeClass("fancybox-is-grabbing"),i(e).off(".fb.touch"),e.removeEventListener("scroll",n.onscroll,!0),n.requestId&&(o(n.requestId),n.requestId=null),n.isSwiping=!1,n.isPanning=!1,n.isZooming=!1,n.isScrolling=!1,n.instance.isDragging=!1,n.canTap)return n.onTap(t);n.speed=100,n.velocityX=n.distanceX/n.dMs*.5,n.velocityY=n.distanceY/n.dMs*.5,a?n.endPanning():l?n.endZooming():n.endSwiping(r,c)},u.prototype.endSwiping=function(t,e){var n=this,o=!1,s=n.instance.group.length,r=Math.abs(n.distanceX),a="x"==t&&s>1&&(n.dMs>130&&r>10||r>50);n.sliderLastPos=null,"y"==t&&!e&&Math.abs(n.distanceY)>50?(i.fancybox.animate(n.instance.current.$slide,{top:n.sliderStartPos.top+n.distanceY+150*n.velocityY,opacity:0},200),o=n.instance.close(!0,250)):a&&n.distanceX>0?o=n.instance.previous(300):a&&n.distanceX<0&&(o=n.instance.next(300)),!1!==o||"x"!=t&&"y"!=t||n.instance.centerSlide(200),n.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var t,e,n,o=this;o.contentLastPos&&(!1===o.opts.momentum||o.dMs>350?(t=o.contentLastPos.left,e=o.contentLastPos.top):(t=o.contentLastPos.left+500*o.velocityX,e=o.contentLastPos.top+500*o.velocityY),(n=o.limitPosition(t,e,o.contentStartPos.width,o.contentStartPos.height)).width=o.contentStartPos.width,n.height=o.contentStartPos.height,i.fancybox.animate(o.$content,n,366))},u.prototype.endZooming=function(){var t,e,n,o,s=this,r=s.instance.current,a=s.newWidth,l=s.newHeight;s.contentLastPos&&(t=s.contentLastPos.left,o={top:e=s.contentLastPos.top,left
vendor: 4,691 bytes, line 1
1:t,width:a,height:l,scaleX:1,scaleY:1},i.fancybox.setTranslate(s.$content,o),a<s.canvasWidth&&l<s.canvasHeight?s.instance.scaleToFit(150):a>r.width||l>r.height?s.instance.scaleToActual(s.centerPointStartX,s.centerPointStartY,150):(n=s.limitPosition(t,e,a,l),i.fancybox.animate(s.$content,n,150)))},u.prototype.onTap=function(e){var n,o=this,r=i(e.target),a=o.instance,l=a.current,c=e&&s(e)||o.startPoints,u=c[0]?c[0].x-i(t).scrollLeft()-o.stagePos.left:0,d=c[0]?c[0].y-i(t).scrollTop()-o.stagePos.top:0,h=function(t){var n=l.opts[t];if(i.isFunction(n)&&(n=n.apply(a,[l,e])),n)switch(n){case"close":a.close(o.startEvent);break;case"toggleControls":a.toggleControls();break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(o.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(u,d):a.group.length<2&&a.close(o.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(r.is("img")||!(u>r[0].clientWidth+r.offset().left))){if(r.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))n="Outside";else if(r.is(".fancybox-slide"))n="Slide";else{if(!a.current.$content||!a.current.$content.find(r).addBack().filter(r).length)return;n="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(u-o.tapX)>50||Math.abs(d-o.tapY)>50)return this;h("dblclick"+n)}else o.tapX=u,o.tapY=d,l.opts["dblclick"+n]&&l.opts["dblclick"+n]!==l.opts["click"+n]?o.tapped=setTimeout((function(){o.tapped=null,a.isAnimating||h("click"+n)}),500):h("click"+n);return this}},i(e).on("onActivate.fb",(function(t,e){e&&!e.Guestures&&(e.Guestures=new u(e))})).on("beforeClose.fb",(function(t,e){e&&e.Guestures&&e.Guestures.destroy()}))}(window,document,t),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var i=function(t){this.instance=t,this.init()};e.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,i=t.instance,n=i.group[i.currIndex].opts.slideShow;t.$button=i.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){t.toggle()})),i.group.length<2||!n?t.$button.hide():n.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(i.$refs.inner))},set:function(t){var i=this,n=i.instance,o=n.current;o&&(!0===t||o.opts.loop||n.currIndex<n.group.length-1)?i.isActive&&"video"!==o.contentType&&(i.$progress&&e.fancybox.animate(i.$progress.show(),{scaleX:1},o.opts.slideShow.speed),i.timer=setTimeout((function(){n.current.opts.loop||n.current.index!=n.group.length-1?n.next():n.jumpTo(0)}),o.opts.slideShow.speed)):(i.stop(),n.idleSecondsCounter=0,n.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new i(e))},"beforeShow.fb":function(t,e,i,n){var o=e&&e.SlideShow;n?o&&i.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(t,e,i){var n=e&&e.SlideShow;n&&n.isActive&&n.set()},"afterKeydown.fb":function(i,n,o,s,r){var a=n&&n.SlideShow;!a||!o.opts.slideShow||80!==r&&32!==r||e(t.activeElement).is("button,a,input")||(s.preventDefault(),a.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var i=e&&e.SlideShow;i&&i.stop()}}),e(t).on("visibilitychange",(function(){var i=e.fancybox.getInstance(),n=i&&i.SlideShow;n&&n.isActive&&(t.hidden?n.clear():n.set())}))}(document,t),function(t,e){"use strict";var i=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
1webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i={},n=0;n<e.length;n++){var o=e[n];if(o&&o[1]in t){for(var s=0;s<o.length;s++)i[e[0][s]]=o[s];return i}}return!1}();if(i){var n={request:function(e){(e=e||t.documentElement)[i.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[i.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[i.fullscreenElement])},enabled:function(){return Boolean(t[i.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on(i.fullscreenchange,(function(){var t=n.isFullscreen(),i=e.fancybox.getInstance();i&&(i.current&&"image"===i.current.type&&i.isAnimating&&(i.isAnimating=!1,i.update(!0,!0,0),i.isComplete||i.complete()),i.trigger("onFullscreenChange",t),i.$refs.container.toggleClass("fancybox-is-fullscreen",t),i.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))}))}e(t).on({"onInit.fb":function(t,e){i?e&&e.group[e.currIndex].opts.fullScreen?(e.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(t){t.stopPropagation(),t.preventDefault(),n.toggle()})),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&n.request(),e.FullScreen=n):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,e,i,n,o){e&&e.FullScreen&&70===o&&(n.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&n.exit()}})}(document,t),function(t,e){"use strict";var i="fancybox-thumbs";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var n=function(t){this.init(t)};e.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,i=t.group,n=0;e.instance=t,e.opts=i[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,s=i.length;o<s&&(i[o].thumb&&n++,!(n>1));o++);n>1&&e.opts?(e.$button.removeAttr("style").on("click",(function(){e.toggle()})),e.isActive=!0):e.$button.hide()},create:function(){var t,n=this,o=n.instance,s=n.opts.parentEl,r=[];n.$grid||(n.$grid=e('<div class="'+i+" "+i+"-"+n.opts.axis+'"></div>').appendTo(o.$refs.container.find(s).addBack().filter(s)),n.$grid.on("click","a",(function(){o.jumpTo(e(this).attr("data-index"))}))),n.$list||(n.$list=e('<div class="'+i+'__list">').appendTo(n.$grid)),e.each(o.group,(function(e,i){(t=i.thumb)||"image"!==i.type||(t=i.src),r.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")})),n.$list[0].innerHTML=r.join(""),"x"===n.opts.axis&&n.$list.width(parseInt(n.$grid.css("padding-right"),10)+o.group.length*n.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,i,n=this,o=n.$list,s=n.$grid;n.instance.current&&(i=(e=o.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+n.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===n.opts.axis&&(i.top<0||i.top>o.height()-e.outerHeight())?o.stop().animate({scrollTop:o.scrollTop()+i.top},t):"x"===n.opts.axis&&(i.left<s.scrollLeft()||i.left>s.scrollLeft()+(s.width()-e.outerWidth()))&&o.parent().stop().animate({scrollLeft:i.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focu
1s(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var i;e&&!e.Thumbs&&((i=new n(e)).isActive&&!0===i.opts.autoStart&&i.show())},"beforeShow.fb":function(t,e,i,n){var o=e&&e.Thumbs;o&&o.isVisible&&o.focus(n?0:250)},"afterKeydown.fb":function(t,e,i,n,o){var s=e&&e.Thumbs;s&&s.isActive&&71===o&&(n.preventDefault(),s.toggle())},"beforeClose.fb":function(t,e){var i=e&&e.Thumbs;i&&i.isVisible&&!1!==i.opts.hideOnClose&&i.$grid.hide()}})}(document,t),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",(function(){var t,i,n=e.fancybox.getInstance(),o=n.current||null;o&&("function"===e.type(o.opts.share.url)&&(t=o.opts.share.url.apply(o,[n,o])),i=o.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===o.type?encodeURIComponent(o.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,function(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,(function(t){return e[t]}))}(t)).replace(/\{\{descr\}\}/g,n.$caption?encodeURIComponent(n.$caption.text()):""),e.fancybox.open({src:n.translate(n,i),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){n.$refs.container.one("beforeClose.fb",(function(){t.close(null,0)})),e.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,t),function(t,e,i){"use strict";function n(){var e=t.location.hash.substr(1),i=e.split("-"),n=i.length>1&&/^\+?\d+$/.test(i[i.length-1])&&parseInt(i.pop(-1),10)||1;return{hash:e,index:n<1?1:n,gallery:i.join("-")}}function o(t){""!==t.gallery&&i("[data-fancybox='"+i.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function s(t){var e,i;return!!t&&(""!==(i=(e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&i)}i.escapeSelector||(i.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}))}),i((function(){!1!==i.fancybox.defaults.hash&&(i(e).on({"onInit.fb":function(t,e){var i,o;!1!==e.group[e.currIndex].opts.hash&&(i=n(),(o=s(e))&&i.gallery&&o==i.gallery&&(e.currIndex=i.index-1))},"beforeShow.fb":function(i,n,o,r){var a;o&&!1!==o.opts.hash&&(a=s(n))&&(n.currentHash=a+(n.group.length>1?"-"+(o.index+1):""),t.location.hash!=="#"+n.currentHash&&(r&&!n.origHash&&(n.origHash=t.location.hash),n.hashTimer&&clearTimeout(n.hashTimer),n.hashTimer=setTimeout((function(){"replaceState"in t.history?(t.history[r?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+n.currentHash),r&&(n.hasCreatedHistory=!0)):t.location.hash=n.currentHash,n.hashTimer=null}),300)))},"beforeClose.fb":function(i,n,o){o&&!1!==o.opts.hash&&(clearTimeout(n.hashTimer),n.currentHash&&n.hasCreatedHistory?t.history.back():n.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(n.origHash||"")):t.location.hash=n.origHash),n.currentHash=null)}}),i(t).on("hashchange.fb",(function(){var t=n(),e=null;i.each(i(".fancybox-container").get().reverse(),(function(t,n){var o=i(n).data("FancyBox");if(o&&o.currentHash)return e=o,!1})),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&o(t)})),setTimeout((function(){i.fancybox.getInstance()||o(n())}),50))}))}(window,document,t),function(t,e){"use strict";var i=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,n){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(t){var n=e.current,o=(new Date).getTime();e.group.length<2||!1===n.opts.wheel||"auto"===n.opts.wheel&&"image"!==n.type||(t.preventDefault(),t.stopPropagation(),n.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,o-i<250||(i=o,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))}))}})}(document,t)}).call(this,i(0))}
1,function(t,e,i){t.exports=function(t,e,i){var n=!1;if(void 0===window.XMLHttpRequest)return e(Error("Browser not supported"));if(void 0===i){var o=t.match(/^\s*https?:\/\/[^\/]*/);i=o&&o[0]!==location.protocol+"//"+location.hostname+(location.port?":"+location.port:"")}var s=new window.XMLHttpRequest;if(i&&!("withCredentials"in s)){s=new window.XDomainRequest;var r=e;e=function(){if(n)r.apply(this,arguments);else{var t=this,e=arguments;setTimeout((function(){r.apply(t,e)}),0)}}}function a(){var t;void 0===s.status||((t=s.status)>=200&&t<300||304===t)?e.call(s,null,s):e.call(s,s,null)}return"onload"in s?s.onload=a:s.onreadystatechange=function(){4===s.readyState&&a()},s.onerror=function(t){e.call(this,t||!0,null),e=function(){}},s.onprogress=function(){},s.ontimeout=function(t){e.call(this,t,null),e=function(){}},s.onabort=function(t){e.call(this,t,null),e=function(){}},s.open("GET",t,!0),s.send(null),n=!0,s}},function(t,e,i){"use strict";var n=i(35),o=i(27),s=/(Lat)(itude)?/gi,r=/(L)(on|ng)(gitude)?/i;function a(t,e){var i,n,o;for(var s in t)(n=s.match(e))&&(!i||n[0].length/s.length>o)&&(o=n[0].length/s.length,i=s);return i}function l(t){return a(t,s)}function c(t){return a(t,r)}function u(t){return"object"==typeof t?Object.keys(t).length:0}function d(t){var e=[];return[",",";","\t","|"].forEach((function(i){var o=n.dsvFormat(i).parse(t);if(o.length>=1){for(var s=u(o[0]),r=0;r<o.length;r++)if(u(o[r])!==s)return;e.push({delimiter:i,arity:Object.keys(o[0]).length})}})),e.length?e.sort((function(t,e){return e.arity-t.arity}))[0].delimiter:null}t.exports={isLon:function(t){return!!t.match(r)},isLat:function(t){return!!t.match(s)},guessLatHeader:l,guessLonHeader:c,csv:n.csvParse,tsv:n.tsvParse,dsv:n,auto:function(t){var e=d(t);return e?function(t){return delete t.columns,t}(n.dsvFormat(e).parse(t)):null},csv2geojson:function(t,e,i){i||(i=e,e={}),e.delimiter=e.delimiter||",";var s=e.latfield||"",r=e.lonfield||"",a=e.crs||"",u=[],h={type:"FeatureCollection",features:u};if(""!==a&&(h.crs={type:"name",properties:{name:a}}),"auto"!==e.delimiter||"string"!=typeof t||(e.delimiter=d(t),e.delimiter)){var p="string"==typeof t?n.dsvFormat(e.delimiter).parse(t):t;if(p.length){var f,m=[];if(s||(s=l(p[0])),r||(r=c(p[0])),!s||!r){for(f=0;f<p.length;f++)u.push({type:"Feature",properties:p[f],geometry:null});i(m.length?m:null,h)}else{for(f=0;f<p.length;f++)if(void 0!==p[f][r]&&void 0!==p[f][s]){var g,v,_,y=p[f][r],b=p[f][s];(_=o(y,"EW"))&&(y=_),(_=o(b,"NS"))&&(b=_),g=parseFloat(y),v=parseFloat(b),isNaN(g)||isNaN(v)?m.push({message:"A row contained an invalid value for latitude or longitude",row:p[f],index:f}):(e.includeLatLon||(delete p[f][r],delete p[f][s]),u.push({type:"Feature",properties:p[f],geometry:{type:"Point",coordinates:[parseFloat(g),parseFloat(v)]}}))}i(m.length?m:null,h)}}else i(null,h)}else i({type:"Error",message:"Could not autodetect delimiter"})},toLine:function(t){for(var e=t.features,i={type:"Feature",geometry:{type:"LineString",coordinates:[]}},n=0;n<e.length;n++)i.geometry.coordinates.push(e[n].geometry.coordinates);return i.properties=e.reduce((function(t,e){for(var i in e.properties)t[i]||(t[i]=[]),t[i].push(e.properties[i]);return t}),{}),{type:"FeatureCollection",features:[i]}},toPolygon:function(t){for(var e=t.features,i={type:"Feature",geometry:{type:"Polygon",coordinates:[[]]}},n=0;n<e.length;n++)i.geometry.coordinates[0].push(e[n].geometry.coordinates);return i.properties=e.reduce((function(t,e){for(var i in e.properties)t[i]||(t[i]=[]),t[i].push(e.properties[i]);return t}),{}),{type:"FeatureCollection",features:[i]}}}},function(t,e){function i(t,e){var i=n(t,e);return i.whole+"° "+(i.minutes?i.minutes+"' ":"")+(i.seconds?i.seconds+'" ':"")+i.dir}function n(t,e){var i=({lat:["N","S"],lon:["E","W"]}[e]||"")[t>=0?0:1],n=Math.abs(t),o=Math.floor(n),s=60*(n-o),r=Math.floor(s);return{whole:o,minutes:r,seconds:Math.floor(60*(s-r)),dir:i}}function o(t,e,i){if(e||(e="NSEW"),"string"!=typeof t)return{val:null,regex:i};var n=(i=i||/[\s\,]*([\-|\â|\â]?[0-9.]+)°? *(?:([0-9.]+)['ââ²â] *)?(?:([0-9.]+)(?:''|"|â|â³) *)?([NSEW])?/gi).exec(t);return n?n[4]&&-1===e.indexOf(n[4])?{val:null,regex:i}:{val:((n[1]?parseFloat(n[1]):0)+(n[2]?parseFloat(n[2])/60:0)+(n[3]?parseFloat(n[3])/3600:0))*(n[4]&&"S"===n[4]||"W"===n[4]?-1:1),regex:i,raw:n[0],dim:n[4]}:{val:null,regex:i}}t.exports=function(t,e){return o(t,e).val}
1,t.exports.pair=function(t,e){var i=o(t=t.trim(),e);if(null===i.val)return null;var n=o(t,e,i.regex);if(null===n.val)return null;if(i.raw+n.raw!==t)return null;return i.dim?function(t,e,i){if("N"===i||"S"===i)return[t,e];if("W"===i||"E"===i)return[e,t]}(i.val,n.val,i.dim):[i.val,n.val]},t.exports.format=i,t.exports.formatPair=function(t){return i(t.lat,"lat")+" "+i(t.lon,"lon")},t.exports.coordToDMS=n},function(t,e){t.exports=o,t.exports.parse=o,t.exports.stringify=function t(e){"Feature"===e.type&&(e=e.geometry);function i(t){return t.join(" ")}function n(t){return t.map(i).join(", ")}function o(t){return t.map(n).map(s).join(", ")}function s(t){return"("+t+")"}switch(e.type){case"Point":return"POINT ("+i(e.coordinates)+")";case"LineString":return"LINESTRING ("+n(e.coordinates)+")";case"Polygon":return"POLYGON ("+o(e.coordinates)+")";case"MultiPoint":return"MULTIPOINT ("+n(e.coordinates)+")";case"MultiPolygon":return"MULTIPOLYGON ("+(e.coordinates.map(o).map(s).join(", ")+")");case"MultiLineString":return"MULTILINESTRING ("+o(e.coordinates)+")";case"GeometryCollection":return"GEOMETRYCOLLECTION ("+e.geometries.map(t).join(", ")+")";default:throw new Error("stringify requires a valid GeoJSON Feature or geometry object as input")}};var i=/[-+]?([0-9]*\.[0-9]+|[0-9]+)([eE][-+]?[0-9]+)?/,n=new RegExp("^"+i.source+"(\\s"+i.source+"){1,}");function o(t){var e,i=t.split(";"),o=i.pop(),s=(i.shift()||"").split("=").pop(),r=0;function a(t){var e=o.substring(r).match(t);return e?(r+=e[0].length,e[0]):null}function l(){a(/^\s*/)}function c(){l();for(var t,e=0,i=[],o=[i],s=i;t=a(/^(\()/)||a(/^(\))/)||a(/^(\,)/)||a(n);){if("("===t)o.push(s),s=[],o[o.length-1].push(s),e++;else if(")"===t){if(0===s.length)return null;if(!(s=o.pop()))return null;if(0===--e)break}else if(","===t)s=[],o[o.length-1].push(s);else{if(t.split(/\s/g).some(isNaN))return null;Array.prototype.push.apply(s,t.split(/\s/g).map(parseFloat))}l()}return 0!==e?null:i}function u(){for(var t,e,i=[];e=a(n)||a(/^(\,)/);)","===e?(i.push(t),t=[]):e.split(/\s/g).some(isNaN)||(t||(t=[]),Array.prototype.push.apply(t,e.split(/\s/g).map(parseFloat))),l();return t?(i.push(t),i.length?i:null):null}function d(){return function(){if(!a(/^(point)/i))return null;if(l(),!a(/^(\()/))return null;var t=u();return t?(l(),a(/^(\))/)?{type:"Point",coordinates:t[0]}:null):null}()||function(){if(!a(/^(linestring)/i))return null;if(l(),!a(/^(\()/))return null;var t=u();return t&&a(/^(\))/)?{type:"LineString",coordinates:t}:null}()||function(){if(!a(/^(polygon)/i))return null;l();var t=c();return t?{type:"Polygon",coordinates:t}:null}()||function(){if(!a(/^(multipoint)/i))return null;l();var t=o.substring(o.indexOf("(")+1,o.length-1).replace(/\(/g,"").replace(/\)/g,"");o="MULTIPOINT ("+t+")";var e=c();return e?(l(),{type:"MultiPoint",coordinates:e}):null}()||function(){if(!a(/^(multilinestring)/i))return null;l();var t=c();return t?(l(),{type:"MultiLineString",coordinates:t}):null}()||function(){if(!a(/^(multipolygon)/i))return null;l();var t=c();return t?{type:"MultiPolygon",coordinates:t}:null}()||function(){var t,e=[];if(!a(/^(geometrycollection)/i))return null;if(l(),!a(/^(\()/))return null;for(;t=d();)e.push(t),l(),a(/^(\,)/),l();return a(/^(\))/)?{type:"GeometryCollection",geometries:e}:null}()}return(e=d())&&s.match(/\d+/)&&(e.crs={type:"name",properties:{name:"urn:ogc:def:crs:EPSG::"+s}}),e}},function(t,e,i){"use strict";var n={};function o(t,e){t=Math.round(t*e),(t<<=1)<0&&(t=~t);for(var i="";t>=32;)i+=String.fromCharCode(63+(32|31&t)),t>>=5;return i+=String.fromCharCode(t+63)}function s(t){for(var e=[],i=0;i<t.length;i++)e.push(t[i].slice().reverse());return e}n.decode=function(t,e){for(var i,n=0,o=0,s=0,r=[],a=0,l=0,c=null,u=Math.pow(10,e||5);n<t.length;){c=null,a=0,l=0;do{l|=(31&(c=t.charCodeAt(n++)-63))<<a,a+=5}while(c>=32);i=1&l?~(l>>1):l>>1,a=l=0;do{l|=(31&(c=t.charCodeAt(n++)-63))<<a,a+=5}while(c>=32);o+=i,s+=1&l?~(l>>1):l>>1,r.push([o/u,s/u])}return r},n.encode=function(t,e){if(!t.length)return"";for(var i=Math.pow(10,e||5),n=o(t[0][0],i)+o(t[0][1],i),s=1;s<t.length;s++){var r=t[s],a=t[s-1];n+=o(r[0]-a[0],i),n+=o(r[1]-a[1],i)}return n},n.fromGeoJSON=function(t,e){if(t&&"Feature"===t.type&&(t=t.geometry),!t||"LineString"!==t.type)throw new Error("Input must be a GeoJSON LineString");return n.encode(s(t.coordinates),e)},n.toGeoJSON=function(t,e){return{type:"LineString",coordinates:s(n.decode(t,e))}},t.exports&&(t.exports=n)}
1,function(t,e,i){!function(t){"use strict";function e(){}function i(t){if(!t)return e;var i,n,o=t.scale[0],s=t.scale[1],r=t.translate[0],a=t.translate[1];return function(t,e){e||(i=n=0),t[0]=(i+=t[0])*o+r,t[1]=(n+=t[1])*s+a}}function n(t,e){for(var i=0,n=t.length;i<n;){var o=i+n>>>1;t[o]<e?i=o+1:n=o}return i}function o(t,e){var i={type:"Feature",id:e.id,properties:e.properties||{},geometry:s(t,e)};return null==e.id&&delete i.id,i}function s(t,e){var n=i(t.transform),o=t.arcs;function s(t,e){e.length&&e.pop();for(var i,s=o[t<0?~t:t],r=0,a=s.length;r<a;++r)e.push(i=s[r].slice()),n(i,r);t<0&&function(t,e){for(var i,n=t.length,o=n-e;o<--n;)i=t[o],t[o++]=t[n],t[n]=i}(e,a)}function r(t){return t=t.slice(),n(t,0),t}function a(t){for(var e=[],i=0,n=t.length;i<n;++i)s(t[i],e);return e.length<2&&e.push(e[0].slice()),e}function l(t){for(var e=a(t);e.length<4;)e.push(e[0].slice());return e}function c(t){return t.map(l)}var u={Point:function(t){return r(t.coordinates)},MultiPoint:function(t){return t.coordinates.map(r)},LineString:function(t){return a(t.arcs)},MultiLineString:function(t){return t.arcs.map(a)},Polygon:function(t){return c(t.arcs)},MultiPolygon:function(t){return t.arcs.map(c)}};return function t(e){var i=e.type;return"GeometryCollection"===i?{type:i,geometries:e.geometries.map(t)}:i in u?{type:i,coordinates:u[i](e)}:null}(e)}function r(t,e){var i={},n={},o={},s=[],r=-1;function a(t,e){for(var n in t){var o=t[n];delete e[o.start],delete o.start,delete o.end,o.forEach((function(t){i[t<0?~t:t]=1})),s.push(o)}}return e.forEach((function(i,n){var o,s=t.arcs[i<0?~i:i];s.length<3&&!s[1][0]&&!s[1][1]&&(o=e[++r],e[r]=i,e[n]=o)})),e.forEach((function(e){var i,s,r=function(e){var i,n=t.arcs[e<0?~e:e],o=n[0];return t.transform?(i=[0,0],n.forEach((function(t){i[0]+=t[0],i[1]+=t[1]}))):i=n[n.length-1],e<0?[i,o]:[o,i]}(e),a=r[0],l=r[1];if(i=o[a])if(delete o[i.end],i.push(e),i.end=l,s=n[l]){delete n[s.start];var c=s===i?i:i.concat(s);n[c.start=i.start]=o[c.end=s.end]=c}else n[i.start]=o[i.end]=i;else if(i=n[l])if(delete n[i.start],i.unshift(e),i.start=a,s=o[a]){delete o[s.end];var u=s===i?i:s.concat(i);n[u.start=s.start]=o[u.end=i.end]=u}else n[i.start]=o[i.end]=i;else n[(i=[e]).start=a]=o[i.end=l]=i})),a(o,n),a(n,o),e.forEach((function(t){i[t<0?~t:t]||s.push([t])})),s}function a(t,e,i){var n=[];function o(t){var e=t<0?~t:t;(u[e]||(u[e]=[])).push({i:t,g:c})}function s(t){t.forEach(o)}function a(t){t.forEach(s)}function l(t){"GeometryCollection"===t.type?t.geometries.forEach(l):t.type in d&&(c=t,d[t.type](t.arcs))}if(arguments.length>1){var c,u=[],d={LineString:s,MultiLineString:a,Polygon:a,MultiPolygon:function(t){t.forEach(a)}};l(e),u.forEach(arguments.length<3?function(t){n.push(t[0].i)}:function(t){i(t[0].g,t[t.length-1].g)&&n.push(t[0].i)})}else for(var h=0,p=t.arcs.length;h<p;++h)n.push(h);return{type:"MultiLineString",arcs:r(t,n)}}function l(t){var e=t[0],i=t[1],n=t[2];return Math.abs((e[0]-n[0])*(i[1]-e[1])-(e[0]-i[0])*(n[1]-e[1]))}function c(t,e){var i={},n=[],o=[];function a(t){t.forEach((function(e){e.forEach((function(e){(i[e=e<0?~e:e]||(i[e]=[])).push(t)}))})),n.push(t)}function l(e){return Math.abs(function(t){for(var e,i=-1,n=t.length,o=t[n-1],s=0;++i<n;)e=o,o=t[i],s+=e[0]*o[1]-e[1]*o[0];return s/2}(s(t,{type:"Polygon",arcs:[e]}).coordinates[0]))}return e.forEach((function(t){"Polygon"===t.type?a(t.arcs):"MultiPolygon"===t.type&&t.arcs.forEach(a)})),n.forEach((function(t){if(!t._){var e=[],n=[t];for(t._=1,o.push(e);t=n.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].forEach((function(t){t._||(t._=1,n.push(t))}))}))}))}})),n.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:o.map((function(e){var n,o=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].length<2&&o.push(t)}))}))})),(n=(o=r(t,o)).length)>1)for(var s,a,c=1,u=l(o[0]);c<n;++c)(s=l(o[c]))>u&&(a=o[0],o[0]=o[c],o[c]=a,u=s);return o}
1))}}function u(t,e){return t[1][2]-e[1][2]}t.version="1.6.26",t.mesh=function(t){return s(t,a.apply(this,arguments))},t.meshArcs=a,t.merge=function(t){return s(t,c.apply(this,arguments))},t.mergeArcs=c,t.feature=function(t,e){return"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map((function(e){return o(t,e)}))}:o(t,e)},t.neighbors=function(t){var e={},i=t.map((function(){return[]}));function o(t,i){t.forEach((function(t){t<0&&(t=~t);var n=e[t];n?n.push(i):e[t]=[i]}))}function s(t,e){t.forEach((function(t){o(t,e)}))}var r={LineString:o,MultiLineString:s,Polygon:s,MultiPolygon:function(t,e){t.forEach((function(t){s(t,e)}))}};for(var a in t.forEach((function t(e,i){"GeometryCollection"===e.type?e.geometries.forEach((function(e){t(e,i)})):e.type in r&&r[e.type](e.arcs,i)})),e)for(var l=e[a],c=l.length,u=0;u<c;++u)for(var d=u+1;d<c;++d){var h,p=l[u],f=l[d];(h=i[p])[a=n(h,f)]!==f&&h.splice(a,0,f),(h=i[f])[a=n(h,p)]!==p&&h.splice(a,0,p)}return i},t.presimplify=function(t,n){var o=i(t.transform),s=function(t){if(!t)return e;var i,n,o=t.scale[0],s=t.scale[1],r=t.translate[0],a=t.translate[1];return function(t,e){e||(i=n=0);var l=Math.round((t[0]-r)/o),c=Math.round((t[1]-a)/s);t[0]=l-i,t[1]=c-n,i=l,n=c}}(t.transform),r=function(){var t={},e=[],i=0;function n(t,i){for(;i>0;){var n=(i+1>>1)-1,o=e[n];if(u(t,o)>=0)break;e[o._=i]=o,e[t._=i=n]=t}}function o(t,n){for(;;){var o=n+1<<1,s=o-1,r=n,a=e[r];if(s<i&&u(e[s],a)<0&&(a=e[r=s]),o<i&&u(e[o],a)<0&&(a=e[r=o]),r===n)break;e[a._=n]=a,e[t._=n=r]=t}}return t.push=function(t){return n(e[t._=i]=t,i++),i},t.pop=function(){if(!(i<=0)){var t,n=e[0];return--i>0&&(t=e[i],o(e[t._=0]=t,0)),n}},t.remove=function(t){var s,r=t._;if(e[r]===t)return r!==--i&&(u(s=e[i],t)<0?n:o)(e[s._=r]=s,r),r},t}();function a(t){r.remove(t),t[1][2]=n(t),r.push(t)}return n||(n=l),t.arcs.forEach((function(t){var e,i,l,c,u=[],d=0;for(i=0,l=t.length;i<l;++i)c=t[i],o(t[i]=[c[0],c[1],1/0],i);for(i=1,l=t.length-1;i<l;++i)(e=t.slice(i-1,i+2))[1][2]=n(e),u.push(e),r.push(e);for(i=0,l=u.length;i<l;++i)(e=u[i]).previous=u[i-1],e.next=u[i+1];for(;e=r.pop();){var h=e.previous,p=e.next;e[1][2]<d?e[1][2]=d:d=e[1][2],h&&(h.next=p,h[2]=e[2],a(h)),p&&(p.previous=h,p[0]=e[0],a(p))}t.forEach(s)})),t}}(e)},function(t,e,i){(function(e){var n=function(){"use strict";var t,n=/\s*/g,o=/^\s*|\s*$/g,s=/\s+/;function r(t){if(!t||!t.length)return 0;for(var e=0,i=0;e<t.length;e++)i=(i<<5)-i+t.charCodeAt(e)|0;return i}function a(t,e){return t.getElementsByTagName(e)}function l(t,e){return t.getAttribute(e)}function c(t,e){return parseFloat(l(t,e))}function u(t,e){var i=a(t,e);return i.length?i[0]:null}function d(t){for(var e=0,i=[];e<t.length;e++)i[e]=parseFloat(t[e]);return i}function h(t){var e;return t&&(e=t).normalize&&e.normalize(),t&&t.textContent||""}function p(t){return d(t.replace(n,"").split(","))}function f(t){for(var e=t.replace(o,"").split(s),i=[],n=0;n<e.length;n++)i.push(p(e[n]));return i}function m(t){var e,i=[c(t,"lon"),c(t,"lat")],n=u(t,"ele"),o=u(t,"gpxtpx:hr")||u(t,"hr"),s=u(t,"time");return n&&(e=parseFloat(h(n)),isNaN(e)||i.push(e)),{coordinates:i,time:s?h(s):null,heartRate:o?parseFloat(h(o)):null}}function g(e){return void 0!==e.xml?e.xml:t.serializeToString(e)}return"undefined"!=typeof XMLSerializer?t=new XMLSerializer:"object"!=typeof e||e.browser||(t=new(i(33).XMLSerializer)),{kml:function(t){for(var e={type:"FeatureCollection",features:[]},i={},n=["Polygon","LineString","Point","Track","gx:Track"],o=a(t,"Placemark"),s=a(t,"Style"),c=a(t,"StyleMap"),m=0;m<s.length;m++)i["#"+l(s[m],"id")]=r(g(s[m])).toString(16);for(var v=0;v<c.length;v++)i["#"+l(c[v],"id")]=r(g(c[v])).toString(16);for(var _=0;_<o.length;_++)e.features=e.features.concat(w(o[_]));function y(t){var e,i;return"#"===(t=t||"").substr(0,1)&&(t=t.substr(1)),6!==t.length&&3!==t.length||(e=t),8===t.length&&(i=parseInt(t.substr(0,2),16)/255,e="#"+t.substr(2)),[e,isNaN(i)?void 0:i]}function b(t){var e=a(t,"coord"),i=[],n=[];0===e.length&&(e=a(t,"gx:coord"));for(var o=0;o<e.length;o++)i.push(d(h(e[o]).split(" ")));for(var s=a(t,"when"),r=0;r<s.length;r++)n.push(h(s[r]));return{coords:i,times:n}}function w(t){var e,o=function t(e){var i,o,s,r,l,c=[],d=[];if(u(e,"MultiGeometry"))return t(u(e,"MultiGeometry"));if(u(e,"MultiTrack"))return t(u(e,"MultiTrack"));if(u(e,"gx:MultiTrack"))return t(u(e,"gx:MultiTrack"));for(s=0;s<n.length;s++)if(o=a(e,n[s]))for(r=0;r<o.length;r++)if(i=o[r],"Point"===n[s])c.push({type:"Point",coordinates:p(h(u(i,"co
1ordinates")))});else if("LineString"===n[s])c.push({type:"LineString",coordinates:f(h(u(i,"coordinates")))});else if("Polygon"===n[s]){var m=a(i,"LinearRing"),g=[];for(l=0;l<m.length;l++)g.push(f(h(u(m[l],"coordinates"))));c.push({type:"Polygon",coordinates:g})}else if("Track"===n[s]||"gx:Track"===n[s]){var v=b(i);c.push({type:"LineString",coordinates:v.coords}),v.times.length&&d.push(v.times)}return{geoms:c,coordTimes:d}}(t),s={},r=h(u(t,"name")),c=h(u(t,"styleUrl")),d=h(u(t,"description")),m=u(t,"TimeSpan"),g=u(t,"ExtendedData"),v=u(t,"LineStyle"),_=u(t,"PolyStyle");if(!o.geoms.length)return[];if(r&&(s.name=r),"#"!==c[0]&&(c="#"+c),c&&i[c]&&(s.styleUrl=c,s.styleHash=i[c]),d&&(s.description=d),m){var w=h(u(m,"begin")),x=h(u(m,"end"));s.timespan={begin:w,end:x}}if(v){var T=y(h(u(v,"color"))),C=T[0],S=T[1],k=parseFloat(h(u(v,"width")));C&&(s.stroke=C),isNaN(S)||(s["stroke-opacity"]=S),isNaN(k)||(s["stroke-width"]=k)}if(_){var P=y(h(u(_,"color"))),E=P[0],L=P[1],A=h(u(_,"fill")),M=h(u(_,"outline"));E&&(s.fill=E),isNaN(L)||(s["fill-opacity"]=L),A&&(s["fill-opacity"]="1"===A?1:0),M&&(s["stroke-opacity"]="1"===M?1:0)}if(g){var O=a(g,"Data"),F=a(g,"SimpleData");for(e=0;e<O.length;e++)s[O[e].getAttribute("name")]=h(u(O[e],"value"));for(e=0;e<F.length;e++)s[F[e].getAttribute("name")]=h(F[e])}o.coordTimes.length&&(s.coordTimes=1===o.coordTimes.length?o.coordTimes[0]:o.coordTimes);var z={type:"Feature",geometry:1===o.geoms.length?o.geoms[0]:{type:"GeometryCollection",geometries:o.geoms},properties:s};return l(t,"id")&&(z.id=l(t,"id")),[z]}return e},gpx:function(t){var e,i,n=a(t,"trk"),o=a(t,"rte"),s=a(t,"wpt"),r={type:"FeatureCollection",features:[]};for(e=0;e<n.length;e++)(i=c(n[e]))&&r.features.push(i);for(e=0;e<o.length;e++)(i=d(o[e]))&&r.features.push(i);for(e=0;e<s.length;e++)r.features.push(p(s[e]));function l(t,e){var i=a(t,e),n=[],o=[],s=[],r=i.length;if(r<2)return{};for(var l=0;l<r;l++){var c=m(i[l]);n.push(c.coordinates),c.time&&o.push(c.time),c.heartRate&&s.push(c.heartRate)}return{line:n,times:o,heartRates:s}}function c(t){for(var e,i=a(t,"trkseg"),n=[],o=[],s=[],r=0;r<i.length;r++)(e=l(i[r],"trkpt")).line&&n.push(e.line),e.times&&e.times.length&&o.push(e.times),e.heartRates&&e.heartRates.length&&s.push(e.heartRates);if(0!==n.length){var c=f(t);return o.length&&(c.coordTimes=1===n.length?o[0]:o),s.length&&(c.heartRates=1===n.length?s[0]:s),{type:"Feature",properties:c,geometry:{type:1===n.length?"LineString":"MultiLineString",coordinates:1===n.length?n[0]:n}}}}function d(t){var e=l(t,"rtept");if(e.line)return{type:"Feature",properties:f(t),geometry:{type:"LineString",coordinates:e.line}}}function p(t){var e=f(t);return e.sym=h(u(t,"sym")),{type:"Feature",properties:e,geometry:{type:"Point",coordinates:m(t).coordinates}}}function f(t){var e,i=["name","desc","author","copyright","link","time","keywords"],n={};for(e=0;e<i.length;e++)n[i[e]]=h(u(t,i[e]));return function(t){var e={};for(var i in t)t[i]&&(e[i]=t[i]);return e}(n)}return r}}}();t.exports=n}).call(this,i(32))},function(t,e){var i,n,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(t){if(i===setTimeout)return setTimeout(t,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(t){i=s}try{n="function"==typeof clearTimeout?clearTimeout:r}catch(t){n=r}}();var l,c=[],u=!1,d=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=a(h);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===r||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];c.push(new f(t,e)),1!==c.length||u||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e){}
1,,function(t,e,i){"use strict";function n(t){return new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+"]"})).join(",")+"}")}i.r(e),i.d(e,"dsvFormat",(function(){return o})),i.d(e,"csvParse",(function(){return r})),i.d(e,"csvParseRows",(function(){return a})),i.d(e,"csvFormat",(function(){return l})),i.d(e,"csvFormatRows",(function(){return c})),i.d(e,"tsvParse",(function(){return d})),i.d(e,"tsvParseRows",(function(){return h})),i.d(e,"tsvFormat",(function(){return p})),i.d(e,"tsvFormatRows",(function(){return f}));var o=function(t){var e=new RegExp('["'+t+"\n]"),i=t.charCodeAt(0);function o(t,e){var n,o,s={},r={},a=[],l=t.length,c=0,u=0;function d(){if(c>=l)return r;if(o)return o=!1,s;var e,n=c;if(34===t.charCodeAt(n)){for(var a=n;a++<l;)if(34===t.charCodeAt(a)){if(34!==t.charCodeAt(a+1))break;++a}return c=a+2,13===(e=t.charCodeAt(a+1))?(o=!0,10===t.charCodeAt(a+2)&&++c):10===e&&(o=!0),t.slice(n+1,a).replace(/""/g,'"')}for(;c<l;){var u=1;if(10===(e=t.charCodeAt(c++)))o=!0;else if(13===e)o=!0,10===t.charCodeAt(c)&&(++c,++u);else if(e!==i)continue;return t.slice(n,c-u)}return t.slice(n)}for(;(n=d())!==r;){for(var h=[];n!==s&&n!==r;)h.push(n),n=d();e&&null==(h=e(h,u++))||a.push(h)}return a}function s(e){return e.map(r).join(t)}function r(t){return null==t?"":e.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}return{parse:function(t,e){var i,s,r=o(t,(function(t,o){if(i)return i(t,o-1);s=t,i=e?function(t,e){var i=n(t);return function(n,o){return e(i(n),o,t)}}(t,e):n(t)}));return r.columns=s,r},parseRows:o,format:function(e,i){return null==i&&(i=function(t){var e=Object.create(null),i=[];return t.forEach((function(t){for(var n in t)n in e||i.push(e[n]=n)})),i}(e)),[i.map(r).join(t)].concat(e.map((function(e){return i.map((function(t){return r(e[t])})).join(t)}))).join("\n")},formatRows:function(t){return t.map(s).join("\n")}}},s=o(","),r=s.parse,a=s.parseRows,l=s.format,c=s.formatRows,u=o("\t"),d=u.parse,h=u.parseRows,p=u.format,f=u.formatRows},function(t,e){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){},,function(t,e){}]);
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.