PageSourceSearch

https://www.curasight.com/main.js?1774614054815

js curasight.com collected 2026-10-04 19:38:27 UTC 109,013 bytes, 79 lines download raw bytes

vendor: 13,595 bytes, lines 1-2
1/* Zepto 1.2.0 - zepto selector event data ajax form - zeptojs.com/license */
2!function(t,e){"function"==typeof define&&define.amd?define(function(){return e(t)}):e(t)}(window,function(t){var e=function(){function L(t){return null==t?String(t):T[N.call(t)]||"object"}function $(t){return"function"==L(t)}function k(t){return null!=t&&t==t.window}function F(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function M(t){return"object"==L(t)}function q(t){return M(t)&&!k(t)&&Object.getPrototypeOf(t)==Object.prototype}function z(t){var e=!!t&&"length"in t&&t.length,n=i.type(t);return"function"!=n&&!k(t)&&("array"==n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function R(t){return s.call(t,function(t){return null!=t})}function Z(t){return t.length>0?i.fn.concat.apply([],t):t}function H(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function V(t){return t in l?l[t]:l[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function I(t,e){return"number"!=typeof e||h[H(t)]?e:e+"px"}function _(t){var e,n;return c[t]||(e=f.createElement(t),f.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),c[t]=n),c[t]}function B(t){return"children"in t?u.call(t.children):i.map(t.childNodes,function(t){return 1==t.nodeType?t:void 0})}function U(t,e){var n,i=t?t.length:0;for(n=0;i>n;n++)this[n]=t[n];this.length=i,this.selector=e||""}function X(t,i,r){for(n in i)r&&(q(i[n])||A(i[n]))?(q(i[n])&&!q(t[n])&&(t[n]={}),A(i[n])&&!A(t[n])&&(t[n]=[]),X(t[n],i[n],r)):i[n]!==e&&(t[n]=i[n])}function J(t,e){return null==e?i(t):i(t).filter(e)}function W(t,e,n,i){return $(e)?e.call(t,n,i):e}function Y(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function G(t,n){var i=t.className||"",r=i&&i.baseVal!==e;return n===e?r?i.baseVal:i:void(r?i.baseVal=n:t.className=n)}function K(t){try{return t?"true"==t||("false"==t?!1:"null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?i.parseJSON(t):t):t}catch(e){return t}}function Q(t,e){e(t);for(var n=0,i=t.childNodes.length;i>n;n++)Q(t.childNodes[n],e)}var e,n,i,r,S,O,o=[],a=o.concat,s=o.filter,u=o.slice,f=t.document,c={},l={},h={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},p=/^\s*<(\w+|!)[^>]*>/,d=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,m=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,v=/^(?:body|html)$/i,g=/([A-Z])/g,y=["val","css","html","text","data","width","height","offset"],x=["after","prepend","before","append"],b=f.createElement("table"),E=f.createElement("tr"),w={tr:f.createElement("tbody"),tbody:b,thead:b,tfoot:b,td:E,th:E,"*":f.createElement("div")},j=/^[\w-]*$/,T={},N=T.toString,C={},P=f.createElement("div"),D={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},A=Array.isArray||function(t){return t instanceof Array};return C.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=P).appendChild(t),i=~C.qsa(r,e).indexOf(t),o&&P.removeChild(t),i},S=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},O=function(t){return s.call(t,function(e,n){return t.indexOf(e)==n})},C.fragment=function(t,n,r){var o,a,s;return d.test(t)&&(o=i(f.createElement(RegExp.$1))),o||(t.replace&&(t=t.replace(m,"<$1></$2>")),n===e&&(n=p.test(t)&&RegExp.$1),n in w||(n="*"),s=w[n],s.innerHTML=""+t,o=i.each(u.call(s.childNodes),function(){s.removeChild(this)})),q(r)&&(a=i(o),i.each(r,function(t,e){y.indexOf(t)>-1?a[t](e):a.attr(t,e)})),o},C.Z=function(t,e){return new U(t,e)},C.isZ=function(t){return t instanceof C.Z},C.init=function(t,n){var r;if(!t)return C.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&p.test(t))r=C.fragment(t,RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);r=C.qsa(f,t)}else{if($(t))return i(f).ready(t);if(C.isZ(t))return t;if(A(t))r=R(t);else if(M(t))r=[t],t=null;else if(p.test(t))r=C.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);r=C.qsa(f,t)}}return C.Z(r,t)},i=function(t,e){return C.init(t,e)},i.extend=function(t){var e,n=u.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){X(t,n,e)}),t},C.qsa=function(t,e){var n,i="#"==e[0],r=!i&&"."==e[0],o=i||r?e.slice(1):e,a=j.test(o);return t.getElementById&&a&&i?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:u.call(a&&!i&&t.getElementsByClassName?r?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},i.contains=f.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},i.type=L,i.isFunction=$,i.isWindow=k,i.isArray=A,i.isPlainObject=q,i.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},i.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},i.inArray=function(t,e,n){return o.indexOf.call(e,t,n)},i.camelCase=S,i.trim=function(t){return null==t?"":String.prototype.trim.call(t)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(t,e){var n,r,o,i=[];if(z(t))for(r=0;r<t.length;r++)n=e(t[r],r),null!=n&&i.push(n);else for(o in t)n=e(t[o],o),null!=n&&i.push(n);return Z(i)},i.each=function(t,e){var n,i;if(z(t)){for(n=0;n<t.length;n++)if(e.call(t[n],n,t[n])===!1)return t}else for(i in t)if(e.call(t[i],i,t[i])===!1)return t;return t},i.grep=function(t,e){return s.call(t,e)},t.JSON&&(i.parseJSON=JSON.parse),i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){T["[object "+e+"]"]=e.toLowerCase()}),i.fn={constructor:C.Z,length:0,forEach:o.forEach,reduce:o.reduce,push:o.push,sort:o.sort,splice:o.splice,indexOf:o.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=C.isZ(e)?e.toArray():e;return a.apply(C.isZ(this)?this.toArray():this,n)},map:function(t){return i(i.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return i(u.apply(this,arguments))},ready:function(e){if("complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll)setTimeout(function(){e(i)},0);else{var n=function(){f.removeEventListener("DOMContentLoaded",n,!1),t.removeEventListener("load",n,!1),e(i)};f.addEventListener("DOMContentLoaded",n,!1),t.addEventListener("load",n,!1)}return this},get:function(t){return t===e?u.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return o.every.call(this,function(e,n){return t.call(e,n,e)!==!1}),this},filter:function(t){return $(t)?this.not(this.not(t)):i(s.call(this,function(e){return C.matches(e,t)}))},add:function(t,e){return i(O(this.concat(i(t,e))))},is:function(t){return"string"==typeof t?this.length>0&&C.matches(this[0],t):t&&this.selector==t.selector},not:function(t){var n=[];if($(t)&&t.call!==e)this.each(function(e){t.call(this,e)||n.push(this)});else{var r="string"==typeof t?this.filter(t):z(t)&&$(t.item)?u.call(t):i(t);this.forEach(function(t){r.indexOf(t)<0&&n.push(t)})}return i(n)},has:function(t){return this.filter(function(){return M(t)?i.contains(this,t):i(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!M(t)?t:i(t)},last:function(){var t=this[this.length-1];return t&&!M(t)?t:i(t)},find:function(t){var e,n=this;return e=t?"object"==typeof t?i(t).filter(function(){var t=this;return o.some.call(n,function(e){return i.contains(e,t)})}):1==this.length?i(C.qsa(this[0],t)):this.map(function(){return C.qsa(this,t)}):i()},closest:function(t,e){var n=[],r="object"==typeof t&&i(t);return this.each(function(i,o){for(;o&&!(r?r.indexOf(o)>=0:C.matches(o,t));)o=o!==e&&!F(o)&&o.parentNode;o&&n.indexOf(o)<0&&n.push(o)}),i(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=i.map(n,function(t){return(t=t.parentNode)&&!F(t)&&e.indexOf(t)<0?(e.push(t),t):void 0});return J(e,t)},parent:function(t){return J(O(this.pluck("parentNode")),t)},children:function(t){return J(this.map(function(){return B(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||u.call(this.childNodes)})},siblings:function(t){return J(this.map(function(t,e){return s.call(B(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return i.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=_(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=$(t);if(this[0]&&!e)var n=i(t).get(0),r=n.parentNode||this.length>1;return this.each(function(o){i(this).wrapAll(e?t.call(this,o):r?n.cloneNode(!0):n)})},wrapAll:function(t){if(this[0]){i(this[0]).before(t=i(t));for(var e;(e=t.children()).length;)t=e.first();i(t).append(this)}return this},wrapInner:function(t){var e=$(t);return this.each(function(n){var r=i(this),o=r.contents(),a=e?t.call(this,n):t;o.length?o.wrapAll(a):r.append(a)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var n=i(this);(t===e?"none"==n.css("display"):t)?n.show():n.hide()})},prev:function(t){return i(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return i(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;i(this).empty().append(W(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=W(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(t,i){var r;return"string"!=typeof t||1 in arguments?this.each(function(e){if(1===this.nodeType)if(M(t))for(n in t)Y(this,n,t[n]);else Y(this,t,W(this,i,e,this.getAttribute(t)))}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(t))?r:e},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){Y(this,t)},this)})},prop:function(t,e){return t=D[t]||t,"string"!=typeof t||1 in arguments?this.each(function(i){if(M(t))for(n in t)this[D[n]||n]=t[n];else this[t]=W(this,e,i,this[t])}):this[0]&&this[0][t]},removeProp:function(t){return t=D[t]||t,this.each(function(){delete this[t]})},data:function(t,n){var i="data-"+t.replace(g,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?K(r):e},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each(function(e){this.value=W(this,t,e,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each(function(t){var n=i(this),r=W(this,e,t,n.offset()),o=n.offsetParent().offset(),a={top:r.top-o.top,left:r.left-o.left};"static"==n.css("position")&&(a.position="relative"),n.css(a)});if(!this.length)return null;if(f.documentElement!==this[0]&&!i.contains(f.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+t.pageXOffset,top:n.top+t.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(t,e){if(arguments.length<2){var r=this[0];if("string"==typeof t){if(!r)return;return r.style[S(t)]||getComputedStyle(r,"").getPropertyValue(t)}if(A(t)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(t,function(t,e){o[e]=r.style[S(e)]||a.getPropertyValue(e)}),o}}var s="";if("string"==L(t))e||0===e?s=H(t)+":"+I(t,e):this.each(function(){this.style.removeProperty(H(t))});else for(n in t)t[n]||0===t[n]?s+=H(n)+":"+I(n,t[n])+";":this.each(function(){this.style.removeProperty(H(n))});return this.each(function(){this.style.cssText+=";"+s})},index:function(t){return t?this.indexOf(i(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return t?o.some.call(this,function(t){return this.test(G(t))},V(t)):!1},addClass:function(t){return t?this.each(function(e){if("className"in this){r=[];var n=G(this),o=W(this,t,e,n);o.split(/\s+/g).forEach(function(t){i(this).hasClass(t)||r.push(t)},this),r.length&&G(this,n+(n?" ":"")+r.join(" "))}}):this},removeClass:function(t){return this.each(function(n){if("className"in this){if(t===e)return G(this,"");r=G(this),W(this,t,n,r).split(/\s+/g).forEach(function(t){r=r.replace(V(t)," ")}),G(this,r.trim())}})},toggleClass:function(t,n){return t?this.each(function(r){var o=i(this),a=W(this,t,r,G(this));a.split(/\s+/g).forEach(function(t){(n===e?!o.hasClass(t):n)?o.addClass(t):o.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)}
2)}},scrollLeft:function(t){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),r=v.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(i(t).css("margin-top"))||0,n.left-=parseFloat(i(t).css("margin-left"))||0,r.top+=parseFloat(i(e[0]).css("border-top-width"))||0,r.left+=parseFloat(i(e[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||f.body;t&&!v.test(t.nodeName)&&"static"==i(t).css("position");)t=t.offsetParent;return t})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(t){var n=t.replace(/./,function(t){return t[0].toUpperCase()});i.fn[t]=function(r){var o,a=this[0];return r===e?k(a)?a["inner"+n]:F(a)?a.documentElement["scroll"+n]:(o=this.offset())&&o[t]:this.each(function(e){a=i(this),a.css(t,W(this,r,e,a[t]()))})}}),x.forEach(function(n,r){var o=r%2;i.fn[n]=function(){var n,s,a=i.map(arguments,function(t){var r=[];return n=L(t),"array"==n?(t.forEach(function(t){return t.nodeType!==e?r.push(t):i.zepto.isZ(t)?r=r.concat(t.get()):void(r=r.concat(C.fragment(t)))}),r):"object"==n||null==t?t:C.fragment(t)}),u=this.length>1;return a.length<1?this:this.each(function(e,n){s=o?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(f.documentElement,s);a.forEach(function(e){if(u)e=e.cloneNode(!0);else if(!s)return i(e).remove();s.insertBefore(e,n),c&&Q(e,function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var n=e.ownerDocument?e.ownerDocument.defaultView:t;n.eval.call(n,e.innerHTML)}})})})},i.fn[o?n+"To":"insert"+(r?"Before":"After")]=function(t){return i(t)[n](this),this}}),C.Z.prototype=U.prototype=i.fn,C.uniq=O,C.deserializeValue=K,i.zepto=C,i}();return t.Zepto=e,void 0===t.$&&(t.$=e),function(t){function r(e){return e=t(e),!(!e.width()&&!e.height())&&"none"!==e.css("display")}function f(t,e){t=t.replace(/=#\]/g,'="#"]');var n,i,r=a.exec(t);if(r&&r[2]in o&&(n=o[r[2]],i=r[3],t=r[1],i)){var s=Number(i);i=isNaN(s)?i.replace(/^["']|["']$/g,""):s}return e(t,n,i)}var e=t.zepto,n=e.qsa,i=e.matches,o=t.expr[":"]={visible:function(){return r(this)?this:void 0},hidden:function(){return r(this)?void 0:this},selected:function(){return this.selected?this:void 0},checked:function(){return this.checked?this:void 0},parent:function(){return this.parentNode},first:function(t){return 0===t?this:void 0},last:function(t,e){return t===e.length-1?this:void 0},eq:function(t,e,n){return t===n?this:void 0},contains:function(e,n,i){return t(this).text().indexOf(i)>-1?this:void 0},has:function(t,n,i){return e.qsa(this,i).length?this:void 0}},a=new RegExp("(.*):(\\w+)(?:\\(([^)]+)\\))?$\\s*"),s=/^\s*>/,u="Zepto"+ +new Date;e.qsa=function(i,r){return f(r,function(o,a,f){try{var c;!o&&a?o="*":s.test(o)&&(c=t(i).addClass(u),o="."+u+" "+o);var l=n(i,o)}catch(h){throw console.error("error performing selector: %o",r),h}finally{c&&c.removeClass(u)}return a?e.uniq(t.map(l,function(t,e){return a.call(t,e,l,f)})):l})},e.matches=function(t,e){return f(e,function(e,n,r){return(!e||i(t,e))&&(!n||n.call(t,null,r)===t)})}}(e),function(e){function h(t){return t._zid||(t._zid=n++)}function p(t,e,n,i){if(e=d(e),e.ns)var r=m(e.ns);return(s[h(t)]||[]).filter(function(t){return t&&(!e.e||t.e==e.e)&&(!e.ns||r.test(t.ns))&&(!n||h(t.fn)===h(n))&&(!i||t.sel==i)})}function d(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function m(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function v(t,e){return t.del&&!f&&t.e in c||!!e}function g(t){return l[t]||f&&c[t]||t}function y(t,n,r,o,a,u,f){var c=h(t),p=s[c]||(s[c]=[]);n.split(/\s/).forEach(function(n){if("ready"==n)return e(document).ready(r);var s=d(n);s.fn=r,s.sel=a,s.e in l&&(r=function(t){var n=t.relatedTarget;return!n||n!==this&&!e.contains(this,n)?s.fn.apply(this,arguments):void 0}),s.del=u;var c=u||r;s.proxy=function(e){if(e=T(e),!e.isImmediatePropagationStopped()){e.data=o;var n=c.apply(t,e._args==i?[e]:[e].concat(e._args));return n===!1&&(e.preventDefault(),e.stopPropagation()),n}},s.i=p.length,p.push(s),"addEventListener"in t&&t.addEventListener(g(s.e),s.proxy,v(s,f))})}function x(t,e,n,i,r){var o=h(t);
vendor: 4,894 bytes, line 2
2(e||"").split(/\s/).forEach(function(e){p(t,e,n,i).forEach(function(e){delete s[o][e.i],"removeEventListener"in t&&t.removeEventListener(g(e.e),e.proxy,v(e,r))})})}function T(t,n){if(n||!t.isDefaultPrevented){n||(n=t),e.each(j,function(e,i){var r=n[e];t[e]=function(){return this[i]=b,r&&r.apply(n,arguments)},t[i]=E});try{t.timeStamp||(t.timeStamp=Date.now())}catch(r){}(n.defaultPrevented!==i?n.defaultPrevented:"returnValue"in n?n.returnValue===!1:n.getPreventDefault&&n.getPreventDefault())&&(t.isDefaultPrevented=b)}return t}function N(t){var e,n={originalEvent:t};for(e in t)w.test(e)||t[e]===i||(n[e]=t[e]);return T(n,t)}var i,n=1,r=Array.prototype.slice,o=e.isFunction,a=function(t){return"string"==typeof t},s={},u={},f="onfocusin"in t,c={focus:"focusin",blur:"focusout"},l={mouseenter:"mouseover",mouseleave:"mouseout"};u.click=u.mousedown=u.mouseup=u.mousemove="MouseEvents",e.event={add:y,remove:x},e.proxy=function(t,n){var i=2 in arguments&&r.call(arguments,2);if(o(t)){var s=function(){return t.apply(n,i?i.concat(r.call(arguments)):arguments)};return s._zid=h(t),s}if(a(n))return i?(i.unshift(t[n],t),e.proxy.apply(null,i)):e.proxy(t[n],t);throw new TypeError("expected function")},e.fn.bind=function(t,e,n){return this.on(t,e,n)},e.fn.unbind=function(t,e){return this.off(t,e)},e.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var b=function(){return!0},E=function(){return!1},w=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,j={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};e.fn.delegate=function(t,e,n){return this.on(e,t,n)},e.fn.undelegate=function(t,e,n){return this.off(e,t,n)},e.fn.live=function(t,n){return e(document.body).delegate(this.selector,t,n),this},e.fn.die=function(t,n){return e(document.body).undelegate(this.selector,t,n),this},e.fn.on=function(t,n,s,u,f){var c,l,h=this;return t&&!a(t)?(e.each(t,function(t,e){h.on(t,n,s,e,f)}),h):(a(n)||o(u)||u===!1||(u=s,s=n,n=i),(u===i||s===!1)&&(u=s,s=i),u===!1&&(u=E),h.each(function(i,o){f&&(c=function(t){return x(o,t.type,u),u.apply(this,arguments)}),n&&(l=function(t){var i,a=e(t.target).closest(n,o).get(0);return a&&a!==o?(i=e.extend(N(t),{currentTarget:a,liveFired:o}),(c||u).apply(a,[i].concat(r.call(arguments,1)))):void 0}),y(o,t,u,s,n,l||c)}))},e.fn.off=function(t,n,r){var s=this;return t&&!a(t)?(e.each(t,function(t,e){s.off(t,n,e)}),s):(a(n)||o(r)||r===!1||(r=n,n=i),r===!1&&(r=E),s.each(function(){x(this,t,r,n)}))},e.fn.trigger=function(t,n){return t=a(t)||e.isPlainObject(t)?e.Event(t):T(t),t._args=n,this.each(function(){t.type in c&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,n)})},e.fn.triggerHandler=function(t,n){var i,r;return this.each(function(o,s){i=N(a(t)?e.Event(t):t),i._args=n,i.target=s,e.each(p(s,t.type||t),function(t,e){return r=e.proxy(i),i.isImmediatePropagationStopped()?!1:void 0})}),r},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}}),e.Event=function(t,e){a(t)||(e=t,t=e.type);var n=document.createEvent(u[t]||"Events"),i=!0;if(e)for(var r in e)"bubbles"==r?i=!!e[r]:n[r]=e[r];return n.initEvent(t,i,!0),T(n)}}(e),function(t){function a(o,a){var u=o[r],f=u&&e[u];if(void 0===a)return f||s(o);if(f){if(a in f)return f[a];var c=i(a);if(c in f)return f[c]}return n.call(t(o),a)}function s(n,o,a){var s=n[r]||(n[r]=++t.uuid),f=e[s]||(e[s]=u(n));return void 0!==o&&(f[i(o)]=a),f}function u(e){var n={};return t.each(e.attributes||o,function(e,r){0==r.name.indexOf("data-")&&(n[i(r.name.replace("data-",""))]=t.zepto.deserializeValue(r.value))}),n}var e={},n=t.fn.data,i=t.camelCase,r=t.expando="Zepto"+ +new Date,o=[];t.fn.data=function(e,n){return void 0===n?t.isPlainObject(e)?this.each(function(n,i){t.each(e,function(t,e){s(i,t,e)})}):0 in this?a(this[0],e):void 0:this.each(function(){s(this,e,n)})},t.data=function(e,n,i){return t(e).data(n,i)},t.hasData=function(n){var i=n[r],o=i&&e[i];return o?!t.isEmptyObject(o):!1},t.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each(function(){var o=this[r],a=o&&e[o];a&&t.each(n||a,function(t){delete a[n?i(this):t]})})},["remove","empty"].forEach(function(e){var n=t.fn[e];t.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}})}(e),function(e){function p(t,n,i){var r=e.Event(n);return e(t).trigger(r,i),!r.isDefaultPrevented()}function d(t,e,n,r){return t.global?p(e||i,n,r):void 0}function m(t){t.global&&0===e.active++&&d(t,null,"ajaxStart")}function v(t){t.global&&!--e.active&&d(t,null,"ajaxStop")}function g(t,e){var n=e.context;
vendor: 5,188 bytes, line 2
2return e.beforeSend.call(n,t,e)===!1||d(e,n,"ajaxBeforeSend",[t,e])===!1?!1:void d(e,n,"ajaxSend",[t,e])}function y(t,e,n,i){var r=n.context,o="success";n.success.call(r,t,o,e),i&&i.resolveWith(r,[t,o,e]),d(n,r,"ajaxSuccess",[e,n,t]),b(o,e,n)}function x(t,e,n,i,r){var o=i.context;i.error.call(o,n,e,t),r&&r.rejectWith(o,[n,e,t]),d(i,o,"ajaxError",[n,i,t||e]),b(e,n,i)}function b(t,e,n){var i=n.context;n.complete.call(i,e,t),d(n,i,"ajaxComplete",[e,n]),v(n)}function E(t,e,n){if(n.dataFilter==w)return t;var i=n.context;return n.dataFilter.call(i,t,e)}function w(){}function j(t){return t&&(t=t.split(";",2)[0]),t&&(t==c?"html":t==f?"json":s.test(t)?"script":u.test(t)&&"xml")||"text"}function T(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function N(t){t.processData&&t.data&&"string"!=e.type(t.data)&&(t.data=e.param(t.data,t.traditional)),!t.data||t.type&&"GET"!=t.type.toUpperCase()&&"jsonp"!=t.dataType||(t.url=T(t.url,t.data),t.data=void 0)}function C(t,n,i,r){return e.isFunction(n)&&(r=i,i=n,n=void 0),e.isFunction(i)||(r=i,i=void 0),{url:t,data:n,success:i,dataType:r}}function O(t,n,i,r){var o,a=e.isArray(n),s=e.isPlainObject(n);e.each(n,function(n,u){o=e.type(u),r&&(n=i?r:r+"["+(s||"object"==o||"array"==o?n:"")+"]"),!r&&a?t.add(u.name,u.value):"array"==o||!i&&"object"==o?O(t,u,i,n):t.add(n,u)})}var r,o,n=+new Date,i=t.document,a=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,s=/^(?:text|application)\/javascript/i,u=/^(?:text|application)\/xml/i,f="application/json",c="text/html",l=/^\s*$/,h=i.createElement("a");h.href=t.location.href,e.active=0,e.ajaxJSONP=function(r,o){if(!("type"in r))return e.ajax(r);var c,p,a=r.jsonpCallback,s=(e.isFunction(a)?a():a)||"Zepto"+n++,u=i.createElement("script"),f=t[s],l=function(t){e(u).triggerHandler("error",t||"abort")},h={abort:l};return o&&o.promise(h),e(u).on("load error",function(n,i){clearTimeout(p),e(u).off().remove(),"error"!=n.type&&c?y(c[0],h,r,o):x(null,i||"error",h,r,o),t[s]=f,c&&e.isFunction(f)&&f(c[0]),f=c=void 0}),g(h,r)===!1?(l("abort"),h):(t[s]=function(){c=arguments},u.src=r.url.replace(/\?(.+)=\?/,"?$1="+s),i.head.appendChild(u),r.timeout>0&&(p=setTimeout(function(){l("timeout")},r.timeout)),h)},e.ajaxSettings={type:"GET",beforeSend:w,success:w,error:w,complete:w,context:null,global:!0,xhr:function(){return new t.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:f,xml:"application/xml, text/xml",html:c,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:w},e.ajax=function(n){var u,f,a=e.extend({},n||{}),s=e.Deferred&&e.Deferred();for(r in e.ajaxSettings)void 0===a[r]&&(a[r]=e.ajaxSettings[r]);m(a),a.crossDomain||(u=i.createElement("a"),u.href=a.url,u.href=u.href,a.crossDomain=h.protocol+"//"+h.host!=u.protocol+"//"+u.host),a.url||(a.url=t.location.toString()),(f=a.url.indexOf("#"))>-1&&(a.url=a.url.slice(0,f)),N(a);var c=a.dataType,p=/\?.+=\?/.test(a.url);if(p&&(c="jsonp"),a.cache!==!1&&(n&&n.cache===!0||"script"!=c&&"jsonp"!=c)||(a.url=T(a.url,"_="+Date.now())),"jsonp"==c)return p||(a.url=T(a.url,a.jsonp?a.jsonp+"=?":a.jsonp===!1?"":"callback=?")),e.ajaxJSONP(a,s);var P,d=a.accepts[c],v={},b=function(t,e){v[t.toLowerCase()]=[t,e]},C=/^([\w-]+:)\/\//.test(a.url)?RegExp.$1:t.location.protocol,S=a.xhr(),O=S.setRequestHeader;if(s&&s.promise(S),a.crossDomain||b("X-Requested-With","XMLHttpRequest"),b("Accept",d||"*/*"),(d=a.mimeType||d)&&(d.indexOf(",")>-1&&(d=d.split(",",2)[0]),S.overrideMimeType&&S.overrideMimeType(d)),(a.contentType||a.contentType!==!1&&a.data&&"GET"!=a.type.toUpperCase())&&b("Content-Type",a.contentType||"application/x-www-form-urlencoded"),a.headers)for(o in a.headers)b(o,a.headers[o]);if(S.setRequestHeader=b,S.onreadystatechange=function(){if(4==S.readyState){S.onreadystatechange=w,clearTimeout(P);var t,n=!1;if(S.status>=200&&S.status<300||304==S.status||0==S.status&&"file:"==C){if(c=c||j(a.mimeType||S.getResponseHeader("content-type")),"arraybuffer"==S.responseType||"blob"==S.responseType)t=S.response;else{t=S.responseText;try{t=E(t,c,a),"script"==c?(1,eval)(t):"xml"==c?t=S.responseXML:"json"==c&&(t=l.test(t)?null:e.parseJSON(t))}catch(i){n=i}if(n)return x(n,"parsererror",S,a,s)}y(t,S,a,s)}else x(S.statusText||null,S.status?"error":"abort",S,a,s)}},g(S,a)===!1)return S.abort(),x(null,"abort",S,a,s),S;var D="async"in a?a.async:!0;if(S.open(a.type,a.url,D,a.username,a.password),a.xhrFields)for(o in a.xhrFields)S[o]=a.xhrFields[o];for(o in v)O.apply(S,v[o]);return a.timeout>0&&(P=setTimeout(function(){S.onreadystatechange=w,S.abort(),x(null,"timeout",S,a,s)},a.timeout)),S.send(a.data?a.data:null),S},e.get=function(){return e.ajax(C.apply(null,arguments))},e.post=function(){var t=C.apply(null,arguments);return t.type="POST",e.ajax(t)},e.getJSON=function(){var t=C.apply(null,arguments);return t.dataType="json",e.ajax(t)},e.fn.load=function(t,n,i){if(!this.length)return this;var s,r=this,o=t.split(/\s/),u=C(t,n,i),f=u.success;return o.length>1&&(u.url=o[0],s=o[1]),u.success=function(t){r.html(s?e("<div>").html(t.replace(a,"")).find(s):t),f&&f.apply(r,arguments)},e.ajax(u),this};var S=encodeURIComponent;e.param=function(t,n){var i=[];
2return i.add=function(t,n){e.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(S(t)+"="+S(n))},O(i,t,n),i.join("&").replace(/%20/g,"+")}}(e),function(t){t.fn.serializeArray=function(){var e,n,i=[],r=function(t){return t.forEach?t.forEach(r):void i.push({name:e,value:t})};return this[0]&&t.each(this[0].elements,function(i,o){n=o.type,e=o.name,e&&"fieldset"!=o.nodeName.toLowerCase()&&!o.disabled&&"submit"!=n&&"reset"!=n&&"button"!=n&&"file"!=n&&("radio"!=n&&"checkbox"!=n||o.checked)&&r(t(o).val())}),i},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(0 in arguments)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(e),e});
3var chartAxis=function(e){var a,l,t,o,r,n,b=[3,4,5,6,7,8,9],u=[10,20,25,50],f=[1],m=["min","max"],i=["Label","Value"],p=function(e,a,l){return Math.abs(e-a)<Math.abs(l/1e9)},h=function(e,a){var l,t,o=Math.round(Math.pow(10,l=5-Math.floor(Math.log(a)/Math.log(10)+1e-9)));if(o<9)return{n:Math.round(e),d:0};for(var r=e;o>.9&&(t=Math.round(e*o)/o,p(e,t,a));)r=t,l=Math.round(Math.log(o)/Math.log(10)),o=Math.round(o/10);return{n:r,d:l}},s=function(e,a){var l,t;for(e.decimals=0,l=0;l<e.length;l++)t=h(e[l],a),e[l]=t.n,e.decimals=Math.max(e.decimals,t.d);return e},c=function(e){return Math.abs(e)<1e15&&Math.abs(e-Math.round(e))<1e-9},L=function(e){return c(e)&&Math.round(e)>.5},M=function(){if("number"==typeof e.minLabel&&"number"==typeof e.maxLabel&&!L((e.maxLabel-e.minLabel)/e.labelStep))throw"Explicit min and max values do not match the explicit step size.";var l="number"==typeof e.labelSteps?e.labelSteps:Math.ceil((e.maxValue-e.minValue)/e.labelStep);for(r=0;r<2;r++)for(t=0;t<2;t++)if("number"==typeof e[m[t]+i[r]]){for(n=[e[m[t]+i[r]]-t*l*e.labelStep],r&&(a=("number"==typeof e.forceLabel?e.forceLabel:0)%e.labelStep,n[0]=a+Math.floor((n[0]-a)/e.labelStep)*e.labelStep,"number"!=typeof e.labelSteps&&(l=Math.ceil((e.maxValue-n[0])/e.labelStep))),o=0;o<l;o++)n.push(n[o]+e.labelStep);if("number"==typeof e.forceLabel){for(o=0;o<n.length&&n[o]!==e.forceLabel;o++);if(o>=n.length)throw"The forced value is not covered by specified label steps."}return s(n,e.labelStep)}};if("number"==typeof e.labelStep){if(e.labelStep<0)throw"Negative label steps are not defined.";if(e.labelStep<1e-100)throw"The label step cannot be zero."}if("number"==typeof e.labelSteps&&!L(e.labelSteps))throw"Label step counts are only defined for positive integers.";for(t=0;t<2;t++)"number"==typeof e[m[t]+"Label"]&&(e[m[t]+"Value"]=e[m[t]+"Label"]),"number"!=typeof e[m[t]+"Value"]&&"number"==typeof e.forceLabel&&(e[m[t]+"Value"]=e.forceLabel);if("number"==typeof e.labelStep&&"number"==typeof e.labelSteps){if("number"==typeof e.minLabel&&"number"==typeof e.maxLabel&&!p(e.minLabel+e.labelSteps*e.labelStep,e.maxLabel,e.labelStep))throw"Mismatch between min, max, step and step-count values.";return M()}if("number"!=typeof e.minValue||"number"!=typeof e.maxValue)throw"Both min and max values are needed for axis label optimization.";if(e.minValue>e.maxValue)throw"The min value may not be larger than the max value.";if("number"==typeof e.forceLabel&&(e.forceLabel<e.minValue&&(e.minValue=e.minLabel=e.forceLabel),e.forceLabel>e.maxValue&&(e.maxValue=e.maxLabel=e.forceLabel)),"number"==typeof e.labelStep)return M();if(e.minValue===e.maxValue)return[e.minValue];"number"!=typeof e.forceLabel&&e.minValue<=0&&e.maxValue>=0&&(e.forceLabel=0),"number"==typeof e.labelSteps&&(b=[e.labelSteps]);var d,y,V,x,S,g,v,w,z,A,T,k=Number.MAX_VALUE;for(l=0;l<b.length;l++){for(d=!1,S=b[l],v=(e.maxValue-e.minValue)/S,A=Math.pow(10,Math.floor(Math.log(v)/Math.log(10)+1e-9)-1),t=0;t<2*u.length;t++){for(y=u[t%u.length]*(t>=u.length?10:1),o=0;o<f.length;o++)if((V=y/f[o])%(t>=u.length?10:1)==0&&(w="number"!=typeof e.forceLabel?V*Math.floor(e.minValue/A/V):e.forceLabel/A-Math.ceil((e.forceLabel-e.minValue)/(y*A))*y)+y*S>=e.maxValue/A){d=!0;break}if(d)break}e.debug&&console.log(S+" steps of size "+y*A+" ["+y+"] from "+w*A+" to "+(w+y*S)*A+"."),y*S*A<=k&&(k=y*S*A,x=y,g=S,z=w,T=A)}for(n=[],t=0;t<=g;t++)T<1?n.push((z+t*x)/Math.round(1/T)):n.push((z+t*x)*Math.round(T));return e.debug&&console.log("Best ("+(n.length-1)+" steps): "+n.join(", ")),s(n,x*T)};
4$(function(){let a=$("._chartanimate");if(0<a.length){var b,c="undefined"==typeof IntersectionObserver,d=[],e=function(a){if
4(!a.is("._chart-animation-complete")){a.addClass("_chart-animation-complete");var b=a.find("._chartanimate .bar");b.each(function(a){var b=this;setTimeout(function(){b.classList.add("_chart-animation-done")},100*a)}),setTimeout(function(){var b=a.find(".linedots ._chartanimate");if(0!==b.length){a.find("clipPath").addClass("_chart-animation-done");var c=1e3*parseFloat(window.getComputedStyle(a.find("clipPath rect")[0]).getPropertyValue("transition-duration")),d=b.parent().parent().siblings("._x-axis").children().length,e=function(a){a<d&&(setTimeout(function(){b.filter("[data-xpos=\""+a+"\"]").addClass("_chart-animation-done")},(a+.5)*c/d),e(a+1))};e(0)}},100*b.length);var c=a.find("clipPath path");if(0<c.length){var d=Math.PI/180,e=function(a){var b=50-50*Math.sin(-a*d),c=50-50*Math.cos(-a*d);return"M50,50V0A50,50,0,"+ +(180<a)+",1,"+b+","+c+"z"},f=null,g=function(a){f||(f=a);var b=a-f,d=360*b/1000;359.9<d&&(d=359.9),c.attr("d",e(d)),359.9>d?window.requestAnimationFrame(g):c.parent().remove()};window.requestAnimationFrame(g)}}};c||(b=new IntersectionObserver(function(a){a.forEach(function(a){(a.isIntersecting||0>a.boundingClientRect.top)&&e($(a.target))})},{rootMargin:"0px",threshold:1})),a.closest("._chart-area").each(function(){let a=$(this);a.addClass("_chart-animation"),a.find("clipPath path").attr("d",""),setTimeout(function(){a.addClass("_chart-animation-ready"),c?d.push(a):b.observe(a[0])},0)}),c&&($(window).on("scroll",function(){var a=window.pageYOffset+window.innerHeight;d.forEach(function(b){b.offset().top+b.height()<=a&&e(b)})}),setTimeout(function(){$(window).scroll()},100))}});
5!function(e){e.cookie=function(t,n,o){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(n))||null===n||void 0===n)){if(o=e.extend({},o),null!==n&&void 0!==n||(o.expires=-1),"number"==typeof o.expires){var i=o.expires,r=o.expires=new Date;r.setDate(r.getDate()+i)}return n=String(n),o.domain="",o.path="/",document.cookie=[encodeURIComponent(t),"=",o.raw?n:encodeURIComponent(n),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}for(var p,a=(o=n||{}).raw?function(e){return e}:decodeURIComponent,c=document.cookie.split("; "),u=0;p=c[u]&&c[u].split("=");u++)if(a(p[0])===t)return a(p[1]||"");return null}}(Zepto);
6
7var formatNumber=function(a,b){if("number"!=typeof a&&(a=parseFloat(a),isNaN(a)))return"";var c=a.toFixed(b).split("."),d=c[0],e=c[1];if(1e3<=a&&waasconfig.thousandDelimiter)for(var f=/(\d+)(\d{3})/;f.test(d);)d=d.replace(f,"$1"+waasconfig.thousandDelimiter+"$2");return a=d,0<b&&(a+=(waasconfig.decimalSign||".")+e),a};
8$(window).ready(function(){if(!("grid-area"in document.body.style||"-ms-grid-column"in document.body.style)){$(document.body).addClass("_grid-polyfill");for(var i,r=function(i,r){var e=i.substring(i.indexOf("#")).split(";}"),t={};return e.forEach(function(i){if("#"===i[0]){var r=i.substring(0,i.indexOf("{"));t[r]=i.substring(i.indexOf(":")+1).split("/").map(parseFloat),t[r][0]=t[r][0]-1,t[r][2]=t[r][2]-1-t[r][0],t[r][3]=100*(t[r][3]-t[r][1])/24+"%",t[r][1]=100*(t[r][1]-1)/24+"%"}}),{maxWidth:r,blocks:t}},e=[],t=$("#_cssgrid").html(),n=RegExp("@media.*?}}","g"),o=[{width:1/0,rule:t.replace(n,"")}],a={};null!==(i=n.exec(t));){var s=i[0],l=s.substring(18,s.indexOf("px")),h=s.substring(s.indexOf("{")+1).slice(0,-1);a[l]||(a[l]=""),a[l]+=h}for(var l in a)o.push({width:parseInt(l),rule:a[l]});for(var c=0;c<o.length;c++){h=o[c];e.push(r(h.rule,h.width))}var d=[];$("div._grid").each(function(){var i=$(this),r={el:i,blocks:[]};i.children().each(function(){r.blocks.push({id:"#"+this.id,el:$(this)})}),d.push(r)}),$(window).resize(function(){for(var i=window.innerWidth,r=e[0],t=1;t<e.length&&!(e[t].maxWidth<i);t++)r=e[t];d.forEach(function(i){var e=parseFloat(i.el.css("line-height"))/2||16,t=0;i.blocks.forEach(function(i){var n=r.blocks[i.id];i.el.css({left:n[1],width:n[3],height:"auto"}),i.height=i.el[0].offsetHeight,t=Math.max(t,n[0]+Math.ceil(i.height/e))});var n=Array.apply(null,Array(t)).map(Number.prototype.valueOf,e);i.blocks.forEach(function(i){for(var e=r.blocks[i.id],t=0,o=e[0];o<e[0]+e[2];o++)t+=n[o];var a=i.height-t;if(a>0){var s=a/e[2];for(o=e[0];o<e[0]+e[2];o++)n[o]+=s}});var o=n.reduce(function(i,r){return i+r},0);i.el.height(o),i.blocks.forEach(function(i){for(var e=r.blocks[i.id],t=0,o=0,a=0;a<e[0];a++)t+=n[a];for(a=e[0];a<e[0]+e[2];a++)o+=n[a];i.el.css({top:t,height:o})})})}),$(window).resize()}});
9/*!
10 * headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
11 * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
12 * License: MIT
13 */
14
15!function(a,b){"use strict";"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?module.exports=b():a.Headroom=b()}(this,function(){"use strict";function a(a){this.callback=a,this.ticking=!1}function b(a){return a&&"undefined"!=typeof window&&(a===window||a.nodeType)}function c(a){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var d,e,f=a||{};for(e=1;e<arguments.length;e++){var g=arguments[e]||{};for(d in g)"object"!=typeof f[d]||b(f[d])?f[d]=f[d]||g[d]:f[d]=c(f[d],g[d])}return f}function d(a){return a===Object(a)?a:{down:a,up:a}}function e(a,b){b=c(b,e.options),this.lastKnownScrollY=0,this.elem=a,this.tolerance=d(b.tolerance),this.classes=b.classes,this.offset=b.offset,this.scroller=b.scroller,this.initialised=!1,this.onPin=b.onPin,this.onUnpin=b.onUnpin,this.onTop=b.onTop,this.onNotTop=b.onNotTop,this.onBottom=b.onBottom,this.onNotBottom=b.onNotBottom}var f={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,a.prototype={constructor:a,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},e.prototype={constructor:e,init:function(){if(e.cutsTheMustard)return this.debouncer=new a(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var a=this.classes;this.initialised=!1;for(var b in a)a.hasOwnProperty(b)&&this.elem.classList.remove(a[b]);this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var a=this.elem.classList,b=this.classes;!a.contains(b.pinned)&&a.contains(b.unpinned)||(a.add(b.unpinned),a.remove(b.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var a=this.elem.classList,b=this.classes;a.contains(b.unpinned)&&(a.remove(b.unpinned),a.add(b.pinned),this.onPin&&this.onPin.call(this))},top:function(){var a=this.elem.classList,b=this.classes;
15a.contains(b.top)||(a.add(b.top),a.remove(b.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var a=this.elem.classList,b=this.classes;a.contains(b.notTop)||(a.add(b.notTop),a.remove(b.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var a=this.elem.classList,b=this.classes;a.contains(b.bottom)||(a.add(b.bottom),a.remove(b.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var a=this.elem.classList,b=this.classes;a.contains(b.notBottom)||(a.add(b.notBottom),a.remove(b.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop},getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(a){return Math.max(a.offsetHeight,a.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var a=document.body,b=document.documentElement;return Math.max(a.scrollHeight,b.scrollHeight,a.offsetHeight,b.offsetHeight,a.clientHeight,b.clientHeight)},getElementHeight:function(a){return Math.max(a.scrollHeight,a.offsetHeight,a.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(a){var b=a<0,c=a+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return b||c},toleranceExceeded:function(a,b){return Math.abs(a-this.lastKnownScrollY)>=this.tolerance[b]},shouldUnpin:function(a,b){var c=a>this.lastKnownScrollY,d=a>=this.offset;return c&&d&&b},shouldPin:function(a,b){var c=a<this.lastKnownScrollY,d=a<=this.offset;return c&&b||d},update:function(){var a=this.getScrollY(),b=a>this.lastKnownScrollY?"down":"up",c=this.toleranceExceeded(a,b);this.isOutOfBounds(a)||(a<=this.offset?this.top():this.notTop(),a+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(a,c)?this.unpin():this.shouldPin(a,c)&&this.pin(),this.lastKnownScrollY=a)}},e.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},e.cutsTheMustard="undefined"!=typeof f&&f.rAF&&f.bind&&f.classList,e});
16function jump(n,o){function t(n){a=n-i,window.scrollTo(0,u.easing(a,c,f,r)),a<r?requestAnimationFrame(t):e()}function e(){window.scrollTo(0,c+f),"function"==typeof u.callback&&u.callback()}var i,a,c=window.pageYOffset,u={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||function(n,o,t,e){return(n/=e/2)<1?t/2*n*n+o:(n--,-t/2*(n*(n-2)-1)+o)}},f="string"==typeof n?u.offset+document.querySelector(n).getBoundingClientRect().top:n,r="function"==typeof u.duration?u.duration(f):u.duration;requestAnimationFrame(function(n){i=n,t(n)})}
17!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(this,function(){return function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){function n(e,t){var n=z,i=n.classNameActiveSlide;e.forEach(function(e,t){e.classList.contains(i)&&e.classList.remove(i)}),e[t].classList.add(i)}function i(e){var t=z,n=t.infinite,i=e.slice(0,n),o=e.slice(e.length-n,e.length);return i.forEach(function(e){var t=e.cloneNode(!0);B.appendChild(t)}
17),o.reverse().forEach(function(e){var t=e.cloneNode(!0);B.insertBefore(t,B.firstChild)}),B.addEventListener(O.transitionEnd,L),f.call(B.children)}function o(t,n,i){(0,l.default)(e,t+".lory."+n,i)}function s(e,t,n){var i=B&&B.style;i&&(i[O.transition+"TimingFunction"]=n,i[O.transition+"Duration"]=t+"ms",O.hasTranslate3d?i[O.transform]="translate3d("+e+"px, 0, 0)":i[O.transform]="translate("+e+"px, 0)")}function d(e,t){var i=z,r=i.slideSpeed,a=i.slidesToScroll,d=i.infinite,l=i.rewind,c=i.rewindSpeed,u=i.ease,v=i.classNameActiveSlide,m=r,p=t?P+1:P-1,h=Math.round(M-S);o("before","slide",{index:P,nextSlide:p}),k&&k.classList.remove("disabled"),T&&T.classList.remove("disabled"),"number"!=typeof e&&(e=t?P+a:P-a),e=Math.min(Math.max(e,0),_.length-1),d&&void 0===t&&(e+=d);var b=Math.min(Math.max(_[e].offsetLeft*-1,h*-1),0);l&&Math.abs(N.x)===h&&t&&(b=0,e=0,m=c),s(b,m,u),N.x=b,_[e].offsetLeft<=h&&(P=e),!d||e!==_.length-d&&0!==e||(t&&(P=d),t||(P=_.length-2*d),N.x=_[P].offsetLeft*-1,A=function(){s(_[P].offsetLeft*-1,0,void 0)}),v&&n(f.call(_),P),k&&!d&&0===e&&k.classList.add("disabled"),!T||d||l||e+1!==_.length||T.classList.add("disabled"),o("after","slide",{currentSlide:P})}function c(){o("before","init"),O=(0,a.default)(),z=r({},u.default,t);var s=z,d=s.classNameFrame,l=s.classNameSlideContainer,c=s.classNamePrevCtrl,m=s.classNameNextCtrl,p=s.enableMouseEvents,E=s.classNameActiveSlide;j=e.getElementsByClassName(d)[0],B=j.getElementsByClassName(l)[0],k=e.getElementsByClassName(c)[0],T=e.getElementsByClassName(m)[0],N={x:B.offsetLeft,y:B.offsetTop},z.infinite?_=i(f.call(B.children)):(_=f.call(B.children),k&&k.classList.add("disabled"),T&&1===_.length&&!z.rewind&&T.classList.add("disabled")),v(),E&&n(_,P),k&&T&&(k.addEventListener("click",h),T.addEventListener("click",b)),j.addEventListener("touchstart",y),p&&(j.addEventListener("mousedown",y),j.addEventListener("click",g)),z.window.addEventListener("resize",C),o("after","init")}function v(){var e=z,t=e.infinite,i=e.ease,o=e.rewindSpeed,r=e.rewindOnResize,a=e.classNameActiveSlide;M=B.getBoundingClientRect().width||B.offsetWidth,S=j.getBoundingClientRect().width||j.offsetWidth,S===M&&(M=_.reduce(function(e,t){return e+t.getBoundingClientRect().width||t.offsetWidth},0)),r?P=0:(i=null,o=0),t?(s(_[P+t].offsetLeft*-1,0,null),P+=t,N.x=_[P].offsetLeft*-1):(s(_[P].offsetLeft*-1,o,i),N.x=_[P].offsetLeft*-1),a&&n(f.call(_),P)}function m(e){d(e)}function p(){return P-z.infinite||0}function h(){d(!1,!1)}function b(){d(!1,!0)}function E(){o("before","destroy"),j.removeEventListener(O.transitionEnd,L),j.removeEventListener("touchstart",y),j.removeEventListener("touchmove",x),j.removeEventListener("touchend",w),j.removeEventListener("mousemove",x),j.removeEventListener("mousedown",y),j.removeEventListener("mouseup",w),j.removeEventListener("mouseleave",w),j.removeEventListener("click",g),z.window.removeEventListener("resize",C),k&&k.removeEventListener("click",h),T&&T.removeEventListener("click",b),z.infinite&&Array.apply(null,Array(z.infinite)).forEach(function(){B.removeChild(B.firstChild),B.removeChild(B.lastChild)}),o("after","destroy")}function L(){A&&(A(),A=void 0)}function y(e){var t=z,n=t.enableMouseEvents,i=e.touches?e.touches[0]:e;n&&(j.addEventListener("mousemove",x),j.addEventListener("mouseup",w),j.addEventListener("mouseleave",w)),j.addEventListener("touchmove",x),j.addEventListener("touchend",w);var r=i.pageX,s=i.pageY;D={x:r,y:s,time:Date.now()},F=void 0,R={},o("on","touchstart",{event:e})}function x(e){var t=e.touches?e.touches[0]:e,n=t.pageX,i=t.pageY;R={x:n-D.x,y:i-D.y},"undefined"==typeof F&&(F=!!(F||Math.abs(R.x)<Math.abs(R.y))),!F&&D&&(e.preventDefault(),s(N.x+R.x,0,null)),o("on","touchmove",{event:e})}function w(e){var t=D?Date.now()-D.time:void 0,n=Number(t)<300&&Math.abs(R.x)>25||Math.abs(R.x)>S/3,i=!P&&R.x>0||P===_.length-1&&R.x<0,r=R.x<0;F||(n&&!i?d(!1,r):s(N.x,z.snapBackSpeed)),D=void 0,j.removeEventListener("touchmove",x),j.removeEventListener("touchend",w),j.removeEventListener("mousemove",x),j.removeEventListener("mouseup",w),j.removeEventListener("mouseleave",w),o("on","touchend",{event:e})}function g(e){R.x&&e.preventDefault()}function C(e){v(),o("on","resize",{event:e})}var N=void 0,M=void 0,S=void 0,_=void 0,j=void 0,B=void 0,k=void 0,T=void 0,O=void 0,A=void 0,P=0,z={};"undefined"!=typeof jQuery&&e instanceof jQuery&&(e=e[0]);var D=void 0,R=void 0,F=void 0;return c(),{setup:c,reset:v,slideTo:m,returnIndex:p,prev:h,next:b,destroy:E}}
17Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.lory=o;var s=n(2),a=i(s),d=n(3),l=i(d),c=n(5),u=i(c),f=Array.prototype.slice},function(e,t){(function(e){"use strict";function n(){var t=void 0,n=void 0,i=void 0,o=void 0;return function(){var r=document.createElement("_"),s=r.style,a=void 0;""===s[a="webkitTransition"]&&(i="webkitTransitionEnd",n=a),""===s[a="transition"]&&(i="transitionend",n=a),""===s[a="webkitTransform"]&&(t=a),""===s[a="msTransform"]&&(t=a),""===s[a="transform"]&&(t=a),document.body.insertBefore(r,null),s[t]="translate3d(0, 0, 0)",o=!!e.getComputedStyle(r).getPropertyValue(t),document.body.removeChild(r)}(),{transform:t,transition:n,transitionEnd:i,hasTranslate3d:o}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n}).call(t,function(){return this}())},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var i=new s.default(t,{bubbles:!0,cancelable:!0,detail:n});e.dispatchEvent(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(4),s=i(r)},function(e,t){(function(t){function n(){try{var e=new i("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(e){}return!1}var i=t.CustomEvent;e.exports=n()?i:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}}).call(t,function(){return this}())},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={slidesToScroll:1,slideSpeed:300,rewindSpeed:600,snapBackSpeed:200,ease:"ease",rewind:!1,infinite:!1,classNameFrame:"js_frame",classNameSlideContainer:"js_slides",classNamePrevCtrl:"js_prev",classNameNextCtrl:"js_next",classNameActiveSlide:"active",enableMouseEvents:!1,window:window,rewindOnResize:!0}}])});
18!function(){"use strict";if("undefined"!=typeof window){var e=window.navigator.userAgent.match(/Edge\/(\d{2})\./),n=!!e&&16<=parseInt(e[1],10);if(!("objectFit"in document.documentElement.style!=!1)||n){var o=function(e){var t=e.parentNode;!function(e){var t=window.getComputedStyle(e,null),i=t.getPropertyValue("position"),n=t.getPropertyValue("overflow"),o=t.getPropertyValue("display");i&&"static"!==i||(e.style.position="relative"),"hidden"!==n&&(e.style.overflow="hidden"),o&&"inline"!==o||(e.style.display="block"),0===e.clientHeight&&(e.style.height="100%"),-1===e.className.indexOf("object-fit-polyfill")&&(e.className=e.className+" object-fit-polyfill")}(t),function(e){var t=window.getComputedStyle(e,null),i={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var n in i)t.getPropertyValue(n)!==i[n]&&(e.style[n]=i[n])}(e),e.style.position="absolute",e.style.height="100%",e.style.width="auto",e.clientWidth>t.clientWidth?(e.style.top="0",e.style.marginTop="0",e.style.left="50%",e.style.marginLeft=e.clientWidth/-2+"px"):(e.style.width="100%",e.style.height="auto",e.style.left="0",e.style.marginLeft="0",e.style.top="50%",e.style.marginTop=e.clientHeight/-2+"px")},t=function(e){if(void 0===e||e instanceof Event)e=document.querySelectorAll("[data-object-fit]");else if(e&&e.nodeName)e=[e];else{if("object"!=typeof e||!e.length||!e[0].nodeName)return!1;e=e}for(var t=0;t<e.length;t++)if(e[t].nodeName){var i=e[t].nodeName.toLowerCase();if("img"===i){if(n)continue;e[t].complete?o(e[t]):e[t].addEventListener("load",function(){o(this)})}else"video"===i?0<e[t].readyState?o(e[t]):e[t].addEventListener("loadedmetadata",function(){o(this)}):o(e[t])}return!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t(),window.addEventListener("resize",t),window.objectFitPolyfill=t}else window.objectFitPolyfill=function(){return!1}}}();
19!function(l,d,p,s){!function(){for(var o=0,t=["ms","moz","webkit","o"],i=0;i<t.length&&!d.requestAnimationFrame;++i)d.requestAnimationFrame=d[t[i]+"RequestAnimationFrame"],d.cancelAnimationFrame=d[t[i]+"CancelAnimationFrame"]||d[t[i]+"CancelRequestAnimationFrame"];d.requestAnimationFrame||(d.requestAnimationFrame=function(t){var i=(new Date).getTime(),e=Math.max(0,16-(i-o)),s=d.setTimeout(function(){t(i+e)},e);return o=i+e,s}),d.cancelAnimationFrame||(d.cancelAnimationFrame=function(t){clearTimeout(t)})}();var f=!1;try{var t=Object.defineProperty({},"passive",{get:function(){f=!0}});d.addEventListener("test",null,t)}catch(t){}function c(t,i){var e=this;"object"==typeof i&&(delete i.refresh,delete i.render,l.extend(this,i)),this.$element=l(t),!this.imageSrc&&this.$element.is("img")&&(this.imageSrc=this.$element.attr("src"));i=(this.position+"").toLowerCase().match(/\S+/g)||[];if(i.length<1&&i.push("center"),1==i.length&&i.push(i[0]),"top"!=i[0]&&"bottom"!=i[0]&&"left"!=i[1]&&"right"!=i[1]||(i=[i[1],i[0]]),this.positionX!==s&&(i[0]=this.positionX.toLowerCase()),this.positionY!==s&&(i[1]=this.positionY.toLowerCase()),e.positionX=i[0],e.positionY=i[1],"left"!=this.positionX&&"right"!=this.positionX&&(isNaN(parseInt(this.positionX))?this.positionX="center":this.positionX=parseInt(this.positionX)),"top"!=this.positionY&&"bottom"!=this.positionY&&(isNaN(parseInt(this.positionY))?this.positionY="center"
19:this.positionY=parseInt(this.positionY)),this.position=this.positionX+(isNaN(this.positionX)?"":"px")+" "+this.positionY+(isNaN(this.positionY)?"":"px"),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&this.iosDisabled)return this.imageSrc&&this.iosFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:'url("'+this.imageSrc+'")',backgroundSize:"cover",backgroundPosition:this.position}),this;if(navigator.userAgent.match(/(Android)/)&&this.androidDisabled)return this.imageSrc&&this.androidFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:'url("'+this.imageSrc+'")',backgroundSize:"cover",backgroundPosition:this.position}),this;this.$mirror=l("<div />").prependTo(this.mirrorContainer);t=this.$element.find(">.parallax-slider"),i=!1;0==t.length?this.$slider=l("<img />").prependTo(this.$mirror):(this.$slider=t.prependTo(this.$mirror),i=!0),this.$mirror.addClass("parallax-mirror").css({visibility:"hidden",zIndex:this.zIndex,position:"fixed",top:0,left:0,overflow:"hidden"}),this.$slider.addClass("parallax-slider").one("load",function(){e.naturalHeight&&e.naturalWidth||(e.naturalHeight=this.naturalHeight||this.height||1,e.naturalWidth=this.naturalWidth||this.width||1),e.aspectRatio=e.naturalWidth/e.naturalHeight,c.isSetup||c.setup(),c.sliders.push(e),c.isFresh=!1,c.requestRender()}),i||(this.$slider[0].src=this.imageSrc),(this.naturalHeight&&this.naturalWidth||this.$slider[0].complete||0<t.length)&&this.$slider.trigger("load")}l.extend(c.prototype,{speed:.2,bleed:0,zIndex:-100,iosFix:!0,iosDisabled:!0,androidFix:!0,androidDisabled:!0,position:"center",overScrollFix:!1,mirrorContainer:"body",refresh:function(){this.boxWidth=this.$element[0].offsetWidth,this.boxHeight=this.$element[0].offsetHeight+2*this.bleed,this.boxOffsetTop=this.$element.offset().top-this.bleed,this.boxOffsetLeft=this.$element.offset().left,this.boxOffsetBottom=this.boxOffsetTop+this.boxHeight;var t,i=c.winHeight,e=c.docHeight,e=Math.min(this.boxOffsetTop,e-i),i=Math.max(this.boxOffsetTop+this.boxHeight-i,0),i=this.boxHeight+(e-i)*(1-this.speed)|0,e=(this.boxOffsetTop-e)*(1-this.speed)|0;i*this.aspectRatio>=this.boxWidth?(this.imageWidth=i*this.aspectRatio|0,this.imageHeight=i,this.offsetBaseTop=e,t=this.imageWidth-this.boxWidth,"left"==this.positionX?this.offsetLeft=0:"right"==this.positionX?this.offsetLeft=-t:isNaN(this.positionX)?this.offsetLeft=-t/2|0:this.offsetLeft=Math.max(this.positionX,-t)):(this.imageWidth=this.boxWidth,this.imageHeight=this.boxWidth/this.aspectRatio|0,this.offsetLeft=0,t=this.imageHeight-i,"top"==this.positionY?this.offsetBaseTop=e:"bottom"==this.positionY?this.offsetBaseTop=e-t:isNaN(this.positionY)?this.offsetBaseTop=e-t/2|0:this.offsetBaseTop=e+Math.max(this.positionY,-t))},render:function(){var t=c.scrollTop,i=c.scrollLeft,e=this.overScrollFix?c.overScroll:0,s=t+c.winHeight;this.boxOffsetBottom>t&&this.boxOffsetTop<=s?(this.visibility="visible",this.mirrorTop=this.boxOffsetTop-t,this.mirrorLeft=this.boxOffsetLeft-i,this.offsetTop=this.offsetBaseTop-this.mirrorTop*(1-this.speed)):this.visibility="hidden",this.$mirror.css({transform:"translate3d("+this.mirrorLeft+"px, "+(this.mirrorTop-e)+"px, 0px)",visibility:this.visibility,height:this.boxHeight,width:this.boxWidth}),this.$slider.css({transform:"translate3d("+this.offsetLeft+"px, "+this.offsetTop+"px, 0px)",position:"absolute",height:this.imageHeight,width:this.imageWidth,maxWidth:"none"})}}),l.extend(c,{scrollTop:0,scrollLeft:0,winHeight:0,winWidth:0,docHeight:1<<30,docWidth:1<<30,sliders:[],isReady:!1,isFresh:!1,isBusy:!1,setup:function(){var i,t,s,e,o,r,h,a,n;this.isReady||(i=this,t=l(p),s=l(d),e=function(){c.winHeight=s.height(),c.winWidth=s.width(),c.docHeight=t.height(),c.docWidth=t.width()},o=function(){var t=s.scrollTop(),i=c.docHeight-c.winHeight,e=c.docWidth-c.winWidth;c.scrollTop=Math.max(0,Math.min(i,t)),c.scrollLeft=Math.max(0,Math.min(e,s.scrollLeft())),c.overScroll=Math.max(t-i,Math.min(t,0))},a=this.scrollListener=function(){o(),c.requestRender()},s.on("resize.px.parallax load.px.parallax",function(){e(),i.refresh(),c.isFresh=!1,c.requestRender()}).on("scroll.px.parallax load.px.parallax",a),r=d,h="touchmove",a=a,f?r.addEventListener(h,a,{passive:!0}):r.addEventListener(h,a),e(),o(),this.isReady=!0,n=-1,function t(){if(n==d.pageYOffset)return d.requestAnimationFrame(t),!1;n=d.pageYOffset,i.render(),d.requestAnimationFrame(t)}())},configure:function(t){"object"==typeof t&&(delete t.refresh,delete t.render,l.extend(this.prototype,t))},refresh:function(){l.each(this.sliders,function(){this.refresh()}),this.isFresh=!0},render:function(){this.isFresh||this.refresh(),l.each(this.sliders,function(){this.render()})},requestRender:function(){this.render(),this.isBusy=!1},destroy:function(t){var i,e,s,o=l(t).data("px.parallax");for(o.$mirror&&o.$mirror.remove(),i=0;i<this.sliders.length;i+=1)this.sliders[i]==o&&this.sliders.splice(i,1);l(t).data("px.parallax",!1),0===this.sliders.length&&(l(d).off("scroll.px.parallax resize.px.parallax load.px.parallax"),e=d,s="touchmove",t=this.scrollListener,e.removeEventListener(s,t),this.isReady=!1,c.isSetup=!1)}});var i=l.fn.parallax;l.fn.parallax=function(e){return this.each(function(){var t=l(this),i="object"==typeof e&&e;this==d||this==p||t.is("body")?c.configure(i):t.data("px.parallax")?"object"==typeof e&&l.extend(t.data("px.parallax"),i):(i=l.extend({},t.data(),i),t.data("px.parallax",new c(this,i))),"string"==typeof e&&("destroy"==e?c.destroy(this):c[e]())})},l.fn.parallax.Constructor=c,l.fn.parallax.noConflict=function(){return l.fn.parallax=i,this},l(function(){l('[data-parallax="scroll"]').parallax()})}(Zepto,window,document);
20
21(()=>{window.hashScroll={offsetTop:80,duration:800};$(document.body).removeClass("no-js").addClass("js");(function(){var e=function(n){n[0]&&n[0].currentSrc&&n.toggleClass("highdensity",n[0].currentSrc.indexOf("@2x")>-1)};let r;waasconfig.initFunctions.push(()=>{r=$("div.parallax"),r.each(function(){var n=$(this),a=n.children("._staticimg").css("background-image");if(a){n.html('<div class="parallax-slider">'+n.html()+"</div>");var s=new Image;
21s.onload=function(){n.parallax({naturalWidth:s.width,naturalHeight:s.height})},s.src=a.replace(/url\(['"]?/i,"").replace(/['"]?\)/,"")}else{var t=n.children("picture").children("img");if(t.length===0)return;e(t),t.on("load",function(){n.parallax({naturalWidth:t[0].naturalWidth,naturalHeight:t[0].naturalHeight}),$(window).resize()}),t[0].naturalWidth&&n.parallax({naturalWidth:t[0].naturalWidth,naturalHeight:t[0].naturalHeight})}})}),waasconfig.cleanupFunctions.push(()=>{r&&r.each(function(){$(this).parallax("destroy")})})})();$(function(){(function(){let n=[];$("picture[data-vimeo]").each(function(){let a=$(this),s=a.attr("data-vimeo"),t=a.attr("data-cf")||"";if(a.parent().is("._bg")){n.push(a.parent().parent());let o=$(`<div class="_vimeoBg"><div class="video-16-9"><iframe src="//player.vimeo.com/video/${s}?background=1&dnt=1" allow="autoplay; fullscreen"></iframe></div></div>`).insertAfter(a)}else a.wrap(`<div class="_vimeothumb" data-id="${s}" data-cf="${t}"></div>`)}),n.length>0&&$(window).resize(function(){n.forEach(function(a){let s=a.children("._bg").children("._vimeoBg");s.css("width","");let t=a[0].getBoundingClientRect(),o=t.width/t.height,v=0,f="100%";o<16/9&&(f=t.height*16/9,v=-(f-t.width)/2,f+="px"),s.css({width:f,left:v})})}).resize()})(),"objectFit"in document.documentElement.style||$("._bg:not(.parallax)").each(function(){let n=$(this),a=n.find("img");a.length>0&&(n.css("background-image",`url(${a.attr("src")})`),a.remove())});let e;var r=function(n){var a=[];try{a=$(n)}catch{}if(a.length===0&&(n=n.substring(1),$("h1, h2, h3, h4").each(function(){let t=encodeURIComponent(this.innerText).replace(/%C2%AD/g,"");n===t&&(a=$(this))})),a.length>0){var s=a.offset().top-window.pageYOffset-window.hashScroll.offsetTop;jump(s,{duration:window.hashScroll.duration}),setTimeout(()=>{let t=a.closest("._accordion-heading");t&&!t.is("._expanded")&&(e&&clearTimeout(e),e=setTimeout(()=>{t.children("button").click()},300))},0)}};location.hash&&(r(location.hash),$("img").on("load",function(){r(location.hash)})),$(document.body).on("click","a",function(n){var a=$(this).attr("href")||"";a[0]==="#"&&a.substring(0,7)!=="#_image"&&(n.preventDefault(),r(a))}),$("div._youtubethumb").click(function(){let n=$(this).parent(),a='<iframe frameborder="0" scrolling="no" allowfullscreen src="//www.youtube.com/embed/'+$(this).attr("data-id")+'?enablejsapi=1&autoplay=1"></iframe>',s=waasconfig.userConsent===void 0||!waasconfig.youtubedisclaimer;if(waasconfig.cookieprovider==="cookie-information"&&(s=CookieInformation.getConsentGivenFor(waasconfig.youtubecookie)),!s&&waasconfig.userConsent){let t=n.attr("data-cookiecat");if(t==="required"||!t)s=!0;else{let o=$.cookie("cookieSelection");o?o.split("|").indexOf(t)>-1&&(s=!0):s=!0}}if(s)n.html(a);else{let t=$(`
22                <div id="_youtubedisclaimer">
23                    <p>
24                        ${waasconfig.youtubedisclaimer}<br>
25                        <button>${waasconfig.youtubeaccept}</button>
26                    </p>
27                </div>
28            `);n.append(t),t.on("click","button",function(){n.html(a)})}}),$("div._cfThumb").click(function(){let n=$(this).parent(),a=$(this).attr("data-id");function s(t,o){let v=`<iframe 
29                                frameborder="0" 
30                                scrolling="no" 
31                                src="${o}?autoplay=true&fullscreen=true" 
32                                allow="autoplay; fullscreen; picture-in-picture" 
33                                allowfullscreen 
34                                webkitallowfullscreen 
35                                mozallowfullscreen
36                                style="width: 100%; height: 100%;">
37                            </iframe>`;t.html(v)}if($(this).attr("data-protected"))fetch(`/api/video/protected/${a}/?json=true`,{method:"GET",credentials:"include"}).then(async t=>{if(t.status===200){let o=await t.json();o.url?s(n,o.url):console.error("No redirect location found")}else console.error("Invalid video response",t.status)}).catch(t=>{console.error("Error fetching protected video URL:",t)});else{let t=`https://customer-45luhql9ezbrg4cv.cloudflarestream.com/${a}/iframe`;s(n,t)}}),$("div._vimeothumb").click(function(){let n=$(this).parent(),a=`<iframe frameborder="0" scrolling="no" height="300" width="1024" src="https://player.vimeo.com/video/${$(this).attr("data-id")}?autoplay=1" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>`,s=waasconfig.userConsent===void 0||!waasconfig.vimeodisclaimer;if(!s&&waasconfig.userConsent){let t=n.attr("data-cookiecat");if(t==="required"||!t)s=!0;else{let o=$.cookie("cookieSelection");o?o.split("|").indexOf(t)>-1&&(s=!0):s=!0}}if(s)n.html(a);else{let t=$(`
38                <div id="_vimeodisclaimer">
39                    <p>
40                        ${waasconfig.vimeodisclaimer}<br>
41                        <button>${waasconfig.vimeoaccept}</button>
42                    </p>
43                </div>
44            `);n.append(t),t.on("click","button",function(){n.html(a)})}})});(function(){var e="/",r=$("._searchfieldstatic");r.length>0&&(e=r.attr("data-urloffset")),$("[data-lottie]").each(function(){let n=$(this),a=n.attr("data-lottie"),s=n.attr("data-bounce")==="true",t=n.attr("data-loop")==="true",o=n.attr("data-trigger")||"auto",v=a.split("|"),f=e+(v.length>1?"files/"+v[1]:"_animations/"+v[0]),d=lottie.loadAnimation({container:this,renderer:"svg",loop:t&&!s,autoplay:o==="auto",path:f}),l=1,u=()=>{s?(d.setDirection(l),d.play(),l=-l):d.play()};t&&d.addEventListener("complete",u),o==="click"?n.click(u):o==="mouseenter"?n.mouseenter(u):o==="hover"?(n.mouseenter(u),n.mouseleave(()=>{d.pause()})):o==="scroll"&&console.log("todo: microanimation on scroll")})})();$(function(){if(navigator.userAgent==="disturb-hit-gallery-afar")return;let e,r;
44function n(){$(document.body).addClass("_cookiebanner"),e=$("#_cookiebanner-opt-in-out"),e.removeClass("hidden"),e.on("click","button",a)}function a(){let t=$(this);t.is("._cookie-buttons-settings")?(e.children("._cookiebanner-opt-in-out--inner").hide(),e.children("._cookiebanner-opt-in-out--settings").show()):t.is("._cookie-settings-buttons-save")?(r=[],e.find('input[type="checkbox"]').each(function(){$(this).is(":checked")&&r.push(this.value)}),r=r.join("|"),s()):(t.is("._cookie-buttons-required")&&(r="required"),s())}function s(){$.cookie("cookieAgree","true",{expires:90}),r&&$.cookie("cookieSelection",r,{expires:90}),$("#_cookiebanner-opt-in-out").addClass("hidden"),$(document.body).removeClass("_cookiebanner"),window.waasconfig.userConsent=!0,window.waasconfig.consentFunctions.forEach(t=>{t()})}setTimeout(()=>{window.waasconfig.userConsent=!!$.cookie("cookieAgree"),window.waasconfig.userConsent?window.waasconfig.consentFunctions.forEach(t=>{t()}):n()},0),$("#_removeCookies").click(()=>{$.cookie("cookieAgree",null),$.cookie("cookieSelection",null);for(var t=document.cookie.split("; "),o=0;o<t.length;o++)for(var v=window.location.hostname.split(".");v.length>0;){var f=encodeURIComponent(t[o].split(";")[0].split("=")[0])+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain="+v.join(".")+" ;path=",d=location.pathname.split("/");for(document.cookie=f+"/";d.length>0;)document.cookie=f+d.join("/"),d.pop();v.shift()}location.reload()})});
44(function(){var e=$("#disclaimer1"),r=!e.attr("data-skipcookies");if(e.length>0){var n=e.closest("._block"),a=n.closest("._section-container"),s=n.next().hide(),t=function(){a.hide();let l=a.next("._section-container");for(;l.length>0;)l.show(),l=l.next("._section-container");window.scrollTo(0,0),r&&$.cookie("disclaimerAgreed","true")};if(r&&$.cookie("disclaimerAgreed")==="true")t();else{a.show();var o=e.find("select"),v=e.find("button");if(e.on("change","select",function(){$(this).closest("p").next().toggle(this.value==="invalid");var l=!0;o.each(function(){this.value!=="valid"&&(l=!1)}),v.toggle(l)}),e.find("button").on("click",function(){s.length===0?t():(n.hide(),s.show())}),s.length===0)v.show();else{var f=s.find("button").hide().on("click",t),d=s.find("input");d.on("change",function(){var l=!0;d.each(function(){this.value==="valid"&&$(this).is(":not(:checked)")&&(l=!1)}),f.toggle(l),s.find(".disclaimerError").toggle(!l)})}}}})();$(function(){var e=$(document.body);navigator.userAgent.indexOf("Trident")>-1||navigator.userAgent.indexOf("Edge")>-1?(e.addClass("ie"),navigator.userAgent.indexOf("Edge")<0&&e.addClass("old_ie")):e.addClass("not_ie"),$("#_skiptosearch").click(function(){$("._searchbox:visible").focus()}),$("#_skiptonav").click(function(){let r=$("#_mobile-header");r.is(":visible")?r.find("#_toggle-nav").focus():$("#_mainnav a").first().focus()}),$("#_skiptocontent").click(function(){let r=$("main");r.attr("tabindex","-1"),r.focus(),r.one("blur",function(){r.removeAttr("tabindex")})})});$(function(){let e=function(){if(!window.waasconfig.gacode&&!window.waasconfig.gaextra&&!window.waasconfig.gtm)return;let r=$.cookie("cookieSelection");if(r&&r.indexOf("stats")<0)return;if(window.waasconfig.gtm){if(window.waasconfig.consentmode){window.dataLayer=window.dataLayer||[];var n=function(){dataLayer.push(arguments)};n("consent","default",{ad_user_data:"granted",ad_personalization:"granted",ad_storage:"granted",analytics_storage:"granted"})}(function(o,v,f,d,l){o[d]=o[d]||[],o[d].push({"gtm.start":new Date().getTime(),event:"gtm.js"});var u=v.getElementsByTagName(f)[0],h=v.createElement(f),g=d!="dataLayer"?"&l="+d:"";h.async=!0,h.src="https://www.googletagmanager.com/gtm.js?id="+l+g,u.parentNode.insertBefore(h,u)})(window,document,"script","dataLayer",window.waasconfig.gtm)}var a=document.URL.replace(/^https?:\/+/i,"").replace(/[\/:].*$/,""),s=document.URL.replace(/^https?:\/\/[^\/]*/i,"").replace(/[?#].*$/,"");if(a.indexOf(".waas.site")>-1)return;(function(o,v,f,d,l,u,h){o.GoogleAnalyticsObject=l,o[l]=o[l]||function(){(o[l].q=o[l].q||[]).push(arguments)},o[l].l=1*new Date,u=v.createElement(f),h=v.getElementsByTagName(f)[0],u.async=1,u.src=d,h.parentNode.insertBefore(u,h)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");let t=[];window.waasconfig.gacode&&t.push({id:"Waas",code:window.waasconfig.gacode}),window.waasconfig.gaextra&&t.push({id:"Client",code:window.waasconfig.gaextra}),t.forEach(o=>{ga("create",o.code,"auto",o.id,{cookieExpires:31536e3}),ga(o.id+".set","anonymizeIp",!0),ga(o.id+".send","pageview")}),$(document.body).on("click","a",function(o){let v=$(this).attr("href");v.indexOf("mailto")===0?t.forEach(f=>{ga(f.id+".send","event","Email click on page",s,v)}):(v[0]!=="/"||v.indexOf(".")>-1)&&t.forEach(d=>{ga(d.id+".send","event","Exit click on page",s,v)})})};window.waasconfig.gaoptout?$.cookie("cookieAnalytics")?(window.waasconfig.userConsent=!0,e()):waasconfig.consentFunctions.push(e):e()});var tt=function(e){var r=$("#_mobile-header").children(":not(#_toggle-nav):not(#_navicon)"),n=$("header").siblings().add(r),a=n.find("a, input, button, select, textarea").add(r);e?(n.removeAttr("aria-hidden"),a.removeAttr("tabindex")):(n.attr("aria-hidden","true"),a.attr("tabindex","-1"))};
44(function(){var e=$(document.body),r=$("#_mainnav");let n=$("#_toggle-nav, #_toggle-nav-v2");n.click(function(){var l=$(this),u=e.is("._menumode"),h=l.closest("header").siblings();u?(tt(!0),e.removeClass("_menutransition"),l.attr("aria-expanded","false"),setTimeout(function(){e.removeClass("_menumode")},300)):(tt(!1),e.addClass("_menumode"),setTimeout(function(){l.attr("aria-expanded","true"),e.is(".nav-thirdlevel-visible")?r.find("._toggle").each(function(){var g=$(this),p=g.parent();let N=g.siblings("ul");p.is(".expanded")?(p.addClass("children-visible"),g.attr("aria-expanded","true"),N.attr("aria-hidden","false")):(p.removeClass("children-visible"),g.attr("aria-expanded","false"),N.attr("aria-hidden","true"))}):r.find(".expanded").each(function(){var g=$(this);g.is(":not(.children-visible)")&&g.children("._toggle").click()}),e.addClass("_menutransition")},0)),u=!u});let a=r.children(".level1").attr("data-togglelabel");r.find("li").each(function(){var l=$(this),u=l.children("ul");u.length>0&&u.before('<button class="_toggle" aria-label="'+a+'" aria-expanded="'+(u.attr("aria-hidden")!=="true")+'" aria-controls="'+u.attr("id")+'"><svg class="show" aria-hidden="true" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-show"></use></svg><svg class="hide" aria-hidden="true" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-hide"></use></svg></button>')}),r.on("click","._toggle",function(){var l=$(this);l.attr("aria-expanded")==="true"?(l.attr("aria-expanded","false"),l.next("ul").attr("aria-hidden","true"),l.parent().removeClass("children-visible")):(l.attr("aria-expanded","true"),l.next("ul").attr("aria-hidden","false"),l.parent().addClass("children-visible"))});var s=document.querySelector("header"),t=parseInt($("header").attr("data-headroomoffset")||100);if(new Headroom(s,{offset:t}).init(),r.find(".level2 .expanded").each(function(){$(this).children("._toggle").click()}),e.is(".subnav-type-hover")||e.is(".nav-thirdlevel-hover")){var o=[];e.is(".subnav-type-hover")&&o.push(".level1 > li > a"),e.is(".nav-thirdlevel-hover")&&o.push(".level2 > li > a");var v=r.find(o.join(",")),f=function(l,u){for(var h=l.parent();h.parent().is(":not("+u+")");)h=h.parent();return h.parent().is(u)?h:[]};r.on("blur","a, ._toggle",function(){var l=n.is(":visible");if(!l){var u=$(this);setTimeout(function(){var h=f(u,".level1"),g=f(u,".level2"),p=$(":focus"),N=f(p,".level1");if(e.is(".subnav-type-hover")&&h[0]!==N[0]&&h.is(".children-visible")&&h.children("._toggle").click(),g[0]&&e.is(".nav-thirdlevel-hover")){var I=f(p,".level2");g[0]!==I[0]&&g.removeClass("children-visible")}},0)}})}if(e.is(".subnav-type-click")){r.find(".level1 > li > a").on("click",function(l){var u=$(this).next("._toggle");u.length>0&&(u.click(),l.preventDefault())});var d=function(l){var u=n.is(":visible");if(!u){var h=r.find(".level1 > .children-visible"),g=l||$(":focus");if(h.length>0){if(g.length>0){for(var p=g;!p.is("body");)if(p=p.parent(),p[0]===h[0])return}h.children("._toggle").click()}}};e.on("keydown",function(l){l.key==="Tab"&&setTimeout(d,0)}),e.on("mousedown",function(l){setTimeout(function(){d($(l.target))},0)})}$(window).on("load",function(){e.is(".hoverhelper:not(.ie)")&&$(".level1 > li").on("mouseenter",function(){var l=$(this),u=l.children("a"),h=l.children("ul"),g=u.offset(),p=h.offset(),N=u.height();h.append('<li aria-hidden="true" class="hoverhelper left" style="height: '+N/2+"px; width: "+(g.left-p.left)+'px"></li>'),h.append('<li aria-hidden="true" class="hoverhelper right" style="height: '+N/2+"px; width: "+(p.left+p.width-g.left-g.width)+'px"></li>')}).on("mouseleave",function(){$(this).children("ul").children(".hoverhelper").remove()})})})();
44$(function(){var e=$("._orderbook");if(e.length>0){var r=e.attr("data-key");let n;n="/api/cisionproxy/",$.getJSON(n+"papi/OrderBook/"+r+"/?format=json",function(a){var s=a.Instruments[0].OrderBookEntries;s.sort(function(h,g){return h.Level>g.Level?1:h.Level<g.Level?-1:0});var t=function(h,g){return'<div><div style="background-color: '+g+"; width: "+h*100/d+'%"></div></div>'},o="",v=e.attr("data-buycolor"),f=e.attr("data-sellcolor"),d=0;s.forEach(function(h){d=Math.max(d,h.Quantity)});for(var l=0;l<=8;l+=2){var u=s[l+1]||{Price:0,Quantity:0};o+="<tr><td>"+formatNumber(u.Price,2)+"</td><td>"+formatNumber(u.Quantity,0)+"</td><td>"+t(u.Quantity,v)+"</td><td>"+t(s[l].Quantity,f)+"</td><td>"+formatNumber(s[l].Quantity,0)+"</td><td>"+formatNumber(s[l].Price,2)+"</td></tr>"}e.children("tbody").html(o)})}});(function(){$("._pagelist-filter").each(function(){var container=$(this);let navigate=function(href){container.attr("data-ajax")?$.get(href+"&_contentonly=true",function(result){result=$(result);let listId=container.attr("data-list"),el=result.find("."+listId);if(el.length===1){let pagingBtn=el.siblings("._paging"),pagelistMap=el.siblings("._pagelist-map"),oldList=$(document.body).find("."+listId),oldPagingBtn=oldList.siblings("._paging"),oldPagelistMap=oldList.siblings("._pagelist-map");oldList.is("._visuallyhidden")?(el.addClass("_visuallyhidden"),pagingBtn.addClass("_visuallyhidden"),pagelistMap.removeClass("_visuallyhidden")):(el.removeClass("_visuallyhidden"),pagingBtn.removeClass("_visuallyhidden"),pagelistMap.addClass("_visuallyhidden")),oldList.replaceWith(el),oldPagelistMap.replaceWith(pagelistMap),oldPagingBtn.remove(),pagingBtn.length>0&&(container.parent().append(pagingBtn),setupPaging());let widgetId=listId.split("-").pop();if(window[`_refreshmap_map${widgetId}`]){let script=result.find(`#mapJson${widgetId}`);eval(script.html()),window[`_refreshmap_map${widgetId}`]()}let filterEl=result.find('[data-list="'+listId+'"]'),targetEl=$(document.body).find('[data-list="'+listId+'"]');filterEl.children().each(function(e){let r=targetEl.children(":nth-child("+(e+1)+")"),n=$(this),a=n.find("select");if(a.length>0)r.find("select").html(a.html());else if(a=n.find("input"),a.length===1)a.is('[type="checkbox"]')?r.find("input").attr("value",a.attr("value")):r.find("input").attr("data-href",a.attr("data-href"));else if(a.length>1){let s=r.find("input"),t,o=[];if(a.each(function(v){let f=$(this),d=$(s[v]);if(f.is("[data-dropdownall]")){t=d.next();return}d.attr("value",f.attr("value")),f.is(":checked")&&o.push(f.next()),f.is("[disabled]")?d.attr("disabled","true"):d.attr("disabled",null)}),t){let v=t.closest("dialog").prev();o.length===0?(v.text(t.text()),s.each(function(){this.checked=!1}),t.prev().attr("disabled","true")[0].checked=!0):(t.prev().attr("disabled",null)[0].checked=!1,o.length===1?v.text(o[0].text()):v.text(`(${o.length})`))}}else n.is("._tabs")&&r.html(n.html())}),history.pushState("",document.title,href),grids=$("._pagelist-grid"),$(window).resize()}else location.href=href}):location.href=href};container.find('select, input[type="checkbox"]').change(function(){navigate(this.value)}),container.find("a").click(function(e){if(container.attr("data-ajax")){e.preventDefault();let r=$(this);r.addClass("selected").siblings().removeClass("selected"),navigate(r.attr("href"))}}
44),container.find("._search input").change(function(){var e=$(this),r=e.attr("data-id"),n=e.attr("data-href")||"";navigate("?"+n+"&"+r+"="+this.value)}),!(location.hostname.indexOf(".cms.")>-1)&&container.find("select").each(function(){var e=$(this);if(e.children("option[selected]").length===0){var r=e.children().first().val();r.indexOf("?")>-1&&(location.search||"").indexOf("getAllWidths=true")<0&&(e.val(e.children().first().val()),e.change())}})});let grids=$("._pagelist-grid");if(grids.length>0){var makeMasonry=function(){grids.addClass("loaded").each(function(){var e=$(this),r=window.getComputedStyle(this),n=parseInt(r.getPropertyValue("grid-auto-rows")),a=parseInt(r.getPropertyValue("grid-row-gap"));e.children(".item").each(function(){var s=Math.ceil((this.scrollHeight+a)/(n+a));this.style.gridRowEnd="span "+s})})};$(window).on("load",function(){$(window).resize(makeMasonry),makeMasonry()})}var setupPaging=function(){$("._paging").each(function(){var e=$(this),r=e.siblings("._pagelist, ._pagelist-table"),n=r.attr("class").split(" ").join("."),a=function(s){s.preventDefault(),$.get(e.attr("href"),function(t){r=e.siblings("._pagelist, ._pagelist-table");var o=$(t).find("."+n),v=o.children().first();if(v.is("h2")){var f=r.children("h2").last();f.html()===v.html()&&v.remove()}r.append(o.html()),e.remove(),e=o.siblings("._paging").insertAfter(r),e.click(a),setTimeout(function(){$(window).resize()},10),setTimeout(function(){$(window).resize()},100),setTimeout(function(){$(window).resize()},300),setTimeout(function(){$(window).resize()},1e3),setTimeout(function(){$(window).resize()},5e3)})};e.off("click").on("click",a)})};setupPaging();function initCheckboxDropdown(e){let r=e.getAttribute("aria-controls"),n=document.getElementById(r),a=function(s){n.close()};e.addEventListener("click",()=>{let s=e.getBoundingClientRect();n.style.left=s.left+"px",n.style.top=s.bottom+"px",n.showModal(),e.setAttribute("aria-expanded","true"),window.addEventListener("scroll",a)}),n.addEventListener("click",s=>{s.target===n&&(n.close(),s.preventDefault())}),n.addEventListener("close",()=>{e.setAttribute("aria-expanded","false"),window.removeEventListener("onscroll",a)}),n.querySelector("._close").addEventListener("click",s=>{n.close()})}$("._checkboxDropdownBtn").each(function(){initCheckboxDropdown(this)})})();
44$("._searchform").each(function(){var e=$(this),r=e.find("._searchbox"),n=parseInt(e.attr("data-animation")||0),a=e.find("._instantsearch"),s=a.attr("data-nohits"),t=!1,o=null,v=waasconfig.lang;e.on("focusout",function(f){setTimeout(function(){$(":focus").closest("._searchform").length===0&&($(document.body).removeClass("_searchmode"),e.removeClass("focus-within"),setTimeout(function(){$(document.body).removeClass("_searchanimating _searchanimating-complete")},n))},0)}),e.on("focusin",function(){$(document.body).addClass("_searchmode _searchanimating"),setTimeout(function(){$(document.body).addClass("_searchanimating-complete")},n),e.addClass("focus-within")}),e.on("click","._toggleSearch",function(){$(this).blur()}),r.focus(function(){this.value&&(r.select(),r.keyup())}),r.keyup(function(){var f=this.value;o&&clearTimeout(o),f?o=setTimeout(function(){a.show(),t=!0,$.getJSON("/api/search/?limit=10&q="+f+"&lang="+v,function(d){if(t){var l="<ul>",u=d.hits;if(u.length>0)for(var h=0;h<u.length;h++){var g=u[h];l+='<li><a href="'+g.url+'">'+g.name+"</a></li>"}else l+="<li><a>"+s+"</a></li>";l+="</ul>",a.html(l)}})},300):(a.html("").hide(),t=!1)}),$(document.body).on("click",function(f){t&&(a.hide(),t=!1)})});
44(function(){var e=$("#_sharegraph");if(e.length>0){var r=e.attr("data-symbol"),n=parseInt(e.attr("data-divisor")),a=e.attr("data-total-return-label"),s=1;$.getJSON("/api/sharegraph/"+r+"/?date="+new Date().toISOString().substring(0,10),function(R){var D=[{index:0,symbol:r,days:R,color:e.attr("data-color"),intraDays:[]}];he.each(function(c){var m=$(this);let C={hidden:!m.is(":checked"),index:c+1,symbol:m.attr("data-symbol"),color:m.attr("data-color"),isTotalreturn:m.attr("data-total-return")};D.push(C)});var w=D[0];it(w);var q=new Date(R[0].d),K=new Date(R[R.length-1].d),O=R.length,M=O-1,T=M,A=new Date,de=e.children("._shortcuts").children('[data-default="true"]');if(de.length===0)A.setMonth(A.getMonth()-3);else if(de=de.attr("data-type"),de==="All")A=new Date(q.getTime());else{var Ce=de.slice(-1),Se=parseInt(de);Ce==="m"?A.setMonth(A.getMonth()-Se):Ce==="y"?A.setFullYear(A.getFullYear()-Se):Ce==="d"&&A.setDate(A.getDate()-Se)}for(A=A.toISOString();T>0&&!(R[T].d<=A);)T--;var De=1/0,Ie=-1/0,ze=-1/0,Te=1/0,pe=-1/0,ne,fe,re,qe,Ne,Oe,ve,G,Z,V,U,Y,be,ee=0,He=e.find("._y-axis").first(),we=e.find("._gridlines"),E=we.width(),Ae=p.height();e.on("click","button",function(){var c=$(this).attr("data-type");if(M=O-1,c==="All")A=new Date(q.getTime());else{var m=parseInt(c),C=c[c.length-1];A=new Date(K.getTime()),C==="y"?A.setFullYear(A.getFullYear()-m):C==="m"?A.setMonth(A.getMonth()-m):C==="d"&&A.setDate(A.getDate()-m)}for(q>A&&(A=q),A=A.toISOString().substring(0,10),T=M;w.days[T].d>A;)T--;if(C==="d")for(ee=w.intraDays.length-1;ee>0&&w.intraDays[ee].d>A;)ee--;te()});var at={daypart:function(c){var m="",C="",y=0,b=-1,k=-1;for(i=U;i<Y+1;i++){var _=new Date(w.intraDays[i].d),x=_.getDate(),S=_.getHours();x!==b&&(C+='<span style="left: '+y+'%">'+_.toLocaleString(t,{weekday:"short"})+" "+_.toLocaleString(t,{day:"2-digit"})+" "+_.toLocaleString(t,{month:"short"})+"</span>",b=x),k!==S&&S%3===0&&(m+='<span style="left: '+y+'%">'+S+":00</span>",k=S),y+=c}return{minor:m,major:C}},hours:function(c){var m="",C="",y=0,b=-1,k=-1;for(i=U;i<Y+1;i++){var _=new Date(w.intraDays[i].d),x=_.getDate(),S=_.getHours();x!==b&&(C+='<span style="left: '+y+'%">'+_.toLocaleString(t,{weekday:"short"})+" "+_.toLocaleString(t,{day:"2-digit"})+" "+_.toLocaleString(t,{month:"short"})+"</span>",b=x),S!==k&&(m+='<span style="left: '+y+'%">'+S+":00</span>",k=S),y+=c}return{minor:m,major:C}},days:function(c){var m="",C="",y=0,b=-1;for(i=T;i<M+1;i++){var k=new Date(w.days[i].d),_=k.getMonth();_!==b&&(k.getDate()<26&&(C+='<span style="left: '+y+'%">'+k.toLocaleString(t,{month:"long"})+"</span>"),b=_),m+='<span style="left: '+y+'%">'+k.getDate()+"</span>",y+=c}return{minor:m,major:C}},weeks:function(c,m){var C="",y="",b=0,k=-1,_=8;for(i=T;i<M+1;i++){var x=new Date(w.days[i].d),S=x.getMonth(),W=S!==k;W&&(x.getDate()<21&&(y+='<span style="left: '+b+'%">'+x.toLocaleString(t,{month:"long"})+"</span>"),k=S);var H=x.getDay();if(H<_||W){var B,Q,P="";if(W){var X=1;for(B=i+1;B<M+1&&(Q=new Date(w.days[B].d),!(Q.getDay()<=H));)X++,B++;X*m<10&&(P="; color: transparent;")}else{var ge=1;for(B=i+1;B<M+1&&(Q=new Date(w.days[B].d),Q.getMonth()===S);)ge++,B++;ge*m<20&&(P="; color: transparent;")}C+='<span style="left: '+b+"%"+P+'">'+x.getDate()+"</span>"}_=H,b+=c}return{minor:C,major:y}},months:function(c){var m="",C="",y=0,b=-1,k=-1;for(i=T;i<M+1;i++){var _=new Date(w.days[i].d),x=_.getFullYear(),S=_.getMonth();x!==b&&(C+='<span style="left: '+y+'%">'+x+"</span>",b=x),S!==k&&(m+='<span style="left: '+y+'%">'+_.toLocaleString(t,{month:"short"})+"</span>",k=S),y+=c}return{minor:m,major:C}},quarters:function(c){var m="",C="",y=0,b=-1,k=-1;for(i=T;i<M+1;i++){var _=new Date(w.days[i].d),x=_.getFullYear(),S=_.getMonth();x!==b&&(C+='<span style="left: '+y+'%">'+x+"</span>",b=x),(y===0||S!==k&&S%3===0)&&(m+='<span style="left: '+y+'%">'+_.toLocaleString(t,{month:"short"})+"</span>",k=S),y+=c}return{minor:m,major:C}},years:function(c){var m="",C=0,y=-1;for(i=T;i<M+1;i++){var b=w.days[i].d.substring(0,4);(C===0||b!==y)&&(m+='<span style="left: '+C+'%">'+b+"</span>",y=b),C+=c}return{minor:m,major:""}}},te=function(){var c,m,C;if(Z=[],V=w.intraDays.length>0&&w.days[T].d>=w.intraDays[0].d.substring(0,10),V)for(c=0;c<D.length;c++)!D[c].hidden&&D[c].intraDays.length===0&&(V=!1);U=T,Y=M;var y="days";
44for(V&&(U=ee,Y=w.intraDays.length-1,y="intraDays"),s=0,c=0;c<D.length;c++)Z.push(),D[c].hidden||(s++,Z[c]=D[c][y][U].p);var b=1/0,k=-1/0,_=-1/0;for(c=0;c<D.length;c++)if(w=D[c],!w.hidden)for(m=U;m<Y+1;m++){var x=w[y][m],S=s===1?x.p:x.p/Z[c]-1;b=Math.min(S,b),k=Math.max(S,k),c===0&&(_=Math.max(x.q,_))}if(w=D[0],b!==De||k!==Ie){var W="",H="";De=b,Ie=k,ze=_;var B=chartAxis({minValue:De,maxValue:Ie}),Q=function(xe,Ee){if(s>1){Ee-=2;var rt=xe===0?"\xB1":xe>0?"+":"";return rt+(xe*100).toLocaleString(t,{minimumFractionDigits:Ee>0?2:0})+"%"}else return xe.toLocaleString(t,{minimumFractionDigits:Ee>0?2:0})};for(c=B.length-1;c>0;c--)W+="<span>"+Q(B[c],B.decimals)+"</span>",H+="<span></span>";ne=100/(B[0]-B[B.length-1]),fe=100-ne*B[0],He.html(W).next().html("<span>"+Q(B[0],B.decimals)+"</span>"),we.html(H),E=we.width()}f.children("svg").remove(),re=100/(Y-U);var P=E*re/100,ge=Math.round(Math.min(P,40)/2);v.css({"margin-left":ge,"margin-right":ge});var X;V?(X="daypart",P<.6&&(X="hours")):(X="days",P<.6?X="years":P<2?X="quarters":P<10?X="months":P<20&&(X="weeks"));var _e=1;P<1&&(_e=Math.ceil(1/P));var Xe=at[X](re,P);d.html(Xe.minor),l.html(Xe.major);var ae,ye="";for(c=0;c<D.length;c++)if(w=D[c],!w.hidden&&(!V||w.intraDays.length>0)){ae=0,ye+='<g style="stroke: '+w.color+'">';var nt=s===1?Z[c]:0,Ve=ne*nt+fe,We=0,S,le,ot=_e;for(m=U+1;m<Y+1;m+=_e){var x=w[y][m];S=s===1?x.p:x.p/Z[c]-1,le=ne*S+fe,ae+=re*_e,ye+='<line x1="'+We+'%" x2="'+ae+'%" y1="'+Ve+'%" y2="'+le+'%" />',We=ae,Ve=le}ye+="</g>"}f.append('<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg">'+ye+"</svg>"),w=D[0];var Qe,Fe="",Ge="";for(ae=0,m=U;m<Y+1;m++){var x=w[y][m];x.news&&(S=s===1?x.p:x.p/Z[0]-1,le=ne*S+fe,Ge+='<div data-index="'+m+'" style="top: '+le+"%; left: "+ae+'%;"></div>'),Qe=x.q*100/ze,Fe+='<div style="width: '+re+"%; height: "+Qe+"%; left: "+ae+'%"><div></div><span>'+x.volume+"</span></div>",ae+=re}h.html(Ge),g.html(Fe),Oe=T/O,ve=E/Math.sqrt(1-Oe);var me=Oe*ve-ve+E;G=Math.round((ve-E)*O/ve);var Le=E*(M-G+1)/(O-G);for(V&&be&&(me=be),I.width(me),z.css("left",me),L.width(E-Le),F.css("left",Le),J.css({left:me+"px",width:Le-me+"px"}),b=1/0,k=-1/0,c=G;c<O;c++){var S=w.days[c].p;k=Math.max(k,S),b=Math.min(b,S)}(b!==Te||k!==pe)&&(Te=b,pe=k,Ne=Ae/(1-Te/pe),qe=-Ne/pe);var Me="M0,10000",Ye=E/(O-G-1),ke=0,Ke="",Be=w.days[G].d.substring(0,4);for(c=G;c<O;c++){var x=w.days[c],le=qe*x.p+Ne;Me+=" L "+ke+" "+le;var Ze=x.d.substring(0,4);Ze!==Be&&(Be=Ze,Ke+='<div style="left: '+ke+'px"><span>'+Be+"</span></div>"),ke+=Ye}ce.html(Ke),Me+="L"+(ke-Ye)+",10000";var et=document.createElementNS("http://www.w3.org/2000/svg","path");et.setAttribute("d",Me),N.setAttribute("viewBox","0 0 "+E+" "+Ae),N.innerHTML="",N.appendChild(et)};te(),Pe(r,w,te),$(window).on("resize",function(){E=we.width(),Ae=p[0].clientHeight}),he.on("change",function(){var c,m=$(this),C=m.attr("data-symbol");for(i=1;i<D.length;i++)D[i].symbol===C&&(c=D[i]);c.hidden=!m.is(":checked"),He.siblings("._y-axis.top").toggle(c.hidden);var y=function(b,k){for(i=0;i<k.length;i++)if(b[i]||(k.splice(i,1),i--),k[i].d!==b[i].d)if(k[i].d<b[i].d)k.splice(i,1),i--;else{var _=JSON.parse(JSON.stringify(k[i-1]));_.d=b[i].d,_.missing=!0,k.splice(i,0,_)}};!c.hidden&&!c.loaded?$.getJSON("/api/sharegraph/"+C+"/?totalreturn="+c.isTotalreturn+"&date="+new Date().toISOString().substring(0,10),function(b){y(w.days,b),O=w.days.length,M>O-1&&(M=O-1),c.days=b,c.intraDays=[],c.loaded=!0,Pe(C,c,function(){y(c.intraDays,w.intraDays),te()}),te()}):te()});var Je,ue,Re,$e=e.is("._hidenews");$e&&e.children("._toggleNews").children("input").change(function(){$e=!$(this).is(":checked"),e.toggleClass("_hidenews",$e)});var Ue=function(c,m){if(m||c<E){var C=c/E,y=Math.round((Y-U)*C),b;m?(y=m-U,b=m):b=U+y;var k=V?"intraDays":"days",_=w[k][b];if(_!==Je){var x="",S="";Je=_,u.css({left:y*re+"%",display:"block"});var W=0;for(i=0;i<D.length;i++){var H=D[i];if(!H.hidden){var B=H[k][b],Q=s===1?B.p:B.p/Z[i]-1;W=Math.max(W,Q),x+='<span style="background-color: '+H.color+"; top: "+(ne*Q+fe)+'%"></span>',B.missing||(S+="<br>",s>1&&(S+='<span class="_dot" style="background-color: '+H.color+'"></span>
44'+(H.isTotalreturn&&a||H.symbol)+": "),S+=B.p.toLocaleString(t,{minimumFractionDigits:2}))}}if(_.news&&!$e)for(u.addClass("hasnews"),j=0;j<_.news.length;j++)S+='<br><a href="'+_.news[j].u+'">'+_.news[j].n+"</a>";else u.removeClass("hasnews");var P=_.d;V&&(P=P.replace("T","&nbsp;")),S='<div style="bottom: '+(100-(ne*W+fe))+'%">'+P+S+"</div>",u.html(x+S),ue&&ue.removeClass("hover"),ue=g.children(":nth-child("+(y+1)+")"),ue.addClass("hover")}}};h.on("mousemove",function(c){var m=parseInt($(c.target).attr("data-index"));Ue(null,m),c.stopPropagation()}),o.on("mousemove touchmove",function(c){let m=c.clientX||c.touches[0].clientX;Ue(m-Re)}),o.on("mouseenter touchstart",function(c){Re=o.offset().left}),o.on("mouseleave touchend",function(c){setTimeout(function(){u.hide(),ue&&ue.removeClass("hover")},0)});var oe,ie,se;J.on("mousedown touchstart",function(c){p.addClass("dragging"),oe="move",ie=c.offsetX,ie||(se=c.touches[0].clientX-J.offset().left),c.preventDefault()}),z.on("mousedown touchstart",function(c){p.addClass("dragging"),oe="left",ie=c.offsetX,ie||(se=1),c.preventDefault()}),F.on("mousedown touchstart",function(c){p.addClass("dragging"),oe="right",ie=c.offsetX,ie||(se=1),c.preventDefault()}),$(document).on("mouseup touchend",function(){oe=!1,be=0,p.removeClass("dragging")}),p.on("mousemove touchmove",function(c){if(oe==="right"){var m=c.offsetX-ie;se&&(m=c.touches[0].clientX-se),M=Math.round(m*(O-G)/E+G),M>O-1?M=O-1:M<T+2&&(M=T+2),te()}else if(oe){var C=T,y=c.offsetX-ie;se&&(y=c.touches[0].clientX-se);var b=Math.pow(E,2)/(E-y),k=1-Math.pow(E,2)/Math.pow(b,2);if(T=Math.round(k*O),T<0?T=0:T>w.intraIndex&&(T=w.intraIndex),oe==="move")M-=C-T,M>O-1&&(M=O-1,T=C);else if(V){be=c.offsetX,b=E/Math.sqrt(1-T/O);var _=b*(O-w.intraIndex)/O,x=(c.offsetX-(E-_))/_;ee=Math.round(w.intraDays.length*x),ee<0&&(ee=0)}te()}})});var t=e.attr("data-lang"),o=e.children("._chart-container"),v=o.children("._margin"),f=o.children("._chart-area"),d=e.find("._minor"),l=d.next(),u=f.children("._hoverline"),h=o.children("._newsitems"),g=o.children("._volume"),p=o.children("._navchart"),N=p.children("svg")[0],I=p.children("._leftcover"),L=p.children("._rightcover"),z=p.children("._left"),J=p.children("._navcover"),F=p.children("._right"),ce=p.children("._years"),he=e.children("._peers").children("label").children("input"),je=JSON.parse(e.children("._newsjson").html()),Pe=function(R,D,w){var q=new Date().toISOString().substring(0,16);$.getJSON("/api/sharegraph/"+R+"/?intraday=true&t="+q,function(K){if(K.length!==0){D.intraDays=K;var O,M,T,A=K[0].d.substring(0,10);for(D.intraIndex=0,O=0;O<D.days.length;O++)T=D.days[O],T.d<A&&D.intraIndex++;for(O=0;O<D.intraDays.length;O++)T=D.intraDays[O],T.volume=Math.round(T.q/n).toLocaleString(t);w()}})},it=function(R){var D,w,q;for(D=0;D<R.days.length;D++)q=R.days[D],q.volume=Math.round(q.q/n).toLocaleString(t);for(D=0;D<je.length;D++){var K=je[D];for(w=0;w<R.days.length;w++)if(q=R.days[w],q.d===K.d){q.news||(q.news=[]),q.news.push(K);break}}}}})();
44(function(){var e=$("#_ticker, ._ticker");if(e.length>0){var r=new Date().toISOString().substring(0,16),n=[];$("[data-tickerformat]").each(function(){let a=$(this);n.push(JSON.stringify({format:encodeURIComponent(a.attr("data-tickerformat")),when:a.attr("data-when")}))}),n=n.join("||"),$.getJSON(`/api/shareticker/?t=${r}&dateformats=${n}&lang=${waasconfig.lang}`,function(a){$("#_ticker-openprice, ._ticker-openprice").html(formatNumber(a.OpenPrice,2)),$("#_ticker-price, ._ticker-price").html(formatNumber(a.Price,2)),$("#_ticker-ask, ._ticker-ask").html(formatNumber(a.AskPrice,2)),$("#_ticker-bid, ._ticker-bid").html(formatNumber(a.BidPrice,2)),$("#_ticker-high, ._ticker-high").html(formatNumber(a.HighPrice,2)),$("#_ticker-low, ._ticker-low").html(formatNumber(a.LowPrice,2)),$("#_ticker-volume, ._ticker-volume").html(formatNumber(a.Quantity,0));var s="\xB1";a.Delta===void 0&&(a.Delta=0,a.DeltaPercentage=0),a.Delta>0?(e.addClass("_pos"),s="+"):a.Delta<0&&(e.addClass("_neg"),s=""),$("#_ticker-change, ._ticker-change").html(s+formatNumber(a.Delta,2)),$("#_ticker-changePerc, ._ticker-changePerc").html(s+formatNumber(parseFloat(a.DeltaPercentage)*100,2)),$("._ticker-ath").html(formatNumber(a.Ath,2)),$("._ticker-atl").html(formatNumber(a.Atl,2)),$("._ticker-high1y").html(formatNumber(a.HighPrice1Y,2)),$("._ticker-low1y").html(formatNumber(a.LowPrice1Y,2)),$("._ticker-noofshares").html(formatNumber(a.NumberOfShares,0)),$("._ticker-closeprice1d").html(formatNumber(a.ClosePrice1D,2)),n?a.formateddates.forEach(t=>{$(`[data-tickerformat="${t.format}"][data-when="${t.when}"]`).html(t.value)}):(typeof tickerDate!="function"&&(window.tickerDate=function(t){try{return t.toISOString()}catch{return""}}),a.QuoteTime&&$("#_ticker-updated, ._ticker-updated").html(tickerDate(new Date(a.QuoteTime))),$("._ticker-athdate").html(tickerDate(new Date(a.AthDate))),$("._ticker-atldate").html(tickerDate(new Date(a.AtlDate))))})}})();
44$(function(){var e=$("#subnav");if(e.is("._expandable")){var r='<button class="_togglesubnav"><svg class="show" role="presentation" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-show"></use></svg><svg class="hide" role="presentation" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-hide"></use></svg></button>';e.find("li").each(function(){var n=$(this);n.children("ul").length>0&&n.children("ul").before(r)}),e.on("click","._togglesubnav",function(){$(this).parent().toggleClass("expanded")})}});(function(){let e=$("._subscribe");if(e.length>0){let r=e.hasClass("_spamprotection");r&&e.find('[name="initTime"]').attr("value",new Date().getTime()),e.on("submit",function(n){n.preventDefault();let a=$(this).serialize(),s=$(this).attr("action"),t=!0;if(r){let o=e.find('[name="initTime"]').attr("value"),v=parseInt(new Date().getTime())-parseInt(o);(e.find('[name="waasvalidate"]')[0].value||v<2e3)&&(t=!1)}t&&($.ajax({type:"POST",url:s,data:a,success:function(o){e.removeClass("_fail"),e.addClass("_success")},error:function(o,v,f){e.addClass("_fail")}}),r&&e.find('[name="initTime"]').attr("value",new Date().getTime()))})}})();
44$(function(){var e=$("._trades");if(e.length>0){var r=e.attr("data-key");$.getJSON("/api/cisionproxy/papi/Ticker/"+r+"/Trades/?format=json",function(n){var a="",s=n.Instruments[0].Trades;s.forEach(function(t){var o=new Date(t.TradeTime).toTimeString().substring(0,8);a+="<tr><td>"+formatNumber(t.Price,2)+"</td><td>"+formatNumber(t.Quantity,0)+"</td><td>"+(t.Buyer||"&nbsp;")+"</td><td>"+(t.Seller||"&nbsp;")+"</td><td>"+o+"</td></tr>"}),e.children("tbody").html(a)})}});(function(){let e=$("._blocklink");e.length>0&&e.each(function(){let r=$(this).next("h2").text();$(this).attr("aria-label",r)})})();(function(){var e="table-responsive",r="table-scroll",n="has-scroll",a=document.querySelectorAll("table"),s=a.length,t=function(){for(var d=0;d<s;d++){var l=a[d],u=l.parentNode;if(u.classList.contains(r))return;var h=document.createElement("div");h.className=r,l.parentNode.insertBefore(h,l),h.appendChild(l);var g=document.createElement("div");g.className=e,h.parentNode.insertBefore(g,h),g.appendChild(h)}},o=function(){for(var d=0;d<s;d++){var l=a[d],u=window.getComputedStyle(l,null).getPropertyValue("width"),h=Math.round(parseInt(u)),g=l.closest("."+e),p=window.getComputedStyle(g,null).getPropertyValue("width"),N=Math.round(parseInt(p));h>N?g.classList.add(n):g.classList.remove(n)}},v=function(d,l,u){var h;return function(){var g=this,p=arguments,N=function(){h=null,u||d.apply(g,p)},I=u&&!h;clearTimeout(h),h=setTimeout(N,l),I&&d.apply(g,p)}},f=v(function(){o()},250);t(),o(),window.addEventListener("resize",f)})();$(function(){$(".has-tooltip").each((n,a)=>{$(a).on("click",r)}),$(".close").each((n,a)=>{$(a).on("click",e)});function e(n){$(n.target).offsetParent().removeClass("show")}function r(n){let a=!1;$(".pipeline-tooltip").each((s,t)=>{$(t).hasClass("show")&&(a=!0)}),!a&&$(n.target.children[0]).toggleClass("show")}});(function(){let e=$(".breadcrumb");$("#_main").prepend(e)})();(function(){$("footer ._section-container + ._section-container").append('<a href="#top" class="back-to-top">
44<svg role="img" aria-label="Back to top" width="16" viewBox="0 0 26 26"><use xlink:href="#svg-Nav-hide"></use></svg></a>')})();(function(){$("#_mainnav .level1 > li").each(function(){$(this).find("ul").length>0&&$(this).addClass("has-children")})})();$(function(){var e=$(".Movie");if(e.length>0){var r=$(".Video_overlay .Video_button");e.prev().find(".Video_overlay ._block-content"),r.click(function(n){n.preventDefault();var a=$("body"),s=$(".overlay"),t=$(".overlay__content");a.hasClass("overlay-open")?(a.removeClass("overlay-open"),t.empty(),s.attr({"aria-hidden":!0})):(a.addClass("overlay-open"),t.html(e.html()),s.attr({"aria-hidden":!1,tabindex:"-1"}).focus())})}});$(function(){$("body").on("click",".overlay__close",function(e){e.preventDefault();var r=$("body"),n=$(".overlay"),a=$(".overlay__content"),s=$(this).attr("href");r.hasClass("overlay-open")?(r.removeClass("overlay-open"),a.empty(),n.attr({"aria-hidden":!0})):(r.addClass("overlay-open"),a.html(container.html()),n.attr({"aria-hidden":!1,tabindex:"-1"}).focus())})});$(".live .related_content .related_content_text p").each(function(){var e=180;$(".related_content").hasClass("narrow_widget")&&(e=90),$(this).text().length>e&&$(this).text($(this).text().substr(0,e)+"...")});(function(){let e=$(".simple_disclaimer");if(e.length>0){let r=!1,n=e.closest("._section-container").show(),a=e.find(".disclaimerError"),s=e.find("button");e.on("change","input",function(){this.value==="valid"?(a.hide(),s.removeAttr("disabled")):(a.show(),s.attr("disabled","disabled"))}),s.on("click",()=>{n.hide(),n.siblings("._section-container").show()})}})();
44$(function(){var e=$("div[data-animation]");e.filter("[data-animationdelay]").each(function(){var r=$(this),n=r.attr("data-animationdelay");r.css({"animation-delay":n,"-webkit-animation-delay":n})}),e.length>0&&$(window).scroll(function(){var r=$(this).scrollTop()+window.innerHeight*.7;e.each(function(){var n=$(this);n.offset().top<=r&&n.addClass("_ani_"+n.attr("data-animation")+" _animated")})}).scroll()});(function(){if((location.search||"").indexOf("getAllWidths=true")>-1)return;let e=t=>{t.each(function(){let o=$(this).find("._chart-animation");o.length>0&&o.each(function(){let v=$(this);v.removeClass("_chart-animation-complete"),v.find("._chart-animation-done").each(function(){$(this).removeClass("_chart-animation-done")})})})},r=(t,o)=>{let v=o.indexOf("closable")>-1;t=t.children();let f=0;t.on("keydown",function(d){(d.code==="ArrowRight"||d.code==="ArrowLeft")&&(t[f].setAttribute("tabindex",-1),d.code==="ArrowRight"?(f++,f>=t.length&&(f=0)):(f--,f<0&&(f=t.length-1)),t[f].setAttribute("tabindex",0),t[f].focus())}),t.on("click",function(d){let l=$(d.target);f=l.index();let u=l.attr("aria-controls"),h=$("#"+u);if(v&&l.attr("aria-selected")==="true"){l.attr("aria-selected","false"),h.attr("hidden","true");return}l.attr("aria-selected","true").siblings().attr("aria-selected","false"),e(h.siblings()),h.removeAttr("hidden").siblings("._tabpanel").attr("hidden","true"),setTimeout(function(){$(window).resize()},0),setTimeout(function(){$(window).resize()},100)})},n=(t,o,v)=>{let f,d=$(`
45            <div class="_carousel" aria-roledescription="carousel" tabindex="0">
46                <div class="_carousel_frame" aria-live="polite">
47                    <div class="_carousel_slides"></div>
48                </div>
49            </div>`);if(d.insertBefore(o.first()),o.appendTo(d.find("._carousel_slides")),t.carousel){if(t.carousel.indexOf("dots")>-1){t.paddingBottom&&d.css("padding-bottom",t.paddingBottom);let u='<div class="_carousel_dots"><div class="wrap">',h=' class="selected"';for(let g=0;g<o.length;g++)u+=`<button role="button"${h}><span>${v[g]}</span></button>`,h="";u+="</div></div>",u=$(u).appendTo(d).on("click","button",function(){let g=$(this);l.slideTo(g.index()),clearInterval(f)}),d[0].addEventListener("after.lory.slide",function(g){u.find("button:eq("+(g.detail.currentSlide-1)+")").addClass("selected").siblings().removeClass("selected"),e(o.filter(":not(.active)"))})}if(t.carousel.indexOf("arrows")>-1&&(d.append(`
50					<div class="_section _carousel_prevnext">
51						<button role="button" class="_carousel_prev"><span>Previous slide</span></button>
52						<button role="button" class="_carousel_next"><span>Next slide</span></button>
53					</div>
54				`),d.children("._carousel_prevnext").on("click","button",function(){clearInterval(f)})),t.carousel.indexOf("counter")>-1){let u='<div class="_carousel_counter"><span class="index">1</span>/'+o.length+"</div>";d.append(u),d[0].addEventListener("after.lory.slide",function(h){$("._carousel_counter .index").html(h.detail.currentSlide)})}}var l=lory(d[0],{infinite:1,classNameFrame:"_carousel_frame",classNameSlideContainer:"_carousel_slides",classNamePrevCtrl:"_carousel_prev",classNameNextCtrl:"_carousel_next",slideSpeed:waasconfig.sliderSpeed||300});t.carousel.indexOf("autoplay")>-1&&(f=setInterval(function(){l.next()},waasconfig.sliderInterval||7e3),d.on("focus",function(){clearInterval(f)}))};if($("._section-container[data-grouping]").length>0){let t=$("._section-container"),o=[],v=-1,f=!1;for(let d=0;d<t.length;d++){let l=$(t[d]);l.is("[data-grouping]")?f?o[v]=o[v].add(l):(f=!0,o.push(l),v++):f=!1}o.forEach(d=>{let l=JSON.parse(decodeURIComponent(d.first().attr("data-grouping")));if(l.type==="sectioncarousel"){let u=[];d.each(function(h){let g=$(this);g.attr({role:"group","aria-roledescription":"slide","aria-label":`${h+1} of ${d.length}`}),u.push(g.find("._block-content").first().children().first().text())}),n(l,d,u)}else d.each(function(){let u=$(this),h=JSON.parse(decodeURIComponent(u.attr("data-grouping")));if(h.type==="tabpanel"){let g=(h.tabs||[]).indexOf("inithidden")>-1,p='<div role="tablist" class="_tablist">',N,I,L=u.children().children().children(),z=0;
54L.each(function(){let J=$(this),F=J.find(`h${h.level}`);if(F.length>0){let ce=Math.random().toString().substring(2);N=$(`<div 
55                                        class="_grid _tabpanel" 
56                                        id="panel-${ce}"
57                                        role="tabpanel"
58                                        aria-labelledby="tab-${ce}"
59                                        tabindex="0"
60                                    ></div>`).appendTo(u.children("._section"));let he=z===0&&!g;z===0?(I=N,he||N.attr("hidden","true")):N.attr("hidden","true"),p+=`<button 
61                                    role="tab" 
62                                    aria-selected="${he?"true":"false"}" 
63                                    tabindex="${z===0?"0":"-1"}" 
64                                    id="tab-${ce}" 
65                                    aria-controls="panel-${ce}"
66                                >${F.text()}</button>`,z++}N&&J.appendTo(N)}),p+="</div>",p=$(p).insertBefore(I),r(p,h.tabs||[])}})})}$("._block").each(function(){let t=$(this).find("._tabpanel");if(t.length>0){let v=t.closest("._block"),f=JSON.parse(decodeURIComponent(v.attr("data-grouping"))),d=(f.tabs||[]).indexOf("inithidden")>-1,l='<div role="tablist" class="_tablist">';t.each(function(u){let h=$(this),g=Math.random().toString().substring(2),p=h.find(`h${f.level}`).first().text(),N=u===0&&!d;l+=`<button 
67                    role="tab" 
68                    aria-selected="${N?"true":"false"}" 
69                    tabindex="${u===0?"0":"-1"}" 
70                    id="tab-${g}" 
71                    aria-controls="panel-${g}"
72                >${p}</button>`,h.attr({role:"tabpanel",id:`panel-${g}`,"aria-labelledby":`tab-${g}`,tabindex:"0"}),N||h.attr("hidden","true")}),l+="</div>",l=$(l).insertBefore(t.first()),r(l,f.tabs||[])}let o=$(this).find("._accordion");if(o.length>0){let v=o.closest("._block"),f=JSON.parse(decodeURIComponent(v.attr("data-grouping"))),d=f.accordion&&f.accordion.indexOf("allowmultiple")>-1,l=f.accordion&&f.accordion.indexOf("firstopen")>-1,u=function(I){I.each(function(){let L=$(this);L.attr("aria-hidden","true").height(0),L.find("a, input, button, select, textarea").attr("tabindex",-1)})},h=function(I){I.attr("aria-hidden","false"),I.find("a, input, button, select, textarea").removeAttr("tabindex"),I.height(I[0].scrollHeight)};o.each(function(I){let L=Math.random().toString().substring(2),z=$(this);z.prev().addClass("_accordion-heading").wrapInner(`<button 
73                    role="button"
74                    id="heading-${L}" 
75                    aria-controls="panel-${L}"
76                    aria-expanded="false"
77                    tabindex="${I===0?"0":"-1"}" 
78                ></button>`),z.attr({id:`panel-${L}`,"aria-labelledby":`heading-${L}`}),u(z)});let g=o.prev().children(),p=0,N=o.parent().is("._accordion-container");if(g.on("keydown",function(I){(I.code==="ArrowDown"||I.code==="ArrowUp"||I.code==="ArrowRight"||I.code==="ArrowLeft")&&(I.preventDefault(),g[p].setAttribute("tabindex",-1),I.code==="ArrowDown"||I.code==="ArrowRight"?(p++,p>=g.length&&(p=0)):(p--,p<0&&(p=g.length-1)),g[p].setAttribute("tabindex",0),g[p].focus())}),g.on("click",function(I){let L=$(I.target);L[0].tagName!=="BUTTON"&&(L=L.closest("button")),g.each(function(F){this===I.target&&(p=F)});let z=L.attr("aria-controls"),J=$("#"+z);if(L.attr("aria-expanded")==="false"){if(h(J),!d){let F=N?J.parent().siblings("._accordion-container").children("._accordion"):J.siblings("._accordion");u(F),g.attr("aria-expanded","false").parent().removeClass("_expanded"),N&&J.parent().siblings("._accordion-container").removeClass("_expanded")}L.attr("aria-expanded","true"),L.parent().addClass("_expanded"),N&&L.closest("._accordion-container").addClass("_expanded")}else u(J),L.attr("aria-expanded","false"),L.parent().removeClass("_expanded"),N&&L.closest("._accordion-container").removeClass("_expanded");e(J.parent().children('._accordion[aria-hidden="true"]'))}),l){let I=g.first();I.click();let L=I.attr("aria-controls"),z=$("#"+L).height("auto");setTimeout(function(){z.height(z[0].scrollHeight)},1e3)}}});let s=$("._block-carousel");s.length>0&&s.each(function(){let t=$(this),o=t.closest("._block"),v=JSON.parse(decodeURIComponent(o.attr("data-grouping"))),f=t.children();v.carousel&&v.carousel.indexOf("hideheadings")>-1&&f.children(`h${v.level}`).hide();let d=[],l;f.each(function(){let u=$(this);d.push(u.children(`h${v.level}`).html()),l=l||u.css("line-height")}),v.carousel&&v.carousel.indexOf("dots")>-1&&(v.paddingBottom=30),f.css({"white-space":"normal","line-height":l}),n(v,f,d)})})();})();
79(waasconfig.initFunctions || []).forEach(fn => { fn(); });

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.