PageSourceSearch

https://www.intel.co.jp/etc.clientlibs/settings/wcm/designs/ver/26…/intel/externallibs/picturefill-js.min.js

js intel.co.jp collected 2026-09-24 08:41:26 UTC 3,166 bytes, 9 lines download raw bytes

1/*
2 onScreen jQuery plugin v0.2.1 (c) 2011-2013 Ben Pickles http://benpickles.github.io/onScreen Released under MIT license. Picturefill - Responsive Images that work today. (and mimic the proposed Picture element with span elements). Author: Scott Jehl, Filament Group, 2012 | License: MIT/GPLv2 */
3(function(c){c.expr.pseudos.onScreen=function(k){var m=c(window),n=m.scrollTop();m=m.height();var a=n+m,d=c(k);k=d.offset().top;d=d.height();var e=k+d;return k>=n&&k<a||e>n&&e<=a||d>m&&k<=n&&e>=a}})(jQuery);var gPicFill=gPicFill||{};
4(function(c){function k(a){for(var d=[],e=0,g=a.length;e<g;e++){var h=$(a[e]).attr("data-media");(!h||c.matchMedia&&c.matchMedia(h).matches)&&d.push(a[e])}return d}function m(){return function(){this.onerror=null;this.src=$(this).parent("span").attr("data-onerror");-1<this.src.indexOf("/etc.clientlibs/settings/wcm/designs/intel/us/en/images/resources/white.png")&&(this.style.display="none")}}var n=!1;c.picturefill=function(){var a=$("[data-picture]").not("[data-ignore]"),d=$("[data-picture-full-bleed]").not("[data-ignore]"),
5e=$(".overview-component"),g=a.add(d).add(e);"complete"!==document.readyState&&(n||(c.addEventListener("load",c.picturefill,!1),n=!0),"complete"!==document.readyState&&(g=g.filter(":onScreen")),g=g.filter(":lt(4)"));a=a.filter(g);for(var h=0,p=a.length;h<p;h++){var b=$(a[h]).find("span[data-src]"),f=k(b);b=a[h].getElementsByTagName("img")[0];var q=a[h].classList.contains("image-wh")?"true":"false",r=a[h].classList.contains("lazy-load-img")?"true":"false";if(f.length){var l=a[h];f=f.pop();b||(b=c.document.createElement("img"),
6b.alt=l.getAttribute("data-alt"),l.hasAttribute("data-title")&&(b.title=l.getAttribute("data-title")),l.hasAttribute("data-aria-hidden")&&b.setAttribute("aria-hidden","true"),b.src=f.getAttribute("data-src"));-1===b.src.indexOf(f.getAttribute("data-src"))&&(b.src=f.getAttribute("data-src"));"true"===q&&(l=b.offsetHeight,b.setAttribute("width",b.offsetWidth),b.setAttribute("height",l));"true"===r&&b.setAttribute("loading","lazy");l=f.parentElement.firstElementChild.value;b.src.includes("scene7.com")&&
7l&&b.setAttribute("data-original-path",l);b.onerror=m();f.appendChild(b)}else b&&b.parentNode.removeChild(b)}d=d.filter(g);a=0;for(h=d.length;a<h;a++)b=$(d[a]).children("span[data-picture-sources]"),b.length&&(p=d[a],b=$(b[0]).children("span"),f=k(b),b=$(p).find(".intrinsic-element"),f.length&&(f=f.pop(),$(f).is("[data-intrinsic]")?(b.css("background-image",'url("'+$(f).attr("data-src")+'")'),$(p).css("background-image","")):($(p).css("background-image",'url("'+$(f).attr("data-src")+'")'),b.css("background-image",
8""))));e=e.filter(g);for(g=0;g<e.length;g++)if(a=$(e[g]).find("span[data-picture-sources]"),a.length&&(d=e[g],a=$(a[0]).children("span"),a=k(a),h=a.length))a=$(a[h-1]).attr("data-src"),$(d).find("div[data-video-container]").css("background-image","url("+a+")")};gPicFill.p=c.picturefill;c.addEventListener?(c.addEventListener("resize",c.picturefill,!1),c.addEventListener("DOMContentLoaded",function(){c.picturefill()},!1),c.addEventListener("intel:picturefill",c.picturefill,!1)):c.attachEvent&&c.attachEvent("onload",
9c.picturefill)})(this);

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.