window.Modernizr=function(n,t,i){function d(n){tt.cssText=n}function o(n,t){return typeof n===t}function st(n,t){return!!~(""+n).indexOf(t)}function g(n,t){var u,r;for(u in n)if(r=n[u],!st(r,"-")&&tt[r]!==i)return t=="pfx"?r:!0;return!1}function ht(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:o(u,"function")?u.bind(r||t):u;return!1}function s(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ft.join(r+" ")+r).split(" ");return o(t,"string")||o(t,"undefined")?g(u,t):(u=(n+" "+et.join(r+" ")+r).split(" "),ht(u,t,i))}function ct(){r.input=function(i){for(var r=0,f=i.length;r<f;r++)c[i[r]]=i[r]in u;return c.list&&(c.list=!!t.createElement("datalist")&&!!n.HTMLDataListElement),c}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));r.inputtypes=function(n){for(var e=0,r,o,s,h=n.length;e<h;e++)u.setAttribute("type",o=n[e]),r=u.type!=="text",r&&(u.value=it,u.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&u.style.WebkitAppearance!==i?(f.appendChild(u),s=t.defaultView,r=s.getComputedStyle&&s.getComputedStyle(u,null).WebkitAppearance!=="textfield"&&u.offsetHeight!==0,f.removeChild(u)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?u.checkValidity&&u.checkValidity()===!1:u.value!=it)),ot[n[e]]=!!r;return ot}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var r={},y=!0,f=t.documentElement,h="modernizr",nt=t.createElement(h),tt=nt.style,u=t.createElement("input"),it=":)",at={}.toString,rt=" -webkit- -moz- -o- -ms- ".split(" "),ut="Webkit Moz O ms",ft=ut.split(" "),et=ut.toLowerCase().split(" "),e={},ot={},c={},p=[],w=p.slice,l,a=function(n,i,r,u){var l,a,c,v,e=t.createElement("div"),s=t.body,o=s||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:h+(r+1),e.appendChild(c);return l=["&#173;",'<style id="s',h,'">',n,"<\/style>"].join(""),e.id=h,(s?e:o).innerHTML+=l,o.appendChild(e),s||(o.style.background="",o.style.overflow="hidden",v=f.style.overflow,f.style.overflow="hidden",f.appendChild(o)),a=i(e,n),s?e.parentNode.removeChild(e):(o.parentNode.removeChild(o),f.style.overflow=v),!!a},lt=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t)&&i(t).matches||!1:(a("@media "+t+" { #"+h+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},b={}.hasOwnProperty,k,v;k=!o(b,"undefined")&&!o(b.call,"undefined")?function(n,t){return b.call(n,t)}:function(n,t){return t in n&&o(n.constructor.prototype[t],"undefined")};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});e.csstransforms3d=function(){var n=!!s("perspective");return n&&"webkitPerspective"in f.style&&a("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};e.csstransitions=function(){return s("transition")};e.fontface=function(){var n;return a('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&e.indexOf(r.split(" ")[0])===0}),n};e.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};for(v in e)k(e,v)&&(l=v.toLowerCase(),r[l]=e[v](),p.push((r[l]?"":"no-")+l));return r.input||ct(),r.addTest=function(n,t){if(typeof n=="object")for(var u in n)k(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof y!="undefined"&&y&&(f.className+=" "+(t?"":"no-")+n);r[n]=t}return r},d(""),nt=u=null,r._version="2.8.3",r._prefixes=rt,r._domPrefixes=et,r._cssomPrefixes=ft,r.mq=lt,r.testProp=function(n){return g([n])},r.testAllProps=s,r.testStyles=a,r.prefixed=function(n,t,i){return t?s(n,t,i):s(n,"pfx")},f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(y?" js "+p.join(" "):""),r}(this,this.document)