(function(){var r=window.warp_lrc_config;if(!r||!r.hash||!r.endpoint)return;var o=document.querySelectorAll("[data-warp-lrc-idx]");if(!o.length)return;for(var b=r.threshold||1600,s=[],i={},l=0;l=b&&(f.farEnough=!0),n.descendants=n.el.querySelectorAll("*"),n.selfChecked=!0}for(var C=n.descendants,B=0;n.di=t&&!e())return n.di++,!1}a++}return!0}function m(){var e=[];return s.forEach(function(t){var n=d[t];!n.conflict&&n.farEnough&&e.push(parseInt(t,10))}),e}function y(){var e=m();if(e.length){var t=JSON.stringify({hash:r.hash,passed:e});navigator.sendBeacon?navigator.sendBeacon(r.endpoint,new Blob([t],{type:"application/json"})):fetch(r.endpoint,{method:"POST",body:t,headers:{"Content-Type":"application/json"},keepalive:!0}).catch(function(){})}}function E(e){w(function(){return e.timeRemaining()>4})?y():u()}function S(){var e=Date.now();w(function(){return Date.now()-e<8})?y():u()}function u(){window.requestIdleCallback?requestIdleCallback(E,{timeout:4e3}):setTimeout(S,50)}document.readyState==="complete"?u():window.addEventListener("load",u)})();