window.Modernizr=function(n,t,i){function setCss(n){y.cssText=n}function is(n,t){return typeof n===t}function contains(n,t){return!!~(""+n).indexOf(t)}function testProps(n,t){var u,r;for(u in n)if(r=n[u],!contains(r,"-")&&y[r]!==i)return t=="pfx"?r:!0;return!1}function testDOMProps(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:is(u,"function")?u.bind(r||t):u;return!1}function testPropsAll(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+p.join(r+" ")+r).split(" ");return is(t,"string")||is(t,"undefined")?testProps(u,t):(u=(n+" "+w.join(r+" ")+r).split(" "),testDOMProps(u,t,i))}var g="2.6.2",r={},f=t.documentElement,u="modernizr",b=t.createElement(u),y=b.style,nt,tt={}.toString,c=" -webkit- -moz- -o- -ms- ".split(" "),d="Webkit Moz O ms",p=d.split(" "),w=d.toLowerCase().split(" "),e={},it={},rt={},k=[],l=k.slice,o,a=function(n,i,r,e){var l,a,c,v,o=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=e?e[r]:u+(r+1),o.appendChild(c);return l=["­",'"].join(""),o.id=u,(h?o:s).innerHTML+=l,s.appendChild(o),h||(s.style.background="",s.style.overflow="hidden",v=f.style.overflow,f.style.overflow="hidden",f.appendChild(s)),a=i(o,n),h?o.parentNode.removeChild(o):(s.parentNode.removeChild(s),f.style.overflow=v),!!a},v={}.hasOwnProperty,s,h;s=is(v,"undefined")||is(v.call,"undefined")?function(n,t){return t in n&&is(n.constructor.prototype[t],"undefined")}:function(n,t){return v.call(n,t)},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=l.call(arguments,1),r=function(){var e,f,u;return this instanceof r?(e=function(){},e.prototype=t.prototype,f=new e,u=t.apply(f,i.concat(l.call(arguments))),Object(u)===u)?u:f:t.apply(n,i.concat(l.call(arguments)))},r}),e.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:a(["@media (",c.join("touch-enabled),("),u,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i},e.csstransforms3d=function(){var n=!!testPropsAll("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.localstorage=function(){try{return localStorage.setItem(u,u),localStorage.removeItem(u),!0}catch(n){return!1}};for(h in e)s(e,h)&&(o=h.toLowerCase(),r[o]=e[h](),k.push((r[o]?"":"no-")+o));return r.addTest=function(n,t){if(typeof n=="object")for(var u in n)s(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&&(f.className+=" "+(t?"":"no-")+n),r[n]=t}return r},setCss(""),b=nt=null,r._version=g,r._prefixes=c,r._domPrefixes=w,r._cssomPrefixes=p,r.testProp=function(n){return testProps([n])},r.testAllProps=testPropsAll,r.testStyles=a,r}(this,this.document)