;(function(window,document,undefined){function aa(a){return function(){return this[a]}}var ba=ba||{},ca=this;ca.kc=true;function da(a){return a.call.apply(a.n,arguments)}function ea(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 F(){F=Function.prototype.n&&Function.prototype.n.toString().indexOf("native code")!=-1?da:ea;return F.apply(null,arguments)}var fa=ba.qc&&Date.now||function(){return+new Date};function H(a){a.call(ca)};mti={};mti.n=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 ga={};function I(a,b){this.wa=a;this.Vb=b||a;this.m=this.Vb.document;this.Ba=undefined} H(function(){I.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.fb(a,b[d]):a.setAttribute(d,b[d]);c&&a.appendChild(this.m.createTextNode(c));return a};I.prototype.z=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};I.prototype.ib=function(a){var b=this;function c(){b.m.body?a():setTimeout(c,0)}c()};I.prototype.eb=function(a){if(a.parentNode){a.parentNode.removeChild(a); return true}return false};I.prototype.F=function(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;dw';this.Ba=/top/.test(a.getElementsByTagName("a")[0].getAttribute("style"))}return this.Ba};I.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""};I.prototype.t=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""};I.prototype.ka=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""};I.prototype.ja=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""};I.prototype.sa=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(j=0;j1&&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};I.prototype.Lb=function(a,b){for(b=b.parentNode;b!=null;){if(b==a)return true;b=b.parentNode}return false};I.prototype.hb=function(a,b){b(a);for(a=a.firstChild;a;){this.hb(a,b);a=a.nextSibling}};I.prototype.Cb=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"):""};I.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 N("MSIE",e,d,"MSIE",e,d,a,c,b,this.la(this.r),new J(f,false,false))};O.prototype.Rb=function(){return this.a.indexOf("Opera")!=-1};O.prototype.Sb=function(){return/OPR\/[\d.]+/.test(this.a)};O.prototype.ac=function(){var a="Unknown",b=this.e(this.a,/Presto\/([\d\w\.]+)/,1),c=M(b),d=this.ma(),e=M(d),f=this.la(this.r);if(c.va())a="Presto";else{if(this.a.indexOf("Gecko")!=-1)a="Gecko";b=this.e(this.a,/rv:([^\)]+)/,1);c=M(b)}if(this.a.indexOf("Opera Mini/")!= -1){var k=this.e(this.a,/Opera Mini\/([\d\.]+)/,1),g=M(k);return new N("OperaMini",g,k,a,c,b,this.H(),e,d,f,new J(false,false,false))}if(this.a.indexOf("Version/")!=-1){k=this.e(this.a,/Version\/([\d\.]+)/,1);g=M(k);if(g.va())return new N("Opera",g,k,a,c,b,this.H(),e,d,f,new J(g.f>=10,false,false))}k=this.e(this.a,/Opera[\/ ]([\d\.]+)/,1);g=M(k);if(g.va())return new N("Opera",g,k,a,c,b,this.H(),e,d,f,new J(g.f>=10,false,false));return new N("Opera",new K,"Unknown",a,c,b,this.H(),e,d,f,new J(false, false,false))};O.prototype.Tb=function(){return/AppleWeb(K|k)it/.test(this.a)};O.prototype.Za=function(){var a=this.H(),b=this.ma(),c=M(b),d=this.e(this.a,/AppleWeb(?:K|k)it\/([\d\.\+]+)/,1),e=M(d),f="Unknown",k=new K,g="Unknown",j=false;if(/OPR\/[\d.]+/.test(this.a))f="Opera";else if(this.a.indexOf("Chrome")!=-1||this.a.indexOf("CrMo")!=-1||this.a.indexOf("CriOS")!=-1)f="Chrome";else if(/Silk\/\d/.test(this.a))f="Silk";else if(a=="BlackBerry"||a=="Android")f="BuiltinBrowser";else if(this.a.indexOf("PhantomJS")!= -1)f="PhantomJS";else if(this.a.indexOf("Safari")!=-1)f="Safari";else if(this.a.indexOf("AdobeAIR")!=-1)f="AdobeAIR";else if(this.a.indexOf("FBAN")!=-1)f="FBWebUI";if(f=="BuiltinBrowser")g="Unknown";else if(f=="Silk")g=this.e(this.a,/Silk\/([\d\._]+)/,1);else if(f=="Chrome")g=this.e(this.a,/(Chrome|CrMo|CriOS)\/([\d\.]+)/,2);else if(this.a.indexOf("Version/")!=-1)g=this.e(this.a,/Version\/([\d\.\w]+)/,1);else if(f=="AdobeAIR")g=this.e(this.a,/AdobeAIR\/([\d\.]+)/,1);else if(f=="Opera")g=this.e(this.a, /OPR\/([\d.]+)/,1);else if(f=="PhantomJS")g=this.e(this.a,/PhantomJS\/([\d.]+)/,1);else if(f=="FBWebUI")g=this.e(this.a,/FBSV\/([\d.]+)/,1);k=M(g);j=f=="AdobeAIR"?k.f>2||k.f==2&&k.u>=5:a=="BlackBerry"?c.f>=10:a=="Android"?c.f>2||c.f==2&&c.u>1:e.f>=526||e.f>=525&&e.u>=13;var m=e.f<536||e.f==536&&e.u<11,h=a=="iPhone"||a=="iPad"||a=="iPod"||a=="Macintosh";return new N(f,k,g,"AppleWebKit",e,d,a,c,b,this.la(this.r),new J(j,m,h))};O.prototype.Nb=function(){return this.a.indexOf("Gecko")!=-1};O.prototype.Zb= function(){var a="Unknown",b=new K,c="Unknown",d=this.ma(),e=M(d),f=false;if(this.a.indexOf("Firefox")!=-1){a="Firefox";c=this.e(this.a,/Firefox\/([\d\w\.]+)/,1);b=M(c);f=b.f>=3&&b.u>=5}else if(this.a.indexOf("Mozilla")!=-1)a="Mozilla";var k=this.e(this.a,/rv:([^\)]+)/,1),g=M(k);f||(f=g.f>1||g.f==1&&g.u>9||g.f==1&&g.u==9&&g.$a>=2||k.match(/1\.9\.1b[123]/)!=null||k.match(/1\.9\.1\.[\d\.]+/)!=null);return new N(a,b,c,"Gecko",g,k,this.H(),e,d,this.la(this.r),new J(f,false,false))};O.prototype.e=function(a, b,c){if((a=a.match(b))&&a[c])return a[c];return""};O.prototype.la=function(a){if(a.documentMode)return a.documentMode}});function ja(a){this.Ub=a||ka}var ka="-";H(function(){ja.prototype.cc=function(a){return a.replace(/[\W_]+/g,"").toLowerCase()};ja.prototype.h=function(){for(var a=[],b=0;b=this.Ca};S.prototype.Mb=function(a,b){return this.oa(a,"serif")&&this.oa(b,"sans-serif")};S.prototype.Qa=function(a,b){return this.N.hc&&this.jc(a,b)};S.prototype.Pb=function(){return this.Va===null||this.Va.hasOwnProperty(this.G.getName())};S.prototype.Ia=function(){var a=this.ba.Q.offsetWidth,b=this.ca.Q.offsetWidth;if(this.Mb(a,b)||this.Qa(a, b))if(this.Jb())this.Qa(a,b)&&this.Pb()?this.ra(this.Ga):this.ra(this.Kb);else this.rb();else this.ra(this.Ga)};S.prototype.rb=function(){setTimeout(F(function(){this.Ia()},this),25)};S.prototype.ra=function(a){this.ba.remove();this.ca.remove();a(this.G)}});function U(a,b,c,d){this.b=b;this.T=c;this.Ja=0;this.gb=this.Sa=false;this.Ca=d;this.N=a.N} H(function(){U.prototype.ha=function(a,b,c,d){if(a.length===0&&d)this.T.ia();else{this.Ja+=a.length;if(d)this.Sa=d;for(d=0;d=0?400:e.fontWeight=="normal"?400:e.fontWeight=="bold"?700:400}if(n!=undefined||o!=undefined)t+="_"+h;r=s.replace(/^\s|\s$/g,"");var q=t.replace(/^\s|\s$/g,""),C=u.test(r);q=u.test(q);if(C||q){if(n!=undefined||o!=undefined)if(k==n&&g==o)a.g.push(new Q(r,h));else t==f&&a.g.push(new Q(r,h));else{h=g.charAt(0)+k/100;a.g.push(new Q(r))}a.v.push(b);if(X.EnableCustomFOUTHandler==true)a.b.F(b,c?"mti_font_element"+ c:"mti_font_element");s=s;t=b.getAttribute("style");t=t!=null?typeof t=="string"?t:"cssText"in t?t.cssText:"":"";s+=t&&t.indexOf("font-weight")>-1&&t.indexOf("font-style")>-1?"_"+g.charAt(0)+k/100:h.length>1?"_"+h:"";if(l.enableSubsetting||X.EnableDSForAllFonts){l="";l=a.aa(a.b.sa(b));if(a.ea[s.replace(/^\s|\s$/g,"")])l+=a.aa(a.ea[s.replace(/^\s|\s$/g,"")]);a.ea[s.replace(/^\s|\s$/g,"")]=l}}}}}} function Z(a,b,c){b="img,script,noscript,iframe,object,style,param,embed,link,meta,head,title,br,hr,svg,path".split(",");var d=a.V,e=null;do if(d){e=d.firstChild;if(e==null){if(d.nodeType==1)if(a.indexOf(b,d.tagName.toLowerCase())<0)c?Y(a,d,c):Y(a,d);e=d.nextSibling}if(e==null){d=d;do{e=d.parentNode;if(e==a.V){if(e.tagName.toLowerCase()!="body")if(a.indexOf(b,e.tagName.toLowerCase())<0)c?Y(a,e,c):Y(a,e);break}if(e!=null){if(e.nodeType==1)if(a.indexOf(b,e.tagName.toLowerCase())<0)c?Y(a,e,c):Y(a,e); d=e;e=e.nextSibling}}while(e==null)}d=e}while(d!=a.V);c=false;for(var f in a.ea){c=true;break}if(c)return a.ea;return null}function qa(a){var b,c=[],d=0,e=0,f=true;a.v.sort(function(k,g){if(k===g){f=true;return 0}return 0});if(f){for(;b=a.v[e++];)if(b===a.v[e])d=c.push(e);for(;d--;)a.v.splice(c[d],1)}return a.v} mti.s.prototype.J=function(){var a=this.g,b=a==null?0:a.length,c={},d,e=[];for(d=0;d-1&&this.b.ga(f,a,b,c);e=f;f=f.nextSibling}while(f==null)}e=f}while(e!=this.V);return null}; mti.s.prototype.aa=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;e0?",h={}":"",idx?u?",LLi=d.LLi||(d.LLi=++Selector.guid)":",LLi=++Selector.guid":"",n);return new Function("c",n)}}a.prototype={exec:function(l){var n=this.Bc,o=this.Ac,t=this.ab;l=n?s.call((l||f).querySelectorAll(t),n,this):Array.prototype.slice.call((l||f).querySelectorAll(t));return o? o.call(this,l):l},toString:aa("ab")};window.Selector=a;with(navigator.userAgent){var d=indexOf("MSIE")!=-1&&indexOf("Opera")==-1;indexOf("Gecko")!=-1&&indexOf("KHTML");var e=indexOf("AppleWebKit")!=-1}var f=document,k=f.documentElement,g=!!f.querySelectorAll,j=!!k.sb,m=j&&k.sb.Gc&&!e,h=!!k.compareDocumentPosition,p={},s=Array.prototype.map||function(l,n){for(var o=this.length,t=new Array(o);--o>=0;)t[o]=l.call(n,this[o],o,this);return t};with(f.implementation)var u=f.addEventListener&&(hasFeature("MutationEvents", "2.0")||hasFeature("Events","2.0")&&hasFeature("Core","2.0"));a.Hb=0;a.yc=function(l,n,o,t,r){var q=n.parentNode,C="LLi#"+r,B="LLi$"+r;if(!q)return Number.NaN;if(!n[C]||n.Fa!=l){for(var v=q.firstChild,x=0;v;v=v.nextSibling)if(v[t]==r){v[C]=++x;v.Fa=l}q[B]=x}return o?1+q[B]-n[C]:n[C]};if(u){e=function(l){with(l.target)if(nodeType!==2)ownerDocument.Fa=++a.Hb};f.addEventListener("DOMNodeInserted",e,false);f.addEventListener("DOMNodeRemoved",e,false)}c.prototype={type:function(l,n,o,t,r){with(this){l= /^\s*([\w-]+|\*)?(.*)/.exec(l);var q=l[1]||"*";if(!o&&r==" "&&!dup)dup=1;n=pred(l[2],n,o,q,r);switch(r){case ">":return m&&q!="*"?b('for(var n$1=n.children.tags("$2"),i$1=0;n=n$1[i$1++];){$3}',++i,q,n):b(j?"for(var n$1=n.children,i$1=0;n=n$1[i$1++];)$2{$3}":"for(n=n.firstChild;n;n=n.nextSibling)$2{$3}",++i,q!="*"?'if(n.nodeName==="'+q.toUpperCase()+'")':!j||d?"if(n.nodeType===1)":"",n);case "+":return b("while(n=n.nextSibling)if(n.node$1){$2break}else if(n.nodeType===1)break;",q=="*"?"Type===1":'Name==="'+ q.toUpperCase()+'"',n);case "~":return b("while(n=n.nextSibling)if(n.node$1){$3}else if(n.node$2)break;",q=="*"?"Type===1":'Name==="'+q.toUpperCase()+'"',t=="*"?"Type===1":'Name==="'+t.toUpperCase()+'"',n);default:return typeof n=="object"?String(n):o?q=="*"?n:b('if(n.nodeName!="$1"){$2}',q.toUpperCase(),n):b('for(var n$1=n.getElementsByTagName("$2"),i$1=0;n=n$1[i$1++];)$3{$4}',++i,q,d&&q=="*"?"if(n.nodeType===1)":"",n)}}}}});mti.Y=function(a,b,c){this.ta=false;this.b=a;this.a=b;this.c=c;a=c.pfL;this.D=[];this.qa={};this.Ya=c.otfJsParentUrl;for(c=0;c0){var d="-moz-font-feature-settings : '",e="-moz-font-feature-settings : ",f="-webkit-font-feature-settings : ",k="-ms-font-feature-settings : '",g="font-feature-settings : ",j="-o-font-feature-settings : ",m=false;for(c=0;c])))*\]+>)/gm,"");s=s.replace(/[\t]+/g," ").replace(/[ ][ ]/g," ");s=s.replace(/[\r\n]/g,"");return g(s)}(b);for(d=b.indexOf("font-feature-settings");d!=-1;){c=b.lastIndexOf("{",d);e=b.indexOf("}",d);if(c!=-1&&e!=-1){f=b.substring(c,e).split(";");if(f.length>0)for(d=0;d0){p=g(p);a.qa[p]=g(j.substring(m+1));break}}}}d=b.indexOf("font-feature-settings",e)}else d+=length("font-feature-settings")}}}mti.Y.prototype.Ta=function(a){if(!this.ta){ta(this);this.Oa(a)}}; mti.Y.prototype.load=function(a){this.Ma={};this.Ua=0;var b=this;if(!this.ta){ta(b);for(var c=0;c=0;j--)if(d[j]==b){g=f(a.qa[e[j]]);break}if(b.attributes!=null){b=b.attributes.getNamedItem("style");if(b!=null){b= k(b.value,null,true);if(b[0])g=b}}return g}} mti.Y.prototype.Oa=function(a){var b="",c="",d=false,e=[],f=[];for(var k in this.qa)Selector(k,document).forEach(function(t){e.push(t);f.push(k)});for(var g=[],j=[],m=0;m0)for(m=0;m9?parseInt(g[0]).toString(16):"0"+parseInt(g[0]).toString(16))+(parseInt(g[1])>9?parseInt(g[1]).toString(16): "0"+parseInt(g[1]).toString(16))+(parseInt(g[2])>9?parseInt(g[2]).toString(16):"0"+parseInt(g[2]).toString(16));var n=b[u],o=va(this,l);if(o!=null&&typeof n!="undefined"&&typeof n[1]!="undefined"&&n[1]!=""){o="otf_"+o.variationId;var t=n[1].split(" ");n=n[2].split(" ");for(var r=0;r").replace(/&/g,"").replace(/</g,"").replace(/>/g,"").replace(/"/g,"");t[r]=="kern"?window[o+t[r]](l,k):window[o+t[r]](l, n[r]);l.innerHTML=l.innerHTML.replace(//g," ").replace(//g,"&").replace(//g,"<").replace(//g,">").replace(//g,""")}}if(l!=null&&ra(this,l.parentNode)){l=l.innerHTML.replace(/\s+/g," ");if(d[p]!=k){u!=0&&p++;c[p]=l;d[p]=k}else c[p]+=l;l=l.split(/<[\/]?\s*\w.*?>/g);o="";for(t=0;t").replace(/&/g,"").replace(/</g,"").replace(/>/g,"").replace(/"/g,"");c=mti_K(m,1,e,0,0,2,f,h);if(c[1]==0)q.innerHTML=a;else q.innerHTML+=c[0].replace(//g," ").replace(//g,"&").replace(//g,"<").replace(//g,">").replace(//g, """)}}};function ua(a,b,c){var d=document.createElement("script");d.type="text/javascript";d.setAttribute("src",b);if(document.all&&(a.a.q<9||a.a.q>9))d.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete")c()};else d.onload=c;document.getElementsByTagName("head")[0].appendChild(d)} window.mti_CR=function(){for(var a=arguments[0].replace(/(\r\n|\n|\r)/g,""),b=a.split(/<[\/]?\s*\w.*?>/g),c="",d=arguments[1],e=arguments[2],f,k,g,j,m,h,p,s,u=0;u/g);var l="";if(j!=-1)l=a.substring(j,a.indexOf(">")+1);if(a.indexOf(">")!=-1)a=a.substring(a.indexOf(">")+1);var n=b[u];s=0;for(;s/g),k="",g="",j=0;j/g);var m="";if(g!=-1)m=a.substring(g,a.indexOf(">")+1);a=a.substring(a.indexOf(">")+1);var h=f[j];g="";for(var p=0;p0;u--){for(var l="",n=0;n/g),s=0,u=0,l=0,n;if(typeof Userkernstring!="undefined")n=Userkernstring.split(",");if(k==null){k=new Array(e.length);for(var o=0;o/g);k="";g=0;if(j!=-1){k=a.substring(j, a.indexOf(">")+1);a=a.substring(a.indexOf(">")+1)}var t=0;if(lMath.abs(t)){u=1;h+=''+p[o][r]+ "";t=0}else if(Math.abs(g)<0.5&&Math.abs(t)<0.5)h+=p[o][r]}}else if(Math.abs(t)<0.5)h+=p[o][r];else{if(d==0){u=1;h+=''+p[o][r]+""}else{u=1;h+=''+p[o][r]+""}t=0}s++}h+=k}return[h,u]};window.mti_HashTable=function(){var a={};this.Z=function(b,c){a[b]=c};this.Ea=function(b){return a[b]}}; window.mti_KernArr=function(a,b){var c=b.replace(/(\r\n|\n|\r)/g,"").split(/<[\/]?\s*\w.*?>/g);b="";for(var d=0;d/g),f;a=[];var k="",g=new mti_HashTable;d=new mti_HashTable;for(f=0;f-1&&a.b.ga(z[E],w,a.o[w],g,a.R)}var D=a.c.reqSub||X.EnableDSForAllFonts,y=null,G=null;if(f&&D){Da(a);Ea(a,function(){x()})}else if(!f&&D)x();else{y=new mti.s(document.body,a.b,a.c.pfL);G=Z(y);Ca(a,y.J);d=y.J();a.w.mti_element_cache=qa(y);a.i!=null&&mti.n(a.i,a.i.load,a.w.mti_element_cache)()}c(true)};if(X.isAsync===true)X.onReady=j;else{setTimeout(function(){document.documentElement.style.visibility=""},750);if(a.c.reqSub||X.EnableDSForAllFonts)if(X.CheckFontWatcher&& X.UseHybrid){var m={},h=0,p=a.c.pfL.length;b=a.c.projectId;e=a.c.ec;k=a.c.fcURL;for(var s=a.c.ck,u=0;u0&&b[0].appendChild(c)}function Ba(a){(a=document.getElementById("monotype_fake_fontface_"+a.c.projectId))&&a.parentNode.removeChild(a)} function Ea(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.b.t(c)==="opera_testfont"||(new Date).getTime()-e>200){try{document.documentElement.removeChild(c)}catch(f){}b();window.clearInterval(d)}},60)} function Fa(a,b){var c=a.c.ffArray,d=a.a.getName();d=d.toLowerCase();var e=a.a.q;if(d=="firefox")d="mozilla";if(/ipad|ipod|iphone/.test(a.a.cb.toLowerCase()))d="msafari";if(d.toLowerCase()=="mozilla"&&e=="Unknown"){e=a.a.$;d="msie"}if(d=="msafari"&&e.toLowerCase()=="unknown")e=a.a.bb.f+"."+a.a.bb.u;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 Ja(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}mti.d.prototype.o={}; function Ca(a,b,c,d){var e="TTF",f=a.c.projectId,k=a.c.ec,g=a.c.fcURL,j=a.c.dfcURL,m=a.b.createElement("style",{type:"text/css",id:"mti_fontface_"+(d?"Aj_":"")+a.c.projectId}),h="",p=false,s={},u={};a.o={};var l={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype",WOFF2:"woff2"},n=a.a.getName();n=n.toLowerCase();var o=a.a.q;if(n.toLowerCase()=="mozilla"&&o=="Unknown"){o=a.a.$;n="msie"}var t=n=="msie"&&o<8?true:false;o=n=="msie"&&o<=8?true:false;n=n=="opera"?true:false;var r=null,q= null;b||(b=[]);for(var C=0;C0||n||!y){z=n||!y?true:false;for(y=0;y0||u&&u.length>0){w+=(L||"")+na+"Mm";if(u!="")w+=u}}y=z+w;A=a.c.bsmcArray;w=a.a.getName();w=w.toLowerCase();if(w=="firefox")w="mozilla";if(/ipad|ipod|iphone/.test(a.a.cb.toLowerCase()))w="msafari";u=a.a.q;if(w.toLowerCase()=="mozilla"&&u=="Unknown"){u=a.a.$;w="msie"}A=A[w];w="";for(var ya in A)if(parseFloat(u)>= parseFloat(ya))w=A[ya];u=w;if(y.length>u){z=u-z.length;z={Xa:Math.ceil(y.length/z),zc:z}}else z={Xa:1};y=z.Xa;u=false;if(t&&y>1){y=1;u=true;B=false}z="";if(y>1||d){if(c!==null){p=true;s[E]||(s[E]=[]);if(c)var za=c[E];if(za){u=[];A="";w=A=(d?v.length>25?v.substring(0,20):v:v)+(d?d:"");w+=o&&q!=undefined&&r!=undefined?"_"+q.charAt(0)+r/100:q!=undefined&&r!=undefined?"_"+q.charAt(0)+r/100:"_n4";s[E].push(w);c[w]=za;z=y>1?$(a,x,f,false,k,g,j,a.c.ck,A,r,q,c,e,D):$(a,x,f,B,k,g,j,a.c.ck,A,r,q,c,e,D);if(z!= ""){h+='@font-face{\nfont-family:"'+(o&&q!=undefined&&r!=undefined?w:A)+'";';if(o==false&&r!=undefined&&q!=undefined){h+="\nfont-style:"+q+";";h+="\nfont-weight:"+r+";"}h+='\nsrc:url("'+z+'")';G||(h+=' format("'+l[e.toUpperCase()]+'")');h+=";}\n";u.push("'"+A+"'")}a.o[v]=u}else if(o&&!B){if(o&&r!=undefined&&q!=undefined)v+="_"+q.charAt(0)+r/100;z=$(a,x,f,B,k,g,j,a.c.ck,v+(d?d:""),r,q,u?null:c,e,D);if(z!=""){h+='@font-face{\nfont-family:"'+v+(d?d:"")+'";';if(o==false&&r!=undefined&&q!=undefined){h+= "\nfont-style:"+q+";";h+="\nfont-weight:"+r+";"}h+='\nsrc:url("'+z+'")';if(!G){v=x[e.toUpperCase()];e=l[e.toUpperCase()];v||(e=l.TTF);h+=" format('"+e+"')"}h+=";}\n"}}}}else{z=$(a,x,f,B,k,g,j,a.c.ck,v+(d?d:""),r,q,u?null:c,e,D);if(z!=""){D="";if(o&&r!=undefined&&q!=undefined){D="_"+q.charAt(0)+r/100;a.o[v]=v+D}h+='@font-face{\nfont-family:"'+v+(d?d:"")+D+'";';if(o==false&&r!=undefined&&q!=undefined){h+="\nfont-style:"+q+";";h+="\nfont-weight:"+r+";"}h+='\nsrc:url("'+z+'")';if(!G){v=x[e.toUpperCase()]; e=l[e.toUpperCase()];v||(e=l.TTF);h+=" format('"+(B==true&&e=="woff2"?"woff":e)+"')"}h+=";}\n"}}}}}if(p===true||d){a.b.eb(a.b.getElementById("mti_stylesheet_"+(d?"Aj_":"")+a.c.projectId)||{});d?xa(a,s,d):xa(a,s)}h!=""&&a.b.z("head",m);if(m.styleSheet)m.styleSheet.cssText=h;else{a=document.createTextNode(h);m.appendChild(a)}} function xa(a,b,c){var d=new ja("-"),e=a.b.createElement("style",{type:"text/css",id:"mti_stylesheet_"+(c?"Aj_":"")+a.c.projectId}),f="",k="";k=X.UseTextIndent==true?"text-align:left;text-indent:-9999px;font-size:0px":"visibility:hidden;";if(X.EnableCustomFOUTHandler==true){var g=a.c.pfL;f+="."+la+"-loading .mti_font_element"+(c?"_Aj":"")+"{"+k+"}\n";for(var j=0;j0)m=b[m].join("','");if(!c){if(d&&p!=undefined&&h!=undefined)m+="_"+p.charAt(0)+h/100;f+=j+"{font-family:'"+m+"';";if(d== false&&p!=undefined&&h!=undefined){f+="\n font-style:"+p+";";f+="\n font-weight:"+h+";"}if(a.i!=null){h=g.otf;p=g.vrnt;if(h&&h!=null&&h!="")f+=sa(a.i,h,p)}f+="}\n"}if(X.EnableCustomFOUTHandler==true){f+="/*fout specific code:*/\n";h=j.split(",");for(var s in h)f+="."+la+"-loading "+h[s]+"{"+k+"}\n"}}f!=""&&a.b.z("head",e);if(e.styleSheet)e.styleSheet.cssText=f;else{a=document.createTextNode(f);e.appendChild(a)}} mti.d.prototype.aa=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?j.substring(0,20):j)+"_"+fontVariation+"_f"}if(d==true&&La(a,t)&&!l)return $(a,b,c,false,e,f,k,g,j,m,h,p,s,u,true)}l=a.c.fontdataversion;var r=a.c.env;if(window.location.protocol=="https:")o="https://";f=f.replace("http://","").replace("https://","");k=k.replace("http://","").replace("https://","");f=o+f+(u?"ot/": "");k=o+k;if(d){t=k+"?";if(e)t+=g+"&";e=a.c.fctypeArray[s];t+="fctypeId="+(typeof e==="undefined"?"3":e)+"&fcId="+b.TTF+"&origId="+n;if(l=="v2"){t+="&fontdataversion=v2";if(r!="undefined"&&r!="")t+="&env="+r}}else if(e)if(n){if(l=="v2")f+=s.toUpperCase()=="EOT"?"2/":s.toUpperCase()=="WOFF"?"3/":s.toUpperCase()=="SVG"?"11/":s.toUpperCase()=="OTF"?"13/":s.toUpperCase()=="WOFF2"?"14/":"1/";t=f+n+"."+s.toLowerCase()+"?"+g}else t=f+"3/"+b.WOFF+".woff?"+g;else t=f+"?fctypeId="+a.c.fctypeArray[s]+"&fcId="+ n;t+="&projectId="+c;a.a.getName().toLowerCase();b=null;if(p)if(d||X.EnableDSForAllFonts){d="";p=Ja(a,p,j,m,h);if(p==null)return t="";p=a.aa(p).split("").sort().join("");j=j;if(a.R)j+="_"+h.charAt(0)+m/100;var q;b:{m=j;if(typeof Storage!=="undefined"){c:{try{q=window.localStorage.getItem(m)}catch(C){console&&console.log("MTI_webfont_service::localStorage.getItem error::"+C.message);q=false;break c}q=q==null?false:q.length>p.length?Ma(a,q,p)?q:false:false}if(q==false&&p)try{window.localStorage.setItem(m, p)}catch(B){console&&console.log("MTI_webfont_service::localStorage.setItem error::"+B.message)}else if(q.length>0){q=q;break b}}q=p}m=a.c.specialChar;h=m.length.toString().length;if(q&&typeof q=="string"){q=q.replace(/\s/g,"").replace(/\n/g,"").replace(/\r/g,"");j="";p=q.length;d=null;c="";e=[];for(f=0;f-1){if(mti.d.indexOf(e,d)==-1){e.push(d);c+=Ka(a,mti.d.indexOf(m,escape(d)),h)}}else if(j.indexOf(d)==-1)j+=d}a=j+"::"+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){t+="&content="+(b||"")+na+"Mm";if(d!="")t+=d}else t=""}if(s!=null&&s.toUpperCase()=="SVG")t+="#"+n;return t}mti.d.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}}t=o.fontWeight;o=o.fontStyle;r=o.charAt(0)+t/100;var q=n.split(","); for(l=0;l25?v.substring(0,20):v)+"_"+r+"_f";a.g.push(new Q(v,r));break}}else{a.g.push(new Q(v));B=true;break}}if(La(a,d)&&B){d=false;contentIdArray=C.contentIds;enableOtf=C.enableOtf;fFormat=Fa(a,contentIdArray); C=v;if(p&&m!=undefined&&j!=undefined)C+="_"+m.charAt(0)+j/100;fontURL=$(a,contentIdArray,e,false,f,k,"",g,C,j,m,null,fFormat,enableOtf);if(fontURL!=""){c+='@font-face{\nfont-family:"'+v+'";';if(p==false&&j!=undefined&&m!=undefined){c+="\nfont-style:"+m+";";c+="\nfont-weight:"+j+";"}c+='\nsrc:url("'+fontURL+'")';if(!(fFormat!=null&&fFormat.toUpperCase()=="EOT"||fFormat.toUpperCase()=="MTX")){j=contentIdArray[fFormat.toUpperCase()];m=u[fFormat.toUpperCase()];j||(m=u.TTF);c+=" format('"+m+"')"}c+=";}\n"}if(h.styleSheet){j= h.styleSheet.cssText;j=j.replace(v,"xxx");h.styleSheet.cssText=j;h.styleSheet.cssText+=c}else h.innerHTML+=c;document.getElementById(b).style.fontFamily=""+n;document.getElementById(b).removeAttribute("data-mtiFont");v="";if(document.getElementById(b).hasChildNodes()){v=document.getElementById(b).childNodes;for(c=0;c-1)if(E[w].getAttribute("id")== b)a.b.ga(E[w],A,a.o[A],p,a.R);else a.b.Lb(a.b.getElementById(b),E[w])&&a.b.t(E[w]).replace(/'|"/g,"").indexOf(A)>-1&&a.b.ga(E[w],A,a.o[A],p,a.R);E=a.o[A]==null?0:a.o[A].length;for(w=0;w0;){for(var V= 0;V -1){b();mti.d.O=true}else setTimeout(arguments.callee,50)})();else if(c.addEventListener)if(c.readyState=="loading")c.addEventListener("DOMContentLoaded",function(){b();mti.d.O=true},false);else window.onload=function(){b();mti.d.O=true};else window.onload=function(){b();mti.d.O=true}}}mti.d.prototype.ib=function(a){function b(){document.body?a():setTimeout(b,0)}b()}; mti.d.prototype.na=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,j,m=c.a.q,h=c.a.getName();h=h.toLowerCase();var p=h=="msie"&&m<=8?true:false;h=false;var s={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype",WOFF2:"woff2"};m=[];for(var u=0;u25?o.substring(0,20):o)+"_"+fontVariation+"_f"}}break}if(n){r=o+"_f";if(l.enableSubsetting||X.EnableDSForAllFonts){if(l.fontWeight!=undefined&&l.fontStyle!=undefined){g=l.fontWeight;j=l.fontStyle;fontVariation=j.charAt(0)+g/100;r=(o.length>25?o.substring(0,20):o)+"_"+fontVariation+"_f"}m.push(r);contentIdArray=l.contentIds;enableOtf=l.enableOtf;if(!La(c, r)){h=true;fFormat=Fa(c,contentIdArray);fontURL=$(c,contentIdArray,d,false,e,f,"",k,o,g,j,null,fFormat,enableOtf);if(fontURL!=""){if(p&&j!=undefined&&g!=undefined)o+="_"+j.charAt(0)+g/100;a+='@font-face{\nfont-family:"'+r+'";';if(p==false&&g!=undefined&&j!=undefined){a+="\nfont-style:"+j+";";a+="\nfont-weight:"+g+";"}a+='\nsrc:url("'+fontURL+'")';if(!(fFormat!=null&&fFormat.toUpperCase()=="EOT"||fFormat.toUpperCase()=="MTX")){l=contentIdArray[fFormat.toUpperCase()];n=s[fFormat.toUpperCase()];l||(n= s.TTF);a+=" format('"+n+"')"}a+=";}\n"}}}}}g=c.b.getElementById("mti_fontface_"+d);if(g==null){g=c.b.createElement("style",{type:"text/css",id:"mti_fontface_"+(b?"Aj_":"")+c.c.projectId});a!=""&&c.b.z("head",g)}if(g.styleSheet)if(g.styleSheet.cssText!=""){g=c.b.getElementById("mti_fontface_"+(b?"hybridAjaxIE_":"hybridIE_")+c.c.projectId);if(g==null){g=c.b.createElement("style",{type:"text/css",id:"mti_fontface_"+(b?"hybridAjaxIE_":"hybridIE_")+c.c.projectId});a!=""&&c.b.z("head",g)}g.styleSheet.cssText= a}else g.styleSheet.cssText=a;else g.innerHTML+=a;if(h){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=ade92d31-45c7-457f-a4d0-796dd71f1669"); head.appendChild(cssEle); }}window['mti_element_cache'] = [];};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: true, otfJsParentUrl: '//fast.fonts.net/jsapi/otjs/',pfL:[{'fontfamily' : "PT Serif W02 Book" ,contentIds :{EOT: 'ca76b1e7-65cf-4115-a434-dd1714dbda80',WOFF: '8fcb97db-d517-4209-9d38-fca6446cf25a',WOFF2: '7f71303d-307f-4ed9-9eda-559702ed4fcf',TTF: '54b2a2dc-4bbc-458a-b675-b61646963847',SVG: 'ac74cbb8-bf3b-437a-967f-24201b591eb7'}, enableSubsetting : false, enableOtf: false },{'fontfamily' : "PT Serif W02 Bold" ,contentIds :{EOT: '437339c6-4039-4128-8098-346e72e31ad3',WOFF: 'd91a443e-6d15-47a8-a2a3-eae8a0e7fea1',WOFF2: 'eade0be3-066a-4346-a374-cdc30600d973',TTF: '6da10b15-9a7e-444a-aac5-dd84a7ba4c73',SVG: '96349548-9f62-49ed-9868-7e838fe76ffe'}, enableSubsetting : false, enableOtf: false },{'fontfamily' : "Trajan W08 Bold_1166737" ,contentIds :{EOT: '8f1b7b29-3c16-4ed4-a877-cd6590226869',WOFF: '86cc5f13-d720-476e-9223-cfb097388154',WOFF2: '6a1d267d-66b6-41d1-94d1-41c4ff9fa7d4',TTF: 'b58f31e7-8fa0-485a-a559-490d1631b420',SVG: '132aa541-39c1-47a3-a683-77cb9463a65d'}, enableSubsetting : false, enableOtf: true, variationId: 1166737, otfJsContentId: 'b58f31e7-8fa0-485a-a559-490d1631b420' }],selectorFontMap:{},ck:'d44f19a684109620e484157fa190e8186ed6e34b53a6c2856a7824c943a1ba2134c57541daead702c47fbe9be513a9975a608720f254cfcdea3909a895e7cf4a3313517024d484a408dac0702291a580add9fc0412761b4dee925ba7fa58023a235fdfaee4cfb8aed9b22ffdfc02f0d2d657b8756ea8b605b0b212d797ae4ceaf0a99badde28f3be1aa5685325d81f3bf57c80bd41c53073347917b79067bbf11efb565faeaf',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' : 'woff2'}, msie: {'4' : 'eot', '9' : 'woff', '10':'otf'}, mozilla: {'3.5' : 'ttf', '3.6' : '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:'ade92d31-45c7-457f-a4d0-796dd71f1669',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