window.Modernizr=function(n,t,i){function a(n){s.cssText=n}function ut(n,t){return a(d.join(n+";")+(t||""))}function u(n,t){return typeof n===t}function p(n,t){return!!~(""+n).indexOf(t)}function w(n,t){var u,r;for(u in n)if(r=n[u],!p(r,"-")&&s[r]!==i)return t=="pfx"?r:!0;return!1}function ft(n,t,r){var e,f;for(e in n)if(f=t[n[e]],f!==i)return r===!1?n[e]:u(f,"function")?f.bind(r||t):f;return!1}function b(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),f=(n+" "+nt.join(r+" ")+r).split(" ");return u(t,"string")||u(t,"undefined")?w(f,t):(f=(n+" "+tt.join(r+" ")+r).split(" "),ft(f,t,i))}var et="2.8.3",r={},e=t.documentElement,o="modernizr",k=t.createElement(o),s=k.style,ot,ht={}.toString,d=" -webkit- -moz- -o- -ms- ".split(" "),g="Webkit Moz O ms",nt=g.split(" "),tt=g.toLowerCase().split(" "),f={},ct={},lt={},it=[],v=it.slice,h,rt=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:o+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',o,'">',n,"<\/style>"].join(""),f.id=o,(h?f:s).innerHTML+=l,s.appendChild(f),h||(s.style.background="",s.style.overflow="hidden",v=e.style.overflow,e.style.overflow="hidden",e.appendChild(s)),a=i(f,n),h?f.parentNode.removeChild(f):(s.parentNode.removeChild(s),e.style.overflow=v),!!a},st=function(){function n(n,f){f=f||t.createElement(r[n]||"div"),n="on"+n;var e=n in f;return e||(f.setAttribute||(f=t.createElement("div")),f.setAttribute&&f.removeAttribute&&(f.setAttribute(n,""),e=u(f[n],"function"),u(f[n],"undefined")||(f[n]=i),f.removeAttribute(n))),f=null,e}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return n}(),y={}.hasOwnProperty,c,l;c=!u(y,"undefined")&&!u(y.call,"undefined")?function(n,t){return y.call(n,t)}:function(n,t){return t in n&&u(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=v.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(v.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(v.call(arguments)))},r}),f.history=function(){return!!n.history&&!!history.pushState},f.rgba=function(){return a("background-color:rgba(150,255,150,.5)"),p(s.backgroundColor,"rgba")},f.borderradius=function(){return b("borderRadius")},f.opacity=function(){return ut("opacity:.55"),/^0.55$/.test(s.opacity)},f.fontface=function(){var n;return rt('@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};for(l in f)c(f,l)&&(h=l.toLowerCase(),r[h]=f[l](),it.push((r[h]?"":"no-")+h));return r.addTest=function(n,t){if(typeof n=="object")for(var u in n)c(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t,typeof enableClasses!="undefined"&&enableClasses&&(e.className+=" "+(t?"":"no-")+n),r[n]=t}return r},a(""),k=ot=null,r._version=et,r._prefixes=d,r._domPrefixes=tt,r._cssomPrefixes=nt,r.hasEvent=st,r.testProp=function(n){return w([n])},r.testAllProps=b,r.testStyles=rt,r}(this,this.document),Modernizr.addTest("cookies",function(){if(navigator.cookieEnabled)return!0;document.cookie="cookietest=1";var n=document.cookie.indexOf("cookietest=")!=-1;return document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",n}),Modernizr.addTest("json",!!window.JSON&&!!JSON.parse)