Dashboard
PHP:
8.4.22
OS:
Linux
User:
adsvisc
/
/
home
/
adsvisc
/
www
/
wp-content
/
themes
/
seowp
/
javascripts
📤 Upload
📝 New File
📁 New Folder
Close
Editing: custom.modernizr.js
/*! * Modernizr v2.8.3 * www.modernizr.com * * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton * Available under the BSD and MIT licenses: www.modernizr.com/license/ */ window.Modernizr=function(e,t,n){var r,o,a,i={},c=t.documentElement,s="modernizr",u=t.createElement(s),l=u.style,d=t.createElement("input"),f=":)",m={}.toString,p=" -webkit- -moz- -o- -ms- ".split(" "),h="Webkit Moz O ms",g=h.split(" "),v=h.toLowerCase().split(" "),y="http://www.w3.org/2000/svg",b={},E={},x={},w=[],S=w.slice,C=function(e,n,r,o){var a,i,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]:s+(r+1),d.appendChild(u);return a=["­",'<style id="s',s,'">',e,"</style>"].join(""),d.id=s,(f?d:m).innerHTML+=a,m.appendChild(d),f||(m.style.background="",m.style.overflow="hidden",l=c.style.overflow,c.style.overflow="hidden",c.appendChild(m)),i=n(d,e),f?d.parentNode.removeChild(d):(m.parentNode.removeChild(m),c.style.overflow=l),!!i},k=(a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(e,r){r=r||t.createElement(a[e]||"div");var o=(e="on"+e)in r;return o||(r.setAttribute||(r=t.createElement("div")),r.setAttribute&&r.removeAttribute&&(r.setAttribute(e,""),o=M(r[e],"function"),M(r[e],"undefined")||(r[e]=n),r.removeAttribute(e))),r=null,o}),T={}.hasOwnProperty;function N(e){l.cssText=e}function M(e,t){return typeof e===t}function P(e,t){return!!~(""+e).indexOf(t)}function j(e,t){for(var r in e){var o=e[r];if(!P(o,"-")&&l[o]!==n)return"pfx"!=t||o}return!1}function $(e,t,r){var o=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+g.join(o+" ")+o).split(" ");return M(t,"string")||M(t,"undefined")?j(a,t):function(e,t,r){for(var o in e){var a=t[e[o]];if(a!==n)return!1===r?e[o]:M(a,"function")?a.bind(r||t):a}return!1}(a=(e+" "+v.join(o+" ")+o).split(" "),t,r)}for(var D in o=M(T,"undefined")||M(T.call,"undefined")?function(e,t){return t in e&&M(e.constructor.prototype[t],"undefined")}:function(e,t){return T.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=S.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(S.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(S.call(arguments)))};return r}),b.flexbox=function(){return $("flexWrap")},b.flexboxlegacy=function(){return $("boxDirection")},b.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},b.canvastext=function(){return!(!i.canvas||!M(t.createElement("canvas").getContext("2d").fillText,"function"))},b.webgl=function(){return!!e.WebGLRenderingContext},b.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:C(["@media (",p.join("touch-enabled),("),s,")","{#modernizr{top:9px;position:absolute}}"].join(""),(function(e){n=9===e.offsetTop})),n},b.geolocation=function(){return"geolocation"in navigator},b.postmessage=function(){return!!e.postMessage},b.websqldatabase=function(){return!!e.openDatabase},b.indexedDB=function(){return!!$("indexedDB",e)},b.hashchange=function(){return k("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},b.history=function(){return!(!e.history||!history.pushState)},b.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},b.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},b.rgba=function(){return N("background-color:rgba(150,255,150,.5)"),P(l.backgroundColor,"rgba")},b.hsla=function(){return N("background-color:hsla(120,40%,100%,.5)"),P(l.backgroundColor,"rgba")||P(l.backgroundColor,"hsla")},b.multiplebgs=function(){return N("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(l.background)},b.backgroundsize=function(){return $("backgroundSize")},b.borderimage=function(){return $("borderImage")},b.borderradius=function(){return $("borderRadius")},b.boxshadow=function(){return $("boxShadow")},b.textshadow=function(){return""===t.createElement("div").style.textShadow},b.opacity=function(){var e,t;return e="opacity:.55",N(p.join(e+";")+(t||"")),/^0.55$/.test(l.opacity)},b.cssanimations=function(){return $("animationName")},b.csscolumns=function(){return $("columnCount")},b.cssgradients=function(){var e="background-image:";return N((e+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+p.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-e.length)),P(l.backgroundImage,"gradient")},b.cssreflections=function(){return $("boxReflect")},b.csstransforms=function(){return!!$("transform")},b.csstransforms3d=function(){var e=!!$("perspective");return e&&"webkitPerspective"in c.style&&C("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(t,n){e=9===t.offsetLeft&&3===t.offsetHeight})),e},b.csstransitions=function(){return $("transition")},b.fontface=function(){var e;return C('@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},b.generatedcontent=function(){var e;return C(["#",s,"{font:0/0 a}#",s,':after{content:"',f,'";visibility:hidden;font:3px/1 a}'].join(""),(function(t){e=t.offsetHeight>=3})),e},b.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},b.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},b.localstorage=function(){try{return localStorage.setItem(s,s),localStorage.removeItem(s),!0}catch(e){return!1}},b.sessionstorage=function(){try{return sessionStorage.setItem(s,s),sessionStorage.removeItem(s),!0}catch(e){return!1}},b.webworkers=function(){return!!e.Worker},b.applicationcache=function(){return!!e.applicationCache},b.svg=function(){return!!t.createElementNS&&!!t.createElementNS(y,"svg").createSVGRect},b.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==y},b.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(m.call(t.createElementNS(y,"animate")))},b.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(m.call(t.createElementNS(y,"clipPath")))},b)o(b,D)&&(r=D.toLowerCase(),i[r]=b[D](),w.push((i[r]?"":"no-")+r));return i.input||(i.input=function(n){for(var r=0,o=n.length;r<o;r++)x[n[r]]=!!(n[r]in d);return x.list&&(x.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),x}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),i.inputtypes=function(e){for(var r,o,a,i=0,s=e.length;i<s;i++)d.setAttribute("type",o=e[i]),(r="text"!==d.type)&&(d.value=f,d.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&d.style.WebkitAppearance!==n?(c.appendChild(d),r=(a=t.defaultView).getComputedStyle&&"textfield"!==a.getComputedStyle(d,null).WebkitAppearance&&0!==d.offsetHeight,c.removeChild(d)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?d.checkValidity&&!1===d.checkValidity():d.value!=f)),E[e[i]]=!!r;return E}("search tel url email datetime date month week time datetime-local number range color".split(" "))),i.addTest=function(e,t){if("object"==typeof e)for(var r in e)o(e,r)&&i.addTest(r,e[r]);else{if(e=e.toLowerCase(),i[e]!==n)return i;t="function"==typeof t?t():t,c.className+=" "+(t?"":"no-")+e,i[e]=t}return i},N(""),u=d=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{display: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),i._version="2.8.3",i._prefixes=p,i._domPrefixes=v,i._cssomPrefixes=g,i.mq=function(t){var n,r=e.matchMedia||e.msMatchMedia;return r?r(t)&&r(t).matches||!1:(C("@media "+t+" { #"+s+" { position: absolute; } }",(function(t){n="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position})),n)},i.hasEvent=k,i.testProp=function(e){return j([e])},i.testAllProps=$,i.testStyles=C,i.prefixed=function(e,t,n){return t?$(e,t,n):$(e,"pfx")},c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+w.join(" "),i}(this,this.document);
Save
Cancel