;(function(window,document,undefined){var w,aa=aa||{};function ba(a,c,b){return a.call.apply(a.bind,arguments)}function ca(a,c,b){if(!a)throw Error();if(2w';a.b=/top/.test(e.getElementsByTagName("a")[0].getAttribute("style"))}a.b?c.setAttribute("style",b):c.style.cssText=b} w.getComputedStyle=function(a){if("undefined"!=typeof a&&null!=a){if(1!=a.nodeType)return"";var c={};if("undefined"!=typeof a.currentStyle&&null!=a.currentStyle)return c.fontFamily=a.currentStyle.fontFamily,c.fontWeight="normal"==a.currentStyle.fontWeight?400:"bold"==a.currentStyle.fontWeight?700:a.currentStyle.fontWeight,c.fontStyle=a.currentStyle.fontStyle,c;a=this.A.defaultView.getComputedStyle(a,null);if("undefined"!=typeof a&&null!=a)return c.fontFamily=a.getPropertyValue("font-family"),c.fontWeight= "normal"==a.getPropertyValue("font-weight")?400:"bold"==a.getPropertyValue("font-weight")?700:a.getPropertyValue("font-weight"),c.fontStyle=a.getPropertyValue("font-style"),c}return""};w.D=function(a){if("undefined"!=typeof a&&null!=a){if("undefined"!=typeof a.currentStyle)return a.currentStyle.fontFamily;if(a=this.A.defaultView.getComputedStyle(a,null))return a.getPropertyValue("font-family")}return""}; function na(a,c){var b="";if(void 0!=typeof c&&null!=c){void 0!=c&&null!=c&&"INPUT"==c.tagName&&(b+=c.value);c=c.childNodes||c;for(var e="img script noscript iframe object style param embed link meta head title br hr svg path".split(" "),d=0;da.indexOf(e,c[d].tagName?c[d].tagName.toLowerCase():"")){var f;f=(f=c[d].parentNode)?"undefined"!=typeof f.currentStyle?f.currentStyle.textTransform:(f=a.A.defaultView.getComputedStyle(f,null))?f.getPropertyValue("text-transform"): "":void 0;if("none"!=f)f=1!=c[d].nodeType?c[d].nodeValue.replace(/(?:\r\n|\r|\n)/g," "):"",b+=f.toLowerCase()+f.toUpperCase();else{if("none"!=oa(a,c[d].parentNode)){var h=c[d].parentNode;f=oa(a,c[d].parentNode);if("undefined"!=typeof h){for(var g=h.childNodes,l=h=0;le.i||536==e.i&&11>e.G))}function P(a,c,b){return(a=a.match(c))&&a[b]?a[b]:""};function Ca(a){this.g=a||"-"}Ca.prototype.b=function(a){for(var c=[],b=0;b=a.Ka?a.ga.b&&La(a,c,b)&&(null===a.ea||a.ea.hasOwnProperty(a.b.getName()))?Na(a,a.ca):Na(a,a.Ha):Oa(a):Na(a,a.ca)}function Oa(a){setTimeout(da(function(){Ma(this)},a),25)}function Na(a,c){ia(a.g.b);ia(a.s.b);c(a.b)};function Pa(a,c,b,e){this.a=c;this.b=b;this.g=0;this.I=this.s=!1;this.ga=e;this.ea=a.b} function Qa(a,c,b,e,d){if(0===c.length&&d)Ga(a.b);else for(a.g+=c.length,d&&(a.s=d),d=0;d=parseFloat(U)&&(D=J[U]);r=D;f=I.length>r?Math.ceil(I.length/(r-f.length)):1;J=f;D="";if(1a.a.indexOf(a.O,p)&& !x&&!u&&!v&&a.O.push(p)),""!=n&&(n+="&projectId="+b,null!=q&&"SVG"==q.toUpperCase()&&(n+="#"+y));return n}var y=c[q.toUpperCase()],n,z,t,B,A,F;T.UseHybrid&&(F=X(g),a.j?(A=k.charAt(0)+l/100,F=X(g,A)):A="n4",1==e&&ib(F)&&(e=!1));F=new V;if(F.fa(r))n=p(r,F);else if(e||T.EnableDSForAllFonts){if(m){m=bb(m,g,l,k);if(null==m)return n="";if(m){B=m.split("").sort().join("");m=g;a.v&&(m+="_"+k.charAt(0)+l/100);B=eb(a,B,m,v);v&&(a.v?m=m.substring(0,m.length-8)+"_"+k.charAt(0)+l/100:m=m.substring(0,m.length- 5)+"_n4",a.X[m]=B);B=jb(a,B).split("::");m=B[0];B=B[1].replace(":","");m&&(t=m.replace('"',"").replace("?","").replace(";","").replace("#","").replace("&","").replace("%","%25"));if(t&&0a.length)){var e=this.f.projectId,d=this.f.fcURL,f=this.f.ck,h="",g,l,k="msie"==this.c.getName()?!0:!1,m=!1,q={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype",WOFF2:"woff2"},u=[];a=b?a:this.h;for(var v=0,x="n4",r=0;rthis.a.indexOf(this.da,z)&&(fFormat=this.U(contentIdArray),fontURL=fb(this,contentIdArray,e,!1,d,"",f,n,g,l,null,fFormat,enableOtf,!1,!0),""!=fontURL&&(this.da.push(z),h+='@font-face{\nfont-family:"'+z+'";',h+='\nsrc:url("'+fontURL+'")',null!=fFormat&&"EOT"==fFormat.toUpperCase()||"MTX"==fFormat.toUpperCase()||(p=q[fFormat.toUpperCase()],contentIdArray[fFormat.toUpperCase()]|| (p=q.TTF),h+=" format('"+p+"')"),h+=";}\n"))))}""!=h&&(b=this.a.getElementById("mti_fontface_"+e),null==b&&(b=this.a.createElement("style",{type:"text/css",id:"mti_fontface_"+this.f.projectId}),""!=h&&C(this.a,"head",b)),b.styleSheet?""!=b.styleSheet.cssText?(k=this.a.getElementById("mti_fontface_"+(c?"hybridAjaxIE_":"hybridIE_")+this.f.projectId),null==k&&(k=this.a.createElement("style",{type:"text/css",id:"mti_fontface_"+(c?"hybridAjaxIE_":"hybridIE_")+this.f.projectId}),""!=h&&C(this.a,"head", k)),k.styleSheet.cssText=h):b.styleSheet.cssText=h:k?(k=this.a.getElementById("mti_fontface_"+(c?"hybridAjaxIE_":"hybridIE_")+this.f.projectId),null==k&&(k=this.a.createElement("style",{type:"text/css",id:"mti_fontface_"+(c?"hybridAjaxIE_":"hybridIE_")+this.f.projectId}),""!=h&&C(this.a,"head",k)),k.innerHTML+=h):b.innerHTML+=h);if(m){c=[];for(h=0;hd.a.indexOf(d.Ea,a.tagName.toLowerCase())&&(e?d.ua(a,e):d.ua(a)),a=a.firstChild;a;)c(a,e,d),a=a.nextSibling}return{ua:function(c, e){var d=this.Ma,f=this.a.getComputedStyle(c),h=f.fontFamily,g="",l=f.fontStyle,k=0,m=0,q="",h=(h||"").replace(/^\s|\s$/g,"").replace(/'|"/g,"").replace(/,\s*/g,"|");if(""!=h)for(var h=h.split("|"),u="",k=0;k=parseFloat(d)&&a[c[d].toUpperCase()]&&(b=c[d]);return b};function kb(){for(var a="",c=0;5>c;c++)a+="abcdefghijklmnopqrstuvwxyz".charAt(Math.floor(26*Math.random()));return a} function lb(a,c){for(var b=0,e=0,d=!1,f=a.length,h=c.length,b=0;b=parseFloat(d)&&a[c[d].toUpperCase()]&&(b=c[d]);""===b&&(b="ttf");return b}; function hb(a){var c=W(a,"ffArray"),b=a.H,e=a.version.i+a.version.G/10;"firefox"==a.H&&(b="mozilla");/ipad|ipod|iphone/.test(a.c.ia.toLowerCase())&&(b="msafari");a=c[b];var c="",d;for(d in a)parseFloat(e)>=parseFloat(d)&&(c=a[d]);""===c&&(c="ttf");return c}w.fa=function(a){var c=!1;void 0!=typeof a&&null!=a&&""!=a&&(void 0!=typeof a.lang&&null!=a.lang&&""!=a.lang?c=!0:void 0!=typeof a.unicode&&null!=a.unicode&&""!=a.unicode?c=!0:void 0!=typeof a.text&&null!=a.text&&""!=a.text&&(c=!0));return c}; w.isArray=function(a){return Array.isArray?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)};function X(a,c){void 0===c&&(c="n4");return a+"_"+c+"_f"}function mb(a,c){for(var b in c)if(a==c[b])return b;return!1};function nb(a,c,b){if(!window.MutationObserver||b){var e="string"==typeof c?document.getElementById(c):c;if(null!==e){b=!0;a.h=[];var d=a.f.projectId,f=a.f.fcURL,h=a.f.ck,g="",l,k,m={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype",WOFF2:"woff2"};b=!0;if(T.UseHybrid){b=!1;var q=a.a.getElementById("mti_fontface_"+d);null==q&&(q=a.a.createElement("style",{type:"text/css",id:"mti_fontface_"+d}),C(a.a,"head",q));var u=e.getAttribute("data-mtiFont"),v=a.a.getComputedStyle(e);null==u&& (u=v.fontFamily.replace(/^\s|\s$/g,"").replace(/'|"/g,""));for(var x=[],r=0;ra.a.indexOf(x,u))for(r=e.childNodes,y=0;yd.childNodes.length||""==d.innerHTML)return!1;void 0!=typeof d&&null!=d&&3==d.nodeType&&(d=void 0!==d.parentElement?d.parentElement:d.parentNode);if(0c)){for(var f=0;fa.a.indexOf(r,v))for(p=e.childNodes,n=0;n>>0;b--;)c[b]=a[b];return c} function tb(a,c){var b="img script noscript iframe object style param embed link meta head title br hr svg path".split(" "),e=sb(a,c),d,f;e.u&&(d=e.N,f="n4",a.j&&(f=e.fontStyle.charAt(0)+e.fontWeight/100));if(void 0!==c&&null!==c&&""!==c&&c.tagName&&1===c.nodeType&&0>a.a.indexOf(b,c.tagName.toLowerCase())){var h=na(a.a,c),b=!1;""!=h.replace(/\s/g,"")&&e.u&&(500>h.length?(e=h.split("").sort().join(""),eb(a,e,d+"abcde"+(a.j?"_"+f:""),!0)!=a.X[d+"_"+f]&&(b=!0)):b=!0,b&&E(c,"mti_hide_element"));for(c= c.firstChild;c;)tb(a,c),c=c.nextSibling}}function pb(a){var c,b=a.length,e=!1;for(c=0;cc.length?lb(f,c)?f:!1:!1}if(0==a&&c){a=c;try{var g=window.localStorage.getItem(b);null!=g&&(a+=g);a=ua(a).split("").sort().join(""); window.localStorage.setItem(b,a)}catch(l){console&&console.log("MTI_webfont_service::localStorage.setItem error::"+l.message)}}else if(0a.c.Ba.i?function(){-1< ["loaded","complete"].indexOf(b.readyState)?(c(),mti.o.b=!0):setTimeout(arguments.callee,50)}():b.addEventListener?"loading"==b.readyState?b.addEventListener("DOMContentLoaded",function(){c();mti.o.b=!0},!1):window.addEventListener("load",function(){c();mti.o.b=!0},!1):window.onload=function(){c();mti.o.b=!0}}} function Za(a,c,b){"complete"==document.readyState?setTimeout(function(){c.apply(a,[a.h,b,!1])},500):document.addEventListener("readystatechange",function(){"complete"==document.readyState&&setTimeout(function(){c.apply(a,[a.h,b,!1])},500)});document.addEventListener?document.addEventListener("keydown",function(b){a.pa.apply(a,[b])}):window.attachEvent?window.attachEvent("onkeydown",function(b){a.pa.apply(a,[b])}):document.addEventListener("keydown",function(b){a.pa.apply(a,[b])})}; })(this,document);