!function(t){var n={};function e(a){if(n[a])return n[a].exports;var o=n[a]={i:a,l:!1,exports:{}};return t[a].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,a){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:a})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(a,o,function(n){return t[n]}.bind(null,o));return a},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=3)}([function(t,n){t.exports=ctEvents},function(t,n,e){t.exports=function(){"use strict";function t(){return(t=Object.assign||function(t){for(var n=1;n1,i={elements_selector:".lazy",container:e||n?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},c=function(n){return t({},i,n)},l=function(t,n){var e,a="LazyLoad::Initialized",o=new t(n);try{e=new CustomEvent(a,{detail:{instance:o}})}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent(a,!1,!1,{instance:o})}window.dispatchEvent(e)},s="loading",u="loaded",d="applied",f="error",g="native",_=function(t,n){return t.getAttribute("data-"+n)},p=function(t){return _(t,"ll-status")},v=function(t,n){return function(t,n,e){var a="data-ll-status";null!==e?t.setAttribute(a,e):t.removeAttribute(a)}(t,0,n)},m=function(t){return v(t,null)},b=function(t){return null===p(t)},y=function(t){return p(t)===g},h=[s,u,d,f],w=function(t,n,e,a){t&&(void 0===a?void 0===e?t(n):t(n,e):t(n,e,a))},E=function(t,n){o?t.classList.add(n):t.className+=(t.className?" ":"")+n},z=function(t,n){o?t.classList.remove(n):t.className=t.className.replace(new RegExp("(^|\\s+)"+n+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},L=function(t){return t.llTempImage},k=function(t,n){if(n){var e=n._observer;e&&e.unobserve(t)}},O=function(t,n){t&&(t.loadingCount+=n)},x=function(t,n){t&&(t.toLoadCount=n)},A=function(t){for(var n,e=[],a=0;n=t.children[a];a+=1)"SOURCE"===n.tagName&&e.push(n);return e},I=function(t,n,e){e&&t.setAttribute(n,e)},j=function(t,n){t.removeAttribute(n)},C=function(t){return!!t.llOriginalAttrs},M=function(t){if(!C(t)){var n={};n.src=t.getAttribute("src"),n.srcset=t.getAttribute("srcset"),n.sizes=t.getAttribute("sizes"),t.llOriginalAttrs=n}},N=function(t){if(C(t)){var n=t.llOriginalAttrs;I(t,"src",n.src),I(t,"srcset",n.srcset),I(t,"sizes",n.sizes)}},S=function(t,n){I(t,"sizes",_(t,n.data_sizes)),I(t,"srcset",_(t,n.data_srcset)),I(t,"src",_(t,n.data_src))},P=function(t){j(t,"src"),j(t,"srcset"),j(t,"sizes")},R=function(t,n){var e=t.parentNode;e&&"PICTURE"===e.tagName&&A(e).forEach(n)},T={IMG:function(t,n){R(t,(function(t){M(t),S(t,n)})),M(t),S(t,n)},IFRAME:function(t,n){I(t,"src",_(t,n.data_src))},VIDEO:function(t,n){!function(t,e){A(t).forEach((function(t){I(t,"src",_(t,n.data_src))}))}(t),I(t,"poster",_(t,n.data_poster)),I(t,"src",_(t,n.data_src)),t.load()}},Q=function(t,n){var e=T[t.tagName];e&&e(t,n)},F=function(t,n,e){O(e,1),E(t,n.class_loading),v(t,s),w(n.callback_loading,t,e)},D=["IMG","IFRAME","VIDEO"],G=function(t,n){!n||function(t){return t.loadingCount>0}(n)||function(t){return t.toLoadCount>0}(n)||w(t.callback_finish,n)},V=function(t,n,e){t.addEventListener(n,e),t.llEvLisnrs[n]=e},q=function(t,n,e){t.removeEventListener(n,e)},U=function(t){return!!t.llEvLisnrs},$=function(t){if(U(t)){var n=t.llEvLisnrs;for(var e in n){var a=n[e];q(t,e,a)}delete t.llEvLisnrs}},H=function(t,n,e){!function(t){delete t.llTempImage}(t),O(e,-1),function(t){t&&(t.toLoadCount-=1)}(e),z(t,n.class_loading),n.unobserve_completed&&k(t,e)},B=function(t,n,e){var a=L(t)||t;U(a)||function(t,n,e){U(t)||(t.llEvLisnrs={});var a="VIDEO"===t.tagName?"loadeddata":"load";V(t,a,n),V(t,"error",e)}(a,(function(o){!function(t,n,e,a){var o=y(n);H(n,e,a),E(n,e.class_loaded),v(n,u),w(e.callback_loaded,n,a),o||G(e,a)}(0,t,n,e),$(a)}),(function(o){!function(t,n,e,a){var o=y(n);H(n,e,a),E(n,e.class_error),v(n,f),w(e.callback_error,n,a),o||G(e,a)}(0,t,n,e),$(a)}))},J=function(t,n,e){!function(t){return D.indexOf(t.tagName)>-1}(t)?function(t,n,e){!function(t){t.llTempImage=document.createElement("IMG")}(t),B(t,n,e),function(t,n,e){var a=_(t,n.data_bg),o=_(t,n.data_bg_hidpi),i=r&&o?o:a;i&&(t.style.backgroundImage='url("'.concat(i,'")'),L(t).setAttribute("src",i),F(t,n,e))}(t,n,e),function(t,n,e){var a=_(t,n.data_bg_multi),o=_(t,n.data_bg_multi_hidpi),i=r&&o?o:a;i&&(t.style.backgroundImage=i,function(t,n,e){E(t,n.class_applied),v(t,d),n.unobserve_completed&&k(t,n),w(n.callback_applied,t,e)}(t,n,e))}(t,n,e)}(t,n,e):function(t,n,e){B(t,n,e),Q(t,n),F(t,n,e)}(t,n,e)},K=["IMG","IFRAME","VIDEO"],W=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},X=function(t){return Array.prototype.slice.call(t)},Y=function(t){return t.container.querySelectorAll(t.elements_selector)},Z=function(t){return function(t){return p(t)===f}(t)},tt=function(t,n){return function(t){return X(t).filter(b)}(t||Y(n))},nt=function(t,e){var o=c(t);this._settings=o,this.loadingCount=0,function(t,n){a&&!W(t)&&(n._observer=new IntersectionObserver((function(e){!function(t,n,e){t.forEach((function(t){return function(t){return t.isIntersecting||t.intersectionRatio>0}(t)?function(t,n,e,a){var o=function(t){return h.indexOf(p(t))>=0}(t);v(t,"entered"),E(t,e.class_entered),z(t,e.class_exited),function(t,n,e){n.unobserve_entered&&k(t,e)}(t,e,a),w(e.callback_enter,t,n,a),o||J(t,e,a)}(t.target,t,n,e):function(t,n,e,a){b(t)||(E(t,e.class_exited),function(t,n,e,a){e.cancel_on_exit&&function(t){return p(t)===s}(t)&&"IMG"===t.tagName&&($(t),function(t){R(t,(function(t){P(t)})),P(t)}(t),function(t){R(t,(function(t){N(t)})),N(t)}(t),z(t,e.class_loading),O(a,-1),m(t),w(e.callback_cancel,t,n,a))}(t,n,e,a),w(e.callback_exit,t,n,a))}(t.target,t,n,e)}))}(e,t,n)}),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(t)))}(o,this),function(t,e){n&&window.addEventListener("online",(function(){!function(t,n){var e;(e=Y(t),X(e).filter(Z)).forEach((function(n){z(n,t.class_error),m(n)})),n.update()}(t,e)}))}(o,this),this.update(e)};return nt.prototype={update:function(t){var n,o,r=this._settings,i=tt(t,r);x(this,i.length),!e&&a?W(r)?function(t,n,e){t.forEach((function(t){-1!==K.indexOf(t.tagName)&&function(t,n,e){t.setAttribute("loading","lazy"),B(t,n,e),Q(t,n),v(t,g)}(t,n,e)})),x(e,0)}(i,r,this):(o=i,function(t){t.disconnect()}(n=this._observer),function(t,n){n.forEach((function(n){t.observe(n)}))}(n,o)):this.loadAll(i)},destroy:function(){this._observer&&this._observer.disconnect(),Y(this._settings).forEach((function(t){delete t.llOriginalAttrs})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var n=this,e=this._settings;tt(t,e).forEach((function(t){k(t,n),J(t,e,n)}))}},nt.load=function(t,n){var e=c(n);J(t,e)},nt.resetStatus=function(t){m(t)},n&&function(t,n){if(n)if(n.length)for(var e,a=0;e=n[a];a+=1)l(t,e);else l(t,n)}(nt,window.lazyLoadOptions),nt}()},function(t,n){t.exports=window.ctFrontend},function(t,n,e){"use strict";e.r(n);var a=e(0),o=e.n(a),r=e(1),i=e.n(r),c=e(2);let l=null;const s=()=>{if(l)return void l.update();const t=t=>{let n=t.closest('[class*="ct-image-container"]'),e=()=>{n&&(n.classList.remove("ct-lazy"),n.classList.add("ct-lazy-loading-start"),requestAnimationFrame(()=>{n.classList.remove("ct-lazy-loading-start"),n.classList.add("ct-lazy-loading"),function(t,n){const e=a=>{a.target===t&&(t.removeEventListener("transitionend",e),n())};t.addEventListener("transitionend",e)}(n.firstElementChild,()=>{n.classList.remove("ct-lazy-loading"),n.classList.add("ct-lazy-loaded")})}))};navigator.userAgent.toLowerCase().indexOf("firefox")>-1?setTimeout(e,500):e()},n={data_src:"ct-lazy",data_srcset:"ct-lazy-set",threshold:100,elements_selector:"img[data-ct-lazy]",callback_load:t,callback_loaded:t};l=new i.a(n)};let u=!1;Object(c.registerDynamicChunk)("blocksy_lazy_load",{mount:(t,n)=>{let{event:e}=n;u||(u=!0,window.jQuery&&(window.jQuery(window).on("elementor/frontend/init",()=>{elementorFrontend.hooks.addAction("frontend/element_ready/global",()=>o.a.trigger("ct:images:lazyload:update"))}),window.jQuery(document.body).on("ubermenuopen",(function(){o.a.trigger("ct:images:lazyload:update")})),window.jQuery(window).on("wcpf_update_products",(function(){o.a.trigger("ct:images:lazyload:update")})),window.jQuery(document).on("wpf_ajax_success",()=>o.a.trigger("ct:images:lazyload:update"))),document.querySelector("img[data-ct-lazy]")&&s(),o.a.on("ct:images:lazyload:update",()=>{window.jQuery&&window.jQuery("body").trigger("jetpack-lazy-images-load"),window.jetpackLazyImagesModule&&window.jetpackLazyImagesModule();let t=new Event("jetpack-lazy-images-load");document.body.dispatchEvent(t),s()}))}})}]);