window.Modernizr=function(ar,aq,ap){function O(){an.input=function(e){for(var d=0,f=e.length;d<f;d++){V[e[d]]=e[d] in ag}return V}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),an.inputtypes=function(b){for(var l=0,k,j,g,c=b.length;l<c;l++){ag.setAttribute("type",j=b[l]),k=ag.type!=="text",k&&(ag.value=af,ag.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(j)&&ag.style.WebkitAppearance!==ap?(al.appendChild(ag),g=aq.defaultView,k=g.getComputedStyle&&g.getComputedStyle(ag,null).WebkitAppearance!=="textfield"&&ag.offsetHeight!==0,al.removeChild(ag)):/^(search|tel)$/.test(j)||(/^(url|email)$/.test(j)?k=ag.checkValidity&&ag.checkValidity()===!1:/^color$/.test(j)?(al.appendChild(ag),al.offsetWidth,k=ag.value!=af,al.removeChild(ag)):k=ag.value!=af)),X[b[l]]=!!k}return X}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function S(f,e){var h=f.charAt(0).toUpperCase()+f.substr(1),g=(f+" "+ab.join(h+" ")+h).split(" ");return U(g,e)}function U(e,c){for(var f in e){if(ah[e[f]]!==ap){return c=="pfx"?e[f]:!0}}return !1}function W(d,c){return !!~(""+d).indexOf(c)}function Y(d,c){return typeof d===c}function aa(d,c){return ac(ad.join(d+";")+(c||""))}function ac(b){ah.cssText=b}var ao="2.0.6",an={},am=!0,al=aq.documentElement,ak=aq.head||aq.getElementsByTagName("head")[0],aj="modernizr",ai=aq.createElement(aj),ah=ai.style,ag=aq.createElement("input"),af=":)",ae=Object.prototype.toString,ad=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),ab="Webkit Moz O ms Khtml".split(" "),Z={},X={},V={},T=[],R=function(b,p,o,n){var m,l,i,g=aq.createElement("div");if(parseInt(o,10)){while(o--){i=aq.createElement("div"),i.id=n?n[o]:aj+(o+1),g.appendChild(i)}}m=["&shy;","<style>",b,"</style>"].join(""),g.id=aj,g.innerHTML+=m,al.appendChild(g),l=p(g,b),g.parentNode.removeChild(g);return !!l},Q=function(a){if(ar.matchMedia){return matchMedia(a).matches}var d;R("@media "+a+" { #"+aj+" { position: absolute; } }",function(c){d=(ar.getComputedStyle?getComputedStyle(c,null):c.currentStyle).position=="absolute"});return d},N=function(){function c(h,g){g=g||aq.createElement(b[h]||"div"),h="on"+h;var a=h in g;a||(g.setAttribute||(g=aq.createElement("div")),g.setAttribute&&g.removeAttribute&&(g.setAttribute(h,""),a=Y(g[h],"function"),Y(g[h],ap)||(g[h]=ap),g.removeAttribute(h))),g=null;return a}var b={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return c}(),M,K={}.hasOwnProperty,J;!Y(K,ap)&&!Y(K.call,ap)?J=function(d,c){return K.call(d,c)}:J=function(d,c){return c in d&&Y(d.constructor.prototype[c],ap)};var P=function(b,h){var g=b.join(""),e=h.length;R(g,function(f,n){var m=aq.styleSheets[aq.styleSheets.length-1],l=m.cssRules&&m.cssRules[0]?m.cssRules[0].cssText:m.cssText||"",k=f.childNodes,j={};while(e--){j[k[e].id]=k[e]}an.fontface=/src/i.test(l)&&l.indexOf(n.split(" ")[0])===0},e,h)}(['@font-face {font-family:"font";src:url("https://")}'],["fontface"]);Z.geolocation=function(){return !!navigator.geolocation},Z.history=function(){return !!ar.history&&!!history.pushState},Z.draganddrop=function(){return N("dragstart")&&N("drop")},Z.rgba=function(){ac("background-color:rgba(150,255,150,.5)");return W(ah.backgroundColor,"rgba")},Z.multiplebgs=function(){ac("background:url(https://),url(https://),red url(https://)");return/(url\s*\(.*?){3}/.test(ah.background)},Z.backgroundsize=function(){return S("backgroundSize")},Z.borderimage=function(){return S("borderImage")},Z.borderradius=function(){return S("borderRadius")},Z.boxshadow=function(){return S("boxShadow")},Z.textshadow=function(){return aq.createElement("div").style.textShadow===""},Z.opacity=function(){aa("opacity:.55");return/^0.55$/.test(ah.opacity)},Z.cssanimations=function(){return S("animationName")},Z.cssgradients=function(){var e="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(white));",f="linear-gradient(left top,#9f9, white);";
ac((e+ad.join(d+e)+ad.join(f+e)).slice(0,-e.length));return W(ah.backgroundImage,"gradient")},Z.csstransitions=function(){return S("transitionProperty")},Z.fontface=function(){return an.fontface},Z.video=function(){var b=aq.createElement("video"),h=!1;try{if(h=!!b.canPlayType){h=new Boolean(h),h.ogg=b.canPlayType('video/ogg; codecs="theora"');var g='video/mp4; codecs="avc1.42E01E';h.h264=b.canPlayType(g+'"')||b.canPlayType(g+', mp4a.40.2"'),h.webm=b.canPlayType('video/webm; codecs="vp8, vorbis"')}}catch(f){}return h},Z.audio=function(){var b=aq.createElement("audio"),f=!1;try{if(f=!!b.canPlayType){f=new Boolean(f),f.ogg=b.canPlayType('audio/ogg; codecs="vorbis"'),f.mp3=b.canPlayType("audio/mpeg;"),f.wav=b.canPlayType('audio/wav; codecs="1"'),f.m4a=b.canPlayType("audio/x-m4a;")||b.canPlayType("audio/aac;")}}catch(e){}return f},Z.localstorage=function(){try{return !!localStorage.getItem}catch(b){return !1}},Z.sessionstorage=function(){try{return !!sessionStorage.getItem}catch(b){return !1}},Z.applicationcache=function(){return !!ar.applicationCache};for(var L in Z){J(Z,L)&&(M=L.toLowerCase(),an[M]=Z[L](),T.push((an[M]?"":"no-")+M))}an.input||O(),ac(""),ai=ag=null,ar.attachEvent&&function(){var b=aq.createElement("div");b.innerHTML="<elem></elem>";return b.childNodes.length!==1}()&&function(at,I){function c(e){var d=-1;while(++d<E){e.createElement(F[d])}}at.iepp=at.iepp||{};var H=at.iepp,G=H.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",F=G.split("|"),E=F.length,D=new RegExp("(^|\\s)("+G+")","gi"),C=new RegExp("<(/*)("+G+")","gi"),B=/^\s*[\{\}]\s*$/,A=new RegExp("(^|[^\\n]*?\\s)("+G+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),z=I.createDocumentFragment(),y=I.documentElement,x=y.firstChild,w=I.createElement("body"),v=I.createElement("style"),u=/print|all/,t;H.getCSS=function(i,d){if(i+""===ap){return""}var m=-1,l=i.length,k,j=[];while(++m<l){k=i[m];if(k.disabled){continue}d=k.media||d,u.test(d)&&j.push(H.getCSS(k.imports,d),k.cssText),d="all"}return j.join("")},H.parseCSS=function(e){var d=[],f;while((f=A.exec(e))!=null){d.push(((B.exec(f[1])?"\n":f[1])+f[2]+f[3]).replace(D,"$1.iepp_$2")+f[4])}return d.join("\n")},H.writeHTML=function(){var b=-1;t=t||I.body;while(++b<E){var h=I.getElementsByTagName(F[b]),g=h.length,f=-1;while(++f<g){h[f].className.indexOf("iepp_")<0&&(h[f].className+=" iepp_"+F[b])}}z.appendChild(t),y.appendChild(w),w.className=t.className,w.id=t.id,w.innerHTML=t.innerHTML.replace(C,"<$1font")},H._beforePrint=function(){v.styleSheet.cssText=H.parseCSS(H.getCSS(I.styleSheets,"all")),H.writeHTML()},H.restoreHTML=function(){w.innerHTML="",y.removeChild(w),y.appendChild(t)},H._afterPrint=function(){H.restoreHTML(),v.styleSheet.cssText=""},c(I),c(z);H.disablePP||(x.insertBefore(v,x.firstChild),v.media="print",v.className="iepp-printshim",at.attachEvent("onbeforeprint",H._beforePrint),at.attachEvent("onafterprint",H._afterPrint))}(ar,aq),an._version=ao,an._prefixes=ad,an._domPrefixes=ab,an.mq=Q,an.hasEvent=N,an.testProp=function(b){return U([b])},an.testAllProps=S,an.testStyles=R,al.className=al.className.replace(/\bno-js\b/,"")+(am?" js "+T.join(" "):"");return an}(this,this.document),function(P,O){function v(){y(!0)}P.respond={},respond.update=function(){},respond.mediaQueriesSupported=O;if(!O){var N=P.document,M=N.documentElement,L=[],K=[],J=[],I={},H=30,G=N.getElementsByTagName("head")[0]||M,F=G.getElementsByTagName("link"),E=[],D=function(){var a=F,n=a.length,m=0,l,k,j,h;for(;m<n;m++){l=a[m],k=l.href,j=l.media,h=l.rel&&l.rel.toLowerCase()==="stylesheet",!!k&&h&&!I[k]&&(!/^([a-zA-Z]+?:(\/\/)?(www\.)?)/.test(k)||k.replace(RegExp.$1,"").split("/")[0]===P.location.host?E.push({href:k,media:j}):I[k]=!0)}C()},C=function(){if(E.length){var b=E.shift();x(b.href,function(a){B(a,b.href,b.media),I[b.href]=!0,C()})}},B=function(U,T,S){var R=U.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),Q=R&&R.length||0,T=T.substring(0,T.lastIndexOf("/")),u=function(b){return b.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+T+"$2$3")
},t=!Q&&S,s=0,r,q,p,f,e;T.length&&(T+="/"),t&&(Q=1);for(;s<Q;s++){r=0,t?(q=S,K.push(u(U))):(q=R[s].match(/@media ([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,K.push(RegExp.$2&&u(RegExp.$2))),f=q.split(","),e=f.length;for(;r<e;r++){p=f[r],L.push({media:p.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)&&RegExp.$2,rules:K.length-1,minw:p.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1),maxw:p.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1)})}}y()},A,z,y=function(j){var i="clientWidth",g=M[i],f=N.compatMode==="CSS1Compat"&&g||N.body[i]||g,e={},d=N.createDocumentFragment(),c=F[F.length-1],Q=(new Date).getTime();if(j&&A&&Q-A<H){clearTimeout(z),z=setTimeout(y,H)}else{A=Q;for(var r in L){var q=L[r];if(!q.minw&&!q.maxw||(!q.minw||q.minw&&f>=q.minw)&&(!q.maxw||q.maxw&&f<=q.maxw)){e[q.media]||(e[q.media]=[]),e[q.media].push(K[q.rules])}}for(var r in J){J[r]&&J[r].parentNode===G&&G.removeChild(J[r])}for(var r in e){var p=N.createElement("style"),k=e[r].join("\n");p.type="text/css",p.media=r,p.styleSheet?p.styleSheet.cssText=k:p.appendChild(N.createTextNode(k)),d.appendChild(p),J.push(p)}G.insertBefore(d,c.nextSibling)}},x=function(e,d){var f=w();if(!!f){f.open("GET",e,!0),f.onreadystatechange=function(){f.readyState==4&&(f.status==200||f.status==304)&&d(f.responseText)};if(f.readyState==4){return}f.send()}},w=function(){var f=!1,e=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],h=e.length;while(h--){try{f=e[h]()}catch(g){continue}break}return function(){return f}}();D(),respond.update=D,P.addEventListener?P.addEventListener("resize",v,!1):P.attachEvent&&P.attachEvent("onresize",v)}}(this,Modernizr.mq("only all")),function(ap,ao,an){function af(b){return !b||b=="loaded"||b=="complete"}function ag(){var d=1,c=-1;while(aa.length- ++c){if(aa[c].s&&!(d=aa[c].r)){break}}d&&aj()}function ah(b){var f=ao.createElement("script"),e;f.src=b.s,f.onreadystatechange=f.onload=function(){!e&&af(f.readyState)&&(e=1,ag(),f.onload=f.onreadystatechange=null)},ad(function(){e||(e=1,ag())},L.errorTimeout),b.e?f.onload():ac.parentNode.insertBefore(f,ac)}function ai(b){var h=ao.createElement("link"),g;h.href=b.s,h.rel="stylesheet",h.type="text/css";if(!b.e&&(M||W)){var f=function(c){ad(function(){if(!g){try{c.sheet.cssRules.length?(g=1,ag()):f(c)}catch(a){a.code==1000||a.message=="security"||a.message=="denied"?(g=1,ad(function(){ag()},0)):f(c)}}},0)};f(h)}else{h.onload=function(){g||(g=1,ad(function(){ag()},0))},b.e&&h.onload()}ad(function(){g||(g=1,ag())},L.errorTimeout),!b.e&&ac.parentNode.insertBefore(h,ac)}function aj(){var b=aa.shift();Y=1,b?b.t?ad(function(){b.t=="c"?ai(b):ah(b)},0):(b(),ag()):Y=0}function ak(t,s,q,p,n,m){function k(){!g&&af(j.readyState)&&(b.r=g=1,!Y&&ag(),j.onload=j.onreadystatechange=null,ad(function(){Q.removeChild(j)},0))}var j=ao.createElement(t),g=0,b={t:q,s:s,e:m};j.src=j.data=s,!U&&(j.style.display="none"),j.width=j.height="0",t!="object"&&(j.type=q),j.onload=j.onreadystatechange=k,t=="img"?j.onerror=k:t=="script"&&(j.onerror=function(){b.e=b.r=1,aj()}),aa.splice(p,0,b),Q.insertBefore(j,U?null:ac),ad(function(){g||(Q.removeChild(j),b.r=b.e=g=1,ag())},L.errorTimeout)}function al(f,e,h){var g=e=="c"?I:J;Y=0,e=e||"j",V(f)?ak(g,f,e,this.i++,ae,h):(aa.splice(this.i++,0,f),aa.length==1&&aj());return this}function am(){var b=L;b.loader={load:al,i:0};return b}var ae=ao.documentElement,ad=ap.setTimeout,ac=ao.getElementsByTagName("script")[0],ab={}.toString,aa=[],Y=0,W="MozAppearance" in ae.style,U=W&&!!ao.createRange().compareNode,S=W&&!U,Q=U?ae:ac.parentNode,O=ap.opera&&ab.call(ap.opera)=="[object Opera]",M="webkitAppearance" in ae.style,K=M&&"async" in ao.createElement("script"),J=W?"object":O||K?"img":"script",I=M?"img":J,Z=Array.isArray||function(b){return ab.call(b)=="[object Array]"},X=function(b){return Object(b)===b},V=function(b){return typeof b=="string"},T=function(b){return ab.call(b)=="[object Function]"},R=[],P={},N,L;L=function(d){function m(o){var i=o.split("!"),u=R.length,t=i.pop(),s=i.length,r={url:t,origUrl:t,prefixes:i},q,p;
for(p=0;p<s;p++){q=P[i[p]],q&&(r=q(r))}for(p=0;p<u;p++){r=R[p](r)}return r}function n(o,f,t,s,r){var q=m(o),p=q.autoCallback;if(!q.bypass){f&&(f=T(f)?f:f[o]||f[s]||f[o.split("/").pop().split("?")[0]]);if(q.instead){return q.instead(o,f,t,s,r)}t.load(q.url,q.forceCSS||!q.forceJS&&/css$/.test(q.url)?"c":an,q.noexec),(T(f)||T(p))&&t.load(function(){am(),f&&f(q.origUrl,r,s),p&&p(q.origUrl,r,s)})}}function c(o,e){function u(b){if(V(b)){n(b,q,e,0,t)}else{if(X(b)){for(p in b){b.hasOwnProperty(p)&&n(b[p],q,e,p,t)}}}}var t=!!o.test,s=t?o.yep:o.nope,r=o.load||o.both,q=o.callback,p;u(s),u(r),o.complete&&e.load(o.complete)}var l,k,j=this.yepnope.loader;if(V(d)){n(d,0,j,0)}else{if(Z(d)){for(l=0;l<d.length;l++){k=d[l],V(k)?n(k,0,j,0):Z(k)?L(k):X(k)&&c(k,j)}}else{X(d)&&c(d,j)}}},L.addPrefix=function(d,c){P[d]=c},L.addFilter=function(b){R.push(b)},L.errorTimeout=10000,ao.readyState==null&&ao.addEventListener&&(ao.readyState="loading",ao.addEventListener("DOMContentLoaded",N=function(){ao.removeEventListener("DOMContentLoaded",N,0),ao.readyState="complete"},0)),ap.yepnope=am()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
