modernizr=function(n,t,i){function a(n){csstext=n}function vt(n,t){return a(join(n+";")+(t||""))}function h(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function lt(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function yt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?bind(r||t):u;return!1}function f(n,t,i){var r=charat(0).toUpperCase()+slice(1),u=(n+" "+join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?lt(u,t):(u=(n+" "+join(r+" ")+r).split(" "),yt(u,t,i))}function pt(){input=function(i){for(var r=0,u=length;r',n,"<\/style>"].join(""),id=e,(h?f:o).innerHTML+=l,appendchild(f),h||(background="",overflow="hidden",v=overflow,overflow="hidden",appendchild(o)),a=i(f,n),h?removechild(f):(removechild(o),overflow=v),!!a},at=function(t){var i=matchmedia||msmatchmedia,r;return i?i(t).matches:(l("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(getcomputedstyle?getComputedStyle(t,null):currentstyle).position=="absolute"}),r)},ct=function(){function r(r,u){u=u||createelement(n[r]||"div");r="on"+r;var f=r in u;return f||(setattribute||(u=createelement("div")),setattribute&&removeattribute&&(setattribute(r,""),f=h(u[r],"function"),h(u[r],"undefined")||(u[r]=i),removeattribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),it={}.hasOwnProperty,rt,k;rt=h(it,"undefined")||h(call,"undefined")?function(n,t){return t in n&&h(prototype[t],"undefined")}:function(n,t){return call(n,t)};bind||(bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},prototype=prototype,e=new f,u=apply(e,concat(call(arguments))),Object(u)===u)?u:e:apply(n,concat(call(arguments)))},r});flexbox=function(){return f("flexWrap")};flexboxlegacy=function(){return f("boxDirection")};canvas=function(){var n=createelement("canvas");return!!(getcontext&&getcontext("2d"))};canvastext=function(){return!!(canvas&&h(createelement("canvas").getContext("2d").fillText,"function"))};webgl=function(){return!!webglrenderingcontext};touch=function(){var i;return"ontouchstart"in n||documenttouch&&t instanceof DocumentTouch?i=!0:l(["@media (",join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=offsettop===9}),i};geolocation=function(){return"geolocation"in navigator};postmessage=function(){return!!postmessage};websqldatabase=function(){return!!opendatabase};indexeddb=function(){return!!f("indexedDB",n)};hashchange=function(){return ct("hashchange",n)&&(documentmode===i||documentmode>7)};history=function(){return!!(history&&pushstate)};draganddrop=function(){var n=createelement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n};websockets=function(){return"WebSocket"in n||"MozWebSocket"in n};rgba=function(){return a("background-color:rgba(150,255,150,.5)"),v(backgroundcolor,"rgba")};hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),v(backgroundcolor,"rgba")||v(backgroundcolor,"hsla")};multiplebgs=function(){return a("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(background)};backgroundsize=function(){return f("backgroundSize")};borderimage=function(){return f("borderImage")};borderradius=function(){return f("borderRadius")};boxshadow=function(){return f("boxShadow")};textshadow=function(){return createelement("div")textshadow===""};opacity=function(){return vt("opacity:.55"),/^0.55$/.test(opacity)};cssanimations=function(){return f("animationName")};csscolumns=function(){return f("columnCount")};cssgradients=function(){var n="background-image:";return a((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+join("linear-gradient(left top,#9f9, white);"+n)).slice(0,length)),v(backgroundimage,"gradient")};cssreflections=function(){return f("boxReflect")};csstransforms=function(){return!!f("transform")};csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in style&&l("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=offsetleft===9&&offsetheight===3}),n};csstransitions=function(){return f("transition")};fontface=function(){var n;return l('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=getelementbyid("smodernizr"),u=sheet||stylesheet,e=u?cssrules&&cssrules[0]?cssrules[0].cssText:csstext||"":"";n=/src/test(e)&&indexof(split(" ")[0])===0}),n};generatedcontent=function(){var n;return l(["#",e,"{font:0/0 a}#",e,':after{content:"',g,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=offsetheight>=3}),n};video=function(){var i=createelement("video"),n=!1;try{(n=!!canplaytype)&&(n=new Boolean(n),ogg=canplaytype('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=canplaytype('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),webm=canplaytype('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n};audio=function(){var i=createelement("audio"),n=!1;try{(n=!!canplaytype)&&(n=new Boolean(n),ogg=canplaytype('audio/ogg; codecs="vorbis"').replace(/^no$/,""),mp3=canplaytype("audio/mpeg;").replace(/^no$/,""),wav=canplaytype('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(canplaytype("audio/x-m4a;")||canplaytype("audio/aac;")).replace(/^no$/,""))}catch(r){}return n};localstorage=function(){try{return setitem(e,e),removeitem(e),!0}catch(n){return!1}};sessionstorage=function(){try{return setitem(e,e),removeitem(e),!0}catch(n){return!1}};webworkers=function(){return!!worker};applicationcache=function(){return!!applicationcache};svg=function(){return!!createelementns&&!!createelementns(svg,"svg").createSVGRect};inlinesvg=function(){var n=createelement("div");return innerhtml="",(firstchild&&namespaceuri)==svg};smil=function(){return!!createelementns&&/SVGAnimate/.test(call(createelementns(svg,"animate")))};svgclippaths=function(){return!!createelementns&&/SVGClipPath/.test(call(createelementns(svg,"clipPath")))};for(k in r)rt(r,k)&&(b=tolowercase(),u[b]=r[k](),push((u[b]?"":"no-")+b));return input||pt(),addtest=function(n,t){if(typeof n=="object")for(var r in n)rt(n,r)&&addtest(r,n[r]);else{if(n=tolowercase(),u[n]!==i)return u;t=typeof t=="function"?t():t;typeof d!="undefined"&&d&&(classname+=" "+(t?"":"no-")+n);u[n]=t}return u},a(""),ut=o=null,function(n,t){function p(n,t){var i=createelement("p"),r=getelementsbytagname("head")[0]||documentelement;return innerhtml="x