1(()=>{var ai=Object.create;var re=Object.defineProperty;var si=Object.getOwnPropertyDescriptor;var li=Object.getOwnPropertyNames;var ui=Object.getPrototypeOf,di=Object.prototype.hasOwnProperty;var y=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports);var ci=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of li(e))!di.call(i,r)&&r!==t&&re(i,r,{get:()=>e[r],enumerable:!(n=si(e,r))||n.enumerable});return i};var ne=(i,e,t)=>(t=i!=null?ai(ui(i)):{},ci(e||!i||!i.__esModule?re(t,"default",{value:i,enumerable:!0}):t,i));var _=y((Nt,ae)=>{function hi(i){var e=typeof i;return i!=null&&(e=="object"||e=="function")}ae.exports=hi});var le=y((Bt,se)=>{var gi=typeof global=="object"&&global&&global.Object===Object&&global;se.exports=gi});var $=y((Wt,ue)=>{var fi=le(),yi=typeof self=="object"&&self&&self.Object===Object&&self,pi=fi||yi||Function("return this")();ue.exports=pi});var ce=y(($t,de)=>{var bi=$(),vi=function(){return bi.Date.now()};de.exports=vi});var ge=y((Gt,he)=>{var mi=/\s/;function xi(i){for(var e=i.length;e--&&mi.test(i.charAt(e)););return e}he.exports=xi});var ye=y((Rt,fe)=>{var wi=ge(),ji=/^\s+/;function Ii(i){return i&&i.slice(0,wi(i)+1).replace(ji,"")}fe.exports=Ii});var G=y((Ht,pe)=>{var Qi=$(),Pi=Qi.Symbol;pe.exports=Pi});var xe=y((Et,me)=>{var be=G(),ve=Object.prototype,Ci=ve.hasOwnProperty,Li=ve.toString,O=be?be.toStringTag:void 0;function Si(i){var e=Ci.call(i,O),t=i[O];try{i[O]=void 0;var n=!0}catch(a){}var r=Li.call(i);return n&&(e?i[O]=t:delete i[O]),r}me.exports=Si});var je=y((Zt,we)=>{var Di=Object.prototype,Ai=Di.toString;function ki(i){return Ai.call(i)}we.exports=ki});var Ce=y((Xt,Pe)=>{var Ie=G(),Oi=xe(),Ti=je(),_i="[object Null]",zi="[object Undefined]",Qe=Ie?Ie.toStringTag:void 0;function Mi(i){return i==null?i===void 0?zi:_i:Qe&&Qe in Object(i)?Oi(i):Ti(i)}Pe.exports=Mi});var Se=y((Ft,Le)=>{function qi(i){return i!=null&&typeof i=="object"}Le.exports=qi});var Ae=y((Vt,De)=>{var Ni=Ce(),Bi=Se(),Wi="[object Symbol]";function $i(i){return typeof i=="symbol"||Bi(i)&&Ni(i)==Wi}De.exports=$i});var _e=y((Ut,Te)=>{var Gi=ye(),ke=_(),Ri=Ae(),Oe=0/0,Hi=/^[-+]0x[0-9a-f]+$/i,Ei=/^0b[01]+$/i,Zi=/^0o[0-7]+$/i,Xi=parseInt;function Fi(i){if(typeof i=="number")return i;if(Ri(i))return Oe;if(ke(i)){var e=typeof i.valueOf=="function"?i.valueOf():i;i=ke(e)?e+"":e}if(typeof i!="string")return i===0?i:+i;i=Gi(i);var t=Ei.test(i);return t||Zi.test(i)?Xi(i.slice(2),t?2:8):Hi.test(i)?Oe:+i}Te.exports=Fi});var H=y((Jt,Me)=>{var Vi=_(),R=ce(),ze=_e(),Ui="Expected a function",Ji=Math.max,Ki=Math.min;function Yi(i,e,t){var n,r,a,s,l,u,c=0,g=!1,f=!1,Q=!0;if(typeof i!="function")throw new TypeError(Ui);e=ze(e)||0,Vi(t)&&(g=!!t.leading,f="maxWait"in t,a=f?Ji(ze(t.maxWait)||0,e):a,Q="trailing"in t?!!t.trailing:Q);function m(h){var j=n,k=r;return n=r=void 0,c=h,s=i.apply(k,j),s}function P(h){return c=h,l=setTimeout(w,e),g?m(h):s}function C(h){var j=h-u,k=h-c,te=e-j;return f?Ki(te,a-k):te}function L(h){var j=h-u,k=h-c;return u===void 0||j>=e||j<0||f&&k>=a}function w(){var h=R();if(L(h))return S(h);l=setTimeout(w,C(h))}function S(h){return l=void 0,Q&&n?m(h):(n=r=void 0,s)}function D(){l!==void 0&&clearTimeout(l),c=0,n=u=r=l=void 0}function W(){return l===void 0?s:S(R())}function A(){var h=R(),j=L(h);if(n=arguments,r=this,u=h,j){if(l===void 0)return P(u);if(f)return clearTimeout(l),l=setTimeout(w,e),m(u)}return l===void 0&&(l=setTimeout(w,e)),s}return A.cancel=D,A.flush=W,A}Me.exports=Yi});var Ne=y((Kt,qe)=>{var et=H(),it=_(),tt="Expected a function";function rt(i,e,t){var n=!0,r=!0;if(typeof i!="function")throw new TypeError(tt);return it(t)&&(n="leading"in t?!!t.leading:n,r="trailing"in t?!!t.trailing:r),et(i,e,{leading:n,maxWait:e,trailing:r})}qe.exports=rt});jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(i,e,t,n,r){return jQuery.easing[jQuery.easing.def](i,e,t,n,r)},easeInQuad:function(i,e,t,n,r){return n*(e/=r)*e+t},easeOutQuad:function(i,e,t,n,r){return-n*(e/=r)*(e-2)+t},easeInOutQuad:function(i,e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t},easeInCubic:function(i,e,t,n,r){return n*(e/=r)*e*e+t},easeOutCubic:function(i,e,t,n,r){return n*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(i,e,t,n,r){return(e/=r/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t},easeInQuart:function(i,e,t,n,r){return n*(e/=r)*e*e*e+t},easeOutQuart:function(i,e,t,n,r){return-n*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(i,e,t,n,r){return(e/=r/2)<1?n/2*e*e*e*e+t:-n/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(i,e,t,n,r){return n*(e/=r)*e*e*e*e+t},easeOutQuint:function(i,e,t,n,r){return n*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(i,e,t,n,r){return(e/=r/2)<1?n/2*e*e*e*e*e+t:n/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(i,e,t,n,r){return-n*Math.cos(e/r*(Math.PI/2))+n+t},easeOutSine:function(i,e,t,n,r){return n*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(i,e,t,n,r){return-n/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(i,e,t,n,r){return e==0?t:n*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(i,e,t,n,r){return e==r?t+n:n*(-Math.pow(2,-10*e/r)+1)+t},easeInOutExpo:function(i,e,t,n,r){return e==0?t:e==r?t+n:(e/=r/2)<1?n/2*Math.pow(2,10*(e-1))+t:n/2*(-Math.pow(2,-10*--e)+2)+t},easeInCirc:function(i,e,t,n,r){return-n*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(i,e,t,n,r){return n*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(i,e,t,n,r){return(e/=r/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+t:n/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(i,e,t,n,r){var a=1.70158,s=0,l=n;if(e==0)return t;if((e/=r)==1)return t+n;if(s||(s=r*.3),l<Math.abs(n)){l=n;var a=s/4}else var a=s/(2*Math.PI)*Math.asin(n/l);return-(l*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/s))+t},easeOutElastic:function(i,e,t,n,r){var a=1.70158,s=0,l=n;if(e==0)return t;if((e/=r)==1)return t+n;if(s||(s=r*.3),l<Math.abs(n)){l=n;var a=s/4}else var a=s/(2*Math.PI)*Math.asin(n/l);return l*Math.pow(2,-10*e)*Math.sin((e*r-a)*(2*Math.PI)/s)+n+t},easeInOutElastic:function(i,e,t,n,r){var a=1.70158,s=0,l=n;if(e==0)return t;if((e/=r/2)==2)return t+n;if(s||(s=r*(.3*1.5)),l<Math.abs(n)){l=n;var a=s/4}else var a=s/(2*Math.PI)*Math.asin(n/l);return e<1?-.5*(l*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/s))+t:l*Math.pow(2,-10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/s)*.5+n+t},easeInBack:function(i,e,t,n,r,a){return a==null&&(a=1.70158),n*(e/=r)*e*((a+1)*e-a)+t},easeOutBack:function(i,e,t,n,r,a){return a==null&&(a=1.70158),n*((e=e/r-1)*e*((a+1)*e+a)+1)+t},easeInOutBack:function(i,e,t,n,r,a){return a==null&&(a=1.70158),(e/=r/2)<1?n/2*(e*e*(((a
1*=1.525)+1)*e-a))+t:n/2*((e-=2)*e*(((a*=1.525)+1)*e+a)+2)+t},easeInBounce:function(i,e,t,n,r){return n-jQuery.easing.easeOutBounce(i,r-e,0,n,r)+t},easeOutBounce:function(i,e,t,n,r){return(e/=r)<1/2.75?n*(7.5625*e*e)+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(i,e,t,n,r){return e<r/2?jQuery.easing.easeInBounce(i,e*2,0,n,r)*.5+t:jQuery.easing.easeOutBounce(i,e*2-r,0,n,r)*.5+n*.5+t}});var oe=function(i){this.slides=i,_this=this,this.getMarkup=function(){var e="";return this.slides.map(function(t){var n=t.hasOwnProperty("lightbox_caption")&&t.lightbox_caption!=null?t.lightbox_caption.trim():"",r=n==""?"no-caption":"has-caption",a=t.hasOwnProperty("lightbox_group")&&t.lightbox_group!=null?t.lightbox_group.replace(/"/g,"""):"all";e+='<div class="swiper-slide '+r+'" data-lightbox-gallery-group="'+a+'">'+t.image_markup+'<div class="lightbox-caption lay-textformat-parent">'+n+"</div></div>"}),'<div class="swiper-wrapper">'+e+"</div>"}};var Re=ne(Ne()),He=ne(H()),b=!1;(navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i))&&(b=!0);var B=parseInt(layLightboxPassedData.breakpoint,10),Ee=parseInt(layLightboxPassedData.spaceAround,10),Ze=parseInt(layLightboxPassedData.spaceAroundPhone,10),Xe=parseInt(layLightboxPassedData.spaceBelow,10),Fe=parseInt(layLightboxPassedData.spaceBelowPhone,10),nt=parseInt(layLightboxPassedData.space_between_image_and_caption,10),ot=parseInt(layLightboxPassedData.space_between_image_and_caption_phone,10),M=function(i){for(var e=[265,512,768,1024,1280,1920,2560,3200,3840,4096],t=i,n,n=0;n<e.length;n++)if(e[n]>=i){t=e[n];break}return t},at={getSlider:function(i){return Lt(i)},init:function(){xt()},update:function(){Qt()},positionSlider:function(){Je()},sizeImages:function(){V()},bindResize:function(){Ke()},disable:function(){Pt()},enable:function(){Ct()},bindImagesOnPageClick:function(){vt()}},x=at,o={iScroll:null,ix:0,slidesAmt:0,browserInnerWidth:0,timeoutLR:null,timeoutRL:null,slidePrevNextHandler:null,pageType:null,magneticSlidesActive:!1,isOneImage:!1,isActivated:!0,screenSize:window.innerWidth<=B?"phone":"desktop",isDoingZoomingAnimation:!1,activeGalleryGroup:"all",activeGallerySlidesAmt:0,swiper:null},d={$htmlBody:null,$body:null,$lightboxInner:null},v={slideDuration:layLightboxPassedData.slidingDuration,scrollToAnimationDuration:600,minimalStyle:!1,onlyDrag:!1,useDomCursor:!1},st=function(){d.$htmlBody=jQuery("html, body"),d.$body=jQuery("body"),d.$lightboxInner=jQuery("#lightbox-inner")},lt=function(i){var e=layLightboxPassedData.domCursorAssets||{},t=i.clientX>=o.browserInnerWidth/2?"next":"prev";return e[t]||null},Be=function(i){if(!(!v.useDomCursor||!window.layDomCursor)){var e=lt(i);e&&window.layDomCursor.setContext("lightbox",{priority:40,src:e.src,hotspotX:e.hotspotX,hotspotY:e.hotspotY,width:e.width,height:e.height,x:i.clientX,y:i.clientY})}},F=function(){window.layDomCursor&&window.layDomCursor.hideContext("lightbox")},Ve=function(){return layLightboxPassedData.limitNavigationToElementGrid=="on"},Ue=function(i){return jQuery("#lightbox-region .swiper-slide").eq(i).attr("data-lightbox-gallery-group")||"all"},ut=function(){return Ve()?jQuery('#lightbox-region .swiper-slide[data-lightbox-gallery-group="'+o.activeGalleryGroup+'"]').length:o.slidesAmt},dt=function(i){o.activeGalleryGroup=Ue(i),o.activeGallerySlidesAmt=ut(),ei()},q=function(i){return i<0||i>=o.slidesAmt?!1:Ve()?Ue(i)==o.activeGalleryGroup:!0},E=function(){d.$lightboxInner.addClass("bounceleftright"),clearTimeout(o.timeoutLR),o.timeoutLR=setTimeout(function(){d.$lightboxInner.removeClass("bounceleftright")},600)},Z=function(){d.$lightboxInner.addClass("bouncerightleft"),clearTimeout(o.timeoutRL),o.timeoutRL=setTimeout(function(){d.$lightboxInner.removeClass("bouncerightleft")},600)},Je=function(){},V=function(){var i=o.screenSize=="desktop"?Ee:Ze,e=o.screenSize=="desktop"?Xe:Fe,t=jQuery("body").innerWidth(),n=(window.innerHeight-e)/t,r=window.innerHeight/t;jQuery("#lightbox-region .swiper-slide").each(function(a){var s=jQuery(this).find("img"),l,u,c=s.attr("data-ar");if(jQuery(this).hasClass("has-caption"))if(c>n){l=window.innerHeight-i-e,u=l/c,s.css({width:u,height:l,top:i,left:"50%",transform:"translate(-50%,0)","webkit-transform":"translate(-50%,0)"});var g=M(u);s.attr("data-sizes",g+"px"),s.attr("sizes",g+"px")}else{l=(t-i*2)*c,u=t-i*2,s.css({width:u,height:l,top:"50%",left:"50%",transform:"translate(-50%,-50%)","webkit-transform":"translate(-50%,-50%)"});var g=M(u);s.attr("data-sizes",g+"px"),s.attr("sizes",g+"px")}else{c>r?(l=window.innerHeight-i*2,u=l/c):(l=(t-i*2)*c,u=t-i*2),s.css({width:u,height:l,top:"50%",left:"50%",transform:"translate(-50%,-50%)","webkit-transform":"translate(-50%,-50%)"});var g=M(u);s.attr("data-sizes",g+"px"),s.attr("sizes",g+"px")}})},T=function(){var i=o.screenSize=="desktop"?Ee:Ze,e=o.screenSize=="desktop"?Xe:Fe,t=o.screenSize=="desktop"?nt:ot,n=(window.innerHeight-e)/jQuery("body").innerWidth();jQuery("#lightbox-region .swiper-slide.has-caption").each(function(r){var a=jQuery(this).find("img"),s=a[0].getBoundingClientRect(),l=a.position().left,u=0,c=a.attr("data-ar");if(c<n){var g=jQuery("body").innerWidth()-i*2,f=g*c,Q=(window.innerHeight-f)/2;Q>e?u=f+(window.innerHeight-f)/2:u=window.innerHeight-e}else{var f=window.innerHeight-i-e;u=f+i}u+=t,jQuery(this).find(".lightbox-caption").css({width:s.width+"px",left:l+"px",to
1p:u+"px"})})},We=o.screenSize,Ke=function(){jQuery(window).on("resize",function(){if(o.browserInnerWidth=jQuery("body").innerWidth(),d.$lightboxInner.find(".swiper-container").css("width",o.browserInnerWidth),d.$lightboxInner.find(".swiper-slide").css("width",o.browserInnerWidth),!b)o.swiper&&o.swiper.updateSize&&o.swiper.updateSize();else{var i=jQuery("#lightbox-inner .swiper-slide").eq(o.ix)[0];i&&(jQuery("#lightbox-inner .swiper-wrapper").removeClass("use-smooth-scrollsnap"),i.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}))}V(),T(),We=o.screenSize,o.screenSize=window.innerWidth<=B?"phone":"desktop",o.screenSize!=We&&J()}),jQuery(window).on("resize",(0,He.default)(function(){ct(),b&&setTimeout(function(){jQuery("#lightbox-inner .swiper-wrapper").addClass("use-smooth-scrollsnap")},100)},300))},ct=function(){jQuery("#lightbox-region .swiper-slide").each(function(){var i=jQuery(this).find("img"),e=i.width(),t=M(e);i.attr("data-sizes",t+"px"),i.attr("sizes",t+"px")})},ht=function(){b||o.swiper&&o.swiper.destroy(),b&&jQuery("html").addClass("use-scroll-snap-lightbox");var i=parseInt(v.slideDuration,10);jQuery("html").hasClass("phone-size")&&(i=300);var e=jQuery("#lightbox-region .swiper-container").length;if(e!=0){var t=layLightboxPassedData.onlyDrag=="on";if(!b){let n=document.querySelector("#lightbox-region .swiper-container");o.swiper=new Swiper(n,{speed:i,simulateTouch:t,keyboard:{enabled:!1,onlyInViewport:!1}}),o.swiper.on("slideChange",function(){var r=o.swiper.realIndex;if(!q(r)){var a=r>o.ix;o.swiper.slideTo(o.ix,i,!1),o.isOneImage||(a?E():Z());return}o.ix=r,X()})}o.browserInnerWidth=jQuery("body").innerWidth(),d.$lightboxInner.find(".swiper-container").css("width",o.browserInnerWidth),d.$lightboxInner.find(".swiper-slide").css("width",o.browserInnerWidth),b&&jQuery("#lightbox-inner .swiper-wrapper").on("scroll",function(){var n=Math.round(jQuery("#lightbox-inner .swiper-wrapper").scrollLeft()/o.browserInnerWidth);if(!q(n)){var r=n>o.ix,a=jQuery("#lightbox-inner .swiper-slide").eq(o.ix)[0];a&&a.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),o.isOneImage||(r?E():Z());return}o.ix=n})}},gt=function(){o.magneticSlidesActive=!1,typeof magneticSlides!="undefined"&&(o.magneticSlidesActive=magneticSlides.isActiveHere())},N=function(i){return i.find('.col[data-type="img"], .col[data-type="stack"], .col[data-type="elementgrid"]').find(".img:not(.lightboxoff) img").filter(function(){return!this.closest(".lay-row-fixed")})},ft=function(i){if(!i||!i.length)return!1;var e=i.closest(".lay-content");return e.hasClass("scrollslider-active")||e.hasClass("infinite-scrollslider-active")},X=(0,Re.default)(function(){if(layLightboxPassedData.scrollBackground=="on"){var i=I(),e=N(i).eq(o.ix);if(!e.length||ft(e))return;if(o.magneticSlidesActive&&jQuery("html").hasClass("fp-enabled")){var t=e.parents(".row"),n=i.find(".row"),r=0;n.each(function(s){jQuery(this).is(t)&&(r=s)}),i.hasClass("horizontal-fullpage")?jQuery.fn.fullpage.moveTo(1,r):(r++,jQuery.fn.fullpage.moveTo(r,0))}else if(window.projects_overlays!=null&&window.projects_overlays.isOverlayDisplayBlock()){var a=e[0].getBoundingClientRect().top+jQuery("#lay-project-overlay").scrollTop();a-=(window.innerHeight-e.height())/2,jQuery("#lay-project-overlay").animate({scrollTop:a},v.scrollToAnimationDuration,"easeInOutQuad")}else{var a=e.offset().top;a-=(window.innerHeight-e.height())/2,d.$htmlBody.animate({scrollTop:a},v.scrollToAnimationDuration,"easeInOutQuad",function(){d.$htmlBody.off("scroll mousedown wheel DOMMouseScroll mousewheel touchmove")}),d.$htmlBody.on("scroll mousedown wheel DOMMouseScroll mousewheel touchmove",function(){d.$htmlBody.stop()})}}},v.scrollToAnimationDuration),yt=function(){var i=null,e=function(t){i!=t.clientX&&jQuery(t.data).addClass("mousedown")};d.$lightboxInner.on("mousedown",function(t){i=t.clientX,jQuery(this).on("mousemove",this,e)}).on("mouseup",function(){jQuery(this).removeClass("mousedown"),jQuery(this).off("mousemove",e)})},pt=function(){var i=this;this.bindTap=function(){jQuery("body").hasClass("no-touchdevice")?layLightboxPassedData.minimalStyle=="on"?jQuery("#lightbox-inner .swiper-wrapper").find("img").on("click",function(e){!jQuery(e.target).is("a")&&!jQuery(e.target).closest("a").length&&i.onClickInner(e)}):(jQuery("#lightbox-inner .swiper-wrapper").off("click"),jQuery("#lightbox-inner .swiper-wrapper").on("click",function(e){!jQuery(e.target).is("a")&&!jQuery(e.target).closest("a").length&&i.onClickInner(e)})):layLightboxPassedData.minimalStyle=="on"?jQuery("#lightbox-inner .swiper-wrapper").find("img").on("click",function(e){!jQuery(e.target).is("a")&&!jQuery(e.target).closest("a").length&&i.onClickInnerTouchdevice(e)}):(jQuery("#lightbox-inner .swiper-wrapper").off("click"),jQuery("#lightbox-inner .swiper-wrapper").on("click",function(e){!jQuery(e.target).is("a")&&!jQuery(e.target).closest("a").length&&i.onClickInnerTouchdevice(e)}))},this.onClickInner=function(e){e.stopPropagation(),d.$lightboxInner.hasClass("cursor-left")?i.slidePrev():d.$lightboxInner.hasClass("cursor-right")&&i.slideNext()},this.onClickInnerTouchdevice=function(e){e.stopPropagation(),e.clientX>=window.innerWidth/2?i.slideNext():e.clientX<=window.innerWidth/2&&i.slidePrev()},this.slideNext=function(){if(o.ix<o.slidesAmt-1&&q(o.ix+1)){if(o.ix++,!b&&o.swiper)o.swiper.slideNext();else{var e=jQuery("#lightbox-inner .swiper-slide").eq(o.ix)[0];e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}X()}else o.isOneImage||i.bounceLeftRight()},this.bounceLeftRight=function(){E()},this.slidePrev=function(){if(o.ix>
10&&q(o.ix-1)){if(o.ix--,!b&&o.swiper)o.swiper.slidePrev();else{var e=jQuery("#lightbox-inner .swiper-slide").eq(o.ix)[0];e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}X()}else o.isOneImage||i.bounceRightLeft()},this.bounceRightLeft=function(){Z()},this.bindMouseMove=function(){d.$lightboxInner.off("mouseenter.layLightboxDomCursor mousemove.layLightboxDomCursor mouseleave.layLightboxDomCursor"),d.$lightboxInner.on("mouseenter.layLightboxDomCursor",function(e){Be(e)}).on("mousemove.layLightboxDomCursor",function(e){e.pageX>=o.browserInnerWidth/2?d.$lightboxInner.addClass("cursor-right").removeClass("cursor-left"):e.pageX<=o.browserInnerWidth/2&&d.$lightboxInner.addClass("cursor-left").removeClass("cursor-right"),Be(e)}).on("mouseleave.layLightboxDomCursor",function(){F()})}},bt=function(){var i=jQuery(".close-lightbox");i.off("click",p),v.minimalStyle?(i=jQuery("#lightbox-region"),i.on("click",p),d.$lightboxInner.find("img").on("click",function(e){e.stopPropagation()})):i.on("click",p)},U=function(){F(),jQuery("body").removeClass("lightbox-open"),jQuery("#lightbox-region").addClass("lay-hide lay-hide-images transparent")},p=function(i){switch(F(),b&&jQuery("#lightbox-inner .swiper-wrapper").removeClass("use-smooth-scrollsnap"),jQuery(".lightbox-zooming-in").remove(),layLightboxPassedData.lightbox_animation_style){case"zoom":if(o.isDoingZoomingAnimation&&!jQuery("body").hasClass("is-touchdevice"))return;o.isDoingZoomingAnimation=!0,typeof i!="undefined"&&i.stopPropagation();var e=jQuery("#lightbox-region .swiper-slide img").eq(o.ix),t=I(),n=N(t).eq(o.ix);if(!e.length||!n.length){o.isDoingZoomingAnimation=!1,U();return}var r=e[0].getBoundingClientRect(),a=e.clone();jQuery("body").append(a),a.css({position:"fixed",top:r.top+"px",left:r.left+"px",width:r.width+"px",height:r.height+"px",opacity:1,transform:"","-webkit-transform":""}).addClass("lightbox-zooming-out");var s=n[0].getBoundingClientRect();setTimeout(function(){window.lay_lightbox_opened=!1,a.one("transitionend",function(){jQuery(".lightbox-zooming-out").remove(),jQuery("#lightbox-region").addClass("lay-hide"),o.isDoingZoomingAnimation=!1}),a.css({top:s.top+"px",left:s.left+"px",width:s.width+"px",height:s.height+"px",opacity:0}),jQuery("#lightbox-region").addClass("lay-hide-images transparent"),jQuery("body").removeClass("lightbox-open")},0);break;case"fade":jQuery("#lightbox-region").one("transitionend",function(){jQuery("#lightbox-region").addClass("lay-hide lay-hide-images"),window.lay_lightbox_opened=!1}),jQuery("#lightbox-region").addClass("transparent"),jQuery("body").removeClass("lightbox-open");break;default:window.lay_lightbox_opened=!1,jQuery("#lightbox-region").addClass("lay-hide lay-hide-images transparent"),jQuery("body").removeClass("lightbox-open");break}},Ye=function(){jQuery("#lightbox-region img.lazyload:not(.lazyloaded, .lazyloading)").each(function(){var i=jQuery(this),e=i[0],t=i.attr("data-src"),n=i.attr("data-srcset"),r=function(){return e.naturalWidth>0&&e.naturalHeight>0?(i.addClass("lazyloaded loaded").removeClass("lazyload lazyloading"),!0):!1};i.addClass("lazyloading"),e.onload=function(){var a=setInterval(()=>{r()&&clearInterval(a)},20)},e.onerror=function(){i.addClass("loaded loaded-error").removeClass("lazyload lazyloading")},n&&i.attr("srcset",n),t&&i.attr("src",t),e.complete&&r()})},$e=function(i){i.addClass("lazyload"),Ye()},z=function(){jQuery("#lightbox-region #lightbox-inner img:not(.lazyloaded, .lazyloading)").each(function(){jQuery(this).addClass("lazyload")}),Ye()},vt=function(){var i=I(),e=N(i);e.off("click").on("click",function(t){if(!jQuery(this.parentNode).is("a")&&!jQuery(this.parentNode.parentNode).is("a")){t.stopPropagation();var n=jQuery("body");if(o.isActivated&&(layLightboxPassedData.activeOnPhone=="on"||window.innerWidth>B)){var r=I(),a=N(r),s=jQuery(this);if(a.each(function(Q){jQuery(this).is(s)&&(o.ix=Q)}),dt(o.ix),!b)o.swiper&&o.swiper.slideTo(o.ix,0,!1);else{jQuery("#lightbox-inner .swiper-wrapper").removeClass("use-smooth-scrollsnap");var l=jQuery("#lightbox-inner .swiper-slide").eq(o.ix)[0];l&&l.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),jQuery("#lightbox-inner .swiper-wrapper").addClass("use-smooth-scrollsnap")}var u=jQuery("#lightbox-region .swiper-slide img").eq(o.ix);switch(layLightboxPassedData.lightbox_animation_style){case"zoom":if(o.isDoingZoomingAnimation)return;o.isDoingZoomingAnimation=!0;var c=this.getBoundingClientRect(),g=jQuery(this).clone();n.append(g),g.css({position:"fixed",top:c.top+"px",left:c.left+"px",width:c.width+"px",height:c.height+"px",opacity:0}
1).addClass("lightbox-zooming-in"),setTimeout(function(){window.lay_lightbox_opened=!0,T(),g.one("transitionend",function(){jQuery("#lightbox-region").removeClass("lay-hide-images");var P=u[0];if(P.classList.contains("lazyloaded")||P.classList.contains("loaded"))setTimeout(function(){jQuery(".lightbox-zooming-in").remove()},0),z();else{let C=u[0],L={attributes:!0,childList:!1,subtree:!1},w=(D,W)=>{for(let A of D)A.attributeName=="class"&&(u[0].classList.contains("lazyloaded")||u[0].classList.contains("loaded"))&&!u[0].classList.contains("lazyload")&&(setTimeout(function(){jQuery(".lightbox-zooming-in").remove()},0),z(),W.disconnect())};new MutationObserver(w).observe(C,L)}o.isDoingZoomingAnimation=!1,$e(u)});var m=u[0].getBoundingClientRect();setTimeout(()=>{g.css({top:m.top+window.innerHeight+"px",left:m.left+"px",width:m.width+"px",height:m.height+"px",opacity:1})},0),jQuery("#lightbox-region").removeClass("lay-hide transparent"),jQuery("body").addClass("lightbox-open")},0);break;default:var u=jQuery("#lightbox-region .swiper-slide img").eq(o.ix);$e(u);var f=u[0];if(f!=null&&f.classList.contains("lazyloaded")||f!=null&&f.classList.contains("loaded")||jQuery("html").hasClass("fp-enabled"))jQuery("#lightbox-region").removeClass("lay-hide lay-hide-images transparent"),z(),window.lay_lightbox_opened=!0,T();else{let m=u[0],P={attributes:!0,childList:!1,subtree:!1},C=(w,S)=>{for(let D of w)D.attributeName=="class"&&(u[0].classList.contains("lazyloaded")||u[0].classList.contains("loaded"))&&!u[0].classList.contains("lazyload")&&(jQuery("#lightbox-region").removeClass("lay-hide lay-hide-images transparent"),z(),window.lay_lightbox_opened=!0,T(),S.disconnect())};new MutationObserver(C).observe(m,P)}jQuery("body").addClass("lightbox-open");break}}}})},Ge=function(i){if(!jQuery("#lightbox-region").hasClass("lay-hide"))switch(i.which){case 37:o.slidePrevNextHandler.slidePrev();break;case 39:o.slidePrevNextHandler.slideNext();break;case 27:p(i);break}},mt=function(){document.removeEventListener("keydown",Ge),document.addEventListener("keydown",Ge)},ei=function(){var i=o.activeGallerySlidesAmt>0?o.activeGallerySlidesAmt:o.slidesAmt;i==1?(d.$lightboxInner.addClass("oneimage"),o.isOneImage=!0):(d.$lightboxInner.removeClass("oneimage"),o.isOneImage=!1)},xt=function(){layLightboxPassedData.minimalStyle=="on"&&(v.minimalStyle=!0),layLightboxPassedData.onlyDrag=="on"&&(v.onlyDrag=!0),layLightboxPassedData.domCursor&&(v.useDomCursor=!0),st(),o.browserInnerWidth=d.$body.innerWidth(),Ke(),layLightboxPassedData.onlyZoom=="on"?(jQuery(".close-lightbox").off("click",p),jQuery(".close-lightbox").on("click",p)):mt(),yt(),wt()},wt=function(){jQuery("#lightbox-region").on("swipeup",function(){p()})},jt=function(){jQuery("#lightbox-inner .swiper-wrapper").off("click",p),jQuery("#lightbox-inner .swiper-wrapper").on("click",p)},It=function(){jQuery(document).keydown(function(i){if(!jQuery("#lightbox-region").hasClass("lay-hide"))switch(i.which){case 27:p(i);break}}),jQuery("#lightbox-inner .swiper-wrapper").off("click",p),jQuery("#lightbox-inner .swiper-wrapper").on("click",p)},Qt=function(){o.pageType=d.$body.attr("data-type"),gt(),o.ix=0,o.slidesAmt=jQuery("#lightbox-region .swiper-slide").length,o.activeGalleryGroup="all",o.activeGallerySlidesAmt=o.slidesAmt,o.slidesAmt!=0&&(ei(),Je(),V(),T(),ht(),v.onlyDrag&&jt(),layLightboxPassedData.onlyZoom!="on"&&(o.slidePrevNextHandler=new pt,v.onlyDrag||(o.slidePrevNextHandler.bindMouseMove(),o.slidePrevNextHandler.bindTap())),layLightboxPassedData.onlyZoom=="on"&&It(),layLightboxPassedData.onlyZoom!="on"&&bt())},J=function(){layLightboxPassedData.activeOnPhone=="on"?o.isActivated?jQuery("body").addClass("lightbox-css-on").removeClass("lightbox-css-off"):jQuery("body").removeClass("lightbox-css-on").addClass("lightbox-css-off"):window.innerWidth>B&&o.isActivated?jQuery("body").addClass("lightbox-css-on").removeClass("lightbox-css-off"):jQuery("body").removeClass("lightbox-css-on").addClass("lightbox-css-off")},Pt=function(){U(),o.isActivated=!1,d.$body.removeClass("lightbox-active"),jQuery("#lightbox-region #lightbox-inner .swiper-wrapper").html(""),J()},Ct=function(){U(),o.isDoingZoomingAnimation=!1,o.isActivated=!0,d.$body.addClass("lightbox-active"),J()},Lt=function(i){return new oe(i)};var St={updateSlider:function(){Ot()}},Y=St,K={$lightboxRegion:null},Dt=function(){K.$lightboxRegion=jQuery("#lightbox-inner .swiper-container")},At=function(){K.$lightboxRegion.html("");var i=[],e=I();e.find('.col[data-type="img"], .col[data-type="stack"], .col[data-type="elementgrid"]').find(".img:not(.lightboxoff) img").filter(function(){return!this.closest(".lay-row-fixed")}).each(function(){var n=jQuery(this.parentNode).attr("data-lightbox-caption"),r=this.cloneNode();r.classList.remove(...r.classList),r.style&&(r.style.transition&&(r.style.transition=""),r.style.webkitTransition&&(r.style.webkitTransition=""),r.style.borderRadius&&(r.style.borderRadius=""),r.style.border&&(r.style.border=""),r.style.borderWidth&&(r.style.borderWidth=""),r.style.borderColor&&(r.style.borderColor=""),r.style.borderStyle&&(r.style.borderStyle=""),r.style.boxShadow&&(r.style.boxShadow=""),r.style.webkitBoxShadow&&(r.style.webkitBoxShadow=""),r.style.overflow&&(r.style.overflow=""));var a=r.outerHTML,s={image_markup:a,lightbox_caption:n,lightbox_group:kt(this,i.length)};i.push(s)});var t=x.getSlider(i);K.$lightboxRegion.html(t.getMarkup()),x.bindImagesOnPageClick()},kt=function(i,e){if(layLightboxPassedData.limitNavigationToElementGrid!="on")return"all";var t=i.closest('.col[data-type="elementgrid"]');if(!t)return"regular";var n=t.getAttribute("data-lightbox-gallery-group");if(!n){var r=I(),a=r.find('.col[data-type="elementgrid"]').index(t);n="elementgrid-"+(a>-1?a:e),t.setAttribute("data-lightbox-gallery-group",n)}return n},Ot=function(){Dt(),At(),x.update()};var ee=null;jQuery(document).ready(function(){x.init()});var Tt=function(i,e){var t=e!=null&&e.isProjectOverlay?"#lay-project-overlay>.lay-content":"body>.lay-content",n=void 0;
1switch(i){case"desktop":{var r=[];jQuery(t).each(function(){r=r.concat(Array.from(this.querySelectorAll("#grid, .cover-region-desktop"))),layLightboxPassedData.includeFooterImages=="on"&&(r=r.concat(Array.from(this.querySelectorAll("#footer"))))}),n=jQuery(r);break}case"phone":{var r=[];jQuery(t).each(function(){var s=jQuery(this).find("#custom-phone-grid").length!=0,l=jQuery(this).find("#footer-custom-phone-grid").length!=0;l&&s?layLightboxPassedData.includeFooterImages=="on"?r=r.concat(Array.from(this.querySelectorAll("#custom-phone-grid, .cover-region-phone, #footer-custom-phone-grid"))):r=r.concat(Array.from(this.querySelectorAll("#custom-phone-grid, .cover-region-phone"))):!l&&s?layLightboxPassedData.includeFooterImages=="on"?r=r.concat(Array.from(this.querySelectorAll("#custom-phone-grid, .cover-region-phone, #footer"))):r=r.concat(Array.from(this.querySelectorAll("#custom-phone-grid, .cover-region-phone"))):l&&!s?layLightboxPassedData.includeFooterImages=="on"?r=r.concat(Array.from(this.querySelectorAll("#grid, .cover-region-desktop, #footer-custom-phone-grid"))):r=r.concat(Array.from(this.querySelectorAll("#grid, .cover-region-desktop"))):!l&&!s&&(layLightboxPassedData.includeFooterImages=="on"?r=r.concat(Array.from(this.querySelectorAll("#grid, .cover-region-desktop, #footer"))):r=r.concat(Array.from(this.querySelectorAll("#grid, .cover-region-desktop"))))}),n=jQuery(r);break}}return n};window.laytheme.on("overlayhidden",function(){var i=jQuery(".lay-overlay.lay-show-overlay:not(.lay-fadeout):not(.lay-overlay-closing)").last();if(i.length>0){ie(i);return}ni(ii,ri,ti)});var ii=null,ti=null,ri=null,_t=function(){return!!(window.laytheme&&typeof window.laytheme.isProjectOverlayVisible=="function"&&window.laytheme.isProjectOverlayVisible())};window.laytheme.on("content_ready",function(i,e,t){var n=t!=null&&t.isProjectOverlay;!n&&_t()||(ii=i,ri=e,ti=t,ni(i,e,t))});var ni=function(i,e,t){layLightboxIsActiveHere()&&(i=="desktop"||zt(i))?(ee=Tt(i,t),x.enable(),Y.updateSlider()):x.disable()},ie=function(i){var e=i.attr("data-type"),t=i.attr("data-id"),n=t!=null?parseInt(t,10):NaN;oi(e,n)?(ee=i,x.enable(),Y.updateSlider()):x.disable()};window.laytheme.on("overlayshown",ie);window.laytheme.on("overlayshown_animation_ended",ie);var oi=function(i,e){if(window.scrollSliderPassedData&&window.scrollSliderPassedData.ss_galaxy_zoom==="on"&&window.layscrollslider&&typeof window.layscrollslider.isActiveHere=="function"&&window.layscrollslider.isActiveHere())return!1;var t=!1;if(i=="project"){if(layLightboxPassedData.activeInProjects=="on"||layLightboxPassedData.activeInProjects=="all")t=!0;else if(layLightboxPassedData.activeInProjects=="individual"&&layLightboxPassedData.individualProjectIds!=""){var n=JSON.parse(layLightboxPassedData.individualProjectIds);jQuery.inArray(e,n)>-1&&(t=!0)}}else if(i=="page"){if(layLightboxPassedData.activeInPages=="on"||layLightboxPassedData.activeInPages=="all")t=!0;else if(layLightboxPassedData.activeInPages=="individual"&&layLightboxPassedData.individualPageIds!=""){var n=JSON.parse(layLightboxPassedData.individualPageIds);jQuery.inArray(e,n)>-1&&(t=!0)}}else if(i=="lay_news"){if(layLightboxPassedData.activeInNews=="on"||layLightboxPassedData.activeInNews=="all")t=!0;else if(layLightboxPassedData.activeInNews=="individual"&&layLightboxPassedData.individualNewsIds!=""){var n=JSON.parse(layLightboxPassedData.individualNewsIds);jQuery.inArray(e,n)>-1&&(t=!0)}}else if(i=="category"){if(layLightboxPassedData.activeInCategories=="on"||layLightboxPassedData.activeInCategories=="all")t=!0;else if(layLightboxPassedData.activeInCategories=="individual"&&layLightboxPassedData.individualCategoryIds!=""){var n=JSON.parse(layLightboxPassedData.individualCategoryIds);jQuery.inArray(e,n)>-1&&(t=!0)}}return t};window.layLightboxIsActiveHere=function(){var i=jQuery("body"),e=parseInt(i.attr("data-id"),10);return oi(i.attr("data-type"),e)};var zt=function(i){return i=="phone"&&layLightboxPassedData.activeOnPhone=="on"},I=function(){return ee};})();
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.