window.Modernizr=function(g,d,r){function p(a,b){return typeof a===b}function J(a,b){for(var c in a){var f=a[c];if(!~(""+f).indexOf("-")&&j[f]!==r)return"pfx"==b?f:!0}return!1}function k(a,b,c){var f=a.charAt(0).toUpperCase()+a.slice(1),d=(a+" "+K.join(f+" ")+f).split(" ");if(p(b,"string")||p(b,"undefined"))return J(d,b);d=(a+" "+L.join(f+" ")+f).split(" ");a:{a=d;for(var e in a)if(f=b[a[e]],f!==r){if(!1===c){b=a[e];break a}if(p(f,"function")){b=f.bind(c||b);break a}b=f;break a}b=!1}return b}var e=
{},n=d.documentElement,h=d.createElement("modernizr"),j=h.style,h=d.createElement("input"),M={}.toString,w=" -webkit- -moz- -o- -ms- ".split(" "),K=["Webkit","Moz","O","ms"],L=["webkit","moz","o","ms"],c={},s={},q={},y=[],z=y.slice,l,t=function(a,b,c,f){var e,h,g=d.createElement("div"),k=d.body,j=k||d.createElement("body");if(parseInt(c,10))for(;c--;)e=d.createElement("div"),e.id=f?f[c]:"modernizr"+(c+1),g.appendChild(e);c=['"].join("");g.id="modernizr";(k?
g:j).innerHTML+=c;j.appendChild(g);k||(j.style.background="",j.style.overflow="hidden",h=n.style.overflow,n.style.overflow="hidden",n.appendChild(j));a=b(g,a);k?g.parentNode.removeChild(g):(j.parentNode.removeChild(j),n.style.overflow=h);return!!a},A,R={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};A=function(a,b){b=b||d.createElement(R[a]||"div");a="on"+a;var c=a in b;c||(b.setAttribute||(b=d.createElement("div")),b.setAttribute&&b.removeAttribute&&
(b.setAttribute(a,""),c=p(b[a],"function"),p(b[a],"undefined")||(b[a]=r),b.removeAttribute(a)));return c};var B={}.hasOwnProperty,C;C=!p(B,"undefined")&&!p(B.call,"undefined")?function(a,b){return B.call(a,b)}:function(a,b){return b in a&&p(a.constructor.prototype[b],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=z.call(arguments,1),f=function(){if(this instanceof f){var d=function(){};d.prototype=b.prototype;
var d=new d,e=b.apply(d,c.concat(z.call(arguments)));return Object(e)===e?e:d}return b.apply(a,c.concat(z.call(arguments)))};return f});c.flexbox=function(){return k("flexWrap")};c.flexboxlegacy=function(){return k("boxDirection")};c.canvas=function(){var a=d.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))};c.canvastext=function(){return!(!e.canvas||!p(d.createElement("canvas").getContext("2d").fillText,"function"))};c.webgl=function(){return!!g.WebGLRenderingContext};c.touch=
function(){var a;"ontouchstart"in g||g.DocumentTouch&&d instanceof DocumentTouch?a=!0:t(["@media (",w.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(b){a=9===b.offsetTop});return a};c.geolocation=function(){return"geolocation"in navigator};c.postmessage=function(){return!!g.postMessage};c.websqldatabase=function(){return!!g.openDatabase};c.indexedDB=function(){return!!k("indexedDB",g)};c.hashchange=function(){return A("hashchange",g)&&(d.documentMode===
r||7";return"http://www.w3.org/2000/svg"==(a.firstChild&&a.firstChild.namespaceURI)};c.smil=function(){return!!d.createElementNS&&/SVGAnimate/.test(M.call(d.createElementNS("http://www.w3.org/2000/svg","animate")))};c.svgclippaths=function(){return!!d.createElementNS&&/SVGClipPath/.test(M.call(d.createElementNS("http://www.w3.org/2000/svg","clipPath")))};for(var m in c)C(c,m)&&(l=m.toLowerCase(),e[l]=c[m](),y.push((e[l]?"":"no-")+l));if(!e.input){m=
"autocomplete autofocus list placeholder max min multiple pattern required step".split(" ");c=0;for(l=m.length;carticle,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}";c=f.insertBefore(c.lastChild,f.firstChild);b.hasCSS=!!c}if(!u){var e=a;b.cache||(b.cache={},b.createElem=e.createElement,b.createFrag=e.createDocumentFragment,b.frag=b.createFrag());e.createElement=function(a){return!v.shivMethods?b.createElem(a):Q(a,e,b)};e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+
N().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(v,b.frag)}return a},s=this.html5||{},T=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,S=/^(?: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,F,P="_html5shiv",D=0,O={},u;try{var G=d.createElement("a");G.innerHTML="";F="hidden"in G;var H;if(!(H=1==G.childNodes.length)){d.createElement("a");var I=d.createDocumentFragment();
H="undefined"==typeof I.cloneNode||"undefined"==typeof I.createDocumentFragment||"undefined"==typeof I.createElement}u=H}catch(U){u=F=!0}var v={elements:s.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==s.shivCSS,supportsUnknownElements:u,shivMethods:!1!==s.shivMethods,type:"default",shivDocument:h,createElement:Q,createDocumentFragment:function(a,b){a||(a=d);if(u)return a.createDocumentFragment();
b=b||E(a);for(var c=b.frag.cloneNode(),f=0,e=N(),g=e.length;f