1/*! lozad.js - v1.16.0 - 2020-09-06 2 * https://github.com/ApoorvSaxena/lozad.js 3* Copyright (c) 2020 Apoorv Saxena; Licensed MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e()}(this,function(){"use strict";var t="undefined"!=typeof document&&document.documentMode;let e={landscape:["119x70","153x90","204x120","340x200","442x260","510x300","816x480","1280x720"],portrait:["228x304","321x428"]},r=RegExp("^-[0-9]+x[0-9]+(-[0-9]g)?$"),a=RegExp("-[0-9]+x[0-9](-[0-9]g)?.(jpg|jpeg|png|gif|webp|apng|avif|jfif|pjpeg|pjp)$","i"),i=RegExp(".(jpg|jpeg|png|gif|webp|apng|avif|jfif|pjpeg|pjp)$","i");function o(t,e=""){var o=t;if(r.test(e)&&lozadDynamicImage&&!a.test(t)&&i.test(t)){var n=t.split(i);n[0]=n[0].replace("media.ibc24.in","images.ibc24.in"),o=n[0]+"_V_"+n[1]+"-"+e+".webp"}return lozadDebug&&console.log([t,o,e]),o}var n={rootMargin:"0px",threshold:0,load:function r(a){try{var i=navigator.connection.effectiveType}catch(n){var i="4g"}var g=a.width/a.height<1?"portrait":"landscape",d=function t(r,a="landscape"){for(var i=e[a],o=0;o<i.length;o++)if(parseInt(r)<parseInt(i[o].split("x")[0]))return i[o];return i.slice(-1)}(a.width,g);console.log([a.width,a.height,a.class]),"816x480"==d&&(d="1280x720");var u="-"+d+"-"+i,s="?sw="+screen.width+"&dsz="+d+"&iw="+a.width+"&p="+("portrait"==g)+"&r="+window.devicePixelRatio;if("picture"===a.nodeName.toLowerCase()){var c=a.querySelector("img"),l=!1;null===c&&(c=document.createElement("img"),l=!0),t&&a.getAttribute("data-iesrc")&&(c.src=a.getAttribute("data-iesrc")),a.getAttribute("data-alt")&&(c.alt=a.getAttribute("data-alt")),l&&a.append(c)}if("video"===a.nodeName.toLowerCase()&&!a.getAttribute("data-src")&&a.children){for(var b=a.children,f=void 0,$=0;$<=b.length-1;$++)(f=o(b[$].getAttribute("data-src"),u))&&(b[$].src=f+s);a.load()}a.getAttribute("data-poster")&&(a.poster=a.getAttribute("data-poster")),a.getAttribute("data-src")&&(a.src=o(a.getAttribute("data-src"),u)+s),a.getAttribute("data-srcset")&&a.setAttribute("srcset",a.getAttribute("data-srcset"));var p=",";if(a.getAttribute("data-background-delimiter")&&(p=a.getAttribute("data-background-delimiter")),a.getAttribute("data-background-image"))a.style.backgroundImage="url('"+a.getAttribute("data-background-image").split(p).join("'),url('")+"')";else if(a.getAttribute("data-background-image-set")){var v=a.getAttribute("data-background-image-set").split(p),h=v[0].substr(0,v[0].indexOf(" "))||v[0];h=-1===h.indexOf("url(")?"url("+h+")":h,1===v.length?a.style.backgroundImage=h:a.setAttribute("style",(a.getAttribute("style")||"")+("background-image: "+h+"; background-image: -webkit-image-set(")+v+"); background-image: image-set("+v+")")}a.getAttribute("data-toggle-class")&&a.classList.toggle(a.getAttribute("data-toggle-class"))},loaded:function t(){}};function g(t){t.setAttribute("data-loaded",!0)}function d(t){t.getAttribute("data-placeholder-background")&&(t.style.background=t.getAttribute("data-placeholder-background"))}var u=function t(e){return"true"===e.getAttribute("data-loaded")},s=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return e instanceof Element?[e]:e instanceof NodeList?e:r.querySelectorAll(e)};return function t(){var e,r,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".lozad",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Object.assign({},n,i),c=o.root,l=o.rootMargin,b=o.threshold,f=o.load,$=o.loaded,p=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(p=new IntersectionObserver((e=f,r=$,function(t,a){t.forEach(function(t){(t.intersectionRatio>0||t.isIntersecting)&&(a.unobserve(t.target),u(t.target)||(e(t.target),g(t.target),r(t.target)))})}),{root:c,rootMargin:l,threshold:b}));for(var v=s(a,c),h=0;h<v.length;h++)d(v[h]);return{observe:function t(){for(var e=s(a,c),r=0;r<e.length;r++)if(!u(e[r])){if(p){p.observe(e[r]);continue}f(e[r]),g(e[r]),$(e[r])}},triggerLoad:function t(e){u(e)||(f(e),g(e),$(e))},observer:p}}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.