1 line
8 KiB
JavaScript
1 line
8 KiB
JavaScript
|
!function(e,i,f,d){var s=[],t={_version:"3.11.8",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){s.push({name:e,fn:t,options:n})},addAsyncTest:function(e){s.push({name:null,fn:e})}},l=function(){};l.prototype=t,l=new l;var c=[];function p(e,t){return typeof e===t}var m=f.documentElement,h="svg"===m.nodeName.toLowerCase();function a(e){var t=m.className,n=l._config.classPrefix||"";if(h&&(t=t.baseVal),l._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}l._config.enableClasses&&(0<e.length&&(t+=" "+n+e.join(" "+n)),h?m.className.baseVal=t:m.className=t)}function g(e){return"function"!=typeof f.createElement?f.createElement(e):h?f.createElementNS.call(f,"http://www.w3.org/2000/svg",e):f.createElement.apply(f,arguments)}h||function(e,a){var n,s,t=e.html5||{},o=/^<|^(?: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,r="_html5shiv",l=0,c={};function u(){var e=m.elements;return"string"==typeof e?e.split(" "):e}function f(e){var t=c[e[r]];return t||(t={},l++,e[r]=l,c[l]=t),t}function d(e,t,n){return t||(t=a),s?t.createElement(e):(n||(n=f(t)),!(r=n.cache[e]?n.cache[e].cloneNode():i.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||o.test(e)||r.tagUrn?r:n.frag.appendChild(r));var r}function p(e){e||(e=a);var t=f(e);return!m.shivCSS||n||t.hasCSS||(t.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}")),s||function(t,n){n.cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return m.shivMethods?d(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(m,n.frag)}(e,t),e}!function(){try{var e=a.createElement("a");e.innerHTML="<xyz></xyz>",n="hidden"in e,s=1==e.childNodes.length||function(){a.createElement("a");var e=a.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){s=n=!0}}();var m={elements:t.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==t.shivCSS,supportsUnknownElements:s,shivMethods:!1!==t.shivMethods,type:"default",shivDocument:p,createElement:d,createDocumentFragment:function(e,t){if(e||(e=a),s)return e.createDocumentFragment();for(var n=(t=t||f(e)).frag.cloneNode(),r=0,o=u(),i=o.length;r<i;r++)n.createElement(o[r]);return n},addElements:function(e,t){var n=m.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),m.elements=n+" "+e,p(t)}};e.html5=m,p(a),"object"==typeof module&&module.exports&&(module.exports=m)}(void 0!==i?i:this,f),l.addTest("canvas",function(){var e=g("canvas");return!(!e.getContext||!e.getContext("2d"))});var n="Moz O ms Webkit",u=t._config.usePrefixes?n.split(" "):[];t._cssomPrefixes=u;var r={elem:g("modernizr")};l._q.push(function(){delete r.elem});var v={style:r.elem.style};function o(e,t,n,r){var o,i,a,s,l="modernizr",c=g("div"),u=function(){var e=f.body;return e||((e=g(h?"svg":"body")).fake=!0),e}();if(parseInt(n,10))for(;n--;)(a=g("div")).id=r?r[n]:l+(n+1),c.appendChild(a);return(o=g("style")).type="text/css",o.id="s"+l,(u.fake?u:c).appendChild(o),u.appendChild(c),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(f.createTextNode(e)),c.id=l,u.fa
|