window.Modernizr=function(n,t,i){function l(n){c.cssText=n}function vt(n,t){return l(k.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function ft(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function pt(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 f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ht.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?ft(u,t):(u=(n+" "+ut.join(r+" ")+r).split(" "),pt(u,t,i))}function yt(){u.input=function(i){for(var r=0,u=i.length;r<u;r++)y[i[r]]=!!(i[r]in o);return y.list&&(y.list=!!(t.createElement("datalist")&&n.HTMLDataListElement)),y}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),u.inputtypes=function(n){for(var u=0,r,f,e,h=n.length;u<h;u++)o.setAttribute("type",f=n[u]),r=o.type!=="text",r&&(o.value=it,o.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&o.style.WebkitAppearance!==i?(s.appendChild(o),e=t.defaultView,r=e.getComputedStyle&&e.getComputedStyle(o,null).WebkitAppearance!=="textfield"&&o.offsetHeight!==0,s.removeChild(o)):/^(search|tel)$/.test(f)||(r=/^(url|email)$/.test(f)?o.checkValidity&&o.checkValidity()===!1:o.value!=it)),lt[n[u]]=!!r;return lt}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var wt="2.8.3",u={},g=!0,s=t.documentElement,e="modernizr",et=t.createElement(e),c=et.style,o=t.createElement("input"),it=":)",ot={}.toString,k=" -webkit- -moz- -o- -ms- ".split(" "),st="Webkit Moz O ms",ht=st.split(" "),ut=st.toLowerCase().split(" "),d={svg:"http://www.w3.org/2000/svg"},r={},lt={},y={},nt=[],tt=nt.slice,w,a=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,o=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:e+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',e,'">',n,"</style>"].join(""),f.id=e,(h?f:o).innerHTML+=l,o.appendChild(f),h||(o.style.background="",o.style.overflow="hidden",v=s.style.overflow,s.style.overflow="hidden",s.appendChild(o)),a=i(f,n),h?f.parentNode.removeChild(f):(o.parentNode.removeChild(o),s.style.overflow=v),!!a},at=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t)&&i(t).matches||!1:(a("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},ct=function(){function r(r,u){u=u||t.createElement(n[r]||"div"),r="on"+r;var f=r in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=h(u[r],"function"),h(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),rt={}.hasOwnProperty,p,b;p=h(rt,"undefined")||h(rt.call,"undefined")?function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")}:function(n,t){return rt.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=tt.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(tt.call(arguments))),Object(u)===u)?u:f:t.apply(n,i.concat(tt.call(arguments)))},r}),r.flexbox=function(){return f("flexWrap")},r.flexboxlegacy=function(){return f("boxDirection")},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(){return!!n.WebGLRenderingContext},r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:a(["@media (",k.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i},r.geolocation=function(){return"geolocation"in navigator},r.postmessage=function(){return!!n.postMessage},r.websqldatabase=function(){return!!n.openDatabase},r.indexedDB=function(){return!!f("indexedDB",n)},r.hashchange=function(){return ct("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(){return"WebSocket"in n||"MozWebSocket"in n},r.rgba=function(){return l("background-color:rgba(150,255,150,.5)"),v(c.backgroundColor,"rgba")},r.hsla=function(){return l("background-color:hsla(120,40%,100%,.5)"),v(c.backgroundColor,"rgba")||v(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 f("backgroundSize")},r.borderimage=function(){return f("borderImage")},r.borderradius=function(){return f("borderRadius")},r.boxshadow=function(){return f("boxShadow")},r.textshadow=function(){return t.createElement("div").style.textShadow===""},r.opacity=function(){return vt("opacity:.55"),/^0.55$/.test(c.opacity)},r.cssanimations=function(){return f("animationName")},r.csscolumns=function(){return f("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)+k.join(i+n)).slice(0,-n.length)),v(c.backgroundImage,"gradient")},r.cssreflections=function(){return f("boxReflect")},r.csstransforms=function(){return!!f("transform")},r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in s.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},r.csstransitions=function(){return f("transition")},r.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},r.generatedcontent=function(){var n;return a(["#",e,"{font:0/0 a}#",e,':after{content:"',it,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n},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(e,e),localStorage.removeItem(e),!0}catch(n){return!1}},r.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!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(d.svg,"svg").createSVGRect},r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==d.svg},r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(ot.call(t.createElementNS(d.svg,"animate")))},r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(ot.call(t.createElementNS(d.svg,"clipPath")))};for(b in r)p(r,b)&&(w=b.toLowerCase(),u[w]=r[b](),nt.push((u[w]?"":"no-")+w));return u.input||yt(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)p(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t,typeof g!="undefined"&&g&&(s.className+=" "+(t?"":"no-")+n),u[n]=t}return u},l(""),et=o=null,function(n,t){function w(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 c(){var n=r.elements;return typeof n=="string"?n.split(" "):n}function e(n){var t=a[n[s]];return t||(t={},f++,n[s]=f,a[f]=t),t}function l(n,r,u){if(r||(r=t),i)return r.createElement(n);u||(u=e(r));var f;return f=u.cache[n]?u.cache[n].cloneNode():y.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),f.canHaveChildren&&!v.test(n)&&!f.tagUrn?u.frag.appendChild(f):f}function b(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||e(n);for(var f=r.frag.cloneNode(),u=0,o=c(),s=o.length;u<s;u++)f.createElement(o[u]);return f}function k(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag()),n.createElement=function(i){return r.shivMethods?l(i,n,t):t.createElem(i)},n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function h(n){n||(n=t);var f=e(n);return!r.shivCSS||u||f.hasCSS||(f.hasCSS=!!w(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),i||k(n,f),n}var p="3.7.0",o=n.html5||{},v=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,y=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,u,s="_html5shiv",f=0,a={},i,r;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz></xyz>",u="hidden"in n,i=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(r){u=!0,i=!0}})(),r={elements:o.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:p,shivCSS:o.shivCSS!==!1,supportsUnknownElements:i,shivMethods:o.shivMethods!==!1,type:"default",shivDocument:h,createElement:l,createDocumentFragment:b},n.html5=r,h(t)}(this,t),u._version=wt,u._prefixes=k,u._domPrefixes=ut,u._cssomPrefixes=ht,u.mq=at,u.hasEvent=ct,u.testProp=function(n){return ft([n])},u.testAllProps=f,u.testStyles=a,u.prefixed=function(n,t,i){return t?f(n,t,i):f(n,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" js "+nt.join(" "):""),u}(this,this.document),function(n){"use strict";n.matchMedia=n.matchMedia||function(n){var f,r=n.documentElement,e=r.firstElementChild||r.firstChild,u=n.createElement("body"),i=n.createElement("div");return i.id="mq-test-1",i.style.cssText="position:absolute;top:-100em",u.style.background="none",u.appendChild(i),function(n){return i.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }</style>',r.insertBefore(u,e),f=i.offsetWidth===42,r.removeChild(u),{matches:f,media:n}}}(n.document)}(this),function(n){"use strict";function nt(){a(!0)}var t={};n.respond=t,t.update=function(){};var s=[],it=function(){var t=!1;try{t=new n.XMLHttpRequest}catch(i){t=new n.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),d=function(n,t){var i=it();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState===4&&(i.status===200||i.status===304)&&t(i.responseText)},i.readyState!==4)&&i.send(null)};if(t.ajax=d,t.queue=s,t.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},t.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all")!==null&&n.matchMedia("only all").matches,!t.mediaQueriesSupported){var i=n.document,r=i.documentElement,h=[],o=[],u=[],l={},b=30,e=i.getElementsByTagName("head")[0]||r,tt=i.getElementsByTagName("base")[0],f=e.getElementsByTagName("link"),c,g,y,v=function(){var t,u=i.createElement("div"),n=i.body,o=r.style.fontSize,e=n&&n.style.fontSize,f=!1;return u.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=i.createElement("body"),n.style.background="none"),r.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(u),f&&r.insertBefore(n,r.firstChild),t=u.offsetWidth,f?r.removeChild(n):n.removeChild(u),r.style.fontSize=o,e&&(n.style.fontSize=e),t=y=parseFloat(t)},a=function(t){var ft="clientWidth",ht=r[ft],rt=i.compatMode==="CSS1Compat"&&ht||i.body[ft]||ht,p={},ct=f[f.length-1],ut=+new Date,tt,d,nt,s,it;if(t&&c&&ut-c<b){n.clearTimeout(g),g=n.setTimeout(a,b);return}c=ut;for(tt in h)if(h.hasOwnProperty(tt)){var l=h[tt],w=l.minw,k=l.maxw,et=w===null,ot=k===null,st="em";!w||(w=parseFloat(w)*(w.indexOf(st)>-1?y||v():1)),!k||(k=parseFloat(k)*(k.indexOf(st)>-1?y||v():1)),(!l.hasquery||(!et||!ot)&&(et||rt>=w)&&(ot||rt<=k))&&(p[l.media]||(p[l.media]=[]),p[l.media].push(o[l.rules]))}for(d in u)u.hasOwnProperty(d)&&u[d]&&u[d].parentNode===e&&e.removeChild(u[d]);u.length=0;for(nt in p)p.hasOwnProperty(nt)&&(s=i.createElement("style"),it=p[nt].join("\n"),s.type="text/css",s.media=nt,e.insertBefore(s,ct.nextSibling),s.styleSheet?s.styleSheet.cssText=it:s.appendChild(i.createTextNode(it)),u.push(s))},p=function(n,i,r){var s=n.replace(t.regex.keyframes,"").match(t.regex.media),c=s&&s.length||0,l,v,f,y,u,p,w,e;for(i=i.substring(0,i.lastIndexOf("/")),l=function(n){return n.replace(t.regex.urls,"$1"+i+"$2$3")},v=!c&&r,i.length&&(i+="/"),v&&(c=1),f=0;f<c;f++)for(v?(y=r,o.push(l(n))):(y=s[f].match(t.regex.findStyles)&&RegExp.$1,o.push(RegExp.$2&&l(RegExp.$2))),p=y.split(","),w=p.length,e=0;e<w;e++)u=p[e],h.push({media:u.split("(")[0].match(t.regex.only)&&RegExp.$2||"all",rules:o.length-1,hasquery:u.indexOf("(")>-1,minw:u.match(t.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:u.match(t.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});a()},w=function(){if(s.length){var t=s.shift();d(t.href,function(i){p(i,t.href,t.media),l[t.href]=!0,n.setTimeout(function(){w()},0)})}},k=function(){for(var r=0;r<f.length;r++){var i=f[r],t=i.href,u=i.media,e=i.rel&&i.rel.toLowerCase()==="stylesheet";!t||!e||l[t]||(i.styleSheet&&i.styleSheet.rawCssText?(p(i.styleSheet.rawCssText,t,u),l[t]=!0):(/^([a-zA-Z:]*\/\/)/.test(t)||tt)&&t.replace(RegExp.$1,"").split("/")[0]!==n.location.host||(t.substring(0,2)==="//"&&(t=n.location.protocol+t),s.push({href:t,media:u})))}w()};k(),t.update=k,t.getEmValue=v,n.addEventListener?n.addEventListener("resize",nt,!1):n.attachEvent&&n.attachEvent("onresize",nt)}}(this)