1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2((Drupal,cookies)=>{Drupal.behaviors.supportVWO={attach:()=>{const CookieControl=cookies.get('CookieControl');if(CookieControl&&CookieControl.indexOf('"Statistics":"accepted"')!==-1)if(window._vwo_code&&!window.VWO)window._vwo_code.init();}};})(Drupal,window.Cookies);; 3(function(){'use strict';Drupal.behaviors.dropdownTranslationSubmitForm={attach:function(context){let listSelects=[];window.addEventListener('pageshow',function(evt){if(!evt.persisted)return;const googleWidgetDiv=document.getElementById('google_translate_element2');if(typeof googleWidgetDiv==="undefined"||googleWidgetDiv.classList.contains('initialised'))return;googleWidgetDiv.classList.add('initialised');if(googleWidgetDiv.innerHTML===''){window.gt_translate_script=document.createElement('script');window.gt_translate_script.src='https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2';document.body.appendChild(window.gt_translate_script);let selectDropdown=document.querySelector('.gt_selector');
3const changeEvent=new Event('change');selectDropdown.dispatchEvent(changeEvent);}setTimeout(function(){googleWidgetDiv.classList.remove('initialised');},2000);});setTimeout(function(){let translationForm=document.getElementById('gla-estate-translation-form');if(translationForm&&!translationForm.classList.contains('initialised')){const htmlElement=document.documentElement;const rtlLanguages=['ar','iw','fa','yi','ur','ps','sd'];if(rtlLanguages.includes(htmlElement.lang))htmlElement.setAttribute('dir','rtl');let selectDropdown=translationForm.querySelector('.gt_selector');let fakeSelectDropdown=selectDropdown.cloneNode(true);fakeSelectDropdown.classList.remove('gt_selector');fakeSelectDropdown.classList.add('lgov_gt_selector');fakeSelectDropdown.setAttribute('id','gla-select-translation');selectDropdown.parentNode.insertBefore(fakeSelectDropdown,selectDropdown.nextSibling);selectDropdown.style.display='none';fakeSelectDropdown.classList.add('u-bg-dark-grey','u-text-white','focus:u-border-blue');translationForm.addEventListener("submit",function(event){event.preventDefault();selectDropdown.value=fakeSelectDropdown.value;
3const changeEvent=new Event('change');selectDropdown.dispatchEvent(changeEvent);});listSelects.push(fakeSelectDropdown);const label=translationForm.querySelector('.gla-select-translation--label');if(label){selectDropdown.removeAttribute('aria-label');fakeSelectDropdown.removeAttribute('aria-label');}let options=fakeSelectDropdown.querySelectorAll('option');for(let iterOption=0,lengthOption=options.length;iterOption<lengthOption;iterOption++){let option=options[iterOption];if(!option.hasAttribute('lang')){let value=option.value;let languages=value.split('|');if(languages.length===2)option.setAttribute('lang',languages[1]);}}translationForm.classList.add('initialised');let otherFakeSelectForms=document.querySelectorAll('.gla-translate-component-translation-form');for(let iter=0,length=otherFakeSelectForms.length;iter<length;iter++){let otherFakeSelectForm=otherFakeSelectForms[iter];if(!otherFakeSelectForm.classList.contains('initialised')){let otherFakeSelect=otherFakeSelectForm.querySelector('select');if(otherFakeSelect){otherFakeSelect.innerHTML=fakeSelectDropdown.innerHTML;otherFakeSelect.classList.add('notranslate');}otherFakeSelectForm.addEventListener("submit",function(event){event.preventDefault();selectDropdown.value=otherFakeSelect.value;
3let changeEvent=new Event('change');selectDropdown.dispatchEvent(changeEvent);const pointerEnterEvent=new Event('pointerenter');translationForm.querySelector('.gtranslate_wrapper').dispatchEvent(pointerEnterEvent);});listSelects.push(otherFakeSelect);let label=otherFakeSelectForm.querySelector('.gla-select-translation--label');if(label)label.removeAttribute('aria-label');otherFakeSelectForm.classList.add('initialised');}}selectDropdown.addEventListener("change",function(event){const selectedValue=selectDropdown.value;const rtlLanguages=['en|ar','en|fa','en|iw','en|yi','en|ur','en|ps','en|sd'];for(let iterSelect=0,lengthSelect=listSelects.length;iterSelect<lengthSelect;iterSelect++){listSelects[iterSelect].value=selectedValue;if(rtlLanguages.includes(selectedValue))htmlElement.setAttribute('dir','rtl');else htmlElement.setAttribute('dir','ltr');}});}},1000);}};})();; 4(()=>{var Rn=Object.create;var Mt=Object.defineProperty;var xn=Object.getOwnPropertyDescriptor;var Nn=Object.getOwnPropertyNames;var Ln=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty;var On=(c,h)=>()=>(h||c((h={exports:{}}).exports,h),h.exports);var Mn=(c,h,L,C)=>{if(h&&typeof h=="object"||typeof h=="function")for(let A of Nn(h))!An.call(c,A)&&A!==L&&Mt(c,A,{get:()=>h[A],enumerable:!(C=xn(h,A))||C.enumerable});return c};var Dn=(c,h,L)=>(L=c!=null?Rn(Ln(c)):{},Mn(h||!c||!c.__esModule?Mt(L,"default",{value:c,enumerable:!0}):L,c));var _t=On((Dt,Bt)=>{(function(){"use strict";var c=document,h=window,L=c.documentElement,C=c.createElement.bind(c),A=C("div"),z=C("table"),$t=C("tbody"),ot=C("tr"),j=Array.isArray,R=Array.prototype,Ht=R.concat,J=R.filter,at=R.indexOf,ct=R.map,jt=R.push,ht=R.slice,Y=R.some,It=R.splice,Ft=/^#(?:[\w-]|\\.|[^\x00-\xa0])*$/,Wt=/^\.(?:[\w-]|\\.|[^\x00-\xa0])*$/,qt=/<.+>/,Ut=/^\w+$/;function G(t,n){var r=zt(n);return!t||!r&&!D(n)&&!d(n)?[]:!r&&Wt.test(t)?n.getElementsByClassName(t.slice(1).replace(/\\/g,"")):!r&&Ut.test(t)?n.getElementsByTagName(t):n.querySelectorAll(t)}var dt=(function(){function t(n,r){if(n){if(X(n))return n;var i=n;if(p(n)){var e=r||c;if(i=Ft.test(n)&&D(e)?e.getElementById(n.slice(1).replace(/\\/g,"")):qt.test(n)?yt(n):X(e)?e.find(n):p(e)?o(e).find(n):G(n,e),!i)return}else if(B(n))return this.ready(n);(i.nodeType||i===h)&&(i=[i]),this.length=i.length;for(var s=0,f=this.length;s<f;s++)this[s]=i[s]}}return t.prototype.init=function(n,r){return new t(n,r)},t})(),u=dt.prototype,o=u.init;o.fn=o.prototype=u,u.length=0,u.splice=It,typeof Symbol=="function"&&(u[Symbol.iterator]=R[Symbol.iterator]);function X(t){return t instanceof dt}function P(t){return!!t&&t===t.window}function D(t){return!!t&&t.nodeType===9}function zt(t){return!!t&&t.nodeType===11}function d(t){return!!t&&t.nodeType===1}function Jt(t){return!!t&&t.nodeType===3}function Yt(t){return typeof t=="boolean"}function B(t){return typeof t=="function"}function p(t){return typeof t=="string"}function m(t){return t===void 0}function H(t){return t===null}function lt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function K(t){if(typeof t!="object"||t===null)return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}o.isWindow=P,o.isFunction=B,o.isArray=j,o.isNumeric=lt,o.isPlainObject=K;function g(t,n,r){if(r){for(var i=t.length;i--;)if(n.call(t[i],i,t[i])===!1)return t}else if(K(t))for(var e=Object.keys(t),i=0,s=e.length;i<s;i++){var f=e[i];if(n.call(t[f],f,t[f])===!1)return t}else for(var i=0,s=t.length;i<s;i++)if(n.call(t[i],i,t[i])===!1)return t;return t}o.each=g,u.each=function(t){return g(this,t)},u.empty=function(){return this.each(function(t,n){for(;n.firstChild;)n.removeChild(n.firstChild)})};function I(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=Yt(t[0])?t.shift():!1,i=t.shift(),e=t.length;if(!i)return{};if(!e)return I(r,o,i);for(var s=0;s<e;s++){var f=t[s];for(var a in f)r&&(j(f[a])||K(f[a]))?((!i[a]||i[a].constructor!==f[a].constructor)&&(i[a]=new f[a].constructor),I(r,i[a],f[a])):i[a]=f[a]}return i}o.extend=I,u.extend=function(t){return I(u,t)};var Gt=/\S+/g;function F(t){return p(t)?t.match(Gt)||[]:[]}u.toggleClass=function(t,n){var r=F(t),i=!m(n);return this.each(function(e,s){d(s)&&g(r,function(f,a){i?n?s.classList.add(a):s.classList.remove(a):s.classList.toggle(a)})})},u.addClass=function(t){return this.toggleClass(t,!0)},u.removeAttr=function(t){var n=F(t);return this.each(function(r,i){d(i)&&g(n,function(e,s){i.removeAttribute(s)})})};function Xt(t,n){if(t){if(p(t)){if(arguments.length<2){if(!this[0]||!d(this[0]))return;var r=this[0].getAttribute(t);return H(r)?void 0:r}return m(n)?this:H(n)?this.removeAttr(t):this.each(function(e,s){d(s)&&s.setAttribute(t,n)})}for(var i in t)this.attr(i,t[i]);return this}}u.attr=Xt,u.removeClass=function(t){return arguments.length?this.toggleClass(t,!1):this.attr("class","")},u.hasClass=function(t){return!!t&&Y.call(this,function(n){return d(n)&&n.classList.contains(t)})},u.get=function(t){return m(t)?ht.call(this):(t=Number(t),this[t<0?t+this.length:t])},u.eq=function(t){return o(this.get(t))},u.first=function(){return this.eq(0)},u.last=function(){return this.eq(-1)};function Kt(t){return m(t)?this.get().map(function(n){return d(n)||Jt(n)?n.textContent:""}).join(""):this.each(function(n,r){d(r)&&(r.textContent=t)})}u.text=Kt;function x(t,n,r){if(d(t)){var i=h.getComputedStyle(t,null);return r?i.getPropertyValue(n)||void 0:i[n]||t.style[n]}}function S(t,n){return parseInt(x(t,n),10)||0}function gt(t,n){return S(t,"border".concat(n?"Left":"Top","Width"))+S(t,"padding".concat(n?"Left":"Top"))+S(t,"padding".concat(n?"Right":"Bottom"))+S(t,"border".concat(n?"Right":"Bottom","Width"))}var Q={};function Qt(t){if(Q[t])return Q[t];var n=C(t);c.body.insertBefore(n,null);var r=x(n,"display");return c.body.removeChild(n),Q[t]=r!=="none"?r:"block"}function vt(t){return x(t,"display")==="none"}function pt(t,n){var r=t&&(t.matches||t.webkitMatchesSelector||t.msMatchesSelector);return!!r&&!!n&&r.call(t,n)}function W(t){return p(t)?function(n,r){return pt(r,t)}:B(t)?t:X(t)?function(n,r){return t.is(r)}:t?function(n,r){return r===t}:function(){return!1}}u.filter=function(t){var n=W(t);return o(J.call(this,function(r,i){return n.call(r,i,r)}))};function O(t,n){return n?t.filter(n):t}u.detach=function(t){return O(this,t).each(function(n,r){r.parentNode&&r.parentNode.removeChild(r)}),this};var Vt=/^\s*<(\w+)[^>]*>/,Zt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,mt={"*":A,tr:$t,td:ot,th:ot,thead:z,tbody:z,tfoot:z};function yt(t){if(!p(t))return[];if(Zt.test(t))return[C(RegExp.$1)];var n=Vt.test(t)&&RegExp.$1,r=mt[n]||mt["*"];return r.innerHTML=t,o(r.childNodes).detach().get()}o.parseHTML=yt,u.has=function(t){var n=p(t)?function(r,i){return G(t,i).length}:function(r,i){return i.contains(t)};return this.filter(n)},u.not=function(t){var n=W(t);return this.filter(function(r,i){return(!p(t)||d(i))&&!n.call(i,r,i)})};function N(t,n,r,i){for(var e=[],s=B(n),f=i&&W(i),a=0,E=t.length;a<E;a++)if(s){var l=n(t[a]);l.length&&jt.apply(e,l)}else for(var y=t[a][n];y!=null&&!(i&&f(-1,y));)e.push(y),y=r?y[n]:null;return e}function bt(t){return t.multiple&&t.options?N(J.call(t.options,function(n){return n.selected&&!n.disabled&&!n.parentNode.disabled}),"value"):t.value||""}function kt(t){return arguments.length?this.each(function(n,r){var i=r.multiple&&r.options;if(i||Ot.test(r.type)){var e=j(t)?ct.call(t,String):H(t)?[]:[String(t)];i?g(r.options,function(s,f){f.selected=e.indexOf(f.value)>=0},!0):r.checked=e.indexOf(r.value)>=0}else r.value=m(t)||H(t)?"":t}):this[0]&&bt(this[0])}u.val=kt,u.is=function(t){var n=W(t);return Y.call(this,function(r,i){return n.call(r,i,r)})},o.guid=1;function T(t){return t.length>1?J.call(t,function(n,r,i){return at.call(i,n)===r}):t}o.unique=T,u.add=function(t,n){return o(T(this.get().concat(o(t,n).get())))},u.children=function(t){return O(o(T(N(this,function(n){return n.children}))),t)},u.parent=function(t){return O(o(T(N(this,"parentNode"))),t)},u.index=function(t){var n=t?o(t)[0]:this[0],r=t?this:o(n).parent().children();return at.call(r,n)},u.closest=function(t){var n=this.filter(t);if(n.length)return n;var r=this.parent();return r.length?r.closest(t):n},u.siblings=function(t){return O(o(T(N(this,function(n){return o(n).parent().children().not(n)}))),t)},u.find=function(t){return o(T(N(this,function(n){return G(t,n)}
4)))};var tn=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,nn=/^$|^module$|\/(java|ecma)script/i,rn=["type","src","nonce","noModule"];function en(t,n){var r=o(t);r.filter("script").add(r.find("script")).each(function(i,e){if(nn.test(e.type)&&L.contains(e)){var s=C("script");s.text=e.textContent.replace(tn,""),g(rn,function(f,a){e[a]&&(s[a]=e[a])}),n.head.insertBefore(s,null),n.head.removeChild(s)}})}function un(t,n,r,i,e){i?t.insertBefore(n,r?t.firstChild:null):t.nodeName==="HTML"?t.parentNode.replaceChild(n,t):t.parentNode.insertBefore(n,r?t:t.nextSibling),e&&en(n,t.ownerDocument)}function M(t,n,r,i,e,s,f,a){return g(t,function(E,l){g(o(l),function(y,_){g(o(n),function(w,U){var et=r?_:U,ut=r?U:_,b=r?y:w;un(et,b?ut.cloneNode(!0):ut,i,e,!b)},a)},f)},s),n}u.after=function(){return M(arguments,this,!1,!1,!1,!0,!0)},u.append=function(){return M(arguments,this,!1,!1,!0)};function sn(t){if(!arguments.length)return this[0]&&this[0].innerHTML;if(m(t))return this;var n=/<script[\s>]/.test(t);return this.each(function(r,i){d(i)&&(n?o(i).empty().append(t):i.innerHTML=t)})}u.html=sn,u.appendTo=function(t){return M(arguments,this,!0,!1,!0)},u.wrapInner=function(t){return this.each(function(n,r){var i=o(r),e=i.contents();e.length?e.wrapAll(t):i.append(t)})},u.before=function(){return M(arguments,this,!1,!0)},u.wrapAll=function(t){for(var n=o(t),r=n[0];r.children.length;)r=r.firstElementChild;return this.first().before(n),this.appendTo(r)},u.wrap=function(t){return this.each(function(n,r){var i=o(t)[0];o(r).wrapAll(n?i.cloneNode(!0):i)})},u.insertAfter=function(t){return M(arguments,this,!0,!1,!1,!1,!1,!0)},u.insertBefore=function(t){return M(arguments,this,!0,!0)},u.prepend=function(){return M(arguments,this,!1,!0,!0,!0,!0)},u.prependTo=function(t){return M(arguments,this,!0,!0,!0,!1,!1,!0)},u.contents=function(){return o(T(N(this,function(t){return t.tagName==="IFRAME"?[t.contentDocument]:t.tagName==="TEMPLATE"?t.content.childNodes:t.childNodes})))},u.next=function(t,n,r){return O(o(T(N(this,"nextElementSibling",n,r))),t)},u.nextAll=function(t){return this.next(t,!0)},u.nextUntil=function(t,n){return this.next(n,!0,t)},u.parents=function(t,n){return O(o(T(N(this,"parentElement",!0,n))),t)},u.parentsUntil=function(t,n){return this.parents(n,t)},u.prev=function(t,n,r){return O(o(T(N(this,"previousElementSibling",n,r))),t)},u.prevAll=function(t){return this.prev(t,!0)},u.prevUntil=function(t,n){return this.prev(n,!0,t)},u.map=function(t){return o(Ht.apply([],ct.call(this,function(n,r){return t.call(n,r,n)})))},u.clone=function(){return this.map(function(t,n){return n.cloneNode(!0)})},u.offsetParent=function(){return this.map(function(t,n){for(var r=n.offsetParent;r&&x(r,"position")==="static";)r=r.offsetParent;return r||L})},u.slice=function(t,n){return o(ht.call(this,t,n))};var fn=/-([a-z])/g;function V(t){return t.replace(fn,function(n,r){return r.toUpperCase()})}u.ready=function(t){var n=function(){return setTimeout(t,0,o)};return c.readyState!=="loading"?n():c.addEventListener("DOMContentLoaded",n),this},u.unwrap=function(){return this.parent().each(function(t,n){if(n.tagName!=="BODY"){var r=o(n);r.replaceWith(r.children())}}),this},u.offset=function(){var t=this[0];if(t){var n=t.getBoundingClientRect();return{top:n.top+h.pageYOffset,left:n.left+h.pageXOffset}}},u.position=function(){var t=this[0];if(t){var n=x(t,"position")==="fixed",r=n?t.getBoundingClientRect():this.offset();if(!n){for(var i=t.ownerDocument,e=t.offsetParent||i.documentElement;(e===i.body||e===i.documentElement)&&x(e,"position")==="static";)e=e.parentNode;if(e!==t&&d(e)){var s=o(e).offset();r.top-=s.top+S(e,"borderTopWidth"),r.left-=s.left+S(e,"borderLeftWidth")}}return{top:r.top-S(t,"marginTop"),left:r.left-S(t,"marginLeft")}}};var Et={class:"className",contenteditable:"contentEditable",for:"htmlFor",readonly:"readOnly",maxlength:"maxLength",tabindex:"tabIndex",colspan:"colSpan",rowspan:"rowSpan",usemap:"useMap"};u.prop=function(t,n){if(t){if(p(t))return t=Et[t]||t,arguments.length<2?this[0]&&this[0][t]:this.each(function(i,e){e[t]=n});for(var r in t)this.prop(r,t[r]);return this}},u.removeProp=function(t){return this.each(function(n,r){delete r[Et[t]||t]})};var on=/^--/;function Z(t){return on.test(t)}var k={},an=A.style,cn=["webkit","moz","ms"];function hn(t,n){if(n===void 0&&(n=Z(t)),n)return t;if(!k[t]){var r=V(t),i="".concat(r[0].toUpperCase()).concat(r.slice(1)),e="".concat(r," ").concat(cn.join("".concat(i," "))).concat(i).split(" ");g(e,function(s,f){if(f in an)return k[t]=f,!1})}return k[t]}var dn={animationIterationCount:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0};function wt(t,n,r){return r===void 0&&(r=Z(t)),!r&&!dn[t]&<(n)?"".concat(n,"px"):n}function ln(t,n){if(p(t)){var r=Z(t);return t=hn(t,r),arguments.length<2?this[0]&&x(this[0],t,r):t?(n=wt(t,n,r),this.each(function(e,s){d(s)&&(r?s.style.setProperty(t,n):s.style[t]=n)})):this}for(var i in t)this.css(i,t[i]);return this}u.css=ln;function Ct(t,n){try{return t(n)}catch{return n}}var gn=/^\s+|\s+$/;function St(t,n){var r=t.dataset[n]||t.dataset[V(n)];return gn.test(r)?r:Ct(JSON.parse,r)}function vn(t,n,r){r=Ct(JSON.stringify,r),t.dataset[V(n)]=r}function pn(t,n){if(!t){if(!this[0])return;var r={};for(var i in this[0].dataset)r[i]=St(this[0],i);return r}if(p(t))return arguments.length<2?this[0]&&St(this[0],t):m(n)?this:this.each(function(e,s){vn(s,t,n)});for(var i in t)this.data(i,t[i]);return this}u.data=pn;function Tt(t,n){var r=t.documentElement;return Math.max(t.body["scroll".concat(n)],r["scroll".concat(n)],t.body["offset".concat(n)],r["offset".concat(n)],r["client".concat(n)])}
4g([!0,!1],function(t,n){g(["Width","Height"],function(r,i){var e="".concat(n?"outer":"inner").concat(i);u[e]=function(s){if(this[0])return P(this[0])?n?this[0]["inner".concat(i)]:this[0].document.documentElement["client".concat(i)]:D(this[0])?Tt(this[0],i):this[0]["".concat(n?"offset":"client").concat(i)]+(s&&n?S(this[0],"margin".concat(r?"Top":"Left"))+S(this[0],"margin".concat(r?"Bottom":"Right")):0)}})}),g(["Width","Height"],function(t,n){var r=n.toLowerCase();u[r]=function(i){if(!this[0])return m(i)?void 0:this;if(!arguments.length)return P(this[0])?this[0].document.documentElement["client".concat(n)]:D(this[0])?Tt(this[0],n):this[0].getBoundingClientRect()[r]-gt(this[0],!t);var e=parseInt(i,10);return this.each(function(s,f){if(d(f)){var a=x(f,"boxSizing");f.style[r]=wt(r,e+(a==="border-box"?gt(f,!t):0))}})}});var Rt="___cd";u.toggle=function(t){return this.each(function(n,r){if(d(r)){var i=vt(r),e=m(t)?i:t;e?(r.style.display=r[Rt]||"",vt(r)&&(r.style.display=Qt(r.tagName))):i||(r[Rt]=x(r,"display"),r.style.display="none")}})},u.hide=function(){return this.toggle(!1)},u.show=function(){return this.toggle(!0)};var xt="___ce",tt=".",nt={focus:"focusin",blur:"focusout"}
4,Nt={mouseenter:"mouseover",mouseleave:"mouseout"},mn=/^(mouse|pointer|contextmenu|drag|drop|click|dblclick)/i;function rt(t){return Nt[t]||nt[t]||t}function it(t){var n=t.split(tt);return[n[0],n.slice(1).sort()]}u.trigger=function(t,n){if(p(t)){var r=it(t),i=r[0],e=r[1],s=rt(i);if(!s)return this;var f=mn.test(s)?"MouseEvents":"HTMLEvents";t=c.createEvent(f),t.initEvent(s,!0,!0),t.namespace=e.join(tt),t.___ot=i}t.___td=n;var a=t.___ot in nt;return this.each(function(E,l){a&&B(l[t.___ot])&&(l["___i".concat(t.type)]=!0,l[t.___ot](),l["___i".concat(t.type)]=!1),l.dispatchEvent(t)})};function Lt(t){return t[xt]=t[xt]||{}}function yn(t,n,r,i,e){var s=Lt(t);s[n]=s[n]||[],s[n].push([r,i,e]),t.addEventListener(n,e)}function At(t,n){return!n||!Y.call(n,function(r){return t.indexOf(r)<0})}function q(t,n,r,i,e){var s=Lt(t);if(n)s[n]&&(s[n]=s[n].filter(function(f){var a=f[0],E=f[1],l=f[2];if(e&&l.guid!==e.guid||!At(a,r)||i&&i!==E)return!0;t.removeEventListener(n,l)}));else for(n in s)q(t,n,r,i,e)}u.off=function(t,n,r){var i=this;if(m(t))this.each(function(s,f){!d(f)&&!D(f)&&!P(f)||q(f)});else if(p(t))B(n)&&(r=n,n=""),g(F(t),function(s,f){var a=it(f),E=a[0],l=a[1],y=rt(E);i.each(function(_,w){!d(w)&&!D(w)&&!P(w)||q(w,y,l,n,r)})});else for(var e in t)this.off(e,t[e]);return this},u.remove=function(t){return O(this,t).detach().off(),this},u.replaceWith=function(t){return this.before(t).remove()},u.replaceAll=function(t){return o(t).replaceWith(this),this};function bn(t,n,r,i,e){var s=this;if(!p(t)){for(var f in t)this.on(f,n,r,t[f],e);return this}return p(n)||(m(n)||H(n)?n="":m(r)?(r=n,n=""):(i=r,r=n,n="")),B(i)||(i=r,r=void 0),i?(g(F(t),function(a,E){var l=it(E),y=l[0],_=l[1],w=rt(y),U=y in Nt,et=y in nt;w&&s.each(function(ut,b){if(!(!d(b)&&!D(b)&&!P(b))){var st=function(v){if(v.target["___i".concat(v.type)])return v.stopImmediatePropagation();if(!(v.namespace&&!At(_,v.namespace.split(tt)))&&!(!n&&(et&&(v.target!==b||v.___ot===w)||U&&v.relatedTarget&&b.contains(v.relatedTarget)))){var ft=b;if(n){for(var $=v.target;!pt($,n);)if($===b||($=$.parentNode,!$))return;ft=$}Object.defineProperty(v,"currentTarget",{configurable:!0,get:function(){return ft}}),Object.defineProperty(v,"delegateTarget",{configurable:!0,get:function(){return b}}),Object.defineProperty(v,"data",{configurable:!0,get:function(){return r}});var Tn=i.call(ft,v,v.___td);e&&q(b,w,_,n,st),Tn===!1&&(v.preventDefault(),v.stopPropagation())}};st.guid=i.guid=i.guid||o.guid++,yn(b,w,_,n,st)}})}),this):this}u.on=bn;function En(t,n,r,i){return this.on(t,n,r,i,!0)}u.one=En;var wn=/\r?\n/g;function Cn(t,n){return"&".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n.replace(wn,`\r 5`)))}var Sn=/file|reset|submit|button|image/i,Ot=/radio|checkbox/i;u.serialize=function(){var t="";return this.each(function(n,r){g(r.elements||[r],function(i,e){if(!(e.disabled||!e.name||e.tagName==="FIELDSET"||Sn.test(e.type)||Ot.test(e.type)&&!e.checked)){var s=bt(e);if(!m(s)){var f=j(s)?s:[s];g(f,function(a,E){t+=Cn(e.name,E)})}}})}),t.slice(1)},typeof Dt<"u"?Bt.exports=o:h.cash=h.$=o})()});var Pt=Dn(_t());window.Cash=Pt.default;})(); 6; 7"use strict";(function(a,b){b.behaviors.gla_lgov_card={attach(b){a(once("gla-core-theme-card","[data-card]",b)).each(function(){const b=a(this).find("a").first();if(0===b.length||!1===a(this).data().cardClickable)return;a(this).css("cursor","pointer");let c,d;a(this).on("mousedown",function(){c=+new Date();}),a(this).on("mouseup",function(a){1!==a.which||"a"===a.target.tagName.toLowerCase()||a.target===b.get(0)||(d=+new Date(),200>d-c&&(window.location.href=b.attr("href")));}),0<a(this).parents("[data-carousel]").length&&a(this).click(()=>{window.location.href=b.attr("href");});});}};})(Cash,Drupal);; 8"use strict";(function(a,b){b.behaviors.glaFacets={attach(b){setTimeout(()=>{a(".js-facets-checkbox-links .facet-item",b).each((b,c)=>{const d=a(c);d.addClass("u-flex u-space-x-3"),d.find("input").addClass("form-checkbox form-input u-border-2 u-border-black u-text-pink u-bg-white u-mt-1.5 focus:u-border-pink-dark"),d.find("label").addClass("facets-checkbox-label");});},100),0<a("#mqt-facet-clear-filter",b).length&&a("#mqt-facet-clear-filter",b).on("click",function(){window.location=window.location.href.split("?")[0];});}};})(Cash,Drupal);; 9"use strict";(function(a){a.behaviors.glaFixRandomisedFormIds={attach(a){const b=a.querySelectorAll("[id$='--randomised']");b.forEach((a)=>
vendor: 4,254 bytes, lines 9-10
9{const b=a.id,c=a.closest(".js-form-item");if(c){const a=c.querySelector("label");a.setAttribute("for",b);}});}};})(Drupal);; 10!function(e){("object"!=typeof exports||"undefined"==typeof module)&&"function"==typeof define&&define.amd?define("inert",e):e()}(function(){"use strict";var o,r,t,i,s,n,e=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e};function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){d(this,u),this._inertManager=t,this._rootElement=e,this._managedNodes=new Set,this._rootElement.hasAttribute("aria-hidden")?this._savedAriaHidden=this._rootElement.getAttribute("aria-hidden"):this._savedAriaHidden=null,this._rootElement.setAttribute("aria-hidden","true"),this._makeSubtreeUnfocusable(this._rootElement),this._observer=new MutationObserver(this._onMutation.bind(this)),this._observer.observe(this._rootElement,{attributes:!0,childList:!0,subtree:!0})}function h(e,t){d(this,h),this._node=e,this._overrodeFocusMethod=!1,this._inertRoots=new Set([t]),this._savedTabIndex=null,this._destroyed=!1,this.ensureUntabbable()}function l(e){if(d(this,l),!e)throw new Error("Missing required argument; InertManager needs to wrap a document.");this._document=e,this._managedNodes=new Map,this._inertRoots=new Map,this._observer=new MutationObserver(this._watchForInert.bind(this)),_(e.head||e.body||e.documentElement),"loading"===e.readyState?e.addEventListener("DOMContentLoaded",this._onDocumentLoaded.bind(this)):this._onDocumentLoaded()}function c(e,t,n){if(e.nodeType==Node.ELEMENT_NODE){var i=e,o=(t&&t(i),i.shadowRoot);if(o)return void c(o,t,o);if("content"==i.localName){for(var o=i,r=o.getDistributedNodes?o.getDistributedNodes():[],s=0;s<r.length;s++)c(r[s],t,n);return}if("slot"==i.localName){for(var o=i,a=o.assignedNodes?o.assignedNodes({flatten:!0}):[],d=0;d<a.length;d++)c(a[d],t,n);return}}for(var u=e.firstChild;null!=u;)c(u,t,n),u=u.nextSibling}function _(e){var t;e.querySelector("style#inert-style, link#inert-style")||((t=document.createElement("style")).setAttribute("id","inert-style"),t.textContent="\n[inert] {\n pointer-events: none;\n cursor: default;\n}\n\n[inert], [inert] * {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n",e.appendChild(t))}"undefined"!=typeof window&&(o=Array.prototype.slice,r=Element.prototype.matches||Element.prototype.msMatchesSelector,t=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","details","summary","iframe","object","embed","[contenteditable]"].join(","),e(u,[{key:"destructor",value:function(){this._observer.disconnect(),this._rootElement&&(null!==this._savedAriaHidden?this._rootElement.setAttribute("aria-hidden",this._savedAriaHidden):this._rootElement.removeAttribute("aria-hidden")),this._managedNodes.forEach(function(e){this._unmanageNode(e.node)},this),this._observer=null,this._rootElement=null,this._managedNodes=null,this._inertManager=null}},{key:"_makeSubtreeUnfocusable",value:function(e){var t=this,n=(c(e,function(e){return t._visitNode(e)}),document.activeElement);if(!document.body.contains(e)){for(var i=e,o=void 0;i;){if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE){o=i;break}i=i.parentNode}o&&(n=o.activeElement)}e.contains(n)&&(n.blur(),n===document.activeElement&&document.body.focus())}},{key:"_visitNode",value:function(e){e.nodeType===Node.ELEMENT_NODE&&((e=e)!==this._rootElement&&e.hasAttribute("inert")&&this._adoptInertRoot(e),(r.call(e,t)||e.hasAttribute("tabindex"))&&this._manageNode(e))}},{key:"_manageNode",value:function(e){e=this._inertManager.register(e,this);this._managedNodes.add(e)}},{key:"_unmanageNode",value:function(e){e=this._inertManager.deregister(e,this);e&&this._managedNodes.delete(e)}},{key:"_unmanageSubtree",value:function(e){var t=this;c(e,function(e){return t._unmanageNode(e)})}},{key:"_adoptInertRoot",value:function(e){var t=this._inertManager.getInertRoot(e);t||(this._inertManager.setInert(e,!0),t=this._inertManager.getInertRoot(e)),t.managedNodes.forEac
10h(function(e){this._manageNode(e.node)},this)}},{key:"_onMutation",value:function(e,t){e.forEach(function(e){var t,n=e.target;"childList"===e.type?(o.call(e.addedNodes).forEach(function(e){this._makeSubtreeUnfocusable(e)},this),o.call(e.removedNodes).forEach(function(e){this._unmanageSubtree(e)},this)):"attributes"===e.type&&("tabindex"===e.attributeName?this._manageNode(n):n!==this._rootElement&&"inert"===e.attributeName&&n.hasAttribute("inert")&&(this._adoptInertRoot(n),t=this._inertManager.getInertRoot(n),this._managedNodes.forEach(function(e){n.contains(e.node)&&t._manageNode(e.node)})))},this)}},{key:"managedNodes",get:function(){return new Set(this._managedNodes)}},{key:"hasSavedAriaHidden",get:function(){return null!==this._savedAriaHidden}},{key:"savedAriaHidden",set:function(e){this._savedAriaHidden=e},get:function(){return this._savedAriaHidden}}]),i=u,e(h,[{key:"destructor",value:function(){var e;this._throwIfDestroyed(),this._node&&this._node.nodeType===Node.ELEMENT_NODE&&(e=this._node,null!==this._savedTabIndex?e.setAttribute("tabindex",this._savedTabIndex):e.removeAttribute("tabindex"),this._overrodeFocusMethod&&delete e.focus),this._node=null,this._inertRoots=null,this._destroyed=!0}},{key:"_throwIfDestroyed",value:function(){if(this.destroyed)throw new Error("Trying to access destroyed InertNode")}},{key:"ensureUntabbable",value:function(){var e;this.node.nodeType===Node.ELEMENT_NODE&&(e=this.node,r.call(e,t)?-1===e.tabIndex&&this.hasSavedTabIndex||(e.hasAttribute("tabindex")&&(this._savedTabIndex=e.tabIndex),e.setAttribute("tabindex","-1"),e.nodeType===Node.ELEMENT_NODE&&(e.focus=function(){},this._overrodeFocusMethod=!0)):e.hasAttribute("tabindex")&&(this._savedTabIndex=e.tabIndex,e.removeAttribute("tabindex")))}},{key:"addInertRoot",value:function(e){this._throwIfDestroyed(),this._inertRoots.add(e)}},{key:"removeInertRoot",value:function(e){this._throwIfDestroyed(),this._inertRoots.delete(e),0===this._inertRoots.size&&this.destructor()}},{key:"destroyed",get:function(){return this._destroyed}},{key:"hasSavedTabIndex",get:function(){return null!==this._savedTabIndex}},{key:"node",get:function(){return this._throwIfDestroyed(),this._node}},{key:"savedTabIndex",set:function(e){this._throwIfDestroyed(),this._savedTabIndex=e},get:function(){return this._throwIfDestroyed(),this._savedTabIndex}}]),s=h,e(l,[{key:"setInert",value:function(e,t){if(t){if(!this._inertRoots.has(e)){t=new i(e,this);if(e.setAttribute("inert",""),this._inertRoots.set(e,t),!this._document.body.contains(e))for(var n=e.parentNode;n;)11===n.nodeType&&_(n),n=n.parentNode}}else this._inertRoots.has(e)&&(this._inertRoots.get(e).destructor(),this._inertRoots.delete(e),e.removeAttribute("inert"))}},{key:"getInertRoot",value:function(e){return this._inertRoots.get(e)}},{key:"register",value:function(e,t){var n=this._managedNodes.get(e);return void 0!==n?n.addInertRoot(t):n=new s(e,t),this._managedNodes.set(e,n),n}},{key:"deregister",value:function(e,t){var n=this._managedNodes.get(e);return n?(n.removeInertRoot(t),n.destroyed&&this._managedNodes.delete(e),n):null}},{key:"_onDocumentLoaded",value:function(){o.call(this._document.querySelectorAll("[inert]")).forEach(function(e){this.setInert(e,!0)},this),this._observer.observe(this._document.body||this._document.documentElement,{attributes:!0,subtree:!0,childList:!0})}},{key:"_watchForInert",value:function(e,t){var i=this;e.forEach(function(e){switch(e.type){case"childList":o.call(e.addedNodes).forEach(function(e){var t;e.nodeType===Node.ELEMENT_NODE&&(t=o.call(e.querySelectorAll("[inert]")),r.call(e,"[inert]")&&t.unshift(e),t.forEach(function(e){this.setInert(e,!0)},i))},i);break;case"attributes":if("inert"!==e.attributeName)return;var t=e.target,n=t.hasAttribute("inert");i.setInert(t,n)}},this)}}]),e=l,HTMLElement.prototype.hasOwnProperty("inert")||(n=new e(document),Object.defineProperty(HTMLElement.prototype,"inert",{enumerable:!0,get:function(){return this.hasAttribute("inert")},set:function(e){n.setInert(this,e)}})))}); 11 12; 13"use strict";(function(a){a.behaviors.glaSearch={attach(){const a=document.querySelector("[data-search-new]"),b=document.querySelector("[data-search-new-target]"),c=document.querySelector("[rel=canonical]");!a||!b||a.addEventListener("click",function(){b.value="",b.focus(),b.scrollIntoView(!0);},!1),a&&c&&null==b&&a.addEventListener("click",function(){window.location=c.href;},!1);}};})(Drupal);; 14"use strict";(function(a,b,c){b.behaviors.glaSearchSideBar={attach(d){var e;if(0===a(".listing-page .facet-sidebar [data-big-pipe-placeholder-id]").length&&a(once("gla-search-sidebar",".listing-page .facet-sidebar",d)).each(function(){const c=a(this).find("div.facet-inactive:not(.hidden)"),d=a(this).find("div.facet-active");0===c.length+d.length&&(a(this).hasClass("facet-top")?(a(this).find(".sidebar-heading").text(b.t("View and sort results")),a(this).find("#block-solr-search-content-facet-summary").removeClass("md:u-flex").hide()):a(this).hide());}),null!==(e=c.glaEstateSearch)&&void 0!==e&&e.viewEmpty){const b=a(".listing-page .facet-sidebar");b.hide(),b.hasClass("facet-top")||b.parent().removeClass("lg:gla-grid");}}};})(Cash,Drupal,drupalSettings);; 15Drupal.debounce=function(func,wait,immediate){let timeout;let result;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)result=func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)result=func.apply(context,args);return result;};};; 16"use strict";document.addEventListener("DOMContentLoaded",()=>{const a=()=>{let a=window.getComputedStyle(document.documentElement),b=a.scrollPaddingTop;Number.isNaN(Number.parseFloat(b))&&(b="0px"),document.contains(document.getElementById("html-scroll-padding-top"))&&document.getElementById("html-scroll-padding-top").remove(),b&&document.head.insertAdjacentHTML("beforeend","<style id=\"html-scroll-padding-top\">:root,::before,::after {--html-scroll-padding-top: ".concat(b,"}</style>"));};a(),window.addEventListener("resize",Drupal.debounce(a,250)),window.jQuery&&jQuery(document).on("drupalViewportOffsetChange.toolbar",a);});; 17"use strict";document.addEventListener("DOMContentLoaded",()=>{const a=window.innerWidth-document.documentElement.clientWidth;document.head.insertAdjacentHTML("beforeend","<style>:root,::before,::after {--scrollbar-width: ".concat(a,"px}</style>")),document.documentElement.classList.add("has-scrollbar-width-set");});;
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.