HEX
Server: Apache
System: Linux sg2plzcpnl489574.prod.sin2.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User: bpw3460lz1vy (8493017)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bpw3460lz1vy/public_html/wp-content/cache/minify/8f454.js
!function(){"use strict";window.kadence={initOutlineToggle:function(){document.body.addEventListener("keydown",(function(){document.body.classList.remove("hide-focus-outline")})),document.body.addEventListener("mousedown",(function(){document.body.classList.add("hide-focus-outline")}))},getOffset:function(e){if(e instanceof HTMLElement){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}}return{top:null,left:null}},findParents:function(e,t){var o=[];return function e(n){var i=n.parentNode;i instanceof HTMLElement&&(i.matches(t)&&o.push(i),e(i))}(e),o},toggleAttribute:function(e,t,o,n){void 0===o&&(o=!0),void 0===n&&(n=!1),e.getAttribute(t)!==o?e.setAttribute(t,o):e.setAttribute(t,n)},initNavToggleSubmenus:function(){var e=document.querySelectorAll(".nav--toggle-sub");if(e.length)for(let t=0;t<e.length;t++)window.kadence.initEachNavToggleSubmenu(e[t]),window.kadence.initEachNavToggleSubmenuInside(e[t])},initEachNavToggleSubmenu:function(e){var t=e.querySelectorAll(".menu ul");if(t.length)for(let a=0;a<t.length;a++){var o=t[a].parentNode;if(o.querySelector(".dropdown-nav-toggle")){var n=o.querySelector(".nav-drop-title-wrap").firstChild.textContent.trim(),i=document.createElement("BUTTON");i.setAttribute("aria-label",n?kadenceConfig.screenReader.expandOf+" "+n:kadenceConfig.screenReader.expand),i.setAttribute("aria-expanded","false"),i.setAttribute("aria-label",n?kadenceConfig.screenReader.expandOf+" "+n:kadenceConfig.screenReader.expand),i.classList.add("dropdown-nav-special-toggle"),o.insertBefore(i,o.childNodes[1]),i.addEventListener("click",(function(e){e.preventDefault(),window.kadence.toggleSubMenu(e.target.closest("li"))})),o.addEventListener("mouseleave",(function(e){window.kadence.toggleSubMenu(e.target,!1)})),o.querySelector("a").addEventListener("focus",(function(e){var t=e.target.parentNode.parentNode.querySelectorAll("li.menu-item--toggled-on");for(let n=0;n<t.length;n++)o!==t[n]&&window.kadence.toggleSubMenu(t[n],!1)})),t[a].addEventListener("keydown",(function(e){var o="ul.toggle-show > li > a, ul.toggle-show > li > .dropdown-nav-special-toggle";if(9===e.keyCode){o="ul.toggle-show > li > a, ul.toggle-show > li > .dropdown-nav-special-toggle";t[a].parentNode.classList.contains("kadence-menu-mega-enabled")&&(o='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]'),e.shiftKey?window.kadence.isfirstFocusableElement(t[a],document.activeElement,o)&&window.kadence.toggleSubMenu(t[a].parentNode,!1):window.kadence.islastFocusableElement(t[a],document.activeElement,o)&&window.kadence.toggleSubMenu(t[a].parentNode,!1)}27===e.keyCode&&(window.kadence.toggleSubMenu(t[a].parentNode,!1),t[a].parentNode.querySelector(".dropdown-nav-special-toggle").focus())})),t[a].parentNode.classList.add("menu-item--has-toggle")}}},initEachNavToggleSubmenuInside:function(e){var t=e.querySelectorAll(".menu-item-has-children");if(t.length)for(let o=0;o<t.length;o++)t[o].addEventListener("mouseenter",(function(e){if(t[o].querySelector("ul.sub-menu")){var n=t[o].querySelector("ul.sub-menu");window.kadence.getOffset(n).left+n.offsetWidth<=window.innerWidth||n.classList.add("sub-menu-edge")}}))},toggleSubMenu:function(e,t){var o=e.querySelector(".dropdown-nav-special-toggle"),n=e.querySelector("ul");let i=e.classList.contains("menu-item--toggled-on");var a=e.querySelector(".nav-drop-title-wrap").firstChild.textContent.trim();if(void 0!==t&&"boolean"==typeof t&&(i=!t),o.setAttribute("aria-expanded",(!i).toString()),i){setTimeout((function(){e.classList.remove("menu-item--toggled-on"),n.classList.remove("toggle-show"),o.setAttribute("aria-label",a?kadenceConfig.screenReader.expandOf+" "+a:kadenceConfig.screenReader.expand)}),5);var r=e.querySelectorAll(".menu-item--toggled-on");for(let e=0;e<r.length;e++)window.kadence.toggleSubMenu(r[e],!1)}else{var s=e.parentNode.querySelectorAll("li.menu-item--toggled-on");for(let e=0;e<s.length;e++)window.kadence.toggleSubMenu(s[e],!1);e.classList.add("menu-item--toggled-on"),n.classList.add("toggle-show"),o.setAttribute("aria-label",a?kadenceConfig.screenReader.collapseOf+" "+a:kadenceConfig.screenReader.collapse)}},isfirstFocusableElement:function(e,t,o){var n=e.querySelectorAll(o);return 0<n.length&&t===n[0]},islastFocusableElement:function(e,t,o){var n=e.querySelectorAll(o);return 0<n.length&&t===n[n.length-1]},toggleDrawer:function(e,t){t=void 0===t||t;var o=e,n=document.querySelector(o.dataset.toggleTarget);if(n){var i=window.innerWidth-document.documentElement.clientWidth,a=o.dataset.toggleDuration?o.dataset.toggleDuration:250;if(o.hasAttribute("aria-expanded")&&window.kadence.toggleAttribute(o,"aria-expanded","true","false"),n.classList.contains("show-drawer"))o.dataset.toggleBodyClass&&document.body.classList.remove(o.dataset.toggleBodyClass),n.classList.remove("active"),n.classList.remove("pop-animated"),document.body.classList.remove("kadence-scrollbar-fixer"),setTimeout((function(){n.classList.remove("show-drawer");var e=new Event("kadence-drawer-closed");if(window.dispatchEvent(e),o.dataset.setFocus&&t){var i=document.querySelector(o.dataset.setFocus);i&&(i.focus(),i.hasAttribute("aria-expanded")&&window.kadence.toggleAttribute(i,"aria-expanded","true","false"))}}),a);else if(n.classList.add("show-drawer"),o.dataset.toggleBodyClass&&(document.body.classList.toggle(o.dataset.toggleBodyClass),o.dataset.toggleBodyClass.includes("showing-popup-drawer-")&&(document.body.style.setProperty("--scrollbar-offset",i+"px"),document.body.classList.add("kadence-scrollbar-fixer"))),setTimeout((function(){n.classList.add("active");var e=new Event("kadence-drawer-opened");if(window.dispatchEvent(e),o.dataset.setFocus&&t){var i=document.querySelector(o.dataset.setFocus);if(i){i.hasAttribute("aria-expanded")&&window.kadence.toggleAttribute(i,"aria-expanded","true","false");var a=i.value;i.value="",i.focus(),i.value=a}}}),10),setTimeout((function(){n.classList.add("pop-animated")}),a),n.classList.contains("popup-drawer")){var r=n.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),s=r[0],d=r[r.length-1];document.addEventListener("keydown",(function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===s&&(d.focus(),e.preventDefault()):document.activeElement===d&&(s.focus(),e.preventDefault()))}))}}},initToggleDrawer:function(){var e=document.querySelectorAll(".drawer-toggle");if(e.length){for(let t=0;t<e.length;t++)e[t].addEventListener("click",(function(o){o.preventDefault(),window.kadence.toggleDrawer(e[t])}));document.addEventListener("keyup",(function(e){27===e.keyCode&&document.querySelectorAll(".popup-drawer.show-drawer.active")&&(e.preventDefault(),document.querySelectorAll(".popup-drawer.show-drawer.active").forEach((function(e){e.querySelector(".drawer-toggle")?window.kadence.toggleDrawer(e.querySelector(".drawer-toggle")):window.kadence.toggleDrawer(document.querySelector('*[data-toggle-target="'+e.dataset.drawerTargetString+'"]'))})))})),document.addEventListener("click",(function(e){var t=e.target;t===(n=document.querySelector(".show-drawer.active .drawer-overlay"))&&window.kadence.toggleDrawer(document.querySelector('*[data-toggle-target="'+n.dataset.drawerTargetString+'"]'));var o=document.querySelector("#search-drawer.show-drawer.active .drawer-content"),n=document.querySelector("#search-drawer.show-drawer.active .drawer-overlay");t===o&&window.kadence.toggleDrawer(document.querySelector('*[data-toggle-target="'+n.dataset.drawerTargetString+'"]'))}))}},initMobileToggleSub:function(){document.querySelectorAll(".has-collapse-sub-nav").forEach((function(e){var t=e.querySelector(".current-menu-item");t&&window.kadence.findParents(t,"li").forEach((function(e){var t=e.querySelector(".drawer-sub-toggle");t&&window.kadence.toggleDrawer(t,!0)}))}));var e=document.querySelectorAll(".drawer-sub-toggle");if(e.length)for(let t=0;t<e.length;t++)e[t].addEventListener("click",(function(o){o.preventDefault(),window.kadence.toggleDrawer(e[t])}))},initMobileToggleAnchor:function(){var e=document.getElementById("mobile-drawer");if(e){var t=e.querySelectorAll("a:not(.kt-tab-title)");if(t.length)for(let o=0;o<t.length;o++)t[o].addEventListener("click",(function(t){window.kadence.toggleDrawer(e.querySelector(".menu-toggle-close"),!1)}))}},initTransHeaderPadding:function(){if(!document.body.classList.contains("no-header")&&document.body.classList.contains("transparent-header")&&document.body.classList.contains("mobile-transparent-header")){var e=document.querySelector(".entry-hero-container-inner"),t=document.querySelector("#masthead"),o=function(o){kadenceConfig.breakPoints.desktop<=window.innerWidth?document.body.classList.contains("transparent-header")?e.style.paddingTop=t.offsetHeight+"px":e.style.paddingTop=0:document.body.classList.contains("mobile-transparent-header")?e.style.paddingTop=t.offsetHeight+"px":e.style.paddingTop=0};e&&(window.addEventListener("resize",o,!1),window.addEventListener("scroll",o,!1),window.addEventListener("load",o,!1),o())}},initStickyHeader:function(){var e=document.querySelector("#main-header .kadence-sticky-header"),t=document.querySelector("#mobile-header .kadence-sticky-header"),o=document.getElementById("wrapper"),n=document.querySelectorAll(".kadence-pro-fixed-above"),i=document.querySelectorAll(".kadence-before-wrapper-item"),a="mobile",r=0,s=0;parseInt(kadenceConfig.breakPoints.desktop)<window.innerWidth?(a="desktop",e&&(e.style.position="static",s=window.kadence.getOffset(e).top,e.style.position=null)):t&&(t.style.position="static",s=window.kadence.getOffset(t).top,t.style.position=null);var d,l,c,u=function(d){var l,c=window.kadence.getOffset(o).top;if(document.body.classList.toString().includes("boom_bar-static-top")){var u=document.querySelector(".boom_bar");c=window.kadence.getOffset(o).top-u.offsetHeight}if(i.length){var f=0;for(let e=0;e<i.length;e++)f+=i[e].offsetHeight;c=window.kadence.getOffset(o).top-f}if(n.length){var g=0;for(let e=0;e<n.length;e++)g+=n[e].offsetHeight;c=window.kadence.getOffset(o).top+g}if(document.body.classList.contains("woocommerce-demo-store")&&document.body.classList.contains("kadence-store-notice-placement-above")){var w=document.querySelector(".woocommerce-store-notice");w&&w.offsetHeight>0&&(c-=w.offsetHeight)}if(l=kadenceConfig.breakPoints.desktop<=window.innerWidth?e:t){kadenceConfig.breakPoints.desktop<=window.innerWidth?"mobile"===a?(s=window.kadence.getOffset(l).top,a="desktop"):d&&"updateActive"===d&&(l.style.top="auto",s=window.kadence.getOffset(l).top,a="desktop"):"desktop"===a?(s=window.kadence.getOffset(l).top,a="mobile"):d&&"updateActive"===d&&(l.style.top="auto",s=window.kadence.getOffset(l).top,a="mobile");var h=l.parentNode,m=l.getAttribute("data-shrink"),p=l.getAttribute("data-reveal-scroll-up"),v=parseInt(l.getAttribute("data-start-height"));if((!v||d&&void 0!==d.type&&"orientationchange"===d.type)&&(l.setAttribute("data-start-height",l.offsetHeight),v=l.offsetHeight,h.classList.contains("site-header-upper-inner-wrap")?(h.style.height=null,d&&void 0!==d.type&&"orientationchange"===d.type?l.classList.contains("item-is-fixed")?setTimeout((function(){h.style.height=Math.floor(h.offsetHeight+l.offsetHeight)+"px"}),21):setTimeout((function(){h.style.height=h.offsetHeight+"px"}),21):h.style.height=h.offsetHeight+"px"):h.classList.contains("site-header-inner-wrap")?(h.style.height=null,h.style.height=h.offsetHeight+"px"):h.style.height=l.offsetHeight+"px"),"true"===m){var y=l.getAttribute("data-shrink-height");if(y){if("true"===p)if(window.scrollY>r)var b=Math.floor(Math.floor(s)-Math.floor(c)+Math.floor(v));else b=Math.floor(s-c);else b=Math.floor(s-c);var k=l.querySelectorAll(".custom-logo"),L=l.querySelector(".site-main-header-inner-wrap"),S=parseInt(L.getAttribute("data-start-height"));if(S||(L.setAttribute("data-start-height",L.offsetHeight),S=L.offsetHeight),window.scrollY<=b){if(L.style.height=S+"px",L.style.minHeight=S+"px",L.style.maxHeight=S+"px",k)for(let e=0;e<k.length;e++){k[e].style.maxHeight="100%"}}else if(window.scrollY>b){var A=Math.max(y,S-(window.scrollY-(s-c)));if(L.style.height=A+"px",L.style.minHeight=A+"px",L.style.maxHeight=A+"px",k)for(let e=0;e<k.length;e++){k[e].style.maxHeight=A+"px"}}}}if("true"===p){var x=Math.floor(s-c),E=window.scrollY,q=l.offsetHeight,T=r-E,M=window.getComputedStyle(l).getPropertyValue("transform").match(/(-?[0-9\.]+)/g);if(M&&void 0!==M[5]&&M[5])var C=parseInt(M[5])+T;else C=0;var H=E>r;if(E<=x)l.style.transform="translateY(0px)";else if(H)l.classList.add("item-hidden-above"),l.style.transform="translateY("+(Math.abs(C)>q?-q:C)+"px)";else{x=Math.floor(s-c);l.style.transform="translateY("+(C>0?0:C)+"px)",l.classList.remove("item-hidden-above")}r=E}else x=Math.floor(s-c);window.scrollY==x?(l.style.top=c+"px",l.classList.add("item-is-fixed"),l.classList.add("item-at-start"),l.classList.remove("item-is-stuck"),h.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):window.scrollY>x?"true"===p?window.scrollY<q+60&&l.classList.contains("item-at-start")?(l.style.height=null,l.style.top=c+"px",l.classList.add("item-is-fixed"),l.classList.add("item-is-stuck"),h.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):(l.style.top=c+"px",l.classList.add("item-is-fixed"),l.classList.add("item-is-stuck"),l.classList.remove("item-at-start"),h.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):(l.style.top=c+"px",l.classList.add("item-is-fixed"),l.classList.remove("item-at-start"),l.classList.add("item-is-stuck"),h.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):l.classList.contains("item-is-fixed")&&(l.classList.remove("item-is-fixed"),l.classList.remove("item-at-start"),l.classList.remove("item-is-stuck"),l.style.height=null,l.style.top=null,h.classList.remove("child-is-fixed"),document.body.classList.remove("header-is-fixed"))}};if((e||t)&&(window.addEventListener("resize",u,!1),window.addEventListener("scroll",u,!1),window.addEventListener("load",u,!1),window.addEventListener("orientationchange",u),"complete"===document.readyState&&u("updateActive"),document.body.classList.contains("woocommerce-demo-store")&&document.body.classList.contains("kadence-store-notice-placement-above"))){d=document.querySelector(".woocommerce-store-notice"),l=e=>{u("updateActive")},c={root:document.documentElement},new IntersectionObserver(((e,t)=>{e.forEach((e=>{l(e.intersectionRatio>0)}))}),c).observe(d)}},getTopOffset:function(e="scroll"){if("load"===e)var t=document.querySelector("#main-header .kadence-sticky-header"),o=document.querySelector("#mobile-header .kadence-sticky-header");else t=document.querySelector('#main-header .kadence-sticky-header:not([data-reveal-scroll-up="true"])'),o=document.querySelector('#mobile-header .kadence-sticky-header:not([data-reveal-scroll-up="true"])');var n=0,i=0;if(kadenceConfig.breakPoints.desktop<=window.innerWidth){if(t)n="true"!==t.getAttribute("data-shrink")||t.classList.contains("site-header-inner-wrap")?Math.floor(t.offsetHeight):Math.floor(t.getAttribute("data-shrink-height"));else n=0;document.body.classList.contains("admin-bar")&&(i=32)}else{if(o)n="true"===o.getAttribute("data-shrink")?Math.floor(o.getAttribute("data-shrink-height")):Math.floor(o.offsetHeight);else n=0;document.body.classList.contains("admin-bar")&&(i=46)}return Math.floor(n+i+Math.floor(kadenceConfig.scrollOffset))},scrollToElement:function(e,t,o="scroll"){t=void 0===t||t;var n=window.kadence.getTopOffset(o),i=Math.floor(e.getBoundingClientRect().top)-n;window.scrollBy({top:i,left:0,behavior:"smooth"}),e.tabIndex="-1",e.focus({preventScroll:!0}),e.classList.contains("kt-title-item")&&e.firstElementChild.click(),t&&window.history.pushState("","","#"+e.id)},anchorScrollToCheck:function(e,t){if(t=void 0!==t?t:null,e.target.getAttribute("href"))var o=e.target;else{if(!(o=e.target.closest("a")))return;if(!o.getAttribute("href"))return}if(!(o.parentNode&&o.parentNode.hasAttribute("role")&&"tab"===o.parentNode.getAttribute("role")||o.closest(".woocommerce-tabs ul.tabs"))){var n;n=t?t.getAttribute("href").substring(t.getAttribute("href").indexOf("#")):o.getAttribute("href").substring(o.getAttribute("href").indexOf("#"));var i=document.getElementById(n.replace("#",""));i&&(i?.classList?.contains("kt-accordion-pane")||(e.preventDefault(),window.kadence.scrollToElement(i),window.kadence.updateActiveAnchors()))}},initStickySidebarWidget:function(){if(document.body.classList.contains("has-sticky-sidebar-widget")){var e=window.kadence.getTopOffset(),t=document.querySelector("#secondary .sidebar-inner-wrap .widget:last-child");t&&(t.style.top=Math.floor(e+20)+"px",t.style.maxHeight="calc( 100vh - "+Math.floor(e+20)+"px )")}},initStickySidebar:function(){if(document.body.classList.contains("has-sticky-sidebar")){var e=window.kadence.getTopOffset(),t=document.querySelector("#secondary .sidebar-inner-wrap");t&&(t.style.top=Math.floor(e+20)+"px",t.style.maxHeight="calc( 100vh - "+Math.floor(e+20)+"px )")}},initActiveAnchors:function(){""!=window.location.hash&&window.kadence.updateActiveAnchors(),window.onhashchange=function(){window.kadence.updateActiveAnchors()}},updateActiveAnchors:function(){document.querySelectorAll(".menu-item").forEach((function(e){const t=e.querySelector("a");t?.href&&t.href.includes("#")&&(window.location.href==t.href?e.classList.add("current-menu-item"):e.classList.remove("current-menu-item"))}))},initAnchorScrollTo:function(){if(!document.body.classList.contains("no-anchor-scroll")){if(window.onhashchange=function(){""===window.location.hash&&(window.scrollTo({top:0,behavior:"smooth"}),document.activeElement.blur())},""!=window.location.hash){var e,t=location.hash.substring(1);if(!/^[A-z0-9_-]+$/.test(t))return;(e=document.getElementById(t))&&window.setTimeout((function(){window.kadence.scrollToElement(e,!1,"load")}),100)}var o=document.querySelectorAll("a[href*=\\#]:not([href=\\#]):not(.scroll-ignore):not([data-tab]):not([data-toggle]):not(.woocommerce-tabs a):not(.tabs a)");o.length&&o.forEach((function(e){try{new URL(e.href).pathname===window.location.pathname&&e.addEventListener("click",(function(e){window.kadence.anchorScrollToCheck(e)}))}catch(t){console.log("ClassList: "+e.classList,"Invalid URL")}}))}},initScrollToTop:function(){var e=document.getElementById("kt-scroll-up");if(e){var t=function(){window.scrollY>100?(e.classList.add("scroll-visible"),e.setAttribute("aria-hidden",!1)):(e.classList.remove("scroll-visible"),e.setAttribute("aria-hidden",!0))};window.addEventListener("scroll",t),t(),e.addEventListener("click",(function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),document.querySelector(".skip-link").focus({preventScroll:!0}),document.activeElement.blur()}))}var o=document.getElementById("kt-scroll-up-reader");o&&o.addEventListener("click",(function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),document.querySelector(".skip-link").focus()}))},initClickToOpen:function(){document.querySelectorAll(".header-navigation.click-to-open li.menu-item--has-toggle").forEach((function(e){[e.querySelector("a"),e.querySelector('button[class="dropdown-nav*"]')].forEach((function(t){t&&t.addEventListener("click",(function(t){t.preventDefault();const o=e.querySelector("ul.sub-menu");if(o){const t=o.classList.contains("opened");o.classList.toggle("opened",!t);if(Array.from(e.parentNode.children).filter((t=>t!==e)).forEach((function(e){const t=e.querySelector(":scope > ul.sub-menu");t&&t.classList.remove("opened")})),!t){const t=n=>{e.contains(n.target)||(o.classList.remove("opened"),document.removeEventListener("click",t))};document.addEventListener("click",t)}}}))}))}))},init:function(){window.kadence.initNavToggleSubmenus(),window.kadence.initToggleDrawer(),window.kadence.initMobileToggleAnchor(),window.kadence.initMobileToggleSub(),window.kadence.initOutlineToggle(),window.kadence.initStickyHeader(),window.kadence.initStickySidebar(),window.kadence.initStickySidebarWidget(),window.kadence.initTransHeaderPadding(),window.kadence.initAnchorScrollTo(),window.kadence.initScrollToTop(),window.kadence.initActiveAnchors(),window.kadence.initClickToOpen()}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.kadence.init):window.kadence.init()}();
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).LazyLoad=t()}(this,(function(){"use strict";const e="undefined"!=typeof window,t=e&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),a=e&&window.devicePixelRatio>1,n={elements_selector:".lazy",container:t||e?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_bg_set:"bg-set",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,restore_on_error:!1},s=e=>Object.assign({},n,e),l=function(e,t){let a;const n="LazyLoad::Initialized",s=new e(t);try{a=new CustomEvent(n,{detail:{instance:s}})}catch(e){a=document.createEvent("CustomEvent"),a.initCustomEvent(n,!1,!1,{instance:s})}window.dispatchEvent(a)},o="src",r="srcset",i="sizes",d="poster",c="llOriginalAttrs",_="data",u="loading",g="loaded",b="applied",h="error",m="native",p="data-",f="ll-status",v=(e,t)=>e.getAttribute(p+t),E=e=>v(e,f),I=(e,t)=>((e,t,a)=>{const n=p+t;null!==a?e.setAttribute(n,a):e.removeAttribute(n)})(e,f,t),y=e=>I(e,null),k=e=>null===E(e),A=e=>E(e)===m,L=[u,g,b,h],w=(e,t,a,n)=>{e&&"function"==typeof e&&(void 0===n?void 0===a?e(t):e(t,a):e(t,a,n))},x=(t,a)=>{e&&""!==a&&t.classList.add(a)},C=(t,a)=>{e&&""!==a&&t.classList.remove(a)},O=e=>e.llTempImage,M=(e,t)=>{if(!t)return;const a=t._observer;a&&a.unobserve(e)},z=(e,t)=>{e&&(e.loadingCount+=t)},N=(e,t)=>{e&&(e.toLoadCount=t)},T=e=>{let t=[];for(let a,n=0;a=e.children[n];n+=1)"SOURCE"===a.tagName&&t.push(a);return t},R=(e,t)=>{const a=e.parentNode;a&&"PICTURE"===a.tagName&&T(a).forEach(t)},G=(e,t)=>{T(e).forEach(t)},D=[o],H=[o,d],V=[o,r,i],F=[_],j=e=>!!e[c],B=e=>e[c],J=e=>delete e[c],S=(e,t)=>{if(j(e))return;const a={};t.forEach((t=>{a[t]=e.getAttribute(t)})),e[c]=a},P=(e,t)=>{if(!j(e))return;const a=B(e);t.forEach((t=>{((e,t,a)=>{a?e.setAttribute(t,a):e.removeAttribute(t)})(e,t,a[t])}))},U=(e,t,a)=>{x(e,t.class_applied),I(e,b),a&&(t.unobserve_completed&&M(e,t),w(t.callback_applied,e,a))},$=(e,t,a)=>{x(e,t.class_loading),I(e,u),a&&(z(a,1),w(t.callback_loading,e,a))},q=(e,t,a)=>{a&&e.setAttribute(t,a)},K=(e,t)=>{q(e,i,v(e,t.data_sizes)),q(e,r,v(e,t.data_srcset)),q(e,o,v(e,t.data_src))},Q={IMG:(e,t)=>{R(e,(e=>{S(e,V),K(e,t)})),S(e,V),K(e,t)},IFRAME:(e,t)=>{S(e,D),q(e,o,v(e,t.data_src))},VIDEO:(e,t)=>{G(e,(e=>{S(e,D),q(e,o,v(e,t.data_src))})),S(e,H),q(e,d,v(e,t.data_poster)),q(e,o,v(e,t.data_src)),e.load()},OBJECT:(e,t)=>{S(e,F),q(e,_,v(e,t.data_src))}},W=["IMG","IFRAME","VIDEO","OBJECT"],X=(e,t)=>{!t||(e=>e.loadingCount>0)(t)||(e=>e.toLoadCount>0)(t)||w(e.callback_finish,t)},Y=(e,t,a)=>{e.addEventListener(t,a),e.llEvLisnrs[t]=a},Z=(e,t,a)=>{e.removeEventListener(t,a)},ee=e=>!!e.llEvLisnrs,te=e=>{if(!ee(e))return;const t=e.llEvLisnrs;for(let a in t){const n=t[a];Z(e,a,n)}delete e.llEvLisnrs},ae=(e,t,a)=>{(e=>{delete e.llTempImage})(e),z(a,-1),(e=>{e&&(e.toLoadCount-=1)})(a),C(e,t.class_loading),t.unobserve_completed&&M(e,a)},ne=(e,t,a)=>{const n=O(e)||e;ee(n)||((e,t,a)=>{ee(e)||(e.llEvLisnrs={});const n="VIDEO"===e.tagName?"loadeddata":"load";Y(e,n,t),Y(e,"error",a)})(n,(s=>{((e,t,a,n)=>{const s=A(t);ae(t,a,n),x(t,a.class_loaded),I(t,g),w(a.callback_loaded,t,n),s||X(a,n)})(0,e,t,a),te(n)}),(s=>{((e,t,a,n)=>{const s=A(t);ae(t,a,n),x(t,a.class_error),I(t,h),w(a.callback_error,t,n),a.restore_on_error&&P(t,V),s||X(a,n)})(0,e,t,a),te(n)}))},se=(e,t,n)=>{(e=>W.indexOf(e.tagName)>-1)(e)?((e,t,a)=>{ne(e,t,a),((e,t,a)=>{const n=Q[e.tagName];n&&(n(e,t),$(e,t,a))})(e,t,a)})(e,t,n):((e,t,n)=>{(e=>{e.llTempImage=document.createElement("IMG")})(e),ne(e,t,n),(e=>{j(e)||(e[c]={backgroundImage:e.style.backgroundImage})})(e),((e,t,n)=>{const s=v(e,t.data_bg),l=v(e,t.data_bg_hidpi),r=a&&l?l:s;r&&(e.style.backgroundImage=`url("${r}")`,O(e).setAttribute(o,r),$(e,t,n))})(e,t,n),((e,t,n)=>{const s=v(e,t.data_bg_multi),l=v(e,t.data_bg_multi_hidpi),o=a&&l?l:s;o&&(e.style.backgroundImage=o,U(e,t,n))})(e,t,n),((e,t,a)=>{const n=v(e,t.data_bg_set);if(!n)return;let s=n.split("|").map((e=>`image-set(${e})`));e.style.backgroundImage=s.join(),U(e,t,a)})(e,t,n)})(e,t,n)},le=e=>{e.removeAttribute(o),e.removeAttribute(r),e.removeAttribute(i)},oe=e=>{R(e,(e=>{P(e,V)})),P(e,V)},re={IMG:oe,IFRAME:e=>{P(e,D)},VIDEO:e=>{G(e,(e=>{P(e,D)})),P(e,H),e.load()},OBJECT:e=>{P(e,F)}},ie=(e,t)=>{(e=>{const t=re[e.tagName];t?t(e):(e=>{if(!j(e))return;const t=B(e);e.style.backgroundImage=t.backgroundImage})(e)})(e),((e,t)=>{k(e)||A(e)||(C(e,t.class_entered),C(e,t.class_exited),C(e,t.class_applied),C(e,t.class_loading),C(e,t.class_loaded),C(e,t.class_error))})(e,t),y(e),J(e)},de=["IMG","IFRAME","VIDEO"],ce=e=>e.use_native&&"loading"in HTMLImageElement.prototype,_e=(e,t,a)=>{e.forEach((e=>(e=>e.isIntersecting||e.intersectionRatio>0)(e)?((e,t,a,n)=>{const s=(e=>L.indexOf(E(e))>=0)(e);I(e,"entered"),x(e,a.class_entered),C(e,a.class_exited),((e,t,a)=>{t.unobserve_entered&&M(e,a)})(e,a,n),w(a.callback_enter,e,t,n),s||se(e,a,n)})(e.target,e,t,a):((e,t,a,n)=>{k(e)||(x(e,a.class_exited),((e,t,a,n)=>{a.cancel_on_exit&&(e=>E(e)===u)(e)&&"IMG"===e.tagName&&(te(e),(e=>{R(e,(e=>{le(e)})),le(e)})(e),oe(e),C(e,a.class_loading),z(n,-1),y(e),w(a.callback_cancel,e,t,n))})(e,t,a,n),w(a.callback_exit,e,t,n))})(e.target,e,t,a)))},ue=e=>Array.prototype.slice.call(e),ge=e=>e.container.querySelectorAll(e.elements_selector),be=e=>(e=>E(e)===h)(e),he=(e,t)=>(e=>ue(e).filter(k))(e||ge(t)),me=function(t,a){const n=s(t);this._settings=n,this.loadingCount=0,((e,t)=>{ce(e)||(t._observer=new IntersectionObserver((a=>{_e(a,e,t)}),(e=>({root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}))(e)))})(n,this),((t,a)=>{e&&(a._onlineHandler=()=>{((e,t)=>{var a;(a=ge(e),ue(a).filter(be)).forEach((t=>{C(t,e.class_error),y(t)})),t.update()})(t,a)},window.addEventListener("online",a._onlineHandler))})(n,this),this.update(a)};return me.prototype={update:function(e){const a=this._settings,n=he(e,a);var s,l;N(this,n.length),t?this.loadAll(n):ce(a)?((e,t,a)=>{e.forEach((e=>{-1!==de.indexOf(e.tagName)&&((e,t,a)=>{e.setAttribute("loading","lazy"),ne(e,t,a),((e,t)=>{const a=Q[e.tagName];a&&a(e,t)})(e,t),I(e,m)})(e,t,a)})),N(a,0)})(n,a,this):(l=n,(e=>{e.disconnect()})(s=this._observer),((e,t)=>{t.forEach((t=>{e.observe(t)}))})(s,l))},destroy:function(){this._observer&&this._observer.disconnect(),e&&window.removeEventListener("online",this._onlineHandler),ge(this._settings).forEach((e=>{J(e)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){const t=this._settings;he(e,t).forEach((e=>{M(e,this),se(e,t,this)}))},restoreAll:function(){const e=this._settings;ge(e).forEach((t=>{ie(t,e)}))}},me.load=(e,t)=>{const a=s(t);se(e,a)},me.resetStatus=e=>{y(e)},e&&((e,t)=>{if(t)if(t.length)for(let a,n=0;a=t[n];n+=1)l(e,a);else l(e,t)})(me,window.lazyLoadOptions),me}));