PageSourceSearch

https://www.biosphaere-bliesgau.eu/_assets/09ee5f2471faf31eaf6fef9…/JavaScript/Dist/scripts.js?1786721017

js biosphaere-bliesgau.eu collected 2026-10-04 03:53:53 UTC 432,883 bytes, 51 lines download raw bytes

1function selectStyle(){function d(t){document.querySelectorAll(".custom-select").forEach(function(e){e!==t&&(e.querySelector(".select-items").classList.add("select-hide"),e.querySelector(".select-selected").classList.remove("select-arrow-active"))})}document.querySelectorAll(".custom-select").forEach(function(e){var o=e.querySelector("select"),t=e,a=o.options,i=(e=a[o.selectedIndex]).value,e=e.textContent,r=document.createElement("DIV"),l=(r.setAttribute("class","select-selected"),r.setAttribute("data-value",i),r.innerHTML=e,t.appendChild(r),document.createElement("DIV"));l.setAttribute("class","select-items select-hide");for(var n=0;n<a.length;n++){var s=a[n],c=document.createElement("DIV");c.innerHTML=s.textContent,c.setAttribute("data-value",s.value),c.addEventListener("click",function(e){for(var t=this.getAttribute("data-value"),i=this.textContent,n=(o.selectedIndex=Array.from(a).findIndex(e=>e.value===t),r.innerHTML=i,r.setAttribute("data-value",t),l.getElementsByClassName("same-as-selected")),s=0;s<n.length;s++)n[s].classList.remove("same-as-selected");this.classList.add("same-as-selected"),r.click()}),l.appendChild(c)}t.appendChild(l),r.addEventListener("click",function(e){e.stopPropagation(),d(t),l.classList.toggle("select-hide"),this.classList.toggle("select-arrow-active")})}),document.addEventListener("click",function(){d()})}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function a(e){return e&&"[object Function]"==={}.toString.call(e)}function h(e,t){return 1!==e.nodeType?[]:(e=e.ownerDocument.defaultView.getComputedStyle(e,null),t?e[t]:e)}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=h(e),i=t.overflow,n=t.overflowX,t=t.overflowY;return/(auto|scroll|overlay)/.test(i+t+n)?e:d(l(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}function u(e){return 11===e?X:10!==e&&X||$}function p(e){if(!e)return document.documentElement;for(var t=u(10)?document.body:null,i=e.offsetParent||null;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===h(i,"position")?p(i):i:(e?e.ownerDocument:document).documentElement}function o(e){return null===e.parentNode?e:o(e.parentNode)}function m(e,t){var i,n,s;return e&&e.nodeType&&t&&t.nodeType?(n=(s=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)?e:t,s=s?t:e,(i=document.createRange()).setStart(n,0),i.setEnd(s,0),e!==(i=i.commonAncestorContainer)&&t!==i||n.contains(s)?"BODY"===(s=(n=i).nodeName)||"HTML"!==s&&p(n.firstElementChild)!==n?p(i):i:(s=o(e)).host?m(s.host,t):m(e,o(t).host)):document.documentElement}function f(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",i=e.nodeName;return("BODY"===i||"HTML"===i?(i=e.ownerDocument.documentElement,e.ownerDocument.scrollingElement||i):e)[t]}function s(e,t){var t="x"===t?"Left":"Top",i="Left"==t?"Right":"Bottom";return parseFloat(e["border"+t+"Width"])+parseFloat(e["border"+i+"Width"])}function n(e,t,i,n){return O(t["offset"+e],t["scroll"+e],i["client"+e],i["offset"+e],i["scroll"+e],u(10)?parseInt(i["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function g(e){var t=e.body,e=e.documentElement,i=u(10)&&getComputedStyle(e);return{height:n("Height",t,e,i),width:n("Width",t,e,i)}}function v(e){return z({},e,{right:e.left+e.width,bottom:e.top+e.height})}function _(e){var t={};try{u(10)?(t=e.getBoundingClientRect(),i=f(e,"top"),n=f(e,"left"),t.top+=i,t.left+=n,t.bottom+=i,t.right+=n):t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n="HTML"===e.nodeName?g(e.ownerDocument):{},t=n.width||e.clientWidth||i.width,n=n.height||e.clientHeight||i.height,t=e.offsetWidth-t,n=e.offsetHeight-n;return(t||n)&&(t-=s(e=h(e),"x"),n-=s(e,"y"),i.width-=t,i.height-=n),v(i)}function y(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=u(10),s="HTML"===t.nodeName,o=_(e),a=_(t),e=d(e),r=h(t),l=parseFloat(r.borderTopWidth),c=parseFloat(r.borderLeftWidth),a=(i&&s&&(a.top=O(a.top,0),a.left=O(a.left,0)),v({top:o.top-a.top-l,left:o.left-a.left-c,width:o.width,height:o.height}));
1return a.marginTop=0,a.marginLeft=0,!n&&s&&(o=parseFloat(r.marginTop),s=parseFloat(r.marginLeft),a.top-=l-o,a.bottom-=l-o,a.left-=c-s,a.right-=c-s,a.marginTop=o,a.marginLeft=s),a=(n&&!i?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=f(t,"top"),t=f(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(a,t):a}function b(e){if(!e||!e.parentElement||u())return document.documentElement;for(var t=e.parentElement;t&&"none"===h(t,"transform");)t=t.parentElement;return t||document.documentElement}function w(e,t,i,n,s){var o,s=4<arguments.length&&void 0!==s&&s,a={top:0,left:0},r=s?b(e):m(e,c(t)),r=("viewport"===n?a=function(e,t){var t=1<arguments.length&&void 0!==t&&t,i=e.ownerDocument.documentElement,e=y(e,i),n=O(i.clientWidth,window.innerWidth||0),s=O(i.clientHeight,window.innerHeight||0),o=t?0:f(i),t=t?0:f(i,"left");return v({top:o-e.top+e.marginTop,left:t-e.left+e.marginLeft,width:n,height:s})}(r,s):("scrollParent"===n?"BODY"===(o=d(l(t))).nodeName&&(o=e.ownerDocument.documentElement):o="window"===n?e.ownerDocument.documentElement:n,t=y(o,r,s),"HTML"!==o.nodeName||function e(t){var i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===h(t,"position")||!!(i=l(t))&&e(i))}(r)?a=t:(s=(n=g(e.ownerDocument)).height,o=n.width,a.top+=t.top-t.marginTop,a.bottom=s+t.top,a.left+=t.left-t.marginLeft,a.right=o+t.left)),"number"==typeof(i=i||0));return a.left+=r?i:i.left||0,a.top+=r?i:i.top||0,a.right-=r?i:i.right||0,a.bottom-=r?i:i.bottom||0,a}function r(e,t,i,n,s,o){var a,o=5<arguments.length&&void 0!==o?o:0;return-1===e.indexOf("auto")?e:(n=w(i,n,o,s),a={top:{width:n.width,height:t.top-n.top},right:{width:n.right-t.right,height:n.height},bottom:{width:n.width,height:n.bottom-t.bottom},left:{width:t.left-n.left,height:n.height}},(0<(s=(o=Object.keys(a).map(function(e){return z({key:e},a[e],{area:(e=a[e]).width*e.height})}).sort(function(e,t){return t.area-e.area})).filter(function(e){var t=e.width,e=e.height;return t>=i.clientWidth&&e>=i.clientHeight})).length?s:o)[0].key+((t=e.split("-")[1])?"-"+t:""))}function x(e,t,i,n){n=3<arguments.length&&void 0!==n?n:null;return y(i,n?b(t):m(t,c(i)),n)}function E(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),t=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+t,height:e.offsetHeight+i}}function S(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function T(e,t,i){i=i.split("-")[0];var e=E(e),n={width:e.width,height:e.height},s=-1!==["right","left"].indexOf(i),o=s?"top":"left",a=s?"left":"top",r=s?"height":"width",s=s?"width":"height";return n[o]=t[o]+t[r]/2-e[r]/2,n[a]=i===a?t[a]-e[s]:t[S(a)],n}function L(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function C(e,i,t){var n,s;return(void 0===t?e:e.slice(0,(e=e,n="name",s=t,Array.prototype.findIndex?e.findIndex(function(e){return e[n]===s}):(t=L(e,function(e){return e[n]===s}),e.indexOf(t))))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&a(t)&&(i.offsets.popper=v(i.offsets.popper),i.offsets.reference=v(i.offsets.reference),i=t(i,e))}),i}function t(e,i){return e.some(function(e){var t=e.name;return e.enabled&&t===i})}function M(e){for(var t=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var s=t[n],s=s?""+s+i:e;if(void 0!==document.body.style[s])return s}return null}function N(e){e=e.ownerDocument;return e?e.defaultView:window}function q(e,t,i,n){i.updateBound=n,N(e).addEventListener("resize",i.updateBound,{passive:!0});n=d(e);return function e(t,i,n,s){var o="BODY"===t.nodeName,t=o?t.ownerDocument.defaultView:t;t.addEventListener(i,n,{passive:!0}),o||e(d(t.parentNode),i,n,s),s.push(t)}(n,"scroll",i.updateBound,i.scrollParents),i.scrollElement=n,i.eventsEnabled=!0,i}function R(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,N(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEac
1h(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function P(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function k(i,n){Object.keys(n).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&P(n[e])&&(t="px"),i.style[e]=n[e]+t})}function j(e,t){function i(e){return e}var n=e.offsets,s=n.popper,n=n.reference,o=V,n=o(n.width),a=o(s.width),r=-1!==["left","right"].indexOf(e.placement),e=-1!==e.placement.indexOf("-"),r=t?r||e||n%2==a%2?o:I:i,o=t?o:i;return{left:r(1==n%2&&1==a%2&&!e&&t?s.left-1:s.left),top:o(s.top),bottom:o(s.bottom),right:r(s.right)}}function H(e,t,i){var n,s=L(e,function(e){return e.name===t}),e=!!s&&e.some(function(e){return e.name===i&&e.enabled&&e.order<s.order});return e||(n="`"+t+"`",console.warn("`"+i+"` modifier is required by "+n+" modifier in order to work, be sure to include it before "+n+"!")),e}function Z(e,t){t=1<arguments.length&&void 0!==t&&t,e=B.indexOf(e),e=B.slice(e+1).concat(B.slice(0,e));return t?e.reverse():e}function F(e,r,l,t){var s=[0,0],n=-1!==["right","left"].indexOf(t),t=e.split(/(\+|\-)/).map(function(e){return e.trim()}),e=t.indexOf(L(t,function(e){return-1!==e.search(/,|\s/)})),i=(t[e]&&-1===t[e].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1===e?[t]:[t.slice(0,e).concat([t[e].split(i)[0]]),[t[e].split(i)[1]].concat(t.slice(e+1))]).map(function(e,t){var a=(1===t?!n:n)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return t=a,i=r,n=l,s=+(o=(e=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],o=o[2],s?0===o.indexOf("%")?v("%p"===o?i:n)[t]/100*s:"vh"===o||"vw"===o?("vh"===o?O(document.documentElement.clientHeight,window.innerHeight||0):O(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s:e;var t,i,n,s,o})}).forEach(function(i,n){i.forEach(function(e,t){P(e)&&(s[n]+=e*("-"===i[t-1]?-1:1))})}),s}function A(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var W=Math.min,I=Math.floor,V=Math.round,O=Math.max,i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,G=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(i&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),Y=i&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},G))}},X=i&&!(!window.MSInputMethodContext||!document.documentMode),$=i&&/MSIE 10/.test(navigator.userAgent),e=function(e,t,i){return t&&te(e.prototype,t),i&&te(e,i),e},z=Object.assign||function(e){for(var t,i=1;i<arguments.length;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},U=i&&/Firefox/i.test(navigator.userAgent),K=["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"],B=K.slice(3),J="flip",Q="clockwise",ee="counterclockwise",e=(e(D,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=x(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=r(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=C(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,t(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[M("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=q(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return R.call(this)}}]),D);function D(e,t){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=this,o=D;if(!(s instanceof o))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Y(this.update.bind(this)),this.options=z({},D.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(z({}
1,D.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=z({},D.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return z({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&a(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}function te(e,t){for(var i,n=0;n<t.length;n++)(i=t[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}return e.Utils=("undefined"==typeof window?global:window).PopperUtils,e.placements=K,e.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,i,n,s=e.placement,o=s.split("-")[0],s=s.split("-")[1];return s&&(t=(i=e.offsets).reference,i=i.popper,n=(o=-1!==["bottom","top"].indexOf(o))?"width":"height",o={start:A({},o=o?"left":"top",t[o]),end:A({},o,t[o]+t[n]-i[n])},e.offsets.popper=z({},i,o[s])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var t=t.offset,i=e.placement,n=(s=e.offsets).popper,s=s.reference,i=i.split("-")[0],t=P(+t)?[+t,0]:F(t,n,s,i);return"left"===i?(n.top+=t[0],n.left-=t[1]):"right"===i?(n.top+=t[0],n.left+=t[1]):"top"===i?(n.left+=t[0],n.top-=t[1]):"bottom"===i&&(n.left+=t[0],n.top+=t[1]),e.popper=n,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,n){var t=n.boundariesElement||p(e.instance.popper),i=(e.instance.reference===t&&(t=p(t)),M("transform")),s=e.instance.popper.style,o=s.top,a=s.left,r=s[i],l=(s.top="",s.left="",s[i]="",w(e.instance.popper,e.instance.reference,n.padding,t,e.positionFixed)),t=(s.top=o,s.left=a,s[i]=r,n.boundaries=l,n.priority),c=e.offsets.popper,d={primary:function(e){var t=c[e];return c[e]<l[e]&&!n.escapeWithReference&&(t=O(c[e],l[e])),A({},e,t)},secondary:function(e){var t="right"===e?"left":"top",i=c[t];return c[e]>l[e]&&!n.escapeWithReference&&(i=W(c[t],l[e]-("right"===e?c.width:c.height))),A({},t,i)}};return t.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";c=z({},c,d[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,t=t.reference,n=e.placement.split("-")[0],s=I,n=-1!==["top","bottom"].indexOf(n),o=n?"right":"bottom",a=n?"left":"top",n=n?"width":"height";return i[o]<s(t[a])&&(e.offsets.popper[a]=s(t[a])-i[n]),i[a]>s(t[o])&&(e.offsets.popper[a]=s(t[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(H(e.instance.modifiers,"arrow","keepTogether")){t=t.element;if("string"==typeof t){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],n=e.offsets,s=n.popper,n=n.reference,i=-1!==["left","right"].indexOf(i),o=i?"height":"width",a=i?"Top":"Left",r=a.toLowerCase(),l=i?"left":"top",i=i?"bottom":"right",c=E(t)[o],i=(n[i]-c<s[r]&&(e.offsets.popper[r]-=s[r]-(n[i]-c)),n[r]+c>s[i]&&(e.offsets.popper[r]+=n[r]+c-s[i]),e.offsets.popper=v(e.offsets.popper),n[r]+n[o]/2-c/2),n=h(e.instance.popper),d=parseFloat(n["margin"+a]),n=parseFloat(n["border"+a+"Width"]),a=i-e.offsets.popper[r]-d-n,a=O(W(s[o]-c,a),0);e.arrowElement=t,e.offsets.arrow=(A(i={},r,V(a)),A(i,l,""),i)}return e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,d){if(!(t(c.instance.modifiers,"inner")||c.flipped&&c.placement===c.originalPlacement)){var h=w(c.instance.popper,c.instance.reference,d.padding,d.boundariesElement,c.positionFixed),u=c.placement.split("-")[0],p=S(u),m=c.placement.split("-")[1]||"",f=[];switch(d.behavior){case J:f=[u,p];break;case Q:f=Z(u);break;case ee:f=Z(u,!0);break;default:f=d.behavior}f.forEach(function(e,t){if(u!==e||f.length===t+1)return c;u=c.placement.split("-")[0],p=S(u);var e=c.offsets.popper,i=c.offsets.reference,n=I,i="left"===u&&n(e.right)>n(i.left)||"right"===u&&n(e.left)<n(i.right)||"top"===u&&n(e.bottom)>n(i.top)||"bottom"===u&&n(e.top)<n(i.bottom),s=n(e.left)<n(h.left),o=n(e.right)>n(h.right),a=n(e.top)<n(h.top),e=n(e.bottom)>n(h.bottom),n="left"===u&&s||"right"===u&&o||"top"===u&&a||"bottom"===u&&e,r=-1!==["top","bottom"].indexOf(u),l=!!d.flipVariations&&(r&&"start"===m&&s||r&&"end"===m&&o||!r&&"start"===m&&a||!r&&"end"===m&&e),o=!!d.flipVariationsByContent&&(r&&"start"===m&&o||r&&"end"===m&&s||!r&&"start"===m&&e||!r&&"end"===m&&a),s=l||o;(i||n||s)&&(c.flipped=!0,(i||n)&&(u=f[t+1]),s&&(m="end"===(e=m)?"start":"start"===e?"end":e),c.placement=u+(m?"-"+m:""),c.offsets.popper=z({}
1,c.offsets.popper,T(c.instance.popper,c.offsets.reference,c.placement)),c=C(c.instance.modifiers,c,"flip"))})}return c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=e.offsets,s=n.popper,n=n.reference,o=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return s[o?"left":"top"]=n[i]-(a?s[o?"width":"height"]:0),e.placement=S(t),e.offsets.popper=v(s),e}},hide:{order:800,enabled:!0,fn:function(e){if(H(e.instance.modifiers,"hide","preventOverflow")){var t=e.offsets.reference,i=L(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var i=t.x,n=t.y,s=e.offsets.popper,o=L(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var t=void 0===o?t.gpuAcceleration:o,o=p(e.instance.popper),a=_(o),s={position:s.position},r=j(e,window.devicePixelRatio<2||!U),i="bottom"===i?"top":"bottom",n="right"===n?"left":"right",l=M("transform"),c="bottom"==i?"HTML"===o.nodeName?-o.clientHeight+r.bottom:-a.height+r.bottom:r.top,o="right"==n?"HTML"===o.nodeName?-o.clientWidth+r.right:-a.width+r.right:r.left,r=(t&&l?(s[l]="translate3d("+o+"px, "+c+"px, 0)",s[i]=0,s[n]=0,s.willChange="transform"):(a="right"==n?-1:1,s[i]=c*("bottom"==i?-1:1),s[n]=o*a,s.willChange=i+", "+n),{"x-placement":e.placement});return e.attributes=z({},r,e.attributes),e.styles=z({},s,e.styles),e.arrowStyles=z({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return k(e.instance.popper,e.styles),t=e.instance.popper,i=e.attributes,Object.keys(i).forEac
1h(function(e){!1===i[e]?t.removeAttribute(e):t.setAttribute(e,i[e])}),e.arrowElement&&Object.keys(e.arrowStyles).length&&k(e.arrowElement,e.arrowStyles),e;var t,i},onLoad:function(e,t,i,n,s){s=x(s,t,e,i.positionFixed),s=r(i.placement,s,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",s),k(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const n=new Map,D={set(e,t,i){n.has(e)||n.set(e,new Map);e=n.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get(e,t){return n.has(e)&&n.get(e).get(t)||null},remove(e,t){var i;n.has(e)&&((i=n.get(e)).delete(t),0===i.size)&&n.delete(e)}},N=1e3,q="transitionend",R=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,j=e=>{e.dispatchEvent(new Event(q))},o=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,s=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(R(e)):null,a=e=>{if(!o(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){e=e.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return t},r=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),H=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?H(e.parentNode):null:null},Z=()=>{},F=e=>{e.offsetHeight},W=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,V=[],l=()=>"rtl"===document.documentElement.dir;var e=n=>{var e;e=()=>{const e=W();if(e){const t=n.NAME,i=e.fn[t];
1e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}},"loading"===document.readyState?(V.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of V)e()}),V.push(e)):e()};const c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,G=(i,n,e=!0)=>{if(e){e=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);var e=Number.parseFloat(t),n=Number.parseFloat(i);return e||n?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*N):0})(n)+5;let t=!1;const s=({target:e})=>{e===n&&(t=!0,n.removeEventListener(q,s),c(i))};n.addEventListener(q,s),setTimeout(()=>{t||j(n)},e)}else c(i)},Y=(e,t,i,n)=>{var s=e.length;let o=e.indexOf(t);return-1===o?!i&&n?e[s-1]:e[0]:(o+=i?1:-1,n&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},X=/[^.]*(?=\..*)\.|.*/,$=/\..*/,U=/::\d+$/,K={};let J=1;const Q={mouseenter:"mouseover",mouseleave:"mouseout"},ee=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function te(e,t){return t&&t+"::"+J++||e.uidEvent||J++}function ie(e){var t=te(e);return e.uidEvent=t,K[t]=K[t]||{},K[t]}function ne(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function se(e,t,i){var n="string"==typeof t,t=!n&&t||i;let s=re(e);return[n,t,s=ee.has(s)?s:e]}function oe(n,s,o,a,r){if("string"==typeof s&&n){let[e,t,i]=se(s,o,a);s in Q&&(t=(l=t,function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return l.call(this,e)}));var l,c,d,h,u,p,a=ie(n),a=a[i]||(a[i]={}),m=ne(a,t,e?o:null);m?m.oneOff=m.oneOff&&r:(m=te(t,s.replace(X,"")),(s=e?(h=n,u=o,p=t,function t(i){var n=h.querySelectorAll(u);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const s of n)if(s===e)return le(i,{delegateTarget:e}),t.oneOff&&f.off(h,i.type,u,p),p.apply(e,[i])}):(c=n,d=t,function e(t){return le(t,{delegateTarget:c}),e.oneOff&&f.off(c,t.type,d),d.apply(c,[t])})).delegationSelector=e?o:null,s.callable=t,s.oneOff=r,a[s.uidEvent=m]=s,n.addEventListener(i,s,e))}}function ae(e,t,i,n,s){n=ne(t[i],n,s);n&&(e.removeEventListener(i,n,Boolean(s)),delete t[i][n.uidEvent])}function re(e){return e=e.replace($,""),Q[e]||e}const f={on(e,t,i,n){oe(e,t,i,n,!1)},one(e,t,i,n){oe(e,t,i,n,!0)},off(e,t,i,n){if("string"==typeof t&&e){var s,o,[n,a,r]=se(t,i,n),l=r!==t,c=ie(e),d=c[r]||{},h=t.startsWith(".");if(void 0!==a)return Object.keys(d).length?void ae(e,c,r,a,n?i:null):void 0;if(h)for(const b of Object.keys(c)){p=u=_=v=g=f=m=void 0;var u,p,m=e,f=c,g=b,v=t.slice(1),_=f[g]||{};for([u,p]of Object.entries(_))u.includes(v)&&ae(m,f,g,p.callable,p.delegationSelector)}for([s,o]of Object.entries(d)){var y=s.replace(U,"");l&&!t.includes(y)||ae(e,c,r,o.callable,o.delegationSelector)}}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var n=W();let s=null,o=!0,a=!0,r=!1;t!==re(t)&&n&&(s=n.Event(t,i),n(e).trigger(s),o=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),r=s.isDefaultPrevented());n=le(new Event(t,{bubbles:o,cancelable:!0}),i);return r&&n.preventDefault(),a&&e.dispatchEvent(n),n.defaultPrevented&&s&&s.preventDefault(),n}};function le(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get(){return n}})}return t}function ce(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function de(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}const d={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+de(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+de(t))},getDataAttributes(t){if(!t)return{};var i={};for(const n of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=n.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=ce(t.dataset[n])}return i},getDataAttribute(e,t){return ce(e.getAttribute("data-bs-"+de(t)))}};class he{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var i=o(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,n]of Object.entries(t)){var s=e[i],s=o(s)?"element":null==(s=s)?""+s:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${n}".`)}}}class t extends he{constructor(e,t){super(),(e=s(e))&&(this._element=e,this._config=this._getConfig(t),D.set(this._element,this.constructor.DATA_KEY,this))}dispose(){D.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){G(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return D.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}const ue=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?R(e.trim()):null}return i},h={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){var i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(",");return this.find(t,e).filter(e=>!r(e)&&a(e))},getSelectorFromElement(e){e=ue(e);return e&&h.findOne(e)?e:null},getElementFromSelector(e){e=ue(e);return e?h.findOne(e):null},getMultipleElementsFromSelector(e){e=ue(e);return e?h.find(e):[]}};var pe=(t,i="hide")=>{var e="click.dismiss"+t.EVENT_KEY;const n=t.NAME;f.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),r(this)||(e=h.getElementFromSelector(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class me extends t{static get NAME(){return"alert"}close(){var e;f.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),f.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=me.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
1amed "${t}"`);e[t](this)}})}}pe(me,"close"),e(me);const fe='[data-bs-toggle="button"]';class ge extends t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){var e=ge.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}f.on(document,"click.bs.button.data-api",fe,e=>{e.preventDefault();e=e.target.closest(fe);ge.getOrCreateInstance(e).toggle()}),e(ge);const i=".bs.swipe",ve=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),_e={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ye extends he{constructor(e,t){super(),(this._element=e)&&ye.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ve}static get DefaultType(){return _e}static get NAME(){return"swipe"}dispose(){f.off(this._element,i)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){var e=Math.abs(this._deltaX);e<=40||(e=e/this._deltaX,this._deltaX=0,e&&c(0<e?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(f.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),f.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(f.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),f.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),f.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0<navigator.maxTouchPoints}}var u=".bs.carousel";const be="next",p="prev",m="left",we="right",xe="slid"+u;const Ee="carousel",Se="active",Te=".active",Le=".carousel-item";Te,Le;const Ce={ArrowLeft:we,ArrowRight:m},Me={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Pe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ke extends t{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=h.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Ee&&this.cycle()}static get Default(){return Me}static get DefaultType(){return Pe}static get NAME(){return"carousel"}next(){this._slide(be)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(p)}pause(){this._isSliding&&j(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,xe,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?f.one(this._element,xe,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=t<e?be:p,this._slide(t,i[e])))}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&f.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(f.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),f.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&ye.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of h.find(".carousel-item img",this._element))f.on(t,"dragstart.bs.carousel",e=>e.preventDefault());var e={leftCallback:()=>this._slide(this._directionToOrder(m)),rightCallback:()=>this._slide(this._directionToOrder(we)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ye(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Ce[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=h.findOne(Te,this._indicatorsElement)).classList.remove(Se),t.removeAttribute("aria-current"),t=h.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Se),t.setAttribute("aria-current","true"))}_updateInterval(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const n=this._getActive();var i=t===be;const s=e||Y(this._getItems(),n,i,this._config.wrap);if(s!==n){const o=this._getItemIndex(s),a=e=>f.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});e=a("slide.bs.carousel");if(!e.defaultPrevented&&n&&s){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const r=i?"carousel-item-start":"carousel-item-end",l=i?"carousel-item-next":"carousel-item-prev";s.classList.add(l),F(s),n.classList.add(r),s.classList.add(r);this._queueCallback(()=>{s.classList.remove(r,l),s.classList.add(Se),n.classList.remove(Se,l,r),this._isSliding=!1,a(xe)},n,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return h.findOne(".active.carousel-item",this._element)}_getItems(){return h.find(Le,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===m?p:be:e===m?be:p}_orderToDirection(e){return l()?e===p?m:we:e===p?we:m}static jQueryInterface(t){return this.each(function(){var e=ke.getOrCreateInstance(this,t);if("number"==typeof t)e.to(t);else if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}f.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){var t=h.getElementFromSelector(this);t&&t.classList.contains(Ee)&&(e.preventDefault(),e=ke.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{for(const e of h.find('[data-bs-ride="carousel"]'))ke.getOrCreateInstance(e)}),e(ke);const Ae="show",g="collapse",Ie="collapsing",Oe=(g,g,'[data-bs-toggle="collapse"]'),ze={parent:null,toggle:!0},Be={parent:"(null|element)",toggle:"boolean"};class De extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];for(const s of h.find(Oe)){var i=h.getSelectorFromElement(s),n=h.find(i).filter(e=>e===this._element);null!==i&&n.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ze}static get DefaultType(){return Be}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];
1if(!(e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>De.getOrCreateInstance(e,{toggle:!1})):e).length||!e[0]._isTransitioning){var t=f.trigger(this._element,"show.bs.collapse");if(!t.defaultPrevented){for(const n of e)n.hide();const i=this._getDimension();this._element.classList.remove(g),this._element.classList.add(Ie),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;t="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(g,Ae),this._element.style[i]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[t]+"px"}}}}hide(){if(!this._isTransitioning&&this._isShown()){var e=f.trigger(this._element,"hide.bs.collapse");if(!e.defaultPrevented){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",F(this._element),this._element.classList.add(Ie),this._element.classList.remove(g,Ae);for(const i of this._triggerArray){var t=h.getElementFromSelector(i);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(g),f.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(e=this._element){return e.classList.contains(Ae)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=s(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent)for(const t of this._getFirstLevelChildren(Oe)){var e=h.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=h.find(":scope .collapse .collapse",this._config.parent);return h.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){const i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=De.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.collapse.data-api",Oe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of h.getMultipleElementsFromSelector(this))De.getOrCreateInstance(t,{toggle:!1}).toggle()}),e(De);var C="top",M="bottom",P="right",k="left",Ne="auto",A=[C,M,P,k],I="start",qe="end",Re="clippingParents",je="viewport",He="popper",Ze="reference",Fe=A.reduce(function(e,t){return e.concat([t+"-"+I,t+"-"+qe])},[]),We=[].concat(A,[Ne]).reduce(function(e,t){return e.concat([t,t+"-"+I,t+"-"+qe])},[]),u="beforeRead",Ve="afterRead",Ge="beforeMain",Ye="afterMain",Xe="beforeWrite",$e="afterWrite",Ue=[u,"read",Ve,Ge,"main",Ye,Xe,"write",$e];function v(e){return e?(e.nodeName||"").toLowerCase():null}function y(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function _(e){return e instanceof y(e).Element||e instanceof Element}function b(e){return e instanceof y(e).HTMLElement||e instanceof HTMLElement}function Ke(e){return"undefined"!=typeof ShadowRoot&&(e instanceof y(e).ShadowRoot||e instanceof ShadowRoot)}var Je={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var s=e.state;Object.keys(s.elements).forEach(function(e){var t=s.styles[e]||{},i=s.attributes[e]||{},n=s.elements[e];
1b(n)&&v(n)&&(Object.assign(n.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var n=e.state,s={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,s.popper),n.styles=s,n.elements.arrow&&Object.assign(n.elements.arrow.style,s.arrow),function(){Object.keys(n.elements).forEach(function(e){var t=n.elements[e],i=n.attributes[e]||{},e=Object.keys((n.styles.hasOwnProperty(e)?n.styles:s)[e]).reduce(function(e,t){return e[t]="",e},{});b(t)&&v(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function O(e){return e.split("-")[0]}var L=Math.max,Qe=Math.min,et=Math.round;function tt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function it(){return!/^((?!chrome|android).)*safari/i.test(tt())}function nt(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,o=1;t&&b(e)&&(s=0<e.offsetWidth&&et(n.width)/e.offsetWidth||1,o=0<e.offsetHeight&&et(n.height)/e.offsetHeight||1);t=(_(e)?y(e):window).visualViewport,e=!it()&&i,i=(n.left+(e&&t?t.offsetLeft:0))/s,e=(n.top+(e&&t?t.offsetTop:0))/o,t=n.width/s,s=n.height/o;return{width:t,height:s,top:e,right:i+t,bottom:e+s,left:i,x:i,y:e}}function st(e){var t=nt(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function ot(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Ke(i)){var n=t;do{if(n&&e.isSameNode(n))return!0}while(n=n.parentNode||n.host)}return!1}function w(e){return y(e).getComputedStyle(e)}function x(e){return((_(e)?e.ownerDocument:e.document)||window.document).documentElement}function at(e){return"html"===v(e)?e:e.assignedSlot||e.parentNode||(Ke(e)?e.host:null)||x(e)}function rt(e){return b(e)&&"fixed"!==w(e).position?e.offsetParent:null}function lt(e){for(var t,i=y(e),n=rt(e);n&&(t=n,0<=["table","td","th"].indexOf(v(t)))&&"static"===w(n).position;)n=rt(n);return(!n||"html"!==v(n)&&("body"!==v(n)||"static"!==w(n).position))&&(n||function(e){var t=/firefox/i.test(tt()),i=/Trident/i.test(tt());if(!i||!b(e)||"fixed"!==w(e).position){var n=at(e);for(Ke(n)&&(n=n.host);b(n)&&["html","body"].indexOf(v(n))<0;){var s=w(n);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return n;n=n.parentNode}}return null}(e))||i}function ct(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function dt(e,t,i){return L(e,Qe(t,i))}function ht(){return{top:0,right:0,bottom:0,left:0}}function ut(e){return Object.assign({},ht(),e)}function pt(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}var mt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,n,s,o=e.state,a=e.name,e=e.options,r=o.elements.arrow,l=o.modifiersData.popperOffsets,c=ct(d=O(o.placement)),d=0<=[k,P].indexOf(d)?"height":"width";r&&l&&(e=e.padding,i=o,i=ut("number"!=typeof(e="function"==typeof e?e(Object.assign({},i.rects,{placement:i.placement})):e)?e:pt(e,A)),e=st(r),s="y"===c?C:k,n="y"===c?M:P,t=o.rects.reference[d]+o.rects.reference[c]-l[c]-o.rects.popper[d],l=l[c]-o.rects.reference[c],r=(r=lt(r))?"y"===c?r.clientHeight||0:r.clientWidth||0:0,s=i[s],i=r-e[d]-i[n],s=dt(s,n=r/2-e[d]/2+(t/2-l/2),i),o.modifiersData[a]=((r={})[c]=s,r.centerOffset=s-n,r))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&ot(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ft(e){return e.split("-")[1]}var gt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vt(e){var t,i=e.popper,n=e.popperRect,s=e.placement,o=e.variation,a=e.offsets,r=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,e=e.isFixed,h=a.x,h=void 0===h?0:h,u=a.y,u=void 0===u?0:u,p="function"==typeof d?d({x:
1h,y:u}):{x:h,y:u},p=(h=p.x,u=p.y,a.hasOwnProperty("x")),a=a.hasOwnProperty("y"),m=k,f=C,g=window,v=(c&&(v="clientHeight",t="clientWidth",(_=lt(i))===y(i)&&"static"!==w(_=x(i)).position&&"absolute"===r&&(v="scrollHeight",t="scrollWidth"),s!==C&&(s!==k&&s!==P||o!==qe)||(f=M,u=(u-((e&&_===g&&g.visualViewport?g.visualViewport.height:_[v])-n.height))*(l?1:-1)),s!==k&&(s!==C&&s!==M||o!==qe)||(m=P,h=(h-((e&&_===g&&g.visualViewport?g.visualViewport.width:_[t])-n.width))*(l?1:-1))),Object.assign({position:r},c&&gt)),_=!0===d?(s={x:h,y:u},o=y(i),e=s.x,s=s.y,o=o.devicePixelRatio||1,{x:et(e*o)/o||0,y:et(s*o)/o||0}):{x:h,y:u};return h=_.x,u=_.y,l?Object.assign({},v,((t={})[f]=a?"0":"",t[m]=p?"0":"",t.transform=(g.devicePixelRatio||1)<=1?"translate("+h+"px, "+u+"px)":"translate3d("+h+"px, "+u+"px, 0)",t)):Object.assign({},v,((n={})[f]=a?u+"px":"",n[m]=p?h+"px":"",n.transform="",n))}var _t={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,i=void 0===(i=e.gpuAcceleration)||i,n=void 0===(n=e.adaptive)||n,e=void 0===(e=e.roundOffsets)||e,i={placement:O(t.placement),variation:ft(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,vt(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,vt(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},yt={passive:!0};var bt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=(e=e.options).scroll,s=void 0===n||n,o=void 0===(n=e.resize)||n,a=y(t.elements.popper),r=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&r.forEach(function(e){e.addEventListener("scroll",i.update,yt)}),o&&a.addEventListener("resize",i.update,yt),function(){s&&r.forEach(function(e){e.removeEventListener("scroll",i.update,yt)}),o&&a.removeEventListener("resize",i.update,yt)}},data:{}},wt={left:"right",right:"left",bottom:"top",top:"bottom"};function xt(e){return e.replace(/left|right|bottom|top/g,function(e){return wt[e]})}var Et={start:"end",end:"start"};function St(e){return e.replace(/start|end/g,function(e){return Et[e]})}function Tt(e){e=y(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Lt(e){return nt(x(e)).left+Tt(e).scrollLeft}function Ct(e){var e=w(e),t=e.overflow,i=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+i)}function Mt(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(v(t))?t.ownerDocument.body:b(t)&&Ct(t)?t:e(at(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),n=y(i),n=e?[n].concat(n.visualViewport||[],Ct(i)?i:[]):i,i=t.concat(n);return e?i:i.concat(Mt(at(n)))}function Pt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function kt(e,t,i){return t===je?Pt((s=i,a=y(n=e),r=x(n),a=a.visualViewport,l=r.clientWidth,r=r.clientHeight,d=c=0,a&&(l=a.width,r=a.height,(o=it())||!o&&"fixed"===s)&&(c=a.offsetLeft,d=a.offsetTop),{width:l,height:r,x:c+Lt(n),y:d})):_(t)?((s=nt(o=t,!1,"fixed"===(s=i))).top=s.top+o.clientTop,s.left=s.left+o.clientLeft,s.bottom=s.top+o.clientHeight,s.right=s.left+o.clientWidth,s.width=o.clientWidth,s.height=o.clientHeight,s.x=s.left,s.y=s.top,s):Pt((a=x(e),l=x(a),r=Tt(a),c=null==(c=a.ownerDocument)?void 0:c.body,n=L(l.scrollWidth,l.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=L(l.scrollHeight,l.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),a=-r.scrollLeft+Lt(a),r=-r.scrollTop,"rtl"===w(c||l).direction&&(a+=L(l.clientWidth,c?c.clientWidth:0)-n),{width:n,height:d,x:a,y:r}));var n,s,o,a,r,l,c,d}function At(i,e,t,n){var s,o="clippingParents"===e?(a=Mt(at(o=i)),_(s=0<=["absolute","fixed"].indexOf(w(o).position)&&b(o)?lt(o):o)?a.filter(function(e){return _(e)&&ot(e,s)&&"body"!==v(e)}):[]):[].concat(e),a=[].concat(o,[t]),e=a[0],t=a.reduce(function(e,t){t=kt(i,t,n);return e.top=L(t.top,e.top),e.right=Qe(t.right,e.right),e.bottom=Qe(t.bottom,e.bottom),e.left=L(t.left,e.left),e}
1,kt(i,e,n));return t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}function It(e){var t,i=e.reference,n=e.element,e=e.placement,s=e?O(e):null,e=e?ft(e):null,o=i.x+i.width/2-n.width/2,a=i.y+i.height/2-n.height/2;switch(s){case C:t={x:o,y:i.y-n.height};break;case M:t={x:o,y:i.y+i.height};break;case P:t={x:i.x+i.width,y:a};break;case k:t={x:i.x-n.width,y:a};break;default:t={x:i.x,y:i.y}}var r=s?ct(s):null;if(null!=r){var l="y"===r?"height":"width";switch(e){case I:t[r]=t[r]-(i[l]/2-n[l]/2);break;case qe:t[r]=t[r]+(i[l]/2-n[l]/2)}}return t}function Ot(e,t){var n,t=t=void 0===t?{}:t,i=t.placement,i=void 0===i?e.placement:i,s=t.strategy,s=void 0===s?e.strategy:s,o=t.boundary,o=void 0===o?Re:o,a=t.rootBoundary,a=void 0===a?je:a,r=t.elementContext,r=void 0===r?He:r,l=t.altBoundary,l=void 0!==l&&l,t=t.padding,t=void 0===t?0:t,t=ut("number"!=typeof t?t:pt(t,A)),c=e.rects.popper,l=e.elements[l?r===He?Ze:He:r],l=At(_(l)?l:l.contextElement||x(e.elements.popper),o,a,s),o=nt(e.elements.reference),a=It({reference:o,element:c,strategy:"absolute",placement:i}),s=Pt(Object.assign({},c,a)),c=r===He?s:o,d={top:l.top-c.top+t.top,bottom:c.bottom-l.bottom+t.bottom,left:l.left-c.left+t.left,right:c.right-l.right+t.right},a=e.modifiersData.offset;return r===He&&a&&(n=a[i],Object.keys(d).forEach(function(e){var t=0<=[P,M].indexOf(e)?1:-1,i=0<=[C,M].indexOf(e)?"y":"x";d[e]+=n[i]*t})),d}var zt={name:"flip",enabled:!0,phase:"main",fn:function(e){var h=e.state,t=e.options,e=e.name;if(!h.modifiersData[e]._skip){for(var i=t.mainAxis,n=void 0===i||i,i=t.altAxis,s=void 0===i||i,i=t.fallbackPlacements,u=t.padding,p=t.boundary,m=t.rootBoundary,o=t.altBoundary,a=t.flipVariations,f=void 0===a||a,g=t.allowedAutoPlacements,a=h.options.placement,t=O(a),i=i||(t===a||!f?[xt(a)]:O(i=a)===Ne?[]:(t=xt(i),[St(i),t,St(t)])),r=[a].concat(i).reduce(function(e,t){return e.concat(O(t)===Ne?(i=h,n=(e=e=void 0===(e={placement:t,boundary:p,rootBoundary:m,padding:u,flipVariations:f,allowedAutoPlacements:g})?{}:e).placement,s=e.boundary,o=e.rootBoundary,a=e.padding,r=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?We:e,c=ft(n),e=c?r?Fe:Fe.filter(function(e){return ft(e)===c}):A,d=(n=0===(n=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:n).reduce(function(e,t){return e[t]=Ot(i,{placement:t,boundary:s,rootBoundary:o,padding:a})[O(t)],e},{}),Object.keys(d).sort(function(e,t){return d[e]-d[t]})):t);var i,n,s,o,a,r,l,c,d},[]),l=h.rects.reference,c=h.rects.popper,d=new Map,v=!0,_=r[0],y=0;y<r.length;y++){var b=r[y],w=O(b),x=ft(b)===I,E=0<=[C,M].indexOf(w),S=E?"width":"height",T=Ot(h,{placement:b,boundary:p,rootBoundary:m,altBoundary:o,padding:u}),E=E?x?P:k:x?M:C,x=(l[S]>c[S]&&(E=xt(E)),xt(E)),S=[];if(n&&S.push(T[w]<=0),s&&S.push(T[E]<=0,T[x]<=0),S.every(function(e){return e})){_=b,v=!1;break}d.set(b,S)}if(v)for(var L=f?3:1;0<L;L--)if("break"===function(t){var e=r.find(function(e){e=d.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return _=e,"break"}(L))break;h.placement!==_&&(h.modifiersData[e]._skip=!0,h.placement=_,h.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Bt(e,t,i){return{top:e.top-t.height-(i=void 0===i?{x:0,y:0}:i).y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Dt(t){return[C,P,M,k].some(function(e){return 0<=t[e]})}var Nt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,i=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,o=Ot(t,{elementContext:"reference"}),a=Ot(t,{altBoundary:!0}),o=Bt(o,i),i=Bt(a,n,s),a=Dt(o),n=Dt(i);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:i,isReferenceHidden:a,hasPopperEscaped:n},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":n})}};var qt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,e=e.name,r=void 0===(t=t.offset)?[0,0]:t,t=We.reduce(function(e,t){var i,n,s,o;return e[t]=(t=t,i=a.rects,n=r,s=O(t),o=0<=[k,C].indexOf(s)?-1:1,t=(i="function"==typeof n?n(Object.assign({},i,{placement:t}
1)):n)[0]||0,n=(i[1]||0)*o,0<=[k,P].indexOf(s)?{x:n,y:t}:{x:t,y:n}),e},{}),i=(n=t[a.placement]).x,n=n.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=i,a.modifiersData.popperOffsets.y+=n),a.modifiersData[e]=t}};var Rt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=It({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var jt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,n,s,o,a,r,l,c,d=e.state,h=e.options,e=e.name,u=void 0===(u=h.mainAxis)||u,p=void 0!==(p=h.altAxis)&&p,m=h.boundary,f=h.rootBoundary,g=h.altBoundary,v=h.padding,_=void 0===(_=h.tether)||_,h=void 0===(h=h.tetherOffset)?0:h,m=Ot(d,{boundary:m,rootBoundary:f,padding:v,altBoundary:g}),f=O(d.placement),g=!(v=ft(d.placement)),y=ct(f),b="x"===y?"y":"x",w=d.modifiersData.popperOffsets,x=d.rects.reference,E=d.rects.popper,h="number"==typeof(h="function"==typeof h?h(Object.assign({},d.rects,{placement:d.placement})):h)?{mainAxis:h,altAxis:h}:Object.assign({mainAxis:0,altAxis:0},h),S=d.modifiersData.offset?d.modifiersData.offset[d.placement]:null,T={x:0,y:0};w&&(u&&(u="y"===y?"height":"width",a=(r=w[y])+m[i="y"===y?C:k],l=r-m[c="y"===y?M:P],t=_?-E[u]/2:0,s=(v===I?x:E)[u],v=v===I?-E[u]:-x[u],o=d.elements.arrow,o=_&&o?st(o):{width:0,height:0},i=(n=d.modifiersData["arrow#persistent"]?d.modifiersData["arrow#persistent"].padding:ht())[i],n=n[c],c=dt(0,x[u],o[u]),o=g?x[u]/2-t-c-i-h.mainAxis:s-c-i-h.mainAxis,s=g?-x[u]/2+t+c+n+h.mainAxis:v+c+n+h.mainAxis,g=(i=d.elements.arrow&&lt(d.elements.arrow))?"y"===y?i.clientTop||0:i.clientLeft||0:0,v=r+s-(t=null!=(u=null==S?void 0:S[y])?u:0),c=dt(_?Qe(a,r+o-t-g):a,r,_?L(l,v):l),w[y]=c,T[y]=c-r),p&&(n="y"==b?"height":"width",s=(i=w[b])+m["x"===y?C:k],u=i-m["x"===y?M:P],o=-1!==[C,k].indexOf(f),g=null!=(t=null==S?void 0:S[b])?t:0,a=o?s:i-x[n]-E[n]-g+h.altAxis,v=o?i+x[n]+E[n]-g-h.altAxis:u,r=_&&o?(l=dt(l=a,i,c=v),c<l?c:l):dt(_?a:s,i,_?v:u),w[b]=r,T[b]=r-i),d.modifiersData[e]=T)},requiresIfExists:["offset"]};function Ht(e,t,i){void 0===i&&(i=!1);var n=b(t),s=b(t)&&(a=(s=t).getBoundingClientRect(),o=et(a.width)/s.offsetWidth||1,a=et(a.height)/s.offsetHeight||1,1!==o||1!==a),o=x(t),a=nt(e,s,i),e={scrollLeft:0,scrollTop:0},r={x:0,y:0};return!n&&i||("body"===v(t)&&!Ct(o)||(e=(n=t)!==y(n)&&b(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:Tt(n)),b(t)?((r=nt(t,!0)).x+=t.clientLeft,r.y+=t.clientTop):o&&(r.x=Lt(o))),{x:a.left+e.scrollLeft-r.x,y:a.top+e.scrollTop-r.y,width:a.width,height:a.height}}function Zt(e){var i=new Map,n=new Set,s=[];return e.forEach(function(e){i.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||!function t(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){n.has(e)||(e=i.get(e))&&t(e)}),s.push(e)}(e)}),s}var Ft={placement:"bottom",modifiers:[],strategy:"absolute"};function Wt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Vt(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,h=void 0===t?[]:t,t=e.defaultOptions,u=void 0===t?Ft:t;return function(n,s,t){void 0===t&&(t=u);var i,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ft,u),modifiersData:{},elements:{reference:n,popper:s},attributes:{},styles:{}},r=[],l=!1,c={state:a,setOptions:function(e){var i,t,e="function"==typeof e?e(a.options):e,e=(d(),a.options=Object.assign({},u,a.options,e),a.scrollParents={reference:_(n)?Mt(n):n.contextElement?Mt(n.contextElement):[],popper:Mt(s)},e=[].concat(h,a.options.modifiers),t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),e=Object.keys(t).map(function(e){return t[e]}),i=Zt(e),Ue.reduce(function(e,t){return e.concat(i.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=e.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,e=e.effect;"function"==typeof e&&(e=e({state:a,name:t,instance:c,options:void 0===i?{}:i}),r.push(e||function(){}))}),c.update()}
1,forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,e=e.popper;if(Wt(t,e)){a.rects={reference:Ht(t,lt(e),"fixed"===a.options.strategy),popper:st(e)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var i,n,s,o=0;o<a.orderedModifiers.length;o++)!0===a.reset?(a.reset=!1,o=-1):(i=(s=a.orderedModifiers[o]).fn,n=s.options,s=s.name,"function"==typeof i&&(a=i({state:a,options:void 0===n?{}:n,name:s,instance:c})||a))}}},update:(i=function(){return new Promise(function(e){c.forceUpdate(),e(a)})},function(){return o=o||new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(i())})})}),destroy:function(){d(),l=!0}};return Wt(n,s)&&c.setOptions(t).then(function(e){!l&&t.onFirstUpdate&&t.onFirstUpdate(e)}),c;function d(){r.forEach(function(e){return e()}),r=[]}}}var Gt=Vt({defaultModifiers:[bt,Rt,_t,Je,qt,zt,jt,mt,Nt]});const Yt=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ye,afterRead:Ve,afterWrite:$e,applyStyles:Je,arrow:mt,auto:Ne,basePlacements:A,beforeMain:Ge,beforeRead:u,beforeWrite:Xe,bottom:M,clippingParents:Re,computeStyles:_t,createPopper:Gt,createPopperBase:Vt(),createPopperLite:Vt({defaultModifiers:[bt,Rt,_t,Je]}),detectOverflow:Ot,end:qe,eventListeners:bt,flip:zt,hide:Nt,left:k,main:"main",modifierPhases:Ue,offset:qt,placements:We,popper:He,popperGenerator:Vt,popperOffsets:Rt,preventOverflow:jt,read:"read",reference:Ze,right:P,start:I,top:C,variationPlacements:Fe,viewport:je,write:"write"},Symbol.toStringTag,{value:"Module"})),Xt="dropdown";Ye=".bs.dropdown",Ve=".data-api";const $t="ArrowDown";$e="click"+Ye+Ve,mt="keydown"+Ye+Ve;const Ut="show",E='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Kt=(E,".dropdown-menu"),Jt=l()?"top-end":"top-start",Qt=l()?"top-start":"top-end",ei=l()?"bottom-end":"bottom-start",ti=l()?"bottom-start":"bottom-end",ii=l()?"left-start":"right-start",ni=l()?"right-start":"left-start",si={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},oi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class S extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=h.next(this._element,Kt)[0]||h.prev(this._element,Kt)[0]||h.findOne(Kt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return si}static get DefaultType(){return oi}static get NAME(){return Xt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!r(this._element)&&!this._isShown()){var e={relatedTarget:this._element},t=f.trigger(this._element,"show.bs.dropdown",e);if(!t.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(const i of[].concat(...document.body.children))f.on(i,"mouseover",Z);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ut),this._element.classList.add(Ut),f.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!r(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){var t=f.trigger(this._element,"hide.bs.dropdown",e);if(!t.defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))f.off(i,"mouseover",Z);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ut),this._element.classList.remove(Ut),this._element.setAttribute("aria-expanded","false"),d.removeDataAttribute(this._menu,"popper"),f.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"!=typeof(e=super._getConfig(e)).reference||o(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError(Xt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===Yt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=s(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=Gt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Ut)}_getPlacement(){var e,t=this._parent;return t.classList.contains("dropend")?ii:t.classList.contains("dropstart")?ni:t.classList.contains("dropup-center")?"top":t.classList.contains("dropdown-center")?"bottom":(e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),t.classList.contains("dropup")?e?Qt:Jt:e?ti:ei)}
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=h.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>a(e));i.length&&Y(i,t,e===$t,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=S.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(const s of h.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var t,i,n=S.getInstance(s);n&&!1!==n._config.autoClose&&(t=(i=e.composedPath()).includes(n._menu),i.includes(n._element)||"inside"===n._config.autoClose&&!t||"outside"===n._config.autoClose&&t||n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:n._element},"click"===e.type&&(i.clickEvent=e),n._completeHide(i)))}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=["ArrowUp",$t].includes(e.key);!n&&!i||t&&!i||(e.preventDefault(),t=this.matches(E)?this:h.prev(this,E)[0]||h.next(this,E)[0]||h.findOne(E,e.delegateTarget.parentNode),i=S.getOrCreateInstance(t),n?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}f.on(document,mt,E,S.dataApiKeydownHandler),f.on(document,mt,Kt,S.dataApiKeydownHandler),f.on(document,$e,S.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",S.clearMenus),f.on(document,$e,E,function(e){e.preventDefault(),S.getOrCreateInstance(this).toggle()}),e(S);const ai="backdrop",ri="mousedown.bs."+ai,li={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ci={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class di extends he{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return li}static get DefaultType(){return ci}static get NAME(){return ai}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&F(t),t.classList.add("show"),this._emulateAnimation(()=>{c(e)})):c(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(e)})):c(e)}dispose(){this._isAppended&&(f.off(this._element,ri),this._element.remove(),this._isAppended=!1)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_configAfterMerge(e){return e.rootElement=s(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),f.on(e,ri,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){G(e,this._getElement(),this._config.isAnimated)}}const hi=".bs.focustrap",ui=(hi,hi,"backward"),pi={autofocus:!0,trapElement:null},mi={autofocus:"boolean",trapElement:"element"};class fi extends he{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return pi}static get DefaultType(){return mi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,hi),f.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),f.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,hi))}_handleFocusin(e){var t=this._config["trapElement"];e.target===document||e.target===t||t.contains(e.target)||(0===(e=h.focusableChildren(t)).length?t:this._lastTabNavDirection===ui?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ui:"forward")}}const gi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vi=".sticky-top",_i="padding-right",yi="margin-right";class bi{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,_i,e=>e+t),this._setElementAttributes(gi,_i,e=>e+t),this._setElementAttributes(vi,yi,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,_i),this._resetElementAttributes(gi,_i),this._resetElementAttributes(vi,yi)}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,n){const s=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+s||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,n(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&d.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=d.getDataAttribute(e,i);null===t?e.style.removeProperty(i):(d.removeDataAttribute(e,i),e.style.setProperty(i,t))})}
1_applyManipulationCallback(e,t){if(o(e))t(e);else for(const i of h.find(e,this._element))t(i)}}const T=".bs.modal";T,T;const wi="hidden"+T,xi="show"+T;T,T,T,T,T;T;const Ei="modal-open",Si="modal-static";const Ti={backdrop:!0,focus:!0,keyboard:!0},Li={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ci extends t{constructor(e,t){super(e,t),this._dialog=h.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new bi,this._addEventListeners()}static get Default(){return Ti}static get DefaultType(){return Li}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||f.trigger(this._element,xi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ei),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||f.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){f.off(window,T),f.off(this._dialog,T),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new di({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fi({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var t=h.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),F(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),f.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,"mousedown.dismiss.bs.modal",t=>{f.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.target&&("static"===this._config.backdrop?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ei),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,wi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var e=f.trigger(this._element,"hidePrevented.bs.modal");if(!e.defaultPrevented){e=this._element.scrollHeight>document.documentElement.clientHeight;const t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Si)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Si),this._queueCallback(()=>{this._element.classList.remove(Si),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var e,t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),n=0<i;n&&!t&&(e=l()?"paddingLeft":"paddingRight",this._element.style[e]=i+"px"),!n&&t&&(e=l()?"paddingRight":"paddingLeft",this._element.style[e]=i+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){var e=Ci.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t](i)}})}}f.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=h.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),f.one(t,xi,e=>{e.defaultPrevented||f.one(t,wi,()=>{a(this)&&this.focus()})});e=h.findOne(".modal.show");e&&Ci.getInstance(e).hide(),Ci.getOrCreateInstance(t).toggle(this)}),pe(Ci),e(Ci);Ge=".bs.offcanvas";const Mi="showing",Pi=".offcanvas.show",ki="hidePrevented"+Ge,Ai="hidden"+Ge;const Ii={backdrop:!0,keyboard:!0,scroll:!1},Oi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class z extends t{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ii}static get DefaultType(){return Oi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||f.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new bi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mi),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Mi),f.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!f.trigger(this._element,"hide.bs.offcanvas").defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new bi).reset(),f.trigger(this._element,Ai)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new di({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"===this._config.backdrop?f.trigger(this._element,ki):this.hide()}:null})}_initializeFocusTrap(){return new fi({trapElement:this._element})}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():f.trigger(this._element,ki))})}static jQueryInterface(t){return this.each(function(){var e=z.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}f.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=h.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),r(this)||(f.one(t,Ai,()=>{a(this)&&this.focus()}),(e=h.findOne(Pi))&&e!==t&&z.getInstance(e).hide(),z.getOrCreateInstance(t).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of h.find(Pi))z.getOrCreateInstance(e).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(const e of h.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&z.getOrCreateInstance(e).hide()}),pe(z),e(z);u={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};const zi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Bi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;function Di(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);i=(new window.DOMParser).parseFromString(e,"text/html");for(const a of[].concat(...i.body.querySelectorAll("*"))){var n=a.nodeName.toLowerCase();if(Object.keys(t).includes(n)){var s=[].concat(...a.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const r of s)((e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!zi.has(i)||Boolean(Bi.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(r,o)||a.removeAttribute(r.nodeName)}else a.remove()}return i.body.innerHTML}const Ni={allowList:u,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},qi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ri={entry:"(string|element|function|null)",selector:"(string|element)"};class ji extends he{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ni}static get DefaultType(){return qi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>
1this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){var e,t,i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for([e,t]of Object.entries(this._config.content))this._setContent(i,t,e);var n=i.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(var[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},Ri)}_setContent(e,t,i){i=h.findOne(i,e);i&&((t=this._resolvePossibleFunction(t))?o(t)?this._putElementInTemplate(s(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?Di(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return c(e,[this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}const Hi=new Set(["sanitize","allowList","sanitizeFn"]),Zi="fade";const Fi="show",Wi="hide.bs.modal",Vi="hover",Gi="focus",Yi={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Xi={allowList:u,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},$i={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Ui extends t{constructor(e,t){if(void 0===Yt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Xi}static get DefaultType(){return $i}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),f.off(this._element.closest(".modal"),Wi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var e=f.trigger(this._element,this.constructor.eventName("show")),t=(H(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();e=this._getTipElement(),t=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(Fi),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))f.on(i,"mouseover",Z);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}
1hide(){if(this._isShown()){var e=f.trigger(this._element,this.constructor.eventName("hide"));if(!e.defaultPrevented){if(this._getTipElement().classList.remove(Fi),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))f.off(t,"mouseover",Z);this._activeTrigger.click=!1,this._activeTrigger[Gi]=!1,this._activeTrigger[Vi]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove(Zi,Fi),e.classList.add(`bs-${this.constructor.NAME}-auto`);var t=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add(Zi),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ji({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zi)}_isShown(){return this.tip&&this.tip.classList.contains(Fi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Yi[t.toUpperCase()];return Gt(this._element,e,this._getPopperConfig(t))}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return c(e,[this._element])}_getPopperConfig(e){e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,...c(this._config.popperConfig,[e])}}_setListeners(){var e,t;for(const i of this._config.trigger.split(" "))"click"===i?f.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()}):"manual"!==i&&(e=i===Vi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),t=i===Vi?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),f.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Gi:Vi]=!0,t._enter()}),f.on(this._element,t,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Gi:Vi]=t._element.contains(e.relatedTarget),t._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),Wi,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){var t=d.getDataAttributes(this._element);for(const i of Object.keys(t))Hi.has(i)&&delete t[i];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:s(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){var e,t,i={};for([e,t]of Object.entries(this._config))this.constructor.Default[e]!==t&&(i[e]=t);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){var e=Ui.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}e(Ui);const Ki={...Ui.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Ji={...Ui.DefaultType,content:"(null|string|element|function)"};class Qi extends Ui{static get Default(){return Ki}static get DefaultType(){return Ji}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){var e=Qi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Qi);Xe=".bs.scrollspy";const en="click"+Xe;const tn="active",nn="[href]";const sn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},on={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class an extends t{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return sn}static get DefaultType(){return on}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=s(e.target)||document.body,e.rootMargin=e.offset?e.offset+"px 0px -30%":e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,en),f.on(this._config.target,en,nn,e=>{var t=this._observableSections.get(e.target.hash);t&&(e.preventDefault(),e=this._rootElement||window,t=t.offsetTop-this._element.offsetTop,e.scrollTo?e.scrollTo({top:t,behavior:"smooth"}):e.scrollTop=t)}))}_getNewObserver(){var e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#"+e.target.id);var i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const a of e)if(a.isIntersecting){var o=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&o){if(i(a),n)continue;return}s||o||i(a)}else this._activeTarget=null,this._clearActiveClass(t(a))}_initializeTargetsAndObservables(){var e;this._targetLinks=new Map,this._observableSections=new Map;for(const t of h.find(nn,this._config.target))t.hash&&!r(t)&&(e=h.findOne(decodeURI(t.hash),this._element),a(e))&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(tn),this._activateParents(e),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))h.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(tn);else for(const t of h.parents(e,".nav, .list-group"))for(const i of h.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))i.classList.add(tn)}_clearActiveClass(e){e.classList.remove(tn);for(const t of h.find(nn+"."+tn,e))t.classList.remove(tn)}static jQueryInterface(t){return this.each(function(){var e=an.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}f.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of h.find('[data-bs-spy="scroll"]'))an.getOrCreateInstance(e)}),e(an);const rn="ArrowRight",ln="ArrowDown",cn="Home",B="active",dn="show",hn=".dropdown-toggle";hn;_t='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const un='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+_t;B,B,B;class pn extends t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){var e,t,i=this._element;this._elemIsActive(i)||(t=(e=this._getActiveElem())?f.trigger(e,"hide.bs.tab",{relatedTarget:i}):null,f.trigger(i,"show.bs.tab",{relatedTarget:e}).defaultPrevented)||t&&t.defaultPrevented||(this._deactivate(e,i),this._activate(i,e))}_activate(e,t){e&&(e.classList.add(B),this._activate(h.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.add(dn):(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),f.trigger(e,"shown.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(B),e.blur(),this._deactivate(h.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.remove(dn):(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),f.trigger(e,"hidden.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",rn,"ArrowUp",ln,cn,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,n=this._getChildren().filter(e=>!r(e));let e;(e=[cn,"End"].includes(t.key)?n[t.key===cn?0:n.length-1]:(i=[rn,ln].includes(t.key),Y(n,t.target,i,!0)))&&(e.focus({preventScroll:!0}),pn.getOrCreateInstance(e).show())}}_getChildren(){return h.find(un,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const i of t)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){var t=h.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){const n=this._getOuterElement(e);n.classList.contains("dropdown")&&((e=(e,t)=>{e=h.findOne(e,n);e&&e.classList.toggle(t,i)})(hn,B),e(".dropdown-menu",dn),n.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(B)}_getInnerElement(e){return e.matches(un)?e:h.findOne(un,e)}
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=pn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.tab",_t,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),r(this)||pn.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(const e of h.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))pn.getOrCreateInstance(e)}),e(pn);const mn="show",fn="showing",gn={animation:"boolean",autohide:"boolean",delay:"number"},vn={animation:!0,autohide:!0,delay:5e3};class _n extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return vn}static get DefaultType(){return gn}static get NAME(){return"toast"}show(){f.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),F(this._element),this._element.classList.add(mn,fn),this._queueCallback(()=>{this._element.classList.remove(fn),f.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!f.trigger(this._element,"hide.bs.toast").defaultPrevented&&(this._element.classList.add(fn),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(fn,mn),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(mn),super.dispose()}isShown(){return this._element.classList.contains(mn)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){f.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),f.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),f.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),f.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){var e=_n.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return pe(_n),e(_n),{Alert:me,Button:ge,Carousel:ke,Collapse:De,Dropdown:S,Modal:Ci,Offcanvas:z,Popover:Qi,ScrollSpy:an,Tab:pn,Toast:_n,Tooltip:Ui}}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,function(){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(t,i){void 0===t&&(t={}),void 0===i&&(i={}
vendor: 5,719 bytes, line 1
1),Object.keys(i).forEach(e=>{void 0===t[e]?t[e]=i[e]:n(i[e])&&n(t[e])&&0<Object.keys(i[e]).length&&s(t[e],i[e])})}const t={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function M(){var e="undefined"!=typeof document?document:{};return s(e,t),e}const b={document:t,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function P(){var e="undefined"!=typeof window?window:{};return s(e,b),e}function S(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function v(){return Date.now()}function k(e,t){void 0===t&&(t="x");var i=P();let n,s,o;e=function(e){var t=P();let i;return i=(i=!(i=t.getComputedStyle?t.getComputedStyle(e,null):i)&&e.currentStyle?e.currentStyle:i)||e.style}(e);return i.WebKitCSSMatrix?(6<(s=e.transform||e.webkitTransform).split(",").length&&(s=s.split(", ").map(e=>e.replace(",",".")).join(", ")),o=new i.WebKitCSSMatrix("none"===s?"":s)):(o=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===t&&(s=i.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),(s="y"===t?i.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5]):s)||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(e){const i=Object(arguments.length<=0?void 0:e),t=["__proto__","constructor","prototype"];for(let e=1;e<arguments.length;e+=1){var n=e<0||arguments.length<=e?void 0:arguments[e];if(null!=n&&(r=n,!("undefined"!=typeof window&&void 0!==window.HTMLElement?r instanceof HTMLElement:r&&(1===r.nodeType||11===r.nodeType)))){var s=Object.keys(Object(n)).filter(e=>t.indexOf(e)<0);for(let e=0,t=s.length;e<t;e+=1){var o=s[e],a=Object.getOwnPropertyDescriptor(n,o);void 0!==a&&a.enumerable&&(c(i[o])&&c(n[o])?n[o].__swiper__?i[o]=n[o]:p(i[o],n[o]):c(i[o])||!c(n[o])||(i[o]={},n[o].__swiper__)?i[o]=n[o]:p(i[o],n[o]))}}}var r;return i}function C(e,t,i){e.style.setProperty(t,i)}function _(e){let{swiper:i,targetPosition:n,side:s}=e;const o=P(),a=-i.translate;let r,l=null;const c=i.params.speed,d=(i.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(i.cssModeFrameID),n>a?"next":"prev"),h=(e,t)=>"next"===d&&t<=e||"prev"===d&&e<=t,u=()=>{r=(new Date).getTime(),null===l&&(l=r);var e=Math.max(Math.min((r-l)/c,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=a+e*(n-a);h(t,n)&&(t=n),i.wrapperEl.scrollTo({[s]:t}),h(t,n)?(i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[s]:t})}),o.cancelAnimationFrame(i.cssModeFrameID)):i.cssModeFrameID=o.requestAnimationFrame(u)};u()}function o(e){return e.querySelector(".swiper-slide-transform")||e.shadowEl&&e.shadowEl.querySelector(".swiper-slide-transform")||e}function A(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function I(e,t){void 0===t&&(t=[]);e=document.createElement(e);return e.classList.add(...Array.isArray(t)?t:[t]),e}function O(e){var t=P(),i=M(),n=e.getBoundingClientRect(),i=i.body,s=e.clientTop||i.clientTop||0,i=e.clientLeft||i.clientLeft||0,o=e===t?t.scrollY:e.scrollTop,t=e===t?t.scrollX:e.scrollLeft;return{top:n.top+o-s,left:n.left+t-i}}function z(e,t){return P().getComputedStyle(e,null).getPropertyValue(t)}function x(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function B(e,t){var i=[];let n=e.parentElement;for(;n;)t&&!n.matches(t)||i.push(n),n=n.parentElement;return i}function f(i,n){n&&i.addEventListener("transitionend",function e(t){t.target===i&&(n.call(i,t),i.removeEventListener("transitionend",e))})}function D(e,t,i){var n=P();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let i,l,d;function q(){return i=i||(e=P(),{smoothScroll:(t=M()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)});var e,t}const a=(e,t)=>{if(e&&!e.destroyed&&e.params){var i=t.closest(e.isElement?"swiper-slide":"."+e.params.slideClass);if(i){const t=i.querySelector("."+e.params.lazyPreloaderClass);t&&t.remove()}}},h=(e,t)=>{e.slides[t]&&(e=e.slides[t].querySelector('[loading="lazy"]'))&&e.removeAttribute("loading")},u=n=>{if(n&&!n.destroyed&&n.params){let i=n.params.lazyPreloadPrevNext;const s=n.slides.length;if(s&&i&&!(i<0)){i=Math.min(i,s);const o="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),a=n.activeIndex;if(n.params.grid&&1<n.params.grid.rows){const s=a,r=[s-i];r.push(...Array.from({length:i}).map((e,t)=>
1s+o+t)),void n.slides.forEach((e,t)=>{r.includes(e.column)&&h(n,t)})}else{const r=a+o-1;if(n.params.rewind||n.params.loop)for(let t=a-i;t<=r+i;t+=1){const e=(t%s+s)%s;(e<a||e>r)&&h(n,e)}else for(let e=Math.max(a-i,0);e<=Math.min(r+i,s-1);e+=1)e!==a&&(e>r||e<a)&&h(n,e)}}}};function R(e){var{swiper:e,runCallbacks:t,direction:i,step:n}=e,{activeIndex:s,previousIndex:o}=e;let a=i;if(a=a||(o<s?"next":s<o?"prev":"reset"),e.emit("transition"+n),t&&s!==o){if("reset"===a)return e.emit("slideResetTransition"+n);e.emit("slideChangeTransition"+n),"next"===a?e.emit("slideNextTransition"+n):e.emit("slidePrevTransition"+n)}}function j(){const e=this,{params:t,el:i}=e;var n,s,o,a,r;i&&0===i.offsetWidth||(t.breakpoints&&e.setBreakpoint(),{allowSlideNext:n,allowSlidePrev:s,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled,e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),r=a&&t.loop,!("auto"===t.slidesPerView||1<t.slidesPerView)||!e.isEnd||e.isBeginning||e.params.centeredSlides||r?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=s,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow())}let H=!1;function Z(){}const F=(e,t)=>{var i=M(),{params:n,el:s,wrapperEl:o,device:a}=e,r=!!n.nested,l="on"===t?"addEventListener":"removeEventListener";s[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:r}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[l]("click",e.onClick,!0),n.cssMode&&o[l]("scroll",e.onScroll),n.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",j,!0):e[t]("observerUpdate",j,!0),s[l]("load",e.onLoad,{capture:!0})},W=(e,t)=>e.grid&&t.grid&&1<t.grid.rows;var V={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};const r={eventsEmitter:{on(e,t,i){const n=this;if(n.eventsListeners&&!n.destroyed&&"function"==typeof t){const s=i?"unshift":"push";
1e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)})}return n},once(n,s,e){const o=this;return!o.eventsListeners||o.destroyed||"function"!=typeof s?o:(a.__emitterProxy=s,o.on(n,a,e));function a(){o.off(n,a),a.__emitterProxy&&delete a.__emitterProxy;for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];s.apply(o,t)}},onAny(e,t){var i=this;return i.eventsListeners&&!i.destroyed&&"function"==typeof e&&(t=t?"unshift":"push",i.eventsAnyListeners.indexOf(e)<0)&&i.eventsAnyListeners[t](e),i},offAny(e){var t=this;return t.eventsListeners&&!t.destroyed&&t.eventsAnyListeners&&0<=(e=t.eventsAnyListeners.indexOf(e))&&t.eventsAnyListeners.splice(e,1),t},off(e,n){const s=this;return!s.eventsListeners||s.destroyed||s.eventsListeners&&e.split(" ").forEach(i=>{void 0===n?s.eventsListeners[i]=[]:s.eventsListeners[i]&&s.eventsListeners[i].forEach((e,t)=>{(e===n||e.__emitterProxy&&e.__emitterProxy===n)&&s.eventsListeners[i].splice(t,1)})}),s},emit(){const s=this;if(s.eventsListeners&&!s.destroyed&&s.eventsListeners){let e,i,n;for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];n="string"==typeof o[0]||Array.isArray(o[0])?(e=o[0],i=o.slice(1,o.length),s):(e=o[0].events,i=o[0].data,o[0].context||s),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(t=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(e=>{e.apply(n,[t,...i])}),s.eventsListeners&&s.eventsListeners[t]&&s.eventsListeners[t].forEach(e=>{e.apply(n,i)})})}return s}},update:{updateSize:function(){var e=this;let t,i;var n=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(z(n,"padding-left")||0,10)-parseInt(z(n,"padding-right")||0,10),i=i-parseInt(z(n,"padding-top")||0,10)-parseInt(z(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const n=this;function s(e){return n.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function o(e,t){return parseFloat(e.getPropertyValue(s(t))||0)}const a=n.params,{wrapperEl:r,slidesEl:e,size:l,rtlTranslate:c,wrongRTL:d}=n,t=n.virtual&&a.virtual.enabled,h=(t?n.virtual:n).slides.length,u=A(e,`.${n.params.slideClass}, swiper-slide`),p=(t?n.virtual.slides:u).length;let m=[];const f=[],g=[];let v=a.slidesOffsetBefore,_=("function"==typeof v&&(v=a.slidesOffsetBefore.call(n)),a.slidesOffsetAfter);"function"==typeof _&&(_=a.slidesOffsetAfter.call(n));var y=n.snapGrid.length,b=n.slidesGrid.length;let w=a.spaceBetween,x=-v,E=0,S=0;if(void 0!==l){"string"==typeof w&&0<=w.indexOf("%")?w=parseFloat(w.replace("%",""))/100*l:"string"==typeof w&&(w=parseFloat(w)),n.virtualSize=-w,u.forEach(e=>{c?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),a.centeredSlides&&a.cssMode&&(C(r,"--swiper-centered-offset-before",""),C(r,"--swiper-centered-offset-after",""));var T=a.grid&&1<a.grid.rows&&n.grid;let i;T&&n.grid.initSlides(p);var L="auto"===a.slidesPerView&&a.breakpoints&&0<Object.keys(a.breakpoints).filter(e=>void 0!==a.breakpoints[e].slidesPerView).length;for(let t=0;t<p;t+=1){let e;if(i=0,u[t]&&(e=u[t]),T&&n.grid.updateSlide(t,e,p,s),!u[t]||"none"!==z(e,"display")){if("auto"===a.slidesPerView){L&&(u[t].style[s("width")]="");const l=getComputedStyle(e),c=e.style.transform,d=e.style.webkitTransform;if(c&&(e.style.transform="none"),d&&(e.style.webkitTransform="none"),a.roundLengths)i=n.isHorizontal()?D(e,"width",!0):D(e,"height",!0);else{const n=o(l,"width"),s=o(l,"padding-left"),a=o(l,"padding-right"),r=o(l,"margin-left"),c=o(l,"margin-right"),d=l.getPropertyValue("box-sizing");if(d&&"border-box"===d)i=n+r+c;else{const{clientWidth:o,offsetWidth:l}=e;i=n+s+a+r+c+(l-o)}}c&&(e.style.transform=c),d&&(e.style.webkitTransform=d),a.roundLengths&&(i=Math.floor(i))}
1else i=(l-(a.slidesPerView-1)*w)/a.slidesPerView,a.roundLengths&&(i=Math.floor(i)),u[t]&&(u[t].style[s("width")]=i+"px");u[t]&&(u[t].swiperSlideSize=i),g.push(i),a.centeredSlides?(x=x+i/2+E/2+w,0===E&&0!==t&&(x=x-l/2-w),0===t&&(x=x-l/2-w),Math.abs(x)<.001&&(x=0),a.roundLengths&&(x=Math.floor(x)),S%a.slidesPerGroup==0&&m.push(x),f.push(x)):(a.roundLengths&&(x=Math.floor(x)),(S-Math.min(n.params.slidesPerGroupSkip,S))%n.params.slidesPerGroup==0&&m.push(x),f.push(x),x=x+i+w),n.virtualSize+=i+w,E=i,S+=1}}if(n.virtualSize=Math.max(n.virtualSize,l)+_,c&&d&&("slide"===a.effect||"coverflow"===a.effect)&&(r.style.width=n.virtualSize+w+"px"),a.setWrapperSize&&(r.style[s("width")]=n.virtualSize+w+"px"),T&&n.grid.updateWrapperSize(i,m,s),!a.centeredSlides){const s=[];for(let t=0;t<m.length;t+=1){let e=m[t];a.roundLengths&&(e=Math.floor(e)),m[t]<=n.virtualSize-l&&s.push(e)}m=s,1<Math.floor(n.virtualSize-l)-Math.floor(m[m.length-1])&&m.push(n.virtualSize-l)}if(t&&a.loop){const s=g[0]+w;if(1<a.slidesPerGroup){const o=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/a.slidesPerGroup),r=s*a.slidesPerGroup;for(let e=0;e<o;e+=1)m.push(m[m.length-1]+r)}for(let e=0;e<n.virtual.slidesBefore+n.virtual.slidesAfter;e+=1)1===a.slidesPerGroup&&m.push(m[m.length-1]+s),f.push(f[f.length-1]+s),n.virtualSize+=s}if(0===m.length&&(m=[0]),0!==w){const o=n.isHorizontal()&&c?"marginLeft":s("marginRight");u.filter((e,t)=>!(a.cssMode&&!a.loop)||t!==u.length-1).forEach(e=>{e.style[o]=w+"px"})}if(a.centeredSlides&&a.centeredSlidesBounds){let t=0;g.forEach(e=>{t+=e+(w||0)});const s=(t-=w)-l;m=m.map(e=>e<=0?-v:e>s?s+_:e)}if(a.centerInsufficientSlides){let t=0;if(g.forEach(e=>{t+=e+(w||0)}),(t-=w)<l){const s=(l-t)/2;m.forEach((e,t)=>{m[t]=e-s}),f.forEach((e,t)=>{f[t]=e+s})}}if(Object.assign(n,{slides:u,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){C(r,"--swiper-centered-offset-before",-m[0]+"px"),C(r,"--swiper-centered-offset-after",n.size/2-g[g.length-1]/2+"px");const s=-n.snapGrid[0],o=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(e=>e+s),n.slidesGrid=n.slidesGrid.map(e=>e+o)}if(p!==h&&n.emit("slidesLengthChange"),m.length!==y&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),f.length!==b&&n.emit("slidesGridLengthChange"),a.watchSlidesProgress&&n.updateSlidesOffset(),!(t||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const s=a.containerModifierClass+"backface-hidden",o=n.el.classList.contains(s);p<=a.maxBackfaceHiddenSlides?o||n.el.classList.add(s):o&&n.el.classList.remove(s)}}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let s,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);var a=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&1<t.params.slidesPerView)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{i.push(e)});else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!n)break;i.push(a(e))}else i.push(a(t.activeIndex));for(s=0;s<i.length;s+=1)if(void 0!==i[s]){const e=i[s].offsetHeight;o=e>o?e:o}!o&&0!==o||(t.wrapperEl.style.height=o+"px")},updateSlidesOffset:function(){var t=this,i=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let e=0;e<i.length;e+=1)i[e].swiperSlideOffset=(t.isHorizontal()?i[e].offsetLeft:i[e].offsetTop)-n-t.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const s=this,o=s.params,{slides:a,rtlTranslate:r,snapGrid:l}=s;if(0!==a.length){void 0===a[0].swiperSlideOffset&&s.updateSlidesOffset();let i=r?e:-e,n=(a.forEach(e=>{e.classList.remove(o.slideVisibleClass)}),s.visibleSlidesIndexes=[],s.visibleSlides=[],o.spaceBetween);"string"==typeof n&&0<=n.indexOf("%")?n=parseFloat(n.replace("%",""))/100*s.size:"string"==typeof n&&(n=parseFloat(n));for(let t=0;t<a.length;t+=1){var c=a[t];let e=c.swiperSlideOffset;o.cssMode&&o.centeredSlides&&(e-=a[0].swiperSlideOffset);var d=(i+(o.centeredSlides?s.minTranslate():0)-e)/(c.swiperSlideSize+n),h=(i-l[0]+(o.centeredSlides?s.minTranslate():0)-e)/(c.swiperSlideSize+n),u=-(i-e),p=u+s.slidesSizesGrid[t];(0<=u&&u<s.size-1||1<p&&p<=s.size||u<=0&&p>=s.size)&&(s.visibleSlides.push(c),s.visibleSlidesIndexes.push(t),a[t].classList.add(o.slideVisibleClass)),c.progress=r?-d:d,c.originalProgress=r?-h:h}}},updateProgress:function(e){var t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:o,isEnd:a,progressLoop:r}=t;const l=o,c=a;if(0===n)s=0,o=!0,a=!0;else{s=(e-t.minTranslate())/n;const i=Math.abs(e-t.minTranslate())<1,r=Math.abs(e-t.maxTranslate())<1;o=i||s<=0,a=r||1<=s,i&&(s=0),r&&(s=1)}if(i.loop){const i=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),s=t.slidesGrid[i],o=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);1<(r=l>=s?(l-s)/a:(l+a-o)/a)&&--r}Object.assign(t,{progress:s,progressLoop:r,isBeginning:o,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!o||c&&!a)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const t=this,{slides:i,params:n,slidesEl:s,activeIndex:o}=t,e=t.virtual&&n.virtual.enabled,a=e=>A(s,`.${n.slideClass}${e}, swiper-slide`+e)[0];let r;
1if(i.forEach(e=>{e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)}),e)if(n.loop){let e=o-t.virtual.slidesBefore;(e=e<0?t.virtual.slides.length+e:e)>=t.virtual.slides.length&&(e-=t.virtual.slides.length),r=a(`[data-swiper-slide-index="${e}"]`)}else r=a(`[data-swiper-slide-index="${o}"]`);else r=i[o];if(r){r.classList.add(n.slideActiveClass);let e=function(e,t){for(var i=[];e.nextElementSibling;){var n=e.nextElementSibling;t&&!n.matches(t)||i.push(n),e=n}return i}(r,`.${n.slideClass}, swiper-slide`)[0],t=((e=n.loop&&!e?i[0]:e)&&e.classList.add(n.slideNextClass),function(e,t){for(var i=[];e.previousElementSibling;){var n=e.previousElementSibling;t&&!n.matches(t)||i.push(n),e=n}return i}(r,`.${n.slideClass}, swiper-slide`)[0]);(t=n.loop&&0===!t?i[i.length-1]:t)&&t.classList.add(n.slidePrevClass)}t.emitSlidesClasses()},updateActiveIndex:function(e){const i=this,t=i.rtlTranslate?i.translate:-i.translate,{snapGrid:n,params:s,activeIndex:o,realIndex:a,snapIndex:r}=i;let l,c=e;var e=e=>{let t=e-i.virtual.slidesBefore;return(t=t<0?i.virtual.slides.length+t:t)>=i.virtual.slides.length&&(t-=i.virtual.slides.length),t};if(void 0===c&&(c=function(e){var{slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let s;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?n>=t[e]&&n<t[e+1]-(t[e+1]-t[e])/2?s=e:n>=t[e]&&n<t[e+1]&&(s=e+1):n>=t[e]&&(s=e);return s=i.normalizeSlideIndex&&(s<0||void 0===s)?0:s}(i)),0<=n.indexOf(t))l=n.indexOf(t);else{const e=Math.min(s.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/s.slidesPerGroup)}l>=n.length&&(l=n.length-1),c===o?(l!==r&&(i.snapIndex=l,i.emit("snapIndexChange")),i.params.loop&&i.virtual&&i.params.virtual.enabled&&(i.realIndex=e(c))):(e=i.virtual&&s.virtual.enabled&&s.loop?e(c):i.slides[c]?parseInt(i.slides[c].getAttribute("data-swiper-slide-index")||c,10):c,Object.assign(i,{previousSnapIndex:r,snapIndex:l,previousRealIndex:a,realIndex:e,previousIndex:o,activeIndex:c}),i.initialized&&u(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),a!==e&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange"))},updateClickedSlide:function(e){var t=this,i=t.params,n=e.closest(`.${i.slideClass}, swiper-slide`);let s,o=!1;if(n)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===n){o=!0,s=e;break}n&&o?(t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=s,i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()):(t.clickedSlide=void 0,t.clickedIndex=void 0)}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var{params:t,rtlTranslate:i,translate:n,wrapperEl:s}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let o=k(s,e);return o+=this.cssOverflowAdjustment(),(o=i?-o:o)||0},setTranslate:function(e,t){var i=this,{rtlTranslate:n,params:s,wrapperEl:o,progress:a}=i;let r=0,l=0;i.isHorizontal()?r=n?-e:e:l=e,s.roundLengths&&(r=Math.floor(r),l=Math.floor(l)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?r:l,s.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-r:-l:s.virtualTranslate||(i.isHorizontal()?r-=i.cssOverflowAdjustment():l-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${r}px, ${l}px, 0px)`);n=i.maxTranslate()-i.minTranslate();(0==n?0:(e-i.minTranslate())/n)!==a&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const o=this,{params:a,wrapperEl:r}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;var l=o.minTranslate(),c=o.maxTranslate(),l=n&&l<e?l:n&&e<c?c:e;if(o.updateProgress(l),a.cssMode){const e=o.isHorizontal();if(0===t)r[e?"scrollLeft":"scrollTop"]=-l;else{if(!o.support.smoothScroll)return _({swiper:o,targetPosition:-l,side:e?"left":"top"}),!0;r.scrollTo({[e?"left":"top"]:-l,behavior:"smooth"})}}else 0===t?(o.setTransition(0),o.setTranslate(l),i&&(o.emit("beforeTransitionStart",t,s),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(l),i&&(o.emit("beforeTransitionStart",t,s),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,i)&&o.emit("transitionEnd")}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd)));return!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=e+"ms"),this.emit
1("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this["params"];i.cssMode||(i.autoHeight&&this.updateAutoHeight(),R({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this["params"];this.animating=!1,i.cssMode||(this.setTransition(0),R({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,i,n,s){void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof(e=void 0===e?0:e)&&(e=parseInt(e,10));const o=this;let a=e;a<0&&(a=0);const{params:r,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:h,rtlTranslate:u,wrapperEl:p,enabled:m}=o;if(o.animating&&r.preventInteractionOnTransition||!m&&!n&&!s)return!1;e=Math.min(o.params.slidesPerGroupSkip,a);let f=e+Math.floor((a-e)/o.params.slidesPerGroup);var g=-l[f=f>=l.length?l.length-1:f];if(r.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),i=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e)}if(o.initialized&&a!==h){if(!o.allowSlideNext&&(u?g>o.translate&&g>o.minTranslate():g<o.translate&&g<o.minTranslate()))return!1;if(!o.allowSlidePrev&&g>o.translate&&g>o.maxTranslate()&&(h||0)!==a)return!1}let v;if(a!==(d||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(g),v=a>h?"next":a<h?"prev":"reset",u&&-g===o.translate||!u&&g===o.translate)return o.updateActiveIndex(a),r.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==r.effect&&o.setTranslate(g),"reset"!=v&&(o.transitionStart(i,v),o.transitionEnd(i,v)),!1;if(r.cssMode){const e=o.isHorizontal(),i=u?g:-g;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),t&&!o._cssModeVirtualInitialSet&&0<o.params.initialSlide?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[e?"scrollLeft":"scrollTop"]=i})):p[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return _({swiper:o,targetPosition:i,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}}else o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(i,v),0===t?o.transitionEnd(i,v):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,v))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd));return!0},slideToLoop:function(e,t,i,n){void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=this;let o=e="string"==typeof(e=void 0===e?0:e)?parseInt(e,10):e;return s.params.loop&&(s.virtual&&s.params.virtual.enabled?o+=s.virtual.slidesBefore:o=s.getSlideIndexByData(o)),s.slideTo(o,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,{enabled:s,params:o,animating:a}=n;if(!s)return n;let r=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(r=Math.max(n.slidesPerViewDynamic("current",!0),1));var s=n.activeIndex<o.slidesPerGroupSkip?1:r,l=n.virtual&&o.virtual.enabled;if(o.loop){if(a&&!l&&o.loopPreventsSliding)return!1;n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft}return o.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+s,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{params:s,snapGrid:o,slidesGrid:a,rtlTranslate:r,enabled:l,animating:c}=n;if(!l)return n;var d=n.virtual&&s.virtual.enabled;if(s.loop){if(c&&!d&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function h(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=h(r?n.translate:-n.translate),p=o.map(e=>h(e));let m=o[p.indexOf(u)-1];if(void 0===m&&s.cssMode){let i;o.forEach((e,t)=>{u>=e&&(i=t)}),void 0!==i&&(m=o[0<i?i-1:i])}let f=0;if(void 0!==m&&((f=a.indexOf(m))<0&&(f=n.activeIndex-1),"auto"===s.slidesPerView)&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0)),s.rewind&&n.isBeginning){const s=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(s,e,t,i)}return n.slideTo(f,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var s=this;let o=s.activeIndex;var a=Math.min(s.params.slidesPerGroupSkip,o),a=a+Math.floor((o-a)/s.params.slidesPerGroup),r=s.rtlTranslate?s.translate:-s.translate;if(r>=s.snapGrid[a]){const e=s.snapGrid[a];r-e>(s.snapGrid[a+1]-e)*n&&(o+=s.params.slidesPerGroup)}else{const e=s.snapGrid[a-1];r-e<=(s.snapGrid[a]-e)*n&&(o-=s.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,s.slidesGrid.length-1),s.slideTo(o,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,o=e.clickedIndex;var a=e.isElement?"swiper-slide":"."+t.slideClass;t.loop?e.animating||(s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-n/2||o>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),o=e.getSlideIndex(A(i,a+`[data-swiper-slide-index="${s}"]`)[0]),S(()=>{e.slideTo(o)})):e.slideTo(o):o>e.slides.length-n?(e.loopFix(),o=e.getSlideIndex(A(i,a+`[data-swiper-slide-index="${s}"]`)[0]),S(()=>{e.slideTo(o)})):e.slideTo(o)):e.slideTo(o)}},loop:{loopCreate:function(e){var{params:t,slidesEl:i}=this;!t.loop||this.virtual&&this.params.virtual.enabled||(A(i,`.${t.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),this.loopFix({slideRealIndex:e,direction:t.centeredSlides?void 0:"next"}))},loopFix:function(s){let{slideRealIndex:o,slideTo:a=!0,direction:r,setTranslate:l,activeSlideIndex:c,byController:d,byMousewheel:h}=void 0===s?{}:s;const u=this;if(u.params.loop){u.emit("beforeLoopFix");const{slides:g,allowSlidePrev:v,allowSlideNext:_,slidesEl:y,params:b}=u;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&b.virtual.enabled)a&&(b.centeredSlides||0!==u.snapIndex?b.centeredSlides&&u.snapIndex<b.slidesPerView?u.
1slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=v,u.allowSlideNext=_;else{s="auto"===b.slidesPerView?u.slidesPerViewDynamic():Math.ceil(parseFloat(b.slidesPerView,10));let t=b.loopedSlides||s;t%b.slidesPerGroup!=0&&(t+=b.slidesPerGroup-t%b.slidesPerGroup),u.loopedSlides=t;var p=[],m=[];let e=u.activeIndex;void 0===c?c=u.getSlideIndex(u.slides.filter(e=>e.classList.contains(b.slideActiveClass))[0]):e=c;var s="next"===r||!r,f="prev"===r||!r;let i=0,n=0;if(c<t){i=Math.max(t-c,b.slidesPerGroup);for(let e=0;e<t-c;e+=1){const o=e-Math.floor(e/g.length)*g.length;p.push(g.length-o-1)}}else if(c>u.slides.length-2*t){n=Math.max(c-(u.slides.length-2*t),b.slidesPerGroup);for(let e=0;e<n;e+=1){const o=e-Math.floor(e/g.length)*g.length;m.push(o)}}if(f&&p.forEach(e=>{u.slides[e].swiperLoopMoveDOM=!0,y.prepend(u.slides[e]),u.slides[e].swiperLoopMoveDOM=!1}),s&&m.forEach(e=>{u.slides[e].swiperLoopMoveDOM=!0,y.append(u.slides[e]),u.slides[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===b.slidesPerView&&u.updateSlides(),b.watchSlidesProgress&&u.updateSlidesOffset(),a)if(0<p.length&&f)if(void 0===o){const s=u.slidesGrid[e],o=u.slidesGrid[e+i]-s;h?u.setTranslate(u.translate-o):(u.slideTo(e+i,0,!1,!0),l&&(u.touches[u.isHorizontal()?"startX":"startY"]+=o))}else l&&u.slideToLoop(o,0,!1,!0);else if(0<m.length&&s)if(void 0===o){const s=u.slidesGrid[e],o=u.slidesGrid[e-n]-s;h?u.setTranslate(u.translate-o):(u.slideTo(e-n,0,!1,!0),l&&(u.touches[u.isHorizontal()?"startX":"startY"]+=o))}else u.slideToLoop(o,0,!1,!0);if(u.allowSlidePrev=v,u.allowSlideNext=_,u.controller&&u.controller.control&&!d){const s={slideRealIndex:o,slideTo:!1,direction:r,setTranslate:l,activeSlideIndex:c,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix(s)}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix(s)}}u.emit("loopFix")}},loopDestroy:function(){const e=this,{params:t,slidesEl:i}=e;if(!(!t.loop||e.virtual&&e.params.virtual.enabled)){e.recalcSlides();const n=[];e.slides.forEach(e=>{var t=void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{i.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}}},grabCursor:{setGrabCursor:function(e){const t=this;var i;!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl,t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){var e=this,t=M(),i=e["params"];e.onTouchStart=function(n){var s=this,o=M(),a=P(),r=s.touchEventsData,{params:l,touches:c,enabled:d}=(r.evCache.push(n),s);if(d&&(l.simulateTouch||"mouse"!==n.pointerType)&&(!s.animating||!l.preventInteractionOnTransition)){!s.animating&&l.cssMode&&l.loop&&s.loopFix();let t=n,i=(t=t.originalEvent?t.originalEvent:t).target;if(("wrapper"!==l.touchEventsTarget||s.wrapperEl.contains(i))&&!("which"in t&&3===t.which||"button"in t&&0<t.button||r.isTouched&&r.isMoved)){var d=!!l.noSwipingClass&&""!==l.noSwipingClass,h=n.composedPath?n.composedPath():n.path,d=(d&&t.target&&t.target.shadowRoot&&h&&(i=h[0]),l.noSwipingSelector||"."+l.noSwipingClass),h=!(!t.target||!t.target.shadowRoot);if(l.noSwiping&&(h?function(n,e){return function e(t){var i;return t&&t!==M()&&t!==P()&&((i=(t=t.assignedSlot?t.assignedSlot:t).closest(n))||t.getRootNode)?i||e(t.getRootNode().host):null}(e=void 0===i?this:e)}(d,i):i.closest(d)))s.allowClick=!0;else if(!l.swipeHandler||i.closest(l.swipeHandler)){c.currentX=t.pageX,c.currentY=t.pageY;var h=c.currentX,d=c.currentY,u=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,p=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(u&&(h<=p||h>=a.innerWidth-p)){if("prevent"!==u)return;n.preventDefault()}Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=h,c.startY=d,r.touchStartTime=v(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,0<l.threshold&&(r.allowThresholdMove=!1);let e=!0;i.matches(r.focusableElements)&&(e=!1,"SELECT"===i.nodeName)&&(r.isTouched=!1),o.activeElement&&o.activeElement.matches(r.focusableElements)&&o.activeElement!==i&&o.activeElement.blur();a=e&&s.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!a||i.isContentEditable||t.preventDefault(),l.freeMode&&l.freeMode.enabled&&s.freeMode&&s.animating&&!l.cssMode&&s.freeMode.onTouchStart(),s.emit("touchStart",t)}}}}.bind(e),e.onTouchMove=function(a){var r=M(),l=this,c=l.touchEventsData,{params:d,touches:h,rtlTranslate:u,enabled:e}=l;if(e&&(d.simulateTouch||"mouse"!==a.pointerType)){let o=a;if(o.originalEvent&&(o=o.originalEvent),c.isTouched){e=c.evCache.findIndex(e=>e.pointerId===o.pointerId),a=(0<=e&&(c.evCache[e]=o),1<c.evCache.length?c.evCache[0]:o),e=a.pageX,a=a.pageY;if(o.preventedByNestedSwiper)h.startX=e,h.startY=a;else if(l.allowTouchMove){if(d.touchReleaseOnEdges&&!d.loop)if(l.isVertical()){if(a<h.startY&&l.translate<=l.maxTranslate()||a>h.startY&&l.translate>=l.minTranslate())return c.isTouched=!1,void(c.isMoved=!1)}else if(e<h.startX&&l.translate<=l.maxTranslate()||e>h.startX&&l.translate>=l.minTranslate())return;if(r.activeElement&&o.target===r.activeElement&&o.target.matches(c.focusableElements))c.isMoved=!0,l.allowClick=!1;else if(c.allowTouchCallbacks&&l.emit("touchMove",o),!(o.targetTouches&&1<o.targetTouches.length)){h.currentX=e,h.currentY=a;var r=h.currentX-h.startX,p=h.currentY-h.startY;if(!(l.params.threshold&&Math.sqrt(r**2+p**2)<l.params.threshold))if(void 0===c.isScrolling&&(l.isHorizontal()&&h.currentY===h.startY||l.isVertical()&&h.
1currentX===h.startX?c.isScrolling=!1:25<=r*r+p*p&&(m=180*Math.atan2(Math.abs(p),Math.abs(r))/Math.PI,c.isScrolling=l.isHorizontal()?m>d.touchAngle:90-m>d.touchAngle)),c.isScrolling&&l.emit("touchMoveOpposite",o),void 0!==c.startMoving||h.currentX===h.startX&&h.currentY===h.startY||(c.startMoving=!0),c.isScrolling||l.zoom&&l.params.zoom&&l.params.zoom.enabled&&1<c.evCache.length)c.isTouched=!1;else if(c.startMoving){l.allowClick=!1,!d.cssMode&&o.cancelable&&o.preventDefault(),d.touchMoveStopPropagation&&!d.nested&&o.stopPropagation();let e=l.isHorizontal()?r:p,t=l.isHorizontal()?h.currentX-h.previousX:h.currentY-h.previousY;d.oneWayMovement&&(e=Math.abs(e)*(u?1:-1),t=Math.abs(t)*(u?1:-1)),h.diff=e,e*=d.touchRatio,u&&(e=-e,t=-t);var m=l.touchesDirection,r=(l.swipeDirection=0<e?"prev":"next",l.touchesDirection=0<t?"prev":"next",l.params.loop&&!d.cssMode);if(!c.isMoved){if(r&&l.loopFix({direction:l.swipeDirection}),c.startTranslate=l.getTranslate(),l.setTransition(0),l.animating){const a=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});l.wrapperEl.dispatchEvent(a)}c.allowMomentumBounce=!1,!d.grabCursor||!0!==l.allowSlideNext&&!0!==l.allowSlidePrev||l.setGrabCursor(!0),l.emit("sliderFirstMove",o)}let i,n=(c.isMoved&&m!==l.touchesDirection&&r&&1<=Math.abs(e)&&(l.loopFix({direction:l.swipeDirection,setTranslate:!0}),i=!0),l.emit("sliderMove",o),c.isMoved=!0,c.currentTranslate=e+c.startTranslate,!0),s=d.resistanceRatio;if(d.touchReleaseOnEdges&&(s=0),0<e?(r&&!i&&c.currentTranslate>(d.centeredSlides?l.minTranslate()-l.size/2:l.minTranslate())&&l.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),c.currentTranslate>l.minTranslate()&&(n=!1,d.resistance)&&(c.currentTranslate=l.minTranslate()-1+(-l.minTranslate()+c.startTranslate+e)**s)):e<0&&(r&&!i&&c.currentTranslate<(d.centeredSlides?l.maxTranslate()+l.size/2:l.maxTranslate())&&l.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:l.slides.length-("auto"===d.slidesPerView?l.slidesPerViewDynamic():Math.ceil(parseFloat(d.slidesPerView,10)))}),c.currentTranslate<l.maxTranslate())&&(n=!1,d.resistance)&&(c.currentTranslate=l.maxTranslate()+1-(l.maxTranslate()-c.startTranslate-e)**s),n&&(o.preventedByNestedSwiper=!0),!l.allowSlideNext&&"next"===l.swipeDirection&&c.currentTranslate<c.startTranslate&&(c.currentTranslate=c.startTranslate),!l.allowSlidePrev&&"prev"===l.swipeDirection&&c.currentTranslate>c.startTranslate&&(c.currentTranslate=c.startTranslate),l.allowSlidePrev||l.allowSlideNext||(c.currentTranslate=c.startTranslate),0<d.threshold){if(!(Math.abs(e)>d.threshold||c.allowThresholdMove))return void(c.currentTranslate=c.startTranslate);
1if(!c.allowThresholdMove)return c.allowThresholdMove=!0,h.startX=h.currentX,h.startY=h.currentY,c.currentTranslate=c.startTranslate,void(h.diff=l.isHorizontal()?h.currentX-h.startX:h.currentY-h.startY)}d.followFinger&&!d.cssMode&&((d.freeMode&&d.freeMode.enabled&&l.freeMode||d.watchSlidesProgress)&&(l.updateActiveIndex(),l.updateSlidesClasses()),d.freeMode&&d.freeMode.enabled&&l.freeMode&&l.freeMode.onTouchMove(),l.updateProgress(c.currentTranslate),l.setTranslate(c.currentTranslate))}}}else o.target.matches(c.focusableElements)||(l.allowClick=!1),c.isTouched&&(Object.assign(h,{startX:e,startY:a,prevX:l.touches.currentX,prevY:l.touches.currentY,currentX:e,currentY:a}),c.touchStartTime=v())}else c.startMoving&&c.isScrolling&&l.emit("touchMoveOpposite",o)}}.bind(e),e.onTouchEnd=function(t){const o=this,e=o.touchEventsData,i=e.evCache.findIndex(e=>e.pointerId===t.pointerId);if(0<=i&&e.evCache.splice(i,1),!["pointercancel","pointerout","pointerleave"].includes(t.type)||"pointercancel"===t.type&&(o.browser.isSafari||o.browser.isWebView)){var{params:a,touches:r,rtlTranslate:n,slidesGrid:l,enabled:c}=o;if(c&&(a.simulateTouch||"mouse"!==t.pointerType)){let s=t;if(s.originalEvent&&(s=s.originalEvent),e.allowTouchCallbacks&&o.emit("touchEnd",s),e.allowTouchCallbacks=!1,e.isTouched){a.grabCursor&&e.isMoved&&e.isTouched&&(!0===o.allowSlideNext||!0===o.allowSlidePrev)&&o.setGrabCursor(!1);var d,c=v(),h=c-e.touchStartTime;if(o.allowClick){const t=s.path||s.composedPath&&s.composedPath();o.updateClickedSlide(t&&t[0]||s.target),o.emit("tap click",s),h<300&&c-e.lastClickTime<300&&o.emit("doubleTap doubleClick",s)}if(e.lastClickTime=v(),S(()=>{o.destroyed||(o.allowClick=!0)}),e.isTouched&&e.isMoved&&o.swipeDirection&&0!==r.diff&&e.currentTranslate!==e.startTranslate){if(e.isTouched=!1,e.isMoved=!1,e.startMoving=!1,d=a.followFinger?n?o.translate:-o.translate:-e.currentTranslate,!a.cssMode)if(a.freeMode&&a.freeMode.enabled)o.freeMode.onTouchEnd({currentPos:d});else{let t=0,i=o.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const o=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==l[e+o]?d>=l[e]&&d<l[e+o]&&(t=e,i=l[e+o]-l[e]):d>=l[e]&&(t=e,i=l[l.length-1]-l[l.length-2])}let e=null,n=null;a.rewind&&(o.isBeginning?n=a.virtual&&a.virtual.enabled&&o.virtual?o.virtual.slides.length-1:o.slides.length-1:o.isEnd&&(e=0));c=(d-l[t])/i,r=t<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;h>a.longSwipesMs?a.longSwipes?("next"===o.swipeDirection&&(c>=a.longSwipesRatio?o.slideTo(a.rewind&&o.isEnd?e:t+r):o.slideTo(t)),"prev"===o.swipeDirection&&(c>1-a.longSwipesRatio?o.slideTo(t+r):null!==n&&c<0&&Math.abs(c)>a.longSwipesRatio?o.slideTo(n):o.slideTo(t))):o.slideTo(o.activeIndex):a.shortSwipes?!o.navigation||s.target!==o.navigation.nextEl&&s.target!==o.navigation.prevEl?("next"===o.swipeDirection&&o.slideTo(null!==e?e:t+r),"prev"===o.swipeDirection&&o.slideTo(null!==n?n:t)):s.target===o.navigation.nextEl?o.slideTo(t+r):o.slideTo(t):o.slideTo(o.activeIndex)}}else e.isTouched=!1,e.isMoved=!1,e.startMoving=!1}else e.isMoved&&a.grabCursor&&o.setGrabCursor(!1),e.isMoved=!1,e.startMoving=!1}}}.bind(e),i.cssMode&&(e.onScroll=function(){var e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;n&&(e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(n=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1))}.bind(e)),e.onClick=function(e){var t=this;t.enabled&&!t.allowClick&&(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation)&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())}.bind(e),e.onLoad=function(e){var t=this;a(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}.bind(e),H||(t.addEventListener("touchstart",Z),H=!0),F(e,"on")},detachEvents:function(){F(this,"off")}},breakpoints:{setBreakpoint:function(){const n=this,{realIndex:e,initialized:t,params:s,el:i}=n,o=s.breakpoints;
1if(o&&0!==Object.keys(o).length){var a=n.getBreakpoint(o,n.params.breakpointsBase,n.el);if(a&&n.currentBreakpoint!==a){const c=(a in o?o[a]:void 0)||n.originalParams,d=W(n,s),h=W(n,c),u=s.enabled;d&&!h?(i.classList.remove(s.containerModifierClass+"grid",s.containerModifierClass+"grid-column"),n.emitContainerClasses()):!d&&h&&(i.classList.add(s.containerModifierClass+"grid"),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===s.grid.fill)&&i.classList.add(s.containerModifierClass+"grid-column"),n.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(e=>{var t,i;void 0!==c[e]&&(t=s[e]&&s[e].enabled,i=c[e]&&c[e].enabled,t&&!i&&n[e].disable(),!t)&&i&&n[e].enable()});var r=c.direction&&c.direction!==s.direction,l=s.loop&&(c.slidesPerView!==s.slidesPerView||r),r=(r&&t&&n.changeDirection(),p(n.params,c),n.params.enabled);Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),u&&!r?n.disable():!u&&r&&n.enable(),n.currentBreakpoint=a,n.emit("_beforeBreakpoint",c),l&&t&&(n.loopDestroy(),n.loopCreate(e),n.updateSlides()),n.emit("breakpoint",c)}}},getBreakpoint:function(e,i,n){if(void 0===i&&(i="window"),e&&("container"!==i||n)){let t=!1;const s=P(),o="window"===i?s.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>{var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:o*t,point:e}):{value:e,point:e}});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){const{point:P,value:o}=a[e];"window"===i?s.matchMedia(`(min-width: ${o}px)`).matches&&(t=P):o<=n.clientWidth&&(t=P)}return t||"max"}}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,n=i["slidesOffsetBefore"];if(n){const t=e.slides.length-1,i=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var{classNames:e,params:t,rtl:i,el:n,device:s}=this,i=function(e,i){const n=[];return e.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(e=>{t[e]&&n.push(i+e)}):"string"==typeof t&&n.push(i+t)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&1<t.grid.rows},{"grid-column":t.grid&&1<t.grid.rows&&"column"===t.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...i),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){var{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},m={};class g{constructor(){let t,i;for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?i=n[0]:[t,i]=n,i=p({},i=i||{}),t&&!i.el&&(i.el=t);var h,o=M();if(i.el&&"string"==typeof i.el&&1<o.querySelectorAll(i.el).length){const t=[];return o.querySelectorAll(i.el).forEach(e=>{e=p({},i,{el:e});t.push(new g(e))}),t}const a=this,r=(a.__swiper__=!0,a.support=q(),a.device=(void 0===(h={userAgent:i.userAgent})&&(h={}),l=l||function(){var e=(void 0===h?{}:h)["userAgent"],t=q(),i=P(),n=i.navigator.platform,e=e||i.navigator.userAgent,s={ios:!1,android:!1},o=i.screen.width,i=i.screen.height,a=e.match(/(Android);?[\s\/]+([\d.]+)?/);let r=e.match(/(iPad).*OS\s([\d_]+)/);var l=e.match(/(iPod)(.*OS\s([\d_]+))?/),c=!r&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d="Win32"===n,n="MacIntel"===n;return!r&&n&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(o+"x"+i)&&(r=(r=e.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),a&&!d&&(s.os="android",s.android=!0),(r||c||l)&&(s.os="ios",s.ios=!0),s}()),a.browser=d=d||function(){const t=P();let e=!1;function i(){var e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}if(i()){const i=String(t.navigator.userAgent);if(i.includes("Version/")){const[t,n]=i.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));e=t<16||16===t&&n<2}}return{isSafari:e||i(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWeb
1Kit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules),{});a.modules.forEach(e=>{var n,s;e({params:i,swiper:a,extendParams:(n=i,s=r,function(e){void 0===e&&(e={});var t=Object.keys(e)[0],i=e[t];"object"==typeof i&&null!==i&&(0<=["navigation","pagination","scrollbar"].indexOf(t)&&!0===n[t]&&(n[t]={auto:!0}),t in n)&&"enabled"in i&&(!0===n[t]&&(n[t]={enabled:!0}),"object"!=typeof n[t]||"enabled"in n[t]||(n[t].enabled=!0),n[t]||(n[t]={enabled:!1})),p(s,e)}),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});o=p({},V,r);return a.params=p({},o,m,i),a.originalParams=p({},a.params),a.passedParams=p({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getSlideIndex(e){var{slidesEl:t,params:i}=this,t=x(A(t,`.${i.slideClass}, swiper-slide`)[0]);return x(e)-t}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")===t)[0])}recalcSlides(){var{slidesEl:e,params:t}=this;this.slides=A(e,`.${t.slideClass}, swiper-slide`)}enable(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){var i=this,n=(e=Math.min(Math.max(e,0),1),i.minTranslate()),e=(i.maxTranslate()-n)*e+n;i.translateTo(e,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;var e;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)),t.emit("_containerClasses",e.join(" ")))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const i=this;if(i.params._emitClasses&&i.el){const n=[];i.slides.forEach(e=>{var t=i.getSlideClasses(e);n.push({slideEl:e,classNames:t}),i.emit("_slideClass",e,t)}),i.emit("_slideClasses",n)}}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var{params:i,slides:n,slidesGrid:s,slidesSizesGrid:o,size:a,activeIndex:r}=this;let l=1;if(i.centeredSlides){let t,i=n[r]?n[r].swiperSlideSize:0;for(let e=r+1;e<n.length;e+=1)n[e]&&!t&&(i+=n[e].swiperSlideSize,l+=1,i>a)&&(t=!0);for(let e=r-1;0<=e;--e)n[e]&&!t&&(i+=n[e].swiperSlideSize,l+=1,i>a)&&(t=!0)}else if("current"===e)for(let e=r+1;e<n.length;e+=1)(t?s[e]+o[e]-s[r]<a:s[e]-s[r]<a)&&(l+=1);else for(let e=r-1;0<=e;--e)s[r]-s[e]<a&&(l+=1);return l}update(){const t=this;if(t&&!t.destroyed){const{snapGrid:n,params:s}=t;let e;if(s.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&a(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&t.updateAutoHeight();else{if(("auto"===s.slidesPerView||1<s.slidesPerView)&&t.isEnd&&!s.centeredSlides){const n=(t.virtual&&s.virtual.enabled?t.virtual:t).slides;
vendor: 8,682 bytes, line 1
1e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}function i(){var e=t.rtlTranslate?-1*t.translate:t.translate,e=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}s.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}}changeDirection(t,e){void 0===e&&(e=!0);var i=this,n=i.params.direction;return(t=t||("horizontal"===n?"vertical":"horizontal"))===n||"horizontal"!==t&&"vertical"!==t||(i.el.classList.remove(""+i.params.containerModifierClass+n),i.el.classList.add(""+i.params.containerModifierClass+t),i.emitContainerClasses(),i.params.direction=t,i.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(t.params.containerModifierClass+"rtl"),t.el.dir="rtl"):(t.el.classList.remove(t.params.containerModifierClass+"rtl"),t.el.dir="ltr"),t.update())}mount(i){const n=this;if(!n.mounted){let e=i||n.params.el;if(!(e="string"==typeof e?document.querySelector(e):e))return!1;e.swiper=n,e.shadowEl&&(n.isElement=!0);const s=()=>"."+(n.params.wrapperClass||"").trim().split(" ").join(".");let t=e&&e.shadowRoot&&e.shadowRoot.querySelector?e.shadowRoot.querySelector(s()):A(e,s())[0];!t&&n.params.createElements&&(t=I("div",n.params.wrapperClass),e.append(t),A(e,"."+n.params.slideClass).forEach(e=>{t.append(e)})),Object.assign(n,{el:e,wrapperEl:t,slidesEl:n.isElement?e:t,mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===z(e,"direction"),rtlTranslate:"horizontal"===n.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===z(e,"direction")),wrongRTL:"-webkit-box"===z(t,"display")})}return!0}init(e){const t=this;return t.initialized||!1!==t.mount(e)&&(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete?a(t,e):e.addEventListener("load",e=>{a(t,e.target)})}),u(t),t.initialized=!0,u(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,el:s,wrapperEl:o,slides:a}=i;if(void 0!==i.params&&!i.destroyed){if(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttribute("style"),o.removeAttribute("style"),a)&&a.length&&a.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e){i.el.swiper=null;{const r=i;Object.keys(r).forEach(e=>{try{r[e]=null}catch(e){}try{delete r[e]}catch(e){}})}}i.destroyed=!0}return null}static extendDefaults(e){p(m,e)}static get extendedDefaults(){return m}static get defaults(){return V}static installModule(e){g.prototype.__modules__||(g.prototype.__modules__=[]);var t=g.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>g.installModule(e)):g.installModule(e),g}}function T(i,n,s,o){return i.params.createElements&&Object.keys(o).forEach(t=>{if(!s[t]&&!0===s.auto){let e=A(i.el,"."+o[t])[0];e||((e=I("div",o[t])).className=o[t],i.el.append(e)),s[t]=e,n[t]=e}}),s}function E(e){return"."+(e=void 0===e?"":e).trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}function w(e){const{effect:i,swiper:n,on:t,setTranslate:s,setTransition:o,overwriteParams:a,perspective:r,recreateShadows:l,getEffectParams:c}=e;let d;t("beforeInit",()=>{var e;n.params.effect===i&&(n.classNames.push(""+n.params.containerModifierClass+i),r&&r()&&n.classNames.push(n.params.containerModifierClass+"3d"),e=a?a():{},Object.assign(n.params,e),Object.assign(n.originalParams,e))}),t("setTranslate",()=>{n.params.effect===i&&s()}),t("setTransition",(e,t)=>{n.params.effect===i&&o(t)}),t("transitionEnd",()=>{n.params.effect===i&&l&&c&&c().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),l())}),t("virtualUpdate",()=>{n.params.effect===i&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(s(),d=!1)}))})}function L(e,t){var i=o(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}function y(e){let{swiper:i,duration:t,transformElements:n,allSlides:s}=e;const o=i["activeIndex"];if(i.params.virtualTranslate&&0!==t){let t=!1;(s?n:n.filter(e=>{var t,e=e.classList.contains("swiper-slide-transform")?(t=e).parentElement||i.slides.filter(e=>e.shadowEl&&e.shadowEl===t.parentNode)[0]:e;return i.getSlideIndex(e)===o})).forEach(e=>{f(e,()=>{var e;t||i&&!i.destroyed&&(t=!0,i.animating=!1,e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),i.wrapperEl.dispatchEvent(e))})})}}function N(e,t,i){var n="swiper-slide-shadow"+(i?"-"+i:""),t=o(t);let s=t.querySelector("."+n);return s||(s=I("div","swiper-slide-shadow"+(i?"-"+i:"")),t.append(s)),s}return Object.keys(r).forEach(t=>{Object.keys(r[t]).forEach(e=>{g.prototype[e]=r[t][e]})}),g.use([function(e){let{swiper:o,on:t,emit:i}=e;const n=P();let s=null,a=null;const r=()=>{o&&!o.destroyed&&o.initialized&&(i("beforeResize"),i("resize"))},l=()=>{o&&!o.destroyed&&o.initialized&&i("orientationchange")};t("init",()=>{o.params.resizeObserver&&void 0!==n.ResizeObserver?o&&!o.destroyed&&o.initialized&&(s=new ResizeObserver(i=>{a=n.requestAnimationFrame(()=>{var{width:e,height:t}=o;let n=e,s=t;i.forEach(e=>{var{contentBoxSize:e,contentRect:t,target:i}=e;i&&i!==o.el||(n=t?t.width:(e[0]||e).inlineSize,s=t?t.height:(e[0]||e).blockSize)}),n===e&&s===t||r()})})).observe(o.el):(n.addEventListener("resize",r),n.addEventListener("orientationchange",l))}),t("destroy",()=>{a&&n.cancelAnimationFrame(a),s&&s.unobserve&&o.el&&(s.unobserve(o.el),s=null),n.removeEventListener("resize",r),n.removeEventListener("orientationchange",l)})},function(e){let{swiper:n,extendParams:t,on:i,emit:s}=e;function o(e,t){void 0===t&&(t={});var i=new(r.MutationObserver||r.WebkitMutationObserver)(e=>{var t;n.__preventObserver__||(1===e.length?s("observerUpdate",e[0]):(t=function(){s("observerUpdate",e[0])},r.requestAnimationFrame?r.requestAnimationFrame(t):r.setTimeout(t,0)))});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.push(i)}const a=[],r=P();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(n.params.observer){if(n.params.observeParents){var t=B(n.el);for(let e=0;e<t.length;e+=1)o(t[e])}o(n.el,{childList:n.params.observeSlideChildren}),o(n.wrapperEl,{attributes:!1})}}),i("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]),g.use([function(e){let t,{swiper:S,extendParams:i,on:n,emit:T}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});e=M();S.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const s=e.createElement("div");function L(e,t){var i=S.params.virtual;if(i.cache&&S.virtual.cache[t])return S.virtual.cache[t];let n;return i.renderSlide?"string"==typeof(n=i.renderSlide.call(S,e,t))&&(s.innerHTML=n,n=s.children[0]):n=S.isElement?I("swiper-slide"):I("div",S.params.slideClass),n.setAttribute("data-swiper-slide-index",t),i.renderSlide||(n.innerHTML=e),i.cache&&(S.virtual.cache[t]=n),n}function a(t){const{slidesPerView:i,slidesPerGroup:e,centeredSlides:n,loop:s}=S.params,{addSlidesBefore:o,addSlidesAfter:a}=S.params.virtual,{from:r,to:l,slides:c,slidesGrid:d,offset:h}=S.virtual;S.params.cssMode||S.updateActiveIndex();var u=S.activeIndex||0;let p,m,f,g=(p=S.rtlTranslate?"right":S.isHorizontal()?"left":"top",u-(f=n?(m=Math.floor(i/2)+e+a,Math.floor(i/2)+e+o):(m=i+(e-1)+a,(s?i:e)+o))),v=u+m,_=(s||(g=Math.max(g,0),v=Math.min(v,c.length-1)),(S.slidesGrid[g]||0)-(S.slidesGrid[0]||0));function y(){S.updateSlides(),S.updateProgress(),S.updateSlidesClasses(),T("virtualUpdate")}if(s&&u>
1=f?(g-=f,n||(_+=S.slidesGrid[0])):s&&u<f&&(g=-f,n)&&(_+=S.slidesGrid[0]),Object.assign(S.virtual,{from:g,to:v,offset:_,slidesGrid:S.slidesGrid,slidesBefore:f,slidesAfter:m}),r!==g||l!==v||t)if(S.params.virtual.renderExternal)S.params.virtual.renderExternal.call(S,{offset:_,from:g,to:v,slides:function(){var t=[];for(let e=g;e<=v;e+=1)t.push(c[e]);return t}()}),S.params.virtual.renderExternalUpdate?y():T("virtualUpdate");else{var b=[],w=[],x=e=>{let t=e;return e<0?t=c.length+e:t>=c.length&&(t-=c.length),t};if(t)S.slidesEl.querySelectorAll(`.${S.params.slideClass}, swiper-slide`).forEach(e=>{e.remove()});else for(let e=r;e<=l;e+=1)if(e<g||e>v){const i=x(e);S.slidesEl.querySelectorAll(`.${S.params.slideClass}[data-swiper-slide-index="${i}"], swiper-slide[data-swiper-slide-index="${i}"]`).forEach(e=>{e.remove()})}var u=s?-c.length:0,E=s?2*c.length:c.length;for(let e=u;e<E;e+=1)if(e>=g&&e<=v){const S=x(e);void 0===l||t?w.push(S):(e>l&&w.push(S),e<r&&b.push(S))}if(w.forEach(e=>{S.slidesEl.append(L(c[e],e))}),s)for(let e=b.length-1;0<=e;--e){const i=b[e];S.slidesEl.prepend(L(c[i],i))}else b.sort((e,t)=>t-e),b.forEach(e=>{S.slidesEl.prepend(L(c[e],e))});A(S.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[p]=_-Math.abs(S.cssOverflowAdjustment())+"px"}),y()}else S.slidesGrid!==d&&_!==h&&S.slides.forEach(e=>{e.style[p]=_-Math.abs(S.cssOverflowAdjustment())+"px"}),S.updateProgress(),T("virtualUpdate")}n("beforeInit",()=>{if(S.params.virtual.enabled){let e;var t;void 0===S.passedParams.virtual.slides&&(t=[...S.slidesEl.children].filter(e=>e.matches(`.${S.params.slideClass}, swiper-slide`)))&&t.length&&(S.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),(S.virtual.cache[t]=e).remove()})),e||(S.virtual.slides=S.params.virtual.slides),S.classNames.push(S.params.containerModifierClass+"virtual"),S.params.watchSlidesProgress=!0,S.originalParams.watchSlidesProgress=!0,S.params.initialSlide||a()}}),n("setTranslate",()=>{S.params.virtual.enabled&&(S.params.cssMode&&!S._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{a()},100)):a())}),n("init update resize",()=>{S.params.virtual.enabled&&S.params.cssMode&&C(S.wrapperEl,"--swiper-virtual-size",S.virtualSize+"px")}),Object.assign(S.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&S.virtual.slides.push(t[e]);else S.virtual.slides.push(t);a(!0)},prependSlide:function(n){const s=S.activeIndex;let e=s+1,o=1;if(Array.isArray(n)){for(let e=0;e<n.length;e+=1)n[e]&&S.virtual.slides.unshift(n[e]);e=s+n.length,o=n.length}else S.virtual.slides.unshift(n);if(S.params.virtual.cache){const n=S.virtual.cache,s={};Object.keys(n).forEach(e=>{var t=n[e],i=t.getAttribute("data-swiper-slide-index");i&&t.setAttribute("data-swiper-slide-index",parseInt(i,10)+o),s[parseInt(e,10)+o]=t}),S.virtual.cache=s}a(!0),S.slideTo(e,0)},removeSlide:function(i){if(null!=i){let t=S.activeIndex;if(Array.isArray(i))for(let e=i.length-1;0<=e;--e)S.virtual.slides.splice(i[e],1),S.params.virtual.cache&&delete S.virtual.cache[i[e]],i[e]<t&&--t,t=Math.max(t,0);else S.virtual.slides.splice(i,1),S.params.virtual.cache&&delete S.virtual.cache[i],i<t&&--t,t=Math.max(t,0);a(!0),S.slideTo(t,0)}},removeAllSlides:function(){S.virtual.slides=[],S.params.virtual.cache&&(S.virtual.cache={}),a(!0),S.slideTo(0,0)},update:a})},function(e){let{swiper:h,extendParams:t,on:i,emit:u}=e;const p=M(),m=P();function n(t){if(h.enabled){const i=h["rtlTranslate"];let e=t;const n=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode,s=h.params.keyboard.pageUpDown,o=s&&33===n,a=s&&34===n,r=37===n,l=39===n,c=38===n,d=40===n;if(!h.allowSlideNext&&(h.isHorizontal()&&l||h.isVertical()&&d||a))return!1;if(!h.allowSlidePrev&&(h.isHorizontal()&&r||h.isVertical()&&c||o))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||p.activeElement&&p.activeElement.nodeName&&("input"===p.activeElement.nodeName.toLowerCase()||"textarea"===p.activeElement.nodeName.toLowerCase()))){if(h.params.keyboard.onlyInViewport&&(o||a||r||l||c||d)){let t=!1;if(0<B(h.el,`.${h.params.slideClass}, swiper-slide`).length&&0===B(h.el,"."+h.params.slideActiveClass).length)return;const e=h.el,n=e.clientWidth,s=e.clientHeight,u=m.innerWidth,p=m.innerHe
vendor: 6,218 bytes, line 1
1ight,o=O(e),a=(i&&(o.left-=e.scrollLeft),[[o.left,o.top],[o.left+n,o.top],[o.left,o.top+s],[o.left+n,o.top+s]]);for(let e=0;e<a.length;e+=1){const i=a[e];0<=i[0]&&i[0]<=u&&0<=i[1]&&i[1]<=p&&(0===i[0]&&0===i[1]||(t=!0))}if(!t)return}h.isHorizontal()?((o||a||r||l)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((a||l)&&!i||(o||r)&&i)&&h.slideNext(),((o||r)&&!i||(a||l)&&i)&&h.slidePrev()):((o||a||c||d)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(a||d)&&h.slideNext(),(o||c)&&h.slidePrev()),u("keyPress",n)}}}function s(){h.keyboard.enabled||(p.addEventListener("keydown",n),h.keyboard.enabled=!0)}function o(){h.keyboard.enabled&&(p.removeEventListener("keydown",n),h.keyboard.enabled=!1)}h.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",()=>{h.params.keyboard.enabled&&s()}),i("destroy",()=>{h.keyboard.enabled&&o()}),Object.assign(h.keyboard,{enable:s,disable:o})},function(e){let{swiper:d,extendParams:t,on:i,emit:h}=e;const n=P();let u;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),d.mousewheel={enabled:!1};let p,s=v();const m=[];function o(){d.enabled&&(d.mouseEntered=!0)}function a(){d.enabled&&(d.mouseEntered=!1)}function f(e){d.params.mousewheel.thresholdDelta&&e.delta<d.params.mousewheel.thresholdDelta||d.params.mousewheel.thresholdTime&&v()-s<d.params.mousewheel.thresholdTime||6<=e.delta&&v()-s<60||(e.direction<0?d.isEnd&&!d.params.loop||d.animating||(d.slideNext(),h("scroll",e.raw)):d.isBeginning&&!d.params.loop||d.animating||(d.slidePrev(),h("scroll",e.raw)),s=(new n.Date).getTime())}function r(n){let s=n,o=!0;if(d.enabled&&!n.target.closest("."+d.params.mousewheel.noMousewheelClass)){var a=d.params.mousewheel;d.params.cssMode&&s.preventDefault();let e=d.el;const c=(e="container"!==d.params.mousewheel.eventsTarget?document.querySelector(d.params.mousewheel.eventsTarget):e)&&e.contains(s.target);if(!d.mouseEntered&&!c&&!a.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let i=0;var r=d.rtlTranslate?-1:1,l=function(e){let t=0,i=0,n=0,s=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}}(s);if(a.forceToAxis)if(d.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;i=-l.pixelX*r}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;i=-l.pixelY}else i=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*r:-l.pixelY;if(0===i)return!0;a.invert&&(i=-i);let t=d.getTranslate()+i*a.sensitivity;if((t=t>=d.minTranslate()?d.minTranslate():t)<=d.maxTranslate()&&(t=d.maxTranslate()),(o=!!d.params.loop||!(t===d.minTranslate()||t===d.maxTranslate()))&&d.params.nested&&s.stopPropagation(),d.params.freeMode&&d.params.freeMode.enabled){const n={time:v(),delta:Math.abs(i),direction:Math.sign(i)},o=p&&n.time<p.time+500&&n.delta<=p.delta&&n.direction===p.direction;if(!o){p=void 0;let e=d.getTranslate()+i*a.sensitivity;const t=d.isBeginning,c=d.isEnd;if((e=e>=d.minTranslate()?d.minTranslate():e)<=d.maxTranslate()&&(e=d.maxTranslate()),d.setTransition(0),d.setTranslate(e),d.updateProgress(),d.updateActiveIndex(),d.updateSlidesClasses(),(!t&&d.isBeginning||!c&&d.isEnd)&&d.updateSlidesClasses(),d.params.loop&&d.loopFix({direction:n.direction<0?"next":"prev",byMousewheel:!0}),d.params.freeMode.sticky){clearTimeout(u),u=void 0,15<=m.length&&m.shift();const s=m.length?m[m.length-1]:void 0,o=m[0];if(m.push(n),s&&(n.delta>s.delta||n.direction!==s.direction))m.splice(0);else if(15<=m.length&&n.time-o.time<500&&1<=o.delta-n.delta&&n.delta<=6){const s=0<i?.8:.2;p=n,m.splice(0),u=S(()=>{d.slideToClosest(d.params.speed,!0,void 0,s)},0)}u=u||S(()=>{p=n,m.splice(0),d.slideToClosest(d.params.speed,!0,void 0,.5)},500)}if(o||h("scroll",s),d.params.autoplay&&d.params.autoplayDisableOnInteraction&&d.autoplay.stop(),e===d.minTranslate()||e===d.maxTranslate())return!0}}else{const s={time:v(),delta:Math.abs(i),direction:Math.sign(i),raw:n},o=(2<=m.length&&m.shift(),m.length?m[m.length-1]:void 0);if(m.push(s),(!o||s.direction!==o.direction||s.delta>o.delta||s.time>o.time+150)&&f(s),function(e){var t=d.params.mousewheel;if(e.direction<0){if(d.isEnd&&!d.params.loop&&t.releaseOnEdges)return 1}else if(d.isBeginning&&!d.params.loop&&t.releaseOnEdges)return 1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}}function l(e){let t=d.el;(t="container"!==d.params.mousewheel.eventsTarget?document.querySelector(d.params.mousewheel.eventsTarget):t)[e]("mouseenter",o),t[e]("mouseleave",a),t[e]("wheel",r)}function c(){return d.params.cssMode?(d.wrapperEl.removeEventListener("wheel",r),!0):!d.mousewheel.enabled&&(l("addEventListener"),d.mousewheel.enabled=!0)}function g(){return d.params.cssMode?(d.wrapperEl.addEventListener(event,r),!0):!!d.mousewheel.enabled&&(l("removeEventListener"),!(d.mousewheel.enabled=!1))}i("init",()=>{!d.params.mousewheel.enabled&&d.params.cssMode&&g(),d.params.mousewheel.enabled&&c()}),i("destroy",()=>{d.params.cssMode&&c(),d.mousewheel.enabled&&g()}),Object.assign(d.mousewheel,{enable:c,disable:g})},function(e){let{swiper:s,extendParams:t,on:i,emit:o}=e;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),s.navigation={nextEl:null,prevEl:null};const a=e=>e=Array.isArray(e)?e:[e].filter(e=>!!e);function r(e){let t;return!(e&&"string"==typeof e&&s.isElement&&(t=s.el.shadowRoot.querySelector(e)))&&(e&&("string"==typeof e&&(t=[...document.querySelectorAll(e)]),s.params.uniqueNavElements)&&"string"==typeof e&&1<t.length&&1===s.el.querySelectorAll(e).length&&(t=s.el.querySelector(e)),e)&&!t?e:t}function n(e,t){const i=s.params.navigation;
1(e=a(e)).forEach(e=>{e&&(e.classList[t?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=t),s.params.watchOverflow)&&s.enabled&&e.classList[s.isLocked?"add":"remove"](i.lockClass)})}function l(){var{nextEl:e,prevEl:t}=s.navigation;s.params.loop?(n(t,!1),n(e,!1)):(n(t,s.isBeginning&&!s.params.rewind),n(e,s.isEnd&&!s.params.rewind))}function c(e){e.preventDefault(),s.isBeginning&&!s.params.loop&&!s.params.rewind||(s.slidePrev(),o("navigationPrev"))}function d(e){e.preventDefault(),s.isEnd&&!s.params.loop&&!s.params.rewind||(s.slideNext(),o("navigationNext"))}function h(){const i=s.params.navigation;if(s.params.navigation=T(s,s.originalParams.navigation,s.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),i.nextEl||i.prevEl){var e=r(i.nextEl),t=r(i.prevEl);Object.assign(s.navigation,{nextEl:e,prevEl:t}),e=a(e),t=a(t);const n=(e,t)=>{e&&e.addEventListener("click","next"===t?d:c),!s.enabled&&e&&e.classList.add(...i.lockClass.split(" "))};e.forEach(e=>n(e,"next")),t.forEach(e=>n(e,"prev"))}}function u(){var{nextEl:e,prevEl:t}=s.navigation,e=a(e),t=a(t);const i=(e,t)=>{e.removeEventListener("click","next"===t?d:c),e.classList.remove(...s.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),t.forEach(e=>i(e,"prev"))}i("init",()=>{(!1===s.params.navigation.enabled?p:(h(),l))()}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{u()}),i("enable disable",()=>{var{nextEl:e,prevEl:t}=s.navigation,e=a(e),t=a(t);[...e,...t].filter(e=>!!e).forEach(e=>e.classList[s.enabled?"remove":"add"](s.params.navigation.lockClass))}),i("click",(e,t)=>{var{nextEl:i,prevEl:n}=s.navigation,i=a(i),n=a(n),t=t.target;if(s.params.navigation.hideOnClick&&!n.includes(t)&&!i.includes(t)&&(!(s.pagination&&s.params.pagination&&s.params.pagination.clickable)||s.pagination.el!==t&&!s.pagination.el.contains(t))){let e;i.length?e=i[0].classList.contains(s.params.navigation.hiddenClass):n.length&&(e=n[0].classList.contains(s.params.navigation.hiddenClass)),o(!0===e?"navigationShow":"navigationHide"),[...i,...n].filter(e=>!!e).forEach(e=>e.classList.toggle(s.params.navigation.hiddenClass))}});const p=()=>{s.el.classList.add(...s.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(s.navigation,{enable:()=>{s.el.classList.remove(...s.params.navigation.navigationDisabledClass.split(" ")),h(),l()},disable:p,update:l,init:h,destroy:u})},function(e){let{swiper:c,extendParams:t,on:i,emit:d}=e;e="swiper-pagination";let h,u=(t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:e+"-bullet",bulletActiveClass:e+"-bullet-active",modifierClass:e+"-",currentClass:e+"-current",totalClass:e+"-total",hiddenClass:e+"-hidden",progressbarFillClass:e+"-progressbar-fill",progressbarOppositeClass:e+"-progressbar-opposite",clickableClass:e+"-clickable",lockClass:e+"-lock",horizontalClass:e+"-horizontal",verticalClass:e+"-vertical",paginationDisabledClass:e+"-disabled"}}),c.pagination={el:null,bullets:[]},0);const s=e=>e=Array.isArray(e)?e:[e].filter(e=>!!e);function o(){return!c.params.pagination.el||!c.pagination.el||Array.isArray(c.pagination.el)&&0===c.pagination.el.length}function p(e,t){var i=c.params.pagination["bulletActiveClass"];(e=e&&e[("prev"===t?"previous":"next")+"ElementSibling"])&&(e.classList.add(i+"-"+t),e=e[("prev"===t?"previous":"next")+"ElementSibling"])&&e.classList.add(i+`-${t}-`+t)}function n(e){const t=e.target.closest(E(c.params.pagination.bulletClass));if(t){e.preventDefault();var i=x(t)*c.params.slidesPerGroup;if(c.params.loop){if(c.realIndex!==i){const e=c.getSlideIndexByData(i),t=c.getSlideIndexByData(c.realIndex);e>c.slides.length-c.loopedSlides&&c.loopFix({direction:e>t?"next":"prev",activeSlideIndex:e,slideTo:!1}),c.slideToLoop(i)}}else c.slideTo(i)}}function a(){const a=c.rtl,r=c.params.pagination;if(!o()){let o,e,t=c.pagination.el;t=s(t);const i=(c.virtual&&c.params.virtual.enabled?c.virtual:c).slides.length,l=c.params.loop?Math.
vendor: 4,139 bytes, line 1
1ceil(i/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(e=c.previousRealIndex||0,o=1<c.params.slidesPerGroup?Math.floor(c.realIndex/c.params.slidesPerGroup):c.realIndex):void 0!==c.snapIndex?(o=c.snapIndex,e=c.previousSnapIndex):(e=c.previousIndex||0,o=c.activeIndex||0),"bullets"===r.type&&c.pagination.bullets&&0<c.pagination.bullets.length){const d=c.pagination.bullets;let i,n,s;if(r.dynamicBullets&&(h=D(d[0],c.isHorizontal()?"width":"height",!0),t.forEach(e=>{e.style[c.isHorizontal()?"width":"height"]=h*(r.dynamicMainBullets+4)+"px"}),1<r.dynamicMainBullets&&void 0!==e&&((u+=o-(e||0))>r.dynamicMainBullets-1?u=r.dynamicMainBullets-1:u<0&&(u=0)),i=Math.max(o-u,0),n=i+(Math.min(d.length,r.dynamicMainBullets)-1),s=(n+i)/2),d.forEach(e=>{var t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>""+r.bulletActiveClass+e)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),1<t.length)d.forEach(e=>{var t=x(e);t===o?e.classList.add(...r.bulletActiveClass.split(" ")):c.isElement&&e.setAttribute("part","bullet"),r.dynamicBullets&&(t>=i&&t<=n&&e.classList.add(...(r.bulletActiveClass+"-main").split(" ")),t===i&&p(e,"prev"),t===n)&&p(e,"next")});else{const a=d[o];if(a&&a.classList.add(...r.bulletActiveClass.split(" ")),c.isElement&&d.forEach((e,t)=>{e.setAttribute("part",t===o?"bullet-active":"bullet")}),r.dynamicBullets){const a=d[i],c=d[n];for(let e=i;e<=n;e+=1)d[e]&&d[e].classList.add(...(r.bulletActiveClass+"-main").split(" "));p(a,"prev"),p(c,"next")}}if(r.dynamicBullets){const e=Math.min(d.length,r.dynamicMainBullets+4),t=(h*e-h)/2-s*h,u=a?"right":"left";d.forEach(e=>{e.style[c.isHorizontal()?u:"top"]=t+"px"})}}t.forEach((e,n)=>{if("fraction"===r.type&&(e.querySelectorAll(E(r.currentClass)).forEach(e=>{e.textContent=r.formatFractionCurrent(o+1)}),e.querySelectorAll(E(r.totalClass)).forEach(e=>{e.textContent=r.formatFractionTotal(l)})),"progressbar"===r.type){var s=r.progressbarOpposite?c.isHorizontal()?"vertical":"horizontal":c.isHorizontal()?"horizontal":"vertical";const n=(o+1)/l;let t=1,i=1;"horizontal"==s?t=n:i=n,e.querySelectorAll(E(r.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${t}) scaleY(${i})`,e.style.transitionDuration=c.params.speed+"ms"})}"custom"===r.type&&r.renderCustom?(e.innerHTML=r.renderCustom(c,o+1,l),0===n&&d("paginationRender",e)):(0===n&&d("paginationRender",e),d("paginationUpdate",e)),c.params.watchOverflow&&c.enabled&&e.classList[c.isLocked?"add":"remove"](r.lockClass)})}}function r(){const n=c.params.pagination;if(!o()){var e=(c.virtual&&c.params.virtual.enabled?c.virtual:c).slides.length,t=c.pagination.el,t=s(t);let i="";if("bullets"===n.type){let t=c.params.loop?Math.ceil(e/c.params.slidesPerGroup):c.snapGrid.length;c.params.freeMode&&c.params.freeMode.enabled&&t>e&&(t=e);for(let e=0;e<t;e+=1)n.renderBullet?i+=n.renderBullet.call(c,e,n.bulletClass):i+=`<${n.bulletElement} ${c.isElement?'part="bullet"':""} class="${n.bulletClass}"></${n.bulletElement}>`}"fraction"===n.type&&(i=n.renderFraction?n.renderFraction.call(c,n.currentClass,n.totalClass):`<span class="${n.currentClass}"></span> / <span class="${n.totalClass}"></span>`),"progressbar"===n.type&&(i=n.renderProgressbar?n.renderProgressbar.call(c,n.progressbarFillClass):`<span class="${n.progressbarFillClass}"></span>`),c.pagination.bullets=[],t.forEach(e=>{"custom"!==n.type&&(e.innerHTML=i||""),"bullets"===n.type&&c.pagination.bullets.push(...e.querySelectorAll(E(n.bulletClass)))}),"custom"!==n.type&&d("paginationRender",t[0])}}function l(){c.params.pagination=T(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const t=c.params.pagination;if(t.el){let e;(e=(e=(e="string"==typeof t.el&&c.isElement?c.el.shadowRoot.querySelector(t.el):e)||"string"!=typeof t.el?e:[...document.querySelectorAll(t.el)])||t.el)&&0!==e.length&&(c.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&1<e.length&&1<(e=[...c.el.querySelectorAll(t.el)]).length&&(e=e.filter(e=>B(e,".swiper")[0]===c.el)[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(c.pagination,{el:e}
1),(e=s(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(t.clickableClass),e.classList.add(t.modifierClass+t.type),e.classList.add(c.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(""+t.modifierClass+t.type+"-dynamic"),u=0,t.dynamicMainBullets<1)&&(t.dynamicMainBullets=1),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",n),c.enabled||e.classList.add(t.lockClass)}))}}function m(){const t=c.params.pagination;var e;o()||((e=c.pagination.el)&&(e=s(e)).forEach(e=>{e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(c.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&e.removeEventListener("click",n)}),c.pagination.bullets&&c.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" "))))}i("changeDirection",()=>{if(c.pagination&&c.pagination.el){const t=c.params.pagination;var e=c.pagination["el"];(e=s(e)).forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(c.isHorizontal()?t.horizontalClass:t.verticalClass)})}}),i("init",()=>{(!1===c.params.pagination.enabled?f:(l(),r(),a))()}),i("activeIndexChange",()=>{void 0===c.snapIndex&&a()}),i("snapIndexChange",()=>{a()}),i("snapGridLengthChange",()=>{r(),a()}),i("destroy",()=>{m()}),i("enable disable",()=>{var e=c.pagination["el"];e&&(e=s(e)).forEach(e=>e.classList[c.enabled?"remove":"add"](c.params.pagination.lockClass))}),i("lock unlock",()=>{a()}),i("click",(e,t)=>{t=t.target;let i=c.pagination["el"];if(Array.isArray(i)||(i=[i].filter(e=>!!e)),c.params.pagination.el&&c.params.pagination.hideOnClick&&i&&0<i.length&&!t.classList.contains(c.params.pagination.bulletClass)&&(!c.navigation||!(c.navigation.nextEl&&t===c.navigation.nextEl||c.navigation.prevEl&&t===c.navigation.prevEl))){const e=i[0].classList.contains(c.params.pagination.hiddenClass);d(!0===e?"paginationShow":"paginationHide"),i.forEach(e=>e.classList.toggle(c.params.pagination.hiddenClass))}});const f=()=>{c.el.classList.add(c.params.pagination.paginationDisabledClass);var e=c.pagination["el"];e&&(e=s(e)).forEach(e=>e.classList.add(c.params.pagination.paginationDisabledClass)),m()};Object.assign(c.pagination,{enable:()=>{c.el.classList.remove(c.params.pagination.paginationDisabledClass);var e=c.pagination["el"];e&&(e=s(e)).forEach(e=>e.classList.remove(c.params.pagination.paginationDisabledClass)),l(),r(),a()},disable:f,render:r,update:a,init:l,destroy:m})},function(e){let{swiper:l,extendParams:t,on:i,emit:o}=e;const a=M();let r,c,d,n,h=!1,u=null,p=null;function s(){if(l.params.scrollbar.el&&l.scrollbar.el){const{scrollbar:i,rtlTranslate:n}=l,{dragEl:s,el:o}=i,a=l.params.scrollbar,r=l.params.loop?l.progressLoop:l.progress;let e=c,t=(d-c)*r;n?0<(t=-t)?(e=c-t,t=0):-t+c>d&&(e=d+t):t<0?(e=c+t,t=0):t+c>d&&(e=d-t),l.isHorizontal()?(s.style.transform=`translate3d(${t}px, 0, 0)`,s.style.width=e+"px"):(s.style.transform=`translate3d(0px, ${t}px, 0)`,s.style.height=e+"px"),a.hide&&(clearTimeout(u),o.style.opacity=1,u=setTimeout(()=>{o.style.opacity=0,o.style.transitionDuration="400ms"},1e3))}}function m(){var e,t,i;l.params.scrollbar.el&&l.scrollbar.el&&(e=l["scrollbar"],{dragEl:t,el:i}=e,t.style.width="",t.style.height="",d=l.isHorizontal()?i.offsetWidth:i.offsetHeight,n=l.size/(l.virtualSize+l.params.slidesOffsetBefore-(l.params.centeredSlides?l.snapGrid[0]:0)),c="auto"===l.params.scrollbar.dragSize?d*n:parseInt(l.params.scrollbar.dragSize,10),l.isHorizontal()?t.style.width=c+"px":t.style.height=c+"px",i.style.display=1<=n?"none":"",l.params.scrollbar.hide&&(i.style.opacity=0),l.params.watchOverflow)&&l.enabled&&e.el.classList[l.isLocked?"add":"remove"](l.params.scrollbar.lockClass)}function f(e){return l.isHorizontal()?e.clientX:e.clientY}function g(e){var{scrollbar:t,rtlTranslate:i}=l,t=t["el"];let n;n=(f(e)-O(t)[l.isHorizontal()?"left":"top"]-(null!==r?r:c/2))/(d-c),n=Math.max(Math.min(n,1),0),i&&(n=1-n);e=l.minTranslate()+(l.maxTranslate()-l.minTranslate())*n;l.updateProgress(e),l.setTranslate(e),l.updateActiveIndex(),l.updateSlidesClasses()}function v(e){var t=l.params.scrollbar,{scrollbar:i,wrapperEl:n}=l,{el:i,dragEl:s}=i;h=!0,r=e.target===s?f(e)-e.target.getBoundingClientRect()[l.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.style.transitionDuration="100ms",s.style.transitionDuration="100ms",g(e),clearTimeout(p),i.style.transitionDuration="0ms",t.hide&&(i.style.opacity=1),l.params.cssMode&&(l.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",e)}function _(e){var{scrollbar:t,wrapperEl:i}=l,{el:t,dragEl:n}=t;h&&(e.preventDefault?e.preventDefault():e.returnValue=!1,g(e),i.style.transitionDuration="0ms",t.style.transitionDuration="0ms",n.style.transitionDuration="0ms",o("scrollbarDragMove",e))}function y(e){const t=l.params.scrollbar,{scrollbar:i,wrapperEl:n}=l,s=i["el"];h&&(h=!1,l.params.cssMode&&(l.wrapperEl.style["scroll-snap-type"]="",n.style.transitionDuration=""),t.hide&&(clearTimeout(p),p=S(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",e),t.snapOnRelease)&&l.slideToClosest()}function b(e){var t,{scrollbar:i,params:n}=l,i=i.el;i&&(t=!!n.passiveListeners&&{passive:!1,capture:!1},n=!!n.passiveListeners&&{passive:!0,capture:!1},i=i)&&(i[i="on"===e?"addEventListener":"removeEventListener"]("pointerdown",v,t),a[i]("pointermove",_,t),a[i]("pointerup",y,n))}function w(){var{scrollbar:i,el:n}=l,s=(l.params.scrollbar=T(l,l.originalParams.scrollbar,l.params.scrollbar,{el:"swiper-scrollbar"}),l.params.scrollbar);if(s.el){let e,t;e=(e="string"==typeof s.el&&l.isElement?l.el.shadowRoot.querySelector(s.el):e)||"string"!=typeof s.el?e||s.el:a.querySelectorAll(s.el),(e=0<(e=l.params.uniqueNavElements&&"string"==typeof s.el&&1<e.length&&1===n.querySelectorAll(s.el).length?n.querySelector(s.el):e).length?e[0]:e).classList.add(l.isHorizontal()?s.horizontalClass:s.verticalClass),e&&((t=e.querySelector("."+l.params.scrollbar.dragClass))||(t=I("div",l.params.scrollbar.dragClass),e.append(t))),Object.assign(i,{el:e,dragEl:t}),s.draggable&&l.params.scrollbar.el&&l.scrollbar.el&&b("on"),e&&e.classList[l.enabled?"remove":"add"](l.params.scrollbar.lockClass)}}function x(){var e=l.params.scrollbar,t=l.scrollbar.el;t&&t.classList.remove(l.isHorizontal()?e.horizontalClass:e.verticalClass),l.params.scrollbar.el&&l.scrollbar.el&&b("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),l.scrollbar={el:null,dragEl:null},i("init",()=>{(!1===l.params.scrollbar.enabled?E:(w(),m(),s))()}),i("update resize observerUpdate lock unlock",()=>{m()}),i("setTranslate",()=>{s()}),i("setTransition",(e,t)=>{t=t,l.params.scrollbar.el&&l.scrollbar.el&&(l.scrollbar.dragEl.style.transitionDuration=t+"ms")}),i("enable disable",()=>{var e=l.scrollbar["el"];e&&e.classList[l.enabled?"remove":"add"](l.params.scrollbar.lockClass)}),i("destroy",()=>{x()});const E=()=>{l.el.classList.add(l.params.scrollbar.scrollbarDisabledClass),l.scrollbar.el&&l.scrollbar.el.classList.add(l.params.scrollbar.scrollbarDisabledClass),x()};Object.assign(l.scrollbar,{enable:()=>{l.el.classList.remove(l.params.scrollbar.scrollbarDisabledClass),l.scrollbar.el&&l.scrollbar.el.classList.remove(l.params.scrollbar.scrollbarDisabledClass),w(),m(),s()},disable:E,updateSize:m,setTranslate:s,init:w,destroy:x})},function(e){let{swiper:d,extendParams:t,on:i}=e;t({parallax:{enabled:!1}});const o=(e,t)=>{var i=d["rtl"],i=i?-1:1,n=e.getAttribute("data-swiper-parallax")||"0";let s=e.getAttribute("data-swiper-parallax-x"),o=e.getAttribute("data-swiper-parallax-y");var a=e.getAttribute("data-swiper-parallax-scale"),r=e.getAttribute("data-swiper-parallax-opacity"),l=e.getAttribute("data-swiper-parallax-rotate");if(s||o?(s=s||"0",o=o||"0"):d.isHorizontal()?(s=n,o="0"):(o=n,s="0"),s=0<=s.indexOf("%")?parseInt(s,10)*t*i+"%":s*t*i+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=r){const d=r-(r-1)*(1-Math.abs(t));e.style.opacity=d}let c=`translate3d(${s}, ${o}, 0px)`;null!=a&&(c+=` scale(${a-(a-1)*(1-Math.abs(t))})`),l&&null!=l&&(c+=` rotate(${l*t*-1}deg)`),e.style.transform=c},n=()=>{const{el:e,slides:t,progress:n,snapGrid:s}=d;A(e,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(e
vendor: 14,544 bytes, line 1
1=>{o(e,n)}),t.forEach((e,t)=>{let i=e.progress;1<d.params.slidesPerGroup&&"auto"!==d.params.slidesPerView&&(i+=Math.ceil(t/2)-n*(s.length-1)),i=Math.min(Math.max(i,-1),1),e.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale], [data-swiper-parallax-rotate]").forEach(e=>{o(e,i)})})};i("beforeInit",()=>{d.params.parallax.enabled&&(d.params.watchSlidesProgress=!0,d.originalParams.watchSlidesProgress=!0)}),i("init",()=>{d.params.parallax.enabled&&n()}),i("setTranslate",()=>{d.params.parallax.enabled&&n()}),i("setTransition",(e,t)=>{var i;d.params.parallax.enabled&&(void 0===(i=t)&&(i=d.params.speed),d.el.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach(e=>{let t=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||i;0===i&&(t=0),e.style.transitionDuration=t+"ms"}))})},function(e){let{swiper:x,extendParams:t,on:i,emit:n}=e;const E=P();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),x.zoom={enabled:!1};let s,o,S=1,a=!1;const r=[],T={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},L={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},l={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let c=1;function d(){var e,t,i,n;return r.length<2?1:(e=r[0].pageX,t=r[0].pageY,i=r[1].pageX,n=r[1].pageY,Math.sqrt((i-e)**2+(n-t)**2))}function h(t){var e=x.isElement?"swiper-slide":"."+x.params.slideClass;return t.target.matches(e)||0<x.slides.filter(e=>e.contains(t.target)).length}function u(t){if("mouse"===t.pointerType&&r.splice(0,r.length),h(t)){var i=x.params.zoom;if(s=!1,o=!1,r.push(t),!(r.length<2)){if(s=!0,T.scaleStart=d(),!T.slideEl){T.slideEl=t.target.closest(`.${x.params.slideClass}, swiper-slide`),T.slideEl||(T.slideEl=x.slides[x.activeIndex]);let e=T.slideEl.querySelector("."+i.containerClass);if(e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],T.imageEl=e,T.imageWrapEl=e?B(T.imageEl,"."+i.containerClass)[0]:void 0,!T.imageWrapEl)return void(T.imageEl=void 0);T.maxRatio=T.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio}if(T.imageEl){const[t,x]=r.length<2?{x:null,y:null}:(i=T.imageEl.getBoundingClientRect(),[(r[0].pageX+(r[1].pageX-r[0].pageX)/2-i.x)/S,(r[0].pageY+(r[1].pageY-r[0].pageY)/2-i.y)/S]);T.originX=t,T.originY=x,T.imageEl.style.transitionDuration="0ms"}a=!0}}}function p(t){var e,i,n;h(t)&&(e=x.params.zoom,i=x.zoom,0<=(n=r.findIndex(e=>e.pointerId===t.pointerId))&&(r[n]=t),r.length<2||(o=!0,T.scaleMove=d(),T.imageEl&&(i.scale=T.scaleMove/T.scaleStart*S,i.scale>T.maxRatio&&(i.scale=T.maxRatio-1+(i.scale-T.maxRatio+1)**.5),i.scale<e.minRatio&&(i.scale=e.minRatio+1-(e.minRatio-i.scale+1)**.5),T.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`)))}function m(t){var e,i,n;!h(t)||"mouse"===t.pointerType&&"pointerout"===t.type||(e=x.params.zoom,i=x.zoom,0<=(n=r.findIndex(e=>e.pointerId===t.pointerId))&&r.splice(n,1),s&&o&&(s=!1,o=!1,T.imageEl)&&(i.scale=Math.max(Math.min(i.scale,T.maxRatio),e.minRatio),T.imageEl.style.transitionDuration=x.params.speed+"ms",T.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,S=i.scale,a=!1,1<i.scale&&T.slideEl?T.slideEl.classList.add(""+e.zoomedSlideClass):i.scale<=1&&T.slideEl&&T.slideEl.classList.remove(""+e.zoomedSlideClass),1===i.scale)&&(T.originX=0,T.originY=0,T.slideEl=void 0))}function f(e){if(h(e)&&(t=e,i="."+x.params.zoom.containerClass,t.target.matches(i)||0<[...x.el.querySelectorAll(i)].filter(e=>e.contains(t.target)).length)){var t,i=x.zoom;if(T.imageEl&&L.isTouched&&T.slideEl){L.isMoved||(L.width=T.imageEl.offsetWidth,L.height=T.imageEl.offsetHeight,L.startX=k(T.imageWrapEl,"x")||0,L.startY=k(T.imageWrapEl,"y")||0,T.slideWidth=T.slideEl.offsetWidth,T.slideHeight=T.slideEl.offsetHeight,T.imageWrapEl.style.transitionDuration="0ms");var n=L.width*i.scale,s=L.height*i.scale;if(!(n<T.slideWidth&&s<T.slideHeight)){if(L.minX=Math.min(T.slideWidth/2-n/2,0),L.maxX=-L.minX,L.minY=Math.min(T.slideHeight/2-s/2,0),L.maxY=-L.minY,L.touchesCurrent.x=(0<r.length?r[0]:e).pageX,L.touchesCurrent.y=(0<r.length?r[0]:e).pageY,5<Math.max(Math.abs(L.touchesCurrent.x-L.touchesStart.x),Math.abs(L.touchesCurrent.y-L.touchesStart.y))&&(x.allowClick=!1),!L.isMoved&&!a){if(x.isHorizontal()&&(Math.floor(L.minX)===Math.floor(L.startX)&&L.touchesCurrent.x<L.touchesStart.x||Math.floor(L.maxX)===Math.floor(L.startX)&&L.touchesCurrent.x>L.touchesStart.x))return void(L.isTouched=!1);if(!x.isHorizontal()&&(Math.floor(L.minY)===Math.floor(L.startY)&&L.touchesCurrent.y<L.touchesStart.y||Math.floor(L.maxY)===Math.floor(L.startY)&&L.touchesCurrent.y>L.touchesStart.y))return void(L.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),L.isMoved=!0;var n=(i.scale-S)/(T.maxRatio-x.params.zoom.minRatio),{originX:s,originY:e}=T;L.currentX=L.touchesCurrent.x-L.touchesStart.x+L.startX+n*(L.width-2*s),L.currentY=L.touchesCurrent.y-L.touchesStart.y+L.startY+n*(L.height-2*e),L.currentX<L.minX&&(L.currentX=L.minX+1-(L.minX-L.currentX+1)**.8),L.currentX>L.maxX&&(L.currentX=L.maxX-1+(L.currentX-L.maxX+1)**.8),L.currentY<L.minY&&(L.currentY=L.minY+1-(L.minY-L.currentY+1)**.8),L.currentY>L.maxY&&(L.currentY=L.maxY-1+(L.currentY-L.maxY+1)**.8),l.prevPositionX||(l.prevPositionX=L.touchesCurrent.x),l.prevPositionY||(l.prevPositionY=L.touchesCurrent.y),l.prevTime||(l.prevTime=Date.now()),l.x=(L.touchesCurrent.x-l.prevPositionX)/(Date.now()-l.prevTime)/2,l.y=(L.touchesCurrent.y-l.prevPositionY)/(Date.now()-l.prevTime)/2,Math.abs(L.touchesCurrent.x-l.prevPositionX)<2&&(l.x=0),Math.abs(L.touchesCurrent.y-l.prevPositionY)<2&&(l.y=0),l.prevPositionX=L.touchesCurrent.x,l.prevPositionY=L.touchesCurrent.y,l.prevTime=Date.now(),T.imageWrapEl.style.transform=`translate3d(${L.currentX}px, ${L.currentY}px,0)`}}}}function g(){var e=x.zoom;T.slideEl&&x.activeIndex!==x.slides.indexOf(T.slideEl)&&(T.imageEl&&(T.imageEl.style.transform="translate3d(0,0,0) scale(1)"),T.imageWrapEl&&(T.imageWrapEl.style.transform="translate3d(0,0,0)"),T.slideEl.classList.remove(""+x.params.zoom.zoomedSlideClass),e.scale=1,S=1,T.slideEl=void 0,T.imageEl=void 0,T.imageWrapEl=void 0,T.originX=0,T.originY=0)}function v(_){var y=x.zoom,b=x.params.zoom;if(!T.slideEl){_&&_.target&&(T.slideEl=_.target.closest(`.${x.params.slideClass}, swiper-slide`)),T.slideEl||(x.params.virtual&&x.params.virtual.enabled&&x.virtual?T.slideEl=A(x.slidesEl,"."+x.params.slideActiveClass)[0]:T.slideEl=x.slides[x.activeIndex]);let e=T.slideEl.querySelector("."+b.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],T.imageEl=e,T.imageWrapEl=e?B(T.imageEl,"."+b.containerClass)[0]:void 0}if(T.imageEl&&T.imageWrapEl){let e,t,i,n,s,o,a,r,l,c,d,h,u,p,m,f,g,v;x.params.cssMode&&(x.wrapperEl.style.overflow="hidden",x.wrapperEl.style.touchAction="none"),T.slideEl.classList.add(""+b.zoomedSlideClass),t=void 0===L.touchesStart.x&&_?(e=_.pageX,_.pageY):(e=L.touchesStart.x,L.touchesStart.y);var w="number"==typeof _?_:null;1===S&&w&&(e=void 0,t=void 0),y.scale=w||T.imageWrapEl.getAttribute("data-swiper-zoom")||b.maxRatio,S=w||T.imageWrapEl.getAttribute("data-swiper-zoom")||b.maxRatio,!_||1===S&&w?(a=0,r=0):(g=T.slideEl.offsetWidth,v=T.slideEl.offsetHeight,i=O(T.slideEl).left+E.scrollX,n=O(T.slideEl).top+E.scrollY,s=i+g/2-e,o=n+v/2-t,l=T.imageEl.offsetWidth,c=T.imageEl.offsetHeight,d=l*y.scale,h=c*y.scale,m=-(u=Math.min(g/2-d/2,0)),f=-(p=Math.min(v/2-h/2,0)),a=s*y.scale,r=o*y.scale,(a=a<u?u:a)>m&&(a=m),(r=r<p?p:r)>f&&(r=f)),w&&1===y.scale&&(T.originX=0,T.originY=0),T.imageWrapEl.style.transitionDuration="300ms",T.imageWrapEl.style.transform=`translate3d(${a}px, ${r}px,0)`,T.imageEl.style.transitionDuration="300ms",T.imageEl.style.transform=`translate3d(0,0,0) scale(${y.scale})`}}function _(){var e=x.zoom,t=x.params.zoom;if(!T.slideEl){x.params.virtual&&x.params.virtual.enabled&&x.virtual?T.slideEl=A(x.slidesEl,"."+x.params.slideActiveClass)[0]:T.slideEl=x.slides[x.activeIndex];let e=T.slideEl.querySelector("."+t.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],T.imageEl=e,T.imageWrapEl=e?B(T.imageEl,"."+t.containerClass)[0]:void 0}T.imageEl&&T.imageWrapEl&&(x.params.cssMode&&(x.wrapperEl.style.overflow="",x.wrapperEl.style.touchAction=""),e.scale=1,S=1,T.imageWrapEl.style.transitionDuration="300ms",T.imageWrapEl.style.transform="translate3d(0,0,0)",T.imageEl.style.transitionDuration="300ms",T.imageEl.style.transform="translate3d(0,0,0) scale(1)",T.slideEl.classList.remove(""+t.zoomedSlideClass),T.slideEl=void 0,T.originX=0,T.originY=0)}function y(e){var t=x.zoom;t.scale&&1!==t.scale?_():v(e)}function b(){return{passiveListener:!!x.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!x.params.passiveListeners||{passive:!1,capture:!0}}}function w(){var e=x.zoom;if(!e.enabled){e.enabled=!0;const{passiveListener:t,activeListenerWithCapture:i}=b();x.wrapperEl.addEventListener("pointerdown",u,t),x.wrapperEl.addEventListener("pointermove",p,i),["pointerup","pointercancel","pointerout"].forEach(e=>{x.wrapperEl.addEventListener(e,m,t)}),x.wrapperEl.addEventListener("pointermove",f,i)}}function C(){var e=x.zoom;if(e.enabled){e.enabled=!1;const{passiveListener:t,activeListenerWithCapture:i}=b();x.wrapperEl.removeEventListener("pointerdown",u,t),x.wrapperEl.removeEventListener("pointermove",p,i),["pointerup","pointercancel","pointerout"].forEach(e=>{x.wrapperEl.removeEventListener(e,m,t)}),x.wrapperEl.removeEventListener("pointermove",f,i)}}Object.defineProperty(x.zoom,"scale",{get:()=>c,set(e){var t,i;c!==e&&(t=T.imageEl,i=T.slideEl,n("zoomChange",e,t,i)),c=e}}),i("init",()=>{x.params.zoom.enabled&&w()}),i("destroy",()=>{C()}),i("touchStart",(e,t)=>{var i;x.zoom.enabled&&(t=t,i=x.device,T.imageEl)&&!L.isTouched&&(i.android&&t.cancelable&&t.preventDefault(),L.isTouched=!0,i=0<r.length?r[0]:t,L.touchesStart.x=i.pageX,L.touchesStart.y=i.pageY)}),i("touchEnd",(e,t)=>{if(x.zoom.enabled){var i=x.zoom;if(T.imageEl){if(!L.isTouched||!L.isMoved)return void(L.isTouched=!1,L.isMoved=!1);L.isTouched=!1,L.isMoved=!1;let e=300,t=300;var n=l.x*e,n=L.currentX+n,s=l.y*t,s=L.currentY+s,o=(0!==l.x&&(e=Math.abs((n-L.currentX)/l.x)),0!==l.y&&(t=Math.abs((s-L.currentY)/l.y)),Math.max(e,t)),n=(L.currentX=n,L.currentY=s,L.width*i.scale),s=L.height*i.scale;L.minX=Math.min(T.slideWidth/2-n/2,0),L.maxX=-L.minX,L.minY=Math.min(T.slideHeight/2-s/2,0),L.maxY=-L.minY,L.currentX=Math.max(Math.min(L.currentX,L.maxX),L.minX),L.currentY=Math.max(Math.min(L.currentY,L.maxY),L.minY),T.imageWrapEl.style.transitionDuration=o+"ms",T.imageWrapEl.style.transform=`translate3d(${L.currentX}px, ${L.currentY}px,0)`}}}),i("doubleTap",(e,t)=>{!x.animating&&x.params.zoom.enabled&&x.zoom.enabled&&x.params.zoom.toggle&&y(t)}),i("transitionEnd",()=>{x.zoom.enabled&&x.params.zoom.enabled&&g()}),i("slideChange",()=>{x.zoom.enabled&&x.params.zoom.enabled&&x.params.cssMode&&g()}),Object.assign(x.zoom,{enable:w,disable:C,in:v,out:_,toggle:y})},function(e){let{swiper:r,extendParams:t,on:i}=e;function l(e,t){const i=function(){let i,n,s;return(e,t)=>{for(n=-1,i=e.length;1<i-n;)e[s=i+n>>1]<=t?n=s:i=s;return i}}();let n,s;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=i(this.x,e),n=s-1,(e-this.x[n])*(this.y[s]-this.y[n])/(this.x[s]-this.x[n])+this.y[n]):0},this}function n(){r.controller.control&&r.controller.spline&&(r.controller.spline=void 0,delete r.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),r.controller={control:void 0},i("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof r.params.controller.control||r.params.controller.control instanceof HTMLElement)){const t=document.querySelector(r.params.controller.control);if(t&&t.swiper)r.controller.control=t.swiper;else if(t){const i=e=>{r.controller.control=e.detail[0],r.update(),t.removeEventListener("init",i)};t.addEventListener("init",i)}}else r.controller.control=r.params.controller.control}),i("update",()=>{n()}),i("resize",()=>{n()}),i("observerUpdate",()=>{n()}),i("setTranslate",(e,t,i)=>{r.controller.control&&!r.controller.control.destroyed&&r.controller.setTranslate(t,i)}),i("setTransition",(e,t,i)=>{r.controller.control&&!r.controller.control.destroyed&&r.controller.setTransition(t,i)}),Object.assign(r.controller,{setTranslate:function(e,t){var i=r.controller.control;let n,s;var o=r.constructor;function a(e){var t,i;e.destroyed||(t=r.rtlTranslate?-r.translate:r.translate,"slide"===r.params.controller.by&&(i=e,r.controller.spline=r.params.loop?new l(r.slidesGrid,i.slidesGrid):new l(r.snapGrid,i.snapGrid),s=-r.controller.spline.interpolate(-t)),s&&"container"!==r.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),!Number.isNaN(n)&&Number.isFinite(n)||(n=1),s=(t-r.minTranslate())*n+e.minTranslate()),r.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,r),e.updateActiveIndex(),e.updateSlidesClasses())}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==t&&i[e]instanceof o&&a(i[e]);else i instanceof o&&t!==i&&a(i)},setTransition:function(t,e){const i=r.constructor,n=r.controller.control;let s;function o(e){e.destroyed||(e.setTransition(t,r),0!==t&&(e.transitionStart(),e.params.autoHeight&&S(()=>{e.updateAutoHeight()}),f(e.wrapperEl,()=>{n&&e.transitionEnd()})))}if(Array.isArray(n))for(s=0;s<n.length;s+=1)n[s]!==e&&n[s]instanceof i&&o(n[s]);else n instanceof i&&e!==n&&o(n)}})},function(e){let{swiper:r,extendParams:t,on:i}=e,l=(t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),r.a11y={clicked:!1},null);function n(e){var t=l;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}const c=e=>e=Array.isArray(e)?e:[e].filter(e=>!!e);
1function s(e){(e=c(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function o(e){(e=c(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function a(e,t){(e=c(e)).forEach(e=>{e.setAttribute("role",t)})}function d(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function h(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function u(e){(e=c(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function p(e){(e=c(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function m(e){var t,i;13!==e.keyCode&&32!==e.keyCode||(t=r.params.a11y,i=e.target,r.pagination&&r.pagination.el&&(i===r.pagination.el||r.pagination.el.contains(e.target))&&!e.target.matches(E(r.params.pagination.bulletClass)))||(r.navigation&&r.navigation.nextEl&&i===r.navigation.nextEl&&(r.isEnd&&!r.params.loop||r.slideNext(),r.isEnd?n(t.lastSlideMessage):n(t.nextSlideMessage)),r.navigation&&r.navigation.prevEl&&i===r.navigation.prevEl&&(r.isBeginning&&!r.params.loop||r.slidePrev(),r.isBeginning?n(t.firstSlideMessage):n(t.prevSlideMessage)),r.pagination&&i.matches(E(r.params.pagination.bulletClass))&&i.click())}function f(){return r.pagination&&r.pagination.bullets&&r.pagination.bullets.length}function g(){return f()&&r.params.pagination.clickable}const v=(e,t,i)=>{var n;s(e),"BUTTON"!==e.tagName&&(a(e,"button"),e.addEventListener("keydown",m)),h(e,i),i=e,n=t,(i=c(i)).forEach(e=>{e.setAttribute("aria-controls",n)})},_=()=>{r.a11y.clicked=!0},y=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.destroyed||(r.a11y.clicked=!1)})})},b=e=>{var t,i,n;r.a11y.clicked||(t=e.target.closest(`.${r.params.slideClass}, swiper-slide`))&&r.slides.includes(t)&&(i=r.slides.indexOf(t)===r.activeIndex,n=r.params.watchSlidesProgress&&r.visibleSlides&&r.visibleSlides.includes(t),i||n||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(r.isHorizontal()?r.el.scrollLeft=0:r.el.scrollTop=0,r.slideTo(r.slides.indexOf(t),0)))},w=()=>{const i=r.params.a11y,n=(i.itemRoleDescriptionMessage&&d(r.slides,i.itemRoleDescriptionMessage),i.slideRole&&a(r.slides,i.slideRole),r.slides.length);i.slideLabelMessage&&r.slides.forEach((e,t)=>{t=r.params.loop?parseInt(e.getAttribute("data-swiper-slide-index"),10):t;h(e,i.slideLabelMessage.replace(/\{\{index\}\}/,t+1).replace(/\{\{slidesLength\}\}/,n))})};i("beforeInit",()=>{(l=I("span",r.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),i("afterInit",()=>{if(r.params.a11y.enabled){const s=r.params.a11y;(r.isElement?r.el.shadowEl:r.el).append(l);var e=r.el;s.containerRoleDescriptionMessage&&d(e,s.containerRoleDescriptionMessage),s.containerMessage&&h(e,s.containerMessage);const o=r.wrapperEl,a=s.id||o.getAttribute("id")||"swiper-wrapper-"+"x".repeat(e=void 0===(e=16)?16:e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16));var t,e=r.params.autoplay&&r.params.autoplay.enabled?"off":"polite",i=a,{nextEl:e,prevEl:n}=(c(o).forEach(e=>{e.setAttribute("id",i)}),n=o,t=e,(n=c(n)).forEach(e=>{e.setAttribute("aria-live",t)}),w(),r.navigation||{}),e=c(e),n=c(n);e&&e.forEach(e=>v(e,a,s.nextSlideMessage)),n&&n.forEach(e=>v(e,a,s.prevSlideMessage)),g()&&(Array.isArray(r.pagination.el)?r.pagination.el:[r.pagination.el]).forEach(e=>{e.addEventListener("keydown",m)}),r.el.addEventListener("focus",b,!0),r.el.addEventListener("pointerdown",_,!0),r.el.addEventListener("pointerup",y,!0)}}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{r.params.a11y.enabled&&w()}),i("fromEdge toEdge afterInit lock unlock",()=>{var e,t;r.params.a11y.enabled&&!r.params.loop&&!r.params.rewind&&r.navigation&&({nextEl:e,prevEl:t}=r.navigation,t&&(r.isBeginning?(u(t),o):(p(t),s))(t),e)&&(r.isEnd?(u(e),o):(p(e),s))(e)}),i("paginationUpdate",()=>{if(r.params.a11y.enabled){const t=r.params.a11y;f()&&r.pagination.bullets.forEach(e=>{r.params.pagination.clickable&&(s(e),r.params.pagination.renderBullet||(a(e,"button"),h(e,t.paginationBulletMessage.replace(/\{\{index\}\}/,x(e)+1)))),e.matches(E(r.params.pagination.bulletActiveClass))?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")})}}),i("destroy",()=>{var e,t;r.params.a11y.enabled&&(l&&l.remove(),{nextEl:e,prevEl:t}=r.navigation||{}
vendor: 8,361 bytes, line 1
1,e=c(e),t=c(t),e&&e.forEach(e=>e.removeEventListener("keydown",m)),t&&t.forEach(e=>e.removeEventListener("keydown",m)),g()&&(Array.isArray(r.pagination.el)?r.pagination.el:[r.pagination.el]).forEach(e=>{e.removeEventListener("keydown",m)}),r.el.removeEventListener("focus",b,!0),r.el.removeEventListener("pointerdown",_,!0),r.el.removeEventListener("pointerup",y,!0))})},function(e){let{swiper:a,extendParams:t,on:i}=e,o=(t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}}),!1),n={};const r=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),s=e=>{var t=P(),e=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},l=(i,e)=>{var n=P();if(o&&a.params.history.enabled){var s=a.params.url?new URL(a.params.url):n.location,e=a.slides[e];let t=r(e.getAttribute("data-history"));if(0<a.params.history.root.length){let e=a.params.history.root;"/"===e[e.length-1]&&(e=e.slice(0,e.length-1)),t=e+"/"+(i?i+"/":"")+t}else s.pathname.includes(i)||(t=(i?i+"/":"")+t);a.params.history.keepQuery&&(t+=s.search);e=n.history.state;e&&e.value===t||(a.params.history.replaceState?n.history.replaceState({value:t},null,t):n.history.pushState({value:t},null,t))}},c=(i,n,s)=>{if(n)for(let e=0,t=a.slides.length;e<t;e+=1){var o=a.slides[e];if(r(o.getAttribute("data-history"))===n){const n=a.getSlideIndex(o);a.slideTo(n,i,s)}}else a.slideTo(0,i,s)},d=()=>{n=s(a.params.url),c(a.params.speed,n.value,!1)};i("init",()=>{var e;a.params.history.enabled&&(e=P(),a.params.history)&&(e.history&&e.history.pushState?(o=!0,((n=s(a.params.url)).key||n.value)&&c(0,n.value,a.params.runCallbacksOnInit),a.params.history.replaceState||e.addEventListener("popstate",d)):(a.params.history.enabled=!1,a.params.hashNavigation.enabled=!0))}),i("destroy",()=>{var e;a.params.history.enabled&&(e=P(),a.params.history.replaceState||e.removeEventListener("popstate",d))}),i("transitionEnd _freeModeNoMomentumRelease",()=>{o&&l(a.params.history.key,a.activeIndex)}),i("slideChange",()=>{o&&a.params.cssMode&&l(a.params.history.key,a.activeIndex)})},function(e){let{swiper:i,extendParams:t,emit:n,on:s}=e,o=!1;const a=M(),r=P(),l=(t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,t){if(i.virtual&&i.params.virtual.enabled){const e=i.slides.filter(e=>e.getAttribute("data-hash")===t)[0];return e?parseInt(e.getAttribute("data-swiper-slide-index"),10):0}return i.getSlideIndex(A(i.slidesEl,`.${i.params.slideClass}[data-hash="${t}"], swiper-slide[data-hash="${t}"]`)[0])}}}),()=>{n("hashChange");const e=a.location.hash.replace("#",""),t=i.virtual&&i.params.virtual.enabled?i.slidesEl.querySelector(`[data-swiper-slide-index="${i.activeIndex}"]`):i.slides[i.activeIndex];if(e!==(t?t.getAttribute("data-hash"):"")){const t=i.params.hashNavigation.getSlideIndex(i,e);void 0===t||Number.isNaN(t)||i.slideTo(t)}}),c=()=>{var e;o&&i.params.hashNavigation.enabled&&(e=(e=i.virtual&&i.params.virtual.enabled?i.slidesEl.querySelector(`[data-swiper-slide-index="${i.activeIndex}"]`):i.slides[i.activeIndex])?e.getAttribute("data-hash")||e.getAttribute("data-history"):"",i.params.hashNavigation.replaceState&&r.history&&r.history.replaceState?r.history.replaceState(null,null,"#"+e||""):a.location.hash=e||"",n("hashSet"))};s("init",()=>{var e;!i.params.hashNavigation.enabled||!i.params.hashNavigation.enabled||i.params.history&&i.params.history.enabled||(o=!0,(e=a.location.hash.replace("#",""))&&(e=i.params.hashNavigation.getSlideIndex(i,e),i.slideTo(e||0,0,i.params.runCallbacksOnInit,!0)),i.params.hashNavigation.watchState&&r.addEventListener("hashchange",l))}),s("destroy",()=>{i.params.hashNavigation.enabled&&i.params.hashNavigation.watchState&&r.removeEventListener("hashchange",l)}),s("transitionEnd _freeModeNoMomentumRelease",()=>{o&&c()}),s("slideChange",()=>{o&&i.params.cssMode&&c()})},function(e){let o,a,{swiper:r,extendParams:t,on:i,emit:l,params:n}=e;r.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,s,d,h,u,p,m,f=n&&n.autoplay?n.autoplay.delay:3e3,g=n&&n.autoplay?n.autoplay.delay:3e3,v=(new Date).getTime;function _(e){r&&!r.destroyed&&r.wrapperEl&&e.target===r.wrapperEl&&(r.wrapperEl.removeEventListener("transitionend",_),S())}const y=()=>{var e;!r.destroyed&&r.autoplay.running&&(r.autoplay.paused?s=!0:s&&(g=c,s=!1),e=r.autoplay.paused?c:v+g-(new Date).getTime(),r.autoplay.timeLeft=e,l("autoplayTimeLeft",e,e/f),a=requestAnimationFrame(()=>{y()}))},b=t=>{if(!r.destroyed&&r.autoplay.running){cancelAnimationFrame(a),y();let e=void 0===t?r.params.autoplay.delay:t;f=r.params.autoplay.delay,g=r.params.autoplay.delay;var i=(()=>{var e=r.virtual&&r.params.virtual.enabled?r.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:r.slides[r.activeIndex];if(e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(i)&&0<i&&void 0===t&&(e=i,f=i,g=i),c=e;const n=r.params.speed,s=()=>{r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(n,!0,!0),l("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,n,!0,!0),l("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(n,!0,!0),l("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,n,!0,!0),l("autoplay")),r.params.cssMode)&&(v=(new Date).getTime(),requestAnimationFrame(()=>{b()}))};return 0<e?(clearTimeout(o),o=setTimeout(()=>{s()},e)):requestAnimationFrame(()=>{s()}),e}},w=()=>{r.autoplay.running=!0,b(),l("autoplayStart")},x=()=>{r.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),l("autoplayStop")},E=(e,t)=>{!r.destroyed&&r.autoplay.running&&(clearTimeout(o),e||(m=!0),e=()=>{l("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",_):S()},r.autoplay.paused=!0,t?(p&&(c=r.params.autoplay.delay),p=!1,e()):(t=c||r.params.autoplay.delay,c=t-((new Date).getTime()-v),r.isEnd&&c<0&&!r.params.loop||(c<0&&(c=0),e())))},S=()=>{r.isEnd&&c<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(v=(new Date).getTime(),m?(m=!1,b(c)):b(),r.autoplay.paused=!1,l("autoplayResume"))},T=()=>{var e;!r.destroyed&&r.autoplay.running&&("hidden"===(e=M()).visibilityState&&(m=!0,E(!0)),"visible"===e.visibilityState)&&S()},L=e=>{"mouse"===e.pointerType&&(m=!0,E(!0))},C=e=>{"mouse"===e.pointerType&&r.autoplay.paused&&S()};i("init",()=>{r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",L),r.el.addEventListener("pointerleave",C)),M().addEventListener("visibilitychange",T),v=(new Date).getTime(),w())}),i("destroy",()=>{r.el.removeEventListener("pointerenter",L),r.el.removeEventListener("pointerleave",C),M().removeEventListener("visibilitychange",T),r.autoplay.running&&x()}),i("beforeTransitionStart",(e,t,i)=>{!r.destroyed&&r.autoplay.running&&(i||!r.params.autoplay.disableOnInteraction?E(!0,!0):x())}),i("sliderFirstMove",()=>{!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?x():(d=!0,h=!1,m=!1,u=setTimeout(()=>{m=!0,h=!0,E(!0)},200)))}),i("touchEnd",()=>{!r.destroyed&&r.autoplay.running&&d&&(clearTimeout(u),clearTimeout(o),d=(h=(r.params.autoplay.disableOnInteraction||h&&r.params.cssMode&&S(),!1),!1))}),i("slideChange",()=>{!r.destroyed&&r.autoplay.running&&(p=!0)}),Object.assign(r.autoplay,{start:w,stop:x,pause:E,resume:S})},function(e){let{swiper:l,extendParams:t,on:i}=e,n=(t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}}),!1),s=!1;function o(){var e,t,i=l.thumbs.swiper;!i||i.destroyed||(e=i.clickedIndex,(t=i.clickedSlide)&&t.classList.contains(l.params.thumbs.slideThumbActiveClass))||null!=e&&(t=i.params.loop?parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10):e,l.params.loop?l.slideToLoop(t):l.slideTo(t))}function a(){var e=l.params["thumbs"];if(n)return!1;n=!0;var t=l.constructor;return e.swiper instanceof t?(l.thumbs.swiper=e.swiper,Object.assign(l.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(l.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
1),l.thumbs.swiper.update()):c(e.swiper)&&(e=Object.assign({},e.swiper),Object.assign(e,{watchSlidesProgress:!0,slideToClickedSlide:!1}),l.thumbs.swiper=new t(e),s=!0),l.thumbs.swiper.el.classList.add(l.params.thumbs.thumbsContainerClass),l.thumbs.swiper.on("tap",o),!0}function r(n){var s=l.thumbs.swiper;if(s&&!s.destroyed){var o="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let t=1;const i=l.params.thumbs.slideThumbActiveClass;if(1<l.params.slidesPerView&&!l.params.centeredSlides&&(t=l.params.slidesPerView),l.params.thumbs.multipleActiveThumbs||(t=1),t=Math.floor(t),s.slides.forEach(e=>e.classList.remove(i)),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e<t;e+=1)A(s.slidesEl,`[data-swiper-slide-index="${l.realIndex+e}"]`).forEach(e=>{e.classList.add(i)});else for(let e=0;e<t;e+=1)s.slides[l.realIndex+e]&&s.slides[l.realIndex+e].classList.add(i);var a=l.params.thumbs.autoScrollOffset,r=a&&!s.params.loop;if(l.realIndex!==s.realIndex||r){const e=s.activeIndex;let t,i;if(s.params.loop){const n=s.slides.filter(e=>e.getAttribute("data-swiper-slide-index")===""+l.realIndex)[0];t=s.slides.indexOf(n),i=l.activeIndex>l.previousIndex?"next":"prev"}else t=l.realIndex,i=t>l.previousIndex?"next":"prev";r&&(t+="next"===i?a:-1*a),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(t)<0&&(s.params.centeredSlides?t=t>e?t-Math.floor(o/2)+1:t+Math.floor(o/2)-1:t>e&&s.params.slidesPerGroup,s.slideTo(t,n?0:void 0))}}}l.thumbs={swiper:null},i("beforeInit",()=>{const i=l.params["thumbs"];if(i&&i.swiper)if("string"==typeof i.swiper||i.swiper instanceof HTMLElement){const n=M(),e=()=>{l.destroyed||(()=>{const t="string"==typeof i.swiper?n.querySelector(i.swiper):i.swiper;if(t&&t.swiper)i.swiper=t.swiper,a(),r(!0);else if(t){const n=e=>{i.swiper=e.detail[0],t.removeEventListener("init",n),a(),r(!0),i.swiper.update(),l.update()};t.addEventListener("init",n)}return t})()||requestAnimationFrame(e)};requestAnimationFrame(e)}else a(),r(!0)}),i("slideChange update resize observerUpdate",()=>{r()}),i("setTransition",(e,t)=>{var i=l.thumbs.swiper;i&&!i.destroyed&&i.setTransition(t)}),i("beforeDestroy",()=>{var e=l.thumbs.swiper;e&&!e.destroyed&&s&&e.destroy()}),Object.assign(l.thumbs,{init:a,update:r})},function(e){let{swiper:u,extendParams:t,emit:p,once:m}=e;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(u,{freeMode:{onTouchStart:function(){var e;u.params.cssMode||(e=u.getTranslate(),u.setTranslate(e),u.setTransition(0),u.touchEventsData.velocities.length=0,u.freeMode.onTouchEnd({currentPos:u.rtl?u.translate:-u.translate}))},onTouchMove:function(){var e,t;u.params.cssMode||({touchEventsData:e,touches:t}=u,0===e.velocities.length&&e.velocities.push({position:t[u.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[u.isHorizontal()?"currentX":"currentY"],time:v()}))},onTouchEnd:function(o){let a=o["currentPos"];if(!u.params.cssMode){const{params:r,wrapperEl:l,rtlTranslate:c,snapGrid:d,touchEventsData:h}=u,e=v()-h.touchStartTime;if(a<-u.minTranslate())u.slideTo(u.activeIndex);else if(a>-u.maxTranslate())u.slides.length<d.length?u.slideTo(d.length-1):u.slideTo(u.slides.length-1);else{if(r.freeMode.momentum){if(1<h.velocities.length){const o=h.velocities.pop(),a=h.velocities.pop(),p=o.position-a.position,m=o.time-a.time;u.velocity=p/m,u.velocity/=2,Math.abs(u.velocity)<r.freeMode.minimumVelocity&&(u.velocity=0),(150<m||300<v()-o.time)&&(u.velocity=0)}else u.velocity=0;
1u.velocity*=r.freeMode.momentumVelocityRatio,h.velocities.length=0;let e=1e3*r.freeMode.momentumRatio;const a=u.velocity*e;let i=u.translate+a;c&&(i=-i);let t,n=!1;o=20*Math.abs(u.velocity)*r.freeMode.momentumBounceRatio;let s;if(i<u.maxTranslate())r.freeMode.momentumBounce?(i+u.maxTranslate()<-o&&(i=u.maxTranslate()-o),t=u.maxTranslate(),n=!0,h.allowMomentumBounce=!0):i=u.maxTranslate(),r.loop&&r.centeredSlides&&(s=!0);else if(i>u.minTranslate())r.freeMode.momentumBounce?(i-u.minTranslate()>o&&(i=u.minTranslate()+o),t=u.minTranslate(),n=!0,h.allowMomentumBounce=!0):i=u.minTranslate(),r.loop&&r.centeredSlides&&(s=!0);else if(r.freeMode.sticky){let t;for(let e=0;e<d.length;e+=1)if(d[e]>-i){t=e;break}i=-(i=Math.abs(d[t]-i)<Math.abs(d[t-1]-i)||"next"===u.swipeDirection?d[t]:d[t-1])}if(s&&m("transitionEnd",()=>{u.loopFix()}),0!==u.velocity){if(e=c?Math.abs((-i-u.translate)/u.velocity):Math.abs((i-u.translate)/u.velocity),r.freeMode.sticky){const a=Math.abs((c?-i:i)-u.translate),p=u.slidesSizesGrid[u.activeIndex];e=a<p?r.speed:a<2*p?1.5*r.speed:2.5*r.speed}}else if(r.freeMode.sticky)return void u.slideToClosest();r.freeMode.momentumBounce&&n?(u.updateProgress(t),u.setTransition(e),u.setTranslate(i),u.transitionStart(!0,u.swipeDirection),u.animating=!0,f(l,()=>{u&&!u.destroyed&&h.allowMomentumBounce&&(p("momentumBounce"),u.setTransition(r.speed),setTimeout(()=>{u.setTranslate(t),f(l,()=>{u&&!u.destroyed&&u.transitionEnd()})},0))})):u.velocity?(p("_freeModeNoMomentumRelease"),u.updateProgress(i),u.setTransition(e),u.setTranslate(i),u.transitionStart(!0,u.swipeDirection),u.animating||(u.animating=!0,f(l,()=>{u&&!u.destroyed&&u.transitionEnd()}))):u.updateProgress(i),u.updateActiveIndex(),u.updateSlidesClasses()}else{if(r.freeMode.sticky)return void u.slideToClosest();r.freeMode&&p("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||e>=r.longSwipesMs)&&(u.updateProgress(),u.updateActiveIndex(),u.updateSlidesClasses())}}}}})},function(e){let h,u,p,{swiper:m,extendParams:t}=e;t({grid:{rows:1,fill:"column"}});const f=()=>{let e=m.params.spaceBetween;return"string"==typeof e&&0<=e.indexOf("%")?e=parseFloat(e.replace("%",""))/100*m.size:"string"==typeof e&&(e=parseFloat(e)),e};m.grid={initSlides:e=>{var t=m.params["slidesPerView"],{rows:i,fill:n}=m.params.grid;p=Math.floor(e/i),h=Math.floor(e/i)===e/i?e:Math.ceil(e/i)*i,"auto"!==t&&"row"===n&&(h=Math.max(h,t*i)),u=h/i},updateSlide:(e,t,i,n)=>{var s=m.params["slidesPerGroup"],o=f(),{rows:a,fill:r}=m.params.grid;let l,c,d;if("row"===r&&1<s){const u=Math.floor(e/(s*a)),p=e-a*s*u,m=0===u?s:Math.min(Math.ceil((i-u*a*s)/a),s);d=Math.floor(p/m),l=(c=p-d*m+u*s)+d*h/a,t.style.order=l}else"column"===r?(c=Math.floor(e/a),d=e-c*a,(c>p||c===p&&d===a-1)&&(d+=1)>=a&&(d=0,c+=1)):(d=Math.floor(e/u),c=e-d*u);t.row=d,t.column=c,t.style[n("margin-top")]=0!==d?o&&o+"px":""},updateWrapperSize:(i,n,e)=>{var{centeredSlides:t,roundLengths:s}=m.params,o=f(),a=m.params.grid["rows"];if(m.virtualSize=(i+o)*h,m.virtualSize=Math.ceil(m.virtualSize/a)-o,m.wrapperEl.style[e("width")]=m.virtualSize+o+"px",t){const i=[];for(let t=0;t<n.length;t+=1){let e=n[t];s&&(e=Math.floor(e)),n[t]<m.virtualSize+n[0]&&i.push(e)}n.splice(0,n.length),n.push(...i)}}}},function(e){e=e.swiper;Object.assign(e,{appendSlide:function(t){const e=this,{params:i,slidesEl:n}=e;i.loop&&e.loopDestroy();var s=e=>{var t;"string"==typeof e?((t=document.createElement("div")).innerHTML=e,n.append(t.children[0]),t.innerHTML=""):n.append(e)};if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&s(t[e]);else s(t);e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update()}.bind(e),prependSlide:function(t){const e=this,{params:i,activeIndex:n,slidesEl:s}=e;i.loop&&e.loopDestroy();let o=n+1;var a=e=>{var t;"string"==typeof e?((t=document.createElement("div")).innerHTML=e,s.prepend(t.children[0]),t.innerHTML=""):s.prepend(e)};if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&a(t[e]);o=n+t.length}else a(t);e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update(),e.slideTo(o,0,!1)}.bind(e),addSlide:function(t,i){var n=this,{params:s,activeIndex:o,slidesEl:a}=n;let r=o;if(s.loop&&(r-=n.loopedSlides,n.loopDestroy(),n.recalcSlides()),o=n.slides.length,t<=0)n.prependSlide(i);else if(o<=t)n.appendSlide(i);else{let e=r>t?r+1:r;var l=[];for(let e=o-1;e>=t;--e){const t=n.slides[e];t.remove(),l.unshift(t)}if("object"==typeof i&&"length"in i){for(let e=0;e<i.length;e+=1)i[e]&&a.append(i[e]);e=r>t?r+i.length:r}else a.append(i);for(let e=0;e<l.length;e+=1)a.append(l[e]);n.recalcSlides(),s.loop&&n.loopCreate(),s.observer&&!n.isElement||n.update(),s.loop?n.slideTo(e+n.loopedSlides,0,!1):n.slideTo(e,0,!1)}}.bind(e),removeSlide:function(t){var i=this,{params:e,activeIndex:n}=i;let s=n;e.loop&&(s-=i.loopedSlides,i.loopDestroy());let o,a=s;if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)o=t[e],i.slides[o]&&i.slides[o].remove(),o<a&&--a;else o=t,i.slides[o]&&i.slides[o].remove(),o<a&&--a;a=Math.max(a,0),i.recalcSlides(),e.loop&&i.loopCreate(),e.observer&&!i.isElement||i.update(),e.loop?i.slideTo(a+i.loopedSlides,0,!1):i.slideTo(a,0,!1)}.bind(e),removeAllSlides:function(){var t=[];for(let e=0;e<this.slides.length;e+=1)t.push(e);this.removeSlide(t)}.bind(e)})},function(e){let{swiper:a,extendParams:t,on:i}=e;t({fadeEffect:{crossFade:!1}}),w({effect:"fade",swiper:a,on:i,setTranslate:()=>{const n=a["slides"];a.params.fadeEffect;for(let i=0;i<n.length;i+=1){const n=a.slides[i];let e=-n.swiperSlideOffset,t=(a.params.virtualTranslate||(e-=a.translate),0);a.isHorizontal()||(t=e,e=0);var s=a.params.fadeEffect.crossFade?Math.max(1-Math.abs(n.progress),0):1+Math.min(Math.max(n.progress,-1),0),o=L(0,n);o.style.opacity=s,o.style.transform=`translate3d(${e}px, ${t}px, 0px)`}},setTransition:t=>{var e=a.slides.map(e=>o(e));
1e.forEach(e=>{e.style.transitionDuration=t+"ms"}),y({swiper:a,duration:t,transformElements:e,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!a.params.cssMode})})},function(e){let{swiper:g,extendParams:t,on:i}=e;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const v=(e,t,i)=>{let n=i?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),s=i?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n||(n=I("div","swiper-slide-shadow-"+(i?"left":"top")),e.append(n)),s||(s=I("div","swiper-slide-shadow-"+(i?"right":"bottom")),e.append(s)),n&&(n.style.opacity=Math.max(-t,0)),s&&(s.style.opacity=Math.max(t,0))};w({effect:"cube",swiper:g,on:i,setTranslate:()=>{const{el:e,wrapperEl:t,slides:r,width:i,height:n,rtlTranslate:l,size:c,browser:d}=g,h=g.params.cubeEffect,u=g.isHorizontal(),p=g.virtual&&g.params.virtual.enabled;let s,m=0;h.shadow&&(u?((s=g.slidesEl.querySelector(".swiper-cube-shadow"))||(s=I("div","swiper-cube-shadow"),g.slidesEl.append(s)),s.style.height=i+"px"):(s=e.querySelector(".swiper-cube-shadow"))||(s=I("div","swiper-cube-shadow"),e.append(s)));for(let a=0;a<r.length;a+=1){const g=r[a];let e=a,t=90*(e=p?parseInt(g.getAttribute("data-swiper-slide-index"),10):e),i=Math.floor(t/360);l&&(t=-t,i=Math.floor(-t/360));const d=Math.max(Math.min(g.progress,1),-1);let n=0,s=0,o=0;e%4==0?(n=4*-i*c,o=0):(e-1)%4==0?(n=0,o=4*-i*c):(e-2)%4==0?(n=c+4*i*c,o=c):(e-3)%4==0&&(n=-c,o=3*c+4*c*i),l&&(n=-n),u||(s=n,n=0);var f=`rotateX(${u?0:-t}deg) rotateY(${u?t:0}deg) translate3d(${n}px, ${s}px, ${o}px)`;d<=1&&-1<d&&(m=90*e+90*d,l)&&(m=90*-e-90*d),g.style.transform=f,h.slideShadows&&v(g,d,u)}if(t.style.transformOrigin=`50% 50% -${c/2}px`,t.style["-webkit-transform-origin"]=`50% 50% -${c/2}px`,h.shadow)if(u)s.style.transform=`translate3d(0px, ${i/2+h.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${h.shadowScale})`;else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),g=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),t=h.shadowScale,r=h.shadowScale/g,v=h.shadowOffset;s.style.transform=`scale3d(${t}, 1, ${r}) translate3d(0px, ${n/2+v}px, ${-n/2/r}px) rotateX(-90deg)`}var o=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-c/2:0;t.style.transform=`translate3d(0px,0,${o}px) rotateX(${g.isHorizontal()?0:m}deg) rotateY(${g.isHorizontal()?-m:0}deg)`,t.style.setProperty("--swiper-cube-translate-z",o+"px")},setTransition:t=>{var{el:e,slides:i}=g;if(i.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),g.params.cubeEffect.shadow&&!g.isHorizontal()){const g=e.querySelector(".swiper-cube-shadow");g&&(g.style.transitionDuration=t+"ms")}},recreateShadows:()=>{const i=g.isHorizontal();g.slides.forEach(e=>{var t=Math.max(Math.min(e.progress,1),-1);v(e,t,i)})},getEffectParams:()=>g.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:h,extendParams:t,on:i}=e;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const u=(e,t,i)=>{let n=h.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),s=h.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n=n||N(0,e,h.isHorizontal()?"left":"top"),s=s||N(0,e,h.isHorizontal()?"right":"bottom"),n&&(n.style.opacity=Math.max(-t,0)),s&&(s.style.opacity=Math.max(t,0))};w({effect:"flip",swiper:h,on:i,setTranslate:()=>{var{slides:a,rtlTranslate:r}=h,l=h.params.flipEffect;for(let o=0;o<a.length;o+=1){var c=a[o];let e=c.progress;h.params.flipEffect.limitRotation&&(e=Math.max(Math.min(c.progress,1),-1));var d=c.swiperSlideOffset;let t=-180*e,i=0,n=h.params.cssMode?-d-h.translate:-d,s=0;h.isHorizontal()?r&&(t=-t):(s=n,n=0,i=-t,t=0),c.style.zIndex=-Math.abs(Math.round(e))+a.length,l.slideShadows&&u(c,e);d=`translate3d(${n}px, ${s}px, 0px) rotateX(${i}deg) rotateY(${t}deg)`;L(0,c).style.transform=d}},setTransition:t=>{var e=h.slides.map(e=>o(e));
1e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),y({swiper:h,duration:t,transformElements:e})},recreateShadows:()=>{h.params.flipEffect,h.slides.forEach(e=>{let t=e.progress;h.params.flipEffect.limitRotation&&(t=Math.max(Math.min(e.progress,1),-1)),u(e,t)})},getEffectParams:()=>h.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!h.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),w({effect:"coverflow",swiper:y,on:i,setTranslate:()=>{const{width:e,height:l,slides:c,slidesSizesGrid:d}=y,h=y.params.coverflowEffect,u=y.isHorizontal(),p=y.translate,m=u?e/2-p:l/2-p,f=u?h.rotate:-h.rotate,g=h.depth;for(let r=0,e=c.length;r<e;r+=1){const y=c[r],l=d[r],p=(m-y.swiperSlideOffset-l/2)/l,_="function"==typeof h.modifier?h.modifier(p):p*h.modifier;let e=u?f*_:0,t=u?0:f*_,i=-g*Math.abs(_),n=h.stretch,s=("string"==typeof n&&-1!==n.indexOf("%")&&(n=parseFloat(h.stretch)/100*l),u?0:n*_),o=u?n*_:0,a=1-(1-h.scale)*Math.abs(_);Math.abs(o)<.001&&(o=0),Math.abs(s)<.001&&(s=0),Math.abs(i)<.001&&(i=0),Math.abs(e)<.001&&(e=0),Math.abs(t)<.001&&(t=0),Math.abs(a)<.001&&(a=0);var v=`translate3d(${o}px,${s}px,${i}px)  rotateX(${t}deg) rotateY(${e}deg) scale(${a})`;if(L(0,y).style.transform=v,y.style.zIndex=1-Math.abs(Math.round(_)),h.slideShadows){let e=u?y.querySelector(".swiper-slide-shadow-left"):y.querySelector(".swiper-slide-shadow-top"),t=u?y.querySelector(".swiper-slide-shadow-right"):y.querySelector(".swiper-slide-shadow-bottom");e=e||N(0,y,u?"left":"top"),t=t||N(0,y,u?"right":"bottom"),e&&(e.style.opacity=0<_?_:0),t&&(t.style.opacity=0<-_?-_:0)}}},setTransition:t=>{y.slides.map(e=>o(e)).forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:_,extendParams:t,on:i}=e;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});w({effect:"creative",swiper:_,on:i,setTranslate:()=>{const{slides:s,wrapperEl:e,slidesSizesGrid:o}=_,a=_.params.creativeEffect,r=a["progressMultiplier"],l=_.params.centeredSlides;if(l){const s=o[0]/2-_.params.slidesOffsetBefore||0;e.style.transform=`translateX(calc(50% - ${s}px))`}for(let n=0;n<s.length;n+=1){const o=s[n],p=o.progress,m=Math.min(Math.max(o.progress,-a.limitProgress),a.limitProgress);let e=m;l||(e=Math.min(Math.max(o.originalProgress,-a.limitProgress),a.limitProgress));const f=o.swiperSlideOffset,g=[_.params.cssMode?-f-_.translate:-f,0,0],v=[0,0,0];let t=!1,i=(_.isHorizontal()||(g[1]=g[0],g[0]=0),{translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1});m<0?(i=a.next,t=!0):0<m&&(i=a.prev,t=!0),g.forEach((e,t)=>{g[t]=`calc(${e}px + (${e=i.translate[t],"string"==typeof e?e:e+"px"} * ${Math.abs(m*r)}))`}),v.forEach((e,t)=>{v[t]=i.rotate[t]*Math.abs(m*r)}),o.style.zIndex=-Math.abs(Math.round(p))+s.length;var c=g.join(", "),d=`rotateX(${v[0]}deg) rotateY(${v[1]}deg) rotateZ(${v[2]}deg)`,h=e<0?`scale(${1+(1-i.scale)*e*r})`:`scale(${1-(1-i.scale)*e*r})`,u=e<0?1+(1-i.opacity)*e*r:1-(1-i.opacity)*e*r,c=`translate3d(${c}) ${d} `+h;if(t&&i.shadow||!t){let e=o.querySelector(".swiper-slide-shadow");if(e=!e&&i.shadow?N(0,o):e){const _=a.shadowPerProgress?m*(1/a.limitProgress):m;e.style.opacity=Math.min(Math.max(Math.abs(_),0),1)}}d=L(0,o);d.style.transform=c,d.style.opacity=u,i.origin&&(d.style.transformOrigin=i.origin)}},setTransition:t=>{var e=_.slides.map(e=>o(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e
1=>{e.style.transitionDuration=t+"ms"})}),y({swiper:_,duration:t,transformElements:e,allSlides:!0})},perspective:()=>_.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!_.params.cssMode})})},function(e){let{swiper:b,extendParams:t,on:i}=e;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),w({effect:"cards",swiper:b,on:i,setTranslate:()=>{const{slides:r,activeIndex:l,rtlTranslate:c}=b,d=b.params.cardsEffect,{startTranslate:h,isTouched:u}=b.touchEventsData,p=c?-b.translate:b.translate;for(let a=0;a<r.length;a+=1){var m=r[a],f=m.progress,g=Math.min(Math.max(f,-4),4);let e=m.swiperSlideOffset,t=(b.params.centeredSlides&&!b.params.cssMode&&(b.wrapperEl.style.transform=`translateX(${b.minTranslate()}px)`),b.params.centeredSlides&&b.params.cssMode&&(e-=r[0].swiperSlideOffset),b.params.cssMode?-e-b.translate:-e),i=0;var v=-100*Math.abs(g);let n=1,s=-d.perSlideRotate*g,o=d.perSlideOffset-.75*Math.abs(g);var _=b.virtual&&b.params.virtual.enabled?b.virtual.from+a:a,y=(_===l||_===l-1)&&0<g&&g<1&&(u||b.params.cssMode)&&p<h,_=(_===l||_===l+1)&&g<0&&-1<g&&(u||b.params.cssMode)&&h<p;if(y||_){const r=(1-Math.abs((Math.abs(g)-.5)/.5))**.5;s+=-28*g*r,n+=-.5*r,o+=96*r,i=-25*r*Math.abs(g)+"%"}if(t=g<0?`calc(${t}px ${c?"-":"+"} (${o*Math.abs(g)}%))`:0<g?`calc(${t}px ${c?"-":"+"} (-${o*Math.abs(g)}%))`:t+"px",!b.isHorizontal()){const r=i;i=t,t=r}y=g<0?""+(1+(1-n)*g):""+(1-(1-n)*g),_=`
2        translate3d(${t}, ${i}, ${v}px)
3        rotateZ(${d.rotate?c?-s:s:0}deg)
4        scale(${y})
5      `;if(d.slideShadows){let e=m.querySelector(".swiper-slide-shadow");(e=e||N(0,m))&&(e.style.opacity=Math.min(Math.max((Math.abs(g)-.5)/.5,0),1))}m.style.zIndex=-Math.abs(Math.round(f))+r.length,L(0,m).style.transform=_}},setTransition:t=>{var e=b.slides.map(e=>o(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=t+"ms"})}),y({swiper:b,duration:t,transformElements:e})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!b.params.cssMode})})}]),g}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).leaflet={})}(this,function(e){"use strict";function c(e){for(var t,i,n=1,s=arguments.length;n<s;n++)for(t in i=arguments[n])e[t]=i[t];return e}var N=Object.create||function(e){return q.prototype=e,new q};function q(){}function r(e,t){var i,n=Array.prototype.slice;return e.bind?e.bind.apply(e,n.call(arguments,1)):(i=n.call(arguments,2),function(){return e.apply(t,i.length?i.concat(n.call(arguments)):arguments)})}var R=0;function u(e){return"_leaflet_id"in e||(e._leaflet_id=++R),e._leaflet_id}function j(e,t,i){function n(){s=!1,o&&(a.apply(i,o),o=!1)}var s,o,a=function(){s?o=arguments:(e.apply(i,arguments),setTimeout(n,t),s=!0)};return a}function H(e,t,i){var n=t[1],s=n-(t=t[0]);return e===n&&i?e:((e-t)%s+s)%s+t}function p(){return!1}function i(e,t){return!1===t?e:(t=Math.pow(10,void 0===t?6:t),Math.round(e*t)/t)}function Z(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function F(e){return Z(e).split(/\s+/)}function l(e,t){for(var i in Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?N(e.options):{}),t)e.options[i]=t[i];return e.options}function W(e,t,i){var n,s=[];for(n in e)s.push(encodeURIComponent(i?n.toUpperCase():n)+"="+encodeURIComponent(e[n]));return(t&&-1!==t.indexOf("?")?"&":"?")+s.join("&")}var V=/\{ *([\w_ -]+) *\}/g;function G(e,i){return e.replace(V,function(e,t){if(void 0===(t=i[t]))throw new Error("No value provided for variable "+e);return"function"==typeof t?t(i):t})}var d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Y(e,t){for(var i=0;i<e.length;i++)if(e[i]===t)return i;return-1}var X="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function $(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var U=0;function K(e){var t=+new Date,i=Math.max(0,16-(t-U));
vendor: 20,339 bytes, line 5
5return U=t+i,window.setTimeout(e,i)}var J=window.requestAnimationFrame||$("RequestAnimationFrame")||K,Q=window.cancelAnimationFrame||$("CancelAnimationFrame")||$("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function y(e,t,i){if(!i||J!==K)return J.call(window,r(e,t));e.call(t)}function a(e){e&&Q.call(window,e)}var ee={__proto__:null,extend:c,create:N,bind:r,get lastId(){return R},stamp:u,throttle:j,wrapNum:H,falseFn:p,formatNum:i,trim:Z,splitWords:F,setOptions:l,getParamString:W,template:G,isArray:d,indexOf:Y,emptyImageUrl:X,requestFn:J,cancelFn:Q,requestAnimFrame:y,cancelAnimFrame:a};function te(){}te.extend=function(e){function t(){l(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,n=t.__super__=this.prototype,s=N(n);for(i in(s.constructor=t).prototype=s,this)Object.prototype.hasOwnProperty.call(this,i)&&"prototype"!==i&&"__super__"!==i&&(t[i]=this[i]);if(e.statics&&c(t,e.statics),e.includes){var o=e.includes;if("undefined"!=typeof L&&L&&L.Mixin)for(var o=d(o)?o:[o],a=0;a<o.length;a++)o[a]===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);c.apply(null,[s].concat(e.includes))}return c(s,e),delete s.statics,delete s.includes,s.options&&(s.options=n.options?N(n.options):{},c(s.options,e.options)),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=s._initHooks.length;e<t;e++)s._initHooks[e].call(this)}},t},te.include=function(e){var t=this.prototype.options;return c(this.prototype,e),e.options&&(this.prototype.options=t,this.mergeOptions(e.options)),this},te.mergeOptions=function(e){return c(this.prototype.options,e),this},te.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),i="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var t={on:function(e,t,i){if("object"==typeof e)for(var n in e)this._on(n,e[n],t);else for(var s=0,o=(e=F(e)).length;s<o;s++)this._on(e[s],t,i);return this},off:function(e,t,i){if(arguments.length)if("object"==typeof e)for(var n in e)this._off(n,e[n],t);else{e=F(e);for(var s=1===arguments.length,o=0,a=e.length;o<a;o++)s?this._off(e[o]):this._off(e[o],t,i)}else delete this._events;return this},_on:function(e,t,i,n){"function"!=typeof t?console.warn("wrong listener type: "+typeof t):!1===this._listens(e,t,i)&&(t={fn:t,ctx:i=i===this?void 0:i},n&&(t.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(t))},_off:function(e,t,i){var n,s,o;if(this._events&&(n=this._events[e]))if(1===arguments.length){if(this._firingCount)for(s=0,o=n.length;s<o;s++)n[s].fn=p;delete this._events[e]}else"function"!=typeof t?console.warn("wrong listener type: "+typeof t):!1!==(t=this._listens(e,t,i))&&(i=n[t],this._firingCount&&(i.fn=p,this._events[e]=n=n.slice()),n.splice(t,1))},fire:function(e,t,i){if(this.listens(e,i)){var n=c({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var s=this._events[e];if(s){this._firingCount=this._firingCount+1||1;for(var o=0,a=s.length;o<a;o++){var r=s[o],l=r.fn;r.once&&this.off(e,l,r.ctx),l.call(r.ctx||this,n)}this._firingCount--}}i&&this._propagateEvent(n)}return this},listens:function(e,t,i,n){"string"!=typeof e&&console.warn('"string" type argument expected');var s=t,o=("function"!=typeof t&&(n=!!t,i=s=void 0),this._events&&this._events[e]);if(o&&o.length&&!1!==this._listens(e,s,i))return!0;if(n)for(var a in this._eventParents)if(this._eventParents[a].listens(e,t,i,n))return!0;return!1},_listens:function(e,t,i){if(this._events){var n=this._events[e]||[];if(!t)return!!n.length;i===this&&(i=void 0);for(var s=0,o=n.length;s<o;s++)if(n[s].fn===t&&n[s].ctx===i)return s}return!1},once:function(e,t,i){if("object"==typeof e)for(var n in e)this._on(n,e[n],t,!0);else for(var s=0,o=(e=F(e)).length;s<o;s++)this._on(e[s],t,i,!0);return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[u(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[u(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,c({layer:e.target,propagatedFrom:e.target},e),!0)}},ie=(t.addEventListener=t.on,t.removeEventListener=t.clearAllEventListeners=t.off,t.addOneTimeEventListener=t.once,t.fireEvent=t.fire,t.hasEventListeners=t.listens,te.extend(t));function m(e,t,i){this.x=i?Math.round(e):e,this.y=i?Math.round(t):t}var ne=Math.trunc||function(e){return 0<e?Math.floor(e):Math.ceil(e)};function f(e,t,i){return e instanceof m?e:d(e)?new m(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new m(e.x,e.y):new m(e,t,i)}function g(e,t){if(e)for(var i=t?[e,t]:e,n=0,s=i.length;n<s;n++)this.extend(i[n])}function h(e,t){return!e||e instanceof g?e:new g(e,t)}function o(e,t){if(e)for(var i=t?[e,t]:e,n=0,s=i.length;n<s;n++)this.extend(i[n])}function v(e,t){return e instanceof o?e:new o(e,t)}function _(e,t,i){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==i&&(this.alt=+i)}function b(e,t,i){return e instanceof _?e:d(e)&&"object"!=typeof e[0]?3===e.length?new _(e[0],e[1],e[2]):2===e.length?new _(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new _(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new _(e,t,i)}m.prototype={clone:function(){return new m(this.x,this.y)},add:function(e){return this.clone()._add(f(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(f(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new m(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new m(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=ne(this.x),this.y=ne(this.y),this},distanceTo:function(e){var t=(e=f(e)).x-this.x,e=e.y-this.y;return Math.sqrt(t*t+e*e)},equals:function(e){return(e=f(e)).x===this.x&&e.y===this.y},contains:function(e){return e=f(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+i(this.x)+", "+i(this.y)+")"}},g.prototype={extend:function(e){var t,i;if(e){if(e instanceof m||"number"==typeof e[0]||"x"in e)t=i=f(e);else if(t=(e=h(e)).min,i=e.max,!t||!i)return this;this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(i.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(i.y,this.max.y)):(this.min=t.clone(),this.max=i.clone())}return this},getCenter:function(e){return f((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},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(e){var t,i;return(e=("number"==typeof e[0]||e instanceof m?f:h)(e))instanceof g?(t=e.min,i=e.max):t=i=e,t.x>=this.min.x&&i.x<=this.max.x&&t.y>=this.min.y&&i.y<=this.max.y},intersects:function(e){e=h(e);var t=this.min,i=this.max,n=e.min,s=(e=e.max).x>=t.x&&n.x<=i.x,e=e.y>=t.y&&n.y<=i.y;return s&&e},overlaps:function(e){e=h(e);var t=this.min,i=this.max,n=e.min,s=(e=e.max).x>t.x&&n.x<i.x,e=e.y>t.y&&n.y<i.y;return s&&e},isValid:function(){return!(!this.min||!this.max)},pad:function(e){var t=this.min,i=this.max,n=Math.abs(t.x-i.x)*e,e=Math.abs(t.y-i.y)*e;return h(f(t.x-n,t.y-e),f(i.x+n,i.y+e))},equals:function(e){return!!e&&(e=h(e),this.min.equals(e.getTopLeft()))&&this.max.equals(e.getBottomRight())}},o.prototype={extend:function(e){var t,i,n=this._southWest,s=this._northEast;if(e instanceof _)i=t=e;else{if(!(e instanceof o))return e?this.extend(b(e)||v(e)):this;if(t=e._southWest,i=e._northEast,!t||!i)return this}return n||s?(n.lat=Math.min(t.lat,n.lat),n.lng=Math.min(t.lng,n.lng),s.lat=Math.max(i.lat,s.lat),s.lng=Math.max(i.lng,s.lng)):(this._southWest=new _(t.lat,t.lng),this._northEast=new _(i.lat,i.lng)),this},pad:function(e){var t=this._southWest,i=this._northEast,n=Math.abs(t.lat-i.lat)*e,e=Math.abs(t.lng-i.lng)*e;return new o(new _(t.lat-n,t.lng-e),new _(i.lat+n,i.lng+e))},getCenter:function(){return new _((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 _(this.getNorth(),this.getWest())},getSouthEast:function(){return new _(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e=("number"==typeof e[0]||e instanceof _||"lat"in e?b:v)(e);var t,i,n=this._southWest,s=this._northEast;return e instanceof o?(t=e.getSouthWest(),i=e.getNorthEast()):t=i=e,t.lat>=n.lat&&i.lat<=s.lat&&t.lng>=n.lng&&i.lng<=s.lng},intersects:function(e){e=v(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),s=(e=e.getNorthEast()).lat>=t.lat&&n.lat<=i.lat,e=e.lng>=t.lng&&n.lng<=i.lng;return s&&e},overlaps:function(e){e=v(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),s=(e=e.getNorthEast()).lat>t.lat&&n.lat<i.lat,e=e.lng>t.lng&&n.lng<i.lng;return s&&e},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=v(e),this._southWest.equals(e.getSouthWest(),t))&&this._northEast.equals(e.getNorthEast(),t)},isValid:function(){return!(!this._southWest||!this._northEast)}};var se={latLngToPoint:function(e,t){return e=this.projection.project(e),t=this.scale(t),this.transformation._transform(e,t)},pointToLatLng:function(e,t){return t=this.scale(t),e=this.transformation.untransform(e,t),this.projection.unproject(e)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){var t;return this.infinite?null:(t=this.projection.bounds,e=this.scale(e),new g(this.transformation.transform(t.min,e),this.transformation.transform(t.max,e)))},infinite:!(_.prototype={equals:function(e,t){return!!e&&(e=b(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+i(this.lat,e)+", "+i(this.lng,e)+")"},distanceTo:function(e){return oe.distance(this,b(e))},wrap:function(){return oe.wrapLatLng(this)},toBounds:function(e){var t=(e=180*e/40075017)/Math.cos(Math.PI/180*this.lat);return v([this.lat-e,this.lng-t],[this.lat+e,this.lng+t])},clone:function(){return new _(this.lat,this.lng,this.alt)}}),wrapLatLng:function(e){var t=this.wrapLng?H(e.lng,this.wrapLng,!0):e.lng;return new _(this.wrapLat?H(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),i=this.wrapLatLng(t),n=t.lat-i.lat,t=t.lng-i.lng;return 0==n&&0==t?e:(i=e.getSouthWest(),e=e.getNorthEast(),new o(new _(i.lat-n,i.lng-t),new _(e.lat-n,e.lng-t)))}},oe=c({},se,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var i=Math.PI/180,n=e.lat*i,s=t.lat*i,o=Math.sin((t.lat-e.lat)*i/2),t=Math.sin((t.lng-e.lng)*i/2),e=o*o+Math.cos(n)*Math.cos(s)*t*t,i=2*Math.atan2(Math.sqrt(e),Math.sqrt(1-e));return this.R*i}}),ae={R:6378137,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,i=this.MAX_LATITUDE,i=Math.max(Math.min(i,e.lat),-i),i=Math.sin(i*t);return new m(this.R*e.lng*t,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(e){var t=180/Math.PI;return new _((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:new g([-(ae=6378137*Math.PI),-ae],[ae,ae])};function re(e,t,i,n){d(e)?(this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3]):(this._a=e,this._b=t,this._c=i,this._d=n)}function le(e,t,i,n){return new re(e,t,i,n)}re.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return e.x=(t=t||1)*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return new m((e.x/(t=t||1)-this._b)/this._a,(e.y/t-this._d)/this._c)}};var ce=c({},oe,{code:"EPSG:3857",projection:ae,transformation:le(ce=.5/(Math.PI*ae.R),.5,-ce,.5)}),de=c({},ce,{code:"EPSG:900913"});function he(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ue(e,t){for(var i,n,s,o,a="",r=0,l=e.length;r<l;r++){for(i=0,n=(s=e[r]).length;i<n;i++)a+=(i?"L":"M")+(o=s[i]).x+" "+o.y;a+=t?x.svg?"z":"x":""}return a||"M0 0"}var pe=document.documentElement.style,me=(Lt="ActiveXObject"in window)&&!document.addEventListener,n="msLaunchUri"in navigator&&!("documentMode"in document),fe=w("webkit"),ge=w("android"),ve=w("android 2")||w("android 3"),_e=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),_e=ge&&w("Google")&&_e<537&&!("AudioNode"in window),ye=!!window.opera,be=!n&&w("chrome"),we=w("gecko")&&!fe&&!ye&&!Lt,xe=!be&&w("safari"),Ee=w("phantom"),s="OTransition"in pe,Se=0===navigator.platform.indexOf("Win"),Te=Lt&&"transition"in pe,Le="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!ve,pe="MozPerspective"in pe,Ce=!window.L_DISABLE_3D&&(Te||Le||pe)&&!s&&!Ee,Me=(Yi="undefined"!=typeof orientation||w("mobile"))&&fe,Pe=Yi&&Le,ke=!window.PointerEvent&&window.MSPointerEvent,Ae=!(!window.PointerEvent&&!ke),Ie="ontouchstart"in window||!!window.TouchEvent,Oe=!window.L_NO_TOUCH&&(Ie||Ae),ze=Yi&&ye,Be=Yi&&we,De=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Ne=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",p,t),window.removeEventListener("testPassiveEventSupport",p,t)}catch(e){}return e}(),qe=!!document.createElement("canvas").getContext,Re=!(!document.createElementNS||!he("svg").createSVGRect),je=!!Re&&((je=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(je.firstChild&&je.firstChild.namespaceURI));function w(e){return 0<=navigator.userAgent.toLowerCase().indexOf(e)}var x={ie:Lt,ielt9:me,edge:n,webkit:fe,android:ge,android23:ve,androidStock:_e,opera:ye,chrome:be,gecko:we,safari:xe,phantom:Ee,opera12:s,win:Se,ie3d:Te,webkit3d:Le,gecko3d:pe,any3d:Ce,mobile:Yi,mobileWebkit:Me,mobileWebkit3d:Pe,msPointer:ke,pointer:Ae,touch:Oe,touchNative:Ie,mobileOpera:ze,mobileGecko:Be,retina:De,passiveEvents:Ne,canvas:qe,svg:Re,vml:!Re&&function(){try{var e=document.createElement("div"),t=(e.innerHTML='<v:shape adj="1"/>',e.firstChild);return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}(),inlineSvg:je,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},He=x.msPointer?"MSPointerDown":"pointerdown",Ze=x.msPointer?"MSPointerMove":"pointermove",Fe=x.msPointer?"MSPointerUp":"pointerup",We=x.msPointer?"MSPointerCancel":"pointercancel",Ve={touchstart:He,touchmove:Ze,touchend:Fe,touchcancel:We},Ge={touchstart:function(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&O(t),Je(e,t)},touchmove:Je,touchend:Je,touchcancel:Je},Ye={},Xe=!1;function $e(e){Ye[e.pointerId]=e}function Ue(e){Ye[e.pointerId]&&(Ye[e.pointerId]=e)}function Ke(e){delete Ye[e.pointerId]}function Je(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in t.touches=[],Ye)t.touches.push(Ye[i]);t.changedTouches=[t],e(t)}}var Qe=200;var et,tt,it,nt,st,ot=gt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),at=gt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),rt="webkitTransition"===at||"OTransition"===at?at+"End":"transitionend";function lt(e){return"string"==typeof e?document.getElementById(e):e}function ct(e,t){var i=e.style[t]||e.currentStyle&&e.currentStyle[t];return"auto"===(i=i&&"auto"!==i||!document.defaultView?i:(e=document.defaultView.getComputedStyle(e,null))?e[t]:null)?null:i}function E(e,t,i){return(e=document.createElement(e)).className=t||"",i&&i.appendChild(e),e}function S(e){var t=e.parentNode;t&&t.removeChild(e)}function dt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function ht(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function ut(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function pt(e,t){return void 0!==e.classList?e.classList.contains(t):0<(e=ft(e)).length&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e)}function T(e,t){var i;if(void 0!==e.classList)for(var n=F(t),s=0,o=n.length;s<o;s++)e.classList.add(n[s]);else pt(e,t)||mt(e,((i=ft(e))?i+" ":"")+t)}function C(e,t){void 0!==e.classList?e.classList.remove(t):mt(e,Z((" "+ft(e)+" ").replace(" "+t+" "," ")))}function mt(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function ft(e){return void 0===(e=e.correspondingElement||e).className.baseVal?e.className:e.className.baseVal}function M(e,t){if("opacity"in e.style)e.style.opacity=t;else if("filter"in e.style){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=e.filters.item(n)}catch(e){if(1===t)return}t=Math.round(100*t),i?(i.Enabled=100!==t,i.Opacity=t):e.style.filter+=" progid:"+n+"(opacity="+t+")"}}function gt(e){for(var t=document.documentElement.style,i=0;i<e.length;i++)if(e[i]in t)return e[i];return!1}function vt(e,t,i){t=t||new m(0,0),e.style[ot]=(x.ie3d?"translate("+t.x+"px,"+t.y+"px)":"translate3d("+t.x+"px,"+t.y+"px,0)")+(i?" scale("+i+")":"")}function P(e,t){e._leaflet_pos=t,x.any3d?vt(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function _t(e){return e._leaflet_pos||new m(0,0)}function yt(){k(window,"dragstart",O)}function bt(){I(window,"dragstart",O)}function wt(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(xt(),st=(nt=e).style.outlineStyle,e.style.outlineStyle="none",k(window,"keydown",xt))}function xt(){nt&&(nt.style.outlineStyle=st,st=nt=void 0,I(window,"keydown",xt))}function Et(e){for(;!((e=e.parentNode).offsetWidth&&e.offsetHeight||e===document.body););return e}function St(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}function k(e,t,i,n){if(t&&"object"==typeof t)for(var s in t)Pt(e,s,t[s],i);else for(var o=0,a=(t=F(t)).length;o<a;o++)Pt(e,t[o],i,n);return this}var Tt="onselectstart"in document?(it=function(){k(window,"selectstart",O)},function(){I(window,"selectstart",O)}):(tt=gt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),it=function(){var e;tt&&(e=document.documentElement.style,et=e[tt],e[tt]="none")},function(){tt&&(document.documentElement.style[tt]=et,et=void 0)}),Lt={__proto__:null,TRANSFORM:ot,TRANSITION:at,TRANSITION_END:rt,get:lt,getStyle:ct,create:E,remove:S,empty:dt,toFront:ht,toBack:ut,hasClass:pt,addClass:T,removeClass:C,setClass:mt,getClass:ft,setOpacity:M,testProp:gt,setTransform:vt,setPosition:P,getPosition:_t,get disableTextSelection(){return it},get enableTextSelection(){return Tt},disableImageDrag:yt,enableImageDrag:bt,preventOutline:wt,restoreOutline:xt,getSizedParentNode:Et,getScale:St},A="_leaflet_events";function I(e,t,i,n){if(1===arguments.length)Ct(e),delete e[A];else if(t&&"object"==typeof t)for(var s in t)kt(e,s,t[s],i);else if(t=F(t),2===arguments.length)Ct(e,function(e){return-1!==Y(t,e)});else for(var o=0,a=t.length;o<a;o++)kt(e,t[o],i,n);return this}function Ct(e,t){for(var i in e[A]){var n=i.split(/\d/)[0];t&&!t(n)||kt(e,n,null,null,i)}}
vendor: 5,188 bytes, line 5
5var Mt={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Pt(t,e,i,n){var s,o,a,r,l,c,d=e+u(i)+(n?"_"+u(n):"");function h(e){var t;1!==e.detail?l=e.detail:"mouse"===e.pointerType||e.sourceCapabilities&&!e.sourceCapabilities.firesTouchEvents||(t=Bt(e)).some(function(e){return e instanceof HTMLLabelElement&&e.attributes.for})&&!t.some(function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement})||((t=Date.now())-c<=Qe?2==++l&&r(function(e){var t,i,n={};for(i in e)t=e[i],n[i]=t&&t.bind?t.bind(e):t;return(e=n).type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}(e)):l=1,c=t)}t[A]&&t[A][d]||(o=s=function(e){return i.call(n||t,e||window.event)},!x.touchNative&&x.pointer&&0===e.indexOf("touch")?s=function(e,t,i){return"touchstart"!==t||Xe||(document.addEventListener(He,$e,!0),document.addEventListener(Ze,Ue,!0),document.addEventListener(Fe,Ke,!0),document.addEventListener(We,Ke,!0),Xe=!0),Ge[t]?(i=Ge[t].bind(this,i),e.addEventListener(Ve[t],i,!1),i):(console.warn("wrong event specified:",t),p)}(t,e,s):x.touch&&"dblclick"===e?(r=s,(a=t).addEventListener("dblclick",r),c=0,a.addEventListener("click",h),s={dblclick:r,simDblclick:h}):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Mt[e]||e,s,!!x.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?t.addEventListener(Mt[e],s=function(e){e=e||window.event,Rt(t,e)&&o(e)},!1):t.addEventListener(e,o,!1):t.attachEvent("on"+e,s),t[A]=t[A]||{},t[A][d]=s)}function kt(e,t,i,n,s){var o,a;s=s||t+u(i)+(n?"_"+u(n):""),(i=e[A]&&e[A][s])&&(!x.touchNative&&x.pointer&&0===t.indexOf("touch")?(n=e,a=i,Ve[o=t]?n.removeEventListener(Ve[o],a,!1):console.warn("wrong event specified:",o)):x.touch&&"dblclick"===t?((a=e).removeEventListener("dblclick",(n=i).dblclick),a.removeEventListener("click",n.simDblclick)):"removeEventListener"in e?e.removeEventListener(Mt[t]||t,i,!1):e.detachEvent("on"+t,i),e[A][s]=null)}function At(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function It(e){return Pt(e,"wheel",At),this}function Ot(e){return k(e,"mousedown touchstart dblclick contextmenu",At),e._leaflet_disable_click=!0,this}function O(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function zt(e){return O(e),At(e),this}function Bt(e){if(e.composedPath)return e.composedPath();for(var t=[],i=e.target;i;)t.push(i),i=i.parentNode;return t}function Dt(e,t){var i,n;return t?(n=(i=St(t)).boundingClientRect,new m((e.clientX-n.left)/i.x-t.clientLeft,(e.clientY-n.top)/i.y-t.clientTop)):new m(e.clientX,e.clientY)}var Nt=x.linux&&x.chrome?window.devicePixelRatio:x.mac?3*window.devicePixelRatio:0<window.devicePixelRatio?2*window.devicePixelRatio:1;function qt(e){return x.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Nt:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}function Rt(e,t){var i=t.relatedTarget;if(!i)return!0;try{for(;i&&i!==e;)i=i.parentNode}catch(e){return!1}return i!==e}var me={__proto__:null,on:k,off:I,stopPropagation:At,disableScrollPropagation:It,disableClickPropagation:Ot,preventDefault:O,stop:zt,getPropagationPath:Bt,getMousePosition:Dt,getWheelDelta:qt,isExternalTarget:Rt,addListener:k,removeListener:I},jt=ie.extend({run:function(e,t,i,n){this.stop(),this._el=e,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=_t(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=y(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,i=1e3*this._duration;t<i?this._runFrame(this._easeOut(t/i),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){e=this._startPos.add(this._offset.multiplyBy(e)),t&&e._round(),P(this._el,e),this.fire("step")},_complete:function(){a(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),z=ie.extend({options:{crs:ce,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=l(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=r(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(b(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=at&&x.any3d&&!x.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),k(this._proxy,rt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 116,118 bytes, line 5
5,setView:function(e,t,i){return(t=void 0===t?this._zoom:this._limitZoom(t),e=this._limitCenter(b(e),t,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=c({animate:i.animate},i.zoom),i.pan=c({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==t?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,i.zoom):this._tryAnimatedPan(e,i.pan)))?clearTimeout(this._sizeTimer):this._resetView(e,t,i.pan&&i.pan.noMoveStart),this},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(x.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(x.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,i){var n=this.getZoomScale(t),s=this.getSize().divideBy(2),e=(e instanceof m?e:this.latLngToContainerPoint(e)).subtract(s).multiplyBy(1-1/n),n=this.containerPointToLatLng(s.add(e));return this.setView(n,t,{zoom:i})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():v(e);var i=f(t.paddingTopLeft||t.padding||[0,0]),n=f(t.paddingBottomRight||t.padding||[0,0]),s=this.getBoundsZoom(e,!1,i.add(n));return(s="number"==typeof t.maxZoom?Math.min(t.maxZoom,s):s)===1/0?{center:e.getCenter(),zoom:s}:(t=n.subtract(i).divideBy(2),n=this.project(e.getSouthWest(),s),i=this.project(e.getNorthEast(),s),{center:this.unproject(n.add(i).divideBy(2).add(t),s),zoom:s})},fitBounds:function(e,t){if((e=v(e)).isValid())return e=this._getBoundsCenterZoom(e,t),this.setView(e.center,e.zoom,t);throw new Error("Bounds are not valid.")},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){var i;return t=t||{},(e=f(e).round()).x||e.y?(!0===t.animate||this.getSize().contains(e)?(this._panAnim||(this._panAnim=new jt,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate?(T(this._mapPane,"leaflet-pan-anim"),i=this._getMapPanePos().subtract(e).round(),this._panAnim.run(this._mapPane,i,t.duration||.25,t.easeLinearity)):(this._rawPanBy(e),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this):this.fire("moveend")},flyTo:function(s,o,e){if(!1===(e=e||{}).animate||!x.any3d)return this.setView(s,o,e);this._stop();var a=this.project(this.getCenter()),r=this.project(s),t=this.getSize(),l=this._zoom,c=(s=b(s),o=void 0===o?l:o,Math.max(t.x,t.y)),i=c*this.getZoomScale(l,o),d=r.distanceTo(a)||1,h=1.42,u=h*h;function n(e){return e=(i*i-c*c+(e?-1:1)*u*u*d*d)/(2*(e?i:c)*u*d),(e=Math.sqrt(e*e+1)-e)<1e-9?-18:Math.log(e)}function p(e){return(Math.exp(e)-Math.exp(-e))/2}function m(e){return(Math.exp(e)+Math.exp(-e))/2}var f=n(0);var g=Date.now(),v=(n(1)-f)/h,_=e.duration?1e3*e.duration:1e3*v*.8;return this._moveStart(!0,e.noMoveStart),function e(){var t,i=(Date.now()-g)/_,n=(1-Math.pow(1-i,1.5))*v;i<=1?(this._flyToFrame=y(e,this),this._move(this.unproject(a.add(r.subtract(a).multiplyBy((t=n,c*(m(f)*(p(t=f+h*t)/m(t))-p(f))/u/d))),l),this.getScaleZoom(c/(i=n,c*(m(f)/m(f+h*i))),l),{flyTo:!0})):this._move(s,o)._moveEnd(!0)}.call(this),this},flyToBounds:function(e,t){return e=this._getBoundsCenterZoom(e,t),this.flyTo(e.center,e.zoom,t)},setMaxBounds:function(e){return e=v(e),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var i=this.getCenter(),e=this._limitCenter(i,this._zoom,v(e));return i.equals(e)||this.panTo(e,t),this._enforcingBounds=!1,this},panInside:function(e,t){var i=f((t=t||{}).paddingTopLeft||t.padding||[0,0]),n=f(t.paddingBottomRight||t.padding||[0,0]),s=this.project(this.getCenter()),e=this.project(e),o=(i=h([(o=this.getPixelBounds()).min.add(i),o.max.subtract(n)])).getSize();return i.contains(e)||(this._enforcingBounds=!0,n=e.subtract(i.getCenter()),i=i.extend(e).getSize().subtract(o),s.x+=n.x<0?-i.x:i.x,s.y+=n.y<0?-i.y:i.y,this.panTo(this.unproject(s),t),this._enforcingBounds=!1),this},invalidateSize:function(e){if(!this._loaded)return this;e=c({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),n=t.divideBy(2).round(),s=i.divideBy(2).round();return(n=n.subtract(s)).x||n.y?(e.animate&&e.pan?this.panBy(n):(e.pan&&this._rawPanBy(n),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(r(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){var t,i;return e=this._locateOptions=c({timeout:1e4,watch:!1},e),"geolocation"in navigator?(t=r(this._handleGeolocationResponse,this),i=r(this._handleGeolocationError,this),e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,i,e):navigator.geolocation.getCurrentPosition(t,i,e)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t;this._container._leaflet_id&&(t=e.code,e=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+e+"."}))},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t,i,n=new _(e.coords.latitude,e.coords.longitude),s=n.toBounds(2*e.coords.accuracy),o=this._locateOptions,a=(o.setView&&(t=this.getBoundsZoom(s),this.setView(n,o.maxZoom?Math.min(t,o.maxZoom):t)),{latlng:n,bounds:s,timestamp:e.timestamp});for(i in e.coords)"number"==typeof e.coords[i]&&(a[i]=e.coords[i]);this.fire("locationfound",a)}},addHandler:function(e,t){return t&&(t=this[e]=new t(this),this._handlers.push(t),this.options[e])&&t.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}for(var e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),S(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(a(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)S(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){return t=E("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane),e&&(this._panes[e]=t),t},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new o(this.unproject(e.getBottomLeft()),this.unproject(e.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(e,t,i){e=v(e),i=f(i||[0,0]);var n=this.getZoom()||0,s=this.getMinZoom(),o=this.getMaxZoom(),a=e.getNorthWest(),e=e.getSouthEast(),i=this.getSize().subtract(i),e=h(this.project(e,n),this.project(a,n)).getSize(),a=x.any3d?this.options.zoomSnap:1,r=i.x/e.x,i=i.y/e.y,e=t?Math.max(r,i):Math.min(r,i),n=this.getScaleZoom(e,n);return a&&(n=Math.round(n/(a/100))*(a/100),n=t?Math.ceil(n/a)*a:Math.floor(n/a)*a),Math.max(s,Math.min(o,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(e,t){return new g(e=this._getTopLeftPoint(e,t),e.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var i=this.options.crs;return t=void 0===t?this._zoom:t,i.scale(e)/i.scale(t)},getScaleZoom:function(e,t){var i=this.options.crs,e=(t=void 0===t?this._zoom:t,i.zoom(e*i.scale(t)));return isNaN(e)?1/0:e},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(b(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(f(e),t)},layerPointToLatLng:function(e){return e=f(e).add(this.getPixelOrigin()),this.unproject(e)},latLngToLayerPoint:function(e){return this.project(b(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(b(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(v(e))},distance:function(e,t){return this.options.crs.distance(b(e),b(t))},containerPointToLayerPoint:function(e){return f(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return f(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){return e=this.containerPointToLayerPoint(f(e)),this.layerPointToLatLng(e)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(b(e)))},mouseEventToContainerPoint:function(e){return Dt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){if(!(e=this._container=lt(e)))throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");k(e,"scroll",this._onScroll,this),this._containerId=u(e)},_initLayout:function(){var e=this._container,t=(this._fadeAnimated=this.options.fadeAnimation&&x.any3d,T(e,"leaflet-container"+(x.touch?" leaflet-touch":"")+(x.retina?" leaflet-retina":"")+(x.ielt9?" leaflet-oldie":"")+(x.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),ct(e,"position"));"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),P(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||(T(e.markerPane,"leaflet-zoom-hide"),T(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,i){P(this._mapPane,new m(0,0));var n=!this._loaded,s=(this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset"),this._zoom!==t);this._moveStart(s,i)._move(e,t)._moveEnd(s),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,i,n){void 0===t&&(t=this._zoom);var s=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),n?i&&i.pinch&&this.fire("zoom",i):((s||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return a(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){P(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={};var t=e?I:k;t((this._targets[u(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),x.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){a(this._resizeRequest),this._resizeRequest=y(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var i,n=[],s="mouseout"===t||"mouseover"===t,o=e.target||e.srcElement,a=!1;o;){if((i=this._targets[u(o)])&&("click"===t||"preclick"===t)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(t,!0)){if(s&&!Rt(o,e))break;if(n.push(i),s)break}if(o===this._container)break;o=o.parentNode}return n.length||a||s||!this.listens(t,!0)?n:[this]},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t,i=e.target||e.srcElement;!this._loaded||i._leaflet_disable_events||"click"===e.type&&this._isClickDisabled(i)||("mousedown"===(t=e.type)&&wt(i),this._fireDOMEvent(e,t))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,i){"click"===e.type&&((r=c({},e)).type="preclick",this._fireDOMEvent(r,r.type,i));var n=this._findEventTargets(e,t);if(i){for(var s=[],o=0;o<i.length;o++)i[o].listens(t,!0)&&s.push(i[o]);n=s.concat(n)}if(n.length){"contextmenu"===t&&O(e);var a,r=n[0],l={originalEvent:e};for("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type&&(a=r.getLatLng&&(!r._radius||r._radius<=10),l.containerPoint=a?this.latLngToContainerPoint(r.getLatLng()):this.mouseEventToContainerPoint(e),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=a?r.getLatLng():this.layerPointToLatLng(l.layerPoint)),o=0;o<n.length;o++)if(n[o].fire(t,l,!0),l.originalEvent._stopped||!1===n[o].options.bubblingMouseEvents&&-1!==Y(this._mouseEvents,t))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return _t(this._mapPane)||new m(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var i=this.getSize()._divideBy(2);return this.project(e,t)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,i){return i=this._getNewPixelOrigin(i,t),this.project(e,t)._subtract(i)},_latLngBoundsToNewLayerBounds:function(e,t,i){return i=this._getNewPixelOrigin(i,t),h([this.project(e.getSouthWest(),t)._subtract(i),this.project(e.getNorthWest(),t)._subtract(i),this.project(e.getSouthEast(),t)._subtract(i),this.project(e.getNorthEast(),t)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,i){var n,s;return!i||(n=this.project(e,t),s=this.getSize().divideBy(2),s=new g(n.subtract(s),n.add(s)),s=this._getBoundsOffset(s,i,t),Math.abs(s.x)<=1&&Math.abs(s.y)<=1)?e:this.unproject(n.add(s),t)},_limitOffset:function(e,t){var i;return t?(i=new g((i=this.getPixelBounds()).min.add(e),i.max.add(e)),e.add(this._getBoundsOffset(i,t))):e},_getBoundsOffset:function(e,t,i){return i=(t=h(this.project(t.getNorthEast(),i),this.project(t.getSouthWest(),i))).min.subtract(e.min),t=t.max.subtract(e.max),new m(this._rebound(i.x,-t.x),this._rebound(i.y,-t.y))},_rebound:function(e,t){return 0<e+t?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),i=this.getMaxZoom(),n=x.any3d?this.options.zoomSnap:1;return n&&(e=Math.round(e/n)*n),Math.max(t,Math.min(i,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){C(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){return e=this._getCenterOffset(e)._trunc(),!(!0!==(t&&t.animate)&&!this.getSize().contains(e)||(this.panBy(e,t),0))},_createAnimProxy:function(){var e=this._proxy=E("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(e){var t=ot,i=this._proxy.style[t];vt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),i===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){S(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();vt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&0<=e.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,i){if(!this._animatingZoom){if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(t),n=this._getCenterOffset(e)._divideBy(1-1/n);if(!0!==i.animate&&!this.getSize().contains(n))return!1;y(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(e,t,!0)},this)}return!0},_animateZoom:function(e,t,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,T(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(r(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&C(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Ht(e){return new B(e)}var B=te.extend({options:{position:"topright"},initialize:function(e){l(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),i=this.getPosition(),e=e._controlCorners[i];return T(t,"leaflet-control"),-1!==i.indexOf("bottom")?e.insertBefore(t,e.firstChild):e.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(S(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(e){this._map&&e&&0<e.screenX&&0<e.screenY&&this._map.getContainer().focus()}}),Zt=(z.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var i=this._controlCorners={},n="leaflet-",s=this._controlContainer=E("div",n+"control-container",this._container);function e(e,t){i[e+t]=E("div",n+e+" "+n+t,s)}e("top","left"),e("top","right"),e("bottom","left"),e("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)S(this._controlCorners[e]);S(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),B.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,i,n){return i<n?-1:n<i?1:0}},initialize:function(e,t,i){for(var n in l(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,e)this._addLayer(e[n],n);for(n in t)this._addLayer(t[n],n,!0)},onAdd:function(e){this._initLayout(),this._update(),(this._map=e).on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return B.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){return e.off("add remove",this._onLayerChange,this),(e=this._getLayer(u(e)))&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){T(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(T(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):C(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return C(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=E("div",e),i=this.options.collapsed,n=(t.setAttribute("aria-haspopup",!0),Ot(t),It(t),this._section=E("section",e+"-list")),s=(i&&(this._map.on("click",this.collapse,this),k(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this)),this._layersLink=E("a",e+"-toggle",t));s.href="#",s.title="Layers",s.setAttribute("role","button"),k(s,{keydown:function(e){13===e.keyCode&&this._expandSafely()},click:function(e){O(e),this._expandSafely()}},this),i||this.expand(),this._baseLayersList=E("div",e+"-base",n),this._separator=E("div",e+"-separator",n),this._overlaysList=E("div",e+"-overlays",n),t.appendChild(n)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&u(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,i){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:i}),this.options.sortLayers&&this._layers.sort(r(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(this._container){dt(this._baseLayersList),dt(this._overlaysList),this._layerControlInputs=[];for(var e,t,i,n=0,s=0;s<this._layers.length;s++)i=this._layers[s],this._addItem(i),t=t||i.overlay,e=e||!i.overlay,n+=i.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(e=e&&1<n)?"":"none"),this._separator.style.display=t&&e?"":"none"}return this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(u(e.target));(e=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null)&&this._map.fire(e,t)},_createRadioElement:function(e,t){return e='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",(t=document.createElement("div")).innerHTML=e,t.firstChild},_addItem:function(e){var t,i=document.createElement("label"),n=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=n):t=this._createRadioElement("leaflet-base-layers_"+u(this),n),this._layerControlInputs.push(t),t.layerId=u(e.layer),k(t,"click",this._onInputClick,this);(n=document.createElement("span")).innerHTML=" "+e.name;var s=document.createElement("span");return i.appendChild(s),s.appendChild(t),s.appendChild(n),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e,t,i=this._layerControlInputs,n=[],s=[];this._handlingClick=!0;for(var o=i.length-1;0<=o;o--)e=i[o],t=this._getLayer(e.layerId).layer,e.checked?n.push(t):e.checked||s.push(t);for(o=0;o<s.length;o++)this._map.hasLayer(s[o])&&this._map.removeLayer(s[o]);for(o=0;o<n.length;o++)this._map.hasLayer(n[o])||this._map.addLayer(n[o]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e,t,i=this._layerControlInputs,n=this._map.getZoom(),s=i.length-1;0<=s;s--)e=i[s],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&n<t.options.minZoom||void 0!==t.options.maxZoom&&n>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section,t=(this._preventClick=!0,k(e,"click",O),this.expand(),this);setTimeout(function(){I(e,"click",O),t._preventClick=!1})}})),Ft=B.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",i=E("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",i,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,i,n,s){return(i=E("a",i,n)).innerHTML=e,i.href="#",i.title=t,i.setAttribute("role","button"),i.setAttribute("aria-label",t),Ot(i),k(i,"click",zt),k(i,"click",s,this),k(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";C(this._zoomInButton,t),C(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),!this._disabled&&e._zoom!==e.getMinZoom()||(T(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),!this._disabled&&e._zoom!==e.getMaxZoom()||(T(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}}),Wt=(z.mergeOptions({zoomControl:!0}),z.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ft,this.addControl(this.zoomControl))}),B.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",i=E("div",t),n=this.options;return this._addScales(n,t+"-line",i),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),i},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,i){e.metric&&(this._mScale=E("div",t,i)),e.imperial&&(this._iScale=E("div",t,i))},_update:function(){var e=(t=this._map).getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e);this._updateScale(this._mScale,t<1e3?t+" m":t/1e3+" km",t/e)},_updateImperial:function(e){var t,i;5280<(e=3.2808399*e)?(i=this._getRoundNum(t=e/5280),this._updateScale(this._iScale,i+" mi",i/t)):(i=this._getRoundNum(e),this._updateScale(this._iScale,i+" ft",i/e))},_updateScale:function(e,t,i){e.style.width=Math.round(this.options.maxWidth*i)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1);return t*(10<=(e=e/t)?10:5<=e?5:3<=e?3:2<=e?2:1)}})),Vt=B.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(x.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(e){l(this,e),this._attributions={}},onAdd:function(e){for(var t in(e.attributionControl=this)._container=E("div","leaflet-control-attribution"),Ot(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e&&(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update()),this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e,t=[];for(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> ')}}});z.mergeOptions({attributionControl:!0}),z.addInitHook(function(){this.options.attributionControl&&(new Vt).addTo(this)}),B.Layers=Zt,B.Zoom=Ft,B.Scale=Wt,B.Attribution=Vt,Ht.layers=function(e,t,i){return new Zt(e,t,i)},Ht.zoom=function(e){return new Ft(e)},Ht.scale=function(e){return new Wt(e)},Ht.attribution=function(e){return new Vt(e)};(n=te.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}})).addTo=function(e,t){return e.addHandler(t,this),this};var fe={Events:t},Gt=x.touch?"touchstart mousedown":"mousedown",Yt=ie.extend({options:{clickTolerance:3},initialize:function(e,t,i,n){l(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=i},enable:function(){this._enabled||(k(this._dragStartTarget,Gt,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Yt._dragging===this&&this.finishDrag(!0),I(this._dragStartTarget,Gt,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){var t,i;this._enabled&&(this._moved=!1,pt(this._element,"leaflet-zoom-anim")||(e.touches&&1!==e.touches.length?Yt._dragging===this&&this.finishDrag():Yt._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||((Yt._dragging=this)._preventOutline&&wt(this._element),yt(),it(),this._moving)||(this.fire("down"),i=e.touches?e.touches[0]:e,t=Et(this._element),this._startPoint=new m(i.clientX,i.clientY),this._startPos=_t(this._element),this._parentScale=St(t),i="mousedown"===e.type,k(document,i?"mousemove":"touchmove",this._onMove,this),k(document,i?"mouseup":"touchend touchcancel",this._onUp,this))))},_onMove:function(e){var t;this._enabled&&(e.touches&&1<e.touches.length?this._moved=!0:!(t=new m((t=e.touches&&1===e.touches.length?e.touches[0]:e).clientX,t.clientY)._subtract(this._startPoint)).x&&!t.y||Math.abs(t.x)+Math.abs(t.y)<this.options.clickTolerance||(t.x/=this._parentScale.x,t.y/=this._parentScale.y,O(e),this._moved||(this.fire("dragstart"),this._moved=!0,T(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),T(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(t),this._moving=!0,this._lastEvent=e,this._updatePosition()))},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),P(this._element,this._newPos),this.fire("drag",e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){C(document.body,"leaflet-dragging"),this._lastTarget&&(C(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),I(document,"mousemove touchmove",this._onMove,this),I(document,"mouseup touchend touchcancel",this._onUp,this),bt(),Tt();var t=this._moved&&this._moving;this._moving=!1,Yt._dragging=!1,t&&this.fire("dragend",{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function Xt(e,t,i){for(var n,s,o,a,r,l,c,d=[1,4,2,8],h=0,u=e.length;h<u;h++)e[h]._code=ii(e[h],t);for(o=0;o<4;o++){for(l=d[o],n=[],h=0,s=(u=e.length)-1;h<u;s=h++)a=e[h],r=e[s],a._code&l?r._code&l||((c=ti(r,a,l,t,i))._code=ii(c,t),n.push(c)):(r._code&l&&((c=ti(r,a,l,t,i))._code=ii(c,t),n.push(c)),n.push(a));e=n}return e}function $t(e,t){var i,n,s,o,a,r,l;if(!e||0===e.length)throw new Error("latlngs not passed");D(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);for(var c=b([0,0]),d=v(e),h=(d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(c=Ut(e)),e.length),u=[],p=0;p<h;p++){var m=b(e[p]);u.push(t.project(b([m.lat-c.lat,m.lng-c.lng])))}for(p=a=r=l=0,i=h-1;p<h;i=p++)o=(n=u[p]).y*(s=u[i]).x-s.y*n.x,r+=(n.x+s.x)*o,l+=(n.y+s.y)*o,a+=3*o;return b([(d=t.unproject(f(d=0===a?u[0]:[r/a,l/a]))).lat+c.lat,d.lng+c.lng])}function Ut(e){for(var t=0,i=0,n=0,s=0;s<e.length;s++){var o=b(e[s]);t+=o.lat,i+=o.lng,n++}return b([t/n,i/n])}var Kt,ge={__proto__:null,clipPolygon:Xt,polygonCenter:$t,centroid:Ut};function Jt(e,t){if(t&&e.length){var i=e=function(e,t){for(var i,n,s,o=[e[0]],a=1,r=0,l=e.length;a<l;a++)i=e[a],n=e[r],s=void 0,(s=n.x-i.x)*s+(n=n.y-i.y)*n>t&&(o.push(e[a]),r=a);return r<l-1&&o.push(e[l-1]),o}(e,t*=t),n=i.length,s=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);s[0]=s[n-1]=1,function e(t,i,n,s,o){for(var a,r,l=0,c=s+1;c<=o-1;c++)l<(r=ni(t[c],t[s],t[o],!0))&&(a=c,l=r);n<l&&(i[a]=1,e(t,i,n,s,a),e(t,i,n,a,o))}(i,s,t,0,n-1);for(var o=[],a=0;a<n;a++)s[a]&&o.push(i[a]);return o}return e.slice()}function Qt(e,t,i){return Math.sqrt(ni(e,t,i,!0))}function ei(e,t,i,n,s){var o,a,r,l=n?Kt:ii(e,i),c=ii(t,i);for(Kt=c;;){if(!(l|c))return[e,t];if(l&c)return!1;r=ii(a=ti(e,t,o=l||c,i,s),i),o===l?(e=a,l=r):(t=a,c=r)}}function ti(e,t,i,n,s){var o,a,r=t.x-e.x,t=t.y-e.y,l=n.min,n=n.max;return 8&i?(o=e.x+r*(n.y-e.y)/t,a=n.y):4&i?(o=e.x+r*(l.y-e.y)/t,a=l.y):2&i?(o=n.x,a=e.y+t*(n.x-e.x)/r):1&i&&(o=l.x,a=e.y+t*(l.x-e.x)/r),new m(o,a,s)}function ii(e,t){var i=0;return e.x<t.min.x?i|=1:e.x>t.max.x&&(i|=2),e.y<t.min.y?i|=4:e.y>t.max.y&&(i|=8),i}function ni(e,t,i,n){var s=t.x,t=t.y,o=i.x-s,a=i.y-t,r=o*o+a*a;return 0<r&&(1<(r=((e.x-s)*o+(e.y-t)*a)/r)?(s=i.x,t=i.y):0<r&&(s+=o*r,t+=a*r)),o=e.x-s,a=e.y-t,n?o*o+a*a:new m(s,t)}function D(e){return!d(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function si(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),D(e)}function oi(e,t){var i,n,s,o,a,r;if(!e||0===e.length)throw new Error("latlngs not passed");D(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);for(var l=b([0,0]),c=v(e),d=(c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(l=Ut(e)),e.length),h=[],u=0;u<d;u++){var p=b(e[u]);h.push(t.project(b([p.lat-l.lat,p.lng-l.lng])))}for(i=u=0;u<d-1;u++)i+=h[u].distanceTo(h[u+1])/2;if(0===i)r=h[0];else for(n=u=0;u<d-1;u++)if(i<(n+=a=(s=h[u]).distanceTo(o=h[u+1]))){r=[o.x-(a=(n-i)/a)*(o.x-s.x),o.y-a*(o.y-s.y)];break}return b([(c=t.unproject(f(r))).lat+l.lat,c.lng+l.lng])}var ve={__proto__:null,simplify:Jt,pointToSegmentDistance:Qt,closestPointOnSegment:function(e,t,i){return ni(e,t,i)},clipSegment:ei,_getEdgeIntersection:ti,_getBitCode:ii,_sqClosestPointOnSegment:ni,isFlat:D,_flat:si,polylineCenter:oi},be={__proto__:null,LonLat:_e={project:function(e){return new m(e.lng,e.lat)},unproject:function(e){return new _(e.y,e.x)},bounds:new g([-180,-90],[180,90])},Mercator:ye={R:6378137,R_MINOR:6356752.314245179,bounds:new g([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,i=this.R,n=e.lat*t,s=this.R_MINOR/i,o=(s=Math.sqrt(1-s*s))*Math.sin(n),o=Math.tan(Math.PI/4-n/2)/Math.pow((1-o)/(1+o),s/2),n=-i*Math.log(Math.max(o,1e-10));return new m(e.lng*t*i,n)},unproject:function(e){for(var t,i=180/Math.PI,n=this.R,s=this.R_MINOR/n,o=Math.sqrt(1-s*s),a=Math.exp(-e.y/n),r=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)t=o*Math.sin(r),t=Math.pow((1-t)/(1+t),o/2),r+=c=Math.PI/2-2*Math.atan(a*t)-r;return new _(r*i,e.x*i/n)}},SphericalMercator:ae},xe=c({},oe,{code:"EPSG:3395",projection:ye,transformation:le(we=.5/(Math.PI*ye.R),.5,-we,.5)}),ai=c({},oe,{code:"EPSG:4326",projection:_e,transformation:le(1/180,1,-1/180,.5)}),Ee=c({},se,{projection:_e,transformation:le(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var i=t.lng-e.lng,t=t.lat-e.lat;return Math.sqrt(i*i+t*t)},infinite:!0}),s=(se.Earth=oe,se.EPSG3395=xe,se.EPSG3857=ce,se.EPSG900913=de,se.EPSG4326=ai,se.Simple=Ee,ie.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[u(e)]=this},removeInteractiveTarget:function(e){return delete this._map._targets[u(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t,i=e.target;i.hasLayer(this)&&(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents&&(t=this.getEvents(),i.on(t,this),this.once("remove",function(){i.off(t,this)},this)),this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this}))}})),ri=(z.include({addLayer:function(e){var t;if(e._layerAdd)return t=u(e),this._layers[t]||((this._layers[t]=e)._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this;throw new Error("The provided object is not a Layer.")},removeLayer:function(e){var t=u(e);return this._layers[t]&&(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null),this},hasLayer:function(e){return u(e)in this._layers},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},_addLayers:function(e){for(var t=0,i=(e=e?d(e)?e:[e]:[]).length;t<i;t++)this.addLayer(e[t])},_addZoomLimit:function(e){isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[u(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){e=u(e),this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var e,t=1/0,i=-1/0,n=this._getZoomSpan();for(e in this._zoomBoundLayers)var s=this._zoomBoundLayers[e].options,t=void 0===s.minZoom?t:Math.min(t,s.minZoom),i=void 0===s.maxZoom?i:Math.max(i,s.maxZoom);this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=t===1/0?void 0:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}}),s.extend({initialize:function(e,t){var i,n;if(l(this,t),this._layers={},e)for(i=0,n=e.length;i<n;i++)this.addLayer(e[i])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){return e=e in this._layers?e:this.getLayerId(e),this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(e){return("number"==typeof e?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,i,n=Array.prototype.slice.call(arguments,1);for(t in this._layers)(i=this._layers[t])[e]&&i[e].apply(i,n);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:u})),li=ri.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),ri.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?((e=e in this._layers?this._layers[e]:e).removeEventParent(this),ri.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e,t=new o;for(e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),ci=te.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){l(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var i=this._getIconUrl(e);if(i)return i=this._createImg(i,t&&"IMG"===t.tagName?t:null),this._setIconStyles(i,e),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i;if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(e,t){var i=this.options,n=f(n="number"==typeof(n=i[t+"Size"])?[n,n]:n),s=f("shadow"===t&&i.shadowAnchor||i.iconAnchor||n&&n.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(i.className||""),s&&(e.style.marginLeft=-s.x+"px",e.style.marginTop=-s.y+"px"),n&&(e.style.width=n.x+"px",e.style.height=n.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return x.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),di=ci.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return"string"!=typeof di.imagePath&&(di.imagePath=this._detectIconPath()),(this.options.imagePath||di.imagePath)+ci.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){function t(e,t,i){return(t=t.exec(e))&&t[i]}return(e=t(e,/^url\((['"])?(.+)\1\)$/,2))&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=E("div","leaflet-default-icon-path",document.body),t=ct(e,"background-image")||ct(e,"backgroundImage");return document.body.removeChild(e),this._stripUrl(t)||((e=document.querySelector('link[href$="leaflet.css"]'))?e.href.substring(0,e.href.length-"leaflet.css".length-1):"")}}),hi=n.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new Yt(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),T(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&C(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,i=t._map,n=this._marker.options.autoPanSpeed,s=this._marker.options.autoPanPadding,o=_t(t._icon),a=i.getPixelBounds(),r=i.getPixelOrigin();(r=h(a.min._subtract(r).add(s),a.max._subtract(r).subtract(s))).contains(o)||(s=f((Math.max(r.max.x,o.x)-r.max.x)/(a.max.x-r.max.x)-(Math.min(r.min.x,o.x)-r.min.x)/(a.min.x-r.min.x),(Math.max(r.max.y,o.y)-r.max.y)/(a.max.y-r.max.y)-(Math.min(r.min.y,o.y)-r.min.y)/(a.min.y-r.min.y)).multiplyBy(n),i.panBy(s,{animate:!1}),this._draggable._newPos._add(s),this._draggable._startPos._add(s),P(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=y(this._adjustPan.bind(this,e)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(a(this._panRequest),this._panRequest=y(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,i=t._shadow,n=_t(t._icon),s=t._map.layerPointToLatLng(n);i&&P(i,n),t._latlng=s,e.latlng=s,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){a(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),ui=s.extend({options:{icon:new di,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){l(this,t),this._latlng=b(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=b(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var e;return this._icon&&this._map&&(e=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(e)),this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=e.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,e.title&&(i.title=e.title),"IMG"===i.tagName)&&(i.alt=e.alt||""),T(i,t),e.keyboard&&(i.tabIndex="0",i.setAttribute("role","button")),this._icon=i,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&k(i,"focus",this._panOnFocus,this);var s=!1;(i=e.icon.createShadow(this._shadow))!==this._shadow&&(this._removeShadow(),s=!0),i&&(T(i,t),i.alt=""),this._shadow=i,e.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&s&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&I(this._icon,"focus",this._panOnFocus,this),S(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&S(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&P(this._icon,e),this._shadow&&P(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){e=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round(),this._setPos(e)},_initInteraction:function(){var e;this.options.interactive&&(T(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),hi)&&(e=this.options.draggable,this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new hi(this),e)&&this.dragging.enable()},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&M(this._icon,e),this._shadow&&M(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e,t,i=this._map;i&&(e=(t=this.options.icon.options).iconSize?f(t.iconSize):f(0,0),t=t.iconAnchor?f(t.iconAnchor):f(0,0),i.panInside(this._latlng,{paddingTopLeft:t,paddingBottomRight:e.subtract(t)}))},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),pi=s.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return l(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke)&&e&&Object.prototype.hasOwnProperty.call(e,"weight")&&this._updateBounds(),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),mi=pi.extend({options:{fill:!0,radius:10},initialize:function(e,t){l(this,t),this._latlng=b(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=b(e),this.redraw(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return pi.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,i=this._clickTolerance();this._pxBounds=new g(this._point.subtract(e=[e+i,t+i]),this._point.add(e))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),fi=mi.extend({initialize:function(e,t,i){if(l(this,t="number"==typeof t?c({},i,{radius:t}):t),this._latlng=b(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new o(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:pi.prototype.setStyle,_project:function(){var e,t,i,n,s,o=this._latlng.lng,a=this._latlng.lat,r=this._map,l=r.options.crs;l.distance===oe.distance?(n=Math.PI/180,s=this._mRadius/oe.R/n,e=r.project([a+s,o]),t=r.project([a-s,o]),t=e.add(t).divideBy(2),i=r.unproject(t).lat,n=Math.acos((Math.cos(s*n)-Math.sin(a*n)*Math.sin(i*n))/(Math.cos(a*n)*Math.cos(i*n)))/n,!isNaN(n)&&0!==n||(n=s/Math.cos(Math.PI/180*a)),this._point=t.subtract(r.getPixelOrigin()),this._radius=isNaN(n)?0:t.x-r.project([i,o-n]).x,this._radiusY=t.y-e.y):(s=l.unproject(l.project(this._latlng).subtract([this._mRadius,0])),this._point=r.latLngToLayerPoint(this._latlng),this._radius=this._point.x-r.latLngToLayerPoint(s).x),this._updateBounds()}}),gi=pi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){l(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t=1/0,i=null,n=ni,s=0,o=this._parts.length;s<o;s++)for(var a=this._parts[s],r=1,l=a.length;r<l;r++){var c,d,h=n(e,c=a[r-1],d=a[r],!0);h<t&&(t=h,i=n(e,c,d))}return i&&(i.distance=Math.sqrt(t)),i},getCenter:function(){if(this._map)return oi(this._defaultShape(),this._map.options.crs);throw new Error("Must add layer to map before using getCenter()")},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=b(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new o,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return D(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],i=D(e),n=0,s=e.length;n<s;n++)i?(t[n]=b(e[n]),this._bounds.extend(t[n])):t[n]=this._convertLatLngs(e[n]);return t},_project:function(){var e=new g;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=new m(e=this._clickTolerance(),e);this._rawPxBounds&&(this._pxBounds=new g([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(e,t,i){var n,s,o=e[0]instanceof _,a=e.length;if(o){for(s=[],n=0;n<a;n++)s[n]=this._map.latLngToLayerPoint(e[n]),i.extend(s[n]);t.push(s)}else for(n=0;n<a;n++)this._projectLatlngs(e[n],t,i)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var t,i,n,s,o=this._parts,a=0,r=0,l=this._rings.length;a<l;a++)for(t=0,i=(s=this._rings[a]).length;t<i-1;t++)(n=ei(s[t],s[t+1],e,t,!0))&&(o[r]=o[r]||[],o[r].push(n[0]),n[1]===s[t+1]&&t!==i-2||(o[r].push(n[1]),r++))},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,i=0,n=e.length;i<n;i++)e[i]=Jt(e[i],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var i,n,s,o,a,r,l=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(e))for(i=0,o=this._parts.length;i<o;i++)for(n=0,s=(a=(r=this._parts[i]).length)-1;n<a;s=n++)if((t||0!==n)&&Qt(e,r[s],r[n])<=l)return!0;return!1}}),vi=(gi._flat=si,gi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(this._map)return $t(this._defaultShape(),this._map.options.crs);throw new Error("Must add layer to map before using getCenter()")},_convertLatLngs:function(e){var t=(e=gi.prototype._convertLatLngs.call(this,e)).length;return 2<=t&&e[0]instanceof _&&e[0].equals(e[t-1])&&e.pop(),e},_setLatLngs:function(e){gi.prototype._setLatLngs.call(this,e),D(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(D(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var e=this._renderer._bounds,t=new m(t=this.options.weight,t),e=new g(e.min.subtract(t),e.max.add(t));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,s=this._rings.length;n<s;n++)(i=Xt(this._rings[n],e,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,i,n,s,o,a,r,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(s=0,r=this._parts.length;s<r;s++)for(o=0,a=(l=(t=this._parts[s]).length)-1;o<l;a=o++)i=t[o],n=t[a],i.y>e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||gi.prototype._containsPoint.call(this,e,!0)}})),_i=li.extend({initialize:function(e,t){l(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,i,n,s=d(e)?e:e.features;if(s){for(t=0,i=s.length;t<i;t++)((n=s[t]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var o,a=this.options;return a.filter&&!a.filter(e)||!(o=yi(e,a))?this:(o.feature=Li(e),o.defaultOptions=o.options,this.resetStyle(o),a.onEachFeature&&a.onEachFeature(e,o),this.addLayer(o))},resetStyle:function(e){return void 0===e?this.eachLayer(this.resetStyle,this):(e.options=c({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(e,t){e.setStyle&&("function"==typeof t&&(t=t(e.feature)),e.setStyle(t))}});function yi(e,t){var i,n,s,o,a="Feature"===e.type?e.geometry:e,r=a?a.coordinates:null,l=[],c=t&&t.pointToLayer,d=t&&t.coordsToLatLng||wi;if(!r&&!a)return null;switch(a.type){case"Point":return bi(c,e,i=d(r),t);case"MultiPoint":for(s=0,o=r.length;s<o;s++)i=d(r[s]),l.push(bi(c,e,i,t));return new li(l);case"LineString":case"MultiLineString":return n=xi(r,"LineString"===a.type?0:1,d),new gi(n,t);case"Polygon":case"MultiPolygon":return n=xi(r,"Polygon"===a.type?1:2,d),new vi(n,t);case"GeometryCollection":for(s=0,o=a.geometries.length;s<o;s++){var h=yi({geometry:a.geometries[s],type:"Feature",properties:e.properties},t);h&&l.push(h)}return new li(l);case"FeatureCollection":for(s=0,o=a.features.length;s<o;s++){var u=yi(a.features[s],t);u&&l.push(u)}return new li(l);default:throw new Error("Invalid GeoJSON object.")}}function bi(e,t,i,n){return e?e(t,i):new ui(i,n&&n.markersInheritOptions&&n)}function wi(e){return new _(e[1],e[0],e[2])}function xi(e,t,i){for(var n,s=[],o=0,a=e.length;o<a;o++)n=t?xi(e[o],t-1,i):(i||wi)(e[o]),s.push(n);return s}function Ei(e,t){return void 0!==(e=b(e)).alt?[i(e.lng,t),i(e.lat,t),i(e.alt,t)]:[i(e.lng,t),i(e.lat,t)]}function Si(e,t,i,n){for(var s=[],o=0,a=e.length;o<a;o++)s.push(t?Si(e[o],D(e[o])?0:t-1,i,n):Ei(e[o],n));return!t&&i&&0<s.length&&s.push(s[0].slice()),s}function Ti(e,t){return e.feature?c({},e.feature,{geometry:t}):Li(t)}function Li(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}function Ci(e,t){return new _i(e,t)}ui.include(Se={toGeoJSON:function(e){return Ti(this,{type:"Point",coordinates:Ei(this.getLatLng(),e)})}}),fi.include(Se),mi.include(Se),gi.include({toGeoJSON:function(e){var t=!D(this._latlngs);return Ti(this,{type:(t?"Multi":"")+"LineString",coordinates:Si(this._latlngs,t?1:0,!1,e)})}}),vi.include({toGeoJSON:function(e){var t=!D(this._latlngs),i=t&&!D(this._latlngs[0]),e=Si(this._latlngs,i?2:t?1:0,!0,e);return Ti(this,{type:(i?"Multi":"")+"Polygon",coordinates:e=t?e:[e]})}}),ri.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(e){i.push(e.toGeoJSON(t).geometry.coordinates)}),Ti(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i,n,e=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===e?this.toMultiPoint(t):(i="GeometryCollection"===e,n=[],this.eachLayer(function(e){e.toGeoJSON&&(e=e.toGeoJSON(t),i?n.push(e.geometry):"FeatureCollection"===(e=Li(e)).type?n.push.apply(n,e.features):n.push(e))}),i?Ti(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}});var Te=Ci,Mi=s.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,i){this._url=e,this._bounds=v(t),l(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(T(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){S(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&ht(this._image),this},bringToBack:function(){return this._map&&ut(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=v(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:E("img");T(t,"leaflet-image-layer"),this._zoomAnimated&&T(t,"leaflet-zoom-animated"),this.options.className&&T(t,this.options.className),t.onselectstart=p,t.onmousemove=p,t.onload=r(this.fire,this,"load"),t.onerror=r(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;vt(this._image,e,t)},_reset:function(){var e=this._image,t=new g(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=t.getSize();P(e,t.min),e.style.width=i.x+"px",e.style.height=i.y+"px"},_updateOpacity:function(){M(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 e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Pi=Mi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:E("video");if(T(t,"leaflet-image-layer"),this._zoomAnimated&&T(t,"leaflet-zoom-animated"),this.options.className&&T(t,this.options.className),t.onselectstart=p,t.onmousemove=p,t.onloadeddata=r(this.fire,this,"load"),e){for(var i=t.getElementsByTagName("source"),n=[],s=0;s<i.length;s++)n.push(i[s].src);this._url=0<i.length?n:[t.src]}else{d(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var a=E("source");a.src=this._url[o],t.appendChild(a)}}}}),ki=Mi.extend({_initImage:function(){var e=this._image=this._url;T(e,"leaflet-image-layer"),this._zoomAnimated&&T(e,"leaflet-zoom-animated"),this.options.className&&T(e,this.options.className),e.onselectstart=p,e.onmousemove=p}}),Ai=s.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(e,t){e&&(e instanceof _||d(e))?(this._latlng=b(e),l(this,t)):(l(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return(e=arguments.length?e:this._source._map).hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&M(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&M(this._container,1),this.bringToFront(),this.options.interactive&&(T(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(M(this._container,0),this._removeTimeout=setTimeout(r(S,void 0,this._container),200)):S(this._container),this.options.interactive&&(C(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=b(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ht(this._container),this},bringToBack:function(){return this._map&&ut(this._container),this},_prepareOpen:function(e){if(!(i=this._source)._map)return!1;if(i instanceof li){var t,i=null,n=this._source._layers;for(t in n)if(n[t]._map){i=n[t];break}if(!i)return!1;this._source=i}if(!e)if(i.getCenter)e=i.getCenter();else if(i.getLatLng)e=i.getLatLng();else{if(!i.getBounds)throw new Error("Unable to get source layer LatLng.");e=i.getBounds().getCenter()}return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){var e,t,i;this._map&&(t=this._map.latLngToLayerPoint(this._latlng),e=f(this.options.offset),i=this._getAnchor(),this._zoomAnimated?P(this._container,t.add(i)):e=e.add(t).add(i),t=this._containerBottom=-e.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+e.x,this._container.style.bottom=t+"px",this._container.style.left=i+"px")},_getAnchor:function(){return[0,0]}}),Ii=(z.include({_initOverlay:function(e,t,i,n){var s=t;return s instanceof e||(s=new e(n).setContent(t)),i&&s.setLatLng(i),s}}),s.include({_initOverlay:function(e,t,i,n){var s=i;return s instanceof e?(l(s,n),s._source=this):(s=t&&!n?t:new e(n,this)).setContent(i),s}}),Ai.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return!(e=arguments.length?e:this._source._map).hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,Ai.prototype.openOn.call(this,e)},onAdd:function(e){Ai.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof pi||this._source.on("preclick",At))},onRemove:function(e){Ai.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof pi||this._source.off("preclick",At))},getEvents:function(){var e=Ai.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this.close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_initLayout:function(){var e="leaflet-popup",t=this._container=E("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=E("div",e+"-content-wrapper",t);this._contentNode=E("div",e+"-content",i),Ot(t),It(this._contentNode),k(t,"contextmenu",At),this._tipContainer=E("div",e+"-tip-container",t),this._tip=E("div",e+"-tip",this._tipContainer),this.options.closeButton&&((i=this._closeButton=E("a",e+"-close-button",t)).setAttribute("role","button"),i.setAttribute("aria-label","Close popup"),i.href="#close",i.innerHTML='<span aria-hidden="true">&#215;</span>',k(i,"click",function(e){O(e),this.close()},this))},_updateLayout:function(){var e=this._contentNode,t=e.style,i=(t.width="",t.whiteSpace="nowrap",e.offsetWidth),i=Math.min(i,this.options.maxWidth),i=(i=Math.max(i,this.options.minWidth),t.width=i+1+"px",t.whiteSpace="",t.height="",e.offsetHeight),n=this.options.maxHeight;(n&&n<i?(t.height=n+"px",T):C)(e,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var e=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),t=this._getAnchor();P(this._container,e.add(t))},_adjustPan:function(){var e,t,i,n,s,o,a,r;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning?this._autopanning=!1:(e=this._map,t=parseInt(ct(this._container,"marginBottom"),10)||0,t=this._container.offsetHeight+t,r=this._containerWidth,(i=new m(this._containerLeft,-t-this._containerBottom))._add(_t(this._container)),i=e.layerPointToContainerPoint(i),s=f(this.options.autoPanPadding),n=f(this.options.autoPanPaddingTopLeft||s),s=f(this.options.autoPanPaddingBottomRight||s),o=e.getSize(),a=0,i.x+r+s.x>o.x&&(a=i.x+r-o.x+s.x),i.x-a-n.x<(r=0)&&(a=i.x-n.x),i.y+t+s.y>o.y&&(r=i.y+t-o.y+s.y),i.y-r-n.y<0&&(r=i.y-n.y),(a||r)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([a,r]))))},_getAnchor:function(){return f(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),Oi=(z.mergeOptions({closePopupOnClick:!0}),z.include({openPopup:function(e,t,i){return this._initOverlay(Ii,e,t,i).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),s.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Ii,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof li||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng))&&this._popup.openOn(this._map),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t;this._popup&&this._map&&(zt(e),t=e.layer||e.target,this._popup._source!==t||t instanceof pi?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng))},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}}),Ai.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Ai.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Ai.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Ai.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=E("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+u(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,i=this._map,n=this._container,s=i.latLngToContainerPoint(i.getCenter()),i=i.layerPointToContainerPoint(e),o=this.options.direction,a=n.offsetWidth,r=n.offsetHeight,l=f(this.options.offset),c=this._getAnchor(),i="top"===o?(t=a/2,r):"bottom"===o?(t=a/2,0):(t="center"===o?a/2:"right"===o?0:"left"===o?a:i.x<s.x?(o="right",0):(o="left",a+2*(l.x+c.x)),r/2);e=e.subtract(f(t,i,!0)).add(l).add(c),C(n,"leaflet-tooltip-right"),C(n,"leaflet-tooltip-left"),C(n,"leaflet-tooltip-top"),C(n,"leaflet-tooltip-bottom"),T(n,"leaflet-tooltip-"+o),P(n,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&M(this._container,e)},_animateZoom:function(e){e=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),this._setPosition(e)},_getAnchor:function(){return f(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),zi=(z.include({openTooltip:function(e,t,i){return this._initOverlay(Oi,e,t,i).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),s.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Oi,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){var t,i;!e&&this._tooltipHandlersAdded||(t=e?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,i.click=this._openTooltip,this._map?this._addFocusListeners():i.add=this._addFocusListeners),this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),this[t](i),this._tooltipHandlersAdded=!e)},openTooltip:function(e){return this._tooltip&&(this instanceof li||(this._tooltip._source=this),this._tooltip._prepareOpen(e))&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this)),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t="function"==typeof e.getElement&&e.getElement();t&&(k(t,"focus",function(){this._tooltip._source=e,this.openTooltip()},this),k(t,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){(e="function"==typeof e.getElement&&e.getElement())&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(e){var t;this._tooltip&&this._map&&(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag?(this._openOnceFlag=!0,(t=this)._map.once("moveend",function(){t._openOnceFlag=!1,t._openTooltip(e)})):(this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)))},_moveTooltip:function(e){var t=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(e=this._map.mouseEventToContainerPoint(e.originalEvent),e=this._map.containerPointToLayerPoint(e),t=this._map.layerPointToLatLng(e)),this._tooltip.setLatLng(t)}}),ci.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var e=e&&"DIV"===e.tagName?e:document.createElement("div"),t=this.options;return t.html instanceof Element?(dt(e),e.appendChild(t.html)):e.innerHTML=!1!==t.html?t.html:"",t.bgPos&&(t=f(t.bgPos),e.style.backgroundPosition=-t.x+"px "+-t.y+"px"),this._setIconStyles(e,"icon"),e},createShadow:function(){return null}})),Bi=(ci.Default=di,s.extend({options:{tileSize:256,opacity:1,updateWhenIdle:x.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){l(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),S(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ht(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ut(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){var e;return this._map&&(this._removeAllTiles(),(e=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()),this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=j(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof m?e:new m(e,e)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,i=this.getPane().children,n=-e(-1/0,1/0),s=0,o=i.length;s<o;s++)t=i[s].style.zIndex,i[s]!==this._container&&t&&(n=e(n,+t));isFinite(n)&&(this.options.zIndex=n+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!x.ielt9){M(this._container,this.options.opacity);var e,t=+new Date,i=!1,n=!1;for(e in this._tiles){var s,o=this._tiles[e];o.current&&o.loaded&&(s=Math.min(1,(t-o.loaded)/200),M(o.el,s),s<1?i=!0:(o.active?n=!0:this._onOpaqueTile(o),o.active=!0))}n&&!this._noPrune&&this._pruneTiles(),i&&(a(this._fadeFrame),this._fadeFrame=y(this._updateOpacity,this))}},_onOpaqueTile:p,_initContainer:function(){this._container||(this._container=E("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===e?(this._levels[i].el.style.zIndex=t-Math.abs(e-i),this._onUpdateLevel(i)):(S(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[e],s=this._map;return n||((n=this._levels[e]={}).el=E("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=t,n.origin=s.project(s.unproject(s.getPixelOrigin()),e).round(),n.zoom=e,this._setZoomTransform(n,s.getCenter(),s.getZoom()),p(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:p,_onRemoveLevel:p,_onCreateLevel:p,_pruneTiles:function(){if(this._map){var e,t,i,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)(i=this._tiles[e]).retain=i.current;for(e in this._tiles)(i=this._tiles[e]).current&&!i.active&&(t=i.coords,this._retainParent(t.x,t.y,t.z,t.z-5)||this._retainChildren(t.x,t.y,t.z,t.z+2));for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)S(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,i,n){var i=i-1,s=((s=new m(+(e=Math.floor(e/2)),+(t=Math.floor(t/2)))).z=i,this._tileCoordsToKey(s));return(s=this._tiles[s])&&s.active?s.retain=!0:(s&&s.loaded&&(s.retain=!0),n<i&&this._retainParent(e,t,i,n))},_retainChildren:function(e,t,i,n){for(var s=2*e;s<2*e+2;s++)for(var o=2*t;o<2*t+2;o++){(a=new m(s,o)).z=i+1;var a=this._tileCoordsToKey(a);(a=this._tiles[a])&&a.active?a.retain=!0:(a&&a.loaded&&(a.retain=!0),i+1<n&&this._retainChildren(s,o,i+1,n))}},_resetView:function(e){e=e&&(e.pinch||e.flyTo),this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,i,n){var s=Math.round(t),s=void 0!==this.options.maxZoom&&s>this.options.maxZoom||void 0!==this.options.minZoom&&s<this.options.minZoom?void 0:this._clampZoom(s),o=this.options.updateWhenZooming&&s!==this._tileZoom;n&&!o||(this._tileZoom=s,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==s&&this._update(e),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var i in this._levels)this._setZoomTransform(this._levels[i],e,t)},_setZoomTransform:function(e,t,i){var n=this._map.getZoomScale(i,e.zoom),t=e.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(t,i)).round();x.any3d?vt(e.el,t,n):P(e.el,t)},_resetGrid:function(){var e=this._map,t=e.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,s=this._map.getPixelWorldBounds(this._tileZoom);s&&(this._globalTileRange=this._pxBoundsToTileRange(s)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],n).x/i.x),Math.ceil(e.project([0,t.wrapLng[1]],n).x/i.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],n).y/i.x),Math.ceil(e.project([t.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=(i=this._map)._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),t=i.getZoomScale(t,this._tileZoom),e=i.project(e,this._tileZoom).floor(),i=i.getSize().divideBy(2*t);return new g(e.subtract(i),e.add(i))},_update:function(e){if(n=this._map){var t=this._clampZoom(n.getZoom());if(void 0===e&&(e=n.getCenter()),void 0!==this._tileZoom){var i,n=this._getTiledPixelBounds(e),s=this._pxBoundsToTileRange(n),o=s.getCenter(),a=[],n=this.options.keepBuffer,r=new g(s.getBottomLeft().subtract([n,-n]),s.getTopRight().add([n,-n]));if(!(isFinite(s.min.x)&&isFinite(s.min.y)&&isFinite(s.max.x)&&isFinite(s.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(i in this._tiles){var l=this._tiles[i].coords;l.z===this._tileZoom&&r.contains(new m(l.x,l.y))||(this._tiles[i].current=!1)}if(1<Math.abs(t-this._tileZoom))this._setView(e,t);else{for(var c=s.min.y;c<=s.max.y;c++)for(var d=s.min.x;d<=s.max.x;d++){var h,u=new m(d,c);u.z=this._tileZoom,this._isValidTile(u)&&((h=this._tiles[this._tileCoordsToKey(u)])?h.current=!0:a.push(u))}if(a.sort(function(e,t){return e.distanceTo(o)-t.distanceTo(o)}),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));for(var p=document.createDocumentFragment(),d=0;d<a.length;d++)this._addTile(a[d],p);this._level.el.appendChild(p)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var i=this._globalTileRange;if(!t.wrapLng&&(e.x<i.min.x||e.x>i.max.x)||!t.wrapLat&&(e.y<i.min.y||e.y>i.max.y))return!1}return!this.options.bounds||(t=this._tileCoordsToBounds(e),v(this.options.bounds).overlaps(t))},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,i=this.getTileSize(),n=e.scaleBy(i),i=n.add(i);return[t.unproject(n,e.z),t.unproject(i,e.z)]},_tileCoordsToBounds:function(e){return e=new o((e=this._tileCoordsToNwSe(e))[0],e[1]),this.options.noWrap?e:this._map.wrapLatLngBounds(e)},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=new m(+(e=e.split(":"))[0],+e[1]);return t.z=+e[2],t},_removeTile:function(e){var t=this._tiles[e];t&&(S(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){T(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=p,e.onmousemove=p,x.ielt9&&this.options.opacity<1&&M(e,this.options.opacity)},_addTile:function(e,t){var i=this._getTilePos(e),n=this._tileCoordsToKey(e),s=this.createTile(this._wrapCoords(e),r(this._tileReady,this,e));this._initTile(s),this.createTile.length<2&&y(r(this._tileReady,this,e,null,s)),P(s,i),this._tiles[n]={el:s,coords:e,current:!0},t.appendChild(s),this.fire("tileloadstart",{tile:s,coords:e})},_tileReady:function(e,t,i){t&&this.fire("tileerror",{error:t,tile:i,coords:e});var n=this._tileCoordsToKey(e);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(M(i.el,0),a(this._fadeFrame),this._fadeFrame=y(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),t||(T(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:e})),this._noTilesToLoad())&&(this._loading=!1,this.fire("load"),x.ielt9||!this._map._fadeAnimated?y(this._pruneTiles,this):setTimeout(r(this._pruneTiles,this),250))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new m(this._wrapX?H(e.x,this._wrapX):e.x,this._wrapY?H(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new g(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}})),Di=Bi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=l(this,t)).detectRetina&&x.retina&&0<t.maxZoom?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var i=document.createElement("img");return k(i,"load",r(this._tileOnLoad,this,t,i)),k(i,"error",r(this._tileOnError,this,t,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(e),i},getTileUrl:function(e){var t={r:x.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(e=this._globalTileRange.max.y-e.y,this.options.tms&&(t.y=e),t["-y"]=e),G(this._url,c(t,this.options))},_tileOnLoad:function(e,t){x.ielt9?setTimeout(r(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,i){var n=this.options.errorTileUrl;n&&t.getAttribute("src")!==n&&(t.src=n),e(i,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return(this.options.zoomReverse?t-e:e)+this.options.zoomOffset},_getSubdomain:function(e){return e=Math.abs(e.x+e.y)%this.options.subdomains.length,this.options.subdomains[e]},_abortLoading:function(){var e,t,i;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&((i=this._tiles[e].el).onload=p,i.onerror=p,i.complete||(i.src=X,t=this._tiles[e].coords,S(i),delete this._tiles[e],this.fire("tileabort",{tile:i,coords:t})))},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",X),Bi.prototype._removeTile.call(this,e)},_tileReady:function(e,t,i){if(this._map&&(!i||i.getAttribute("src")!==X))return Bi.prototype._tileReady.call(this,e,t,i)}});function Ni(e,t){return new Di(e,t)}var qi=Di.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var i,n=c({},this.defaultWmsParams);for(i in t)i in this.options||(n[i]=t[i]);var e=(t=l(this,t)).detectRetina&&x.retina?2:1,s=this.getTileSize();n.width=s.x*e,n.height=s.y*e,this.wmsParams=n},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[t]=this._crs.code,Di.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),t=(i=h((i=this._crs).project(t[0]),i.project(t[1]))).min,i=i.max,t=(1.3<=this._wmsVersion&&this._crs===ai?[t.y,t.x,i.y,i.x]:[t.x,t.y,i.x,i.y]).join(",");return(i=Di.prototype.getTileUrl.call(this,e))+W(this.wmsParams,i,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+t},setParams:function(e,t){return c(this.wmsParams,e),t||this.redraw(),this}}),Ri=(Di.WMS=qi,Ni.wms=function(e,t){return new qi(e,t)},s.extend({options:{padding:.1},initialize:function(e){l(this,e),u(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),T(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var i=this._map.getZoomScale(t,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,t),n=n.multiplyBy(-i).add(s).subtract(this._map._getNewPixelOrigin(e,t));x.any3d?vt(this._container,n,i):P(this._container,n)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),i=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new g(i,i.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}})),ji=Ri.extend({options:{tolerance:0},getEvents:function(){var e=Ri.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");k(e,"mousemove",this._onMouseMove,this),k(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),k(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){a(this._redrawRequest),delete this._ctx,S(this._container),I(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){var e,t,i,n;this._map._animatingZoom&&this._bounds||(Ri.prototype._update.call(this),e=this._bounds,t=this._container,i=e.getSize(),n=x.retina?2:1,P(t,e.min),t.width=n*i.x,t.height=n*i.y,t.style.width=i.x+"px",t.style.height=i.y+"px",x.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update"))},_reset:function(){Ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),e=(this._layers[u(e)]=e)._order={layer:e,prev:this._drawLast,next:null},this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=(i=e._order).next,i=i.prev;t?t.prev=i:this._drawLast=i,i?i.next=t:this._drawFirst=t,delete e._order,delete this._layers[u(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){for(var t,i=e.options.dashArray.split(/[, ]+/),n=[],s=0;s<i.length;s++){if(t=Number(i[s]),isNaN(t))return;n.push(t)}e.options._dashArray=n}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||y(this._redraw,this))},_extendRedrawBounds:function(e){var t;e._pxBounds&&(t=(e.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new g,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t])))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e,t=this._redrawBounds;t?(e=t.getSize(),this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)):(this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore())},_draw:function(){var e,t,i=this._redrawBounds;this._ctx.save(),i&&(t=i.getSize(),this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,t.x,t.y),this._ctx.clip()),this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)e=n.layer,(!i||e._pxBounds&&e._pxBounds.intersects(i))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var i,n,s,o,a=e._parts,r=a.length,l=this._ctx;if(r){for(l.beginPath(),i=0;i<r;i++){for(n=0,s=a[i].length;n<s;n++)o=a[i][n],l[n?"lineTo":"moveTo"](o.x,o.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){var t,i,n,s;this._drawing&&!e._empty()&&(t=e._point,i=this._ctx,n=Math.max(Math.round(e._radius),1),1!=(s=(Math.max(Math.round(e._radiusY),1)||n)/n)&&(i.save(),i.scale(1,s)),i.beginPath(),i.arc(t.x,t.y/s,n,0,2*Math.PI,!1),1!=s&&i.restore(),this._fillStroke(i,e))},_fillStroke:function(e,t){var i=t.options;i.fill&&(e.globalAlpha=i.fillOpacity,e.fillStyle=i.fillColor||i.color,e.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=i.opacity,e.lineWidth=i.weight,e.strokeStyle=i.color,e.lineCap=i.lineCap,e.lineJoin=i.lineJoin,e.stroke())},_onClick:function(e){for(var t,i,n=this._map.mouseEventToLayerPoint(e),s=this._drawFirst;s;s=s.next)(t=s.layer).options.interactive&&t._containsPoint(n)&&(("click"===e.type||"preclick"===e.type)&&this._map._draggableMoved(t)||(i=t));this._fireEvent(!!i&&[i],e)},_onMouseMove:function(e){var t;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(t=this._map.mouseEventToLayerPoint(e),this._handleMouseHover(e,t))},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(C(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var i,n,s=this._drawFirst;s;s=s.next)(i=s.layer).options.interactive&&i._containsPoint(t)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(e),n)&&(T(this._container,"leaflet-interactive"),this._fireEvent([n],e,"mouseover"),this._hoveredLayer=n),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],e),this._mouseHoverThrottled=!0,setTimeout(r(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,i){this._map._fireDOMEvent(t,i||t.type,e)},_bringToFront:function(e){var t,i,n=e._order;n&&(t=n.next,i=n.prev,t)&&((t.prev=i)?i.next=t:t&&(this._drawFirst=t),n.prev=this._drawLast,(this._drawLast.next=n).next=null,this._drawLast=n,this._requestRedraw(e))},_bringToBack:function(e){var t,i,n=e._order;n&&(t=n.next,i=n.prev)&&((i.next=t)?t.prev=i:i&&(this._drawLast=i),n.prev=null,n.next=this._drawFirst,this._drawFirst.prev=n,this._drawFirst=n,this._requestRedraw(e))}});function Hi(e){return x.canvas?new ji(e):null}var Zi=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Le={_initContainer:function(){this._container=E("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ri.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Zi("shape");T(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Zi("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[u(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;S(t),e.removeInteractiveTarget(t),delete this._layers[u(e)]},_updateStyle:function(e){var t=e._stroke,i=e._fill,n=e.options,s=e._container;s.stroked=!!n.stroke,s.filled=!!n.fill,n.stroke?(t=t||(e._stroke=Zi("stroke")),s.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=d(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(s.removeChild(t),e._stroke=null),n.fill?(i=i||(e._fill=Zi("fill")),s.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(s.removeChild(i),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),i=Math.round(e._radius),n=Math.round(e._radiusY||i);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+i+","+n+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){ht(e._container)},_bringToBack:function(e){ut(e._container)}},Fi=x.vml?Zi:he,Wi=Ri.extend({_initContainer:function(){this._container=Fi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Fi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){S(this._container),I(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var e,t,i;this._map._animatingZoom&&this._bounds||(Ri.prototype._update.call(this),t=(e=this._bounds).getSize(),i=this._container,this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,i.setAttribute("width",t.x),i.setAttribute("height",t.y)),P(i,e.min),i.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update"))},_initPath:function(e){var t=e._path=Fi("path");e.options.className&&T(t,e.options.className),e.options.interactive&&T(t,"leaflet-interactive"),this._updateStyle(e),this._layers[u(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){S(e._path),e.removeInteractiveTarget(e._path),delete this._layers[u(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,e=e.options;t&&(e.stroke?(t.setAttribute("stroke",e.color),t.setAttribute("stroke-opacity",e.opacity),t.setAttribute("stroke-width",e.weight),t.setAttribute("stroke-linecap",e.lineCap),t.setAttribute("stroke-linejoin",e.lineJoin),e.dashArray?t.setAttribute("stroke-dasharray",e.dashArray):t.removeAttribute("stroke-dasharray"),e.dashOffset?t.setAttribute("stroke-dashoffset",e.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),e.fill?(t.setAttribute("fill",e.fillColor||e.color),t.setAttribute("fill-opacity",e.fillOpacity),t.setAttribute("fill-rule",e.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,ue(e._parts,t))},_updateCircle:function(e){var t=e._point,i=Math.max(Math.round(e._radius),1),n="a"+i+","+(Math.max(Math.round(e._radiusY),1)||i)+" 0 1,0 ",t=e._empty()?"M0 0":"M"+(t.x-i)+","+t.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(e,t)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){ht(e._path)},_bringToBack:function(e){ut(e._path)}});function Vi(e){return x.svg||x.vml?new Wi(e):null}x.vml&&Wi.include(Le),z.include({getRenderer:function(e){return e=(e=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(e){var t;return"overlayPane"!==e&&void 0!==e&&(void 0===(t=this._paneRenderers[e])&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t)},_createRenderer:function(e){return this.options.preferCanvas&&Hi(e)||Vi(e)}});var Gi=vi.extend({initialize:function(e,t){vi.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=v(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}}),pe=(Wi.create=Fi,Wi.pointsToPath=ue,_i.geometryToLayer=yi,_i.coordsToLatLng=wi,_i.coordsToLatLngs=xi,_i.latLngToCoords=Ei,_i.latLngsToCoords=Si,_i.getFeature=Ti,_i.asFeature=Li,z.mergeOptions({boxZoom:!0}),n.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){k(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){I(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){S(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(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),it(),yt(),this._startPoint=this._map.mouseEventToContainerPoint(e),k(document,{contextmenu:zt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=E("div","leaflet-zoom-box",this._container),T(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=(e=new g(this._point,this._startPoint)).getSize();P(this._box,e.min),this._box.style.width=t.x+"px",this._box.style.height=t.y+"px"},_finish:function(){this._moved&&(S(this._box),C(this._container,"leaflet-crosshair")),Tt(),bt(),I(document,{contextmenu:zt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){1!==e.which&&1!==e.button||(this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(r(this._resetState,this),0),e=new o(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})))},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}})),Ce=(z.addInitHook("addHandler","boxZoom",pe),z.mergeOptions({doubleClickZoom:!0}),n.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,i=t.getZoom(),n=t.options.zoomDelta,i=e.originalEvent.shiftKey?i-n:i+n;"center"===t.options.doubleClickZoom?t.setZoom(i):t.setZoomAround(e.containerPoint,i)}})),Yi=(z.addInitHook("addHandler","doubleClickZoom",Ce),z.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),n.extend({addHooks:function(){var e;this._draggable||(e=this._map,this._draggable=new Yt(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))),T(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){C(this._map._container,"leaflet-grab"),C(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e,t=this._map;t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(e=v(this._map.options.maxBounds),this._offsetLimit=h(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))):this._offsetLimit=null,t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){var t,i;this._map.options.inertia&&(t=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(i),this._times.push(t),this._prunePositions(t)),this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;1<this._positions.length&&50<e-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){var e,t;this._viscosity&&this._offsetLimit&&(e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit,e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e))},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),i=this._initialWorldOffset,n=((s=this._draggable._newPos.x)-t+i)%e+t-i,s=(s+t+i)%e-t-i,e=Math.abs(n+i)<Math.abs(s+i)?n:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=e},_onDragEnd:function(e){var t,i,n,s,o=this._map,a=o.options,r=!a.inertia||e.noInertia||this._times.length<2;o.fire("dragend",e),!r&&(this._prunePositions(+new Date),e=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,t=a.easeLinearity,r=(e=e.multiplyBy(t/r)).distanceTo([0,0]),i=Math.min(a.inertiaMaxSpeed,r),e=e.multiplyBy(i/r),n=i/(a.inertiaDeceleration*t),(s=e.multiplyBy(-n/2).round()).x||s.y)?(s=o._limitOffset(s,o.options.maxBounds),y(function(){o.panBy(s,{duration:n,easeLinearity:t,noMoveStart:!0,animate:!0})})):o.fire("moveend")}})),Me=(z.addInitHook("addHandler","dragging",Yi),z.mergeOptions({keyboard:!0,keyboardPanDelta:80}),n.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),k(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),I(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(){var e,t,i;this._focused||(i=document.body,e=document.documentElement,t=i.scrollTop||e.scrollTop,i=i.scrollLeft||e.scrollLeft,this._map._container.focus(),window.scrollTo(i,t))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){for(var t=this._panKeys={},i=this.keyCodes,n=0,s=i.left.length;n<s;n++)t[i.left[n]]=[-1*e,0];for(n=0,s=i.right.length;n<s;n++)t[i.right[n]]=[e,0];for(n=0,s=i.down.length;n<s;n++)t[i.down[n]]=[0,e];for(n=0,s=i.up.length;n<s;n++)t[i.up[n]]=[0,-1*e]},_setZoomDelta:function(e){for(var t=this._zoomKeys={},i=this.keyCodes,n=0,s=i.zoomIn.length;n<s;n++)t[i.zoomIn[n]]=e;for(n=0,s=i.zoomOut.length;n<s;n++)t[i.zoomOut[n]]=-e},_addHooks:function(){k(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){I(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t,i,n=e.keyCode,s=this._map;if(n in this._panKeys)s._panAnim&&s._panAnim._inProgress||(i=this._panKeys[n],e.shiftKey&&(i=f(i).multiplyBy(3)),s.options.maxBounds&&(i=s._limitOffset(f(i),s.options.maxBounds)),s.options.worldCopyJump?(t=s.wrapLatLng(s.unproject(s.project(s.getCenter()).add(i))),s.panTo(t)):s.panBy(i));else if(n in this._zoomKeys)s.setZoom(s.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!s._popup||!s._popup.options.closeOnEscapeKey)return;s.closePopup()}zt(e)}}})),Pe=(z.addInitHook("addHandler","keyboard",Me),z.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),n.extend({addHooks:function(){k(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){I(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=qt(e),i=this._map.options.wheelDebounceTime,t=(this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date),Math.max(i-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(r(this._performZoom,this),t),zt(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),i=this._map.options.zoomSnap||0,n=(e._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),n=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,i=i?Math.ceil(n/i)*i:n,n=e._limitZoom(t+(0<this._delta?i:-i))-t;this._delta=0,this._startTime=null,n&&("center"===e.options.scrollWheelZoom?e.setZoom(t+n):e.setZoomAround(this._lastMousePos,t+n))}})),ke=(z.addInitHook("addHandler","scrollWheelZoom",Pe),z.mergeOptions({tapHold:x.touchNative&&x.safari&&x.mobile,tapTolerance:15}),n.extend({addHooks:function(){k(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){I(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){var t;clearTimeout(this._holdTimeout),1===e.touches.length&&(t=e.touches[0],this._startPos=this._newPos=new m(t.clientX,t.clientY),this._holdTimeout=setTimeout(r(function(){this._cancel(),this._isTapValid()&&(k(document,"touchend",O),k(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))},this),600),k(document,"touchend touchcancel contextmenu",this._cancel,this),k(document,"touchmove",this._onMove,this))},_cancelClickPrevent:function e(){I(document,"touchend",O),I(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),I(document,"touchend touchcancel contextmenu",this._cancel,this),I(document,"touchmove",this._onMove,this)},_onMove:function(e){e=e.touches[0],this._newPos=new m(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){(e=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY}))._simulated=!0,t.target.dispatchEvent(e)}})),Ae=(z.addInitHook("addHandler","tapHold",ke),z.mergeOptions({touchZoom:x.touch,bounceAtZoomLimits:!0}),n.extend({addHooks:function(){T(this._map._container,"leaflet-touch-zoom"),k(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){C(this._map._container,"leaflet-touch-zoom"),I(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t,i,n=this._map;!e.touches||2!==e.touches.length||n._animatingZoom||this._zooming||(t=n.mouseEventToContainerPoint(e.touches[0]),i=n.mou
5seEventToContainerPoint(e.touches[1]),this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),"center"!==n.options.touchZoom&&(this._pinchStartLatLng=n.containerPointToLatLng(t.add(i)._divideBy(2))),this._startDist=t.distanceTo(i),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),k(document,"touchmove",this._onTouchMove,this),k(document,"touchend touchcancel",this._onTouchEnd,this),O(e))},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]),s=i.distanceTo(n)/this._startDist;if(this._zoom=t.getScaleZoom(s,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&s<1||this._zoom>t.getMaxZoom()&&1<s)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1==s)return}else{if(i=i._add(n)._divideBy(2)._subtract(this._centerPoint),1==s&&0===i.x&&0===i.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(i),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),a(this._animRequest),n=r(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0),this._animRequest=y(n,this,!0),O(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,a(this._animRequest),I(document,"touchmove",this._onTouchMove,this),I(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}})),Xi=(z.addInitHook("addHandler","touchZoom",Ae),z.BoxZoom=pe,z.DoubleClickZoom=Ce,z.Drag=Yi,z.Keyboard=Me,z.ScrollWheelZoom=Pe,z.TapHold=ke,z.TouchZoom=Ae,e.Bounds=g,e.Browser=x,e.CRS=se,e.Canvas=ji,e.Circle=fi,e.CircleMarker=mi,e.Class=te,e.Control=B,e.DivIcon=zi,e.DivOverlay=Ai,e.DomEvent=me,e.DomUtil=Lt,e.Draggable=Yt,e.Evented=ie,e.FeatureGroup=li,e.GeoJSON=_i,e.GridLayer=Bi,e.Handler=n,e.Icon=ci,e.ImageOverlay=Mi,e.LatLng=_,e.LatLngBounds=o,e.Layer=s,e.LayerGroup=ri,e.LineUtil=ve,e.Map=z,e.Marker=ui,e.Mixin=fe,e.Path=pi,e.Point=m,e.PolyUtil=ge,e.Polygon=vi,e.Polyline=gi,e.Popup=Ii,e.PosAnimation=jt,e.Projection=be,e.Rectangle=Gi,e.Renderer=Ri,e.SVG=Wi,e.SVGOverlay=ki,e.TileLayer=Di,e.Tooltip=Oi,e.Transformation=re,e.Util=ee,e.VideoOverlay=Pi,e.bind=r,e.bounds=h,e.canvas=Hi,e.circle=function(e,t,i){return new fi(e,t,i)},e.circleMarker=function(e,t){return new mi(e,t)},e.control=Ht,e.divIcon=function(e){return new zi(e)},e.extend=c,e.featureGroup=function(e,t){return new li(e,t)},e.geoJSON=Ci,e.geoJson=Te,e.gridLayer=function(e){return new Bi(e)},e.icon=function(e){return new ci(e)},e.imageOverlay=function(e,t,i){return new Mi(e,t,i)},e.latLng=b,e.latLngBounds=v,e.layerGroup=function(e,t){return new ri(e,t)},e.map=function(e,t){return new z(e,t)},e.marker=function(e,t){return new ui(e,t)},e.point=f,e.polygon=function(e,t){return new vi(e,t)},e.polyline=function(e,t){return new gi(e,t)},e.popup=function(e,t){return new Ii(e,t)},e.rectangle=function(e,t){return new Gi(e,t)},e.setOptions=l,e.stamp=u,e.svg=Vi,e.svgOverlay=function(e,t,i){return new ki(e,t,i)},e.tileLayer=Ni,e.tooltip=function(e,t){return new Oi(e,t)},e.transformation=le,e.version="1.9.4",e.videoOverlay=function(e,t,i){return new Pi(e,t,i)},window.L);e.noConflict=function(){return window.L=Xi,this},window.L=e}),document.addEventListener("DOMContentLoaded",function(){selectStyle()});const isMobile=window.matchMedia("(max-width: 767px)").matches,isTablet=window.matchMedia("(min-width: 768px) and (max-width: 1199px)").matches,isDesktop=window.matchMedia("(min-width: 1200px)").matches,btn=document.querySelector(".back-to-top"),footer=document.querySelector("footer"),playButtons=document.querySelectorAll(".btn-play"),iframes=document.querySelectorAll('iframe:not([aria-hidden="true"])'),fontSizes=["100%","150%","200%"];let currentIndex=0;const navbar=document.querySelector("header .header .navbar-menu .navbar"),headlines=document.querySelectorAll("main h1, h2, h3, h4, h5, h6, span, .btn-swiper a"),links=document.querySelectorAll("main a"),metanavlinks=document.querySelectorAll(".meta-navigation .nav-item .nav-link"),footerlinks=document.querySelectorAll("footer p, footer li a"),navlinks=document.querySelectorAll(".navbar-nav .nav-item .nav-link"),mainps=document.querySelectorAll("main p"),imageBoxItemPs=document.querySelectorAll(".image-box-item"),allSVGs=document.querySelectorAll("svg"),allImages=document.querySelectorAll("img"),allContainers=document.querySelectorAll("main .container"),styleSheet=document.styleSheets[0];if(document.addEventListener("DOMContentLoaded",function(){null==document.querySelector(".l-stage")&&document.querySelector("header").classList.add("no-stage"),
5(isTablet||isMobile?handelNavigation:handleNavigationBar)(),initializeSelectBoxes()}),adjustimageDialogueItems(),backToTop(),btn.addEventListener("click",function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}),0<iframes.length&&iframes.forEach(function(e){e.closest(".video-container").querySelector(".btn-play").classList.add("d-none")}),0<playButtons.length&&playButtons.forEach(function(n){n.addEventListener("click",function(){var e=n.closest(".video-container").querySelector("video"),t=n.closest(".video-container").querySelector("img"),i=n.closest(".video-container").querySelector("iframe");e&&togglePlayPause(e),i&&(playYouTubeVideo(i),n.classList.add("d-none")),t&&(t.classList.add("d-none"),n.classList.add("d-none"))})}),document.getElementById("map-container")&&(map=L.map("map"))&&(L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(map),map.zoomControl.enable(),map.touchZoom.enable(),map.scrollWheelZoom.enable(),map.boxZoom.enable(),map.keyboard.enable(),map.tap&&map.tap.enable(),addCompaniesToMap(map,allCompanies),beSector&&handleSectorSelection(allCompanies,setSelectedOption(beSector),"all"),document.addEventListener("DOMContentLoaded",function(){addMapListeners(allCompanies)})),document.querySelector(".event-map-container")){var mapContainer=document.querySelector(".event-map-container"),initialCoords=[49.3964,7.0232],map=L.map(mapContainer).setView(initialCoords,12);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(map),map.zoomControl.enable(),map.touchZoom.enable(),map.scrollWheelZoom.enable(),map.boxZoom.enable(),map.keyboard.enable(),map.tap&&map.tap.enable();const wLa=createCustomIcon("#012c50");var marker=L.marker(initialCoords,{icon:wLa,draggable:!0}).addTo(map),selectedCity=(marker.on("dragend",function(e){var t=marker.getLatLng();document.getElementById("venueCoords").value=t.lat+","+t.lng}),map.on("click",function(e){marker.setLatLng(e.latlng),document.getElementById("venueCoords").value=e.latlng.lat+","+e.latlng.lng}),document.getElementById("selectedCity")),venueCityInput=document.getElementById("venueCity");selectedCity&&selectedCity.addEventListener("change",function(){venueCityInput.value=this.value}),document.getElementById("refreshmap").addEventListener("click",function(){var e=document.getElementById("venueCoords").value.split(",").map(parseFloat);map.setView(e,12),marker.setLatLng(e),document.getElementById("venueCoords").value=e.join(",")})}if(document.querySelector(".meeting-map-container")){var meetingMapContainer=document.querySelector(".meeting-map-container"),meetingInitialCoords=[49.3964,7.0232],meetingMap=L.map(meetingMapContainer).setView(meetingInitialCoords,12);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(meetingMap),meetingMap.zoomControl.enable(),meetingMap.touchZoom.enable(),meetingMap.scrollWheelZoom.enable(),meetingMap.boxZoom.enable(),meetingMap.keyboard.enable(),meetingMap.tap&&meetingMap.tap.enable();const CLa=createCustomIcon("#012c50");var meetingMarker=L.marker(meetingInitialCoords,{icon:CLa,draggable:!0}).addTo(meetingMap),selectedMeetingCity=(meetingMarker.on("dragend",function(e){var t=meetingMarker.getLatLng();document.getElementById("meetingpointCoords").value=t.lat+","+t.lng}),meetingMap.on("click",function(e){meetingMarker.setLatLng(e.latlng),document.getElementById("meetingpointCoords").value=e.latlng.lat+","+e.latlng.lng}),document.getElementById("selectedMeetingpointCity")),meetingCityInput=document.getElementById("meetingpointCity");selectedMeetingCity&&selectedMeetingCity.addEventListener("change",function(){meetingCityInput.value=this.value}),document.getElementById("refresh-meetingpoint-map").addEventListener("click",function(){var e=document.getElementById("meetingpointCoords").value.split(",").map(parseFloat);
5meetingMap.setView(e,12),meetingMarker.setLatLng(e),document.getElementById("meetingpointCoords").value=e.join(",")})}function initializeCalendar(){const t=document.documentElement.lang||"de";var e=isTablet||isMobile;const i=document.querySelector(e?".current-month-tablet":".current-month"),n=document.querySelector(e?".event-cards-tablet":".current-month-events"),s=document.querySelector(".next-month"),o=document.querySelector(".next-month-events");var a=document.getElementById(e?"next-month-tablet":"next-month"),e=document.getElementById(e?"previous-month-tablet":"previous-month");let r=(new Date).getMonth();function l(e){return e[t]||e.de}const c=l({en:["January","February","March","April","May","June","July","August","September","October","November","December"],de:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],fr:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],pl:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"]}),d=l({en:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],de:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],fr:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],pl:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"]});function h(r,e){r.innerHTML="",e.forEach(e=>{var t=new Date(e.date),i=d[t.getDay()],n=document.createElement("div"),s=(n.classList.add("event-card","text-center"),String(t.getDate()).padStart(2,"0")),o=String(t.getMonth()+1).padStart(2,"0"),t=t.getFullYear(),a=document.createElement("div"),s=(a.classList.add("full-date-event","text-center"),a.textContent=s+`.${o}.`+t,document.createElement("div")),o=(s.classList.add("day-event","text-center"),s.textContent=""+i,document.createElement("div"));o.classList.add("opening-end-hour","text-center"),o.innerHTML=""+e.hour.replace("&apos;","'"),n.appendChild(a),n.appendChild(s),n.appendChild(o),r.appendChild(n),"true"===e.registration&&((t=document.createElement("div")).classList.add("registration-date"),t.innerHTML=e.registrationtext+e.registrationdate,n.appendChild(t)),"true"===e.canceled&&((i=document.createElement("span")).classList.add("mt-2","canceled"),i.textContent="Entfällt",n.appendChild(i),n.classList.add("box-border"))})}function u(){var e=c[r],t=c[(r+1)%12];i.textContent=e,s.textContent=t}function p(e){"previous"===e?r=(r-1+12)%12:"next"===e&&(r=(r+1)%12),u();e=events.filter(e=>new Date(e.date).getMonth()===r);h(n,e),h(o,events.filter(e=>new Date(e.date).getMonth()===(r+1)%12))}u();var m=events.filter(e=>new Date(e.date).getMonth()===r);h(n,m),h(o,events.filter(e=>new Date(e.date).getMonth()===(r+1)%12)),e.addEventListener("click",()=>p("previous")),a.addEventListener("click",()=>p("next"))}document.addEventListener("DOMContentLoaded",function(){let i=[].slice.call(document.querySelectorAll("img.lazy")),e=!1;function t(){!1===e&&0<i.length&&(e=!0,setTimeout(function(){i.forEach(function(e,t){e.style.top<=window.innerHeight&&0<=e.style.bottom&&"none"!==e.style.display?(e.src=e.currentSrc,i.splice(t,1),e.onload=function(){e.style.opacity=1}):e.style.opacity=0}),0===i.length&&(document.removeEventListener("scroll",t),window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)),e=!1,setTimeout(t,200)},300))}t()}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".typo3-messages"),e=(e&&e.classList.add("container"),document.querySelectorAll(".detail-event")),t=document.querySelector(".ce-breadcrumb"),i=document.querySelector(".mod-back-button"),n=document.querySelector(".left-side");0<e.length&&t&&e.forEach(e=>{t.querySelector("div").classList.remove("container"),e.insertBefore(t.cloneNode(!0),e.firstChild),t.remove()}),n&&i&&((e=i.cloneNode(!0)).querySelector("div").classList.remove("container"),n.insertBefore(e,n.firstChild),i.remove()),document.querySelectorAll(".subnavbar .nav-tabs .nav-link");document.addEventListener("click",function(e){var t=document.querySelector(".navbar-expand-md"),i=document.querySelector(".subnavbar"),n=document.querySelectorAll(".subnavbar .tab-content .tab-pane.active.show");t.contains(e.target)||i.contains(e.target)||(n.forEach(function(e){e.classList.remove("show","active")}),document.querySelectorAll(".navbar-nav .nav-link.active").forEach(function(e){e.classList.remove("active")}))});var e=document.querySelectorAll(".select-wrapper"),n=document.getElementById("events-subject");n&&n.addEventListener("input",function(e){e=e.target.value;sessionStorage.setItem("inputValue",e)}),(clear=document.getElementById("clear"))&&clear.addEventListener("click",function(e){e.preventDefault();
5e=document.getElementById("dateRange"),(startRange=document.querySelector(".startRange")).classList.remove("selected","startRange"),endRange=document.querySelector(".startRange"),startRange.classList.remove("selected","endRange"),e.value="",(elementsInRange=document.querySelectorAll(".inRange")).forEach(e=>{e.classList.remove("inRange")}),e=document.getElementById("filterEvents").value;sendAndReceiveData(e,data="&tx_mmbbpartners_listevents%5Brangedate%5D=").then(function(e){e=JSON.parse(e),document.getElementById("list-events-result").innerHTML=e.html})}),document.getElementById("list-events-result")?(document.getElementById("list-events-result").classList.remove("hide-elem"),new URLSearchParams(window.location.search).toString().includes("currentPage")||(i=document.getElementById("filterEvents"))&&(n=i.value)&&(data=sessionStorage.getItem("data-without-range"),sessionStorage.getItem("rangedate")&&(data+="&tx_mmbbpartners_listevents%5Brangedate%5D="+sessionStorage.getItem("rangedate")),data)&&sendAndReceiveData(n,data=data+"&tx_mmbbpartners_listevents%5Bword%5D="+sessionStorage.getItem("inputValue")).then(function(e){e=JSON.parse(e),document.getElementById("list-events-result").innerHTML=e.html})):sessionStorage.clear(),e.forEach(l=>{var e=document.getElementById("filterEvents");if(e){const d=e.value;if(d){const i=l.querySelector(".select-box"),h=l.querySelector(".select-options"),u=h.querySelectorAll('input[type="checkbox"]'),p=i.textContent;let n=parseInt(sessionStorage.getItem(l.id+"_selectedCount"))||0,s=JSON.parse(sessionStorage.getItem(l.id+"_selectedEventRegions"))||[],o=JSON.parse(sessionStorage.getItem(l.id+"_selectedEventTargetGroups"))||[],a=JSON.parse(sessionStorage.getItem(l.id+"_selectedTopicevent"))||[],r=JSON.parse(sessionStorage.getItem(l.id+"_selectedTypeevent"))||[];function t(t,e){h.querySelectorAll(e).forEach(e=>{t.includes(e.value)&&(e.checked=!0)})}function c(){var e;1===n?(e=Array.from(u).find(e=>e.checked))&&(i.textContent=e.parentElement.querySelector("label").textContent):1<n?i.textContent=p+" ("+n+")":i.textContent=p}t(a,'#topicevents input[type="checkbox"]'),t(s,'#eventregions input[type="checkbox"]'),t(o,'#eventtargetgroups input[type="checkbox"]'),c(),u.forEach(e=>{e.addEventListener("click",function(e){h.style.display="none"}),e.addEventListener("change",function(){this.value;var e=document.getElementById("events-subject").value,t=document.getElementById("dateRange").value,i=(a=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[topicevent][]"]:checked')).map(e=>e.value),s=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[eventregion][]"]:checked')).map(e=>e.value),o=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[eventtargetgroup][]"]:checked')).map(e=>e.value),r=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[typeevent][]"]:checked')).map(e=>e.value),this.checked?n++:n--,c(),sessionStorage.setItem(l.id+"_selectedCount",n),sessionStorage.setItem(l.id+"_selectedEventRegions",JSON.stringify(s)),sessionStorage.setItem(l.id+"_selectedEventTargetGroups",JSON.stringify(o)),sessionStorage.setItem(l.id+"_selectedTopicevent",JSON.stringify(a)),sessionStorage.setItem(l.id+"_selectedTypeevent",JSON.stringify(r)),"&tx_mmbbpartners_listevents%5Btopicevent%5D="+a.toString());i=(i=(i=(i=i+"&tx_mmbbpartners_listevents%5Beventregion%5D="+s.toString())+"&tx_mmbbpartners_listevents%5Beventtargetgroup%5D="+o.toString())+"&tx_mmbbpartners_listevents%5Btypeevent%5D="+r.toString())+"&tx_mmbbpartners_listevents%5Bword%5D="+e,sessionStorage.setItem("data-without-range",i),i=i+"&tx_mmbbpartners_listevents%5Brangedate%5D="+t,sessionStorage.setItem("filter",i),sessionStorage.setItem("dateRangeInput",t),d&&sendAndReceiveData(d,i).then(function(e){e=JSON.parse(e),document.getElementById("list-events-result").innerHTML=e.html})})}),i.addEventListener("click",function(e){e.target===i&&(h.style.display="block"===h.style.display?"none":"block")}),document.addEventListener("click",function(e){l.contains(e.target)||(h.style.display="none")})}}}),document.querySelectorAll(".newEvent .select-wrapper").forEach(t=>{const i=t.querySelector(".select-box"),n=t.querySelector(".select-options");var e=n.querySelectorAll('input[type="checkbox"]');const s=i.textContent;let o=parseInt(sessionStorage.getItem(t.id+"_selectedCount"))||0,a=JSON.parse(sessionStorage.getItem(t.id+"_selectedEventRegions"))||[],r=JSON.parse(sessionStorage.getItem(t.id+"_selectedEventTargetGroups"))||[],l=JSON.parse(sessionStorage.getItem(t.id+"_selectedTopicevent"))||[],c=JSON.parse(sessionStorage.getItem(t.id+"_selectedTypeevent"))||[];
5function d(t,e){n.querySelectorAll(e).forEach(e=>{t.includes(e.value)&&(e.checked=!0)})}function h(){0<o?i.textContent=s+" ("+o+")":i.textContent=s}d(l,'#topicevents input[type="checkbox"]'),d(a,'#eventregions input[type="checkbox"]'),d(r,'#eventtargetgroups input[type="checkbox"]'),h(),e.forEach(e=>{e.addEventListener("change",function(){this.value;l=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[topicevent][]"]:checked')).map(e=>e.value),a=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[eventregion][]"]:checked')).map(e=>e.value),r=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[eventtargetgroup][]"]:checked')).map(e=>e.value),c=Array.from(document.querySelectorAll('input[name="tx_mmbbpartners_listevents[typeevent][]"]:checked')).map(e=>e.value),this.checked?o++:o--,h()})}),i.addEventListener("click",function(e){e.target===i&&(n.style.display="block"===n.style.display?"none":"block")}),document.addEventListener("click",function(e){t.contains(e.target)||(n.style.display="none")})})}),document.addEventListener("DOMContentLoaded",function(){var i=document.getElementById("current-link"),n=document.getElementById("copyButton");i&&(i.value=window.location.href,n.addEventListener("click",function(){var e,t;event.stopPropagation(),e=i.value,(t=document.createElement("textarea")).value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),n.classList.add("done"),n.classList.remove("copy")}))}),document.addEventListener("DOMContentLoaded",function(){updateSwiperPaginationPosition();var t=window.location.href,e=document.querySelector(".btn-share-networks"),i=document.querySelector(".popover"),n=document.querySelector(".share-networks .facebook"),s=document.querySelector(".share-networks .signal"),o=document.querySelector(".share-networks .whatsapp"),a=(n&&(n.href="https://www.facebook.com/sharer/sharer.php?u="+t),s&&(s.href="https://signal.group/#6NAAAAAs2WqcL2?source="+encodeURIComponent(window.location.href)),o&&(o.href="https://wa.me/?text="+encodeURIComponent(window.location.href)),e&&e.addEventListener("click",function(e){e.stopPropagation(),i&&(i.classList.toggle("show"),i.classList.toggle("hide"))}),window.addEventListener("click",function(){i&&(i.classList.add("hide"),i.classList.remove("show"))}),document.getElementById("dateRange"));if(document.getElementById("list-events-result")?(document.getElementById("list-events-result").classList.remove("hide-elem"),(n=document.getElementById("filterEvents").value)&&(data=sessionStorage.getItem("rangedate"))&&sendAndReceiveData(n,data=data+"&tx_mmbbpartners_listevents%5Brangedate%5D="+sessionStorage.getItem("rangedate")).then(function(e){e=JSON.parse(e),document.getElementById("list-events-result").innerHTML=e.html})):sessionStorage.clear(),a){let e=null;(rangedate=sessionStorage.getItem("rangedate"))&&([t,s]=rangedate.split("bis"),e=[t,s]),flatpickr(a,{mode:"range",dateFormat:"d.m.Y",defaultDate:e,dateFormat:"d.m.Y",onClose:function(e,t,i){a.value=t;var n,s=document.getElementById("filterEvents").value;s&&(n="&tx_mmbbpartners_listevents%5Brangedate%5D="+t,sessionStorage.setItem("rangedate",t),sendAndReceiveData(s,n).then(function(e){e=JSON.parse(e),document.getElementById("list-events-result").innerHTML=e.html}))}})}document.getElementById("map-container-event")&&(o=extractCoordinates(eventCoords))&&(e=o[0],n=o[1],t=L.map("map",{zoomControl:!1}).setView([e,n],35),s=createCustomIcon("#012c50"),L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:"© OpenStreetMap contributors"}).addTo(t),L.marker([e,n],{icon:s}).addTo(t)),moveSectorSearch(),document.querySelectorAll(".ce-dialogue-container").forEach(function(e){var t=e.querySelector(".loadMore");t&&initializeItemList(e,t,".image-dialogue-item")})}),document.addEventListener("DOMContentLoaded",function(){document.getElementById("calendar")&&initializeCalendar()});var dateRangeInput=document.getElementById("dateRange"),clearIcon=document.getElementById("clearIcon");clearIcon&&clearIcon.addEventListener("click",function(){dateRangeInput.value="";var e=document.querySelector(".dayContainer"),e=(e&&e.querySelectorAll(".startRange, .inRange, .endRange,.selected").forEach(function(e){e.classList.remove("startRange","inRange","endRange","selected")}),sessionStorage.removeItem("rangedate"),document.getElementById("filterEvents").value),t=(data=sessionStorage.getItem("data-without-range"),document.getElementById("events-subject").value);
5sendAndReceiveData(e,data=t?data+"&tx_mmbbpartners_listevents%5Bword%5D="+t:data).then(function(e){e=JSON.parse(e),document.getElementById("list-events-result").innerHTML=e.html})}),document.addEventListener("DOMContentLoaded",function(){document.getElementById("showEventPrices")&&(e=document.getElementById("prices"))&&(e=e.getElementsByTagName("p"),Array.from(e).forEach(function(e){e.classList.add("price")}));var e=document.querySelector(".mod-swiper");e&&(t=e.querySelector(".swiper-wrapper :first-child"),isDesktop)&&(t&&t.querySelector(".swiper-caption").classList.contains("swiper-caption-left")?e.querySelector(".swiper-pagination").classList.add("swiper-pagination-left"):e.querySelector(".swiper-pagination").classList.remove("swiper-pagination-left"));document.querySelectorAll(".l-stage").forEach(e=>{var t=e.querySelector(".stage-description"),i=e.querySelector(".stage-headline");t&&100<t.textContent.length&&(isMobile&&(e.style.height="700px"),isTablet&&(e.style.height="750px"),isDesktop&&(e.style.height="850px"),i.style.marginTop="15px")});var t=document.querySelector(".list-news-swiper"),e=(t&&initializeSwiper(".list-news-swiper",{slidesPerView:3,spaceBetween:65,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".list-news-swiper .swiper-button-next",prevEl:".list-news-swiper .swiper-button-prev"},breakpoints:{0:{slidesPerView:1,spaceBetween:10},768:{slidesPerView:2,spaceBetween:24},1200:{slidesPerView:t.getAttribute("data-slides"),spaceBetween:65}}}),document.querySelector(".logo-wrapper")),t=(e&&new Swiper(e,{spaceBetween:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:e.parentNode.querySelector(".swiper-pagination"),clickable:!0},breakpoints:{0:{slidesPerView:1,spaceBetween:10},768:{slidesPerView:4,spaceBetween:65},1200:{slidesPerView:4,spaceBetween:85}}}),document.querySelector(".logo-cert-wrapper")),e=(t&&new Swiper(".logo-cert-wrapper",{slidesPerView:3,slidesPerGroup:3,spaceBetween:10,loop:!1,pagination:{el:".logo-cert-wrapper .swiper-pagination",clickable:!0},breakpoints:{768:{slidesPerView:4,slidesPerGroup:4,spaceBetween:45},1200:{slidesPerView:4,slidesPerGroup:4,spaceBetween:45}}}),document.querySelector(".circle-swiper")),t=(e&&initializeSwiper(".circle-wrapper",{slidesPerView:1,spaceBetween:30,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{560:{slidesPerView:2,spaceBetween:10},767:{slidesPerView:3,spaceBetween:20},1024:{slidesPerView:e.getAttribute("data-slides"),spaceBetween:20}}}),(isMobile||isTablet)&&document.querySelector(".m-grid-swiper")&&initializeSwiper(".circle-wrapper",{slidesPerView:1,spaceBetween:30,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{560:{slidesPerView:2,spaceBetween:10},767:{slidesPerView:3,spaceBetween:20}}}),document.querySelector(".slider-in-mobile"));isMobile&&t&&initializeSwiper(".slider-in-mobile",{slidesPerView:1,spaceBetween:30,pagination:{el:".swiper-pagination",clickable:!0}}),document.querySelectorAll(".collapse").forEach(e=>{e.addEventListener("shown.bs.collapse",function(e){this.parentNode.scrollIntoView({behavior:"smooth"})})}),initializeSwiper(".mod-swiper",{loop:!0,speed:700,spaceBetween:0,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},on:{slideChangeTransitionEnd:e=>{isDesktop&&(e.el.querySelector(".swiper-slide-active").querySelector(".swiper-caption").classList.contains("swiper-caption-left")?e.el.querySelector(".swiper-pagination").classList.add("swiper-pagination-left"):e.el.querySelector(".swiper-pagination").classList.remove("swiper-pagination-left"))}}}),document.querySelectorAll(".mySwiper").forEach(function(i){new Swiper(i,{loop:!0,spaceBetween:0,pagination:{el:".swiper-pagination",clickable:!0,dynamicBullets:!0,dynamicMainBullets:4},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{afterInit:function(){const t=i.getElementsByClassName("swiper-pagination")[0].offsetWidth+50;var e=i.querySelectorAll(".caption-swiper p");Array.from(e,e=>{isDesktop?e.style.maxWidth="calc(100% - "+t+"px)":e.style.maxWidth="100%"})}}})});document.querySelectorAll(".mod-container.has-bg").forEach((e,t)=>{t%2==0?e.classList.add("odd"):e.classList.add("even")});e=document.querySelector(".list-events-result");e&&initializeSwiper(".list-events-result",{slidesPerView:3,spaceBetween:65,pagination:{el:".swiper-pagination",clickable:!0,dynamicBullets:!0,dynamicMainBullets:4},navigation:{nextEl:".list-events-result .swiper-button-next",prevEl:".list-events-result .swiper-button-prev"},breakpoints:{0:{slidesPerView:1,spaceBetween:10},768:{slidesPerView:3,spaceBetween:20}
5,1200:{slidesPerView:e.getAttribute("data-slides"),spaceBetween:30}}})}),document.querySelectorAll("video").forEach(function(e){e.controls=!1,e.addEventListener("click",function(){togglePlayPause(e)})}),document.querySelectorAll('iframe:not([aria-hidden="true"])').forEach(function(e){playYouTubeVideo(e)}),window.addEventListener("scroll",function(){backToTop()}),window.addEventListener("resize",function(){updateSwiperPaginationPosition(),adjustimageDialogueItems(),backToTop(),moveSectorSearch()});const btnJumpCalendar=document.getElementById("btn-jump-calendar"),btnJumpOrganiser=(btnJumpCalendar&&btnJumpCalendar.addEventListener("click",function(){document.getElementById("calendar").scrollIntoView({behavior:"smooth"})}),document.getElementById("btn-jump-organiser")),buttons=(btnJumpOrganiser&&btnJumpOrganiser.addEventListener("click",function(){document.getElementById("organizer").scrollIntoView({behavior:"smooth"})}),document.addEventListener("click",e=>{(e.target.matches(".menu-icon")||e.target.matches(".menu-icon-item"))&&(n=document.querySelector(".navbar-toggler"),document.querySelector(".images-box-wrapper"),t=document.querySelectorAll(".tab-pane"),i=document.querySelectorAll(".nav-link"),n.classList.contains("collapsed"))&&([].forEach.call(t,e=>{e.classList.remove("active"),e.classList.remove("show")}),[].forEach.call(i,e=>{e.classList.remove("active")})),e.target.matches(".nav-link-back")&&(e.target.closest(".tab-pane").classList.remove("active"),e.target.closest(".tab-pane").classList.remove("show"),n=document.querySelectorAll(".nav-link"),[].forEach.call(n,e=>{e.classList.remove("active")}));var t=document.querySelector(".search-layer"),i=document.querySelector(".close-from"),n=document.querySelector(".js-search-icon");(e.target.matches(".close-from")||e.target.matches(".search-layer")||i.contains(e.target))&&t.classList.remove("is-visible"),(e.target.matches(".js-search-icon")||n.contains(e.target))&&(t.classList.add("is-visible"),t.querySelector(".search-box").focus())},!1),document.addEventListener("keydown",e=>{var t=document.querySelector(".search-layer");"Escape"===e.key&&t.classList.contains("is-visible")&&(t.classList.remove("is-visible"),document.querySelector(".js-search-icon").focus()),"Enter"!==e.key&&" "!==e.key||e.target!==t.querySelector(".close-from")||(t.classList.remove("is-visible"),document.querySelector(".js-search-icon").focus(),e.preventDefault())},!1),document.querySelectorAll(".nav-link-back"));function applyStyles(t){var e={"150%":()=>{headlines.forEach(e=>{e.style.fontSize=t,e.style.lineHeight="110%"}),links.forEach(e=>{"P"===e.parentElement.tagName?e.classList.contains("btn")?e.style.fontSize="1.5rem":(e.style.fontSize="",e.style.lineHeight=""):(e.style.fontSize=t,e.style.lineHeight=t)}),metanavlinks.forEach(e=>{e.style.fontSize=t}),footerlinks.forEach(e=>{e.style.fontSize=t,e.style.lineHeight=t,e.querySelectorAll("span").forEach(e=>{"P"===e.parentElement.tagName&&(e.style.fontSize="")})}),navlinks.forEach(e=>e.style.minWidth="100%"),imageBoxItemPs.forEach(e=>e.style.marginRight="0px"),mainps.forEach(e=>{e.style.fontSize=t,e.style.lineHeight=t,e.style.height=t})},"200%":()=>{headlines.forEach(e=>{e.style.fontSize=t,e.style.lineHeight="110%"}),links.forEach(e=>{"P"===e.parentElement.tagName?e.classList.contains("btn")?e.style.fontSize="2rem":(e.style.fontSize="",e.style.lineHeight=""):(e.style.fontSize=t,e.style.lineHeight="120%")}),metanavlinks.forEach(e=>{e.style.fontSize=t}),footerlinks.forEach(e=>{e.style.fontSize=t,e.querySelectorAll("span").forEach(e=>{"P"===e.parentElement.tagName&&(e.style.fontSize="")})}),mainps.forEach(e=>{e.style.fontSize=t,e.style.lineHeight="130%"}),navlinks.forEach(e=>e.style.minWidth="120%")},default:()=>{headlines.forEach(e=>e.removeAttribute("style")),footerlinks.forEach(e=>e.removeAttribute("style")),links.forEach(e=>e.removeAttribute("style")),metanavlinks.forEach(e=>e.removeAttribute("style")),navlinks.forEach(e=>e.removeAttribute("style")),imageBoxItemPs.forEach(e=>e.removeAttribute("style")),mainps.forEach(e=>
5e.removeAttribute("style")),allSVGs.forEach(e=>{e.style.transform="scale(1)"})}};(e[t]||e.default)()}function updateNavBarHeight(){let e;e=2===currentIndex?"192px":"132px",styleSheet.insertRule(`.navbar::after { height: ${e} !important; }`,styleSheet.cssRules.length)}function plusSize(){navbar.style.position="relative",currentIndex=(currentIndex+1)%fontSizes.length,console.log("Current Index:",currentIndex),document.body.classList="plus-size-"+currentIndex;var e=fontSizes[currentIndex];console.log("New Size Factor:",e),applyStyles(e),updateNavBarHeight(),document.body.style.overflowX=0===currentIndex?"hidden":"auto"}function backToTop(){window.scrollY}function initializeSwiper(e,t){var i=document.querySelector(e);if(i)return i={...{loop:!0,slidesPerView:1,spaceBetween:30,pagination:{el:i.parentNode.querySelector(".swiper-pagination"),clickable:!0}},...t},mySwiper=new Swiper(e,i)}function moveSectorSearch(){var e=document.querySelector(".map-filter"),t=document.querySelector(".content-box");isDesktop&&e&&t&&t.insertBefore(e,t.firstChild)}function initializeItemList(i,n,s){var e,o=6,a=(isDesktop&&(o=9),"hiddenStyle");i&&((e=Array.from(i.querySelectorAll(s))).forEach(function(e,t){o<=t&&e.classList.add(a)}),(e.length==o||e.length<o)&&(adjustimageDialogueItems(e),n.style.display="none"),n.addEventListener("click",function(){var e=Array.from(i.querySelectorAll("."+a)),t=Math.min(3,e.length);2!==e.length&&4!==e.length||(t=2),e.slice(0,t).forEach(function(e){e.classList.remove(a)}),adjustimageDialogueItems(Array.from(i.querySelectorAll(s))),0===i.querySelectorAll("."+a).length&&(n.style.display="none")}))}function updateSwiperPaginationPosition(){document.querySelectorAll(".container-slider .swiper-pagination").forEach(function(i){const n=i.parentElement.querySelector(".ce-image-text-slider img");if(n&&i){let t=setInterval(()=>{var e;100<n.offsetHeight&&(e=n.offsetHeight+15,i.style.top=e+"px",clearInterval(t))},10);setTimeout(()=>{clearInterval(t)},5e3)}})}function togglePlayPause(e){e.paused?(e.play(),e.nextElementSibling.style.display="none"):(e.pause(),e.nextElementSibling.style.display="block")}function playYouTubeVideo(e){var t=e.getAttribute("src"),t=new URL(t),i=new URLSearchParams(t.search);i.set("start","7"),i.set("autoplay","0"),i.set("showinfo","0"),i.set("iv_load_policy","3"),i.set("rel","0"),i.set("controls","0"),i.set("fs","0"),i.set("frameborder","0"),i.set("autohide","1"),i.delete("modestbranding"),t.search=i.toString(),e.setAttribute("src",t.toString())}function adjustimageDialogueItems(e){var t,i;e&&0<e.length&&(t=e.length,isDesktop?t%3==0||1===t?e.forEach(function(e){e.style.flex="-1 1 33.33%"}):4===t||2===t?e.forEach(function(e,t){e.style.flex=t%2==0||0===t?"-1 1 50%":"0 1 50%"}):(i=formerGroupes(t),e.forEach(function(e,t){t=t<i[0]?"-1 1 33.33%":t%2==0||t-i[0]==0?"-1 1 50%":"0 1 50%";e.style.flex=t})):isTablet?e.forEach(function(e,t){e.style.removeProperty("flex"),e.style.flex=t%2==0||0===t?"-1 1 50%":"0 1 50%"}):isMobile&&e.forEach(function(e){e.style.removeProperty("flex"),e.style.width="100%"}))}function formerGroupes(e){var t=3*Math.floor((e-1)/3),e=e%3;return 1==e?[t-3,4]:2==e?[t,2]:[t,0]}function boundsSet(e,t){e.fitBounds(t,{padding:[50,50]})}function createCustomIcon(e){return isDesktop?L.divIcon({className:"custom-div-icon",html:`<svg xmlns="http://www.w3.org/2000/svg" width="29.81" height="39.644" viewBox="0 0 29.81 39.644">
6                <path id="location-dot-solid_2_" data-name="location-dot-solid(2)" 
7                d="M13.065,38.753C9.013,33.769,0,21.69,0,14.905a14.905,14.905,0,1,1,29.81,0c0,6.785-9.083,18.864-13.065,23.848a2.345,2.345,0,0,1-3.68,0Zm1.84-18.88a4.968,4.968,0,1,0-4.968-4.968A4.973,4.973,0,0,0,14.905,19.873Z" 
8                fill="${e}"/>
9              </svg>`}):isTablet||isMobile?L.divIcon({className:"custom-div-icon",html:`<svg xmlns="http://www.w3.org/2000/svg" width="16.46" height="21.69" viewBox="0 0 29.81 39.644">
10                <path id="location-dot-solid_2_" data-name="location-dot-solid(2)" 
11                d="M13.065,38.753C9.013,33.769,0,21.69,0,14.905a14.905,14.905,0,1,1,29.81,0c0,6.785-9.083,18.864-13.065,23.848a2.345,2.345,0,0,1-3.68,0Zm1.84-18.88a4.968,4.968,0,1,0-4.968-4.968A4.973,4.973,0,0,0,14.905,19.873Z" 
12                fill="${e}"/>
13              </svg>`}):void 0}function addCompaniesToMap(o,e){const a=document.getElementById("type").value;if(o.eachLayer(function(e){e instanceof L.Marker&&o.removeLayer(e)}),e.forEach(i=>
13{if(extractCoordinates(i.coords)){var n=L.latLng(extractCoordinates(i.coords));let e=createCustomIcon(i.color),t=("shelf"==a&&(e=createCustomIcon("#0D6BAA")),"");const s=L.marker(n,{icon:e}).addTo(o).bindPopup(`<b>${i.title}</b>`);t="shelf"==a?`
14                    <div class="box-desc d-flex">
15                        <div class="left-desc">
16                            <a class="more_link" href="#" onclick="fetchCompanyByUid('${i.uid}'); return false;">
17                                <h4>${i.title}</h4>
18                            </a>
19                        </div>
20                        <div class="right-desc">
21                            <a class="" href="#" onclick="fetchCompanyByUid('${i.uid}'); return false;">
22                                <svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 29 29">
23                                    <g id="Group_3461" data-name="Group 3461" transform="translate(0 29) rotate(-90)">
24                                        <circle id="Ellipse_9" data-name="Ellipse 9" cx="14.5" cy="14.5" r="14.5" transform="translate(29) rotate(90)" fill="#0D6BAA"/>
25                                        <line id="Line_15" data-name="Line 15" x2="9.567" transform="translate(14.617 9.6) rotate(90)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1.5"/>
26                                        <line id="Line_16" data-name="Line 16" y1="3.189" x2="3.189" transform="translate(14.617 15.978) rotate(90)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1.5"/>
27                                        <line id="Line_17" data-name="Line 17" x2="3.189" y2="3.189" transform="translate(17.806 15.978) rotate(90)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1.5"/>
28                                    </g>
29                                </svg>
30                            </a>
31                        </div>
32                    </div>`:`
33            <div class="box-desc d-flex">
34            <div class="left-desc">
35                <a class="more_link" href="${n=i.link||""}" target="_blank">
36                    <h4>${i.title}</h4>
37                </a>
38            </div>
39            <div class="right-desc">
40                <a class="" href="${n}" target="_blank">
41                <svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 29 29">
42                <g id="Group_3461" data-name="Group 3461" transform="translate(0 29) rotate(-90)">
43                  <circle id="Ellipse_9" data-name="Ellipse 9" cx="14.5" cy="14.5" r="14.5" transform="translate(29) rotate(90)" fill="${i.color}"/>
44                  <line id="Line_15" data-name="Line 15" x2="9.567" transform="translate(14.617 9.6) rotate(90)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1.5"/>
45                  <line id="Line_16" data-name="Line 16" y1="3.189" x2="3.189" transform="translate(14.617 15.978) rotate(90)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1.5"/>
46                  <line id="Line_17" data-name="Line 17" x2="3.189" y2="3.189" transform="translate(17.806 15.978) rotate(90)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1.5"/>
47                </g>
48              </svg>
49                </a>
50            </div>
51        </div>`,s.bindPopup(t),s.on("click",function(){s.openPopup()}),s.bindTooltip(t,{direction:"top",offset:[0,-14]})}}),e.length){const t=new L.LatLngBounds;e.forEach(e=>{var e=extractCoordinates(e.coords);e&&(e=L.latLng(e),t.extend(e))}),0<Object.keys(t).length&&boundsSet(o,t)}}function addMapListeners(e){var t=document.getElementById("sectorSelectMultiple"),i=document.getElementById("productGroupSelectMultiple"),n=document.getElementById("citySelectMultiple");n&&n.addEventListener("change",function(){handleCitySelection(e,getSelectedCities())}),i&&i.addEventListener("change",function(){handleSectorSelection(e,getSelectedOptions(),getSelectedProductGroupOptions())}),t&&t.addEventListener("change",function(){handleSectorSelection(e,getSelectedOptions(),getSelectedProductGroupOptions())}),beSector&&updateSelectedCount(t)}
51function sendAndReceiveData(e="",s={}){return new Promise(function(t,i){var n=new XMLHttpRequest;n.open("GET",e+s,!0),n.setRequestHeader("Content-Type","application/json"),n.onload=function(){var e;200<=n.status&&n.status<400?(e=n.responseText,t(e)):i(n.status)},n.onerror=function(){i(n.status)},n.send()})}function extractCoordinates(e){var t,i;return!e||(t=e.split(","),[e,i]=e.split(","),2!==t.length)?null:[parseFloat(e),parseFloat(i)]}function updateSelectedCount(e){var t=e.querySelectorAll('input[type="checkbox"]:checked'),i=t.length,e=(sessionStorage.setItem(e.id+"_selectedCount",i),e.querySelector(".select-box")),n=e.getAttribute("data-original-text")||e.textContent,e=e.querySelector(".auswahl");0<i?1===i?(t=t[0].parentElement.querySelector('input[type="hidden"]'),e.textContent=t.value):e.textContent=`Ausgewählt (${i})`:e.textContent=n,e.style.color="#A3A3A3"}function toggleSelectOptions(e){e.stopPropagation();const t=e.currentTarget.closest(".select-wrapper"),i=t.querySelector(".select-options");t.querySelector(".select-box");if(document.querySelectorAll(".select-options").forEach(e=>{e!==i&&(e.classList.remove("open"),e.style.display="none")}),i.classList.toggle("open"),i.classList.contains("open")){const n=e=>{t.contains(e.target)||(i.classList.remove("open"),document.removeEventListener("click",n),updateSelectedCount(t))};document.addEventListener("click",n)}i.querySelectorAll('input[type="checkbox"]').forEach(e=>{e.addEventListener("change",()=>{i.classList.remove("open"),updateSelectedCount(t)})}),updateSelectedCount(t)}function initializeSelectBoxes(){document.querySelectorAll(".select-box").forEach(e=>{e.setAttribute("data-original-text",e.textContent),e.addEventListener("click",toggleSelectOptions)})}function updatePlaceholder(e){e=document.querySelector(`label[for="${e.id}"]`);document.getElementById("selected-eventregion").textContent=e.textContent}function toggleSelectProductGroupOptions(){var e=document.querySelector("#sectorSelectMultiple .select-options"),i=document.querySelector("#productGroupSelectMultiple .select-options"),n=(document.querySelector("#sectorSelectMultiple .select-box"),document.querySelector("#productGroupSelectMultiple .select-box"));"none"===i.style.display||""===i.style.display?(i.style.display="block",e.style.display="none",document.addEventListener("click",function e(t){n.contains(t.target)||i.contains(t.target)||(i.style.display="none",document.removeEventListener("click",e))})):i.style.display="none",adjustLayoutForShelfFiltre()}function updateSelectBoxText(e,t){e=e.querySelector(".auswahl");e&&(0<(t=getSelectedOptions(t)).length?e.innerHTML=" Ausgewählt("+t.length+")":e.innerHTML="Auswahl")}function setSelectedOption(e){var t=[],i=(document.querySelectorAll('[data-foo="value"]'),document.querySelector(`#sectorSelectMultiple input[value="${e}"]`));return i.checked=!0,i.parentNode.style.backgroundColor="#a3c95c",t.push(e),t}function getSelectedOptions(){var t=[];return document.querySelectorAll("#sectorSelectMultiple .sector-checkbox").forEach(function(e){e.checked?(t.push(e.value),e.parentNode.style.backgroundColor="#a3c95c"):e.parentNode.style.backgroundColor=""}),t}function getSelectedProductGroupOptions(){var t=[];document.querySelector("#productGroupSelectMultiple .select-box .auswahl");return document.querySelectorAll("#productGroupSelectMultiple .product-group-checkbox").forEach(function(e){e.checked?(t.push(e.value),e.parentNode.style.backgroundColor="#a3c95c"):e.parentNode.style.backgroundColor=""}),t}function handleCitySelection(e,t){filteredCompanies=e.filter(e=>0===t.length||t.includes(e.city)),addCompaniesToMap(map,filteredCompanies),fetchCompanyByCityData(t)}function fetchCompanyByUid(e){var t=document.getElementById("sectorCompanies").value,i=document.getElementById("type").value;e&&(i="&tx_mmbbpartners_companymap%5BcompanyType%5D="+i,sendAndReceiveData(t,i+="&tx_mmbbpartners_companymap%5Buid%5D="+e).then(function(e){(e=JSON.parse(e)).result&&(document.getElementById("company-info-container").innerHTML=e.html,document.getElementById("initial-Sectors").style.display="none")}).catch(function(e){console.error("Error fetching company data:",e)}))}function fetchCompanyBySectorData(t,i,n,s){if(document.getElementById("company-info-container").innerHTML="",0!==t.length||i&&0<i.length&&"all"!==i){let e="&tx_mmbbpartners_companymap%5BcompanyType%5D="+s;0<t.length&&"all"!==t[0]&&(e+="&tx_mmbbpartners_companymap%5Bsector%5D="+t.join(",")),i&&"all"!==i&&0<i.length&&(e+="&tx_mmbbpartners_companymap%5Bgroup%5D="+i.join(",")),sendAndReceiveData(n,e).then(function(t){try{(t=JSON.parse(t)).html&&(document.getElementById("company-info-container").innerHTML=t.html,document.getElementById("company-info-container").style.display="block"),adjustLayoutForShelfFiltre(),t.result?document.getElementById("initial-Sectors").style.display="none":(document.getElementById("map-filter-title").style.display="block",document.getElementById("initial-Sectors").style.display="block")}catch(e){console.error("Error parsing JSON: ",e),console.error("Response that caused the error: ",t)}})}else document.getElementById("company-info-container").innerHTML="",document.getElementById("map-filter-title").style.display="block",document.getElementById("initial-Sectors").style.display="block"}function handleSectorSelection(e,i,n){var e=e.filter(e=>{const t=e.sector.map(e=>e.uid);e=e.productGroup.map(e=>e.uid);return 0===i.length&&0===n.length||(0===i.length?e.some(e=>n.includes(e)):0===n.length||"all"===n?t.some(e=>i.includes(e)):i.some(e=>t.includes(e))&&e.some(e=>n.includes(e)))}),e=(addCompaniesToMap(map,e),document.getElementById("sectorCompanies").value),t=document.getElementById("type").value;fetchCompanyBySectorData(i,n,e,t)}function adjustLayoutForShelfFiltre(){var e=document.querySelectorAll(".company-info-container .company-box"),n=(1<e.length?document.querySelectorAll(".company-info-container").forEach(function(e){e.classList.add("multiple-companies")}):document.querySelectorAll(".company-info-container").forEach(function(e){e.classList.add("multiple-companies")}
51),"hiddenStyle"),t=document.getElementById("loadMoreShelf");6<e.length?(e.forEach(function(e,t){6<=t&&e.classList.add(n)}),t.classList.remove("d-none"),t.classList.add("d-flex"),t.addEventListener("click",function(){var e=document.querySelectorAll(".company-info-container .company-box."+n),i=Math.min(3,e.length);e.forEach(function(e,t){t<i&&e.classList.remove(n)}),0===document.querySelectorAll(".company-info-container .company-box."+n).length&&(t.classList.add("d-none"),t.classList.remove("d-flex"))})):t.classList.add("d-none")}function observeContentModification(e){return new Promise(function(t){new MutationObserver(function(e){e.forEach(function(e){"childList"===e.type&&t()})}).observe(e,{childList:!0})})}function fetchCompanyByCityData(i){const n=document.getElementById("sectorCompanies").value,s=document.getElementById("type").value;if(0!=i.length)if(1===i.length){var t=i[0];let e="&tx_mmbbpartners_companymap%5BcompanyType%5D="+s;"all"!==t&&(e+="&tx_mmbbpartners_companymap%5Bcity%5D="+t),sendAndReceiveData(n,e).then(function(e){e=JSON.parse(e),document.querySelector(".company-info-container").innerHTML="",document.getElementById("company-info-container").innerHTML=e.html,e.result?document.getElementById("initial-Sectors").style.display="none":(document.getElementById("map-filter-title").style.display="block",document.getElementById("initial-Sectors").style.display="block"),adjustLayoutForShelfFiltre()})}else{const o={};i.forEach(t=>{let e="&tx_mmbbpartners_companymap%5BcompanyType%5D="+s;"all"!==t&&(e+="&tx_mmbbpartners_companymap%5Bcity%5D="+t),sendAndReceiveData(n,e).then(function(e){e=JSON.parse(e),o[t]=e;{let t="";i.forEach(e=>{o[e]&&(t+=o[e].html)}),document.getElementById("company-info-container").innerHTML=t,i.some(e=>o[e]&&o[e].result)?document.getElementById("initial-Sectors").style.display="none":(document.getElementById("map-filter-title").style.display="block",document.getElementById("initial-Sectors").style.display="block"),adjustLayoutForShelfFiltre()}})})}else document.getElementById("map-filter-title").style.display="block",document.getElementById("initial-Sectors").style.display="block",document.getElementById("company-info-container").innerHTML="",adjustLayoutForShelfFiltre()}function getSelectedCities(){var t=[],e=document.querySelectorAll("#citySelectMultiple .city-checkbox");document.querySelector("#citySelectMultiple .select-box .auswahl");return e.forEach(function(e){e.checked?(t.push(e.value),e.parentNode.style.backgroundColor="#a3c95c"):e.parentNode.style.backgroundColor=""}),t}function applyStyleToExistingElements(e,t,i){var n=[];0<n.length&&toggleElementStyleTabPanOpening(n,0===i)}function toggleElementStyleTabPanOpening(e,t){e.forEach(e=>{t?(e.removeAttribute("style"),e.style.position="relative",e.style.zIndex=-1):e.removeAttribute("style")})}function handelNavigation(){var e=document.querySelectorAll(".navbar-expand-md .navbar-nav .nav-link"),t={},i=document.querySelectorAll(".subnavbar button.nav-link");e.forEach(function(e){t[e.innerText]=0,e.addEventListener("click",function(e){e.preventDefault();e=document.querySelector(".subnavbar .tab-content .tab-pane.active.show");t[this.innerText]++,t[this.innerText]%2==0&&(e.classList.remove("show"),e.classList.remove("active"),navbar.querySelector(".navbar-expand-md .navbar-nav .nav-link.active").classList.remove("active"))})}
51),i.forEach(function(n){n.addEventListener("click",function(e){var t=n.getAttribute("data-bs-target"),i=document.querySelector(t);(element=document.getElementById(t.substring(1)))&&e.preventDefault(),null!==i&&(t=n.getAttribute("data-bs-target"),i.classList.contains("show")?null!==(e=n.querySelector("a.nav-link"))&&(window.location.href=e.getAttribute("href")):currentTarget=i)})})}function handleNavigationBar(){var n=document.querySelectorAll(".navbar-expand-md .navbar-nav .nav-link");const t=document.querySelectorAll(".tab-pane button.nav-link");t.forEach(function(e){e.addEventListener("mouseenter",function(e){e.preventDefault(),t.forEach(e=>{e.classList.contains("active")&&(e.classList.remove("active"),e=e.getAttribute("data-bs-target"),e=document.querySelector(e))&&e.classList.contains("active")&&e.classList.remove("active")});e=this.getAttribute("data-bs-target"),e=document.querySelector(e);e&&(e.classList.add("active","show"),this.classList.add("active"))})}),n.forEach(function(i){i.clicks=0,i.addEventListener("click",function(e){i.clicks++,e.preventDefault();var t=this.getAttribute("data-bs-target"),t=document.querySelector(t);t&&(n.forEach(function(e){e!==i&&1===e.clicks&&(e.clicks=0)}),i.clicks%2==0?("mouse"===e.pointerType?(e=this.parentElement.querySelector("a"))&&(window.location.href=e.href):(t.classList.remove("active","show"),this.classList.remove("active")),i.clicks=0):(t.classList.add("active","show"),this.classList.add("active")))})})}buttons.forEach(e=>{e.querySelector("svg").addEventListener("click",function(){e.click()})}),document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("isCancelled"),t=document.getElementById("cancelledReasonContainer"),i=document.getElementById("cancelledReason");function n(){e.checked?(t.style.display="block",i.setAttribute("required","required")):(t.style.display="none",i.removeAttribute("required"))}e&&(e.addEventListener("change",n),n());var s=document.getElementById("registrationRequired"),o=document.getElementById("registrationUntilDateContainer"),a=document.getElementById("registrationUntilDate");function r(){s.checked?(o.style.display="block",a.setAttribute("required","required")):(o.style.display="none",a.removeAttribute("required"))}s&&(s.addEventListener("change",r),r());var l=document.getElementById("newEvent");if(l&&0<l.getElementsByTagName("form").length){const c=document.getElementById("copyright"),d=c.nextElementSibling,h=document.querySelectorAll("#event-image, #media");h.forEach(e=>{e.addEventListener("change",function(e){!function(){let t=!1;return h.forEach(e=>{e.files&&0<e.files.length&&(t=!0)}),t}()?(c.removeAttribute("required"),d.innerHTML=d.innerHTML.replace("*","")):(c.setAttribute("required","required"),d.innerHTML+="*")})})}});

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.