document.getElementById("fontFaceObserverScript").addEventListener("load",(function(){[{name:"Open Sans",options:{weight:400},class:"font-loaded"},{name:"Open Sans ExtraBold",options:{weight:700},class:"font-loaded-OSEB"},{name:"Open Sans Bold",options:{weight:700},class:"font-loaded-OSB"}].forEach((function(e){new FontFaceObserver(e.name,e.options).load().then((function(){document.body.classList.add(e.class)})).catch((function(){console.warn(`${e.name} (${e.options.weight}) failed to load`)}))}))})),function(){function e(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function t(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function n(e,t){e.g.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function o(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function i(t,n){function i(){var e=s;o(e)&&null!==e.g.parentNode&&n(e.l)}var s=t;e(t.h,i),e(t.i,i),o(t)}function s(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var a=null,d=null,l=null,c=null;function r(e){return null===c&&(c=!!e.document.fonts),c}function h(e,t){var n=e.style,o=e.weight;if(null===l){var i=document.createElement("div");try{i.style.font="condensed 100px sans-serif"}catch(e){}l=""!==i.style.font}return[n,o,l?e.stretch:"","100px",t].join(" ")}s.prototype.load=function(e,o){var s=this,l=e||"BESbswy",c=0,u=o||3e3,f=(new Date).getTime();return new Promise((function(e,o){if(r(s.context)&&!function(e){return null===d&&(r(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),d=!!e&&603>parseInt(e[1],10)):d=!1),d}(s.context)){var m=new Promise((function(e,t){!function n(){(new Date).getTime()-f>=u?t(Error(u+"ms timeout exceeded")):s.context.document.fonts.load(h(s,'"'+s.family+'"'),l).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),p=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([p,m]).then((function(){clearTimeout(c),e(s)}),o)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function d(){var t;(t=-1!=w&&-1!=g||-1!=w&&-1!=v||-1!=g&&-1!=v)&&((t=w!=g&&w!=v&&g!=v)||(null===a&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),a=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=a&&(w==y&&g==y&&v==y||w==x&&g==x&&v==x||w==E&&g==E&&v==E)),t=!t),t&&(null!==b.parentNode&&b.parentNode.removeChild(b),clearTimeout(c),e(s))}var r=new t(l),m=new t(l),p=new t(l),w=-1,g=-1,v=-1,y=-1,x=-1,E=-1,b=document.createElement("div");b.dir="ltr",n(r,h(s,"sans-serif")),n(m,h(s,"serif")),n(p,h(s,"monospace")),b.appendChild(r.g),b.appendChild(m.g),b.appendChild(p.g),s.context.document.body.appendChild(b),y=r.g.offsetWidth,x=m.g.offsetWidth,E=p.g.offsetWidth,function e(){if((new Date).getTime()-f>=u)null!==b.parentNode&&b.parentNode.removeChild(b),o(Error(u+"ms timeout exceeded"));else{var t=s.context.document.hidden;!0!==t&&void 0!==t||(w=r.g.offsetWidth,g=m.g.offsetWidth,v=p.g.offsetWidth,d()),c=setTimeout(e,50)}}(),i(r,(function(e){w=e,d()})),n(r,h(s,'"'+s.family+'",sans-serif')),i(m,(function(e){g=e,d()})),n(m,h(s,'"'+s.family+'",serif')),i(p,(function(e){v=e,d()})),n(p,h(s,'"'+s.family+'",monospace'))}))}))},"object"==typeof module?module.exports=s:(window.FontFaceObserver=s,window.FontFaceObserver.prototype.load=s.prototype.load)}(),document.getElementById("fontFaceObserverScript").addEventListener("load",(function(){[{name:"Open Sans",options:{weight:400},class:"font-loaded"},{name:"Open Sans ExtraBold",options:{weight:700},class:"font-loaded-OSEB"},{name:"Open Sans Bold",options:{weight:700},class:"font-loaded-OSB"}].forEach((function(e){new FontFaceObserver(e.name,e.options).load().then((function(){document.body.classList.add(e.class)})).catch((function(){console.warn(`${e.name} (${e.options.weight}) failed to load`)}))}))}));