window.Modernizr=function(an,am,al){function O(){aj.input=function(e){for(var d=0,f=e.length;d<f;d++){R[e[d]]=e[d] in ac}return R}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),aj.inputtypes=function(b){for(var l=0,k,j,g,c=b.length;l<c;l++){ac.setAttribute("type",j=b[l]),k=ac.type!=="text",k&&(ac.value=ab,ac.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(j)&&ac.style.WebkitAppearance!==al?(ah.appendChild(ac),g=am.defaultView,k=g.getComputedStyle&&g.getComputedStyle(ac,null).WebkitAppearance!=="textfield"&&ac.offsetHeight!==0,ah.removeChild(ac)):/^(search|tel)$/.test(j)||(/^(url|email)$/.test(j)?k=ac.checkValidity&&ac.checkValidity()===!1:/^color$/.test(j)?(ah.appendChild(ac),ah.offsetWidth,k=ac.value!=ab,ah.removeChild(ac)):k=ac.value!=ab)),T[b[l]]=!!k}return T}("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+" "+X.join(h+" ")+h).split(" ");return U(g,e)}function U(e,c){for(var f in e){if(ad[e[f]]!==al){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 H(d,c){return I(Z.join(d+";")+(c||""))}function I(b){ad.cssText=b}var ak="2.0.6",aj={},ai=!0,ah=am.documentElement,ag=am.head||am.getElementsByTagName("head")[0],af="modernizr",ae=am.createElement(af),ad=ae.style,ac=am.createElement("input"),ab=":)",aa=Object.prototype.toString,Z=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),X="Webkit Moz O ms Khtml".split(" "),V={},T={},R={},Q=[],N=function(b,p,o,n){var m,l,i,g=am.createElement("div");if(parseInt(o,10)){while(o--){i=am.createElement("div"),i.id=n?n[o]:af+(o+1),g.appendChild(i)}}m=["&shy;","<style>",b,"</style>"].join(""),g.id=af,g.innerHTML+=m,ah.appendChild(g),l=p(g,b),g.parentNode.removeChild(g);return !!l},M,K={}.hasOwnProperty,J;!Y(K,al)&&!Y(K.call,al)?J=function(d,c){return K.call(d,c)}:J=function(d,c){return c in d&&Y(d.constructor.prototype[c],al)};var P=function(b,h){var g=b.join(""),e=h.length;N(g,function(f,n){var m=am.styleSheets[am.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]}aj.fontface=/src/i.test(l)&&l.indexOf(n.split(" ")[0])===0},e,h)}(['@font-face {font-family:"font";src:url("https://")}'],["fontface"]);V.geolocation=function(){return !!navigator.geolocation},V.websockets=function(){for(var a=-1,d=X.length;++a<d;){if(an[X[a]+"WebSocket"]){return !0}}return"WebSocket" in an},V.rgba=function(){I("background-color:rgba(150,255,150,.5)");return W(ad.backgroundColor,"rgba")},V.hsla=function(){I("background-color:hsla(120,40%,100%,.5)");return W(ad.backgroundColor,"rgba")||W(ad.backgroundColor,"hsla")},V.backgroundsize=function(){return S("backgroundSize")},V.borderimage=function(){return S("borderImage")},V.borderradius=function(){return S("borderRadius")},V.boxshadow=function(){return S("boxShadow")},V.opacity=function(){H("opacity:.55");return/^0.55$/.test(ad.opacity)},V.cssanimations=function(){return S("animationName")},V.cssgradients=function(){var e="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(white));",f="linear-gradient(left top,#9f9, white);";I((e+Z.join(d+e)+Z.join(f+e)).slice(0,-e.length));return W(ad.backgroundImage,"gradient")},V.csstransitions=function(){return S("transitionProperty")},V.fontface=function(){return aj.fontface};for(var L in V){J(V,L)&&(M=L.toLowerCase(),aj[M]=V[L](),Q.push((aj[M]?"":"no-")+M))}aj.input||O(),I(""),ae=ac=null,an.attachEvent&&function(){var b=am.createElement("div");b.innerHTML="<elem></elem>";return b.childNodes.length!==1}()&&function(aq,ap){function c(e){var d=-1;while(++d<E){e.createElement(F[d])}}aq.iepp=aq.iepp||{};var ao=aq.iepp,G=ao.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=ap.createDocumentFragment(),y=ap.documentElement,x=y.firstChild,w=ap.createElement("body"),v=ap.createElement("style"),u=/print|all/,t;ao.getCSS=function(i,d){if(i+""===al){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(ao.getCSS(k.imports,d),k.cssText),d="all"}return j.join("")},ao.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")},ao.writeHTML=function(){var b=-1;t=t||ap.body;while(++b<E){var h=ap.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")},ao._beforePrint=function(){v.styleSheet.cssText=ao.parseCSS(ao.getCSS(ap.styleSheets,"all")),ao.writeHTML()},ao.restoreHTML=function(){w.innerHTML="",y.removeChild(w),y.appendChild(t)},ao._afterPrint=function(){ao.restoreHTML(),v.styleSheet.cssText=""},c(ap),c(z);ao.disablePP||(x.insertBefore(v,x.firstChild),v.media="print",v.className="iepp-printshim",aq.attachEvent("onbeforeprint",ao._beforePrint),aq.attachEvent("onafterprint",ao._afterPrint))}(an,am),aj._version=ak,aj._prefixes=Z,aj._domPrefixes=X,aj.testProp=function(b){return U([b])},aj.testAllProps=S,aj.testStyles=N,ah.className=ah.className.replace(/\bno-js\b/,"")+(ai?" js "+Q.join(" "):"");return aj}(this,this.document),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))};
