<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&amp;&amp;"IntersectionObserverEntry"in window&amp;&amp;"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio&gt;0}});return}var s=window.document;function g(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||m(),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;n?this.intersectionRatio=Number((i/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(e,t){var n=t||{};if(typeof e!="function")throw new Error("callback must be a function");if(n.root&amp;&amp;n.root.nodeType!=1)throw new Error("root must be an Element");this._checkForIntersections=f(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(r){return r.value+r.unit}).join(" ")}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(e){var t=this._observationTargets.some(function(n){return n.element==e});if(!t){if(!(e&amp;&amp;e.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(n,r,i){if(typeof n!="number"||isNaN(n)||n&lt;0||n&gt;1)throw new Error("threshold must be a number between 0 and 1 inclusively");return n!==i[r-1]})},o.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map(function(r){var i=/^(-?\d*\.?\d+)(px|%)$/.exec(r);if(!i)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(i[1]),unit:i[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(a(window,"resize",this._checkForIntersections,!0),a(s,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&amp;&amp;"MutationObserver"in window&amp;&amp;(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(s,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&amp;&amp;(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,u(window,"resize",this._checkForIntersections,!0),u(s,"scroll",this._checkForIntersections,!0),this._domObserver&amp;&amp;(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():m();this._observationTargets.forEach(function(n){var r=n.element,i=v(r),c=this._rootContainsTarget(r),h=n.entry,d=e&amp;&amp;c&amp;&amp;this._computeTargetAndRootIntersection(r,t),p=n.entry=new g({time:l(),target:r,boundingClientRect:i,rootBounds:t,intersectionRect:d});h?e&amp;&amp;c?this._hasCrossedThreshold(h,p)&amp;&amp;this._queuedEntries.push(p):h&amp;&amp;h.isIntersecting&amp;&amp;this._queuedEntries.push(p):this._queuedEntries.push(p)},this),this._queuedEntries.length&amp;&amp;this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(e,t){if(window.getComputedStyle(e).display!="none"){for(var n=v(e),r=n,i=_(e),c=!1;!c;){var h=null,d=i.nodeType==1?window.getComputedStyle(i):{};if(d.display=="none")return;if(i==this.root||i==s?(c=!0,h=t):i!=s.body&amp;&amp;i!=s.documentElement&amp;&amp;d.overflow!="visible"&amp;&amp;(h=v(i)),h&amp;&amp;(r=w(h,r),!r))break;i=_(i)}return r}},o.prototype._getRootRect=function(){var e;if(this.root)e=v(this.root);else{var t=s.documentElement,n=s.body;e={top:0,left:0,right:t.clientWidth||n.clientWidth,width:t.clientWidth||n.clientWidth,bottom:t.clientHeight||n.clientHeight,height:t.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(r,i){return r.unit=="px"?r.value:r.value*(i%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&amp;&amp;e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i&lt;this.thresholds.length;i++){var c=this.thresholds[i];if(c==n||c==r||c&lt;n!=c&lt;r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||b(s,this.root)},o.prototype._rootContainsTarget=function(e){return b(this.root||s,e)},o.prototype._registerInstance=function(){},o.prototype._unregisterInstance=function(){};function l(){return window.performance&amp;&amp;performance.now&amp;&amp;performance.now()}function f(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}function a(e,t,n,r){typeof e.addEventListener=="function"?e.addEventListener(t,n,r||!1):typeof e.attachEvent=="function"&amp;&amp;e.attachEvent("on"+t,n)}function u(e,t,n,r){typeof e.removeEventListener=="function"?e.removeEventListener(t,n,r||!1):typeof e.detatchEvent=="function"&amp;&amp;e.detatchEvent("on"+t,n)}function w(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),c=Math.min(e.right,t.right),h=c-i,d=r-n;return h&gt;=0&amp;&amp;d&gt;=0&amp;&amp;{top:n,bottom:r,left:i,right:c,width:h,height:d}}function v(e){var t;try{t=e.getBoundingClientRect()}catch{}return t?(t.width&amp;&amp;t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):m()}function m(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function b(e,t){for(var n=t;n;){if(n==e)return!0;n=_(n)}return!1}function _(e){var t=e.parentNode;return t&amp;&amp;t.nodeType==11&amp;&amp;t.host?t.host:t&amp;&amp;t.assignedSlot?t.assignedSlot.parentNode:t}window.IntersectionObserver=o,window.IntersectionObserverEntry=g})();document.readyState!=="loading"?I():document.addEventListener("DOMContentLoaded",function(){I()});function I(){const s=[].slice.call(document.querySelectorAll(".roc-lazy-image")),g=10,o=new IntersectionObserver(function(l){l.forEach(function(f){if(f.isIntersecting){const a=f.target;a.dataset.src&amp;&amp;(a.src=a.dataset.src);const u=Number(a.getAttribute("data-roc-lazy-delay"))||g;a.classList.remove("roc-lazy-image--inactive"),setTimeout(()=&gt;{a.classList.add("roc-lazy-image--loaded"),o.unobserve(a)},u)}})});s.forEach(function(l){o.observe(l)})}function y({elements:s,callback:g,delay:o=0,stopAfterIntersecting:l=!0}){const f=new IntersectionObserver(function(a){a.forEach(u=&gt;{setTimeout(()=&gt;{g(u.isIntersecting)},o),l&amp;&amp;u.isIntersecting&amp;&amp;f.unobserve(u.target)})});s.forEach(a=&gt;{f.observe(a)})}export{y as a,I as l};
</pre></body></html>