1/*! 2 * Plugin for skrollr. 3 * This plugin brings opacity and hsl colors to IE < 9. 4 * 5 * Alexander Prinzhorn - https://github.com/Prinzhorn/skrollr 6 * 7 * Free to use under terms of MIT license 8 */(function(document2,skrollr){"use strict";var rxHSLAColor=/hsla?\(\s*(-?[\d.]+)\s*,\s*(-?[\d.]+)%\s*,\s*(-?[\d.]+)%.*?\)/g,rxRGBAColor=/rgba?\(\s*(-?[\d.]+%?)\s*,\s*(-?[\d.]+%?)\s*,\s*(-?[\d.]+%?).*?\)/g,rxID=/^#[^\s]+$/,_setStyle=skrollr.setStyle;skrollr.setStyle=function(el,prop,val){_setStyle.apply(this,arguments);var style=el.style,matched;if(prop==="opacity"){style.zoom=1,val>=1&&style.removeAttribute?style.removeAttribute("filter"):style.filter="alpha(opacity="+val*100+")";return}if(val.indexOf("hsl")>-1&&(matched=!1,val=val.replace(rxHSLAColor,function(x,h,s,l){return matched=!0,toHex.hsl(parseFloat(h),parseFloat(s),parseFloat(l))}),matched)){try{style[prop]=val}catch(ignore){}return}if(val.indexOf("rgb")>-1&&(matched=!1,val=val.replace(rxRGBAColor,function(s,r,g,b){return matched=!0,r=parseFloat(r,10),g=parseFloat(g,10),b=parseFloat(b,10),s.indexOf("%")>-1&&(r=r/100*255,g=g/100*255,b=b/100*255),toHex.rgb(r|0,g|0,b|0)}),matched)){try{style[prop]=val}catch(ignore){}return}};var toHex={hsl:function(a,b,c,y){return a%=360,a=a/60,c=c/100,b=[c+=b*=(c<.5?c:1-c)/100,c-a%1*b*2,c-=b*=2,c,c+a%1*b,c+b],y=[b[~~a%6],b[(a|16)%6],b[(a|8)%6]],toHex.rgb(parseInt(y[0]*255,10),parseInt(y[1]*255,10),parseInt(y[2]*255,10))},rgb:function(a,b,c){return"#"+((256+a<<8|b)<<8|c).toString(16).slice(1)}};document2.querySelector=document2.querySelector||function(selector){if(!rxID.test(selector))throw'Unsupported selector "'+selector+'". The querySelector polyfill only works for IDs.';return document2.getElementById(selector.substr(1))}})(document,window.skrollr); 9//# sourceMappingURL=/cdn/shop/t/53/assets/skrollr.ie.js.map?v=117806509261595721521761733135
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.