window.Modernizr=function(n,t,i){function ut(n){ft.cssText=n}function s(n,t){return typeof n===t}function ct(){r.input=function(i){for(var r=0,u=i.length;r',n,"<\/style>"].join(""),f.id=e,(h?f:s).innerHTML+=l,s.appendChild(f),h||(s.style.background="",s.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(s)),a=i(f,n),h?f.parentNode.removeChild(f):(s.parentNode.removeChild(s),o.style.overflow=v),!!a},ht=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t).matches:(b("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},rt=function(){function r(r,u){u=u||t.createElement(n[r]||"div"),r="on"+r;var f=r in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=s(u[r],"function"),s(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),k={}.hasOwnProperty,d,l;d=s(k,"undefined")||s(k.call,"undefined")?function(n,t){return t in n&&s(n.constructor.prototype[t],"undefined")}:function(n,t){return k.call(n,t)},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=w.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(w.call(arguments))),Object(u)===u)?u:e:t.apply(n,i.concat(w.call(arguments)))},r}),u.canvas=function(){var n=t.createElement("canvas");return!!(n.getContext&&n.getContext("2d"))},u.canvastext=function(){return!!(r.canvas&&s(t.createElement("canvas").getContext("2d").fillText,"function"))},u.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:b(["@media (",v.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i},u.geolocation=function(){return"geolocation"in navigator},u.postmessage=function(){return!!n.postMessage},u.hashchange=function(){return rt("hashchange",n)&&(t.documentMode===i||t.documentMode>7)},u.history=function(){return!!(n.history&&history.pushState)},u.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n},u.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},u.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},u.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}},u.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}},u.applicationcache=function(){return!!n.applicationCache},u.svg=function(){return!!t.createElementNS&&!!t.createElementNS(y.svg,"svg").createSVGRect},u.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="",(n.firstChild&&n.firstChild.namespaceURI)==y.svg},u.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(et.call(t.createElementNS(y.svg,"clipPath")))};for(l in u)d(u,l)&&(c=l.toLowerCase(),r[c]=u[l](),p.push((r[c]?"":"no-")+c));return r.input||ct(),r.addTest=function(n,t){if(typeof n=="object")for(var u in n)d(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t,typeof a!="undefined"&&a&&(o.className+=" "+(t?"":"no-")+n),r[n]=t}return r},ut(""),g=f=null,function(n,t){function p(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x