(()=>{"use strict";var e={n:o=>{var n=o&&o.__esModule?()=>o.default:()=>o;return e.d(n,{a:n}),n},d:(o,n)=>{for(var t in n)e.o(n,t)&&!e.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:n[t]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)};const o=window.jQuery;var n,t=e.n(o);try{n=new Event("jetpack-lazy-images-load",{bubbles:!0,cancelable:!0})}catch(e){(n=document.createEvent("Event")).initEvent("jetpack-lazy-images-load",!0,!0)}t()(document).on("loadedNewItems.vpf",function(e){"vpf"===e.namespace&&t()("body").get(0).dispatchEvent(n)});var a,i=function(e,o,n){var t,a=n||{},i=a.noTrailing,c=void 0!==i&&i,d=a.noLeading,r=void 0!==d&&d,v=a.debounceMode,u=void 0===v?void 0:v,l=!1,p=0;function f(){t&&clearTimeout(t)}function s(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];var d=this,v=Date.now()-p;function s(){p=Date.now(),o.apply(d,a)}function m(){t=void 0}l||(r||!u||t||s(),f(),void 0===u&&v>e?r?(p=Date.now(),c||(t=setTimeout(u?m:s,e))):s():!0!==c&&(t=setTimeout(u?m:s,void 0===u?e-v:e)))}return s.cancel=function(e){var o=(e||{}).upcomingOnly,n=void 0!==o&&o;f(),l=!n},s}(200,function(e){e.vpf("imagesLoaded")},{debounceMode:!1!==(void 0!==(a={}.atBegin)&&a)});t()(document.body).on("jetpack-lazy-loaded-image",".vp-portfolio",function(){var e=t()(this).closest(".vp-portfolio");e&&e.length&&i(e)})})();