window.Modernizr=function(n,t,i){function l(n){c.cssText=n}function wt(n,t){return l(a.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function g(n,t){return!!~(""+n).indexOf(t)}function et(n,t){for(var r in n)if(c[n[r]]!==i)return t=="pfx"?n[r]:!0;return!1}function lt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function e(n,t,i){var r=n.charAt(0).toUpperCase()+n.substr(1),u=(n+" "+b.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?et(u,t):(u=(n+" "+ot.join(r+" ")+r).split(" "),lt(u,t,i))}function at(){u.input=function(i){for(var r=0,u=i.length;r<u;r++)p[i[r]]=i[r]in f;return p.list&&(p.list=!!t.createElement("datalist")&&!!n.HTMLDataListElement),p}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),u.inputtypes=function(n){for(var e=0,r,u,o,h=n.length;e<h;e++)f.setAttribute("type",u=n[e]),r=f.type!=="text",r&&(f.value=k,f.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(u)&&f.style.WebkitAppearance!==i?(s.appendChild(f),o=t.defaultView,r=o.getComputedStyle&&o.getComputedStyle(f,null).WebkitAppearance!=="textfield"&&f.offsetHeight!==0,s.removeChild(f)):/^(search|tel)$/.test(u)||(/^(url|email)$/.test(u)?r=f.checkValidity&&f.checkValidity()===!1:/^color$/.test(u)?(s.appendChild(f),s.offsetWidth,r=f.value!=k,s.removeChild(f)):r=f.value!=k)),ct[n[e]]=!!r;return ct}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var vt="2.5.3",u={},pt=!0,s=t.documentElement,o="modernizr",ft=t.createElement(o),c=ft.style,f=t.createElement("input"),k=":)",ht={}.toString,a=" -webkit- -moz- -o- -ms- ".split(" "),st="Webkit Moz O ms",b=st.split(" "),ot=st.toLowerCase().split(" "),w={svg:"http://www.w3.org/2000/svg"},r={},ct={},p={},rt=[],it=rt.slice,y,tt=function(n,i,r,u){var l,a,c,f=t.createElement("div"),h=t.body,e=h?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>",n,"</style>"].join(""),f.id=o,e.innerHTML+=l,e.appendChild(f),h||(e.style.background="",s.appendChild(e)),a=i(f,n),h?f.parentNode.removeChild(f):e.parentNode.removeChild(e),!!a},yt=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t).matches:(tt("@media "+t+" { #"+o+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},ut=function(){function n(n,u){u=u||t.createElement(r[n]||"div"),n="on"+n;var f=n in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(n,""),f=h(u[n],"function"),h(u[n],"undefined")||(u[n]=i),u.removeAttribute(n))),u=null,f}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return n}(),nt={}.hasOwnProperty,v,bt,d;v=!h(nt,"undefined")&&!h(nt.call,"undefined")?function(n,t){return nt.call(n,t)}:function(n,t){return t in n&&h(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=it.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(it.call(arguments))),Object(u)===u?u:f):t.apply(n,i.concat(it.call(arguments)))},r}),bt=function(i,r){var e=i.join(""),f=r.length;tt(e,function(i,r){for(var o=t.styleSheets[t.styleSheets.length-1],s=o?o.cssRules&&o.cssRules[0]?o.cssRules[0].cssText:o.cssText||"":"",h=i.childNodes,e={};f--;)e[h[f].id]=h[f];u.touch="ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch||(e.touch&&e.touch.offsetTop)===9,u.csstransforms3d=(e.csstransforms3d&&e.csstransforms3d.offsetLeft)===9&&e.csstransforms3d.offsetHeight===3,u.generatedcontent=(e.generatedcontent&&e.generatedcontent.offsetHeight)>=1,u.fontface=/src/i.test(s)&&s.indexOf(r.split(" ")[0])===0},f,r)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",a.join("touch-enabled),("),o,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",a.join("transform-3d),("),o,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join(""),['#generatedcontent:after{content:"',k,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]),r.flexbox=function(){return e("flexOrder")},r.canvas=function(){var n=t.createElement("canvas");return!!n.getContext&&!!n.getContext("2d")},r.canvastext=function(){return!!u.canvas&&!!h(t.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){try{var r=t.createElement("canvas"),u;u=!(!n.WebGLRenderingContext||!r.getContext("experimental-webgl")&&!r.getContext("webgl")),r=i}catch(f){u=!1}return u},r.touch=function(){return u.touch},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!n.postMessage},r.websqldatabase=function(){return!!n.openDatabase},r.indexedDB=function(){return!!e("indexedDB",n)},r.hashchange=function(){return ut("hashchange",n)&&(t.documentMode===i||t.documentMode>7)},r.history=function(){return!!n.history&&!!history.pushState},r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n},r.websockets=function(){for(var t=-1,i=b.length;++t<i;)if(n[b[t]+"WebSocket"])return!0;return"WebSocket"in n},r.rgba=function(){return l("background-color:rgba(150,255,150,.5)"),g(c.backgroundColor,"rgba")},r.hsla=function(){return l("background-color:hsla(120,40%,100%,.5)"),g(c.backgroundColor,"rgba")||g(c.backgroundColor,"hsla")},r.multiplebgs=function(){return l("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(c.background)},r.backgroundsize=function(){return e("backgroundSize")},r.borderimage=function(){return e("borderImage")},r.borderradius=function(){return e("borderRadius")},r.boxshadow=function(){return e("boxShadow")},r.textshadow=function(){return t.createElement("div").style.textShadow===""},r.opacity=function(){return wt("opacity:.55"),/^0.55$/.test(c.opacity)},r.cssanimations=function(){return e("animationName")},r.csscolumns=function(){return e("columnCount")},r.cssgradients=function(){var n="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return l((n+"-webkit- ".split(" ").join(t+n)+a.join(i+n)).slice(0,-n.length)),g(c.backgroundImage,"gradient")},r.cssreflections=function(){return e("boxReflect")},r.csstransforms=function(){return!!e("transform")},r.csstransforms3d=function(){var n=!!e("perspective");return n&&"webkitPerspective"in s.style&&(n=u.csstransforms3d),n},r.csstransitions=function(){return e("transition")},r.fontface=function(){return u.fontface},r.generatedcontent=function(){return u.generatedcontent},r.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},r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},r.localstorage=function(){try{return localStorage.setItem(o,o),localStorage.removeItem(o),!0}catch(n){return!1}},r.sessionstorage=function(){try{return sessionStorage.setItem(o,o),sessionStorage.removeItem(o),!0}catch(n){return!1}},r.webworkers=function(){return!!n.Worker},r.applicationcache=function(){return!!n.applicationCache},r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(w.svg,"svg").createSVGRect},r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==w.svg},r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(ht.call(t.createElementNS(w.svg,"animate")))},r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(ht.call(t.createElementNS(w.svg,"clipPath")))};for(d in r)v(r,d)&&(y=d.toLowerCase(),u[y]=r[d](),rt.push((u[y]?"":"no-")+y));return u.input||at(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)v(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t,s.className+=" "+(t?"":"no-")+n,u[n]=t}return u},l(""),ft=f=null,function(n,t){function o(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"</style>",r.insertBefore(i.lastChild,r.firstChild)}function s(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function h(n){var t={},u=n.createElement,f=n.createDocumentFragment,r=f();n.createElement=function(n){var f=(t[n]||(t[n]=u(n))).cloneNode();return i.shivMethods&&f.canHaveChildren&&!c.test(n)?r.appendChild(f):f},n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/\w+/g,function(n){return t[n]=u(n),r.createElement(n),'c("'+n+'")'})+");return n}")(i,r)}function u(n){var t;return n.documentShived?n:(i.shivCSS&&!f&&(t=!!o(n,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),e||(t=!h(n)),t&&(n.documentShived=t),n)}var r=n.html5||{},c=/^<|^(?:button|form|map|select|textarea)$/i,f,e,i;(function(){var n=t.createElement("a");n.innerHTML="<xyz></xyz>",f="hidden"in n,e=n.childNodes.length==1||function(){try{t.createElement("a")}catch(i){return!0}var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()})(),i={elements:r.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:r.shivCSS!==!1,shivMethods:r.shivMethods!==!1,type:"default",shivDocument:u},n.html5=i,u(t)}(this,t),u._version=vt,u._prefixes=a,u._domPrefixes=ot,u._cssomPrefixes=b,u.mq=yt,u.hasEvent=ut,u.testProp=function(n){return et([n])},u.testAllProps=e,u.testStyles=tt,u.prefixed=function(n,t,i){return t?e(n,t,i):e(n,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(pt?" js "+rt.join(" "):""),u}(this,this.document),function(n,t,i){function h(n){return y.call(n)=="[object Function]"}function c(n){return typeof n=="string"}function v(){}function tt(n){return!n||n=="loaded"||n=="complete"||n=="uninitialized"}function f(){var n=l.shift();a=1,n?n.t?o(function(){(n.t=="c"?u.injectCss:u.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),f()):a=0}function ft(n,i,s,h,c,v,y){function b(t){if(!g&&tt(p.readyState)&&(nt.r=g=1,!a&&f(),p.onload=p.onreadystatechange=null,t)){n!="img"&&o(function(){d.removeChild(p)},50);for(var u in r[i])r[i].hasOwnProperty(u)&&r[i][u].onload()}}var y=y||u.errorTimeout,p={},g=0,w=0,nt={t:s,s:i,e:c,a:v,x:y};r[i]===1&&(w=1,r[i]=[],p=t.createElement(n)),n=="object"?p.data=i:(p.src=i,p.type=n),p.width=p.height="0",p.onerror=p.onload=p.onreadystatechange=function(){b.call(this,w)},l.splice(h,0,nt),n!="img"&&(w||r[i]===2?(d.insertBefore(p,k?null:e),o(b,y)):r[i].push(p))}function ut(n,t,i,r,u){return a=0,t=t||"j",c(n)?ft(t=="c"?et:g,n,t,this.i++,i,r,u):(l.splice(this.i++,0,n),l.length==1&&f()),this}function rt(){var n=u;return n.loader={load:ut,i:0},n}var s=t.documentElement,o=n.setTimeout,e=t.getElementsByTagName("script")[0],y={}.toString,l=[],a=0,b="MozAppearance"in s.style,k=b&&!!t.createRange().compareNode,d=k?s:e.parentNode,s=n.opera&&y.call(n.opera)=="[object Opera]",s=!!t.attachEvent&&!s,g=b?"object":s?"script":"img",et=s?"script":g,nt=Array.isArray||function(n){return y.call(n)=="[object Array]"},p=[],r={},it={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},w,u;u=function(n){function a(n){for(var n=n.split("!"),f=p.length,i=n.pop(),e=n.length,i={url:i,origUrl:i,prefixes:n},u,r,t=0;t<e;t++)r=n[t].split("="),(u=it[r.shift()])&&(i=u(i,r));for(t=0;t<f;t++)i=p[t](i);return i}function e(n,t,u,e,o){var s=a(n),c=s.autoCallback;s.url.split(".").pop().split("?").shift(),s.bypass||(t&&(t=h(t)?t:t[n]||t[e]||t[n.split("/").pop().split("?")[0]]||f),s.instead?s.instead(n,t,u,e,o):(r[s.url]?s.noexec=!0:r[s.url]=1,u.load(s.url,s.forceCSS||!s.forceJS&&"css"==s.url.split(".").pop().split("?").shift()?"c":i,s.noexec,s.attrs,s.timeout),(h(t)||h(c))&&u.load(function(){rt(),t&&t(s.origUrl,o,e),c&&c(s.origUrl,o,e),r[s.url]=2})))}function l(n,t){function l(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n),u()}),e(n,i,t,0,f);else if(Object(n)===n)for(r in a=function(){var t=0,i;for(i in n)n.hasOwnProperty(i)&&t++;return t}(),n)n.hasOwnProperty(r)&&(!o&&!--a&&(h(i)?i=function(){var n=[].slice.call(arguments);s.apply(this,n),u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t),u()}}(s[r])),e(n[r],i,t,r,f))}else!o&&u()}var f=!!n.test,o=n.load||n.both,i=n.callback||v,s=i,u=n.complete||v,a,r;l(f?n.yep:n.nope,!!o),o&&l(o)}var o,t,s=this.yepnope.loader;if(c(n))e(n,0,s,0);else if(nt(n))for(o=0;o<n.length;o++)t=n[o],c(t)?e(t,0,s,0):nt(t)?u(t):Object(t)===t&&l(t,s);else Object(n)===n&&l(n,s)},u.addPrefix=function(n,t){it[n]=t},u.addFilter=function(n){p.push(n)},u.errorTimeout=1e4,t.readyState==null&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",w=function(){t.removeEventListener("DOMContentLoaded",w,0),t.readyState="complete"},0)),n.yepnope=rt(),n.yepnope.executeStack=f,n.yepnope.injectJs=function(n,i,r,s,h,c){var l=t.createElement("script"),a,y,s=s||u.errorTimeout;l.src=n;for(y in r)l.setAttribute(y,r[y]);i=c?f:i||v,l.onreadystatechange=l.onload=function(){!a&&tt(l.readyState)&&(a=1,i(),l.onload=l.onreadystatechange=null)},o(function(){a||(a=1,i(1))},s),h?l.onload():e.parentNode.insertBefore(l,e)},n.yepnope.injectCss=function(n,i,r,u,s,h){var u=t.createElement("link"),c,i=h?f:i||v;u.href=n,u.rel="stylesheet",u.type="text/css";for(c in r)u.setAttribute(c,r[c]);s||(e.parentNode.insertBefore(u,e),o(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}