(function(){if(window.__igLazy)return;window.__igLazy=1;if(!("IntersectionObserver" in window))return;var P=Object.getOwnPropertyDescriptor(HTMLImageElement.prototype,"src"),SA=Element.prototype.setAttribute,PX="https://bordonileathers.com/wp-content/plugins/instagram-feed/img/placeholder.png",off=false;function ig(v){return typeof v==="string"&&v.indexOf("cdninstagram")>-1;}Object.defineProperty(HTMLImageElement.prototype,"src",{configurable:true,get:function(){return P.get.call(this);},set:function(v){if(!off&&ig(v)){SA.call(this,"data-iglazy",v);P.set.call(this,PX);}else{P.set.call(this,v);}}});Element.prototype.setAttribute=function(n,v){if(!off&&n==="src"&&this.tagName==="IMG"&&ig(v)){SA.call(this,"data-iglazy",v);return SA.call(this,"src",PX);}return SA.call(this,n,v);};function rel(){if(off)return;off=true;try{Object.defineProperty(HTMLImageElement.prototype,"src",P);}catch(e){}Element.prototype.setAttribute=SA;document.querySelectorAll("img[data-iglazy]").forEach(function(i){SA.call(i,"src",i.getAttribute("data-iglazy"));});}setTimeout(rel,15000);["scroll","touchstart","wheel","keydown"].forEach(function(e){window.addEventListener(e,rel,{once:true,passive:true});});document.addEventListener("DOMContentLoaded",function(){var f=document.getElementById("sb_instagram");if(!f){rel();return;}new IntersectionObserver(function(en,o){if(en[0].isIntersecting){o.disconnect();rel();}},{rootMargin:"800px"}).observe(f);});})();