document.addEventListener("DOMContentLoaded",(function(){const e=function(e){const t=new IntersectionObserver(((e,t)=>{e.forEach((e=>{if(e.isIntersecting){const s=e.target;s.dataset.loaded||(s.dataset.src&&(s.src=s.dataset.src),s.dataset.srcset&&(s.srcset=s.dataset.srcset),s.dataset.sizes&&(s.sizes=s.dataset.sizes),s.dataset.loaded=!0,delete s.dataset.src,delete s.dataset.srcset,delete s.dataset.sizes,t.unobserve(s))}}))}));e.forEach((e=>{t.observe(e)}))},t=document.querySelectorAll(".cwvlazyload");e(t);new MutationObserver((t=>{t.forEach((t=>{"childList"===t.type&&t.addedNodes.forEach((t=>{if(1===t.nodeType&&t.querySelectorAll){const s=t.querySelectorAll(".cwvlazyload");e(s)}}))}))})).observe(document.body,{childList:!0,subtree:!0}),cwvpsb_lazyload&&"delay"==cwvpsb_lazyload.type&&setTimeout((()=>{t.forEach((e=>{e.dataset.src&&(e.src=e.dataset.src,delete e.dataset.src),e.dataset.srcset&&(e.srcset=e.dataset.srcset,delete e.dataset.srcset),e.dataset.sizes&&(e.sizes=e.dataset.sizes,delete e.dataset.sizes),e.dataset.loaded=!0}))}),3e3)}));