(()=>{"use strict";var o={n:t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},d:(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o:(o,t)=>Object.prototype.hasOwnProperty.call(o,t)};const t=window.jQuery;var e,n=o.n(t),s=window,a=s.VPData,r=s.VPPopupAPI,__=a.__,c=a.settingsPopupGallery,h=n()(document),i=n()(window);void 0!==n().fancybox&&r&&(r.vendor="fancybox",r.open=function(o,t,s){var a=[];o.forEach(function(o){"embed"===o.type&&o.src?a.push({type:"iframe",src:o.src,opts:{width:o.width,height:o.height,caption:o.caption}}):"embed"===o.type&&o.embed?a.push({type:"html",src:o.embed,opts:{width:o.width,height:o.height,caption:o.caption}}):a.push({type:"image",src:o.src,el:o.el,opts:{width:o.width,height:o.height,srcset:o.srcset,caption:o.caption,thumb:o.srcSmall}})});var h=[];c.show_zoom_button&&h.push("zoom"),c.show_fullscreen_button&&h.push("fullScreen"),c.show_slideshow&&h.push("slideShow"),c.show_thumbs&&h.push("thumbs"),c.show_share_button&&h.push("share"),c.show_download_button&&h.push("download"),c.show_close_button&&h.push("close");var i={closeExisting:!0,loop:!0,arrows:c.show_arrows,infobar:c.show_counter,smallBtn:!1,toolbar:"auto",buttons:h,baseClass:"vp-fancybox",hideScrollbar:!0,wheel:!1,share:{url:function(o,t){return!o.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'

{{SHARE}}

FacebookXPinterest

'},clickContent:function(o){return!("image"!==o.type||!c.click_to_zoom)&&"zoom"},lang:"wordpress",i18n:{wordpress:{CLOSE:__.fancybox_close,NEXT:__.fancybox_next,PREV:__.fancybox_prev,ERROR:__.fancybox_error,PLAY_START:__.fancybox_play_start,PLAY_STOP:__.fancybox_play_stop,FULL_SCREEN:__.fancybox_full_screen,THUMBS:__.fancybox_thumbs,DOWNLOAD:__.fancybox_download,SHARE:__.fancybox_share,ZOOM:__.fancybox_zoom}},beforeClose:function(){var t=o[e.currIndex];t&&r.maybeFocusGalleryItem(t),s&&s.emitEvent("beforeCloseFancybox",[i,o,e]),e=!1},beforeShow:function(o,t){s&&s.emitEvent("beforeShowFancybox",[o,t])},afterShow:function(o,t){s&&s.emitEvent("afterShowFancybox",[o,t])}};s&&s.emitEvent("beforeInitFancybox",[i,a,t]),1===o.length&&(i.loop=!1),e=n().fancybox.open(a,i,t),s&&s.emitEvent("initFancybox",[i,a,t,e])},r.close=function(){e&&(e.close(),e=!1)},h.on("transitionend",".fancybox-content",function(){var o=n()(this).find(".fancybox-image[sizes]"),t="".concat(Math.round(o.width()/i.width()*100),"vw");o.attr("sizes",t)}))})() ;