;(function(window,document,undefined){var aa=aa||{},ba=this;ba.Pb=true;function ca(a){return a.call.apply(a.s,arguments)}function da(a,b){if(!a)throw new Error;if(arguments.length>2){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,c);return a.apply(b,d)}}else return function(){return a.apply(b,arguments)}}function v(){v=Function.prototype.s&&Function.prototype.s.toString().indexOf("native code")!=-1?ca:da;return v.apply(null,arguments)} var ea=aa.Wb&&Date.now||function(){return+new Date};function D(a){a.call(ba)};mti={};mti.s=function(a,b){var c=arguments.length>2?Array.prototype.slice.call(arguments,2):[];return function(){c.push.apply(c,arguments);return b.apply(a,c)}};var fa={};function F(a,b){this.la=a;this.Ab=b||a;this.m=this.Ab.document;this.qa=undefined} D(function(){F.prototype.createElement=function(a,b,c){a=this.m.createElement(a);if(b)for(var d in b)if(b.hasOwnProperty(d))d=="style"?this.Ma(a,b[d]):a.setAttribute(d,b[d]);c&&a.appendChild(this.m.createTextNode(c));return a};F.prototype.w=function(a,b){a=this.m.getElementsByTagName(a)[0];if(!a)a=document.documentElement;if(a&&a.lastChild){a.insertBefore(b,a.lastChild);return true}return false};F.prototype.Pa=function(a){var b=this;function c(){b.m.body?a():setTimeout(c,0)}c()};F.prototype.La=function(a){if(a.parentNode){a.parentNode.removeChild(a); return true}return false};F.prototype.B=function(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;dw';this.qa=/top/.test(a.getElementsByTagName("a")[0].getAttribute("style"))}return this.qa};F.prototype.getComputedStyle=function(a){if(typeof a!="undefined")if(a!=null){var b={};if(typeof a.currentStyle!="undefined"){b.fontFamily=a.currentStyle.fontFamily;b.fontWeight=a.currentStyle.fontWeight; b.fontStyle=a.currentStyle.fontStyle;return b}else if(a=this.m.defaultView.getComputedStyle(a,null)){b.fontFamily=a.getPropertyValue("font-family");b.fontWeight=a.getPropertyValue("font-weight");b.fontStyle=a.getPropertyValue("font-style");return b}else return""}return""};F.prototype.u=function(a){if(typeof a!="undefined")if(a!=null)if(typeof a.currentStyle!="undefined")return a.currentStyle.fontFamily;else return(a=this.m.defaultView.getComputedStyle(a,null))?a.getPropertyValue("font-family"):""; return""};F.prototype.ha=function(a){if(typeof a!="undefined")if(a!=null)if(typeof a.currentStyle!="undefined")return a.currentStyle.fontWeight;else if(a=this.m.defaultView.getComputedStyle(a,null)){var b=a.getPropertyValue("font-weight");return b.toLowerCase()=="bold"?700:b.toLowerCase()=="normal"?400:a.getPropertyValue("font-weight")}else return"";return""};F.prototype.ga=function(a){if(typeof a!="undefined")if(a!=null)if(typeof a.currentStyle!="undefined")return a.currentStyle.fontStyle;else return(a= this.m.defaultView.getComputedStyle(a,null))?a.getPropertyValue("font-style"):"";return""};F.prototype.ia=function(a){var b="";if(a.tagName=="INPUT")b+=a.value;a=a.childNodes||a;for(var c="img,script,noscript,iframe,object,style,param,embed,link,meta,head,title,br,hr,svg,path".split(","),d=0;d-1)for(h=0;h1&&f[0]!=b){a.style.fontFamily=""+f;a.setAttribute("data-mtiFont",b);if(d){a.style.fontWeight="";a.style.fontStyle=""}return a.style.fontFamily}else return null};F.prototype.pb=function(a,b){for(b=b.parentNode;b!=null;){if(b==a)return true;b=b.parentNode}return false};F.prototype.Oa=function(a,b){b(a);for(a=a.firstChild;a;){this.Oa(a,b);a=a.nextSibling}};F.prototype.hb=function(a){if(a)if(typeof a.currentStyle!= "undefined")return a.currentStyle.textTransform;else return(a=this.m.defaultView.getComputedStyle(a,null))?a.getPropertyValue("text-transform"):""};F.prototype.indexOf=function(a,b){if(a.indexOf)return a.indexOf(b);else{for(var c=0;c=6||a=="Windows Phone"&&c.f>=8;return new L("MSIE",e,d,"MSIE",e,d,a,c,b,this.aa(this.p),new I(f,false,false))};M.prototype.vb=function(){return this.b.indexOf("Opera")!=-1};M.prototype.wb=function(){return/OPR\/[\d.]+/.test(this.b)};M.prototype.Gb=function(){var a="Unknown",b=this.d(this.b,/Presto\/([\d\w\.]+)/,1),c=K(b),d=this.ba(),e=K(d),f=this.aa(this.p);if(c.ka())a="Presto";else{if(this.b.indexOf("Gecko")!=-1)a="Gecko";b=this.d(this.b,/rv:([^\)]+)/,1);c=K(b)}if(this.b.indexOf("Opera Mini/")!= -1){var k=this.d(this.b,/Opera Mini\/([\d\.]+)/,1),g=K(k);return new L("OperaMini",g,k,a,c,b,this.D(),e,d,f,new I(false,false,false))}if(this.b.indexOf("Version/")!=-1){k=this.d(this.b,/Version\/([\d\.]+)/,1);g=K(k);if(g.ka())return new L("Opera",g,k,a,c,b,this.D(),e,d,f,new I(g.f>=10,false,false))}k=this.d(this.b,/Opera[\/ ]([\d\.]+)/,1);g=K(k);if(g.ka())return new L("Opera",g,k,a,c,b,this.D(),e,d,f,new I(g.f>=10,false,false));return new L("Opera",new J,"Unknown",a,c,b,this.D(),e,d,f,new I(false, false,false))};M.prototype.xb=function(){return/AppleWeb(K|k)it/.test(this.b)};M.prototype.Ga=function(){var a=this.D(),b=this.ba(),c=K(b),d=this.d(this.b,/AppleWeb(?:K|k)it\/([\d\.\+]+)/,1),e=K(d),f="Unknown",k=new J,g="Unknown",h=false;if(/OPR\/[\d.]+/.test(this.b))f="Opera";else if(this.b.indexOf("Edge")!=-1)f="Edge";else if(this.b.indexOf("Chrome")!=-1||this.b.indexOf("CrMo")!=-1||this.b.indexOf("CriOS")!=-1)f="Chrome";else if(/Silk\/\d/.test(this.b))f="Silk";else if(a=="BlackBerry"||a=="Android")f= "BuiltinBrowser";else if(this.b.indexOf("PhantomJS")!=-1)f="PhantomJS";else if(this.b.indexOf("Safari")!=-1)f="Safari";else if(this.b.indexOf("AdobeAIR")!=-1)f="AdobeAIR";else if(this.b.indexOf("FBAN")!=-1)f="FBWebUI";if(f=="BuiltinBrowser")g="Unknown";else if(f=="Silk")g=this.d(this.b,/Silk\/([\d\._]+)/,1);else if(f=="Chrome")g=this.d(this.b,/(Chrome|CrMo|CriOS)\/([\d\.]+)/,2);else if(this.b.indexOf("Version/")!=-1)g=this.d(this.b,/Version\/([\d\.\w]+)/,1);else if(f=="AdobeAIR")g=this.d(this.b,/AdobeAIR\/([\d\.]+)/, 1);else if(f=="Opera")g=this.d(this.b,/OPR\/([\d.]+)/,1);else if(f=="PhantomJS")g=this.d(this.b,/PhantomJS\/([\d.]+)/,1);else if(f=="FBWebUI")g=this.d(this.b,/FBSV\/([\d.]+)/,1);else if(f=="Edge")g=this.d(this.b,/Edge\/([\d.]+)/,1);k=K(g);h=f=="AdobeAIR"?k.f>2||k.f==2&&k.r>=5:a=="BlackBerry"?c.f>=10:a=="Android"?c.f>2||c.f==2&&c.r>1:e.f>=526||e.f>=525&&e.r>=13;var j=e.f<536||e.f==536&&e.r<11,i=a=="iPhone"||a=="iPad"||a=="iPod"||a=="Macintosh";return new L(f,k,g,"AppleWebKit",e,d,a,c,b,this.aa(this.p), new I(h,j,i))};M.prototype.rb=function(){return this.b.indexOf("Gecko")!=-1};M.prototype.Eb=function(){var a="Unknown",b=new J,c="Unknown",d=this.ba(),e=K(d),f=false;if(this.b.indexOf("Firefox")!=-1){a="Firefox";c=this.d(this.b,/Firefox\/([\d\w\.]+)/,1);b=K(c);f=b.f>=3&&b.r>=5}else if(this.b.indexOf("Mozilla")!=-1)a="Mozilla";var k=this.d(this.b,/rv:([^\)]+)/,1),g=K(k);f||(f=g.f>1||g.f==1&&g.r>9||g.f==1&&g.r==9&&g.Ha>=2||k.match(/1\.9\.1b[123]/)!=null||k.match(/1\.9\.1\.[\d\.]+/)!=null);return new L(a, b,c,"Gecko",g,k,this.D(),e,d,this.aa(this.p),new I(f,false,false))};M.prototype.d=function(a,b,c){if((a=a.match(b))&&a[c])return a[c];return""};M.prototype.aa=function(a){if(a.documentMode)return a.documentMode}});function ia(a){this.yb=a||ja}var ja="-";D(function(){ia.prototype.Ib=function(a){return a.replace(/[\W_]+/g,"").toLowerCase()};ia.prototype.g=function(){for(var a=[],b=0;b=this.ra};R.prototype.qb=function(a,b){return this.da(a,"serif")&&this.da(b,"sans-serif")};R.prototype.Aa=function(a,b){return this.H.Mb&&this.Ob(a,b)};R.prototype.tb=function(){return this.Da===null||this.Da.hasOwnProperty(this.C.getName())};R.prototype.ua=function(){var a=this.T.K.offsetWidth,b=this.U.K.offsetWidth;if(this.qb(a,b)||this.Aa(a,b))if(this.nb())this.Aa(a, b)&&this.tb()?this.fa(this.ta):this.fa(this.ob);else this.Ya();else this.fa(this.ta)};R.prototype.Ya=function(){setTimeout(v(function(){this.ua()},this),25)};R.prototype.fa=function(a){this.T.remove();this.U.remove();a(this.C)}});function T(a,b,c,d){this.a=b;this.M=c;this.va=0;this.Na=this.Ca=false;this.ra=d;this.H=a.H} D(function(){T.prototype.Z=function(a,b,c,d){if(a.length===0&&d)this.M.$();else{this.va+=a.length;if(d)this.Ca=d;for(d=0;d=0?400:e.fontWeight=="normal"?400:e.fontWeight=="bold"?700:400}if(t!=undefined||r!=undefined)o+="_"+i;l=s.replace(/^\s|\s$/g,"");var m=o.replace(/^\s|\s$/g,""),x=C.test(l);m=C.test(m);if(x||m){if(t!=undefined||r!=undefined)if(k==t&&g==r)a.i.push(new P(l,i));else o==f&&a.i.push(new P(l,i));else{i=g.charAt(0)+k/100;a.i.push(new P(l))}a.t.push(b);if(V.EnableCustomFOUTHandler==true)a.a.B(b,c?"mti_font_element"+ c:"mti_font_element");s=s;o=b.getAttribute("style");o=o!=null?typeof o=="string"?o:"cssText"in o?o.cssText:"":"";s+=o&&o.indexOf("font-weight")>-1&&o.indexOf("font-style")>-1?"_"+g.charAt(0)+k/100:i.length>1?"_"+i:"";if((q.enableSubsetting||V.EnableDSForAllFonts)&&!V.SubsetContent){q="";q=a.S(a.a.ia(b));if(a.W[s.replace(/^\s|\s$/g,"")])q+=a.S(a.W[s.replace(/^\s|\s$/g,"")]);a.W[s.replace(/^\s|\s$/g,"")]=q}}}}}} function X(a,b,c){b="img,script,noscript,iframe,object,style,param,embed,link,meta,head,title,br,hr,svg,path".split(",");var d=a.O,e=null;do if(d){e=d.firstChild;if(e==null){if(d.nodeType==1)if(a.indexOf(b,d.tagName.toLowerCase())<0)c?W(a,d,c):W(a,d);e=d.nextSibling}if(e==null){d=d;do{e=d.parentNode;if(e==a.O){if(e.tagName.toLowerCase()!="body")if(a.indexOf(b,e.tagName.toLowerCase())<0)c?W(a,e,c):W(a,e);break}if(e!=null){if(e.nodeType==1)if(a.indexOf(b,e.tagName.toLowerCase())<0)c?W(a,e,c):W(a,e); d=e;e=e.nextSibling}}while(e==null)}d=e}while(d!=a.O);c=false;for(var f in a.W){c=true;break}if(c)return a.W;return null}function Z(a){var b,c=[],d=0,e=0,f=true;a.t.sort(function(k,g){if(k===g){f=true;return 0}return 0});if(f){for(;b=a.t[e++];)if(b===a.t[e])d=c.push(e);for(;d--;)a.t.splice(c[d],1)}return a.t} mti.q.prototype.F=function(){var a=this.i,b=a==null?0:a.length,c={},d,e=[];for(d=0;d-1&&this.a.Y(f,a,b,c);e=f;f=f.nextSibling}while(f==null)}e=f}while(e!=this.O);return null}; mti.q.prototype.S=function(a){if(a&&typeof a=="string"){a=a.replace(/\s/g,"").replace(/\n/g,"").replace(/\r/g,"");for(var b="",c=a.length,d=null,e=0;e-1&&a.a.Y(H[B],z,a.n[z],g,a.L)}var A=a.c.reqSub||V.EnableDSForAllFonts,y=null,E=null;if(f&&A){ta(a);ua(a,function(){u()})}else if(!f&&A)u();else{y=new mti.q(document.body,a.a,a.c.pfL);E=X(y);sa(a,y.F);d=y.F();a.v.mti_element_cache=Z(y);a.h!=null&&mti.s(a.h,a.h.load,a.v.mti_element_cache)()}c(true)};if(V.isAsync===true)V.onReady=h;else{setTimeout(function(){document.documentElement.style.visibility=""},750);if(a.c.reqSub||V.EnableDSForAllFonts)if(V.CheckFontWatcher&& V.UseHybrid){var j={},i=0,p=a.c.pfL.length;b=a.c.projectId;e=a.c.ec;k=a.c.fcURL;for(var s=a.c.ck,C=0;C0&&b[0].appendChild(c)}function ra(a){(a=document.getElementById("monotype_fake_fontface_"+a.c.projectId))&&a.parentNode.removeChild(a)} function ua(a,b){var c=document.createElement("SPAN");c.innerHTML="MMMWWW";c.style.position="absolute";c.style.left="-32768px";c.style.fontFamily="opera_testfont";document.documentElement.appendChild(c);var d=0,e=(new Date).getTime();d=window.setInterval(function(){if(a.a.u(c)==="opera_testfont"||(new Date).getTime()-e>200){try{document.documentElement.removeChild(c)}catch(f){}b();window.clearInterval(d)}},60)} function va(a,b){var c=a.c.ffArray,d=a.b.getName();d=d.toLowerCase();var e=a.b.A;if(d=="firefox")d="mozilla";if(/ipad|ipod|iphone/.test(a.b.Ja.toLowerCase()))d="msafari";if(d.toLowerCase()=="mozilla"&&e=="Unknown"){e=a.b.R;d="msie"}if(d=="msafari"&&e.toLowerCase()=="unknown")e=a.b.Ia.f+"."+a.b.Ia.r;a=c[d];c="";for(var f in a)if(parseFloat(e)>=parseFloat(f))if(b[a[f].toUpperCase()])c=a[f];return c} function Aa(a,b,c,d,e){a="";c=c;c+=d!=undefined&&e!=undefined?"_"+e.charAt(0)+d/100:"_n4";if(b&&b[c])a=b[c];return a.length>0?a:null} function Ba(a,b,c,d,e,f,k,g,h,j,i){var p=b[i.toUpperCase()];e=(window.location.protocol=="https:"?"https://":"http://")+e.replace("http://","").replace("https://","");e=e+"?";if(d)e+=f+"&";e+="fctypeId="+a.c.fctypeArray[i]+"&fcId="+b.TTF+"&origId="+p;e+="&projectId="+c;e+="&content=";b="";a.b.getName().toLowerCase();if(j){c=null;g=a.S(Aa(a,j,k,g,h)).split("::");k=g[0];g=g[1];h=k.split("").sort().join("");c="";if(k)c=h.replace('"',"").replace("?","").replace(";","").replace("#","").replace("&",""); if(c&&c.length>0||g&&g.length>0){b+=(c||"")+ma+"Mm";if(g!="")b+=g}}k=e+b;var s;h=a.c.bsmcArray;j=a.b.getName();j=j.toLowerCase();if(j=="firefox")j="mozilla";if(/ipad|ipod|iphone/.test(a.b.Ja.toLowerCase()))j="msafari";g=a.b.A;if(j.toLowerCase()=="mozilla"&&g=="Unknown"){g=a.b.R;j="msie"}a=h[j];h="";for(s in a)if(parseFloat(g)>=parseFloat(s))h=a[s];s=h;if(k.length>s){e=s-e.length;return{Fa:Math.ceil(k.length/e),ac:e}}return{Fa:1}}mti.e.prototype.n={}; function sa(a,b,c,d){var e="TTF",f=a.c.projectId,k=a.c.ec,g=a.c.fcURL,h=a.c.dfcURL;if(V.CustomDfcURL!=undefined)h=V.CustomDfcURL;var j=a.a.createElement("style",{type:"text/css",id:"mti_fontface_"+(d?"Aj_":"")+a.c.projectId}),i="",p=false,s={},C={};a.n={};var q={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype",WOFF2:"woff2"},t=a.b.getName();t=t.toLowerCase();var r=a.b.A;if(t.toLowerCase()=="mozilla"&&r=="Unknown"){r=a.b.R;t="msie"}var o=t=="msie"&&r<8?true:false;r=t=="msie"&&r<= 8?true:false;t=t=="opera"?true:false;var l=null,m=null;b||(b=[]);for(var x=0;x0||t||!y){H=t||!y?true:false;for(y=0;y1){y=1;C=true;w=false}H="";if(y>1||d){if(c!==null){p=true;s[B]||(s[B]=[]);if(c)var z=c[B];if(z){C=[];var G="";var N=G=(d?n.length>25?n.substring(0,20):n:n)+(d?d:"");N+=r&&m!=undefined&&l!=undefined? "_"+m.charAt(0)+l/100:m!=undefined&&l!=undefined?"_"+m.charAt(0)+l/100:"_n4";s[B].push(N);c[N]=z;H=y>1?$(a,u,f,false,k,g,h,a.c.ck,G,l,m,c,e,A):$(a,u,f,w,k,g,h,a.c.ck,G,l,m,c,e,A);if(H!=""){i+='@font-face{\nfont-family:"'+(r&&m!=undefined&&l!=undefined?N:G)+'";';if(r==false&&l!=undefined&&m!=undefined){i+="\nfont-style:"+m+";";i+="\nfont-weight:"+l+";"}i+='\nsrc:url("'+H+'")';E||(i+=' format("'+q[e.toUpperCase()]+'")');i+=";}\n";C.push("'"+G+"'")}a.n[n]=C}else if(r&&!w){if(r&&l!=undefined&&m!=undefined)n+= "_"+m.charAt(0)+l/100;H=$(a,u,f,w,k,g,h,a.c.ck,n+(d?d:""),l,m,C?null:c,e,A);if(H!=""){i+='@font-face{\nfont-family:"'+n+(d?d:"")+'";';if(r==false&&l!=undefined&&m!=undefined){i+="\nfont-style:"+m+";";i+="\nfont-weight:"+l+";"}i+='\nsrc:url("'+H+'")';if(!E){n=u[e.toUpperCase()];e=q[e.toUpperCase()];n||(e=q.TTF);i+=" format('"+e+"')"}i+=";}\n"}}}}else{H=$(a,u,f,w,k,g,h,a.c.ck,n+(d?d:""),l,m,C?null:c,e,A);if(H!=""){A="";if(r&&l!=undefined&&m!=undefined){A="_"+m.charAt(0)+l/100;a.n[n]=n+A}i+='@font-face{\nfont-family:"'+ n+(d?d:"")+A+'";';if(r==false&&l!=undefined&&m!=undefined){i+="\nfont-style:"+m+";";i+="\nfont-weight:"+l+";"}i+='\nsrc:url("'+H+'")';if(!E){n=u[e.toUpperCase()];e=q[e.toUpperCase()];n||(e=q.TTF);i+=" format('"+(w==true&&e=="woff2"?"woff":e)+"')"}i+=";}\n"}}}}}if(p===true||d){a.a.La(a.a.getElementById("mti_stylesheet_"+(d?"Aj_":"")+a.c.projectId)||{});d?pa(a,s,d):pa(a,s)}i!=""&&a.a.w("head",j);if(j.styleSheet)j.styleSheet.cssText=i;else{a=document.createTextNode(i);j.appendChild(a)}} function pa(a,b,c){var d=new ia("-"),e=a.a.createElement("style",{type:"text/css",id:"mti_stylesheet_"+(c?"Aj_":"")+a.c.projectId}),f="",k="";k=V.UseTextIndent==true?"text-align:left;text-indent:-9999px;font-size:0px":"visibility:hidden;";if(V.EnableCustomFOUTHandler==true){var g=a.c.pfL;f+="."+ka+"-loading .mti_font_element"+(c?"_Aj":"")+"{"+k+"}\n";for(var h=0;h0)j=b[j].join("','");if(!c){if(d&&p!=undefined&&i!=undefined)j+="_"+p.charAt(0)+i/100;f+=h+"{font-family:'"+j+"';";if(d== false&&p!=undefined&&i!=undefined){f+="\n font-style:"+p+";";f+="\n font-weight:"+i+";"}if(a.h!=null){i=g.otf;p=g.vrnt;if(i&&i!=null&&i!="")f+=a.h.Xb(i,p)}f+="}\n"}if(V.EnableCustomFOUTHandler==true){f+="/*fout specific code:*/\n";i=h.split(",");for(var s in i)f+="."+ka+"-loading "+i[s]+"{"+k+"}\n"}}f!=""&&a.a.w("head",e);if(e.styleSheet)e.styleSheet.cssText=f;else{a=document.createTextNode(f);e.appendChild(a)}} mti.e.prototype.S=function(a){if(a&&typeof a=="string"){a=a.replace(/\s/g,"").replace(/\n/g,"").replace(/\r/g,"");for(var b="",c=a.length,d=null,e=0;e25?h.substring(0,20):h)+"_"+fontVariation+"_f"}if(d==true&&Da(a,o)&&!q)return $(a,b,c,false,e,f,k,g,h,j,i,p,s,C,true)}q=a.c.fontdataversion;var l=a.c.env;if(window.location.protocol=="https:")r="https://";f=f.replace("http://","").replace("https://","");k=k.replace("http://","").replace("https://","");f=r+f+(C?"ot/": "");k=r+k;if(d){o=k+"?";if(e)o+=g+"&";e=a.c.fctypeArray[s];o+="fctypeId="+(typeof e==="undefined"?"3":e)+"&fcId="+b.TTF+"&origId="+t;if(q=="v2"){o+="&fontdataversion=v2";if(l!="undefined"&&l!="")o+="&env="+l}}else if(e)if(t){if(q=="v2")f+=s.toUpperCase()=="EOT"?"2/":s.toUpperCase()=="WOFF"?"3/":s.toUpperCase()=="SVG"?"11/":s.toUpperCase()=="OTF"?"13/":s.toUpperCase()=="WOFF2"?"14/":"1/";o=f+t+"."+s.toLowerCase()+"?"+g}else o=f+"3/"+b.WOFF+".woff?"+g;else o=f+"?fctypeId="+a.c.fctypeArray[s]+"&fcId="+ t;o+="&projectId="+c;if(typeof V.SubsetContent!="undefined"&&V.SubsetContent!==""){o+="&content="+V.SubsetContent;return o}a.b.getName().toLowerCase();b=null;if(p)if(d||V.EnableDSForAllFonts){d="";p=Aa(a,p,h,j,i);if(p==null)return o="";p=a.S(p).split("").sort().join("");h=h;if(a.L)h+="_"+i.charAt(0)+j/100;var m;b:{j=h;if(typeof Storage!=="undefined"){c:{try{m=window.localStorage.getItem(j)}catch(x){console&&console.log("MTI_webfont_service::localStorage.getItem error::"+x.message);m=false;break c}m= m==null?false:m.length>p.length?Ea(a,m,p)?m:false:false}if(m==false&&p)try{window.localStorage.setItem(j,p)}catch(w){console&&console.log("MTI_webfont_service::localStorage.setItem error::"+w.message)}else if(m.length>0){m=m;break b}}m=p}j=a.c.specialChar;i=j.length.toString().length;if(m&&typeof m=="string"){m=m.replace(/\s/g,"").replace(/\n/g,"").replace(/\r/g,"");h="";p=m.length;d=null;c="";e=[];for(f=0;f-1){if(mti.e.indexOf(e,d)==-1){e.push(d); c+=Ca(a,mti.e.indexOf(j,escape(d)),i)}}else if(h.indexOf(d)==-1)h+=d}a=h+"::"+c}else a="";a=a.split("::");normalChar=a[0];d=a[1].replace(":","");if(normalChar)b=normalChar.replace('"',"").replace("?","").replace(";","").replace("#","").replace("&","");if(b&&b.length>0||d&&d.length>0){o+="&content="+(b||"")+ma+"Mm";if(d!="")o+=d}else o=""}if(s!=null&&s.toUpperCase()=="SVG")o+="#"+t;return o} mti.e.indexOf=function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);else{var c=a.length>>>0,d=Number(b)||0;d=d<0?Math.ceil(d):Math.floor(d);if(d<0)d+=c;for(;d-1)break}}o=r.fontWeight;r=r.fontStyle;l=r.charAt(0)+o/100;var m=t.split(","); for(q=0;q25?n.substring(0,20):n)+"_"+l+"_f";a.i.push(new P(n,l));break}}else{a.i.push(new P(n));w=true;break}}if(Da(a,d)&&w){d=false;contentIdArray=x.contentIds;enableOtf=x.enableOtf;fFormat=va(a,contentIdArray); x=n;if(p&&j!=undefined&&h!=undefined)x+="_"+j.charAt(0)+h/100;fontURL=$(a,contentIdArray,e,false,f,k,"",g,x,h,j,null,fFormat,enableOtf);if(fontURL!=""){c+='@font-face{\nfont-family:"'+n+'";';if(p==false&&h!=undefined&&j!=undefined){c+="\nfont-style:"+j+";";c+="\nfont-weight:"+h+";"}c+='\nsrc:url("'+fontURL+'")';if(!(fFormat!=null&&fFormat.toUpperCase()=="EOT"||fFormat.toUpperCase()=="MTX")){h=contentIdArray[fFormat.toUpperCase()];j=C[fFormat.toUpperCase()];h||(j=C.TTF);c+=" format('"+j+"')"}c+=";}\n"}if(i.styleSheet){h= i.styleSheet.cssText;h=h.replace(n,"xxx");i.styleSheet.cssText=h;i.styleSheet.cssText+=c}else i.innerHTML+=c;document.getElementById(b).style.fontFamily=""+t;document.getElementById(b).removeAttribute("data-mtiFont");n="";if(document.getElementById(b).hasChildNodes()){n=document.getElementById(b).childNodes;for(c=0;c-1)if(B[z].getAttribute("id")==b)a.a.Y(B[z], G,a.n[G],p,a.L);else a.a.pb(a.a.getElementById(b),B[z])&&a.a.u(B[z]).replace(/'|"/g,"").indexOf(G)>-1&&a.a.Y(B[z],G,a.n[G],p,a.L);B=a.n[G]==null?0:a.n[G].length;for(z=0;z0;){for(var Y=0;Y -1){b();mti.e.I=true}else setTimeout(arguments.callee,50)})();else if(c.addEventListener)if(c.readyState=="loading")c.addEventListener("DOMContentLoaded",function(){b();mti.e.I=true},false);else window.onload=function(){b();mti.e.I=true};else window.onload=function(){b();mti.e.I=true}}}mti.e.prototype.Pa=function(a){function b(){document.body?a():setTimeout(b,0)}b()}; mti.e.prototype.ca=function(a,b){var c=this;if(!(a!=null&&a.length<1)){var d=c.c.projectId,e=c.c.ec,f=c.c.fcURL,k=c.c.ck;a="";var g,h,j=c.b.A,i=c.b.getName();i=i.toLowerCase();var p=i=="msie"&&j<=8?true:false;i=false;var s={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype",WOFF2:"woff2"};j=[];for(var C=c.i,q=0,t=0;t25?l.substring(0,20):l)+"_"+fontVariation+"_f"}}q=m;break}if(o){C.splice(q,1);x=l+"_f";if(r.enableSubsetting||V.EnableDSForAllFonts){if(r.fontWeight!=undefined&&r.fontStyle!=undefined){g=r.fontWeight;h=r.fontStyle;fontVariation=h.charAt(0)+g/100;x=(l.length>25?l.substring(0,20):l)+"_"+fontVariation+"_f"}j.push(x);contentIdArray=r.contentIds;enableOtf=r.enableOtf; if(!Da(c,x)){i=true;fFormat=va(c,contentIdArray);fontURL=$(c,contentIdArray,d,false,e,f,"",k,l,g,h,null,fFormat,enableOtf);if(fontURL!=""){if(p&&h!=undefined&&g!=undefined)l+="_"+h.charAt(0)+g/100;a+='@font-face{\nfont-family:"'+x+'";';if(p==false&&g!=undefined&&h!=undefined){a+="\nfont-style:"+h+";";a+="\nfont-weight:"+g+";"}a+='\nsrc:url("'+fontURL+'")';if(!(fFormat!=null&&fFormat.toUpperCase()=="EOT"||fFormat.toUpperCase()=="MTX")){r=contentIdArray[fFormat.toUpperCase()];o=s[fFormat.toUpperCase()]; r||(o=s.TTF);a+=" format('"+o+"')"}a+=";}\n"}}}}}g=c.a.getElementById("mti_fontface_"+d);if(g==null){g=c.a.createElement("style",{type:"text/css",id:"mti_fontface_"+(b?"Aj_":"")+c.c.projectId});a!=""&&c.a.w("head",g)}if(g.styleSheet)if(g.styleSheet.cssText!=""){g=c.a.getElementById("mti_fontface_"+(b?"hybridAjaxIE_":"hybridIE_")+c.c.projectId);if(g==null){g=c.a.createElement("style",{type:"text/css",id:"mti_fontface_"+(b?"hybridAjaxIE_":"hybridIE_")+c.c.projectId});a!=""&&c.a.w("head",g)}g.styleSheet.cssText= a}else g.styleSheet.cssText=a;else g.innerHTML+=a;if(i){b=[];for(a=0;a 0);var className = document.documentElement.className;var MTIConfig = window['MTIConfig'] || { 'RemoveMTIClass': false };if(MTIConfig['RemoveMTIClass']==true){function walkTheDOM (node, func) {func(node);node = node.firstChild;while (node) {walkTheDOM(node, func);node = node.nextSibling;}}function getElementsByClassName (className) {if (document.getElementsByClassName){return document.getElementsByClassName(className);}else {var results = [];walkTheDOM(document.body, function (node) {var a, c = node.className, i;if (c) {a = c.split(' ');for (i=0; i -1 },b = (!(/opera|webtv/i.test(ua)) && /msie\s(\d)/.test(ua)), c=false;if((RegExp.$1==6)||(RegExp.$1==7)){ c=true; }while(mti_elements.length > 0){for(var i=0; i< mti_elements.length; i++){var classList=mti_elements[i].className.split(' ');if(classList.length==1 && !c){mti_elements[i].removeAttribute('class');}else{mti_elements[i].className=mti_elements[i].className.replace(/mti_font_element/ig, ' ').replace(/^\s+|\s+$/g,'');}}mti_elements = getElementsByClassName('mti_font_element');}},40000);}className = className;if(!document.getElementById('MonoTypeFontApiFontTracker')){ var fontTrackingUrl = "http://fast.fonts.net/t/1.css"; if(window.location.protocol == 'https:'){ fontTrackingUrl = fontTrackingUrl.replace(/http:/,'https:'); } var head = document.getElementsByTagName('HEAD')[0]; var cssEle = document.createElement('LINK'); if(cssEle){ cssEle.setAttribute('id','MonoTypeFontApiFontTracker'); cssEle.setAttribute('type','text/css'); cssEle.setAttribute('rel','stylesheet'); cssEle.setAttribute('href',fontTrackingUrl + "?apiType=js&projectid=3d466ecd-c0a5-4f71-9dad-42d3cba6b5f1"); head.appendChild(cssEle); }}window['mti_element_cache'] = [];MonoTypeWebFonts.loadColo();};MonoTypeWebFonts._fontActiveEventList = [];MonoTypeWebFonts._fontLoadingEventList = [];MonoTypeWebFonts._activeEventList = [];MonoTypeWebFonts._inActiveEventList = [];MonoTypeWebFonts.addEvent = function(eventName, callbackFunction){ if(eventName.toLowerCase() == 'fontactive'){ MonoTypeWebFonts._fontActiveEventList.push(callbackFunction); }else if(eventName.toLowerCase() == 'fontloading'){ MonoTypeWebFonts._fontLoadingEventList.push(callbackFunction); }else if(eventName.toLowerCase() == 'inactive'){ MonoTypeWebFonts._inActiveEventList.push(callbackFunction); }else if(eventName.toLowerCase() == 'active'){ MonoTypeWebFonts._activeEventList.push(callbackFunction); }};MonoTypeWebFonts.loadFonts = function(){MonoTypeWebFonts.load({monotype:{ reqSub:false, enableOtf: false, otfJsParentUrl: '//fast.fonts.net/jsapi/otjs/',pfL:[],selectorFontMap:{},ck:'d44f19a684109620e4841670a590e81892a63f38850b4288d75090710f069dc7184bfdd37a49fa6292a7926199cfa358c41dadf5fa3a2704dcbe4a4ea1255257a8fa94897529f066b5df0243fb5e9e63d1216452fcc1b417bebbc350175fe6e79010255c01bc5baa552ca495051ba910c769a3197a7841949cbe0723a4021159c908dbfa47f430eaf93972504f1809e79da93e462980bede801e8d2157e8e05e38f27d9322361647e9af948366edd2ed89d2d774d69c0704c0cbf3b0deb8057e7915be21a7ea60a580f58ce49e83f7806a46a0577f94d1347091846cbf0b6e9dd1316440da4748a300e7e0f0b24a8179fd8c2aa2f428faf6b08effadf615c9f8b588a8a44390f17c40ad6ea1a74e604e998f1cbf06c9a8a55ffb7549d9d1296dfb72979b',ec:'true',fcURL:'http://fast.fonts.net/dv2/',dfcURL:'http://api2.fonts.com/FontSubsetter.ashx',pURL:'http://api2.fonts.com/FontSubsetter.ashx',fontdataversion:'v2',sO:'True',ffArray:{safari: {'3.1': 'ttf','5.1':'woff'}, msafari: {'1' : 'svg', '4.2' : 'ttf','5.1':'woff'}, chrome: {'3' :'svg', '4' : 'ttf','5':'woff','36':'woff2'}, opera: {'10' : 'ttf', '11.10' : 'woff', '26.0' : 'woff2'}, msie: {'4' : 'eot', '9' : 'woff', '10':'otf'}, mozilla: {'3.5' : 'ttf', '3.6' : 'woff','39.0':'woff2'}, edge: {'12':'woff'}},bsmcArray:{safari: {'3.1': '2000','5.0':'1650','5.1':'8190'}, msafari: {'1' : '8190'}, chrome: {'3' :'8190'}, opera: {'10' : '8190'}, msie: {'4':'1000','9':'2067'}, mozilla: {'3.5' : '8190'}},fctypeArray:{'ttf':'1','eot':'2','woff':'3','svg': '11','otf':'13'},projectId:'3d466ecd-c0a5-4f71-9dad-42d3cba6b5f1',specialChar:['%u201C','%u201D','%u2200','%u2202','%u2203','%u2205','%u2207','%u2208','%u2209','%u220B','%u220F','%u2211','%u2018','%u2019','%B0','%u2026','%u2122','%A9','%AE','%u2014','%u2013','%A7','%B1','%B7','%u2032','%u2033','%u20AC','%u2248','%u2260','%u2264','%u2265','%u221A','%u221D','%u2220','%u2225','%u2227','%u2228','%u2229','%u222A','%u222B','%u222E','%u2234','%u2235','%u2236','%u2237','%u223D','%u224C','%u2261','%u226E','%u226F','%u2299','%u22A5','%u0391','%u0392','%u0393','%u0394','%u0395','%u0396','%u0397','%u0398','%u0399','%u039A','%u039B','%u039C','%u039D','%u039E','%u039F','%u03A0','%u03A1','%u03A3','%u03A4','%u03A5','%u03A6','%u03A7','%u03A8','%u03A9','%u221E','%u2190','%u2191','%u2192','%u2193','%u2640','%u2642','+','%22','%5C','%23','%26','%3F','%B7','%3B','%3A'],EOD:null},fontloading:function(fontFamily, fontDescription){ for(var i=0; i";}if (/i(Pad|Pod|Phone)/.test(navigator.userAgent)) { var el = document.getElementById('mti_wfs_colophon'); if (el) { window.onscroll = function () { el.style.top = (window.pageYOffset + window.innerHeight - 40) + 'px' }; }}};setTimeout(function(){ MonoTypeWebFonts.cleanup(); }, 40000);