PageSourceSearch

https://jcdecauxna.com/themes/custom/jcd/html/generic/js/modernizr-min.js?tlx2vt

js jcdecauxna.com collected 2026-09-26 01:03:10 UTC 10,910 bytes, 1 lines download raw bytes

1window.Modernizr=function(e,t,n){var r,o,a={},i=t.documentElement,c="modernizr",s=t.createElement(c),u=s.style,l=t.createElement("input"),d=":)",f={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),p="Webkit Moz O ms".split(" "),h="Webkit Moz O ms".toLowerCase().split(" "),g="http://www.w3.org/2000/svg",v={},y={},b={},E=[],x=E.slice,w=function(e,n,r,o){var a,s,u,l,d=t.createElement("div"),f=t.body,m=f||t.createElement("body");if(parseInt(r,10))for(;r--;)(u=t.createElement("div")).id=o?o[r]:c+(r+1),d.appendChild(u);return a=["&#173;",'<style id="s',c,'">',e,"</style>"].join(""),d.id=c,(f?d:m).innerHTML+=a,m.appendChild(d),f||(m.style.background="",m.style.overflow="hidden",l=i.style.overflow,i.style.overflow="hidden",i.appendChild(m)),s=n(d,e),f?d.parentNode.removeChild(d):(m.parentNode.removeChild(m),i.style.overflow=l),!!s},S=function(){var e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(r,o){o=o||t.createElement(e[r]||"div");var a=(r="on"+r)in o;return a||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(r,""),a=T(o[r],"function"),T(o[r],"undefined")||(o[r]=n),o.removeAttribute(r))),o=null,a}}(),C={}.hasOwnProperty;function k(e){u.cssText=e}function T(e,t){return typeof e===t}function M(e,t){return!!~(""+e).indexOf(t)}function N(e,t){for(var r in e){var o=e[r];if(!M(o,"-")&&u[o]!==n)return"pfx"!=t||o}return!1}function P(e,t,r){var o=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+p.join(o+" ")+o).split(" ");return T(t,"string")||T(t,"undefined")?N(a,t):function(e,t,r){for(var o in e){var a=t[e[o]];if(a!==n)return!1===r?e[o]:T(a,"function")?a.bind(r||t):a}return!1}(a=(e+" "+h.join(o+" ")+o).split(" "),t,r)}for(var j in o=T(C,"undefined")||T(C.call,"undefined")?function(e,t){return t in e&&T(e.constructor.prototype[t],"undefined")}:function(e,t){return C.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=x.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var a=new o,i=t.apply(a,n.concat(x.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(x.call(arguments)))};return r}),v.flexbox=function(){return P("flexWrap")},v.flexboxlegacy=function(){return P("boxDirection")},v.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},v.canvastext=function(){return!(!a.canvas||!T(t.createElement("canvas").getContext("2d").fillText,"function"))},v.webgl=function(){return!!e.WebGLRenderingContext},v.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:w(["@media (",m.join("touch-enabled),("),c,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},v.geolocation=function(){return"geolocation"in navigator},v.postmessage=function(){return!!e.postMessage},v.websqldatabase=function(){return!!e.openDatabase},v.indexedDB=function(){return!!P("indexedDB",e)},v.hashchange=function(){return S("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},v.history=function(){return!(!e.history||!history.pushState)},v.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},v.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},v.rgba=function(){return k("background-color:rgba(150,255,150,.5)"),M(u.backgroundColor,"rgba")},v.hsla=function(){return k("background-color:hsla(120,40%,100%,.5)"),M(u.backgroundColor,"rgba")||M(u.backgroundColor,"hsla")},v.multiplebgs=function(){return k("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(u.background)},v.backgroundsize=function(){return P("backgroundSize")},v.borderimage=function(){return P("borderImage")}
1,v.borderradius=function(){return P("borderRadius")},v.boxshadow=function(){return P("boxShadow")},v.textshadow=function(){return""===t.createElement("div").style.textShadow},v.opacity=function(){var e,t;return e="opacity:.55",k(m.join(e+";")+(t||"")),/^0.55$/.test(u.opacity)},v.cssanimations=function(){return P("animationName")},v.csscolumns=function(){return P("columnCount")},v.cssgradients=function(){var e="background-image:";return k((e+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+m.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-e.length)),M(u.backgroundImage,"gradient")},v.cssreflections=function(){return P("boxReflect")},v.csstransforms=function(){return!!P("transform")},v.csstransforms3d=function(){var e=!!P("perspective");return e&&"webkitPerspective"in i.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t,n){e=9===t.offsetLeft&&3===t.offsetHeight}),e},v.csstransitions=function(){return P("transition")},v.fontface=function(){var e;return w('@font-face {font-family:"font";src:url("https://")}',function(n,r){var o=t.getElementById("smodernizr"),a=o.sheet||o.styleSheet,i=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";e=/src/i.test(i)&&0===i.indexOf(r.split(" ")[0])}),e},v.generatedcontent=function(){var e;return w(["#",c,"{font:0/0 a}#",c,':after{content:"',d,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},v.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(e){}return n},v.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return n},v.localstorage=function(){try{return localStorage.setItem(c,c),localStorage.removeItem(c),!0}catch(e){return!1}},v.sessionstorage=function(){try{return sessionStorage.setItem(c,c),sessionStorage.removeItem(c),!0}catch(e){return!1}},v.webworkers=function(){return!!e.Worker},v.applicationcache=function(){return!!e.applicationCache},v.svg=function(){return!!t.createElementNS&&!!t.createElementNS(g,"svg").createSVGRect},v.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==g},v.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(f.call(t.createElementNS(g,"animate")))},v.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(f.call(t.createElementNS(g,"clipPath")))},v)o(v,j)&&(r=j.toLowerCase(),a[r]=v[j](),E.push((a[r]?"":"no-")+r));return a.input||(a.input=function(n){for(var r=0,o=n.length;r<o;r++)b[n[r]]=!!(n[r]in l);return b.list&&(b.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),b}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),a.inputtypes=function(e){for(var r,o,a,c=0,s=e.length;c<s;c++)l.setAttribute("type",o=e[c]),(r="text"!==l.type)&&(l.value=d,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&l.style.WebkitAppearance!==n?(i.appendChild(l),r=(a=t.defaultView).getComputedStyle&&"textfield"!==a.getComputedStyle(l,null).WebkitAppearance&&0!==l.offsetHeight,i.removeChild(l)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?l.checkValidity&&!1===l.checkValidity():l.value!=d)),y[e[c]]=!!r;return y}("search tel url email datetime date month week time datetime-local number range color".split(" "))),a.addTest=function(e,t){if("object"==typeof e)for(var r in e)o(e,r)&&a.addTest(r,e[r]);else{if(e=e.toLowerCase(),a[e]!==n)return a;t="function"==typeof t?t():t,i.className+=" "+(t?"":"no-")+e,a[e]=t}return a},k(""),s=l=null,function(e,t){var n,r,o=e.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,i=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,c="_html5shiv",s=0,u={};function l(){var e=p.elements;return"string"==typeof e?e.split(" "):e}function d(e){var t=u[e[c]];return t||(t={},s++,e[c]=s,u[s]=t),t}function f(e,n,o){return n||(n=t),r?n.createElement(e):(o||(o=d(n)),!(c=o.cache[e]?o.cache[e].cloneNode():i.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||a.test(e)||c.tagUrn?c:o.frag.appendChild(c));var c}function m(e){e||(e=t);var o=d(e);return!p.shivCSS||n||o.hasCSS||(o.hasCSS=!!function(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
1play:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return p.shivMethods?f(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(p,t.frag)}(e,o),e}!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",n="hidden"in e,r=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){n=!0,r=!0}}();var p={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==o.shivCSS,supportsUnknownElements:r,shivMethods:!1!==o.shivMethods,type:"default",shivDocument:m,createElement:f,createDocumentFragment:function(e,n){if(e||(e=t),r)return e.createDocumentFragment();for(var o=(n=n||d(e)).frag.cloneNode(),a=0,i=l(),c=i.length;a<c;a++)o.createElement(i[a]);return o}};e.html5=p,m(t)}(this,t),a._version="2.8.3",a._prefixes=m,a._domPrefixes=h,a._cssomPrefixes=p,a.mq=function(t){var n,r=e.matchMedia||e.msMatchMedia;return r?r(t)&&r(t).matches||!1:(w("@media "+t+" { #"+c+" { position: absolute; } }",function(t){n="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),n)},a.hasEvent=S,a.testProp=function(e){return N([e])},a.testAllProps=P,a.testStyles=w,a.prefixed=function(e,t,n){return t?P(e,t,n):P(e,"pfx")},i.className=i.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+E.join(" "),a}(this,this.document);

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.