/* modernizr 2.6.2 (custom build) | mit & bsd * build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load */window.modernizr=function(e,t,n){function a(e){f.csstext=e}function o(e,t){return a(p.join(e+";")+(t||""))}function m(e,t){return typeof e===t}function _(e,t){return!!~(""+e).indexof(t)}function d(e,t){for(var r in e){var i=e[r];if(!_(i,"-")&&f[i]!==n)return t=="pfx"?i:!0}return!1}function p(e,t,r){for(var i in e){var s=t[e[i]];if(s!==n)return r===!1?e[i]:m(s,"function")?s.bind(r||t):s}return!1}function h(e,t,n){var r=e.charat(0).touppercase()+e.slice(1),i=(e+" "+v.join(r+" ")+r).split(" ");if(m(t,"string")||m(t,"undefined"))return d(i,t);i=(e+" "+m.join(r+" ")+r).split(" ");return p(i,t,n)}function b(){i.input=function(n){for(var r=0,i=n.length;r',e,""].join("");c.id=u;(h?c:p).innerhtml+=s;p.appendchild(c);if(!h){p.style.background="";p.style.overflow="hidden";l=o.style.overflow;o.style.overflow="hidden";o.appendchild(p)}a=n(c,e);if(!h){p.parentnode.removechild(p);o.style.overflow=l}else c.parentnode.removechild(c);return!!a},n=function(t){var n=e.matchmedia||e.msmatchmedia;if(n)return n(t).matches;var r;t("@media "+t+" { #"+u+" { position: absolute; } }",function(t){r=(e.getcomputedstyle?getcomputedstyle(t,null):t.currentstyle)["position"]=="absolute"});return r},c=function(){function r(r,i){i=i||t.createelement(e[r]||"div");r="on"+r;var s=r in i;if(!s){i.setattribute||(i=t.createelement("div"));if(i.setattribute&&i.removeattribute){i.setattribute(r,"");s=m(i[r],"function");m(i[r],"undefined")||(i[r]=n);i.removeattribute(r)}}i=null;return s}var e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),k={}.hasownproperty,l;!m(k,"undefined")&&!m(k.call,"undefined")?l=function(e,t){return k.call(e,t)}:l=function(e,t){return t in e&&m(e.constructor.prototype[t],"undefined")};function.prototype.bind||(function.prototype.bind=function(t){var n=this;if(typeof n!="function")throw new typeerror;var r=s.call(arguments,1),i=function(){if(this instanceof i){var e=function(){};e.prototype=n.prototype;var s=new e,o=n.apply(s,r.concat(s.call(arguments)));return object(o)===o?o:s}return n.apply(t,r.concat(s.call(arguments)))};return i});y.flexbox=function(){return h("flexwrap")};y.canvas=function(){var e=t.createelement("canvas");return!!e.getcontext&&!!e.getcontext("2d")};y.canvastext=function(){return!!i.canvas&&!!m(t.createelement("canvas").getcontext("2d").filltext,"function")};y.webgl=function(){return!!e.webglrenderingcontext};y.touch=function(){var n;"ontouchstart"in e||e.documenttouch&&t instanceof documenttouch?n=!0:t(["@media (",p.join("touch-enabled),("),u,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=e.offsettop===9});return n};y.geolocation=function(){return"geolocation"in navigator};y.postmessage=function(){return!!e.postmessage};y.websqldatabase=function(){return!!e.opendatabase};y.indexeddb=function(){return!!h("indexeddb",e)};y.hashchange=function(){return c("hashchange",e)&&(t.documentmode===n||t.documentmode>7)};y.history=function(){return!!e.history&&!!history.pushstate};y.draganddrop=function(){var e=t.createelement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e};y.websockets=function(){return"websocket"in e||"mozwebsocket"in e};y.rgba=function(){a("background-color:rgba(150,255,150,.5)");return _(f.backgroundcolor,"rgba")};y.hsla=function(){a("background-color:hsla(120,40%,100%,.5)");return _(f.backgroundcolor,"rgba")||_(f.backgroundcolor,"hsla")};y.multiplebgs=function(){a("background:url(https://),url(https://),red url(https://)");return/(url\s*\(.*?){3}/.test(f.background)};y.backgroundsize=function(){return h("backgroundsize")};y.borderimage=function(){return h("borderimage")};y.borderradius=function(){return h("borderradius")};y.boxshadow=function(){return h("boxshadow")};y.textshadow=function(){return t.createelement("div").style.textshadow===""};y.opacity=function(){o("opacity:.55");return/^0.55$/.test(f.opacity)};y.cssanimations=function(){return h("animationname")};y.csscolumns=function(){return h("columncount")};y.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";a((e+"-webkit- ".split(" ").join(t+e)+p.join(n+e)).slice(0,-e.length));return _(f.backgroundimage,"gradient")};y.cssreflections=function(){return h("boxreflect")};y.csstransforms=function(){return!!h("transform")};y.csstransforms3d=function(){var e=!!h("perspective");e&&"webkitperspective"in o.style&&t("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t,n){e=t.offsetleft===9&&t.offsetheight===3});return e};y.csstransitions=function(){return h("transition")};y.fontface=function(){var e;t('@font-face {font-family:"font";src:url("https://")}',function(n,r){var i=t.getelementbyid("smodernizr"),s=i.sheet||i.stylesheet,o=s?s.cssrules&&s.cssrules[0]?s.cssrules[0].csstext:s.csstext||"":"";e=/src/i.test(o)&&o.indexof(r.split(" ")[0])===0});return e};y.generatedcontent=function(){var e;t(["#",u,"{font:0/0 a}#",u,':after{content:"',c,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetheight>=3});return e};y.video=function(){var e=t.createelement("video"),n=!1;try{if(n=!!e.canplaytype){n=new boolean(n);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(r){}return n};y.audio=function(){var e=t.createelement("audio"),n=!1;try{if(n=!!e.canplaytype){n=new boolean(n);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(r){}return n};y.localstorage=function(){try{localstorage.setitem(u,u);localstorage.removeitem(u);return!0}catch(e){return!1}};y.sessionstorage=function(){try{sessionstorage.setitem(u,u);sessionstorage.removeitem(u);return!0}catch(e){return!1}};y.webworkers=function(){return!!e.worker};y.applicationcache=function(){return!!e.applicationcache};y.svg=function(){return!!t.createelementns&&!!t.createelementns(g.svg,"svg").createsvgrect};y.inlinesvg=function(){var e=t.createelement("div");e.innerhtml="";return(e.firstchild&&e.firstchild.namespaceuri)==g.svg};y.smil=function(){return!!t.createelementns&&/svganimate/.test(h.call(t.createelementns(g.svg,"animate")))};y.svgclippaths=function(){return!!t.createelementns&&/svgclippath/.test(h.call(t.createelementns(g.svg,"clippath")))};for(var j in y)if(l(y,j)){x=j.tolowercase();i[x]=y[j]();e.push((i[x]?"":"no-")+x)}i.input||b();i.addtest=function(e,t){if(typeof e=="object")for(var r in e)l(e,r)&&i.addtest(r,e[r]);else{e=e.tolowercase();if(i[e]!==n)return i;t=typeof t=="function"?t():t;typeof s!="undefined"&&s&&(o.classname+=" "+(t?"":"no-")+e);i[e]=t}return i};a("");a=l=null;i._version=r;i._prefixes=p;i._domprefixes=m;i._cssomprefixes=v;i.mq=n;i.hasevent=c;i.testprop=function(e){return d([e])};i.testallprops=h;i.teststyles=t;i.prefixed=function(e,t,n){return t?h(e,t,n):h(e,"pfx")};o.classname=o.classname.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(s?" js "+e.join(" "):"");return i}(this,this.document);(function(e,t,n){function r(e){return"[object function]"==d.call(e)}function i(e){return"string"==typeof e}function s(){}function o(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function u(){var e=v.shift();m=1,e?e.t?h(function(){("c"==e.t?k.injectcss:k.injectjs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),u()):m=0}function a(e,n,r,i,s,a,f){function l(t){if(!d&&o(c.readystate)&&(w.r=d=1,!m&&u(),c.onload=c.onreadystatechange=null,t)){"img"!=e&&h(function(){b.removechild(c)},50);for(var r in t[n])t[n].hasownproperty(r)&&t[n][r].onload()}}var f=f||k.errortimeout,c=t.createelement(e),d=0,g=0,w={t:r,s:n,e:s,a:a,x:f};1===t[n]&&(g=1,t[n]=[]),"object"==e?c.data=n:(c.src=n,c.type=e),c.width=c.height="0",c.onerror=c.onload=c.onreadystatechange=function(){l.call(this,g)},v.splice(i,0,w),"img"!=e&&(g||2===t[n]?(b.insertbefore(c,y?null:p),h(l,f)):t[n].push(c))}function f(e,t,n,r,s){return m=0,t=t||"j",i(e)?a("c"==t?e:w,e,t,this.i++,n,r,s):(v.splice(this.i++,0,e),1==v.length&&u()),this}function l(){var e=k;return e.loader={load:f,i:0},e}var c=t.documentelement,h=e.settimeout,p=t.getelementsbytagname("script")[0],d={}.tostring,v=[],m=0,g="mozappearance"in c.style,y=g&&!!t.createrange().comparenode,b=y?c:p.parentnode,c=e.opera&&"[object opera]"==d.call(e.opera),c=!!t.attachevent&&!c,w=g?"object":c?"script":"img",e=c?"script":w,s=array.isarray||function(e){return"[object array]"==d.call(e)},x=[],t={},n={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},c,k;k=function(e){function t(e){var e=e.split("!"),t=x.length,n=e.pop(),r=e.length,n={url:n,origurl:n,prefixes:e},i,s,o;for(s=0;s