PageSourceSearch

https://www.precisebiometrics.com/main.js?1788524407346

js precisebiometrics.com collected 2026-10-09 23:49:19 UTC 119,721 bytes, 84 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 t=function(o){o[0]&&o[0].currentSrc&&o.toggleClass("highdensity",o[0].currentSrc.indexOf("@2x")>-1)};let r;waasconfig.initFunctions.push(()=>{r=$("div.parallax"),r.each(function(){var o=$(this),c=o.children("._staticimg").css("background-image");if(c){o.html('<div class="parallax-slider">'+o.html()+"</div>");var f=new Image;
21f.onload=function(){o.parallax({naturalWidth:f.width,naturalHeight:f.height})},f.src=c.replace(/url\(['"]?/i,"").replace(/['"]?\)/,"")}else{var e=o.children("picture").children("img");if(e.length===0)return;t(e),e.on("load",function(){o.parallax({naturalWidth:e[0].naturalWidth,naturalHeight:e[0].naturalHeight}),$(window).resize()}),e[0].naturalWidth&&o.parallax({naturalWidth:e[0].naturalWidth,naturalHeight:e[0].naturalHeight})}})}),waasconfig.cleanupFunctions.push(()=>{r&&r.each(function(){$(this).parallax("destroy")})})})();$(function(){(function(){let o=[];$("picture[data-vimeo]").each(function(){let c=$(this),f=c.attr("data-vimeo"),e=c.attr("data-cf")||"";if(c.parent().is("._bg")){o.push(c.parent().parent());let n=$(`<div class="_vimeoBg"><div class="video-16-9"><iframe src="//player.vimeo.com/video/${f}?background=1&dnt=1" allow="autoplay; fullscreen"></iframe></div></div>`).insertAfter(c)}else c.wrap(`<div class="_vimeothumb" data-id="${f}" data-cf="${e}"></div>`)}),o.length>0&&$(window).resize(function(){o.forEach(function(c){let f=c.children("._bg").children("._vimeoBg");f.css("width","");let e=c[0].getBoundingClientRect(),n=e.width/e.height,a=0,s="100%";n<16/9&&(s=e.height*16/9,a=-(s-e.width)/2,s+="px"),f.css({width:s,left:a})})}).resize()})(),"objectFit"in document.documentElement.style||$("._bg:not(.parallax)").each(function(){let o=$(this),c=o.find("img");c.length>0&&(o.css("background-image",`url(${c.attr("src")})`),c.remove())});let t;var r=function(o){var c=[];try{c=$(o)}catch{}if(c.length===0&&(o=o.substring(1),$("h1, h2, h3, h4").each(function(){let e=encodeURIComponent(this.innerText).replace(/%C2%AD/g,"");o===e&&(c=$(this))})),c.length>0){var f=c.offset().top-window.pageYOffset-window.hashScroll.offsetTop;jump(f,{duration:window.hashScroll.duration}),setTimeout(()=>{let e=c.closest("._accordion-heading");e&&!e.is("._expanded")&&(t&&clearTimeout(t),t=setTimeout(()=>{e.children("button").click()},300))},0)}};location.hash&&(r(location.hash),$("img").on("load",function(){r(location.hash)})),$(document.body).on("click","a",function(o){var c=$(this).attr("href")||"";c[0]==="#"&&c.substring(0,7)!=="#_image"&&(o.preventDefault(),r(c))}),$("div._youtubethumb").click(function(){let o=$(this).parent(),c='<iframe frameborder="0" scrolling="no" allowfullscreen src="https://www.youtube.com/embed/'+$(this).attr("data-id")+'" referrerpolicy="origin" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"></iframe>',f=waasconfig.userConsent===void 0||!waasconfig.youtubedisclaimer;if(waasconfig.cookieprovider==="cookie-information"&&(f=CookieInformation.getConsentGivenFor(waasconfig.youtubecookie)),!f&&waasconfig.userConsent){let e=o.attr("data-cookiecat");if(e==="required"||!e)f=!0;else{let n=$.cookie("cookieSelection");n?n.split("|").indexOf(e)>-1&&(f=!0):f=!0}}if(f)o.html(c);else{let e=$(`
22                <div id="_youtubedisclaimer">
23                    <p>
24                        ${waasconfig.youtubedisclaimer}<br>
25                        <button>${waasconfig.youtubeaccept}</button>
26                    </p>
27                </div>
28            `);o.append(e),e.on("click","button",function(){o.html(c)})}}),$("div._cfThumb").click(function(){let o=$(this).parent(),c=$(this).attr("data-id");function f(e,n){let a=`<iframe 
29                                frameborder="0" 
30                                scrolling="no" 
31                                src="${n}?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>`;e.html(a)}if($(this).attr("data-protected"))fetch(`/api/video/protected/${c}/?json=true`,{method:"GET",credentials:"include"}).then(async e=>{if(e.status===200){let n=await e.json();n.url?f(o,n.url):console.error("No redirect location found")}else console.error("Invalid video response",e.status)}).catch(e=>{console.error("Error fetching protected video URL:",e)});else{let e=`https://customer-45luhql9ezbrg4cv.cloudflarestream.com/${c}/iframe`;f(o,e)}}),$("div._vimeothumb").click(function(){let o=$(this).parent(),c=`<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>`,f=waasconfig.userConsent===void 0||!waasconfig.vimeodisclaimer;if(!f&&waasconfig.userConsent){let e=o.attr("data-cookiecat");if(e==="required"||!e)f=!0;else{let n=$.cookie("cookieSelection");n?n.split("|").indexOf(e)>-1&&(f=!0):f=!0}}if(f)o.html(c);else{let e=$(`
38                <div id="_vimeodisclaimer">
39                    <p>
40                        ${waasconfig.vimeodisclaimer}<br>
41                        <button>${waasconfig.vimeoaccept}</button>
42                    </p>
43                </div>
44            `);o.append(e),e.on("click","button",function(){o.html(c)})}})});(function(){var t="/",r=$("._searchfieldstatic");r.length>0&&(t=r.attr("data-urloffset")),$("[data-lottie]").each(function(){let o=$(this),c=o.attr("data-lottie"),f=o.attr("data-bounce")==="true",e=o.attr("data-loop")==="true",n=o.attr("data-trigger")||"auto",a=c.split("|"),s=t+(a.length>1?"files/"+a[1]:"_animations/"+a[0]),l=lottie.loadAnimation({container:this,renderer:"svg",loop:e&&!f,autoplay:n==="auto",path:s}),d=1,u=()=>
44{f?(l.setDirection(d),l.play(),d=-d):l.play()};e&&l.addEventListener("complete",u),n==="click"?o.click(u):n==="mouseenter"?o.mouseenter(u):n==="hover"?(o.mouseenter(u),o.mouseleave(()=>{l.pause()})):n==="scroll"&&console.log("todo: microanimation on scroll")})})();$(function(){if(navigator.userAgent==="disturb-hit-gallery-afar")return;let t,r;function o(){$(document.body).addClass("_cookiebanner"),t=$("#_cookiebanner-opt-in-out"),t.removeClass("hidden"),t.on("click","button",c)}function c(){let e=$(this);e.is("._cookie-buttons-settings")?(t.children("._cookiebanner-opt-in-out--inner").hide(),t.children("._cookiebanner-opt-in-out--settings").show()):e.is("._cookie-settings-buttons-save")?(r=[],t.find('input[type="checkbox"]').each(function(){$(this).is(":checked")&&r.push(this.value)}),r=r.join("|"),f()):(e.is("._cookie-buttons-required")&&(r="required"),f())}function f(){$.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(e=>{e()})}setTimeout(()=>{window.waasconfig.userConsent=!!$.cookie("cookieAgree"),window.waasconfig.userConsent?window.waasconfig.consentFunctions.forEach(e=>{e()}):o()},0),$("#_removeCookies").click(()=>{$.cookie("cookieAgree",null),$.cookie("cookieSelection",null);for(var e=document.cookie.split("; "),n=0;n<e.length;n++)for(var a=window.location.hostname.split(".");a.length>0;){var s=encodeURIComponent(e[n].split(";")[0].split("=")[0])+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain="+a.join(".")+" ;path=",l=location.pathname.split("/");for(document.cookie=s+"/";l.length>0;)document.cookie=s+l.join("/"),l.pop();a.shift()}location.reload()})});(function(){var t=$("#disclaimer1"),r=!t.attr("data-skipcookies");if(t.length>0){var o=t.closest("._block"),c=o.closest("._section-container"),f=o.next().hide(),e=function(){c.hide();let d=c.next("._section-container");for(;d.length>0;)d.show(),d=d.next("._section-container");window.scrollTo(0,0),r&&$.cookie("disclaimerAgreed","true")};if(r&&$.cookie("disclaimerAgreed")==="true")e();else{c.show();var n=t.find("select"),a=t.find("button");if(t.on("change","select",function(){$(this).closest("p").next().toggle(this.value==="invalid");var d=!0;n.each(function(){this.value!=="valid"&&(d=!1)}),a.toggle(d)}),t.find("button").on("click",function(){f.length===0?e():(o.hide(),f.show())}),f.length===0)a.show();else{var s=f.find("button").hide().on("click",e),l=f.find("input");l.on("change",function(){var d=!0;l.each(function(){this.value==="valid"&&$(this).is(":not(:checked)")&&(d=!1)}),s.toggle(d),f.find(".disclaimerError").toggle(!d)})}}}})();(function(){$("#_skiptosearch").click(function(){$("._searchfield").focus()}),$("#_skiptonav").click(function(){let t=$("._mainnav a").first();t.is(":visible")||$("#_toggle-nav").click(),setTimeout(function(){t.focus()},0)}),$("#_skiptocontent").click(function(){let t=$("main");t.attr("tabindex","-1"),t.focus(),t.one("blur",function(){t.removeAttr("tabindex")})})})();(function(){$("form.widgetform").each(function(){var t=$(this);let r=t.find("._prev");if(r){let e=0,n=t.find("._next"),a=t.find("._form-steps"),s=t.children("._form-page"),l=function(d){e=d,s.each(function(u,m){u===e?m.removeAttribute("hidden"):m.setAttribute("hidden","hidden")}),r.attr("disabled",d===0?!0:null),n.attr("disabled",d===s.length-1?!0:null),a.children(`:nth-child(${d+1})`).addClass("_current-step").siblings().removeClass("_current-step")};n.on("click",function(d){d.preventDefault(),l(e+1)}),r.on("click",function(d){d.preventDefault(),l(e-1)}),a.on("click","button",function(d){d.preventDefault();let u=$(this).parent();l(u.index())})}if(t.is(".captcha")){var o="/api/captcha/?rnd="+Math.random();$.getJSON(o,function(e){var n='<label class="textfield captcha"><span>'+t.attr("data-captcha")+"</span>"+e.data+'<br><input name="_captcha" type="textfield"><input name="_captchaenc" type="hidden" value="'+e.encrypted+'"></label>';t.children('[name="widgetKey"]').before(n)})}var c=$(this).find("[data-required]");if(c.length>0&&c.on("change",function(){let e=$(this);e.is(".checkboxlist")?(e.removeClass("invalid"),e=e.find('input[type="checkbox"]')[0],e.setCustomValidity("")):e.closest("label").removeClass("invalid")}),t.find('[name="initTime"]').attr("value",new Date().getTime()),t.on("click",'input[type="submit"]',function(e){c.each(function(){var n=$(this);n.is("select")&&!this.value&&n.focus().closest("label").addClass("invalid")})}),t.on("submit",function(e){if(c.length>0){var n=!0;if(c.each(function(){var a=$(this);if(a.is('[type="checkbox"]'))a.is(":not(:checked)")&&(a.focus().closest("label").addClass("invalid"),n=!1);else if(a.is(".checkboxlist")){if(a.find(":checked").length===0){a.addClass("invalid");let s=a.attr("data-errormsg")||"Please check at least one option";a=a.find('input[type="checkbox"]')[0],a.setCustomValidity(s),a.reportValidity(),n=!1}}else this.value||(a.focus().closest("label").addClass("invalid"),n=!1)}),!n){e.preventDefault();return}}if(t.find("[pattern]").each(function(){let a=$(this),s=a.attr("data-errormsg");s&&a[0].setCustomValidity(s)}),t.find('[name="sendTime"]').attr("value",new Date().getTime()),t.is("[ajax]")){e.preventDefault();let a={};t.find("input, select, textarea").each(function(){let d=$(this);if(d.is('[type="radio"]'))d.is(":checked")&&(a[d.attr("name")]=d.val());else{let u=d.is('[type="checkbox"]')?d.is(":checked"):d.val();a[d.attr("name")]=u}});
44let s=t.attr("action")||location.pathname,l=new XMLHttpRequest;l.open("POST",s,!1),l.setRequestHeader("Content-type","application/json; charset=UTF-8"),l.onreadystatechange=function(){if(l.status===200){let d=t.attr("data-success");t.replaceWith(`<div class="_success">${d}</div>`),window[`_formsubmit-${t.attr("data-widget")}`]()}else{let d=t.attr("data-failure");t.prepend(`<div class="_failure">${d}</div>`)}},l.send(JSON.stringify(a))}}),t.is("[autosave]")){let e="form"+t.attr("data-widget");t.change(function(a){let s=$(a.target),l=s.attr("name"),d=s.is('[type="checkbox"]')?s.is(":checked"):s.val();localStorage.setItem(e+l,d)});let n=$(this).find('input:not([type="file"]), select, textarea');n.each(function(){let a=$(this),s=a.attr("name"),l=localStorage.getItem(e+s);l&&(a.is('[type="checkbox"]')?l!=="false"&&a.attr("checked","checked"):a.is('[type="radio"]')?l===a.val()&&a.attr("checked","checked"):a.val(l))}),t.on("submit",function(){n.each(function(){let a=$(this).attr("name");localStorage.removeItem(e+a)})})}t.find("[pattern]").each(function(){let e=$(this),n=e.attr("data-errormsg");n&&e.on("change",function(){this.validity&&this.validity.patternMismatch?this.setCustomValidity(n):this.setCustomValidity("")})}),t.find("[data-maxsize]").each(function(){let e=$(this),n=parseInt(e.attr("data-maxsize"))*1024,a=e.attr("data-errormsg")||"File is too large";this.addEventListener("change",s=>{let l=s.target.files[0];l&&(l.size>n?(a+=` (max ${n/1024} KB)`,s.target.setCustomValidity(a),s.target.reportValidity(),s.target.value=""):s.target.setCustomValidity(""))})}),$("._dropdown").each(function(){let e=$(this),n=e.children("input[name]"),a=e.children("input[data-id]"),s=e.find("._options span");a.on("focus",function(){e.addClass("visible")}),a.on("blur",function(){e.removeClass("visible");let l=a.val(),d=n.val();if(!l){n.val("");return}let u=!0;if(d&&s.filter(`[data-value="${d}"]`).text()===l&&(u=!1),u){let m=!1,g=new RegExp("^"+l,"i");s.each(function(){if(g.test(this.innerText)){let b=$(this);n.val(b.attr("data-value")||b.text()),a.val(b.text()),m=!0}}),m||(a.val(""),n.val(""))}}),a.on("keyup",function(l){s.show();let d=this.value;if(!d)return;let u=new RegExp("^"+d,"i");s.each(function(){u.test(this.innerText)||$(this).hide()})}),a.on("keypress",function(l){if(l.code==="Enter"){l.preventDefault();let d=s.filter(":visible").first();d.length>0?d.mousedown():a.blur()}}),e.on("mousedown",function(l){if(l.target.tagName==="SPAN"){a.blur();let d=$(l.target),u=d.attr("data-value")||d.text();a.val($(l.target).text()),n.val(u)}})});let f=new Date;f.setDate(f.getDate()+1),t.find('[data-onlyfuture="true"]').attr("min",f.toISOString().substring(0,10)),t.find("[data-weekdays]").on("change",function(){this.setCustomValidity("");let e=$(this);if(this.value){let n=new Date(this.value);if(n){let a=e.attr("data-weekdays").split(","),s=n.getDay().toString();a.indexOf(s)<0&&(this.value="",this.setCustomValidity(e.attr("data-weekdayserror")||"This date is not valid"),this.reportValidity())}}}),t.find("[data-onlyworkemail]").on("change",function(){this.setCustomValidity("");let e=$(this);if(this.value){let n=["gmail","yahoo","hotmail","aol","live","outlook"];new RegExp(n.map(s=>`@${s}\\.`).join("|")).test(this.value)&&(this.setCustomValidity(e.attr("data-onlyworkemailerror")||"Please provide a business email address."),this.reportValidity())}}),t.find('input[type="file"][data-hasplaceholder]').on("change",function(e){let n=e.target.files,a=e.target.nextElementSibling,s=a.getAttribute("placeholder")||a.innerText;n.length?(a.getAttribute("placeholder")||a.setAttribute("placeholder",s),a.innerHTML=n[0].name,a.classList.add("has-value")):(a.innerHTML=s,a.classList.remove("has-value"))})}),!$.cookie("userid")&&!$.cookie("forcedform")&&$("._forcedform").each(function(){let t=$(this),r=t.prev().find("a");r.each(function(){let o=$(this),c=o.attr("href");o.attr("data-href",c),o.attr("href","#"),o.click(function(f){f.preventDefault(),t.addClass("_visible"),setTimeout(function(){t.addClass("_visibleOpen")},0),t.find(".widgetform").on("submit",function(){let e=()=>
44{t.find("._success").length>0?($.cookie("forcedform","true",{expires:90}),window.open(c),t.click(),r.each(function(){let a=$(this);a.off("click"),a.attr("href",a.attr("data-href"))})):setTimeout(e,300)};setTimeout(e,1e3)})})}),t.on("click",function(o){o.target===t[0]&&(t.removeClass("_visibleOpen"),setTimeout(function(){t.removeClass("_visible")},600))})})})();$(function(){let t=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 o=function(){dataLayer.push(arguments)};o("consent","default",{ad_user_data:"granted",ad_personalization:"granted",ad_storage:"granted",analytics_storage:"granted"})}(function(n,a,s,l,d){n[l]=n[l]||[],n[l].push({"gtm.start":new Date().getTime(),event:"gtm.js"});var u=a.getElementsByTagName(s)[0],m=a.createElement(s),g=l!="dataLayer"?"&l="+l:"";m.async=!0,m.src="https://www.googletagmanager.com/gtm.js?id="+d+g,u.parentNode.insertBefore(m,u)})(window,document,"script","dataLayer",window.waasconfig.gtm)}var c=document.URL.replace(/^https?:\/+/i,"").replace(/[\/:].*$/,""),f=document.URL.replace(/^https?:\/\/[^\/]*/i,"").replace(/[?#].*$/,"");if(c.indexOf(".waas.site")>-1)return;(function(n,a,s,l,d,u,m){n.GoogleAnalyticsObject=d,n[d]=n[d]||function(){(n[d].q=n[d].q||[]).push(arguments)},n[d].l=1*new Date,u=a.createElement(s),m=a.getElementsByTagName(s)[0],u.async=1,u.src=l,m.parentNode.insertBefore(u,m)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");let e=[];window.waasconfig.gacode&&e.push({id:"Waas",code:window.waasconfig.gacode}),window.waasconfig.gaextra&&e.push({id:"Client",code:window.waasconfig.gaextra}),e.forEach(n=>{ga("create",n.code,"auto",n.id,{cookieExpires:31536e3}),ga(n.id+".set","anonymizeIp",!0),ga(n.id+".send","pageview")}),$(document.body).on("click","a",function(n){let a=$(this).attr("href");a.indexOf("mailto")===0?e.forEach(s=>{ga(s.id+".send","event","Email click on page",f,a)}):(a[0]!=="/"||a.indexOf(".")>-1)&&e.forEach(l=>{ga(l.id+".send","event","Exit click on page",f,a)})})};window.waasconfig.gaoptout?$.cookie("cookieAnalytics")?(window.waasconfig.userConsent=!0,t()):waasconfig.consentFunctions.push(t):t()});(function(){var t=$(document.body),r=$("._mainnav"),o=parseInt(r.attr("data-flyout-speed")||"300");let c=$("#_toggle-nav"),f=r.children("._closecolumns");var e=f.length>0,n=function(I){var x=$("header").siblings(),S=x.find("a, input, button, select, textarea"),v=x.find("._googlemap");I?(x.removeAttr("aria-hidden"),S.removeAttr("tabindex"),v.css("display","")):(x.attr("aria-hidden","true"),S.attr("tabindex","-1"),v.css("display","none"))};c.click(function(){var I=$(this),x=t.is("._menumode"),S=I.closest("header").siblings();x?(n(!0),t.removeClass("_menutransition"),I.attr("aria-expanded","false"),setTimeout(function(){t.removeClass("_menumode")},o),e&&(r.find(".children-visible").each(function(){$(this).children("._toggle").click()}),setTimeout(()=>{r.attr("data-level","1"),le()},0))):(n(!1),t.addClass("_menumode"),setTimeout(function(){if(I.attr("aria-expanded","true"),t.is(".nav-thirdlevel-visible"))r.find("._toggle").each(function(){var v=$(this),p=v.parent();let P=v.siblings("ul");p.is(".expanded")?(p.addClass("children-visible"),v.attr("aria-expanded","true")):(p.removeClass("children-visible"),v.attr("aria-expanded","false"))});else{let v;r.find(".expanded").each(function(){var p=$(this);v=p.children("ul").attr("data-level")||v,p.is(".children-visible")||p.children("._toggle").click()})}t.addClass("_menutransition"),e&&le()},0)),x=!x});let a=r.attr("data-togglelabel"),s;r.find("li").each(function(){var I=$(this),x=I.children("ul");if(x.length>0){let S=I.is(".children-visible")||x.is('[data-tabable="true"]');S||(s?s=s.add(x):s=x),x.before('<button class="_toggle" aria-label="'+a+'" aria-expanded="'+S+'" aria-controls="'+x.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>'),e&&x.wrap('<div class="_level-container">')}}),s&&(s.attr("aria-hidden","true"),s.find("a, button").attr("tabindex","-1")),r.on("click","._toggle",function(){let I=$(this),x=I.parent(),S=I.closest("ul").attr("data-level");
44if(x.is(".children-visible"))I.attr("aria-expanded","false"),x.removeClass("children-visible"),x.children('ul:not([data-tabable="true"])').children("li").children().attr("tabindex","-1"),x.siblings("._temporary-closed").addClass("expanded").removeClass("_temporary-closed"),x.children("ul").children("li.children-visible").children("._toggle").click();else{I.attr("aria-expanded","true"),x.addClass("children-visible"),x.children("ul").children("li").children().removeAttr("tabindex"),S=(parseFloat(S)+1).toString(),x.siblings(".expanded").addClass("_temporary-closed").removeClass("expanded");let v=x.children("ul").children("li.expanded").children("._toggle");v.length>0&&(S=null,v.click()),e&&(x.siblings(".children-visible").children("._toggle").click(),x.parent().siblings("ul").children(".children-visible").children("._toggle").click())}setTimeout(()=>{S&&r.attr("data-level",S),e&&le()},0)});var l=document.querySelector("header"),d=parseInt($("header").attr("data-headroomoffset")||100);new Headroom(l,{offset:d}).init();let u=$("._toggletrigger");if(u.length>0){u.on("click",function(I){var x=$(this).next("._toggle");x.length>0&&(x.click(),I.preventDefault())});var m=function(I){var x=c.is(":visible");if(!x){var S=r.find(".level1 > .children-visible"),v=I||$(":focus");if(S.length>0){if(v.length>0){for(var p=v;!p.is("body");)if(p=p.parent(),p[0]===S[0])return}S.children("._toggle").click()}}};t.on("keydown",function(I){I.key==="Tab"&&setTimeout(m,0)}),t.on("mousedown",function(I){setTimeout(function(){m($(I.target))},0)})}r.find("._swipeback").on("click",function(I){I.preventDefault(),I.stopPropagation(),$(this).parent().closest("li").children("button").click()});let g=$("._ribbon");if(g.length>0){let I=g.height(),x=g.children("ul"),S=!1,v,p=g.find("._ribbonToggle"),P=p.children("button"),Y=p.attr("data-show")||"More",O=p.attr("data-hide")||"Less";P.click(function(){S?(v&&clearTimeout(v),g.height(x[0].scrollHeight),setTimeout(function(){g.removeClass("_ribbonExpanded"),P.html(Y),g.height(I)},0)):(g.addClass("_ribbonExpanded"),P.html(O),g.height(x[0].scrollHeight),v=setTimeout(function(){g.height("auto")},300)),S=!S});let q=g.find(".selected");q.length>0&&q.position().top>0&&P.click()}var b,A,M,E,H,V,X=0,W=250,F=r.attr("data-sectioninfo")==="right";e&&(b=parseInt(r.attr("data-column-width")),A=parseInt(r.attr("data-collapsed-width")),M=r.find("._level-container").add(r),H=r.find("._columnnav"),V=parseInt(r.css("top")));function le(){H.css("transform","translateX(0)");let I=parseInt(r.attr("data-level")||"1");F&&r.find(`.level${I-1} > .children-visible > div > ul > ._sectioninfo`).length>0&&I++;let x=I*b+A,S=l.clientWidth;if(x>S){E=!0;let v=(S-A)/I,p=0;for(;v<W;)p++,v=(S-A-p*A)/(I-p);M.css("width",v),f.css("padding-left",S-A),M.removeClass("_collapsed");for(let P=0;P<p;P++)M.filter(`:has(> ul.level${P+2})`).addClass("_collapsed");X=p}else E&&(M.css("width","").removeClass("_collapsed"),f.css("padding-left",""),E=!1)}e&&($(window).on("resize",le),f.on("click","button",function(){c.click()}),$("._column-nav-expander > button").on("click",function(){$(this).closest("ul").children(".children-visible").children("._toggle").click()}),$("._columntrigger").on("click",function(){let I=$(this),x=I.parent().is(".expanded"),S=I.attr("data-id");t.is("._menumode")||c.click(),x||setTimeout(()=>{$(`#_menu${S}`).parent().prev("._toggle").click()},0)}))})();$(function(){var t=$("._mf");if(t.length>0){var r=[],o=$("html").attr("lang");t.each(function(){var f=$(this);r.push({id:f.attr("id"),widget:f.attr("data-type"),locale:o,token:f.attr("data-token"),c:f.attr("data-c"),demo:f.attr("data-demo")==="true"})}),window._MF={data:r,url:"https://widget.datablocks.se/api/rose",ready:!1,render:function(){window._MF.ready=!0}};var c=document.createElement("script");c.type="text/javascript",c.async=!0,c.src=window._MF.url+"/assets/js/loader-v3.js",document.getElementsByTagName("body")[0].appendChild(c)}});$(function(){var t=$("._orderbook");if(t.length>0){var r=t.attr("data-key");let o;o="/api/cisionproxy/",$.getJSON(o+"papi/OrderBook/"+r+"/?format=json",function(c){var f=c.Instruments[0].OrderBookEntries;f.sort(function(m,g){return m.Level>g.Level?1:m.Level<g.Level?-1:0});var e=function(m,g){return'<div><div style="background-color: '+g+"; width: "+m*100/l+'%"></div></div>'},n="",a=t.attr("data-buycolor"),s=t.attr("data-sellcolor"),l=0;f.forEach(function(m){l=Math.max(l,m.Quantity)});for(var d=0;d<=8;d+=2){var u=f[d+1]||{Price:0,Quantity:0};n+="<tr><td>"+formatNumber(u.Price,2)+"</td><td>"+formatNumber(u.Quantity,0)+"</td><td>"+e(u.Quantity,a)+"</td><td>"+e(f[d].Quantity,s)+"</td><td>
44"+formatNumber(f[d].Quantity,0)+"</td><td>"+formatNumber(f[d].Price,2)+"</td></tr>"}t.children("tbody").html(n)})}});(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(t){let r=targetEl.children(":nth-child("+(t+1)+")"),o=$(this),c=o.find("select");if(c.length>0){r.find("select").html(c.html());return}if(c=o.find("input"),c.length===1){c.is('[type="checkbox"]')?r.find("input").attr("value",c.attr("value")):r.find("input").attr("data-href",c.attr("data-href"));return}if(c.length>1){let f=r.find("input"),e,n=[];if(c.each(function(a){let s=$(this),l=$(f[a]);if(s.is("[data-dropdownall]")){e=l.next();return}l.attr("value",s.attr("value")),s.is(":checked")&&n.push(s.next()),s.is("[disabled]")?l.attr("disabled","true"):l.attr("disabled",null)}),e){let a=e.closest("dialog").prev();n.length===0?(a.text(e.text()),f.each(function(){this.checked=!1}),e.prev().attr("disabled","true")[0].checked=!0):(e.prev().attr("disabled",null)[0].checked=!1,n.length===1?a.text(n[0].text()):a.text(`(${n.length})`))}return}o.is("._tabs")&&r.html(o.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(t){if(container.attr("data-ajax")){t.preventDefault();let r=$(this);r.addClass("selected").siblings().removeClass("selected"),navigate(r.attr("href"))}}),container.find("._search input").change(function(){var t=$(this),r=t.attr("data-id"),o=t.attr("data-href")||"";navigate("?"+o+"&"+r+"="+this.value)}),!(location.hostname.indexOf(".cms.")>-1)&&container.find("select").each(function(){var t=$(this);if(t.children("option[selected]").length===0){var r=t.children().first().val();r.indexOf("?")>-1&&(location.search||"").indexOf("getAllWidths=true")<0&&(t.val(t.children().first().val()),t.change())}})});let grids=$("._pagelist-grid");if(grids.length>0){var makeMasonry=function(){grids.addClass("loaded").each(function(){var t=$(this),r=window.getComputedStyle(this),o=parseInt(r.getPropertyValue("grid-auto-rows")),c=parseInt(r.getPropertyValue("grid-row-gap"));t.children(".item").each(function(){var f=Math.ceil((this.scrollHeight+c)/(o+c));this.style.gridRowEnd="span "+f})})};$(window).on("load",function(){$(window).resize(makeMasonry),makeMasonry()})}var setupPaging=function(){$("._paging").each(function(){var t=$(this),r=t.siblings("._pagelist, ._pagelist-table");if(r.length!==0){var o=r.attr("class").split(" ").join("."),c=function(f){f.preventDefault(),$.get(t.attr("href"),function(e){r=t.siblings("._pagelist, ._pagelist-table");var n=$(e).find("."+o),a=n.children().first();if(a.is("h2")){var s=r.children("h2").last();s.html()===a.html()&&a.remove()}r.append(n.html()),t.remove(),t=n.siblings("._paging").insertAfter(r),t.click(c),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)})};t.off("click").on("click",c)}})};
44setupPaging();function initCheckboxDropdown(t){let r=t.getAttribute("aria-controls"),o=document.getElementById(r),c=function(f){o.close()};t.addEventListener("click",()=>{let f=t.getBoundingClientRect();o.style.left=f.left+"px",o.style.top=f.bottom+"px",o.showModal(),t.setAttribute("aria-expanded","true"),window.addEventListener("scroll",c)}),o.addEventListener("click",f=>{f.target===o&&(o.close(),f.preventDefault())}),o.addEventListener("close",()=>{t.setAttribute("aria-expanded","false"),window.removeEventListener("onscroll",c)}),o.querySelector("._close").addEventListener("click",f=>{o.close()})}$("._checkboxDropdownBtn").each(function(){initCheckboxDropdown(this)})})();(function(){let t=$("._searchform"),r=300,o=t.find("._searchfield"),c=t.find("._instantsearch");var f=c.attr("data-nohits"),e=t.attr("data-prefix"),n=!1,a=null,s=$("html").attr("lang"),l;if(t.on("focusout",function(u){setTimeout(function(){$(":focus").closest("._searchform").length===0&&(c.css("opacity",0),$(document.body).removeClass("_searchanimating _searchanimating-complete"),t.removeClass("focus-within"),setTimeout(function(){$(document.body).removeClass("_searchmode")},r),setTimeout(function(){c.css("opacity",null)},1e3))},0)}),t.on("focusin",function(){$(document.body).addClass("_searchmode _searchanimating"),setTimeout(function(){$(document.body).addClass("_searchanimating-complete")},r),t.addClass("focus-within")}),c.length===0)return;let d=u=>{var m="<ul>";if(u.length>0)for(var g=0;g<u.length;g++){var b=u[g];m+='<li><a href="'+b.url+'">'+b.name+"</a></li>"}else m+="<li><a>"+f+"</a></li>";m+="</ul>",c.html(m)};o.focus(function(){this.value&&o.select(),o.keyup()}),o.keydown(function(u){u.key==="Enter"&&n&&(c.hide(),n=!1)}),o.keyup(function(u){if(u.key!=="Enter"){if(!l){$.getJSON(`/api/getpages/?names=1&prefix=${e}&lang=${waasconfig.lang}`,function(g){l=g,o.keyup()});return}var m=this.value;if(a&&clearTimeout(a),!m)c.html("").hide(),n=!1;else{let g=new RegExp(m,"ig"),b=l.filter(A=>g.test(A.name));if(b.length>0){c.show(),n=!0,d(b);return}a=setTimeout(function(){c.show(),n=!0,$.getJSON("/api/search/?limit=10&q="+m+"&lang="+s,function(A){n&&d(A.hits)})},300)}}}),$(document.body).on("click",function(u){n&&(c.hide(),n=!1)})})();(function(){var t=$("#_sharegraph");if(t.length>0){var r=t.attr("data-symbol"),o=parseInt(t.attr("data-divisor")),c=t.attr("data-total-return-label"),f=1;$.getJSON("/api/sharegraph/"+r+"/?date="+new Date().toISOString().substring(0,10),function(S){var v=[{index:0,symbol:r,days:S,color:t.attr("data-color"),intraDays:[]}];F.each(function(h){var w=$(this);let D={hidden:!w.is(":checked"),index:h+1,symbol:w.attr("data-symbol"),color:w.attr("data-color"),isTotalreturn:w.attr("data-total-return")};v.push(D)});var p=v[0];x(p);var P=new Date(S[0].d),Y=new Date(S[S.length-1].d),O=S.length,q=O-1,B=q,N=new Date,ge=t.children("._shortcuts").children('[data-default="true"]');if(ge.length===0)N.setMonth(N.getMonth()-3);else if(ge=ge.attr("data-type"),ge==="All")N=new Date(P.getTime());else{var Ie=ge.slice(-1),De=parseInt(ge);Ie==="m"?N.setMonth(N.getMonth()-De):Ie==="y"?N.setFullYear(N.getFullYear()-De):Ie==="d"&&N.setDate(N.getDate()-De)}for(N=N.toISOString();B>0&&!(S[B].d<=N);)B--;var Le=1/0,Me=-1/0,ze=-1/0,Ae=1/0,$e=-1/0,ce,me,de,He,Ee,Oe,ve,te,ne,K,Q,ie,ye,ae=0,We=t.find("._y-axis").first(),_e=t.find("._gridlines"),R=_e.width(),Be=b.height();t.on("click","button",function(){var h=$(this).attr("data-type");if(q=O-1,h==="All")N=new Date(P.getTime());else{var w=parseInt(h),D=h[h.length-1];N=new Date(Y.getTime()),D==="y"?N.setFullYear(N.getFullYear()-w):D==="m"?N.setMonth(N.getMonth()-w):D==="d"&&N.setDate(N.getDate()-w)}for(P>N&&(N=P),N=N.toISOString().substring(0,10),B=q;p.days[B].d>N;)B--;if(D==="d")for(ae=p.intraDays.length-1;ae>0&&p.intraDays[ae].d>N;)ae--;oe()});var it={daypart:function(h){var w="",D="",k=0,y=-1,C=-1;for(i=Q;i<ie+1;i++){var _=new Date(p.intraDays[i].d),T=_.getDate(),L=_.getHours();T!==y&&(D+='<span style="left: '+k+'%">'+_.toLocaleString(e,{weekday:"short"})+" "+_.toLocaleString(e,{day:"2-digit"})+" "+_.toLocaleString(e,{month:"short"})+"</span>",y=T),C!==L&&L%3===0&&(w+='<span style="left: '+k+'%">'+L+":00</span>",C=L),k+=h}return{minor:w,major:D}},hours:function(h){var w="",D="",k=0,y=-1,C=-1;for(i=Q;i<ie+1;i++){var _=new Date(p.intraDays[i].d),T=_.getDate(),L=_.getHours();T!==y&&(D+='<span style="left: '+k+'%">
44'+_.toLocaleString(e,{weekday:"short"})+" "+_.toLocaleString(e,{day:"2-digit"})+" "+_.toLocaleString(e,{month:"short"})+"</span>",y=T),L!==C&&(w+='<span style="left: '+k+'%">'+L+":00</span>",C=L),k+=h}return{minor:w,major:D}},days:function(h){var w="",D="",k=0,y=-1;for(i=B;i<q+1;i++){var C=new Date(p.days[i].d),_=C.getMonth();_!==y&&(C.getDate()<26&&(D+='<span style="left: '+k+'%">'+C.toLocaleString(e,{month:"long"})+"</span>"),y=_),w+='<span style="left: '+k+'%">'+C.getDate()+"</span>",k+=h}return{minor:w,major:D}},weeks:function(h,w){var D="",k="",y=0,C=-1,_=8;for(i=B;i<q+1;i++){var T=new Date(p.days[i].d),L=T.getMonth(),Z=L!==C;Z&&(T.getDate()<21&&(k+='<span style="left: '+y+'%">'+T.toLocaleString(e,{month:"long"})+"</span>"),C=L);var U=T.getDay();if(U<_||Z){var z,ee,J="";if(Z){var G=1;for(z=i+1;z<q+1&&(ee=new Date(p.days[z].d),!(ee.getDay()<=U));)G++,z++;G*w<10&&(J="; color: transparent;")}else{var be=1;for(z=i+1;z<q+1&&(ee=new Date(p.days[z].d),ee.getMonth()===L);)be++,z++;be*w<20&&(J="; color: transparent;")}D+='<span style="left: '+y+"%"+J+'">'+T.getDate()+"</span>"}_=U,y+=h}return{minor:D,major:k}},months:function(h){var w="",D="",k=0,y=-1,C=-1;for(i=B;i<q+1;i++){var _=new Date(p.days[i].d),T=_.getFullYear(),L=_.getMonth();T!==y&&(D+='<span style="left: '+k+'%">'+T+"</span>",y=T),L!==C&&(w+='<span style="left: '+k+'%">'+_.toLocaleString(e,{month:"short"})+"</span>",C=L),k+=h}return{minor:w,major:D}},quarters:function(h){var w="",D="",k=0,y=-1,C=-1;for(i=B;i<q+1;i++){var _=new Date(p.days[i].d),T=_.getFullYear(),L=_.getMonth();T!==y&&(D+='<span style="left: '+k+'%">'+T+"</span>",y=T),(k===0||L!==C&&L%3===0)&&(w+='<span style="left: '+k+'%">'+_.toLocaleString(e,{month:"short"})+"</span>",C=L),k+=h}return{minor:w,major:D}},years:function(h){var w="",D=0,k=-1;for(i=B;i<q+1;i++){var y=p.days[i].d.substring(0,4);(D===0||y!==k)&&(w+='<span style="left: '+D+'%">'+y+"</span>",k=y),D+=h}return{minor:w,major:""}}},oe=function(){var h,w,D;if(ne=[],K=p.intraDays.length>0&&p.days[B].d>=p.intraDays[0].d.substring(0,10),K)for(h=0;h<v.length;h++)!v[h].hidden&&v[h].intraDays.length===0&&(K=!1);Q=B,ie=q;var k="days";for(K&&(Q=ae,ie=p.intraDays.length-1,k="intraDays"),f=0,h=0;h<v.length;h++)ne.push(),v[h].hidden||(f++,ne[h]=v[h][k][Q].p);var y=1/0,C=-1/0,_=-1/0;for(h=0;h<v.length;h++)if(p=v[h],!p.hidden)for(w=Q;w<ie+1;w++){var T=p[k][w],L=f===1?T.p:T.p/ne[h]-1;y=Math.min(L,y),C=Math.max(L,C),h===0&&(_=Math.max(T.q,_))}if(p=v[0],y!==Le||C!==Me){var Z="",U="";Le=y,Me=C,ze=_;var z=chartAxis({minValue:Le,maxValue:Me}),ee=function(Te,Pe){if(f>1){Pe-=2;var at=Te===0?"\xB1":Te>0?"+":"";return at+(Te*100).toLocaleString(e,{minimumFractionDigits:Pe>0?2:0})+"%"}else return Te.toLocaleString(e,{minimumFractionDigits:Pe>0?2:0})};for(h=z.length-1;h>0;h--)Z+="<span>"+ee(z[h],z.decimals)+"</span>",U+="<span></span>";ce=100/(z[0]-z[z.length-1]),me=100-ce*z[0],We.html(Z).next().html("<span>"+ee(z[0],z.decimals)+"</span>"),_e.html(U),R=_e.width()}s.children("svg").remove(),de=100/(ie-Q);var J=R*de/100,be=Math.round(Math.min(J,40)/2);a.css({"margin-left":be,"margin-right":be});var G;K?(G="daypart",J<.6&&(G="hours")):(G="days",J<.6?G="years":J<2?G="quarters":J<10?G="months":J<20&&(G="weeks"));var xe=1;J<1&&(xe=Math.ceil(1/J));var Ue=it[G](de,J);l.html(Ue.minor),d.html(Ue.major);var se,Ce="";for(h=0;h<v.length;h++)if(p=v[h],!p.hidden&&(!K||p.intraDays.length>0)){se=0,Ce+='<g style="stroke: '+p.color+'">';var nt=f===1?ne[h]:0,Xe=ce*nt+me,Fe=0,L,he,ot=xe;for(w=Q+1;w<ie+1;w+=xe){var T=p[k][w];L=f===1?T.p:T.p/ne[h]-1,he=ce*L+me,se+=de*xe,Ce+='<line x1="'+Fe+'%" x2="'+se+'%" y1="'+Xe+'%" y2="'+he+'%" />',Fe=se,Xe=he}Ce+="</g>"}s.append('<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg">'+Ce+"</svg>"),p=v[0];var Qe,Ge="",Ye="";for(se=0,w=Q;w<ie+1;w++){var T=p[k][w];T.news&&(L=f===1?T.p:T.p/ne[0]-1,he=ce*L+me,Ye+='<div data-index="'+w+'" style="top: '+he+"%; left: "+se+'%;"></div>'),Qe=T.q*100/ze,Ge+='<div style="width: '+de+"%; height: "+Qe+"%; left: "+se+'%"><div></div><span>'+T.volume+"</span></div>",se+=de}m.html(Ye),g.html(Ge),Oe=B/O,ve=R/Math.sqrt(1-Oe);var we=Oe*ve-ve+R;te=Math.round((ve-R)*O/ve);var Ne=R*(q-te+1)/(O-te);for(K&&ye&&(we=ye),M.width(we),H.css("left",we),E.width(R-Ne),X.css("left",Ne),V.css({left:we+"px",width:Ne-we+"px"}),y=1/0,C=-1/0,h=te;h<O;h++){var L=p.days[h].p;C=Math.max(C,L),y=Math.min(y,L)}(y!==Ae||C!==$e)&&(Ae=y,$e=C,Ee=Be/(1-Ae/$e),He=-Ee/$e);var je="M0,10000",Ke=R/(O-te-1),Se=0,Ze="",qe=p.days[te].d.substring(0,4);for(h=te;h<O;h++){var T=p.days[h],he=He*T.p+Ee;je+=" L "+Se+" "+he;var et=T.d.substring(0,4);et!==qe&&(qe=et,Ze+='<div style="left: '+Se+'px"><span>'+qe+"</span></div>"),Se+=Ke}W.html(Ze),je+="L"+(Se-Ke)+",10000";var tt=document.createElementNS("http://www.w3.org/2000/svg","path");tt.setAttribute("d",je),A.setAttribute("viewBox","0 0 "+R+" "+Be),A.innerHTML="",A.appendChild(tt)};oe(),I(r,p,oe),$(window).on("resize",function(){R=_e.width(),Be=b[0].clientHeight}),F.on("change",function(){var h,w=$(this),D=w.attr("data-symbol");for(i=1;i<v.length;i++)v[i].symbol===D&&(h=v[i]);h.hidden=!w.is(":checked"),We.siblings("._y-axis.top").toggle(h.hidden);var k=function(y,C){for(i=0;i<C.length;i++)if(y[i]||(C.splice(i,1),i--),C[i].d!==y[i].d)if(C[i].d<y[i].d)C.splice(i,1),i--;else{var _=JSON.parse(JSON.stringify(C[i-1]));_.d=y[i].d,_.missing=!0,C.splice(i,0,_)}};!h.hidden&&!h.loaded?$.getJSON("/api/sharegraph/"+D+"/?totalreturn="+h.isTotalreturn+"&date="+new Date().toISOString().substring(0,10),function(y){k(p.days,y),O=p.days.length,q>O-1&&(q=O-1),h.days=y,h.intraDays=[],h.loaded=!0,I(D,h,function(){k(h.intraDays,p.intraDays),oe()}),oe()}):oe()});var Re,pe,Ve,ke=t.is("._hidenews");ke&&t.children("._toggleNews").children("input").change(function(){ke=!$(this).is(":checked"),t.toggleClass("_hidenews",ke)});var Je=function(h,w){if(w||h<R){var D=h/R,k=Math.round((ie-Q)*D),y;w?(k=w-Q,y=w):y=Q+k;var C=K?"intraDays":"days",_=p[C][y];if(_!==Re){var T="",L="";Re=_,u.css({left:k*de+"%",display:"block"});var Z=0;for(i=0;i<v.length;i++){var U=v[i];if(!U.hidden){var z=U[C][y],ee=f===1?z.p:z.p/ne[i]-1;
44Z=Math.max(Z,ee),T+='<span style="background-color: '+U.color+"; top: "+(ce*ee+me)+'%"></span>',z.missing||(L+="<br>",f>1&&(L+='<span class="_dot" style="background-color: '+U.color+'"></span>'+(U.isTotalreturn&&c||U.symbol)+": "),L+=z.p.toLocaleString(e,{minimumFractionDigits:2}))}}if(_.news&&!ke)for(u.addClass("hasnews"),j=0;j<_.news.length;j++)L+='<br><a href="'+_.news[j].u+'">'+_.news[j].n+"</a>";else u.removeClass("hasnews");var J=_.d;K&&(J=J.replace("T","&nbsp;")),L='<div style="bottom: '+(100-(ce*Z+me))+'%">'+J+L+"</div>",u.html(T+L),pe&&pe.removeClass("hover"),pe=g.children(":nth-child("+(k+1)+")"),pe.addClass("hover")}}};m.on("mousemove",function(h){var w=parseInt($(h.target).attr("data-index"));Je(null,w),h.stopPropagation()}),n.on("mousemove touchmove",function(h){let w=h.clientX||h.touches[0].clientX;Je(w-Ve)}),n.on("mouseenter touchstart",function(h){Ve=n.offset().left}),n.on("mouseleave touchend",function(h){setTimeout(function(){u.hide(),pe&&pe.removeClass("hover")},0)});var fe,re,ue;V.on("mousedown touchstart",function(h){b.addClass("dragging"),fe="move",re=h.offsetX,re||(ue=h.touches[0].clientX-V.offset().left),h.preventDefault()}),H.on("mousedown touchstart",function(h){b.addClass("dragging"),fe="left",re=h.offsetX,re||(ue=1),h.preventDefault()}),X.on("mousedown touchstart",function(h){b.addClass("dragging"),fe="right",re=h.offsetX,re||(ue=1),h.preventDefault()}),$(document).on("mouseup touchend",function(){fe=!1,ye=0,b.removeClass("dragging")}),b.on("mousemove touchmove",function(h){if(fe==="right"){var w=h.offsetX-re;ue&&(w=h.touches[0].clientX-ue),q=Math.round(w*(O-te)/R+te),q>O-1?q=O-1:q<B+2&&(q=B+2),oe()}else if(fe){var D=B,k=h.offsetX-re;ue&&(k=h.touches[0].clientX-ue);var y=Math.pow(R,2)/(R-k),C=1-Math.pow(R,2)/Math.pow(y,2);if(B=Math.round(C*O),B<0?B=0:B>p.intraIndex&&(B=p.intraIndex),fe==="move")q-=D-B,q>O-1&&(q=O-1,B=D);else if(K){ye=h.offsetX,y=R/Math.sqrt(1-B/O);var _=y*(O-p.intraIndex)/O,T=(h.offsetX-(R-_))/_;ae=Math.round(p.intraDays.length*T),ae<0&&(ae=0)}oe()}})});var e=t.attr("data-lang"),n=t.children("._chart-container"),a=n.children("._margin"),s=n.children("._chart-area"),l=t.find("._minor"),d=l.next(),u=s.children("._hoverline"),m=n.children("._newsitems"),g=n.children("._volume"),b=n.children("._navchart"),A=b.children("svg")[0],M=b.children("._leftcover"),E=b.children("._rightcover"),H=b.children("._left"),V=b.children("._navcover"),X=b.children("._right"),W=b.children("._years"),F=t.children("._peers").children("label").children("input"),le=JSON.parse(t.children("._newsjson").html()),I=function(S,v,p){var P=new Date().toISOString().substring(0,16);$.getJSON("/api/sharegraph/"+S+"/?intraday=true&t="+P,function(Y){if(Y.length!==0){v.intraDays=Y;var O,q,B,N=Y[0].d.substring(0,10);for(v.intraIndex=0,O=0;O<v.days.length;O++)B=v.days[O],B.d<N&&v.intraIndex++;for(O=0;O<v.intraDays.length;O++)B=v.intraDays[O],B.volume=Math.round(B.q/o).toLocaleString(e);p()}})},x=function(S){var v,p,P;for(v=0;v<S.days.length;v++)P=S.days[v],P.volume=Math.round(P.q/o).toLocaleString(e);for(v=0;v<le.length;v++){var Y=le[v];for(p=0;p<S.days.length;p++)if(P=S.days[p],P.d===Y.d){P.news||(P.news=[]),P.news.push(Y);break}}}}})();(function(){let t=$("._subscribe");if(t.length>0){let r=t.hasClass("_spamprotection");r&&t.find('[name="initTime"]').attr("value",new Date().getTime()),t.on("submit",function(o){o.preventDefault();let c=$(this).serialize(),f=$(this).attr("action"),e=!0;if(r){let n=t.find('[name="initTime"]').attr("value"),a=parseInt(new Date().getTime())-parseInt(n);(t.find('[name="waasvalidate"]')[0].value||a<2e3)&&(e=!1)}e&&($.ajax({type:"POST",url:f,data:c,success:function(n){t.removeClass("_fail"),t.addClass("_success")},error:function(n,a,s){t.addClass("_fail")}}),r&&t.find('[name="initTime"]').attr("value",new Date().getTime()))})}})();document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".slider-container").forEach(r=>{let o=r.querySelector(".slider"),c=r.querySelector(".prevBtn"),f=r.querySelector(".nextBtn"),e=r.querySelectorAll(".slide"),n=e.length,a=0;function s(){let m=!(window.innerWidth<=900)&&n<=3;r.querySelector(".slider_buttons").style.display=m?"none":"flex"}function l(){let u=window.innerWidth<=900?1:3;c.disabled=a===0,f.disabled=a>=n-u}function d(){let u=e[0].offsetWidth;o.scrollTo({left:a*u,behavior:"smooth"})}f.addEventListener("click",function(){let u=window.innerWidth<=900?1:3;a<n-u&&(a++,d(),l())}),c.addEventListener("click",function(){a>0&&(a--,d(),l())}),o.addEventListener("scroll",function(){let u=e[0].offsetWidth;a=Math.round(o.scrollLeft/u),l()}),s(),l(),window.addEventListener("resize",function(){s(),l(),d()})})});(function(){$(".login_link").on("click",function(t){t.preventDefault(),$(".login_modal_wrapper").addClass("modal_active")}),$(".modal_close_btn").on("click",function(){$(".login_modal_wrapper").removeClass("modal_active")})})();$(document).ready(function(){let t=$(".logo-carousel");t.length!==0&&t.each(function(){let r=$(this).children(".logo-track"),o=r.children(".logo");o.clone().appendTo(r);let c=o.length*2,f="";$(".logo").each(function(){f=$(this).width()}),r.css({width:`calc(${f}px * ${c})`});let e=`
45            @keyframes translatelefttoright {
46                0% { transform: translateX(0); }
47                100% { transform: translateX(calc(-${f}px * ${o.length})); }
48            }
49        `;var n=document.styleSheets[0];n.insertRule(e,n.cssRules.length)})});(function(){$(".level2").append('<div class="menu_close_btn"><svg width="12" height="12" viewBox="0 0 13 13"><use xlink:href="#svg-Close"></use></svg> Close</div>').on("click",".menu_close_btn",function(){$("main").mousedown()});let t=$("#_menu62"),r=window.location.pathname;$("#_toggle-nav").on("click",function(){setTimeout(function(){r.startsWith("/our-solutions/")&&r!=="/our-solutions/"&&$("._menumode._menutransition ._mainnav").attr("data-level",2),r.startsWith("/sv/vara-losningar/")&&r!=="/sv/vara-losningar/"&&$("._menumode._menutransition ._mainnav").attr("data-level",2)},100)}),$(".level2 > ._swipeback").on("click",function(){setTimeout(function(){$("._menumode._menutransition ._mainnav").attr("data-level",1)},100)}),$(".level1 ._menuitem.expanded").on("click",function(){setTimeout(function(){r.startsWith("/our-solutions/")&&r!=="/our-solutions/"&&$("._menumode._menutransition ._mainnav").attr("data-level",2),r.startsWith("/sv/vara-losningar/")&&r!=="/sv/vara-losningar/"&&$("._menumode._menutransition ._mainnav").attr("data-level",2)},100)})})();(function(){let t=$(".offer_banner");$(window).width()>960&&($("header").append(t),$("header").find(".offer_banner").length>0&&$("main ._section-container:first-child").remove())})();document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".vertical-slider-container").forEach(r=>{let o=r.querySelector(".slider-track"),c=r.querySelectorAll(".slide"),f=r.querySelectorAll(".tab");if(!o||c.length===0)return;let e=0,n=null,a=!1,s=!1,l=800,d=5e3,u=c[0].offsetHeight,m=c.length,g=c[0].cloneNode(!0);o.appendChild(g),o.style.transition=`transform ${l/1e3}s ease-in-out`;function b(){u=c[0].offsetHeight}function A(){f.forEach((W,F)=>{W.classList.toggle("active",F===e)})}function M(W){let F=-W*u;o.style.transform=`translateY(${F}px)`,setTimeout(()=>{a=!1,W===m&&(o.style.transition="none",o.style.transform="translateY(0px)",e=0,setTimeout(()=>{o.style.transition=`transform ${l/1e3}s ease-in-out`},20))},l)}function E(W){a||(clearTimeout(n),a=!0,e=W,A(),M(W),s||(n=setTimeout(H,d)))}function H(){let W=e+1;W>m||E(W)}function V(){clearTimeout(n),n=setTimeout(H,d)}function X(){clearTimeout(n)}window.innerWidth>900&&(f.forEach(W=>{W.addEventListener("click",function(){let F=parseInt(this.dataset.index);E(F)})}),r.addEventListener("mouseenter",()=>{s=!0,X()}),r.addEventListener("mouseleave",()=>{s=!1,V()}),window.addEventListener("resize",()=>{b(),o.style.transition="none",o.style.transform=`translateY(${-e*u}px)`,setTimeout(()=>{o.style.transition=`transform ${l/1e3}s ease-in-out`},20)}),E(0))})});$(".profile-listing").each(function(){let t=$(this),r=32;t.find('.card:has(".accordion-container")').each(function(){let o=$(this),c=o.find(".accordion-container"),f=o.find(".accordion-container .content").height()+r;$(window).resize(function(){f=o.find(".accordion-container .content").height()+r}),o.click(function(){let e=$(this);t.hasClass("open")?e.hasClass("open")?t.find('.card:has(".accordion-container")').each(function(){$(this).removeClass("open"),$(this).css("margin-bottom",r),$(this).find(".accordion-container").css("max-height","unset"),t.removeClass("open")}):(t.addClass("slow-close"),t.find('.card:has(".accordion-container")').each(function(){$(this).removeClass("open"),$(this).css("margin-bottom",r),$(this).find(".accordion-container").css("max-height","unset"),setTimeout(function(){o.addClass("open"),o.css("margin-bottom",f),c.css("max-height",f),t.removeClass("slow-close")},500)})):(o.addClass("open"),o.css("margin-bottom",f),c.css("max-height",f),t.addClass("open"))})})});(function(){var t="table-responsive",r="table-scroll",o="has-scroll",c=function(){for(var s=document.querySelectorAll("table"),l=s.length,d=0;d<l;d++){var u=s[d],m=u.parentNode;if(m.classList.contains(r))return;var g=document.createElement("div");g.className=r,u.parentNode.insertBefore(g,u),g.appendChild(u);var b=document.createElement("div");b.className=t,g.parentNode.insertBefore(b,g),b.appendChild(g)}},f=function(){for(var s=document.querySelectorAll("table"),l=s.length,d=0;d<l;d++){var u=s[d],m=window.getComputedStyle(u,null).getPropertyValue("width"),g=Math.round(parseInt(m)),b=u.closest("."+t),A=window.getComputedStyle(b,null).getPropertyValue("width"),M=Math.round(parseInt(A));g>M?b.classList.add(o):b.classList.remove(o)}},e=function(s,l,d){var u;return function(){var m=this,g=arguments,b=function(){u=null,d||s.apply(m,g)},A=d&&!u;clearTimeout(u),u=setTimeout(b,l),A&&s.apply(m,g)}},n=e(function(){f()},250);c(),f();var a=document.querySelectorAll("._mf");a.length>0&&setTimeout(function(){c(),f()},3e3),window.addEventListener("resize",n)})();$("input._searchfield").on("keyup",function(){var t=$(this),r=$(this).parents("form._placeholder");t.val().length>0?r.addClass("active"):r.removeClass("active")});$(document).ready(function(){let r="https://api.curator.io/v1/feeds/66a3e8e7-1184-4b11-b3a3-841182e41bb5/posts?limit=3&network_id="+"11",o={en:{on:"on"},sv:{on:"p\xE5"}};function c(f,e){$.getJSON(f,function(n){let a=[];$.each(n.posts,function(s,l){let d=l.image?l.image:"/files/images/fallback.webp";a.push("<a class='item' href='"+l.url+"' target='_blank'><div id='"+l.id+"' data-id='"+l.source_identifier+"'><img src='"+d+`' alt="${e} post image" /><div class='label'>Precisebiometrics <span>${o[waasconfig.lang].on}</span> ${e}<div class='circle-logo'></div></div><p class='Small'>`+l.text+"</p><div class='data'><p>"+l.comments+"</p><p>"+l.likes+"</p></div></div></a>")}),a.forEach(function(s){$(`.repo-${e}`).append(s)})})}c(r,"linkedin")});$(".social-media-feed").each(function(){let t=$(this);function r(){let c=0;
49t.find(".item").each(function(){$(this).height()>c&&(c=$(this).height())}),t.find(".item").each(function(){$(this).css("height",c+"px")})}function o(){t.find(".item").each(function(){$(this).removeAttr("style")})}setTimeout(function(){r()},1e3),$(window).resize(function(){o(),r()})});$(function(){var t=$("div[data-animation]");t.filter("[data-animationdelay]").each(function(){var r=$(this),o=r.attr("data-animationdelay");r.css({"animation-delay":o,"-webkit-animation-delay":o})}),t.length>0&&$(window).scroll(function(){var r=$(this).scrollTop()+window.innerHeight*.7;t.each(function(){var o=$(this);o.offset().top<=r&&o.addClass("_ani_"+o.attr("data-animation")+" _animated")})}).scroll()});(function(){if((location.search||"").indexOf("getAllWidths=true")>-1)return;let t=e=>{e.each(function(){let n=$(this).find("._chart-animation");n.length>0&&n.each(function(){let a=$(this);a.removeClass("_chart-animation-complete"),a.find("._chart-animation-done").each(function(){$(this).removeClass("_chart-animation-done")})})})},r=(e,n)=>{let a=n.indexOf("closable")>-1;e=e.children();let s=0;e.on("keydown",function(l){(l.code==="ArrowRight"||l.code==="ArrowLeft")&&(e[s].setAttribute("tabindex",-1),l.code==="ArrowRight"?(s++,s>=e.length&&(s=0)):(s--,s<0&&(s=e.length-1)),e[s].setAttribute("tabindex",0),e[s].focus())}),e.on("click",function(l){let d=$(l.target);s=d.index();let u=d.attr("aria-controls"),m=$("#"+u);if(a&&d.attr("aria-selected")==="true"){d.attr("aria-selected","false"),m.attr("hidden","true");return}d.attr("aria-selected","true").siblings().attr("aria-selected","false"),t(m.siblings()),m.removeAttr("hidden").siblings("._tabpanel").attr("hidden","true"),setTimeout(function(){$(window).resize()},0),setTimeout(function(){$(window).resize()},100)})},o=(e,n,a)=>{let s,l=$(`
50            <div class="_carousel" aria-roledescription="carousel" tabindex="0">
51                <div class="_carousel_frame" aria-live="polite">
52                    <div class="_carousel_slides"></div>
53                </div>
54            </div>`);if(l.insertBefore(n.first()),n.appendTo(l.find("._carousel_slides")),e.carousel){if(e.carousel.indexOf("dots")>-1){e.paddingBottom&&l.css("padding-bottom",e.paddingBottom);let u='<div class="_carousel_dots"><div class="wrap">',m=' class="selected"';for(let g=0;g<n.length;g++)u+=`<button role="button"${m}><span>${a[g]}</span></button>`,m="";u+="</div></div>",u=$(u).appendTo(l).on("click","button",function(){let g=$(this);d.slideTo(g.index()),clearInterval(s)}),l[0].addEventListener("after.lory.slide",function(g){u.find("button:eq("+(g.detail.currentSlide-1)+")").addClass("selected").siblings().removeClass("selected"),t(n.filter(":not(.active)"))})}if(e.carousel.indexOf("arrows")>-1&&(l.append(`
55					<div class="_section _carousel_prevnext">
56						<button role="button" class="_carousel_prev"><span>Previous slide</span></button>
57						<button role="button" class="_carousel_next"><span>Next slide</span></button>
58					</div>
59				`),l.children("._carousel_prevnext").on("click","button",function(){clearInterval(s)})),e.carousel.indexOf("counter")>-1){let u='<div class="_carousel_counter"><span class="index">1</span>/'+n.length+"</div>";l.append(u),l[0].addEventListener("after.lory.slide",function(m){$("._carousel_counter .index").html(m.detail.currentSlide)})}}var d=lory(l[0],{infinite:1,classNameFrame:"_carousel_frame",classNameSlideContainer:"_carousel_slides",classNamePrevCtrl:"_carousel_prev",classNameNextCtrl:"_carousel_next",slideSpeed:waasconfig.sliderSpeed||300});e.carousel.indexOf("autoplay")>-1&&(s=setInterval(function(){d.next()},waasconfig.sliderInterval||7e3),l.on("focus",function(){clearInterval(s)}))};if($("._section-container[data-grouping]").length>0){let e=$("._section-container"),n=[],a=-1,s=!1;for(let l=0;l<e.length;l++){let d=$(e[l]);d.is("[data-grouping]")?s?n[a]=n[a].add(d):(s=!0,n.push(d),a++):s=!1}n.forEach(l=>{let d=JSON.parse(decodeURIComponent(l.first().attr("data-grouping")));if(d.type==="sectioncarousel"){let u=[];l.each(function(m){let g=$(this);g.attr({role:"group","aria-roledescription":"slide","aria-label":`${m+1} of ${l.length}`}),u.push(g.find("._block-content").first().children().first().text())}),o(d,l,u)}else l.each(function(){let u=$(this),m=JSON.parse(decodeURIComponent(u.attr("data-grouping")));if(m.type==="tabpanel"){let g=(m.tabs||[]).indexOf("inithidden")>-1,b='<div role="tablist" class="_tablist">',A,M,E=u.children().children().children(),H=0;E.each(function(){let V=$(this),X=V.find(`h${m.level}`);if(X.length>0){let W=Math.random().toString().substring(2);A=$(`<div 
60                                        class="_grid _tabpanel" 
61                                        id="panel-${W}"
62                                        role="tabpanel"
63                                        aria-labelledby="tab-${W}"
64                                        tabindex="0"
65                                    ></div>`).appendTo(u.children("._section"));let F=H===0&&!g;H===0?(M=A,F||A.attr("hidden","true")):A.attr("hidden","true"),b+=`<button 
66                                    role="tab" 
67                                    aria-selected="${F?"true":"false"}" 
68                                    tabindex="${H===0?"0":"-1"}" 
69                                    id="tab-${W}" 
70                                    aria-controls="panel-${W}"
71                                >${X.text()}</button>`,H++}A&&V.appendTo(A)}),b+="</div>",b=$(b).insertBefore(M),r(b,m.tabs||[])}})})}$("._block").each(function(){let e=$(this).find("._tabpanel");
71if(e.length>0){let a=e.closest("._block"),s=JSON.parse(decodeURIComponent(a.attr("data-grouping"))),l=(s.tabs||[]).indexOf("inithidden")>-1,d='<div role="tablist" class="_tablist">';e.each(function(u){let m=$(this),g=Math.random().toString().substring(2),b=m.find(`h${s.level}`).first().text(),A=u===0&&!l;d+=`<button 
72                    role="tab" 
73                    aria-selected="${A?"true":"false"}" 
74                    tabindex="${u===0?"0":"-1"}" 
75                    id="tab-${g}" 
76                    aria-controls="panel-${g}"
77                >${b}</button>`,m.attr({role:"tabpanel",id:`panel-${g}`,"aria-labelledby":`tab-${g}`,tabindex:"0"}),A||m.attr("hidden","true")}),d+="</div>",d=$(d).insertBefore(e.first()),r(d,s.tabs||[])}let n=$(this).find("._accordion");if(n.length>0){let a=n.closest("._block"),s=JSON.parse(decodeURIComponent(a.attr("data-grouping"))),l=s.accordion&&s.accordion.indexOf("allowmultiple")>-1,d=s.accordion&&s.accordion.indexOf("firstopen")>-1,u=function(M){M.each(function(){let E=$(this);E.attr("aria-hidden","true").height(0),E.find("a, input, button, select, textarea").attr("tabindex",-1)})},m=function(M){M.attr("aria-hidden","false"),M.find("a, input, button, select, textarea").removeAttr("tabindex"),M.height(M[0].scrollHeight)};n.each(function(M){let E=Math.random().toString().substring(2),H=$(this);H.prev().addClass("_accordion-heading").wrapInner(`<button 
78                    role="button"
79                    id="heading-${E}" 
80                    aria-controls="panel-${E}"
81                    aria-expanded="false"
82                    tabindex="${M===0?"0":"-1"}" 
83                ></button>`),H.attr({id:`panel-${E}`,"aria-labelledby":`heading-${E}`}),u(H)});let g=n.prev().children(),b=0,A=n.parent().is("._accordion-container");if(g.on("keydown",function(M){(M.code==="ArrowDown"||M.code==="ArrowUp"||M.code==="ArrowRight"||M.code==="ArrowLeft")&&(M.preventDefault(),g[b].setAttribute("tabindex",-1),M.code==="ArrowDown"||M.code==="ArrowRight"?(b++,b>=g.length&&(b=0)):(b--,b<0&&(b=g.length-1)),g[b].setAttribute("tabindex",0),g[b].focus())}),g.on("click",function(M){let E=$(M.target);E[0].tagName!=="BUTTON"&&(E=E.closest("button")),g.each(function(X){this===M.target&&(b=X)});let H=E.attr("aria-controls"),V=$("#"+H);if(E.attr("aria-expanded")==="false"){if(m(V),!l){let X=A?V.parent().siblings("._accordion-container").children("._accordion"):V.siblings("._accordion");u(X),g.attr("aria-expanded","false").parent().removeClass("_expanded"),A&&V.parent().siblings("._accordion-container").removeClass("_expanded")}E.attr("aria-expanded","true"),E.parent().addClass("_expanded"),A&&E.closest("._accordion-container").addClass("_expanded")}else u(V),E.attr("aria-expanded","false"),E.parent().removeClass("_expanded"),A&&E.closest("._accordion-container").removeClass("_expanded");t(V.parent().children('._accordion[aria-hidden="true"]'))}),d){let M=g.first();M.click();let E=M.attr("aria-controls"),H=$("#"+E).height("auto");setTimeout(function(){H.height(H[0].scrollHeight)},1e3)}}});let f=$("._block-carousel");f.length>0&&f.each(function(){let e=$(this),n=e.closest("._block"),a=JSON.parse(decodeURIComponent(n.attr("data-grouping"))),s=e.children();a.carousel&&a.carousel.indexOf("hideheadings")>-1&&s.children(`h${a.level}`).hide();let l=[],d;s.each(function(){let u=$(this);l.push(u.children(`h${a.level}`).html()),d=d||u.css("line-height")}),a.carousel&&a.carousel.indexOf("dots")>-1&&(a.paddingBottom=30),s.css({"white-space":"normal","line-height":d}),o(a,s,l)})})();})();
84(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.