vendor: 4,910 bytes, lines 1-10
1var vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ca(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var ua={exports:{}};/*! 2 * jQuery JavaScript Library v3.7.1 3 * https://jquery.com/ 4 * 5 * Copyright OpenJS Foundation and other contributors 6 * Released under the MIT license 7 * https://jquery.org/license 8 * 9 * Date: 2023-08-28T13:37Z 10 */(function(i){(function(t,a){i.exports=t.document?a(t,!0):function(l){if(!l.document)throw new Error("jQuery requires a window with a document");return a(l)}})(typeof window<"u"?window:vr,function(t,a){var l=[],n=Object.getPrototypeOf,r=l.slice,u=l.flat?function(o){return l.flat.call(o)}:function(o){return l.concat.apply([],o)},f=l.push,p=l.indexOf,y={},b=y.toString,k=y.hasOwnProperty,I=k.toString,z=I.call(Object),C={},x=function(c){return typeof c=="function"&&typeof c.nodeType!="number"&&typeof c.item!="function"},h=function(c){return c!=null&&c===c.window},_=t.document,M={type:!0,src:!0,nonce:!0,noModule:!0};function S(o,c,v){v=v||_;var w,E,P=v.createElement("script");if(P.text=o,c)for(w in M)E=c[w]||c.getAttribute&&c.getAttribute(w),E&&P.setAttribute(w,E);v.head.appendChild(P).parentNode.removeChild(P)}function O(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?y[b.call(o)]||"object":typeof o}var j="3.7.1",R=/HTML$/i,m=function(o,c){return new m.fn.init(o,c)};m.fn=m.prototype={jquery:j,constructor:m,length:0,toArray:function(){return r.call(this)},get:function(o){return o==null?r.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var c=m.merge(this.constructor(),o);return c.prevObject=this,c},each:function(o){return m.each(this,o)},map:function(o){return this.pushStack(m.map(this,function(c,v){return o.call(c,v,c)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(m.grep(this,function(o,c){return(c+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(o,c){return c%2}))},eq:function(o){var c=this.length,v=+o+(o<0?c:0);return this.pushStack(v>=0&&v<c?[this[v]]:[])},end:function(){return this.prevObject||this.constructor()},push:f,sort:l.sort,splice:l.splice},m.extend=m.fn.extend=function(){var o,c,v,w,E,P,A=arguments[0]||{},$=1,H=arguments.length,Y=!1;for(typeof A=="boolean"&&(Y=A,A=arguments[$]||{},$++),typeof A!="object"&&!x(A)&&(A={}),$===H&&(A=this,$--);$<H;$++)if((o=arguments[$])!=null)for(c in o)w=o[c],!(c==="__proto__"||A===w)&&(Y&&w&&(m.isPlainObject(w)||(E=Array.isArray(w)))?(v=A[c],E&&!Array.isArray(v)?P=[]:!E&&!m.isPlainObject(v)?P={}:P=v,E=!1,A[c]=m.extend(Y,P,w)):w!==void 0&&(A[c]=w));return A},m.extend({expando:"jQuery"+(j+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isPlainObject:function(o){var c,v;return!o||b.call(o)!=="[object Object]"?!1:(c=n(o),c?(v=k.call(c,"constructor")&&c.constructor,typeof v=="function"&&I.call(v)===z):!0)},isEmptyObject:function(o){var c;for(c in o)return!1;return!0},globalEval:function(o,c,v){S(o,{nonce:c&&c.nonce},v)},each:function(o,c){var v,w=0;if(J(o))for(v=o.length;w<v&&c.call(o[w],w,o[w])!==!1;w++);else for(w in o)if(c.call(o[w],w,o[w])===!1)break;return o},text:function(o){var c,v="",w=0,E=o.nodeType;if(!E)for(;c=o[w++];)v+=m.text(c);return E===1||E===11?o.textContent:E===9?o.documentElement.textContent:E===3||E===4?o.nodeValue:v},makeArray:function(o,c){var v=c||[];return o!=null&&(J(Object(o))?m.merge(v,typeof o=="string"?[o]:o):f.call(v,o)),v},inArray:function(o,c,v){return c==null?-1:p.call(c,o,v)},isXMLDoc:function(o){var c=o&&o.namespaceURI,v=o&&(o.ownerDocument||o).documentElement;return!R.test(c||v&&v.nodeName||"HTML")},merge:function(o,c){for(var v=+c.length,w=0,E=o.length;w<v;w++)o[E++]=c[w];return o.length=E,o},grep:function(o,c,v){for(var w,E=[],P=0,A=o.length,$=!v;P<A;P++)w=!c(o[P],P),w!==$&&E.push(o[P]);return E},map:function(o,c,v){var w,E,P=0,A=[];if(J(o))for(w=o.length;P<w;P++)E=c(o[P],P,v),E!=null&&A.push(E);else for(P in o)E=c(o[P],P,v),E!=null&&A.push(E);return u(A)},guid:1,support:C}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=l[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,c){y["[object "+c+"]"]=c.toLowerCase()});function J(o){var c=!!o&&"length"in o&&o.length,v=O(o);return x(o)||h(o)?!1:v==="array"||c===0||typeof c=="number"&&c>0&&c-1 in o}function Z(o,c){return o.nodeName&&o.nodeName.toLowerCase()===c.toLowerCase()}var G=l.pop,te=l.sort,ee=l.splice,U="[\\x20\\t\\r\\n\\f]",re=new RegExp("^"+U+"+|((?:^|[^\\\\])(?:\\\\.)*)"+U+"+$","g");m.contains=function(o,c){var v=c&&c.parentNode;return o===v||!!(v&&v.nodeType===1&&(o.contains?o.contains(v):o.compareDocumentPosition&&o.compareDocumentPosition(v)&16))};
10var pe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function fe(o,c){return c?o==="\0"?"�":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}m.escapeSelector=function(o){return(o+"").replace(pe,fe)};var X=_,V=f;(function(){var o,c,v,w,E,P=V,A,$,H,Y,le,ue=m.expando,ie=0,we=0,De=es(),Ge=es(),je=es(),At=es(),_t=function(N,W){return N===W&&(E=!0),0},Pi="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",vi="(?:\\\\[\\da-fA-F]{1,6}"+U+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Fe="\\["+U+"*("+vi+")(?:"+U+"*([*^$|!~]?=)"+U+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+vi+"))|)"+U+"*\\]",ki=":("+vi+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Fe+")*)|.*)\\)|)",$e=new RegExp(U+"+","g"),yt=new RegExp("^"+U+"*,"+U+"*"),Yi=new RegExp("^"+U+"*([>+~]|"+U+")"+U+"*"),Vt=new RegExp(U+"|>"),yi=new RegExp(ki),yn=new RegExp("^"+vi+"$"),Ii={ID:new RegExp("^#("+vi+")"),CLASS:new RegExp("^\\.("+vi+")"),TAG:new RegExp("^("+vi+"|[*])"),ATTR:new RegExp("^"+Fe),PSEUDO:new RegExp("^"+ki),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+U+"*(even|odd|(([+-]|)(\\d*)n|)"+U+"*(?:([+-]|)"+U+"*(\\d+)|))"+U+"*\\)|)","i"),bool:new RegExp("^(?:"+Pi+")$","i"),needsContext:new RegExp("^"+U+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+U+"*((?:-\\d)?\\d*)"+U+"*\\)|)(?=[^-]|$)","i")},Ai=/^(?:input|select|textarea|button)$/i,Di=/^h\d$/i,ri=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_s=/[+~]/,Oi=new RegExp("\\\\[\\da-fA-F]{1,6}"+U+"?|\\\\([^\\r\\n\\f])","g"),qi=function(N,W){var K="0x"+N.slice(1)-65536;return W||(K<0?String.fromCharCode(K+65536):String.fromCharCode(K>>10|55296,K&1023|56320))},wi=function(){_i()},wn=ai(function(N){return N.disabled===!0&&Z(N,"fieldset")},{dir:"parentNode",next:"legend"});function er(){try{return A.activeElement}catch{}}try{P.apply(l=r.call(X.childNodes),X.childNodes),l[X.childNodes.length].nodeType}catch{P={apply:function(W,K){V.apply(W,r.call(K))},call:function(W){V.apply(W,r.call(arguments,1))}}}function Ye(N,W,K,se){var ce,_e,Se,Me,xe,Ze,Ae,ze=W&&W.ownerDocument,qe=W?W.nodeType:9;if(K=K||[],typeof N!="string"||!N||qe!==1&&qe!==9&&qe!==11)return K;if(!se&&(_i(W),W=W||A,H)){if(qe!==11&&(xe=ri.exec(N)))if(ce=xe[1]){if(qe===9)if(Se=W.getElementById(ce)){if(Se.id===ce)return P.call(K,Se),K}else return K;else if(ze&&(Se=ze.getElementById(ce))&&Ye.contains(W,Se)&&Se.id===ce)return P.call(K,Se),K}else{if(xe[2])return P.apply(K,W.getElementsByTagName(N)),K;if((ce=xe[3])&&W.getElementsByClassName)return P.apply(K,W.getElementsByClassName(ce)),K}if(!At[N+" "]&&(!Y||!Y.test(N))){if(Ae=N,ze=W,qe===1&&(Vt.test(N)||Yi.test(N))){for(ze=_s.test(N)&&zi(W.parentNode)||W,(ze!=W||!C.scope)&&((Me=W.getAttribute("id"))?Me=m.escapeSelector(Me):W.setAttribute("id",Me=ue)),Ze=dn(N),_e=Ze.length;_e--;)Ze[_e]=(Me?"#"+Me:":scope")+" "+ts(Ze[_e]);Ae=Ze.join(",")}try{return P.apply(K,ze.querySelectorAll(Ae)),K}catch{At(N,!0)}finally{Me===ue&&W.removeAttribute("id")}}}return Wn(N.replace(re,"$1"),W,K,se)}function es(){var N=[];function W(K,se){return N.push(K+" ")>c.cacheLength&&delete W[N.shift()],W[K+" "]=se}return W}function Nt(N){return N[ue]=!0,N}function _n(N){var W=A.createElement("fieldset");try{return!!N(W)}catch{return!1}finally{W.parentNode&&W.parentNode.removeChild(W),W=null}}function Bn(N){return function(W){return Z(W,"input")&&W.type===N}}function Hs(N){return function(W){return(Z(W,"input")||Z(W,"button"))&&W.type===N}}function Rn(N){return function(W){return"form"in W?W.parentNode&&W.disabled===!1?"label"in W?"label"in W.parentNode?W.parentNode.disabled===N:W.disabled===N:W.isDisabled===N||W.isDisabled!==!N&&wn(W)===N:W.disabled===N:"label"in W?W.disabled===N:!1}}function ln(N){return Nt(function(W){return W=+W,Nt(function(K,se){for(var ce,_e=N([],K.length,W),Se=_e.length;Se--;)K[ce=_e[Se]]&&(K[ce]=!(se[ce]=K[ce]))})})}function zi(N){return N&&typeof N.getElementsByTagName<"u"&&N}function _i(N){var W,K=N?N.ownerDocument||N:X;return K==A||K.nodeType!==9||!K.documentElement||(A=K,$=A.documentElement,H=!m.isXMLDoc(A),le=$.matches||$.webkitMatchesSelector||$.msMatchesSelector,$.msMatchesSelector&&X!=A&&(W=A.defaultView)&&W.top!==W&&W.addEventListener("unload",wi),C.getById=_n(function(se){return $.appendChild(se).id=m.expando,!A.getElementsByName||!A.getElementsByName(m.expando).length}),C.disconnectedMatch=_n(function(se){return le.call(se,"*")}),C.scope=_n(function(){return A.querySelectorAll(":scope")}),C.cssHas=_n(function(){try{return A.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),C.getById?(c.filter.ID=function(se){var ce=se.replace(Oi,qi);return function(_e){return _e.getAttribute("id")===ce}},c.find.ID=function(se,ce){if(typeof ce.getElementById<"u"&&H){var _e=ce.getElementById(se);return _e?[_e]:[]}}):(c.filter.ID=function(se){var ce=se.replace(Oi,qi);return function(_e){var Se=typeof _e.getAttributeNode<"u"&&_e.getAttributeNode("id");return Se&&Se.value===ce}},c.find.ID=function(se,ce){if(typeof ce.getElementById<"u"&&H){var _e,Se,Me,xe=ce.getElementById(se);if(xe){if(_e=xe.getAttributeNode("id"),_e&&_e.value===se)return[xe];for(Me=ce.getElementsByName(se),Se=0;xe=Me[Se++];)if(_e=xe.getAttributeNode("id"),_e&&_e.value===se)return[xe]}return[]}}),c.find.TAG=function(se,ce){return typeof ce.getElementsByTagName<"u"?ce.getElementsByTagName(se):ce.querySelectorAll(se)},c.find.CLASS=function(se,ce){if(typeof ce.getElementsByClassName<"u"&&H)return ce.getElementsByClassName(se)},Y=[],_n(function(se){var ce;$.appendChild(se).innerHTML="<a id='"+ue+"' href='' disabled='disabled'></a><select id='"+ue+"-\r\\' disabled='disabled'><option selected=''></option></select>",se.querySelectorAll("[selected]").length||Y.push("\\["+U+"*(?:value|"+Pi+")"),se.querySelectorAll("[id~="+ue+"-]").length||Y.push("~="),se.querySelectorAll("a#"+ue+"+*").length||Y.push(".#.+[+~]"),se.querySelectorAll(":checked").length||Y.push(":checked"),ce=A.createElement("input"),ce.setAttribute("type","hidden"),se.appendChild(ce).setAttribute("name","D"),$.appendChild(se).disabled=!0,se.querySelectorAll(":disabled").length!==2&&Y.push(":enabled",":disabled"),ce=A.createElement("input"),ce.setAttribute("name",""),se.appendChild(ce),se.querySelectorAll("[name='']").length||Y.push("\\["+U+"*name"+U+"*="+U+`*(?:''|"")`)}),C.cssHas||Y.push(":has"),Y=Y.length&&new RegExp(Y.join("|")),_t=function(se,ce){if(se===ce)return E=!0,0;var _e=!se.compareDocumentPosition-!ce.compareDocumentPosition;return _e||(_e=(se.ownerDocument||se)==(ce.ownerDocument||ce)?se.compareDocumentPosition(ce):1,_e&1||!C.sortDetached&&ce.compareDocumentPosition(se)===_e?se===A||se.ownerDocument==X&&Ye.contains(X,se)?-1:ce===A||ce.ownerDocument==X&&Ye.contains(X,ce)?1:w?p.call(w,se)-p.call(w,ce):0:_e&4?-1:1)}),A}
vendor: 29,882 bytes, line 10
10Ye.matches=function(N,W){return Ye(N,null,null,W)},Ye.matchesSelector=function(N,W){if(_i(N),H&&!At[W+" "]&&(!Y||!Y.test(W)))try{var K=le.call(N,W);if(K||C.disconnectedMatch||N.document&&N.document.nodeType!==11)return K}catch{At(W,!0)}return Ye(W,A,null,[N]).length>0},Ye.contains=function(N,W){return(N.ownerDocument||N)!=A&&_i(N),m.contains(N,W)},Ye.attr=function(N,W){(N.ownerDocument||N)!=A&&_i(N);var K=c.attrHandle[W.toLowerCase()],se=K&&k.call(c.attrHandle,W.toLowerCase())?K(N,W,!H):void 0;return se!==void 0?se:N.getAttribute(W)},Ye.error=function(N){throw new Error("Syntax error, unrecognized expression: "+N)},m.uniqueSort=function(N){var W,K=[],se=0,ce=0;if(E=!C.sortStable,w=!C.sortStable&&r.call(N,0),te.call(N,_t),E){for(;W=N[ce++];)W===N[ce]&&(se=K.push(ce));for(;se--;)ee.call(N,K[se],1)}return w=null,N},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(r.apply(this)))},c=m.expr={cacheLength:50,createPseudo:Nt,match:Ii,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(N){return N[1]=N[1].replace(Oi,qi),N[3]=(N[3]||N[4]||N[5]||"").replace(Oi,qi),N[2]==="~="&&(N[3]=" "+N[3]+" "),N.slice(0,4)},CHILD:function(N){return N[1]=N[1].toLowerCase(),N[1].slice(0,3)==="nth"?(N[3]||Ye.error(N[0]),N[4]=+(N[4]?N[5]+(N[6]||1):2*(N[3]==="even"||N[3]==="odd")),N[5]=+(N[7]+N[8]||N[3]==="odd")):N[3]&&Ye.error(N[0]),N},PSEUDO:function(N){var W,K=!N[6]&&N[2];return Ii.CHILD.test(N[0])?null:(N[3]?N[2]=N[4]||N[5]||"":K&&yi.test(K)&&(W=dn(K,!0))&&(W=K.indexOf(")",K.length-W)-K.length)&&(N[0]=N[0].slice(0,W),N[2]=K.slice(0,W)),N.slice(0,3))}},filter:{TAG:function(N){var W=N.replace(Oi,qi).toLowerCase();return N==="*"?function(){return!0}:function(K){return Z(K,W)}},CLASS:function(N){var W=De[N+" "];return W||(W=new RegExp("(^|"+U+")"+N+"("+U+"|$)"))&&De(N,function(K){return W.test(typeof K.className=="string"&&K.className||typeof K.getAttribute<"u"&&K.getAttribute("class")||"")})},ATTR:function(N,W,K){return function(se){var ce=Ye.attr(se,N);return ce==null?W==="!=":W?(ce+="",W==="="?ce===K:W==="!="?ce!==K:W==="^="?K&&ce.indexOf(K)===0:W==="*="?K&&ce.indexOf(K)>-1:W==="$="?K&&ce.slice(-K.length)===K:W==="~="?(" "+ce.replace($e," ")+" ").indexOf(K)>-1:W==="|="?ce===K||ce.slice(0,K.length+1)===K+"-":!1):!0}},CHILD:function(N,W,K,se,ce){var _e=N.slice(0,3)!=="nth",Se=N.slice(-4)!=="last",Me=W==="of-type";return se===1&&ce===0?function(xe){return!!xe.parentNode}:function(xe,Ze,Ae){var ze,qe,Ee,nt,Gt,Tt=_e!==Se?"nextSibling":"previousSibling",oi=xe.parentNode,Si=Me&&xe.nodeName.toLowerCase(),xn=!Ae&&!Me,Ct=!1;if(oi){if(_e){for(;Tt;){for(Ee=xe;Ee=Ee[Tt];)if(Me?Z(Ee,Si):Ee.nodeType===1)return!1;Gt=Tt=N==="only"&&!Gt&&"nextSibling"}return!0}if(Gt=[Se?oi.firstChild:oi.lastChild],Se&&xn){for(qe=oi[ue]||(oi[ue]={}),ze=qe[N]||[],nt=ze[0]===ie&&ze[1],Ct=nt&&ze[2],Ee=nt&&oi.childNodes[nt];Ee=++nt&&Ee&&Ee[Tt]||(Ct=nt=0)||Gt.pop();)if(Ee.nodeType===1&&++Ct&&Ee===xe){qe[N]=[ie,nt,Ct];break}}else if(xn&&(qe=xe[ue]||(xe[ue]={}),ze=qe[N]||[],nt=ze[0]===ie&&ze[1],Ct=nt),Ct===!1)for(;(Ee=++nt&&Ee&&Ee[Tt]||(Ct=nt=0)||Gt.pop())&&!((Me?Z(Ee,Si):Ee.nodeType===1)&&++Ct&&(xn&&(qe=Ee[ue]||(Ee[ue]={}),qe[N]=[ie,Ct]),Ee===xe)););return Ct-=ce,Ct===se||Ct%se===0&&Ct/se>=0}}},PSEUDO:function(N,W){var K,se=c.pseudos[N]||c.setFilters[N.toLowerCase()]||Ye.error("unsupported pseudo: "+N);return se[ue]?se(W):se.length>1?(K=[N,N,"",W],c.setFilters.hasOwnProperty(N.toLowerCase())?Nt(function(ce,_e){for(var Se,Me=se(ce,W),xe=Me.length;xe--;)Se=p.call(ce,Me[xe]),ce[Se]=!(_e[Se]=Me[xe])}):function(ce){return se(ce,0,K)}):se}},pseudos:{not:Nt(function(N){var W=[],K=[],se=Zn(N.replace(re,"$1"));return se[ue]?Nt(function(ce,_e,Se,Me){for(var xe,Ze=se(ce,null,Me,[]),Ae=ce.length;Ae--;)(xe=Ze[Ae])&&(ce[Ae]=!(_e[Ae]=xe))}):function(ce,_e,Se){return W[0]=ce,se(W,null,Se,K),W[0]=null,!K.pop()}}),has:Nt(function(N){return function(W){return Ye(N,W).length>0}}),contains:Nt(function(N){return N=N.replace(Oi,qi),function(W){return(W.textContent||m.text(W)).indexOf(N)>-1}}),lang:Nt(function(N){return yn.test(N||"")||Ye.error("unsupported lang: "+N),N=N.replace(Oi,qi).toLowerCase(),function(W){var K;do if(K=H?W.lang:W.getAttribute("xml:lang")||W.getAttribute("lang"))return K=K.toLowerCase(),K===N||K.indexOf(N+"-")===0;while((W=W.parentNode)&&W.nodeType===1);return!1}}),target:function(N){var W=t.location&&t.location.hash;return W&&W.slice(1)===N.id},root:function(N){return N===$},focus:function(N){return N===er()&&A.hasFocus()&&!!(N.type||N.href||~N.tabIndex)},enabled:Rn(!1),disabled:Rn(!0),checked:function(N){return Z(N,"input")&&!!N.checked||Z(N,"option")&&!!N.selected},selected:function(N){return N.parentNode&&N.parentNode.selectedIndex,N.selected===!0},empty:function(N){for(N=N.firstChild;N;N=N.nextSibling)if(N.nodeType<6)return!1;return!0},parent:function(N){return!c.pseudos.empty(N)},header:function(N){return Di.test(N.nodeName)},input:function(N){return Ai.test(N.nodeName)},button:function(N){return Z(N,"input")&&N.type==="button"||Z(N,"button")},text:function(N){var W;return Z(N,"input")&&N.type==="text"&&((W=N.getAttribute("type"))==null||W.toLowerCase()==="text")},first:ln(function(){return[0]}),last:ln(function(N,W){return[W-1]}),eq:ln(function(N,W,K){return[K<0?K+W:K]}),even:ln(function(N,W){for(var K=0;K<W;K+=2)N.push(K);return N}),odd:ln(function(N,W){for(var K=1;K<W;K+=2)N.push(K);return N}),lt:ln(function(N,W,K){var se;for(K<0?se=K+W:K>W?se=W:se=K;--se>=0;)N.push(se);return N}),gt:ln(function(N,W,K){for(var se=K<0?K+W:K;++se<W;)N.push(se);return N})}},c.pseudos.nth=c.pseudos.eq;for(o in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})c.pseudos[o]=Bn(o);for(o in{submit:!0,reset:!0})c.pseudos[o]=Hs(o);function js(){}js.prototype=c.filters=c.pseudos,c.setFilters=new js;function dn(N,W){var K,se,ce,_e,Se,Me,xe,Ze=Ge[N+" "];if(Ze)return W?0:Ze.slice(0);for(Se=N,Me=[],xe=c.preFilter;Se;){(!K||(se=yt.exec(Se)))&&(se&&(Se=Se.slice(se[0].length)||Se),Me.push(ce=[])),K=!1,(se=Yi.exec(Se))&&(K=se.shift(),ce.push({value:K,type:se[0].replace(re," ")}),Se=Se.slice(K.length));for(_e in c.filter)(se=Ii[_e].exec(Se))&&(!xe[_e]||(se=xe[_e](se)))&&(K=se.shift(),ce.push({value:K,type:_e,matches:se}),Se=Se.slice(K.length));if(!K)break}return W?Se.length:Se?Ye.error(N):Ge(N,Me).slice(0)}function ts(N){for(var W=0,K=N.length,se="";W<K;W++)se+=N[W].value;return se}function ai(N,W,K){var se=W.dir,ce=W.next,_e=ce||se,Se=K&&_e==="parentNode",Me=we++;return W.first?function(xe,Ze,Ae){for(;xe=xe[se];)if(xe.nodeType===1||Se)return N(xe,Ze,Ae);return!1}:function(xe,Ze,Ae){var ze,qe,Ee=[ie,Me];if(Ae){for(;xe=xe[se];)if((xe.nodeType===1||Se)&&N(xe,Ze,Ae))return!0}else for(;xe=xe[se];)if(xe.nodeType===1||Se)if(qe=xe[ue]||(xe[ue]={}),ce&&Z(xe,ce))xe=xe[se]||xe;else{if((ze=qe[_e])&&ze[0]===ie&&ze[1]===Me)return Ee[2]=ze[2];if(qe[_e]=Ee,Ee[2]=N(xe,Ze,Ae))return!0}return!1}}function bs(N){return N.length>1?function(W,K,se){for(var ce=N.length;ce--;)if(!N[ce](W,K,se))return!1;return!0}:N[0]}function bn(N,W,K){for(var se=0,ce=W.length;se<ce;se++)Ye(N,W[se],K);return K}function is(N,W,K,se,ce){for(var _e,Se=[],Me=0,xe=N.length,Ze=W!=null;Me<xe;Me++)(_e=N[Me])&&(!K||K(_e,se,ce))&&(Se.push(_e),Ze&&W.push(Me));return Se}function bi(N,W,K,se,ce,_e){return se&&!se[ue]&&(se=bi(se)),ce&&!ce[ue]&&(ce=bi(ce,_e)),Nt(function(Se,Me,xe,Ze){var Ae,ze,qe,Ee,nt=[],Gt=[],Tt=Me.length,oi=Se||bn(W||"*",xe.nodeType?[xe]:xe,[]),Si=N&&(Se||!W)?is(oi,nt,N,xe,Ze):oi;if(K?(Ee=ce||(Se?N:Tt||se)?[]:Me,K(Si,Ee,xe,Ze)):Ee=Si,se)for(Ae=is(Ee,Gt),se(Ae,[],xe,Ze),ze=Ae.length;ze--;)(qe=Ae[ze])&&(Ee[Gt[ze]]=!(Si[Gt[ze]]=qe));if(Se){if(ce||N){if(ce){for(Ae=[],ze=Ee.length;ze--;)(qe=Ee[ze])&&Ae.push(Si[ze]=qe);ce(null,Ee=[],Ae,Ze)}for(ze=Ee.length;ze--;)(qe=Ee[ze])&&(Ae=ce?p.call(Se,qe):nt[ze])>-1&&(Se[Ae]=!(Me[Ae]=qe))}}else Ee=is(Ee===Me?Ee.splice(Tt,Ee.length):Ee),ce?ce(null,Me,Ee,Ze):P.apply(Me,Ee)})}function Sn(N){for(var W,K,se,ce=N.length,_e=c.relative[N[0].type],Se=_e||c.relative[" "],Me=_e?1:0,xe=ai(function(ze){return ze===W},Se,!0),Ze=ai(function(ze){return p.call(W,ze)>-1},Se,!0),Ae=[function(ze,qe,Ee){var nt=!_e&&(Ee||qe!=v)||((W=qe).nodeType?xe(ze,qe,Ee):Ze(ze,qe,Ee));return W=null,nt}];Me<ce;Me++)if(K=c.relative[N[Me].type])Ae=[ai(bs(Ae),K)];else{if(K=c.filter[N[Me].type].apply(null,N[Me].matches),K[ue]){for(se=++Me;se<ce&&!c.relative[N[se].type];se++);return bi(Me>1&&bs(Ae),Me>1&&ts(N.slice(0,Me-1).concat({value:N[Me-2].type===" "?"*":""})).replace(re,"$1"),K,Me<se&&Sn(N.slice(Me,se)),se<ce&&Sn(N=N.slice(se)),se<ce&&ts(N))}Ae.push(K)}return bs(Ae)}function $s(N,W){var K=W.length>0,se=N.length>0,ce=function(_e,Se,Me,xe,Ze){var Ae,ze,qe,Ee=0,nt="0",Gt=_e&&[],Tt=[],oi=v,Si=_e||se&&c.find.TAG("*",Ze),xn=ie+=oi==null?1:Math.random()||.1,Ct=Si.length;for(Ze&&(v=Se==A||Se||Ze);nt!==Ct&&(Ae=Si[nt])!=null;nt++){if(se&&Ae){for(ze=0,!Se&&Ae.ownerDocument!=A&&(_i(Ae),Me=!H);qe=N[ze++];)if(qe(Ae,Se||A,Me)){P.call(xe,Ae);break}Ze&&(ie=xn)}K&&((Ae=!qe&&Ae)&&Ee--,_e&&Gt.push(Ae))}if(Ee+=nt,K&&nt!==Ee){for(ze=0;qe=W[ze++];)qe(Gt,Tt,Se,Me);if(_e){if(Ee>0)for(;nt--;)Gt[nt]||Tt[nt]||(Tt[nt]=G.call(xe));Tt=is(Tt)}P.apply(xe,Tt),Ze&&!_e&&Tt.length>0&&Ee+W.length>1&&m.uniqueSort(xe)}return Ze&&(ie=xn,v=oi),Gt};return K?Nt(ce):ce}function Zn(N,W){var K,se=[],ce=[],_e=je[N+" "];if(!_e){for(W||(W=dn(N)),K=W.length;K--;)_e=Sn(W[K]),_e[ue]?se.push(_e):ce.push(_e);_e=je(N,$s(ce,se)),_e.selector=N}return _e}function Wn(N,W,K,se){var ce,_e,Se,Me,xe,Ze=typeof N=="function"&&N,Ae=!se&&dn(N=Ze.selector||N);if(K=K||[],Ae.length===1){if(_e=Ae[0]=Ae[0].slice(0),_e.length>2&&(Se=_e[0]).type==="ID"&&W.nodeType===9&&H&&c.relative[_e[1].type]){if(W=(c.find.ID(Se.matches[0].replace(Oi,qi),W)||[])[0],W)Ze&&(W=W.parentNode);else return K;N=N.slice(_e.shift().value.length)}for(ce=Ii.needsContext.test(N)?0:_e.length;ce--&&(Se=_e[ce],!c.relative[Me=Se.type]);)if((xe=c.find[Me])&&(se=xe(Se.matches[0].replace(Oi,qi),_s.test(_e[0].type)&&zi(W.parentNode)||W))){if(_e.splice(ce,1),N=se.length&&ts(_e),!N)return P.apply(K,se),K;break}}return(Ze||Zn(N,Ae))(se,W,!H,K,!W||_s.test(N)&&zi(W.parentNode)||W),K}C.sortStable=ue.split("").sort(_t).join("")===ue,_i(),C.sortDetached=_n(function(N){return N.compareDocumentPosition(A.createElement("fieldset"))&1}),m.find=Ye,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,Ye.compile=Zn,Ye.select=Wn,Ye.setDocument=_i,Ye.tokenize=dn,Ye.escape=m.escapeSelector,Ye.getText=m.text,Ye.isXML=m.isXMLDoc,Ye.selectors=m.expr,Ye.support=m.support,Ye.uniqueSort=m.uniqueSort})();var he=function(o,c,v){for(var w=[],E=v!==void 0;(o=o[c])&&o.nodeType!==9;)if(o.nodeType===1){if(E&&m(o).is(v))break;w.push(o)}return w},ve=function(o,c){for(var v=[];o;o=o.nextSibling)o.nodeType===1&&o!==c&&v.push(o);return v},ke=m.expr.match.needsContext,Pe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function et(o,c,v){return x(c)?m.grep(o,function(w,E){return!!c.call(w,E,w)!==v}):c.nodeType?m.grep(o,function(w){return w===c!==v}):typeof c!="string"?m.grep(o,function(w){return p.call(c,w)>-1!==v}):m.filter(c,o,v)}m.filter=function(o,c,v){var w=c[0];return v&&(o=":not("+o+")"),c.length===1&&w.nodeType===1?m.find.matchesSelector(w,o)?[w]:[]:m.find.matches(o,m.grep(c,function(E){return E.nodeType===1}))},m.fn.extend({find:function(o){var c,v,w=this.length,E=this;if(typeof o!="string")return this.pushStack(m(o).filter(function(){for(c=0;c<w;c++)if(m.contains(E[c],this))return!0}));for(v=this.pushStack([]),c=0;c<w;c++)m.find(o,E[c],v);return w>1?m.uniqueSort(v):v},filter:function(o){return this.pushStack(et(this,o||[],!1))},not:function(o){return this.pushStack(et(this,o||[],!0))},is:function(o){return!!et(this,typeof o=="string"&&ke.test(o)?m(o):o||[],!1).length}});var Ke,de=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,oe=m.fn.init=function(o,c,v){var w,E;if(!o)return this;if(v=v||Ke,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?w=[null,o,null]:w=de.exec(o),w&&(w[1]||!c))if(w[1]){if(c=c instanceof m?c[0]:c,m.merge(this,m.parseHTML(w[1],c&&c.nodeType?c.ownerDocument||c:_,!0)),Pe.test(w[1])&&m.isPlainObject(c))for(w in c)x(this[w])?this[w](c[w]):this.attr(w,c[w]);return this}else return E=_.getElementById(w[2]),E&&(this[0]=E,this.length=1),this;else return!c||c.jquery?(c||v).find(o):this.constructor(c).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if(x(o))return v.ready!==void 0?v.ready(o):o(m)}return m.makeArray(o,this)};oe.prototype=m.fn,Ke=m(_);var ge=/^(?:parents|prev(?:Until|All))/,Ie={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(o){var c=m(o,this),v=c.length;return this.filter(function(){for(var w=0;w<v;w++)if(m.contains(this,c[w]))return!0})},closest:function(o,c){var v,w=0,E=this.length,P=[],A=typeof o!="string"&&m(o);if(!ke.test(o)){for(;w<E;w++)for(v=this[w];v&&v!==c;v=v.parentNode)if(v.nodeType<11&&(A?A.index(v)>-1:v.nodeType===1&&m.find.matchesSelector(v,o))){P.push(v);break}}return this.pushStack(P.length>1?m.uniqueSort(P):P)},index:function(o){return o?typeof o=="string"?p.call(m(o),this[0]):p.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,c){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(o,c))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function lt(o,c){for(;(o=o[c])&&o.nodeType!==1;);return o}m.each({parent:function(o){var c=o.parentNode;return c&&c.nodeType!==11?c:null},parents:function(o){return he(o,"parentNode")},parentsUntil:function(o,c,v){return he(o,"parentNode",v)},next:function(o){return lt(o,"nextSibling")},prev:function(o){return lt(o,"previousSibling")},nextAll:function(o){return he(o,"nextSibling")},prevAll:function(o){return he(o,"previousSibling")},nextUntil:function(o,c,v){return he(o,"nextSibling",v)},prevUntil:function(o,c,v){return he(o,"previousSibling",v)},siblings:function(o){return ve((o.parentNode||{}).firstChild,o)},children:function(o){return ve(o.firstChild)},contents:function(o){return o.contentDocument!=null&&n(o.contentDocument)?o.contentDocument:(Z(o,"template")&&(o=o.content||o),m.merge([],o.childNodes))}},function(o,c){m.fn[o]=function(v,w){var E=m.map(this,c,v);return o.slice(-5)!=="Until"&&(w=v),w&&typeof w=="string"&&(E=m.filter(w,E)),this.length>1&&(Ie[o]||m.uniqueSort(E),ge.test(o)&&E.reverse()),this.pushStack(E)}});var dt=/[^\x20\t\r\n\f]+/g;function It(o){var c={};return m.each(o.match(dt)||[],function(v,w){c[w]=!0}),c}m.Callbacks=function(o){o=typeof o=="string"?It(o):m.extend({},o);var c,v,w,E,P=[],A=[],$=-1,H=function(){for(E=E||o.once,w=c=!0;A.length;$=-1)for(v=A.shift();++$<P.length;)P[$].apply(v[0],v[1])===!1&&o.stopOnFalse&&($=P.length,v=!1);o.memory||(v=!1),c=!1,E&&(v?P=[]:P="")},Y={add:function(){return P&&(v&&!c&&($=P.length-1,A.push(v)),function le(ue){m.each(ue,function(ie,we){x(we)?(!o.unique||!Y.has(we))&&P.push(we):we&&we.length&&O(we)!=="string"&&le(we)})}(arguments),v&&!c&&H()),this},remove:function(){return m.each(arguments,function(le,ue){for(var ie;(ie=m.inArray(ue,P,ie))>-1;)P.splice(ie,1),ie<=$&&$--}),this},has:function(le){return le?m.inArray(le,P)>-1:P.length>0},empty:function(){return P&&(P=[]),this},disable:function(){return E=A=[],P=v="",this},disabled:function(){return!P},lock:function(){return E=A=[],!v&&!c&&(P=v=""),this},locked:function(){return!!E},fireWith:function(le,ue){return E||(ue=ue||[],ue=[le,ue.slice?ue.slice():ue],A.push(ue),c||H()),this},fire:function(){return Y.fireWith(this,arguments),this},fired:function(){return!!w}};return Y};function at(o){return o}function bt(o){throw o}function ht(o,c,v,w){var E;try{o&&x(E=o.promise)?E.call(o).done(c).fail(v):o&&x(E=o.then)?E.call(o,c,v):c.apply(void 0,[o].slice(w))}catch(P){v.apply(void 0,[P])}}m.extend({Deferred:function(o){var c=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],v="pending",w={state:function(){return v},always:function(){return E.done(arguments).fail(arguments),this},catch:function(P){return w.then(null,P)},pipe:function(){var P=arguments;return m.Deferred(function(A){m.each(c,function($,H){var Y=x(P[H[4]])&&P[H[4]];E[H[1]](function(){var le=Y&&Y.apply(this,arguments);le&&x(le.promise)?le.promise().progress(A.notify).done(A.resolve).fail(A.reject):A[H[0]+"With"](this,Y?[le]:arguments)})}),P=null}).promise()},then:function(P,A,$){var H=0;function Y(le,ue,ie,we){return function(){var De=this,Ge=arguments,je=function(){var _t,Pi;if(!(le<H)){if(_t=ie.apply(De,Ge),_t===ue.promise())throw new TypeError("Thenable self-resolution");Pi=_t&&(typeof _t=="object"||typeof _t=="function")&&_t.then,x(Pi)?we?Pi.call(_t,Y(H,ue,at,we),Y(H,ue,bt,we)):(H++,Pi.call(_t,Y(H,ue,at,we),Y(H,ue,bt,we),Y(H,ue,at,ue.notifyWith))):(ie!==at&&(De=void 0,Ge=[_t]),(we||ue.resolveWith)(De,Ge))}},At=we?je:function(){try{je()}catch(_t){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(_t,At.error),le+1>=H&&(ie!==bt&&(De=void 0,Ge=[_t]),ue.rejectWith(De,Ge))}};le?At():(m.Deferred.getErrorHook?At.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(At.error=m.Deferred.getStackHook()),t.setTimeout(At))}}return m.Deferred(function(le){c[0][3].add(Y(0,le,x($)?$:at,le.notifyWith)),c[1][3].add(Y(0,le,x(P)?P:at)),c[2][3].add(Y(0,le,x(A)?A:bt))}).promise()},promise:function(P){return P!=null?m.extend(P,w):w}},E={};return m.each(c,function(P,A){var $=A[2],H=A[5];w[A[1]]=$.add,H&&$.add(function(){v=H},c[3-P][2].disable,c[3-P][3].disable,c[0][2].lock,c[0][3].lock),$.add(A[3].fire),E[A[0]]=function(){return E[A[0]+"With"](this===E?void 0:this,arguments),this},E[A[0]+"With"]=$.fireWith}),w.promise(E),o&&o.call(E,E),E},when:function(o){var c=arguments.length,v=c,w=Array(v),E=r.call(arguments),P=m.Deferred(),A=function($){return function(H){w[$]=this,E[$]=arguments.length>1?r.call(arguments):H,--c||P.resolveWith(w,E)}};if(c<=1&&(ht(o,P.done(A(v)).resolve,P.reject,!c),P.state()==="pending"||x(E[v]&&E[v].then)))return P.then();for(;v--;)ht(E[v],A(v),P.reject);return P.promise()}});var Mt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(o,c){t.console&&t.console.warn&&o&&Mt.test(o.name)&&t.console.warn("jQuery.Deferred exception: "+o.message,o.stack,c)},m.readyException=function(o){t.setTimeout(function(){throw o})};var $t=m.Deferred();m.fn.ready=function(o){return $t.then(o).catch(function(c){m.readyException(c)}),this},m.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(o!==!0&&--m.readyWait>0)&&$t.resolveWith(_,[m]))}}),m.ready.then=$t.then;function Lt(){_.removeEventListener("DOMContentLoaded",Lt),t.removeEventListener("load",Lt),m.ready()}_.readyState==="complete"||_.readyState!=="loading"&&!_.documentElement.doScroll?t.setTimeout(m.ready):(_.addEventListener("DOMContentLoaded",Lt),t.addEventListener("load",Lt));var pt=function(o,c,v,w,E,P,A){var $=0,H=o.length,Y=v==null;if(O(v)==="object"){E=!0;for($ in v)pt(o,c,$,v[$],!0,P,A)}else if(w!==void 0&&(E=!0,x(w)||(A=!0),Y&&(A?(c.call(o,w),c=null):(Y=c,c=function(le,ue,ie){return Y.call(m(le),ie)})),c))for(;$<H;$++)c(o[$],v,A?w:w.call(o[$],$,c(o[$],v)));return E?o:Y?c.call(o):H?c(o[0],v):P},Ut=/^-ms-/,ei=/-([a-z])/g;function ti(o,c){return c.toUpperCase()}function gt(o){return o.replace(Ut,"ms-").replace(ei,ti)}var mt=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function ct(){this.expando=m.expando+ct.uid++}ct.uid=1,ct.prototype={cache:function(o){var c=o[this.expando];return c||(c={},mt(o)&&(o.nodeType?o[this.expando]=c:Object.defineProperty(o,this.expando,{value:c,configurable:!0}))),c},set:function(o,c,v){var w,E=this.cache(o);if(typeof c=="string")E[gt(c)]=v;else for(w in c)E[gt(w)]=c[w];return E},get:function(o,c){return c===void 0?this.cache(o):o[this.expando]&&o[this.expando][gt(c)]},access:function(o,c,v){return c===void 0||c&&typeof c=="string"&&v===void 0?this.get(o,c):(this.set(o,c,v),v!==void 0?v:c)},remove:function(o,c){var v,w=o[this.expando];if(w!==void 0){if(c!==void 0)for(Array.isArray(c)?c=c.map(gt):(c=gt(c),c=c in w?[c]:c.match(dt)||[]),v=c.length;v--;)delete w[c[v]];(c===void 0||m.isEmptyObject(w))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var c=o[this.expando];return c!==void 0&&!m.isEmptyObject(c)}};var Ce=new ct,be=new ct,Xt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,di=/[A-Z]/g;function ci(o){return o==="true"?!0:o==="false"?!1:o==="null"?null:o===+o+""?+o:Xt.test(o)?JSON.parse(o):o}function Ki(o,c,v){var w;if(v===void 0&&o.nodeType===1)if(w="data-"+c.replace(di,"-$&").toLowerCase(),v=o.getAttribute(w),typeof v=="string"){try{v=ci(v)}catch{}be.set(o,c,v)}else v=void 0;return v}m.extend({hasData:function(o){return be.hasData(o)||Ce.hasData(o)},data:function(o,c,v){return be.access(o,c,v)},removeData:function(o,c){be.remove(o,c)},_data:function(o,c,v){return Ce.access(o,c,v)},_removeData:function(o,c){Ce.remove(o,c)}}),m.fn.extend({data:function(o,c){var v,w,E,P=this[0],A=P&&P.attributes;if(o===void 0){if(this.length&&(E=be.get(P),P.nodeType===1&&!Ce.get(P,"hasDataAttrs"))){for(v=A.length;v--;)A[v]&&(w=A[v].name,w.indexOf("data-")===0&&(w=gt(w.slice(5)),Ki(P,w,E[w])));Ce.set(P,"hasDataAttrs",!0)}return E}return typeof o=="object"?this.each(function(){be.set(this,o)}):pt(this,function($){var H;if(P&&$===void 0)return H=be.get(P,o),H!==void 0||(H=Ki(P,o),H!==void 0)?H:void 0;this.each(function(){be.set(this,o,$)})},null,c,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){be.remove(this,o)})}}),m.extend({queue:function(o,c,v){var w;if(o)return c=(c||"fx")+"queue",w=Ce.get(o,c),v&&(!w||Array.isArray(v)?w=Ce.access(o,c,m.makeArray(v)):w.push(v)),w||[]},dequeue:function(o,c){c=c||"fx";var v=m.queue(o,c),w=v.length,E=v.shift(),P=m._queueHooks(o,c),A=function(){m.dequeue(o,c)};E==="inprogress"&&(E=v.shift(),w--),E&&(c==="fx"&&v.unshift("inprogress"),delete P.stop,E.call(o,A,P)),!w&&P&&P.empty.fire()},_queueHooks:function(o,c){var v=c+"queueHooks";return Ce.get(o,v)||Ce.access(o,v,{empty:m.Callbacks("once memory").add(function(){Ce.remove(o,[c+"queue",v])})})}}),m.fn.extend({queue:function(o,c){var v=2;return typeof o!="string"&&(c=o,o="fx",v--),arguments.length<v?m.queue(this[0],o):c===void 0?this:this.each(function(){var w=m.queue(this,o,c);m._queueHooks(this,o),o==="fx"&&w[0]!=="inprogress"&&m.dequeue(this,o)})},dequeue:function(o){return this.each(function(){m.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,c){var v,w=1,E=m.Deferred(),P=this,A=this.length,$=function(){--w||E.resolveWith(P,[P])};for(typeof o!="string"&&(c=o,o=void 0),o=o||"fx";A--;)v=Ce.get(P[A],o+"queueHooks"),v&&v.empty&&(w++,v.empty.add($));return $(),E.promise(c)}});var Qi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ji=new RegExp("^(?:([+-])=|)("+Qi+")([a-z%]*)$","i"),Bt=["Top","Right","Bottom","Left"],Jt=_.documentElement,ui=function(o){return m.contains(o.ownerDocument,o)},hn={composed:!0};Jt.getRootNode&&(ui=function(o){return m.contains(o.ownerDocument,o)||o.getRootNode(hn)===o.ownerDocument});var fi=function(o,c){return o=c||o,o.style.display==="none"||o.style.display===""&&ui(o)&&m.css(o,"display")==="none"};function Mn(o,c,v,w){var E,P,A=20,$=w?function(){return w.cur()}:function(){return m.css(o,c,"")},H=$(),Y=v&&v[3]||(m.cssNumber[c]?"":"px"),le=o.nodeType&&(m.cssNumber[c]||Y!=="px"&&+H)&&ji.exec(m.css(o,c));if(le&&le[3]!==Y){for(H=H/2,Y=Y||le[3],le=+H||1;A--;)m.style(o,c,le+Y),(1-P)*(1-(P=$()/H||.5))<=0&&(A=0),le=le/P;le=le*2,m.style(o,c,le+Y),v=v||[]}return v&&(le=+le||+H||0,E=v[1]?le+(v[1]+1)*v[2]:+v[2],w&&(w.unit=Y,w.start=le,w.end=E)),E}var $i={};function en(o){var c,v=o.ownerDocument,w=o.nodeName,E=$i[w];return E||(c=v.body.appendChild(v.createElement(w)),E=m.css(c,"display"),c.parentNode.removeChild(c),E==="none"&&(E="block"),$i[w]=E,E)}function Rt(o,c){for(var v,w,E=[],P=0,A=o.length;P<A;P++)w=o[P],w.style&&(v=w.style.display,c?(v==="none"&&(E[P]=Ce.get(w,"display")||null,E[P]||(w.style.display="")),w.style.display===""&&fi(w)&&(E[P]=en(w))):v!=="none"&&(E[P]="none",Ce.set(w,"display",v)));for(P=0;P<A;P++)E[P]!=null&&(o[P].style.display=E[P]);return o}m.fn.extend({show:function(){return Rt(this,!0)},hide:function(){return Rt(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){fi(this)?m(this).show():m(this).hide()})}});var Kt=/^(?:checkbox|radio)$/i,Dt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Yt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=_.createDocumentFragment(),c=o.appendChild(_.createElement("div")),v=_.createElement("input");v.setAttribute("type","radio"),v.setAttribute("checked","checked"),v.setAttribute("name","t"),c.appendChild(v),C.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue,c.innerHTML="<option></option>",C.option=!!c.lastChild})();var Ot={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ot.tbody=Ot.tfoot=Ot.colgroup=Ot.caption=Ot.thead,Ot.th=Ot.td,C.option||(Ot.optgroup=Ot.option=[1,"<select multiple='multiple'>","</select>"]);function ut(o,c){var v;return typeof o.getElementsByTagName<"u"?v=o.getElementsByTagName(c||"*"):typeof o.querySelectorAll<"u"?v=o.querySelectorAll(c||"*"):v=[],c===void 0||c&&Z(o,c)?m.merge([o],v):v}function pn(o,c){for(var v=0,w=o.length;v<w;v++)Ce.set(o[v],"globalEval",!c||Ce.get(c[v],"globalEval"))}var Gn=/<|&#?\w+;/;function qt(o,c,v,w,E){for(var P,A,$,H,Y,le,ue=c.createDocumentFragment(),ie=[],we=0,De=o.length;we<De;we++)if(P=o[we],P||P===0)if(O(P)==="object")m.merge(ie,P.nodeType?[P]:P);else if(!Gn.test(P))ie.push(c.createTextNode(P));else{for(A=A||ue.appendChild(c.createElement("div")),$=(Dt.exec(P)||["",""])[1].toLowerCase(),H=Ot[$]||Ot._default,A.innerHTML=H[1]+m.htmlPrefilter(P)+H[2],le=H[0];le--;)A=A.lastChild;m.merge(ie,A.childNodes),A=ue.firstChild,A.textContent=""}for(ue.textContent="",we=0;P=ie[we++];){if(w&&m.inArray(P,w)>-1){E&&E.push(P);continue}if(Y=ui(P),A=ut(ue.appendChild(P),"script"),Y&&pn(A),v)for(le=0;P=A[le++];)Yt.test(P.type||"")&&v.push(P)}return ue}var Un=/^([^.]*)(?:\.(.+)|)/;function Bi(){return!0}function St(){return!1}function tn(o,c,v,w,E,P){var A,$;if(typeof c=="object"){typeof v!="string"&&(w=w||v,v=void 0);for($ in c)tn(o,$,v,w,c[$],P);return o}if(w==null&&E==null?(E=v,w=v=void 0):E==null&&(typeof v=="string"?(E=w,w=void 0):(E=w,w=v,v=void 0)),E===!1)E=St;else if(!E)return o;return P===1&&(A=E,E=function(H){return m().off(H),A.apply(this,arguments)},E.guid=A.guid||(A.guid=m.guid++)),o.each(function(){m.event.add(this,c,E,w,v)})}m.event={global:{},add:function(o,c,v,w,E){var P,A,$,H,Y,le,ue,ie,we,De,Ge,je=Ce.get(o);if(mt(o))for(v.handler&&(P=v,v=P.handler,E=P.selector),E&&m.find.matchesSelector(Jt,E),v.guid||(v.guid=m.guid++),(H=je.events)||(H=je.events=Object.create(null)),(A=je.handle)||(A=je.handle=function(At){return typeof m<"u"&&m.event.triggered!==At.type?m.event.dispatch.apply(o,arguments):void 0}),c=(c||"").match(dt)||[""],Y=c.length;Y--;)$=Un.exec(c[Y])||[],we=Ge=$[1],De=($[2]||"").split(".").sort(),we&&(ue=m.event.special[we]||{},we=(E?ue.delegateType:ue.bindType)||we,ue=m.event.special[we]||{},le=m.extend({type:we,origType:Ge,data:w,handler:v,guid:v.guid,selector:E,needsContext:E&&m.expr.match.needsContext.test(E),namespace:De.join(".")},P),(ie=H[we])||(ie=H[we]=[],ie.delegateCount=0,(!ue.setup||ue.setup.call(o,w,De,A)===!1)&&o.addEventListener&&o.addEventListener(we,A)),ue.add&&(ue.add.call(o,le),le.handler.guid||(le.handler.guid=v.guid)),E?ie.splice(ie.delegateCount++,0,le):ie.push(le),m.event.global[we]=!0)},remove:function(o,c,v,w,E){var P,A,$,H,Y,le,ue,ie,we,De,Ge,je=Ce.hasData(o)&&Ce.get(o);if(!(!je||!(H=je.events))){for(c=(c||"").match(dt)||[""],Y=c.length;Y--;){if($=Un.exec(c[Y])||[],we=Ge=$[1],De=($[2]||"").split(".").sort(),!we){for(we in H)m.event.remove(o,we+c[Y],v,w,!0);continue}for(ue=m.event.special[we]||{},we=(w?ue.delegateType:ue.bindType)||we,ie=H[we]||[],$=$[2]&&new RegExp("(^|\\.)"+De.join("\\.(?:.*\\.|)")+"(\\.|$)"),A=P=ie.length;P--;)le=ie[P],(E||Ge===le.origType)&&(!v||v.guid===le.guid)&&(!$||$.test(le.namespace))&&(!w||w===le.selector||w==="**"&&le.selector)&&(ie.splice(P,1),le.selector&&ie.delegateCount--,ue.remove&&ue.remove.call(o,le));A&&!ie.length&&((!ue.teardown||ue.teardown.call(o,De,je.handle)===!1)&&m.removeEvent(o,we,je.handle),delete H[we])}m.isEmptyObject(H)&&Ce.remove(o,"handle events")}},dispatch:function(o){var c,v,w,E,P,A,$=new Array(arguments.length),H=m.event.fix(o),Y=(Ce.get(this,"events")||Object.create(null))[H.type]||[],le=m.event.special[H.type]||{};for($[0]=H,c=1;c<arguments.length;c++)$[c]=arguments[c];if(H.delegateTarget=this,!(le.preDispatch&&le.preDispatch.call(this,H)===!1)){for(A=m.event.handlers.call(this,H,Y),c=0;(E=A[c++])&&!H.isPropagationStopped();)for(H.currentTarget=E.elem,v=0;(P=E.handlers[v++])&&!H.isImmediatePropagationStopped();)(!H.rnamespace||P.namespace===!1||H.rnamespace.test(P.namespace))&&(H.handleObj=P,H.data=P.data,w=((m.event.special[P.origType]||{}).handle||P.handler).apply(E.elem,$),w!==void 0&&(H.result=w)===!1&&(H.preventDefault(),H.stopPropagation()));return le.postDispatch&&le.postDispatch.call(this,H),H.result}},handlers:function(o,c){var v,w,E,P,A,$=[],H=c.delegateCount,Y=o.target;if(H&&Y.nodeType&&!(o.type==="click"&&o.button>=1)){for(;Y!==this;Y=Y.parentNode||this)if(Y.nodeType===1&&!(o.type==="click"&&Y.disabled===!0)){for(P=[],A={},v=0;v<H;v++)w=c[v],E=w.selector+" ",A[E]===void 0&&(A[E]=w.needsContext?m(E,this).index(Y)>
10-1:m.find(E,this,null,[Y]).length),A[E]&&P.push(w);P.length&&$.push({elem:Y,handlers:P})}}return Y=this,H<c.length&&$.push({elem:Y,handlers:c.slice(H)}),$},addProp:function(o,c){Object.defineProperty(m.Event.prototype,o,{enumerable:!0,configurable:!0,get:x(c)?function(){if(this.originalEvent)return c(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(v){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:v})}})},fix:function(o){return o[m.expando]?o:new m.Event(o)},special:{load:{noBubble:!0},click:{setup:function(o){var c=this||o;return Kt.test(c.type)&&c.click&&Z(c,"input")&&Et(c,"click",!0),!1},trigger:function(o){var c=this||o;return Kt.test(c.type)&&c.click&&Z(c,"input")&&Et(c,"click"),!0},_default:function(o){var c=o.target;return Kt.test(c.type)&&c.click&&Z(c,"input")&&Ce.get(c,"click")||Z(c,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}};function Et(o,c,v){if(!v){Ce.get(o,c)===void 0&&m.event.add(o,c,Bi);return}Ce.set(o,c,!1),m.event.add(o,c,{namespace:!1,handler:function(w){var E,P=Ce.get(this,c);if(w.isTrigger&1&&this[c]){if(P)(m.event.special[c]||{}).delegateType&&w.stopPropagation();else if(P=r.call(arguments),Ce.set(this,c,P),this[c](),E=Ce.get(this,c),Ce.set(this,c,!1),P!==E)return w.stopImmediatePropagation(),w.preventDefault(),E}else P&&(Ce.set(this,c,m.event.trigger(P[0],P.slice(1),this)),w.stopPropagation(),w.isImmediatePropagationStopped=Bi)}})}m.removeEvent=function(o,c,v){o.removeEventListener&&o.removeEventListener(c,v)},m.Event=function(o,c){if(!(this instanceof m.Event))return new m.Event(o,c);o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?Bi:St,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,c&&m.extend(this,c),this.timeStamp=o&&o.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:St,isPropagationStopped:St,isImmediatePropagationStopped:St,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=Bi,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=Bi,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=Bi,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(o,c){function v(w){if(_.documentMode){var E=Ce.get(this,"handle"),P=m.event.fix(w);P.type=w.type==="focusin"?"focus":"blur",P.isSimulated=!0,E(w),P.target===P.currentTarget&&E(P)}else m.event.simulate(c,w.target,m.event.fix(w))}m.event.special[o]={setup:function(){var w;if(Et(this,o,!0),_.documentMode)w=Ce.get(this,c),w||this.addEventListener(c,v),Ce.set(this,c,(w||0)+1);else return!1},trigger:function(){return Et(this,o),!0},teardown:function(){var w;if(_.documentMode)w=Ce.get(this,c)-1,w?Ce.set(this,c,w):(this.removeEventListener(c,v),Ce.remove(this,c));else return!1},_default:function(w){return Ce.get(w.target,o)},delegateType:c},m.event.special[c]={setup:function(){var w=this.ownerDocument||this.document||this,E=_.documentMode?this:w,P=Ce.get(E,c);P||(_.documentMode?this.addEventListener(c,v):w.addEventListener(o,v,!0)),Ce.set(E,c,(P||0)+1)},teardown:function(){var w=this.ownerDocument||this.document||this,E=_.documentMode?this:w,P=Ce.get(E,c)-1;P?Ce.set(E,c,P):(_.documentMode?this.removeEventListener(c,v):w.removeEventListener(o,v,!0),Ce.remove(E,c))}}}
vendor: 6,639 bytes, line 10
10),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,c){m.event.special[o]={delegateType:c,bindType:c,handle:function(v){var w,E=this,P=v.relatedTarget,A=v.handleObj;return(!P||P!==E&&!m.contains(E,P))&&(v.type=A.origType,w=A.handler.apply(this,arguments),v.type=c),w}}}),m.fn.extend({on:function(o,c,v,w){return tn(this,o,c,v,w)},one:function(o,c,v,w){return tn(this,o,c,v,w,1)},off:function(o,c,v){var w,E;if(o&&o.preventDefault&&o.handleObj)return w=o.handleObj,m(o.delegateTarget).off(w.namespace?w.origType+"."+w.namespace:w.origType,w.selector,w.handler),this;if(typeof o=="object"){for(E in o)this.off(E,c,o[E]);return this}return(c===!1||typeof c=="function")&&(v=c,c=void 0),v===!1&&(v=St),this.each(function(){m.event.remove(this,o,v,c)})}});var Le=/<script|<style|<link/i,Ln=/checked\s*(?:[^=]|=\s*.checked.)/i,Xn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function nn(o,c){return Z(o,"table")&&Z(c.nodeType!==11?c:c.firstChild,"tr")&&m(o).children("tbody")[0]||o}function Vi(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function mn(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function hi(o,c){var v,w,E,P,A,$,H;if(c.nodeType===1){if(Ce.hasData(o)&&(P=Ce.get(o),H=P.events,H)){Ce.remove(c,"handle events");for(E in H)for(v=0,w=H[E].length;v<w;v++)m.event.add(c,E,H[E][v])}be.hasData(o)&&(A=be.access(o),$=m.extend({},A),be.set(c,$))}}function ii(o,c){var v=c.nodeName.toLowerCase();v==="input"&&Kt.test(o.type)?c.checked=o.checked:(v==="input"||v==="textarea")&&(c.defaultValue=o.defaultValue)}function Ci(o,c,v,w){c=u(c);var E,P,A,$,H,Y,le=0,ue=o.length,ie=ue-1,we=c[0],De=x(we);if(De||ue>1&&typeof we=="string"&&!C.checkClone&&Ln.test(we))return o.each(function(Ge){var je=o.eq(Ge);De&&(c[0]=we.call(this,Ge,je.html())),Ci(je,c,v,w)});if(ue&&(E=qt(c,o[0].ownerDocument,!1,o,w),P=E.firstChild,E.childNodes.length===1&&(E=P),P||w)){for(A=m.map(ut(E,"script"),Vi),$=A.length;le<ue;le++)H=E,le!==ie&&(H=m.clone(H,!0,!0),$&&m.merge(A,ut(H,"script"))),v.call(o[le],H,le);if($)for(Y=A[A.length-1].ownerDocument,m.map(A,mn),le=0;le<$;le++)H=A[le],Yt.test(H.type||"")&&!Ce.access(H,"globalEval")&&m.contains(Y,H)&&(H.src&&(H.type||"").toLowerCase()!=="module"?m._evalUrl&&!H.noModule&&m._evalUrl(H.src,{nonce:H.nonce||H.getAttribute("nonce")},Y):S(H.textContent.replace(Xn,""),H,Y))}return o}function Jn(o,c,v){for(var w,E=c?m.filter(c,o):o,P=0;(w=E[P])!=null;P++)!v&&w.nodeType===1&&m.cleanData(ut(w)),w.parentNode&&(v&&ui(w)&&pn(ut(w,"script")),w.parentNode.removeChild(w));return o}m.extend({htmlPrefilter:function(o){return o},clone:function(o,c,v){var w,E,P,A,$=o.cloneNode(!0),H=ui(o);if(!C.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!m.isXMLDoc(o))for(A=ut($),P=ut(o),w=0,E=P.length;w<E;w++)ii(P[w],A[w]);if(c)if(v)for(P=P||ut(o),A=A||ut($),w=0,E=P.length;w<E;w++)hi(P[w],A[w]);else hi(o,$);return A=ut($,"script"),A.length>0&&pn(A,!H&&ut(o,"script")),$},cleanData:function(o){for(var c,v,w,E=m.event.special,P=0;(v=o[P])!==void 0;P++)if(mt(v)){if(c=v[Ce.expando]){if(c.events)for(w in c.events)E[w]?m.event.remove(v,w):m.removeEvent(v,w,c.handle);v[Ce.expando]=void 0}v[be.expando]&&(v[be.expando]=void 0)}}}),m.fn.extend({detach:function(o){return Jn(this,o,!0)},remove:function(o){return Jn(this,o)},text:function(o){return pt(this,function(c){return c===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=c)})},null,o,arguments.length)},append:function(){return Ci(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=nn(this,o);c.appendChild(o)}})},prepend:function(){return Ci(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=nn(this,o);c.insertBefore(o,c.firstChild)}})},before:function(){return Ci(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return Ci(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,c=0;(o=this[c])!=null;c++)o.nodeType===1&&(m.cleanData(ut(o,!1)),o.textContent="");return this},clone:function(o,c){return o=o??!1,c=c??o,this.map(function(){return m.clone(this,o,c)})},html:function(o){return pt(this,function(c){var v=this[0]||{},w=0,E=this.length;if(c===void 0&&v.nodeType===1)return v.innerHTML;if(typeof c=="string"&&!Le.test(c)&&!Ot[(Dt.exec(c)||["",""])[1].toLowerCase()]){c=m.htmlPrefilter(c);try{for(;w<E;w++)v=this[w]||{},v.nodeType===1&&(m.cleanData(ut(v,!1)),v.innerHTML=c);v=0}catch{}}v&&this.empty().append(c)},null,o,arguments.length)},replaceWith:function(){var o=[];return Ci(this,arguments,function(c){var v=this.parentNode;m.inArray(this,o)<0&&(m.cleanData(ut(this)),v&&v.replaceChild(c,this))},o)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(o,c){m.fn[o]=function(v){for(var w,E=[],P=m(v),A=P.length-1,$=0;$<=A;$++)w=$===A?this:this.clone(!0),m(P[$])[c](w),f.apply(E,w.get());return this.pushStack(E)}});var En=new RegExp("^("+Qi+")(?!px)[a-z%]+$","i"),Pn=/^--/,pi=function(o){var c=o.ownerDocument.defaultView;return(!c||!c.opener)&&(c=t),c.getComputedStyle(o)},sn=function(o,c,v){var w,E,P={};for(E in c)P[E]=o.style[E],o.style[E]=c[E];w=v.call(o);for(E in c)o.style[E]=P[E];return w},Gi=new RegExp(Bt.join("|"),"i");(function(){function o(){if(Y){H.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Y.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Jt.appendChild(H).appendChild(Y);var le=t.getComputedStyle(Y);v=le.top!=="1%",$=c(le.marginLeft)===12,Y.style.right="60%",P=c(le.right)===36,w=c(le.width)===36,Y.style.position="absolute",E=c(Y.offsetWidth/3)===12,Jt.removeChild(H),Y=null}}function c(le){return Math.round(parseFloat(le))}var v,w,E,P,A,$,H=_.createElement("div"),Y=_.createElement("div");Y.style&&(Y.style.backgroundClip="content-box",Y.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=Y.style.backgroundClip==="content-box",m.extend(C,{boxSizingReliable:function(){return o(),w},pixelBoxStyles:function(){return o(),P},pixelPosition:function(){return o(),v},reliableMarginLeft:function(){return o(),$},scrollboxSize:function(){return o(),E},reliableTrDimensions:function(){var le,ue,ie,we;return A==null&&(le=_.createElement("table"),ue=_.createElement("tr"),ie=_.createElement("div"),le.style.cssText="position:absolute;
10left:-11111px;border-collapse:separate",ue.style.cssText="box-sizing:content-box;border:1px solid",ue.style.height="1px",ie.style.height="9px",ie.style.display="block",Jt.appendChild(le).appendChild(ue).appendChild(ie),we=t.getComputedStyle(ue),A=parseInt(we.height,10)+parseInt(we.borderTopWidth,10)+parseInt(we.borderBottomWidth,10)===ue.offsetHeight,Jt.removeChild(le)),A}}))})();function mi(o,c,v){var w,E,P,A,$=Pn.test(c),H=o.style;return v=v||pi(o),v&&(A=v.getPropertyValue(c)||v[c],$&&A&&(A=A.replace(re,"$1")||void 0),A===""&&!ui(o)&&(A=m.style(o,c)),!C.pixelBoxStyles()&&En.test(A)&&Gi.test(c)&&(w=H.width,E=H.minWidth,P=H.maxWidth,H.minWidth=H.maxWidth=H.width=A,A=v.width,H.width=w,H.minWidth=E,H.maxWidth=P)),A!==void 0?A+"":A}function kn(o,c){return{get:function(){if(o()){delete this.get;return}return(this.get=c).apply(this,arguments)}}}var In=["Webkit","Moz","ms"],gn=_.createElement("div").style,An={};function Dn(o){for(var c=o[0].toUpperCase()+o.slice(1),v=In.length;v--;)if(o=In[v]+c,o in gn)return o}function Mi(o){var c=m.cssProps[o]||An[o];return c||(o in gn?o:An[o]=Dn(o)||o)}var ni=/^(none|table(?!-c[ea]).+)/,vn={position:"absolute",visibility:"hidden",display:"block"},rn={letterSpacing:"0",fontWeight:"400"};function Li(o,c,v){var w=ji.exec(c);return w?Math.max(0,w[2]-(v||0))+(w[3]||"px"):c}function We(o,c,v,w,E,P){var A=c==="width"?1:0,$=0,H=0,Y=0;if(v===(w?"border":"content"))return 0;for(;A<4;A+=2)v==="margin"&&(Y+=m.css(o,v+Bt[A],!0,E)),w?(v==="content"&&(H-=m.css(o,"padding"+Bt[A],!0,E)),v!=="margin"&&(H-=m.css(o,"border"+Bt[A]+"Width",!0,E))):(H+=m.css(o,"padding"+Bt[A],!0,E),v!=="padding"?H+=m.css(o,"border"+Bt[A]+"Width",!0,E):$+=m.css(o,"border"+Bt[A]+"Width",!0,E));return!w&&P>=0&&(H+=Math.max(0,Math.ceil(o["offset"+c[0].toUpperCase()+c.slice(1)]-P-H-$-.5))||0),H+Y}function it(o,c,v){var w=pi(o),E=!C.boxSizingReliable()||v,P=E&&m.css(o,"boxSizing",!1,w)==="border-box",A=P,$=mi(o,c,w),H="offset"+c[0].toUpperCase()+c.slice(1);if(En.test($)){if(!v)return $;$="auto"}return(!C.boxSizingReliable()&&P||!C.reliableTrDimensions()&&Z(o,"tr")||$==="auto"||!parseFloat($)&&m.css(o,"display",!1,w)==="inline")&&o.getClientRects().length&&(P=m.css(o,"boxSizing",!1,w)==="border-box",A=H in o,A&&($=o[H])),$=parseFloat($)||0,$+We(o,c,v||(P?"border":"content"),A,w,$)+"px"}m.extend({cssHooks:{opacity:{get:function(o,c){if(c){var v=mi(o,"opacity");return v===""?"1":v}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(o,c,v,w){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var E,P,A,$=gt(c),H=Pn.test(c),Y=o.style;if(H||(c=Mi($)),A=m.cssHooks[c]||m.cssHooks[$],v!==void 0){if(P=typeof v,P==="string"&&(E=ji.exec(v))&&E[1]&&(v=Mn(o,c,E),P="number"),v==null||v!==v)return;P==="number"&&!H&&(v+=E&&E[3]||(m.cssNumber[$]?"":"px")),!C.clearCloneStyle&&v===""&&c.indexOf("background")===0&&(Y[c]="inherit"),(!A||!("set"in A)||(v=A.set(o,v,w))!==void 0)&&(H?Y.setProperty(c,v):Y[c]=v)}else return A&&"get"in A&&(E=A.get(o,!1,w))!==void 0?E:Y[c]}},css:function(o,c,v,w){var E,P,A,$=gt(c),H=Pn.test(c);return H||(c=Mi($)),A=m.cssHooks[c]||m.cssHooks[$],A&&"get"in A&&(E=A.get(o,!0,v)),E===void 0&&(E=mi(o,c,w)),E==="normal"&&c in rn&&(E=rn[c]),v===""||v?(P=parseFloat(E),v===!0||isFinite(P)?P||0:E):E}}),m.each(["height","width"],function(o,c){m.cssHooks[c]={get:function(v,w,E){if(w)return ni.test(m.css(v,"display"))&&(!v.getClientRects().length||!v.getBoundingClientRect().width)?sn(v,vn,function(){return it(v,c,E)}):it(v,c,E)},set:function(v,w,E){var P,A=pi(v),$=!C.scrollboxSize()&&A.position==="absolute",H=$||E,Y=H&&m.css(v,"boxSizing",!1,A)==="border-box",le=E?We(v,c,E,Y,A):0;return Y&&$&&(le-=Math.ceil(v["offset"+c[0].toUpperCase()+c.slice(1)]-parseFloat(A[c])-We(v,c,"border",!1,A)-.5)),le&&(P=ji.exec(w))&&(P[3]||"px")!=="px"&&(v.style[c]=w,w=m.css(v,c)),Li(v,w,le)}}}),m.cssHooks.marginLeft=kn(C.reliableMarginLeft,function(o,c){if(c)return(parseFloat(mi(o,"marginLeft"))||o.getBoundingClientRect().left-sn(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(o,c){m.cssHooks[o+c]={expand:function(v){for(var w=0,E={},P=typeof v=="string"?v.split(" "):[v];w<4;w++)E[o+Bt[w]+c]=P[w]||P[w-2]||P[0];return E}},o!=="margin"&&(m.cssHooks[o+c].set=Li)}),m.fn.extend({css:function(o,c){return pt(this,function(v,w,E){var P,A,$={},H=0;if(Array.isArray(w)){for(P=pi(v),A=w.length;H<A;H++)$[w[H]]=m.css(v,w[H],!1,P);return $}return E!==void 0?m.style(v,w,E):m.css(v,w)},o,c,arguments.length>1)}});function vt(o,c,v,w,E){return new vt.prototype.init(o,c,v,w,E)}m.Tween=vt,vt.prototype={constructor:vt,init:function(o,c,v,w,E,P){this.elem=o,this.prop=v,this.easing=E||m.easing._default,this.options=c,this.start=this.now=this.cur(),this.end=w,this.unit=P||(m.cssNumber[v]?"":"px")},cur:function(){var o=vt.propHooks[this.prop];return o&&o.get?o.get(this):vt.propHooks._default.get(this)},run:function(o){var c,v=vt.propHooks[this.prop];return this.options.duration?this.pos=c=m.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=c=o,this.now=(this.end-this.start)*c+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),v&&v.set?v.set(this):vt.propHooks._default.set(this),this}},vt.prototype.init.prototype=vt.prototype,vt.propHooks={_default:{get:function(o){var c;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(c=m.css(o.elem,o.prop,""),!c||c==="auto"?0:c)},set:function(o){m.fx.step[o.prop]?m.fx.step[o.prop](o):o.elem.nodeType===1&&(m.cssHooks[o.prop]||o.elem.style[Mi(o.prop)]!=null)?m.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},vt.propHooks.scrollTop=vt.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},m.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},m.fx=vt.prototype.init,m.fx.step={};var zt,Zt,Ri=/^(?:toggle|show|hide)$/,Ne=/queueHooks$/;function ot(){Zt&&(_.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(ot):t.setTimeout(ot,m.fx.interval),m.fx.tick())}function F(){return t.setTimeout(function(){zt=void 0}),zt=Date.now()}function ne(o,c){var v,w=0,E={height:o};for(c=c?1:0;w<4;w+=2-c)v=Bt[w],E["margin"+v]=E["padding"+v]=o;return c&&(E.opacity=E.width=o),E}function ye(o,c,v){for(var w,E=(st.tweeners[c]||[]).concat(st.tweeners["*"]),P=0,A=E.length;P<A;P++)if(w=E[P].call(v,c,o))return w}function Re(o,c,v){var w,E,P,A,$,H,Y,le,ue="width"in c||"height"in c,ie=this,we={},De=o.style,Ge=o.nodeType&&fi(o),je=Ce.get(o,"fxshow");v.queue||(A=m._queueHooks(o,"fx"),A.unqueued==null&&(A.unqueued=0,$=A.empty.fire,A.empty.fire=function(){A.unqueued||$()}),A.unqueued++,ie.always(function(){ie.always(function(){A.unqueued--,m.queue(o,"fx").length||A.empty.fire()})}));
vendor: 6,955 bytes, line 10
10for(w in c)if(E=c[w],Ri.test(E)){if(delete c[w],P=P||E==="toggle",E===(Ge?"hide":"show"))if(E==="show"&&je&&je[w]!==void 0)Ge=!0;else continue;we[w]=je&&je[w]||m.style(o,w)}if(H=!m.isEmptyObject(c),!(!H&&m.isEmptyObject(we))){ue&&o.nodeType===1&&(v.overflow=[De.overflow,De.overflowX,De.overflowY],Y=je&&je.display,Y==null&&(Y=Ce.get(o,"display")),le=m.css(o,"display"),le==="none"&&(Y?le=Y:(Rt([o],!0),Y=o.style.display||Y,le=m.css(o,"display"),Rt([o]))),(le==="inline"||le==="inline-block"&&Y!=null)&&m.css(o,"float")==="none"&&(H||(ie.done(function(){De.display=Y}),Y==null&&(le=De.display,Y=le==="none"?"":le)),De.display="inline-block")),v.overflow&&(De.overflow="hidden",ie.always(function(){De.overflow=v.overflow[0],De.overflowX=v.overflow[1],De.overflowY=v.overflow[2]})),H=!1;for(w in we)H||(je?"hidden"in je&&(Ge=je.hidden):je=Ce.access(o,"fxshow",{display:Y}),P&&(je.hidden=!Ge),Ge&&Rt([o],!0),ie.done(function(){Ge||Rt([o]),Ce.remove(o,"fxshow");for(w in we)m.style(o,w,we[w])})),H=ye(Ge?je[w]:0,w,ie),w in je||(je[w]=H.start,Ge&&(H.end=H.start,H.start=0))}}function tt(o,c){var v,w,E,P,A;for(v in o)if(w=gt(v),E=c[w],P=o[v],Array.isArray(P)&&(E=P[1],P=o[v]=P[0]),v!==w&&(o[w]=P,delete o[v]),A=m.cssHooks[w],A&&"expand"in A){P=A.expand(P),delete o[w];for(v in P)v in o||(o[v]=P[v],c[v]=E)}else c[w]=E}function st(o,c,v){var w,E,P=0,A=st.prefilters.length,$=m.Deferred().always(function(){delete H.elem}),H=function(){if(E)return!1;for(var ue=zt||F(),ie=Math.max(0,Y.startTime+Y.duration-ue),we=ie/Y.duration||0,De=1-we,Ge=0,je=Y.tweens.length;Ge<je;Ge++)Y.tweens[Ge].run(De);return $.notifyWith(o,[Y,De,ie]),De<1&&je?ie:(je||$.notifyWith(o,[Y,1,0]),$.resolveWith(o,[Y]),!1)},Y=$.promise({elem:o,props:m.extend({},c),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},v),originalProperties:c,originalOptions:v,startTime:zt||F(),duration:v.duration,tweens:[],createTween:function(ue,ie){var we=m.Tween(o,Y.opts,ue,ie,Y.opts.specialEasing[ue]||Y.opts.easing);return Y.tweens.push(we),we},stop:function(ue){var ie=0,we=ue?Y.tweens.length:0;if(E)return this;for(E=!0;ie<we;ie++)Y.tweens[ie].run(1);return ue?($.notifyWith(o,[Y,1,0]),$.resolveWith(o,[Y,ue])):$.rejectWith(o,[Y,ue]),this}}),le=Y.props;for(tt(le,Y.opts.specialEasing);P<A;P++)if(w=st.prefilters[P].call(Y,o,le,Y.opts),w)return x(w.stop)&&(m._queueHooks(Y.elem,Y.opts.queue).stop=w.stop.bind(w)),w;return m.map(le,ye,Y),x(Y.opts.start)&&Y.opts.start.call(o,Y),Y.progress(Y.opts.progress).done(Y.opts.done,Y.opts.complete).fail(Y.opts.fail).always(Y.opts.always),m.fx.timer(m.extend(H,{elem:o,anim:Y,queue:Y.opts.queue})),Y}m.Animation=m.extend(st,{tweeners:{"*":[function(o,c){var v=this.createTween(o,c);return Mn(v.elem,o,ji.exec(c),v),v}]},tweener:function(o,c){x(o)?(c=o,o=["*"]):o=o.match(dt);for(var v,w=0,E=o.length;w<E;w++)v=o[w],st.tweeners[v]=st.tweeners[v]||[],st.tweeners[v].unshift(c)},prefilters:[Re],prefilter:function(o,c){c?st.prefilters.unshift(o):st.prefilters.push(o)}}),m.speed=function(o,c,v){var w=o&&typeof o=="object"?m.extend({},o):{complete:v||!v&&c||x(o)&&o,duration:o,easing:v&&c||c&&!x(c)&&c};return m.fx.off?w.duration=0:typeof w.duration!="number"&&(w.duration in m.fx.speeds?w.duration=m.fx.speeds[w.duration]:w.duration=m.fx.speeds._default),(w.queue==null||w.queue===!0)&&(w.queue="fx"),w.old=w.complete,w.complete=function(){x(w.old)&&w.old.call(this),w.queue&&m.dequeue(this,w.queue)},w},m.fn.extend({fadeTo:function(o,c,v,w){return this.filter(fi).css("opacity",0).show().end().animate({opacity:c},o,v,w)},animate:function(o,c,v,w){var E=m.isEmptyObject(o),P=m.speed(c,v,w),A=function(){var $=st(this,m.extend({},o),P);(E||Ce.get(this,"finish"))&&$.stop(!0)};return A.finish=A,E||P.queue===!1?this.each(A):this.queue(P.queue,A)},stop:function(o,c,v){var w=function(E){var P=E.stop;delete E.stop,P(v)};return typeof o!="string"&&(v=c,c=o,o=void 0),c&&this.queue(o||"fx",[]),this.each(function(){var E=!0,P=o!=null&&o+"queueHooks",A=m.timers,$=Ce.get(this);if(P)$[P]&&$[P].stop&&w($[P]);else for(P in $)$[P]&&$[P].stop&&Ne.test(P)&&w($[P]);for(P=A.length;P--;)A[P].elem===this&&(o==null||A[P].queue===o)&&(A[P].anim.stop(v),E=!1,A.splice(P,1));(E||!v)&&m.dequeue(this,o)})},finish:function(o){return o!==!1&&(o=o||"fx"),this.each(function(){var c,v=Ce.get(this),w=v[o+"queue"],E=v[o+"queueHooks"],P=m.timers,A=w?w.length:0;for(v.finish=!0,m.queue(this,o,[]),E&&E.stop&&E.stop.call(this,!0),c=P.length;c--;)P[c].elem===this&&P[c].queue===o&&(P[c].anim.stop(!0),P.splice(c,1));for(c=0;c<A;c++)w[c]&&w[c].finish&&w[c].finish.call(this);delete v.finish})}}),m.each(["toggle","show","hide"],function(o,c){var v=m.fn[c];m.fn[c]=function(w,E,P){return w==null||typeof w=="boolean"?v.apply(this,arguments):this.animate(ne(c,!0),w,E,P)}}),m.each({slideDown:ne("show"),slideUp:ne("hide"),slideToggle:ne("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(o,c){m.fn[o]=function(v,w,E){return this.animate(c,v,w,E)}}),m.timers=[],m.fx.tick=function(){var o,c=0,v=m.timers;for(zt=Date.now();c<v.length;c++)o=v[c],!o()&&v[c]===o&&v.splice(c--,1);v.length||m.fx.stop(),zt=void 0},m.fx.timer=function(o){m.timers.push(o),m.fx.start()},m.fx.interval=13,m.fx.start=function(){Zt||(Zt=!0,ot())},m.fx.stop=function(){Zt=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(o,c){return o=m.fx&&m.fx.speeds[o]||o,c=c||"fx",this.queue(c,function(v,w){var E=t.setTimeout(v,o);w.stop=function(){t.clearTimeout(E)}})},function(){var o=_.createElement("input"),c=_.createElement("select"),v=c.appendChild(_.createElement("option"));o.type="checkbox",C.checkOn=o.value!=="",C.optSelected=v.selected,o=_.createElement("input"),o.value="t",o.type="radio",C.radioValue=o.value==="t"}();var Qe,xt=m.expr.attrHandle;m.fn.extend({attr:function(o,c){return pt(this,m.attr,o,c,arguments.length>1)},removeAttr:function(o){return this.each(function(){m.removeAttr(this,o)})}}),m.extend({attr:function(o,c,v){var w,E,P=o.nodeType;if(!(P===3||P===8||P===2)){if(typeof o.getAttribute>"u")return m.prop(o,c,v);if((P!==1||!m.isXMLDoc(o))&&(E=m.attrHooks[c.toLowerCase()]||(m.expr.match.bool.test(c)?Qe:void 0)),v!==void 0){if(v===null){m.removeAttr(o,c);return}return E&&"set"in E&&(w=E.set(o,v,c))!==void 0?w:(o.setAttribute(c,v+""),v)}return E&&"get"in E&&(w=E.get(o,c))!==null?w:(w=m.find.attr(o,c),w??void 0)}},attrHooks:{type:{set:function(o,c){if(!C.radioValue&&c==="radio"&&Z(o,"input")){var v=o.value;return o.setAttribute("type",c),v&&(o.value=v),c}}}},removeAttr:function(o,c){var v,w=0,E=c&&c.match(dt);if(E&&o.nodeType===1)for(;v=E[w++];)o.removeAttribute(v)}}),Qe={set:function(o,c,v){return c===!1?m.removeAttr(o,v):o.setAttribute(v,v),v}},m.each(m.expr.match.bool.source.match(/\w+/g),function(o,c){var v=xt[c]||m.find.attr;xt[c]=function(w,E,P){var A,$,H=E.toLowerCase();return P||($=xt[H],xt[H]=A,A=v(w,E,P)!=null?H:null,xt[H]=$),A}});var Zi=/^(?:input|select|textarea|button)$/i,Ui=/^(?:a|area)$/i;
vendor: 5,212 bytes, lines 10-11
10m.fn.extend({prop:function(o,c){return pt(this,m.prop,o,c,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[m.propFix[o]||o]})}}),m.extend({prop:function(o,c,v){var w,E,P=o.nodeType;if(!(P===3||P===8||P===2))return(P!==1||!m.isXMLDoc(o))&&(c=m.propFix[c]||c,E=m.propHooks[c]),v!==void 0?E&&"set"in E&&(w=E.set(o,v,c))!==void 0?w:o[c]=v:E&&"get"in E&&(w=E.get(o,c))!==null?w:o[c]},propHooks:{tabIndex:{get:function(o){var c=m.find.attr(o,"tabindex");return c?parseInt(c,10):Zi.test(o.nodeName)||Ui.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(m.propHooks.selected={get:function(o){var c=o.parentNode;return c&&c.parentNode&&c.parentNode.selectedIndex,null},set:function(o){var c=o.parentNode;c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function Wi(o){var c=o.match(dt)||[];return c.join(" ")}function gi(o){return o.getAttribute&&o.getAttribute("class")||""}function On(o){return Array.isArray(o)?o:typeof o=="string"?o.match(dt)||[]:[]}m.fn.extend({addClass:function(o){var c,v,w,E,P,A;return x(o)?this.each(function($){m(this).addClass(o.call(this,$,gi(this)))}):(c=On(o),c.length?this.each(function(){if(w=gi(this),v=this.nodeType===1&&" "+Wi(w)+" ",v){for(P=0;P<c.length;P++)E=c[P],v.indexOf(" "+E+" ")<0&&(v+=E+" ");A=Wi(v),w!==A&&this.setAttribute("class",A)}}):this)},removeClass:function(o){var c,v,w,E,P,A;return x(o)?this.each(function($){m(this).removeClass(o.call(this,$,gi(this)))}):arguments.length?(c=On(o),c.length?this.each(function(){if(w=gi(this),v=this.nodeType===1&&" "+Wi(w)+" ",v){for(P=0;P<c.length;P++)for(E=c[P];v.indexOf(" "+E+" ")>-1;)v=v.replace(" "+E+" "," ");A=Wi(v),w!==A&&this.setAttribute("class",A)}}):this):this.attr("class","")},toggleClass:function(o,c){var v,w,E,P,A=typeof o,$=A==="string"||Array.isArray(o);return x(o)?this.each(function(H){m(this).toggleClass(o.call(this,H,gi(this),c),c)}):typeof c=="boolean"&&$?c?this.addClass(o):this.removeClass(o):(v=On(o),this.each(function(){if($)for(P=m(this),E=0;E<v.length;E++)w=v[E],P.hasClass(w)?P.removeClass(w):P.addClass(w);else(o===void 0||A==="boolean")&&(w=gi(this),w&&Ce.set(this,"__className__",w),this.setAttribute&&this.setAttribute("class",w||o===!1?"":Ce.get(this,"__className__")||""))}))},hasClass:function(o){var c,v,w=0;for(c=" "+o+" ";v=this[w++];)if(v.nodeType===1&&(" "+Wi(gi(v))+" ").indexOf(c)>-1)return!0;return!1}});var cs=/\r/g;m.fn.extend({val:function(o){var c,v,w,E=this[0];return arguments.length?(w=x(o),this.each(function(P){var A;this.nodeType===1&&(w?A=o.call(this,P,m(this).val()):A=o,A==null?A="":typeof A=="number"?A+="":Array.isArray(A)&&(A=m.map(A,function($){return $==null?"":$+""})),c=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!c||!("set"in c)||c.set(this,A,"value")===void 0)&&(this.value=A))})):E?(c=m.valHooks[E.type]||m.valHooks[E.nodeName.toLowerCase()],c&&"get"in c&&(v=c.get(E,"value"))!==void 0?v:(v=E.value,typeof v=="string"?v.replace(cs,""):v??"")):void 0}}),m.extend({valHooks:{option:{get:function(o){var c=m.find.attr(o,"value");return c??Wi(m.text(o))}},select:{get:function(o){var c,v,w,E=o.options,P=o.selectedIndex,A=o.type==="select-one",$=A?null:[],H=A?P+1:E.length;for(P<0?w=H:w=A?P:0;w<H;w++)if(v=E[w],(v.selected||w===P)&&!v.disabled&&(!v.parentNode.disabled||!Z(v.parentNode,"optgroup"))){if(c=m(v).val(),A)return c;$.push(c)}return $},set:function(o,c){for(var v,w,E=o.options,P=m.makeArray(c),A=E.length;A--;)w=E[A],(w.selected=m.inArray(m.valHooks.option.get(w),P)>-1)&&(v=!0);return v||(o.selectedIndex=-1),P}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(o,c){if(Array.isArray(c))return o.checked=m.inArray(m(o).val(),c)>-1}},C.checkOn||(m.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var Xi=t.location,Kn={guid:Date.now()},zn=/\?/;m.parseXML=function(o){var c,v;if(!o||typeof o!="string")return null;try{c=new t.DOMParser().parseFromString(o,"text/xml")}catch{}return v=c&&c.getElementsByTagName("parsererror")[0],(!c||v)&&m.error("Invalid XML: "+(v?m.map(v.childNodes,function(w){return w.textContent}).join(` 11`):o)),c};var Nn=/^(?:focusinfocus|focusoutblur)$/,us=function(o){o.stopPropagation()};m.extend(m.event,{trigger:function(o,c,v,w){var E,P,A,$,H,Y,le,ue,ie=[v||_],we=k.call(o,"type")?o.type:o,De=k.call(o,"namespace")?o.namespace.split("."):[];if(P=ue=A=v=v||_,!(v.nodeType===3||v.nodeType===8)&&!Nn.test(we+m.event.triggered)&&(we.indexOf(".")>-1&&(De=we.split("."),we=De.shift(),De.sort()),H=we.indexOf(":")<0&&"on"+we,o=o[m.expando]?o:new m.Event(we,typeof o=="object"&&o),o.isTrigger=w?2:3,o.namespace=De.join("."),o.rnamespace=o.namespace?new RegExp("(^|\\.)"+De.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,o.result=void 0,o.target||(o.target=v),c=c==null?[o]:m.makeArray(c,[o]),le=m.event.special[we]||{},!(!w&&le.trigger&&le.trigger.apply(v,c)===!1))){if(!w&&!le.noBubble&&!h(v)){for($=le.delegateType||we,Nn.test($+we)||(P=P.parentNode);P;P=P.parentNode)ie.push(P),A=P;
vendor: 13,437 bytes, lines 11-13
11A===(v.ownerDocument||_)&&ie.push(A.defaultView||A.parentWindow||t)}for(E=0;(P=ie[E++])&&!o.isPropagationStopped();)ue=P,o.type=E>1?$:le.bindType||we,Y=(Ce.get(P,"events")||Object.create(null))[o.type]&&Ce.get(P,"handle"),Y&&Y.apply(P,c),Y=H&&P[H],Y&&Y.apply&&mt(P)&&(o.result=Y.apply(P,c),o.result===!1&&o.preventDefault());return o.type=we,!w&&!o.isDefaultPrevented()&&(!le._default||le._default.apply(ie.pop(),c)===!1)&&mt(v)&&H&&x(v[we])&&!h(v)&&(A=v[H],A&&(v[H]=null),m.event.triggered=we,o.isPropagationStopped()&&ue.addEventListener(we,us),v[we](),o.isPropagationStopped()&&ue.removeEventListener(we,us),m.event.triggered=void 0,A&&(v[H]=A)),o.result}},simulate:function(o,c,v){var w=m.extend(new m.Event,v,{type:o,isSimulated:!0});m.event.trigger(w,null,c)}}),m.fn.extend({trigger:function(o,c){return this.each(function(){m.event.trigger(o,c,this)})},triggerHandler:function(o,c){var v=this[0];if(v)return m.event.trigger(o,c,v,!0)}});var fs=/\[\]$/,As=/\r?\n/g,He=/^(?:submit|button|image|reset|file)$/i,Ei=/^(?:input|select|textarea|keygen)/i;function rt(o,c,v,w){var E;if(Array.isArray(c))m.each(c,function(P,A){v||fs.test(o)?w(o,A):rt(o+"["+(typeof A=="object"&&A!=null?P:"")+"]",A,v,w)});else if(!v&&O(c)==="object")for(E in c)rt(o+"["+E+"]",c[E],v,w);else w(o,c)}m.param=function(o,c){var v,w=[],E=function(P,A){var $=x(A)?A():A;w[w.length]=encodeURIComponent(P)+"="+encodeURIComponent($??"")};if(o==null)return"";if(Array.isArray(o)||o.jquery&&!m.isPlainObject(o))m.each(o,function(){E(this.name,this.value)});else for(v in o)rt(v,o[v],c,E);return w.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var o=m.prop(this,"elements");return o?m.makeArray(o):this}).filter(function(){var o=this.type;return this.name&&!m(this).is(":disabled")&&Ei.test(this.nodeName)&&!He.test(o)&&(this.checked||!Kt.test(o))}).map(function(o,c){var v=m(this).val();return v==null?null:Array.isArray(v)?m.map(v,function(w){return{name:c.name,value:w.replace(As,`\r 12`)}}):{name:c.name,value:v.replace(As,`\r 13`)}}).get()}});var Ds=/%20/g,hs=/#.*$/,ps=/([?&])_=[^&]*/,ms=/^(.*?):[ \t]*([^\r\n]*)$/mg,an=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,gs=/^(?:GET|HEAD)$/,Hn=/^\/\//,Pt={},Fi={},vs="*/".concat("*"),Qn=_.createElement("a");Qn.href=Xi.href;function Os(o){return function(c,v){typeof c!="string"&&(v=c,c="*");var w,E=0,P=c.toLowerCase().match(dt)||[];if(x(v))for(;w=P[E++];)w[0]==="+"?(w=w.slice(1)||"*",(o[w]=o[w]||[]).unshift(v)):(o[w]=o[w]||[]).push(v)}}function ys(o,c,v,w){var E={},P=o===Fi;function A($){var H;return E[$]=!0,m.each(o[$]||[],function(Y,le){var ue=le(c,v,w);if(typeof ue=="string"&&!P&&!E[ue])return c.dataTypes.unshift(ue),A(ue),!1;if(P)return!(H=ue)}),H}return A(c.dataTypes[0])||!E["*"]&&A("*")}function jn(o,c){var v,w,E=m.ajaxSettings.flatOptions||{};for(v in c)c[v]!==void 0&&((E[v]?o:w||(w={}))[v]=c[v]);return w&&m.extend(!0,o,w),o}function Ks(o,c,v){for(var w,E,P,A,$=o.contents,H=o.dataTypes;H[0]==="*";)H.shift(),w===void 0&&(w=o.mimeType||c.getResponseHeader("Content-Type"));if(w){for(E in $)if($[E]&&$[E].test(w)){H.unshift(E);break}}if(H[0]in v)P=H[0];else{for(E in v){if(!H[0]||o.converters[E+" "+H[0]]){P=E;break}A||(A=E)}P=P||A}if(P)return P!==H[0]&&H.unshift(P),v[P]}function zs(o,c,v,w){var E,P,A,$,H,Y={},le=o.dataTypes.slice();if(le[1])for(A in o.converters)Y[A.toLowerCase()]=o.converters[A];for(P=le.shift();P;)if(o.responseFields[P]&&(v[o.responseFields[P]]=c),!H&&w&&o.dataFilter&&(c=o.dataFilter(c,o.dataType)),H=P,P=le.shift(),P){if(P==="*")P=H;else if(H!=="*"&&H!==P){if(A=Y[H+" "+P]||Y["* "+P],!A){for(E in Y)if($=E.split(" "),$[1]===P&&(A=Y[H+" "+$[0]]||Y["* "+$[0]],A)){A===!0?A=Y[E]:Y[E]!==!0&&(P=$[0],le.unshift($[1]));break}}if(A!==!0)if(A&&o.throws)c=A(c);else try{c=A(c)}catch(ue){return{state:"parsererror",error:A?ue:"No conversion from "+H+" to "+P}}}}return{state:"success",data:c}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Xi.href,type:"GET",isLocal:an.test(Xi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":vs,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,c){return c?jn(jn(o,m.ajaxSettings),c):jn(m.ajaxSettings,o)},ajaxPrefilter:Os(Pt),ajaxTransport:Os(Fi),ajax:function(o,c){typeof o=="object"&&(c=o,o=void 0),c=c||{};var v,w,E,P,A,$,H,Y,le,ue,ie=m.ajaxSetup({},c),we=ie.context||ie,De=ie.context&&(we.nodeType||we.jquery)?m(we):m.event,Ge=m.Deferred(),je=m.Callbacks("once memory"),At=ie.statusCode||{},_t={},Pi={},vi="canceled",Fe={readyState:0,getResponseHeader:function($e){var yt;if(H){if(!P)for(P={};yt=ms.exec(E);)P[yt[1].toLowerCase()+" "]=(P[yt[1].toLowerCase()+" "]||[]).concat(yt[2]);yt=P[$e.toLowerCase()+" "]}return yt==null?null:yt.join(", ")},getAllResponseHeaders:function(){return H?E:null},setRequestHeader:function($e,yt){return H==null&&($e=Pi[$e.toLowerCase()]=Pi[$e.toLowerCase()]||$e,_t[$e]=yt),this},overrideMimeType:function($e){return H==null&&(ie.mimeType=$e),this},statusCode:function($e){var yt;if($e)if(H)Fe.always($e[Fe.status]);else for(yt in $e)At[yt]=[At[yt],$e[yt]];return this},abort:function($e){var yt=$e||vi;return v&&v.abort(yt),ki(0,yt),this}};if(Ge.promise(Fe),ie.url=((o||ie.url||Xi.href)+"").replace(Hn,Xi.protocol+"//"),ie.type=c.method||c.type||ie.method||ie.type,ie.dataTypes=(ie.dataType||"*").toLowerCase().match(dt)||[""],ie.crossDomain==null){$=_.createElement("a");try{$.href=ie.url,$.href=$.href,ie.crossDomain=Qn.protocol+"//"+Qn.host!=$.protocol+"//"+$.host}catch{ie.crossDomain=!0}}if(ie.data&&ie.processData&&typeof ie.data!="string"&&(ie.data=m.param(ie.data,ie.traditional)),ys(Pt,ie,c,Fe),H)return Fe;Y=m.event&&ie.global,Y&&m.active++===0&&m.event.trigger("ajaxStart"),ie.type=ie.type.toUpperCase(),ie.hasContent=!gs.test(ie.type),w=ie.url.replace(hs,""),ie.hasContent?ie.data&&ie.processData&&(ie.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ie.data=ie.data.replace(Ds,"+")):(ue=ie.url.slice(w.length),ie.data&&(ie.processData||typeof ie.data=="string")&&(w+=(zn.test(w)?"&":"?")+ie.data,delete ie.data),ie.cache===!1&&(w=w.replace(ps,"$1"),ue=(zn.test(w)?"&":"?")+"_="+Kn.guid+++ue),ie.url=w+ue),ie.ifModified&&(m.lastModified[w]&&Fe.setRequestHeader("If-Modified-Since",m.lastModified[w]),m.etag[w]&&Fe.setRequestHeader("If-None-Match",m.etag[w])),(ie.data&&ie.hasContent&&ie.contentType!==!1||c.contentType)&&Fe.setRequestHeader("Content-Type",ie.contentType),Fe.setRequestHeader("Accept",ie.dataTypes[0]&&ie.accepts[ie.dataTypes[0]]?ie.accepts[ie.dataTypes[0]]+(ie.dataTypes[0]!=="*"?", "+vs+"; q=0.01":""):ie.accepts["*"]);for(le in ie.headers)Fe.setRequestHeader(le,ie.headers[le]);if(ie.beforeSend&&(ie.beforeSend.call(we,Fe,ie)===!1||H))return Fe.abort();if(vi="abort",je.add(ie.complete),Fe.done(ie.success),Fe.fail(ie.error),v=ys(Fi,ie,c,Fe),!v)ki(-1,"No Transport");else{if(Fe.readyState=1,Y&&De.trigger("ajaxSend",[Fe,ie]),H)return Fe;ie.async&&ie.timeout>0&&(A=t.setTimeout(function(){Fe.abort("timeout")},ie.timeout));try{H=!1,v.send(_t,ki)}catch($e){if(H)throw $e;ki(-1,$e)}}function ki($e,yt,Yi,Vt){var yi,yn,Ii,Ai,Di,ri=yt;H||(H=!0,A&&t.clearTimeout(A),v=void 0,E=Vt||"",Fe.readyState=$e>0?4:0,yi=$e>=200&&$e<300||$e===304,Yi&&(Ai=Ks(ie,Fe,Yi)),!yi&&m.inArray("script",ie.dataTypes)>-1&&m.inArray("json",ie.dataTypes)<0&&(ie.converters["text script"]=function(){}),Ai=zs(ie,Ai,Fe,yi),yi?(ie.ifModified&&(Di=Fe.getResponseHeader("Last-Modified"),Di&&(m.lastModified[w]=Di),Di=Fe.getResponseHeader("etag"),Di&&(m.etag[w]=Di)),$e===204||ie.type==="HEAD"?ri="nocontent":$e===304?ri="notmodified":(ri=Ai.state,yn=Ai.data,Ii=Ai.error,yi=!Ii)):(Ii=ri,($e||!ri)&&(ri="error",$e<0&&($e=0))),Fe.status=$e,Fe.statusText=(yt||ri)+"",yi?Ge.resolveWith(we,[yn,ri,Fe]):Ge.rejectWith(we,[Fe,ri,Ii]),Fe.statusCode(At),At=void 0,Y&&De.trigger(yi?"ajaxSuccess":"ajaxError",[Fe,ie,yi?yn:Ii]),je.fireWith(we,[Fe,ri]),Y&&(De.trigger("ajaxComplete",[Fe,ie]),--m.active||m.event.trigger("ajaxStop")))}return Fe},getJSON:function(o,c,v){return m.get(o,c,v,"json")},getScript:function(o,c){return m.get(o,void 0,c,"script")}}),m.each(["get","post"],function(o,c){m[c]=function(v,w,E,P){return x(w)&&(P=P||E,E=w,w=void 0),m.ajax(m.extend({url:v,type:c,dataType:P,data:w,success:E},m.isPlainObject(v)&&v))}}),m.ajaxPrefilter(function(o){var c;for(c in o.headers)c.toLowerCase()==="content-type"&&(o.contentType=o.headers[c]||"")}),m._evalUrl=function(o,c,v){return m.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(w){m.globalEval(w,c,v)}})},m.fn.extend({wrapAll:function(o){var c;return this[0]&&(x(o)&&(o=o.call(this[0])),c=m(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){for(var v=this;v.firstElementChild;)v=v.firstElementChild;return v}).append(this)),this},wrapInner:function(o){return x(o)?this.each(function(c){m(this).wrapInner(o.call(this,c))}):this.each(function(){var c=m(this),v=c.contents();v.length?v.wrapAll(o):c.append(o)})},wrap:function(o){var c=x(o);return this.each(function(v){m(this).wrapAll(c?o.call(this,v):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(o){return!m.expr.pseudos.visible(o)},m.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Je={0:200,1223:204},$n=m.ajaxSettings.xhr();C.cors=!!$n&&"withCredentials"in $n,C.ajax=$n=!!$n,m.ajaxTransport(function(o){var c,v;if(C.cors||$n&&!o.crossDomain)return{send:function(w,E){var P,A=o.xhr();if(A.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(P in o.xhrFields)A[P]=o.xhrFields[P];o.mimeType&&A.overrideMimeType&&A.overrideMimeType(o.mimeType),!o.crossDomain&&!w["X-Requested-With"]&&(w["X-Requested-With"]="XMLHttpRequest");for(P in w)A.setRequestHeader(P,w[P]);c=function($){return function(){c&&(c=v=A.onload=A.onerror=A.onabort=A.ontimeout=A.onreadystatechange=null,$==="abort"?A.abort():$==="error"?typeof A.status!="number"?E(0,"error"):E(A.status,A.statusText):E(Je[A.status]||A.status,A.statusText,(A.responseType||"text")!=="text"||typeof A.responseText!="string"?{binary:A.response}:{text:A.responseText},A.getAllResponseHeaders()))}},A.onload=c(),v=A.onerror=A.ontimeout=c("error"),A.onabort!==void 0?A.onabort=v:A.onreadystatechange=function(){A.readyState===4&&t.setTimeout(function(){c&&v()})},c=c("abort");try{A.send(o.hasContent&&o.data||null)}catch($){if(c)throw $}},abort:function(){c&&c()}}}),m.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return m.globalEval(o),o}}}),m.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}),m.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var c,v;return{send:function(w,E){c=m("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",v=function(P){c.remove(),v=null,P&&E(P.type==="error"?404:200,P.type)}),_.head.appendChild(c[0])},abort:function(){v&&v()}}}});var si=[],on=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var o=si.pop()||m.expando+"_"+Kn.guid++;return this[o]=!0,o}}),m.ajaxPrefilter("json jsonp",function(o,c,v){var w,E,P,A=o.jsonp!==!1&&(on.test(o.url)?"url":typeof o.data=="string"&&(o.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&on.test(o.data)&&"data");if(A||o.dataTypes[0]==="jsonp")return w=o.jsonpCallback=x(o.jsonpCallback)?o.jsonpCallback():o.jsonpCallback,A?o[A]=o[A].replace(on,"$1"+w):o.jsonp!==!1&&(o.url+=(zn.test(o.url)?"&":"?")+o.jsonp+"="+w),o.converters["script json"]=function(){return P||m.error(w+" was not called"),P[0]},o.dataTypes[0]="json",E=t[w],t[w]=function(){P=arguments},v.always(function(){E===void 0?m(t).removeProp(w):t[w]=E,o[w]&&(o.jsonpCallback=c.jsonpCallback,si.push(w)),P&&x(E)&&E(P[0]),P=E=void 0}),"script"}),C.createHTMLDocument=function(){var o=_.implementation.createHTMLDocument("").body;return o.innerHTML="<form></form><form></form>",o.childNodes.length===2}(),m.parseHTML=function(o,c,v){if(typeof o!="string")return[];typeof c=="boolean"&&(v=c,c=!1);var w,E,P;return c||(C.createHTMLDocument?(c=_.implementation.createHTMLDocument(""),w=c.createElement("base"),w.href=_.location.href,c.head.appendChild(w)):c=_),E=Pe.exec(o),P=!v&&[],E?[c.createElement(E[1])]:(E=qt([o],c,P),P&&P.length&&m(P).remove(),m.merge([],E.childNodes))},m.fn.load=function(o,c,v){var w,E,P,A=this,$=o.indexOf(" ");return $>-1&&(w=Wi(o.slice($)),o=o.slice(0,$)),x(c)?(v=c,c=void 0):c&&typeof c=="object"&&(E="POST"),A.length>0&&m.ajax({url:o,type:E||"GET",dataType:"html",data:c}).done(function(H){P=arguments,A.html(w?m("<div>
13").append(m.parseHTML(H)).find(w):H)}).always(v&&function(H,Y){A.each(function(){v.apply(this,P||[H.responseText,Y,H])})}),this},m.expr.pseudos.animated=function(o){return m.grep(m.timers,function(c){return o===c.elem}).length},m.offset={setOffset:function(o,c,v){var w,E,P,A,$,H,Y,le=m.css(o,"position"),ue=m(o),ie={};le==="static"&&(o.style.position="relative"),$=ue.offset(),P=m.css(o,"top"),H=m.css(o,"left"),Y=(le==="absolute"||le==="fixed")&&(P+H).indexOf("auto")>-1,Y?(w=ue.position(),A=w.top,E=w.left):(A=parseFloat(P)||0,E=parseFloat(H)||0),x(c)&&(c=c.call(o,v,m.extend({},$))),c.top!=null&&(ie.top=c.top-$.top+A),c.left!=null&&(ie.left=c.left-$.left+E),"using"in c?c.using.call(o,ie):ue.css(ie)}},m.fn.extend({offset:function(o){if(arguments.length)return o===void 0?this:this.each(function(E){m.offset.setOffset(this,o,E)});var c,v,w=this[0];if(w)return w.getClientRects().length?(c=w.getBoundingClientRect(),v=w.ownerDocument.defaultView,{top:c.top+v.pageYOffset,left:c.left+v.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var o,c,v,w=this[0],E={top:0,left:0};if(m.css(w,"position")==="fixed")c=w.getBoundingClientRect();else{for(c=this.offset(),v=w.ownerDocument,o=w.offsetParent||v.documentElement;o&&(o===v.body||o===v.documentElement)&&m.css(o,"position")==="static";)o=o.parentNode;o&&o!==w&&o.nodeType===1&&(E=m(o).offset(),E.top+=m.css(o,"borderTopWidth",!0),E.left+=m.css(o,"borderLeftWidth",!0))}return{top:c.top-E.top-m.css(w,"marginTop",!0),left:c.left-E.left-m.css(w,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent;o&&m.css(o,"position")==="static";)o=o.offsetParent;return o||Jt})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,c){var v=c==="pageYOffset";m.fn[o]=function(w){return pt(this,function(E,P,A){var $;if(h(E)?$=E:E.nodeType===9&&($=E.defaultView),A===void 0)return $?$[c]:E[P];$?$.scrollTo(v?$.pageXOffset:A,v?A:$.pageYOffset):E[P]=A},o,w,arguments.length)}}),m.each(["top","left"],function(o,c){m.cssHooks[c]=kn(C.pixelPosition,function(v,w){if(w)return w=mi(v,c),En.test(w)?m(v).position()[c]+"px":w})}),m.each({Height:"height",Width:"width"},function(o,c){m.each({padding:"inner"+o,content:c,"":"outer"+o},function(v,w){m.fn[w]=function(E,P){var A=arguments.length&&(v||typeof E!="boolean"),$=v||(E===!0||P===!0?"margin":"border");return pt(this,function(H,Y,le){var ue;return h(H)?w.indexOf("outer")===0?H["inner"+o]:H.document.documentElement["client"+o]:H.nodeType===9?(ue=H.documentElement,Math.max(H.body["scroll"+o],ue["scroll"+o],H.body["offset"+o],ue["offset"+o],ue["client"+o])):le===void 0?m.css(H,Y,$):m.style(H,Y,le,$)},c,A?E:void 0,A)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(o,c){m.fn[c]=function(v){return this.on(c,v)}}),m.fn.extend({bind:function(o,c,v){return this.on(o,null,c,v)},unbind:function(o,c){return this.off(o,null,c)},delegate:function(o,c,v,w){return this.on(c,o,v,w)},undelegate:function(o,c,v){return arguments.length===1?this.off(o,"**"):this.off(c,o||"**",v)},hover:function(o,c){return this.on("mouseenter",o).on("mouseleave",c||o)}}),m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(o,c){m.fn[c]=function(v,w){return arguments.length>0?this.on(c,null,v,w):this.trigger(c)}});var Ns=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;m.proxy=function(o,c){var v,w,E;if(typeof c=="string"&&(v=o[c],c=o,o=v),!!x(o))return w=r.call(arguments,2),E=function(){return o.apply(c||this,w.concat(r.call(arguments)))},E.guid=o.guid=o.guid||m.guid++,E},m.holdReady=function(o){o?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=Z,m.isFunction=x,m.isWindow=h,m.camelCase=gt,m.type=O,m.now=Date.now,m.isNumeric=function(o){var c=m.type(o);
13return(c==="number"||c==="string")&&!isNaN(o-parseFloat(o))},m.trim=function(o){return o==null?"":(o+"").replace(Ns,"$1")};var Qs=t.jQuery,ws=t.$;return m.noConflict=function(o){return t.$===m&&(t.$=ws),o&&t.jQuery===m&&(t.jQuery=Qs),m},typeof a>"u"&&(t.jQuery=t.$=m),m})})(ua);var fa=ua.exports;const q=ca(fa),Ga=()=>{const i=q(".js-mobile-menu"),t=q(".js-toggle-mobile-menu"),a=i.find(".js-mobile-menu-panel"),l=i.find(".js-close-mobile-menu"),n=t.find("svg").eq(0),r=t.find("svg").eq(1);i.addClass("hidden"),a.addClass("translate-x-full"),r.addClass("hidden");const u=()=>{q("body").addClass("overflow-hidden"),i.removeClass("hidden"),setTimeout(()=>{a.removeClass("translate-x-full")},10),n.addClass("hidden"),r.removeClass("hidden")},f=()=>{a.addClass("translate-x-full"),setTimeout(()=>{i.addClass("hidden"),q("body").removeClass("overflow-hidden")},300),n.removeClass("hidden"),r.addClass("hidden")};t.on("click",()=>{i.hasClass("hidden")?u():f()}),l.on("click",f),q(window).on("resize",()=>{q(window).width()>=992&&f()})},Ua=()=>{const i=q(".js-modal-open-search"),t=q(".js-modal-close-search"),a=q(".js-modal-search-layer"),l=q(".js-modal-search-result-anim");i.on("click",function(){q(this).addClass("hidden"),t.removeClass("hidden"),a.removeClass("hidden"),l.removeClass("search-modal-anim"),q("body").addClass("overflow-hidden")});const n=()=>{t.addClass("hidden"),i.removeClass("hidden"),a.addClass("hidden"),l.addClass("search-modal-anim"),q("body").removeClass("overflow-hidden")};t.on("click",n),a.on("click",n);const r=q(".js-modal-search-input"),u=q(".js-modal-search-wrapper"),f=q(".js-modal-search-loader");q(".js-delete-input-modal").on("click",function(){r.length&&(r.val(""),q(this).addClass("hidden"),u.html(""))});let p;r.on("input",function(){clearTimeout(p);const b=r.siblings(".js-delete-input-modal");r.val().length>0?b.removeClass("hidden"):b.addClass("hidden"),p=setTimeout(()=>{y(r.val())},1e3)}),r.on("keydown",function(b){b.key==="Enter"&&b.preventDefault()});function y(b){r.prop("disabled",!0),u.html(""),f.removeClass("hidden"),q.ajax({url:localize.ajax_url,dataType:"JSON",type:"POST",data:{action:"modal_filter_search",search:b},success(k){u.html("").append(k.html),f.addClass("hidden"),r.prop("disabled",!1),r.focus()}})}};var Xa={exports:{}};(function(i,t){(function(a){i.exports=a(fa)})(function(a){var l=window.Slick||{};l=function(){var n=0;function r(u,f){var p=this,y;p.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(u),appendDots:a(u),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,k){return a('<button type="button" />').text(k+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},p.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(p,p.initials),p.activeBreakpoint=null,p.animType=null,p.animProp=null,p.breakpoints=[],p.breakpointSettings=[],p.cssTransitions=!1,p.focussed=!1,p.interrupted=!1,p.hidden="hidden",p.paused=!0,p.positionProp=null,p.respondTo=null,p.rowCount=1,p.shouldClick=!0,p.$slider=a(u),p.$slidesCache=null,p.transformType=null,p.transitionType=null,p.visibilityChange="visibilitychange",p.windowWidth=0,p.windowTimer=null,y=a(u).data("slick")||{},p.options=a.extend({},p.defaults,f,y),p.currentSlide=p.options.initialSlide,p.originalSettings=p.options,typeof document.mozHidden<"u"?(p.hidden="mozHidden",p.visibilityChange="mozvisibilitychange"):typeof document.webkitHidden<"u"&&(p.hidden="webkitHidden",p.visibilityChange="webkitvisibilitychange"),p.autoPlay=a.proxy(p.autoPlay,p),p.autoPlayClear=a.proxy(p.autoPlayClear,p),p.autoPlayIterator=a.proxy(p.autoPlayIterator,p),p.changeSlide=a.proxy(p.changeSlide,p),p.clickHandler=a.proxy(p.clickHandler,p),p.selectHandler=a.proxy(p.selectHandler,p),p.setPosition=a.proxy(p.setPosition,p),p.swipeHandler=a.proxy(p.swipeHandler,p),p.dragHandler=a.proxy(p.dragHandler,p),p.keyHandler=a.proxy(p.keyHandler,p),p.instanceUid=n++,p.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,p.registerBreakpoints(),p.init(!0)}return r}(),l.prototype.activateADA=function(){var n=this;n.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},l.prototype.addSlide=l.prototype.slickAdd=function(n,r,u){var f=this;if(typeof r=="boolean")u=r,r=null;else if(r<0||r>=f.slideCount)return!1;f.unload(),typeof r=="number"?r===0&&f.$slides.length===0?a(n).appendTo(f.$slideTrack):u?a(n).insertBefore(f.$slides.eq(r)):a(n).insertAfter(f.$slides.eq(r)):u===!0?a(n).prependTo(f.$slideTrack):a(n).appendTo(f.$slideTrack),f.$slides=f.$slideTrack.children(this.options.slide),f.$slideTrack.children(this.options.slide).detach(),f.$slideTrack.append(f.$slides),f.$slides.each(function(p,y){a(y).attr("data-slick-index",p)}),f.$slidesCache=f.$slides,f.reinit()},l.prototype.animateHeight=function(){var n=this;if(n.options.slidesToShow===1&&n.options.adaptiveHeight===!0&&n.options.vertical===!1){var r=n.$slides.eq(n.currentSlide).outerHeight(!0);n.$list.animate({height:r},n.options.speed)}},l.prototype.animateSlide=function(n,r){var u={},f=this;f.animateHeight(),f.options.rtl===!0&&f.options.vertical===!1&&(n=-n),f.transformsEnabled===!1?f.options.vertical===!1?f.$slideTrack.animate({left:n},f.options.speed,f.options.easing,r):f.$slideTrack.animate({top:n},f.options.speed,f.options.easing,r):f.cssTransitions===!1?(f.options.rtl===!0&&(f.currentLeft=-f.currentLeft),a({animStart:f.currentLeft}).animate({animStart:n},{duration:f.options.speed,easing:f.options.easing,step:function(p){p=Math.ceil(p),f.options.vertical===!1?(u[f.animType]="translate("+p+"px, 0px)",f.$slideTrack.css(u)):(u[f.animType]="translate(0px,"+p+"px)",f.$
vendor: 4,202 bytes, line 13
13slideTrack.css(u))},complete:function(){r&&r.call()}})):(f.applyTransition(),n=Math.ceil(n),f.options.vertical===!1?u[f.animType]="translate3d("+n+"px, 0px, 0px)":u[f.animType]="translate3d(0px,"+n+"px, 0px)",f.$slideTrack.css(u),r&&setTimeout(function(){f.disableTransition(),r.call()},f.options.speed))},l.prototype.getNavTarget=function(){var n=this,r=n.options.asNavFor;return r&&r!==null&&(r=a(r).not(n.$slider)),r},l.prototype.asNavFor=function(n){var r=this,u=r.getNavTarget();u!==null&&typeof u=="object"&&u.each(function(){var f=a(this).slick("getSlick");f.unslicked||f.slideHandler(n,!0)})},l.prototype.applyTransition=function(n){var r=this,u={};r.options.fade===!1?u[r.transitionType]=r.transformType+" "+r.options.speed+"ms "+r.options.cssEase:u[r.transitionType]="opacity "+r.options.speed+"ms "+r.options.cssEase,r.options.fade===!1?r.$slideTrack.css(u):r.$slides.eq(n).css(u)},l.prototype.autoPlay=function(){var n=this;n.autoPlayClear(),n.slideCount>n.options.slidesToShow&&(n.autoPlayTimer=setInterval(n.autoPlayIterator,n.options.autoplaySpeed))},l.prototype.autoPlayClear=function(){var n=this;n.autoPlayTimer&&clearInterval(n.autoPlayTimer)},l.prototype.autoPlayIterator=function(){var n=this,r=n.currentSlide+n.options.slidesToScroll;!n.paused&&!n.interrupted&&!n.focussed&&(n.options.infinite===!1&&(n.direction===1&&n.currentSlide+1===n.slideCount-1?n.direction=0:n.direction===0&&(r=n.currentSlide-n.options.slidesToScroll,n.currentSlide-1===0&&(n.direction=1))),n.slideHandler(r))},l.prototype.buildArrows=function(){var n=this;n.options.arrows===!0&&(n.$prevArrow=a(n.options.prevArrow).addClass("slick-arrow"),n.$nextArrow=a(n.options.nextArrow).addClass("slick-arrow"),n.slideCount>n.options.slidesToShow?(n.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),n.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.prependTo(n.options.appendArrows),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.appendTo(n.options.appendArrows),n.options.infinite!==!0&&n.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):n.$prevArrow.add(n.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},l.prototype.buildDots=function(){var n=this,r,u;if(n.options.dots===!0&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),u=a("<ul />").addClass(n.options.dotsClass),r=0;r<=n.getDotCount();r+=1)u.append(a("<li />").append(n.options.customPaging.call(this,n,r)));n.$dots=u.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},l.prototype.buildOut=function(){var n=this;n.$slides=n.$slider.children(n.options.slide+":not(.slick-cloned)").addClass("slick-slide"),n.slideCount=n.$slides.length,n.$slides.each(function(r,u){a(u).attr("data-slick-index",r).data("originalStyling",a(u).attr("style")||"")}),n.$slider.addClass("slick-slider"),n.$slideTrack=n.slideCount===0?a('<div class="slick-track"/>').appendTo(n.$slider):n.$slides.wrapAll('<div class="slick-track"/>').parent(),n.$list=n.$slideTrack.wrap('<div class="slick-list"/>').parent(),n.$slideTrack.css("opacity",0),(n.options.centerMode===!0||n.options.swipeToSlide===!0)&&(n.options.slidesToScroll=1),a("img[data-lazy]",n.$slider).not("[src]").addClass("slick-loading"),n.setupInfinite(),n.buildArrows(),n.buildDots(),n.updateDots(),n.setSlideClasses(typeof n.currentSlide=="number"?n.currentSlide:0),n.options.draggable===!0&&n.$list.addClass("draggable")},l.prototype.buildRows=function(){var n=this,r,u,f,p,y,b,k;if(p=document.createDocumentFragment(),b=n.$slider.children(),n.options.rows>0){for(k=n.options.slidesPerRow*n.options.rows,y=Math.ceil(b.length/k),r=0;r<y;r++){var I=document.createElement("div");for(u=0;u<n.options.rows;u++){var z=document.createElement("div");for(f=0;f<n.options.slidesPerRow;f++){var C=r*k+(u*n.options.slidesPerRow+f);b.get(C)&&z.appendChild(b.get(C))}I.appendChild(z)}p.appendChild(I)}n.$slider.empty().append(p),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},l.prototype.checkResponsive=function(n,r){var u=this,f,p,y,b=!1,k=u.$
13slider.width(),I=window.innerWidth||a(window).width();if(u.respondTo==="window"?y=I:u.respondTo==="slider"?y=k:u.respondTo==="min"&&(y=Math.min(I,k)),u.options.responsive&&u.options.responsive.length&&u.options.responsive!==null){p=null;for(f in u.breakpoints)u.breakpoints.hasOwnProperty(f)&&(u.originalSettings.mobileFirst===!1?y<u.breakpoints[f]&&(p=u.breakpoints[f]):y>u.breakpoints[f]&&(p=u.breakpoints[f]));p!==null?u.activeBreakpoint!==null?(p!==u.activeBreakpoint||r)&&(u.activeBreakpoint=p,u.breakpointSettings[p]==="unslick"?u.unslick(p):(u.options=a.extend({},u.originalSettings,u.breakpointSettings[p]),n===!0&&(u.currentSlide=u.options.initialSlide),u.refresh(n)),b=p):(u.activeBreakpoint=p,u.breakpointSettings[p]==="unslick"?u.unslick(p):(u.options=a.extend({},u.originalSettings,u.breakpointSettings[p]),n===!0&&(u.currentSlide=u.options.initialSlide),u.refresh(n)),b=p):u.activeBreakpoint!==null&&(u.activeBreakpoint=null,u.options=u.originalSettings,n===!0&&(u.currentSlide=u.options.initialSlide),u.refresh(n),b=p),!n&&b!==!1&&u.$slider.trigger("breakpoint",[u,b])}},l.prototype.changeSlide=function(n,r){var u=this,f=a(n.currentTarget),p,y,b;switch(f.is("a")&&n.preventDefault(),f.is("li")||(f=f.closest("li")),b=u.slideCount%u.options.slidesToScroll!==0,p=b?0:(u.slideCount-u.currentSlide)%u.options.slidesToScroll,n.data.message){case"previous":y=p===0?u.options.slidesToScroll:u.options.slidesToShow-p,u.slideCount>u.options.slidesToShow&&u.slideHandler(u.currentSlide-y,!1,r);break;case"next":y=p===0?u.options.slidesToScroll:p,u.slideCount>u.options.slidesToShow&&u.slideHandler(u.currentSlide+y,!1,r);break;case"index":var k=n.data.index===0?0:n.data.index||f.index()*u.options.slidesToScroll;u.slideHandler(u.checkNavigable(k),!1,r),f.children().trigger("focus");break;default:return}},l.prototype.checkNavigable=function(n){var r=this,u,f;if(u=r.getNavigableIndexes(),f=0,n>u[u.length-1])n=u[u.length-1];else for(var p in u){if(n<u[p]){n=f;break}f=u[p]}return n},l.prototype.cleanUpEvents=function(){var n=this;n.options.dots&&n.$dots!==null&&(a("li",n.$dots).off("click.slick",n.changeSlide).off("mouseenter.slick",a.proxy(n.interrupt,n,!0)).off("mouseleave.slick",a.proxy(n.interrupt,n,!1)),n.options.accessibility===!0&&n.$dots.off("keydown.slick",n.keyHandler)),n.$slider.off("focus.slick blur.slick"),n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow&&n.$prevArrow.off("click.slick",n.changeSlide),n.$nextArrow&&n.$nextArrow.off("click.slick",n.changeSlide),n.options.accessibility===!0&&(n.$prevArrow&&n.$prevArrow.off("keydown.slick",n.keyHandler),n.$nextArrow&&n.$nextArrow.off("keydown.slick",n.keyHandler))),n.$list.off("touchstart.slick mousedown.slick",n.swipeHandler),n.$list.off("touchmove.slick mousemove.slick",n.swipeHandler),n.$list.off("touchend.slick mouseup.slick",n.swipeHandler),n.$list.off("touchcancel.slick mouseleave.
13slick",n.swipeHandler),n.$list.off("click.slick",n.clickHandler),a(document).off(n.visibilityChange,n.visibility),n.cleanUpSlideEvents(),n.options.accessibility===!0&&n.$list.off("keydown.slick",n.keyHandler),n.options.focusOnSelect===!0&&a(n.$slideTrack).children().off("click.slick",n.selectHandler),a(window).off("orientationchange.slick.slick-"+n.instanceUid,n.orientationChange),a(window).off("resize.slick.slick-"+n.instanceUid,n.resize),a("[draggable!=true]",n.$slideTrack).off("dragstart",n.preventDefault),a(window).off("load.slick.slick-"+n.instanceUid,n.setPosition)},l.prototype.cleanUpSlideEvents=function(){var n=this;n.$list.off("mouseenter.slick",a.proxy(n.interrupt,n,!0)),n.$list.off("mouseleave.slick",a.proxy(n.interrupt,n,!1))},l.prototype.cleanUpRows=function(){var n=this,r;n.options.rows>0&&(r=n.$slides.children().children(),r.removeAttr("style"),n.$slider.empty().append(r))},l.prototype.clickHandler=function(n){var r=this;r.shouldClick===!1&&(n.stopImmediatePropagation(),n.stopPropagation(),n.preventDefault())},l.prototype.destroy=function(n){var r=this;r.autoPlayClear(),r.touchObject={},r.cleanUpEvents(),a(".slick-cloned",r.$slider).detach(),r.$dots&&r.$dots.remove(),r.$prevArrow&&r.$prevArrow.length&&(r.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),r.htmlExpr.test(r.options.prevArrow)&&r.$prevArrow.remove()),r.$nextArrow&&r.$nextArrow.length&&(r.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),r.htmlExpr.test(r.options.nextArrow)&&r.$nextArrow.remove()),r.$slides&&(r.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalStyling"))}),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.detach(),r.$list.detach(),r.$slider.append(r.$slides)),r.cleanUpRows(),r.$slider.removeClass("slick-slider"),r.$slider.removeClass("slick-initialized"),r.$slider.removeClass("slick-dotted"),r.unslicked=!0,n||r.$slider.trigger("destroy",[r])},l.prototype.disableTransition=function(n){var r=this,u={};u[r.transitionType]="",r.options.fade===!1?r.$slideTrack.css(u):r.$slides.eq(n).css(u)},l.prototype.fadeSlide=function(n,r){var u=this;u.cssTransitions===!1?(u.$slides.eq(n).css({zIndex:u.options.zIndex}),u.$slides.eq(n).animate({opacity:1},u.options.speed,u.options.easing,r)):(u.applyTransition(n),u.$slides.eq(n).css({opacity:1,zIndex:u.options.zIndex}),r&&setTimeout(function(){u.disableTransition(n),r.call()},u.options.speed))},l.prototype.fadeSlideOut=function(n){var r=this;r.cssTransitions===!1?r.$slides.eq(n).animate({opacity:0,zIndex:r.options.zIndex-2},r.options.speed,r.options.easing):(r.applyTransition(n),r.$slides.eq(n).css({opacity:0,zIndex:r.options.zIndex-2}))},l.prototype.filterSlides=l.prototype.slickFilter=function(n){var r=this;n!==null&&(r.$slidesCache=r.$slides,r.unload(),r.$slideTrack.children(this.options.slide).detach(),r.$slidesCache.filter(n).appendTo(r.$slideTrack),r.reinit())},l.prototype.focusHandler=function(){var n=this;n.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(r){r.stopImmediatePropagation();var u=a(this);setTimeout(function(){n.options.pauseOnFocus&&(n.focussed=u.is(":focus"),n.autoPlay())},0)})},l.prototype.getCurrent=l.prototype.slickCurrentSlide=function(){var n=this;return n.currentSlide},l.prototype.getDotCount=function(){var n=this,r=0,u=0,f=0;if(n.options.infinite===!0)if(n.slideCount<=n.options.slidesToShow)++f;else for(;r<n.slideCount;)++f,r=u+n.options.slidesToScroll,u+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else if(n.options.centerMode===!0)f=n.slideCount;else if(!n.options.asNavFor)f=1+Math.ceil((n.slideCount-n.options.slidesToShow)/n.options.slidesToScroll);else for(;r<n.slideCount;)++f,r=u+n.options.slidesToScroll,u+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return f-1},l.prototype.getLeft=function(n){var r=this,u,f,p=0,y,b;return r.slideOffset=0,f=r.$slides.first().outerHeight(!0),r.options.infinite===!0?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,b=-1,r.options.vertical===!0&&r.options.centerMode===!0&&(r.options.slidesToShow===2?b=-1.5:r.options.slidesToShow===1&&(b=-2)),p=f*r.options.slidesToShow*b),r.slideCount%r.options.slidesToScroll!==0&&n+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(n>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(n-r.slideCount))*r.slideWidth*-1,p=(r.options.slidesToShow-(n-r.slideCount))*f*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,p=r.slideCount%r.options.slidesToScroll*f*-1))):n+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(n+r.options.slidesToShow-r.slideCount)*r.slideWidth,p=(n+r.options.slidesToShow-r.slideCount)*f),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,p=0),r.options.centerMode===!0&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:r.options.centerMode===!0&&r.options.infinite===!0?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:r.options.centerMode===!0&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),r.options.vertical===!1?u=n*r.slideWidth*-1+r.slideOffset:u=n*f*-1+p,r.options.variableWidth===!0&&(r.slideCount<=r.options.slidesToShow||r.options.infinite===!1?y=r.$slideTrack.children(".slick-slide").eq(n):y=r.$slideTrack.children(".slick-slide").eq(n+r.options.slidesToShow),r.options.rtl===!0?y[0]?u=(r.$slideTrack.width()-y[0].offsetLeft-y.width())*-1:u=0:u=y[0]?y[0].offsetLeft*-1:0,r.options.centerMode===!0&&(r.slideCount<=r.options.slidesToShow||r.options.infinite===!1?y=r.$slideTrack.children(".slick-slide").eq(n):y=r.$slideTrack.children(".slick-slide").eq(n+r.options.slidesToShow+1),r.options.rtl===!0?y[0]?u=(r.$slideTrack.width()-y[0].offsetLeft-y.width())*-1:u=0:u=y[0]?y[0].offsetLeft*-1:0,u+=(r.$list.width()-y.outerWidth())/2)),u},l.prototype.getOption=l.prototype.slickGetOption=function(n){var r=this;return r.options[n]},l.prototype.getNavigableIndexes=function(){var n=this,r=0,u=0,f=[],p;for(n.options.infinite===!1?p=n.slideCount:(r=n.options.slidesToScroll*-1,u=n.options.slidesToScroll*-1,p=n.slideCount*2);r<p;)f.push(r),r=u+n.options.slidesToScroll,u+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return f},l.prototype.getSlick=function(){return this},l.prototype.getSlideCount=function(){var n=this,r,u,f;return f=n.options.centerMode===!0?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,n.options.swipeToSlide===!0?(n.$slideTrack.find(".slick-slide").each(function(p,y){if
vendor: 11,908 bytes, line 13
13(y.offsetLeft-f+a(y).outerWidth()/2>n.swipeLeft*-1)return u=y,!1}),r=Math.abs(a(u).attr("data-slick-index")-n.currentSlide)||1,r):n.options.slidesToScroll},l.prototype.goTo=l.prototype.slickGoTo=function(n,r){var u=this;u.changeSlide({data:{message:"index",index:parseInt(n)}},r)},l.prototype.init=function(n){var r=this;a(r.$slider).hasClass("slick-initialized")||(a(r.$slider).addClass("slick-initialized"),r.buildRows(),r.buildOut(),r.setProps(),r.startLoad(),r.loadSlider(),r.initializeEvents(),r.updateArrows(),r.updateDots(),r.checkResponsive(!0),r.focusHandler()),n&&r.$slider.trigger("init",[r]),r.options.accessibility===!0&&r.initADA(),r.options.autoplay&&(r.paused=!1,r.autoPlay())},l.prototype.initADA=function(){var n=this,r=Math.ceil(n.slideCount/n.options.slidesToShow),u=n.getNavigableIndexes().filter(function(y){return y>=0&&y<n.slideCount});n.$slides.add(n.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),n.$dots!==null&&(n.$slides.not(n.$slideTrack.find(".slick-cloned")).each(function(y){var b=u.indexOf(y);if(a(this).attr({role:"tabpanel",id:"slick-slide"+n.instanceUid+y,tabindex:-1}),b!==-1){var k="slick-slide-control"+n.instanceUid+b;a("#"+k).length&&a(this).attr({"aria-describedby":k})}}),n.$dots.attr("role","tablist").find("li").each(function(y){var b=u[y];a(this).attr({role:"presentation"}),a(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+n.instanceUid+y,"aria-controls":"slick-slide"+n.instanceUid+b,"aria-label":y+1+" of "+r,"aria-selected":null,tabindex:"-1"})}).eq(n.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var f=n.currentSlide,p=f+n.options.slidesToShow;f<p;f++)n.options.focusOnChange?n.$slides.eq(f).attr({tabindex:"0"}):n.$slides.eq(f).removeAttr("tabindex");n.activateADA()},l.prototype.initArrowEvents=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},n.changeSlide),n.$nextArrow.off("click.slick").on("click.slick",{message:"next"},n.changeSlide),n.options.accessibility===!0&&(n.$prevArrow.on("keydown.slick",n.keyHandler),n.$nextArrow.on("keydown.slick",n.keyHandler)))},l.prototype.initDotEvents=function(){var n=this;n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&(a("li",n.$dots).on("click.slick",{message:"index"},n.changeSlide),n.options.accessibility===!0&&n.$dots.on("keydown.slick",n.keyHandler)),n.options.dots===!0&&n.options.pauseOnDotsHover===!0&&n.slideCount>n.options.slidesToShow&&a("li",n.$dots).on("mouseenter.slick",a.proxy(n.interrupt,n,!0)).on("mouseleave.slick",a.proxy(n.interrupt,n,!1))},l.prototype.initSlideEvents=function(){var n=this;n.options.pauseOnHover&&(n.$list.on("mouseenter.slick",a.proxy(n.interrupt,n,!0)),n.$list.on("mouseleave.slick",a.proxy(n.interrupt,n,!1)))},l.prototype.initializeEvents=function(){var n=this;n.initArrowEvents(),n.initDotEvents(),n.initSlideEvents(),n.$list.on("touchstart.slick mousedown.slick",{action:"start"},n.swipeHandler),n.$list.on("touchmove.slick mousemove.slick",{action:"move"},n.swipeHandler),n.$list.on("touchend.slick mouseup.slick",{action:"end"},n.swipeHandler),n.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},n.swipeHandler),n.$list.on("click.slick",n.clickHandler),a(document).on(n.visibilityChange,a.proxy(n.visibility,n)),n.options.accessibility===!0&&n.$list.on("keydown.slick",n.keyHandler),n.options.focusOnSelect===!0&&a(n.$slideTrack).children().on("click.slick",n.selectHandler),a(window).on("orientationchange.slick.slick-"+n.instanceUid,a.proxy(n.orientationChange,n)),a(window).on("resize.slick.slick-"+n.instanceUid,a.proxy(n.resize,n)),a("[draggable!=true]",n.$slideTrack).on("dragstart",n.preventDefault),a(window).on("load.slick.slick-"+n.instanceUid,n.setPosition),a(n.setPosition)},l.prototype.initUI=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.show(),n.$nextArrow.show()),n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.show()},l.prototype.keyHandler=function(n){var r=this;n.target.tagName.match("TEXTAREA|INPUT|SELECT")||(n.keyCode===37&&r.options.accessibility===!0?r.changeSlide({data:{message:r.options.rtl===!0?"next":"previous"}}):n.keyCode===39&&r.options.accessibility===!0&&r.changeSlide({data:{message:r.options.rtl===!0?"previous":"next"}}))},l.prototype.lazyLoad=function(){var n=this,r,u,f,p;function y(C){a("img[data-lazy]",C).each(function(){var x=a(this),h=a(this).attr("data-lazy"),_=a(this).attr("data-srcset"),M=a(this).attr("data-sizes")||n.$slider.attr("data-sizes"),S=document.createElement("img");S.onload=function(){x.animate({opacity:0},100,function(){_&&(x.attr("srcset",_),M&&x.attr("sizes",M)),x.attr("src",h).animate({opacity:1},200,function(){x.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,x,h])})},S.onerror=function(){x.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,x,h])},S.src=h})}if(n.options.centerMode===!0?n.options.infinite===!0?(f=n.currentSlide+(n.options.slidesToShow/2+1),p=f+n.options.slidesToShow+2):(f=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),p=2+(n.options.slidesToShow/2+1)+n.currentSlide):(f=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,p=Math.ceil(f+n.options.slidesToShow),n.options.fade===!0&&(f>0&&f--,p<=n.slideCount&&p++)),r=n.$slider.find(".slick-slide").slice(f,p),n.options.lazyLoad==="anticipated")for(var b=f-1,k=p,I=n.$slider.find(".slick-slide"),z=0;z<n.options.slidesToScroll;z++)b<0&&(b=n.slideCount-1),r=r.add(I.eq(b)),r=r.add(I.eq(k)),b--,k++;y(r),n.slideCount<=n.options.slidesToShow?(u=n.$slider.find(".slick-slide"),y(u)):n.currentSlide>=n.slideCount-n.options.slidesToShow?(u=n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow),y(u)):n.currentSlide===0&&(u=n.$slider.find(".slick-cloned").slice(n.options.slidesToShow*-1),y(u))},l.prototype.loadSlider=function(){var n=this;n.setPosition(),n.$slideTrack.css({opacity:1}),n.$slider.removeClass("slick-loading"),n.initUI(),n.options.lazyLoad==="progressive"&&n.progressiveLazyLoad()},l.prototype.next=l.prototype.slickNext=function(){var n=this;n.changeSlide({data:{message:"next"}})},l.prototype.orientationChange=function(){var n=this;n.checkResponsive(),n.setPosition()},l.prototype.pause=l.prototype.slickPause=function(){var n=this;n.autoPlayClear(),n.paused=!0},l.prototype.play=l.prototype.slickPlay=function(){var n=this;n.autoPlay(),n.options.autoplay=!0,n.paused=!1,n.focussed=!1,n.interrupted=!1},l.prototype.postSlide=function(n){var r=this;if(!r.unslicked&&(r.$slider.trigger("afterChange",[r,n]),r.animating=!1,r.slideCount>r.options.slidesToShow&&r.setPosition(),r.swipeLeft=null,r.options.autoplay&&r.autoPlay(),r.options.accessibility===!0&&(r.initADA(),r.options.focusOnChange))){var u=a(r.$slides.get(r.currentSlide));u.attr("tabindex",0).focus()}},l.prototype.prev=l.prototype.slickPrev=function(){var n=this;n.changeSlide({data:{message:"previous"}})},l.prototype.preventDefault=function(n){n.preventDefault()},l.prototype.progressiveLazyLoad=function(n){n=n||1;var r=this,u=a("img[data-lazy]",r.$slider),f,p,y,b,k;u.length?(f=u.first(),p=f.attr("data-lazy"),y=f.attr("data-srcset"),b=f.attr("data-sizes")||r.$slider.attr("data-sizes"),k=document.createElement("img"),k.onload=function(){y&&(f.attr("srcset",y),b&&f.attr("sizes",b)),f.attr("src",p).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),r.options.adaptiveHeight===!0&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,f,p]),r.progressiveLazyLoad()},k.onerror=function(){n<3?setTimeout(function(){r.progressiveLazyLoad(n+1)},500):(f.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,f,p]),r.progressiveLazyLoad())},k.src=p):r.$slider.trigger("allImagesLoaded",[r])},l.prototype.refresh=function(n){var r=this,u,f;f=r.slideCount-r.options.slidesToShow,!r.options.infinite&&r.currentSlide>f&&(r.currentSlide=f),r.slideCount<=r.options.slidesToShow&&(r.currentSlide=0),u=r.currentSlide,r.destroy(!0),a.extend(r,r.initials,{currentSlide:u}),r.init(),n||r.changeSlide({data:{message:"index",index:u}},!1)},l.prototype.registerBreakpoints=function(){var n=this,r,u,f,p=n.options.responsive||null;if(a.type(p)==="array"&&p.length){n.respondTo=n.options.respondTo||"window";for(r in p)if(f=n.breakpoints.length-1,p.hasOwnProperty(r)){for(u=p[r].breakpoint;f>=0;)n.breakpoints[f]&&n.breakpoints[f]===u&&n.breakpoints.splice(f,1),f--;n.breakpoints.push(u),n.breakpointSettings[u]=p[r].settings}n.breakpoints.sort(function(y,b){return n.options.mobileFirst?y-b:b-y})}},l.prototype.reinit=function(){var n=this;n.$slides=n.$slideTrack.children(n.options.slide).addClass("slick-slide"),n.slideCount=n.$slides.length,n.currentSlide>=n.slideCount&&n.currentSlide!==0&&(n.currentSlide=n.currentSlide-n.options.slidesToScroll),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),n.registerBreakpoints(),n.setProps(),n.setupInfinite(),n.buildArrows(),n.updateArrows(),n.initArrowEvents(),n.buildDots(),n.updateDots(),n.initDotEvents(),n.cleanUpSlideEvents(),n.initSlideEvents(),n.checkResponsive(!1,!0),n.options.focusOnSelect===!0&&a(n.$slideTrack).children().on("click.slick",n.selectHandler),n.setSlideClasses(typeof n.currentSlide=="number"?n.currentSlide:0),n.setPosition(),n.focusHandler(),n.paused=!n.options.autoplay,n.autoPlay(),n.$slider.trigger("reInit",[n])},l.prototype.resize=function(){var n=this;a(window).width()!==n.windowWidth&&(clearTimeout(n.windowDelay),n.windowDelay=window.setTimeout(function(){n.windowWidth=a(window).width(),n.checkResponsive(),n.unslicked||n.setPosition()},50))},l.prototype.removeSlide=l.prototype.slickRemove=function(n,r,u){var f=this;if(typeof n=="boolean"?(r=n,n=r===!0?0:f.slideCount-1):n=r===!0?--n:n,f.slideCount<1||n<0||n>f.slideCount-1)return!1;f.unload(),u===!0?f.$slideTrack.children().remove():f.$slideTrack.children(this.options.slide).eq(n).remove(),f.$slides=f.$slideTrack.children(this.options.slide),f.$slideTrack.children(this.options.slide).detach(),f.$slideTrack.append(f.$slides),f.$slidesCache=f.$slides,f.reinit()},l.prototype.setCSS=function(n){var r=this,u={},f,p;r.options.rtl===!0&&(n=-n),f=r.positionProp=="left"?Math.ceil(n)+"px":"0px",p=r.positionProp=="top"?Math.ceil(n)+"px":"0px",u[r.positionProp]=n,r.transformsEnabled===!1?r.$slideTrack.css(u):(u={},r.cssTransitions===!1?(u[r.animType]="translate("+f+", "+p+")",r.$slideTrack.css(u)):(u[r.animType]="translate3d("+f+", "+p+", 0px)",r.$slideTrack.css(u)))},l.prototype.setDimensions=function(){var n=this;n.options.vertical===!1?n.options.centerMode===!0&&n.$list.css({padding:"0px "+n.options.centerPadding}):(n.$list.height(n.$slides.first().outerHeight(!0)*n.options.slidesToShow),n.options.centerMode===!0&&n.$list.css({padding:n.options.centerPadding+" 0px"})),n.listWidth=n.$list.width(),n.listHeight=n.$list.height(),n.options.vertical===!1&&n.options.variableWidth===!1?(n.slideWidth=Math.ceil(n.listWidth/n.options.slidesToShow),n.$slideTrack.width(Math.ceil(n.slideWidth*n.$slideTrack.children(".slick-slide").length))):n.options.variableWidth===!0?n.$slideTrack.width(5e3*n.slideCount):(n.slideWidth=Math.ceil(n.listWidth),n.$slideTrack.height(Math.ceil(n.$slides.first().outerHeight(!0)*n.$slideTrack.children(".slick-slide").length)));var r=n.$slides.first().outerWidth(!0)-n.$slides.first().width();n.options.variableWidth===!1&&n.$slideTrack.children(".slick-slide").width(n.slideWidth-r)},l.prototype.setFade=function(){var n=this,r;n.$slides.each(function(u,f){r=n.slideWidth*u*-1,n.options.rtl===!0?a(f).css({position:"relative",right:r,top:0,zIndex:n.options.zIndex-2,opacity:0}
13):a(f).css({position:"relative",left:r,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},l.prototype.setHeight=function(){var n=this;if(n.options.slidesToShow===1&&n.options.adaptiveHeight===!0&&n.options.vertical===!1){var r=n.$slides.eq(n.currentSlide).outerHeight(!0);n.$list.css("height",r)}},l.prototype.setOption=l.prototype.slickSetOption=function(){var n=this,r,u,f,p,y=!1,b;if(a.type(arguments[0])==="object"?(f=arguments[0],y=arguments[1],b="multiple"):a.type(arguments[0])==="string"&&(f=arguments[0],p=arguments[1],y=arguments[2],arguments[0]==="responsive"&&a.type(arguments[1])==="array"?b="responsive":typeof arguments[1]<"u"&&(b="single")),b==="single")n.options[f]=p;else if(b==="multiple")a.each(f,function(k,I){n.options[k]=I});else if(b==="responsive")for(u in p)if(a.type(n.options.responsive)!=="array")n.options.responsive=[p[u]];else{for(r=n.options.responsive.length-1;r>=0;)n.options.responsive[r].breakpoint===p[u].breakpoint&&n.options.responsive.splice(r,1),r--;n.options.responsive.push(p[u])}y&&(n.unload(),n.reinit())},l.prototype.setPosition=function(){var n=this;n.setDimensions(),n.setHeight(),n.options.fade===!1?n.setCSS(n.getLeft(n.currentSlide)):n.setFade(),n.$slider.trigger("setPosition",[n])},l.prototype.setProps=function(){var n=this,r=document.body.style;n.positionProp=n.options.vertical===!0?"top":"left",n.positionProp==="top"?n.$slider.addClass("slick-vertical"):n.$slider.removeClass("slick-vertical"),(r.WebkitTransition!==void 0||r.MozTransition!==void 0||r.msTransition!==void 0)&&n.options.useCSS===!0&&(n.cssTransitions=!0),n.options.fade&&(typeof n.options.zIndex=="number"?n.options.zIndex<3&&(n.options.zIndex=3):n.options.zIndex=n.defaults.zIndex),r.OTransform!==void 0&&(n.animType="OTransform",n.transformType="-o-transform",n.transitionType="OTransition",r.perspectiveProperty===void 0&&r.webkitPerspective===void 0&&(n.animType=!1)),r.MozTransform!==void 0&&(n.animType="MozTransform",n.transformType="-moz-transform",n.transitionType="MozTransition",r.perspectiveProperty===void 0&&r.MozPerspective===void 0&&(n.animType=!1)),r.webkitTransform!==void 0&&(n.animType="webkitTransform",n.transformType="-webkit-transform",n.transitionType="webkitTransition",r.perspectiveProperty===void 0&&r.webkitPerspective===void 0&&(n.animType=!1)),r.msTransform!==void 0&&(n.animType="msTransform",n.transformType="-ms-transform",n.transitionType="msTransition",r.msTransform===void 0&&(n.animType=!1)),r.transform!==void 0&&n.animType!==!1&&(n.animType="transform",n.transformType="transform",n.transitionType="transition"),n.transformsEnabled=n.options.useTransform&&n.animType!==null&&n.animType!==!1},l.prototype.setSlideClasses=function(n){var r=this,u,f,p,y;if(f=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(n).addClass("slick-current"),r.options.centerMode===!0){var b=r.options.slidesToShow%2===0?1:0;u=Math.floor(r.options.slidesToShow/2),r.options.infinite===!0&&(n>=u&&n<=r.slideCount-1-u?r.$slides.slice(n-u+b,n+u+1).addClass("slick-active").attr("aria-hidden","false"):(p=r.options.slidesToShow+n,f.slice(p-u+1+b,p+u+2).addClass("slick-active").attr("aria-hidden","false")),n===0?f.eq(f.length-1-r.options.slidesToShow).addClass("slick-center"):n===r.slideCount-1&&f.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(n).addClass("slick-center")}else n>=0&&n<=r.slideCount-r.options.slidesToShow?r.$slides.slice(n,n+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):f.length<=r.options.slidesToShow?f.addClass("slick-active").attr("aria-hidden","false"):(y=r.
13slideCount%r.options.slidesToShow,p=r.options.infinite===!0?r.options.slidesToShow+n:n,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-n<r.options.slidesToShow?f.slice(p-(r.options.slidesToShow-y),p+y).addClass("slick-active").attr("aria-hidden","false"):f.slice(p,p+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));(r.options.lazyLoad==="ondemand"||r.options.lazyLoad==="anticipated")&&r.lazyLoad()},l.prototype.setupInfinite=function(){var n=this,r,u,f;if(n.options.fade===!0&&(n.options.centerMode=!1),n.options.infinite===!0&&n.options.fade===!1&&(u=null,n.slideCount>n.options.slidesToShow)){for(n.options.centerMode===!0?f=n.options.slidesToShow+1:f=n.options.slidesToShow,r=n.slideCount;r>n.slideCount-f;r-=1)u=r-1,a(n.$slides[u]).clone(!0).attr("id","").attr("data-slick-index",u-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(r=0;r<f+n.slideCount;r+=1)u=r,a(n.$slides[u]).clone(!0).attr("id","").attr("data-slick-index",u+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},l.prototype.interrupt=function(n){var r=this;n||r.autoPlay(),r.interrupted=n},l.prototype.selectHandler=function(n){var r=this,u=a(n.target).is(".slick-slide")?a(n.target):a(n.target).parents(".slick-slide"),f=parseInt(u.attr("data-slick-index"));if(f||(f=0),r.slideCount<=r.options.slidesToShow){r.slideHandler(f,!1,!0);return}r.slideHandler(f)},l.prototype.slideHandler=function(n,r,u){var f,p,y,b,k=null,I=this,z;if(r=r||!1,!(I.animating===!0&&I.options.waitForAnimate===!0)&&!(I.options.fade===!0&&I.currentSlide===n)){if(r===!1&&I.asNavFor(n),f=n,k=I.getLeft(f),b=I.getLeft(I.currentSlide),I.currentLeft=I.swipeLeft===null?b:I.swipeLeft,I.options.infinite===!1&&I.options.centerMode===!1&&(n<0||n>I.getDotCount()*I.options.slidesToScroll)){I.options.fade===!1&&(f=I.currentSlide,u!==!0&&I.slideCount>I.options.slidesToShow?I.animateSlide(b,function(){I.postSlide(f)}):I.postSlide(f));return}else if(I.options.infinite===!1&&I.options.centerMode===!0&&(n<0||n>I.slideCount-I.options.slidesToScroll)){I.options.fade===!1&&(f=I.currentSlide,u!==!0&&I.slideCount>I.options.slidesToShow?I.animateSlide(b,function(){I.postSlide(f)}):I.postSlide(f));return}if(I.options.autoplay&&clearInterval(I.autoPlayTimer),f<0?I.slideCount%I.options.slidesToScroll!==0?p=I.slideCount-I.slideCount%I.options.slidesToScroll:p=I.slideCount+f:f>=I.slideCount?I.slideCount%I.options.slidesToScroll!==0?p=0:p=f-I.slideCount:p=f,I.animating=!0,I.$slider.trigger("beforeChange",[I,I.currentSlide,p]),y=I.currentSlide,I.currentSlide=p,I.setSlideClasses(I.currentSlide),I.options.asNavFor&&(z=I.getNavTarget(),z=z.slick("getSlick"),z.slideCount<=z.options.slidesToShow&&z.setSlideClasses(I.currentSlide)),I.updateDots(),I.updateArrows(),I.options.fade===!0){u!==!0?(I.fadeSlideOut(y),I.fadeSlide(p,function(){I.postSlide(p)})):I.postSlide(p),I.animateHeight();return}u!==!0&&I.slideCount>I.options.slidesToShow?I.animateSlide(k,function(){I.postSlide(p)}):I.postSlide(p)}},l.prototype.startLoad=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.hide(),n.$nextArrow.hide()),n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.hide(),n.$slider.addClass("slick-loading")},l.prototype.swipeDirection=function(){var n,r,u,f,p=this;return n=p.touchObject.startX-p.touchObject.curX,r=p.touchObject.startY-p.touchObject.curY,u=Math.atan2(r,n),f=Math.round(u*180/Math.PI),f<0&&(f=360-Math.abs(f)),f<=45&&f>=0||f<=360&&f>=315?p.options.rtl===!1?"left":"right":f>=135&&f<=225?p.options.rtl===!1?"right":"left":p.options.verticalSwiping===!0?f>=35&&f<=135?"down":"up":"vertical"},l.prototype.swipeEnd=function(n){var r=this,u,f;if(r.dragging=!1,r.swiping=!1,r.scrolling)return r.scrolling=!1,!1;if(r.interrupted=!1,r.shouldClick=!(r.touchObject.swipeLength>10),r.touchObject.curX===void 0)return!1;if(r.touchObject.edgeHit===!0&&r.$slider.trigger("edge",[r,r.swipeDirection()]),r.touchObject.swipeLength>=r.touchObject.minSwipe){switch(f=r.swipeDirection(),f){case"left":case"down":u=r.options.swipeToSlide?r.checkNavigable(r.currentSlide+r.getSlideCount()):r.currentSlide+r.getSlideCount(),r.currentDirection=0;break;case"right":case"up":u=r.options.swipeToSlide?r.checkNavigable(r.currentSlide-r.getSlideCount()):r.currentSlide-r.getSlideCount(),r.currentDirection=1;break}f!="vertical"&&(r.slideHandler(u),r.touchObject={},r.$slider.trigger("swipe",[r,f]))}else r.touchObject.startX!==r.touchObject.curX&&(r.slideHandler(r.currentSlide),r.touchObject={})},l.prototype.swipeHandler=function(n){var r=this;if(!(r.options.swipe===!1||"ontouchend"in document&&r.options.swipe===!1)&&!(r.options.draggable===!1&&n.type.indexOf("mou
13se")!==-1))switch(r.touchObject.fingerCount=n.originalEvent&&n.originalEvent.touches!==void 0?n.originalEvent.touches.length:1,r.touchObject.minSwipe=r.listWidth/r.options.touchThreshold,r.options.verticalSwiping===!0&&(r.touchObject.minSwipe=r.listHeight/r.options.touchThreshold),n.data.action){case"start":r.swipeStart(n);break;case"move":r.swipeMove(n);break;case"end":r.swipeEnd(n);break}},l.prototype.swipeMove=function(n){var r=this,u,f,p,y,b,k;if(b=n.originalEvent!==void 0?n.originalEvent.touches:null,!r.dragging||r.scrolling||b&&b.length!==1)return!1;if(u=r.getLeft(r.currentSlide),r.touchObject.curX=b!==void 0?b[0].pageX:n.clientX,r.touchObject.curY=b!==void 0?b[0].pageY:n.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),k=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2))),!r.options.verticalSwiping&&!r.swiping&&k>4)return r.scrolling=!0,!1;if(r.options.verticalSwiping===!0&&(r.touchObject.swipeLength=k),f=r.swipeDirection(),n.originalEvent!==void 0&&r.touchObject.swipeLength>4&&(r.swiping=!0,n.preventDefault()),y=(r.options.rtl===!1?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),r.options.verticalSwiping===!0&&(y=r.touchObject.curY>r.touchObject.startY?1:-1),p=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,r.options.infinite===!1&&(r.currentSlide===0&&f==="right"||r.currentSlide>=r.getDotCount()&&f==="left")&&(p=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),r.options.vertical===!1?r.swipeLeft=u+p*y:r.swipeLeft=u+p*(r.$list.height()/r.listWidth)*y,r.options.verticalSwiping===!0&&(r.swipeLeft=u+p*y),r.options.fade===!0||r.options.touchMove===!1)return!1;if(r.animating===!0)return r.swipeLeft=null,!1;r.setCSS(r.swipeLeft)},l.prototype.swipeStart=function(n){var r=this,u;if(r.interrupted=!0,r.touchObject.fingerCount!==1||r.slideCount<=r.options.slidesToShow)return r.touchObject={},!1;n.originalEvent!==void 0&&n.originalEvent.touches!==void 0&&(u=n.originalEvent.touches[0]),r.touchObject.startX=r.touchObject.curX=u!==void 0?u.pageX:n.clientX,r.touchObject.startY=r.touchObject.curY=u!==void 0?u.pageY:n.clientY,r.dragging=!0},l.prototype.unfilterSlides=l.prototype.slickUnfilter=function(){var n=this;n.$slidesCache!==null&&(n.unload(),n.$slideTrack.children(this.options.slide).detach(),n.$slidesCache.appendTo(n.$slideTrack),n.reinit())},l.prototype.unload=function(){var n=this;a(".slick-cloned",n.$slider).remove(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove(),n.$nextArrow&&n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove(),n.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},l.prototype.unslick=function(n){var r=this;r.$slider.trigger("unslick",[r,n]),r.destroy()},l.prototype.updateArrows=function(){var n=this;Math.floor(n.options.slidesToShow/2),n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&!n.options.infinite&&(n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.currentSlide===0?(n.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(n.currentSlide>=n.slideCount-n.options.slidesToShow&&n.options.centerMode===!1||n.currentSlide>=n.slideCount-1&&n.options.centerMode===!0)&&(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},l.prototype.updateDots=function(){var n=this;n.$dots!==null&&(n.$dots.find("li").removeClass("slick-active").end(),n.$dots.find("li").eq(Math.floor(n.currentSlide/n.options.slidesToScroll)).addClass("slick-active"))},l.prototype.visibility=function(){var n=this;n.options.autoplay&&(document[n.hidden]?n.interrupted=!0:n.interrupted=!1)},a.fn.slick=function(){var n=this,r=arguments[0],u=Array.prototype.slice.call(arguments,1),f=n.length,p,y;for(p=0;p<f;p++)if(typeof r=="object"||typeof r>"u"?n[p].slick=new l(n[p],r):y=n[p].slick[r].apply(n[p].slick,u),typeof y<"u")return y;return n}})})(Xa);const Ja=()=>{const i=q("#js-post-type").length?q("#js-post-type").val():"news-cpt",t=q("#js-taxonomy").length?q("#js-taxonomy").val():"cpt-category",a=()=>{const n=q(".btn-primary");let r=[];return q.each(n,function(u,f){r.push(q(f).data("cat"))}),r};q(document).on("click",".js-category-filter",function(n){if(n.preventDefault(),q(this).hasClass("btn-primary"))return;const r=q(".js-category-filter");q.each(r,function(f,p){q(p).removeClass("btn-primary")}),q(this).addClass("btn-primary");let u=a();q(".js-news-loader").removeClass("hidden"),l(1,u)}),q(window).on("popstate",function(){sessionStorage.setItem("lastNewsListUrl",window.location.href),window.location.reload()});const l=(n,r=[])=>{q(".js-news-loader").removeClass("hidden");const u=new URLSearchParams;u.set("page",n),r=r.filter(p=>p!=="all"&&p!==void 0),r.length===1?u.set("category",r[0]):r.length>1&&u.set("category",r.join(","));const f=`${window.location.pathname}?${u.toString()}`;window.history.pushState({},"",f),sessionStorage.setItem("lastNewsListUrl",window.location.href),q.ajax({url:localize.ajax_url,type:"POST",data:{action:"ajax_get_news_cards",page:n,
13categories:r,post_type:i,taxonomy:t},success:p=>{p!=null&&p.content&&q(".js-news-wrapper").html(p.content);const y=q(".js-news-wrapper");if(y.length){const b=y.offset().top-200;q("html, body").animate({scrollTop:b},0)}}})};q(document).on("click keypress",".js-pagination-custom",function(n){if(n.type==="click"||n.type==="keypress"&&n.key==="Enter"){const r=q(this).data("page");let u=a();l(r,u)}})},Ka=()=>{const i=q("#js-post-type"),t=q("#js-taxonomy"),a=q(".js-search-podcast"),l=q(".js-search-podcast-delete"),n=q(".js-podcast-wrapper"),r={postType:i.length?i.val():"podcast-cpt",taxonomy:t.length?t.val():"cpt-category",searchDelay:1e3,scrollOffset:200};let u;const f=()=>q(".btn-primary").map((h,_)=>q(_).data("cat")).get().filter(h=>h!=="all"&&h!==void 0),p=()=>{var h;return((h=a.val())==null?void 0:h.trim())||""},y=h=>{l.toggleClass("hidden",!h)},b=(h,_,M)=>{const S=new URLSearchParams;S.set("page",h),_.length===1?S.set("category",_[0]):_.length>1&&S.set("category",_.join(",")),M&&S.set("ps",M);const O=`${window.location.pathname}?${S.toString()}`;window.history.pushState({},"",O),sessionStorage.setItem("lastPodcastListUrl",window.location.href)},k=()=>{if(n.length){const h=n.offset().top-r.scrollOffset;q("html, body").animate({scrollTop:h},300)}},I=(h="Hiba történt az adatok betöltése során")=>{const _=` 14 <div class="container"> 15 <div class="relative grid grid-cols-1 gap-4"> 16 <div class="text-center text-red-600 py-8"> 17 <p>${h}</p> 18 </div> 19 </div> 20 </div> 21 `;n.html(_)},z=(h,_,M)=>{q(".js-podcast-loader").removeClass("hidden"),q.ajax({url:localize.ajax_url,type:"POST",data:{action:"ajax_get_podcast_cards",page:h,categories:_,search:M,post_type:r.postType,taxonomy:r.taxonomy},timeout:1e4,success:S=>{var O,j;S!=null&&S.success&&((O=S==null?void 0:S.data)!=null&&O.content)?(n.html(S.data.content),k()):I(((j=S==null?void 0:S.data)==null?void 0:j.message)||"Nem sikerült betölteni a podcastokat")},error:(S,O,j)=>{console.error("AJAX Error:",{xhr:S,status:O,error:j}),I("Hálózati hiba történt. Kérjük, próbálja újra késÅbb.")},complete:()=>{q(".js-podcast-loader").addClass("hidden")}})},C=(h,_=[],M="")=>{b(h,_,M),z(h,_,M)};q(document).on("input",".js-search-podcast",function(){clearTimeout(u);const h=q(this).val().trim();y(h!==""),u=setTimeout(()=>{const _=f();C(1,_,h)},r.searchDelay)}),q(document).on("click",".js-search-podcast-delete",function(){a.val("").focus(),y(!1);const h=f();C(1,h,"")}),q(document).on("click",".js-category-filter",function(h){if(h.preventDefault(),q(this).hasClass("btn-primary"))return;q(".js-category-filter").removeClass("btn-primary"),q(this).addClass("btn-primary");const _=f(),M=p();C(1,_,M)}),q(document).on("click keypress",".js-pagination-custom",function(h){if(h.type==="click"||h.type==="keypress"&&h.key==="Enter"){h.preventDefault();const _=q(this).data("page");if(!_||_<1)return;const M=f(),S=p();C(_,M,S)}}),(()=>{const _=new URLSearchParams(window.location.search).get("ps");_&&(a.val(_),y(!0))})()};function Wr(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function yr(i,t){i===void 0&&(i={}),t===void 0&&(t={});const a=["__proto__","constructor","prototype"];Object.keys(t).filter(l=>a.indexOf(l)<0).forEach(l=>{typeof i[l]>"u"?i[l]=t[l]:Wr(t[l])&&Wr(i[l])&&Object.keys(t[l]).length>0&&yr(i[l],t[l])})}const ha={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function jt(){const i=typeof document<"u"?document:{};return yr(i,ha),i}const Qa={document:ha,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
vendor: 6,636 bytes, line 21
21,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function wt(){const i=typeof window<"u"?window:{};return yr(i,Qa),i}function Tn(i){return i===void 0&&(i=""),i.trim().split(" ").filter(t=>!!t.trim())}function eo(i){const t=i;Object.keys(t).forEach(a=>{try{t[a]=null}catch{}try{delete t[a]}catch{}})}function rs(i,t){return t===void 0&&(t=0),setTimeout(i,t)}function Hi(){return Date.now()}function to(i){const t=wt();let a;return t.getComputedStyle&&(a=t.getComputedStyle(i,null)),!a&&i.currentStyle&&(a=i.currentStyle),a||(a=i.style),a}function dr(i,t){t===void 0&&(t="x");const a=wt();let l,n,r;const u=to(i);return a.WebKitCSSMatrix?(n=u.transform||u.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(f=>f.replace(",",".")).join(", ")),r=new a.WebKitCSSMatrix(n==="none"?"":n)):(r=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),l=r.toString().split(",")),t==="x"&&(a.WebKitCSSMatrix?n=r.m41:l.length===16?n=parseFloat(l[12]):n=parseFloat(l[4])),t==="y"&&(a.WebKitCSSMatrix?n=r.m42:l.length===16?n=parseFloat(l[13]):n=parseFloat(l[5])),n||0}function Cs(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function io(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function xi(){const i=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let a=1;a<arguments.length;a+=1){const l=a<0||arguments.length<=a?void 0:arguments[a];if(l!=null&&!io(l)){const n=Object.keys(Object(l)).filter(r=>t.indexOf(r)<0);for(let r=0,u=n.length;r<u;r+=1){const f=n[r],p=Object.getOwnPropertyDescriptor(l,f);p!==void 0&&p.enumerable&&(Cs(i[f])&&Cs(l[f])?l[f].__swiper__?i[f]=l[f]:xi(i[f],l[f]):!Cs(i[f])&&Cs(l[f])?(i[f]={},l[f].__swiper__?i[f]=l[f]:xi(i[f],l[f])):i[f]=l[f])}}}return i}function Ms(i,t,a){i.style.setProperty(t,a)}function pa(i){let{swiper:t,targetPosition:a,side:l}=i;const n=wt(),r=-t.translate;let u=null,f;const p=t.params.speed;t.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(t.cssModeFrameID);const y=a>r?"next":"prev",b=(I,z)=>y==="next"&&I>=z||y==="prev"&&I<=z,k=()=>{f=new Date().getTime(),u===null&&(u=f);const I=Math.max(Math.min((f-u)/p,1),0),z=.5-Math.cos(I*Math.PI)/2;let C=r+z*(a-r);if(b(C,a)&&(C=a),t.wrapperEl.scrollTo({[l]:C}),b(C,a)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[l]:C})}),n.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=n.requestAnimationFrame(k)};k()}function Vn(i){return i.querySelector(".swiper-slide-transform")||i.shadowRoot&&i.shadowRoot.querySelector(".swiper-slide-transform")||i}function Ft(i,t){t===void 0&&(t="");const a=wt(),l=[...i.children];return a.HTMLSlotElement&&i instanceof HTMLSlotElement&&l.push(...i.assignedElements()),t?l.filter(n=>n.matches(t)):l}function no(i,t){const a=[t];for(;a.length>0;){const l=a.shift();if(i===l)return!0;a.push(...l.children,...l.shadowRoot?l.shadowRoot.children:[],...l.assignedElements?l.assignedElements():[])}}function so(i,t){const a=wt();let l=t.contains(i);return!l&&a.HTMLSlotElement&&t instanceof HTMLSlotElement&&(l=[...t.assignedElements()].includes(i),l||(l=no(i,t))),l}function Ys(i){try{console.warn(i);return}catch{}}function Ti(i,t){t===void 0&&(t=[]);const a=document.createElement(i);return a.classList.add(...Array.isArray(t)?t:Tn(t)),a}function qs(i){const t=wt(),a=jt(),l=i.getBoundingClientRect(),n=a.body,r=i.clientTop||n.clientTop||0,u=i.clientLeft||n.clientLeft||0,f=i===t?t.scrollY:i.scrollTop,p=i===t?t.scrollX:i.scrollLeft;return{top:l.top+f-r,left:l.left+p-u}}function ro(i,t){const a=[];for(;i.previousElementSibling;){const l=i.previousElementSibling;t?l.matches(t)&&a.push(l):a.push(l),i=l}return a}function ao(i,t){const a=[];for(;i.nextElementSibling;){const l=i.nextElementSibling;t?l.matches(t)&&a.push(l):a.push(l),i=l}return a}function Cn(i,t){return wt().getComputedStyle(i,null).getPropertyValue(t)}function Es(i){let t=i,a;if(t){for(a=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(a+=1);return a}}function Fn(i,t){const a=[];let l=i.parentElement;for(;l;)t?l.matches(t)&&a.push(l):a.push(l),l=l.parentElement;return a}function Ls(i,t){function a(l){l.target===i&&(t.call(i,l),i.removeEventListener("transitionend",a))}t&&i.addEventListener("transitionend",a)}function cr(i,t,a){const l=wt();return a?i[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(l.getComputedStyle(i,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(l.getComputedStyle(i,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):i.offsetWidth}function Ue(i){return(Array.isArray(i)?i:[i]).filter(t=>!!t)}function Us(i){return t=>Math.abs(t)>0&&i.browser&&i.browser.need3dFix&&Math.abs(t)%90===0?t+.001:t}function fn(i,t){t===void 0&&(t=""),typeof trustedTypes<"u"?i.innerHTML=trustedTypes.createPolicy("html",{createHTML:a=>a}).createHTML(t):i.innerHTML=t}let ir;function oo(){const i=wt(),t=jt();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&t instanceof i.DocumentTouch)}}function ma(){return ir||(ir=oo()),ir}let nr;function lo(i){let{userAgent:t}=i===void 0?{}:i;const a=ma(),l=wt(),n=l.navigator.platform,r=t||l.navigator.userAgent,u={ios:!1,android:!1},f=l.screen.width,p=l.screen.height,y=r.match(/(Android);?[\s\/]+([\d.]+)?/);let b=r.match(/(iPad).*OS\s([\d_]+)/);const k=r.match(/(iPod)(.*OS\s([\d_]+))?/),I=!b&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),z=n==="Win32";let C=n==="MacIntel";const x=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!b&&C&&a.touch&&x.indexOf(`${f}x${p}`)>=0&&(b=r.match(/(Version)\/([\d.]+)/),b||(b=[0,1,"13_0_0"]),C=!1),y&&!z&&(u.os="android",u.android=!0),(b||I||k)&&(u.os="ios",u.ios=!0),u}function ga(i){return i===void 0&&(i={}),nr||(nr=lo(i)),nr}let sr;function co(){const i=wt(),t=ga();let a=!1;function l(){const f=i.navigator.userAgent.toLowerCase();return f.indexOf("safari")>=0&&f.indexOf("chrome")<0&&f.indexOf("android")<0}if(l()){const f=String(i.navigator.userAgent);if(f.includes("Version/")){const[p,y]=f.split("Version/")[1].split(" ")[0].split(".").map(b=>Number(b));a=p<16||p===16&&y<2}}
vendor: 6,652 bytes, line 21
21const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),r=l(),u=r||n&&t.ios;return{isSafari:a||r,needPerspectiveFix:a,need3dFix:u,isWebView:n}}function va(){return sr||(sr=co()),sr}function uo(i){let{swiper:t,on:a,emit:l}=i;const n=wt();let r=null,u=null;const f=()=>{!t||t.destroyed||!t.initialized||(l("beforeResize"),l("resize"))},p=()=>{!t||t.destroyed||!t.initialized||(r=new ResizeObserver(k=>{u=n.requestAnimationFrame(()=>{const{width:I,height:z}=t;let C=I,x=z;k.forEach(h=>{let{contentBoxSize:_,contentRect:M,target:S}=h;S&&S!==t.el||(C=M?M.width:(_[0]||_).inlineSize,x=M?M.height:(_[0]||_).blockSize)}),(C!==I||x!==z)&&f()})}),r.observe(t.el))},y=()=>{u&&n.cancelAnimationFrame(u),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null)},b=()=>{!t||t.destroyed||!t.initialized||l("orientationchange")};a("init",()=>{if(t.params.resizeObserver&&typeof n.ResizeObserver<"u"){p();return}n.addEventListener("resize",f),n.addEventListener("orientationchange",b)}),a("destroy",()=>{y(),n.removeEventListener("resize",f),n.removeEventListener("orientationchange",b)})}function fo(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;const r=[],u=wt(),f=function(b,k){k===void 0&&(k={});const I=u.MutationObserver||u.WebkitMutationObserver,z=new I(C=>{if(t.__preventObserver__)return;if(C.length===1){n("observerUpdate",C[0]);return}const x=function(){n("observerUpdate",C[0])};u.requestAnimationFrame?u.requestAnimationFrame(x):u.setTimeout(x,0)});z.observe(b,{attributes:typeof k.attributes>"u"?!0:k.attributes,childList:t.isElement||(typeof k.childList>"u"?!0:k).childList,characterData:typeof k.characterData>"u"?!0:k.characterData}),r.push(z)},p=()=>{if(t.params.observer){if(t.params.observeParents){const b=Fn(t.hostEl);for(let k=0;k<b.length;k+=1)f(b[k])}f(t.hostEl,{childList:t.params.observeSlideChildren}),f(t.wrapperEl,{attributes:!1})}},y=()=>{r.forEach(b=>{b.disconnect()}),r.splice(0,r.length)};a({observer:!1,observeParents:!1,observeSlideChildren:!1}),l("init",p),l("destroy",y)}var ho={on(i,t,a){const l=this;if(!l.eventsListeners||l.destroyed||typeof t!="function")return l;const n=a?"unshift":"push";return i.split(" ").forEach(r=>{l.eventsListeners[r]||(l.eventsListeners[r]=[]),l.eventsListeners[r][n](t)}),l},once(i,t,a){const l=this;if(!l.eventsListeners||l.destroyed||typeof t!="function")return l;function n(){l.off(i,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,u=new Array(r),f=0;f<r;f++)u[f]=arguments[f];t.apply(l,u)}return n.__emitterProxy=t,l.on(i,n,a)},onAny(i,t){const a=this;if(!a.eventsListeners||a.destroyed||typeof i!="function")return a;const l=t?"unshift":"push";return a.eventsAnyListeners.indexOf(i)<0&&a.eventsAnyListeners[l](i),a},offAny(i){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const a=t.eventsAnyListeners.indexOf(i);return a>=0&&t.eventsAnyListeners.splice(a,1),t},off(i,t){const a=this;return!a.eventsListeners||a.destroyed||!a.eventsListeners||i.split(" ").forEach(l=>{typeof t>"u"?a.eventsListeners[l]=[]:a.eventsListeners[l]&&a.eventsListeners[l].forEach((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&a.eventsListeners[l].splice(r,1)})}),a},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let t,a,l;for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];return typeof r[0]=="string"||Array.isArray(r[0])?(t=r[0],a=r.slice(1,r.length),l=i):(t=r[0].events,a=r[0].data,l=r[0].context||i),a.unshift(l),(Array.isArray(t)?t:t.split(" ")).forEach(p=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(y=>{y.apply(l,[p,...a])}),i.eventsListeners&&i.eventsListeners[p]&&i.eventsListeners[p].forEach(y=>{y.apply(l,a)})}),i}};function po(){const i=this;let t,a;const l=i.el;typeof i.params.width<"u"&&i.params.width!==null?t=i.params.width:t=l.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?a=i.params.height:a=l.clientHeight,!(t===0&&i.isHorizontal()||a===0&&i.isVertical())&&(t=t-parseInt(Cn(l,"padding-left")||0,10)-parseInt(Cn(l,"padding-right")||0,10),a=a-parseInt(Cn(l,"padding-top")||0,10)-parseInt(Cn(l,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(a)&&(a=0),Object.assign(i,{width:t,height:a,size:i.isHorizontal()?t:a}))}function mo(){const i=this;function t(G,te){return parseFloat(G.getPropertyValue(i.getDirectionLabel(te))||0)}const a=i.params,{wrapperEl:l,slidesEl:n,size:r,rtlTranslate:u,wrongRTL:f}=i,p=i.virtual&&a.virtual.enabled,y=p?i.virtual.slides.length:i.slides.length,b=Ft(n,`.${i.params.slideClass}, swiper-slide`),k=p?i.virtual.slides.length:b.length;let I=[];const z=[],C=[];let x=a.slidesOffsetBefore;typeof x=="function"&&(x=a.slidesOffsetBefore.call(i));let h=a.slidesOffsetAfter;typeof h=="function"&&(h=a.slidesOffsetAfter.call(i));const _=i.snapGrid.length,M=i.slidesGrid.length;let S=a.spaceBetween,O=-x,j=0,R=0;if(typeof r>"u")return;typeof S=="string"&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*r:typeof S=="string"&&(S=parseFloat(S)),i.virtualSize=-S,b.forEach(G=>{u?G.style.marginLeft="":G.style.marginRight="",G.style.marginBottom="",G.style.marginTop=""}),a.centeredSlides&&a.cssMode&&(Ms(l,"--swiper-centered-offset-before",""),Ms(l,"--swiper-centered-offset-after",""));const m=a.grid&&a.grid.rows>1&&i.grid;m?i.grid.initSlides(b):i.grid&&i.grid.unsetSlides();let J;const Z=a.slidesPerView==="auto"&&a.breakpoints&&Object.keys(a.breakpoints).filter(G=>typeof a.breakpoints[G].slidesPerView<"u").length>0;for(let G=0;G<k;G+=1){J=0;let te;if(b[G]&&(te=b[G]),m&&i.grid.updateSlide(G,te,b),!(b[G]&&Cn(te,"display")==="none")){if(a.slidesPerView==="auto"){Z&&(b[G].style[i.getDirectionLabel("width")]="");const ee=getComputedStyle(te),U=te.style.transform,re=te.style.webkitTransform;if(U&&(te.style.transform="none"),re&&(te.style.webkitTransform="none"),a.roundLengths)J=i.isHorizontal()?cr(te,"width",!0):cr(te,"height",!0);else{const pe=t(ee,"width"),fe=t(ee,"padding-left"),X=t(ee,"padding-right"),V=t(ee,"margin-left"),he=t(ee,"margin-right"),ve=ee.getPropertyValue("box-sizing");if(ve&&ve==="border-box")J=pe+V+he;else{const{clientWidth:ke,offsetWidth:Pe}=te;J=pe+fe+X+V+he+(Pe-ke)}}U&&(te.style.transform=U),re&&(te.style.webkitTransform=re),a.roundLengths&&(J=Math.floor(J))}else J=(r-(a.slidesPerView-1)*S)/a.slidesPerView,a.roundLengths&&(J=Math.floor(J)),b[G]&&(b[G].style[i.getDirectionLabel("width")]=`${J}px`);b[G]&&(b[G].swiperSlideSize=J),C.push(J),a.centeredSlides?(O=O+J/2+j/2+S,j===0&&G!==0&&(O=O-r/2-S),G===0&&(O=O-r/2-S),Math.abs(O)<1/1e3&&(O=0),a.roundLengths&&(O=Math.floor(O)),R%a.slidesPerGroup===0&&I.push(O),z.push(O)):(a.roun
vendor: 9,078 bytes, line 21
21dLengths&&(O=Math.floor(O)),(R-Math.min(i.params.slidesPerGroupSkip,R))%i.params.slidesPerGroup===0&&I.push(O),z.push(O),O=O+J+S),i.virtualSize+=J+S,j=J,R+=1}}if(i.virtualSize=Math.max(i.virtualSize,r)+h,u&&f&&(a.effect==="slide"||a.effect==="coverflow")&&(l.style.width=`${i.virtualSize+S}px`),a.setWrapperSize&&(l.style[i.getDirectionLabel("width")]=`${i.virtualSize+S}px`),m&&i.grid.updateWrapperSize(J,I),!a.centeredSlides){const G=[];for(let te=0;te<I.length;te+=1){let ee=I[te];a.roundLengths&&(ee=Math.floor(ee)),I[te]<=i.virtualSize-r&&G.push(ee)}I=G,Math.floor(i.virtualSize-r)-Math.floor(I[I.length-1])>1&&I.push(i.virtualSize-r)}if(p&&a.loop){const G=C[0]+S;if(a.slidesPerGroup>1){const te=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/a.slidesPerGroup),ee=G*a.slidesPerGroup;for(let U=0;U<te;U+=1)I.push(I[I.length-1]+ee)}for(let te=0;te<i.virtual.slidesBefore+i.virtual.slidesAfter;te+=1)a.slidesPerGroup===1&&I.push(I[I.length-1]+G),z.push(z[z.length-1]+G),i.virtualSize+=G}if(I.length===0&&(I=[0]),S!==0){const G=i.isHorizontal()&&u?"marginLeft":i.getDirectionLabel("marginRight");b.filter((te,ee)=>!a.cssMode||a.loop?!0:ee!==b.length-1).forEach(te=>{te.style[G]=`${S}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let G=0;C.forEach(ee=>{G+=ee+(S||0)}),G-=S;const te=G>r?G-r:0;I=I.map(ee=>ee<=0?-x:ee>te?te+h:ee)}if(a.centerInsufficientSlides){let G=0;C.forEach(ee=>{G+=ee+(S||0)}),G-=S;const te=(a.slidesOffsetBefore||0)+(a.slidesOffsetAfter||0);if(G+te<r){const ee=(r-G-te)/2;I.forEach((U,re)=>{I[re]=U-ee}),z.forEach((U,re)=>{z[re]=U+ee})}}if(Object.assign(i,{slides:b,snapGrid:I,slidesGrid:z,slidesSizesGrid:C}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){Ms(l,"--swiper-centered-offset-before",`${-I[0]}px`),Ms(l,"--swiper-centered-offset-after",`${i.size/2-C[C.length-1]/2}px`);const G=-i.snapGrid[0],te=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(ee=>ee+G),i.slidesGrid=i.slidesGrid.map(ee=>ee+te)}if(k!==y&&i.emit("slidesLengthChange"),I.length!==_&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),z.length!==M&&i.emit("slidesGridLengthChange"),a.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!p&&!a.cssMode&&(a.effect==="slide"||a.effect==="fade")){const G=`${a.containerModifierClass}backface-hidden`,te=i.el.classList.contains(G);k<=a.maxBackfaceHiddenSlides?te||i.el.classList.add(G):te&&i.el.classList.remove(G)}}function go(i){const t=this,a=[],l=t.virtual&&t.params.virtual.enabled;let n=0,r;typeof i=="number"?t.setTransition(i):i===!0&&t.setTransition(t.params.speed);const u=f=>l?t.slides[t.getSlideIndexByData(f)]:t.slides[f];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(f=>{a.push(f)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const f=t.activeIndex+r;if(f>t.slides.length&&!l)break;a.push(u(f))}else a.push(u(t.activeIndex));for(r=0;r<a.length;r+=1)if(typeof a[r]<"u"){const f=a[r].offsetHeight;n=f>n?f:n}(n||n===0)&&(t.wrapperEl.style.height=`${n}px`)}function vo(){const i=this,t=i.slides,a=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let l=0;l<t.length;l+=1)t[l].swiperSlideOffset=(i.isHorizontal()?t[l].offsetLeft:t[l].offsetTop)-a-i.cssOverflowAdjustment()}const Fr=(i,t,a)=>{t&&!i.classList.contains(a)?i.classList.add(a):!t&&i.classList.contains(a)&&i.classList.remove(a)};function yo(i){i===void 0&&(i=this&&this.translate||0);const t=this,a=t.params,{slides:l,rtlTranslate:n,snapGrid:r}=t;if(l.length===0)return;typeof l[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let u=-i;n&&(u=i),t.visibleSlidesIndexes=[],t.visibleSlides=[];let f=a.spaceBetween;typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*t.size:typeof f=="string"&&(f=parseFloat(f));for(let p=0;p<l.length;p+=1){const y=l[p];let b=y.swiperSlideOffset;a.cssMode&&a.centeredSlides&&(b-=l[0].swiperSlideOffset);const k=(u+(a.centeredSlides?t.minTranslate():0)-b)/(y.swiperSlideSize+f),I=(u-r[0]+(a.centeredSlides?t.minTranslate():0)-b)/(y.swiperSlideSize+f),z=-(u-b),C=z+t.slidesSizesGrid[p],x=z>=0&&z<=t.size-t.slidesSizesGrid[p],h=z>=0&&z<t.size-1||C>1&&C<=t.size||z<=0&&C>=t.size;h&&(t.visibleSlides.push(y),t.visibleSlidesIndexes.push(p)),Fr(y,h,a.slideVisibleClass),Fr(y,x,a.slideFullyVisibleClass),y.progress=n?-k:k,y.originalProgress=n?-I:I}}function wo(i){const t=this;if(typeof i>"u"){const b=t.rtlTranslate?-1:1;i=t&&t.translate&&t.translate*b||0}const a=t.params,l=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:r,isEnd:u,progressLoop:f}=t;const p=r,y=u;if(l===0)n=0,r=!0,u=!0;else{n=(i-t.minTranslate())/l;const b=Math.abs(i-t.minTranslate())<1,k=Math.abs(i-t.maxTranslate())<1;r=b||n<=0,u=k||n>=1,b&&(n=0),k&&(n=1)}if(a.loop){const b=t.getSlideIndexByData(0),k=t.getSlideIndexByData(t.slides.length-1),I=t.slidesGrid[b],z=t.slidesGrid[k],C=t.slidesGrid[t.slidesGrid.length-1],x=Math.abs(i);x>=I?f=(x-I)/C:f=(x+C-z)/C,f>1&&(f-=1)}Object.assign(t,{progress:n,progressLoop:f,isBeginning:r,isEnd:u}),(a.watchSlidesProgress||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(i),r&&!p&&t.emit("reachBeginning toEdge"),u&&!y&&t.emit("reachEnd toEdge"),(p&&!r||y&&!u)&&t.emit("fromEdge"),t.emit("progress",n)}const rr=(i,t,a)=>{t&&!i.classList.contains(a)?i.classList.add(a):!t&&i.classList.contains(a)&&i.classList.remove(a)};function _o(){const i=this,{slides:t,params:a,slidesEl:l,activeIndex:n}=i,r=i.virtual&&a.virtual.enabled,u=i.grid&&a.grid&&a.grid.rows>1,f=k=>Ft(l,`.${a.slideClass}${k}, swiper-slide${k}`)[0];let p,y,b;if(r)if(a.loop){let k=n-i.virtual.slidesBefore;k<0&&(k=i.virtual.slides.length+k),k>=i.virtual.slides.length&&(k-=i.virtual.slides.length),p=f(`[data-swiper-slide-index="${k}"]`)}else p=f(`[data-swiper-slide-index="${n}"]`);else u?(p=t.find(k=>k.column===n),b=t.find(k=>k.column===n+1),y=t.find(k=>k.column===n-1)):p=t[n];p&&(u||(b=ao(p,`.${a.slideClass}, swiper-slide`)[0],a.loop&&!b&&(b=t[0]),y=ro(p,`.${a.slideClass}, swiper-slide`)[0],a.loop&&!y===0&&(y=t[t.length-1]))),t.forEach(k=>{rr(k,k===p,a.slideActiveClass),rr(k,k===b,a.slideNextClass),rr(k,k===y,a.slidePrevClass)}),i.emitSlidesClasses()}const Fs=(i,t)=>{if(!i||i.destroyed||!i.params)return;const a=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,l=t.closest(a());if(l){let n=l.querySelector(`.${i.params.lazyPreloaderClass}`);!n&&i.isElement&&(l.shadowRoot?n=l.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{l.shadowRoot&&(n=l.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},ar=(i,t)=>{if(!i.slides[t])return;const a=i.slides[t].querySelector('[loading="lazy"]');a&&a.removeAttribute("loading")},ur=i=>{if(!i||i.destroyed||!i.params)return;let t=i.params.lazyPreloadPrevNext;const a=i.slides.length;if(!a||!t||t<0)return;t=Math.min(t,a);const l=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),n=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const u=n,f=[u-t];f.push(...Array.from({length:t}).map((p,y)=>u+l+y)),i.slides.forEach((p,y)=>{f.includes(p.column)&&ar(i,y)});return}const r=n+l-1;if(i.params.rewind||i.params.loop)for(let u=n-t;u<=r+t;u+=1){const f=(u%a+a)%a;(f<n||f>r)&&ar(i,f)}else for(let u=Math.max(n-t,0);u<=Math.min(r+t,a-1);u+=1)u!==n&&(u>r||u<n)&&ar(i,u)};function bo(i){const{slidesGrid:t,params:a}=i,l=i.rtlTranslate?i.translate:-i.translate;let n;for(let r=0;r<t.length;r+=1)typeof t[r+1]<"u"?l>=t[r]&&l<t[r+1]-(t[r+1]-t[r])/2?n=r:l>=t[r]&&l<t[r+1]&&(n=r+1):l>=t[r]&&(n=r);return a.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function So(i){const t=this,a=t.rtlTranslate?t.translate:-t.translate,{snapGrid:l,params:n,activeIndex:r,realIndex:u,snapIndex:f}=t;let p=i,y;const b=z=>{let C=z-t.virtual.slidesBefore;return C<0&&(C=t.virtual.slides.length+C),C>=t.virtual.slides.length&&(C-=t.virtual.slides.length),C};if(typeof p>"u"&&(p=bo(t)),l.indexOf(a)>=0)y=l.indexOf(a);else{const z=Math.min(n.slidesPerGroupSkip,p);y=z+Math.floor((p-z)/n.slidesPerGroup)}if(y>=l.length&&(y=l.length-1),p===r&&!t.params.loop){y!==f&&(t.snapIndex=y,t.emit("snapIndexChange"));return}if(p===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=b(p);return}const k=t.grid&&n.grid&&n.grid.rows>1;let I;if(t.virtual&&n.virtual.enabled&&n.loop)I=b(p);else if(k){const z=t.slides.find(x=>x.column===p);let C=parseInt(z.getAttribute("data-swiper-slide-index"),10);Number.isNaN(C)&&(C=Math.max(t.slides.indexOf(z),0)),I=Math.floor(C/n.grid.rows)}else if(t.slides[p]){const z=t.slides[p].getAttribute("data-swiper-slide-index");z?I=parseInt(z,10):I=p}else I=p;Object.assign(t,{previousSnapIndex:f,snapIndex:y,previousRealIndex:u,realIndex:I,previousIndex:r,activeIndex:p}),t.initialized&&ur(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(u!==I&&t.emit("realIndexChange"),t.emit("slideChange"))}function xo(i,t){const a=this,l=a.params;let n=i.closest(`.${l.slideClass}, swiper-slide`);!n&&a.isElement&&t&&t.length>
vendor: 11,743 bytes, line 21
211&&t.includes(i)&&[...t.slice(t.indexOf(i)+1,t.length)].forEach(f=>{!n&&f.matches&&f.matches(`.${l.slideClass}, swiper-slide`)&&(n=f)});let r=!1,u;if(n){for(let f=0;f<a.slides.length;f+=1)if(a.slides[f]===n){r=!0,u=f;break}}if(n&&r)a.clickedSlide=n,a.virtual&&a.params.virtual.enabled?a.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):a.clickedIndex=u;else{a.clickedSlide=void 0,a.clickedIndex=void 0;return}l.slideToClickedSlide&&a.clickedIndex!==void 0&&a.clickedIndex!==a.activeIndex&&a.slideToClickedSlide()}var To={updateSize:po,updateSlides:mo,updateAutoHeight:go,updateSlidesOffset:vo,updateSlidesProgress:yo,updateProgress:wo,updateSlidesClasses:_o,updateActiveIndex:So,updateClickedSlide:xo};function Co(i){i===void 0&&(i=this.isHorizontal()?"x":"y");const t=this,{params:a,rtlTranslate:l,translate:n,wrapperEl:r}=t;if(a.virtualTranslate)return l?-n:n;if(a.cssMode)return n;let u=dr(r,i);return u+=t.cssOverflowAdjustment(),l&&(u=-u),u||0}function Mo(i,t){const a=this,{rtlTranslate:l,params:n,wrapperEl:r,progress:u}=a;let f=0,p=0;const y=0;a.isHorizontal()?f=l?-i:i:p=i,n.roundLengths&&(f=Math.floor(f),p=Math.floor(p)),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?f:p,n.cssMode?r[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-f:-p:n.virtualTranslate||(a.isHorizontal()?f-=a.cssOverflowAdjustment():p-=a.cssOverflowAdjustment(),r.style.transform=`translate3d(${f}px, ${p}px, ${y}px)`);let b;const k=a.maxTranslate()-a.minTranslate();k===0?b=0:b=(i-a.minTranslate())/k,b!==u&&a.updateProgress(i),a.emit("setTranslate",a.translate,t)}function Lo(){return-this.snapGrid[0]}function Eo(){return-this.snapGrid[this.snapGrid.length-1]}function Po(i,t,a,l,n){i===void 0&&(i=0),t===void 0&&(t=this.params.speed),a===void 0&&(a=!0),l===void 0&&(l=!0);const r=this,{params:u,wrapperEl:f}=r;if(r.animating&&u.preventInteractionOnTransition)return!1;const p=r.minTranslate(),y=r.maxTranslate();let b;if(l&&i>p?b=p:l&&i<y?b=y:b=i,r.updateProgress(b),u.cssMode){const k=r.isHorizontal();if(t===0)f[k?"scrollLeft":"scrollTop"]=-b;else{if(!r.support.smoothScroll)return pa({swiper:r,targetPosition:-b,side:k?"left":"top"}),!0;f.scrollTo({[k?"left":"top"]:-b,behavior:"smooth"})}return!0}return t===0?(r.setTransition(0),r.setTranslate(b),a&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(b),a&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(I){!r||r.destroyed||I.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,a&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var ko={getTranslate:Co,setTranslate:Mo,minTranslate:Lo,maxTranslate:Eo,translateTo:Po};function Io(i,t){const a=this;a.params.cssMode||(a.wrapperEl.style.transitionDuration=`${i}ms`,a.wrapperEl.style.transitionDelay=i===0?"0ms":""),a.emit("setTransition",i,t)}function ya(i){let{swiper:t,runCallbacks:a,direction:l,step:n}=i;const{activeIndex:r,previousIndex:u}=t;let f=l;f||(r>u?f="next":r<u?f="prev":f="reset"),t.emit(`transition${n}`),a&&f==="reset"?t.emit(`slideResetTransition${n}`):a&&r!==u&&(t.emit(`slideChangeTransition${n}`),f==="next"?t.emit(`slideNextTransition${n}`):t.emit(`slidePrevTransition${n}`))}function Ao(i,t){i===void 0&&(i=!0);const a=this,{params:l}=a;l.cssMode||(l.autoHeight&&a.updateAutoHeight(),ya({swiper:a,runCallbacks:i,direction:t,step:"Start"}))}function Do(i,t){i===void 0&&(i=!0);const a=this,{params:l}=a;a.animating=!1,!l.cssMode&&(a.setTransition(0),ya({swiper:a,runCallbacks:i,direction:t,step:"End"}))}var Oo={setTransition:Io,transitionStart:Ao,transitionEnd:Do};function zo(i,t,a,l,n){i===void 0&&(i=0),a===void 0&&(a=!0),typeof i=="string"&&(i=parseInt(i,10));const r=this;let u=i;u<0&&(u=0);const{params:f,snapGrid:p,slidesGrid:y,previousIndex:b,activeIndex:k,rtlTranslate:I,wrapperEl:z,enabled:C}=r;if(!C&&!l&&!n||r.destroyed||r.animating&&f.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=r.params.speed);const x=Math.min(r.params.slidesPerGroupSkip,u);let h=x+Math.floor((u-x)/r.params.slidesPerGroup);h>=p.length&&(h=p.length-1);const _=-p[h];if(f.normalizeSlideIndex)for(let m=0;m<y.length;m+=1){const J=-Math.floor(_*100),Z=Math.floor(y[m]*100),G=Math.floor(y[m+1]*100);typeof y[m+1]<"u"?J>=Z&&J<G-(G-Z)/2?u=m:J>=Z&&J<G&&(u=m+1):J>=Z&&(u=m)}if(r.initialized&&u!==k&&(!r.allowSlideNext&&(I?_>r.translate&&_>r.minTranslate():_<r.translate&&_<r.minTranslate())||!r.allowSlidePrev&&_>r.translate&&_>r.maxTranslate()&&(k||0)!==u))return!1;u!==(b||0)&&a&&r.emit("beforeSlideChangeStart"),r.updateProgress(_);let M;u>k?M="next":u<k?M="prev":M="reset";const S=r.virtual&&r.params.virtual.enabled;if(!(S&&n)&&(I&&-_===r.translate||!I&&_===r.translate))return r.updateActiveIndex(u),f.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),f.effect!=="slide"&&r.setTranslate(_),M!=="reset"&&(r.transitionStart(a,M),r.transitionEnd(a,M)),!1;if(f.cssMode){const m=r.isHorizontal(),J=I?_:-_;if(t===0)S&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),S&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{z[m?"scrollLeft":"scrollTop"]=J})):z[m?"scrollLeft":"scrollTop"]=J,S&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return pa({swiper:r,targetPosition:J,side:m?"left":"top"}),!0;z.scrollTo({[m?"left":"top"]:J,behavior:"smooth"})}return!0}const R=va().isSafari;return S&&!n&&R&&r.isElement&&r.virtual.update(!1,!1,u),r.setTransition(t),r.setTranslate(_),r.updateActiveIndex(u),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,l),r.transitionStart(a,M),t===0?r.transitionEnd(a,M):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(J){!r||r.destroyed||J.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(a,M))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function No(i,t,a,l){i===void 0&&(i=0),a===void 0&&(a=!0),typeof i=="string"&&(i=parseInt(i,10));const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let u=i;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)u=u+n.virtual.slidesBefore;else{let f;if(r){const I=u*n.params.grid.rows;f=n.slides.find(z=>z.getAttribute("data-swiper-slide-index")*1===I).column}else f=n.getSlideIndexByData(u);const p=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:y}=n.params;let b=n.params.slidesPerView;b==="auto"?b=n.slidesPerViewDynamic():(b=Math.ceil(parseFloat(n.params.slidesPerView,10)),y&&b%2===0&&(b=b+1));let k=p-f<b;if(y&&(k=k||f<Math.ceil(b/2)),l&&y&&n.params.slidesPerView!=="auto"&&!r&&(k=!1),k){const I=y?f<n.activeIndex?"prev":"next":f-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:I,slideTo:!0,activeSlideIndex:I==="next"?f+1:f-p+1,slideRealIndex:I==="next"?n.realIndex:void 0})}if(r){const I=u*n.params.grid.rows;u=n.slides.find(z=>z.getAttribute("data-swiper-slide-index")*1===I).column}else u=n.getSlideIndexByData(u)}return requestAnimationFrame(()=>{n.slideTo(u,t,a,l)}),n}function Ho(i,t,a){t===void 0&&(t=!0);const l=this,{enabled:n,params:r,animating:u}=l;if(!n||l.destroyed)return l;typeof i>"u"&&(i=l.params.speed);let f=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(f=Math.max(l.slidesPerViewDynamic("current",!0),1));const p=l.activeIndex<r.slidesPerGroupSkip?1:f,y=l.virtual&&r.virtual.enabled;if(r.loop){if(u&&!y&&r.loopPreventsSliding)return!1;if(l.loopFix({direction:"next"}),l._clientLeft=l.wrapperEl.clientLeft,l.activeIndex===l.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{l.slideTo(l.activeIndex+p,i,t,a)}),!0}return r.rewind&&l.isEnd?l.slideTo(0,i,t,a):l.slideTo(l.activeIndex+p,i,t,a)}function jo(i,t,a){t===void 0&&(t=!0);const l=this,{params:n,snapGrid:r,slidesGrid:u,rtlTranslate:f,enabled:p,animating:y}=l;if(!p||l.destroyed)return l;typeof i>"u"&&(i=l.params.speed);const b=l.virtual&&n.virtual.enabled;if(n.loop){if(y&&!b&&n.loopPreventsSliding)return!1;l.loopFix({direction:"prev"}),l._clientLeft=l.wrapperEl.clientLeft}const k=f?l.translate:-l.translate;function I(M){return M<0?-Math.floor(Math.abs(M)):Math.floor(M)}const z=I(k),C=r.map(M=>I(M)),x=n.freeMode&&n.freeMode.enabled;let h=r[C.indexOf(z)-1];if(typeof h>"u"&&(n.cssMode||x)){let M;r.forEach((S,O)=>{z>=S&&(M=O)}),typeof M<"u"&&(h=x?r[M]:r[M>0?M-1:M])}let _=0;if(typeof h<"u"&&(_=u.indexOf(h),_<0&&(_=l.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(_=_-l.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),n.rewind&&l.isBeginning){const M=l.params.virtual&&l.params.virtual.enabled&&l.virtual?l.virtual.slides.length-1:l.slides.length-1;return l.slideTo(M,i,t,a)}else if(n.loop&&l.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{l.slideTo(_,i,t,a)}),!0;return l.slideTo(_,i,t,a)}function $o(i,t,a){t===void 0&&(t=!0);const l=this;if(!l.destroyed)return typeof i>"u"&&(i=l.params.speed),l.slideTo(l.activeIndex,i,t,a)}function Bo(i,t,a,l){t===void 0&&(t=!0),l===void 0&&(l=.5);const n=this;if(n.destroyed)return;typeof i>"u"&&(i=n.params.speed);let r=n.activeIndex;const u=Math.min(n.params.slidesPerGroupSkip,r),f=u+Math.floor((r-u)/n.params.slidesPerGroup),p=n.rtlTranslate?n.translate:-n.translate;if(p>=n.snapGrid[f]){const y=n.snapGrid[f],b=n.snapGrid[f+1];p-y>(b-y)*l&&(r+=n.params.slidesPerGroup)}else{const y=n.snapGrid[f-1],b=n.snapGrid[f];p-y<=(b-y)*l&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,i,t,a)}function Ro(){const i=this;if(i.destroyed)return;const{params:t,slidesEl:a}=i,l=t.slidesPerView==="auto"?i.slidesPerViewDynamic():t.slidesPerView;let n=i.getSlideIndexWhenGrid(i.clickedIndex),r;const u=i.isElement?"swiper-slide":`.${t.slideClass}`,f=i.grid&&i.params.grid&&i.params.grid.rows>1;if(t.loop){if(i.animating)return;r=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?i.slideToLoop(r):n>(f?(i.slides.length-l)/2-(i.params.grid.rows-1):i.slides.length-l)?(i.loopFix(),n=i.getSlideIndex(Ft(a,`${u}[data-swiper-slide-index="${r}"]`)[0]),rs(()=>{i.slideTo(n)})):i.slideTo(n)}else i.slideTo(n)}var Zo={slideTo:zo,slideToLoop:No,slideNext:Ho,slidePrev:jo,slideReset:$o,slideToClosest:Bo,slideToClickedSlide:Ro};function Wo(i,t){const a=this,{params:l,slidesEl:n}=a;if(!l.loop||a.virtual&&a.params.virtual.enabled)return;const r=()=>{Ft(n,`.${l.slideClass}, swiper-slide`).forEach((z,C)=>{z.setAttribute("data-swiper-slide-index",C)})},u=()=>{const I=Ft(n,`.${l.slideBlankClass}`);I.forEach(z=>{z.remove()}),I.length>0&&(a.recalcSlides(),a.updateSlides())},f=a.grid&&l.grid&&l.grid.rows>1;l.loopAddBlankSlides&&(l.slidesPerGroup>1||f)&&u();const p=l.slidesPerGroup*(f?l.grid.rows:1),y=a.slides.length%p!==0,b=f&&a.slides.length%l.grid.rows!==0,k=I=>{for(let z=0;z<I;z+=1){const C=a.isElement?Ti("swiper-slide",[l.slideBlankClass]):Ti("div",[l.slideClass,l.slideBlankClass]);a.slidesEl.append(C)}};if(y){if(l.loopAddBlankSlides){const I=p-a.slides.length%p;k(I),a.recalcSlides(),a.updateSlides()}else Ys("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
21not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(b){if(l.loopAddBlankSlides){const I=l.grid.rows-a.slides.length%l.grid.rows;k(I),a.recalcSlides(),a.updateSlides()}else Ys("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();a.loopFix({slideRealIndex:i,direction:l.centeredSlides?void 0:"next",initial:t})}function Fo(i){let{slideRealIndex:t,slideTo:a=!0,direction:l,setTranslate:n,activeSlideIndex:r,initial:u,byController:f,byMousewheel:p}=i===void 0?{}:i;const y=this;if(!y.params.loop)return;y.emit("beforeLoopFix");const{slides:b,allowSlidePrev:k,allowSlideNext:I,slidesEl:z,params:C}=y,{centeredSlides:x,initialSlide:h}=C;if(y.allowSlidePrev=!0,y.allowSlideNext=!0,y.virtual&&C.virtual.enabled){a&&(!C.centeredSlides&&y.snapIndex===0?y.slideTo(y.virtual.slides.length,0,!1,!0):C.centeredSlides&&y.snapIndex<C.slidesPerView?y.slideTo(y.virtual.slides.length+y.snapIndex,0,!1,!0):y.snapIndex===y.snapGrid.length-1&&y.slideTo(y.virtual.slidesBefore,0,!1,!0)),y.allowSlidePrev=k,y.allowSlideNext=I,y.emit("loopFix");return}let _=C.slidesPerView;_==="auto"?_=y.slidesPerViewDynamic():(_=Math.ceil(parseFloat(C.slidesPerView,10)),x&&_%2===0&&(_=_+1));const M=C.slidesPerGroupAuto?_:C.slidesPerGroup;let S=x?Math.max(M,Math.ceil(_/2)):M;S%M!==0&&(S+=M-S%M),S+=C.loopAdditionalSlides,y.loopedSlides=S;const O=y.grid&&C.grid&&C.grid.rows>1;b.length<_+S||y.params.effect==="cards"&&b.length<_+S*2?Ys("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):O&&C.grid.fill==="row"&&Ys("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const j=[],R=[],m=O?Math.ceil(b.length/C.grid.rows):b.length,J=u&&m-h<_&&!x;let Z=J?h:y.activeIndex;typeof r>"u"?r=y.getSlideIndex(b.find(fe=>fe.classList.contains(C.slideActiveClass))):Z=r;const G=l==="next"||!l,te=l==="prev"||!l;let ee=0,U=0;const pe=(O?b[r].column:r)+(x&&typeof n>"u"?-_/2+.5:0);if(pe<S){ee=Math.max(S-pe,M);for(let fe=0;fe<S-pe;fe+=1){const X=fe-Math.floor(fe/m)*m;if(O){const V=m-X-1;for(let he=b.length-1;he>=0;he-=1)b[he].column===V&&j.push(he)}else j.push(m-X-1)}}else if(pe+_>m-S){U=Math.max(pe-(m-S*2),M),J&&(U=Math.max(U,_-m+h+1));for(let fe=0;fe<U;fe+=1){const X=fe-Math.floor(fe/m)*m;O?b.forEach((V,he)=>{V.column===X&&R.push(he)}):R.push(X)}}if(y.__preventObserver__=!0,requestAnimationFrame(()=>{y.__preventObserver__=!1}),y.params.effect==="cards"&&b.length<_+S*2&&(R.includes(r)&&R.splice(R.indexOf(r),1),j.includes(r)&&j.splice(j.indexOf(r),1)),te&&j.forEach(fe=>{b[fe].swiperLoopMoveDOM=!0,z.prepend(b[fe]),b[fe].swiperLoopMoveDOM=!1}),G&&R.forEach(fe=>{b[fe].swiperLoopMoveDOM=!0,z.append(b[fe]),b[fe].swiperLoopMoveDOM=!1}),y.recalcSlides(),C.slidesPerView==="auto"?y.updateSlides():O&&(j.length>0&&te||R.length>0&&G)&&y.slides.forEach((fe,X)=>{y.grid.updateSlide(X,fe,y.slides)}),C.watchSlidesProgress&&y.updateSlidesOffset(),a){if(j.length>0&&te){if(typeof t>"u"){const fe=y.slidesGrid[Z],V=y.slidesGrid[Z+ee]-fe;p?y.setTranslate(y.translate-V):(y.slideTo(Z+Math.ceil(ee),0,!1,!0),n&&(y.touchEventsData.startTranslate=y.touchEventsData.startTranslate-V,y.touchEventsData.currentTranslate=y.touchEventsData.currentTranslate-V))}else if(n){const fe=O?j.length/C.grid.rows:j.length;y.slideTo(y.activeIndex+fe,0,!1,!0),y.touchEventsData.currentTranslate=y.translate}}else if(R.length>0&&G)if(typeof t>"u"){const fe=y.slidesGrid[Z],V=y.slidesGrid[Z-U]-fe;p?y.setTranslate(y.translate-V):(y.slideTo(Z-U,0,!1,!0),n&&(y.touchEventsData.startTranslate=y.touchEventsData.startTranslate-V,y.touchEventsData.currentTranslate=y.touchEventsData.currentTranslate-V))}else{const fe=O?R.length/C.grid.rows:R.length;y.slideTo(y.activeIndex-fe,0,!1,!0)}}if(y.allowSlidePrev=k,y.allowSlideNext=I,y.controller&&y.controller.control&&!f){const fe={slideRealIndex:t,direction:l,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(y.controller.control)?y.controller.control.forEach(X=>{!X.destroyed&&X.params.loop&&X.loopFix({...fe,slideTo:X.params.slidesPerView===C.slidesPerView?a:!1})}
vendor: 27,006 bytes, line 21
21):y.controller.control instanceof y.constructor&&y.controller.control.params.loop&&y.controller.control.loopFix({...fe,slideTo:y.controller.control.params.slidesPerView===C.slidesPerView?a:!1})}y.emit("loopFix")}function Yo(){const i=this,{params:t,slidesEl:a}=i;if(!t.loop||!a||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const l=[];i.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;l[r]=n}),i.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),l.forEach(n=>{a.append(n)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var qo={loopCreate:Wo,loopFix:Fo,loopDestroy:Yo};function Vo(i){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const a=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),a.style.cursor="move",a.style.cursor=i?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function Go(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var Uo={setGrabCursor:Vo,unsetGrabCursor:Go};function Xo(i,t){t===void 0&&(t=this);function a(l){if(!l||l===jt()||l===wt())return null;l.assignedSlot&&(l=l.assignedSlot);const n=l.closest(i);return!n&&!l.getRootNode?null:n||a(l.getRootNode().host)}return a(t)}function Yr(i,t,a){const l=wt(),{params:n}=i,r=n.edgeSwipeDetection,u=n.edgeSwipeThreshold;return r&&(a<=u||a>=l.innerWidth-u)?r==="prevent"?(t.preventDefault(),!0):!1:!0}function Jo(i){const t=this,a=jt();let l=i;l.originalEvent&&(l=l.originalEvent);const n=t.touchEventsData;if(l.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==l.pointerId)return;n.pointerId=l.pointerId}else l.type==="touchstart"&&l.targetTouches.length===1&&(n.touchId=l.targetTouches[0].identifier);if(l.type==="touchstart"){Yr(t,l,l.targetTouches[0].pageX);return}const{params:r,touches:u,enabled:f}=t;if(!f||!r.simulateTouch&&l.pointerType==="mouse"||t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let p=l.target;if(r.touchEventsTarget==="wrapper"&&!so(p,t.wrapperEl)||"which"in l&&l.which===3||"button"in l&&l.button>0||n.isTouched&&n.isMoved)return;const y=!!r.noSwipingClass&&r.noSwipingClass!=="",b=l.composedPath?l.composedPath():l.path;y&&l.target&&l.target.shadowRoot&&b&&(p=b[0]);const k=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,I=!!(l.target&&l.target.shadowRoot);if(r.noSwiping&&(I?Xo(k,p):p.closest(k))){t.allowClick=!0;return}if(r.swipeHandler&&!p.closest(r.swipeHandler))return;u.currentX=l.pageX,u.currentY=l.pageY;const z=u.currentX,C=u.currentY;if(!Yr(t,l,z))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),u.startX=z,u.startY=C,n.touchStartTime=Hi(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let x=!0;p.matches(n.focusableElements)&&(x=!1,p.nodeName==="SELECT"&&(n.isTouched=!1)),a.activeElement&&a.activeElement.matches(n.focusableElements)&&a.activeElement!==p&&(l.pointerType==="mouse"||l.pointerType!=="mouse"&&!p.matches(n.focusableElements))&&a.activeElement.blur();const h=x&&t.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||h)&&!p.isContentEditable&&l.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function Ko(i){const t=jt(),a=this,l=a.touchEventsData,{params:n,touches:r,rtlTranslate:u,enabled:f}=a;if(!f||!n.simulateTouch&&i.pointerType==="mouse")return;let p=i;if(p.originalEvent&&(p=p.originalEvent),p.type==="pointermove"&&(l.touchId!==null||p.pointerId!==l.pointerId))return;let y;if(p.type==="touchmove"){if(y=[...p.changedTouches].find(R=>R.identifier===l.touchId),!y||y.identifier!==l.touchId)return}else y=p;if(!l.isTouched){l.startMoving&&l.isScrolling&&a.emit("touchMoveOpposite",p);return}const b=y.pageX,k=y.pageY;if(p.preventedByNestedSwiper){r.startX=b,r.startY=k;return}if(!a.allowTouchMove){p.target.matches(l.focusableElements)||(a.allowClick=!1),l.isTouched&&(Object.assign(r,{startX:b,startY:k,currentX:b,currentY:k}),l.touchStartTime=Hi());return}if(n.touchReleaseOnEdges&&!n.loop)if(a.isVertical()){if(k<r.startY&&a.translate<=a.maxTranslate()||k>r.startY&&a.translate>=a.minTranslate()){l.isTouched=!1,l.isMoved=!1;return}}else{if(u&&(b>r.startX&&-a.translate<=a.maxTranslate()||b<r.startX&&-a.translate>=a.minTranslate()))return;if(!u&&(b<r.startX&&a.translate<=a.maxTranslate()||b>r.startX&&a.translate>=a.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(l.focusableElements)&&t.activeElement!==p.target&&p.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(l.focusableElements)){l.isMoved=!0,a.allowClick=!1;return}l.allowTouchCallbacks&&a.emit("touchMove",p),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=b,r.currentY=k;const I=r.currentX-r.startX,z=r.currentY-r.startY;if(a.params.threshold&&Math.sqrt(I**2+z**2)<a.params.threshold)return;if(typeof l.isScrolling>"u"){let R;a.isHorizontal()&&r.currentY===r.startY||a.isVertical()&&r.currentX===r.startX?l.isScrolling=!1:I*I+z*z>=25&&(R=Math.atan2(Math.abs(z),Math.abs(I))*180/Math.PI,l.isScrolling=a.isHorizontal()?R>n.touchAngle:90-R>n.touchAngle)}if(l.isScrolling&&a.emit("touchMoveOpposite",p),typeof l.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(l.startMoving=!0),l.isScrolling||p.type==="touchmove"&&l.preventTouchMoveFromPointerMove){l.isTouched=!1;return}if(!l.startMoving)return;a.allowClick=!1,!n.cssMode&&p.cancelable&&p.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&p.stopPropagation();let C=a.isHorizontal()?I:z,x=a.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(C=Math.abs(C)*(u?1:-1),x=Math.abs(x)*(u?1:-1)),r.diff=C,C*=n.touchRatio,u&&(C=-C,x=-x);const h=a.touchesDirection;a.swipeDirection=C>0?"prev":"next",a.touchesDirection=x>0?"prev":"next";const _=a.params.loop&&!n.cssMode,M=a.touchesDirection==="next"&&a.allowSlideNext||a.touchesDirection==="prev"&&a.allowSlidePrev;if(!l.isMoved){if(_&&M&&a.loopFix({direction:a.swipeDirection}),l.startTranslate=a.getTranslate(),a.setTransition(0),a.animating){const R=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});a.wrapperEl.dispatchEvent(R)}l.allowMomentumBounce=!1,n.grabCursor&&(a.allowSlideNext===!0||a.allowSlidePrev===!0)&&a.setGrabCursor(!0),a.emit("sliderFirstMove",p)}let S;if(new Date().getTime(),n._loopSwapReset!==!1&&l.isMoved&&l.allowThresholdMove&&h!==a.touchesDirection&&_&&M&&Math.abs(C)>=1){Object.assign(r,{startX:b,startY:k,currentX:b,currentY:k,startTranslate:l.currentTranslate}),l.loopSwapReset=!0,l.startTranslate=l.currentTranslate;return}a.emit("sliderMove",p),l.isMoved=!0,l.currentTranslate=C+l.startTranslate;let O=!0,j=n.resistanceRatio;if(n.touchReleaseOnEdges&&(j=0),C>0?(_&&M&&!S&&l.allowThresholdMove&&l.currentTranslate>(n.centeredSlides?a.minTranslate()-a.slidesSizesGrid[a.activeIndex+1]-(n.slidesPerView!=="auto"&&a.slides.length-n.slidesPerView>=2?a.slidesSizesGrid[a.activeIndex+1]+a.params.spaceBetween:0)-a.params.spaceBetween:a.minTranslate())&&a.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),l.currentTranslate>a.minTranslate()&&(O=!1,n.resistance&&(l.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+l.startTranslate+C)**j))):C<0&&(_&&M&&!S&&l.allowThresholdMove&&l.currentTranslate<(n.centeredSlides?a.maxTranslate()+a.slidesSizesGrid[a.slidesSizesGrid.length-1]+a.params.spaceBetween+(n.slidesPerView!=="auto"&&a.slides.length-n.slidesPerView>=2?a.slidesSizesGrid[a.slidesSizesGrid.length-1]+a.params.spaceBetween:0):a.maxTranslate())&&a.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:a.slides.length-(n.slidesPerView==="auto"?a.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),l.currentTranslate<a.maxTranslate()&&(O=!1,n.resistance&&(l.currentTranslate=a.maxTranslate()+1-(a.maxTranslate()-l.startTranslate-C)**j))),O&&(p.preventedByNestedSwiper=!0),!a.allowSlideNext&&a.swipeDirection==="next"&&l.currentTranslate<l.startTranslate&&(l.currentTranslate=l.startTranslate),!a.allowSlidePrev&&a.swipeDirection==="prev"&&l.currentTranslate>l.startTranslate&&(l.currentTranslate=l.startTranslate),!a.allowSlidePrev&&!a.allowSlideNext&&(l.currentTranslate=l.startTranslate),n.threshold>0)if(Math.abs(C)>n.threshold||l.allowThresholdMove){if(!l.allowThresholdMove){l.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,l.currentTranslate=l.startTranslate,r.diff=a.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{l.currentTranslate=l.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&a.freeMode||n.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(l.currentTranslate),a.setTranslate(l.currentTranslate))}function Qo(i){const t=this,a=t.touchEventsData;let l=i;l.originalEvent&&(l=l.originalEvent);let n;if(l.type==="touchend"||l.type==="touchcancel"){if(n=[...l.changedTouches].find(j=>j.identifier===a.touchId),!n||n.identifier!==a.touchId)return}else{if(a.touchId!==null||l.pointerId!==a.pointerId)return;n=l}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(l.type)&&!(["pointercancel","contextmenu"].includes(l.type)&&(t.browser.isSafari||t.browser.isWebView)))return;a.pointerId=null,a.touchId=null;const{params:u,touches:f,rtlTranslate:p,slidesGrid:y,enabled:b}=t;if(!b||!u.simulateTouch&&l.pointerType==="mouse")return;if(a.allowTouchCallbacks&&t.emit("touchEnd",l),a.allowTouchCallbacks=!1,!a.isTouched){a.isMoved&&u.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,a.startMoving=!1;return}u.grabCursor&&a.isMoved&&a.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const k=Hi(),I=k-a.touchStartTime;if(t.allowClick){const j=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(j&&j[0]||l.target,j),t.emit("tap click",l),I<300&&k-a.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(a.lastClickTime=Hi(),rs(()=>{t.destroyed||(t.allowClick=!0)}),!a.isTouched||!a.isMoved||!t.swipeDirection||f.diff===0&&!a.loopSwapReset||a.currentTranslate===a.startTranslate&&!a.loopSwapReset){a.isTouched=!1,a.isMoved=!1,a.startMoving=!1;return}a.isTouched=!1,a.isMoved=!1,a.startMoving=!1;let z;if(u.followFinger?z=p?t.translate:-t.translate:z=-a.currentTranslate,u.cssMode)return;if(u.freeMode&&u.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:z});return}const C=z>=-t.maxTranslate()&&!t.params.loop;let x=0,h=t.slidesSizesGrid[0];for(let j=0;j<y.length;j+=j<u.slidesPerGroupSkip?1:u.slidesPerGroup){const R=j<u.slidesPerGroupSkip-1?1:u.slidesPerGroup;typeof y[j+R]<"u"?(C||z>=y[j]&&z<y[j+R])&&(x=j,h=y[j+R]-y[j]):(C||z>=y[j])&&(x=j,h=y[y.length-1]-y[y.length-2])}let _=null,M=null;u.rewind&&(t.isBeginning?M=u.virtual&&u.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(_=0));const S=(z-y[x])/h,O=x<u.slidesPerGroupSkip-1?1:u.slidesPerGroup;if(I>u.longSwipesMs){if(!u.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(S>=u.longSwipesRatio?t.slideTo(u.rewind&&t.isEnd?_:x+O):t.slideTo(x)),t.swipeDirection==="prev"&&(S>1-u.longSwipesRatio?t.slideTo(x+O):M!==null&&S<0&&Math.abs(S)>u.longSwipesRatio?t.slideTo(M):t.slideTo(x))}else{if(!u.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(x+O):t.slideTo(x):(t.swipeDirection==="next"&&t.slideTo(_!==null?_:x+O),t.swipeDirection==="prev"&&t.slideTo(M!==null?M:x))}}function qr(){const i=this,{params:t,el:a}=i;if(a&&a.offsetWidth===0)return;t.breakpoints&&i.setBreakpoint();const{allowSlideNext:l,allowSlidePrev:n,snapGrid:r}=i,u=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const f=u&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!f?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!u?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=n,i.allowSlideNext=l,i.params.watchOverflow&&r!==i.snapGrid&&i.checkOverflow()}function el(i){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&i.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function tl(){const i=this,{wrapperEl:t,rtlTranslate:a,enabled:l}=i;if(!l)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-t.scrollLeft:i.translate=-t.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let n;const r=i.maxTranslate()-i.minTranslate();r===0?n=0:n=(i.translate-i.minTranslate())/r,n!==i.progress&&i.updateProgress(a?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function il(i){const t=this;Fs(t,i.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function nl(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const wa=(i,t)=>{const a=jt(),{params:l,el:n,wrapperEl:r,device:u}=i,f=!!l.nested,p=t==="on"?"addEventListener":"removeEventListener",y=t;!n||typeof n=="string"||(a[p]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:f}),n[p]("touchstart",i.onTouchStart,{passive:!1}),n[p]("pointerdown",i.onTouchStart,{passive:!1}),a[p]("touchmove",i.onTouchMove,{passive:!1,capture:f}),a[p]("pointermove",i.onTouchMove,{passive:!1,capture:f}),a[p]("touchend",i.onTouchEnd,{passive:!0}),a[p]("pointerup",i.onTouchEnd,{passive:!0}),a[p]("pointercancel",i.onTouchEnd,{passive:!0}),a[p]("touchcancel",i.onTouchEnd,{passive:!0}),a[p]("pointerout",i.onTouchEnd,{passive:!0}),a[p]("pointerleave",i.onTouchEnd,{passive:!0}),a[p]("contextmenu",i.onTouchEnd,{passive:!0}),(l.preventClicks||l.preventClicksPropagation)&&n[p]("click",i.onClick,!0),l.cssMode&&r[p]("scroll",i.onScroll),l.updateOnWindowResize?i[y](u.ios||u.android?"resize orientationchange observerUpdate":"resize observerUpdate",qr,!0):i[y]("observerUpdate",qr,!0),n[p]("load",i.onLoad,{capture:!0}))};function sl(){const i=this,{params:t}=i;i.onTouchStart=Jo.bind(i),i.onTouchMove=Ko.bind(i),i.onTouchEnd=Qo.bind(i),i.onDocumentTouchStart=nl.bind(i),t.cssMode&&(i.onScroll=tl.bind(i)),i.onClick=el.bind(i),i.onLoad=il.bind(i),wa(i,"on")}function rl(){wa(this,"off")}var al={attachEvents:sl,detachEvents:rl};const Vr=(i,t)=>i.grid&&t.grid&&t.grid.rows>1;function ol(){const i=this,{realIndex:t,initialized:a,params:l,el:n}=i,r=l.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const u=jt(),f=l.breakpointsBase==="window"||!l.breakpointsBase?l.breakpointsBase:"container",p=["window","container"].includes(l.breakpointsBase)||!l.breakpointsBase?i.el:u.querySelector(l.breakpointsBase),y=i.getBreakpoint(r,f,p);if(!y||i.currentBreakpoint===y)return;const k=(y in r?r[y]:void 0)||i.originalParams,I=Vr(i,l),z=Vr(i,k),C=i.params.grabCursor,x=k.grabCursor,h=l.enabled;I&&!z?(n.classList.remove(`${l.containerModifierClass}grid`,`${l.containerModifierClass}grid-column`),i.emitContainerClasses()):!I&&z&&(n.classList.add(`${l.containerModifierClass}grid`),(k.grid.fill&&k.grid.fill==="column"||!k.grid.fill&&l.grid.fill==="column")&&n.classList.add(`${l.containerModifierClass}grid-column`),i.emitContainerClasses()),C&&!x?i.unsetGrabCursor():!C&&x&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(R=>{if(typeof k[R]>"u")return;const m=l[R]&&l[R].enabled,J=k[R]&&k[R].enabled;m&&!J&&i[R].disable(),!m&&J&&i[R].enable()});const _=k.direction&&k.direction!==l.direction,M=l.loop&&(k.slidesPerView!==l.slidesPerView||_),S=l.loop;_&&a&&i.changeDirection(),xi(i.params,k);const O=i.params.enabled,j=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),h&&!O?i.disable():!h&&O&&i.enable(),i.currentBreakpoint=y,i.emit("_beforeBreakpoint",k),a&&(M?(i.loopDestroy(),i.loopCreate(t),i.updateSlides()):!S&&j?(i.loopCreate(t),i.updateSlides()):S&&!j&&i.loopDestroy()),i.emit("breakpoint",k)}function ll(i,t,a){if(t===void 0&&(t="window"),!i||t==="container"&&!a)return;let l=!1;const n=wt(),r=t==="window"?n.innerHeight:a.clientHeight,u=Object.keys(i).map(f=>{if(typeof f=="string"&&f.indexOf("@")===0){const p=parseFloat(f.substr(1));return{value:r*p,point:f}}return{value:f,point:f}});u.sort((f,p)=>parseInt(f.value,10)-parseInt(p.value,10));for(let f=0;f<u.length;f+=1){const{point:p,value:y}=u[f];t==="window"?n.matchMedia(`(min-width: ${y}px)`).matches&&(l=p):y<=a.clientWidth&&(l=p)}return l||"max"}var dl={setBreakpoint:ol,getBreakpoint:ll};function cl(i,t){const a=[];return i.forEach(l=>{typeof l=="object"?Object.keys(l).forEach(n=>{l[n]&&a.push(t+n)}):typeof l=="string"&&a.push(t+l)}),a}function ul(){const i=this,{classNames:t,params:a,rtl:l,el:n,device:r}=i,u=cl(["initialized",a.direction,{"free-mode":i.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:l},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&a.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);t.push(...u),n.classList.add(...t),i.emitContainerClasses()}function fl(){const i=this,{el:t,classNames:a}=i;!t||typeof t=="string"||(t.classList.remove(...a),i.emitContainerClasses())}var hl={addClasses:ul,removeClasses:fl};function pl(){const i=this,{isLocked:t,params:a}=i,{slidesOffsetBefore:l}=a;if(l){const n=i.slides.length-1,r=i.slidesGrid[n]+i.slidesSizesGrid[n]+l*2;i.isLocked=i.size>r}else i.isLocked=i.snapGrid.length===1;a.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),a.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),t&&t!==i.isLocked&&(i.isEnd=!1),t!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var ml={checkOverflow:pl},Gr={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",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,loopAddBlankSlides:!0,loopAdditionalSlides:0,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",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function gl(i,t){return function(l){l===void 0&&(l={});const n=Object.keys(l)[0],r=l[n];if(typeof r!="object"||r===null){xi(t,l);return}if(i[n]===!0&&(i[n]={enabled:!0}),n==="navigation"&&i[n]&&i[n].enabled&&!i[n].prevEl&&!i[n].nextEl&&(i[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&i[n]&&i[n].enabled&&!i[n].el&&(i[n].auto=!0),!(n in i&&"enabled"in r)){xi(t,l);return}typeof i[n]=="object"&&!("enabled"in i[n])&&(i[n].enabled=!0),i[n]||(i[n]={enabled:!1}),xi(t,l)}}const or={eventsEmitter:ho,update:To,translate:ko,transition:Oo,slide:Zo,loop:qo,grabCursor:Uo,events:al,breakpoints:dl,checkOverflow:ml,classes:hl},lr={};class Wt{constructor(){let t,a;for(var l=arguments.length,n=new Array(l),r=0;r<l;r++)n[r]=arguments[r];n.length===1&&n[0].constructor&&Object.prototype.toString.call(n[0]).slice(8,-1)==="Object"?a=n[0]:[t,a]=n,a||(a={}),a=xi({},a),t&&!a.el&&(a.el=t);const u=jt();if(a.el&&typeof a.el=="string"&&u.querySelectorAll(a.el).length>1){const b=[];return u.querySelectorAll(a.el).forEach(k=>{const I=xi({},a,{el:k});b.push(new Wt(I))}),b}const f=this;f.__swiper__=!0,f.support=ma(),f.device=ga({userAgent:a.userAgent}),f.browser=va(),f.eventsListeners={},f.eventsAnyListeners=[],f.modules=[...f.__modules__],a.modules&&Array.isArray(a.modules)&&f.modules.push(...a.modules);const p={};f.modules.forEach(b=>{b({params:a,swiper:f,extendParams:gl(a,p),on:f.on.bind(f),once:f.once.bind(f),off:f.off.bind(f),emit:f.emit.bind(f)})});const y=xi({},Gr,p);return f.params=xi({},y,lr,a),f.originalParams=xi({},f.params),f.passedParams=xi({},a),f.params&&f.params.on&&Object.keys(f.params.on).forEach(b=>{f.on(b,f.params.on[b])}),f.params&&f.params.onAny&&f.onAny(f.params.onAny),Object.assign(f,{enabled:f.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return f.params.direction==="horizontal"},isVertical(){return f.params.direction==="vertical"},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:f.params.allowSlideNext,allowSlidePrev:f.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:f.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:f.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),f.emit("_swiper"),f.params.init&&f.init(),f}getDirectionLabel(t){return this.isHorizontal()?t:{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"}[t]}getSlideIndex(t){const{slidesEl:a,params:l}=this,n=Ft(a,`.${l.slideClass}, swiper-slide`),r=Es(n[0]);return Es(t)-r}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(a=>a.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:a,params:l}=t;t.slides=Ft(a,`.${l.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,a){const l=this;t=Math.min(Math.max(t,0),1);const n=l.minTranslate(),u=(l.maxTranslate()-n)*t+n;l.translateTo(u,typeof a>"u"?0:a),l.updateActiveIndex(),l.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const a=t.el.className.split(" ").filter(l=>l.indexOf("swiper")===0||l.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",a.join(" "))}getSlideClasses(t){const a=this;return a.destroyed?"":t.className.split(" ").filter(l=>l.indexOf("swiper-slide")===0||l.indexOf(a.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const a=[];t.slides.forEach(l=>{const n=t.getSlideClasses(l);a.push({slideEl:l,classNames:n}),t.emit("_slideClass",l,n)}),t.emit("_slideClasses",a)}slidesPerViewDynamic(t,a){t===void 0&&(t="current"),a===void 0&&(a=!1);const l=this,{params:n,slides:r,slidesGrid:u,slidesSizesGrid:f,size:p,activeIndex:y}=l;let b=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let k=r[y]?Math.ceil(r[y].swiperSlideSize):0,I;for(let z=y+1;z<r.length;z+=1)r[z]&&!I&&(k+=Math.ceil(r[z].swiperSlideSize),b+=1,k>p&&(I=!0));for(let z=y-1;z>=0;z-=1)r[z]&&!I&&(k+=r[z].swiperSlideSize,b+=1,k>p&&(I=!0))}else if(t==="current")for(let k=y+1;k<r.length;k+=1)(a?u[k]+f[k]-u[y]<p:u[k]-u[y]<p)&&(b+=1);else for(let k=y-1;k>=0;k-=1)u[y]-u[k]<p&&(b+=1);return b}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:a,params:l}=t;l.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(u=>{u.complete&&Fs(t,u)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function n(){const u=t.rtlTranslate?t.translate*-1:t.translate,f=Math.min(Math.max(u,t.maxTranslate()),t.minTranslate());t.setTranslate(f),t.updateActiveIndex(),t.updateSlidesClasses()}let r;if(l.freeMode&&l.freeMode.enabled&&!l.cssMode)n(),l.autoHeight&&t.updateAutoHeight();else{if((l.slidesPerView==="auto"||l.slidesPerView>1)&&t.isEnd&&!l.centeredSlides){const u=t.virtual&&l.virtual.enabled?t.virtual.slides:t.slides;r=t.slideTo(u.length-1,0,!1,!0)}else r=t.slideTo(t.activeIndex,0,!1,!0);r||n()}l.watchOverflow&&a!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,a){a===void 0&&(a=!0);const l=this,n=l.params.direction;return t||(t=n==="horizontal"?"vertical":"horizontal"),t===n||t!=="horizontal"&&t!=="vertical"||(l.el.classList.remove(`${l.params.containerModifierClass}${n}`),l.el.classList.add(`${l.params.containerModifierClass}${t}`),l.emitContainerClasses(),l.params.direction=t,l.slides.forEac
vendor: 18,513 bytes, line 21
21h(r=>{t==="vertical"?r.style.width="":r.style.height=""}),l.emit("changeDirection"),a&&l.update()),l}changeLanguageDirection(t){const a=this;a.rtl&&t==="rtl"||!a.rtl&&t==="ltr"||(a.rtl=t==="rtl",a.rtlTranslate=a.params.direction==="horizontal"&&a.rtl,a.rtl?(a.el.classList.add(`${a.params.containerModifierClass}rtl`),a.el.dir="rtl"):(a.el.classList.remove(`${a.params.containerModifierClass}rtl`),a.el.dir="ltr"),a.update())}mount(t){const a=this;if(a.mounted)return!0;let l=t||a.params.el;if(typeof l=="string"&&(l=document.querySelector(l)),!l)return!1;l.swiper=a,l.parentNode&&l.parentNode.host&&l.parentNode.host.nodeName===a.params.swiperElementNodeName.toUpperCase()&&(a.isElement=!0);const n=()=>`.${(a.params.wrapperClass||"").trim().split(" ").join(".")}`;let u=(()=>l&&l.shadowRoot&&l.shadowRoot.querySelector?l.shadowRoot.querySelector(n()):Ft(l,n())[0])();return!u&&a.params.createElements&&(u=Ti("div",a.params.wrapperClass),l.append(u),Ft(l,`.${a.params.slideClass}`).forEach(f=>{u.append(f)})),Object.assign(a,{el:l,wrapperEl:u,slidesEl:a.isElement&&!l.parentNode.host.slideSlots?l.parentNode.host:u,hostEl:a.isElement?l.parentNode.host:l,mounted:!0,rtl:l.dir.toLowerCase()==="rtl"||Cn(l,"direction")==="rtl",rtlTranslate:a.params.direction==="horizontal"&&(l.dir.toLowerCase()==="rtl"||Cn(l,"direction")==="rtl"),wrongRTL:Cn(u,"display")==="-webkit-box"}),!0}init(t){const a=this;if(a.initialized||a.mount(t)===!1)return a;a.emit("beforeInit"),a.params.breakpoints&&a.setBreakpoint(),a.addClasses(),a.updateSize(),a.updateSlides(),a.params.watchOverflow&&a.checkOverflow(),a.params.grabCursor&&a.enabled&&a.setGrabCursor(),a.params.loop&&a.virtual&&a.params.virtual.enabled?a.slideTo(a.params.initialSlide+a.virtual.slidesBefore,0,a.params.runCallbacksOnInit,!1,!0):a.slideTo(a.params.initialSlide,0,a.params.runCallbacksOnInit,!1,!0),a.params.loop&&a.loopCreate(void 0,!0),a.attachEvents();const n=[...a.el.querySelectorAll('[loading="lazy"]')];return a.isElement&&n.push(...a.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?Fs(a,r):r.addEventListener("load",u=>{Fs(a,u.target)})}),ur(a),a.initialized=!0,ur(a),a.emit("init"),a.emit("afterInit"),a}destroy(t,a){t===void 0&&(t=!0),a===void 0&&(a=!0);const l=this,{params:n,el:r,wrapperEl:u,slides:f}=l;return typeof l.params>"u"||l.destroyed||(l.emit("beforeDestroy"),l.initialized=!1,l.detachEvents(),n.loop&&l.loopDestroy(),a&&(l.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),u&&u.removeAttribute("style"),f&&f.length&&f.forEach(p=>{p.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),p.removeAttribute("style"),p.removeAttribute("data-swiper-slide-index")})),l.emit("destroy"),Object.keys(l.eventsListeners).forEach(p=>{l.off(p)}),t!==!1&&(l.el&&typeof l.el!="string"&&(l.el.swiper=null),eo(l)),l.destroyed=!0),null}static extendDefaults(t){xi(lr,t)}static get extendedDefaults(){return lr}static get defaults(){return Gr}static installModule(t){Wt.prototype.__modules__||(Wt.prototype.__modules__=[]);const a=Wt.prototype.__modules__;typeof t=="function"&&a.indexOf(t)<0&&a.push(t)}static use(t){return Array.isArray(t)?(t.forEach(a=>Wt.installModule(a)),Wt):(Wt.installModule(t),Wt)}}Object.keys(or).forEach(i=>{Object.keys(or[i]).forEach(t=>{Wt.prototype[t]=or[i][t]})});Wt.use([uo,fo]);function vl(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;a({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let r;const u=jt();t.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const f=u.createElement("div");function p(C,x){const h=t.params.virtual;if(h.cache&&t.virtual.cache[x])return t.virtual.cache[x];let _;return h.renderSlide?(_=h.renderSlide.call(t,C,x),typeof _=="string"&&(fn(f,_),_=f.children[0])):t.isElement?_=Ti("swiper-slide"):_=Ti("div",t.params.slideClass),_.setAttribute("data-swiper-slide-index",x),h.renderSlide||fn(_,C),h.cache&&(t.virtual.cache[x]=_),_}function y(C,x,h){const{slidesPerView:_,slidesPerGroup:M,centeredSlides:S,loop:O,initialSlide:j}=t.params;if(x&&!O&&j>0)return;const{addSlidesBefore:R,addSlidesAfter:m}=t.params.virtual,{from:J,to:Z,slides:G,slidesGrid:te,offset:ee}=t.virtual;t.params.cssMode||t.updateActiveIndex();const U=typeof h>"u"?t.activeIndex||0:h;let re;t.rtlTranslate?re="right":re=t.isHorizontal()?"left":"top";let pe,fe;S?(pe=Math.floor(_/2)+M+m,fe=Math.floor(_/2)+M+R):(pe=_+(M-1)+m,fe=(O?_:M)+R);let X=U-fe,V=U+pe;O||(X=Math.max(X,0),V=Math.min(V,G.length-1));let he=(t.slidesGrid[X]||0)-(t.slidesGrid[0]||0);O&&U>=fe?(X-=fe,S||(he+=t.slidesGrid[0])):O&&U<fe&&(X=-fe,S&&(he+=t.slidesGrid[0])),Object.assign(t.virtual,{from:X,to:V,offset:he,slidesGrid:t.slidesGrid,slidesBefore:fe,slidesAfter:pe});function ve(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n("virtualUpdate")}if(J===X&&Z===V&&!C){t.slidesGrid!==te&&he!==ee&&t.slides.forEach(oe=>{oe.style[re]=`${he-Math.abs(t.cssOverflowAdjustment())}px`}),t.updateProgress(),n("virtualUpdate");return}if(t.params.virtual.renderExternal){t.params.virtual.renderExternal.call(t,{offset:he,from:X,to:V,slides:function(){const ge=[];for(let Ie=X;Ie<=V;Ie+=1)ge.push(G[Ie]);return ge}()}),t.params.virtual.renderExternalUpdate?ve():n("virtualUpdate");return}const ke=[],Pe=[],et=oe=>{let ge=oe;return oe<0?ge=G.length+oe:ge>=G.length&&(ge=ge-G.length),ge};if(C)t.slides.filter(oe=>oe.matches(`.${t.params.slideClass}, swiper-slide`)).forEach(oe=>{oe.remove()});else for(let oe=J;oe<=Z;oe+=1)if(oe<X||oe>V){const ge=et(oe);t.slides.filter(Ie=>Ie.matches(`.${t.params.slideClass}[data-swiper-slide-index="${ge}"], swiper-slide[data-swiper-slide-index="${ge}"]`)).forEach(Ie=>{Ie.remove()})}const Ke=O?-G.length:0,de=O?G.length*2:G.length;for(let oe=Ke;oe<de;oe+=1)if(oe>=X&&oe<=V){const ge=et(oe);typeof Z>"u"||C?Pe.push(ge):(oe>Z&&Pe.push(ge),oe<J&&ke.push(ge))}if(Pe.forEach(oe=>{t.slidesEl.append(p(G[oe],oe))}),O)for(let oe=ke.length-1;oe>=0;oe-=1){const ge=ke[oe];t.slidesEl.prepend(p(G[ge],ge))}else ke.sort((oe,ge)=>ge-oe),ke.forEach(oe=>{t.slidesEl.prepend(p(G[oe],oe))});Ft(t.slidesEl,".swiper-slide, swiper-slide").forEach(oe=>{oe.style[re]=`${he-Math.abs(t.cssOverflowAdjustment())}px`}),ve()}function b(C){if(typeof C=="object"&&"length"in C)for(let x=0;x<C.length;x+=1)C[x]&&t.virtual.slides.push(C[x]);else t.virtual.slides.push(C);y(!0)}function k(C){const x=t.activeIndex;let h=x+1,_=1;if(Array.isArray(C)){for(let M=0;M<C.length;M+=1)C[M]&&t.virtual.slides.unshift(C[M]);h=x+C.length,_=C.length}else t.virtual.slides.unshift(C);if(t.params.virtual.cache){const M=t.virtual.cache,S={};Object.keys(M).forEach(O=>{const j=M[O],R=j.getAttribute("data-swiper-slide-index");R&&j.setAttribute("data-swiper-slide-index",parseInt(R,10)+_),S[parseInt(O,10)+_]=j}),t.virtual.cache=S}y(!0),t.slideTo(h,0)}function I(C){if(typeof C>"u"||C===null)return;let x=t.activeIndex;if(Array.isArray(C))for(let h=C.length-1;h>=0;h-=1)t.params.virtual.cache&&(delete t.virtual.cache[C[h]],Object.keys(t.virtual.cache).forEach(_=>{_>C&&(t.virtual.cache[_-1]=t.virtual.cache[_],t.virtual.cache[_-1].setAttribute("data-swiper-slide-index",_-1),delete t.virtual.cache[_])})),t.virtual.slides.splice(C[h],1),C[h]<x&&(x-=1),x=Math.max(x,0);else t.params.virtual.cache&&(delete t.virtual.cache[C],Object.keys(t.virtual.cache).forEach(h=>{h>C&&(t.virtual.cache[h-1]=t.virtual.cache[h],t.virtual.cache[h-1].setAttribute("data-swiper-slide-index",h-1),delete t.virtual.cache[h])})),t.virtual.slides.splice(C,1),C<x&&(x-=1),x=Math.max(x,0);y(!0),t.slideTo(x,0)}function z(){t.virtual.slides=[],t.params.virtual.cache&&(t.virtual.cache={}),y(!0),t.slideTo(0,0)}l("beforeInit",()=>{if(!t.params.virtual.enabled)return;let C;if(typeof t.passedParams.virtual.slides>"u"){const x=[...t.slidesEl.children].filter(h=>h.matches(`.${t.params.slideClass}, swiper-slide`));x&&x.length&&(t.virtual.slides=[...x],C=!0,x.forEach((h,_)=>{h.setAttribute("data-swiper-slide-index",_),t.virtual.cache[_]=h,h.remove()}))}C||(t.virtual.slides=t.params.virtual.slides),t.classNames.push(`${t.params.containerModifierClass}virtual`),t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0,y(!1,!0)}),l("setTranslate",()=>{t.params.virtual.enabled&&(t.params.cssMode&&!t._immediateVirtual?(clearTimeout(r),r=setTimeout(()=>{y()},100)):y())}),l("init update resize",()=>{t.params.virtual.enabled&&t.params.cssMode&&Ms(t.wrapperEl,"--swiper-virtual-size",`${t.virtualSize}px`)}),Object.assign(t.virtual,{appendSlide:b,prependSlide:k,removeSlide:I,removeAllSlides:z,update:y})}function yl(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;const r=jt(),u=wt();t.keyboard={enabled:!1},a({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function f(b){if(!t.enabled)return;const{rtlTranslate:k}=t;let I=b;I.originalEvent&&(I=I.originalEvent);const z=I.keyCode||I.charCode,C=t.params.keyboard.pageUpDown,x=C&&z===33,h=C&&z===34,_=z===37,M=z===39,S=z===38,O=z===40;if(!t.allowSlideNext&&(t.isHorizontal()&&M||t.isVertical()&&O||h)||!t.allowSlidePrev&&(t.isHorizontal()&&_||t.isVertical()&&S||x))return!1;if(!(I.shiftKey||I.altKey||I.ctrlKey||I.metaKey)&&!(r.activeElement&&(r.activeElement.isContentEditable||r.activeElement.nodeName&&(r.activeElement.nodeName.toLowerCase()==="input"||r.activeElement.nodeName.toLowerCase()==="textarea")))){if(t.params.keyboard.onlyInViewport&&(x||h||_||M||S||O)){let j=!1;if(Fn(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&Fn(t.el,`.${t.params.slideActiveClass}`).length===0)return;const R=t.el,m=R.clientWidth,J=R.clientHeight,Z=u.innerWidth,G=u.innerHeight,te=qs(R);k&&(te.left-=R.scrollLeft);const ee=[[te.left,te.top],[te.left+m,te.top],[te.left,te.top+J],[te.left+m,te.top+J]];for(let U=0;U<ee.length;U+=1){const re=ee[U];if(re[0]>=0&&re[0]<=Z&&re[1]>=0&&re[1]<=G){if(re[0]===0&&re[1]===0)continue;j=!0}}if(!j)return}t.isHorizontal()?((x||h||_||M)&&(I.preventDefault?I.preventDefault():I.returnValue=!1),((h||M)&&!k||(x||_)&&k)&&t.slideNext(),((x||_)&&!k||(h||M)&&k)&&t.slidePrev()):((x||h||S||O)&&(I.preventDefault?I.preventDefault():I.returnValue=!1),(h||O)&&t.slideNext(),(x||S)&&t.slidePrev()),n("keyPress",z)}}function p(){t.keyboard.enabled||(r.addEventListener("keydown",f),t.keyboard.enabled=!0)}function y(){t.keyboard.enabled&&(r.removeEventListener("keydown",f),t.keyboard.enabled=!1)}l("init",()=>{t.params.keyboard.enabled&&p()}),l("destroy",()=>{t.keyboard.enabled&&y()}),Object.assign(t.keyboard,{enable:p,disable:y})}function wl(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;const r=wt();a({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let u,f=Hi(),p;const y=[];function b(S){let m=0,J=0,Z=0,G=0;return"detail"in S&&(J=S.detail),"wheelDelta"in S&&(J=-S.wheelDelta/120),"wheelDeltaY"in S&&(J=-S.wheelDeltaY/120),"wheelDeltaX"in S&&(m=-S.wheelDeltaX/120),"axis"in S&&S.axis===S.HORIZONTAL_AXIS&&(m=J,J=0),Z=m*10,G=J*10,"deltaY"in S&&(G=S.deltaY),"deltaX"in S&&(Z=S.deltaX),S.shiftKey&&!Z&&(Z=G,G=0),(Z||G)&&S.deltaMode&&(S.deltaMode===1?(Z*=40,G*=40):(Z*=800,G*=800)),Z&&!m&&(m=Z<1?-1:1),G&&!J&&(J=G<1?-1:1),{spinX:m,spinY:J,pixelX:Z,pixelY:G}}function k(){t.enabled&&(t.mouseEntered=!0)}function I(){t.enabled&&(t.mouseEntered=!1)}function z(S){return t.params.mousewheel.thresholdDelta&&S.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&Hi()-f<t.params.mousewheel.thresholdTime?!1:S.delta>=6&&Hi()-f<60?!0:(S.direction<0?(!t.isEnd||t.params.loop)&&!t.animating&&(t.slideNext(),n("scroll",S.raw)):(!t.isBeginning||t.params.loop)&&!t.animating&&(t.slidePrev(),n("scroll",S.raw)),f=new r.Date().getTime(),!1)}function C(S){const O=t.params.mousewheel;if(S.direction<0){if(t.isEnd&&!t.params.loop&&O.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&O.releaseOnEdges)return!0;return!1}function x(S){let O=S,j=!0;if(!t.enabled||S.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const R=t.params.mousewheel;t.params.cssMode&&O.preventDefault();let m=t.el;t.params.mousewheel.eventsTarget!=="container"&&(m=document.querySelector(t.params.mousewheel.eventsTarget));const J=m&&m.contains(O.target);if(!t.mouseEntered&&!J&&!R.releaseOnEdges)return!0;O.originalEvent&&(O=O.originalEvent);let Z=0;const G=t.rtlTranslate?-1:1,te=b(O);if(R.forceToAxis)if(t.isHorizontal())if(Math.abs(te.pixelX)>Math.abs(te.pixelY))Z=-te.pixelX*G;else return!0;else if(Math.abs(te.pixelY)>Math.abs(te.pixelX))Z=-te.pixelY;else return!0;else Z=Math.abs(te.pixelX)>Math.abs(te.pixelY)?-te.pixelX*G:-te.pixelY;if(Z===0)return!0;R.invert&&(Z=-Z);let ee=t.getTranslate()+Z*R.sensitivity;if(ee>=t.minTranslate()&&(ee=t.minTranslate()),ee<=t.maxTranslate()&&(ee=t.maxTranslate()),j=t.params.loop?!0:!(ee===t.minTranslate()||ee===t.maxTranslate()),j&&t.params.nested&&O.stopPropagation(),!t.params.freeMode||!t.params.freeMode.enabled){const U={time:Hi(),delta:Math.abs(Z),direction:Math.sign(Z),raw:S};y.length>=2&&y.shift();const re=y.length?y[y.length-1]:void 0;if(y.push(U),re?(U.direction!==re.direction||U.delta>re.delta||U.time>re.time+150)&&z(U):z(U),C(U))return!0}else{const U={time:Hi(),delta:Math.abs(Z),direction:Math.sign(Z)},re=p&&U.time<p.time+500&&U.delta<=p.delta&&U.direction===p.direction;if(!re){p=void 0;let pe=t.getTranslate()+Z*R.sensitivity;const fe=t.isBeginning,X=t.isEnd;if(pe>=t.minTranslate()&&(pe=t.minTranslate()),pe<=t.maxTranslate()&&(pe=t.maxTranslate()),t.setTransition(0),t.setTranslate(pe),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!fe&&t.isBeginning||!X&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:U.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(u),u=void 0,y.length>=15&&y.shift();const V=y.length?y[y.length-1]:void 0,he=y[0];if(y.push(U),V&&(U.delta>V.delta||U.direction!==V.direction))y.splice(0);else if(y.length>=15&&U.time-he.time<500&&he.delta-U.delta>=1&&U.delta<=6){const ve=Z>0?.8:.2;p=U,y.splice(0),u=rs(()=>{t.destroyed||!t.params||t.slideToClosest(t.params.speed,!0,void 0,ve)},0)}u||(u=rs(()=>{if(t.destroyed||!t.params)return;const ve=.5;p=U,y.splice(0),t.slideToClosest(t.params.speed,!0,void 0,ve)},500))}if(re||n("scroll",O),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),R.releaseOnEdges&&(pe===t.minTranslate()||pe===t.maxTranslate()))return!0}}return O.preventDefault?O.preventDefault():O.returnValue=!1,!1}function h(S){let O=t.el;t.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(t.params.mousewheel.eventsTarget)),O[S]("mouseenter",k),O[S]("mouseleave",I),O[S]("wheel",x)}function _(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",x),!0):t.mousewheel.enabled?!1:(h("addEventListener"),t.mousewheel.enabled=!0,!0)}function M(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,x),!0):t.mousewheel.enabled?(h("removeEventListener"),t.mousewheel.enabled=!1,!0):!1}l("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&M(),t.params.mousewheel.enabled&&_()}),l("destroy",()=>{t.params.cssMode&&_(),t.mousewheel.enabled&&M()}),Object.assign(t.mousewheel,{enable:_,disable:M})}function wr(i,t,a,l){return i.params.createElements&&Object.keys(l).forEach(n=>{if(!a[n]&&a.auto===!0){let r=Ft(i.el,`.${l[n]}`)[0];r||(r=Ti("div",l[n]),r.className=l[n],i.el.append(r)),a[n]=r,t[n]=r}}),a}function _l(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;a({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};function r(C){let x;return C&&typeof C=="string"&&t.isElement&&(x=t.el.querySelector(C)||t.hostEl.querySelector(C),x)?x:(C&&(typeof C=="string"&&(x=[...document.querySelectorAll(C)]),t.params.uniqueNavElements&&typeof C=="string"&&x&&x.length>1&&t.el.querySelectorAll(C).length===1?x=t.el.querySelector(C):x&&x.length===1&&(x=x[0])),C&&!x?C:x)}function u(C,x){const h=t.params.navigation;C=Ue(C),C.forEach(_=>{_&&(_.classList[x?"add":"remove"](...h.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=x),t.params.watchOverflow&&t.enabled&&_.classList[t.isLocked?"add":"remove"](h.lockClass))})}function f(){const{nextEl:C,prevEl:x}=t.navigation;if(t.params.loop){u(x,!1),u(C,!1);return}u(x,t.isBeginning&&!t.params.rewind),u(C,t.isEnd&&!t.params.rewind)}function p(C){C.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),n("navigationPrev"))}function y(C){C.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),n("navigationNext"))}function b(){const C=t.params.navigation;if(t.params.navigation=wr(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(C.nextEl||C.prevEl))return;let x=r(C.nextEl),h=r(C.prevEl);Object.assign(t.navigation,{nextEl:x,prevEl:h}),x=Ue(x),h=Ue(h);const _=(M,S)=>{M&&M.addEventListener("click",S==="next"?y:p),!t.enabled&&M&&M.classList.add(...C.lockClass.split(" "))};x.forEach(M=>_(M,"next")),h.forEach(M=>_(M,"prev"))}function k(){let{nextEl:C,prevEl:x}=t.navigation;C=Ue(C),x=Ue(x);const h=(_,M)=>{_.removeEventListener("click",M==="next"?y:p),_.classList.remove(...t.params.navigation.disabledClass.split(" "))};C.forEach(_=>h(_,"next")),x.forEach(_=>h(_,"prev"))}l("init",()=>{t.params.navigation.enabled===!1?z():(b(),f())}),l("toEdge fromEdge lock unlock",()=>{f()}),l("destroy",()=>{k()}),l("enable disable",()=>{let{nextEl:C,prevEl:x}=t.navigation;if(C=Ue(C),x=Ue(x),t.enabled){f();return}[...C,...x].filter(h=>!!h).forEach(h=>h.classList.add(t.params.navigation.lockClass))}),l("click",(C,x)=>{let{nextEl:h,prevEl:_}=t.navigation;h=Ue(h),_=Ue(_);const M=x.target;let S=_.includes(M)||h.includes(M);if(t.isElement&&!S){const O=x.path||x.composedPath&&x.composedPath();O&&(S=O.find(j=>h.includes(j)||_.includes(j)))}if(t.params.navigation.hideOnClick&&!S){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===M||t.pagination.el.contains(M)))return;let O;h.length?O=h[0].classList.contains(t.params.navigation.hiddenClass):_.length&&(O=_[0].classList.contains(t.params.navigation.hiddenClass)),n(O===!0?"navigationShow":"navigationHide"),[...h,..._].filter(j=>
vendor: 3,241 bytes, line 21
21!!j).forEach(j=>j.classList.toggle(t.params.navigation.hiddenClass))}});const I=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),b(),f()},z=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),k()};Object.assign(t.navigation,{enable:I,disable:z,update:f,init:b,destroy:k})}function un(i){return i===void 0&&(i=""),`.${i.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function bl(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;const r="swiper-pagination";a({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:M=>M,formatFractionTotal:M=>M,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,bullets:[]};let u,f=0;function p(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function y(M,S){const{bulletActiveClass:O}=t.params.pagination;M&&(M=M[`${S==="prev"?"previous":"next"}ElementSibling`],M&&(M.classList.add(`${O}-${S}`),M=M[`${S==="prev"?"previous":"next"}ElementSibling`],M&&M.classList.add(`${O}-${S}-${S}`)))}function b(M,S,O){if(M=M%O,S=S%O,S===M+1)return"next";if(S===M-1)return"previous"}function k(M){const S=M.target.closest(un(t.params.pagination.bulletClass));if(!S)return;M.preventDefault();const O=Es(S)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===O)return;const j=b(t.realIndex,O,t.slides.length);j==="next"?t.slideNext():j==="previous"?t.slidePrev():t.slideToLoop(O)}else t.slideTo(O)}function I(){const M=t.rtl,S=t.params.pagination;if(p())return;let O=t.pagination.el;O=Ue(O);let j,R;const m=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,J=t.params.loop?Math.ceil(m/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(R=t.previousRealIndex||0,j=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(j=t.snapIndex,R=t.previousSnapIndex):(R=t.previousIndex||0,j=t.activeIndex||0),S.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const Z=t.pagination.bullets;let G,te,ee;if(S.dynamicBullets&&(u=cr(Z[0],t.isHorizontal()?"width":"height",!0),O.forEach(U=>{U.style[t.isHorizontal()?"width":"height"]=`${u*(S.dynamicMainBullets+4)}px`}),S.dynamicMainBullets>1&&R!==void 0&&(f+=j-(R||0),f>S.dynamicMainBullets-1?f=S.dynamicMainBullets-1:f<0&&(f=0)),G=Math.max(j-f,0),te=G+(Math.min(Z.length,S.dynamicMainBullets)-1),ee=(te+G)/2),Z.forEach(U=>{const re=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(pe=>`${S.bulletActiveClass}${pe}`)].map(pe=>typeof pe=="string"&&pe.includes(" ")?pe.split(" "):pe).flat();U.classList.remove(...re)}),O.length>
vendor: 4,235 bytes, line 21
211)Z.forEach(U=>{const re=Es(U);re===j?U.classList.add(...S.bulletActiveClass.split(" ")):t.isElement&&U.setAttribute("part","bullet"),S.dynamicBullets&&(re>=G&&re<=te&&U.classList.add(...`${S.bulletActiveClass}-main`.split(" ")),re===G&&y(U,"prev"),re===te&&y(U,"next"))});else{const U=Z[j];if(U&&U.classList.add(...S.bulletActiveClass.split(" ")),t.isElement&&Z.forEach((re,pe)=>{re.setAttribute("part",pe===j?"bullet-active":"bullet")}),S.dynamicBullets){const re=Z[G],pe=Z[te];for(let fe=G;fe<=te;fe+=1)Z[fe]&&Z[fe].classList.add(...`${S.bulletActiveClass}-main`.split(" "));y(re,"prev"),y(pe,"next")}}if(S.dynamicBullets){const U=Math.min(Z.length,S.dynamicMainBullets+4),re=(u*U-u)/2-ee*u,pe=M?"right":"left";Z.forEach(fe=>{fe.style[t.isHorizontal()?pe:"top"]=`${re}px`})}}O.forEach((Z,G)=>{if(S.type==="fraction"&&(Z.querySelectorAll(un(S.currentClass)).forEach(te=>{te.textContent=S.formatFractionCurrent(j+1)}),Z.querySelectorAll(un(S.totalClass)).forEach(te=>{te.textContent=S.formatFractionTotal(J)})),S.type==="progressbar"){let te;S.progressbarOpposite?te=t.isHorizontal()?"vertical":"horizontal":te=t.isHorizontal()?"horizontal":"vertical";const ee=(j+1)/J;let U=1,re=1;te==="horizontal"?U=ee:re=ee,Z.querySelectorAll(un(S.progressbarFillClass)).forEach(pe=>{pe.style.transform=`translate3d(0,0,0) scaleX(${U}) scaleY(${re})`,pe.style.transitionDuration=`${t.params.speed}ms`})}S.type==="custom"&&S.renderCustom?(fn(Z,S.renderCustom(t,j+1,J)),G===0&&n("paginationRender",Z)):(G===0&&n("paginationRender",Z),n("paginationUpdate",Z)),t.params.watchOverflow&&t.enabled&&Z.classList[t.isLocked?"add":"remove"](S.lockClass)})}function z(){const M=t.params.pagination;if(p())return;const S=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let O=t.pagination.el;O=Ue(O);let j="";if(M.type==="bullets"){let R=t.params.loop?Math.ceil(S/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&R>S&&(R=S);for(let m=0;m<R;m+=1)M.renderBullet?j+=M.renderBullet.call(t,m,M.bulletClass):j+=`<${M.bulletElement} ${t.isElement?'part="bullet"':""} class="${M.bulletClass}"></${M.bulletElement}>`}M.type==="fraction"&&(M.renderFraction?j=M.renderFraction.call(t,M.currentClass,M.totalClass):j=`<span class="${M.currentClass}"></span> / <span class="${M.totalClass}"></span>`),M.type==="progressbar"&&(M.renderProgressbar?j=M.renderProgressbar.call(t,M.progressbarFillClass):j=`<span class="${M.progressbarFillClass}"></span>`),t.pagination.bullets=[],O.forEach(R=>{M.type!=="custom"&&fn(R,j||""),M.type==="bullets"&&t.pagination.bullets.push(...R.querySelectorAll(un(M.bulletClass)))}),M.type!=="custom"&&n("paginationRender",O[0])}function C(){t.params.pagination=wr(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const M=t.params.pagination;if(!M.el)return;let S;typeof M.el=="string"&&t.isElement&&(S=t.el.querySelector(M.el)),!S&&typeof M.el=="string"&&(S=[...document.querySelectorAll(M.el)]),S||(S=M.el),!(!S||S.length===0)&&(t.params.uniqueNavElements&&typeof M.el=="string"&&Array.isArray(S)&&S.length>1&&(S=[...t.el.querySelectorAll(M.el)],S.length>1&&(S=S.find(O=>Fn(O,".swiper")[0]===t.el))),Array.isArray(S)&&S.length===1&&(S=S[0]),Object.assign(t.pagination,{el:S}),S=Ue(S),S.forEach(O=>{M.type==="bullets"&&M.clickable&&O.classList.add(...(M.clickableClass||"").split(" ")),O.classList.add(M.modifierClass+M.type),O.classList.add(t.isHorizontal()?M.horizontalClass:M.verticalClass),M.type==="bullets"&&M.dynamicBullets&&(O.classList.add(`${M.modifierClass}${M.type}-dynamic`),f=0,M.dynamicMainBullets<1&&(M.dynamicMainBullets=1)),M.type==="progressbar"&&M.progressbarOpposite&&O.classList.add(M.progressbarOppositeClass),M.clickable&&O.addEventListener("click",k),t.enabled||O.classList.add(M.lockClass)}))}function x(){const M=t.params.pagination;if(p())return;let S=t.pagination.el;S&&(S=Ue(S),S.forEach(O=>{O.classList.remove(M.hiddenClass),O.classList.remove(M.modifierClass+M.type),O.classList.remove(t.isHorizontal()?M.horizontalClass:M.verticalClass),M.clickable&&(O.classList.remove(...(M.clickableClass||"").split(" ")),O.removeEventListener("click",k))}
vendor: 6,533 bytes, line 21
21)),t.pagination.bullets&&t.pagination.bullets.forEach(O=>O.classList.remove(...M.bulletActiveClass.split(" ")))}l("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const M=t.params.pagination;let{el:S}=t.pagination;S=Ue(S),S.forEach(O=>{O.classList.remove(M.horizontalClass,M.verticalClass),O.classList.add(t.isHorizontal()?M.horizontalClass:M.verticalClass)})}),l("init",()=>{t.params.pagination.enabled===!1?_():(C(),z(),I())}),l("activeIndexChange",()=>{typeof t.snapIndex>"u"&&I()}),l("snapIndexChange",()=>{I()}),l("snapGridLengthChange",()=>{z(),I()}),l("destroy",()=>{x()}),l("enable disable",()=>{let{el:M}=t.pagination;M&&(M=Ue(M),M.forEach(S=>S.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),l("lock unlock",()=>{I()}),l("click",(M,S)=>{const O=S.target,j=Ue(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&j&&j.length>0&&!O.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&O===t.navigation.nextEl||t.navigation.prevEl&&O===t.navigation.prevEl))return;const R=j[0].classList.contains(t.params.pagination.hiddenClass);n(R===!0?"paginationShow":"paginationHide"),j.forEach(m=>m.classList.toggle(t.params.pagination.hiddenClass))}});const h=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:M}=t.pagination;M&&(M=Ue(M),M.forEach(S=>S.classList.remove(t.params.pagination.paginationDisabledClass))),C(),z(),I()},_=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:M}=t.pagination;M&&(M=Ue(M),M.forEach(S=>S.classList.add(t.params.pagination.paginationDisabledClass))),x()};Object.assign(t.pagination,{enable:h,disable:_,render:z,update:I,init:C,destroy:x})}function Sl(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;const r=jt();let u=!1,f=null,p=null,y,b,k,I;a({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"}}),t.scrollbar={el:null,dragEl:null};function z(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:ee,rtlTranslate:U}=t,{dragEl:re,el:pe}=ee,fe=t.params.scrollbar,X=t.params.loop?t.progressLoop:t.progress;let V=b,he=(k-b)*X;U?(he=-he,he>0?(V=b-he,he=0):-he+b>k&&(V=k+he)):he<0?(V=b+he,he=0):he+b>k&&(V=k-he),t.isHorizontal()?(re.style.transform=`translate3d(${he}px, 0, 0)`,re.style.width=`${V}px`):(re.style.transform=`translate3d(0px, ${he}px, 0)`,re.style.height=`${V}px`),fe.hide&&(clearTimeout(f),pe.style.opacity=1,f=setTimeout(()=>{pe.style.opacity=0,pe.style.transitionDuration="400ms"},1e3))}function C(ee){!t.params.scrollbar.el||!t.scrollbar.el||(t.scrollbar.dragEl.style.transitionDuration=`${ee}ms`)}function x(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:ee}=t,{dragEl:U,el:re}=ee;U.style.width="",U.style.height="",k=t.isHorizontal()?re.offsetWidth:re.offsetHeight,I=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),t.params.scrollbar.dragSize==="auto"?b=k*I:b=parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?U.style.width=`${b}px`:U.style.height=`${b}px`,I>=1?re.style.display="none":re.style.display="",t.params.scrollbar.hide&&(re.style.opacity=0),t.params.watchOverflow&&t.enabled&&ee.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function h(ee){return t.isHorizontal()?ee.clientX:ee.clientY}function _(ee){const{scrollbar:U,rtlTranslate:re}=t,{el:pe}=U;let fe;fe=(h(ee)-qs(pe)[t.isHorizontal()?"left":"top"]-(y!==null?y:b/2))/(k-b),fe=Math.max(Math.min(fe,1),0),re&&(fe=1-fe);const X=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*fe;t.updateProgress(X),t.setTranslate(X),t.updateActiveIndex(),t.updateSlidesClasses()}function M(ee){const U=t.params.scrollbar,{scrollbar:re,wrapperEl:pe}=t,{el:fe,dragEl:X}=re;u=!0,y=ee.target===X?h(ee)-ee.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,ee.preventDefault(),ee.stopPropagation(),pe.style.transitionDuration="100ms",X.style.transitionDuration="100ms",_(ee),clearTimeout(p),fe.style.transitionDuration="0ms",U.hide&&(fe.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",ee)}function S(ee){const{scrollbar:U,wrapperEl:re}=t,{el:pe,dragEl:fe}=U;u&&(ee.preventDefault&&ee.cancelable?ee.preventDefault():ee.returnValue=!1,_(ee),re.style.transitionDuration="0ms",pe.style.transitionDuration="0ms",fe.style.transitionDuration="0ms",n("scrollbarDragMove",ee))}function O(ee){const U=t.params.scrollbar,{scrollbar:re,wrapperEl:pe}=t,{el:fe}=re;u&&(u=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",pe.style.transitionDuration=""),U.hide&&(clearTimeout(p),p=rs(()=>{fe.style.opacity=0,fe.style.transitionDuration="400ms"},1e3)),n("scrollbarDragEnd",ee),U.snapOnRelease&&t.slideToClosest())}function j(ee){const{scrollbar:U,params:re}=t,pe=U.el;if(!pe)return;const fe=pe,X=re.passiveListeners?{passive:!1,capture:!1}:!1,V=re.passiveListeners?{passive:!0,capture:!1}:!1;if(!fe)return;const he=ee==="on"?"addEventListener":"removeEventListener";fe[he]("pointerdown",M,X),r[he]("pointermove",S,X),r[he]("pointerup",O,V)}function R(){!t.params.scrollbar.el||!t.scrollbar.el||j("on")}function m(){!t.params.scrollbar.el||!t.scrollbar.el||j("off")}function J(){const{scrollbar:ee,el:U}=t;t.params.scrollbar=wr(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const re=t.params.scrollbar;if(!re.el)return;let pe;if(typeof re.el=="string"&&t.isElement&&(pe=t.el.querySelector(re.el)),!pe&&typeof re.el=="string"){if(pe=r.querySelectorAll(re.el),!pe.length)return}else pe||(pe=re.el);t.params.uniqueNavElements&&typeof re.el=="string"&&pe.length>1&&U.querySelectorAll(re.el).length===1&&(pe=U.querySelector(re.el)),pe.length>0&&(pe=pe[0]),pe.classList.add(t.isHorizontal()?re.horizontalClass:re.verticalClass);let fe;pe&&(fe=pe.querySelector(un(t.params.scrollbar.dragClass)),fe||(fe=Ti("div",t.params.scrollbar.dragClass),pe.append(fe))),Object.assign(ee,{el:pe,dragEl:fe}),re.draggable&&R(),pe&&pe.classList[t.enabled?"remove":"add"](...Tn(t.params.scrollbar.lockClass))}function Z(){const ee=t.params.scrollbar,U=t.scrollbar.el;U&&U.classList.remove(...Tn(t.isHorizontal()?ee.horizontalClass:ee.verticalClass)),m()}l("changeDirection",()=>{if(!t.scrollbar||!t.scrollbar.el)return;const ee=t.params.scrollbar;let{el:U}=t.scrollbar;
21U=Ue(U),U.forEach(re=>{re.classList.remove(ee.horizontalClass,ee.verticalClass),re.classList.add(t.isHorizontal()?ee.horizontalClass:ee.verticalClass)})}),l("init",()=>{t.params.scrollbar.enabled===!1?te():(J(),x(),z())}),l("update resize observerUpdate lock unlock changeDirection",()=>{x()}),l("setTranslate",()=>{z()}),l("setTransition",(ee,U)=>{C(U)}),l("enable disable",()=>{const{el:ee}=t.scrollbar;ee&&ee.classList[t.enabled?"remove":"add"](...Tn(t.params.scrollbar.lockClass))}),l("destroy",()=>{Z()});const G=()=>{t.el.classList.remove(...Tn(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...Tn(t.params.scrollbar.scrollbarDisabledClass)),J(),x(),z()},te=()=>{t.el.classList.add(...Tn(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...Tn(t.params.scrollbar.scrollbarDisabledClass)),Z()};Object.assign(t.scrollbar,{enable:G,disable:te,updateSize:x,setTranslate:z,init:J,destroy:Z})}function xl(i){let{swiper:t,extendParams:a,on:l}=i;a({parallax:{enabled:!1}});const n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(p,y)=>{const{rtl:b}=t,k=b?-1:1,I=p.getAttribute("data-swiper-parallax")||"0";let z=p.getAttribute("data-swiper-parallax-x"),C=p.getAttribute("data-swiper-parallax-y");const x=p.getAttribute("data-swiper-parallax-scale"),h=p.getAttribute("data-swiper-parallax-opacity"),_=p.getAttribute("data-swiper-parallax-rotate");if(z||C?(z=z||"0",C=C||"0"):t.isHorizontal()?(z=I,C="0"):(C=I,z="0"),z.indexOf("%")>=0?z=`${parseInt(z,10)*y*k}%`:z=`${z*y*k}px`,C.indexOf("%")>=0?C=`${parseInt(C,10)*y}%`:C=`${C*y}px`,typeof h<"u"&&h!==null){const S=h-(h-1)*(1-Math.abs(y));p.style.opacity=S}let M=`translate3d(${z}, ${C}, 0px)`;if(typeof x<"u"&&x!==null){const S=x-(x-1)*(1-Math.abs(y));M+=` scale(${S})`}if(_&&typeof _<"u"&&_!==null){const S=_*y*-1;M+=` rotate(${S}deg)`}p.style.transform=M},u=()=>{const{el:p,slides:y,progress:b,snapGrid:k,isElement:I}=t,z=Ft(p,n);t.isElement&&z.push(...Ft(t.hostEl,n)),z.forEach(C=>{r(C,b)}),y.forEach((C,x)=>{let h=C.progress;t.params.slidesPerGroup>1&&t.params.slidesPerView!=="auto"&&(h+=Math.ceil(x/2)-b*(k.length-1)),h=Math.min(Math.max(h,-1),1),C.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach(_=>{r(_,h)})})},f=function(p){p===void 0&&(p=t.params.speed);const{el:y,hostEl:b}=t,k=[...y.querySelectorAll(n)];t.isElement&&k.push(...b.querySelectorAll(n)),k.forEach(I=>{let z=parseInt(I.getAttribute("data-swiper-parallax-duration"),10)||p;p===0&&(z=0),I.style.transitionDuration=`${z}ms`})};l("beforeInit",()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),l("init",()=>{t.params.parallax.enabled&&u()}),l("setTranslate",()=>{t.params.parallax.enabled&&u()}),l("setTransition",(p,y)=>{t.params.parallax.enabled&&f(y)})}function Tl(i){let{swiper:t,extendParams:a,on:l,emit:n}=i;const r=wt();a({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let u=1,f=!1,p=!1,y={x:0,y:0};const b=-3;let k,I;const z=[],C={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},x={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:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let _=1;Object.defineProperty(t.zoom,"scale",{get(){return _},set(de){if(_!==de){const oe=C.imageEl,ge=C.slideEl;n("zoomChange",de,oe,ge)}_=de}});function M(){if(z.length<2)return 1;const de=z[0].pageX,oe=z[0].pageY,ge=z[1].pageX,Ie=z[1].pageY;return Math.sqrt((ge-de)**2+(Ie-oe)**2)}function S(){const de=t.params.zoom,oe=C.imageWrapEl.getAttribute("data-swiper-zoom")||de.maxRatio;if(de.limitToOriginalSize&&C.imageEl&&C.imageEl.naturalWidth){const ge=C.imageEl.naturalWi
vendor: 6,161 bytes, line 21
21dth/C.imageEl.offsetWidth;return Math.min(ge,oe)}return oe}function O(){if(z.length<2)return{x:null,y:null};const de=C.imageEl.getBoundingClientRect();return[(z[0].pageX+(z[1].pageX-z[0].pageX)/2-de.x-r.scrollX)/u,(z[0].pageY+(z[1].pageY-z[0].pageY)/2-de.y-r.scrollY)/u]}function j(){return t.isElement?"swiper-slide":`.${t.params.slideClass}`}function R(de){const oe=j();return!!(de.target.matches(oe)||t.slides.filter(ge=>ge.contains(de.target)).length>0)}function m(de){const oe=`.${t.params.zoom.containerClass}`;return!!(de.target.matches(oe)||[...t.hostEl.querySelectorAll(oe)].filter(ge=>ge.contains(de.target)).length>0)}function J(de){if(de.pointerType==="mouse"&&z.splice(0,z.length),!R(de))return;const oe=t.params.zoom;if(k=!1,I=!1,z.push(de),!(z.length<2)){if(k=!0,C.scaleStart=M(),!C.slideEl){C.slideEl=de.target.closest(`.${t.params.slideClass}, swiper-slide`),C.slideEl||(C.slideEl=t.slides[t.activeIndex]);let ge=C.slideEl.querySelector(`.${oe.containerClass}`);if(ge&&(ge=ge.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),C.imageEl=ge,ge?C.imageWrapEl=Fn(C.imageEl,`.${oe.containerClass}`)[0]:C.imageWrapEl=void 0,!C.imageWrapEl){C.imageEl=void 0;return}C.maxRatio=S()}if(C.imageEl){const[ge,Ie]=O();C.originX=ge,C.originY=Ie,C.imageEl.style.transitionDuration="0ms"}f=!0}}function Z(de){if(!R(de))return;const oe=t.params.zoom,ge=t.zoom,Ie=z.findIndex(lt=>lt.pointerId===de.pointerId);Ie>=0&&(z[Ie]=de),!(z.length<2)&&(I=!0,C.scaleMove=M(),C.imageEl&&(ge.scale=C.scaleMove/C.scaleStart*u,ge.scale>C.maxRatio&&(ge.scale=C.maxRatio-1+(ge.scale-C.maxRatio+1)**.5),ge.scale<oe.minRatio&&(ge.scale=oe.minRatio+1-(oe.minRatio-ge.scale+1)**.5),C.imageEl.style.transform=`translate3d(0,0,0) scale(${ge.scale})`))}function G(de){if(!R(de)||de.pointerType==="mouse"&&de.type==="pointerout")return;const oe=t.params.zoom,ge=t.zoom,Ie=z.findIndex(lt=>lt.pointerId===de.pointerId);Ie>=0&&z.splice(Ie,1),!(!k||!I)&&(k=!1,I=!1,C.imageEl&&(ge.scale=Math.max(Math.min(ge.scale,C.maxRatio),oe.minRatio),C.imageEl.style.transitionDuration=`${t.params.speed}ms`,C.imageEl.style.transform=`translate3d(0,0,0) scale(${ge.scale})`,u=ge.scale,f=!1,ge.scale>1&&C.slideEl?C.slideEl.classList.add(`${oe.zoomedSlideClass}`):ge.scale<=1&&C.slideEl&&C.slideEl.classList.remove(`${oe.zoomedSlideClass}`),ge.scale===1&&(C.originX=0,C.originY=0,C.slideEl=void 0)))}let te;function ee(){t.touchEventsData.preventTouchMoveFromPointerMove=!1}function U(){clearTimeout(te),t.touchEventsData.preventTouchMoveFromPointerMove=!0,te=setTimeout(()=>{t.destroyed||ee()})}function re(de){const oe=t.device;if(!C.imageEl||x.isTouched)return;oe.android&&de.cancelable&&de.preventDefault(),x.isTouched=!0;const ge=z.length>0?z[0]:de;x.touchesStart.x=ge.pageX,x.touchesStart.y=ge.pageY}function pe(de){const ge=de.pointerType==="mouse"&&t.params.zoom.panOnMouseMove;if(!R(de)||!m(de))return;const Ie=t.zoom;if(!C.imageEl)return;if(!x.isTouched||!C.slideEl){ge&&V(de);return}if(ge){V(de);return}x.isMoved||(x.width=C.imageEl.offsetWidth||C.imageEl.clientWidth,x.height=C.imageEl.offsetHeight||C.imageEl.clientHeight,x.startX=dr(C.imageWrapEl,"x")||0,x.startY=dr(C.imageWrapEl,"y")||0,C.slideWidth=C.slideEl.offsetWidth,C.slideHeight=C.slideEl.offsetHeight,C.imageWrapEl.style.transitionDuration="0ms");const lt=x.width*Ie.scale,dt=x.height*Ie.scale;if(x.minX=Math.min(C.slideWidth/2-lt/2,0),x.maxX=-x.minX,x.minY=Math.min(C.slideHeight/2-dt/2,0),x.maxY=-x.minY,x.touchesCurrent.x=z.length>0?z[0].pageX:de.pageX,x.touchesCurrent.y=z.length>0?z[0].pageY:de.pageY,Math.max(Math.abs(x.touchesCurrent.x-x.touchesStart.x),Math.abs(x.touchesCurrent.y-x.touchesStart.y))>5&&(t.allowClick=!1),!x.isMoved&&!f){if(t.isHorizontal()&&(Math.floor(x.minX)===Math.floor(x.startX)&&x.touchesCurrent.x<x.touchesStart.x||Math.floor(x.maxX)===Math.floor(x.startX)&&x.touchesCurrent.x>x.touchesStart.x)){x.isTouched=!1,ee();return}if(!t.isHorizontal()&&(Math.floor(x.minY)===Math.floor(x.startY)&&x.touchesCurrent.y<x.touchesStart.y||Math.floor(x.maxY)===Math.floor(x.startY)&&x.touchesCurrent.y>x.touchesStart.y)){x.isTouched=!1,ee();return}}de.cancelable&&de.preventDefault(),de.stopPropagation(),U(),x.isMoved=!0;const at=(Ie.scale-u)/(C.maxRatio-t.params.zoom.minRatio),{originX:bt,originY:ht}=C;x.currentX=x.touchesCurrent.x-x.touchesStart.x+x.startX+at*(x.width-bt*2),x.currentY=x.touchesCurrent.y-x.touchesStart.y+x.startY+at*(x.height-ht*2),x.currentX<x.minX&&(x.currentX=x.minX+1-(x.minX-x.currentX+1)**.8),x.currentX>x.maxX&&(x.currentX=x.maxX-1+(x.currentX-x.maxX+1)**.8),x.currentY<x.minY&&(x.currentY=x.minY+1-(x.minY-x.currentY+1)**.8),x.currentY>x.maxY&&(x.currentY=x.maxY-1+(x.currentY-x.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=x.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=x.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(x.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(x.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(x.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(x.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=x.touchesCurrent.x,h.prevPositionY=x.touchesCurrent.y,h.prevTime=Date.now(),C.imageWrapEl.style.transform=`translate3d(${x.currentX}px, ${x.currentY}px,0)`}function fe(){const de=t.zoom;if(z.length=0,!C.imageEl)return;if(!x.isTouched||!x.isMoved){x.isTouched=!1,x.isMoved=!1;return}x.isTouched=!1,x.isMoved=!1;let oe=300,ge=300;const Ie=h.x*oe,lt=x.currentX+Ie,dt=h.y*ge,It=x.currentY+dt;h.x!==0&&(oe=Math.abs((lt-x.currentX)/h.x)),h.y!==0&&(ge=Math.abs((It-x.currentY)/h.y));const at=Math.max(oe,ge);x.currentX=lt,x.currentY=It;const bt=x.width*de.scale,ht=x.height*de.scale;x.minX=Math.min(C.slideWidth/2-bt/2,0),x.maxX=-x.minX,x.minY=Math.min(C.slideHeight/2-ht/2,0),x.maxY=-x.minY,x.currentX=Math.max(Math.min(x.currentX,x.maxX),x.minX),x.currentY=Math.max(Math.min(x.currentY,x.maxY),x.minY),C.imageWrapEl.style.transitionDuration=`${at}ms`,C.imageWrapEl.style.transform=`translate3d(${x.currentX}px, ${x.currentY}px,0)`}function X(){const de=t.zoom;C.slideEl&&t.activeIndex!==t.slides.indexOf(C.slideEl)&&(C.imageEl&&(C.imageEl.style.transform="translate3d(0,
210,0) scale(1)"),C.imageWrapEl&&(C.imageWrapEl.style.transform="translate3d(0,0,0)"),C.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),de.scale=1,u=1,C.slideEl=void 0,C.imageEl=void 0,C.imageWrapEl=void 0,C.originX=0,C.originY=0)}function V(de){if(u<=1||!C.imageWrapEl||!R(de)||!m(de))return;const oe=r.getComputedStyle(C.imageWrapEl).transform,ge=new r.DOMMatrix(oe);if(!p){p=!0,y.x=de.clientX,y.y=de.clientY,x.startX=ge.e,x.startY=ge.f,x.width=C.imageEl.offsetWidth||C.imageEl.clientWidth,x.height=C.imageEl.offsetHeight||C.imageEl.clientHeight,C.slideWidth=C.slideEl.offsetWidth,C.slideHeight=C.slideEl.offsetHeight;return}const Ie=(de.clientX-y.x)*b,lt=(de.clientY-y.y)*b,dt=x.width*u,It=x.height*u,at=C.slideWidth,bt=C.slideHeight,ht=Math.min(at/2-dt/2,0),Mt=-ht,$t=Math.min(bt/2-It/2,0),Lt=-$t,pt=Math.max(Math.min(x.startX+Ie,Mt),ht),Ut=Math.max(Math.min(x.startY+lt,Lt),$t);C.imageWrapEl.style.transitionDuration="0ms",C.imageWrapEl.style.transform=`translate3d(${pt}px, ${Ut}px, 0)`,y.x=de.clientX,y.y=de.clientY,x.startX=pt,x.startY=Ut,x.currentX=pt,x.currentY=Ut}function he(de){const oe=t.zoom,ge=t.params.zoom;if(!C.slideEl){de&&de.target&&(C.slideEl=de.target.closest(`.${t.params.slideClass}, swiper-slide`)),C.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?C.slideEl=Ft(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:C.slideEl=t.slides[t.activeIndex]);let ci=C.slideEl.querySelector(`.${ge.containerClass}`);ci&&(ci=ci.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),C.imageEl=ci,ci?C.imageWrapEl=Fn(C.imageEl,`.${ge.containerClass}`)[0]:C.imageWrapEl=void 0}if(!C.imageEl||!C.imageWrapEl)return;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),C.slideEl.classList.add(`${ge.zoomedSlideClass}`);let Ie,lt,dt,It,at,bt,ht,Mt,$t,Lt,pt,Ut,ei,ti,gt,mt,ct,Ce;typeof x.touchesStart.x>"u"&&de?(Ie=de.pageX,lt=de.pageY):(Ie=x.touchesStart.x,lt=x.touchesStart.y);const be=u,Xt=typeof de=="number"?de:null;u===1&&Xt&&(Ie=void 0,lt=void 0,x.touchesStart.x=void 0,x.touchesStart.y=void 0);const di=S();oe.scale=Xt||di,u=Xt||di,de&&!(u===1&&Xt)?(ct=C.slideEl.offsetWidth,Ce=C.slideEl.offsetHeight,dt=qs(C.slideEl).left+r.scrollX,It=qs(C.slideEl).top+r.scrollY,at=dt+ct/2-Ie,bt=It+Ce/2-lt,$t=C.imageEl.offsetWidth||C.imageEl.clientWidth,Lt=C.imageEl.offsetHeight||C.imageEl.clientHeight,pt=$t*oe.scale,Ut=Lt*oe.scale,ei=Math.min(ct/2-pt/2,0),ti=Math.min(Ce/2-Ut/2,0),gt=-ei,mt=-ti,be>0&&Xt&&typeof x.currentX=="number"&&typeof x.currentY=="number"?(ht=x.currentX*oe.scale/be,Mt=x.currentY*oe.scale/be):(ht=at*oe.scale,Mt=bt*oe.scale),ht<ei&&(ht=ei),ht>gt&&(ht=gt),Mt<ti&&(Mt=ti),Mt>mt&&(Mt=mt)):(ht=0,Mt=0),Xt&&oe.scale===1&&(C.originX=0,C.originY=0),x.currentX=ht,x.currentY=Mt,C.imageWrapEl.style.transitionDuration="300ms",C.imageWrapEl.style.transform=`translate3d(${ht}px, ${Mt}px,0)`,C.imageEl.style.transitionDuration="300ms",C.imageEl.style.transform=`translate3d(0,0,0) scale(${oe.scale})`}function ve(){const de=t.zoom,oe=t.params.zoom;if(!C.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?C.slideEl=Ft(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:C.slideEl=t.slides[t.activeIndex];let ge=C.slideEl.querySelector(`.${oe.containerClass}`);ge&&(ge=ge.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),C.imageEl=ge,ge?C.imageWrapEl=Fn(C.imageEl,`.${oe.containerClass}`)[0]:C.imageWrapEl=void 0}!C.imageEl||!C.imageWrapEl||(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),de.scale=1,u=1,x.currentX=void 0,x.currentY=void 0,x.touchesStart.x=void 0,x.touchesStart.y=void 0,C.imageWrapEl.style.transitionDuration="300ms",C.imageWrapEl.style.transform="translate3d(0,0,0)",C.imageEl.style.transitionDuration="300ms",C.imageEl.style.transform="translate3d(0,0,0) scale(1)",C.slideEl.classList.remove(`${oe.zoomedSlideClass}`),C.slideEl=void 0,C.originX=0,C.originY=0,t.params.zoom.panOnMouseMove&&(y={x:0,y:0},p&&(p=!1,x.startX=0,x.startY=0)))}function ke(de){const oe=t.zoom;oe.scale&&oe.scale!==1?ve():he(de)}function Pe(){const de=t.params.passiveListeners?{passive:!0,capture:!1}:!1,oe=t.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:de,activeListenerWithCapture:oe}}function et(){const de=t.zoom;if(de.enabled)return;de.enabled=!0;const{passiveListener:oe,activeListenerWithCapture:ge}=Pe();t.wrapperEl.addEventListener("pointerdown",J,oe),t.wrapperEl.addEventListener("pointermove",Z,ge),["pointerup","pointercancel","pointerout"].forEach(Ie=>{t.wrapperEl.addEventListener(Ie,G,oe)}),t.wrapperEl.addEventListener("pointermove",pe,ge)}function Ke(){const de=t.zoom;if(!de.enabled)return;de.enabled=!1;const{passiveListener:oe,activeListenerWithCapture:ge}=Pe();t.wrapperEl.removeEventListener("pointerdown",J,oe),t.wrapperEl.removeEventListener("pointermove",Z,ge),["pointerup","pointercancel","pointerout"].forEach(Ie=>{t.wrapperEl.removeEventListener(Ie,G,oe)}),t.wrapperEl.removeEventListener("pointermove",pe,ge)}l("init",()=>{t.params.zoom.enabled&&et()}),l("destroy",()=>{Ke()}),l("touchStart",(de,oe)=>{t.zoom.enabled&&re(oe)}),l("touchEnd",(de,oe)=>{t.zoom.enabled&&fe()}),l("doubleTap",(de,oe)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&ke(oe)}
vendor: 9,142 bytes, line 21
21),l("transitionEnd",()=>{t.zoom.enabled&&t.params.zoom.enabled&&X()}),l("slideChange",()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&X()}),Object.assign(t.zoom,{enable:et,disable:Ke,in:he,out:ve,toggle:ke})}function Cl(i){let{swiper:t,extendParams:a,on:l}=i;a({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0};function n(y,b){const k=function(){let x,h,_;return(M,S)=>{for(h=-1,x=M.length;x-h>1;)_=x+h>>1,M[_]<=S?h=_:x=_;return x}}();this.x=y,this.y=b,this.lastIndex=y.length-1;let I,z;return this.interpolate=function(x){return x?(z=k(this.x,x),I=z-1,(x-this.x[I])*(this.y[z]-this.y[I])/(this.x[z]-this.x[I])+this.y[I]):0},this}function r(y){t.controller.spline=t.params.loop?new n(t.slidesGrid,y.slidesGrid):new n(t.snapGrid,y.snapGrid)}function u(y,b){const k=t.controller.control;let I,z;const C=t.constructor;function x(h){if(h.destroyed)return;const _=t.rtlTranslate?-t.translate:t.translate;t.params.controller.by==="slide"&&(r(h),z=-t.controller.spline.interpolate(-_)),(!z||t.params.controller.by==="container")&&(I=(h.maxTranslate()-h.minTranslate())/(t.maxTranslate()-t.minTranslate()),(Number.isNaN(I)||!Number.isFinite(I))&&(I=1),z=(_-t.minTranslate())*I+h.minTranslate()),t.params.controller.inverse&&(z=h.maxTranslate()-z),h.updateProgress(z),h.setTranslate(z,t),h.updateActiveIndex(),h.updateSlidesClasses()}if(Array.isArray(k))for(let h=0;h<k.length;h+=1)k[h]!==b&&k[h]instanceof C&&x(k[h]);else k instanceof C&&b!==k&&x(k)}function f(y,b){const k=t.constructor,I=t.controller.control;let z;function C(x){x.destroyed||(x.setTransition(y,t),y!==0&&(x.transitionStart(),x.params.autoHeight&&rs(()=>{x.updateAutoHeight()}),Ls(x.wrapperEl,()=>{I&&x.transitionEnd()})))}if(Array.isArray(I))for(z=0;z<I.length;z+=1)I[z]!==b&&I[z]instanceof k&&C(I[z]);else I instanceof k&&b!==I&&C(I)}function p(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}l("beforeInit",()=>{if(typeof window<"u"&&(typeof t.params.controller.control=="string"||t.params.controller.control instanceof HTMLElement)){(typeof t.params.controller.control=="string"?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEach(b=>{if(t.controller.control||(t.controller.control=[]),b&&b.swiper)t.controller.control.push(b.swiper);else if(b){const k=`${t.params.eventsPrefix}init`,I=z=>{t.controller.control.push(z.detail[0]),t.update(),b.removeEventListener(k,I)};b.addEventListener(k,I)}});return}t.controller.control=t.params.controller.control}),l("update",()=>{p()}),l("resize",()=>{p()}),l("observerUpdate",()=>{p()}),l("setTranslate",(y,b,k)=>{!t.controller.control||t.controller.control.destroyed||t.controller.setTranslate(b,k)}),l("setTransition",(y,b,k)=>{!t.controller.control||t.controller.control.destroyed||t.controller.setTransition(b,k)}),Object.assign(t.controller,{setTranslate:u,setTransition:f})}function Ml(i){let{swiper:t,extendParams:a,on:l}=i;a({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,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let n=null,r,u,f=new Date().getTime();function p(X){const V=n;V.length!==0&&fn(V,X)}function y(X){X===void 0&&(X=16);const V=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(X).replace(/x/g,V)}function b(X){X=Ue(X),X.forEach(V=>{V.setAttribute("tabIndex","0")})}function k(X){X=Ue(X),X.forEach(V=>{V.setAttribute("tabIndex","-1")})}function I(X,V){X=Ue(X),X.forEach(he=>{he.setAttribute("role",V)})}function z(X,V){X=Ue(X),X.forEach(he=>{he.setAttribute("aria-roledescription",V)})}function C(X,V){X=Ue(X),X.forEach(he=>{he.setAttribute("aria-controls",V)})}function x(X,V){X=Ue(X),X.forEach(he=>{he.setAttribute("aria-label",V)})}function h(X,V){X=Ue(X),X.forEach(he=>{he.setAttribute("id",V)})}function _(X,V){X=Ue(X),X.forEach(he=>{he.setAttribute("aria-live",V)})}function M(X){X=Ue(X),X.forEach(V=>{V.setAttribute("aria-disabled",!0)})}function S(X){X=Ue(X),X.forEach(V=>{V.setAttribute("aria-disabled",!1)})}function O(X){if(X.keyCode!==13&&X.keyCode!==32)return;const V=t.params.a11y,he=X.target;if(!(t.pagination&&t.pagination.el&&(he===t.pagination.el||t.pagination.el.contains(X.target))&&!X.target.matches(un(t.params.pagination.bulletClass)))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const ve=Ue(t.navigation.prevEl);Ue(t.navigation.nextEl).includes(he)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?p(V.lastSlideMessage):p(V.nextSlideMessage)),ve.includes(he)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?p(V.firstSlideMessage):p(V.prevSlideMessage))}t.pagination&&he.matches(un(t.params.pagination.bulletClass))&&he.click()}}function j(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:X,prevEl:V}=t.navigation;V&&(t.isBeginning?(M(V),k(V)):(S(V),b(V))),X&&(t.isEnd?(M(X),k(X)):(S(X),b(X)))}function R(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function m(){return R()&&t.params.pagination.clickable}function J(){const X=t.params.a11y;R()&&t.pagination.bullets.forEach(V=>{t.params.pagination.clickable&&(b(V),t.params.pagination.renderBullet||(I(V,"button"),x(V,X.paginationBulletMessage.replace(/\{\{index\}\}/,Es(V)+1)))),V.matches(un(t.params.pagination.bulletActiveClass))?V.setAttribute("aria-current","true"):V.removeAttribute("aria-current")})}const Z=(X,V,he)=>{b(X),X.tagName!=="BUTTON"&&(I(X,"button"),X.addEventListener("keydown",O)),x(X,he),C(X,V)},G=X=>{u&&u!==X.target&&!u.contains(X.target)&&(r=!0),t.a11y.clicked=!0},te=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},ee=X=>{f=new Date().getTime()},U=X=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus||new Date().getTime()-f<100)return;const V=X.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!V||!t.slides.includes(V))return;u=V;const he=t.slides.indexOf(V)===t.activeIndex,ve=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(V);he||ve||X.sourceCapabilities&&X.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>{r||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(V.getAttribute("data-swiper-slide-index"))),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(V)),0),r=!1)}))},re=()=>{const X=t.params.a11y;X.itemRoleDescriptionMessage&&z(t.slides,X.itemRoleDescriptionMessage),X.slideRole&&I(t.slides,X.slideRole);const V=t.slides.length;X.slideLabelMessage&&t.slides.forEach((he,ve)=>{const ke=t.params.loop?parseInt(he.getAttribute("data-swiper-slide-index"),10):ve,Pe=X.slideLabelMessage.replace(/\{\{index\}\}/,ke+1).replace(/\{\{slidesLength\}\}/,V);x(he,Pe)})},pe=()=>{const X=t.params.a11y;t.el.append(n);const V=t.el;X.containerRoleDescriptionMessage&&z(V,X.containerRoleDescriptionMessage),X.containerMessage&&x(V,X.containerMessage),X.containerRole&&I(V,X.containerRole);const he=t.wrapperEl,ve=X.id||he.getAttribute("id")||`swiper-wrapper-${y(16)}`,ke=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";h(he,ve),_(he,ke),re();let{nextEl:Pe,prevEl:et}=t.navigation?t.navigation:{};Pe=Ue(Pe),et=Ue(et),Pe&&Pe.forEach(de=>Z(de,ve,X.nextSlideMessage)),et&&et.forEach(de=>Z(de,ve,X.prevSlideMessage)),m()&&Ue(t.pagination.el).forEach(oe=>{oe.addEventListener("keydown",O)}),jt().addEventListener("visibilitychange",ee),t.el.addEventListener("focus",U,!0),t.el.addEventListener("focus",U,!0),t.el.addEventListener("pointerdown",G,!0),t.el.addEventListener("pointerup",te,!0)};function fe(){n&&n.remove();let{nextEl:X,prevEl:V}=t.navigation?t.navigation:{};X=Ue(X),V=Ue(V),X&&X.forEach(ve=>ve.removeEventListener("keydown",O)),V&&V.forEach(ve=>ve.removeEventListener("keydown",O)),m()&&Ue(t.pagination.el).forEach(ke=>{ke.removeEventListener("keydown",O)}),jt().removeEventListener("visibilitychange",ee),t.el&&typeof t.el!="string"&&(t.el.removeEventListener("focus",U,!0),t.el.removeEventListener("pointerdown",G,!0),t.el.removeEventListener("pointerup",te,!0))}l("beforeInit",()=>{n=Ti("span",t.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")}),l("afterInit",()=>{t.params.a11y.enabled&&pe()}),l("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&re()}),l("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&j()}),l("paginationUpdate",()=>{t.params.a11y.enabled&&J()}),l("destroy",()=>{t.params.a11y.enabled&&fe()})}function Ll(i){let{swiper:t,extendParams:a,on:l}=i;a({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const u=z=>z.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),f=z=>
vendor: 8,627 bytes, line 21
21{const C=wt();let x;z?x=new URL(z):x=C.location;const h=x.pathname.slice(1).split("/").filter(O=>O!==""),_=h.length,M=h[_-2],S=h[_-1];return{key:M,value:S}},p=(z,C)=>{const x=wt();if(!n||!t.params.history.enabled)return;let h;t.params.url?h=new URL(t.params.url):h=x.location;const _=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${C}"]`):t.slides[C];let M=u(_.getAttribute("data-history"));if(t.params.history.root.length>0){let O=t.params.history.root;O[O.length-1]==="/"&&(O=O.slice(0,O.length-1)),M=`${O}/${z?`${z}/`:""}${M}`}else h.pathname.includes(z)||(M=`${z?`${z}/`:""}${M}`);t.params.history.keepQuery&&(M+=h.search);const S=x.history.state;S&&S.value===M||(t.params.history.replaceState?x.history.replaceState({value:M},null,M):x.history.pushState({value:M},null,M))},y=(z,C,x)=>{if(C)for(let h=0,_=t.slides.length;h<_;h+=1){const M=t.slides[h];if(u(M.getAttribute("data-history"))===C){const O=t.getSlideIndex(M);t.slideTo(O,z,x)}}else t.slideTo(0,z,x)},b=()=>{r=f(t.params.url),y(t.params.speed,r.value,!1)},k=()=>{const z=wt();if(t.params.history){if(!z.history||!z.history.pushState){t.params.history.enabled=!1,t.params.hashNavigation.enabled=!0;return}if(n=!0,r=f(t.params.url),!r.key&&!r.value){t.params.history.replaceState||z.addEventListener("popstate",b);return}y(0,r.value,t.params.runCallbacksOnInit),t.params.history.replaceState||z.addEventListener("popstate",b)}},I=()=>{const z=wt();t.params.history.replaceState||z.removeEventListener("popstate",b)};l("init",()=>{t.params.history.enabled&&k()}),l("destroy",()=>{t.params.history.enabled&&I()}),l("transitionEnd _freeModeNoMomentumRelease",()=>{n&&p(t.params.history.key,t.activeIndex)}),l("slideChange",()=>{n&&t.params.cssMode&&p(t.params.history.key,t.activeIndex)})}function El(i){let{swiper:t,extendParams:a,emit:l,on:n}=i,r=!1;const u=jt(),f=wt();a({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(I,z){if(t.virtual&&t.params.virtual.enabled){const C=t.slides.find(h=>h.getAttribute("data-hash")===z);return C?parseInt(C.getAttribute("data-swiper-slide-index"),10):0}return t.getSlideIndex(Ft(t.slidesEl,`.${t.params.slideClass}[data-hash="${z}"], swiper-slide[data-hash="${z}"]`)[0])}}});const p=()=>{l("hashChange");const I=u.location.hash.replace("#",""),z=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],C=z?z.getAttribute("data-hash"):"";if(I!==C){const x=t.params.hashNavigation.getSlideIndex(t,I);if(typeof x>"u"||Number.isNaN(x))return;t.slideTo(x)}},y=()=>{if(!r||!t.params.hashNavigation.enabled)return;const I=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],z=I?I.getAttribute("data-hash")||I.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&f.history&&f.history.replaceState?(f.history.replaceState(null,null,`#${z}`||""),l("hashSet")):(u.location.hash=z||"",l("hashSet"))},b=()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;r=!0;const I=u.location.hash.replace("#","");if(I){const C=t.params.hashNavigation.getSlideIndex(t,I);t.slideTo(C||0,0,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&f.addEventListener("hashchange",p)},k=()=>{t.params.hashNavigation.watchState&&f.removeEventListener("hashchange",p)};n("init",()=>{t.params.hashNavigation.enabled&&b()}),n("destroy",()=>{t.params.hashNavigation.enabled&&k()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{r&&y()}),n("slideChange",()=>{r&&t.params.cssMode&&y()})}function Pl(i){let{swiper:t,extendParams:a,on:l,emit:n,params:r}=i;t.autoplay={running:!1,paused:!1,timeLeft:0},a({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let u,f,p=r&&r.autoplay?r.autoplay.delay:3e3,y=r&&r.autoplay?r.autoplay.delay:3e3,b,k=new Date().getTime(),I,z,C,x,h,_,M;function S(V){!t||t.destroyed||!t.wrapperEl||V.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",S),!(M||V.detail&&V.detail.bySwiperTouchMove)&&G())}const O=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?I=!0:I&&(y=b,I=!1);const V=t.autoplay.paused?b:k+y-new Date().getTime();t.autoplay.timeLeft=V,n("autoplayTimeLeft",V,V/p),f=requestAnimationFrame(()=>{O()})},j=()=>{let V;return t.virtual&&t.params.virtual.enabled?V=t.slides.find(ve=>ve.classList.contains("swiper-slide-active")):V=t.slides[t.activeIndex],V?parseInt(V.getAttribute("data-swiper-autoplay"),10):void 0},R=V=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(f),O();let he=typeof V>"u"?t.params.autoplay.delay:V;p=t.params.autoplay.delay,y=t.params.autoplay.delay;const ve=j();!Number.isNaN(ve)&&ve>0&&typeof V>"u"&&(he=ve,p=ve,y=ve),b=he;const ke=t.params.speed,Pe=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(ke,!0,!0),n("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,ke,!0,!0),n("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(ke,!0,!0),n("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,ke,!0,!0),n("autoplay")),t.params.cssMode&&(k=new Date().getTime(),requestAnimationFrame(()=>{R()})))};return he>0?(clearTimeout(u),u=setTimeout(()=>{Pe()},he)):requestAnimationFrame(()=>{Pe()}),he},m=()=>{k=new Date().getTime(),t.autoplay.running=!0,R(),n("autoplayStart")},J=()=>{t.autoplay.running=!1,clearTimeout(u),cancelAnimationFrame(f),n("autoplayStop")},Z=(V,he)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(u),V||(_=!0);const ve=()=>{n("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",S):G()};if(t.autoplay.paused=!0,he){h&&(b=t.params.autoplay.delay),h=!1,ve();return}b=(b||t.params.autoplay.delay)-(new Date().getTime()-k),!(t.isEnd&&b<0&&!t.params.loop)&&(b<0&&(b=0),ve())},G=()=>{t.isEnd&&b<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(k=new Date().getTime(),_?(_=!1,R(b)):R(),t.autoplay.paused=!1,n("autoplayResume"))},te=()=>{if(t.destroyed||!t.autoplay.running)return;const V=jt();V.visibilityState==="hidden"&&(_=!0,Z(!0)),V.visibilityState==="visible"&&G()},ee=V=>{V.pointerType==="mouse"&&(_=!0,M=!0,!(t.animating||t.autoplay.paused)&&Z(!0))},U=V=>{V.pointerType==="mouse"&&(M=!1,t.autoplay.paused&&G())},re=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",ee),t.el.addEventListener("pointerleave",U))},pe=()=>{t.el&&typeof t.el!="string"&&(t.el.removeEventListener("pointerenter",ee),t.el.removeEventListener("pointerleave",U))},fe=()=>{jt().addEventListener("visibilitychange",te)},X=()=>{jt().removeEventListener("visibilitychange",te)};l("init",()=>{t.params.autoplay.enabled&&(re(),fe(),m())}),l("destroy",()=>{pe(),X(),t.autoplay.running&&J()}),l("_freeModeStaticRelease",()=>{(C||_)&&G()}),l("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?J():Z(!0,!0)}),l("beforeTransitionStart",(V,he,ve)=>{t.destroyed||!t.autoplay.running||(ve||!t.params.autoplay.disableOnInteraction?Z(!0,!0):J())}),l("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){J();return}z=!0,C=!1,_=!1,x=setTimeout(()=>{_=!0,C=!0,Z(!0)},200)}}),l("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!z)){if(clearTimeout(x),clearTimeout(u),t.params.autoplay.disableOnInteraction){C=!1,z=!1;return}C&&t.params.cssMode&&G(),C=!1,z=!1}}),l("slideChange",()=>{t.destroyed||!t.autoplay.running||(h=!0)}),Object.assign(t.autoplay,{start:m,stop:J,pause:Z,resume:G})}function kl(i){let{swiper:t,extendParams:a,on:l}=i;a({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,r=!1;t.thumbs={swiper:null};function u(){const y=t.thumbs.swiper;if(!y||y.destroyed)return;const b=y.clickedIndex,k=y.clickedSlide;if(k&&k.classList.contains(t.params.thumbs.slideThumbActiveClass)||typeof b>"u"||b===null)return;let I;y.params.loop?I=parseInt(y.clickedSlide.getAttribute("data-swiper-slide-index"),10):I=b,t.params.loop?t.slideToLoop(I):t.slideTo(I)}function f(){const{thumbs:y}=t.params;if(n)return!1;n=!0;const b=t.constructor;if(y.swiper instanceof b){if(y.swiper.destroyed)return n=!1,!1;t.thumbs.swiper=y.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
21),t.thumbs.swiper.update()}else if(Cs(y.swiper)){const k=Object.assign({},y.swiper);Object.assign(k,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new b(k),r=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",u),!0}function p(y){const b=t.thumbs.swiper;if(!b||b.destroyed)return;const k=b.params.slidesPerView==="auto"?b.slidesPerViewDynamic():b.params.slidesPerView;let I=1;const z=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(I=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(I=1),I=Math.floor(I),b.slides.forEach(h=>h.classList.remove(z)),b.params.loop||b.params.virtual&&b.params.virtual.enabled)for(let h=0;h<I;h+=1)Ft(b.slidesEl,`[data-swiper-slide-index="${t.realIndex+h}"]`).forEach(_=>{_.classList.add(z)});else for(let h=0;h<I;h+=1)b.slides[t.realIndex+h]&&b.slides[t.realIndex+h].classList.add(z);const C=t.params.thumbs.autoScrollOffset,x=C&&!b.params.loop;if(t.realIndex!==b.realIndex||x){const h=b.activeIndex;let _,M;if(b.params.loop){const S=b.slides.find(O=>O.getAttribute("data-swiper-slide-index")===`${t.realIndex}`);_=b.slides.indexOf(S),M=t.activeIndex>t.previousIndex?"next":"prev"}else _=t.realIndex,M=_>t.previousIndex?"next":"prev";x&&(_+=M==="next"?C:-1*C),b.visibleSlidesIndexes&&b.visibleSlidesIndexes.indexOf(_)<0&&(b.params.centeredSlides?_>h?_=_-Math.floor(k/2)+1:_=_+Math.floor(k/2)-1:_>h&&b.params.slidesPerGroup,b.slideTo(_,y?0:void 0))}}l("beforeInit",()=>{const{thumbs:y}=t.params;if(!(!y||!y.swiper))if(typeof y.swiper=="string"||y.swiper instanceof HTMLElement){const b=jt(),k=()=>{const z=typeof y.swiper=="string"?b.querySelector(y.swiper):y.swiper;if(z&&z.swiper)y.swiper=z.swiper,f(),p(!0);else if(z){const C=`${t.params.eventsPrefix}init`,x=h=>{y.swiper=h.detail[0],z.removeEventListener(C,x),f(),p(!0),y.swiper.update(),t.update()};z.addEventListener(C,x)}return z},I=()=>{if(t.destroyed)return;k()||requestAnimationFrame(I)};requestAnimationFrame(I)}else f(),p(!0)}),l("slideChange update resize observerUpdate",()=>{p()}),l("setTransition",(y,b)=>{const k=t.thumbs.swiper;!k||k.destroyed||k.setTransition(b)}),l("beforeDestroy",()=>{const y=t.thumbs.swiper;!y||y.destroyed||r&&y.destroy()}),Object.assign(t.thumbs,{init:f,update:p})}function Il(i){let{swiper:t,extendParams:a,emit:l,once:n}=i;a({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){if(t.params.cssMode)return;const p=t.getTranslate();t.setTranslate(p),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function u(){if(t.params.cssMode)return;const{touchEventsData:p,touches:y}=t;p.velocities.length===0&&p.velocities.push({position:y[t.isHorizontal()?"startX":"startY"],time:p.touchStartTime}),p.velocities.push({position:y[t.isHorizontal()?"currentX":"currentY"],time:Hi()})}function f(p){let{currentPos:y}=p;if(t.params.cssMode)return;const{params:b,wrapperEl:k,rtlTranslate:I,snapGrid:z,touchEventsData:C}=t,h=Hi()-C.touchStartTime;if(y<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(y>-t.maxTranslate()){t.slides.length<z.length?t.slideTo(z.length-1):t.slideTo(t.slides.length-1);return}if(b.freeMode.momentum){if(C.velocities.length>1){const J=C.velocities.pop(),Z=C.velocities.pop(),G=J.position-Z.position,te=J.time-Z.time;t.velocity=G/te,t.velocity/=2,Math.abs(t.velocity)<b.freeMode.minimumVelocity&&(t.velocity=0),(te>150||Hi()-J.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=b.freeMode.momentumVelocityRatio,C.velocities.length=0;let _=1e3*b.freeMode.momentumRatio;const M=t.velocity*_;let S=t.translate+M;I&&(S=-S);let O=!1,j;const R=Math.abs(t.velocity)*20*b.freeMode.momentumBounceRatio;let m;if(S<t.maxTranslate())b.freeMode.momentumBounce?(S+t.maxTranslate()<-R&&(S=t.maxTranslate()-R),j=t.maxTranslate(),O=!0,C.allowMomentumBounce=!0):S=t.maxTranslate(),b.loop&&b.centeredSlides&&(m=!0);else if(S>t.minTranslate())b.freeMode.momentumBounce?(S-t.minTranslate()>R&&(S=t.minTranslate()+R),j=t.minTranslate(),O=!0,C.allowMomentumBounce
vendor: 4,419 bytes, line 21
21=!0):S=t.minTranslate(),b.loop&&b.centeredSlides&&(m=!0);else if(b.freeMode.sticky){let J;for(let Z=0;Z<z.length;Z+=1)if(z[Z]>-S){J=Z;break}Math.abs(z[J]-S)<Math.abs(z[J-1]-S)||t.swipeDirection==="next"?S=z[J]:S=z[J-1],S=-S}if(m&&n("transitionEnd",()=>{t.loopFix()}),t.velocity!==0){if(I?_=Math.abs((-S-t.translate)/t.velocity):_=Math.abs((S-t.translate)/t.velocity),b.freeMode.sticky){const J=Math.abs((I?-S:S)-t.translate),Z=t.slidesSizesGrid[t.activeIndex];J<Z?_=b.speed:J<2*Z?_=b.speed*1.5:_=b.speed*2.5}}else if(b.freeMode.sticky){t.slideToClosest();return}b.freeMode.momentumBounce&&O?(t.updateProgress(j),t.setTransition(_),t.setTranslate(S),t.transitionStart(!0,t.swipeDirection),t.animating=!0,Ls(k,()=>{!t||t.destroyed||!C.allowMomentumBounce||(l("momentumBounce"),t.setTransition(b.speed),setTimeout(()=>{t.setTranslate(j),Ls(k,()=>{!t||t.destroyed||t.transitionEnd()})},0))})):t.velocity?(l("_freeModeNoMomentumRelease"),t.updateProgress(S),t.setTransition(_),t.setTranslate(S),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,Ls(k,()=>{!t||t.destroyed||t.transitionEnd()}))):t.updateProgress(S),t.updateActiveIndex(),t.updateSlidesClasses()}else if(b.freeMode.sticky){t.slideToClosest();return}else b.freeMode&&l("_freeModeNoMomentumRelease");(!b.freeMode.momentum||h>=b.longSwipesMs)&&(l("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}Object.assign(t,{freeMode:{onTouchStart:r,onTouchMove:u,onTouchEnd:f}})}function Al(i){let{swiper:t,extendParams:a,on:l}=i;a({grid:{rows:1,fill:"column"}});let n,r,u,f;const p=()=>{let x=t.params.spaceBetween;return typeof x=="string"&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*t.size:typeof x=="string"&&(x=parseFloat(x)),x},y=x=>{const{slidesPerView:h}=t.params,{rows:_,fill:M}=t.params.grid,S=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:x.length;u=Math.floor(S/_),Math.floor(S/_)===S/_?n=S:n=Math.ceil(S/_)*_,h!=="auto"&&M==="row"&&(n=Math.max(n,h*_)),r=n/_},b=()=>{t.slides&&t.slides.forEach(x=>{x.swiperSlideGridSet&&(x.style.height="",x.style[t.getDirectionLabel("margin-top")]="")})},k=(x,h,_)=>{const{slidesPerGroup:M}=t.params,S=p(),{rows:O,fill:j}=t.params.grid,R=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:_.length;let m,J,Z;if(j==="row"&&M>1){const G=Math.floor(x/(M*O)),te=x-O*M*G,ee=G===0?M:Math.min(Math.ceil((R-G*O*M)/O),M);Z=Math.floor(te/ee),J=te-Z*ee+G*M,m=J+Z*n/O,h.style.order=m}else j==="column"?(J=Math.floor(x/O),Z=x-J*O,(J>u||J===u&&Z===O-1)&&(Z+=1,Z>=O&&(Z=0,J+=1))):(Z=Math.floor(x/r),J=x-Z*r);h.row=Z,h.column=J,h.style.height=`calc((100% - ${(O-1)*S}px) / ${O})`,h.style[t.getDirectionLabel("margin-top")]=Z!==0?S&&`${S}px`:"",h.swiperSlideGridSet=!0},I=(x,h)=>{const{centeredSlides:_,roundLengths:M}=t.params,S=p(),{rows:O}=t.params.grid;if(t.virtualSize=(x+S)*n,t.virtualSize=Math.ceil(t.virtualSize/O)-S,t.params.cssMode||(t.wrapperEl.style[t.getDirectionLabel("width")]=`${t.virtualSize+S}px`),_){const j=[];for(let R=0;R<h.length;R+=1){let m=h[R];M&&(m=Math.floor(m)),h[R]<t.virtualSize+h[0]&&j.push(m)}h.splice(0,h.length),h.push(...j)}},z=()=>{f=t.params.grid&&t.params.grid.rows>1},C=()=>{const{params:x,el:h}=t,_=x.grid&&x.grid.rows>1;f&&!_?(h.classList.remove(`${x.containerModifierClass}grid`,`${x.containerModifierClass}grid-column`),u=1,t.emitContainerClasses()):!f&&_&&(h.classList.add(`${x.containerModifierClass}grid`),x.grid.fill==="column"&&h.classList.add(`${x.containerModifierClass}grid-column`),t.emitContainerClasses()),f=_};l("init",z),l("update",C),t.grid={initSlides:y,unsetSlides:b,updateSlide:k,updateWrapperSize:I}}function Dl(i){const t=this,{params:a,slidesEl:l}=t;a.loop&&t.loopDestroy();const n=r=>{if(typeof r=="string"){const u=document.createElement("div");fn(u,r),l.append(u.children[0]),fn(u,"")}else l.append(r)};if(typeof i=="object"&&"length"in i)for(let r=0;r<i.length;r+=1)i[r]&&n(i[r]);else n(i);t.recalcSlides(),a.loop&&t.loopCreate(),(!a.observer||t.isElement)&&t.update()}function Ol(i){const t=this,{params:a,activeIndex:l,slidesEl:n}=t;a.loop&&t.loopDestroy();let r=l+1;const u=f=>{if(typeof f=="string"){const p=document.createElement("div");fn(p,f),n.prepend(p.children[0]),fn(p,"")}else n.prepend(f)};if(typeof i=="object"&&"length"in i){for(let f=0;f<i.length;f+=1)i[f]&&u(i[f]);r=l+i.length}else u(i);t.recalcSlides(),a.loop&&t.loopCreate(),(!a.observer||t.isElement)&&t.update(
21),t.slideTo(r,0,!1)}function zl(i,t){const a=this,{params:l,activeIndex:n,slidesEl:r}=a;let u=n;l.loop&&(u-=a.loopedSlides,a.loopDestroy(),a.recalcSlides());const f=a.slides.length;if(i<=0){a.prependSlide(t);return}if(i>=f){a.appendSlide(t);return}let p=u>i?u+1:u;const y=[];for(let b=f-1;b>=i;b-=1){const k=a.slides[b];k.remove(),y.unshift(k)}if(typeof t=="object"&&"length"in t){for(let b=0;b<t.length;b+=1)t[b]&&r.append(t[b]);p=u>i?u+t.length:u}else r.append(t);for(let b=0;b<y.length;b+=1)r.append(y[b]);a.recalcSlides(),l.loop&&a.loopCreate(),(!l.observer||a.isElement)&&a.update(),l.loop?a.slideTo(p+a.loopedSlides,0,!1):a.slideTo(p,0,!1)}function Nl(i){const t=this,{params:a,activeIndex:l}=t;let n=l;a.loop&&(n-=t.loopedSlides,t.loopDestroy());let r=n,u;if(typeof i=="object"&&"length"in i){for(let f=0;f<i.length;f+=1)u=i[f],t.slides[u]&&t.slides[u].remove(),u<r&&(r-=1);r=Math.max(r,0)}else u=i,t.slides[u]&&t.slides[u].remove(),u<r&&(r-=1),r=Math.max(r,0);t.recalcSlides(),a.loop&&t.loopCreate(),(!a.observer||t.isElement)&&t.update(),a.loop?t.slideTo(r+t.loopedSlides,0,!1):t.slideTo(r,0,!1)}function Hl(){const i=this,t=[];for(let a=0;a<i.slides.length;a+=1)t.push(a);i.removeSlide(t)}function jl(i){let{swiper:t}=i;Object.assign(t,{appendSlide:Dl.bind(t),prependSlide:Ol.bind(t),addSlide:zl.bind(t),removeSlide:Nl.bind(t),removeAllSlides:Hl.bind(t)})}function ls(i){const{effect:t,swiper:a,on:l,setTranslate:n,setTransition:r,overwriteParams:u,perspective:f,recreateShadows:p,getEffectParams:y}=i;l("beforeInit",()=>{if(a.params.effect!==t)return;a.classNames.push(`${a.params.containerModifierClass}${t}`),f&&f()&&a.classNames.push(`${a.params.containerModifierClass}3d`);const k=u?u():{};Object.assign(a.params,k),Object.assign(a.originalParams,k)}),l("setTranslate _virtualUpdated",()=>{a.params.effect===t&&n()}),l("setTransition",(k,I)=>{a.params.effect===t&&r(I)}),l("transitionEnd",()=>{if(a.params.effect===t&&p){if(!y||!y().slideShadows)return;a.slides.forEach(k=>{k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(I=>I.remove())}),p()}});let b;l("virtualUpdate",()=>
vendor: 4,510 bytes, line 21
21{a.params.effect===t&&(a.slides.length||(b=!0),requestAnimationFrame(()=>{b&&a.slides&&a.slides.length&&(n(),b=!1)}))})}function ks(i,t){const a=Vn(t);return a!==t&&(a.style.backfaceVisibility="hidden",a.style["-webkit-backface-visibility"]="hidden"),a}function Xs(i){let{swiper:t,duration:a,transformElements:l,allSlides:n}=i;const{activeIndex:r}=t,u=f=>f.parentElement?f.parentElement:t.slides.find(y=>y.shadowRoot&&y.shadowRoot===f.parentNode);if(t.params.virtualTranslate&&a!==0){let f=!1,p;n?p=l:p=l.filter(y=>{const b=y.classList.contains("swiper-slide-transform")?u(y):y;return t.getSlideIndex(b)===r}),p.forEach(y=>{Ls(y,()=>{if(f||!t||t.destroyed)return;f=!0,t.animating=!1;const b=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(b)})})}}function $l(i){let{swiper:t,extendParams:a,on:l}=i;a({fadeEffect:{crossFade:!1}}),ls({effect:"fade",swiper:t,on:l,setTranslate:()=>{const{slides:u}=t,f=t.params.fadeEffect;for(let p=0;p<u.length;p+=1){const y=t.slides[p];let k=-y.swiperSlideOffset;t.params.virtualTranslate||(k-=t.translate);let I=0;t.isHorizontal()||(I=k,k=0);const z=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(y.progress),0):1+Math.min(Math.max(y.progress,-1),0),C=ks(f,y);C.style.opacity=z,C.style.transform=`translate3d(${k}px, ${I}px, 0px)`}},setTransition:u=>{const f=t.slides.map(p=>Vn(p));f.forEach(p=>{p.style.transitionDuration=`${u}ms`}),Xs({swiper:t,duration:u,transformElements:f,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Bl(i){let{swiper:t,extendParams:a,on:l}=i;a({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const n=(p,y,b)=>{let k=b?p.querySelector(".swiper-slide-shadow-left"):p.querySelector(".swiper-slide-shadow-top"),I=b?p.querySelector(".swiper-slide-shadow-right"):p.querySelector(".swiper-slide-shadow-bottom");k||(k=Ti("div",`swiper-slide-shadow-cube swiper-slide-shadow-${b?"left":"top"}`.split(" ")),p.append(k)),I||(I=Ti("div",`swiper-slide-shadow-cube swiper-slide-shadow-${b?"right":"bottom"}`.split(" ")),p.append(I)),k&&(k.style.opacity=Math.max(-y,0)),I&&(I.style.opacity=Math.max(y,0))};ls({effect:"cube",swiper:t,on:l,setTranslate:()=>{const{el:p,wrapperEl:y,slides:b,width:k,height:I,rtlTranslate:z,size:C,browser:x}=t,h=Us(t),_=t.params.cubeEffect,M=t.isHorizontal(),S=t.virtual&&t.params.virtual.enabled;let O=0,j;_.shadow&&(M?(j=t.wrapperEl.querySelector(".swiper-cube-shadow"),j||(j=Ti("div","swiper-cube-shadow"),t.wrapperEl.append(j)),j.style.height=`${k}px`):(j=p.querySelector(".swiper-cube-shadow"),j||(j=Ti("div","swiper-cube-shadow"),p.append(j))));for(let m=0;m<b.length;m+=1){const J=b[m];let Z=m;S&&(Z=parseInt(J.getAttribute("data-swiper-slide-index"),10));let G=Z*90,te=Math.floor(G/360);z&&(G=-G,te=Math.floor(-G/360));const ee=Math.max(Math.min(J.progress,1),-1);let U=0,re=0,pe=0;Z%4===0?(U=-te*4*C,pe=0):(Z-1)%4===0?(U=0,pe=-te*4*C):(Z-2)%4===0?(U=C+te*4*C,pe=C):(Z-3)%4===0&&(U=-C,pe=3*C+C*4*te),z&&(U=-U),M||(re=U,U=0);const fe=`rotateX(${h(M?0:-G)}deg) rotateY(${h(M?G:0)}deg) translate3d(${U}px, ${re}px, ${pe}px)`;ee<=1&&ee>-1&&(O=Z*90+ee*90,z&&(O=-Z*90-ee*90)),J.style.transform=fe,_.slideShadows&&n(J,ee,M)}if(y.style.transformOrigin=`50% 50% -${C/2}px`,y.style["-webkit-transform-origin"]=`50% 50% -${C/2}px`,_.shadow)if(M)j.style.transform=`translate3d(0px, ${k/2+_.shadowOffset}px, ${-k/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${_.shadowScale})`;else{const m=Math.abs(O)-Math.floor(Math.abs(O)/90)*90,J=1.5-(Math.sin(m*2*Math.PI/360)/2+Math.cos(m*2*Math.PI/360)/2),Z=_.shadowScale,G=_.shadowScale/J,te=_.shadowOffset;j.style.transform=`scale3d(${Z}, 1, ${G}) translate3d(0px, ${I/2+te}px, ${-I/2/G}px) rotateX(-89.99deg)`}const R=(x.isSafari||x.isWebView)&&x.needPerspectiveFix?-C/2:0;y.style.transform=`translate3d(0px,0,${R}px) rotateX(${h(t.isHorizontal()?0:O)}deg) rotateY(${h(t.isHorizontal()?-O:0)}deg)`,y.style.setProperty("--swiper-cube-translate-z",`${R}px`)},setTransition:p=>{const{el:y,slides:b}=t;if(b.forEach(k=>{k.style.transitionDuration=`${p}ms`,k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(I=>{I.style.transitionDuration=`${p}ms`})}),t.params.cubeEffect.shadow&&!t.isHorizontal()){const k=y.querySelector(".swiper-cube-shadow");k&&(k.style.transitionDuration=`${p}ms`)}},recreateShadows:()=>{const p=t.isHorizontal();
vendor: 4,919 bytes, line 21
21t.slides.forEach(y=>{const b=Math.max(Math.min(y.progress,1),-1);n(y,b,p)})},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function as(i,t,a){const l=`swiper-slide-shadow${a?`-${a}`:""}${i?` swiper-slide-shadow-${i}`:""}`,n=Vn(t);let r=n.querySelector(`.${l.split(" ").join(".")}`);return r||(r=Ti("div",l.split(" ")),n.append(r)),r}function Rl(i){let{swiper:t,extendParams:a,on:l}=i;a({flipEffect:{slideShadows:!0,limitRotation:!0}});const n=(p,y)=>{let b=t.isHorizontal()?p.querySelector(".swiper-slide-shadow-left"):p.querySelector(".swiper-slide-shadow-top"),k=t.isHorizontal()?p.querySelector(".swiper-slide-shadow-right"):p.querySelector(".swiper-slide-shadow-bottom");b||(b=as("flip",p,t.isHorizontal()?"left":"top")),k||(k=as("flip",p,t.isHorizontal()?"right":"bottom")),b&&(b.style.opacity=Math.max(-y,0)),k&&(k.style.opacity=Math.max(y,0))};ls({effect:"flip",swiper:t,on:l,setTranslate:()=>{const{slides:p,rtlTranslate:y}=t,b=t.params.flipEffect,k=Us(t);for(let I=0;I<p.length;I+=1){const z=p[I];let C=z.progress;t.params.flipEffect.limitRotation&&(C=Math.max(Math.min(z.progress,1),-1));const x=z.swiperSlideOffset;let _=-180*C,M=0,S=t.params.cssMode?-x-t.translate:-x,O=0;t.isHorizontal()?y&&(_=-_):(O=S,S=0,M=-_,_=0),z.style.zIndex=-Math.abs(Math.round(C))+p.length,b.slideShadows&&n(z,C);const j=`translate3d(${S}px, ${O}px, 0px) rotateX(${k(M)}deg) rotateY(${k(_)}deg)`,R=ks(b,z);R.style.transform=j}},setTransition:p=>{const y=t.slides.map(b=>Vn(b));y.forEach(b=>{b.style.transitionDuration=`${p}ms`,b.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(k=>{k.style.transitionDuration=`${p}ms`})}),Xs({swiper:t,duration:p,transformElements:y})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach(p=>{let y=p.progress;t.params.flipEffect.limitRotation&&(y=Math.max(Math.min(p.progress,1),-1)),n(p,y)})},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Zl(i){let{swiper:t,extendParams:a,on:l}=i;a({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ls({effect:"coverflow",swiper:t,on:l,setTranslate:()=>{const{width:u,height:f,slides:p,slidesSizesGrid:y}=t,b=t.params.coverflowEffect,k=t.isHorizontal(),I=t.translate,z=k?-I+u/2:-I+f/2,C=k?b.rotate:-b.rotate,x=b.depth,h=Us(t);for(let _=0,M=p.length;_<M;_+=1){const S=p[_],O=y[_],j=S.swiperSlideOffset,R=(z-j-O/2)/O,m=typeof b.modifier=="function"?b.modifier(R):R*b.modifier;let J=k?C*m:0,Z=k?0:C*m,G=-x*Math.abs(m),te=b.stretch;typeof te=="string"&&te.indexOf("%")!==-1&&(te=parseFloat(b.stretch)/100*O);let ee=k?0:te*m,U=k?te*m:0,re=1-(1-b.scale)*Math.abs(m);Math.abs(U)<.001&&(U=0),Math.abs(ee)<.001&&(ee=0),Math.abs(G)<.001&&(G=0),Math.abs(J)<.001&&(J=0),Math.abs(Z)<.001&&(Z=0),Math.abs(re)<.001&&(re=0);const pe=`translate3d(${U}px,${ee}px,${G}px) rotateX(${h(Z)}deg) rotateY(${h(J)}deg) scale(${re})`,fe=ks(b,S);if(fe.style.transform=pe,S.style.zIndex=-Math.abs(Math.round(m))+1,b.slideShadows){let X=k?S.querySelector(".swiper-slide-shadow-left"):S.querySelector(".swiper-slide-shadow-top"),V=k?S.querySelector(".swiper-slide-shadow-right"):S.querySelector(".swiper-slide-shadow-bottom");X||(X=as("coverflow",S,k?"left":"top")),V||(V=as("coverflow",S,k?"right":"bottom")),X&&(X.style.opacity=m>0?m:0),V&&(V.style.opacity=-m>0?-m:0)}}},setTransition:u=>{t.slides.map(p=>Vn(p)).forEach(p=>{p.style.transitionDuration=`${u}ms`,p.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(y=>{y.style.transitionDuration=`${u}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Wl(i){let{swiper:t,extendParams:a,on:l}=i;a({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}}});const n=f=>typeof f=="string"?f:`${f}px`;ls({effect:"creative",swiper:t,on:l,setTranslate:()=>{const{slides:f,wrapperEl:p,slidesSizesGrid:y}=t,b=t.params.creativeEffect,{progressMultiplier:k}=b,I=t.params.centeredSlides,z=Us(t);if(I){const C=y[0]/2-t.params.slidesOffsetBefore||0;p.style.transform=`translateX(calc(50% - ${C}px))`}for(let C=0;C<f.length;C+=1){const x=f[C],h=x.progress,_=Math.min(Math.max(x.progress,-b.limitProgress),b.limitProgress);let M=_;I||(M=Math.min(Math.max(x.originalProgress,-b.limitProgress),b.limitProgress));const S=x.swiperSlideOffset,O=[t.params.cssMode?-S-t.translate:-S,0,0],j=[0,0,0];let R=!1;t.isHorizontal()||(O[1]=O[0],O[0]=0);
21let m={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};_<0?(m=b.next,R=!0):_>0&&(m=b.prev,R=!0),O.forEach((re,pe)=>{O[pe]=`calc(${re}px + (${n(m.translate[pe])} * ${Math.abs(_*k)}))`}),j.forEach((re,pe)=>{let fe=m.rotate[pe]*Math.abs(_*k);j[pe]=fe}),x.style.zIndex=-Math.abs(Math.round(h))+f.length;const J=O.join(", "),Z=`rotateX(${z(j[0])}deg) rotateY(${z(j[1])}deg) rotateZ(${z(j[2])}deg)`,G=M<0?`scale(${1+(1-m.scale)*M*k})`:`scale(${1-(1-m.scale)*M*k})`,te=M<0?1+(1-m.opacity)*M*k:1-(1-m.opacity)*M*k,ee=`translate3d(${J}) ${Z} ${G}`;if(R&&m.shadow||!R){let re=x.querySelector(".swiper-slide-shadow");if(!re&&m.shadow&&(re=as("creative",x)),re){const pe=b.shadowPerProgress?_*(1/b.limitProgress):_;re.style.opacity=Math.min(Math.max(Math.abs(pe),0),1)}}const U=ks(b,x);U.style.transform=ee,U.style.opacity=te,m.origin&&(U.style.transformOrigin=m.origin)}},setTransition:f=>{const p=t.slides.map(y=>Vn(y));p.forEach(y=>{y.style.transitionDuration=`${f}ms`,y.querySelectorAll(".swiper-slide-shadow").forEach(b=>{b.style.transitionDuration=`${f}ms`})}),Xs({swiper:t,duration:f,transformElements:p,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function Fl(i){let{swiper:t,extendParams:a,on:l}=i;a({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ls({effect:"cards",swiper:t,on:l,setTranslate:()=>{const{slides:u,activeIndex:f,rtlTranslate:p}=t,y=t.params.cardsEffect,{startTranslate:b,isTouched:k}=t.touchEventsData,I=p?-t.translate:t.translate;for(let z=0;z<u.length;z+=1){const C=u[z],x=C.progress,h=Math.min(Math.max(x,-4),4);let _=C.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(_-=u[0].swiperSlideOffset);let M=t.params.cssMode?-_-t.translate:-_,S=0;const O=-100*Math.abs(h);let j=1,R=-y.perSlideRotate*h,m=y.perSlideOffset-Math.abs(h)*.75;const J=t.virtual&&t.params.virtual.enabled?t.virtual.from+z:z,Z=(J===f||J===f-1)&&h>0&&h<1&&(k||t.params.cssMode)&&I<b,G=(J===f||J===f+1)&&h<0&&h>-1&&(k||t.params.cssMode)&&I>b;if(Z||G){const re=(1-Math.abs((Math.abs(h)-.5)/.5))**.5;R+=-28*h*re,j+=-.5*re,m+=96*re,S=`${-25*re*Math.abs(h)}%`}if(h<0?M=`calc(${M}px ${p?"-":"+"} (${m*Math.abs(h)}%))`:h>0?M=`calc(${M}px ${p?"-":"+"} (-${m*Math.abs(h)}%))`:M=`${M}px`,!t.isHorizontal()){const re=S;S=M,M=re}const te=h<0?`${1+(1-j)*h}`:`${1-(1-j)*h}`,ee=` 22 translate3d(${M}, ${S}, ${O}px) 23 rotateZ(${y.rotate?p?-R:R:0}deg) 24 scale(${te}) 25 `;if(y.slideShadows){let re=C.querySelector(".swiper-slide-shadow");re||(re=as("cards",C)),re&&(re.style.opacity=Math.min(Math.max((Math.abs(h)-.5)/.5,0),1))}C.style.zIndex=-Math.abs(Math.round(x))+u.length;const U=ks(y,C);U.style.transform=ee}},setTransition:u=>{const f=t.slides.map(p=>Vn(p));f.forEach(p=>{p.style.transitionDuration=`${u}ms`,p.querySelectorAll(".swiper-slide-shadow").forEach(y=>{y.style.transitionDuration=`${u}ms`})}),Xs({swiper:t,duration:u,transformElements:f})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}const Yl=[vl,yl,wl,_l,bl,Sl,xl,Tl,Cl,Ml,Ll,El,Pl,kl,Il,Al,jl,$l,Bl,Rl,Zl,Wl,Fl];Wt.use(Yl);const ql=()=>{q(".js-card-slider, .wp-block-jetpack-slideshow_swiper-wrapper").each(function(){const t=q(this).closest(".js-card-slider-wrapper"),a=t.find(".js-card-slider-right").get(0),l=t.find(".js-card-slider-left").get(0);new Wt(this,{slidesPerView:1.33,spaceBetween:16,navigation:{nextEl:a,prevEl:l},breakpoints:{1199:{slidesPerView:4,spaceBetween:24},1028:{slidesPerView:3,spaceBetween:24},480:{slidesPerView:2,spaceBetween:24}}})})},Vl=()=>{q(".js-feature-slider").each(function(){const i=q(this),t=i.closest(".js-feature-slider-wrapper"),a=t.find(".js-feature-slider-right").get(0),l=t.find(".js-feature-slider-left").get(0);new Wt(i.get(0),{navigation:{nextEl:a,prevEl:l},slidesPerView:1,grid:{rows:4,fill:"row"},spaceBetween:16,breakpoints:{491:{slidesPerView:2,grid:{rows:1},spaceBetween:24},768:{slidesPerView:2,grid:{rows:1},spaceBetween:24},991:{slidesPerView:3,grid:{rows:1},spaceBetween:24},1199:{slidesPerView:4,grid:{rows:1},spaceBetween:24}}})})},Gl=()=>{q(".js-podcast-slider").each(function(){const t=q(this).closest(".
25js-podcast-slider-wrapper"),a=t.find(".js-podcast-slider-right").get(0),l=t.find(".js-podcast-slider-left").get(0);new Wt(this,{slidesPerView:1.66,spaceBetween:16,navigation:{nextEl:a,prevEl:l},breakpoints:{1199:{slidesPerView:6,spaceBetween:24},1028:{slidesPerView:3,spaceBetween:24},490:{slidesPerView:2,spaceBetween:24}}})})},Ul=()=>{q(".js-playlist-slider").each(function(){const t=q(this).closest(".js-playlist-slider-wrapper"),a=t.find(".js-playlist-slider-right").get(0),l=t.find(".js-playlist-slider-left").get(0);new Wt(this,{slidesPerView:1.66,spaceBetween:16,navigation:{nextEl:a,prevEl:l},breakpoints:{1199:{slidesPerView:6,spaceBetween:24},1028:{slidesPerView:3,spaceBetween:24},490:{slidesPerView:2,spaceBetween:24}}})})};function Xl(i){const t=q("<input>");q("body").append(t),t.val(i).select(),document.execCommand("copy"),t.remove()}const Jl=()=>{q(".js-copy-clipboard").on("click keydown",function(i){const t=i.type==="click",a=i.type==="keydown"&&(i.which===13||i.keyCode===13),l=q(this).data("link")||window.location.href;if(t||a){Xl(l);const n=q(this).siblings(".js-copy-message");n.removeClass("hidden").addClass("inline-block"),setTimeout(()=>{n.addClass("hidden")},2e3)}}),q(".js-back-to-list").on("click keydown",i=>{i.preventDefault();const t=q(".js-back-to-list").data("type");let a="";switch(t){case"news":a=sessionStorage.getItem("lastNewsListUrl");break;case"event":a=sessionStorage.getItem("lastEventListUrl");break;case"organization":a=sessionStorage.getItem("lastOrgListUrl");break;case"feature":a=sessionStorage.getItem("lastFeatureListUrl");break}
25const l=i.type==="click",n=i.type==="keydown"&&(i.which===13||i.keyCode===13);if(l||n){const r=q(".js-back-to-list").data("fallback")||"/";a?window.location.href=a:window.location.href=r}})},Kl=()=>{const i=q(".js-organizations-filter");function t(){return i.serializeArray()}const a=(r,u=1)=>{const f=new URLSearchParams;f.set("page",u),r.forEach(({name:y,value:b})=>{const k=y.replace(/\[\]$/,"");if(!(b==="all"||b===""))if(f.has(k)){const I=f.get(k);f.set(k,`${I},${b}`)}else f.set(k,b)});const p=`${window.location.pathname}?${f.toString()}`;window.history.pushState({},"",p),sessionStorage.setItem("lastOrgListUrl",window.location.href)};q(window).on("popstate",function(){sessionStorage.setItem("lastOrgListUrl",window.location.href),window.location.reload()}),q(".js-organizations-filter").on("change",'select, input[type="checkbox"]',function(){q(this).closest("form").submit()}),i.on("change",'select, input[type="checkbox"]',function(){i.submit()});let l;i.find('input[type="text"]').on("input",function(){clearTimeout(l),l=setTimeout(()=>{i.submit()},1e3)});function n(r){const u=t();q(".js-organizations-loader").removeClass("hidden"),a(u,r),q.ajax({url:localize.ajax_url,dataType:"JSON",type:"POST",data:{action:"filter_organizations",datas:u,paged:r},success(f){q(".js-organizations-wrapper").html("").append(f.html),q(".js-organizations-loader").addClass("hidden"),q("html, body").animate({scrollTop:q("body").offset().top},300)}})}i.on("submit",function(r){r.preventDefault(),n(1)}),q(document).on("click keypress",".js-organizations-wrapper .js-pagination-custom",function(r){if(r.type==="click"||r.type==="keypress"&&r.key==="Enter"){const u=q(this).data("page");n(u)}})};var Ur={exports:{}};/* @preserve 26 * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com 27 * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade 28 */(function(i,t){(function(a,l){l(t)})(vr,function(a){var l="1.9.4";function n(e){var s,d,g,T;for(d=1,g=arguments.length;d<g;d++){T=arguments[d];for(s in T)e[s]=T[s]}return e}var r=Object.create||function(){function e(){}return function(s){return e.prototype=s,new e}}();function u(e,s){var d=Array.prototype.slice;if(e.bind)return e.bind.apply(e,d.call(arguments,1));var g=d.call(arguments,2);return function(){return e.apply(s,g.length?g.concat(d.call(arguments)):arguments)}}var f=0;function p(e){return"_leaflet_id"in e||(e._leaflet_id=++f),e._leaflet_id}function y(e,s,d){var g,T,D,B;return B=function(){g=!1,T&&(D.apply(d,T),T=!1)},D=function(){g?T=arguments:(e.apply(d,arguments),setTimeout(B,s),g=!0)},D}function b(e,s,d){var g=s[1],T=s[0],D=g-T;return e===g&&d?e:((e-T)%D+D)%D+T}function k(){return!1}function I(e,s){if(s===!1)return e;var d=Math.pow(10,s===void 0?6:s);return Math.round(e*d)/d}function z(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function C(e){return z(e).split(/\s+/)}function x(e,s){Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?r(e.options):{});for(var d in s)e.options[d]=s[d];return e.options}function h(e,s,d){var g=[];for(var T in e)g.push(encodeURIComponent(d?T.toUpperCase():T)+"="+encodeURIComponent(e[T]));return(!s||s.indexOf("?")===-1?"?":"&")+g.join("&")}var _=/\{ *([\w_ -]+) *\}/g;function M(e,s){return e.replace(_,function(d,g){var T=s[g];
28if(T===void 0)throw new Error("No value provided for variable "+d);return typeof T=="function"&&(T=T(s)),T})}var S=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function O(e,s){for(var d=0;d<e.length;d++)if(e[d]===s)return d;return-1}var j="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function R(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var m=0;function J(e){var s=+new Date,d=Math.max(0,16-(s-m));return m=s+d,window.setTimeout(e,d)}var Z=window.requestAnimationFrame||R("RequestAnimationFrame")||J,G=window.cancelAnimationFrame||R("CancelAnimationFrame")||R("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function te(e,s,d){if(d&&Z===J)e.call(s);else return Z.call(window,u(e,s))}function ee(e){e&&G.call(window,e)}var U={__proto__:null,extend:n,create:r,bind:u,get lastId(){return f},stamp:p,throttle:y,wrapNum:b,falseFn:k,formatNum:I,trim:z,splitWords:C,setOptions:x,getParamString:h,template:M,isArray:S,indexOf:O,emptyImageUrl:j,requestFn:Z,cancelFn:G,requestAnimFrame:te,cancelAnimFrame:ee};function re(){}re.extend=function(e){var s=function(){x(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},d=s.__super__=this.prototype,g=r(d);g.constructor=s,s.prototype=g;for(var T in this)Object.prototype.hasOwnProperty.call(this,T)&&T!=="prototype"&&T!=="__super__"&&(s[T]=this[T]);return e.statics&&n(s,e.statics),e.includes&&(pe(e.includes),n.apply(null,[g].concat(e.includes))),n(g,e),delete g.statics,delete g.includes,g.options&&(g.options=d.options?r(d.options):{},n(g.options,e.options)),g._initHooks=[],g.callInitHooks=function(){if(!this._initHooksCalled){d.callInitHooks&&d.callInitHooks.call(this),this._initHooksCalled=!0;for(var D=0,B=g._initHooks.length;D<B;D++)g._initHooks[D].call(this)}},s},re.include=function(e){var s=this.prototype.options;return n(this.prototype,e),e.options&&(this.prototype.options=s,this.mergeOptions(e.options)),this},re.mergeOptions=function(e){return n(this.prototype.options,e),this},re.addInitHook=function(e){var s=Array.prototype.slice.call(arguments,1),d=typeof e=="function"?e:function(){this[e].apply(this,s)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(d),this};function pe(e){if(!(typeof L>"u"||!L||!L.Mixin)){e=S(e)?e:[e];for(var s=0;s<e.length;
28s++)e[s]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var fe={on:function(e,s,d){if(typeof e=="object")for(var g in e)this._on(g,e[g],s);else{e=C(e);for(var T=0,D=e.length;T<D;T++)this._on(e[T],s,d)}return this},off:function(e,s,d){if(!arguments.length)delete this._events;else if(typeof e=="object")for(var g in e)this._off(g,e[g],s);else{e=C(e);for(var T=arguments.length===1,D=0,B=e.length;D<B;D++)T?this._off(e[D]):this._off(e[D],s,d)}return this},_on:function(e,s,d,g){if(typeof s!="function"){console.warn("wrong listener type: "+typeof s);return}if(this._listens(e,s,d)===!1){d===this&&(d=void 0);var T={fn:s,ctx:d};g&&(T.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(T)}},_off:function(e,s,d){var g,T,D;if(this._events&&(g=this._events[e],!!g)){if(arguments.length===1){if(this._firingCount)for(T=0,D=g.length;T<D;T++)g[T].fn=k;delete this._events[e];return}if(typeof s!="function"){console.warn("wrong listener type: "+typeof s);return}var B=this._listens(e,s,d);if(B!==!1){var Q=g[B];this._firingCount&&(Q.fn=k,this._events[e]=g=g.slice()),g.splice(B,1)}}},fire:function(e,s,d){if(!this.listens(e,d))return this;var g=n({},s,{type:e,target:this,sourceTarget:s&&s.sourceTarget||this});if(this._events){var T=this._events[e];if(T){this._firingCount=this._firingCount+1||1;for(var D=0,B=T.length;D<B;D++){var Q=T[D],ae=Q.fn;Q.once&&this.off(e,ae,Q.ctx),ae.call(Q.ctx||this,g)}this._firingCount--}}return d&&this._propagateEvent(g),this},listens:function(e,s,d,g){typeof e!="string"&&console.warn('"string" type argument expected');var T=s;typeof s!="function"&&(g=!!s,T=void 0,d=void 0);var D=this._events&&this._events[e];if(D&&D.length&&this._listens(e,T,d)!==!1)return!0;if(g){for(var B in this._eventParents)if(this._eventParents[B].listens(e,s,d,g))return!0}return!1},_listens:function(e,s,d){if(!this._events)return!1;var g=this._events[e]||[];if(!s)return!!g.length;d===this&&(d=void 0);for(var T=0,D=g.length;T<D;T++)if(g[T].fn===s&&g[T].ctx===d)return T;return!1},once:function(e,s,d){if(typeof e=="object")for(var g in e)this._on(g,e[g],s,!0);else{e=C(e);for(var T=0,D=e.length;T<D;T++)this._on(e[T],s,d,!0)}return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[p(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[p(e)],this},_propagateEvent:function(e){for(var s in this._eventParents)this._eventParents[s].fire(e.type,n({layer:e.target,propagatedFrom:e.target},e),!0)}};fe.addEventListener=fe.on,fe.removeEventListener=fe.clearAllEventListeners=fe.off,fe.addOneTimeEventListener=fe.once,fe.fireEvent=fe.fire,fe.hasEventListeners=fe.listens;var X=re.extend(fe);function V(e,s,d){this.x=d?Math.round(e):e,this.y=d?Math.round(s):s}var he=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};V.prototype={clone:function(){return new V(this.x,this.y)},add:function(e){return this.clone()._add(ve(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(ve(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 V(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new V(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=he(this.x),this.y=he(this.y),this},distanceTo:function(e){e=ve(e);var s=e.x-this.x,d=e.y-this.y;return Math.sqrt(s*s+d*d)},equals:function(e){return e=ve(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=ve(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)+")"}};function ve(e,s,d){return e instanceof V?e:S(e)?new V(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new V(e.x,e.y):new V(e,s,d)}function ke(e,s){if(e)for(var d=s?[e,s]:e,g=0,T=d.length;g<T;g++)this.extend(d[g])}ke.prototype={extend:function(e){var s,d;if(!e)return this;if(e instanceof V||typeof e[0]=="number"||"x"in e)s=d=ve(e);else if(e=Pe(e),s=e.min,d=e.max,!s||!d)return this;return!this.min&&!this.max?(this.min=s.clone(),this.max=d.clone()):(this.min.x=Math.min(s.x,this.min.x),this.max.x=Math.max(d.x,this.max.x),this.min.y=Math.min(s.y,this.min.y),this.max.y=Math.max(d.y,this.max.y)),this},getCenter:function(e){return ve((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return ve(this.min.x,this.max.y)},getTopRight:function(){return ve(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 s,d;return typeof e[0]=="number"||e instanceof V?e=ve(e):e=Pe(e),e instanceof ke?(s=e.min,d=e.max):s=d=e,s.x>=this.min.x&&d.x<=this.max.x&&s.y>=this.min.y&&d.y<=this.max.y},intersects:function(e){e=Pe(e);var s=this.min,d=this.max,g=e.min,T=e.max,D=T.x>=s.x&&g.x<=d.x,B=T.y>=s.y&&g.y<=d.y;return D&&B},overlaps:function(e){e=Pe(e);var s=this.min,d=this.max,g=e.min,T=e.max,D=T.x>s.x&&g.x<d.x,B=T.y>s.y&&g.y<d.y;return D&&B},isValid:function(){return!!(this.min&&this.max)},pad:function(e){var s=this.min,d=this.max,g=Math.abs(s.x-d.x)*e,T=Math.abs(s.y-d.y)*e;return Pe(ve(s.x-g,s.y-T),ve(d.x+g,d.y+T))},equals:function(e){return e?(e=Pe(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight())):!1}};function Pe(e,s){return!e||e instanceof ke?e:new ke(e,s)}function et(e,s){if(e)for(var d=s?[e,s]:e,g=0,T=d.length;g<T;g++)this.extend(d[g])}et.prototype={extend:function(e){var s=this._southWest,d=this._northEast,g,T;if(e instanceof de)g=e,T=e;else if(e instanceof et){if(g=e._southWest,T=e._northEast,!g||!T)return this}else return e?this.extend(oe(e)||Ke(e)):this;return!s&&!d?(this._southWest=new de(g.lat,g.lng),this._northEast=new de(T.lat,T.lng)):(s.lat=Math.min(g.lat,s.lat),s.lng=Math.min(g.lng,s.lng),d.lat=Math.max(T.lat,d.lat),d.lng=Math.max(T.lng,d.lng)),this},pad:function(e){var s=this._southWest,d=this._northEast,g=Math.abs(s.lat-d.lat)*e,T=Math.abs(s.lng-d.lng)*e;return new et(new de(s.lat-g,s.lng-T),new de(d.lat+g,d.lng+T))},getCenter:function(){return new de((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 de(this.getNorth(),this.getWest())},getSouthEast:function(){return new de(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
28,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){typeof e[0]=="number"||e instanceof de||"lat"in e?e=oe(e):e=Ke(e);var s=this._southWest,d=this._northEast,g,T;return e instanceof et?(g=e.getSouthWest(),T=e.getNorthEast()):g=T=e,g.lat>=s.lat&&T.lat<=d.lat&&g.lng>=s.lng&&T.lng<=d.lng},intersects:function(e){e=Ke(e);var s=this._southWest,d=this._northEast,g=e.getSouthWest(),T=e.getNorthEast(),D=T.lat>=s.lat&&g.lat<=d.lat,B=T.lng>=s.lng&&g.lng<=d.lng;return D&&B},overlaps:function(e){e=Ke(e);var s=this._southWest,d=this._northEast,g=e.getSouthWest(),T=e.getNorthEast(),D=T.lat>s.lat&&g.lat<d.lat,B=T.lng>s.lng&&g.lng<d.lng;return D&&B},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,s){return e?(e=Ke(e),this._southWest.equals(e.getSouthWest(),s)&&this._northEast.equals(e.getNorthEast(),s)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function Ke(e,s){return e instanceof et?e:new et(e,s)}function de(e,s,d){if(isNaN(e)||isNaN(s))throw new Error("Invalid LatLng object: ("+e+", "+s+")");this.lat=+e,this.lng=+s,d!==void 0&&(this.alt=+d)}de.prototype={equals:function(e,s){if(!e)return!1;e=oe(e);var d=Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng));return d<=(s===void 0?1e-9:s)},toString:function(e){return"LatLng("+I(this.lat,e)+", "+I(this.lng,e)+")"},distanceTo:function(e){return Ie.distance(this,oe(e))},wrap:function(){return Ie.wrapLatLng(this)},toBounds:function(e){var s=180*e/40075017,d=s/Math.cos(Math.PI/180*this.lat);return Ke([this.lat-s,this.lng-d],[this.lat+s,this.lng+d])},clone:function(){return new de(this.lat,this.lng,this.alt)}};function oe(e,s,d){return e instanceof de?e:S(e)&&typeof e[0]!="object"?e.length===3?new de(e[0],e[1],e[2]):e.length===2?new de(e[0],e[1]):null:e==null?e:typeof e=="object"&&"lat"in e?new de(e.lat,"lng"in e?e.lng:e.lon,e.alt):s===void 0?null:new de(e,s,d)}var ge={latLngToPoint:function(e,s){var d=this.projection.project(e),g=this.scale(s);return this.transformation._transform(d,g)},pointToLatLng:function(e,s){var d=this.scale(s),g=this.transformation.untransform(e,d);return this.projection.unproject(g)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var s=this.projection.bounds,d=this.scale(e),g=this.transformation.transform(s.min,d),T=this.transformation.transform(s.max,d);return new ke(g,T)}
28,infinite:!1,wrapLatLng:function(e){var s=this.wrapLng?b(e.lng,this.wrapLng,!0):e.lng,d=this.wrapLat?b(e.lat,this.wrapLat,!0):e.lat,g=e.alt;return new de(d,s,g)},wrapLatLngBounds:function(e){var s=e.getCenter(),d=this.wrapLatLng(s),g=s.lat-d.lat,T=s.lng-d.lng;if(g===0&&T===0)return e;var D=e.getSouthWest(),B=e.getNorthEast(),Q=new de(D.lat-g,D.lng-T),ae=new de(B.lat-g,B.lng-T);return new et(Q,ae)}},Ie=n({},ge,{wrapLng:[-180,180],R:6371e3,distance:function(e,s){var d=Math.PI/180,g=e.lat*d,T=s.lat*d,D=Math.sin((s.lat-e.lat)*d/2),B=Math.sin((s.lng-e.lng)*d/2),Q=D*D+Math.cos(g)*Math.cos(T)*B*B,ae=2*Math.atan2(Math.sqrt(Q),Math.sqrt(1-Q));return this.R*ae}}),lt=6378137,dt={R:lt,MAX_LATITUDE:85.0511287798,project:function(e){var s=Math.PI/180,d=this.MAX_LATITUDE,g=Math.max(Math.min(d,e.lat),-d),T=Math.sin(g*s);return new V(this.R*e.lng*s,this.R*Math.log((1+T)/(1-T))/2)},unproject:function(e){var s=180/Math.PI;return new de((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*s,e.x*s/this.R)},bounds:function(){var e=lt*Math.PI;return new ke([-e,-e],[e,e])}()};function It(e,s,d,g){if(S(e)){this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3];return}this._a=e,this._b=s,this._c=d,this._d=g}It.prototype={transform:function(e,s){return this._transform(e.clone(),s)},_transform:function(e,s){return s=s||1,e.x=s*(this._a*e.x+this._b),e.y=s*(this._c*e.y+this._d),e},untransform:function(e,s){return s=s||1,new V((e.x/s-this._b)/this._a,(e.y/s-this._d)/this._c)}};function at(e,s,d,g){return new It(e,s,d,g)}var bt=n({},Ie,{code:"EPSG:3857",projection:dt,transformation:function(){var e=.5/(Math.PI*dt.R);return at(e,.5,-e,.5)}()}),ht=n({},bt,{code:"EPSG:900913"});function Mt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $t(e,s){var d="",g,T,D,B,Q,ae;for(g=0,D=e.length;g<D;g++){for(Q=e[g],T=0,B=Q.length;T<B;T++)ae=Q[T],d+=(T?"L":"M")+ae.x+" "+ae.y;d+=s?Le.svg?"z":"x":""}return d||"M0 0"}var Lt=document.documentElement.style,pt="ActiveXObject"in window,Ut=pt&&!document.addEventListener,ei="msLaunchUri"in navigator&&!("documentMode"in document),ti=Et("webkit"),gt=Et("android"),mt=Et("android 2")||Et("android 3"),ct=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Ce=gt&&Et("Google")&&ct<537&&!("AudioNode"in window),be=!!window.opera,Xt=!ei&&Et("chrome"),di=Et("gecko")&&!ti&&!be&&!pt,ci=!Xt&&Et("safari"),Ki=Et("phantom"),Qi="OTransition"in Lt,ji=navigator.platform.indexOf("Win")===0,Bt=pt&&"transition"in Lt,Jt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!mt,ui="MozPerspective"in Lt,hn=!window.L_DISABLE_3D&&(Bt||Jt||ui)&&!Qi&&!Ki,fi=typeof orientation<"u"||Et("mobile"),Mn=fi&&ti,$i=fi&&Jt,en=!window.PointerEvent&&window.MSPointerEvent,Rt=!!(window.PointerEvent||en),Kt="ontouchstart"in window||!!window.TouchEvent,Dt=!window.L_NO_TOUCH&&(Kt||Rt),Yt=fi&&be,Ot=fi&&di,ut=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,pn=function(){var e=!1;try{var s=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",k,s),window.removeEventListener("testPassiveEventSupport",k,s)}catch{}return e}(),Gn=function(){return!!document.createElement("canvas").getContext}(),qt=!!(document.createElementNS&&Mt("svg").createSVGRect),Un=!!qt&&function(){var e=document.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Bi=!qt&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var s=e.firstChild;return s.style.behavior="url(#default#VML)",s&&typeof s.adj=="object"}catch{return!1}}(),St=navigator.platform.indexOf("Mac")===0,tn=navigator.platform.indexOf("Linux")===0;function Et(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Le={ie:pt,ielt9:Ut,edge:ei,webkit:ti,android:gt,android23:mt,androidStock:Ce,opera:be,chrome:Xt,gecko:di,safari:ci,phantom:Ki,opera12:Qi,win:ji,ie3d:Bt,webkit3d:Jt,gecko3d:ui,any3d:hn,mobile:fi,mobileWebkit:Mn,mobileWebkit3d:$i,msPointer:en,pointer:Rt,touch:Dt,touchNative:Kt,mobileOpera:Yt,mobileGecko:Ot,retina:ut,passiveEvents:pn,canvas:Gn,svg:qt,vml:Bi,inl
28ineSvg:Un,mac:St,linux:tn},Ln=Le.msPointer?"MSPointerDown":"pointerdown",Xn=Le.msPointer?"MSPointerMove":"pointermove",nn=Le.msPointer?"MSPointerUp":"pointerup",Vi=Le.msPointer?"MSPointerCancel":"pointercancel",mn={touchstart:Ln,touchmove:Xn,touchend:nn,touchcancel:Vi},hi={touchstart:kn,touchmove:mi,touchend:mi,touchcancel:mi},ii={},Ci=!1;function Jn(e,s,d){return s==="touchstart"&&Gi(),hi[s]?(d=hi[s].bind(this,d),e.addEventListener(mn[s],d,!1),d):(console.warn("wrong event specified:",s),k)}function En(e,s,d){if(!mn[s]){console.warn("wrong event specified:",s);return}e.removeEventListener(mn[s],d,!1)}function Pn(e){ii[e.pointerId]=e}function pi(e){ii[e.pointerId]&&(ii[e.pointerId]=e)}function sn(e){delete ii[e.pointerId]}function Gi(){Ci||(document.addEventListener(Ln,Pn,!0),document.addEventListener(Xn,pi,!0),document.addEventListener(nn,sn,!0),document.addEventListener(Vi,sn,!0),Ci=!0)}function mi(e,s){if(s.pointerType!==(s.MSPOINTER_TYPE_MOUSE||"mouse")){s.touches=[];for(var d in ii)s.touches.push(ii[d]);s.changedTouches=[s],e(s)}}function kn(e,s){s.MSPOINTER_TYPE_TOUCH&&s.pointerType===s.MSPOINTER_TYPE_TOUCH&&Pt(s),mi(e,s)}function In(e){var s={},d,g;for(g in e)d=e[g],s[g]=d&&d.bind?d.bind(e):d;return e=s,s.type="dblclick",s.detail=2,s.isTrusted=!1,s._simulated=!0,s}var gn=200;function An(e,s){e.addEventListener("dblclick",s);var d=0,g;function T(D){if(D.detail!==1){g=D.detail;return}if(!(D.pointerType==="mouse"||D.sourceCapabilities&&!D.sourceCapabilities.firesTouchEvents)){var B=vs(D);if(!(B.some(function(ae){return ae instanceof HTMLLabelElement&&ae.attributes.for})&&!B.some(function(ae){return ae instanceof HTMLInputElement||ae instanceof HTMLSelectElement}))){var Q=Date.now();Q-d<=gn?(g++,g===2&&s(In(D))):g=1,d=Q}}}return e.addEventListener("click",T),{dblclick:s,simDblclick:T}}function Dn(e,s){e.removeEventListener("dblclick",s.dblclick),e.removeEventListener("click",s.simDblclick)}var Mi=tt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ni=tt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),vn=ni==="webkitTransition"||ni==="OTransition"?ni+"End":"transitionend";function rn(e){return typeof e=="string"?document.getElementById(e):e}function Li(e,s){var d=e.style[s]||e.currentStyle&&e.currentStyle[s];if((!d||d==="auto")&&document.defaultView){var g=document.defaultView.getComputedStyle(e,null);d=g?g[s]:null}return d==="auto"?null:d}function We(e,s,d){var g=document.createElement(e);return g.className=s||"",d&&d.appendChild(g),g}function it(e){var s=e.parentNode;s&&s.removeChild(e)}function vt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function zt(e){var s=e.parentNode;s&&s.lastChild!==e&&s.appendChild(e)}function Zt(e){var s=e.parentNode;s&&s.firstChild!==e&&s.insertBefore(e,s.firstChild)}function Ri(e,s){if(e.classList!==void 0)return e.classList.contains(s);var d=ne(e);return d.length>0&&new RegExp("(^|\\s)"+s+"(\\s|$)").test(d)}function Ne(e,s){if(e.classList!==void 0)for(var d=C(s),g=0,T=d.length;g<T;g++)e.classList.add(d[g]);else if(!Ri(e,s)){var D=ne(e);F(e,(D?D+" ":"")+s)}}function ot(e,s){e.classList!==void 0?e.classList.remove(s):F(e,z((" "+ne(e)+" ").replace(" "+s+" "," ")))}function F(e,s){e.className.baseVal===void 0?e.className=s:e.className.baseVal=s}function ne(e){return e.correspondingElement&&(e=e.correspondingElement),e.className.baseVal===void 0?e.className:e.className.baseVal}function ye(e,s){"opacity"in e.style?e.style.opacity=s:"filter"in e.style&&Re(e,s)}function Re(e,s){var d=!1,g="DXImageTransform.Microsoft.Alpha";try{d=e.filters.item(g)}catch{if(s===1)return}s=Math.round(s*100),d?(d.Enabled=s!==100,d.Opacity=s):e.style.filter+=" progid:"+g+"(opacity="+s+")"}function tt(e){for(var s=document.documentElement.style,d=0;d<e.length;d++)if(e[d]in s)return e[d];return!1}function st(e,s,d){var g=s||new V(0,0);e.style[Mi]=(Le.ie3d?"translate("+g.x+"px,"+g.y+"px)":"translate3d("+g.x+"px,"+g.y+"px,0)")+(d?" scale("+d+")":"")}function Qe(e,s){e._leaflet_pos=s,Le.any3d?st(e,s):(e.style.left=s.x+"px",e.style.top=s.y+"px")}function xt(e){return e._leaflet_pos||new V(0,0)}var Zi,Ui,Wi;if("onselectstart"in document)Zi=function(){He(window,"selectstart",Pt)},Ui=function(){rt(window,"selectstart",Pt)};else{var gi=tt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Zi=function(){if(gi){var e=document.documentElement.style;Wi=e[gi],e[gi]="none"}}
28,Ui=function(){gi&&(document.documentElement.style[gi]=Wi,Wi=void 0)}}function On(){He(window,"dragstart",Pt)}function cs(){rt(window,"dragstart",Pt)}var Xi,Kn;function zn(e){for(;e.tabIndex===-1;)e=e.parentNode;e.style&&(Nn(),Xi=e,Kn=e.style.outlineStyle,e.style.outlineStyle="none",He(window,"keydown",Nn))}function Nn(){Xi&&(Xi.style.outlineStyle=Kn,Xi=void 0,Kn=void 0,rt(window,"keydown",Nn))}function us(e){do e=e.parentNode;while((!e.offsetWidth||!e.offsetHeight)&&e!==document.body);return e}function fs(e){var s=e.getBoundingClientRect();return{x:s.width/e.offsetWidth||1,y:s.height/e.offsetHeight||1,boundingClientRect:s}}var As={__proto__:null,TRANSFORM:Mi,TRANSITION:ni,TRANSITION_END:vn,get:rn,getStyle:Li,create:We,remove:it,empty:vt,toFront:zt,toBack:Zt,hasClass:Ri,addClass:Ne,removeClass:ot,setClass:F,getClass:ne,setOpacity:ye,testProp:tt,setTransform:st,setPosition:Qe,getPosition:xt,get disableTextSelection(){return Zi},get enableTextSelection(){return Ui},disableImageDrag:On,enableImageDrag:cs,preventOutline:zn,restoreOutline:Nn,getSizedParentNode:us,getScale:fs};function He(e,s,d,g){if(s&&typeof s=="object")for(var T in s)ps(e,T,s[T],d);else{s=C(s);for(var D=0,B=s.length;D<B;D++)ps(e,s[D],d,g)}return this}var Ei="_leaflet_events";function rt(e,s,d,g){if(arguments.length===1)Ds(e),delete e[Ei];else if(s&&typeof s=="object")for(var T in s)ms(e,T,s[T],d);else if(s=C(s),arguments.length===2)Ds(e,function(Q){return O(s,Q)!==-1});else for(var D=0,B=s.length;D<B;D++)ms(e,s[D],d,g);return this}function Ds(e,s){for(var d in e[Ei]){var g=d.split(/\d/)[0];(!s||s(g))&&ms(e,g,null,null,d)}}
28var hs={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function ps(e,s,d,g){var T=s+p(d)+(g?"_"+p(g):"");if(e[Ei]&&e[Ei][T])return this;var D=function(Q){return d.call(g||e,Q||window.event)},B=D;!Le.touchNative&&Le.pointer&&s.indexOf("touch")===0?D=Jn(e,s,D):Le.touch&&s==="dblclick"?D=An(e,D):"addEventListener"in e?s==="touchstart"||s==="touchmove"||s==="wheel"||s==="mousewheel"?e.addEventListener(hs[s]||s,D,Le.passiveEvents?{passive:!1}:!1):s==="mouseenter"||s==="mouseleave"?(D=function(Q){Q=Q||window.event,jn(e,Q)&&B(Q)},e.addEventListener(hs[s],D,!1)):e.addEventListener(s,B,!1):e.attachEvent("on"+s,D),e[Ei]=e[Ei]||{},e[Ei][T]=D}function ms(e,s,d,g,T){T=T||s+p(d)+(g?"_"+p(g):"");var D=e[Ei]&&e[Ei][T];if(!D)return this;!Le.touchNative&&Le.pointer&&s.indexOf("touch")===0?En(e,s,D):Le.touch&&s==="dblclick"?Dn(e,D):"removeEventListener"in e?e.removeEventListener(hs[s]||s,D,!1):e.detachEvent("on"+s,D),e[Ei][T]=null}function an(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function gs(e){return ps(e,"wheel",an),this}function Hn(e){return He(e,"mousedown touchstart dblclick contextmenu",an),e._leaflet_disable_click=!0,this}function Pt(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function Fi(e){return Pt(e),an(e),this}function vs(e){if(e.composedPath)return e.composedPath();for(var s=[],d=e.target;d;)s.push(d),d=d.parentNode;return s}function Qn(e,s){if(!s)return new V(e.clientX,e.clientY);var d=fs(s),g=d.boundingClientRect;return new V((e.clientX-g.left)/d.x-s.clientLeft,(e.clientY-g.top)/d.y-s.clientTop)}var Os=Le.linux&&Le.chrome?window.devicePixelRatio:Le.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function ys(e){return Le.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/Os:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function jn(e,s){var d=s.relatedTarget;if(!d)return!0;try{for(;d&&d!==e;)d=d.parentNode}catch{return!1}return d!==e}var Ks={__proto__:null,on:He,off:rt,stopPropagation:an,disableScrollPropagation:gs,disableClickPropagation:Hn,preventDefault:Pt,stop:Fi,getPropagationPath:vs,getMousePosition:Qn,getWheelDelta:ys,isExternalTarget:jn,addListener:He,removeListener:rt},zs=X.extend({run:function(e,s,d,g){this.stop(),this._el=e,this._inProgress=!0,this._duration=d||.25,this._easeOutPower=1/Math.max(g||.5,.2),this._startPos=xt(e),this._offset=s.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=te(this._animate,this),this._step()},_step:function(e){var s=+new Date-this._startTime,d=this._duration*1e3;s<d?this._runFrame(this._easeOut(s/d),e):(this._runFrame(1),this._complete())},_runFrame:function(e,s){var d=this._startPos.add(this._offset.multiplyBy(e));s&&d._round(),Qe(this._el,d),this.fire("step")},_complete:function(){ee(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),Je=X.extend({options:{crs:bt,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,s){s=x(this,s),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=u(this._onResize,this),this._initEvents(),s.maxBounds&&this.setMaxBounds(s.maxBounds),s.zoom!==void 0&&(this._zoom=this._limitZoom(s.zoom)),s.center&&s.zoom!==void 0&&this.setView(oe(s.center),s.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ni&&Le.any3d&&!Le.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),He(this._proxy,vn,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 3,123 bytes, line 28
28,setView:function(e,s,d){if(s=s===void 0?this._zoom:this._limitZoom(s),e=this._limitCenter(oe(e),s,this.options.maxBounds),d=d||{},this._stop(),this._loaded&&!d.reset&&d!==!0){d.animate!==void 0&&(d.zoom=n({animate:d.animate},d.zoom),d.pan=n({animate:d.animate,duration:d.duration},d.pan));var g=this._zoom!==s?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,s,d.zoom):this._tryAnimatedPan(e,d.pan);if(g)return clearTimeout(this._sizeTimer),this}return this._resetView(e,s,d.pan&&d.pan.noMoveStart),this},setZoom:function(e,s){return this._loaded?this.setView(this.getCenter(),e,{zoom:s}):(this._zoom=e,this)},zoomIn:function(e,s){return e=e||(Le.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+e,s)},zoomOut:function(e,s){return e=e||(Le.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-e,s)},setZoomAround:function(e,s,d){var g=this.getZoomScale(s),T=this.getSize().divideBy(2),D=e instanceof V?e:this.latLngToContainerPoint(e),B=D.subtract(T).multiplyBy(1-1/g),Q=this.containerPointToLatLng(T.add(B));return this.setView(Q,s,{zoom:d})},_getBoundsCenterZoom:function(e,s){s=s||{},e=e.getBounds?e.getBounds():Ke(e);var d=ve(s.paddingTopLeft||s.padding||[0,0]),g=ve(s.paddingBottomRight||s.padding||[0,0]),T=this.getBoundsZoom(e,!1,d.add(g));if(T=typeof s.maxZoom=="number"?Math.min(s.maxZoom,T):T,T===1/0)return{center:e.getCenter(),zoom:T};var D=g.subtract(d).divideBy(2),B=this.project(e.getSouthWest(),T),Q=this.project(e.getNorthEast(),T),ae=this.unproject(B.add(Q).divideBy(2).add(D),T);return{center:ae,zoom:T}},fitBounds:function(e,s){if(e=Ke(e),!e.isValid())throw new Error("Bounds are not valid.");var d=this._getBoundsCenterZoom(e,s);return this.setView(d.center,d.zoom,s)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,s){return this.setView(e,this._zoom,{pan:s})},panBy:function(e,s){if(e=ve(e).round(),s=s||{},!e.x&&!e.y)return this.fire("moveend");if(s.animate!==!0&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new zs,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),s.noMoveStart||this.fire("movestart"),s.animate!==!1){Ne(this._mapPane,"leaflet-pan-anim");var d=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,d,s.duration||.25,s.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,s,d){if(d=d||{},d.animate===!1||!Le.any3d)return this.setView(e,s,d);this._stop();var g=this.project(this.getCenter()),T=this.project(e),D=this.getSize(),B=this._zoom;e=oe(e),s=s===void 0?B:s;var Q=Math.max(D.x,D.y),ae=Q*this.getZoomScale(B,s),me=T.distanceTo(g)||1,Te=1.42,Oe=Te*Te;function Ve(kt){var Rs=kt?-1:1,Fa=kt?ae:Q,Ya=ae*ae-Q*Q+Rs*Oe*Oe*me*me,qa=2*Fa*Oe*me,tr=Ya/qa,Zr=Math.sqrt(tr*tr+1)-tr,Va=Zr<1e-9?-18:Math.log(Zr);return Va}function Qt(kt){return(Math.exp(kt)-Math.exp(-kt))/2}function Ht(kt){return(Math.exp(kt)+Math.exp(-kt))/2}function Ni(kt){return Qt(kt)/Ht(kt)}var li=Ve(0);function ss(kt){return Q*(Ht(li)/Ht(li+Te*kt))}
vendor: 4,655 bytes, line 28
28function Ba(kt){return Q*(Ht(li)*Ni(li+Te*kt)-Qt(li))/Oe}function Ra(kt){return 1-Math.pow(1-kt,1.5)}var Za=Date.now(),Br=(Ve(1)-li)/Te,Wa=d.duration?1e3*d.duration:1e3*Br*.8;function Rr(){var kt=(Date.now()-Za)/Wa,Rs=Ra(kt)*Br;kt<=1?(this._flyToFrame=te(Rr,this),this._move(this.unproject(g.add(T.subtract(g).multiplyBy(Ba(Rs)/me)),B),this.getScaleZoom(Q/ss(Rs),B),{flyTo:!0})):this._move(e,s)._moveEnd(!0)}return this._moveStart(!0,d.noMoveStart),Rr.call(this),this},flyToBounds:function(e,s){var d=this._getBoundsCenterZoom(e,s);return this.flyTo(d.center,d.zoom,s)},setMaxBounds:function(e){return e=Ke(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 s=this.options.minZoom;return this.options.minZoom=e,this._loaded&&s!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var s=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&s!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,s){this._enforcingBounds=!0;var d=this.getCenter(),g=this._limitCenter(d,this._zoom,Ke(e));return d.equals(g)||this.panTo(g,s),this._enforcingBounds=!1,this},panInside:function(e,s){s=s||{};var d=ve(s.paddingTopLeft||s.padding||[0,0]),g=ve(s.paddingBottomRight||s.padding||[0,0]),T=this.project(this.getCenter()),D=this.project(e),B=this.getPixelBounds(),Q=Pe([B.min.add(d),B.max.subtract(g)]),ae=Q.getSize();if(!Q.contains(D)){this._enforcingBounds=!0;var me=D.subtract(Q.getCenter()),Te=Q.extend(D).getSize().subtract(ae);T.x+=me.x<0?-Te.x:Te.x,T.y+=me.y<0?-Te.y:Te.y,this.panTo(this.unproject(T),s),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},e===!0?{animate:!0}:e);var s=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var d=this.getSize(),g=s.divideBy(2).round(),T=d.divideBy(2).round(),D=g.subtract(T);return!D.x&&!D.y?this:(e.animate&&e.pan?this.panBy(D):(e.pan&&this._rawPanBy(D),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:s,newSize:d}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var s=u(this._handleGeolocationResponse,this),d=u(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(s,d,e):navigator.geolocation.getCurrentPosition(s,d,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var s=e.code,d=e.message||(s===1?"permission denied":s===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:s,message:"Geolocation error: "+d+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var s=e.coords.latitude,d=e.coords.longitude,g=new de(s,d),T=g.toBounds(e.coords.accuracy*2),D=this._locateOptions;if(D.setView){var B=this.getBoundsZoom(T);this.setView(g,D.maxZoom?Math.min(B,D.maxZoom):B)}var Q={latlng:g,bounds:T,timestamp:e.timestamp};for(var ae in e.coords)typeof e.coords[ae]=="number"&&(Q[ae]=e.coords[ae]);this.fire("locationfound",Q)}},addHandler:function(e,s){if(!s)return this;var d=this[e]=new s(this);return this._handlers.push(d),this.options[e]&&d.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),it(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(ee(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;
28for(e in this._layers)this._layers[e].remove();for(e in this._panes)it(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,s){var d="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),g=We("div",d,s||this._mapPane);return e&&(this._panes[e]=g),g},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds(),s=this.unproject(e.getBottomLeft()),d=this.unproject(e.getTopRight());return new et(s,d)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,s,d){e=Ke(e),d=ve(d||[0,0]);var g=this.getZoom()||0,T=this.getMinZoom(),D=this.getMaxZoom(),B=e.getNorthWest(),Q=e.getSouthEast(),ae=this.getSize().subtract(d),me=Pe(this.project(Q,g),this.project(B,g)).getSize(),Te=Le.any3d?this.options.zoomSnap:1,Oe=ae.x/me.x,Ve=ae.y/me.y,Qt=s?Math.max(Oe,Ve):Math.min(Oe,Ve);return g=this.getScaleZoom(Qt,g),Te&&(g=Math.round(g/(Te/100))*(Te/100),g=s?Math.ceil(g/Te)*Te:Math.floor(g/Te)*Te),Math.max(T,Math.min(D,g))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new V(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,s){var d=this._getTopLeftPoint(e,s);return new ke(d,d.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,s){var d=this.options.crs;return s=s===void 0?this._zoom:s,d.scale(e)/d.scale(s)},getScaleZoom:function(e,s){var d=this.options.crs;s=s===void 0?this._zoom:s;var g=d.zoom(e*d.scale(s));return isNaN(g)?1/0:g},project:function(e,s){return s=s===void 0?this._zoom:s,this.options.crs.latLngToPoint(oe(e),s)},unproject:function(e,s){return s=s===void 0?this._zoom:s,this.options.crs.pointToLatLng(ve(e),s)},layerPointToLatLng:function(e){var s=ve(e).add(this.getPixelOrigin());return this.unproject(s)},latLngToLayerPoint:function(e){var s=this.project(oe(e))._round();return s._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(oe(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(Ke(e))},distance:function(e,s){return this.options.crs.distance(oe(e),oe(s))},containerPointToLayerPoint:function(e){return ve(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return ve(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var s=this.containerPointToLayerPoint(ve(e));return this.layerPointToLatLng(s)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(oe(e)))},mouseEventToContainerPoint:function(e){return Qn(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var s=this._container=rn(e);if(s){if(s._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");He(s,"scroll",this._onScroll,this),this._containerId=p(s)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Le.any3d,Ne(e,"leaflet-container"+(Le.touch?" leaflet-touch":"")+(Le.retina?" leaflet-retina":"")+(Le.ielt9?" leaflet-oldie":"")+(Le.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var s=Li(e,"position");s!=="absolute"&&s!=="relative"&&s!=="fixed"&&s!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Qe(this._mapPane,new V(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Ne(e.markerPane,"leaflet-zoom-hide"),Ne(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,s,d){Qe(this._mapPane,new V(0,0));var g=!this._loaded;this._loaded=!0,s=this._limitZoom(s),this.fire("viewprereset");var T=this._zoom!==s;this._moveStart(T,d)._move(e,s)._moveEnd(T),this.fire("viewreset"),g&&this.fire("load")},_moveStart:function(e,s){return e&&this.fire("zoomstart"),s||this.fire("movestart"),this},_move:function(e,s,d,g){s===void 0&&(s=this._zoom);var T=this._zoom!==s;return this._zoom=s,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),g?d&&d.pinch&&this.fire("zoom",d):((T||d&&d.pinch)&&this.fire("zoom",d),this.fire("move",d)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return ee(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){Qe(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[p(this._container)]=this;var s=e?rt:He;s(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&s(window,"resize",this._onResize,this),Le.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){ee(this._resizeRequest),this._resizeRequest=te(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,s){for(var d=[],g,T=s==="mouseout"||s==="mouseover",D=e.target||e.srcElement,B=!1;D;){if(g=this._targets[p(D)],g&&(s==="click"||s==="preclick")&&this._draggableMoved(g)){B=!0;break}if(g&&g.listens(s,!0)&&(T&&!jn(D,e)||(d.push(g),T))||D===this._container)break;D=D.parentNode}return!d.length&&!B&&!T&&this.listens(s,!0)&&(d=[this]),d},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var s=e.target||e.srcElement;if(!(!this._loaded||s._leaflet_disable_events||e.type==="click"&&this._isCl
28ickDisabled(s))){var d=e.type;d==="mousedown"&&zn(s),this._fireDOMEvent(e,d)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,s,d){if(e.type==="click"){var g=n({},e);g.type="preclick",this._fireDOMEvent(g,g.type,d)}var T=this._findEventTargets(e,s);if(d){for(var D=[],B=0;B<d.length;B++)d[B].listens(s,!0)&&D.push(d[B]);T=D.concat(T)}if(T.length){s==="contextmenu"&&Pt(e);var Q=T[0],ae={originalEvent:e};if(e.type!=="keypress"&&e.type!=="keydown"&&e.type!=="keyup"){var me=Q.getLatLng&&(!Q._radius||Q._radius<=10);ae.containerPoint=me?this.latLngToContainerPoint(Q.getLatLng()):this.mouseEventToContainerPoint(e),ae.layerPoint=this.containerPointToLayerPoint(ae.containerPoint),ae.latlng=me?Q.getLatLng():this.layerPointToLatLng(ae.layerPoint)}for(B=0;B<T.length;B++)if(T[B].fire(s,ae,!0),ae.originalEvent._stopped||T[B].options.bubblingMouseEvents===!1&&O(this._mouseEvents,s)!==-1)return}},_draggableMoved:function(e){return e=e.dragging&&e.dragging.enabled()?e:this,e.dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,s=this._handlers.length;e<s;e++)this._handlers[e].disable()},whenReady:function(e,s){return this._loaded?e.call(s||this,{target:this}):this.on("load",e,s),this},_getMapPanePos:function(){return xt(this._mapPane)||new V(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,s){var d=e&&s!==void 0?this._getNewPixelOrigin(e,s):this.getPixelOrigin();return d.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,s){var d=this.getSize()._divideBy(2);return this.project(e,s)._subtract(d)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,s,d){var g=this._getNewPixelOrigin(d,s);return this.project(e,s)._subtract(g)},_latLngBoundsToNewLayerBounds:function(e,s,d){var g=this._getNewPixelOrigin(d,s);
vendor: 19,143 bytes, line 28
28return Pe([this.project(e.getSouthWest(),s)._subtract(g),this.project(e.getNorthWest(),s)._subtract(g),this.project(e.getSouthEast(),s)._subtract(g),this.project(e.getNorthEast(),s)._subtract(g)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,s,d){if(!d)return e;var g=this.project(e,s),T=this.getSize().divideBy(2),D=new ke(g.subtract(T),g.add(T)),B=this._getBoundsOffset(D,d,s);return Math.abs(B.x)<=1&&Math.abs(B.y)<=1?e:this.unproject(g.add(B),s)},_limitOffset:function(e,s){if(!s)return e;var d=this.getPixelBounds(),g=new ke(d.min.add(e),d.max.add(e));return e.add(this._getBoundsOffset(g,s))},_getBoundsOffset:function(e,s,d){var g=Pe(this.project(s.getNorthEast(),d),this.project(s.getSouthWest(),d)),T=g.min.subtract(e.min),D=g.max.subtract(e.max),B=this._rebound(T.x,-D.x),Q=this._rebound(T.y,-D.y);return new V(B,Q)},_rebound:function(e,s){return e+s>0?Math.round(e-s)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(s))},_limitZoom:function(e){var s=this.getMinZoom(),d=this.getMaxZoom(),g=Le.any3d?this.options.zoomSnap:1;return g&&(e=Math.round(e/g)*g),Math.max(s,Math.min(d,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ot(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,s){var d=this._getCenterOffset(e)._trunc();return(s&&s.animate)!==!0&&!this.getSize().contains(d)?!1:(this.panBy(d,s),!0)},_createAnimProxy:function(){var e=this._proxy=We("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(s){var d=Mi,g=this._proxy.style[d];st(this._proxy,this.project(s.center,s.zoom),this.getZoomScale(s.zoom,1)),g===this._proxy.style[d]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){it(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),s=this.getZoom();st(this._proxy,this.project(e,s),this.getZoomScale(s,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,s,d){if(this._animatingZoom)return!0;if(d=d||{},!this._zoomAnimated||d.animate===!1||this._nothingToAnimate()||Math.abs(s-this._zoom)>this.options.zoomAnimationThreshold)return!1;var g=this.getZoomScale(s),T=this._getCenterOffset(e)._divideBy(1-1/g);return d.animate!==!0&&!this.getSize().contains(T)?!1:(te(function(){this._moveStart(!0,d.noMoveStart||!1)._animateZoom(e,s,!0)},this),!0)},_animateZoom:function(e,s,d,g){this._mapPane&&(d&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=s,Ne(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:s,noUpdate:g}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ot(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 $n(e,s){return new Je(e,s)}var si=re.extend({options:{position:"topright"},initialize:function(e){x(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var s=this._map;return s&&s.removeControl(this),this.options.position=e,s&&s.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var s=this._container=this.onAdd(e),d=this.getPosition(),g=e._controlCorners[d];return Ne(s,"leaflet-control"),d.indexOf("bottom")!==-1?g.insertBefore(s,g.firstChild):g.appendChild(s),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(it(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),on=function(e){return new si(e)};Je.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},s="leaflet-",d=this._controlContainer=We("div",s+"control-container",this._container);function g(T,D){var B=s+T+" "+s+D;e[T+D]=We("div",B,d)}g("top","left"),g("top","right"),g("bottom","left"),g("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)it(this._controlCorners[e]);it(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ns=si.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,s,d,g){return d<g?-1:g<d?1:0}},initialize:function(e,s,d){x(this,d),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var g in e)this._addLayer(e[g],g);for(g in s)this._addLayer(s[g],g,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var s=0;s<this._layers.length;s++)this._layers[s].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return si.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,s){return this._addLayer(e,s),this._map?this._update():this},addOverlay:function(e,s){return this._addLayer(e,s,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var s=this._getLayer(p(e));return s&&this._layers.splice(this._layers.indexOf(s),1),this._map?this._update():this},expand:function(){Ne(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?(Ne(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):ot(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return ot(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",s=this._container=We("div",e),d=this.options.collapsed;s.setAttribute("aria-haspopup",!0),Hn(s),gs(s);var g=this._section=We("section",e+"-list");d&&(this._map.on("click",this.collapse,this),He(s,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var T=this._layersLink=We("a",e+"-toggle",s);T.href="#",T.title="Layers",T.setAttribute("role","button"),He(T,{keydown:function(D){D.keyCode===13&&this._expandSafely()},click:function(D){Pt(D),this._expandSafely()}},this),d||this.expand(),this._baseLayersList=We("div",e+"-base",g),this._separator=We("div",e+"-separator",g),this._overlaysList=We("div",e+"-overlays",g),s.appendChild(g)},_getLayer:function(e){for(var s=0;s<this._layers.length;s++)if(this._layers[s]&&p(this._layers[s].layer)===e)return this._layers[s]},_addLayer:function(e,s,d){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:s,overlay:d}),this.options.sortLayers&&this._layers.sort(u(function(g,T){return this.options.sortFunction(g.layer,T.layer,g.name,T.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;vt(this._baseLayersList),vt(this._overlaysList),this._layerControlInputs=[];var e,s,d,g,T=0;for(d=0;d<this._layers.length;d++)g=this._layers[d],this._addItem(g),s=s||g.overlay,e=e||!g.overlay,T+=g.overlay?0:1;return this.options.hideSingleBase&&(e=e&&T>1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=s&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var s=this._getLayer(p(e.target)),d=s.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;d&&this._map.fire(d,s)},_createRadioElement:function(e,s){var d='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(s?' checked="checked"':"")+"/>",g=document.createElement("div");return g.innerHTML=d,g.firstChild},_addItem:function(e){var s=document.createElement("label"),d=this._map.hasLayer(e.layer),g;e.overlay?(g=document.createElement("input"),g.type="checkbox",g.className="leaflet-control-layers-selector",g.defaultChecked=d):g=this._createRadioElement("leaflet-base-layers_"+p(this),d),this._layerControlInputs.push(g),g.layerId=p(e.layer),He(g,"click",this._onInputClick,this);var T=document.createElement("span");T.innerHTML=" "+e.name;var D=document.createElement("span");s.appendChild(D),D.appendChild(g),D.appendChild(T);var B=e.overlay?this._overlaysList:this._baseLayersList;return B.appendChild(s),this._checkDisabledLayers(),s},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,s,d,g=[],T=[];this._handlingClick=!0;for(var D=e.length-1;D>=0;D--)s=e[D],d=this._getLayer(s.layerId).layer,s.checked?g.push(d):s.checked||T.push(d);for(D=0;D<T.length;D++)this._map.hasLayer(T[D])&&this._map.removeLayer(T[D]);for(D=0;D<g.length;D++)this._map.hasLayer(g[D])||this._map.addLayer(g[D]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e=this._layerControlInputs,s,d,g=this._map.getZoom(),T=e.length-1;T>=0;T--)s=e[T],d=this._getLayer(s.layerId).layer,s.disabled=d.options.minZoom!==void 0&&g<d.options.minZoom||d.options.maxZoom!==void 0&&g>d.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,He(e,"click",Pt),this.expand();var s=this;setTimeout(function(){rt(e,"click",Pt),s._preventClick=!1})}}),Qs=function(e,s,d){return new Ns(e,s,d)},ws=si.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(e){var s="leaflet-control-zoom",d=We("div",s+" leaflet-bar"),g=this.options;return this._zoomInButton=this._createButton(g.zoomInText,g.zoomInTitle,s+"-in",d,this._zoomIn),this._zoomOutButton=this._createButton(g.zoomOutText,g.zoomOutTitle,s+"-out",d,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),d},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._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,s,d,g,T){var D=We("a",d,g);return D.innerHTML=e,D.href="#",D.title=s,D.setAttribute("role","button"),D.setAttribute("aria-label",s),Hn(D),He(D,"click",Fi),He(D,"click",T,this),He(D,"click",this._refocusOnMap,this),D},_updateDisabled:function(){var e=this._map,s="leaflet-disabled";ot(this._zoomInButton,s),ot(this._zoomOutButton,s),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(Ne(this._zoomOutButton,s),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(Ne(this._zoomInButton,s),this._zoomInButton.setAttribute("aria-disabled","true"))}});Je.mergeOptions({zoomControl:!0}),Je.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ws,this.addControl(this.zoomControl))});var o=function(e){return new ws(e)},c=si.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var s="leaflet-control-scale",d=We("div",s),g=this.options;return this._addScales(g,s+"-line",d),e.on(g.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),d},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,s,d){e.metric&&(this._mScale=We("div",s,d)),e.imperial&&(this._iScale=We("div",s,d))},_update:function(){var e=this._map,s=e.getSize().y/2,d=e.distance(e.containerPointToLatLng([0,s]),e.containerPointToLatLng([this.options.maxWidth,s]));this._updateScales(d)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var s=this._getRoundNum(e),d=s<1e3?s+" m":s/1e3+" km";this._updateScale(this._mScale,d,s/e)},_updateImperial:function(e){var s=e*3.2808399,d,g,T;s>5280?(d=s/5280,g=this._getRoundNum(d),this._updateScale(this._iScale,g+" mi",g/d)):(T=this._getRoundNum(s),this._updateScale(this._iScale,T+" ft",T/s))},_updateScale:function(e,s,d){e.style.width=Math.round(this.options.maxWidth*d)+"px",e.innerHTML=s},_getRoundNum:function(e){var s=Math.pow(10,(Math.floor(e)+"").length-1),d=e/s;return d=d>=10?10:d>=5?5:d>=3?3:d>=2?2:1,s*d}}),v=function(e){return new c(e)},w='<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>',E=si.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Le.inlineSvg?w+" ":"")+"Leaflet</a>"},initialize:function(e){x(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=We("div","leaflet-control-attribution"),Hn(this._container);for(var s in e._layers)e._layers[s].getAttribution&&this.addAttribution(e._layers[s].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var s in this._attributions)this._attributions[s]&&e.push(s);var d=[];this.options.prefix&&d.push(this.options.prefix),e.length&&d.push(e.join(", ")),this._container.innerHTML=d.join(' <span aria-hidden="true">|</span> ')}}});Je.mergeOptions({attributionControl:!0}),Je.addInitHook(function(){this.options.attributionControl&&new E().addTo(this)});var P=function(e){return new E(e)};si.Layers=Ns,si.Zoom=ws,si.Scale=c,si.Attribution=E,on.layers=Qs,on.zoom=o,on.scale=v,on.attribution=P;var A=re.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});A.addTo=function(e,s){return e.addHandler(s,this),this};var $={Events:fe},H=Le.touch?"touchstart mousedown":"mousedown",Y=X.extend({options:{clickTolerance:3},initialize:function(e,s,d,g){x(this,g),this._element=e,this._dragStartTarget=s||e,this._preventOutline=d},enable:function(){this._enabled||(He(this._dragStartTarget,H,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Y._dragging===this&&this.finishDrag(!0),rt(this._dragStartTarget,H,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!Ri(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){Y._dragging===this&&this.finishDrag();return}if(!(Y._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(Y._dragging=this,this._preventOutline&&zn(this._element),On(),Zi(),!this._moving)){this.fire("down");var s=e.touches?e.touches[0]:e,d=us(this._element);this._startPoint=new V(s.clientX,s.clientY),this._startPos=xt(this._element),this._parentScale=fs(d);var g=e.type==="mousedown";He(document,g?"mousemove":"touchmove",this._onMove,this),He(document,g?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var s=e.touches&&e.touches.length===1?e.touches[0]:e,d=new V(s.clientX,s.clientY)._subtract(this._startPoint);!d.x&&!d.y||Math.abs(d.x)+Math.abs(d.y)<this.options.clickTolerance||(d.x/=this._parentScale.x,d.y/=this._parentScale.y,Pt(e),this._moved||(this.fire("dragstart"),this._moved=!0,Ne(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),Ne(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(d),this._moving=!0,this._lastEvent=e,this._updatePosition())}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),Qe(this._element,this._newPos),this.fire("drag",e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){ot(document.body,"leaflet-dragging"),this._lastTarget&&(ot(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),rt(document,"mousemove touchmove",this._onMove,this),rt(document,"mouseup touchend touchcancel",this._onUp,this),cs(),Ui();var s=this._moved&&this._moving;this._moving=!1,Y._dragging=!1,s&&this.fire("dragend",{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function le(e,s,d){var g,T=[1,4,2,8],D,B,Q,ae,me,Te,Oe,Ve;for(D=0,Te=e.length;D<Te;D++)e[D]._code=$e(e[D],s);for(Q=0;Q<4;Q++){for(Oe=T[Q],g=[],D=0,Te=e.length,B=Te-1;D<Te;B=D++)ae=e[D],me=e[B],ae._code&Oe?me._code&Oe||(Ve=ki(me,ae,Oe,s,d),Ve._code=$e(Ve,s),g.push(Ve)):(me._code&Oe&&(Ve=ki(me,ae,Oe,s,d),Ve._code=$e(Ve,s),g.push(Ve)),g.push(ae));e=g}return e}function ue(e,s){var d,g,T,D,B,Q,ae,me,Te;if(!e||e.length===0)throw new Error("latlngs not passed");Vt(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var Oe=oe([0,0]),Ve=Ke(e),Qt=Ve.getNorthWest().distanceTo(Ve.getSouthWest
28())*Ve.getNorthEast().distanceTo(Ve.getNorthWest());Qt<1700&&(Oe=ie(e));var Ht=e.length,Ni=[];for(d=0;d<Ht;d++){var li=oe(e[d]);Ni.push(s.project(oe([li.lat-Oe.lat,li.lng-Oe.lng])))}for(Q=ae=me=0,d=0,g=Ht-1;d<Ht;g=d++)T=Ni[d],D=Ni[g],B=T.y*D.x-D.y*T.x,ae+=(T.x+D.x)*B,me+=(T.y+D.y)*B,Q+=B*3;Q===0?Te=Ni[0]:Te=[ae/Q,me/Q];var ss=s.unproject(ve(Te));return oe([ss.lat+Oe.lat,ss.lng+Oe.lng])}function ie(e){for(var s=0,d=0,g=0,T=0;T<e.length;T++){var D=oe(e[T]);s+=D.lat,d+=D.lng,g++}return oe([s/g,d/g])}var we={__proto__:null,clipPolygon:le,polygonCenter:ue,centroid:ie};function De(e,s){if(!s||!e.length)return e.slice();var d=s*s;return e=Pi(e,d),e=At(e,d),e}function Ge(e,s,d){return Math.sqrt(Yi(e,s,d,!0))}function je(e,s,d){return Yi(e,s,d)}function At(e,s){var d=e.length,g=typeof Uint8Array!=void 0+""?Uint8Array:Array,T=new g(d);T[0]=T[d-1]=1,_t(e,T,s,0,d-1);var D,B=[];for(D=0;D<d;D++)T[D]&&B.push(e[D]);return B}function _t(e,s,d,g,T){var D=0,B,Q,ae;for(Q=g+1;Q<=T-1;Q++)ae=Yi(e[Q],e[g],e[T],!0),ae>D&&(B=Q,D=ae);D>d&&(s[B]=1,_t(e,s,d,g,B),_t(e,s,d,B,T))}function Pi(e,s){for(var d=[e[0]],g=1,T=0,D=e.length;g<D;g++)yt(e[g],e[T])>s&&(d.push(e[g]),T=g);return T<D-1&&d.push(e[D-1]),d}var vi;function Fe(e,s,d,g,T){var D=g?vi:$e(e,d),B=$e(s,d),Q,ae,me;for(vi=B;;){if(!(D|B))return[e,s];if(D&B)return!1;Q=D||B,ae=ki(e,s,Q,d,T),me=$e(ae,d),Q===D?(e=ae,D=me):(s=ae,B=me)}}function ki(e,s,d,g,T){var D=s.x-e.x,B=s.y-e.y,Q=g.min,ae=g.max,me,Te;return d&8?(me=e.x+D*(ae.y-e.y)/B,Te=ae.y):d&4?(me=e.x+D*(Q.y-e.y)/B,Te=Q.y):d&2?(me=ae.x,Te=e.y+B*(ae.x-e.x)/D):d&1&&(me=Q.x,Te=e.y+B*(Q.x-e.x)/D),new V(me,Te,T)}function $e(e,s){var d=0;return e.x<s.min.x?d|=1:e.x>s.max.x&&(d|=2),e.y<s.min.y?d|=4:e.y>s.max.y&&(d|=8),d}function yt(e,s){var d=s.x-e.x,g=s.y-e.y;return d*d+g*g}function Yi(e,s,d,g){var T=s.x,D=s.y,B=d.x-T,Q=d.y-D,ae=B*B+Q*Q,me;return ae>0&&(me=((e.x-T)*B+(e.y-D)*Q)/ae,me>1?(T=d.x,D=d.y):me>0&&(T+=B*me,D+=Q*me)),B=e.x-T,Q=e.y-D,g?B*B+Q*Q:new V(T,D)}function Vt(e){return!S(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function yi(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Vt(e)}function yn(e,s){var d,g,T,D,B,Q,ae,me;if(!e||e.length===0)throw new Error("latlngs not passed");Vt(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var Te=oe([0,0]),Oe=Ke(e),Ve=Oe.getNorthWest().distanceTo(Oe.getSouthWest
vendor: 4,240 bytes, line 28
28())*Oe.getNorthEast().distanceTo(Oe.getNorthWest());Ve<1700&&(Te=ie(e));var Qt=e.length,Ht=[];for(d=0;d<Qt;d++){var Ni=oe(e[d]);Ht.push(s.project(oe([Ni.lat-Te.lat,Ni.lng-Te.lng])))}for(d=0,g=0;d<Qt-1;d++)g+=Ht[d].distanceTo(Ht[d+1])/2;if(g===0)me=Ht[0];else for(d=0,D=0;d<Qt-1;d++)if(B=Ht[d],Q=Ht[d+1],T=B.distanceTo(Q),D+=T,D>g){ae=(D-g)/T,me=[Q.x-ae*(Q.x-B.x),Q.y-ae*(Q.y-B.y)];break}var li=s.unproject(ve(me));return oe([li.lat+Te.lat,li.lng+Te.lng])}var Ii={__proto__:null,simplify:De,pointToSegmentDistance:Ge,closestPointOnSegment:je,clipSegment:Fe,_getEdgeIntersection:ki,_getBitCode:$e,_sqClosestPointOnSegment:Yi,isFlat:Vt,_flat:yi,polylineCenter:yn},Ai={project:function(e){return new V(e.lng,e.lat)},unproject:function(e){return new de(e.y,e.x)},bounds:new ke([-180,-90],[180,90])},Di={R:6378137,R_MINOR:6356752314245179e-9,bounds:new ke([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var s=Math.PI/180,d=this.R,g=e.lat*s,T=this.R_MINOR/d,D=Math.sqrt(1-T*T),B=D*Math.sin(g),Q=Math.tan(Math.PI/4-g/2)/Math.pow((1-B)/(1+B),D/2);return g=-d*Math.log(Math.max(Q,1e-10)),new V(e.lng*s*d,g)},unproject:function(e){for(var s=180/Math.PI,d=this.R,g=this.R_MINOR/d,T=Math.sqrt(1-g*g),D=Math.exp(-e.y/d),B=Math.PI/2-2*Math.atan(D),Q=0,ae=.1,me;Q<15&&Math.abs(ae)>1e-7;Q++)me=T*Math.sin(B),me=Math.pow((1-me)/(1+me),T/2),ae=Math.PI/2-2*Math.atan(D*me)-B,B+=ae;return new de(B*s,e.x*s/d)}},ri={__proto__:null,LonLat:Ai,Mercator:Di,SphericalMercator:dt},_s=n({},Ie,{code:"EPSG:3395",projection:Di,transformation:function(){var e=.5/(Math.PI*Di.R);return at(e,.5,-e,.5)}()}),Oi=n({},Ie,{code:"EPSG:4326",projection:Ai,transformation:at(1/180,1,-1/180,.5)}),qi=n({},ge,{projection:Ai,transformation:at(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,s){var d=s.lng-e.lng,g=s.lat-e.lat;return Math.sqrt(d*d+g*g)},infinite:!0});ge.Earth=Ie,ge.EPSG3395=_s,ge.EPSG3857=bt,ge.EPSG900913=ht,ge.EPSG4326=Oi,ge.Simple=qi;var wi=X.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[p(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[p(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var s=e.target;if(s.hasLayer(this)){if(this._map=s,this._zoomAnimated=s._zoomAnimated,this.getEvents){var d=this.getEvents();s.on(d,this),this.once("remove",function(){s.off(d,this)},this)}this.onAdd(s),this.fire("add"),s.fire("layeradd",{layer:this})}}});Je.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var s=p(e);return this._layers[s]?this:(this._layers[s]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var s=p(e);return this._layers[s]?(this._loaded&&e.onRemove(this),delete this._layers[s],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return p(e)in this._layers},eachLayer:function(e,s){for(var d in this._layers)e.call(s,this._layers[d]);return this},_addLayers:function(e){e=e?S(e)?e:[e]:[];for(var s=0,d=e.length;s<d;s++)this.addLayer(e[s])},_addZoomLimit:function(e){(!isNaN(e.options.maxZoom)||!isNaN(e.options.minZoom))&&(this._zoomBoundLayers[p(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var s=p(e);this._zoomBoundLayers[s]&&(delete this._zoomBoundLayers[s],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,s=-1/0,d=this._getZoomSpan();for(var g in this._zoomBoundLayers){var T=this._zoomBoundLayers[g].options;e=T.minZoom===void 0?e:Math.min(e,T.minZoom),s=T.maxZoom===void 0?s:Math.max(s,T.maxZoom)}this._layersMaxZoom=s===-1/0?void 0:s,this._layersMinZoom=e===1/0?void 0:e,d!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZo
vendor: 13,722 bytes, line 28
28om&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var wn=wi.extend({initialize:function(e,s){x(this,s),this._layers={};var d,g;if(e)for(d=0,g=e.length;d<g;d++)this.addLayer(e[d])},addLayer:function(e){var s=this.getLayerId(e);return this._layers[s]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var s=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[s]&&this._map.removeLayer(this._layers[s]),delete this._layers[s],this},hasLayer:function(e){var s=typeof e=="number"?e:this.getLayerId(e);return s in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var s=Array.prototype.slice.call(arguments,1),d,g;for(d in this._layers)g=this._layers[d],g[e]&&g[e].apply(g,s);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,s){for(var d in this._layers)e.call(s,this._layers[d]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return p(e)}}),er=function(e,s){return new wn(e,s)},Ye=wn.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),wn.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),wn.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new et;for(var s in this._layers){var d=this._layers[s];e.extend(d.getBounds?d.getBounds():d.getLatLng())}return e}}),es=function(e,s){return new Ye(e,s)},Nt=re.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){x(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,s){var d=this._getIconUrl(e);if(!d){if(e==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var g=this._createImg(d,s&&s.tagName==="IMG"?s:null);return this._setIconStyles(g,e),(this.options.crossOrigin||this.options.crossOrigin==="")&&(g.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),g},_setIconStyles:function(e,s){var d=this.options,g=d[s+"Size"];typeof g=="number"&&(g=[g,g]);var T=ve(g),D=ve(s==="shadow"&&d.shadowAnchor||d.iconAnchor||T&&T.divideBy(2,!0));e.className="leaflet-marker-"+s+" "+(d.className||""),D&&(e.style.marginLeft=-D.x+"px",e.style.marginTop=-D.y+"px"),T&&(e.style.width=T.x+"px",e.style.height=T.y+"px")},_createImg:function(e,s){return s=s||document.createElement("img"),s.src=e,s},_getIconUrl:function(e){return Le.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}});function _n(e){return new Nt(e)}var Bn=Nt.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return typeof Bn.imagePath!="string"&&(Bn.imagePath=this._detectIconPath()),(this.options.imagePath||Bn.imagePath)+Nt.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var s=function(d,g,T){var D=g.exec(d);return D&&D[T]};return e=s(e,/^url\((['"])?(.+)\1\)$/,2),e&&s(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=We("div","leaflet-default-icon-path",document.body),s=Li(e,"background-image")||Li(e,"backgroundImage");if(document.body.removeChild(e),s=this._stripUrl(s),s)return s;var d=document.querySelector('link[href$="leaflet.css"]');return d?d.href.substring(0,d.href.length-11-1):""}}),Hs=A.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new Y(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),Ne(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&&ot(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var s=this._marker,d=s._map,g=this._marker.options.autoPanSpeed,T=this._marker.options.autoPanPadding,D=xt(s._icon),B=d.getPixelBounds(),Q=d.getPixelOrigin(),ae=Pe(B.min._subtract(Q).add(T),B.max._subtract(Q).subtract(T));if(!ae.contains(D)){var me=ve((Math.max(ae.max.x,D.x)-ae.max.x)/(B.max.x-ae.max.x)-(Math.min(ae.min.x,D.x)-ae.min.x)/(B.min.x-ae.min.x),(Math.max(ae.max.y,D.y)-ae.max.y)/(B.max.y-ae.max.y)-(Math.min(ae.min.y,D.y)-ae.min.y)/(B.min.y-ae.min.y)).multiplyBy(g);d.panBy(me,{animate:!1}),this._draggable._newPos._add(me),this._draggable._startPos._add(me),Qe(s._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=te(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&&(ee(this._panRequest),this._panRequest=te(this._adjustPan.bind(this,e)))},_onDrag:function(e){var s=this._marker,d=s._shadow,g=xt(s._icon),T=s._map.layerPointToLatLng(g);d&&Qe(d,g),s._latlng=T,e.latlng=T,e.oldLatLng=this._oldLatLng,s.fire("move",e).fire("drag",e)},_onDragEnd:function(e){ee(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),Rn=wi.extend({options:{icon:new Bn,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,s){x(this,s),this._latlng=oe(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 s=this._latlng;return this._latlng=oe(e),this.update(),this.fire("move",{oldLatLng:s,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,s="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),d=e.icon.createIcon(this._icon),g=!1;d!==this._icon&&(this._icon&&this._removeIcon(),g=!0,e.title&&(d.title=e.title),d.tagName==="IMG"&&(d.alt=e.alt||"")),Ne(d,s),e.keyboard&&(d.tabIndex="0",d.setAttribute("role","button")),this._icon=d,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&He(d,"focus",this._panOnFocus,this);var T=e.icon.createShadow(this._shadow),D=!1;T!==this._shadow&&(this._removeShadow(),D=!0),T&&(Ne(T,s),T.alt=""),this._shadow=T,e.opacity<1&&this._updateOpacity(),g&&this.getPane().appendChild(this._icon),this._initInteraction(),T&&D&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&rt(this._icon,"focus",this._panOnFocus,this),it(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&it(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&Qe(this._icon,e),this._shadow&&Qe(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var s=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(s)},_initInteraction:function(){if(this.options.interactive&&(Ne(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Hs)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Hs(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&&ye(this._icon,e),this._shadow&&ye(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var s=this.options.icon.options,d=s.iconSize?ve(s.iconSize):ve(0,0),g=s.iconAnchor?ve(s.iconAnchor):ve(0,0);e.panInside(this._latlng,{paddingTopLeft:g,paddingBottomRight:d.subtract(g)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function ln(e,s){return new Rn(e,s)}var zi=wi.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 x(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)}}),_i=zi.extend({options:{fill:!0,radius:10},initialize:function(e,s){x(this,s),this._latlng=oe(e),this._radius=this.options.radius},setLatLng:function(e){var s=this._latlng;return this._latlng=oe(e),this.redraw(),this.fire("move",{oldLatLng:s,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 s=e&&e.radius||this._radius;return zi.prototype.setStyle.call(this,e),this.setRadius(s),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,s=this._radiusY||e,d=this._clickTolerance(),g=[e+d,s+d];this._pxBounds=new ke(this._point.subtract(g),this._point.add(g))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function js(e,s){return new _i(e,s)}var dn=_i.extend({initialize:function(e,s,d){if(typeof s=="number"&&(s=n({},d,{radius:s})),x(this,s),this._latlng=oe(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 et(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:zi.prototype.setStyle,_project:function(){var e=this._latlng.lng,s=this._latlng.lat,d=this._map,g=d.options.crs;if(g.distance===Ie.distance){var T=Math.PI/180,D=this._mRadius/Ie.R/T,B=d.project([s+D,e]),Q=d.project([s-D,e]),ae=B.add(Q).divideBy(2),me=d.unproject(ae).lat,Te=Math.acos((Math.cos(D*T)-Math.sin(s*T)*Math.sin(me*T))/(Math.cos(s*T)*Math.cos(me*T)))/T;(isNaN(Te)||Te===0)&&(Te=D/Math.cos(Math.PI/180*s)),this._point=ae.subtract(d.getPixelOrigin()),this._radius=isNaN(Te)?0:ae.x-d.project([me,e-Te]).x,this._radiusY=ae.y-B.y}else{var Oe=g.unproject(g.project(this._latlng).subtract([this._mRadius,0]));this._point=d.latLngToLayerPoint(this._latlng),this._radius=this._point.x-d.latLngToLayerPoint(Oe).x}this._updateBounds()}});function ts(e,s,d){return new dn(e,s,d)}var ai=zi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,s){x(this,s),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length}
28,closestLayerPoint:function(e){for(var s=1/0,d=null,g=Yi,T,D,B=0,Q=this._parts.length;B<Q;B++)for(var ae=this._parts[B],me=1,Te=ae.length;me<Te;me++){T=ae[me-1],D=ae[me];var Oe=g(e,T,D,!0);Oe<s&&(s=Oe,d=g(e,T,D))}return d&&(d.distance=Math.sqrt(s)),d},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return yn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,s){return s=s||this._defaultShape(),e=oe(e),s.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new et,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return Vt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var s=[],d=Vt(e),g=0,T=e.length;g<T;g++)d?(s[g]=oe(e[g]),this._bounds.extend(s[g])):s[g]=this._convertLatLngs(e[g]);return s},_project:function(){var e=new ke;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),s=new V(e,e);this._rawPxBounds&&(this._pxBounds=new ke([this._rawPxBounds.min.subtract(s),this._rawPxBounds.max.add(s)]))},_projectLatlngs:function(e,s,d){var g=e[0]instanceof de,T=e.length,D,B;if(g){for(B=[],D=0;D<T;D++)B[D]=this._map.latLngToLayerPoint(e[D]),d.extend(B[D]);s.push(B)}else for(D=0;D<T;D++)this._projectLatlngs(e[D],s,d)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}var s=this._parts,d,g,T,D,B,Q,ae;for(d=0,T=0,D=this._rings.length;d<D;d++)for(ae=this._rings[d],g=0,B=ae.length;g<B-1;g++)Q=Fe(ae[g],ae[g+1],e,g,!0),Q&&(s[T]=s[T]||[],s[T].push(Q[0]),(Q[1]!==ae[g+1]||g===B-2)&&(s[T].push(Q[1]),T++))}},_simplifyPoints:function(){for(var e=this._parts,s=this.options.smoothFactor,d=0,g=e.length;d<g;d++)e[d]=De(e[d],s)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,s){var d,g,T,D,B,Q,ae=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(d=0,D=this._parts.length;d<D;d++)for(Q=this._parts[d],g=0,B=Q.length,T=B-1;g<B;T=g++)if(!(!s&&g===0)&&Ge(e,Q[T],Q[g])<=ae)return!0;return!1}});function bs(e,s){return new ai(e,s)}ai._flat=yi;var bn=ai.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
vendor: 6,988 bytes, line 28
28,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return ue(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var s=ai.prototype._convertLatLngs.call(this,e),d=s.length;return d>=2&&s[0]instanceof de&&s[0].equals(s[d-1])&&s.pop(),s},_setLatLngs:function(e){ai.prototype._setLatLngs.call(this,e),Vt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Vt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,s=this.options.weight,d=new V(s,s);if(e=new ke(e.min.subtract(d),e.max.add(d)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var g=0,T=this._rings.length,D;g<T;g++)D=le(this._rings[g],e,!0),D.length&&this._parts.push(D)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var s=!1,d,g,T,D,B,Q,ae,me;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(D=0,ae=this._parts.length;D<ae;D++)for(d=this._parts[D],B=0,me=d.length,Q=me-1;B<me;Q=B++)g=d[B],T=d[Q],g.y>e.y!=T.y>e.y&&e.x<(T.x-g.x)*(e.y-g.y)/(T.y-g.y)+g.x&&(s=!s);return s||ai.prototype._containsPoint.call(this,e,!0)}});function is(e,s){return new bn(e,s)}var bi=Ye.extend({initialize:function(e,s){x(this,s),this._layers={},e&&this.addData(e)},addData:function(e){var s=S(e)?e:e.features,d,g,T;if(s){for(d=0,g=s.length;d<g;d++)T=s[d],(T.geometries||T.geometry||T.features||T.coordinates)&&this.addData(T);return this}var D=this.options;if(D.filter&&!D.filter(e))return this;var B=Sn(e,D);return B?(B.feature=se(e),B.defaultOptions=B.options,this.resetStyle(B),D.onEachFeature&&D.onEachFeature(e,B),this.addLayer(B)):this},resetStyle:function(e){return e===void 0?this.eachLayer(this.resetStyle,this):(e.options=n({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(s){this._setLayerStyle(s,e)},this)},_setLayerStyle:function(e,s){e.setStyle&&(typeof s=="function"&&(s=s(e.feature)),e.setStyle(s))}});function Sn(e,s){var d=e.type==="Feature"?e.geometry:e,g=d?d.coordinates:null,T=[],D=s&&s.pointToLayer,B=s&&s.coordsToLatLng||Zn,Q,ae,me,Te;if(!g&&!d)return null;switch(d.type){case"Point":return Q=B(g),$s(D,e,Q,s);case"MultiPoint":for(me=0,Te=g.length;me<Te;me++)Q=B(g[me]),T.push($s(D,e,Q,s));return new Ye(T);case"LineString":case"MultiLineString":return ae=Wn(g,d.type==="LineString"?0:1,B),new ai(ae,s);case"Polygon":case"MultiPolygon":return ae=Wn(g,d.type==="Polygon"?1:2,B),new bn(ae,s);case"GeometryCollection":for(me=0,Te=d.geometries.length;me<Te;me++){var Oe=Sn({geometry:d.geometries[me],type:"Feature",properties:e.properties},s);Oe&&T.push(Oe)}return new Ye(T);case"FeatureCollection":for(me=0,Te=d.features.length;me<Te;me++){var Ve=Sn(d.features[me],s);Ve&&T.push(Ve)}return new Ye(T);default:throw new Error("Invalid GeoJSON object.")}}function $s(e,s,d,g){return e?e(s,d):new Rn(d,g&&g.markersInheritOptions&&g)}function Zn(e){return new de(e[1],e[0],e[2])}function Wn(e,s,d){for(var g=[],T=0,D=e.length,B;T<D;T++)B=s?Wn(e[T],s-1,d):(d||Zn)(e[T]),g.push(B);return g}function N(e,s){return e=oe(e),e.alt!==void 0?[I(e.lng,s),I(e.lat,s),I(e.alt,s)]:[I(e.lng,s),I(e.lat,s)]}function W(e,s,d,g){for(var T=[],D=0,B=e.length;D<B;D++)T.push(s?W(e[D],Vt(e[D])?0:s-1,d,g):N(e[D],g));return!s&&d&&T.length>0&&T.push(T[0].slice()),T}function K(e,s){return e.feature?n({},e.feature,{geometry:s}):se(s)}function se(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var ce={toGeoJSON:function(e){return K(this,{type:"Point",coordinates:N(this.getLatLng(),e)})}};Rn.include(ce),dn.include(ce),_i.include(ce),ai.include({toGeoJSON:function(e){var s=!Vt(this._latlngs),d=W(this._latlngs,s?1:0,!1,e);return K(this,{type:(s?"Multi":"")+"LineString",coordinates:d})}}),bn.include({toGeoJSON:function(e){var s=!Vt(this._latlngs),d=s&&!Vt(this._latlngs[0]),g=W(this._latlngs,d?2:s?1:0,!0,e);return s||(g=[g]),K(this,{type:(d?"Multi":"")+"Polygon",coordinates:g})}}),wn.include({toMultiPoint:function(e){var s=[];return this.eachLayer(function(d){s.push(d.toGeoJSON(e).geometry.coordinates)}),K(this,{type:"MultiPoint",coordinates:s})},toGeoJSON:function(e){var s=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(s==="MultiPoint")return this.toMultiPoint(e);var d=s==="GeometryCollection",g=[];return this.eachLayer(function(T){if(T.toGeoJSON){var D=T.toGeoJSON(e);if(d)g.push(D.geometry);else{var B=se(D);B.type==="FeatureCollection"?g.push.apply(g,B.features):g.push(B)}}}),d?K(this,{geometries:g,type:"GeometryCollection"}):{type:"FeatureCollection",features:g}}});function _e(e,s){return new bi(e,s)}var Se=_e,Me=wi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,s,d){this._url=e,this._bounds=Ke(s),x(this,d)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Ne(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){it(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&&zt(this._image),this},bringToBack:function(){return this._map&&Zt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=Ke(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",s=this._image=e?this._url:We("img");if(Ne(s,"leaflet-image-layer"),this._zoomAnimated&&Ne(s,"leaflet-zoom-animated"),this.options.className&&Ne(s,this.options.className),s.onselectstart=k,s.onmousemove=k,s.onload=u(this.fire,this,"load"),s.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(s.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=s.src;return}s.src=this._url,s.alt=this.options.alt},_animateZoom:function(e){var s=this._map.getZoomScale(e.zoom),d=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;st(this._image,d,s)},_reset:function(){var e=this._image,s=new ke(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),d=s.get
vendor: 6,280 bytes, line 28
28Size();Qe(e,s.min),e.style.width=d.x+"px",e.style.height=d.y+"px"},_updateOpacity:function(){ye(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),xe=function(e,s,d){return new Me(e,s,d)},Ze=Me.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",s=this._image=e?this._url:We("video");if(Ne(s,"leaflet-image-layer"),this._zoomAnimated&&Ne(s,"leaflet-zoom-animated"),this.options.className&&Ne(s,this.options.className),s.onselectstart=k,s.onmousemove=k,s.onloadeddata=u(this.fire,this,"load"),e){for(var d=s.getElementsByTagName("source"),g=[],T=0;T<d.length;T++)g.push(d[T].src);this._url=d.length>0?g:[s.src];return}S(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(s.style,"objectFit")&&(s.style.objectFit="fill"),s.autoplay=!!this.options.autoplay,s.loop=!!this.options.loop,s.muted=!!this.options.muted,s.playsInline=!!this.options.playsInline;for(var D=0;D<this._url.length;D++){var B=We("source");B.src=this._url[D],s.appendChild(B)}}});function Ae(e,s,d){return new Ze(e,s,d)}var ze=Me.extend({_initImage:function(){var e=this._image=this._url;Ne(e,"leaflet-image-layer"),this._zoomAnimated&&Ne(e,"leaflet-zoom-animated"),this.options.className&&Ne(e,this.options.className),e.onselectstart=k,e.onmousemove=k}});function qe(e,s,d){return new ze(e,s,d)}var Ee=wi.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(e,s){e&&(e instanceof de||S(e))?(this._latlng=oe(e),x(this,s)):(x(this,e),this._source=s),this.options.content&&(this._content=this.options.content)},openOn:function(e){return e=arguments.length?e:this._source._map,e.hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&ye(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&ye(this._container,1),this.bringToFront(),this.options.interactive&&(Ne(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(ye(this._container,0),this._removeTimeout=setTimeout(u(it,void 0,this._container),200)):it(this._container),this.options.interactive&&(ot(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=oe(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&&zt(this._container),this},bringToBack:function(){return this._map&&Zt(this._container),this},_prepareOpen:function(e){var s=this._source;if(!s._map)return!1;if(s instanceof Ye){s=null;var d=this._source._layers;for(var g in d)if(d[g]._map){s=d[g];break}if(!s)return!1;this._source=s}if(!e)if(s.getCenter)e=s.getCenter();else if(s.getLatLng)e=s.getLatLng();else if(s.getBounds)e=s.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,s=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof s=="string")e.innerHTML=s;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(s)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),s=ve(this.options.offset),d=this._getAnchor();this._zoomAnimated?Qe(this._container,e.add(d)):s=s.add(e).add(d);var g=this._containerBottom=-s.y,T=this._containerLeft=-Math.round(this._containerWidth/2)+s.x;this._container.style.bottom=g+"px",this._container.style.left=T+"px"}},_getAnchor:function(){return[0,0]}});Je.include({_initOverlay:function(e,s,d,g){var T=s;return T instanceof e||(T=new e(g).setContent(s)),d&&T.setLatLng(d),T}}),wi.include({_initOverlay:function(e,s,d,g){var T=d;return T instanceof e?(x(T,g),T._source=this):(T=s&&!g?s:new e(g,this),T.setContent(d)),T}});var nt=Ee.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e=arguments.length?e:this._source._map,!e.hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,Ee.prototype.openOn.call(this,e)},onAdd:function(e){Ee.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof zi||this._source.on("preclick",an))},onRemove:function(e){Ee.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof zi||this._source.off("preclick",an))},getEvents:function(){var e=Ee.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this.close),this.options.keepInView&&
vendor: 5,078 bytes, line 28
28(e.moveend=this._adjustPan),e},_initLayout:function(){var e="leaflet-popup",s=this._container=We("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),d=this._wrapper=We("div",e+"-content-wrapper",s);if(this._contentNode=We("div",e+"-content",d),Hn(s),gs(this._contentNode),He(s,"contextmenu",an),this._tipContainer=We("div",e+"-tip-container",s),this._tip=We("div",e+"-tip",this._tipContainer),this.options.closeButton){var g=this._closeButton=We("a",e+"-close-button",s);g.setAttribute("role","button"),g.setAttribute("aria-label","Close popup"),g.href="#close",g.innerHTML='<span aria-hidden="true">×</span>',He(g,"click",function(T){Pt(T),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,s=e.style;s.width="",s.whiteSpace="nowrap";var d=e.offsetWidth;d=Math.min(d,this.options.maxWidth),d=Math.max(d,this.options.minWidth),s.width=d+1+"px",s.whiteSpace="",s.height="";var g=e.offsetHeight,T=this.options.maxHeight,D="leaflet-popup-scrolled";T&&g>T?(s.height=T+"px",Ne(e,D)):ot(e,D),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var s=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),d=this._getAnchor();Qe(this._container,s.add(d))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,s=parseInt(Li(this._container,"marginBottom"),10)||0,d=this._container.offsetHeight+s,g=this._containerWidth,T=new V(this._containerLeft,-d-this._containerBottom);T._add(xt(this._container));var D=e.layerPointToContainerPoint(T),B=ve(this.options.autoPanPadding),Q=ve(this.options.autoPanPaddingTopLeft||B),ae=ve(this.options.autoPanPaddingBottomRight||B),me=e.getSize(),Te=0,Oe=0;D.x+g+ae.x>me.x&&(Te=D.x+g-me.x+ae.x),D.x-Te-Q.x<0&&(Te=D.x-Q.x),D.y+d+ae.y>me.y&&(Oe=D.y+d-me.y+ae.y),D.y-Oe-Q.y<0&&(Oe=D.y-Q.y),(Te||Oe)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([Te,Oe]))}},_getAnchor:function(){return ve(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Gt=function(e,s){return new nt(e,s)};Je.mergeOptions({closePopupOnClick:!0}),Je.include({openPopup:function(e,s,d){return this._initOverlay(nt,e,s,d).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),wi.include({bindPopup:function(e,s){return this._popup=this._initOverlay(nt,this._popup,e,s),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 Ye||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){Fi(e);var s=e.layer||e.target;if(this._popup._source===s&&!(s instanceof zi)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=s,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Tt=Ee.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Ee.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){Ee.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=Ee.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",s=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=We("div",s),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+p(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var s,d,g=this._map,T=this._container,D=g.latLngToContainerPoint(g.getCenter()),B=g.layerPointToContainerPoint(e),Q=this.options.direction,ae=T.offsetWidth,me=T.offsetHeight,Te=ve(this.options.offset),Oe=this._getAnchor();Q==="top"?(s=ae/2,d=me):Q==="bottom"?(s=ae/2,d=0):Q==="center"?(s=ae/2,d=me/2):Q==="right"?(s=0,d=me/2):Q==="left"?
vendor: 8,812 bytes, line 28
28(s=ae,d=me/2):B.x<D.x?(Q="right",s=0,d=me/2):(Q="left",s=ae+(Te.x+Oe.x)*2,d=me/2),e=e.subtract(ve(s,d,!0)).add(Te).add(Oe),ot(T,"leaflet-tooltip-right"),ot(T,"leaflet-tooltip-left"),ot(T,"leaflet-tooltip-top"),ot(T,"leaflet-tooltip-bottom"),Ne(T,"leaflet-tooltip-"+Q),Qe(T,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&ye(this._container,e)},_animateZoom:function(e){var s=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(s)},_getAnchor:function(){return ve(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),oi=function(e,s){return new Tt(e,s)};Je.include({openTooltip:function(e,s,d){return this._initOverlay(Tt,e,s,d).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),wi.include({bindTooltip:function(e,s){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Tt,this._tooltip,e,s),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(!(!e&&this._tooltipHandlersAdded)){var s=e?"off":"on",d={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?d.add=this._openTooltip:(d.mouseover=this._openTooltip,d.mouseout=this.closeTooltip,d.click=this._openTooltip,this._map?this._addFocusListeners():d.add=this._addFocusListeners),this._tooltip.options.sticky&&(d.mousemove=this._moveTooltip),this[s](d),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof Ye||(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 s=typeof e.getElement=="function"&&e.getElement();s&&(He(s,"focus",function(){this._tooltip._source=e,this.openTooltip()},this),He(s,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var s=typeof e.getElement=="function"&&e.getElement();s&&s.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(e){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var s=this;this._map.once("moveend",function(){s._openOnceFlag=!1,s._openTooltip(e)});return}this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)}},_moveTooltip:function(e){var s=e.latlng,d,g;this._tooltip.options.sticky&&e.originalEvent&&(d=this._map.mouseEventToContainerPoint(e.originalEvent),g=this._map.containerPointToLayerPoint(d),s=this._map.layerPointToLatLng(g)),this._tooltip.setLatLng(s)}});var Si=Nt.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var s=e&&e.tagName==="DIV"?e:document.createElement("div"),d=this.options;if(d.html instanceof Element?(vt(s),s.appendChild(d.html)):s.innerHTML=d.html!==!1?d.html:"",d.bgPos){var g=ve(d.bgPos);s.style.backgroundPosition=-g.x+"px "+-g.y+"px"}return this._setIconStyles(s,"icon"),s},createShadow:function(){return null}});function xn(e){return new Si(e)}Nt.Default=Bn;var Ct=wi.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Le.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){x(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),it(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(zt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(Zt(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=y(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 V?e:new V(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var s=this.getPane().children,d=-e(-1/0,1/0),g=0,T=s.length,D;g<T;g++)D=s[g].style.zIndex,s[g]!==this._container&&D&&(d=e(d,+D));isFinite(d)&&(this.options.zIndex=d+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Le.ielt9){ye(this._container,this.options.opacity);var e=+new Date,s=!1,d=!1;for(var g in this._tiles){var T=this._tiles[g];if(!(!T.current||!T.loaded)){var D=Math.min(1,(e-T.loaded)/200);ye(T.el,D),D<1?s=!0:(T.active?d=!0:this._onOpaqueTile(T),T.active=!0)}}d&&!this._noPrune&&this._pruneTiles(),s&&(ee(this._fadeFrame),this._fadeFrame=te(this._updateOpacity,this))}},_onOpaqueTile:k,_initContainer:function(){this._container||(this._container=We("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,s=this.options.maxZoom;if(e!==void 0){for(var d in this._levels)d=Number(d),this._levels[d].el.children.length||d===e?(this._levels[d].el.style.zIndex=s-Math.abs(e-d),this._onUpdateLevel(d)):(it(this._levels[d].el),this._removeTilesAtZoom(d),this._onRemoveLevel(d),delete this._levels[d]);var g=this._levels[e],T=this._map;return g||(g=this._levels[e]={},g.el=We("div","leaflet-tile-container leaflet-zoom-animated",this._container),g.el.style.zIndex=s,g.origin=T.project(T.unproject(T.getPixelOrigin()),e).round(),g.zoom=e,this._setZoomTransform(g,T.getCenter(),T.getZoom()),k(g.el.offsetWidth),this._onCreateLevel(g)),this._level=g,g}},_onUpdateLevel:k,_onRemoveLevel:k,_onCreateLevel:k,_pruneTiles:function(){if(this._map){var e,s,d=this._map.getZoom();if(d>this.options.maxZoom||d<this.options.minZoom){this._removeAllTiles();return}for(e in this._tiles)s=this._tiles[e],s.retain=s.current;for(e in this._tiles)if(s=this._tiles[e],s.current&&!s.active){var g=s.coords;this._retainParent(g.x,g.y,g.z,g.z-5)||this._retainChildren(g.x,g.y,g.z,g.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}},_removeTilesAtZoom:function(e){for(var s in this._tiles)this._tiles[s].coords.z===e&&this._removeTile(s)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)it(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,s,d,g){var T=Math.floor(e/2),D=Math.floor(s/2),B=d-1,Q=new V(+T,+D);Q.z=+B;var ae=this._tileCoordsToKey(Q),me=this._tiles[ae];return me&&me.active?(me.retain=!0,!0):(me&&me.loaded&&(me.retain=!0),B>g?this._retainParent(T,D,B,g):!1)},_retainChildren:function(e,s,d,g){for(var T=2*e;T<2*e+2;T++)for(var D=2*s;D<2*s+2;D++){var B=new V(T,D);B.z=d+1;var Q=this._tileCoordsToKey(B),ae=this._tiles[Q];if(ae&&ae.active){ae.retain=!0;continue}else ae&&ae.loaded&&(ae.retain=!0);d+1<g&&this._retainChildren(T,D,d+1,g)}},_resetView:function(e){var s=e&&(e.pinch||e.flyTo);
vendor: 5,889 bytes, line 28
28this._setView(this._map.getCenter(),this._map.getZoom(),s,s)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var s=this.options;return s.minNativeZoom!==void 0&&e<s.minNativeZoom?s.minNativeZoom:s.maxNativeZoom!==void 0&&s.maxNativeZoom<e?s.maxNativeZoom:e},_setView:function(e,s,d,g){var T=Math.round(s);this.options.maxZoom!==void 0&&T>this.options.maxZoom||this.options.minZoom!==void 0&&T<this.options.minZoom?T=void 0:T=this._clampZoom(T);var D=this.options.updateWhenZooming&&T!==this._tileZoom;(!g||D)&&(this._tileZoom=T,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),T!==void 0&&this._update(e),d||this._pruneTiles(),this._noPrune=!!d),this._setZoomTransforms(e,s)},_setZoomTransforms:function(e,s){for(var d in this._levels)this._setZoomTransform(this._levels[d],e,s)},_setZoomTransform:function(e,s,d){var g=this._map.getZoomScale(d,e.zoom),T=e.origin.multiplyBy(g).subtract(this._map._getNewPixelOrigin(s,d)).round();Le.any3d?st(e.el,T,g):Qe(e.el,T)},_resetGrid:function(){var e=this._map,s=e.options.crs,d=this._tileSize=this.getTileSize(),g=this._tileZoom,T=this._map.getPixelWorldBounds(this._tileZoom);T&&(this._globalTileRange=this._pxBoundsToTileRange(T)),this._wrapX=s.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,s.wrapLng[0]],g).x/d.x),Math.ceil(e.project([0,s.wrapLng[1]],g).x/d.y)],this._wrapY=s.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([s.wrapLat[0],0],g).y/d.x),Math.ceil(e.project([s.wrapLat[1],0],g).y/d.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(e){var s=this._map,d=s._animatingZoom?Math.max(s._animateToZoom,s.getZoom()):s.getZoom(),g=s.getZoomScale(d,this._tileZoom),T=s.project(e,this._tileZoom).floor(),D=s.getSize().divideBy(g*2);return new ke(T.subtract(D),T.add(D))},_update:function(e){var s=this._map;if(s){var d=this._clampZoom(s.getZoom());if(e===void 0&&(e=s.getCenter()),this._tileZoom!==void 0){var g=this._getTiledPixelBounds(e),T=this._pxBoundsToTileRange(g),D=T.getCenter(),B=[],Q=this.options.keepBuffer,ae=new ke(T.getBottomLeft().subtract([Q,-Q]),T.getTopRight().add([Q,-Q]));if(!(isFinite(T.min.x)&&isFinite(T.min.y)&&isFinite(T.max.x)&&isFinite(T.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var me in this._tiles){var Te=this._tiles[me].coords;(Te.z!==this._tileZoom||!ae.contains(new V(Te.x,Te.y)))&&(this._tiles[me].current=!1)}if(Math.abs(d-this._tileZoom)>1){this._setView(e,d);return}for(var Oe=T.min.y;Oe<=T.max.y;Oe++)for(var Ve=T.min.x;Ve<=T.max.x;Ve++){var Qt=new V(Ve,Oe);if(Qt.z=this._tileZoom,!!this._isValidTile(Qt)){var Ht=this._tiles[this._tileCoordsToKey(Qt)];Ht?Ht.current=!0:B.push(Qt)}}if(B.sort(function(li,ss){return li.distanceTo(D)-ss.distanceTo(D)}),B.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Ni=document.createDocumentFragment();for(Ve=0;Ve<B.length;Ve++)this._addTile(B[Ve],Ni);this._level.el.appendChild(Ni)}}}},_isValidTile:function(e){var s=this._map.options.crs;if(!s.infinite){var d=this._globalTileRange;if(!s.wrapLng&&(e.x<d.min.x||e.x>d.max.x)||!s.wrapLat&&(e.y<d.min.y||e.y>d.max.y))return!1}if(!this.options.bounds)return!0;var g=this._tileCoordsToBounds(e);return Ke(this.options.bounds).overlaps(g)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var s=this._map,d=this.getTileSize(),g=e.scaleBy(d),T=g.add(d),D=s.unproject(g,e.z),B=s.unproject(T,e.z);return[D,B]},_tileCoordsToBounds:function(e){var s=this._tileCoordsToNwSe(e),d=new et(s[0],s[1]);return this.options.noWrap||(d=this._map.wrapLatLngBounds(d)),d},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var s=e.split(":"),d=new V(+s[0],+s[1]);return d.z=+s[2],d},_removeTile:function(e){var s=this._tiles[e];s&&(it(s.el),delete this._tiles[e],this.fire("tileunload",{tile:s.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){Ne(e,"leaflet-tile");var s=this.getTileSize();e.style.width=s.x+"px",e.style.height=s.y+"px",e.onselectstart=k,e.onmousemove=k,Le.ielt9&&this.options.opacity<1&&ye(e,this.options.opacity)},_addTile:function(e,s){var d=this._getTilePos(e),g=this._tileCoordsToKey(e),T=this.createTile(this._wrapCoords(e),u(this._tileReady,this,e));this._initTile(T),this.createTile.length<2&&te(u(this._tileReady,this,e,null,T)),Qe(T,d),this._tiles[g]={el:T,coords:e,current:!0},s.appendChild(T),this.fire("tileloadstart",{tile:T,coords:e})},_tileReady:function(e,s,d){s&&this.fire("tileerror",{error:s,tile:d,coords:e});var g=this._tileCoordsToKey(e);d=this._tiles[g],d&&(d.loaded=+new Date,this._map._fadeAnimated?(ye(d.el,0),ee(this._fadeFrame),this._fadeFrame=te(this._updateOpacity,this)):(d.active=!0,this._pruneTiles()),s||(Ne(d.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:d.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Le.ielt9||!this._map._fadeAnimated?te(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var s=new V(this._wrapX?b(e.x,this._wrapX):e.x,this._wrapY?b(e.y,this._wrapY):e.y);return s.z=e.z,s},_pxBoundsToTileRange:function(e){var s=this.getTileSize();return new ke(e.min.unscaleBy(s).floor(),e.max.unscaleBy(s).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Oa(e){return new Ct(e)}var ns=Ct.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,s){this._url=e,s=x(this,s),s.detectRetina&&Le.retina&&s.maxZoom>0?(s.tileSize=Math.floor(s.tileSize/2),s.zoomReverse?(s.zoomOffset--,s.minZ
vendor: 4,699 bytes, line 28
28oom=Math.min(s.maxZoom,s.minZoom+1)):(s.zoomOffset++,s.maxZoom=Math.max(s.minZoom,s.maxZoom-1)),s.minZoom=Math.max(0,s.minZoom)):s.zoomReverse?s.minZoom=Math.min(s.maxZoom,s.minZoom):s.maxZoom=Math.max(s.minZoom,s.maxZoom),typeof s.subdomains=="string"&&(s.subdomains=s.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,s){return this._url===e&&s===void 0&&(s=!0),this._url=e,s||this.redraw(),this},createTile:function(e,s){var d=document.createElement("img");return He(d,"load",u(this._tileOnLoad,this,s,d)),He(d,"error",u(this._tileOnError,this,s,d)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(d.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(d.referrerPolicy=this.options.referrerPolicy),d.alt="",d.src=this.getTileUrl(e),d},getTileUrl:function(e){var s={r:Le.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var d=this._globalTileRange.max.y-e.y;this.options.tms&&(s.y=d),s["-y"]=d}return M(this._url,n(s,this.options))},_tileOnLoad:function(e,s){Le.ielt9?setTimeout(u(e,this,null,s),0):e(null,s)},_tileOnError:function(e,s,d){var g=this.options.errorTileUrl;g&&s.getAttribute("src")!==g&&(s.src=g),e(d,s)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,s=this.options.maxZoom,d=this.options.zoomReverse,g=this.options.zoomOffset;return d&&(e=s-e),e+g},_getSubdomain:function(e){var s=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[s]},_abortLoading:function(){var e,s;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(s=this._tiles[e].el,s.onload=k,s.onerror=k,!s.complete)){s.src=j;var d=this._tiles[e].coords;it(s),delete this._tiles[e],this.fire("tileabort",{tile:s,coords:d})}},_removeTile:function(e){var s=this._tiles[e];if(s)return s.el.setAttribute("src",j),Ct.prototype._removeTile.call(this,e)},_tileReady:function(e,s,d){if(!(!this._map||d&&d.getAttribute("src")===j))return Ct.prototype._tileReady.call(this,e,s,d)}});function Lr(e,s){return new ns(e,s)}var Er=ns.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,s){this._url=e;var d=n({},this.defaultWmsParams);for(var g in s)g in this.options||(d[g]=s[g]);s=x(this,s);var T=s.detectRetina&&Le.retina?2:1,D=this.getTileSize();d.width=D.x*T,d.height=D.y*T,this.wmsParams=d},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var s=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[s]=this._crs.code,ns.prototype.onAdd.call(this,e)},getTileUrl:function(e){var s=this._tileCoordsToNwSe(e),d=this._crs,g=Pe(d.project(s[0]),d.project(s[1])),T=g.min,D=g.max,B=(this._wmsVersion>=1.3&&this._crs===Oi?[T.y,T.x,D.y,D.x]:[T.x,T.y,D.x,D.y]).join(","),Q=ns.prototype.getTileUrl.call(this,e);return Q+h(this.wmsParams,Q,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+B},setParams:function(e,s){return n(this.wmsParams,e),s||this.redraw(),this}});function za(e,s){return new Er(e,s)}ns.WMS=Er,Lr.wms=za;var cn=wi.extend({options:{padding:.1},initialize:function(e){x(this,e),p(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Ne(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,s){var d=this._map.getZoomScale(s,this._zoom),g=this._map.getSize().multiplyBy(.5+this.options.padding),T=this._map.project(this._center,s),D=g.multiplyBy(-d).add(T).subtract(this._map._getNewPixelOrigin(e,s));Le.any3d?st(this._container,D,d):Qe(this._container,D)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,s=this._map.getSize(),d=this._map.containerPointToLayerPoint(s.multiplyBy(-e)).round();
vendor: 4,131 bytes, line 28
28this._bounds=new ke(d,d.add(s.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Pr=cn.extend({options:{tolerance:0},getEvents:function(){var e=cn.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){cn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");He(e,"mousemove",this._onMouseMove,this),He(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),He(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){ee(this._redrawRequest),delete this._ctx,it(this._container),rt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var s in this._layers)e=this._layers[s],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){cn.prototype._update.call(this);var e=this._bounds,s=this._container,d=e.getSize(),g=Le.retina?2:1;Qe(s,e.min),s.width=g*d.x,s.height=g*d.y,s.style.width=d.x+"px",s.style.height=d.y+"px",Le.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){cn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[p(e)]=e;var s=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=s),this._drawLast=s,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var s=e._order,d=s.next,g=s.prev;d?d.prev=g:this._drawLast=g,g?g.next=d:this._drawFirst=d,delete e._order,delete this._layers[p(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var s=e.options.dashArray.split(/[, ]+/),d=[],g,T;for(T=0;T<s.length;T++){if(g=Number(s[T]),isNaN(g))return;d.push(g)}e.options._dashArray=d}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||te(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var s=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new ke,this._redrawBounds.extend(e._pxBounds.min.subtract([s,s])),this._redrawBounds.extend(e._pxBounds.max.add([s,s]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var s=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,s.x,s.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,s=this._redrawBounds;if(this._ctx.save(),s){var d=s.getSize();this._ctx.beginPath(),this._ctx.rect(s.min.x,s.min.y,d.x,d.y),this._ctx.clip()}this._drawing=!0;for(var g=this._drawFirst;g;g=g.next)e=g.layer,(!s||e._pxBounds&&e._pxBounds.intersects(s))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,s){if(this._drawing){var d,g,T,D,B=e._parts,Q=B.length,ae=this._ctx;if(Q){for(ae.beginPath(),d=0;d<Q;d++){for(g=0,T=B[d].length;g<T;g++)D=B[d][g],ae[g?"lineTo":"moveTo"](D.x,D.y);s&&ae.closePath()}this._fillStroke(ae,e)}}},_updateCircle:function(e){if(!(!this._drawing||e._empty())){var s=e._point,d=this._ctx,g=Math.max(Math.round(e._radius),1),T=(Math.max(Math.round(e._radiusY),1)||g)/g;T!==1&&(d.save(),d.scale(1,T)),d.beginPath(),d.arc(s.x,s.y/T,g,0,Math.PI*2,!1),T!==1&&d.restore(),this._fillStroke(d,e)}},_fillStroke:function(e,s){var d=s.options;d.fill&&(e.globalAlpha=d.fillOpacity,e.fillStyle=d.fillColor||d.color,e.fill(
vendor: 5,740 bytes, line 28
28d.fillRule||"evenodd")),d.stroke&&d.weight!==0&&(e.setLineDash&&e.setLineDash(s.options&&s.options._dashArray||[]),e.globalAlpha=d.opacity,e.lineWidth=d.weight,e.strokeStyle=d.color,e.lineCap=d.lineCap,e.lineJoin=d.lineJoin,e.stroke())},_onClick:function(e){for(var s=this._map.mouseEventToLayerPoint(e),d,g,T=this._drawFirst;T;T=T.next)d=T.layer,d.options.interactive&&d._containsPoint(s)&&(!(e.type==="click"||e.type==="preclick")||!this._map._draggableMoved(d))&&(g=d);this._fireEvent(g?[g]:!1,e)},_onMouseMove:function(e){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var s=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,s)}},_handleMouseOut:function(e){var s=this._hoveredLayer;s&&(ot(this._container,"leaflet-interactive"),this._fireEvent([s],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,s){if(!this._mouseHoverThrottled){for(var d,g,T=this._drawFirst;T;T=T.next)d=T.layer,d.options.interactive&&d._containsPoint(s)&&(g=d);g!==this._hoveredLayer&&(this._handleMouseOut(e),g&&(Ne(this._container,"leaflet-interactive"),this._fireEvent([g],e,"mouseover"),this._hoveredLayer=g)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,e),this._mouseHoverThrottled=!0,setTimeout(u(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,s,d){this._map._fireDOMEvent(s,d||s.type,e)},_bringToFront:function(e){var s=e._order;if(s){var d=s.next,g=s.prev;if(d)d.prev=g;else return;g?g.next=d:d&&(this._drawFirst=d),s.prev=this._drawLast,this._drawLast.next=s,s.next=null,this._drawLast=s,this._requestRedraw(e)}},_bringToBack:function(e){var s=e._order;if(s){var d=s.next,g=s.prev;if(g)g.next=d;else return;d?d.prev=g:g&&(this._drawLast=g),s.prev=null,s.next=this._drawFirst,this._drawFirst.prev=s,this._drawFirst=s,this._requestRedraw(e)}}});function kr(e){return Le.canvas?new Pr(e):null}var Ss=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Na={_initContainer:function(){this._container=We("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(cn.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var s=e._container=Ss("shape");Ne(s,"leaflet-vml-shape "+(this.options.className||"")),s.coordsize="1 1",e._path=Ss("path"),s.appendChild(e._path),this._updateStyle(e),this._layers[p(e)]=e},_addPath:function(e){var s=e._container;this._container.appendChild(s),e.options.interactive&&e.addInteractiveTarget(s)},_removePath:function(e){var s=e._container;it(s),e.removeInteractiveTarget(s),delete this._layers[p(e)]},_updateStyle:function(e){var s=e._stroke,d=e._fill,g=e.options,T=e._container;T.stroked=!!g.stroke,T.filled=!!g.fill,g.stroke?(s||(s=e._stroke=Ss("stroke")),T.appendChild(s),s.weight=g.weight+"px",s.color=g.color,s.opacity=g.opacity,g.dashArray?s.dashStyle=S(g.dashArray)?g.dashArray.join(" "):g.dashArray.replace(/( *, *)/g," "):s.dashStyle="",s.endcap=g.lineCap.replace("butt","flat"),s.joinstyle=g.lineJoin):s&&(T.removeChild(s),e._stroke=null),g.fill?(d||(d=e._fill=Ss("fill")),T.appendChild(d),d.color=g.fillColor||g.color,d.opacity=g.fillOpacity):d&&(T.removeChild(d),e._fill=null)},_updateCircle:function(e){var s=e._point.round(),d=Math.round(e._radius),g=Math.round(e._radiusY||d);this._setPath(e,e._empty()?"M0 0":"AL "+s.x+","+s.y+" "+d+","+g+" 0,"+65535*360)},_setPath:function(e,s){e._path.v=s},_bringToFront:function(e){zt(e._container)},_bringToBack:function(e){Zt(e._container)}},Bs=Le.vml?Ss:Mt,xs=cn.extend({_initContainer:function(){this._container=Bs("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Bs("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){it(this._container),rt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){cn.prototype._update.call(this);var e=this._bounds,s=e.getSize(),d=this._container;(!this._svgSize||!this._svgSize.equals(s))&&(this._svgSize=s,d.setAttribute("width",s.x),d.setAttribute("height",s.y)),Qe(d,e.min),d.setAttribute("viewBox",[e.min.x,e.min.y,s.x,s.y].join(" ")),this.fire("update")}},_initPath:function(e){var s=e._path=Bs("path");e.options.className&&Ne(s,e.options.className),e.options.interactive&&Ne(s,"leaflet-interactive"),this._updateStyle(e),this._layers[p(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){it(e._path),e.removeInteractiveTarget(e._path),delete this._layers[p(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var s=e._path,d=e.options;s&&(d.stroke?(s.setAttribute("stroke",d.color),s.setAttribute("stroke-opacity",d.opacity),s.setAttribute("stroke-width",d.weight),s.setAttribute("stroke-linecap",d.lineCap),s.setAttribute("stroke-linejoin",d.lineJoin),d.dashArray?s.setAttribute("stroke-dasharray",d.dashArray):s.removeAttribute("stroke-dasharray"),d.dashOffset?s.setAttribute("stroke-dashoffset",d.dashOffset):s.removeAttribute("stroke-dashoffset")):s.setAttribute("stroke","none"),d.fill?(s.setAttribute("fill",d.fillColor||d.color),s.setAttribute("fill-opacity",d.fillOpacity),s.setAttribute("fill-rule",d.fillRule||"evenodd")):s.setAttribute("fill","none"))},_updatePoly:function(e,s){this._setPath(e,$t(e._parts,s))},_updateCircle:function(e){var s=e._point,d=Math.max(Math.round(e._radius),1),g=Math.max(Math.round(e._radiusY),1)||d,T="a"+
28d+","+g+" 0 1,0 ",D=e._empty()?"M0 0":"M"+(s.x-d)+","+s.y+T+d*2+",0 "+T+-d*2+",0 ";this._setPath(e,D)},_setPath:function(e,s){e._path.setAttribute("d",s)},_bringToFront:function(e){zt(e._path)},_bringToBack:function(e){Zt(e._path)}});Le.vml&&xs.include(Na);function Ir(e){return Le.svg||Le.vml?new xs(e):null}Je.include({getRenderer:function(e){var s=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return s||(s=this._renderer=this._createRenderer()),this.hasLayer(s)||this.addLayer(s),s},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var s=this._paneRenderers[e];return s===void 0&&(s=this._createRenderer({pane:e}),this._paneRenderers[e]=s),s},_createRenderer:function(e){return this.options.preferCanvas&&kr(e)||Ir(e)}});var Ar=bn.extend({initialize:function(e,s){bn.prototype.initialize.call(this,this._boundsToLatLngs(e),s)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=Ke(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function Ha(e,s){return new Ar(e,s)}xs.create=Bs,xs.pointsToPath=$t,bi.geometryToLayer=Sn,bi.coordsToLatLng=Zn,bi.coordsToLatLngs=Wn,bi.latLngToCoords=N,bi.latLngsToCoords=W,bi.getFeature=K,bi.asFeature=se,Je.mergeOptions({boxZoom:!0});var Dr=A.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(){He(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){rt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){it(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Zi(),On(),this._startPoint=this._map.mouseEventToContainerPoint(e),He(document,{contextmenu:Fi,mou
vendor: 9,739 bytes, line 28
28semove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=We("div","leaflet-zoom-box",this._container),Ne(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var s=new ke(this._point,this._startPoint),d=s.getSize();Qe(this._box,s.min),this._box.style.width=d.x+"px",this._box.style.height=d.y+"px"},_finish:function(){this._moved&&(it(this._box),ot(this._container,"leaflet-crosshair")),Ui(),cs(),rt(document,{contextmenu:Fi,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var s=new et(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(s).fire("boxzoomend",{boxZoomBounds:s})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Je.addInitHook("addHandler","boxZoom",Dr),Je.mergeOptions({doubleClickZoom:!0});var Or=A.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var s=this._map,d=s.getZoom(),g=s.options.zoomDelta,T=e.originalEvent.shiftKey?d-g:d+g;s.options.doubleClickZoom==="center"?s.setZoom(T):s.setZoomAround(e.containerPoint,T)}});Je.addInitHook("addHandler","doubleClickZoom",Or),Je.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var zr=A.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new Y(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))}Ne(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ot(this._map._container,"leaflet-grab"),ot(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var s=Ke(this._map.options.maxBounds);this._offsetLimit=Pe(this._map.latLngToContainerPoint(s.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(s.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var s=this._lastTime=+new Date,d=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(d),this._times.push(s),this._prunePositions(s)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),s=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=s.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,s){return e-(e-s)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),s=this._offsetLimit;e.x<s.min.x&&(e.x=this._viscousLimit(e.x,s.min.x)),e.y<s.min.y&&(e.y=this._viscousLimit(e.y,s.min.y)),e.x>s.max.x&&(e.x=this._viscousLimit(e.x,s.max.x)),e.y>s.max.y&&(e.y=this._viscousLimit(e.y,s.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,s=Math.round(e/2),d=this._initialWorldOffset,g=this._draggable._newPos.x,T=(g-s+d)%e+s-d,D=(g+s+d)%e-s-d,B=Math.abs(T+d)<Math.abs(D+d)?T:D;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=B},_onDragEnd:function(e){var s=this._map,d=s.options,g=!d.inertia||e.noInertia||this._times.length<2;if(s.fire("dragend",e),g)s.fire("moveend");else{this._prunePositions(+new Date);var T=this._lastPos.subtract(this._positions[0]),D=(this._lastTime-this._times[0])/1e3,B=d.easeLinearity,Q=T.multiplyBy(B/D),ae=Q.distanceTo([0,0]),me=Math.min(d.inertiaMaxSpeed,ae),Te=Q.multiplyBy(me/ae),Oe=me/(d.inertiaDeceleration*B),Ve=Te.multiplyBy(-Oe/2).round();!Ve.x&&!Ve.y?s.fire("moveend"):(Ve=s._limitOffset(Ve,s.options.maxBounds),te(function(){s.panBy(Ve,{duration:Oe,easeLinearity:B,noMoveStart:!0,animate:!0})}))}}});Je.addInitHook("addHandler","dragging",zr),Je.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Nr=A.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"),He(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(),rt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,s=document.documentElement,d=e.scrollTop||s.scrollTop,g=e.scrollLeft||s.scrollLeft;this._map._container.focus(),window.scrollTo(g,d)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var s=this._panKeys={},d=this.keyCodes,g,T;for(g=0,T=d.left.length;g<T;g++)s[d.left[g]]=[-1*e,0];for(g=0,T=d.right.length;g<T;g++)s[d.right[g]]=[e,0];for(g=0,T=d.down.length;g<T;g++)s[d.down[g]]=[0,e];for(g=0,T=d.up.length;g<T;g++)s[d.up[g]]=[0,-1*e]},_setZoomDelta:function(e){var s=this._zoomKeys={},d=this.keyCodes,g,T;for(g=0,T=d.zoomIn.length;g<T;g++)s[d.zoomIn[g]]=e;for(g=0,T=d.zoomOut.length;g<T;g++)s[d.zoomOut[g]]=-e},_addHooks:function(){He(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){rt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var s=e.keyCode,d=this._map,g;if(s in this._panKeys){if(!d._panAnim||!d._panAnim._inProgress)if(g=this._panKeys[s],e.shiftKey&&(g=ve(g).multiplyBy(3)),d.options.maxBounds&&(g=d._limitOffset(ve(g),d.options.maxBounds)),d.options.worldCopyJump){var T=d.wrapLatLng(d.unproject(d.project(d.getCenter()).add(g)));d.panTo(T)}else d.panBy(g)}else if(s in this._zoomKeys)d.setZoom(d.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[s]);else if(s===27&&d._popup&&d._popup.options.closeOnEscapeKey)d.closePopup();else return;Fi(e)}}});Je.addInitHook("addHandler","keyboard",Nr),Je.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Hr=A.extend({addHooks:function(){He(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){rt(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var s=ys(e),d=this._map.options.wheelDebounceTime;this._delta+=s,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var g=Math.max(d-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(u(this._performZoom,this),g),Fi(e)},_performZoom:function(){var e=this._map,s=e.getZoom(),d=this._map.options.zoomSnap||0;e._stop();var g=this._delta/(this._map.options.wheelPxPerZoomLevel*4),T=4*Math.log(2/(1+Math.exp(-Math.abs(g))))/Math.LN2,D=d?Math.ceil(T/d)*d:T,B=e._limitZoom(s+(this._delta>0?D:-D))-s;this._delta=0,this._startTime=null,B&&(e.options.scrollWheelZoom==="center"?e.setZoom(s+B):e.setZoomAround(this._lastMousePos,s+B))}});Je.addInitHook("addHandler","scrollWheelZoom",Hr);var ja=600;Je.mergeOptions({tapHold:Le.touchNative&&Le.safari&&Le.mobile,tapTolerance:15});var jr=A.extend({addHooks:function(){He(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){rt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var s=e.touches[0];this._startPos=this._newPos=new V(s.clientX,s.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(He(document,"touchend",Pt),He(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",s))},this),ja),He(document,"touchend touchcancel contextmenu",this._cancel,this),He(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){rt(document,"touchend",Pt),rt(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),rt(document,"touchend touchcancel contextmenu",this._cancel,this),rt(document,"touchmove",this._onMove,this)},_onMove:function(e){var s=e.touches[0];this._newPos=new V(s.clientX,s.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,s){var d=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:s.screenX,screenY:s.screenY,clientX:s.
28clientX,clientY:s.clientY});d._simulated=!0,s.target.dispatchEvent(d)}});Je.addInitHook("addHandler","tapHold",jr),Je.mergeOptions({touchZoom:Le.touch,bounceAtZoomLimits:!0});var $r=A.extend({addHooks:function(){Ne(this._map._container,"leaflet-touch-zoom"),He(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ot(this._map._container,"leaflet-touch-zoom"),rt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var s=this._map;if(!(!e.touches||e.touches.length!==2||s._animatingZoom||this._zooming)){var d=s.mouseEventToContainerPoint(e.touches[0]),g=s.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=s.getSize()._divideBy(2),this._startLatLng=s.containerPointToLatLng(this._centerPoint),s.options.touchZoom!=="center"&&(this._pinchStartLatLng=s.containerPointToLatLng(d.add(g)._divideBy(2))),this._startDist=d.distanceTo(g),this._startZoom=s.getZoom(),this._moved=!1,this._zooming=!0,s._stop(),He(document,"touchmove",this._onTouchMove,this),He(document,"touchend touchcancel",this._onTouchEnd,this),Pt(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var s=this._map,d=s.mouseEventToContainerPoint(e.touches[0]),g=s.mouseEventToContainerPoint(e.touches[1]),T=d.distanceTo(g)/this._startDist;if(this._zoom=s.getScaleZoom(T,this._startZoom),!s.options.bounceAtZoomLimits&&(this._zoom<s.getMinZoom()&&T<1||this._zoom>s.getMaxZoom()&&T>1)&&(this._zoom=s._limitZoom(this._zoom)),s.options.touchZoom==="center"){if(this._center=this._startLatLng,T===1)return}else{var D=d._add(g)._divideBy(2)._subtract(this._centerPoint);if(T===1&&D.x===0&&D.y===0)return;this._center=s.unproject(s.project(this._pinchStartLatLng,this._zoom).subtract(D),this._zoom)}this._moved||(s._moveStart(!0,!1),this._moved=!0),ee(this._animRequest);var B=u(s._move,s,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=te(B,this,!0),Pt(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,ee(this._animRequest),rt(document,"touchmove",this._onTouchMove,this),rt(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))}});Je.addInitHook("addHandler","touchZoom",$r),Je.BoxZoom=Dr,Je.DoubleClickZoom=Or,Je.Drag=zr,Je.Keyboard=Nr,Je.ScrollWheelZoom=Hr,Je.TapHold=jr,Je.TouchZoom=$r,a.Bounds=ke,a.Browser=Le,a.CRS=ge,a.Canvas=Pr,a.Circle=dn,a.CircleMarker=_i,a.Class=re,a.Control=si,a.DivIcon=Si,a.DivOverlay=Ee,a.DomEvent=Ks,a.DomUtil=As,a.Draggable=Y,a.Evented=X,a.FeatureGroup=Ye,a.GeoJSON=bi,a.GridLayer=Ct,a.Handler=A,a.Icon=Nt,a.ImageOverlay=Me,a.LatLng=de,a.LatLngBounds=et,a.Layer=wi,a.LayerGroup=wn,a.LineUtil=Ii,a.Map=Je,a.Marker=Rn,a.Mixin=$,a.Path=zi,a.Point=V,a.PolyUtil=we,a.Polygon=bn,a.Polyline=ai,a.Popup=nt,a.PosAnimation=zs,a.Projection=ri,a.Rectangle=Ar,a.Renderer=cn,a.SVG=xs,a.SVGOverlay=ze,a.TileLayer=ns,a.Tooltip=Tt,a.Transformation=It,a.Util=U,a.VideoOverlay=Ze,a.bind=u,a.bounds=Pe,a.canvas=kr,a.circle=ts,a.circleMarker=js,a.control=on,a.divIcon=xn,a.extend=n,a.featureGroup=es,a.geoJSON=_e,a.geoJson=Se,a.gridLayer=Oa,a.icon=_n,a.imageOverlay=xe,a.latLng=oe,a.latLngBounds=Ke,a.layerGroup=er,a.map=$n,a.marker=ln,a.point=ve,a.polygon=is,a.polyline=bs,a.popup=Gt,a.rectangle=Ha,a.setOptions=x,a.stamp=p,a.svg=Ir,a.svgOverlay=qe,a.tileLayer=Lr,a.tooltip=oi,a.transformation=at,a.version=l,a.videoOverlay=Ae;var $a=window.L;a.noConflict=function(){return window.L=$a,this},window.L=a})})(Ur,Ur.exports);L.TileLayer.ColorFilter=L.TileLayer.extend({intialize:function(i,t){L.TileLayer.prototype.initialize.call(this,i,t)},colorFilter:function(){var i=["blur:px","brightness:%","bright:brightness:%","bri:brightness:%","contrast:%","con:contrast:%","grayscale:%","gray:grayscale:%","hue-rotate:deg","hue:hue-rotate:deg","hue-rotation:hue-rotate:deg","invert:%","inv:invert:%","opacity:%","op:opacity:%","saturate:%","saturation:saturate:%","sat:saturate:%","sepia:%","sep:sepia:%"];return(this.options.filter?this.options.filter:[]).map(function(t){var a=t.toLowerCase().split(":");if(a.length===2){var l=i.find(function(n){return n.split(":")[0]===a[0]});if(l)return l=l.split(":"),a[1]+=/^\d+$/.test(a[1])?l[l.length-1]:"","".concat(l[l.length-2],"(").concat(a[1],")")}return""}).join(" ")}
28,_initContainer:function(){L.TileLayer.prototype._initContainer.call(this),this._container.style.filter=this.colorFilter()},updateFilter:function(i){this.options.filter=i,this._container&&(this._container.style.filter=this.colorFilter())}}),L.tileLayer.colorFilter=function(i,t){return new L.TileLayer.ColorFilter(i,t)};const Ql=()=>{let i=q(".js-simple-map");i.length&&(console.log(i),i.each((t,a)=>{let l=q(a),n=l.attr("id"),r=l.data("location"),u=l.data("pin");const f=["grayscale:56%","bright:110%","contrast:93%","hue:359deg","saturate:0%","sepia:5%"];l=L.map(n).setView([r.lat,r.lng],18),l.scrollWheelZoom.disable(),L.tileLayer.colorFilter("https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",{attribution:"",filter:f}).addTo(l);const p=L.icon({iconUrl:u,iconSize:[40,40],iconAnchor:[13,32],shadowSize:[0,0]});L.marker([r.lat,r.lng],{icon:p}).addTo(l)}))},ed=()=>{q(".js-related-content-slider").each(function(){const t=q(this).closest(".js-related-content-slider-wrapper"),a=t.find(".js-related-content-slider-right").get(0),l=t.find(".js-related-content-slider-left").get(0),n=t.find(".js-related-content-slider-left, .js-related-content-slider-right"),r=u=>{n.toggleClass("invisible pointer-events-none",u.isLocked)};new Wt(this,{slidesPerView:1.5,spaceBetween:16,navigation:{nextEl:a,prevEl:l},breakpoints:{1296:{slidesPerView:4,spaceBetween:24},992:{slidesPerView:3.2,spaceBetween:16},576:{slidesPerView:2.2,spaceBetween:16}},on:{init:r,breakpoint:r}})})};/*! name: vanilla-calendar-pro v2.9.10 | url: https://github.com/uvarov-frontend/vanilla-calendar-pro */var td=Object.defineProperty,Xr=Object.getOwnPropertySymbols,id=Object.prototype.hasOwnProperty,nd=Object.prototype.propertyIsEnumerable,fr=(i,t,a)=>t in i?td(i,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[t]=a,_a=(i,t)=>{for(var a in t||(t={}))id.call(t,a)&&fr(i,a,t[a]);if(Xr)for(var a of Xr(t))nd.call(t,a)&&fr(i,a,t[a]);return i},Be=(i,t,a)=>(fr(i,typeof t!="symbol"?t+"":t,a),a);const sd={calendar:"vanilla-calendar",calendarDefault:"vanilla-calendar_default",calendarMultiple:"vanilla-calendar_multiple",calendarMonth:"vanilla-calendar_month",calendarYear:"vanilla-calendar_year",calendarHidden:"vanilla-calendar_hidden",calendarToInput:"vanilla-calendar_to-input",calendarToInputTop:"vanilla-calendar_to-input_top",calendarToInputBottom:"vanilla-calendar_to-input_bottom",controls:"vanilla-calendar-controls",grid:"vanilla-calendar-grid",gridDisabled:"vanilla-calendar-grid_disabled",column:"vanilla-calendar-column",columnMonth:"vanilla-calendar-column_month",columnYear:"vanilla-calendar-column_year",header:"vanilla-calendar-header",headerContent:"vanilla-calendar-header__content",month:"vanilla-calendar-month",monthDisabled:"vanilla-calendar-month_disabled",year:"vanilla-calendar-year",yearDisabled:"vanilla-calendar-year_disabled",arrow:"vanilla-calendar-arrow",arrowPrev:"vanilla-calendar-arrow_prev",arrowNext:"vanilla-calendar-arrow_next",wrapper:"vanilla-calendar-wrapper",content:"vanilla-calendar-content",week:"vanilla-calendar-week",weekDay:"vanilla-calendar-week__day",weekDayWeekend:"vanilla-calendar-week__day_weekend",days:"vanilla-calendar-days",daysSelecting:"vanilla-calendar-days_selecting",months:"vanilla-calendar-months",monthsSelecting:"vanilla-calendar-months_selecting",monthsMonth:"vanilla-calendar-months__month",monthsMonthSelected:"vanilla-calendar-months__month_selected",monthsMonthDisabled:"vanilla-calendar-months__month_disabled",years:"vanilla-calendar-years",yearsSelecting:"vanilla-calendar-years_selecting",yearsYear:"vanilla-calendar-years__year",yearsYearSelected:"vanilla-calendar-years__year_selected",yearsYearDisabled:"vanilla-calendar-years__year_disabled",time:"vanilla-calendar-time",timeContent:"vanilla-calendar-time__content",timeHours:"vanilla-calendar-time__hours",timeMinutes:"vanilla-calendar-time__minutes",timeKeeping:"vanilla-calendar-time__keeping",timeRanges:"vanilla-calendar-time__ranges",timeRange:"vanilla-calendar-time__range",day:"vanilla-calendar-day",dayHoverFirst:"vanilla-calendar-day_hover-first",dayHoverLast:"vanilla-calendar-day_hover-last",dayHoverIntermediate:"vanilla-calendar-day_hover-intermediate",daySelectedFirst:"vanilla-calendar-day_selected-first",daySelectedLast:"vanilla-calendar-day_selected-last",daySelectedIntermediate:"vanilla-calendar-day_selected-intermediate",dayPopup:"vanilla-calendar-day__popup",dayBtn:"vanilla-calendar-day__btn",dayBtnPrev:"vanilla-calendar-day__btn_prev",dayBtnNext:"vanilla-calendar-day__btn_next",dayBtnToday:"vanilla-calendar-day__btn_today",dayBtnSelected:"vanilla-calendar-day__btn_selected",dayBtnHover:"vanilla-calendar-day__btn_hover",dayBtnDisabled:"vanilla-calendar-day__btn_disabled",dayBtnWeekend:"vanilla-calendar-day__btn_weekend",dayBtnHoliday:"vanilla-calendar-day__btn_holiday",weekNumbers:"vanilla-calendar-week-numbers",weekNumbersTitle:"vanilla-calendar-week-numbers__title",weekNumbersContent:"vanilla-calendar-week-numbers__content",weekNumber:"vanilla-calendar-week-number",isFocus:"vanilla-calendar-is-focus"},rd=i=>`<div class="${i.controls}"><#ArrowPrev /><#ArrowNext /></div><div class="${i.grid}"><#Multiple><div class="${i.column}"><div class="${i.header}"><div class="${i.headerContent}"><#Month /><#Year /></div></div><div class="${i.wrapper}"><#WeekNumbers /><div class="${i.content}"><#Week /><#Days /></div></div></div><#/Multiple></div><#ControlTime />`,ad=i=>`<div class="${i.header}"><div class="${i.headerContent}"><#Month /><#Year /></div></div><div class="${i.wrapper}"><div class="${i.content}"><#Months /></div></div>`,od=i=>`<div class="${i.header}"><#ArrowPrev /><div class="${i.headerContent}"><#Month /><#Year /></div><#ArrowNext /></div><div class="${i.wrapper}"><div class="${i.content}"><#Years /></div></div>`;class ld{constructor(){var t;Be(this,"isInit",!1),Be(this,"isInputInit",!1),Be(this,"input",!1),Be(this,"type","default"),Be(this,"months",2),Be(this,"jumpMonths",1),Be(this,"jumpToSelectedDate",!1),Be(this,"toggleSelected",!0),Be(this,"date",{min:"1970-01-01",max:"2470-12-31",today:new Date}),Be(this,"settings",{lang:"en",iso8601:!0,range:{min:void 0,max:void 0,disablePast:!1,disableGaps:!1,edgesOnly:!1,disableAllDays:!1,disableWeekday:void 0,disabled:void 0,enabled:void 0},selection:{day:"single",month:!0,year:!0,time:!1,controlTime:"all",stepHours:1,stepMinutes:1,cancelableDay:!0}
28,selected:{dates:void 0,month:void 0,year:void 0,holidays:void 0,time:void 0},visibility:{theme:"system",themeDetect:"html[data-theme]",monthShort:!0,weekNumbers:!1,weekend:!0,today:!0,disabled:!1,daysOutside:!0,positionToInput:"left"}}),Be(this,"locale",{months:[],weekday:[]}),Be(this,"sanitizer",a=>a),Be(this,"actions",{clickDay:null,clickWeekNumber:null,clickMonth:null,clickYear:null,clickArrow:null,changeTime:null,changeToInput:null,getDays:null,getMonths:null,getYears:null,initCalendar:null,updateCalendar:null,destroyCalendar:null,showCalendar:null,hideCalendar:null}),Be(this,"popups",{}),Be(this,"CSSClasses",_a({},sd)),Be(this,"DOMTemplates",{default:(t=this.CSSClasses,`<div class="${t.header}"><#ArrowPrev /><div class="${t.headerContent}"><#Month /><#Year /></div><#ArrowNext /></div><div class="${t.wrapper}"><#WeekNumbers /><div class="${t.content}"><#Week /><#Days /></div></div><#ControlTime />`),multiple:rd(this.CSSClasses),month:ad(this.CSSClasses),year:od(this.CSSClasses)}),Be(this,"HTMLElement"),Be(this,"HTMLOriginalElement"),Be(this,"HTMLInputElement"),Be(this,"rangeMin"),Be(this,"rangeMax"),Be(this,"rangeDisabled"),Be(this,"rangeEnabled"),Be(this,"selectedDates"),Be(this,"selectedHolidays"),Be(this,"selectedMonth"),Be(this,"selectedYear"),Be(this,"selectedHours"),Be(this,"selectedMinutes"),Be(this,"selectedKeeping"),Be(this,"selectedTime"),Be(this,"currentType"),Be(this,"correctMonths"),Be(this,"viewYear"),Be(this,"dateMin"),Be(this,"dateMax")}}const Ji=i=>`${i.getFullYear()}-${String(i.getMonth()+1).padStart(2,"0")}-${String(i.getDate()).padStart(2,"0")}`,ft=i=>new Date(`${i}T00:00:00`),os=i=>i.reduce((t,a)=>{if(a instanceof Date||typeof a=="number"){const l=a instanceof Date?a:new Date(a);t.push(l.toISOString().substring(0,10))}else a.match(/^(\d{4}-\d{2}-\d{2})$/g)?t.push(a):a.replace(/(\d{4}-\d{2}-\d{2}).*?(\d{4}-\d{2}-\d{2})/g,(l,n,r)=>{const u=ft(n),f=ft(r),p=new Date(u.getTime());for(;p<=f;p.setDate(p.getDate()+1))t.push(Ji(p));return l});return t},[]),Zs=()=>{const i=new Date;return new Date(i.getTime()-6e4*i.getTimezoneOffset()).toISOString().substring(0,10)},Ps=i=>i?{0:"12",13:"01",14:"02",15:"03",16:"04",17:"05",18:"06",19:"07",20:"08",21:"09",22:"10",23:"11"}[Number(i)]||String(i):"",ds={notFoundSelector:i=>`${i} is not found, check the first argument passed to new VanillaCalendar.`,notInit:'The calendar has not been initialized, please initialize it using the "init()" method first.',notLocale:'You specified "define" for "settings.lang" but did not provide the required values for "locale.weekday" or "locale.months".',incorrectTheme:'Incorrect name of theme in "settings.visibility.theme".',incorrectTime:"The value of the time property can be: false, true, 12 or 24."},dd=i=>{var t;if(i.jumpToSelectedDate&&((t=i.settings.selected.dates)!=null&&t.length)&&i.settings.selected.month===void 0&&i.settings.selected.year===void 0){const n=ft(os(i.settings.selected.dates)[0]);i.settings.selected.month=n.getMonth(),i.settings.selected.year=n.getFullYear()}const a=i.settings.selected.month!==void 0&&Number(i.settings.selected.month)>=0&&Number(i.settings.selected.month)<12,l=i.settings.selected.year!==void 0&&Number(i.settings.selected.year)>=0&&Number(i.settings.selected.year)<=9999;i.selectedMonth=a?Number(i.settings.selected.month):i.date.today.getMonth(),i.selectedYear=l?Number(i.settings.selected.year):i.date.today.getFullYear(),i.viewYear=i.selectedYear},cd=i=>{var t,a,l;i.date.min==="today"&&(i.date.min=Zs()),i.date.max==="today"&&(i.date.max=Zs()),i.settings.range.min==="today"&&(i.settings.range.min=Zs()),i.settings.range.max==="today"&&(i.settings.range.max=Zs()),i.settings.range.min=i.settings.range.min?ft(i.date.min)>=ft(i.settings.range.min)?i.date.min:i.settings.range.min:i.date.min,i.settings.range.max=i.settings.range.max?ft(i.date.max)<=ft(i.settings.range.max)?i.date.max:i.settings.range.max:i.date.max;const n=i.settings.range.disablePast&&!i.settings.range.disableAllDays&&ft(i.settings.range.min)<i.date.today;i.rangeMin=n||i.settings.range.disableAllDays?Ji(i.date.today):i.settings.range.min,i.rangeMax=i.settings.range.disableAllDays?Ji(i.date.today):i.settings.range.max,i.rangeDisabled=i.settings.range.disabled&&!i.settings.range.disableAllDays?os(i.settings.range.disabled):i.settings.range.disableAllDays?[i.rangeMin]:[],i.rangeDisabled.length>1&&i.rangeDisabled.sort((r,u)=>+new Date(r)-+new Date(u)),i.rangeEnabled=i.settings.range.enabled?os(i.settings.range.enabled):[],(t=i.rangeEnabled)!=null&&t[0]&&((a=i.rangeDisabled)!=null&&a[0])&&(i.rangeDisabled=i.rangeDisabled.filter(r=>!i.rangeEnabled.includes(r))),i.rangeEnabled.length>1&&i.rangeEnabled.sort((r,u)=>+new Date(r)-+new Date(u)),(l=i.rangeEnabled)!=null&&l[0]&&i.settings.range.disableAllDays&&(i.rangeMin=i.rangeEnabled[0],i.rangeMax=i.rangeEnabled[i.rangeEnabled.length-1])},ud=i=>{var t,a;i.selectedDates=(t=i.settings.selected.dates)!=null&&t[0]?os(i.settings.selected.dates):[],i.selectedHolidays=(a=i.settings.selected.holidays)!=null&&a[0]?os(i.settings.selected.holidays):[]},fd=i=>{i.dateMin=i.settings.visibility.disabled?ft(i.date.min):ft(i.rangeMin),i.dateMax=i.settings.visibility.disabled?ft(i.date.max):ft(i.rangeMax)},hd=i=>{const t=i.settings.selection.time===!0||i.settings.selection.time===12;if(t||i.settings.selection.time===24){let a=!1;if(typeof i.settings.selected.time=="string"){const l=t?/^([0-9]|0[1-9]|1[0-2]):([0-5][0-9])|(AM|PM)/g:/^([0-1]?[0-9]|2[0-3]):([0-5][0-9])/g;i.settings.selected.time.replace(l,(n,r,u,f)=>
28(r&&u&&(a=!0,i.selectedHours=r,i.selectedMinutes=u),f&&t?i.selectedKeeping=f:t&&(i.selectedKeeping="AM"),""))}!a&&t?(i.selectedHours=Ps(String(i.date.today.getHours())),i.selectedMinutes=String(i.date.today.getMinutes()),i.selectedKeeping=Number(i.date.today.getHours())>=12?"PM":"AM"):a||(i.selectedHours=String(i.date.today.getHours()),i.selectedMinutes=String(i.date.today.getMinutes())),i.selectedHours=Number(i.selectedHours)<10?`0${Number(i.selectedHours)}`:`${i.selectedHours}`,i.selectedMinutes=Number(i.selectedMinutes)<10?`0${Number(i.selectedMinutes)}`:`${i.selectedMinutes}`,i.selectedTime=`${i.selectedHours}:${i.selectedMinutes}${i.selectedKeeping?` ${i.selectedKeeping}`:""}`}else if(i.settings.selection.time)throw new Error(ds.incorrectTime)},pd=i=>{i.correctMonths=i.type==="multiple"?i.months===1?2:i.months>12?12:i.months:1},ba=i=>{i.currentType=i.type,dd(i),cd(i),ud(i),fd(i),hd(i),pd(i)},Jr=({arrowPrev:i,arrowNext:t,isPrevHidden:a,isNextHidden:l})=>{i.style.visibility=a?"hidden":"",t.style.visibility=l?"hidden":""},_r=i=>{var t,a;if(i.currentType==="month")return;const l=(t=i.HTMLElement)==null?void 0:t.querySelector(`.${i.CSSClasses.arrowPrev}`),n=(a=i.HTMLElement)==null?void 0:a.querySelector(`.${i.CSSClasses.arrowNext}`);!l||!n||{default:()=>{const r=ft(Ji(new Date(i.selectedYear,i.selectedMonth,1))),u=new Date(r.getTime()),f=new Date(r.getTime());u.setMonth(u.getMonth()-i.jumpMonths),f.setMonth(f.getMonth()+i.jumpMonths),i.settings.selection.year||(i.dateMin.setFullYear(r.getFullYear()),i.dateMax.setFullYear(r.getFullYear()));const p=!i.settings.selection.month||u.getFullYear()<i.dateMin.getFullYear()||u.getFullYear()===i.dateMin.getFullYear()&&u.getMonth()<i.dateMin.getMonth(),y=!i.settings.selection.month||f.getFullYear()>i.dateMax.getFullYear()||f.getFullYear()===i.dateMax.getFullYear()&&f.getMonth()>i.dateMax.getMonth();Jr({arrowPrev:l,arrowNext:n,isPrevHidden:p,isNextHidden:y})},year:()=>{Jr({arrowPrev:l,arrowNext:n,isPrevHidden:i.dateMin.getFullYear()&&i.viewYear-7<=i.dateMin.getFullYear(),isNextHidden:i.dateMax.getFullYear()&&i.viewYear+7>=i.dateMax.getFullYear()})}}[i.currentType==="multiple"?"default":i.currentType]()},Sa=(i,t)=>{if(!i)return null;const a=ft(i),l=t?a.getDay()||7:a.getDay();a.setDate(a.getDate()+4-l);const n=new Date(a.getFullYear(),0,1),r=Math.ceil(((+a-+n)/864e5+1)/7);return{year:a.getFullYear(),week:r}};function br(i){if(!i||!i.getBoundingClientRect)return{top:0,bottom:0,left:0,right:0};const t=i.getBoundingClientRect(),a=document.documentElement;return{bottom:t.bottom,right:t.right,top:t.top+window.scrollY-a.clientTop,left:t.left+window.scrollX-a.clientLeft}}function md(){return{left:window.scrollX||document.documentElement.scrollLeft||0,top:window.scrollY||document.documentElement.scrollTop||0}}function Sr(){return{vw:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),vh:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}function gd(i){const{top:t,left:a}=md(),{top:l,left:n}=br(i),{vh:r,vw:u}=Sr(),f=l-t,p=n-a;return{top:f,bottom:r-(f+i.clientHeight),left:p,right:u-(p+i.clientWidth)}}function xa(i,t,a=5){const l={top:!0,bottom:!0,left:!0,right:!0},n=[];if(!t||!i)return{canShow:l,parentPositions:n};const{bottom:r,top:u}=gd(i),{top:f,left:p}=br(i),{height:y,width:b}=t.getBoundingClientRect(),{vh:k,vw:I}=Sr(),z=I/2,C=k/2;return[{condition:f<C,position:"top"},{condition:f>C,position:"bottom"},{condition:p<z,position:"left"},{condition:p>z,position:"right"}].forEach(({condition:x,position:h})=>{x&&n.push(h)}),Object.assign(l,{top:y<=u-a,bottom:y<=r-a,left:b<=p,right:b<=I-p}),{canShow:l,parentPositions:n}}function vd(i,t){const a="left";if(!t||!i)return a;const{canShow:l,parentPositions:n}=xa(i,t),r=l.left&&l.right;return(r&&l.bottom?"center":r&&l.top?["top","center"]:Array.isArray(n)?[n[0]==="bottom"?"top":"bottom",...n.slice(1)]:n)||a}const hr=(i,t,a,l)=>{if(i){const n=a==="auto"?vd(i,t):a,r={top:-t.offsetHeight,bottom:i.offsetHeight,left:0,center:i.offsetWidth/2-t.offsetWidth/2,right:i.offsetWidth-t.offsetWidth},u=Array.isArray(n)?n[0]:"bottom",f=Array.isArray(n)?n[1]:n;u==="bottom"?(t.classList.remove(l.calendarToInputTop),t.classList.add(l.calendarToInputBottom)):(t.classList.remove(l.calendarToInputBottom),t.classList.add(l.calendarToInputTop));const{top:p,left:y}=br(i),b=p+r[u];let k=y+r[f];const{vw:I}=Sr();if(k+t.clientWidth>I){const z=window.innerWidth-document.body.clientWidth;k=I-t.clientWidth-z}else k<0&&(k=0);Object.assign(t.style,{left:`${k}px`,top:`${b}px`})}},yd=(i,t,a,l)=>
28{const n=i.CSSClasses.dayPopup,r=l.querySelector(`[data-calendar-day="${t}"]`);if(r&&(a!=null&&a.modifier&&r.classList.add(...a.modifier.trim().split(" ")),a==null?void 0:a.html)){const u=r.parentElement,f=document.createElement("div");f.className=n,f.innerHTML=i.sanitizer(a.html),u.appendChild(f),setTimeout(()=>{if(f){const{canShow:p}=xa(u,f),y=5;let b=u.offsetHeight,k=0;p.bottom||(b=-f.offsetHeight-y),p.left&&!p.right&&(k=u.offsetWidth-f.offsetWidth/2),!p.left&&p.right&&(k=f.offsetWidth/2),Object.assign(f.style,{left:`${k}px`,top:`${b}px`})}})}},wd=(i,t)=>{var a;i.popups&&((a=Object.entries(i.popups))==null||a.forEach(([l,n])=>yd(i,l,n,t)))},_d=(i,t,a,l,n)=>{const r=t[a].querySelector(`.${i.CSSClasses.dayBtn}`),u=Sa(r==null?void 0:r.dataset.calendarDay,i.settings.iso8601);if(!u)return;const f=l.cloneNode(!0);f.innerText=String(u.week),f.dataset.calendarYearWeek=String(u.year),n.appendChild(f)},bd=(i,t,a,l,n)=>{if(!i.settings.visibility.weekNumbers)return;l.textContent="";const r=document.createElement("b");r.className=i.CSSClasses.weekNumbersTitle,r.innerText="#",l.appendChild(r);const u=document.createElement("div");u.className=i.CSSClasses.weekNumbersContent,l.appendChild(u);const f=document.createElement("button");f.type="button",f.className=i.CSSClasses.weekNumber;const p=n.querySelectorAll(`.${i.CSSClasses.day}`),y=Math.ceil((t+a)/7);for(let b=0;b<y;b++)_d(i,p,b===0?6:7*b,f,u)},Sd=(i,t,a)=>{var l,n,r,u,f;const p=(l=i.settings.range.disableWeekday)==null?void 0:l.includes(a),y=i.settings.range.disableAllDays&&!!((n=i.rangeEnabled)!=null&&n[0]);!p&&!y||(r=i.rangeEnabled)!=null&&r.includes(t)||(u=i.rangeDisabled)!=null&&u.includes(t)||(i.rangeDisabled.push(t),(f=i.rangeDisabled)==null||f.sort((b,k)=>+new Date(b)-+new Date(k)))},xd=(i,t,a,l,n,r,u)=>{var f,p,y;if((ft(i.rangeMin)>ft(r)||ft(i.rangeMax)<ft(r)||(f=i.rangeDisabled)!=null&&f.includes(r)||!i.settings.selection.month&&u||!i.settings.selection.year&&ft(r).getFullYear()!==t)&&(l.classList.add(i.CSSClasses.dayBtnDisabled),l.tabIndex=-1),i.settings.visibility.today&&Ji(i.date.today)===r&&l.classList.add(i.CSSClasses.dayBtnToday),!i.settings.visibility.weekend||n!==0&&n!==6||l.classList.add(i.CSSClasses.dayBtnWeekend),(p=i.selectedHolidays)!=null&&p.includes(r)&&l.classList.add(i.CSSClasses.dayBtnHoliday),(y=i.selectedDates)!=null&&y.includes(r)&&(l.classList.add(i.CSSClasses.dayBtnSelected),i.selectedDates.length>1&&i.settings.selection.day==="multiple-ranged"&&(i.selectedDates[0]===r&&a.classList.add(i.CSSClasses.daySelectedFirst),i.selectedDates[i.selectedDates.length-1]===r&&a.classList.add(i.CSSClasses.daySelectedLast),i.selectedDates[0]!==r&&i.selectedDates[i.selectedDates.length-1]!==r&&a.classList.add(i.CSSClasses.daySelectedIntermediate))),i.settings.range.edgesOnly&&i.selectedDates.length>1&&i.settings.selection.day==="multiple-ranged"){const b=+new Date(i.selectedDates[0]),k=+new Date(i.selectedDates[i.selectedDates.length-1]),I=+new Date(r);I>b&&I<k&&(l.classList.add(i.CSSClasses.dayBtnSelected),a.classList.add(i.CSSClasses.daySelectedIntermediate))}},xr=(i,t,a,l,n,r,u,f)=>{const p=document.createElement("div");p.className=i.CSSClasses.day;const y=document.createElement("button");y.className=`${i.CSSClasses.dayBtn}${f?` ${f}`:""}`,y.type="button",y.innerText=String(l),y.dataset.calendarDay=r,i.settings.visibility.weekNumbers&&(()=>{const b=Sa(r,i.settings.iso8601);b&&(y.dataset.calendarWeekNumber=String(b.week))})(),u?i.settings.visibility.daysOutside&&p.appendChild(y):p.appendChild(y),Sd(i,r,n),xd(i,t,p,y,n,r,u),a.appendChild(p),i.actions.getDays&&i.actions.getDays(l,r,p,y,i)},Td=(i,t,a,l,n)=>{let r=new Date(a,l,0).getDate()-(n-1);const u=l===0?a-1:a,f=l===0?12:l<10?`0${l}`:l;for(let p=n;p>0;p--,r++){const y=`${u}-${f}-${r}`,b=ft(y).getDay();xr(i,a,t,r,b,y,!0,i.CSSClasses.dayBtnPrev)}},Cd=(i,t,a,l,n)=>{for(let r=1;r<=a;r++){const u=new Date(l,n,r),f=Ji(u),p=u.getDay();xr(i,l,t,r,p,f,!1,null)}},Md=(i,t,a,l,n,r)=>{const u=r+a,f=7*Math.ceil(u/7)-u,p=n+1===12?l+1:l,y=n+1===12?"01":n+2<10?`0${n+2}`:n+2;for(let b=1;b<=f;b++){const k=`${p}-${y}-${b<10?`0${b}`:String(b)}`,I=ft(k).getDay();
28xr(i,l,t,b,I,k,!0,i.CSSClasses.dayBtnNext)}},Vs=i=>{const t=i.HTMLElement.querySelectorAll(`.${i.CSSClasses.days}`),a=i.HTMLElement.querySelectorAll(`.${i.CSSClasses.weekNumbers}`),l=new Date(i.selectedYear,i.selectedMonth,1);t.forEach((n,r)=>{const u=new Date(l);u.setMonth(u.getMonth()+r);const f=u.getMonth(),p=u.getFullYear(),y=new Date(p,f,1),b=new Date(p,f+1,0).getDate(),k=i.settings.iso8601?(y.getDay()!==0?y.getDay():7)-1:y.getDay();i.settings.selection.day&&n.classList.add(i.CSSClasses.daysSelecting),n.textContent="",Td(i,n,p,f,k),Cd(i,n,b,p,f),Md(i,n,b,p,f,k),bd(i,k,b,a[r],n),wd(i,n)})},Ld=(i,t,a,l)=>{const n=new Date(l.setMonth(i.selectedMonth+a)).getMonth(),r=i.settings.selection.month===!1||i.settings.selection.month==="only-arrows";t.tabIndex=r?-1:0,t.classList.toggle(i.CSSClasses.monthDisabled,r),t.setAttribute("data-calendar-selected-month",String(n)),t.innerText=i.locale.months[n]},Ed=(i,t,a,l)=>{const n=new Date(l.setFullYear(i.selectedYear,i.selectedMonth+a)).getFullYear(),r=i.settings.selection.year===!1||i.settings.selection.year==="only-arrows";t.tabIndex=r?-1:0,t.classList.toggle(i.CSSClasses.yearDisabled,r),t.setAttribute("data-calendar-selected-year",String(n)),t.innerText=String(n)},Js=i=>{var t,a;const l=(t=i.HTMLElement)==null?void 0:t.querySelectorAll("[data-calendar-selected-month]"),n=(a=i.HTMLElement)==null?void 0:a.querySelectorAll("[data-calendar-selected-year]");if(!(l!=null&&l[0])&&(n!=null&&n[0]))return;const r=new Date(i.selectedYear,i.selectedMonth,1);l==null||l.forEach((u,f)=>Ld(i,u,f,r)),n==null||n.forEach((u,f)=>Ed(i,u,f,r))},pr=(i,t)=>{const a=ft(Ji(new Date(i.selectedYear,i.selectedMonth,1)));({prev:()=>a.setMonth(a.getMonth()-i.jumpMonths),next:()=>a.setMonth(a.getMonth()+i.jumpMonths)})[t](),[i.selectedMonth,i.selectedYear]=[a.getMonth(),a.getFullYear()],Js(i),_r(i),Vs(i)},Pd=i=>`<button type="button"class="${i.CSSClasses.arrow} ${i.CSSClasses.arrowPrev}"data-calendar-arrow="prev"></button>`,kd=i=>`<button type="button"class="${i.CSSClasses.arrow} ${i.CSSClasses.arrowNext}"data-calendar-arrow="next"></button>`,Id=i=>`<button type="button"class="${i.CSSClasses.month}"data-calendar-selected-month></button>`,Ad=i=>`<button type="button"class="${i.CSSClasses.year}"data-calendar-selected-year></button>`,Dd=i=>`<div class="${i.CSSClasses.week}"></div>`,Od=i=>`<div class="${i.CSSClasses.days}"></div>`,zd=i=>`<div class="${i.CSSClasses.months}"></div>`,Nd=i=>`<div class="${i.CSSClasses.years}"></div>`,Hd=i=>i.settings.visibility.weekNumbers?`<div class="${i.CSSClasses.weekNumbers}"></div>`:"",jd=i=>i.settings.selection.time?`<div class="${i.CSSClasses.time}"></div>`:"",$d=Object.freeze(Object.defineProperty({__proto__:null,ArrowNext:kd,ArrowPrev:Pd,ControlTime:jd,Days:Od,Month:Id,Months:zd,Week:Dd,WeekNumbers:Hd,Year:Ad,Years:Nd},Symbol.toStringTag,{value:"Module"})),Ts=(i,t)=>t.replace(/[\n\t]/g,"").replace(/<#(?!\/?Multiple)(.*?)>/g,(a,l)=>{const n=(r=l.replace(/[/\s\n\t]/g,""),$d[r]);var r;const u=n?n(i):"";return i.sanitizer(u)}).replace(/[\n\t]/g,""),Bd=(i,t)=>t.replace(/<#Multiple>(.*?)<#\/Multiple>/g,(a,l)=>{let n="";for(let r=0;r<i.correctMonths;r++)n+=l;return i.sanitizer(n)}).replace(/[\n\t]/g,""),Tr=(i,t)=>{const{HTMLElement:a,CSSClasses:l,DOMTemplates:n,type:r,currentType:u,correctMonths:f}=i,p=(b,k)=>{if(!t)return;const I=a.querySelector(`.${l.controls}`);I&&a.removeChild(I),a.querySelector(`.${l.grid}`).classList.add(l.gridDisabled);const z=t.closest(`.${l.column}`);z.classList.add(b),z.innerHTML=Ts(i,k)},y={default:()=>{a.classList.add(l.calendarDefault),a.classList.remove(l.calendarMonth,l.calendarYear),a.innerHTML=Ts(i,n.default)},multiple:()=>{f&&(a.classList.add(l.calendarMultiple),a.classList.remove(l.calendarMonth,l.calendarYear),a.innerHTML=Bd(i,Ts(i,n.multiple)))},month:()=>{r!=="multiple"?(a.classList.add(l.calendarMonth),a.classList.remove(l.calendarDefault,l.calendarYear),a.innerHTML=Ts(i,n.month)):p(l.columnMonth,n.month)},year:()=>{r!=="multiple"?(a.classList.add(l.calendarYear),a.classList.remove(l.calendarDefault,l.calendarMonth),a.innerHTML=Ts(i,n.year)):p(l.columnYear,n.year)}};a.classList.add(l.calendar),y[u]()},Rd=(i,t,a,l,n)=>{const r=t.cloneNode(!1);
28return r.className=`${i.CSSClasses.yearsYear}${a===n?` ${i.CSSClasses.yearsYearSelected}`:l?` ${i.CSSClasses.yearsYearDisabled}`:""}`,r.dataset.calendarYear=String(n),r.title=String(n),r.innerText=String(n),l&&(r.tabIndex=-1),r},Cr=(i,t)=>{const a=t!=null&&t.dataset.calendarSelectedYear?Number(t==null?void 0:t.dataset.calendarSelectedYear):i.selectedYear;i.currentType="year",Tr(i,t),Js(i),_r(i);const l=i.HTMLElement.querySelector(`.${i.CSSClasses.years}`);if(!i.settings.selection.year||!l)return;l.classList.add(i.CSSClasses.yearsSelecting);const n=i.type!=="multiple"||i.selectedYear===a?0:1,r=document.createElement("button");r.type="button";for(let u=i.viewYear-7;u<i.viewYear+8;u++){const f=u<i.dateMin.getFullYear()+n||u>i.dateMax.getFullYear(),p=Rd(i,r,a,f,u);l.appendChild(p),i.actions.getYears&&i.actions.getYears(u,p,i)}},Zd=(i,t)=>{const a=t.target.closest(`.${i.CSSClasses.arrow}`);a&&(["default","multiple"].includes(i.currentType)?pr(i,a.dataset.calendarArrow):i.currentType==="year"&&i.viewYear!==void 0&&(i.viewYear+={prev:-15,next:15}[a.dataset.calendarArrow],Cr(i,t.target)),i.actions.clickArrow&&i.actions.clickArrow(t,i))},Wd=(i,t)=>{var a;if(!i.settings.visibility.weekNumbers||!i.actions.clickWeekNumber)return;const l=t.target.closest(`.${i.CSSClasses.weekNumber}`),n=(a=i.HTMLElement)==null?void 0:a.querySelectorAll("[data-calendar-week-number]");if(!l||!n)return;const r=Number(l.innerText),u=Number(l.dataset.calendarYearWeek),f=Array.from(n).filter(p=>Number(p.dataset.calendarWeekNumber)===r);i.actions.clickWeekNumber(t,r,f,u,i)},Ta=i=>`${i.charAt(0).toUpperCase()}${i.substring(1,i.length)}`.replace(/\./,""),Fd=(i,t)=>{const a=new Date(`1978-01-0${t+1}T00:00:00.000Z`).toLocaleString(i.settings.lang,{weekday:"short",timeZone:"UTC"});i.locale.weekday.push(Ta(a))},Yd=(i,t)=>{const a=new Date(`1978-${t+1<=9?`0${t+1}`:t+1}-01T00:00:00.000Z`).toLocaleString(i.settings.lang,{month:"long",timeZone:"UTC"});i.locale.months.push(Ta(a))},qd=i=>{if(i.settings.lang!=="define"||!i.locale.weekday[6]||!i.locale.months[11]){if(i.settings.lang==="define")throw new Error(ds.notLocale);i.locale.weekday=[],i.locale.months=[];for(let t=0;t<7;t++)Fd(i,t);for(let t=0;t<12;t++)Yd(i,t)}},Kr=i=>{if(i.type!=="multiple")return 0;const t=i.HTMLElement.querySelectorAll(`.${i.CSSClasses.column}`),a=Array.from(t).findIndex(l=>l.classList.contains(`${i.CSSClasses.columnMonth}`));return a>0?a:0},Vd=(i,t,a,l,n,r)=>{const u=t.cloneNode(!1);return u.className=`${i.CSSClasses.monthsMonth}${a===r?` ${i.CSSClasses.monthsMonthSelected}`:n?` ${i.CSSClasses.monthsMonthDisabled}`:""}`,u.title=l,u.innerText=`${i.settings.visibility.monthShort?l.substring(0,3):l}`,u.dataset.calendarMonth=String(r),n&&(u.tabIndex=-1),u},Ca=(i,t)=>{var a,l;const n=t!=null&&t.dataset.calendarSelectedMonth?Number(t.dataset.calendarSelectedMonth):i.selectedMonth,r=(a=t==null?void 0:t.closest(`.${i.CSSClasses.column}`))==null?void 0:a.querySelector(`.${i.CSSClasses.year}`),u=r?Number(r.dataset.calendarSelectedYear):i.selectedYear;i.currentType="month",Tr(i,t),Js(i);const f=(l=i.HTMLElement)==null?void 0:l.querySelector(`.${i.CSSClasses.months}`);if(!i.settings.selection.month||!f)return;f.classList.add(i.CSSClasses.monthsSelecting);const p=i.jumpMonths>1?i.locale.months.map((b,k)=>n-i.jumpMonths*k).concat(i.locale.months.map((b,k)=>n+i.jumpMonths*k)).filter(b=>b>=0&&b<=12):Array.from(Array(12).keys()),y=document.createElement("button");y.type="button";for(let b=0;b<12;b++){const k=i.locale.months[b],I=b<i.dateMin.getMonth()+Kr(i)&&u<=i.dateMin.getFullYear()||b>i.dateMax.getMonth()+Kr(i)&&u>=i.dateMax.getFullYear()||b!==n&&!p.includes(b),z=Vd(i,y,n,k,I,b);f.appendChild(z),i.actions.getMonths&&i.actions.getMonths(b,z,i)}},Mr=(i,t)=>i&&t?{0:{AM:"00",PM:"12"},1:{AM:"01",PM:"13"},2:{AM:"02",PM:"14"},3:{AM:"03",PM:"15"},4:{AM:"04",PM:"16"},5:{AM:"05",PM:"17"},6:{AM:"06",PM:"18"},7:{AM:"07",PM:"19"},8:{AM:"08",PM:"20"},9:{AM:"09",PM:"21"},10:{AM:"10",PM:"22"},11:{AM:"11",PM:"23"},12:{AM:"12",PM:"12"}}[Number(i)][t]:"",Ws=(i,t,a)=>i.querySelector(`.${t}${a?` input[name="${a}"]`:""}`),Qr=(i,t,a)=>{i.addEventListener("mouseover",()=>t.classList.add(a)),i.addEventListener("mouseout",()=>t.classList.remove(a))},Yn=(i,t,a,l)=>{({hours:()=>{i.selectedHours=a},minutes:()=>{i.selectedMinutes=a}})[l](),i.selectedTime=`${i.selectedHours}:${i.selectedMinutes}${i.selectedKeeping?` ${i.selectedKeeping}`:""}`,i.actions.changeTime&&i.actions.changeTime(t,i),i.input&&i.HTMLInputElement&&i.actions.changeToInput&&i.actions.changeToInput(t,i)},ea=(i,t,a,l,n,r)=>{t.addEventListener("input",u=>{const f=u.target,p=Number(f.value),y=p<10?`0${p}`:`${p}`;if(n!=="hours"||r!==12)return a.value=y,void Yn(i,u,y,n);p<r&&p>0?(a.value=y,i.selectedKeeping="AM",l.innerText=i.selectedKeeping,Yn(i,u,y,n)):(p===0?(i.selectedKeeping="AM",l.innerText="AM"):(i.selectedKeeping="PM",l.innerText="PM"),a.value=Ps(f.value),Yn(i,u,Ps(f.value),n))})},ta=(i,t,a,l,n,r)=>{a.addEventListener("change",u=>{const f=u.target,p=Number(f.value),y=p<10?`0${p}`:`${p}`;n==="hours"&&r===12?f.value&&p<=r&&p>0?(f.value=y,t.value=Mr(y,i.selectedKeeping),Yn(i,u,y,n)):f.value&&p<24&&(p>r||p===0)?(p===0?(i.selectedKeeping="AM",l.innerText="AM"):(i.selectedKeeping="PM",l.innerText="PM"),f.value=Ps(f.value),t.value=y,Yn(i,u,Ps(f.value),n)):f.value=i.selectedHours:f.value&&p<=r&&p>=0?(f.value=y,t.value=y,Yn(i,u,y,n)):n==="hours"?f.value=i.selectedHours:n==="minutes"&&(f.value=i.selectedMinutes)})},Gd=(i,t,a)=>{t.addEventListener("click",l=>{i.selectedKeeping=t.innerText.includes("AM")?"PM":"AM",t.innerText=i.selectedKeeping,a.value=Mr(i.selectedHours,i.selectedKeeping),Yn(i,l,i.selectedHours,"hours")})},Ud=(i,t,a)=>
28{const l=a===24?23:a||12,n=Ws(t,i.CSSClasses.timeRange,"hours"),r=Ws(t,i.CSSClasses.timeRange,"minutes"),u=Ws(t,i.CSSClasses.timeHours,"hours"),f=Ws(t,i.CSSClasses.timeMinutes,"minutes"),p=t.querySelector(`.${i.CSSClasses.timeKeeping}`);Qr(n,u,i.CSSClasses.isFocus),Qr(r,f,i.CSSClasses.isFocus),ea(i,n,u,p,"hours",l),ea(i,r,f,p,"minutes",0),ta(i,n,u,p,"hours",l),ta(i,r,f,p,"minutes",59),p&&Gd(i,p,n)},ia=(i,t,a,l)=>`<label class="${t}"><input type="text"name="${i}"maxlength="2"value="${a}"${l?"disabled":""}></label>`,na=(i,t,a,l,n,r)=>`<label class="${t}"><input type="range"name="${i}"min="${a}"max="${l}"step="${n}"value="${r}"></label>`,Xd=i=>{const t=i.HTMLElement.querySelector(`.${i.CSSClasses.time}`);if(!t)return;const a=i.settings.selection.time===!0?12:i.settings.selection.time,l=i.settings.selection.controlTime==="range",[n,r]=[0,23],[u,f]=[0,59];t.innerHTML=i.sanitizer(`<div class="${i.CSSClasses.timeContent}">${ia("hours",i.CSSClasses.timeHours,i.selectedHours,l)}${ia("minutes",i.CSSClasses.timeMinutes,i.selectedMinutes,l)}${a===12?`<button type="button" class="${i.CSSClasses.timeKeeping}"${l?"disabled":""}>${i.selectedKeeping}</button>`:""}</div><div class="${i.CSSClasses.timeRanges}">${na("hours",i.CSSClasses.timeRange,n,r,i.settings.selection.stepHours,i.selectedKeeping?Mr(i.selectedHours,i.selectedKeeping):i.selectedHours)}${na("minutes",i.CSSClasses.timeRange,u,f,i.settings.selection.stepMinutes,i.selectedMinutes)}</div>`),Ud(i,t,a)},Jd=(i,t,a)=>{const l=document.createElement("b");t.textContent="";for(let n=0;n<a.length;n++){const r=a[n],u=l.cloneNode(!0);u.className=`${i.CSSClasses.weekDay}`,u.className=`${i.CSSClasses.weekDay}${i.settings.visibility.weekend&&i.settings.iso8601?n===5||n===6?` ${i.CSSClasses.weekDayWeekend}`:"":i.settings.visibility.weekend&&!i.settings.iso8601&&(n===0||n===6)?` ${i.CSSClasses.weekDayWeekend}`:""}`,u.innerText=`${r}`,t.appendChild(u)}},sa=i=>{const t=[...i.locale.weekday];t[0]&&(i.settings.iso8601&&t.push(t.shift()),i.HTMLElement.querySelectorAll(`.${i.CSSClasses.week}`).forEach(a=>Jd(i,a,t)))},Ma=["light","dark","system"],Gs={value:!1,set:()=>{Gs.value=!0},check:()=>Gs.value},La=(i,t)=>Ma.find(a=>{var l;return a!=="system"&&((l=i.getAttribute(t))==null?void 0:l.includes(a))}),qn=(i,t)=>{i.dataset.calendarTheme=t},ra=(i,t)=>{var a;if(a=t,qn(i.HTMLElement,a.matches?"dark":"light"),i.settings.visibility.theme!=="system"||Gs.check())return;const l=n=>{const r=document.querySelectorAll(`.${i.CSSClasses.calendar}`);r==null||r.forEach(u=>qn(u,n.matches?"dark":"light"))};t.addEventListener?t.addEventListener("change",l):t.addListener(l),Gs.set()},Kd=(i,t,a)=>{new MutationObserver(l=>{for(let n=0;n<l.length;n++)if(l[n].attributeName===a){const r=La(t,a);r&&qn(i.HTMLElement,r);break}}).observe(t,{attributes:!0})},Qd=(i,t)=>{const a=i.settings.visibility.themeDetect?document.querySelector(i.settings.visibility.themeDetect):null;if(!a)return void ra(i,t);const l=i.settings.visibility.themeDetect.replace(/^.*\[(.+)\]/g,(r,u)=>u),n=La(a,l);n?(qn(i.HTMLElement,n),Kd(i,a,l)):ra(i,t)},ec=i=>{if(!Ma.includes(i.settings.visibility.theme))throw new Error(ds.incorrectTheme);if(window.matchMedia("(prefers-color-scheme)").media==="not all")return void qn(i.HTMLElement,"light");({light:()=>qn(i.HTMLElement,"light"),dark:()=>qn(i.HTMLElement,"dark"),system:()=>Qd(i,window.matchMedia("(prefers-color-scheme: dark)"))})[i.settings.visibility.theme]()},Is=i=>{const t={default:()=>{sa(i),Vs(i)},multiple:()=>{sa(i),Vs(i)},month:()=>Ca(i),year:()=>
28Cr(i)};ec(i),qd(i),Tr(i),Js(i),_r(i),Xd(i),t[i.currentType]()},Xe={self:null,rangeMin:void 0,rangeMax:void 0},aa=()=>{var i;if(!((i=Xe.self)!=null&&i.HTMLElement))return;const{CSSClasses:t}=Xe.self;Xe.self.HTMLElement.querySelectorAll(`.${Xe.self.CSSClasses.dayBtnHover}`).forEach(a=>{var l;a.classList.remove(Xe.self.CSSClasses.dayBtnHover),(l=a.parentElement)==null||l.classList.remove(t.dayHoverIntermediate,t.dayHoverFirst,t.dayHoverLast)})},tc=(i,t,a)=>{var l,n,r;if(!((l=Xe.self)!=null&&l.selectedDates))return;const u=Ji(i),{CSSClasses:f}=Xe.self;if((n=Xe.self.rangeDisabled)!=null&&n.includes(u))return;const p=(r=Xe.self.HTMLElement)==null?void 0:r.querySelectorAll(`[data-calendar-day="${u}"]`);p==null||p.forEach(y=>{var b;y.classList.add(f.dayBtnHover),(b=y.parentElement)==null||b.classList.add(f.dayHoverIntermediate)}),t==null||t.forEach(y=>{var b;return(b=y.parentElement)==null?void 0:b.classList.add(f.dayHoverFirst)}),a==null||a.forEach(y=>{var b;return(b=y.parentElement)==null?void 0:b.classList.add(f.dayHoverLast)})},mr=i=>{var t;if(!i.target||!((t=Xe.self)!=null&&t.selectedDates))return;if(!i.target.closest(`.${Xe.self.CSSClasses.days}`))return void aa();const a=i.target.closest("[data-calendar-day]");if(!a)return;const l=a.dataset.calendarDay,n=ft(Xe.self.selectedDates[0]),r=ft(l),u=Xe.self.HTMLElement.querySelectorAll(`[data-calendar-day="${Xe.self.selectedDates[0]}"]`),f=Xe.self.HTMLElement.querySelectorAll(`[data-calendar-day="${l}"]`),[p,y]=n<r?[u,f]:[f,u],[b,k]=n<r?[n,r]:[r,n];aa();for(let I=new Date(b);I<=k;I.setDate(I.getDate()+1))tc(I,p,y)},gr=i=>{Xe.self&&i.key==="Escape"&&(Xe.self.selectedDates=[],Xe.self.HTMLElement.removeEventListener("mousemove",mr),document.removeEventListener("keydown",gr),Is(Xe.self))},ic=()=>{var i,t,a;if(!((t=(i=Xe.self)==null?void 0:i.selectedDates)!=null&&t[0])||!((a=Xe.self.rangeDisabled)!=null&&a[0]))return;const l=ft(Xe.self.selectedDates[0]),[n,r]=Xe.self.rangeDisabled.map(u=>ft(u)).reduce(([u,f],p)=>[l>=p?p:u,l<p&&f===null?p:f],[null,null]);n&&(Xe.self.rangeMin=Ji(new Date(n.setDate(n.getDate()+1)))),r&&(Xe.self.rangeMax=Ji(new Date(r.setDate(r.getDate()-1))))},Ea=(i,t)=>{var a;if(t){const l=i.selectedDates.length===1&&i.selectedDates[0].includes(t);i.selectedDates=l&&!i.settings.selection.cancelableDay?[t,t]:l&&i.settings.selection.cancelableDay?[]:i.selectedDates.length>1?[t]:[...i.selectedDates,t],(a=i.selectedDates)==null||a.sort((n,r)=>+new Date(n)-+new Date(r))}i.settings.range.disableGaps&&(Xe.rangeMin=Xe.rangeMin?Xe.rangeMin:i.rangeMin,Xe.rangeMax=Xe.rangeMax?Xe.rangeMax:i.rangeMax),Xe.self=i,{set:()=>{i.HTMLElement.addEventListener("mousemove",mr),document.addEventListener("keydown",gr),i.settings.range.disableGaps&&ic()},reset:()=>{const[l,n]=[i.selectedDates[0],i.selectedDates[i.selectedDates.length-1]];i.selectedDates=i.selectedDates[0]!==i.selectedDates[i.selectedDates.length-1]?i.settings.range.edgesOnly?[l,n]:os([`${l}:${n}`]):[i.selectedDates[0],i.selectedDates[0]],i.HTMLElement.removeEventListener("mousemove",mr),document.removeEventListener("keydown",gr),i.settings.range.disableGaps&&Xe.self&&(Xe.self.rangeMin=Xe.rangeMin,Xe.self.rangeMax=Xe.rangeMax)}}[i.selectedDates.length===1?"set":"reset"]()},oa=(i,t,a)=>{if(!t.dataset.calendarDay)return;const l=t.dataset.calendarDay,n=t.classList.contains(i.CSSClasses.dayBtnSelected);if(n&&!i.settings.selection.cancelableDay)return;let r=!0;i.toggleSelected!==void 0&&(r=typeof i.toggleSelected=="function"?i.toggleSelected(i):i.toggleSelected),n&&!r||(i.selectedDates=n?i.selectedDates.filter(u=>u!==l):a?[...i.selectedDates,l]:[l])},nc=(i,t)=>{var a;const l=t.target,n=p=>l.closest(`.${p}`),r=n(i.CSSClasses.dayBtn);if(!i.settings.selection.day||!["single","multiple","multiple-ranged"].includes(i.settings.selection.day)||!r)return;({single:()=>oa(i,r,!1),multiple:()=>oa(i,r,!0),"multiple-ranged":()=>Ea(i,r.dataset.calendarDay)})[i.settings.selection.day](),(a=i.selectedDates)==null||a.sort((p,y)=>+new Date(p)-+new Date(y)),i.actions.clickDay&&i.actions.clickDay(t,i),i.input&&i.HTMLInputElement&&i.HTMLElement&&i.actions.changeToInput&&i.actions.changeToInput(t,i);
28const u=n(i.CSSClasses.dayBtnPrev),f=n(i.CSSClasses.dayBtnNext);({prev:()=>pr(i,"prev"),next:()=>pr(i,"next"),default:()=>Vs(i)})[u?"prev":f?"next":"default"]()},la=(i,t,a,l,n)=>{const r=i.HTMLElement.querySelectorAll(`.${i.CSSClasses.column}`),u=Array.from(r).findIndex(p=>p.classList.contains(t)),f=Number(r[u].querySelector(`.${a}`).getAttribute(n));return i.currentType==="month"&&u>=0?l-u:i.currentType==="year"&&i.selectedYear!==f?l-1:l},sc=(i,t,a,l,n)=>{const r={year:()=>{var u,f;return(f=(u=i.actions).clickYear)==null?void 0:f.call(u,t,i)},month:()=>{var u,f;return(f=(u=i.actions).clickMonth)==null?void 0:f.call(u,t,i)}};({year:()=>{if(i.type==="multiple"){const u=la(i,i.CSSClasses.columnYear,i.CSSClasses.year,Number(n.dataset.calendarYear),"data-calendar-selected-year"),f=i.selectedMonth<i.dateMin.getMonth()&&u<=i.dateMin.getFullYear(),p=i.selectedMonth>i.dateMax.getMonth()&&u>=i.dateMax.getFullYear(),y=u<i.dateMin.getFullYear(),b=u>i.dateMax.getFullYear();f||y?(i.selectedYear=i.dateMin.getFullYear(),i.selectedMonth=i.dateMin.getMonth()):p||b?(i.selectedYear=i.dateMax.getFullYear(),i.selectedMonth=i.dateMax.getMonth()):i.selectedYear=u}else i.selectedYear=Number(n.dataset.calendarYear)},month:()=>{if(i.type==="multiple"){const u=la(i,i.CSSClasses.columnMonth,i.CSSClasses.month,Number(n.dataset.calendarMonth),"data-calendar-selected-month"),f=n.closest(`.${l.column}`).querySelector(`.${i.CSSClasses.year}`);i.selectedYear=Number(f.dataset.calendarSelectedYear);const p=u<i.dateMin.getMonth()&&i.selectedYear<=i.dateMin.getFullYear(),y=u>i.dateMax.getMonth()&&i.selectedYear>=i.dateMax.getFullYear();i.selectedMonth=p?i.dateMin.getMonth():y?i.dateMax.getMonth():u}else i.selectedMonth=Number(n.dataset.calendarMonth)}})[a](),r[a](),i.currentType=i.type,Is(i)},da=(i,t,a,l)=>{if(!i.settings.selection[a])return;const n=t.target,r=b=>n.closest(`.${b}`),u=r(l.header),f=r(l.item),p=r(i.CSSClasses.grid),y=r(i.CSSClasses.column);i.currentType!==a&&u?{year:()=>
28Cr(i,n),month:()=>Ca(i,n)}[a]():f?sc(i,t,a,l,f):(i.currentType===a&&u||i.type==="multiple"&&i.currentType===a&&p&&!y)&&(i.currentType=i.type,Is(i))},Pa=i=>{const t=a=>{Zd(i,a),Wd(i,a),nc(i,a),da(i,a,"month",{header:i.CSSClasses.month,item:i.CSSClasses.monthsMonth,column:i.CSSClasses.columnMonth}),da(i,a,"year",{header:i.CSSClasses.year,item:i.CSSClasses.yearsYear,column:i.CSSClasses.columnYear})};return i.HTMLElement.addEventListener("click",t),()=>i.HTMLElement.removeEventListener("click",t)},ka=(i,{year:t,month:a,dates:l,holidays:n,time:r}={})=>{var u;const f=_a({},i.settings.selected);i.settings.selected.year=t?f.year:i.selectedYear,i.settings.selected.month=a?f.month:i.selectedMonth,i.settings.selected.holidays=n?f.holidays:i.selectedHolidays,i.settings.selected.time=r?f.time:i.selectedTime,i.settings.selected.dates=l==="only-first"&&((u=i.selectedDates)!=null&&u[0])?[i.selectedDates[0]]:l===!0?f.dates:i.selectedDates,ba(i),Is(i),i.settings.selected=f,i.settings.selection.day==="multiple-ranged"&&l&&Ea(i)},Ia=(i,t=!0)=>{i.isInputInit=!0;const a=document.createElement("div");return a.className=`${i.CSSClasses.calendar} ${i.CSSClasses.calendarToInput} ${i.CSSClasses.calendarHidden}`,i.HTMLElement=a,document.body.appendChild(i.HTMLElement),i.HTMLElement.style.visibility="hidden",t&&queueMicrotask(()=>{hr(i.HTMLInputElement,a,i.settings.visibility.positionToInput,i.CSSClasses),i.HTMLElement.style.visibility="visible",i.show()}),ka(i,{year:!0,month:!0,dates:!0,holidays:!0,time:!0}),i.actions.initCalendar&&i.actions.initCalendar(i),Pa(i)},rc=i=>{const t=[];i.HTMLInputElement=i.HTMLElement;const a=()=>hr(i.HTMLInputElement,i.HTMLElement,i.settings.visibility.positionToInput,i.CSSClasses),l=u=>{u.key==="Escape"&&(i!=null&&i.HTMLInputElement&&(i!=null&&i.HTMLElement)&&i.hide(),document.removeEventListener("keydown",l))},n=u=>{var f;i&&u.target!==i.HTMLInputElement&&!((f=i.HTMLElement)!=null&&f.contains(u.target))&&(i.HTMLInputElement&&i.HTMLElement&&i.hide(),window.removeEventListener("resize",a),document.removeEventListener("click",n,{capture:!0}))},r=()=>{i.isInputInit?(hr(i.HTMLInputElement,i.HTMLElement,i.settings.visibility.positionToInput,i.CSSClasses),i.HTMLElement.style.visibility="visible",i.show()):t.push(Ia(i)),window.addEventListener("resize",a),document.addEventListener("click",n,{capture:!0}),document.addEventListener("keydown",l)};return i.HTMLInputElement.addEventListener("click",r),i.HTMLInputElement.addEventListener("focus",r),()=>{t.forEach(u=>u())}},ac=(i,{year:t,month:a,dates:l,holidays:n,time:r}={})=>{if(!i.isInit)throw new Error(ds.notInit);i.input&&!i.isInputInit&&Ia(i,!1),ka(i,{year:t,month:a,dates:l,holidays:n,time:r}),i.actions.updateCalendar&&i.actions.updateCalendar(i)},oc=i=>{var t,a,l,n,r,u;if(!i.isInit)throw new Error(ds.notInit);i.input?((a=(t=i.HTMLElement)==null?void 0:t.parentElement)==null||a.removeChild(i.HTMLElement),(n=(l=i.HTMLInputElement)==null?void 0:l.replaceWith)==null||n.call(l,i.HTMLOriginalElement),i.HTMLInputElement=void 0):(u=(r=i.HTMLElement)==null?void 0:r.replaceWith)==null||u.call(r,i.HTMLOriginalElement),i.HTMLElement=i.HTMLOriginalElement,i.actions.destroyCalendar&&i.actions.destroyCalendar(i)};class lc extends ld{constructor(t,a){if(super(),Be(this,"init",()=>{return(n=this).HTMLOriginalElement=n.HTMLElement.cloneNode(!0),n.isInit=!0,n.input?rc(n):(ba(n),Is(n),n.actions.initCalendar&&n.actions.initCalendar(n),Pa(n));var n}),Be(this,"update",n=>ac(this,n)),Be(this,"destroy",()=>oc(this)),Be(this,"show",()=>{var n;(n=this).currentType?(n.HTMLElement.classList.remove(n.CSSClasses.calendarHidden),n.actions.showCalendar&&n.actions.showCalendar(n)):n.HTMLElement.click()}),Be(this,"hide",()=>{var n;(n=this).currentType&&(n.HTMLElement.classList.add(n.CSSClasses.calendarHidden),n.actions.hideCalendar&&n.actions.hideCalendar(n))}),this.HTMLElement=typeof t=="string"?document.querySelector(t):t,!this.HTMLElement)throw new Error(ds.notFoundSelector(t));if(!a)return;const l=(n,r)=>{Object.keys(r).forEach(u=>{typeof n[u]!="object"||typeof r[u]!="object"||r[u]instanceof Date?n[u]=r[u]:l(n[u],r[u])})};l(this,a)}}const dc=()=>{let i;const t=b=>new URLSearchParams(window.location.search).get(b),a=t("start_date"),l=t("end_date"),n=[];a&&l?n.push(a+","+l):a?n.push(a):l&&n.push(l);
28const r={input:!0,actions:{changeToInput(b,k){if(typeof k.self<"u"&&(k=k.self),!k.HTMLInputElement)return;const I=k.selectedDates[k.selectedDates.length-1];I&&k.selectedDates.length>1?k.HTMLInputElement.value=k.selectedDates[0]+" - "+I:k.selectedDates[0]?k.HTMLInputElement.value=k.selectedDates[0]:k.HTMLInputElement.value="",clearTimeout(i),i=setTimeout(()=>{q(".js-event-filter").submit()},500)}},settings:{lang:"hu",visibility:{theme:"light",daysOutside:!1},selection:{day:"multiple-ranged"},selected:{dates:n}}},u=new lc("#calendar-input",r);u.init();function f(){const b=u.selectedDates,I=q(".js-event-filter").serializeArray();if(!b)return I;if(b.length>=1&&I.push({name:"start_date",value:b[0]}),b.length>1){const z=b[b.length-1];I.push({name:"end_date",value:z})}return I}const p=(b,k=1)=>{const I=new URLSearchParams;I.set("page",k),b.forEach(({name:C,value:x})=>{const h=C.replace(/\[\]$/,"");if(!(x==="all"||x===""||x===void 0))if(I.has(h)){const _=I.get(h);I.set(h,`${_},${x}`)}else I.set(h,x)});const z=`${window.location.pathname}?${I.toString()}`;window.history.pushState({},"",z),sessionStorage.setItem("lastEventListUrl",window.location.href)};q(".js-event-filter").on("change",'select, input[type="checkbox"]',function(){q(this).closest("form").submit()}),q(window).on("popstate",function(){sessionStorage.setItem("lastEventListUrl",window.location.href),window.location.reload()}),q('.js-event-filter input[type="text"]').on("input",function(){clearTimeout(i),i=setTimeout(()=>{q(this).closest("form").submit()},500)});function y(b){const k=f();q(".js-event-loader").removeClass("hidden"),p(k,b),q.ajax({url:localize.ajax_url,dataType:"JSON",type:"POST",data:{action:"filter_events",data:k,paged:b},success(I){q(".js-event-wrapper").html("").append(I.html),q(".js-event-loader").addClass("hidden"),q("html, body").animate({scrollTop:q("body").offset().top},300)}})}q(".js-event-filter").on("submit",function(b){b.preventDefault(),y(1)}),q(document).on("click keypress",".js-event-wrapper .js-pagination-custom",function(b){if(b.type==="click"||b.type==="keypress"&&b.key==="Enter"){const k=q(this).data("page");y(k)}})};var Aa={exports:{}};(function(i,t){(function(a,l){i.exports=l()})(vr,function(){class a{constructor(h){h||(h={}),this.main=h.main||"ss-main",this.placeholder=h.placeholder||"ss-placeholder",this.values=h.values||"ss-values",this.single=h.single||"ss-single",this.max=h.max||"ss-max",this.value=h.value||"ss-value",this.valueText=h.valueText||"ss-value-text",this.valueDelete=h.valueDelete||"ss-value-delete",this.valueOut=h.valueOut||"ss-value-out",this.deselect=h.deselect||"ss-deselect",this.deselectPath=h.deselectPath||"M10,10 L90,90 M10,90 L90,10",this.arrow=h.arrow||"ss-arrow",this.arrowClose=h.arrowClose||"M10,30 L50,70 L90,30",this.arrowOpen=h.arrowOpen||"M10,70 L50,30 L90,70",this.content=h.content||"ss-content",this.openAbove=h.openAbove||"ss-open-above",this.openBelow=h.openBelow||"ss-open-below",this.search=h.search||"ss-search",this.searchHighlighter=h.searchHighlighter||"ss-search-highlight",this.searching=h.searching||"ss-searching",this.addable=h.addable||"ss-addable",this.addablePath=h.addablePath||"M50,10 L50,90 M10,50 L90,50",this.list=h.list||"ss-list",this.optgroup=h.optgroup||"ss-optgroup",this.optgroupLabel=h.optgroupLabel||"ss-optgroup-label",this.optgroupLabelText=h.optgroupLabelText||"ss-optgroup-label-text",this.optgroupActions=h.optgroupActions||"ss-optgroup-actions",this.optgroupSelectAll=h.optgroupSelectAll||"ss-selectall",this.optgroupSelectAllBox=h.optgroupSelectAllBox||"M60,10 L10,10 L10,90 L90,90 L90,50",this.optgroupSelectAllCheck=h.optgroupSelectAllCheck||"M30,45 L50,70 L90,10",this.optgroupClosable=h.optgroupClosable||"ss-closable",this.option=h.option||"ss-option",this.optionDelete=h.optionDelete||"M10,10 L90,90 M10,90 L90,10",this.highlighted=h.highlighted||"ss-highlighted",this.open=h.open||"ss-open",this.close=h.close||"ss-close",this.selected=h.selected||"ss-selected",this.error=h.error||"ss-error",this.disabled=h.disabled||"ss-disabled",this.hide=h.hide||"ss-hide"}}function l(){return Math.random().toString(36).substring(2,10)}function n(x,h){function _(S,O){return O&&S&&S.classList&&S.classList.contains(O)||O&&S&&S.dataset&&S.dataset.id&&S.dataset.id===h?S:null}function M(S,O){return!S||S===document?null:_(S,O)?S:M(S.parentNode,O)}return _(x,h)||M(x,h)}function r(x,h=50,_=!1){let M;return function(...S){const O=self,j=()=>{M=null,_||x.apply(O,S)},R=_&&!M;
28clearTimeout(M),M=setTimeout(j,h),R&&x.apply(O,S)}}function u(x,h){return JSON.stringify(x)===JSON.stringify(h)}function f(x){const h=x.replace(/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,_=>"-"+_.toLowerCase());return x[0]===x[0].toUpperCase()?h.substring(1):h}class p{constructor(h){if(this.id=!h.id||h.id===""?l():h.id,this.label=h.label||"",this.selectAll=h.selectAll===void 0?!1:h.selectAll,this.selectAllText=h.selectAllText||"Select All",this.closable=h.closable||"off",this.options=[],h.options)for(const _ of h.options)this.options.push(new y(_))}}class y{constructor(h){this.id=!h.id||h.id===""?l():h.id,this.value=h.value===void 0?h.text:h.value,this.text=h.text||"",this.html=h.html||"",this.defaultSelected=h.defaultSelected!==void 0?h.defaultSelected:!1,this.selected=h.selected!==void 0?h.selected:!1,this.display=h.display!==void 0?h.display:!0,this.disabled=h.disabled!==void 0?h.disabled:!1,this.mandatory=h.mandatory!==void 0?h.mandatory:!1,this.placeholder=h.placeholder!==void 0?h.placeholder:!1,this.class=h.class||"",this.style=h.style||"",this.data=h.data||{}}}class b{constructor(h,_){this.selectType="single",this.data=[],this.selectedOrder=[],this.selectType=h,this.setData(_)}validateDataArray(h){if(!Array.isArray(h))return new Error("Data must be an array");for(let _ of h)if(_ instanceof p||"label"in _){if(!("label"in _))return new Error("Optgroup must have a label");if("options"in _&&_.options)for(let M of _.options){const S=this.validateOption(M);if(S)return S}}else if(_ instanceof y||"text"in _){const M=this.validateOption(_);if(M)return M}else return new Error("Data object must be a valid optgroup or option");return null}validateOption(h){return"text"in h?null:new Error("Option must have a text")}partialToFullData(h){let _=[];return h.forEach(M=>{if(M instanceof p||"label"in M){let S=[];"options"in M&&M.options&&M.options.forEach(O=>{S.push(new y(O))}),S.length>0&&_.push(new p(M))}(M instanceof y||"text"in M)&&_.push(new y(M))}),_}setData(h){this.data=this.partialToFullData(h),this.selectType==="single"&&this.setSelectedBy("id",this.getSelected())}getData(){return this.filter(null,!0)}getDataOptions(){return this.filter(null,!1)}addOption(h,_=!1){if(_){let M=[new y(h)];this.setData(M.concat(this.getData()))}else this.setData(this.getData().concat(new y(h)))}setSelectedBy(h,_){let M=null,S=!1;const O=[];for(let R of this.data){if(R instanceof p)for(let m of R.options)M||(M=m),m.selected=S?!1:_.includes(m[h]),m.selected&&(O.push(m),this.selectType==="single"&&(S=!0));R instanceof y&&(M||(M=R),R.selected=S?!1:_.includes(R[h]),R.selected&&(O.push(R),this.selectType==="single"&&(S=!0)))}this.selectType==="single"&&M&&!S&&(M.selected=!0,O.push(M));const j=_.map(R=>{var m;return((m=O.find(J=>J[h]===R))===null||m===void 0?void 0:m.id)||""});this.selectedOrder=j}getSelected(){return this.getSelectedOptions().map(h=>h.id)}getSelectedValues(){return this.getSelectedOptions().map(h=>h.value)}getSelectedOptions(){return this.filter(h=>h.selected,!1)}getOptgroupByID(h){for(let _ of this.data)if(_ instanceof p&&_.id===h)return _;return null}getOptionByID(h){let _=this.filter(M=>M.id===h,!1);return _.length?_[0]:null}getSelectType(){return this.selectType}getFirstOption(){let h=null;for(let _ of this.data)if(_ instanceof p?h=_.options[0]:_ instanceof y&&(h=_),h)break;return h}search(h,_){return h=h.trim(),h===""?this.getData():this.filter(M=>_(M,h),!0)}filter(h,_){const M=[];return this.data.forEach(S=>{if(S instanceof p){let O=[];if(S.options.forEach(j=>{(!h||h(j))&&(_?O.push(new y(j)):M.push(new y(j)))}),O.length>0){let j=new p(S);j.options=O,M.push(j)}}S instanceof y&&(!h||h(S))&&M.push(new y(S))}),M}selectedOrderOptions(h){const _=[];return this.selectedOrder.forEach(M=>{const S=h.find(O=>O.id===M);S&&_.push(S)}),h.forEach(M=>{let S=!1;_.forEach(O=>{if(M.id===O.id){S=!0;return}}),S||_.push(M)}),_}}class k{constructor(h,_,M,S){this.store=M,this.settings=h,this.classes=_,this.callbacks=S,this.lastSelectedOption=null,this.main=this.mainDiv(),this.content=this.contentDiv(),this.updateClassStyles(),this.updateAriaAttributes(),this.settings.contentLocation&&this.settings.contentLocation.appendChild(this.content.main)}enable(){this.main.main.classList.remove(this.classes.disabled),this.content.search.input.disabled=!1}disable(){this.main.main.classList.add(this.classes.disabled),this.content.search.input.disabled=!0}open(){this.main.arrow.path.setAttribute("d",this.classes.arrowOpen),this.main.main.classList.add(this.settings.openPosition==="up"?this.classes.openAbove:this.classes.openBelow),this.main.main.setAttribute("aria-expanded","true"),this.moveContent();const h=this.store.getSelectedOptions();if(h.length){const _=h[h.length-1].id,M=this.content.list.querySelector('[data-id="'+_+'"]');M&&this.ensureElementInView(this.content.list,M)}}close(){this.main.main.classList.remove(this.classes.openAbove),this.main.main.classList.remove(this.classes.openBelow),this.main.main.setAttribute("aria-expanded","fal
28se"),this.content.main.classList.remove(this.classes.openAbove),this.content.main.classList.remove(this.classes.openBelow),this.main.arrow.path.setAttribute("d",this.classes.arrowClose)}updateClassStyles(){if(this.main.main.className="",this.main.main.removeAttribute("style"),this.content.main.className="",this.content.main.removeAttribute("style"),this.main.main.classList.add(this.classes.main),this.content.main.classList.add(this.classes.content),this.settings.style!==""&&(this.main.main.style.cssText=this.settings.style,this.content.main.style.cssText=this.settings.style),this.settings.class.length)for(const h of this.settings.class)h.trim()!==""&&(this.main.main.classList.add(h.trim()),this.content.main.classList.add(h.trim()));(this.settings.contentPosition==="relative"||this.settings.contentPosition==="fixed")&&this.content.main.classList.add("ss-"+this.settings.contentPosition)}updateAriaAttributes(){var h;this.main.main.role="combobox",this.main.main.setAttribute("aria-haspopup","listbox"),this.main.main.setAttribute("aria-controls",(h=this.content.main.dataset.id)!==null&&h!==void 0?h:""),this.main.main.setAttribute("aria-expanded","false"),this.content.main.setAttribute("role","listbox")}mainDiv(){var h;const _=document.createElement("div");_.dataset.id=this.settings.id,_.setAttribute("aria-label",this.settings.ariaLabel),_.tabIndex=0,_.onkeydown=Z=>{switch(Z.key){case"ArrowUp":case"ArrowDown":return this.callbacks.open(),Z.key==="ArrowDown"?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.callbacks.close(),!0;case"Enter":case" ":this.callbacks.open();const G=this.content.list.querySelector("."+this.classes.highlighted);return G&&G.click(),!1;case"Escape":return this.callbacks.close(),!1}return Z.key.length===1&&this.callbacks.open(),!0},_.onclick=Z=>{this.settings.disabled||(this.settings.isOpen?this.callbacks.close():this.callbacks.open())};const M=document.createElement("div");M.classList.add(this.classes.values),_.appendChild(M);const S=document.createElement("div");S.classList.add(this.classes.deselect);const O=(h=this.store)===null||h===void 0?void 0:h.getSelectedOptions();!this.settings.allowDeselect||this.settings.isMultiple&&O&&O.length<=0?S.classList.add(this.classes.hide):S.classList.remove(this.classes.hide),S.onclick=Z=>{if(Z.stopPropagation(),this.settings.disabled)return;let G=!0;const te=this.store.getSelectedOptions(),ee=[];if(this.callbacks.beforeChange&&(G=this.callbacks.beforeChange(ee,te)===!0),G){if(this.settings.isMultiple)this.callbacks.setSelected([],!1),this.updateDeselectAll();else{const U=this.store.getFirstOption(),re=U?U.id:"";this.callbacks.setSelected(re,!1)}this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(this.store.getSelectedOptions())}};const j=document.createElementNS("http://www.w3.org/2000/svg","svg");j.setAttribute("viewBox","0 0 100 100");const R=document.createElementNS("http://www.w3.org/2000/svg","path");R.setAttribute("d",this.classes.deselectPath),j.appendChild(R),S.appendChild(j),_.appendChild(S);const m=document.createElementNS("http://www.w3.org/2000/svg","svg");m.classList.add(this.classes.arrow),m.setAttribute("viewBox","0 0 100 100");const J=document.createElementNS("http://www.w3.org/2000/svg","path");return J.setAttribute("d",this.classes.arrowClose),this.settings.alwaysOpen&&m.classList.add(this.classes.hide),m.appendChild(J),_.appendChild(m),{main:_,values:M,deselect:{main:S,svg:j,path:R},arrow:{main:m,path:J}}}mainFocus(h){h!=="click"&&this.main.main.focus({preventScroll:!0})}placeholder(){const h=this.store.filter(S=>S.placeholder,!1);let _=this.settings.placeholderText;h.length&&(h[0].html!==""?_=h[0].html:h[0].text!==""&&(_=h[0].text));const M=document.createElement("div");return M.classList.add(this.classes.placeholder),M.innerHTML=_,M}renderValues(){if(!this.settings.isMultiple){this.renderSingleValue();return}this.renderMultipleValues(),this.updateDeselectAll()}renderSingleValue(){const h=this.store.filter(M=>M.selected&&!M.placeholder,!1),_=h.length>0?h[0]:null;if(!_)this.main.values.innerHTML=this.placeholder().outerHTML;else{const M=document.createElement("div");M.classList.add(this.classes.single),_.html?M.innerHTML=_.html:M.innerText=_.text,this.main.values.innerHTML=M.outerHTML}!this.settings.allowDeselect||!h.length?this.main.deselect.main.classList.add(this.classes.hide):this.main.deselect.main.classList.remove(this.classes.hide)}renderMultipleValues(){let h=this.main.values.childNodes,_=this.store.filter(S=>S.selected&&S.display,!1);if(_.length===0){this.main.values.innerHTML=this.placeholder().outerHTML;return}else{const S=this.main.values.querySelector("."+this.classes.placeholder);S&&S.remove()}if(_.length>this.settings.maxValuesShown){const S=document.createElement("div");S.classList.add(this.classes.max),S.textContent=this.settings.maxValuesMessage.replace("{number}",_.length.toString()),this.main.values.innerHTML=S.outerHTML;return}else{const S=this.main.values.querySelector("."+this.classes.max);S&&S.remove()}this.settings.keepOrder&&(_=this.store.selectedOrderOptions(_));let M=[];for(let S=0;S<h.length;S++){const O=h[S],j=O.getAttribute("data-id");j&&(_.filter(m=>m.id===j,!1).length||M.push(O))}for(const S of M)S.classList.add(this.classes.valueOut),setTimeout(()=>{this.main.values.hasChildNodes()&&this.main.values.contains(S)&&this.main.values.removeChild(S)},100);h=this.main.values.childNodes;for(let S=0;S<_.length;S++){let O=!0;for(let j=0;j<h.length;j++)_[S].id===String(h[j].dataset.id)&&(O=!1);O&&(this.settings.keepOrder?this.main.values.appendChild(this.multipleValue(_[S])):h.length===0?this.main.values.appendChild(this.multipleValue(_[S])):S===0?this.main.values.insertBefore(this.multipleValue(_[S]),h[S]):h[S-1].insertAdjacentElement("afterend",this.multipleValue(_[S])))}}multipleValue(h){const _=document.createElement("div");_.classList.add(this.classes.value),_.dataset.id=h.id;const M=document.createElement("div");if(M.classList.add(this.classes.valueText),M.textContent=h.text,_.appendChild(M),!h.mandatory){const S=document.createElement("div");S.classList.add(this.classes.valueDelete),S.setAttribute("tabindex","0"),S.onclick=R=>{if(R.preventDefault(),R.stopPropagation(),this.settings.disabled)return;let m=!0;const J=this.store.getSelectedOptions(),Z=J.filter(G=>G.selected&&G.id!==h.id,!0);if(!(this.settings.minSelected&&Z.length<this.settings.minSelected)&&(this.callbacks.beforeChange&&(m=this.callbacks.beforeChange(Z,J)===!0),m)){let G=[];for(const te of Z){if(te instanceof p)for(const ee of te.options)G.push(ee.id);te instanceof y&&G.push(te.id)}this.callbacks.setSelected(G,!1),this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(Z),this.updateDeselectAll()}};const O=document.createElementNS("http://www.w3.org/2000/svg","svg");O.setAttribute("viewBox","0 0 100 100");const j=document.createElementNS("http://www.w3.org/2000/svg","path");j.setAttribute("d",this.classes.optionDelete),O.appendChild(j),S.appendChild(O),_.appendChild(S),S.onkeydown=R=>{R.key==="Enter"&&S.click()}}return _}contentDiv(){const h=document.createElement("div");h.dataset.id=this.settings.id;const _=this.searchDiv();h.appendChild(_.main);const M=this.listDiv();return h.appendChild(M),{main:h,search:_,list:M}}moveContent(){if(this.settings.contentPosition==="relative"){this.moveContentBelow();return}if(this.settings.openPosition==="down"){this.moveContentBelow();return}else if(this.settings.openPosition==="up"){this.moveContentAbove();return}this.putContent()==="up"?this.moveContentAbove():this.moveContentBelow()}searchDiv(){const h=document.createElement("div"),_=document.createElement("input"),M=document.createElement("div");h.classList.add(this.classes.search);
28const S={main:h,input:_};if(this.settings.showSearch||(h.classList.add(this.classes.hide),_.readOnly=!0),_.type="search",_.placeholder=this.settings.searchPlaceholder,_.tabIndex=-1,_.setAttribute("aria-label",this.settings.searchPlaceholder),_.setAttribute("autocapitalize","off"),_.setAttribute("autocomplete","off"),_.setAttribute("autocorrect","off"),_.oninput=r(O=>{this.callbacks.search(O.target.value)},100),_.onkeydown=O=>{switch(O.key){case"ArrowUp":case"ArrowDown":return O.key==="ArrowDown"?this.highlight("down"):this.highlight("up"),!1;case"Tab":return this.callbacks.close(),!0;case"Escape":return this.callbacks.close(),!1;case" ":const j=this.content.list.querySelector("."+this.classes.highlighted);return j?(j.click(),!1):!0;case"Enter":if(this.callbacks.addable)return M.click(),!1;{const R=this.content.list.querySelector("."+this.classes.highlighted);if(R)return R.click(),!1}return!0}return!0},h.appendChild(_),this.callbacks.addable){M.classList.add(this.classes.addable);const O=document.createElementNS("http://www.w3.org/2000/svg","svg");O.setAttribute("viewBox","0 0 100 100");const j=document.createElementNS("http://www.w3.org/2000/svg","path");j.setAttribute("d",this.classes.addablePath),O.appendChild(j),M.appendChild(O),M.onclick=R=>{if(R.preventDefault(),R.stopPropagation(),!this.callbacks.addable)return;const m=this.content.search.input.value.trim();if(m===""){this.content.search.input.focus();return}const J=G=>{let te=new y(G);if(this.callbacks.addOption(te),this.settings.isMultiple){let ee=this.store.getSelected();ee.push(te.id),this.callbacks.setSelected(ee,!0)}else this.callbacks.setSelected([te.id],!0);this.callbacks.search(""),this.settings.closeOnSelect&&setTimeout(()=>{this.callbacks.close()},100)},Z=this.callbacks.addable(m);Z===!1||Z===void 0||Z===null||(Z instanceof Promise?Z.then(G=>{typeof G=="string"?J({text:G,value:G}):Z instanceof Error?this.renderError(Z.message):J(G)}):typeof Z=="string"?J({text:Z,value:Z}):Z instanceof Error?this.renderError(Z.message):J(Z))},h.appendChild(M),S.addable={main:M,svg:O,path:j}}return S}searchFocus(){this.content.search.input.focus()}getOptions(h=!1,_=!1,M=!1){let S="."+this.classes.option;return h&&(S+=":not(."+this.classes.placeholder+")"),_&&(S+=":not(."+this.classes.disabled+")"),M&&(S+=":not(."+this.classes.hide+")"),Array.from(this.content.list.querySelectorAll(S))}highlight(h){const _=this.getOptions(!0,!0,!0);if(_.length===0)return;if(_.length===1&&!_[0].classList.contains(this.classes.highlighted)){_[0].classList.add(this.classes.highlighted);return}let M=!1;for(const S of _)S.classList.contains(this.classes.highlighted)&&(M=!0);if(!M){for(const S of _)if(S.classList.contains(this.classes.selected)){S.classList.add(this.classes.highlighted);break}}for(let S=0;S<_.length;S++)if(_[S].classList.contains(this.classes.highlighted)){const O=_[S];O.classList.remove(this.classes.highlighted);const j=O.parentElement;if(j&&j.classList.contains(this.classes.open)){const J=j.querySelector("."+this.classes.optgroupLabel);J&&J.click()}let R=_[h==="down"?S+1<_.length?S+1:0:S-1>=0?S-1:_.length-1];R.classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,R);const m=R.parentElement;if(m&&m.classList.contains(this.classes.close)){const J=m.querySelector("."+this.classes.optgroupLabel);J&&J.click()}return}_[h==="down"?0:_.length-1].classList.add(this.classes.highlighted),this.ensureElementInView(this.content.list,_[h==="down"?0:_.length-1])}listDiv(){const h=document.createElement("div");return h.classList.add(this.classes.list),h}renderError(h){this.content.list.innerHTML="";const _=document.createElement("div");_.classList.add(this.classes.error),_.textContent=h,this.content.list.appendChild(_)}renderSearching(){this.content.list.innerHTML="";const h=document.createElement("div");h.classList.add(this.classes.searching),h.textContent=this.settings.searchingText,this.content.list.appendChild(h)}renderOptions(h){if(this.content.list.innerHTML="",h.length===0){const M=document.createElement("div");
28M.classList.add(this.classes.search),this.callbacks.addable?M.innerHTML=this.settings.addableText.replace("{value}",this.content.search.input.value):M.innerHTML=this.settings.searchText,this.content.list.appendChild(M);return}this.settings.allowDeselect&&!this.settings.isMultiple&&(this.store.filter(S=>S.placeholder,!1).length||this.store.addOption(new y({text:"",value:"",selected:!1,placeholder:!0}),!0));const _=document.createDocumentFragment();for(const M of h){if(M instanceof p){const S=document.createElement("div");S.classList.add(this.classes.optgroup);const O=document.createElement("div");O.classList.add(this.classes.optgroupLabel),S.appendChild(O);const j=document.createElement("div");j.classList.add(this.classes.optgroupLabelText),j.textContent=M.label,O.appendChild(j);const R=document.createElement("div");if(R.classList.add(this.classes.optgroupActions),O.appendChild(R),this.settings.isMultiple&&M.selectAll){const m=document.createElement("div");m.classList.add(this.classes.optgroupSelectAll);let J=!0;for(const U of M.options)if(!U.selected){J=!1;break}J&&m.classList.add(this.classes.selected);const Z=document.createElement("span");Z.textContent=M.selectAllText,m.appendChild(Z);const G=document.createElementNS("http://www.w3.org/2000/svg","svg");G.setAttribute("viewBox","0 0 100 100"),m.appendChild(G);const te=document.createElementNS("http://www.w3.org/2000/svg","path");te.setAttribute("d",this.classes.optgroupSelectAllBox),G.appendChild(te);const ee=document.createElementNS("http://www.w3.org/2000/svg","path");ee.setAttribute("d",this.classes.optgroupSelectAllCheck),G.appendChild(ee),m.addEventListener("click",U=>{U.preventDefault(),U.stopPropagation();const re=this.store.getSelected();if(J){const pe=re.filter(fe=>{for(const X of M.options)if(fe===X.id)return!1;return!0});this.callbacks.setSelected(pe,!0);return}else{const pe=re.concat(M.options.map(fe=>fe.id));for(const fe of M.options)this.store.getOptionByID(fe.id)||this.callbacks.addOption(fe);this.callbacks.setSelected(pe,!0);return}}),R.appendChild(m)}if(M.closable!=="off"){const m=document.createElement("div");m.classList.add(this.classes.optgroupClosable);const J=document.createElementNS("http://www.w3.org/2000/svg","svg");J.setAttribute("viewBox","0 0 100 100"),J.classList.add(this.classes.arrow),m.appendChild(J);const Z=document.createElementNS("http://www.w3.org/2000/svg","path");J.appendChild(Z),M.options.some(G=>G.selected)||this.content.search.input.value.trim()!==""?(m.classList.add(this.classes.open),Z.setAttribute("d",this.classes.arrowOpen)):M.closable==="open"?(S.classList.add(this.classes.open),Z.setAttribute("d",this.classes.arrowOpen)):M.closable==="close"&&(S.classList.add(this.classes.close),Z.setAttribute("d",this.classes.arrowClose)),O.addEventListener("click",G=>{G.preventDefault(),G.stopPropagation(),S.classList.contains(this.classes.close)?(S.classList.remove(this.classes.close),S.classList.add(this.classes.open),Z.setAttribute("d",this.classes.arrowOpen)):(S.classList.remove(this.classes.open),S.classList.add(this.classes.close),Z.setAttribute("d",this.classes.arrowClose))}),R.appendChild(m)}S.appendChild(O);for(const m of M.options)S.appendChild(this.option(m)),_.appendChild(S)}M instanceof y&&_.appendChild(this.option(M))}this.content.list.appendChild(_)}option(h){if(h.placeholder){const M=document.createElement("div");return M.classList.add(this.classes.option),M.classList.add(this.classes.hide),M}const _=document.createElement("div");return _.dataset.id=h.id,_.classList.add(this.classes.option),_.setAttribute("role","option"),h.class&&h.class.split(" ").forEach(M=>{_.classList.add(M)}),h.style&&(_.style.cssText=h.style),this.settings.searchHighlight&&this.content.search.input.value.trim()!==""?_.innerHTML=this.highlightText(h.html!==""?h.html:h.text,this.content.search.input.value,this.classes.searchHighlighter):h.html!==""?_.innerHTML=h.html:_.textContent=h.text,this.settings.showOptionTooltips&&_.textContent&&_.setAttribute("title",_.textContent),h.display||_.classList.add(this.classes.hide),h.disabled&&_.classList.add(this.classes.disabled),h.selected&&this.settings.hideSelected&&_.classList.add(this.classes.hide),h.selected?(_.classList.add(this.classes.selected),_.setAttribute("aria-selected","true"),this.main.main.setAttribute("aria-activedescendant",_.id)):(_.classList.remove(this.classes.selected),_.setAttribute("aria-selected","false")),_.addEventListener("click",M=>{M.preventDefault(),M.stopPropagation();const S=this.store.getSelected(),O=M.currentTarget,j=String(O.dataset.id);if(h.disabled||h.selected&&!this.settings.allowDeselect||this.settings.isMultiple&&this.settings.maxSelected<=S.length&&!h.selected||this.settings.isMultiple&&this.settings.minSelected>=S.length&&h.selected)return;let R=!1;const m=this.store.getSelectedOptions();let J=[];
28if(this.settings.isMultiple){if(h.selected)J=m.filter(Z=>Z.id!==j);else if(J=m.concat(h),!this.settings.closeOnSelect)if(M.shiftKey&&this.lastSelectedOption){const Z=this.store.getDataOptions();let G=Z.findIndex(ee=>ee.id===this.lastSelectedOption.id),te=Z.findIndex(ee=>ee.id===h.id);if(G>=0&&te>=0){const ee=Math.min(G,te),U=Math.max(G,te),re=Z.slice(ee,U+1);re.length>0&&re.length<this.settings.maxSelected&&(J=m.concat(re.filter(pe=>!m.find(fe=>fe.id===pe.id))))}}else h.selected||(this.lastSelectedOption=h)}this.settings.isMultiple||(h.selected?J=[]:J=[h]),this.callbacks.beforeChange||(R=!0),this.callbacks.beforeChange&&(this.callbacks.beforeChange(J,m)===!1?R=!1:R=!0),R&&(this.store.getOptionByID(j)||this.callbacks.addOption(h),this.callbacks.setSelected(J.map(Z=>Z.id),!1),this.settings.closeOnSelect&&this.callbacks.close(),this.callbacks.afterChange&&this.callbacks.afterChange(J))}),_}destroy(){this.main.main.remove(),this.content.main.remove()}highlightText(h,_,M){let S=h;const O=new RegExp("(?![^<]*>)("+_.trim()+")(?![^<]*>[^<>]*</)","i");if(!h.match(O))return h;const j=h.match(O).index,R=j+h.match(O)[0].toString().length,m=h.substring(j,R);return S=S.replace(O,`<mark class="${M}">${m}</mark>`),S}moveContentAbove(){const h=this.main.main.offsetHeight,_=this.content.main.offsetHeight;this.main.main.classList.remove(this.classes.openBelow),this.main.main.classList.add(this.classes.openAbove),this.content.main.classList.remove(this.classes.openBelow),this.content.main.classList.add(this.classes.openAbove);const M=this.main.main.getBoundingClientRect();this.content.main.style.margin="-"+(h+_-1)+"px 0px 0px 0px",this.content.main.style.top=M.top+M.height+(this.settings.contentPosition==="fixed"?0:window.scrollY)+"px",this.content.main.style.left=M.left+(this.settings.contentPosition==="fixed"?0:window.scrollX)+"px",this.content.main.style.width=M.width+"px"}moveContentBelow(){this.main.main.classList.remove(this.classes.openAbove),this.main.main.classList.add(this.classes.openBelow),this.content.main.classList.remove(this.classes.openAbove),this.content.main.classList.add(this.classes.openBelow);const h=this.main.main.getBoundingClientRect();this.content.main.style.margin="-1px 0px 0px 0px",this.settings.contentPosition!=="relative"&&(this.content.main.style.top=h.top+h.height+(this.settings.contentPosition==="fixed"?0:window.scrollY)+"px",this.content.main.style.left=h.left+(this.settings.contentPosition==="fixed"?0:window.scrollX)+"px",this.content.main.style.width=h.width+"px")}ensureElementInView(h,_){const M=h.scrollTop+h.offsetTop,S=M+h.clientHeight,O=_.offsetTop,j=O+_.clientHeight;O<M?h.scrollTop-=M-O:j>S&&(h.scrollTop+=j-S)}putContent(){const h=this.main.main.offsetHeight,_=this.main.main.getBoundingClientRect(),M=this.content.main.offsetHeight;return window.innerHeight-(_.top+h)<=M&&_.top>M?"up":"down"}updateDeselectAll(){if(!this.store||!this.settings)return;const h=this.store.getSelectedOptions(),_=h&&h.length>0,M=this.settings.isMultiple,S=this.settings.allowDeselect,O=this.main.deselect.main,j=this.classes.hide;S&&!(M&&!_)?O.classList.remove(j):O.classList.add(j)}}class I{constructor(h){this.listen=!1,this.observer=null,this.select=h,this.valueChange=this.valueChange.bind(this),this.select.addEventListener("change",this.valueChange,{passive:!0}),this.observer=new MutationObserver(this.observeCall.bind(this)),this.changeListen(!0)}enable(){this.select.disabled=!1}disable(){this.select.disabled=!0}hideUI(){this.select.tabIndex=-1,this.select.style.display="none",this.select.setAttribute("aria-hidden","true")}showUI(){this.select.removeAttribute("tabindex"),this.select.style.display="",this.select.removeAttribute("aria-hidden")}changeListen(h){this.listen=h,h&&this.observer&&this.observer.observe(this.select,{subtree:!0,childList:!0,attributes:!0}),h||this.observer&&this.observer.disconnect()}valueChange(h){return this.listen&&this.onValueChange&&this.onValueChange(this.getSelectedOptions()),!0}observeCall(h){if(!this.listen)return;let _=!1,M=!1,S=!1;for(const O of h){if(O.target===this.select&&(O.attributeName==="disabled"&&(M=!0),O.attributeName==="class"&&(_=!0),O.type==="childList")){for(const j of O.addedNodes)if(j.nodeName==="OPTION"&&j.value===this.select.value){this.select.dispatchEvent(new Event("change"));break}S=!0}(O.target.nodeName==="OPTGROUP"||O.target.nodeName==="OPTION")&&(S=!0)}_&&this.onClassChange&&this.onClassChange(this.select.className.split(" ")),M&&this.onDisabledChange&&(this.changeListen(!1),this.onDisabledChange(this.select.disabled),this.changeListen(!0)),S&&this.onOptionsChange&&(this.changeListen(!1),this.onOptionsChange(this.getData()),this.changeListen(!0))}getData(){let h=[];const _=this.select.childNodes;for(const M of _)M.nodeName==="OPTGROUP"&&h.push(this.getDataFromOptgroup(M)),M.nodeName==="OPTION"&&h.push(this.getDataFromOption(M));return h}getDataFromOptgroup(h){let _={id:h.id,label:h.label,selectAll:h.dataset?h.dataset.selectall==="true":!1,selectAllText:h.dataset?h.dataset.selectalltext:"Select all",closable:h.dataset?h.dataset.closable:"off",options:[]};const M=h.childNodes;for(const S of M)S.nodeName==="OPTION"&&_.options.push(this.getDataFromOption(S));return _}getDataFromOption(h){return{id:h.id,value:h.value,text:h.text,html:h.dataset&&h.dataset.html?h.dataset.html:"",defaultSelected:h.defaultSelected,selected:h.selected,display:h.style.display!=="none",disabled:h.disabled,mandatory:h.dataset?h.dataset.mandatory==="true":!1,placeholder:h.dataset.placeholder==="true",class:h.className,style:h.style.cssText,data:h.dataset}}getSelectedOptions(){let h=[];const _=this.select.childNodes;for(const M of _){if(M.nodeName==="OPTGROUP"){const S=M.childNodes;for(const O of S)if(O.nodeName==="OPTION"){const j=O;j.selected&&h.push(this.getDataFromOption(j))}}if(M.nodeName==="OPTION"){const S=M;S.selected&&h.push(this.getDataFromOption(S))}}return h}
28getSelectedValues(){return this.getSelectedOptions().map(h=>h.value)}setSelected(h){this.changeListen(!1);const _=this.select.childNodes;for(const M of _){if(M.nodeName==="OPTGROUP"){const O=M.childNodes;for(const j of O)if(j.nodeName==="OPTION"){const R=j;R.selected=h.includes(R.id)}}if(M.nodeName==="OPTION"){const S=M;S.selected=h.includes(S.id)}}this.changeListen(!0)}setSelectedByValue(h){this.changeListen(!1);const _=this.select.childNodes;for(const M of _){if(M.nodeName==="OPTGROUP"){const O=M.childNodes;for(const j of O)if(j.nodeName==="OPTION"){const R=j;R.selected=h.includes(R.value)}}if(M.nodeName==="OPTION"){const S=M;S.selected=h.includes(S.value)}}this.changeListen(!0)}updateSelect(h,_,M){this.changeListen(!1),h&&(this.select.dataset.id=h),_&&(this.select.style.cssText=_),M&&(this.select.className="",M.forEach(S=>{S.trim()!==""&&this.select.classList.add(S.trim())})),this.changeListen(!0)}updateOptions(h){this.changeListen(!1),this.select.innerHTML="";for(const _ of h)_ instanceof p&&this.select.appendChild(this.createOptgroup(_)),_ instanceof y&&this.select.appendChild(this.createOption(_));this.select.dispatchEvent(new Event("change",{bubbles:!0})),this.changeListen(!0)}createOptgroup(h){const _=document.createElement("optgroup");if(_.id=h.id,_.label=h.label,h.selectAll&&(_.dataset.selectAll="true"),h.closable!=="off"&&(_.dataset.closable=h.closable),h.options)for(const M of h.options)_.appendChild(this.createOption(M));return _}createOption(h){const _=document.createElement("option");return _.id=h.id,_.value=h.value,_.textContent=h.text,h.html!==""&&_.setAttribute("data-html",h.html),_.defaultSelected=h.defaultSelected,_.selected=h.selected,h.disabled&&(_.disabled=!0),h.display||(_.style.display="none"),h.placeholder&&_.setAttribute("data-placeholder","true"),h.mandatory&&_.setAttribute("data-mandatory","true"),h.class&&h.class.split(" ").forEach(M=>{_.classList.add(M)}),h.data&&typeof h.data=="object"&&Object.keys(h.data).forEach(M=>{_.setAttribute("data-"+f(M),h.data[M])}),_}destroy(){this.changeListen(!1),this.select.removeEventListener("change",this.valueChange),this.observer&&(this.observer.disconnect(),this.observer=null),delete this.select.dataset.id,this.showUI()}}class z{constructor(h){this.id="",this.style="",this.class=[],this.isMultiple=!1,this.isOpen=!1,this.isFullOpen=!1,this.intervalMove=null,h||(h={}),this.id="ss-"+l(),this.style=h.style||"",this.class=h.class||[],this.disabled=h.disabled!==void 0?h.disabled:!1,this.alwaysOpen=h.alwaysOpen!==void 0?h.alwaysOpen:!1,this.showSearch=h.showSearch!==void 0?h.showSearch:!0,this.focusSearch=h.focusSearch!==void 0?h.focusSearch:!0,this.ariaLabel=h.ariaLabel||"Combobox",this.searchPlaceholder=h.searchPlaceholder||"Search",this.searchText=h.searchText||"No Results",this.searchingText=h.searchingText||"Searching...",this.searchHighlight=h.searchHighlight!==void 0?h.searchHighlight:!1,this.closeOnSelect=h.closeOnSelect!==void 0?h.closeOnSelect:!0,this.contentLocation=h.contentLocation||document.body,this.contentPosition=h.contentPosition||"absolute",this.openPosition=h.openPosition||"auto",this.placeholderText=h.placeholderText!==void 0?h.placeholderText:"Select Value",this.allowDeselect=h.allowDeselect!==void 0?h.allowDeselect:!1,this.hideSelected=h.hideSelected!==void 0?h.hideSelected:!1,this.keepOrder=h.keepOrder!==void 0?h.keepOrder:!1,this.showOptionTooltips=h.showOptionTooltips!==void 0?h.showOptionTooltips:!1,this.minSelected=h.minSelected||0,this.maxSelected=h.maxSelected||1e3,this.timeoutDelay=
28h.timeoutDelay||200,this.maxValuesShown=h.maxValuesShown||20,this.maxValuesMessage=h.maxValuesMessage||"{number} selected",this.addableText=h.addableText||'Press "Enter" to add {value}'}}class C{constructor(h){var _;if(this.events={search:void 0,searchFilter:(R,m)=>R.text.toLowerCase().indexOf(m.toLowerCase())!==-1,addable:void 0,beforeChange:void 0,afterChange:void 0,beforeOpen:void 0,afterOpen:void 0,beforeClose:void 0,afterClose:void 0},this.windowResize=r(()=>{!this.settings.isOpen&&!this.settings.isFullOpen||this.render.moveContent()}),this.windowScroll=r(()=>{!this.settings.isOpen&&!this.settings.isFullOpen||this.render.moveContent()}),this.documentClick=R=>{this.settings.isOpen&&R.target&&!n(R.target,this.settings.id)&&this.close(R.type)},this.windowVisibilityChange=()=>{document.hidden&&this.close()},this.selectEl=typeof h.select=="string"?document.querySelector(h.select):h.select,!this.selectEl){h.events&&h.events.error&&h.events.error(new Error("Could not find select element"));return}if(this.selectEl.tagName!=="SELECT"){h.events&&h.events.error&&h.events.error(new Error("Element isnt of type select"));return}this.selectEl.dataset.ssid&&this.destroy(),this.settings=new z(h.settings),this.cssClasses=new a(h.cssClasses);const M=["afterChange","beforeOpen","afterOpen","beforeClose","afterClose"];for(const R in h.events)h.events.hasOwnProperty(R)&&(M.indexOf(R)!==-1?this.events[R]=r(h.events[R],100):this.events[R]=h.events[R]);this.settings.disabled=!((_=h.settings)===null||_===void 0)&&_.disabled?h.settings.disabled:this.selectEl.disabled,this.settings.isMultiple=this.selectEl.multiple,this.settings.style=this.selectEl.style.cssText,this.settings.class=this.selectEl.className.split(" "),this.select=new I(this.selectEl),this.select.updateSelect(this.settings.id,this.settings.style,this.settings.class),this.select.hideUI(),this.select.onValueChange=R=>{this.setSelected(R.map(m=>m.id))},this.select.onClassChange=R=>{this.settings.class=R,this.render.updateClassStyles()},this.select.onDisabledChange=R=>{R?this.disable():this.enable()},this.select.onOptionsChange=R=>{this.setData(R)},this.store=new b(this.settings.isMultiple?"multiple":"single",h.data?h.data:this.select.getData()),h.data&&this.select.updateOptions(this.store.getData());const S={open:this.open.bind(this),close:this.close.bind(this),addable:this.events.addable?this.events.addable:void 0,setSelected:this.setSelected.bind(this),addOption:this.addOption.bind(this),search:this.search.bind(this),beforeChange:this.events.beforeChange,afterChange:this.events.afterChange};this.render=new k(this.settings,this.cssClasses,this.store,S),this.render.renderValues(),this.render.renderOptions(this.store.getData());const O=this.selectEl.getAttribute("aria-label"),j=this.selectEl.getAttribute("aria-labelledby");O?this.render.main.main.setAttribute("aria-label",O):j&&this.render.main.main.setAttribute("aria-labelledby",j),this.selectEl.parentNode&&this.selectEl.parentNode.insertBefore(this.render.main.main,this.selectEl.nextSibling),window.addEventListener("resize",this.windowResize,!1),this.settings.openPosition==="auto"&&window.addEventListener("scroll",this.windowScroll,!1),document.addEventListener("visibilitychange",this.windowVisibilityChange),this.settings.disabled&&this.disable(),this.settings.alwaysOpen&&this.open(),this.selectEl.slim=this}enable(){this.settings.disabled=!1,this.select.enable(),this.render.enable()}disable(){this.settings.disabled=!0,this.select.disable(),this.render.disable()}getData(){return this.store.getData()}setData(h){const _=this.store.getSelected(),M=this.store.validateDataArray(h);if(M){this.events.error&&this.events.error(M);return}this.store.setData(h);const S=this.store.getData();this.select.updateOptions(S),this.render.renderValues(),this.render.renderOptions(S),this.events.afterChange&&!u(_,this.store.getSelected())&&this.events.afterChange(this.store.getSelectedOptions())}getSelected(){let h=this.store.getSelectedOptions();return this.settings.keepOrder&&(h=this.store.selectedOrderOptions(h)),h.map(_=>_.value)}setSelected(h,_=!0){const M=this.store.getSelected(),S=this.store.getDataOptions();h=Array.isArray(h)?h:[h];const O=[];
28for(const R of h){if(S.find(m=>m.id==R)){O.push(R);continue}for(const m of S.filter(J=>J.value==R))O.push(m.id)}this.store.setSelectedBy("id",O);const j=this.store.getData();this.select.updateOptions(j),this.render.renderValues(),this.render.content.search.input.value!==""?this.search(this.render.content.search.input.value):this.render.renderOptions(j),_&&this.events.afterChange&&!u(M,this.store.getSelected())&&this.events.afterChange(this.store.getSelectedOptions())}addOption(h){const _=this.store.getSelected();this.store.getDataOptions().some(S=>{var O;return S.value===((O=h.value)!==null&&O!==void 0?O:h.text)})||this.store.addOption(h);const M=this.store.getData();this.select.updateOptions(M),this.render.renderValues(),this.render.renderOptions(M),this.events.afterChange&&!u(_,this.store.getSelected())&&this.events.afterChange(this.store.getSelectedOptions())}open(){this.settings.disabled||this.settings.isOpen||(this.events.beforeOpen&&this.events.beforeOpen(),this.render.open(),this.settings.showSearch&&this.settings.focusSearch&&this.render.searchFocus(),this.settings.isOpen=!0,setTimeout(()=>{this.events.afterOpen&&this.events.afterOpen(),this.settings.isOpen&&(this.settings.isFullOpen=!0),document.addEventListener("click",this.documentClick)},this.settings.timeoutDelay),this.settings.contentPosition==="absolute"&&(this.settings.intervalMove&&clearInterval(this.settings.intervalMove),this.settings.intervalMove=setInterval(this.render.moveContent.bind(this.render),500)))}close(h=null){!this.settings.isOpen||this.settings.alwaysOpen||(this.events.beforeClose&&this.events.beforeClose(),this.render.close(),this.render.content.search.input.value!==""&&this.search(""),this.render.mainFocus(h),this.settings.isOpen=!1,this.settings.isFullOpen=!1,setTimeout(()=>{this.events.afterClose&&this.events.afterClose(),document.removeEventListener("click",this.documentClick)},this.settings.timeoutDelay),this.settings.intervalMove&&clearInterval(this.settings.intervalMove))}search(h){if(this.render.content.search.input.value!==h&&(this.render.content.search.input.value=h),!this.events.search){this.render.renderOptions(h===""?this.store.getData():this.store.search(h,this.events.searchFilter));return}this.render.renderSearching();const _=this.events.search(h,this.store.getSelectedOptions());if(_ instanceof Promise){_.then(M=>{this.render.renderOptions(this.store.partialToFullData(M))}).catch(M=>{this.render.renderError(typeof M=="string"?M:M.message)});return}else Array.isArray(_)?this.render.renderOptions(this.store.partialToFullData(_)):this.render.renderError("Search event must return a promise or an array of data")}destroy(){document.removeEventListener("click",this.documentClick),window.removeEventListener("resize",this.windowResize,!1),this.settings.openPosition==="auto"&&window.removeEventListener("scroll",this.windowScroll,!1),document.removeEventListener("visibilitychange",this.windowVisibilityChange),this.store.setData([]),this.render.destroy(),this.select.destroy()}}return C})})(Aa);var cc=Aa.exports;const Da=ca(cc),uc=()=>{q(".js-slim-select").each(function(){var a;const i=this;new Da({select:i,settings:{showSearch:!1,closeOnSelect:!0},events:{afterChange:l=>{var r,u;const n=(r=i.nextElementSibling)==null?void 0:r.querySelector(".ss-single");((u=l[0])==null?void 0:u.value)===""?n==null||n.classList.add("is-placeholder"):n==null||n.classList.remove("is-placeholder")}}});const t=(a=i.nextElementSibling)==null?void 0:a.querySelector(".ss-single");i.value===""&&(t==null||t.classList.add("is-placeholder"))})},fc=()=>{const i=q(".js-search-form");sessionStorage.setItem("lastNewsListUrl",window.location.href),sessionStorage.setItem("lastEventListUrl",window.location.href),sessionStorage.setItem("lastOrgListUrl",window.location.href),sessionStorage.setItem("lastPodcastListUrl",window.location.href);const t=()=>i.serializeArray(),a=(r,u=1)=>{const f=new URLSearchParams;f.set("page",u);let p=!1;r.forEach(({name:b,value:k})=>{if(b==="s"){p=!0,f.set("s",k);return}k==="all"||k===""||f.set(b,k)}),p||f.set("s","");const y=`${window.location.pathname}?${f.toString()}`;window.history.pushState({},"",y),sessionStorage.setItem("lastSearchUrl",window.location.href)};q(window).on("popstate",function(){window.location.reload()});const l=(r=1)=>{const u=t();q(".js-search-loader").removeClass("hidden"),i.find('input[type="text"]').prop("disabled",!0),a(u,r),q.ajax({url:localize.ajax_url,dataType:"JSON",type:"POST",data:{action:"filter_search",datas:u,paged:r},success(f){q(".js-search-wrapper").html("").append(f.html);const p=q(".js-search-form");if(p.length){const b=p.offset().top-200;q("html, body").animate({scrollTop:b},0)}q(".js-resultsInfoFormat").html("").append(f.resultsInfoFormat);const y=f.numbers||{};
28Object.entries(y).forEach(([b,k])=>{const I=q(`.js-search-type[data-cat="${b}"]`),z=q(`[data-countname="count-${b}"]`);z.length&&z.text(`(${k})`),k===0?I.addClass("pointer-events-none text-gray-500"):I.removeClass("pointer-events-none text-gray-500")}),sessionStorage.setItem("lastNewsListUrl",window.location.href),sessionStorage.setItem("lastEventListUrl",window.location.href),sessionStorage.setItem("lastOrgListUrl",window.location.href),sessionStorage.setItem("lastPodcastUrl",window.location.href),q(".js-search-loader").addClass("hidden"),i.find('input[type="text"]').prop("disabled",!1),i.find('input[type="text"]').focus()}})};i.on("submit",function(r){r.preventDefault(),l(1)}),i.on("change",'select[name="order"]',function(){q(this).closest("form").submit()});let n;i.find('input[type="text"]').on("input",function(){clearTimeout(n);const r=q(this),u=r.siblings(".js-delete-input");r.val().length>0?u.removeClass("hidden"):u.addClass("hidden"),n=setTimeout(()=>{i.submit()},1e3)}),i.find('input[type="text"]').on("keydown",function(r){r.key==="Enter"&&r.preventDefault()}),i.on("click",".js-search-type",function(r){r.preventDefault(),q(".js-search-type").removeClass("btn-primary"),q(this).addClass("btn-primary");const u=q(this).data("cat");i.find('input[name="type"]').val(u),i.submit()}),q(".js-delete-input").on("click",function(){const r=q(this).siblings('input[type="text"]');r.length&&(r.val(""),q(this).addClass("hidden"),l(1))}),q(document).on("click keypress",".js-search-wrapper .js-pagination-custom",function(r){if(r.type==="click"||r.type==="keypress"&&r.key==="Enter"){const u=q(this).data("page");l(u)}})},hc=()=>{const i=q("#js-post-type"),t=q("#js-taxonomy"),a=q(".js-search-playlist"),l=q(".js-search-playlist-delete"),n=q(".js-playlist-wrapper"),r={postType:i.length?i.val():"playlist-cpt",taxonomy:t.length?t.val():"cpt-category",searchDelay:1e3,scrollOffset:200};let u;const f=()=>q(".btn-primary").map((h,_)=>q(_).data("cat")).get().filter(h=>h!=="all"&&h!==void 0),p=()=>{var h;return((h=a.val())==null?void 0:h.trim())||""},y=h=>{l.toggleClass("hidden",!h)},b=(h,_,M)=>{const S=new URLSearchParams;S.set("page",h),_.length===1?S.set("category",_[0]):_.length>1&&S.set("category",_.join(",")),M&&S.set("ps",M);const O=`${window.location.pathname}?${S.toString()}`;window.history.pushState({},"",O),sessionStorage.setItem("lastplaylistListUrl",window.location.href)},k=()=>{if(n.length){const h=n.offset().top-r.scrollOffset;q("html, body").animate({scrollTop:h},300)}},I=(h="Hiba történt az adatok betöltése során")=>{const _=` 29 <div class="container"> 30 <div class="relative grid grid-cols-1 gap-4"> 31 <div class="text-center text-red-600 py-8"> 32 <p>${h}</p> 33 </div> 34 </div> 35 </div> 36 `;n.html(_)},z=(h,_,M)=>{q(".js-playlist-loader").removeClass("hidden"),q.ajax({url:localize.ajax_url,type:"POST",data:{action:"ajax_get_playlist_cards",page:h,categories:_,search:M,post_type:r.postType,taxonomy:r.taxonomy},timeout:1e4,success:S=>{var O,j;S!=null&&S.success&&((O=S==null?void 0:S.data)!=null&&O.content)?(n.html(S.data.content),k()):I(((j=S==null?void 0:S.data)==null?void 0:j.message)||"Nem sikerült betölteni a playlistokat")},error:(S,O,j)=>{console.error("AJAX Error:",{xhr:S,status:O,error:j}),I("Hálózati hiba történt. Kérjük, próbálja újra késÅbb.")},complete:()=>{q(".js-playlist-loader").addClass("hidden")}})},C=(h,_=[],M="")=>{b(h,_,M),z(h,_,M)};q(document).on("input",".js-search-playlist",function(){clearTimeout(u);const h=q(this).val().trim();y(h!==""),u=setTimeout(()=>{const _=f();C(1,_,h)},r.searchDelay)}),q(document).on("click",".js-search-playlist-delete",function(){a.val("").focus(),y(!1);const h=f();C(1,h,"")}),q(document).on("click",".js-category-filter",function(h){if(h.preventDefault(),q(this).hasClass("btn-primary"))return;q(".js-category-filter").removeClass("btn-primary"),q(this).addClass("btn-primary");const _=f(),M=p();C(1,_,M)}),q(document).on("click keypress",".js-pagination-custom",function(h){if(h.type==="click"||h.type==="
36keypress"&&h.key==="Enter"){h.preventDefault();const _=q(this).data("page");if(!_||_<1)return;const M=f(),S=p();C(_,M,S)}}),(()=>{const _=new URLSearchParams(window.location.search).get("ps");_&&(a.val(_),y(!0))})()},pc=()=>{const i=q("#js-post-type").length?q("#js-post-type").val():"feature-cpt",t=q("#js-taxonomy").length?q("#js-taxonomy").val():"cpt-category",a=()=>{const n=q(".btn-primary");let r=[];return q.each(n,function(u,f){r.push(q(f).data("cat"))}),r};q(document).on("click",".js-category-filter",function(n){if(n.preventDefault(),q(this).hasClass("btn-primary"))return;const r=q(".js-category-filter");q.each(r,function(f,p){q(p).removeClass("btn-primary")}),q(this).addClass("btn-primary");let u=a();q(".js-feature-loader").removeClass("hidden"),l(1,u)}),q(window).on("popstate",function(){sessionStorage.setItem("lastFeatureListUrl",window.location.href),window.location.reload()});const l=(n,r=[])=>{q(".js-feature-loader").removeClass("hidden");const u=new URLSearchParams;u.set("page",n),r=r.filter(p=>p!=="all"&&p!==void 0),r.length===1?u.set("category",r[0]):r.length>1&&u.set("category",r.join(","));const f=`${window.location.pathname}?${u.toString()}`;window.history.pushState({},"",f),sessionStorage.setItem("lastFeatureListUrl",window.location.href),q.ajax({url:localize.ajax_url,type:"POST",data:{action:"ajax_get_feature_cards",page:n,categories:r,post_type:i,taxonomy:t},success:p=>{p!=null&&p.content&&q(".js-feature-wrapper").html(p.content);const y=q(".js-feature-wrapper");if(y.length){const b=y.offset().top-200;q("html, body").animate({scrollTop:b},0)}}})};q(document).on("click keypress",".js-pagination-custom",function(n){if(n.type==="click"||n.type==="keypress"&&n.key==="Enter"){const r=q(this).data("page");let u=a();l(r,u)}})};(function(){var i=document.createElement("style");i
vendor: 12,376 bytes, line 36
36.innerHTML="@keyframes pulsate{0%,to{opacity:1}50%{opacity:.2}}#spotlight{position:fixed;top:-1px;bottom:-1px;width:100%;z-index:99999;color:#fff;background-color:#000;opacity:0;overflow:hidden;-webkit-user-select:none;-ms-user-select:none;user-select:none;transition:opacity .2s ease-out;font-family:Arial,sans-serif;font-size:16px;font-weight:400;contain:strict;touch-action:none;pointer-events:none}#spotlight.show{opacity:1;transition:none;pointer-events:auto}#spotlight.white{color:#212529;background-color:#fff}#spotlight.white .spl-next,#spotlight.white .spl-page~*,#spotlight.white .spl-prev,#spotlight.white .spl-spinner{filter:invert(1)}#spotlight.white .spl-progress{background-color:rgba(0,0,0,.35)}#spotlight.white .spl-footer,#spotlight.white .spl-header{background-color:rgba(255,255,255,.65)}#spotlight.white .spl-button{background:#212529;color:#fff}.spl-footer,.spl-header{background-color:rgba(0,0,0,.45)}#spotlight .contain,#spotlight .cover{object-fit:cover;height:100%;width:100%}#spotlight .contain{object-fit:contain}#spotlight .autofit{object-fit:none;width:auto;height:auto;max-height:none;max-width:none;transition:none}.spl-scene,.spl-spinner,.spl-track{width:100%;height:100%;position:absolute}.spl-track{contain:strict}.spl-spinner{background-position:center;background-repeat:no-repeat;background-size:42px;opacity:0}.spl-spinner.spin{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2Utb3BhY2l0eT0iLjY1Ij48Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuMTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJyb3RhdGUiIGZyb209IjAgMTggMTgiIHRvPSIzNjAgMTggMTgiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9wYXRoPjwvZz48L2c+PC9zdmc+);transition:opacity .2s linear .25s;opacity:1}.spl-spinner.error{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTYsMUExNSwxNSwwLDEsMCwzMSwxNiwxNSwxNSwwLDAsMCwxNiwxWm0wLDJhMTMsMTMsMCwwLDEsOC40NSwzLjE0TDYuMTQsMjQuNDVBMTMsMTMsMCwwLDEsMTYsM1ptMCwyNmExMywxMywwLDAsMS04LjQ1LTMuMTRMMjUuODYsNy41NUExMywxMywwLDAsMSwxNiwyOVoiIGlkPSJiYW5fc2lnbl9jcm9zc2VkX2NpcmNsZSIvPjwvc3ZnPg==);background-size:128px;transition:none;opacity:.5}.spl-scene{transition:transform .65s cubic-bezier(.1,1,.1,1);contain:layout size;will-change:transform}.spl-pane>*{position:absolute;width:auto;height:auto;max-width:100%;max-height:100%;left:50%;top:50%;margin:0;padding:0;border:0;transform:translate(-50%,-50%) scale(1);transition:transform .65s cubic-bezier(.3,1,.3,1),opacity .65s ease;contain:layout style;will-change:transform,opacity;visibility:hidden}.spl-header,.spl-pane,.spl-progress{position:absolute;top:0}.spl-pane{width:100%;height:100%;transition:transform .65s cubic-bezier(.3,1,.3,1);contain:layout size;will-change:transform,contents}.spl-header{width:100%;height:50px;text-align:right;transform:translateY(-100px);transition:transform .35s ease;overflow:hidden;will-change:transform}#spotlight.menu .spl-footer,#spotlight.menu .spl-header,.spl-footer:hover,.spl-header:hover{transform:translateY(0)}.spl-header div{display:inline-block;vertical-align:middle;white-space:nowrap;width:50px;height:50px;opacity:.5}.spl-progress{width:100%;height:3px;background-color:rgba(255,255,255,.45);transform:translateX(-100%);transition:transform linear}.spl-footer,.spl-next,.spl-prev{position:absolute;transition:transform .35s ease;will-change:transform}.spl-footer{left:0;right:0;bottom:0;line-height:20px;padding:20px 20px 0;padding-bottom:env(safe-area-inset-bottom,0);text-align:left;font-size:15px;font-weight:400;transform:translateY(100%)}.spl-title{font-size:22px}.spl-button,.spl-description,.spl-title{margin-bottom:20px}.spl-button{display:inline-block;background:#fff;color:#000;border-radius:5px;padding:10px 20px;cursor:pointer}.spl-next,.spl-page~*,.spl-prev{background-position:center;background-repeat:no-repeat}.spl-page{float:left;width:auto;line-height:50px}.spl-page~*{background-size:21px;float:right}.spl-fullscreen{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9Ii0xIC0xIDI2IDI2IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTggM0g1YTIgMiAwIDAgMC0yIDJ2M20xOCAwVjVhMiAyIDAgMCAwLTItMmgtM20wIDE4aDNhMiAyIDAgMCAwIDItMnYtM00zIDE2djNhMiAyIDAgMCAwIDIgMmgzIi8+PC9zdmc+)}.spl-fullscreen.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik04IDN2M2EyIDIgMCAwIDEtMiAySDNtMTggMGgtM2EyIDIgMCAwIDEtMi0yVjNtMCAxOHYtM2EyIDIgMCAwIDEgMi0yaDNNMyAxNmgzYTIgMiAwIDAgMSAyIDJ2MyIvPjwvc3ZnPg==)}.spl-autofit{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9Ijk2cHgiIHZpZXdCb3g9IjAgMCA5NiA5NiIgd2lkdGg9Ijk2cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNTAgNTApIiBmaWxsPSIjZmZmIiBkPSJNNzEuMzExLDgwQzY5LjY3LDg0LjY2LDY1LjIzLDg4LDYwLDg4SDIwYy02LjYzLDAtMTItNS4zNy0xMi0xMlYzNmMwLTUuMjMsMy4zNC05LjY3LDgtMTEuMzExVjc2YzAsMi4yMSwxLjc5LDQsNCw0SDcxLjMxMSAgeiIvPjxwYXRoIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSIgZmlsbD0iI2ZmZiIgZD0iTTc2LDhIMzZjLTYuNjMsMC0xMiw1LjM3LTEyLDEydjQwYzAsNi42Myw1LjM3LDEyLDEyLDEyaDQwYzYuNjMsMCwxMi01LjM3LDEyLTEyVjIwQzg4LDEzLjM3LDgyLjYzLDgsNzYsOHogTTgwLDYwICBjMCwyLjIxLTEuNzksNC00LDRIMzZjLTIuMjEsMC00LTEuNzktNC00VjIwYzAtMi4yMSwxLjc5LTQsNC00aDQwYzIuMjEsMCw0LDEuNzksNCw0VjYweiIvPjwvc3ZnPg==)}.spl-zoom-in,.spl-zoom-out{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjgiIHgyPSIxNCIgeTE9IjExIiB5Mj0iMTEiLz48L3N2Zz4=);background-size:22px}.spl-zoom-in{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjExIiB4Mj0iMTEiIHkxPSI4IiB5Mj0iMTQiLz48bGluZSB4MT0iOCIgeDI9IjE0IiB5MT0iMTEiIHkyPSIxMSIvPjwvc3ZnPg==)}.spl-download{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIxNDEuNzMycHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE0MS43MzIgMTQxLjczMiIgd2lkdGg9IjE0MS43MzJweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIwLjY3NCwxMjUuMTM4SDIwLjc5M3YxNi41OTRoOTkuODgxVjEyNS4xMzh6IE0xMTkuMDE5LDU4Ljc3NmMtMi41NjEtMi41NjItNi43MTYtMi41NjItOS4yNzUsMEw3Ny4yMSw5MS4zMTJWNi41NjIgICBDNzcuMjEsMi45MzYsNzQuMjY5LDAsNzAuNjQ4LDBjLTMuNjI0LDAtNi41NiwyLjkzNy02LjU2LDYuNTYzdjg0Ljc1TDMxLjk5Miw1OS4yMThjLTIuNTYyLTIuNTY0LTYuNzE1LTIuNTY0LTkuMjc3LDAgICBjLTIuNTY1LDIuNTYyLTIuNTY1LDYuNzE2LDAsOS4yNzlsNDMuMjk0LDQzLjI5M2MwLjE1LDAuMTU0LDAuMzE0LDAuMjk5LDAuNDgxLDAuNDM4YzAuMDc2LDAuMDYyLDAuMTU1LDAuMTEzLDAuMjM0LDAuMTc2ICAgYzAuMDk0LDAuMDY1LDAuMTg2LDAuMTQyLDAuMjc5LDAuMjA2YzAuMDk3LDAuMDYzLDAuMTkyLDAuMTE0LDAuMjg2LDAuMTc0YzAuMDg4LDAuMDU0LDAuMTc0LDAuMTA1LDAuMjY1LDAuMTUzICAgYzAuMSwwLjA1NiwwLjE5OSwwLjEsMC4yOTgsMC4xNDdjMC4wOTcsMC4wNDUsMC4xOSwwLjA5MSwwLjI4MywwLjEzMmMwLjA5OCwwLjA0LDAuMTk2LDAuMDcyLDAuMjk1LDAuMTA1ICAgYzAuMTA0LDAuMDM4LDAuMjA3LDAuMDc4LDAuMzEyLDAuMTA5YzAuMTAxLDAuMDMsMC4xOTcsMC4wNTIsMC4yOTcsMC4wNzdjMC4xMDgsMC4wMjMsMC4yMTQsMC4wNTgsMC4zMjQsMC4wNzggICBjMC4xMTUsMC4wMjEsMC4yMzEsMC4wMzMsMC4zNDYsMC4wNTRjMC4wOTcsMC4wMTUsMC4xOTIsMC4wMzIsMC4yODksMC4wNDJjMC40MywwLjA0MiwwLjg2NSwwLjA0MiwxLjI5NSwwICAgYzAuMS0wLjAxLDAuMTkxLTAuMDI3LDAuMjg5LTAuMDQyYzAuMTE0LTAuMDIxLDAuMjMzLTAuMDI5LDAuMzQ0LTAuMDU0YzAuMTA5LTAuMDIxLDAuMjE3LTAuMDU1LDAuMzI0LTAuMDc4ICAgYzAuMTAyLTAuMDI1LDAuMTk5LTAuMDQ3LDAuMjk5LTAuMDc3YzAuMTA1LTAuMDMxLDAuMjA3LTAuMDcxLDAuMzEyLTAuMTA5YzAuMTAyLTAuMDMsMC4xOTUtMC4wNjIsMC4yOTUtMC4xMDUgICBjMC4wOTYtMC4wNDEsMC4xOTEtMC4wODcsMC4yODMtMC4xMzJjMC4xLTAuMDQ4LDAuMTk5LTAuMDkyLDAuMjk3LTAuMTQ3YzAuMDkxLTAuMDQ4LDAuMTc3LTAuMTA0LDAuMjY0LTAuMTUzICAgYzAuMDk4LTAuMDYsMC4xOTMtMC4xMSwwLjI4Ny0wLjE3NGMwLjA5Ni0wLjA2NCwwLjE4OS0wLjE0MSwwLjI4MS0wLjIwNmMwLjA3Ni0wLjA2MiwwLjE1Ni0wLjExMywwLjIzMy0wLjE3NiAgIGMwLjI0OS0wLjIwNCwwLjQ3OS0wLjQzNywwLjY5NC0wLjY3YzAuMDc2LTAuMDY3LDAuMTU0LTAuMTMxLDAuMjI5LTAuMjAzbDQzLjI5NC00My4yOTYgICBDMTIxLjU4MSw2NS40OTEsMTIxLjU4MSw2MS4zMzcsMTE5LjAxOSw1OC43NzYiLz48L2c+PC9zdmc+);background-size:20px}.spl-theme{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9IjI0cHgiIHZlcnNpb249IjEuMiIgdmlld0JveD0iMiAyIDIwIDIwIiB3aWR0aD0iMjRweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIsNGMtNC40MTgsMC04LDMuNTgyLTgsOHMzLjU4Miw4LDgsOHM4LTMuNTgyLDgtOFMxNi40MTgsNCwxMiw0eiBNMTIsMThjLTMuMzE0LDAtNi0yLjY4Ni02LTZzMi42ODYtNiw2LTZzNiwyLjY4Niw2LDYgUzE1LjMxNCwxOCwxMiwxOHoiLz48cGF0aCBkPSJNMTIsN3YxMGMyLjc1NywwLDUtMi4yNDMsNS01UzE0Ljc1Nyw3LDEyLDd6Ii8+PC9nPjwvc3ZnPg==)}.spl-play{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxwb2x5Z29uIGZpbGw9IiNmZmYiIHBvaW50cz0iMTAgOCAxNiAxMiAxMCAxNiAxMCA4Ii8+PC9zdmc+)}.spl-play.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxsaW5lIHgxPSIxMCIgeDI9IjEwIiB5MT0iMTUiIHkyPSI5Ii8+PGxpbmUgeDE9IjE0IiB4Mj0iMTQiIHkxPSIxNSIgeTI9IjkiLz48L3N2Zz4=);animation:pulsate 1s ease infinite}.spl-close{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIyIDIgMjAgMjAiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bGluZSB4MT0iMTgiIHgyPSI2IiB5MT0iNiIgeTI9IjE4Ii8+PGxpbmUgeDE9IjYiIHgyPSIxOCIgeTE9IjYiIHkyPSIxOCIvPjwvc3ZnPg==)}.spl-next,.spl-prev{top:50%;width:50px;height:50px;opacity:.65;background-color:rgba(0,0,0,.45);border-radius:100%;cursor:pointer;margin-top:-25px;transform:translateX(-100px);background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cG9seWxpbmUgcG9pbnRzPSIxNSAxOCA5IDEyIDE1IDYiLz48L3N2Zz4=);background-size:30px}.spl-prev{left:20px}.spl-next{left:auto;right:20px;transform:translateX(100px) scaleX(-1)}#spotlight.menu .spl-prev{transform:translateX(0)}#spotlight.menu .spl-next{transform:translateX(0) scaleX(-1)}@media (hover:hover){.spl-page~div{cursor:pointer;transition:opacity .2s ease}.spl-next:hover,.spl-page~div:hover,.spl-prev:hover{opacity:1}}@media (max-width:500px){.spl-header div{width:44px}.spl-footer .spl-title{font-size:20px}.spl-footer{font-size:14px}.spl-next,.spl-prev{width:35px;height:35px;margin-top:-17.5px;background-size:15px 15px}.spl-spinner{background-size:30px 30px}}.hide-scrollbars{overflow:hidden!important}"
36;var t=document.getElementsByTagName("head")[0];t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),Object.assign||(Object.assign=function(F,ne){for(var ye=Object.keys(ne),Re=0,tt;Re<ye.length;Re++)tt=ye[Re],F[tt]=ne[tt];return F}),Element.prototype.closest||(Element.prototype.closest=function(F){F=F.substring(1);for(var ne=this;ne&&ne.nodeType===1;){if(ne.classList.contains(F))return ne;ne=ne.parentElement}return null});function a(F,ne,ye){F.classList[ye?"add":"remove"](ne)}function l(F,ne,ye){ye=""+ye,F["_s_"+ne]!==ye&&(F.style.setProperty(ne,ye),F["_s_"+ne]=ye)}var n=0;function r(F,ne){ne&&(l(F,"transition","none"),ne()),n||(n=F.clientTop&&0),ne&&l(F,"transition","")}function u(F,ne,ye,Re){f(!0,F,ne,ye,Re)}function f(F,ne,ye,Re,tt){ne[(F?"add":"remove")+"EventListener"](ye,Re,tt||tt===!1?tt:!0)}function p(F,ne){F.stopPropagation(),ne&&F.preventDefault()}function y(F,ne){l(F,"display",ne?"":"none")}function b(F,ne){l(F,"visibility",ne?"":"hidden")}function k(F,ne){l(F,"transition",ne?"":"none")}var I="theme download play page close autofit zoom-in zoom-out prev next fullscreen".split(" "),z={page:1,close:1,autofit:1,"zoom-in":1,"zoom-out":1,prev:1,next:1,fullscreen:1},C=document.createElement("div");C.id="spotlight",C.innerHTML="<div class=spl-spinner></div><div class=spl-track><div class=spl-scene><div class=spl-pane></div></div></div><div class=spl-header><div class=spl-page> </div></div><div class=spl-progress></div><div class=spl-footer><div class=spl-title> </div><div class=spl-description> </div><div class=spl-button> </div></div><div class=spl-prev></div><div class=spl-next></div>";var x={},h=document.createElement("video");function _(F,ne,ye,Re){if(Re!=="node"){for(var tt=Object.keys(ye),st=0,Qe;st<tt.length;st++)if(Qe=tt[st],3<Qe.length&&Qe.indexOf("src")===0){if(Re==="video"){var xt=x[Qe];if(xt){if(0<xt){var Zi=ye[Qe];break}}else if(h.canPlayType("video/"+Qe.substring(3).replace("-","").toLowerCase())){x[Qe]=1,Zi=ye[Qe];break}else x[Qe]=-1}else if((xt=parseInt(Qe.substring(4),10))&&(xt=Math.abs(ne-xt),!Ui||xt<Ui)){var Ui=xt;Zi=ye[Qe]}}}return Zi||ye.src||ye.href||F.src||F.href}var M={},S=navigator.connection,O=window.devicePixelRatio||1,j,R,m,J,Z,G,te,ee,U,re,pe,fe,X,V,he,ve,ke,Pe,et,Ke,de,oe,ge,Ie,lt,dt,It,at,bt,ht,Mt,$t,Lt,pt,Ut,ei,ti,gt,mt,ct,Ce,be,Xt=document.createElement("img"),di,ci,Ki,Qi,ji,Bt,Jt,ui,hn,fi,Mn,$i,en,Rt,Kt,Dt,Yt,Ot,ut,pn;u(document,"click",Un);function Gn(){function F(ye){return M[ye]=(C||document).getElementsByClassName("spl-"+ye)[0]}if(!mt){mt=document.body,di=F("scene"),ci=F("header"),Ki=F("footer"),Qi=F("title"),ji=F("description"),Bt=F("button"),Jt=F("prev"),ui=F("next"),fi=F("page"),$i=F("progress"),en=F("spinner"),Ce=[F("pane")],qt("close",it),mt[ut="requestFullscreen"]||mt[ut="msRequestFullscreen"]||mt[ut="webkitRequestFullscreen"]||mt[ut="mozRequestFullscreen"]||(ut=""),ut?(pn=ut.replace("request","exit").replace("mozRequest","mozCancel").replace("Request","Exit"),hn=qt("fullscreen",Dn)):I.pop(),qt("autofit",ni),qt("zoom-in",vn),qt("zoom-out",rn),qt("theme",Mi),Mn=qt("play",pi),qt("download",We),u(Jt,"click",zt),u(ui,"click",Zt);var ne=F("track");u(ne,"mousedown",In),u(ne,"mousemove",An),u(ne,"mouseleave",gn),u(ne,"mouseup",g
36n),u(ne,"touchstart",In,{passive:!1}),u(ne,"touchmove",An,{passive:!0}),u(ne,"touchend",gn),u(Bt,"click",function(){$t?$t(he,Pe):Mt&&(location.href=Mt)})}}function qt(F,ne){var ye=document.createElement("div");return ye.className="spl-"+F,u(ye,"click",ne),ci.appendChild(ye),M[F]=ye}function Un(F){var ne=F.target.closest(".spotlight");if(ne){p(F,!0),F=ne.closest(".spotlight-group"),ke=(F||document).getElementsByClassName("spotlight");for(var ye=0;ye<ke.length;ye++)if(ke[ye]===ne){Ke=F&&F.dataset,Bi(ye+1);break}}}function Bi(F){if(ve=ke.length){mt||Gn(),ge&&ge(F);for(var ne=Ce[0],ye=ne.parentNode,Re=Ce.length;Re<ve;Re++){var tt=ne.cloneNode(!1);l(tt,"left",100*Re+"%"),ye.appendChild(tt),Ce[Re]=tt}ct||(mt.appendChild(C),nn()),he=F||1,k(di),ot(!0),ut&&y(hn,0<screen.availHeight-window.innerHeight),history.pushState({spl:1},""),history.pushState({spl:2},""),k(C,!0),a(mt,"hide-scrollbars",!0),a(C,"show",!0),Ci(!0),nn(),Gi(),at&&pi(!0,!0)}}function St(F,ne){return F=Pe[F],typeof F<"u"?(F=""+F,F!=="false"&&(F||ne)):ne}function tn(F){F?r(be,tn):(k(di,ti),l(be,"opacity",ei?0:1),mn(Ut&&.8),gt&&a(be,gt,!0))}function Et(F){if(ct=Ce[F-1],be=ct.firstChild,he=F,be)X&&ni(),dt&&a(be,dt,!0),tn(!0),gt&&a(be,gt),ei&&l(be,"opacity",1),Ut&&l(be,"transform",""),l(be,"visibility","visible"),Kt&&(Xt.src=Kt),at&&sn(Dt);else{var ne=Rt.media,ye=St("spinner",!0);if(ne==="video")Le(ye,!0),be=document.createElement("video"),be.onloadedmetadata=function(){be===this&&(be.onerror=null,be.width=be.videoWidth,be.height=be.videoHeight,Vi(),Le(ye),Et(F))},be.poster=Pe.poster,be.preload=ht?"auto":"metadata",be.controls=St("controls",!0),be.autoplay=Pe.autoplay,be.h=St("inline"),be.muted=St("muted"),be.src=Rt.src,ct.appendChild(be);else{if(ne==="node"){be=Rt.src,typeof be=="string"&&(be=document.querySelector(be)),be&&(be.g||(be.g=be.parentNode),Vi(),ct.appendChild(be),Et(F));return}Le(ye,!0),be=document.createElement("img"),be.onload=function(){be===this&&(be.onerror=null,Le(ye),Et(F),Vi())},be.src=Rt.src,ct.appendChild(be)}be&&(ye||l(be,"visibility","visible"),be.onerror=function(){be===this&&(vt(be),a(en,"error",!0),Le(ye))})}}function Le(F,ne){F&&a(en,"spin",ne)}function Ln(){return document.fullscreen||document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement}function Xn(){if(nn(),be&&Vi(),ut){var F=Ln();a(hn,"on",F),F||y(hn,0<screen.availHeight-window.innerHeight)}}function nn(){Z=C.clientWidth,G=C.clientHeight}function Vi(){te=be.clientWidth,ee=be.clientHeight}function mn(F){l(be,"transform","translate(-50%, -50%) scale("+(F||U)+")")}function hi(F,ne){l(ct,"transform",F||ne?"translate("+F+"px, "+ne+"px)":"")}function ii(F,ne,ye){ne?r(di,function(){ii(F,!1,ye)}):l(di,"transform","translateX("+(100*-F+(ye||0))+"%)")}function Ci(F){f(F,window,"keydown",En),f(F,window,"wheel",Pn),f(F,window,"resize",Xn),f(F,window,"popstate",Jn)}function Jn(F){ct&&F.state.spl&&it(!0)}function En(F){if(ct){var ne=Pe["zoom-in"]!==!1;switch(F.keyCode){case 8:ne&&ni();break;case 27:it();break;case 32:at&&pi();break;case 37:zt();break;case 39:Zt();break;case 38:case 107:case 187:ne&&vn();break;case 40:case 109:case 189:ne&&rn()}}}function Pn(F){ct&&Pe["zoom-in"]!==!1&&(F=F.deltaY,0>.5*(0>F?1:F?-1:0)?rn():vn())}function pi(F,ne){(typeof F=="boolean"?F:!Dt)===!Dt&&(Dt=Dt?clearTimeout(Dt):1,a(Mn,"on",Dt),ne||sn(Dt))}function sn(F){oe&&(r($i,function(){l($i,"transition-duration",""),l($i,"transform","")}),F&&(l($i,"transition-duration",pt+"s"),l($i,"transform","translateX(0)"))),F&&(Dt=setTimeout(Zt,1e3*pt))}function Gi(){It&&(Ot=Date.now()+2950,Yt||(a(C,"menu",!0),mi(3e3)))}function mi(F){Yt=setTimeout(function(){var ne=Date.now();ne>=Ot?(a(C,"menu"),Yt=0):mi(Ot-ne)},F)}function kn(F){typeof F=="boolean"&&(Yt=F?Yt:0),Yt?(Yt=clearTimeout(Yt),a(C,"menu")):Gi()}function In(F){p(F,!0),re=!0,pe=!1;var ne=F.touches;ne&&(ne=ne[0])&&(F=ne),fe=te*U<=Z,m=F.pageX,J=F.pageY,k(ct)}function gn(F){if(p(F),re){if(pe){if(fe&&pe){var ne=(F=j<-(Z/7)&&(he<ve||de))||j>Z/7&&(1<he||de);(F||ne)&&(ii(he-1,!0,j/Z*100),F&&Zt()||ne&&zt()),j=0,hi()}k(ct,!0)}else kn();re=!1}}function An(F){if(p(F),re){var ne=F.touches;ne&&(ne=ne[0])&&(F=ne),ne=(te*U-Z)/2,j-=m-(m=F.pageX),fe||(j>ne?j=ne:j<-ne&&(j=-ne),ee*U>G&&(ne=(ee*U-G)/2,R-=J-(J=F.pageY),R>ne?R=ne:R<-ne&&(R=-ne))),pe=!0,hi(j,R)}else Gi()}function Dn(F){var ne=Ln();(typeof F!="boolean"||F!==!!ne)&&(ne?document[pn]():C[ut]())}function Mi(F){typeof F!="string"&&(F=V?"":bt||"white"),V!==F&&(V&&a(C,V),F&&a(C,F,!0),V=F)}function ni(F){typeof F=="boolean"&&(X=!F),X=U===1&&!X,a(be,"autofit",X),l(be,"transform",""),U=1,R=j=0,Vi(),k(ct),hi()}function vn(){var F=U/.65;50>=F&&(X&&ni(),j/=.65,R/=.65,hi(j,R),Li(F))}function rn(){var F=.65*U;
36X&&ni(),1<=F&&(F===1?j=R=0:(j*=.65,R*=.65),hi(j,R),Li(F))}function Li(F){U=F||1,mn()}function We(){var F=mt,ne=document.createElement("a"),ye=be.src;ne.href=ye,ne.download=ye.substring(ye.lastIndexOf("/")+1),F.appendChild(ne),ne.click(),F.removeChild(ne)}function it(F){setTimeout(function(){mt.removeChild(C),ct=be=Rt=Pe=Ke=ke=ge=Ie=lt=$t=null},200),a(mt,"hide-scrollbars"),a(C,"show"),Dn(!1),Ci(),history.go(F===!0?-1:-2),Kt&&(Xt.src=""),Dt&&pi(),be&&vt(be),Yt&&(Yt=clearTimeout(Yt)),V&&Mi(),Lt&&a(C,Lt),lt&<()}function vt(F){if(F.g)F.g.appendChild(F),F.g=null;else{var ne=F.parentNode;ne&&ne.removeChild(F),F.src=F.onerror=""}}function zt(F){if(F&&Gi(),1<ve){if(1<he)return Ri(he-1);if(de)return ii(ve,!0),Ri(ve)}}function Zt(F){if(F&&Gi(),1<ve){if(he<ve)return Ri(he+1);if(de)return ii(-1,!0),Ri(1);Dt&&pi()}}function Ri(F){if(F!==he){Dt?(clearTimeout(Dt),sn()):Gi();var ne=F>he;return he=F,ot(ne),!0}}function Ne(F){var ne=ke[he-1],ye=ne;if(Pe={},Ke&&Object.assign(Pe,Ke),Object.assign(Pe,ye.dataset||ye),et=Pe.media,$t=Pe.onclick,bt=Pe.theme,Lt=Pe.class,It=St("autohide",!0),de=St("infinite"),oe=St("progress",!0),at=St("autoslide"),ht=St("preload",!0),Mt=Pe.buttonHref,pt=at&&parseFloat(at)||7,V||bt&&Mi(bt),Lt&&a(C,Lt,!0),Lt&&r(C),ye=Pe.control){ye=typeof ye=="string"?ye.split(","):ye;for(var Re=0;Re<I.length;Re++)Pe[I[Re]]=!1;for(Re=0;Re<ye.length;Re++){var tt=ye[Re].trim();tt==="zoom"?Pe["zoom-in"]=Pe["zoom-out"]=!0:Pe[tt]=!0}}if(ye=Pe.animation,Ut=ei=ti=!ye,gt=!1,ye)for(ye=typeof ye=="string"?ye.split(","):ye,Re=0;Re<ye.length;Re++)tt=ye[Re].trim(),tt==="scale"?Ut=!0:tt==="fade"?ei=!0:tt==="slide"?ti=!0:tt&&(gt=tt);dt=Pe.fit,Re=S&&S.downlink,ye=Math.max(G,Z)*O,Re&&1200*Re<ye&&(ye=1200*Re);var st;for(Rt={media:et,src:_(ne,ye,Pe,et),title:St("title",ne.alt||ne.title||(st=ne.firstElementChild)&&(st.alt||st.title))},Kt&&(Xt.src=Kt=""),ht&&F&&(ne=ke[he])&&(F=ne.dataset||ne,(st=F.media)&&st!=="image"||(Kt=_(ne,ye,F,st))),ne=0;ne<I.length;ne++)F=I[ne],y(M[F],St(F,z[F]))}function ot(F){if(R=j=0,U=1,be)if(be.onerror)vt(be);else{var ne=be;setTimeout(function(){ne&&be!==ne&&(vt(ne),ne=null)},650),tn(),hi()}Ne(F),ii(he-1),a(en,"error"),Et(he),k(ct),hi(),F=Rt.title;var ye=St("description"),Re=St("button"),tt=F||ye||Re;tt&&(F&&(Qi.firstChild.nodeValue=F),ye&&(ji.firstChild.nodeValue=ye),Re&&(Bt.firstChild.nodeValue=Re),y(Qi,F),y(ji,ye),y(Bt,Re),l(Ki,"transform",It==="all"?"":"none")),It||a(C,"menu",!0),b(Ki,tt),b(Jt,de||1<he),b(ui,de||he<ve),fi.firstChild.nodeValue=1<ve?he+" / "+ve:"",Ie&&Ie(he,Pe)}window.Spotlight={init:Gn,theme:Mi,fullscreen:Dn,download:We,autofit:ni,next:Zt,prev:zt,goto:Ri,close:it,zoom:Li,menu:kn,show:function(F,ne,ye){ke=F,ne&&(Ke=ne,ge=ne.onshow,Ie=ne.onchange,lt=ne.onclose,ye=ye||ne.index),Bi(ye)},play:pi,addControl:qt,removeControl:function(F){var ne=M[F];ne&&(ci.removeChild(ne),M[F]=null)}}}).call(globalThis);const mc=()=>{},gc=()=>{var l;q(document).on("input","#js-newsletter-form input",function(){const n=q(this).attr("name");q(`#error-${n}`).addClass("hidden")});const i=document.getElementById("category"),t=new Da({select:i,settings:{showSearch:!1,closeOnSelect:!1},events:{afterChange:n=>{var f,p;const r=n.map(y=>y.value);if(r.includes("all")){if(r.length===1)return;if(n[n.length-1].value==="all")t.setSelected(["all"]);else{const b=r.filter(k=>k!=="all");t.setSelected(b)}}const u=(f=i.nextElementSibling)==null?void 0:f.querySelector(".ss-single");((p=n[0])==null?void 0:p.value)===""?u==null||u.classList.add("is-placeholder"):u==null||u.classList.remove("is-placeholder")}}}),a=(l=i.nextElementSibling)==null?void 0:l.querySelector(".ss-single");i.value===""&&(a==null||a.classList.add("is-placeholder")),q(document).on("submit","#js-newsletter-form",function(n){n.preventDefault();const r=q(this),u=r.serializeArray(),f=q("#js-newsletter-loader"),p=q("#js-newsletter-button");let y=!1;q(".newsletter-error").addClass("hidden"),p.addClass("hidden"),f.removeClass("hidden"),u.find(x=>x.name==="lastname").value.length===0&&(q("#error-lastname").removeClass("hidden"),y=!0),u.find(x=>x.name==="firstname").value.length===0&&(q("#error-firstname").removeClass("hidden"),y=!0);const I=u.find(x=>x.name==="email"),z=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;I.value.length===0&&(q("#error-email").text("KötelezÅ mezÅ."),q("#error-email").removeClass("hidden"),y=!0),z.test(I.value)||(q("#error-email").text("Ãrvénytelen email cÃm."),q("#error-email").removeClass("hidden"),y=!0);const C=u.find(x=>x.name==="privacy");if((!C||C.value!=="on")&&(q("#error-privacy").removeClass("hidden"),y=!0),y){f.addClass("hidden"),p.removeClass("hidden");return}q.ajax({type:"POST",url:localize.ajax_url,data:{action:"mailchimpsubscribe",data:u},success:function(x){f.addClass("hidden"),p.removeClass("hidden"),x.fault?x.errors&&x.errors.length?x.errors.forEac
36h(h=>{q(`#${h}`).removeClass("hidden")}):q("#error-general").removeClass("hidden"):(q("#js-newsletter-success-message").removeClass("hidden"),t.setSelected([]),r[0].reset())},error:function(x){f.addClass("hidden"),p.removeClass("hidden"),q("#error-general").removeClass("hidden")}})})},vc=()=>{var r,u;const i=document.getElementById("commentform"),t=document.getElementById("recaptcha_token"),a=(r=window.recaptchaSettings)==null?void 0:r.siteKey;if(!i||!t||!a||typeof grecaptcha>"u")return;const l=((u=window.recaptchaSettings)==null?void 0:u.action)||"comment_form";let n=!1;i.addEventListener("submit",function(f){n||(f.preventDefault(),grecaptcha.ready(function(){grecaptcha.execute(a,{action:l}).then(function(p){t.value=p,n=!0,i.submit()})}))})},yc=()=>{const i=window.location.hash;if(i){const t=q(i);t.length&&q("html, body").animate({scrollTop:t.offset().top-100},500)}};window.mobileMenu=Ga;window.filterModalSearchResults=Ua;window.news=Ja;window.podcast=Ka;window.cardsSlider=ql;window.featuresSlider=Vl;window.podcastSlider=Gl;window.playlistSlider=Ul;window.copyUrl=Jl;window.filterOrganizations=Kl;document.querySelector(".js-simple-map")&&Ql();window.relatedContentSlider=ed;window.filterEvents=dc;uc();window.filterSearchResults=fc;window.playlist=hc;window.feature=pc;window.gallery=mc;window.newsletterForm=gc;window.commentForm=vc;yc();
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.