1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[871],{295:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let i=o(4252)._(o(4232)),s=o(6581),a=[],r=[],l=!1;function n(e){let t=e(),o={loading:!0,loaded:null,error:null};return o.promise=t.then(e=>(o.loading=!1,o.loaded=e,e)).catch(e=>{throw o.loading=!1,o.error=e,e}),o}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function g(e){return function(e,t){let o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),a=null;function n(){if(!a){let t=new c(e,o);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!l){let e=o.webpack&&1?o.webpack():o.modules;e&&r.push(t=>{for(let o of e)if(t.includes(o))return n()})}function g(e,t){n();let r=i.default.useContext(s.LoadableContext);r&&Array.isArray(o.modules)&&o.modules.forEach(e=>{r(e)});let l=i.default.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),i.default.useMemo(()=>{var t;return l.loading||l.error?i.default.createElement(o.loading,{isLoading:l.loading,pastDelay:l.pastDelay,timedOut:l.timedOut,error:l.error,retry:a.retry}):l.loaded?i.default.createElement((t=l.loaded)&&t.default?t.default:t,e):null},[e,l])}return g.preload=()=>n(),g.displayName="LoadableComponent",i.default.forwardRef(g)}(n,e)}function u(e,t){let o=[];for(;e.length;){let i=e.pop();o.push(i(t))}return Promise.all(o).then(()=>{if(e.length)return u(e,t)})}g.preloadAll=()=>new Promise((e,t)=>{u(a).then(e,t)}),g.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let o=()=>(l=!0,t());u(r,e).then(o,o)})),window.__NEXT_PRELOADREADY=g.preloadReady;let d=g},576:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var i=function(){return(i=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++)for(var s in t=arguments[o])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},s={slideItemLoad:"lgSlideItemLoad",beforeSlide:"lgBeforeSlide",afterSlide:"lgAfterSlide",dragStart:"lgDragStart",dragEnd:"lgDragEnd",autoplay:"lgAutoplay",autoplayStart:"lgAutoplayStart",autoplayStop:"lgAutoplayStop"},a={autoplay:!0,slideShowAutoplay:!1,slideShowInterval:5e3,progressBar:!0,forceSlideShowAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar",autoplayPluginStrings:{toggleAutoplay:"Toggle Autoplay"}};let r=function(){function e(e){return this.core=e,this.settings=i(i({},a),this.core.settings),this}return e.prototype.init=function(){var e=this;this.settings.autoplay&&(this.interval=!1,this.fromAuto=!0,this.pausedOnTouchDrag=!1,this.pausedOnSlideChange=!1,this.settings.autoplayControls&&this.controls(),this.settings.progressBar&&this.core.outer.append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>'),this.settings.slideShowAutoplay&&this.core.LGel.once(s.slideItemLoad+".autoplay",function(){e.startAutoPlay()}),this.core.LGel.on(s.dragStart+".autoplay touchstart.lg.autoplay",function(){e.interval&&(e.stopAutoPlay(),e.pausedOnTouchDrag=!0)}),this.core.LGel.on(s.dragEnd+".autoplay touchend.lg.autoplay",function(){!e.interval&&e.pausedOnTouchDrag&&(e.startAutoPlay(),e.pausedOnTouchDrag=!1)}
1),this.core.LGel.on(s.beforeSlide+".autoplay",function(){e.showProgressBar(),!e.fromAuto&&e.interval?(e.stopAutoPlay(),e.pausedOnSlideChange=!0):e.pausedOnSlideChange=!1,e.fromAuto=!1}),this.core.LGel.on(s.afterSlide+".autoplay",function(){e.pausedOnSlideChange&&!e.interval&&e.settings.forceSlideShowAutoplay&&(e.startAutoPlay(),e.pausedOnSlideChange=!1)}),this.showProgressBar())},e.prototype.showProgressBar=function(){var e=this;if(this.settings.progressBar&&this.fromAuto){var t=this.core.outer.find(".lg-progress-bar"),o=this.core.outer.find(".lg-progress");this.interval&&(o.removeAttr("style"),t.removeClass("lg-start"),setTimeout(function(){o.css("transition","width "+(e.core.settings.speed+e.settings.slideShowInterval)+"ms ease 0s"),t.addClass("lg-start")},20))}},e.prototype.controls=function(){var e=this,t='<button aria-label="'+this.settings.autoplayPluginStrings.toggleAutoplay+'" type="button" class="lg-autoplay-button lg-icon"></button>';this.core.outer.find(this.settings.appendAutoplayControlsTo).append(t),this.core.outer.find(".lg-autoplay-button").first().on("click.lg.autoplay",function(){e.core.outer.hasClass("lg-show-autoplay")?e.stopAutoPlay():e.interval||e.startAutoPlay()})},e.prototype.startAutoPlay=function(){var e=this;this.core.outer.find(".lg-progress").css("transition","width "+(this.core.settings.speed+this.settings.slideShowInterval)+"ms ease 0s"),this.core.outer.addClass("lg-show-autoplay"),this.core.outer.find(".lg-progress-bar").addClass("lg-start"),this.core.LGel.trigger(s.autoplayStart,{index:this.core.index}),this.interval=setInterval(function(){e.core.index+1<e.core.galleryItems.length?e.core.index++:e.core.index=0,e.core.LGel.trigger(s.autoplay,{index:e.core.index}),e.fromAuto=!0,e.core.slide(e.core.index,!1,!1,"next")},this.core.settings.speed+this.settings.slideShowInterval)},e.prototype.stopAutoPlay=function(){this.interval&&(this.core.LGel.trigger(s.autoplayStop,{index:this.core.index}),this.core.outer.find(".lg-progress").removeAttr("style"),this.core.outer.removeClass("lg-show-autoplay"),this.core.outer.find(".lg-progress-bar").removeClass("lg-start")),clearInterval(this.interval),this.interval=!1},e.prototype.closeGallery=function(){this.stopAutoPlay()},e.prototype.destroy=function(){this.settings.autoplay&&this.core.outer.find(".lg-progress-bar").remove(),this.core.LGel.off(".lg.autoplay"),this.core.LGel.off(".autoplay")},e}()},1376:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var i=function(){return(i=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++)for(var s in t=arguments[o])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},s={scale:1,zoom:!0,actualSize:!0,showZoomInOutIcons:!1,actualSizeIcons:{zoomIn:"lg-zoom-in",zoomOut:"lg-zoom-out"},enableZoomAfter:300,zoomPluginStrings:{zoomIn:"Zoom in",zoomOut:"Zoom out",viewActualSize:"View actual size"}},a={containerResize:"lgContainerResize",beforeOpen:"lgBeforeOpen",afterOpen:"lgAfterOpen",slideItemLoad:"lgSlideItemLoad",afterSlide:"lgAfterSlide",rotateLeft:"lgRotateLeft",rotateRight:"lgRotateRight",flipHorizontal:"lgFlipHorizontal",flipVertical:"lgFlipVertical"};let r=function(){function e(e,t){return this.core=e,this.$LG=t,this.settings=i(i({},s),this.core.settings),this}return e.prototype.buildTemplates=function(){var e=this.settings.showZoomInOutIcons?'<button id="'+this.core.getIdName("lg-zoom-in")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.zoomIn+'" class="lg-zoom-in lg-icon"></button><button id="'+this.core.getIdName("lg-zoom-out")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.zoomIn+'" class="lg-zoom-out lg-icon"></button>':"";this.settings.actualSize&&(e+='<button id="'+this.core.getIdName("lg-actual-size")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.viewActualSize+'" class="'+this.settings.actualSizeIcons.zoomIn+' lg-icon"></button>'),this.core.outer.addClass("lg-use-transition-for-zoom"),this.core.$toolbar.first().append(e)},e.prototype.enableZoom=function(e){var t=this,o=this.settings.enableZoomAfter+e.detail.delay;this.$LG("body").first().hasClass("lg-from-hash")&&e.detail.delay?o=0:this.$LG("body").first().removeClass("lg-from-hash"),this.zoomableTimeout=setTimeout(function(){t.isImageSlide(t.core.index)&&(t.core.getSlideItem(e.detail.index).addClass("lg-zoomable"),e.detail.index===t.core.
1index&&t.setZoomEssentials())},o+30)},e.prototype.enableZoomOnSlideItemLoad=function(){this.core.LGel.on(a.slideItemLoad+".zoom",this.enableZoom.bind(this))},e.prototype.getDragCords=function(e){return{x:e.pageX,y:e.pageY}},e.prototype.getSwipeCords=function(e){return{x:e.touches[0].pageX,y:e.touches[0].pageY}},e.prototype.getDragAllowedAxises=function(e,t){var o=this.core.getSlideItem(this.core.index).find(".lg-image").first().get(),i=0,s=0,a=o.getBoundingClientRect();e?(i=o.offsetHeight*e,s=o.offsetWidth*e):t?(i=a.height+t*a.height,s=a.width+t*a.width):(i=a.height,s=a.width);var r=i>this.containerRect.height;return{allowX:s>this.containerRect.width,allowY:r}},e.prototype.setZoomEssentials=function(){this.containerRect=this.core.$content.get().getBoundingClientRect()},e.prototype.zoomImage=function(e,t,o,i){if(!(0>=Math.abs(t))){var s,a,r,l,n=this.containerRect.width/2+this.containerRect.left,c=this.containerRect.height/2+this.containerRect.top+this.scrollTop;1===e&&(this.positionChanged=!1);var g=this.getDragAllowedAxises(0,t),u=g.allowY,d=g.allowX;this.positionChanged&&(s=this.left/(this.scale-t),a=this.top/(this.scale-t),this.pageX=n-s,this.pageY=c-a,this.positionChanged=!1);var h=this.getPossibleSwipeDragCords(t),m=n-this.pageX,p=c-this.pageY;if(e-t>1){var f=(e-t)/Math.abs(t);m=(t<0?-m:m)+this.left*(f+(t<0?-1:1)),p=(t<0?-p:p)+this.top*(f+(t<0?-1:1)),r=m/f,l=p/f}else{var f=(e-t)*t;r=m*f,l=p*f}o&&(d?this.isBeyondPossibleLeft(r,h.minX)?r=h.minX:this.isBeyondPossibleRight(r,h.maxX)&&(r=h.maxX):e>1&&(r<h.minX?r=h.minX:r>h.maxX&&(r=h.maxX)),u?this.isBeyondPossibleTop(l,h.minY)?l=h.minY:this.isBeyondPossibleBottom(l,h.maxY)&&(l=h.maxY):e>1&&(l<h.minY?l=h.minY:l>h.maxY&&(l=h.maxY))),this.setZoomStyles({x:r,y:l,scale:e}),this.left=r,this.top=l,i&&this.setZoomImageSize()}},e.prototype.resetImageTranslate=function(e){if(this.isImageSlide(e)){var t=this.core.getSlideItem(e).find(".lg-image").first();this.imageReset=!1,t.removeClass("reset-transition reset-transition-y reset-transition-x"),this.core.outer.removeClass("lg-actual-size"),t.css("width","auto").css("height","auto"),setTimeout(function(){t.removeClass("no-transition")},10)}},e.prototype.setZoomImageSize=function(){var e=this,t=this.core.getSlideItem(this.core.index).find(".lg-image").first();setTimeout(function(){var o=e.getCurrentImageActualSizeScale();e.scale>=o&&(t.addClass("no-transition"),e.imageReset=!0)},500),setTimeout(function(){var o=e.getCurrentImageActualSizeScale();if(e.scale>=o){var i=e.getDragAllowedAxises(e.scale);t.css("width",t.get().naturalWidth+"px").css("height",t.get().naturalHeight+"px"),e.core.outer.addClass("lg-actual-size"),i.allowX&&i.allowY?t.addClass("reset-transition"):i.allowX&&!i.allowY?t.addClass("reset-transition-x"):!i.allowX&&i.allowY&&t.addClass("reset-transition-y")}},550)},e.prototype.setZoomStyles=function(e){var t=this.core.getSlideItem(this.core.index).find(".lg-img-wrap").first(),o=this.core.getSlideItem(this.core.index).find(".lg-image").first(),i=this.core.outer.find(".lg-current .lg-dummy-img").first();this.scale=e.scale,o.css("transform","scale3d("+e.scale+", "+e.scale+", 1)"),i.css("transform","scale3d("+e.scale+", "+e.scale+", 1)");var s="translate3d("+e.x+"px, "+e.y+"px, 0)";t.css("transform",s)},e.prototype.setActualSize=function(e,t){var o=this,i=this.core.galleryItems[this.core.index];this.resetImageTranslate(e),setTimeout(function(){if(!(!i.src||o.core.outer.hasClass("lg-first-slide-loading"))){var e=o.getCurrentImageActualSizeScale(),s=o.scale;o.core.outer.hasClass("lg-zoomed")?o.scale=1:o.scale=o.getScale(e),o.setPageCords(t),o.beginZoom(o.scale),o.zoomImage(o.scale,o.scale-s,!0,!0),setTimeout(function(){o.core.outer.removeClass("lg-grabbing").addClass("lg-grab")},10)}},50)},e.prototype.getNaturalWidth=function(e){var t=this.core.getSlideItem(e).find(".lg-image").first(),o=this.core.galleryItems[e].width;return o?parseFloat(o):t.get().naturalWidth},e.prototype.getActualSizeScale=function(e,t){return e>=t?e/t||2:1},e.prototype.getCurrentImageActualSizeScale=function(){var e=this.core.getSlideItem(this.core.index).find(".lg-image").first().get().offsetWidth,t=this.getNaturalWi
1dth(this.core.index)||e;return this.getActualSizeScale(t,e)},e.prototype.getPageCords=function(e){var t={};if(e)t.x=e.pageX||e.touches[0].pageX,t.y=e.pageY||e.touches[0].pageY;else{var o=this.core.$content.get().getBoundingClientRect();t.x=o.width/2+o.left,t.y=o.height/2+this.scrollTop+o.top}return t},e.prototype.setPageCords=function(e){var t=this.getPageCords(e);this.pageX=t.x,this.pageY=t.y},e.prototype.manageActualPixelClassNames=function(){this.core.getElementById("lg-actual-size").removeClass(this.settings.actualSizeIcons.zoomIn).addClass(this.settings.actualSizeIcons.zoomOut)},e.prototype.beginZoom=function(e){return this.core.outer.removeClass("lg-zoom-drag-transition lg-zoom-dragging"),e>1?(this.core.outer.addClass("lg-zoomed"),this.manageActualPixelClassNames()):this.resetZoom(),e>1},e.prototype.getScale=function(e){var t=this.getCurrentImageActualSizeScale();return e<1?e=1:e>t&&(e=t),e},e.prototype.init=function(){var e=this;if(this.settings.zoom){this.buildTemplates(),this.enableZoomOnSlideItemLoad();var t=null;this.core.outer.on("dblclick.lg",function(t){e.$LG(t.target).hasClass("lg-image")&&e.setActualSize(e.core.index,t)}),this.core.outer.on("touchstart.lg",function(o){var i=e.$LG(o.target);1===o.touches.length&&i.hasClass("lg-image")&&(t?(clearTimeout(t),t=null,o.preventDefault(),e.setActualSize(e.core.index,o)):t=setTimeout(function(){t=null},300))}),this.core.LGel.on(a.containerResize+".zoom "+a.rotateRight+".zoom "+a.rotateLeft+".zoom "+a.flipHorizontal+".zoom "+a.flipVertical+".zoom",function(){if(e.core.lgOpened&&e.isImageSlide(e.core.index)&&!e.core.touchAction){var t=e.core.getSlideItem(e.core.index).find(".lg-img-wrap").first();e.top=0,e.left=0,e.setZoomEssentials(),e.setZoomSwipeStyles(t,{x:0,y:0}),e.positionChanged=!0}}),this.$LG(window).on("scroll.lg.zoom.global"+this.core.lgId,function(){e.core.lgOpened&&(e.scrollTop=e.$LG(window).scrollTop())}),this.core.getElementById("lg-zoom-out").on("click.lg",function(){if(e.isImageSlide(e.core.index)){var t=0;e.imageReset&&(e.resetImageTranslate(e.core.index),t=50),setTimeout(function(){var t=e.scale-e.settings.scale;t<1&&(t=1),e.beginZoom(t),e.zoomImage(t,-e.settings.scale,!0,!0)},t)}}),this.core.getElementById("lg-zoom-in").on("click.lg",function(){e.zoomIn()}),this.core.getElementById("lg-actual-size").on("click.lg",function(){e.setActualSize(e.core.index)}),this.core.LGel.on(a.beforeOpen+".zoom",function(){e.core.outer.find(".lg-item").removeClass("lg-zoomable")}),this.core.LGel.on(a.afterOpen+".zoom",function(){e.scrollTop=e.$LG(window).scrollTop(),e.pageX=e.core.outer.width()/2,e.pageY=e.core.outer.height()/2+e.scrollTop,e.scale=1}),this.core.LGel.on(a.afterSlide+".zoom",function(t){var o=t.detail.prevIndex;e.scale=1,e.positionChanged=!1,e.resetZoom(o),e.resetImageTranslate(o),e.isImageSlide(e.core.index)&&e.setZoomEssentials()}),this.zoomDrag(),this.pinchZoom(),this.zoomSwipe(),this.zoomableTimeout=!1,this.positionChanged=!1}},e.prototype.zoomIn=function(){if(this.isImageSlide(this.core.index)){var e=this.scale+this.settings.scale;e=this.getScale(e),this.beginZoom(e),this.zoomImage(e,Math.min(this.settings.scale,e-this.scale),!0,!0)}},e.prototype.resetZoom=function(e){this.core.outer.removeClass("lg-zoomed lg-zoom-drag-transition");var t=this.core.getElementById("lg-actual-size"),o=this.core.getSlideItem(void 0!==e?e:this.core.index);t.removeClass(this.settings.actualSizeIcons.zoomOut).addClass(this.settings.actualSizeIcons.zoomIn),o.find(".lg-img-wrap").first().removeAttr("style"),o.find(".lg-image").first().removeAttr("style"),this.scale=1,this.left=0,this.top=0,this.setPageCords()},e.prototype.getTouchDistance=function(e){return Math.sqrt((e.touches[0].pageX-e.touches[1].pageX)*(e.touches[0].pageX-e.touches[1].pageX)+(e.touches[0].pageY-e.touches[1].pageY)*(e.touches[0].pageY-e.touches[1].pageY))},e.prototype.pinchZoom=function(){var e=this,t=0,o=!1,i=1,s=0,a=this.core.getSlideItem(this.core.index);this.core.outer.on("touchstart.lg",function(o){a=e.core.getSlideItem(e.core.index),e.isImageSlide(e.core.index)&&2===o.touches.length&&(o.preventDefault(),e.core.outer.hasClass("lg-first-slide-loading")||(i=e.scale||1,e.core.outer.removeClass("lg-zoom-drag-transition lg-zoom-dragging"),e.setPageCords(o),e.resetImageTranslate(e.core.index),e.core.touchAction="pinch",t=e.getTouchDistance(o)))}),this.core.$inner.on("touchmove.lg",function(r){if(2===r.touches.length&&"pinch"===e.core.touchAction&&(e.$LG(r.target).hasClass("lg-item")||a.get().contains(r.target))){r.preventDefault();var l=e.getTouchDistance(r),n=t-l;if(!o&&Math.abs(n)>5&&(o=!0),o){s=e.scale,e.scale=Math.round((Math.max(1,i+-(.02*n))+Number.EPSILON)*100)/100;var c=e.scale-s;e.zoomImage(e.scale,Math.round((c+Number.EPSILON)*100)/100,!1,!1)}}}),this.core.$inner.on("touchend.lg",function(i){if("pinch"===e.core.touchAction&&(e.$LG(i.target).hasClass("lg-item")||a.get().contains(i.target))){if(o=!1,t=0,e.scale<=1)e.resetZoom();else{var s=e.getCurrentImageActualSizeScale();if(e.scale>=s){var r=s-e.scale;0===r&&(r=.01),e.zoomImage(s,r,!1,!0)}e.manageActualPixelClassNames(),e.core.outer.addClass("lg-zoomed")}e.core.touchAction=void 0}})},e.prototype.touchendZoom=function(e,t,o,i,s){var a=t.x-e.x,r=t.y-e.y,l=Math.abs(a)/s+1,n=Math.abs(r)/s+1;l>2&&(l+=1),n>2&&(n+=1),a*=l,r*=n;var c=this.core.getSlideItem(this.core.index).find(".lg-img-wrap").first(),g={};g.x=this.left+a,g.y=this.top+r;var u=this.getPossibleSwipeDragCords();(Math.abs(a)>15||Math.abs(r)>15)&&(i&&(this.isBeyondPossibleTop(g.y,u.minY)?g.y=u.minY:this.isBeyondPossibleBottom(g.y,u.maxY)&&(g.y=u.maxY)),o&&(this.isBeyondPossibleLeft(g.x,u.minX)?g.x=u.minX:this.isBeyondPossibleRight(g.x,u.maxX)&&(g.x=u.maxX)),i?this.top=g.y:g.y=this.top,o?this.left=g.x:g.x=this.left,this.setZoomSwipeStyles(c,g),this.positionChanged=!0)},e.prototype.getZoomSwipeCords=function(e,t,o,i,s){var a={};if(i){if(a.y=this.top+(t.y-e.y),this.isBeyondPossibleTop(a.y,s.minY)){var r=s.minY-a.y;a.y=s.minY-r/6}else if(this.isBeyondPossibleBottom(a.y,s.maxY)){var l=a.y-s.maxY;a.y=s.maxY+l/6}}else a.y=this.top;if(o){if(a.x=this.left+(t.x-e.x),this.isBeyondPossibleLeft(a.x,s.minX)){var n=s.minX-a.x;a.x=s.minX-n/6}else if(this.isBeyondPossibleRight(a.x,s.maxX)){var c=a.x-s.maxX;a.x=s.maxX+c/6}}else a.x=this.left;return a},e.prototype.isBeyondPossibleLeft=function(e,t){return e>=t},e.prototype.isBeyondPossibleRight=function(e,t){return e<=t},e.prototype.isBeyondPossibleTop=function(e,t){return e>=t},e.prototype.isBeyondPossibleBottom=function(e,t){return e<=t},e.prototype.isImageSlide=function(e){var t=this.core.galleryItems[e];return"image"===this.core.getSlideType(t)},e.prototype.getPossibleSwipeDragCords=function(e){var t=this.core.getSlideItem(this.core.index).find(".lg-image").first(),o=this.core.mediaContainerPosition.bottom,i=t.get().getBoundingClientRect(),s=i.height,a=i.width;return e&&(s+=e*s,a+=e*a),{minY:(s-this.containerRect.height)/2,maxY:(this.containerRect.height-s)/2+o,minX:(a-this.containerRect.width)/2,maxX:(this.containerRect.width-a)/2}},e.prototype.setZoomSwipeStyles=function(e,t){e.css("transform","translate3d("+t.x+"px, "+t.y+"px, 0)")},e.prototype.zoomSwipe=function(){var e,t,o=this,i={},s={},a=!1,r=!1,l=!1,n=new Date,c=new Date,g=this.core.getSlideItem(this.core.index);this.core.$inner.on("touchstart.lg",function(s){if(o.isImageSlide(o.core.index)&&(g=o.core.getSlideItem(o.core.index),(o.$LG(s.target).hasClass("lg-item")||g.get().contains(s.target))&&1===s.touches.length&&o.core.outer.hasClass("lg-zoomed"))){s.preventDefault(),n=new Date,o.core.touchAction="zoomSwipe",t=o.core.getSlideItem(o.core.index).find(".lg-img-wrap").first();var a=o.getDragAllowedAxises(0);l=a.allowY,((r=a.allowX)||l)&&(i=o.getSwipeCords(s)),e=o.getPossibleSwipeDragCords(),o.core.outer.addClass("lg-zoom-dragging lg-zoom-drag-transition")}}),this.core.$inner.on("touchmove.lg",function(n){if(1===n.touches.length&&"zoomSwipe"===o.core.touchAction&&(o.$LG(n.target).hasClass("lg-item")||g.get().contains(n.target))){n.preventDefault(),o.core.touchAction="zoomSwipe",s=o.getSwipeCords(n);var c=o.getZoomSwipeCords(i,s,r,l,e);(Math.abs(s.x-i.x)>15||Math.abs(s.y-i.y)>15)&&(a=!0,o.setZoomSwipeStyles(t,c))}}),this.core.$inner.on("touchend.lg",function(e){if("zoomSwipe"===o.core.touchAction&&(o.$LG(e.target).hasClass("lg-item")||g.get().contains(e.target))&&(e.preventDefault(),o.core.touchAction=void 0,o.core.outer.removeClass("lg-zoom-dragging"),a)){a=!1;var t=new Date().valueOf()-n.valueOf();o.touchendZoom(i,s,r,l,t)}})},e.prototype.zoomDrag=function(){var e,t,o,i,s=this,a={},r={},l=!1,n=!1,c=!1,g=!1;this.core.outer.on("mousedown.lg.zoom",function(t){if(s.isImageSlide(s.core.index)){var r=s.core.getSlideItem(s.core.index);if(s.$LG(t.target).hasClass("lg-item")||r.get().contains(t.target)){e=ne
1w Date,i=s.core.getSlideItem(s.core.index).find(".lg-img-wrap").first();var n=s.getDragAllowedAxises(0);g=n.allowY,c=n.allowX,s.core.outer.hasClass("lg-zoomed")&&s.$LG(t.target).hasClass("lg-object")&&(c||g)&&(t.preventDefault(),a=s.getDragCords(t),o=s.getPossibleSwipeDragCords(),l=!0,s.core.outer.removeClass("lg-grab").addClass("lg-grabbing lg-zoom-drag-transition lg-zoom-dragging"))}}}),this.$LG(window).on("mousemove.lg.zoom.global"+this.core.lgId,function(e){if(l){n=!0,r=s.getDragCords(e);var t=s.getZoomSwipeCords(a,r,c,g,o);s.setZoomSwipeStyles(i,t)}}),this.$LG(window).on("mouseup.lg.zoom.global"+this.core.lgId,function(o){if(l){if(t=new Date,l=!1,s.core.outer.removeClass("lg-zoom-dragging"),n&&(a.x!==r.x||a.y!==r.y)){r=s.getDragCords(o);var i=t.valueOf()-e.valueOf();s.touchendZoom(a,r,c,g,i)}n=!1}s.core.outer.removeClass("lg-grabbing").addClass("lg-grab")})},e.prototype.closeGallery=function(){this.resetZoom()},e.prototype.destroy=function(){this.$LG(window).off(".lg.zoom.global"+this.core.lgId),this.core.LGel.off(".lg.zoom"),this.core.LGel.off(".zoom"),clearTimeout(this.zoomableTimeout),this.zoomableTimeout=!1},e}()},2496:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return l},noSSR:function(){return r}});let i=o(4252);o(7876),o(4232);let s=i._(o(295));function a(e){return{default:(null==e?void 0:e.default)||e}}function r(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let o=s.default,i={loading:e=>{let{error:t,isLoading:o,pastDelay:i}=e;return null}};e instanceof Promise?i.loader=()=>e:"function"==typeof e?i.loader=e:"object"==typeof e&&(i={...i,...e});let l=(i={...i,...t}).loader;return(i.loadableGenerated&&(i={...i,...i.loadableGenerated},delete i.loadableGenerated),"boolean"!=typeof i.ssr||i.ssr)?o({...i,loader:()=>null!=l?l().then(a):Promise.resolve(a(()=>null))}):(delete i.webpack,delete i.modules,r(o,i))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6581:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let i=o(4252)._(o(4232)).default.createContext(null)},8847:(e,t,o)=>{e.exports=o(2496)}}]);
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.