;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(" ");return m(t,"string")||m(t,"undefined")?d(i,t):(i=(e+" "+m.join(r+" ")+r).split(" "),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),h||(p.style.background="",p.style.overflow="hidden",l=o.style.overflow,o.style.overflow="hidden",o.appendchild(p)),a=n(c,e),h?c.parentnode.removechild(c):(p.parentnode.removechild(p),o.style.overflow=l),!!a},n=function(t){var n=e.matchmedia||e.msmatchmedia;if(n)return n(t)&&n(t).matches||!1;var r;return t("@media "+t+" { #"+u+" { position: absolute; } }",function(t){r=(e.getcomputedstyle?getcomputedstyle(t,null):t.currentstyle)["position"]=="absolute"}),r},c=function(){function r(r,i){i=i||t.createelement(e[r]||"div"),r="on"+r;var s=r in i;return s||(i.setattribute||(i=t.createelement("div")),i.setattribute&&i.removeattribute&&(i.setattribute(r,""),s=m(i[r],"function"),m(i[r],"undefined")||(i[r]=n),i.removeattribute(r))),i=null,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;return"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}),n},y.geolocation=function(){return"geolocation"in navigator},y.postmessage=function(){return!!e.postmessage},y.websqldatabase=function(){return!!e.opendatabase},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(){return a("background-color:rgba(150,255,150,.5)"),_(f.backgroundcolor,"rgba")},y.hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),_(f.backgroundcolor,"rgba")||_(f.backgroundcolor,"hsla")},y.multiplebgs=function(){return a("background:url(https://),url(https://),red url(https://)"),/(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(){return o("opacity:.55"),/^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);";return a((e+"-webkit- ".split(" ").join(t+e)+p.join(n+e)).slice(0,-e.length)),_(f.backgroundimage,"gradient")},y.cssreflections=function(){return h("boxreflect")},y.csstransforms=function(){return!!h("transform")},y.csstransforms3d=function(){var e=!!h("perspective");return 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}),e},y.csstransitions=function(){return h("transition")},y.fontface=function(){var e;return 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}),e},y.generatedcontent=function(){var e;return t(["#",u,"{font:0/0 a}#",u,':after{content:"',c,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetheight>=3}),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{return localstorage.setitem(u,u),localstorage.removeitem(u),!0}catch(e){return!1}},y.sessionstorage=function(){try{return sessionstorage.setitem(u,u),sessionstorage.removeitem(u),!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");return e.innerhtml="",(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)l(y,j)&&(x=j.tolowercase(),i[x]=y[j](),e.push((i[x]?"":"no-")+x));return 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,function(e,t){function c(e,t){var n=e.createelement("p"),r=e.getelementsbytagname("head")[0]||e.documentelement;return n.innerhtml="x",r.insertbefore(n.lastchild,r.firstchild)}function h(){var e=y.elements;return typeof e=="string"?e.split(" "):e}function p(e){var t=f[e[u]];return t||(t={},a++,e[u]=a,f[a]=t),t}function d(e,n,r){n||(n=t);if(l)return n.createelement(e);r||(r=p(n));var o;return r.cache[e]?o=r.cache[e].clonenode():s.test(e)?o=(r.cache[e]=r.createelem(e)).clonenode():o=r.createelem(e),o.canhavechildren&&!i.test(e)&&!o.tagurn?r.frag.appendchild(o):o}function v(e,n){e||(e=t);if(l)return e.createdocumentfragment();n=n||p(e);var r=n.frag.clonenode(),i=0,s=h(),o=s.length;for(;i",o="hidden"in e,l=e.childnodes.length==1||function(){t.createelement("a");var e=t.createdocumentfragment();return typeof e.clonenode=="undefined"||typeof e.createdocumentfragment=="undefined"||typeof e.createelement=="undefined"}()}catch(n){o=!0,l=!0}})();var y={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:n,shivcss:r.shivcss!==!1,supportsunknownelements:l,shivmethods:r.shivmethods!==!1,type:"default",shivdocument:g,createelement:d,createdocumentfragment:v};e.html5=y,g(t)}(this,t),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(" "):""),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