PageSourceSearch

https://www.pandox.se/main.js?1784030316216

js pandox.se collected 2026-09-25 05:31:32 UTC 124,794 bytes, 105 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});
3$(function(){let a=$("._chartanimate");if(0<a.length){var b,c="undefined"==typeof IntersectionObserver,d=[],e=function(a){if(!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))}});
4var 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};
5var 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)};
6!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);
7
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()}});
9function 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)})}
10/*!
11 * headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
12 * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
13 * License: MIT
14 */
15
16!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;
16a.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});
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)}),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;
17j=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}}Object.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";
17function 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"
19:this.positionX=parseInt(this.positionX)),"top"!=this.positionY&&"bottom"!=this.positionY&&(isNaN(parseInt(this.positionY))?this.positionY="center":this.positionY=parseInt(this.positionY)),this.position=this.positionX+(isNaN(this.positionX)?"":"px")+" "+this.positionY+(isNaN(this.positionY)?"":"px"),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&this.iosDisabled)return this.imageSrc&&this.iosFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:'url("'+this.imageSrc+'")',backgroundSize:"cover",backgroundPosition:this.position}),this;if(navigator.userAgent.match(/(Android)/)&&this.androidDisabled)return this.imageSrc&&this.androidFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:'url("'+this.imageSrc+'")',backgroundSize:"cover",backgroundPosition:this.position}),this;this.$mirror=l("<div />").prependTo(this.mirrorContainer);t=this.$element.find(">.parallax-slider"),i=!1;0==t.length?this.$slider=l("<img />").prependTo(this.$mirror):(this.$slider=t.prependTo(this.$mirror),i=!0),this.$mirror.addClass("parallax-mirror").css({visibility:"hidden",zIndex:this.zIndex,position:"fixed",top:0,left:0,overflow:"hidden"}),this.$slider.addClass("parallax-slider").one("load",function(){e.naturalHeight&&e.naturalWidth||(e.naturalHeight=this.naturalHeight||this.height||1,e.naturalWidth=this.naturalWidth||this.width||1),e.aspectRatio=e.naturalWidth/e.naturalHeight,c.isSetup||c.setup(),c.sliders.push(e),c.isFresh=!1,c.requestRender()}),i||(this.$slider[0].src=this.imageSrc),(this.naturalHeight&&this.naturalWidth||this.$slider[0].complete||0<t.length)&&this.$slider.trigger("load")}l.extend(c.prototype,{speed:.2,bleed:0,zIndex:-100,iosFix:!0,iosDisabled:!0,androidFix:!0,androidDisabled:!0,position:"center",overScrollFix:!1,mirrorContainer:"body",refresh:function(){this.boxWidth=this.$element[0].offsetWidth,this.boxHeight=this.$element[0].offsetHeight+2*this.bleed,this.boxOffsetTop=this.$element.offset().top-this.bleed,this.boxOffsetLeft=this.$element.offset().left,this.boxOffsetBottom=this.boxOffsetTop+this.boxHeight;var t,i=c.winHeight,e=c.docHeight,e=Math.min(this.boxOffsetTop,e-i),i=Math.max(this.boxOffsetTop+this.boxHeight-i,0),i=this.boxHeight+(e-i)*(1-this.speed)|0,e=(this.boxOffsetTop-e)*(1-this.speed)|0;i*this.aspectRatio>=this.boxWidth?(this.imageWidth=i*this.aspectRatio|0,this.imageHeight=i,this.offsetBaseTop=e,t=this.imageWidth-this.boxWidth,"left"==this.positionX?this.offsetLeft=0:"right"==this.positionX?this.offsetLeft=-t:isNaN(this.positionX)?this.offsetLeft=-t/2|0:this.offsetLeft=Math.max(this.positionX,-t)):(this.imageWidth=this.boxWidth,this.imageHeight=this.boxWidth/this.aspectRatio|0,this.offsetLeft=0,t=this.imageHeight-i,"top"==this.positionY?this.offsetBaseTop=e:"bottom"==this.positionY?this.offsetBaseTop=e-t:isNaN(this.positionY)?this.offsetBaseTop=e-t/2|0:this.offsetBaseTop=e+Math.max(this.positionY,-t))},render:function(){var t=c.scrollTop,i=c.scrollLeft,e=this.overScrollFix?c.overScroll:0,s=t+c.winHeight;this.boxOffsetBottom>t&&this.boxOffsetTop<=s?(this.visibility="visible",this.mirrorTop=this.boxOffsetTop-t,this.mirrorLeft=this.boxOffsetLeft-i,this.offsetTop=this.offsetBaseTop-this.mirrorTop*(1-this.speed)):this.visibility="hidden",this.$mirror.css({transform:"translate3d("+this.mirrorLeft+"px, "+(this.mirrorTop-e)+"px, 0px)",visibility:this.visibility,height:this.boxHeight,width:this.boxWidth}),this.$slider.css({transform:"translate3d("+this.offsetLeft+"px, "+this.offsetTop+"px, 0px)",position:"absolute",height:this.imageHeight,width:this.imageWidth,maxWidth:"none"})}}),l.extend(c,{scrollTop:0,scrollLeft:0,winHeight:0,winWidth:0,docHeight:1<<30,docWidth:1<<30,sliders:[],isReady:!1,isFresh:!1,isBusy:!1,setup:function(){var i,t,s,e,o,r,h,a,n;this.isReady||(i=this,t=l(p),s=l(d),e=function(){c.winHeight=s.height(),c.winWidth=s.width(),c.docHeight=t.height(),c.docWidth=t.width()},o=function(){var t=s.scrollTop(),i=c.docHeight-c.winHeight,e=c.docWidth-c.winWidth;c.scrollTop=Math.max(0,Math.min(i,t)),c.scrollLeft=Math.max(0,Math.min(e,s.scrollLeft())),c.overScroll=Math.max(t-i,Math.min(t,0))},a=this.scrollListener=function(){o(),c.requestRender()},s.on("resize.px.parallax load.px.parallax",function(){e(),i.refresh(),c.isFresh=!1,c.requestRender()}).on("scroll.px.parallax load.px.parallax",a),r=d,h="touchmove",a=a,f?r.addEventListener(h,a,{passive:!0}):r.addEventListener(h,a),e(),o(),this.isReady=!0,n=-1,function t(){if(n==d.pageYOffset)return d.requestAnimationFrame(t),!1;n=d.pageYOffset,i.render(),d.requestAnimationFrame(t)}())},configure:function(t){"object"==typeof t&&(delete t.refresh,delete t.render,l.extend(this.prototype,t))},refresh:function(){l.each(this.sliders,function(){this.refresh()}),this.isFresh=!0},render:function(){this.isFresh||this.refresh(),l.each(this.sliders,function(){this.render()})},requestRender:function(){this.render(),this.isBusy=!1},destroy:function(t){var i,e,s,o=l(t).data("px.parallax");for(o.$mirror&&o.$mirror.remove(),i=0;i<this.sliders.length;i+=1)this.sliders[i]==o&&this.sliders.splice(i,1);l(t).data("px.parallax",!1),0===this.sliders.length&&(l(d).off("scroll.px.parallax resize.px.parallax load.px.parallax"),e=d,s="touchmove",t=this.scrollListener,e.removeEventListener(s,t),this.isReady=!1,c.isSetup=!1)}});var i=l.fn.parallax;l.fn.parallax=function(e){return this.each(function(){var t=l(this),i="object"==typeof e&&e;this==d||this==p||t.is("body")?c.configure(i):t.data("px.parallax")?"object"==typeof e&&l.extend(t.data("px.parallax"),i):(i=l.extend({},t.data(),i),t.data("px.parallax",new c(this,i))),"string"==typeof e&&("destroy"==e?c.destroy(this):c[e]())})},l.fn.parallax.Constructor=c,l.fn.parallax.noConflict=function(){return l.fn.parallax=i,this},l(function(){l('[data-parallax="scroll"]').parallax()})}(Zepto,window,document);
20
21(()=>{window.hashScroll={offsetTop:80,duration:800};$(document.body).removeClass("no-js").addClass("js");(function(){var e=function(a){a[0]&&a[0].currentSrc&&a.toggleClass("highdensity",a[0].currentSrc.indexOf("@2x")>-1)};let r;waasconfig.initFunctions.push(()=>{r=$("div.parallax"),r.each(function(){var a=$(this),t=a.children("._staticimg").css("background-image");if(t){a.html('<div class="parallax-slider">'+a.html()+"</div>");var o=new Image;
21o.onload=function(){a.parallax({naturalWidth:o.width,naturalHeight:o.height})},o.src=t.replace(/url\(['"]?/i,"").replace(/['"]?\)/,"")}else{var n=a.children("picture").children("img");if(n.length===0)return;e(n),n.on("load",function(){a.parallax({naturalWidth:n[0].naturalWidth,naturalHeight:n[0].naturalHeight}),$(window).resize()}),n[0].naturalWidth&&a.parallax({naturalWidth:n[0].naturalWidth,naturalHeight:n[0].naturalHeight})}})}),waasconfig.cleanupFunctions.push(()=>{r&&r.each(function(){$(this).parallax("destroy")})})})();$(function(){(function(){let a=[];$("picture[data-vimeo]").each(function(){let t=$(this),o=t.attr("data-vimeo"),n=t.attr("data-cf")||"";if(t.parent().is("._bg")){a.push(t.parent().parent());let d=$(`<div class="_vimeoBg"><div class="video-16-9"><iframe src="//player.vimeo.com/video/${o}?background=1&dnt=1" allow="autoplay; fullscreen"></iframe></div></div>`).insertAfter(t)}else t.wrap(`<div class="_vimeothumb" data-id="${o}" data-cf="${n}"></div>`)}),a.length>0&&$(window).resize(function(){a.forEach(function(t){let o=t.children("._bg").children("._vimeoBg");o.css("width","");let n=t[0].getBoundingClientRect(),d=n.width/n.height,m=0,l="100%";d<16/9&&(l=n.height*16/9,m=-(l-n.width)/2,l+="px"),o.css({width:l,left:m})})}).resize()})(),"objectFit"in document.documentElement.style||$("._bg:not(.parallax)").each(function(){let a=$(this),t=a.find("img");t.length>0&&(a.css("background-image",`url(${t.attr("src")})`),t.remove())});let e;var r=function(a){var t=[];try{t=$(a)}catch{}if(t.length===0&&(a=a.substring(1),$("h1, h2, h3, h4").each(function(){let n=encodeURIComponent(this.innerText).replace(/%C2%AD/g,"");a===n&&(t=$(this))})),t.length>0){var o=t.offset().top-window.pageYOffset-window.hashScroll.offsetTop;jump(o,{duration:window.hashScroll.duration}),setTimeout(()=>{let n=t.closest("._accordion-heading");n&&!n.is("._expanded")&&(e&&clearTimeout(e),e=setTimeout(()=>{n.children("button").click()},300))},0)}};location.hash&&(r(location.hash),$("img").on("load",function(){r(location.hash)})),$(document.body).on("click","a",function(a){var t=$(this).attr("href")||"";t[0]==="#"&&t.substring(0,7)!=="#_image"&&(a.preventDefault(),r(t))}),$("div._youtubethumb").click(function(){let a=$(this).parent(),t='<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>',o=waasconfig.userConsent===void 0||!waasconfig.youtubedisclaimer;if(waasconfig.cookieprovider==="cookie-information"&&(o=CookieInformation.getConsentGivenFor(waasconfig.youtubecookie)),!o&&waasconfig.userConsent){let n=a.attr("data-cookiecat");if(n==="required"||!n)o=!0;else{let d=$.cookie("cookieSelection");d?d.split("|").indexOf(n)>-1&&(o=!0):o=!0}}if(o)a.html(t);else{let n=$(`
22                <div id="_youtubedisclaimer">
23                    <p>
24                        ${waasconfig.youtubedisclaimer}<br>
25                        <button>${waasconfig.youtubeaccept}</button>
26                    </p>
27                </div>
28            `);a.append(n),n.on("click","button",function(){a.html(t)})}}),$("div._cfThumb").click(function(){let a=$(this).parent(),t=$(this).attr("data-id");function o(n,d){let m=`<iframe 
29                                frameborder="0" 
30                                scrolling="no" 
31                                src="${d}?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>`;n.html(m)}if($(this).attr("data-protected"))fetch(`/api/video/protected/${t}/?json=true`,{method:"GET",credentials:"include"}).then(async n=>{if(n.status===200){let d=await n.json();d.url?o(a,d.url):console.error("No redirect location found")}else console.error("Invalid video response",n.status)}).catch(n=>{console.error("Error fetching protected video URL:",n)});else{let n=`https://customer-45luhql9ezbrg4cv.cloudflarestream.com/${t}/iframe`;o(a,n)}}),$("div._vimeothumb").click(function(){let a=$(this).parent(),t=`<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>`,o=waasconfig.userConsent===void 0||!waasconfig.vimeodisclaimer;if(!o&&waasconfig.userConsent){let n=a.attr("data-cookiecat");if(n==="required"||!n)o=!0;else{let d=$.cookie("cookieSelection");d?d.split("|").indexOf(n)>-1&&(o=!0):o=!0}}if(o)a.html(t);else{let n=$(`
38                <div id="_vimeodisclaimer">
39                    <p>
40                        ${waasconfig.vimeodisclaimer}<br>
41                        <button>${waasconfig.vimeoaccept}</button>
42                    </p>
43                </div>
44            `);a.append(n),n.on("click","button",function(){a.html(t)})}})});(function(){var e="/",r=$("._searchfieldstatic");r.length>0&&(e=r.attr("data-urloffset")),$("[data-lottie]").each(function(){let a=$(this),t=a.attr("data-lottie"),o=a.attr("data-bounce")==="true",n=a.attr("data-loop")==="true",d=a.attr("data-trigger")||"auto",m=t.split("|"),l=e+(m.length>1?"files/"+m[1]:"_animations/"+m[0]),p=lottie.loadAnimation({container:this,renderer:"svg",loop:n&&!o,autoplay:d==="auto",path:l}),s=1,h=()=>{o?(p.setDirection(s),p.play(),s=-s):p.play()};n&&p.addEventListener("complete",h),d==="click"?a.click(h):d==="mouseenter"?a.mouseenter(h):d==="hover"?(a.mouseenter(h),a.mouseleave(()=>{p.pause()})):d==="scroll"&&console.log("todo: microanimation on scroll")})})();
44(function(){var e=$("#disclaimer1"),r=!e.attr("data-skipcookies");if(e.length>0){var a=e.closest("._block"),t=a.closest("._section-container"),o=a.next().hide(),n=function(){t.hide();let s=t.next("._section-container");for(;s.length>0;)s.show(),s=s.next("._section-container");window.scrollTo(0,0),r&&$.cookie("disclaimerAgreed","true")};if(r&&$.cookie("disclaimerAgreed")==="true")n();else{t.show();var d=e.find("select"),m=e.find("button");if(e.on("change","select",function(){$(this).closest("p").next().toggle(this.value==="invalid");var s=!0;d.each(function(){this.value!=="valid"&&(s=!1)}),m.toggle(s)}),e.find("button").on("click",function(){o.length===0?n():(a.hide(),o.show())}),o.length===0)m.show();else{var l=o.find("button").hide().on("click",n),p=o.find("input");p.on("change",function(){var s=!0;p.each(function(){this.value==="valid"&&$(this).is(":not(:checked)")&&(s=!1)}),l.toggle(s),o.find(".disclaimerError").toggle(!s)})}}}})();$(function(){var e=$(document.body);navigator.userAgent.indexOf("Trident")>-1||navigator.userAgent.indexOf("Edge")>-1?(e.addClass("ie"),navigator.userAgent.indexOf("Edge")<0&&e.addClass("old_ie")):e.addClass("not_ie"),$("#_skiptosearch").click(function(){$("._searchbox:visible").focus()}),$("#_skiptonav").click(function(){let r=$("#_mobile-header");r.is(":visible")?r.find("#_toggle-nav").focus():$("#_mainnav a").first().focus()}),$("#_skiptocontent").click(function(){let r=$("main");r.attr("tabindex","-1"),r.focus(),r.one("blur",function(){r.removeAttr("tabindex")})})});
44$(function(){var e=$("._imagelist");if(e.length>0){var r=JSON.parse(sessionStorage.getItem("imageselection")||"[]"),a=$(document.body).is(".old_ie"),t;e.on("change","input",function(){var s=$(this),h=s.val(),c=s.is(":checked");d(h,c)});var o=function(){if(e.removeClass("_detailmode"),location.hash==="#_image"){if(e.is("._imagelist-preventscroll")&&document.removeEventListener("wheel",n),t)for(var s=$(t);s[0].tagName!=="BODY";)s.siblings().removeAttr("aria-hidden").find("a, input, button, select, textarea").removeAttr("tabindex"),s=s.parent()}else if(location.hash.indexOf("#_image")===0){$(location.hash).find("img").each(function(){var c=$(this);c.attr("src",c.parent().attr("data-src"))}),e.is("._imagelist-preventscroll")&&document.addEventListener("wheel",n,{passive:!1}),e.addClass("_detailmode"),t=location.hash;for(var s=$(location.hash);s[0].tagName!=="BODY";)s.siblings().attr("aria-hidden","true").find("a, input, button, select, textarea").attr("tabindex","-1"),s=s.parent()}},n=function(s){s.preventDefault()};a?e.find('a[href^="#_image"]').on("click",function(){setTimeout(o,0)}):window.onpopstate=o,o();var d=function(s,h){var c=e.find('[data-id="'+s+'"]');h?r.push({id:s,markup:c.html()}):(c.parent().removeClass("_selected"),r=r.filter(function(f){return f.id!==s})),m(),sessionStorage.setItem("imageselection",JSON.stringify(r))},m=function(){var s=$("#_imagecart-body").html("");r.forEach(function(h){var c=e.find('[data-id="'+h.id+'"]');c.parent().addClass("_selected").find("input").prop(":checked","checked"),c.parent().find("input").prop("checked",!0);var f=$('<li data-clone="'+h.id+'">'+h.markup+"</li>");f.find("input").prop("checked",!0),s.append(f)}),r.length===0?$("#_clearImages, #_shareImages, #_downloadImages").attr("disabled",!0):$("#_clearImages, #_shareImages, #_downloadImages").removeAttr("disabled"),$("#_selectionCount").html(r.length)};m(),$("#_clearImages").on("click",function(){return e.find("input:checked").each(function(){$(this).click()}),r.length>0&&(r=[],m()),sessionStorage.setItem("imageselection",JSON.stringify(r)),!1}),$("#_shareImages").on("click",function(){return r.length>0&&$.get("/api/imagebank/?images="+r.map(function(s){return s.id}).join(","),function(s){if(s){var h=location.protocol+"//"+location.host+"/images/share/"+s;$("#_imagecart-sharelink").val(h),$("#_imagecart-share").addClass("visible")}}),!1}),$("#_imagecart-share").on("click","button",function(){return $("#_imagecart-sharelink")[0].select(),document.execCommand("copy"),!1});var l=$("._imagelist-masonry form > ul");if(l.length>0){var p=function(){l.addClass("loaded").each(function(){var s=$(this),h=window.getComputedStyle(this),c=parseInt(h.getPropertyValue("grid-auto-rows")),f=parseInt(h.getPropertyValue("grid-row-gap"));s.children("li").each(function(){var g=Math.ceil((this.scrollHeight+f)/(c+f));this.style.gridRowEnd="span "+g})}),a&&(l.find(".item > a > img").each(function(){var s=$(this);s.parent().height(s.height())}),objectFitPolyfill())};$(window).on("load",function(){$(window).resize(p),p()})}}});var nt=function(e){var r=$("#_mobile-header").children(":not(#_toggle-nav):not(#_navicon)"),a=$("header").siblings().add(r),t=a.find("a, input, button, select, textarea").add(r);e?(a.removeAttr("aria-hidden"),t.removeAttr("tabindex")):(a.attr("aria-hidden","true"),t.attr("tabindex","-1"))};
44(function(){var e=$(document.body),r=$("#_mainnav");let a=$("#_toggle-nav, #_toggle-nav-v2");a.click(function(){var s=$(this),h=e.is("._menumode"),c=s.closest("header").siblings();h?(nt(!0),e.removeClass("_menutransition"),s.attr("aria-expanded","false"),setTimeout(function(){e.removeClass("_menumode")},300)):(nt(!1),e.addClass("_menumode"),setTimeout(function(){s.attr("aria-expanded","true"),e.is(".nav-thirdlevel-visible")?r.find("._toggle").each(function(){var f=$(this),g=f.parent();let _=f.siblings("ul");g.is(".expanded")?(g.addClass("children-visible"),f.attr("aria-expanded","true"),_.attr("aria-hidden","false")):(g.removeClass("children-visible"),f.attr("aria-expanded","false"),_.attr("aria-hidden","true"))}):r.find(".expanded").each(function(){var f=$(this);f.is(":not(.children-visible)")&&f.children("._toggle").click()}),e.addClass("_menutransition")},0)),h=!h});let t=r.children(".level1").attr("data-togglelabel");r.find("li").each(function(){var s=$(this),h=s.children("ul");h.length>0&&h.before('<button class="_toggle" aria-label="'+t+'" aria-expanded="'+(h.attr("aria-hidden")!=="true")+'" aria-controls="'+h.attr("id")+'"><svg class="show" aria-hidden="true" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-show"></use></svg><svg class="hide" aria-hidden="true" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-hide"></use></svg></button>')}),r.on("click","._toggle",function(){var s=$(this);s.attr("aria-expanded")==="true"?(s.attr("aria-expanded","false"),s.next("ul").attr("aria-hidden","true"),s.parent().removeClass("children-visible")):(s.attr("aria-expanded","true"),s.next("ul").attr("aria-hidden","false"),s.parent().addClass("children-visible"))});var o=document.querySelector("header"),n=parseInt($("header").attr("data-headroomoffset")||100);if(new Headroom(o,{offset:n}).init(),r.find(".level2 .expanded").each(function(){$(this).children("._toggle").click()}),e.is(".subnav-type-hover")||e.is(".nav-thirdlevel-hover")){var d=[];e.is(".subnav-type-hover")&&d.push(".level1 > li > a"),e.is(".nav-thirdlevel-hover")&&d.push(".level2 > li > a");var m=r.find(d.join(",")),l=function(s,h){for(var c=s.parent();c.parent().is(":not("+h+")");)c=c.parent();return c.parent().is(h)?c:[]};r.on("blur","a, ._toggle",function(){var s=a.is(":visible");if(!s){var h=$(this);setTimeout(function(){var c=l(h,".level1"),f=l(h,".level2"),g=$(":focus"),_=l(g,".level1");if(e.is(".subnav-type-hover")&&c[0]!==_[0]&&c.is(".children-visible")&&c.children("._toggle").click(),f[0]&&e.is(".nav-thirdlevel-hover")){var I=l(g,".level2");f[0]!==I[0]&&f.removeClass("children-visible")}},0)}})}if(e.is(".subnav-type-click")){r.find(".level1 > li > a").on("click",function(s){var h=$(this).next("._toggle");h.length>0&&(h.click(),s.preventDefault())});var p=function(s){var h=a.is(":visible");if(!h){var c=r.find(".level1 > .children-visible"),f=s||$(":focus");if(c.length>0){if(f.length>0){for(var g=f;!g.is("body");)if(g=g.parent(),g[0]===c[0])return}c.children("._toggle").click()}}};e.on("keydown",function(s){s.key==="Tab"&&setTimeout(p,0)}),e.on("mousedown",function(s){setTimeout(function(){p($(s.target))},0)})}$(window).on("load",function(){e.is(".hoverhelper:not(.ie)")&&$(".level1 > li").on("mouseenter",function(){var s=$(this),h=s.children("a"),c=s.children("ul"),f=h.offset(),g=c.offset(),_=h.height();c.append('<li aria-hidden="true" class="hoverhelper left" style="height: '+_/2+"px; width: "+(f.left-g.left)+'px"></li>'),c.append('<li aria-hidden="true" class="hoverhelper right" style="height: '+_/2+"px; width: "+(g.left+g.width-f.left-f.width)+'px"></li>')}).on("mouseleave",function(){$(this).children("ul").children(".hoverhelper").remove()})})})();(async function(){let e=$("._map");if(e.length===0)return;let r=document.createElement("link");r.rel="stylesheet",r.href="https://unpkg.com/maplibre-gl@^5.15.0/dist/maplibre-gl.css",document.head.appendChild(r);let a=document.createElement("script");a.src="https://unpkg.com/[email protected]/dist/maplibre-gl.js",a.onload=function(){e.each(function(){let t=$(this),o=this.id,n=window[`${o}_settings`]||{},d=new maplibregl.LngLatBounds;window[o+"_pins"].filter(c=>
44!!c).forEach(c=>{d.extend(c.coords)});let l=new maplibregl.Map({container:o,style:n.styles||"https://tiles.openfreemap.org/styles/bright",fadeDuration:0,center:d.getCenter(),zoom:n.zoom||5});l.addControl(new maplibregl.NavigationControl,"top-right");let p=!1;l.on("idle",()=>{if(p)return;if(window[o+"_pins"].length===1&&t.attr("data-initclick")==="true"){p=!0;let g=l.queryRenderedFeatures({layers:["unclustered-point"]})[0];h(g)}}),l.on("load",async function(){if(n.tilted){let S=l.getStyle().layers,x;for(let B of S)if(B.type==="symbol"&&B.layout["text-field"]){x=B.id;break}l.addLayer({id:"3d-buildings",source:"openmaptiles","source-layer":"building",type:"fill-extrusion",minzoom:15,paint:{"fill-extrusion-color":"#aaa","fill-extrusion-height":["get","render_height"],"fill-extrusion-base":["get","render_min_height"],"fill-extrusion-opacity":.9}},x),l.setPitch(60),l.setBearing(-20)}window[`_refreshmap${o}`]=()=>{let S=l.getSource("pins");if(!S)return;let x=window[o+"_pins"];if(!n.zoom){let F=new maplibregl.LngLatBounds;x.filter(Z=>!!Z).forEach(Z=>{F.extend(Z.coords)}),x.length>0&&l.fitBounds(F,{padding:50,maxZoom:12,duration:1e3})}let B=[],W=t.siblings("._pagelist-map").children(".item");x.forEach((F,Z)=>{if(F){let le=F.id?W.filter('[data-id="'+F.id+'"]')[0].outerHTML:W[Z].outerHTML;B.push({geometry:{type:"Point",coordinates:F.coords},properties:{content:le}}),F.initialShow&&(new maplibregl.Popup({maxWidth:"none"}).setLngLat(F.coords).setHTML(le).addTo(l),window.waasMapClick&&window.waasMapClick(le))}}),S.setData({type:"FeatureCollection",features:B}),p=!1},l.addSource("pins",{type:"geojson",data:{type:"FeatureCollection",features:[]},cluster:!0,clusterMaxZoom:14,clusterRadius:50}),window[`_refreshmap${o}`]();let c=Array.isArray(n.clusters)&&n.clusters.length>1,f=c?["step",["get","point_count"]]:"#999999",g=c?["step",["get","point_count"]]:20,_=c?["step",["get","point_count"]]:"#000000";c&&n.clusters.forEach((S,x)=>{f.push(S.fillcolor),g.push(S.radius),_.push(S.textcolor),x<n.clusters.length-1&&(f.push(S.upperbound),g.push(S.upperbound),_.push(S.upperbound))}),l.addLayer({id:"clusters",type:"circle",source:"pins",filter:["has","point_count"],paint:{"circle-color":f,"circle-radius":g}}),l.addLayer({id:"cluster-count",type:"symbol",source:"pins",filter:["has","point_count"],layout:{"text-field":"{point_count_abbreviated}","text-font":["Open Sans Bold"],"text-size":12},paint:{"text-color":_}});let I;n.pin?.startsWith("<")?I=n.pin:I=`
45					<svg xmlns="http://www.w3.org/2000/svg" width="27px" height="41px" viewBox="0 0 27 41"><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="${n.pin||"#3FB1CE"}"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg>`;let O=URL.createObjectURL(new Blob([I],{type:"image/svg+xml"})),z=new Image;z.crossOrigin="anonymous",z.onload=()=>{URL.revokeObjectURL(O),l.addImage("pin",z,{pixelRatio:1}),l.addLayer({id:"unclustered-point",type:"symbol",source:"pins",filter:["!",["has","point_count"]],layout:{"icon-image":"pin","icon-size":1,"icon-anchor":"bottom","icon-allow-overlap":!0}})},z.onerror=S=>console.error("SVG decode failed",S),z.src=O}),l.on("click","clusters",async c=>{let f=l.queryRenderedFeatures(c.point,{layers:["clusters"]}
45),g=f[0].properties.cluster_id,_=await l.getSource("pins").getClusterExpansionZoom(g);l.easeTo({center:f[0].geometry.coordinates,zoom:_})});let s;function h(c){s&&s.remove();let f=c.geometry.coordinates.slice(),g=c.properties.content;s=new maplibregl.Popup({maxWidth:"none"}).setLngLat(f).setHTML(g).addTo(l),window.waasMapClick&&window.waasMapClick(c.properties.content)}l.on("click","unclustered-point",c=>{h(c.features[0])}),l.on("mouseenter","clusters",()=>{l.getCanvas().style.cursor="pointer"}),l.on("mouseenter","unclustered-point",()=>{l.getCanvas().style.cursor="pointer"}),l.on("mouseleave","clusters",()=>{l.getCanvas().style.cursor=""}),l.on("mouseleave","unclustered-point",()=>{l.getCanvas().style.cursor=""}),$("._toggleMapView").on("click",function(){let c=$(this),f=c.parent(),g=f.siblings("._map");g.is("._visuallyhidden")?(c.addClass("_mapview"),c.removeClass("_normalview"),g.removeClass("_visuallyhidden"),f.siblings("._pagelist").addClass("_visuallyhidden"),f.siblings("._paging").addClass("_visuallyhidden"),setTimeout(()=>{if(!n.zoom){let _=new maplibregl.LngLatBounds;window[o+"_pins"].filter(O=>!!O).forEach(O=>{_.extend(O.coords)}),l.fitBounds(_,{padding:50,maxZoom:12,duration:1e3})}},0)):(c.addClass("_normalview"),c.removeClass("_mapview"),g.addClass("_visuallyhidden"),f.siblings("._pagelist").removeClass("_visuallyhidden"),f.siblings("._paging").removeClass("_visuallyhidden"))})})},document.head.appendChild(a)})();
45$(function(){var e=$("._mf");if(e.length>0){var r=[],a=$("html").attr("lang");e.each(function(){var o=$(this);r.push({id:o.attr("id"),widget:o.attr("data-type"),locale:a,token:o.attr("data-token"),c:o.attr("data-c"),demo:o.attr("data-demo")==="true"})}),window._MF={data:r,url:"https://widget.datablocks.se/api/rose",ready:!1,render:function(){window._MF.ready=!0}};var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=window._MF.url+"/assets/js/loader-v3.js",document.getElementsByTagName("body")[0].appendChild(t)}});(function(){$("._pagelist-filter").each(function(){var container=$(this);let navigate=function(href){container.attr("data-ajax")?$.get(href+"&_contentonly=true",function(result){result=$(result);let listId=container.attr("data-list"),el=result.find("."+listId);if(el.length===1){let pagingBtn=el.siblings("._paging"),pagelistMap=el.siblings("._pagelist-map"),oldList=$(document.body).find("."+listId),oldPagingBtn=oldList.siblings("._paging"),oldPagelistMap=oldList.siblings("._pagelist-map");oldList.is("._visuallyhidden")?(el.addClass("_visuallyhidden"),pagingBtn.addClass("_visuallyhidden"),pagelistMap.removeClass("_visuallyhidden")):(el.removeClass("_visuallyhidden"),pagingBtn.removeClass("_visuallyhidden"),pagelistMap.addClass("_visuallyhidden")),oldList.replaceWith(el),oldPagelistMap.replaceWith(pagelistMap),oldPagingBtn.remove(),pagingBtn.length>0&&(container.parent().append(pagingBtn),setupPaging());let widgetId=listId.split("-").pop();if(window[`_refreshmap_map${widgetId}`]){let script=result.find(`#mapJson${widgetId}`);eval(script.html()),window[`_refreshmap_map${widgetId}`]()}let filterEl=result.find('[data-list="'+listId+'"]'),targetEl=$(document.body).find('[data-list="'+listId+'"]');filterEl.children().each(function(e){let r=targetEl.children(":nth-child("+(e+1)+")"),a=$(this),t=a.find("select");if(t.length>0){r.find("select").html(t.html());return}if(t=a.find("input"),t.length===1){t.is('[type="checkbox"]')?r.find("input").attr("value",t.attr("value")):r.find("input").attr("data-href",t.attr("data-href"));return}if(t.length>1){let o=r.find("input"),n,d=[];if(t.each(function(m){let l=$(this),p=$(o[m]);if(l.is("[data-dropdownall]")){n=p.next();return}p.attr("value",l.attr("value")),l.is(":checked")&&d.push(l.next()),l.is("[disabled]")?p.attr("disabled","true"):p.attr("disabled",null)}),n){let m=n.closest("dialog").prev();d.length===0?(m.text(n.text()),o.each(function(){this.checked=!1}),n.prev().attr("disabled","true")[0].checked=!0):(n.prev().attr("disabled",null)[0].checked=!1,d.length===1?m.text(d[0].text()):m.text(`(${d.length})`))}return}a.is("._tabs")&&r.html(a.html())}),history.pushState("",document.title,href),grids=$("._pagelist-grid"),$(window).resize()}else location.href=href}):location.href=href};container.find('select, input[type="checkbox"]').change(function(){navigate(this.value)}),container.find("a").click(function(e){if(container.attr("data-ajax")){e.preventDefault();let r=$(this);r.addClass("selected").siblings().removeClass("selected"),navigate(r.attr("href"))}}
45),container.find("._search input").change(function(){var e=$(this),r=e.attr("data-id"),a=e.attr("data-href")||"";navigate("?"+a+"&"+r+"="+this.value)}),!(location.hostname.indexOf(".cms.")>-1)&&container.find("select").each(function(){var e=$(this);if(e.children("option[selected]").length===0){var r=e.children().first().val();r.indexOf("?")>-1&&(location.search||"").indexOf("getAllWidths=true")<0&&(e.val(e.children().first().val()),e.change())}})});let grids=$("._pagelist-grid");if(grids.length>0){var makeMasonry=function(){grids.addClass("loaded").each(function(){var e=$(this),r=window.getComputedStyle(this),a=parseInt(r.getPropertyValue("grid-auto-rows")),t=parseInt(r.getPropertyValue("grid-row-gap"));e.children(".item").each(function(){var o=Math.ceil((this.scrollHeight+t)/(a+t));this.style.gridRowEnd="span "+o})})};$(window).on("load",function(){$(window).resize(makeMasonry),makeMasonry()})}var setupPaging=function(){$("._paging").each(function(){var e=$(this),r=e.siblings("._pagelist, ._pagelist-table");if(r.length!==0){var a=r.attr("class").split(" ").join("."),t=function(o){o.preventDefault(),$.get(e.attr("href"),function(n){r=e.siblings("._pagelist, ._pagelist-table");var d=$(n).find("."+a),m=d.children().first();if(m.is("h2")){var l=r.children("h2").last();l.html()===m.html()&&m.remove()}r.append(d.html()),e.remove(),e=d.siblings("._paging").insertAfter(r),e.click(t),setTimeout(function(){$(window).resize()},10),setTimeout(function(){$(window).resize()},100),setTimeout(function(){$(window).resize()},300),setTimeout(function(){$(window).resize()},1e3),setTimeout(function(){$(window).resize()},5e3)})};e.off("click").on("click",t)}})};setupPaging();function initCheckboxDropdown(e){let r=e.getAttribute("aria-controls"),a=document.getElementById(r),t=function(o){a.close()};e.addEventListener("click",()=>{let o=e.getBoundingClientRect();a.style.left=o.left+"px",a.style.top=o.bottom+"px",a.showModal(),e.setAttribute("aria-expanded","true"),window.addEventListener("scroll",t)}),a.addEventListener("click",o=>{o.target===a&&(a.close(),o.preventDefault())}),a.addEventListener("close",()=>{e.setAttribute("aria-expanded","false"),window.removeEventListener("onscroll",t)}),a.querySelector("._close").addEventListener("click",o=>{a.close()})}$("._checkboxDropdownBtn").each(function(){initCheckboxDropdown(this)})})();
45$("._searchform").each(function(){var e=$(this),r=e.find("._searchbox"),a=parseInt(e.attr("data-animation")||0),t=e.find("._instantsearch"),o=t.attr("data-nohits"),n=!1,d=null,m=waasconfig.lang;e.on("focusout",function(l){setTimeout(function(){$(":focus").closest("._searchform").length===0&&($(document.body).removeClass("_searchmode"),e.removeClass("focus-within"),setTimeout(function(){$(document.body).removeClass("_searchanimating _searchanimating-complete")},a))},0)}),e.on("focusin",function(){$(document.body).addClass("_searchmode _searchanimating"),setTimeout(function(){$(document.body).addClass("_searchanimating-complete")},a),e.addClass("focus-within")}),e.on("click","._toggleSearch",function(){$(this).blur()}),r.focus(function(){this.value&&(r.select(),r.keyup())}),r.keyup(function(){var l=this.value;d&&clearTimeout(d),l?d=setTimeout(function(){t.show(),n=!0,$.getJSON("/api/search/?limit=10&q="+l+"&lang="+m,function(p){if(n){var s="<ul>",h=p.hits;if(h.length>0)for(var c=0;c<h.length;c++){var f=h[c];s+='<li><a href="'+f.url+'">'+f.name+"</a></li>"}else s+="<li><a>"+o+"</a></li>";s+="</ul>",t.html(s)}})},300):(t.html("").hide(),n=!1)}),$(document.body).on("click",function(l){n&&(t.hide(),n=!1)})});
45(function(){var e=$("#_sharegraph");if(e.length>0){var r=e.attr("data-symbol"),a=parseInt(e.attr("data-divisor")),t=e.attr("data-total-return-label"),o=1;$.getJSON("/api/sharegraph/"+r+"/?date="+new Date().toISOString().substring(0,10),function(J){var M=[{index:0,symbol:r,days:J,color:e.attr("data-color"),intraDays:[]}];W.each(function(u){var v=$(this);let L={hidden:!v.is(":checked"),index:u+1,symbol:v.attr("data-symbol"),color:v.attr("data-color"),isTotalreturn:v.attr("data-total-return")};M.push(L)});var w=M[0];le(w);var V=new Date(J[0].d),ie=new Date(J[J.length-1].d),E=J.length,P=E-1,A=P,N=new Date,pe=e.children("._shortcuts").children('[data-default="true"]');if(pe.length===0)N.setMonth(N.getMonth()-3);else if(pe=pe.attr("data-type"),pe==="All")N=new Date(V.getTime());else{var De=pe.slice(-1),Le=parseInt(pe);De==="m"?N.setMonth(N.getMonth()-Le):De==="y"?N.setFullYear(N.getFullYear()-Le):De==="d"&&N.setDate(N.getDate()-Le)}for(N=N.toISOString();A>0&&!(J[A].d<=N);)A--;var Te=1/0,Me=-1/0,Re=-1/0,Oe=1/0,we=-1/0,ce,ge,de,Fe,Ae,Be,ve,ee,ae,G,X,te,_e,ne=0,Je=e.find("._y-axis").first(),ye=e.find("._gridlines"),q=ye.width(),Ee=g.height();e.on("click","button",function(){var u=$(this).attr("data-type");if(P=E-1,u==="All")N=new Date(V.getTime());else{var v=parseInt(u),L=u[u.length-1];N=new Date(ie.getTime()),L==="y"?N.setFullYear(N.getFullYear()-v):L==="m"?N.setMonth(N.getMonth()-v):L==="d"&&N.setDate(N.getDate()-v)}for(V>N&&(N=V),N=N.toISOString().substring(0,10),A=P;w.days[A].d>N;)A--;if(L==="d")for(ne=w.intraDays.length-1;ne>0&&w.intraDays[ne].d>N;)ne--;re()});var lt={daypart:function(u){var v="",L="",k=0,b=-1,C=-1;for(i=X;i<te+1;i++){var y=new Date(w.intraDays[i].d),D=y.getDate(),T=y.getHours();D!==b&&(L+='<span style="left: '+k+'%">'+y.toLocaleString(n,{weekday:"short"})+" "+y.toLocaleString(n,{day:"2-digit"})+" "+y.toLocaleString(n,{month:"short"})+"</span>",b=D),C!==T&&T%3===0&&(v+='<span style="left: '+k+'%">'+T+":00</span>",C=T),k+=u}return{minor:v,major:L}},hours:function(u){var v="",L="",k=0,b=-1,C=-1;for(i=X;i<te+1;i++){var y=new Date(w.intraDays[i].d),D=y.getDate(),T=y.getHours();D!==b&&(L+='<span style="left: '+k+'%">'+y.toLocaleString(n,{weekday:"short"})+" "+y.toLocaleString(n,{day:"2-digit"})+" "+y.toLocaleString(n,{month:"short"})+"</span>",b=D),T!==C&&(v+='<span style="left: '+k+'%">'+T+":00</span>",C=T),k+=u}return{minor:v,major:L}},days:function(u){var v="",L="",k=0,b=-1;for(i=A;i<P+1;i++){var C=new Date(w.days[i].d),y=C.getMonth();y!==b&&(C.getDate()<26&&(L+='<span style="left: '+k+'%">'+C.toLocaleString(n,{month:"long"})+"</span>"),b=y),v+='<span style="left: '+k+'%">'+C.getDate()+"</span>",k+=u}return{minor:v,major:L}},weeks:function(u,v){var L="",k="",b=0,C=-1,y=8;for(i=A;i<P+1;i++){var D=new Date(w.days[i].d),T=D.getMonth(),Q=T!==C;Q&&(D.getDate()<21&&(k+='<span style="left: '+b+'%">'+D.toLocaleString(n,{month:"long"})+"</span>"),C=T);var U=D.getDay();if(U<y||Q){var H,K,R="";if(Q){var Y=1;for(H=i+1;H<P+1&&(K=new Date(w.days[H].d),!(K.getDay()<=U));)Y++,H++;Y*v<10&&(R="; color: transparent;")}else{var be=1;for(H=i+1;H<P+1&&(K=new Date(w.days[H].d),K.getMonth()===T);)be++,H++;be*v<20&&(R="; color: transparent;")}L+='<span style="left: '+b+"%"+R+'">'+D.getDate()+"</span>"}y=U,b+=u}return{minor:L,major:k}},months:function(u){var v="",L="",k=0,b=-1,C=-1;for(i=A;i<P+1;i++){var y=new Date(w.days[i].d),D=y.getFullYear(),T=y.getMonth();D!==b&&(L+='<span style="left: '+k+'%">'+D+"</span>",b=D),T!==C&&(v+='<span style="left: '+k+'%">'+y.toLocaleString(n,{month:"short"})+"</span>",C=T),k+=u}return{minor:v,major:L}},quarters:function(u){var v="",L="",k=0,b=-1,C=-1;for(i=A;i<P+1;i++){var y=new Date(w.days[i].d),D=y.getFullYear(),T=y.getMonth();D!==b&&(L+='<span style="left: '+k+'%">'+D+"</span>",b=D),(k===0||T!==C&&T%3===0)&&(v+='<span style="left: '+k+'%">'+y.toLocaleString(n,{month:"short"})+"</span>",C=T),k+=u}return{minor:v,major:L}},years:function(u){var v="",L=0,k=-1;for(i=A;i<P+1;i++){var b=w.days[i].d.substring(0,4);(L===0||b!==k)&&(v+='<span style="left: '+L+'%">'+b+"</span>",k=b),L+=u}return{minor:v,major:""}}},re=function(){var u,v,L;if(ae=[],G=w.intraDays.length>0&&w.days[A].d>=w.intraDays[0].d.substring(0,10),G)for(u=0;
45u<M.length;u++)!M[u].hidden&&M[u].intraDays.length===0&&(G=!1);X=A,te=P;var k="days";for(G&&(X=ne,te=w.intraDays.length-1,k="intraDays"),o=0,u=0;u<M.length;u++)ae.push(),M[u].hidden||(o++,ae[u]=M[u][k][X].p);var b=1/0,C=-1/0,y=-1/0;for(u=0;u<M.length;u++)if(w=M[u],!w.hidden)for(v=X;v<te+1;v++){var D=w[k][v],T=o===1?D.p:D.p/ae[u]-1;b=Math.min(T,b),C=Math.max(T,C),u===0&&(y=Math.max(D.q,y))}if(w=M[0],b!==Te||C!==Me){var Q="",U="";Te=b,Me=C,Re=y;var H=chartAxis({minValue:Te,maxValue:Me}),K=function(Ie,je){if(o>1){je-=2;var dt=Ie===0?"\xB1":Ie>0?"+":"";return dt+(Ie*100).toLocaleString(n,{minimumFractionDigits:je>0?2:0})+"%"}else return Ie.toLocaleString(n,{minimumFractionDigits:je>0?2:0})};for(u=H.length-1;u>0;u--)Q+="<span>"+K(H[u],H.decimals)+"</span>",U+="<span></span>";ce=100/(H[0]-H[H.length-1]),ge=100-ce*H[0],Je.html(Q).next().html("<span>"+K(H[0],H.decimals)+"</span>"),ye.html(U),q=ye.width()}l.children("svg").remove(),de=100/(te-X);var R=q*de/100,be=Math.round(Math.min(R,40)/2);m.css({"margin-left":be,"margin-right":be});var Y;G?(Y="daypart",R<.6&&(Y="hours")):(Y="days",R<.6?Y="years":R<2?Y="quarters":R<10?Y="months":R<20&&(Y="weeks"));var ke=1;R<1&&(ke=Math.ceil(1/R));var We=lt[Y](de,R);p.html(We.minor),s.html(We.major);var se,Ce="";for(u=0;u<M.length;u++)if(w=M[u],!w.hidden&&(!G||w.intraDays.length>0)){se=0,Ce+='<g style="stroke: '+w.color+'">';var ct=o===1?ae[u]:0,Ze=ce*ct+ge,Ye=0,T,he,gt=ke;for(v=X+1;v<te+1;v+=ke){var D=w[k][v];T=o===1?D.p:D.p/ae[u]-1,he=ce*T+ge,se+=de*ke,Ce+='<line x1="'+Ye+'%" x2="'+se+'%" y1="'+Ze+'%" y2="'+he+'%" />',Ye=se,Ze=he}Ce+="</g>"}l.append('<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg">'+Ce+"</svg>"),w=M[0];var Ge,Qe="",Ke="";for(se=0,v=X;v<te+1;v++){var D=w[k][v];D.news&&(T=o===1?D.p:D.p/ae[0]-1,he=ce*T+ge,Ke+='<div data-index="'+v+'" style="top: '+he+"%; left: "+se+'%;"></div>'),Ge=D.q*100/Re,Qe+='<div style="width: '+de+"%; height: "+Ge+"%; left: "+se+'%"><div></div><span>'+D.volume+"</span></div>",se+=de}c.html(Ke),f.html(Qe),Be=A/E,ve=q/Math.sqrt(1-Be);var $e=Be*ve-ve+q;ee=Math.round((ve-q)*E/ve);var Ne=q*(P-ee+1)/(E-ee);for(G&&_e&&($e=_e),I.width($e),z.css("left",$e),O.width(q-Ne),x.css("left",Ne),S.css({left:$e+"px",width:Ne-$e+"px"}),b=1/0,C=-1/0,u=ee;u<E;u++){var T=w.days[u].p;C=Math.max(C,T),b=Math.min(b,T)}(b!==Oe||C!==we)&&(Oe=b,we=C,Ae=Ee/(1-Oe/we),Fe=-Ae/we);var ze="M0,10000",et=q/(E-ee-1),Se=0,tt="",Pe=w.days[ee].d.substring(0,4);for(u=ee;u<E;u++){var D=w.days[u],he=Fe*D.p+Ae;ze+=" L "+Se+" "+he;var it=D.d.substring(0,4);it!==Pe&&(Pe=it,tt+='<div style="left: '+Se+'px"><span>'+Pe+"</span></div>"),Se+=et}B.html(tt),ze+="L"+(Se-et)+",10000";var at=document.createElementNS("http://www.w3.org/2000/svg","path");at.setAttribute("d",ze),_.setAttribute("viewBox","0 0 "+q+" "+Ee),_.innerHTML="",_.appendChild(at)};re(),Z(r,w,re),$(window).on("resize",function(){q=ye.width(),Ee=g[0].clientHeight}),W.on("change",function(){var u,v=$(this),L=v.attr("data-symbol");for(i=1;i<M.length;i++)M[i].symbol===L&&(u=M[i]);u.hidden=!v.is(":checked"),Je.siblings("._y-axis.top").toggle(u.hidden);var k=function(b,C){for(i=0;i<C.length;i++)if(b[i]||(C.splice(i,1),i--),C[i].d!==b[i].d)if(C[i].d<b[i].d)C.splice(i,1),i--;else{var y=JSON.parse(JSON.stringify(C[i-1]));y.d=b[i].d,y.missing=!0,C.splice(i,0,y)}};!u.hidden&&!u.loaded?$.getJSON("/api/sharegraph/"+L+"/?totalreturn="+u.isTotalreturn+"&date="+new Date().toISOString().substring(0,10),function(b){k(w.days,b),E=w.days.length,P>E-1&&(P=E-1),u.days=b,u.intraDays=[],u.loaded=!0,Z(L,u,function(){k(u.intraDays,w.intraDays),re()}),re()}):re()});var Ve,me,Ue,xe=e.is("._hidenews");xe&&e.children("._toggleNews").children("input").change(function(){xe=!$(this).is(":checked"),e.toggleClass("_hidenews",xe)});var Xe=function(u,v){if(v||u<q){var L=u/q,k=Math.round((te-X)*L),b;v?(k=v-X,b=v):b=X+k;var C=G?"intraDays":"days",y=w[C][b];if(y!==Ve){var D="",T="";Ve=y,h.css({left:k*de+"%",display:"block"});var Q=0;for(i=0;i<M.length;i++){var U=M[i];if(!U.hidden){var H=U[C][b],K=o===1?H.p:H.p/ae[i]-1;Q=Math.max(Q,K),D+='<span style="background-color: '+U.color+"; top: "+(ce*K+ge)+'%"></span>',H.missing||(T+="<br>",o>1&&(T+='<span class="_dot" style="background-color: '+U.color+'"></span>
45'+(U.isTotalreturn&&t||U.symbol)+": "),T+=H.p.toLocaleString(n,{minimumFractionDigits:2}))}}if(y.news&&!xe)for(h.addClass("hasnews"),j=0;j<y.news.length;j++)T+='<br><a href="'+y.news[j].u+'">'+y.news[j].n+"</a>";else h.removeClass("hasnews");var R=y.d;G&&(R=R.replace("T","&nbsp;")),T='<div style="bottom: '+(100-(ce*Q+ge))+'%">'+R+T+"</div>",h.html(D+T),me&&me.removeClass("hover"),me=f.children(":nth-child("+(k+1)+")"),me.addClass("hover")}}};c.on("mousemove",function(u){var v=parseInt($(u.target).attr("data-index"));Xe(null,v),u.stopPropagation()}),d.on("mousemove touchmove",function(u){let v=u.clientX||u.touches[0].clientX;Xe(v-Ue)}),d.on("mouseenter touchstart",function(u){Ue=d.offset().left}),d.on("mouseleave touchend",function(u){setTimeout(function(){h.hide(),me&&me.removeClass("hover")},0)});var ue,oe,fe;S.on("mousedown touchstart",function(u){g.addClass("dragging"),ue="move",oe=u.offsetX,oe||(fe=u.touches[0].clientX-S.offset().left),u.preventDefault()}),z.on("mousedown touchstart",function(u){g.addClass("dragging"),ue="left",oe=u.offsetX,oe||(fe=1),u.preventDefault()}),x.on("mousedown touchstart",function(u){g.addClass("dragging"),ue="right",oe=u.offsetX,oe||(fe=1),u.preventDefault()}),$(document).on("mouseup touchend",function(){ue=!1,_e=0,g.removeClass("dragging")}),g.on("mousemove touchmove",function(u){if(ue==="right"){var v=u.offsetX-oe;fe&&(v=u.touches[0].clientX-fe),P=Math.round(v*(E-ee)/q+ee),P>E-1?P=E-1:P<A+2&&(P=A+2),re()}else if(ue){var L=A,k=u.offsetX-oe;fe&&(k=u.touches[0].clientX-fe);var b=Math.pow(q,2)/(q-k),C=1-Math.pow(q,2)/Math.pow(b,2);if(A=Math.round(C*E),A<0?A=0:A>w.intraIndex&&(A=w.intraIndex),ue==="move")P-=L-A,P>E-1&&(P=E-1,A=L);else if(G){_e=u.offsetX,b=q/Math.sqrt(1-A/E);var y=b*(E-w.intraIndex)/E,D=(u.offsetX-(q-y))/y;ne=Math.round(w.intraDays.length*D),ne<0&&(ne=0)}re()}})});var n=e.attr("data-lang"),d=e.children("._chart-container"),m=d.children("._margin"),l=d.children("._chart-area"),p=e.find("._minor"),s=p.next(),h=l.children("._hoverline"),c=d.children("._newsitems"),f=d.children("._volume"),g=d.children("._navchart"),_=g.children("svg")[0],I=g.children("._leftcover"),O=g.children("._rightcover"),z=g.children("._left"),S=g.children("._navcover"),x=g.children("._right"),B=g.children("._years"),W=e.children("._peers").children("label").children("input"),F=JSON.parse(e.children("._newsjson").html()),Z=function(J,M,w){var V=new Date().toISOString().substring(0,16);$.getJSON("/api/sharegraph/"+J+"/?intraday=true&t="+V,function(ie){if(ie.length!==0){M.intraDays=ie;var E,P,A,N=ie[0].d.substring(0,10);for(M.intraIndex=0,E=0;E<M.days.length;E++)A=M.days[E],A.d<N&&M.intraIndex++;for(E=0;E<M.intraDays.length;E++)A=M.intraDays[E],A.volume=Math.round(A.q/a).toLocaleString(n);w()}})},le=function(J){var M,w,V;for(M=0;M<J.days.length;M++)V=J.days[M],V.volume=Math.round(V.q/a).toLocaleString(n);for(M=0;M<F.length;M++){var ie=F[M];for(w=0;w<J.days.length;w++)if(V=J.days[w],V.d===ie.d){V.news||(V.news=[]),V.news.push(ie);break}}}}})();
45(function(){var e=$("#_ticker, ._ticker");if(e.length>0){var r=new Date().toISOString().substring(0,16),a=[];$("[data-tickerformat]").each(function(){let t=$(this);a.push(JSON.stringify({format:encodeURIComponent(t.attr("data-tickerformat")),when:t.attr("data-when")}))}),a=a.join("||"),$.getJSON(`/api/shareticker/?t=${r}&dateformats=${a}&lang=${waasconfig.lang}`,function(t){$("#_ticker-openprice, ._ticker-openprice").html(formatNumber(t.OpenPrice,2)),$("#_ticker-price, ._ticker-price").html(formatNumber(t.Price,2)),$("#_ticker-ask, ._ticker-ask").html(formatNumber(t.AskPrice,2)),$("#_ticker-bid, ._ticker-bid").html(formatNumber(t.BidPrice,2)),$("#_ticker-high, ._ticker-high").html(formatNumber(t.HighPrice,2)),$("#_ticker-low, ._ticker-low").html(formatNumber(t.LowPrice,2)),$("#_ticker-volume, ._ticker-volume").html(formatNumber(t.Quantity,0));var o="\xB1";t.Delta===void 0&&(t.Delta=0,t.DeltaPercentage=0),t.Delta>0?(e.addClass("_pos"),o="+"):t.Delta<0&&(e.addClass("_neg"),o=""),$("#_ticker-change, ._ticker-change").html(o+formatNumber(t.Delta,2)),$("#_ticker-changePerc, ._ticker-changePerc").html(o+formatNumber(parseFloat(t.DeltaPercentage)*100,2)),$("._ticker-ath").html(formatNumber(t.Ath,2)),$("._ticker-atl").html(formatNumber(t.Atl,2)),$("._ticker-high1y").html(formatNumber(t.HighPrice1Y,2)),$("._ticker-low1y").html(formatNumber(t.LowPrice1Y,2)),$("._ticker-noofshares").html(formatNumber(t.NumberOfShares,0)),$("._ticker-closeprice1d").html(formatNumber(t.ClosePrice1D,2)),a?t.formateddates.forEach(n=>{$(`[data-tickerformat="${n.format}"][data-when="${n.when}"]`).html(n.value)}):(typeof tickerDate!="function"&&(window.tickerDate=function(n){try{return n.toISOString()}catch{return""}}),t.QuoteTime&&$("#_ticker-updated, ._ticker-updated").html(tickerDate(new Date(t.QuoteTime))),$("._ticker-athdate").html(tickerDate(new Date(t.AthDate))),$("._ticker-atldate").html(tickerDate(new Date(t.AtlDate))))})}})();
45(function(){var e=$(document.body);$.cookie("menumode")==="true"&&$(window).width()>768&&e.addClass("menumode"),setTimeout(function(){e.addClass("menuinitiated")},0)})();$(function(){var e=$("#subnav");if(e.is("._expandable")){var r='<button class="_togglesubnav"><svg class="show" role="presentation" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-show"></use></svg><svg class="hide" role="presentation" width="2rem" height="2rem" viewBox="0 0 25 25"><use xlink:href="#svg-Nav-hide"></use></svg></button>';e.find("li").each(function(){var a=$(this);a.children("ul").length>0&&a.children("ul").before(r)}),e.on("click","._togglesubnav",function(){$(this).parent().toggleClass("expanded")})}});(function(){$.fn.isInViewportOrHigher=function(){var r=$(this).offset().top,a=r+$(this).height(),t=$(window).scrollTop(),o=t+$(window).height();return r<o-100};var e=$("#_main").find("._block");e.forEach(function(r){$(r).isInViewportOrHigher()||$(r).addClass("invisible")}),$(window).scroll(function(){e.forEach(function(r){$(r).isInViewportOrHigher()&&$(r).removeClass("invisible")})})})();(function(){$("#_main").find(".hero").length>0&&$(".breadcrumb").addClass("white")})();
45$(".calendar").each(function(){var e=$(this),r=e.children(".item"),a=r.first();if(a.length>0){var t=new Date(a.children("._startdate").attr("data-date"));t>Date.now()?(r.detach(),r.each(function(){$(this).prependTo(e)})):e.addClass("past")}});var rt=$(".cards-accordion .card-item");rt.each(function(){$(this).on("click",function(){let e=$(this);rt.not(e).removeClass("active"),e.toggleClass("active");let r=$(".cards-accordion .card-item.active").find(".text").height();$(".cards-accordion .card-item.active .text-container").css({height:r}),$(".cards-accordion .card-item:not(.active) .text-container").css({height:0})})});(function(){var e=function(r,a){var t=new XMLHttpRequest;t.open("HEAD",r),t.onload=function(){var o=t.getResponseHeader("Content-Length"),n="";o>=1e5?n=(o/1e6).toFixed(1)+" MB":o>=1e3?n=(o/1e3).toFixed(1)+" kB":n=o+" B",a.html(n)},t.send()};$(".document-list").each(function(){$(this).find("li").each(function(){var r=$(this).find("a").attr("href"),a=$(this).find(".filesize");e(r,a)})})})();(function(){$(".report-link--other").each(function(){var e=$
45(this),r=e.attr("href");/\.pdf$/.test(r)?e.addClass("link-pdf"):/\.xlsx?$/.test(r)&&e.addClass("link-xls")})})();(function(){$("._searchform").each(function(){var e=$(this);e.on("focusin",function(){$(document.body).removeClass("_menumode _menutransition")})})})();var ut=$(".historylist");if(ut.length>0){let r='<button class="close-panel"><span>'+(waasconfig.lang==="sv"?"Visa mindre":"Show less")+'</span> <svg aria-hidden="true" width="15" height="15" viewBox="0 0 10 10"><use xlink:href="#svg-Small-arrow"></use></svg></button>';$(".historylist .item").each(function(a){let t=$(this),o=t.find("._desc");t.wrapInner('<a href="#bio-'+a+'" id="link-'+a+'" aria-controls="bio-'+a+'" aria-expanded="false">'),o.attr({id:"bio-"+a,"aria-labelledby":"link-"+a,"aria-hidden":!0}),$(o).insertAfter($(this).find("a")),$(this).next(".accordion_body").attr("id","accordion-"+a).attr({id:"p"+a,"aria-labelledby":"h"+a,"aria-hidden":!0,role:"tabpanel"}),o.append(r)}),$(".historylist a").click(function(a){a.preventDefault();let t=$(this),o=t.next();return t.hasClass("active")?(t.removeClass("active").attr("aria-expaned","false"),o.attr("aria-hidden","true")):($(".historylist a").removeClass("active").attr("aria-expaned","false").next().attr("aria-hidden","true"),t.addClass("active").attr("aria-expaned","true"),o.attr("aria-hidden","false")),!1}),$(".historylist").on("click",".close-panel",function(a){let t=$(this).parents(".item"),o=t.find("a"),n=t.find("._desc");o.removeClass("active").attr("aria-expaned","false"),n.attr("aria-hidden","true")})}(function(){$(".hotel_market_day .item:first-child").remove(),$(".hotel_market_day .item:nth-child(-n+3)").wrapAll('<div class="three_first"></div>')})();var He=$(".hotel-images");if(He.length>0){let e=He.children(".fullsize");He.on("click","li",function(){e.attr("src","/files/"+$(this).attr("data-img"))})}var qe=$(".hotel-images-new");if(qe.length>0){let e=qe.children(".fullsize_new");qe.on("click","li",function(){e.attr("src","/images/"+$(this).attr("data-img"))})}
45$(function(){var e=$("._dropdown._country select option:first-child"),r=$("._dropdown._country select");r.html(r.find("option").sort(function(a,t){return $(a).text()>$(t).text()?1:-1})),r.prepend(e)});$(function(){var e=$("._dropdown._city select option:first-child"),r=$("._dropdown._city select");r.html(r.find("option").sort(function(a,t){return $(a).text()>$(t).text()?1:-1})),r.prepend(e)});document.addEventListener("DOMContentLoaded",()=>{let e=document.createElement("div");e.className="image-popup",e.innerHTML=`
46        <div class="image-popup__overlay"></div>
47        <button class="image-popup__nav image-popup__prev" aria-label="Previous">&#10094;</button>
48        <div class="image-popup__content">
49            <button class="image-popup__close">&times;</button>
50            <img alt="">
51        </div>
52        <button class="image-popup__nav image-popup__next" aria-label="Next">&#10095;</button>
53    `,document.body.appendChild(e);let r=e.querySelector("img"),a=e.querySelector(".image-popup__overlay"),t=e.querySelector(".image-popup__close"),o=e.querySelector(".image-popup__prev"),n=e.querySelector(".image-popup__next"),d=0;function m(){return Array.from(document.querySelectorAll(".image_gallery_popup li"))}document.addEventListener("click",c=>{let f=c.target.closest(".image_gallery_popup li");if(!f)return;let g=m();d=parseInt(f.dataset.index)||g.indexOf(f);let _=f.querySelector("img");l(_.currentSrc||_.src),s(g)});function l(c){e.classList.add("active"),document.body.style.overflow="hidden",e.classList.remove("show"),r.onload=()=>{requestAnimationFrame(()=>{e.classList.add("show")})},r.src=c}function p(c){let f=m();d=d+c,d<0&&(d=f.length-1),d>=f.length&&(d=0);let g=f[d].querySelector("img");l(g.currentSrc||g.src),s(f)}function s(c){o.style.display=c.length>1?"flex":"none",n.style.display=c.length>1?"flex":"none"}o.addEventListener("click",()=>p(-1)),n.addEventListener("click",()=>p(1));function h(){e.classList.remove("show"),setTimeout(()=>{e.classList.remove("active"),document.body.style.overflow=""},300)}a.addEventListener("click",h),t.addEventListener("click",h),document.addEventListener("keydown",c=>{e.classList.contains("active")&&(c.key==="Escape"&&h(),c.key==="ArrowLeft"&&p(-1),c.key==="ArrowRight"&&p(1))})});document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".image_gallery").forEach(function(e){e.querySelectorAll(".gallery_thumbs img").forEach(function(r){r.addEventListener("click",function(){var a=r.closest("li").getAttribute("data-img"),t=e.querySelector(".big_image img");t&&a&&t.setAttribute("src","/images/"+a)})})})});
53(function(){$(".report-link--other").each(function(){var e=$(this),r=e.attr("href");/\.pdf$/.test(r)?e.addClass("link-pdf"):/\.xlsx?$/.test(r)&&e.addClass("link-xls")})})();var ft=$(".member-list");if(ft.length>0){let r='<button class="close-panel"><span>'+(waasconfig.lang==="sv"?"Visa mindre":"Show less")+'</span> <svg aria-hidden="true" width="15" height="15" viewBox="0 0 10 10"><use xlink:href="#svg-Small-arrow"></use></svg></button>';$(".member-list .item").each(function(a){let t=$(this),o=t.find("._content");t.wrapInner('<a class="bio" href="#bio-'+a+'" id="link-'+a+'" aria-controls="bio-'+a+'" aria-expanded="false">'),o.attr({id:"bio-"+a,"aria-labelledby":"link-"+a,"aria-hidden":!0}),$(o).insertAfter($(this).find("a.bio")),$(this).next(".accordion_body").attr("id","accordion-"+a).attr({id:"p"+a,"aria-labelledby":"h"+a,"aria-hidden":!0,role:"tabpanel"}),o.append(r)}),$(".member-list a.bio").click(function(a){a.preventDefault();let t=$(this),o=t.next();return t.hasClass("active")?(t.removeClass("active").attr("aria-expaned","false"),o.attr("aria-hidden","true")):($(".member-list a.bio").removeClass("active").attr("aria-expaned","false").next().attr("aria-hidden","true"),t.addClass("active").attr("aria-expaned","true"),o.attr("aria-hidden","false")),!1}),$(".member-list").on("click",".close-panel",function(a){let t=$(this).parents(".item"),o=t.find("a.bio"),n=t.find("._content");o.removeClass("active").attr("aria-expaned","false"),n.attr("aria-hidden","true")})}var ht=function(){if($(window).width()>768){var e=$(document.body);e.hasClass("_menumode")?$.cookie("_menumode","expanded"):$.cookie("_menumode","collapsed")}},pt=function(){if($(window).width()>768){var e=$(document.body);$.cookie("_menumode")==="expanded"?e.addClass("_menumode _menustatesaved"):e.removeClass("_menumode _menustatesaved")}};window.onbeforeunload=function(){ht()};$(document).ready(function(){$("#_mainnav").find("li.expanded").addClass("children-visible"),pt()});$("#_toggle-nav, ._toggle").click(function(){$(this).blur(),$("body").removeClass("_menustatesaved")});
53$("._toggle").click(function(){var e=$(this).closest("ul");e.find("> li > ._toggle").not(this).attr("aria-expanded","false"),e.find("> li > ._toggle").not(this).closest("li").removeClass("children-visible")});$("#_toggle-nav").click(function(){$(window).trigger("resize")});$("#_menu1").append('<li id="portal_link"><a class="Button_-_ghost" target="_blank" rel="noopener noreferrer" href="https://pandox.addstart.com/">Property portal</a></div>');$(document).ready(function(){let e=$("html").attr("lang"),r={navbutton:{en:"Toggle navigation",sv:"V\xE4xla navigering"}};$("#_toggle-nav").attr("aria-label",r.navbutton[e])});(function(){$("._searchform").each(function(){var e=$(this);e.on("focusin",function(){$(document.body).removeClass("_menumode _menutransition")})})})();(function(){let e=$("html").attr("lang"),r={en:{nohits:"No results"},sv:{nohits:"Inga resultat"}},a=$("#searchresults");if(a.length>0){let t,o=$("#hitcount"),n=a.find(".resultlist"),d=parseInt(n.attr("data-pagesize")),m=0,l=function(){m===0&&n.html("<ul></ul>"),t=hits,s.pagetype!="all"&&(s.pagetype==="press"?t=t.filter(x=>x.type&&x.type!=="NL"):s.pagetype==="news"?t=t.filter(x=>x.type==="NL"):s.pagetype==="stories"?t=t.filter(x=>x.template===10):s.pagetype==="hotel_properties"&&(t=t.filter(x=>x.template===8))),h==="date"&&(t=t.map(x=>x),t.sort((x,B)=>x.bestbet&&!B.bestbet?-1:B.bestbet&&!x.bestbet||x.created<B.created?1:x.created>B.created?-1:0));let S="";for(let x=m;x<m+d;x++){let B=t[x];B&&(S+=`<li>
54                        <a href="${B.url}">
55                            <div class="content">
56                                <div class="header">${B.header}</div>
57                                <div class="title"><h2 class="underline">${B.name}</h2></div>
58                                <p class="snippet">${B.snippet.trim()}...</p>
59                                <div class="path">${B.path}</div>
60                            </div>
61                            <div class="image">
62                                ${B.image||""}
63                            </div>
64                        </a>
65                    </li>`)}S||(S=`<li>(${r[e].nohits})</li>`),o.html(t.length),n.children("ul").append(S),m+=d,a.find(".loadmore").toggleClass("fullyloaded",m>=t.length-1)},p={};(location.search||"?").substring(1).split("&").forEach(S=>{let x=S.split("=");p[x[0]]=x[1]});let s={pagetype:p.pagetype||"all"},h=p.sort||"date";Object.keys(p).length>1&&l();let c=function(){m=0,history.pushState(null,null,`?q=${p.q}&pagetype=${s.pagetype}&sort=${h}`),l()};c(),a.find('input[type="radio"]').on("change",function(){s[this.name]=this.value,c()}),a.find("select").on("change",function(){h=this.value,c()}),a.find(".loadmore").on("click","button",function(){l()}),a.find(".clearbtn").on("click",function(S){S.preventDefault(),$(this).siblings("input").val("").focus()});let f=!1,g=$("#customSearchInput"),_=$('<div class="instant-results-cover"></div>').insertAfter(a);_.on("click",function(){I.hide(),_.hide(),f=!1});let I=$('<ul class="instant-results"></ul>').insertAfter(g),O=function(){let S=g.val();S.length<2?(I.hide(),_.hide()):(f=!0,$.getJSON("/api/search/?limit=10&q="+S+"&lang="+waasconfig.lang,function(x){if(!f)return;var B=x.hits;let W="";if(B.length>0){let le=new RegExp(`(${S})`,"i");for(var F=0;F<B.length;F++){var Z=B[F];let J=Z.name.replace(le,"<strong>$1</strong>");W+=`<li>
66                                    <a href="${Z.url}">
67                                        <span class="instant-title">${J}</span>
68                                        
69                                    </a>
70                                </li>`}I.html(W),I.show(),_.show()}else I.hide(),_.hide(),f=!1}))},z=function(){};g.on("keyup",O)}$("#searchresults .underline").each(function(){let t=$(this);if(t.css("background-image").includes("linear-gradient")){let o=t.clone().text().trim();o.length>30&&t.css("transition",`all .3s, background ${o.length*10}ms ease-out`)}})})();function ot(){if($(window).width()>1024){let e=$("#_ticker").parents("._block").prev("._block").height();$("#_ticker").css("height",e)}else $("#_ticker").css("height","")}$(window).on("resize",ot);$(document).ready(ot);(function(){let e=$(".simple_disclaimer");if(e.length>0){let r=!1,a=e.closest("._section-container").show();a.siblings().hide();let t=e.find(".disclaimerError"),o=e.find("button");e.on("change","input",function(){this.value==="valid"?(t.hide(),o.show()):(t.show(),o.hide())}),o.on("click",()=>{a.hide(),a.siblings("._section-container").show()})}})();$(document).ready(function(){let e=$("html").attr("lang"),r={alt:{en:"LinkedIn post image",sv:"LinkedIn-inl\xE4ggsbild"}};var a="https://api.curator.io/v1/feeds/b3b120c9-72a2-4037-96df-2b2ab45e1026/posts?limit=3&network_id=11";$.getJSON(a,function(t){var o=[];$.each(t.posts,function(n,d){let m=d.image?d.image:"/files/images/social-fallback.jpg",l=d.text;l.length>270&&(l=l.substr(0,269)+"...  "),o.push("<a class='social-item' href='"+d.url+"' target='_blank' rel='noopener noreferrer'><div id='"+d.id+"' data-id='"+d.source_identifier+"'><img alt='"+r.alt[e]+"' src='"+m+"' /><div class='label'>Pandox <span>on</span> LinkedIn<div class='circle-logo'></div></div><p class='text'>"+l+"</p><div class='data'><p>"+d.comments+"</p><p>
70"+d.likes+"</p></div></div></a>")}),$("<div/>",{class:"social-items-linkedin",html:o.join("")}).appendTo(".socical-repo-linkedin")})});$(".page674 ._subscribe").parents("._block-content").addClass("subscribe-container");$("._fields").children("h3").hide();var st=$("._subscribe");if(st.length>0){let e='<span class="checkbox"></span>',r=st.find(".langs label input, .types label input");$(e).insertAfter(r)}(function(){if((location.search||"").indexOf("getAllWidths=true")>-1)return;let e=n=>{n.each(function(){let d=$(this).find("._chart-animation");d.length>0&&d.each(function(){let m=$(this);m.removeClass("_chart-animation-complete"),m.find("._chart-animation-done").each(function(){$(this).removeClass("_chart-animation-done")})})})},r=(n,d)=>{let m=d.indexOf("closable")>-1;n=n.children();let l=0;n.on("keydown",function(p){(p.code==="ArrowRight"||p.code==="ArrowLeft")&&(n[l].setAttribute("tabindex",-1),p.code==="ArrowRight"?(l++,l>=n.length&&(l=0)):(l--,l<0&&(l=n.length-1)),n[l].setAttribute("tabindex",0),n[l].focus())}),n.on("click",function(p){let s=$(p.target);l=s.index();let h=s.attr("aria-controls"),c=$("#"+h);if(m&&s.attr("aria-selected")==="true"){s.attr("aria-selected","false"),c.attr("hidden","true");return}s.attr("aria-selected","true").siblings().attr("aria-selected","false"),e(c.siblings()),c.removeAttr("hidden").siblings("._tabpanel").attr("hidden","true"),setTimeout(function(){$(window).resize()},0),setTimeout(function(){$(window).resize()},100)})},a=(n,d,m)=>{let l,p=$(`
71            <div class="_carousel" aria-roledescription="carousel" tabindex="0">
72                <div class="_carousel_frame" aria-live="polite">
73                    <div class="_carousel_slides"></div>
74                </div>
75            </div>`);if(p.insertBefore(d.first()),d.appendTo(p.find("._carousel_slides")),n.carousel){if(n.carousel.indexOf("dots")>-1){n.paddingBottom&&p.css("padding-bottom",n.paddingBottom);let h='<div class="_carousel_dots"><div class="wrap">',c=' class="selected"';for(let f=0;f<d.length;f++)h+=`<button role="button"${c}><span>${m[f]}</span></button>`,c="";h+="</div></div>",h=$(h).appendTo(p).on("click","button",function(){let f=$(this);s.slideTo(f.index()),clearInterval(l)}),p[0].addEventListener("after.lory.slide",function(f){h.find("button:eq("+(f.detail.currentSlide-1)+")").addClass("selected").siblings().removeClass("selected"),e(d.filter(":not(.active)"))})}if(n.carousel.indexOf("arrows")>-1&&(p.append(`
76					<div class="_section _carousel_prevnext">
77						<button role="button" class="_carousel_prev"><span>Previous slide</span></button>
78						<button role="button" class="_carousel_next"><span>Next slide</span></button>
79					</div>
80				`),p.children("._carousel_prevnext").on("click","button",function(){clearInterval(l)})),n.carousel.indexOf("counter")>-1){let h='<div class="_carousel_counter"><span class="index">1</span>/'+d.length+"</div>";p.append(h),p[0].addEventListener("after.lory.slide",function(c){$("._carousel_counter .index").html(c.detail.currentSlide)})}}var s=lory(p[0],{infinite:1,classNameFrame:"_carousel_frame",classNameSlideContainer:"_carousel_slides",classNamePrevCtrl:"_carousel_prev",classNameNextCtrl:"_carousel_next",slideSpeed:waasconfig.sliderSpeed||300});n.carousel.indexOf("autoplay")>-1&&(l=setInterval(function(){s.next()},waasconfig.sliderInterval||7e3),p.on("focus",function(){clearInterval(l)}))};if($("._section-container[data-grouping]").length>0){let n=$("._section-container"),d=[],m=-1,l=!1;for(let p=0;p<n.length;p++){let s=$(n[p]);s.is("[data-grouping]")?l?d[m]=d[m].add(s):(l=!0,d.push(s),m++):l=!1}d.forEach(p=>{let s=JSON.parse(decodeURIComponent(p.first().attr("data-grouping")));if(s.type==="sectioncarousel"){let h=[];p.each(function(c){let f=$(this);f.attr({role:"group","aria-roledescription":"slide","aria-label":`${c+1} of ${p.length}`}),h.push(f.find("._block-content").first().children().first().text())}),a(s,p,h)}else p.each(function(){let h=$(this),c=JSON.parse(decodeURIComponent(h.attr("data-grouping")));if(c.type==="tabpanel"){let f=(c.tabs||[]).indexOf("inithidden")>-1,g='<div role="tablist" class="_tablist">',_,I,O=h.children().children().children(),z=0;O.each(function(){let S=$(this),x=S.find(`h${c.level}`);if(x.length>0){let B=Math.random().toString().substring(2);_=$(`<div 
81                                        class="_grid _tabpanel" 
82                                        id="panel-${B}"
83                                        role="tabpanel"
84                                        aria-labelledby="tab-${B}"
85                                        tabindex="0"
86                                    ></div>`).appendTo(h.children("._section"));let W=z===0&&!f;z===0?(I=_,W||_.attr("hidden","true")):_.attr("hidden","true"),g+=`<button 
87                                    role="tab" 
88                                    aria-selected="${W?"true":"false"}" 
89                                    tabindex="${z===0?"0":"-1"}" 
90                                    id="tab-${B}" 
91                                    aria-controls="panel-${B}"
92                                >${x.text()}</button>`,z++}_&&S.appendTo(_)}),g+="</div>",g=$(g).insertBefore(I),r(g,c.tabs||[])}})})}$("._block").each(function(){let n=$(this).find("._tabpanel");
92if(n.length>0){let m=n.closest("._block"),l=JSON.parse(decodeURIComponent(m.attr("data-grouping"))),p=(l.tabs||[]).indexOf("inithidden")>-1,s='<div role="tablist" class="_tablist">';n.each(function(h){let c=$(this),f=Math.random().toString().substring(2),g=c.find(`h${l.level}`).first().text(),_=h===0&&!p;s+=`<button 
93                    role="tab" 
94                    aria-selected="${_?"true":"false"}" 
95                    tabindex="${h===0?"0":"-1"}" 
96                    id="tab-${f}" 
97                    aria-controls="panel-${f}"
98                >${g}</button>`,c.attr({role:"tabpanel",id:`panel-${f}`,"aria-labelledby":`tab-${f}`,tabindex:"0"}),_||c.attr("hidden","true")}),s+="</div>",s=$(s).insertBefore(n.first()),r(s,l.tabs||[])}let d=$(this).find("._accordion");if(d.length>0){let m=d.closest("._block"),l=JSON.parse(decodeURIComponent(m.attr("data-grouping"))),p=l.accordion&&l.accordion.indexOf("allowmultiple")>-1,s=l.accordion&&l.accordion.indexOf("firstopen")>-1,h=function(I){I.each(function(){let O=$(this);O.attr("aria-hidden","true").height(0),O.find("a, input, button, select, textarea").attr("tabindex",-1)})},c=function(I){I.attr("aria-hidden","false"),I.find("a, input, button, select, textarea").removeAttr("tabindex"),I.height(I[0].scrollHeight)};d.each(function(I){let O=Math.random().toString().substring(2),z=$(this);z.prev().addClass("_accordion-heading").wrapInner(`<button 
99                    role="button"
100                    id="heading-${O}" 
101                    aria-controls="panel-${O}"
102                    aria-expanded="false"
103                    tabindex="${I===0?"0":"-1"}" 
104                ></button>`),z.attr({id:`panel-${O}`,"aria-labelledby":`heading-${O}`}),h(z)});let f=d.prev().children(),g=0,_=d.parent().is("._accordion-container");if(f.on("keydown",function(I){(I.code==="ArrowDown"||I.code==="ArrowUp"||I.code==="ArrowRight"||I.code==="ArrowLeft")&&(I.preventDefault(),f[g].setAttribute("tabindex",-1),I.code==="ArrowDown"||I.code==="ArrowRight"?(g++,g>=f.length&&(g=0)):(g--,g<0&&(g=f.length-1)),f[g].setAttribute("tabindex",0),f[g].focus())}),f.on("click",function(I){let O=$(I.target);O[0].tagName!=="BUTTON"&&(O=O.closest("button")),f.each(function(x){this===I.target&&(g=x)});let z=O.attr("aria-controls"),S=$("#"+z);if(O.attr("aria-expanded")==="false"){if(c(S),!p){let x=_?S.parent().siblings("._accordion-container").children("._accordion"):S.siblings("._accordion");h(x),f.attr("aria-expanded","false").parent().removeClass("_expanded"),_&&S.parent().siblings("._accordion-container").removeClass("_expanded")}O.attr("aria-expanded","true"),O.parent().addClass("_expanded"),_&&O.closest("._accordion-container").addClass("_expanded")}else h(S),O.attr("aria-expanded","false"),O.parent().removeClass("_expanded"),_&&O.closest("._accordion-container").removeClass("_expanded");e(S.parent().children('._accordion[aria-hidden="true"]'))}),s){let I=f.first();I.click();let O=I.attr("aria-controls"),z=$("#"+O).height("auto");setTimeout(function(){z.height(z[0].scrollHeight)},1e3)}}});let o=$("._block-carousel");o.length>0&&o.each(function(){let n=$(this),d=n.closest("._block"),m=JSON.parse(decodeURIComponent(d.attr("data-grouping"))),l=n.children();m.carousel&&m.carousel.indexOf("hideheadings")>-1&&l.children(`h${m.level}`).hide();let p=[],s;l.each(function(){let h=$(this);p.push(h.children(`h${m.level}`).html()),s=s||h.css("line-height")}),m.carousel&&m.carousel.indexOf("dots")>-1&&(m.paddingBottom=30),l.css({"white-space":"normal","line-height":s}),a(m,l,p)})})();})();
105(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.