function dropdown(){const o=window.matchMedia("(max-width: 767px)"),i=document.querySelector(".gh-navigation"),r=i.querySelector(".gh-navigation-menu"),a=r?.querySelector(".nav");if(a){const e=document.querySelector(".gh-navigation-logo"),t=a.innerHTML;o.matches&&a.querySelectorAll("li").forEach(function(e,t){e.style.transitionDelay=.03*(t+1)+"s"});const n=function(){if(!o.matches){for(var e=[];a.offsetWidth+64>r.offsetWidth&&a.lastElementChild;)e.unshift(a.lastElementChild),a.lastElementChild.remove();if(e.length){const t=document.createElement("button"),n=(t.setAttribute("class","gh-more-toggle gh-icon-button"),t.setAttribute("aria-label","More"),t.innerHTML='',document.createElement("div"));n.setAttribute("class","gh-dropdown"),10<=e.length?(i.classList.add("is-dropdown-mega"),n.style.gridTemplateRows=`repeat(${Math.ceil(e.length/2)}, 1fr)`):i.classList.remove("is-dropdown-mega"),e.forEach(function(e){n.appendChild(e)}),t.appendChild(n),a.appendChild(t),i.classList.add("is-dropdown-loaded"),window.addEventListener("click",function(e){i.classList.contains("is-dropdown-open")?i.classList.remove("is-dropdown-open"):t.contains(e.target)&&i.classList.add("is-dropdown-open")})}else i.classList.add("is-dropdown-loaded")}};imagesLoaded(e,function(){n()}),window.addEventListener("load",function(){e||n()}),window.addEventListener("resize",function(){setTimeout(()=>{a.innerHTML=t,n()},1)})}}function lightbox(e){document.querySelectorAll(e).forEach(function(e){e.addEventListener("click",function(e){var t=e;t.preventDefault();for(var n,o=[],i=0,r=t.target.closest(".kg-card").previousElementSibling;r&&(r.classList.contains("kg-image-card")||r.classList.contains("kg-gallery-card"));){var a=[];r.querySelectorAll("img").forEach(function(e){a.push({src:e.getAttribute("src"),msrc:e.getAttribute("src"),w:e.getAttribute("width"),h:e.getAttribute("height"),el:e}),i+=1}),r=r.previousElementSibling,o=a.concat(o)}t.target.classList.contains("kg-image")?o.push({src:t.target.getAttribute("src"),msrc:t.target.getAttribute("src"),w:t.target.getAttribute("width"),h:t.target.getAttribute("height"),el:t.target}):(n=!1,t.target.closest(".kg-gallery-card").querySelectorAll("img").forEach(function(e){o.push({src:e.getAttribute("src"),msrc:e.getAttribute("src"),w:e.getAttribute("width"),h:e.getAttribute("height"),el:e}),n||e===t.target?n=!0:i+=1}));for(var l=t.target.closest(".kg-card").nextElementSibling;l&&(l.classList.contains("kg-image-card")||l.classList.contains("kg-gallery-card"));)l.querySelectorAll("img").forEach(function(e){o.push({src:e.getAttribute("src"),msrc:e.getAttribute("src"),w:e.getAttribute("width"),h:e.getAttribute("height"),el:e})}),l=l.nextElementSibling;e=document.querySelectorAll(".pswp")[0];new PhotoSwipe(e,PhotoSwipeUI_Default,o,{bgOpacity:.9,closeOnScroll:!0,fullscreenEl:!1,history:!1,index:i,shareEl:!1,zoomEl:!1,getThumbBoundsFn:function(e){var e=o[e].el,t=window.pageYOffset||document.documentElement.scrollTop,e=e.getBoundingClientRect();return{x:e.left,y:e.top+t,w:e.width}}}).init()})})}!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var n;if(e&&t)return-1==(n=(n=this._events=this._events||{})[e]=n[e]||[]).indexOf(t)&&n.push(t),this},t.once=function(e,t){var n;if(e&&t)return this.on(e,t),((n=this._onceEvents=this._onceEvents||{})[e]=n[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var o=this._onceEvents&&this._onceEvents[e],i=0;i"+e.label+"",A.parseShareButtonOut&&(i=A.parseShareButtonOut(e,i));y.children[0].innerHTML=i,y.children[0].onclick=z}}function r(e){for(var t=0;tA.fitControlsWidth?(t=A.barsSize,A.captionEl&&"auto"===t.bottom?(h||((h=l.createEl("pswp__caption pswp__caption--fake")).appendChild(l.createEl("pswp__caption__center")),p.insertBefore(h,f),l.addClass(p,"pswp__ui--fit")),A.addCaptionHTMLFn(e,h,!0)?(e=h.clientHeight,n.bottom=parseInt(e,10)||44):n.bottom=t.top):n.bottom="auto"===t.bottom?0:t.bottom,n.top=t.top):n.top=n.bottom=0}function F(){function e(e){if(e)for(var t=e.length,n=0;nt.min[e]?n[e]=t.min[e]:n[e]=mt&&(Ne=0f.currItem.fitRatio&&qt(Te))}}var $,V,X,g,Q,J,ee,te,o,y,ne,oe,ie,re,ae,a,le,se,ce,ue,de,me,pe,i,fe,he,ge,ye,ve,we,l,be,xe,Ee,Te,Ce,Ae,Se,s,Ie,ke,_e,De,Le,c,u,Oe,d,Me,v,Ne,Re,Fe,Pe,ze,He,Ue=e(),Be=e(),w=e(),b={},Ze=0,qe={},x=e(),E=0,je=!0,We=[],Ge={},Ke=!1,Ye={},T=function(e){var t=Ye[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var o=0;of.currItem.fitRatio?Ke||(cn(f.currItem,!1,!0),Ke=!0):Ke&&(cn(f.currItem),Ke=!1)),$e(Me,w.x,w.y,y))},Ve=function(e){e.container&&$e(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Xe=function(e,t){t[me]=oe+e+"px, 0px"+ie},Qe=function(e,t){var n;!h.loop&&t&&(t=g+(x.x*Ze-e)/x.x,n=Math.round(e-O.x),t<0&&0=M()-1&&n<0)&&(e=O.x+n*h.mainScrollEndFriction),O.x=e,Xe(e,Q)},Je=function(e,t){var n=Et[e]-qe[e];return Be[e]+Ue[e]+n-t/ne*n},I=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},et=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},tt=null,nt=function(){tt&&(p.unbind(document,"mousemove",nt),p.addClass(m,"pswp--has_mouse"),h.mouseUsed=!0,T("mouseUsed")),tt=setTimeout(function(){tt=null},100)},ot=function(e,t){e=ln(f.currItem,b,e);return t&&(d=e),e},it=function(e){return(e=e||f.currItem).initialZoomLevel},rt=function(e){return 0<(e=e||f.currItem).w?h.maxSpreadZoom:1},k={},at=0,lt=function(e){k[e]&&(k[e].raf&&he(k[e].raf),at--,delete k[e])},st=function(e){k[e]&<(e),k[e]||(at++,k[e]={})},ct=function(){for(var e in k)k.hasOwnProperty(e)&<(e)},ut=function(e,t,n,o,i,r,a){function l(){k[e]&&(s=C()-c,o<=s?(lt(e),r(n),a&&a()):(r((n-t)*i(s/o)+t),k[e].raf=fe(l)))}var s,c=C();st(e);l()},z={shout:T,listen:r,viewportSize:b,options:h,isMainScrollAnimating:function(){return v},getZoomLevel:function(){return y},getCurrentIndex:function(){return g},isDragging:function(){return s},isZooming:function(){return u},setScrollOffset:function(e,t){qe.x=e,we=qe.y=t,T("updateScrollOffset",qe)},applyZoomPan:function(e,t,n,o){w.x=t,w.y=n,y=e,S(o)},init:function(){if(!$&&!V){f.framework=p,f.template=m,f.bg=p.getChildByClass(m,"pswp__bg"),ge=m.className,$=!0,l=p.detectFeatures(),fe=l.raf,he=l.caf,me=l.transform,ve=l.oldIE,f.scrollWrap=p.getChildByClass(m,"pswp__scroll-wrap"),f.container=p.getChildByClass(f.scrollWrap,"pswp__container"),Q=f.container.style,f.itemHolders=a=[{el:f.container.children[0],wrap:0,index:-1},{el:f.container.children[1],wrap:0,index:-1},{el:f.container.children[2],wrap:0,index:-1}],a[0].el.style.display=a[2].el.style.display="none",me?(t=l.perspective&&!i,oe="translate"+(t?"3d(":"("),ie=l.perspective?", 0px)":")"):(me="left",p.addClass(m,"pswp--ie"),Xe=function(e,t){t.left=e+"px"},Ve=function(e){var t=1=M())&&(g=0),f.currItem=en(g),(l.isOldIOSPhone||l.isOldAndroid)&&(je=!1),m.setAttribute("aria-hidden","false"),h.modal&&(je?m.style.position="fixed":(m.style.position="absolute",m.style.top=p.getScrollY()+"px")),void 0===we&&(T("initialLayout"),we=ye=p.getScrollY());var n="pswp--open ";for(h.mainClass&&(n+=h.mainClass+" "),h.showHideOpacity&&(n+="pswp--animate_opacity "),n=(n=(n+=i?"pswp--touch":"pswp--notouch")+(l.animationName?" pswp--css_animation":""))+(l.svg?" pswp--svg":""),p.addClass(m,n),f.updateSize(),J=-1,E=null,e=0;e<3;e++)Xe((e+J)*x.x,a[e].el.style);ve||p.bind(f.scrollWrap,te,f),r("initialZoomInEnd",function(){f.setContent(a[0],g-1),f.setContent(a[2],g+1),a[0].el.style.display=a[2].el.style.display="block",h.focus&&m.focus(),p.bind(document,"keydown",f),l.transform&&p.bind(f.scrollWrap,"click",f),h.mouseUsed||p.bind(document,"mousemove",nt),p.bind(window,"resize scroll orientationchange",f),T("bindEvents")}),f.setContent(a[1],g),f.updateCurrItem(),T("afterInit"),je||(re=setInterval(function(){at||s||u||y!==f.currItem.initialZoomLevel||f.updateSize()},1e3)),p.addClass(m,"pswp--visible")}var t},close:function(){$&&(V=!($=!1),T("close"),p.unbind(window,"resize scroll orientationchange",f),p.unbind(window,"scroll",o.scroll),p.unbind(document,"keydown",f),p.unbind(document,"mousemove",nt),l.transform&&p.unbind(f.scrollWrap,"click",f),s&&p.unbind(window,ee,f),clearTimeout(be),T("unbindEvents"),tn(f.currItem,null,!0,f.destroy))},destroy:function(){T("destroy"),Vt&&clearTimeout(Vt),m.setAttribute("aria-hidden","true"),m.className=ge,re&&clearInterval(re),p.unbind(f.scrollWrap,te,f),p.unbind(window,"scroll",f),St(),ct(),Ye=null},panTo:function(e,t,n){n||(e>d.min.x?e=d.min.x:ed.min.y?t=d.min.y:td.min[e]||rd.min[e]&&(c=h.panEndFriction,d.min[e],n=d.min[e]-Be[e]),(n<=0||s<0)&&1gt.x&&(i=gt.x)):d.min.x!==d.max.x&&(o=r)):(rf.currItem.fitRatio&&(w[e]+=t[e]*c)):(void 0!==i&&(Qe(i,!0),Le=i!==gt.x),d.min.x!==d.max.x&&(void 0!==o?w.x=o:Le||(w.x+=t.x*c)),void 0!==i)},Bt=function(){var e,t,n,o,i,r;c&&0!==(e=c.length)&&(I(_,c[0]),D.x=_.x-L.x,D.y=_.y-L.y,u&&1f.currItem.initialZoomLevel+f.currItem.initialZoomLevel/15&&(ze=!0),n=1,o=it(),i=rt(),t=mt&&(D.x-=c[0].x-ft.x),Math.abs(D.y)>=mt)&&(D.y-=c[0].y-ft.y),L.x=_.x,L.y=_.y,0===D.x&&0===D.y||("v"===Ne&&h.closeOnVerticalDrag&&!kt()?(Ue.y+=D.y,w.y+=D.y,r=Rt(),Ae=!0,T("onVerticalDrag",r),A(r),S()):(Nt(C(),_.x,_.y),_e=!0,d=f.currItem.bounds,Ut("x",D)||(Ut("y",D),et(w),S())))))},Zt=function(){var t,n,o={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(e){n=(1d.min[t]?o.backAnimDestination[t]=d.min[t]:w[t]=M()&&(g=h.loop?0:M()-1,i=!0),i&&!h.loop||(E+=o,Ze-=o,n=!0));var e=x.x*Ze,r=Math.abs(e-O.x),a=n||e>O.x==0The image could not be loaded.',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Xt.length}},rn=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},an=function(e,t,n){var o=e.bounds;o.center.x=Math.round((N.x-t)/2),o.center.y=Math.round((N.y-n)/2)+e.vGap.top,o.max.x=t>N.x?Math.round(N.x-t):o.center.x,o.max.y=n>N.y?Math.round(N.y-n)+e.vGap.top:o.center.y,o.min.x=t>N.x?0:o.center.x,o.min.y=n>N.y?e.vGap.top:o.center.y},ln=function(e,t,n){var o,i;return e.src&&!e.loadError?((o=!n)&&(e.vGap||(e.vGap={top:0,bottom:0}),T("parseVerticalMargin",e)),N.x=t.x,N.y=t.y-e.vGap.top-e.vGap.bottom,o&&(t=N.x/e.w,i=N.y/e.h,e.fitRatio=t=d.max.x&&n<=d.min.y&&n>=d.max.y)&&e.preventDefault(),f.panTo(t,n)},toggleDesktopZoom:function(e){e=e||{x:b.x/2+qe.x,y:b.y/2+qe.y};var t=h.getDoubleTapZoom(!0,f.currItem),n=y===t;f.mouseZoomedIn=!n,f.zoomTo(n?f.currItem.initialZoomLevel:t,e,333),p[(n?"remove":"add")+"Class"](m,"pswp--zoomed-in")}}});function pn(){hn&&clearTimeout(hn),yn&&clearTimeout(yn)}function fn(){var e=Sn(),t={};if(!(e.length<5)){var n,o=e.split("&");for(r=0;re.length)&&(t=e.length);for(var n=0,o=new Array(t);n/gm),gt=e(/\${[\w\W]*}/gm),yt=e(/^data-[\-\w.\u00B7-\uFFFF]/),vt=e(/^aria-[\-\w]+$/),wt=e(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bt=e(/^(?:\w+script|data):/i),xt=e(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Et=e(/^html$/i);return function R(){var l=0"+e:n=(n=ct(e,/^[\r\n\t ]+/))&&n[0],"application/xhtml+xml"===f&&D===_&&(e=''+e+"");var t,n,o=p?p.createHTML(e):e;if(D===_)try{t=(new U).parseFromString(o,f)}catch(e){}if(!t||!t.documentElement){t=W.createDocument(D,"template",null);try{t.documentElement.innerHTML=V?"":o}catch(e){}}o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),D===_?Y.call(t,x?"html":"body")[0]:x?t.documentElement:o},Ne=function(e){return G.call(e.ownerDocument||e,e,t.SHOW_ELEMENT|t.SHOW_COMMENT|t.SHOW_TEXT,null,!1)},M=function(e){return"object"===Ue(u)?e instanceof u:e&&"object"===Ue(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},N=function(e,t,n){o[e]&&st(o[e],function(e){e.call(c,t,n,a)})},Re=function(e){if(N("beforeSanitizeElements",e,null),(!((r=e)instanceof H)||"string"==typeof r.nodeName&&"string"==typeof r.textContent&&"function"==typeof r.removeChild&&r.attributes instanceof z&&"function"==typeof r.removeAttribute&&"function"==typeof r.setAttribute&&"string"==typeof r.namespaceURI&&"function"==typeof r.insertBefore&&"function"==typeof r.hasChildNodes)&&!$e(/[\u0080-\uFFFF]/,e.nodeName)){var t,n,o,i,r=h(e.nodeName);if(N("uponSanitizeElement",e,{tagName:r,allowedTags:g}),(!e.hasChildNodes()||M(e.firstElementChild)||M(e.content)&&M(e.content.firstElementChild)||!$e(/<[/\w]/g,e.innerHTML)||!$e(/<[/\w]/g,e.textContent))&&("select"!==r||!$e(/