1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function(Drupal){'use strict';Drupal.behaviors.addToAny={attach:function(context,settings){if(context!==document&&window.a2a)a2a.init_all();}};})(Drupal);; 3(function(Drupal,once){'use strict';function fixSplideRoles(root){root.querySelectorAll?.('li.splide__slide[role]').forEach(function(li){var role=li.getAttribute('role');if(role==='tabpanel'||role==='group'){li.removeAttribute('role');li.removeAttribute('aria-roledescription');}});}function hasName(a){if(a.getAttribute('aria-label')||a.hasAttribute('aria-labelledby')||a.getAttribute('title'))return true;if(a.textContent.trim()!=='')return true;return Array.prototype.some.call(a.querySelectorAll('img'),function(img){return (img.getAttribute('alt')||'').trim()!=='';});}function nameFromHref(a){var last=(a.pathname||'').split('/').filter(Boolean).pop()||'';var words=decodeURIComponent(last).replace(/\.[a-z0-9]+$/i,'').replace(/[-_+]+/g,' ').trim();return words||a.hostname||Drupal.t('Read more');}function fixNamelessLinks(root){if(!root.querySelectorAll)return;root.querySelectorAll('a[href]').forEach(function(a){if(a.closest('[aria-hidden="true"]')||hasName(a))return;var imagey=a.querySelector('img')||a.querySelector('[style*="background-image"]')||/background-image/.test(a.getAttribute('style')||'');if(!imagey)return;var twin=Array.prototype.find.call(document.querySelectorAll('a[href]'),function(b){return b!==a&&b.href===a.href&&hasName(b);});if(twin){a.setAttribute('aria-hidden','true');a.setAttribute('tabindex','-1');}else a.setAttribute('aria-label',nameFromHref(a));a.querySelectorAll('img:not([alt])').forEach(function(img){img.setAttribute('alt','');});});}Drupal.behaviors.etypeA11yRepairs={attach:function(context){fixNamelessLinks(context);fixSplideRoles(context);once('etype-a11y-repairs','body',context).forEach(function(body){new MutationObserver(function(records){records.forEach(function(record){if(record.type==='attributes'&&record.target.matches('li.splide__slide'))fixSplideRoles(record.target.parentElement||record.target);record.addedNodes.forEach(function(node){if(node.nodeType===1){fixNamelessLinks(node);fixSplideRoles(node);}});});}).observe(body,{childList:true,subtree:true,attributes:true,attributeFilter:['role']});});}};})(Drupal,once);; 4(function($,Drupal){"use strict";Drupal.behaviors.etypeForm={attach:function(context,settings){$("select").addClass("select");}};})(jQuery,Drupal);; 5(function(Drupal,once){'use strict';function hasName(iframe){var title=iframe.getAttribute('title');return (title&&title.trim()!=='')||iframe.hasAttribute('aria-label')||iframe.hasAttribute('aria-labelledby');}function addTitle(iframe){if(hasName(iframe))return;var host='';try{host=new URL(iframe.getAttribute('src')||'',window.location.href).hostname.replace(/^www\./,'');}catch(e){}if(host&&host!==window.location.hostname.replace(/^www\./,''))iframe.setAttribute('title',Drupal.t('Embedded content from @host',{'@host':host}));else iframe.setAttribute('title',Drupal.t('Embedded content'));}function sweep(root){if(root.matches&&root.matches('iframe'))addTitle(root);if(root.querySelectorAll)root.querySelectorAll('iframe').forEach(addTitle);}Drupal.behaviors.etypeIframeTitle={attach:function(context){sweep(context);once('etype-iframe-title','body',context).forEach(function(body){new MutationObserver(function(records){records.forEach(function(record){record.addedNodes.forEach(function(node){if(node.nodeType===1)sweep(node);});});}).observe(body,{childList:true,subtree:true});});}};})(Drupal,once);; 6(function(Drupal,once){'use strict';let loaderPromise=null;function loadGrecaptcha(siteKey){if(loaderPromise)return loaderPromise;loaderPromise=new Promise(function(resolve,reject){const script=document.createElement('script');script.src='https://www.google.com/recaptcha/enterprise.js?render='+encodeURIComponent(siteKey);script.async=true;script.defer=true;script.onload=function(){if(window.grecaptcha&&window.grecaptcha.enterprise)window.grecaptcha.enterprise.ready(function(){resolve();});else reject(new Error('grecaptcha.enterprise unavailable after script load'));};script.onerror=function(){reject(new Error('Failed to load enterprise.js'));};document.head.appendChild(script);});return loaderPromise;}window.addEventListener('pageshow',function(event){if(!event.persisted)return;document.querySelectorAll('input[name="g-recaptcha-response"]').forEach(function(input){input.value='';});});function setSubmitDisabled(form,disabled){form.querySelectorAll('button[type="submit"], input[type="submit"]').forEach(function(btn
6){btn.disabled=disabled;});}function showError(form,message){let box=form.querySelector('.etype-captcha-error');if(!box){box=document.createElement('div');box.className='etype-captcha-error messages messages--error';box.setAttribute('role','alert');const widget=form.querySelector('.etype-captcha-container');if(widget&&widget.parentNode)widget.parentNode.insertBefore(box,widget);else form.insertBefore(box,form.firstChild);}box.textContent=message;}function clearError(form){const box=form.querySelector('.etype-captcha-error');if(box)box.remove();}Drupal.behaviors.etypeCaptcha={attach:function(context){const widgets=once('etype-captcha','.etype-captcha-widget',context);if(widgets.length===0)return;widgets.forEach(function(widget){const form=widget.closest('form');if(!form)return;const siteKey=widget.dataset.sitekey;const action=widget.dataset.action||'submit';if(!siteKey)return;let tokenInput=form.querySelector('input[name="g-recaptcha-response"]');if(!tokenInput){tokenInput=document.createElement('input');tokenInput.type='hidden';tokenInput.name='g-recaptcha-response';form.appendChild(tokenInput);}tokenInput.value='';let inFlight=false;loadGrecaptcha(siteKey).catch(function(err){console.error('reCAPTCHA Enterprise loader error:',err);});form.addEventListener('submit',function(event){if(inFlight){event.preventDefault();event.stopImmediatePropagation();return;}tokenInput.value='';const submitter=event.submitter||null;event.preventDefault();inFlight=true;clearError(form);setSubmitDisabled(form,true);loadGrecaptcha(siteKey).then(function(){return window.grecaptcha.enterprise.execute(siteKey,{action});}).then(function(token){tokenInput.value=token;if(submitter&&submitter.name){let opField=form.querySelector('input[type="hidden"][data-etype-captcha-op]');if(!opField){opField=document.createElement('input');opField.type='hidden';opField.setAttribute('data-etype-captcha-op','1');form.appendChild(opField);}opField.name=submitter.name;opField.value=submitter.value;}form.submit();}).catch(function(err){console.error('reCAPTCHA Enterprise execute failed:',err);inFlight=false;setSubmitDisabled(form,false);showError(form,Drupal.t('The spam-protection check could not load. Please disable any content blockers for this site and try again.'));});},{capture:true});});}};})(Drupal,once);; 7(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`<div id="${escapedId}" class="progress" aria-live="polite">`+'<div class="progress__label"> </div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description"> </div>'+'</div>');};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id));};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`;});$(this.element).find('div.progress__percentage').html(`${percentage}%`);}$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback)this.updateCallback(percentage,message,this);},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing();},stopMonitoring(){clearTimeout(this.timer);this.uri=null;},sendPing(){if(this.timer)clearTimeout(this.timer);if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?'))uri+='?';else uri+='&';uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return;}pb.setProgress(progress.percentage,progress.message,progress.label);pb.timer=setTimeout(()=>{pb.sendPing();},pb.delay);},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`);}});}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);; 8/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */ 9loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}
9function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;for(n=function(e,n){n.length&&s.push(e),--u||t(s)};o--;)r=e[o],(i=c[r])?n(r,i):(f[r]=f[r]||[]).push(n)}(e,function(e){l(n,e)}),t},t.done=function(e){u(e,[])},t.reset=function(){o={},c={},f={}},t.isDefined=function(e){return e in o},t}();; 10/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 11Drupal.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;};};; 12(function(Drupal,debounce){let liveElement;const announcements=[];Drupal.behaviors.drupalAnnounce={attach(context){if(!liveElement){liveElement=document.createElement('div');liveElement.id='drupal-live-announce';liveElement.className='visually-hidden';liveElement.setAttribute('aria-live','polite');liveElement.setAttribute('aria-busy','false');document.body.appendChild(liveElement);}}};function announce(){const text=[];let priority='polite';let announcement;const il=announcements.length;for(let i=0;i<il;i++){announcement=announcements.pop();text.unshift(announcement.text);if(announcement.priority==='assertive')priority='assertive';}if(text.length){liveElement.innerHTML='';liveElement.setAttribute('aria-busy','true');liveElement.setAttribute('aria-live',priority);liveElement.innerHTML=text.join('\n');liveElement.setAttribute('aria-busy','false');}}Drupal.announce=function(text,priority){announcements.push({text,priority});return debounce(announce,200)();};})(Drupal,Drupal.debounce);; 13((Drupal)=>{Drupal.Message=class{constructor(messageWrapper=null){if(!messageWrapper)this.messageWrapper=Drupal.Message.defaultWrapper();else this.messageWrapper=messageWrapper;}static defaultWrapper(){let wrapper=document.querySelector('[data-drupal-messages]')||document.querySelector('[data-drupal-messages-fallback]');if(!wrapper){wrapper=document.createElement('div');document.body.appendChild(wrapper);}if(wrapper.hasAttribute('data-drupal-messages-fallback')){wrapper.removeAttribute('data-drupal-messages-fallback');wrapper.classList.remove('hidden');}wrapper.setAttribute('data-drupal-messages','');return wrapper.innerHTML===''?Drupal.Message.messageInternalWrapper(wrapper):wrapper.firstElementChild;}static getMessageTypeLabels(){return {status:Drupal.t('Status message'),error:Drupal.t('Error message'),warning:Drupal.t('Warning message')};}add(message,options={}){if(!options.hasOwnProperty('type'))options.type='status';if(typeof message!=='string')throw new Error('Message must be a string.');Drupal.Message.announce(message,options);options.id=options.id?String(options.id):`${options.type}-${Math.random().toFixed(15).replace('0.','')}`;if(!Drupal.Message.getMessageTypeLabels().hasOwnProperty(options.type)){const {type}=options;throw new Error(`The message type, ${type}, is not present in Drupal.Message.getMessageTypeLabels().`);}this.messageWrapper.appendChild(Drupal.theme('message',{text:message},options));return options.id;}select(id){return this.messageWrapper.querySelector(`[data-drupal-message-id^="${id}"]`);}remove(id){return this.messageWrapper.removeChild(this.select(id));}clear(){this.messageWrapper.querySelectorAll('[data-drupal-message-id]').forEach((message)=>{this.messageWrapper.removeChild(message);});}static announce(message,options){if(!options.priority&&(options.type==='warning'||options.type==='error'))options.priority='assertive';if(options.announce!=='')Drupal.announce(options.announce||message,options.priority);}static messageInternalWrapper(messageWrapper){const innerWrapper=document.createElement('div');innerWrapper.setAttribute('class','messages__wrapper');messageWrapper.insertAdjacentElement('afterbegin',innerWrapper);return innerWrapper;}};Drupal.theme.message=({text},{type,id})=>
13{const messagesTypes=Drupal.Message.getMessageTypeLabels();const messageWrapper=document.createElement('div');messageWrapper.setAttribute('class',`messages messages--${type}`);messageWrapper.setAttribute('role',type==='error'||type==='warning'?'alert':'status');messageWrapper.setAttribute('data-drupal-message-id',id);messageWrapper.setAttribute('data-drupal-message-type',type);messageWrapper.setAttribute('aria-label',messagesTypes[type]);messageWrapper.innerHTML=`${text}`;return messageWrapper;};})(Drupal);; 14(function($,window,Drupal,drupalSettings,loadjs,{isFocusable,tabbable}){Drupal.behaviors.AJAX={attach(context,settings){function loadAjaxBehavior(base){const elementSettings=settings.ajax[base];if(typeof elementSettings.selector==='undefined')elementSettings.selector=`#${base}`;once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={url:$(el.form).attr('action'),setClick:true,event:'click',progress:{type:'throbber'},base:el.id,element:el};Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element?.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl.hasOwnProperty(originalUrl))drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=JSON.parse(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl.hasOwnProperty(ajax.url))if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
14$(document).trigger('ajaxSuccess',[xmlhttprequest,this]);$(document).trigger('ajaxComplete',[xmlhttprequest,this]);if(--$.active===0)$(document).trigger('ajaxStop');}));},error(xmlhttprequest,status,error){ajax.ajaxing=false;},complete(xmlhttprequest,status){if(status==='error'||status==='parsererror')return ajax.error(xmlhttprequest,ajax.url);},dataType:'json',jsonp:false,method:ajax.httpMethod};if(elementSettings.dialog)ajax.options.data.dialogOptions=elementSettings.dialog;if(!ajax.options.url.includes('?'))ajax.options.url+='?';else ajax.options.url+='&';let wrapper=`drupal_${elementSettings.dialogType||'ajax'}`;if(elementSettings.dialogRenderer)wrapper+=`.${elementSettings.dialogRenderer}`;ajax.options.url+=`${Drupal.ajax.WRAPPER_FORMAT}=${wrapper}`;$(ajax.element).on(elementSettings.event,function(event){if(!drupalSettings.ajaxTrustedUrl.hasOwnProperty(ajax.url)&&!Drupal.url.isLocal(ajax.url))throw new Error(Drupal.t('The callback URL is not local and not trusted: !url',{'!url':ajax.url}));return ajax.eventResponse(this,event);});if(elementSettings.keypress)$(ajax.element).on('keypress',function(event){return ajax.keypressResponse(this,event);});if(elementSettings.prevent)$(ajax.element).on(elementSettings.prevent,false);};Drupal.ajax.WRAPPER_FORMAT='_wrapper_format';Drupal.Ajax.AJAX_REQUEST_PARAMETER='_drupal_ajax';Drupal.Ajax.prototype.execute=function(){if(this.ajaxing)return;try{this.beforeSerialize(this.element,this.options);return $.ajax(this.options);}catch(e){this.ajaxing=false;window.alert(`An error occurred while attempting to process ${this.options.url}: ${e.message}`);return $.Deferred().reject();}};Drupal.Ajax.prototype.keypressResponse=function(element,event){const ajax=this;if(event.which===13||(event.which===32&&element.type!=='text'&&element.type!=='textarea'&&element.type!=='tel'&&element.type!=='number')){event.preventDefault();event.stopPropagation();$(element).trigger(ajax.elementSettings.event);}};Drupal.Ajax.prototype.eventResponse=function(element,event){event.preventDefault();event.stopPropagation();const ajax=this;if(ajax.ajaxing)return;try{if(ajax.$form){if(ajax.setClick)element.form.clk=element;ajax.$form.ajaxSubmit(ajax.options);}else{ajax.beforeSerialize(ajax.element,ajax.options);$.ajax(ajax.options);}}catch(e){ajax.ajaxing=false;window.alert(`An error occurred while attempting to process ${ajax.options.url}: ${e.message}`);}};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.detachBehaviors(this.$form.get(0),settings,'serialize');}options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER]=1;const pageState=drupalSettings.ajaxPageState;options.data['ajax_page_state[theme]']=pageState.theme;options.data['ajax_page_state[theme_token]']=pageState.theme_token;options.data['ajax_page_state[libraries]']=pageState.libraries;};Drupal.Ajax.prototype.beforeSubmit=function(formValues,element,options){};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){if(this.$form){options.extraData=options.extraData||{};options.extraData.ajax_iframe_upload='1';const v=$.fieldValue(this.element);if(v!==null)options.extraData[this.element.name]=v;}$(this.element).prop('disabled',true);if(!this.progress||!this.progress.type)return;const progressIndicatorMethod=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="throbber"> </div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen"> </div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
14d}`,$.noop,this.progress.method,$.noop);if(this.progress.message)progressBar.setProgress(-1,this.progress.message);if(this.progress.url)progressBar.startMonitoring(this.progress.url,this.progress.interval||1500);this.progress.element=$(Drupal.theme('ajaxProgressBar',progressBar.element));this.progress.object=progressBar;$(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){this.progress.element=$(Drupal.theme('ajaxProgressThrobber',this.progress.message));if($(this.element).closest('[data-drupal-ajax-container]').length)$(this.element).closest('[data-drupal-ajax-container]').after(this.progress.element);else $(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){this.progress.element=$(Drupal.theme('ajaxProgressIndicatorFullscreen'));$('body').append(this.progress.element);};Drupal.Ajax.prototype.commandExecutionQueue=function(response,status){const ajaxCommands=this.commands;return Object.keys(response||{}).reduce((executionQueue,key)=>executionQueue.then(()=>{const {command}=response[key];if(command&&ajaxCommands[command])return ajaxCommands[command](this,response[key],status);}),Promise.resolve());};Drupal.Ajax.prototype.success=function(response,status){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.element).prop('disabled',false);const elementParents=$(this.element).parents('[data-drupal-selector]').addBack().toArray();const focusChanged=Object.keys(response||{}).some((key)=>{const {command,method}=response[key];return (command==='focusFirst'||command==='openDialog'||(command==='invoke'&&method==='focus'));});return (this.commandExecutionQueue(response,status).then(()=>{if(!focusChanged){let target=false;if(this.element){if($(this.element).data('refocus-blur')&&this.preCommandsFocusedElementSelector)target=document.querySelector(`[data-drupal-selector="${this.preCommandsFocusedElementSelector}"]`);if(!target&&!$(this.element).data('disable-refocus')){for(let n=elementParents.length-1;!target&&n>=0;n--)target=document.querySelector(`[data-drupal-selector="${elementParents[n].getAttribute('data-drupal-selector')}"]`);}}if(target)$(target).trigger('focus');}if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}this.settings=null;}).catch((error)=>console.error(Drupal.t('An error occurred during the execution of the Ajax response: !error',{'!error':error}))));};Drupal.Ajax.prototype.getEffect=function(response){const type=response.effect||this.effect;const speed=response.speed||this.speed;const effect={};if(type==='none'){effect.showEffect='show';effect.hideEffect='hide';effect.showSpeed='';}else if(type==='fade'){effect.showEffect='fadeIn';effect.hideEffect='fadeOut';effect.showSpeed=speed;}else{effect.showEffect=`${type}Toggle`;effect.hideEffect=`${type}Toggle`;effect.showSpeed=speed;}return effect;};Drupal.Ajax.prototype.error=function(xmlhttprequest,uri,customMessage){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.wrapper).show();$(this.element).prop('disabled',false);if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}throw new Drupal.AjaxError(xmlhttprequest,uri,customMessage);};Drupal.theme.ajaxWrapperNewContent=($newContent,ajax,response)=>(response.effect||ajax.effect)!=='none'&&$newContent.filter((i)=>!(($newContent[i].nodeName==='#comment'||($newContent[i].nodeName==='#text'&&/^(\s|\n|\r)*$/.test($newContent[i].textContent))))).length>1?Drupal.theme('ajaxWrapperMultipleRootElements',$newContent):$newContent;Drupal.theme.ajaxWrapperMultipleRootElements=($elements)=>$('<div></div>').append($elements);Drupal.AjaxCommands=function(){};Drupal.AjaxCommands.prototype={insert(ajax,response){const $wrapper=response.selector?$(response.selector):$(ajax.wrapper);const method=response.method||ajax.method;const effect=ajax.getEffect(response);const settings=response.settings||ajax.settings||drupalSettings;const parseHTML=(htmlString)=>{const fragment=document.createDocumentFragment();const template=fragment.appendChild(document.createElement('template'));template.innerHTML=htmlString;return template.content.childNodes;};let $newContent=$(parseHTML(response.data));
14$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;if(!loadjs.isDefined(uniqueBundleId))loadjs(script.src,uniqueBundleId,{async:false,before(path,scriptEl){Object.keys(script).forEach((attributeKey)=>{scriptEl.setAttribute(attributeKey,script[attributeKey]);});parentEl.appendChild(scriptEl);return false;}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){Drupal.attachBehaviors(parentEl,settings);resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},scrollTop(ajax,response){document.querySelector(response.selector)?.scrollIntoView();}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&typeof settings.isInProgress==='function'&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);; 15(function(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);; 16(function(Drupal,drupalSettings){'use strict';Drupal.behaviors.klaro={config:false,manager:false,observing:false,needCallBehaviors:false,ready:false,attach:function(context,settings){if(!settings.klaro)return;if(typeof klaro==='undefined')document.querySelector('#klaro-js').addEventListener("load",()=>{Drupal.behaviors.klaro.proceed(context,settings);});else Drupal.behaviors.klaro.proceed(context,settings);},proceed:function(context,settings){if(!Drupal.behaviors.klaro.config){settings.klaro.config.services.forEac
16h(function(service,a_index){settings.klaro.config.services[a_index].callback=Drupal.behaviors.klaro.serviceCallback;['onInit','onAccept','onDecline'].forEach(function(hook){const code=service[hook];if(code&&code.length>0)settings.klaro.config.services[a_index][hook]=function(opts){try{Function('opts',code)(opts);}catch(error){console.error('Error executing '+hook+' code for service "'+service.name+'":',error);}};});service.cookies.forEach(function(cookie,c_index){settings.klaro.config.services[a_index]['cookies'][c_index]=[new RegExp(cookie[0],'i'),cookie[1]||'/',cookie[2]||location.host];});});Drupal.behaviors.klaro.config=settings.klaro.config;}Drupal.behaviors.klaro.klaroDecorateWrapper(context,settings);context.querySelectorAll('a[data-name]')?.forEach((item)=>{item.removeAttribute('data-href');});if(!Drupal.behaviors.klaro.manager)Drupal.behaviors.klaro.manager=klaro.getManager(Drupal.behaviors.klaro.config);if(settings.klaro.dialog_mode==='silent')Drupal.behaviors.klaro.manager.confirmed=true;klaro.setup(Drupal.behaviors.klaro.config);Drupal.behaviors.klaro.klaroElementObserver();let learn_more_link=document.querySelector('a.cm-link.cn-learn-more');if(learn_more_link){let label_open_consent_dialog=Drupal.t("Open consent dialog",{},{context:'klaro'});learn_more_link.setAttribute('title',label_open_consent_dialog);learn_more_link.setAttribute('role','button');learn_more_link.setAttribute('aria-haspopup','dialog');}if(!Drupal.behaviors.klaro.manager)Drupal.behaviors.klaro.manager=klaro.getManager(Drupal.behaviors.klaro.config);if(context===document){var elements=once('klaro','body',context);Array.prototype.forEach.call(elements,function(){if(settings.klaro.show_toggle_button&&!document.getElementById('klaro_toggle_dialog')){var button_label=Drupal.t("Manage consents",{},{context:'klaro'});var button_html='<button id="klaro_toggle_dialog" aria-label="'+button_label+'" aria-haspopup="dialog" title="'+button_label+'" type="button" class="klaro_toggle_dialog klaro_toggle_dialog_override" rel="open-consent-manager"></button>';document.body.insertAdjacentHTML('afterbegin',button_html);}});}else{for(var app in Drupal.behaviors.klaro.manager.executedOnce)if(Drupal.behaviors.klaro.manager.executedOnce[app])if(document.querySelectorAll('[data-name="'+app+'"][data-src]:not([src])').length>0)Drupal.behaviors.klaro.manager.applyConsents();}var elements=once('klaro-thumbnail','.klaro.cm-as-context-notice',context);Array.prototype.forEach.call(elements,function(el){let klaro_elem=(el.closest('.field'))?.querySelector('[data-modified-by-klaro]');let thumbnail=klaro_elem?.getAttribute('data-thumbnail');let title=klaro_elem?.getAttribute('title');if(thumbnail){el.parentElement.style.backgroundImage='url('+thumbnail+')';el.parentElement.style.backgroundSize='cover';el.parentElement.style.backgroundPosition='center';el.firstChild.style.backgroundColor='rgba(250, 250, 250, 0.75)';}if(title){let title_elem=document.createElement('p');title_elem.textContent=title;el.firstChild.prepend(title_elem);}});Drupal.behaviors.klaro.config.services.forEach(function(service,a_index){if(service.contextualConsentText){var elements=once('klaro-text','[data-type="placeholder"][data-name="'+service.name+'"] div.context-notice > p:first-child',context);if(elements.length>0){let title_elem=document.createElement('p');title_elem.innerHTML=service.contextualConsentText;Array.prototype.forEach.call(elements,function(el){el.parentNode.replaceChild(title_elem.cloneNode(true),el);});}}});var elements=once('klaro-consent-link','[data-type="placeholder"] div.context-notice');var title=Drupal.t("Open the Consent Management Dialog",{},{context:'klaro'});var linktext=Drupal.t("Manage privacy settings",{},{context:'klaro'});Array.prototype.forEach.call(elements,function(el){el.insertAdjacentHTML('beforeend',`<p class="cm-dialog-link"><a href="#" title="${title}" rel="open-consent-manager">${linktext}</a></p>`);});if(Drupal.behaviors.klaro.needCallBehaviors&&context===document){Drupal.behaviors.klaro.needCallBehaviors=false;Drupal.attachBehaviors(document,drupalSettings);}Drupal.behaviors.klaro.ready=true;},serviceCallback:function(consent,service){if(Drupal.behaviors.klaro.manager&&service.onlyOnce&&Drupal.behaviors.klaro.manager.executedOnce[service.name])return;if(service.callbackCode.length>
160)try{Function('consent','service',service.callbackCode)(consent,service);}catch(error){console.error('Error executing callback code for service "'+service.name+'":',error);}if(!consent)return;var elements=document.querySelectorAll('[data-name="'+service.name+'"][data-id]');if(elements.length>0){Array.prototype.forEach.call(elements,function(element){element.setAttribute('id',element.getAttribute('data-id'));});if(Drupal.behaviors.klaro.ready)Drupal.attachBehaviors(document,drupalSettings);else Drupal.behaviors.klaro.needCallBehaviors=true;}let knownBehaviors=Object.keys(Drupal.behaviors);var elements=document.querySelectorAll('[data-name="'+service.name+'"][src]');if(!elements)return;var source_tags=document.querySelectorAll('source[data-name="'+service.name+'"]');if(source_tags.length>0){var loading_state;for(var i=0;i<source_tags.length;i++){loading_state=source_tags[i].parentElement.readyState;if(loading_state==0||loading_state==1)source_tags[i].parentElement.load();}}function processBehaviors(){for(let name in Drupal.behaviors)if(knownBehaviors.indexOf(name)===-1){Drupal.behaviors[name].attach(document,drupalSettings);knownBehaviors.push(name);}}Array.prototype.forEach.call(elements,function(element){if(element.complete)processBehaviors();else element.addEventListener('load',processBehaviors);});},klaroDecorateWrapper:function(context,settings){settings.klaro.config.services.forEach(function(service,a_index){service.wrapperIdentifier.forEach(function(wrapperIdentifier){var elements=once('klaro-wrap',wrapperIdentifier,context);Array.prototype.forEach.call(elements,function(el){if(el){var wrapper=document.createElement('div');wrapper.setAttribute('data-name',service.name);wrapper.setAttribute('data-original-display',getComputedStyle(el).display);el.parentNode.insertBefore(wrapper,el);wrapper.appendChild(el);}});});});},klaroElementObserver:function(){var targetNode=document.getElementById("klaro");if(Drupal.behaviors.klaro.observing||!targetNode)return;Drupal.behaviors.klaro.observing=true;const config={childList:true,subtree:true};const callback=(mutationList,observer)=>{for(const mutation of mutationList)if(mutation.type==="childList")Drupal.behaviors.klaro.klaroElementMutator();};const observer=new MutationObserver(callback);observer.observe(targetNode,config);Drupal.behaviors.klaro.klaroElementMutator();},klaroElementMutator:function(){var labels=document.querySelectorAll('#klaro label');if(labels.length>0){for(var i=0;i<labels.length;i++){labels[i].setAttribute('onkeydown','Drupal.behaviors.klaro.KlaroToggleService(event)');labels[i].setAttribute('aria-labelledby',labels[i].getAttribute('for')+'-title');labels[i].setAttribute('aria-describedby',labels[i].getAttribute('for')+'-description');if(labels[i].previousElementSibling&&labels[i].previousElementSibling.tagName=='INPUT'){labels[i].previousElementSibling.setAttribute('tabindex','0');labels[i].removeAttribute('tabindex');}}document.querySelector('#klaro input:not(:disabled)+label')?.focus();}if(document.querySelector('.cm-modal.cm-klaro')){var elem=document.querySelector('.cm-modal.cm-klaro');elem.setAttribute('role','dialog');elem.setAttribute('aria-modal','true');elem.querySelector('.cm-header .title').setAttribute('id','cm-modal-title');elem.setAttribute('aria-labelledby','cm-modal-title');}if(drupalSettings.klaro.show_close_button){if(document.querySelector('#klaro-cookie-notice'))var elem=document.querySelector('#klaro-cookie-notice');else{if(document.querySelector('.cm-modal.cm-klaro')){var elem=document.querySelector('.cm-modal.cm-klaro');if((Drupal.behaviors.klaro.manager.confirmed)&&(!Drupal.behaviors.klaro.config.mustConsent))elem=false;}}if(elem&&!document.querySelector('.klaro-close')){var close_label=Drupal.t("Close dialog and decline all",{},{context:'klaro'});var close_html='<button title="'+close_label+'" type="button" class="cn-decline klaro-close" tabindex="0" aria-label="'+close_label+'"></button>';elem.insertAdjacentHTML('beforeend',close_html);;document.querySelector('.klaro-close')?.addEventListener('click',(e)=>{Drupal.behaviors.klaro.manager.changeAll(false);Drupal.behaviors.klaro.manager.saveAndApplyConsents();},false);document.querySelector('.klaro').classList.add('klaro-close-enabled');document.querySelector('.klaro .cookie-modal .cm-modal .hide')?.remove();}}},KlaroToggleService:function(event){if(event.key==="Enter"){event.target.click();
16event.target.focus();}}};Drupal.behaviors.klaroLink={attach:function(context,settings){var elements=once('klaroLink','[rel*="open-consent-manager"], [href*="#klaro"], .open-consent-manager',context);Array.prototype.forEach.call(elements,function(element){element.addEventListener('click',function(event){klaro.show(Drupal.behaviors.klaro.config);event.preventDefault();return false;});});}};})(Drupal,drupalSettings);; 17(function($,Drupal,once){'use strict';Drupal.tiemposImagesLoaded=function(container,callback){let images=$(container).find('img').get();let remaining=images.length;if(remaining===0){window.setTimeout(callback,0);return;}let fired=false;let settle=function(){remaining-=1;if(remaining===0&&!fired){fired=true;callback();}};images.forEach(function(img){if(img.complete)window.setTimeout(settle,0);else $(img).one('load error',settle);});};Drupal.behaviors.tiemposBehavior={attach:function(context,settings){let caption=$('.page-node-type-feature .is-three-quarters img').attr('alt');$(once('navbar-burger-click','.navbar-burger',context)).click(function(){$('.navbar').toggleClass('closed');$('.navbar-start').toggleClass('is-really-invisible');$('.region-top-bar').toggleClass('z-index-fix');$('.region-navigation').toggleClass('border-bottom');});if(!window.tiemposResizeAttached){window.tiemposResizeAttached=true;$(window).resize(function(){$('header').removeClass('is-really-invisible');});}$(once('footer-menu','.footer-menu li > a')).each(function(){$(this).clone().addClass('is-hidden-desktop').appendTo($('.user-menu'));});$('.main-caption').html(caption);$('.webform-submission-form .form-select').addClass('select');$('input.form-email').addClass('input');const arrows=once('tiempos-dropdown-trigger','.dropdown > div > a');arrows.forEach((element)=>{element.innerHTML=element.innerHTML+' <i class="fas fa-angle-down" aria-hidden="true"></i>';});once('tiempos-dropdown-dismiss','.dropdown.is-hoverable',context).forEach((dropdown)=>{dropdown.addEventListener('keydown',(event)=>{if(event.key==='Escape')dropdown.classList.add('is-a11y-dismissed');});dropdown.addEventListener('focusout',(event)=>{if(!dropdown.contains(event.relatedTarget))dropdown.classList.remove('is-a11y-dismissed');});dropdown.addEventListener('mouseleave',()=>{dropdown.classList.remove('is-a11y-dismissed');});});once('etype-eedition-title-link','[id*="etypeeedition"]',context).forEach(function(block){const heading=block.querySelector('.section-tag-heading');const imgLink=block.querySelector('a[href]');if(heading&&imgLink&&!heading.querySelector('a')){const link=document.createElement('a');link.href=imgLink.getAttribute('href');if(imgLink.getAttribute('target'))link.target=imgLink.getAttribute('target');link.rel='noopener noreferrer';link.innerHTML=heading.innerHTML;link.appendChild(document.createTextNode(' '));const arrow=document.createElement('i');arrow.className='fa-solid fa-angle-right';arrow.setAttribute('aria-hidden','true');link.appendChild(arrow);heading.textContent='';heading.appendChild(link);}});once('etype-premium-teaser-link','.premium_content_teaser',context).forEach(function(teaser){if(teaser.closest('a')||teaser.querySelector('a'))return;const article=teaser.closest('article');const titleLink=article&&article.querySelector('.node__title a, h2 a, h3 a, .field--name-title a');const href=titleLink&&titleLink.getAttribute('href');if(!href)return;const visibleText=(teaser.textContent||'').replace(/\s+/g,' ').trim();const articleTitle=(titleLink.textContent||'').replace(/\s+/g,' ').trim();const accessibleName=visibleText&&articleTitle?visibleText+': '+articleTitle:(visibleText||articleTitle);const link=document.createElement('a');link.href=href;if(accessibleName)link.setAttribute('aria-label',accessibleName);while(teaser.firstChild)link.appendChild(teaser.firstChild);teaser.appendChild(link);});}};})(jQuery,Drupal,once);;
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.