PageSourceSearch

https://cug.tradedirect.ch/td/static/js/imageloader/1.0.0/imageloader.min.js?v=3.4.79

js tradedirect.ch collected 2026-10-06 22:02:20 UTC 2,514 bytes, 5 lines download raw bytes

1window.ImageLoader||(window.ImageLoader=function(d){function n(a){var c=d(".debugPad");c.length||(c=d('<div class="debugPad"></div>').css({border:"3px dashed rgb(220,20,20)","background-color":"lightyellow",position:"fixed",bottom:"10px",left:"20px",height:"100px",width:"500px",overflow:"auto",padding:"10px",color:"darkblue","font-size":"12px"}).appendTo("body").draggable());c.append(a+"<br />").animate({scrollTop:c.prop("scrollHeight")-c.height()},50)}function m(a,c){"boolean"===typeof a&&(c=a,a=
2null);(a?d(a).find(i.imageWrapperSelector):d(i.imageWrapperSelector)).each(function(){var b=d(this),a=b.find("img");!a.length&&c&&(a=b.data("il-content"));a.length&&j(b,a,a.attr("src"),c)})}function j(a,c,b,e){var f=a.innerWidth();if(e||parseInt(c.attr("width"))!==f){a.hasClass("loading")&&e&&(c.off("load"),c=d("<img/>"),a.data("il-content",c));a.addClass("loading");c.detach();var h=[],e=b,g=b.indexOf("?");-1<g&&(e=b.substring(0,g),h=b.substring(g+1).split("&"));var f=50>f?250:f,j=parseInt(0.382*
3f),b=f,g=j;q()&&(ImageLoader.debug&&n("Retinaizing "+b+":"+g),b*=i.intRetinaFactor,g*=i.intRetinaFactor,ImageLoader.debug&&n("Retinaized "+b+":"+g));var m=a.attr("style"),r=(new Date).getTime(),k={width:b,height:g,cache:r-r%1E4};null!==p&&(k.themeStyle=p);for(var l=h,h=0;h<l.length;++h)b=l[h].indexOf("="),-1!=b&&(b=decodeURIComponent(l[h].substr(0,b)),b in k&&(l[h]=encodeURIComponent(b)+"="+encodeURIComponent(k[b]),delete k[b]));d.each(k,function(b){l.push(encodeURIComponent(b)+"="+encodeURIComponent(k[b]))});
4b=e+"?"+l.join("&");a.height(j);e=function(){a.removeClass("loading").append(c).attr("style",m?m:"");d(this).off("load").attr("width",f).attr("height",j)};c.on("load",e).attr("src",b);c.prop("complete")&&e.call(c[0])}}function q(){return 1<window.devicePixelRatio||window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(-moz-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5)").matches}var p=null,i={imageWrapperSelector:".dynImage",intRetinaFactor:2};return{updateSettings:function(a){d.extend(i,
5a)},loadImages:function(a){ImageLoader.debug&&n("Is Retina "+q());(a?d(a).find(i.imageWrapperSelector):d(i.imageWrapperSelector)).each(function(){var a=d(this),b=a.find("img");if(!b.length){var e=a.data("src");if(e){var f=a.data("activation"),b=d("<img/>");a.data("il-content",b);a.removeData("activation").removeData("src");f?ActivationManager.register(f,function(){j(a,b,e)}):j(a,b,e)}}})},updateImages:m,setThemeStyle:function(a){p=a;m(!0)},debug:!1}}(jQuery));

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.