1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal){Drupal.behaviors.myModuleBehavior={attach:function(context,settings){var normalizeText=function(str){var map={'-':' ','-':'_','a':'á|à |ã|â|Ã|Ã|Ã|Ã','e':'é|è|ê|Ã|Ã|Ã','i':'Ã|ì|î|Ã|Ã|Ã','o':'ó|ò|ô|õ|Ã|Ã|Ã|Ã','u':'ú|ù|û|ü|Ã|Ã|Ã|Ã','c':'ç|Ã','n':'ñ|Ã'};if(typeof str!=="undefined"&&str!=="undefined"){for(var pattern in map)str=str.replace(new RegExp(map[pattern],'g'),pattern);str=str.replace(/\W+/g,' ').trim().replace(/ +/g,'-');}return str;};var generateTrackingId=function(section,context,element){var separator=':';section=normalizeText(section);context=normalizeText(context);var trackingId=section+separator+context;if(typeof element!=="undefined"&&element!=='undefined'&&element!=='')trackingId=section+separator+normalizeText(element)+separator+context;return trackingId;};var parseAnchorsForTracking=function(trackingData){trackingData.anchors.each(function(index_anchor){var $anchor=$(this);var contentId='';if($anchor.find('span[property="schema:name"]').length>0)contentId=$anchor.find('span[property="schema:name"]').text();else if($anchor.find('img').length>0)contentId=$("img",$anchor).first().attr('alt');else if($anchor.text().length>0&&($anchor.text().trim().length>0))contentId=$anchor.text();else if(typeof $anchor.attr('title')!=="undefined"&&$anchor.attr('id').length>0)contentId=$anchor.attr('title');else{if(typeof $anchor.attr('id')!=="undefined"&&$anchor.attr('id').length>0)contentId=$anchor.attr('id');}$anchor.attr('tracking-id',generateTrackingId(trackingData.componentTrackingId,contentId,trackingData.elementTrackingTitle));var trackingType=$anchor.attr('tracking-type');if(typeof trackingType==="undefined"||trackingType==='')$anchor.attr('tracking-type',trackingData.componentTrackingType);else $anchor.attr('tracking-type',trackingType);});};var setTrackingAttr=function(component){var trackingData={componentTrackingId:$(component).attr('component-tracking-id'),componentTrackingType:$(component).attr('tracking-type'),elementTrackingTitle:''};var socialSelectorWrapper='.social-icon-container.addtoany_list';var socialSelectorAnchors=socialSelectorWrapper+' a';trackingData.anchors=$("a",component).not(socialSelectorAnchors);parseAnchorsForTracking(trackingData);$(socialSelectorWrapper,component).each(function(index){trackingData.anchors=$(this).find('a');trackingData.elementTrackingTitle=$(this).attr('data-a2a-title');if(typeof trackingData.elementTrackingTitle==="undefined")trackingData.elementTrackingTitle="";parseAnchorsForTracking(trackingData);});$('input[type="submit"]',component).each(function(index){trackingData.anchors=$(this);trackingData.elementTrackingTitle=$(this).attr('value');parseAnchorsForTracking(trackingData);});};$(once('componentTrackingID','[component-tracking-id]',context)).not('[component-tracking-id] [component-tracking-id]').each(function(){setTrackingAttr(this);});$(once('componentTrackingIdNested','[component-tracking-id] [component-tracking-id]',context)).each(function(){setTrackingAttr(this);});$(context).ajaxComplete(function(event,xhr,settings){$('[component-tracking-id]',this).not('[component-tracking-id] [component-tracking-id]').each(function(){setTrackingAttr(this);});$('[component-tracking-id] [component-tracking-id]',this).each(function(){setTrackingAttr(this);});});}};})(jQuery,Drupal);; 3(function($,UPU){'use strict';const config=UPU.consentBanner;if(!config||!config.handlePushDown)return;const isPushDownInline=config.inlinePushDown;const bannerSelector=config.bannerSelector;const bannerClose=config.bannerClose;const mobileBreak=config.mobileBreak;const pageWrap=config.pageWrap;const sonyBanner=config.sonyBanner;const elemsToPush=config.elemsToPush;const animSpeed=config.animSpeed;let bannerHandled=false;function bannerCheck(){let dom={pageWrap:$(pageWrap),elemsToPush:$(elemsToPush),sonyHeader:$(sonyBanner),banner:$(bannerSelector)},minCheck=10,checkCt=0;if(dom.banner.length){bannerPushDown(dom);bannerListen(dom);}else var checkLoop=setInterval(function(){if(checkCt>=minCheck)clearInterval(checkLoop);dom.banner=$(bannerSelector);if(dom.banner.length){clearInterval(checkLoop);bannerPushDown(dom);bannerListen(dom);}checkCt+=1;},500);}function bannerListen(dom){$(window).on('resize.banner',function(){bannerPushDown(dom);});$(document).on('click.banner',bannerClose,function(){bannerPushUp(dom);$(window).off('resize.banner');$(document).off('click.banner');});}function bannerPushDown(dom){bannerHandled=true;if(isPushDownInline){bannerInlinePushDown(dom);return;}dom.pageWrap.animate({'margin-top':dom.banner.outerHeight()},animSpeed);if(window.innerWidth<mobileBreak){dom.sonyHeader.animate({'top':dom.banner.outerHeight()},animSpeed);dom.elemsToPush.animate({'top':(dom.banner.outerHeight()+dom.sonyHeader.outerHeight())},animSpeed);}else{dom.sonyHeader.animate({'top':0},animSpeed);dom.elemsToPush.animate({'top':0},animSpeed);}}function bannerPushUp(dom){if(isPushDownInline)return;dom.pageWrap.animate({'margin-top':0},animSpeed);dom.sonyHeader.animate({'top':0},animSpeed);if(window.innerWidth<mobileBreak)dom.elemsToPush.animate({'top':dom.sonyHeader.outerHeight()},animSpeed);else dom.elemsToPush.animate({'top':0},animSpeed);}function bannerInlinePushDown(dom){dom.pageWrap.prepend(dom.banner.detach());}$(function(){if(!bannerHandled)bannerCheck();});
3if(UPU.consentHelper&&UPU.consentHelper.bannerLoadEvent)window.addEventListener(UPU.consentHelper.bannerLoadEvent,function(e){if(!bannerHandled)bannerCheck();});})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));; 4(function($,UPU){"use strict";const config=UPU.consentDialog;if(!config||!config.consentAPI)return;const vendor=UPU.consentVendor;const oneTrustHelper={};oneTrustHelper.bannerLoadEvent='otloadbanner';oneTrustHelper._vendorAndHostsData=null;oneTrustHelper.isInitialized=function(){return window.OneTrust&&window.OnetrustActiveGroups?true:false;};oneTrustHelper.showPreferenceDialog=function(){OneTrust.ToggleInfoDisplay();};oneTrustHelper._getVendorsAndHosts=function(){if(oneTrustHelper._vendorAndHostsData!==null)return oneTrustHelper._vendorAndHostsData;let domainData=OneTrust.GetDomainData();let vendors=domainData.GeneralVendors.length?domainData.GeneralVendors:[];let hosts=[];for(let group of domainData.Groups)if(group.Hosts&&group.Hosts.length)hosts=hosts.concat(group.Hosts);return (oneTrustHelper._vendorAndHostsData={vendors,hosts});};oneTrustHelper.getVendorDetails=function(vendorName){let vendorDetails=null;let vendorAndHosts=oneTrustHelper._getVendorsAndHosts();for(let vendor of vendorAndHosts.vendors)if(vendor.Name&&vendor.Name.indexOf(vendorName)!==-1){vendorDetails={id:vendor.VendorCustomId,name:vendor.Name,description:vendor.Description,cookies:vendor.Cookies,type:"vendor"};break;}if(vendorDetails===null){for(let host of vendorAndHosts.hosts)if(host.HostName&&host.HostName.indexOf(vendorName)!==-1){vendorDetails={id:host.HostId,name:host.DisplayName,description:"",cookies:host.Cookies,type:"host"};break;}}return vendorDetails;};oneTrustHelper.getVendorCategoryId=function(vendorId){let domainData=OneTrust.GetDomainData();let categoryId=false;for(let group of domainData.Groups){if(group.GeneralVendorsIds&&group.GeneralVendorsIds.length){for(let generalVendorId of group.GeneralVendorsIds)if(vendorId==generalVendorId)return group.OptanonGroupId;}if(group.Hosts&&group.Hosts.length){for(let host of group.Hosts)if(vendorId==host.HostId)return group.OptanonGroupId;}}return categoryId;};oneTrustHelper.getVendorConsent=function(vendorName){let consent=false;let vendorDetails=oneTrustHelper.getVendorDetails(vendorName);if(!config.vendorLevelConsent&&vendorDetails.id!==""){let categoryId=oneTrustHelper.getVendorCategoryId(vendorDetails.id);let activeGroups=OnetrustActiveGroups.split(",");if(categoryId&&activeGroups.indexOf(categoryId)!==-1)consent=true;}if(vendorDetails.id!==""){let activeGroups=OnetrustActiveGroups.split(",");if(activeGroups.indexOf(vendorDetails.id)!==-1)consent=true;}return consent;};oneTrustHelper.updateVendorConsent=function($inputEl){let type=$inputEl.data("vendorType")==="vendor"?"General Vendor":"Host";let id=$inputEl.data("vendorId");let value=$inputEl.is(":checked")?1:0;OneTrust.UpdateConsent(type,id+":"+value);};oneTrustHelper.getVendorDetailsMarkup=function(vendorDetails){let detailsEl="";if(vendorDetails.cookies&&vendorDetails.cookies.length){detailsEl+="<div class='cookies-details'>";for(let cookie of vendorDetails.cookies){detailsEl+="<div class='detail-row'>";const detailsCategories=["Name","Host","description"];for(let category of detailsCategories)if(cookie[category])detailsEl+="<div class='detail-item'>"+"<label class='category-title'>"+category+"</label>"+"<p class='category-details'>"+cookie[category]+"</p>"+"</div>";detailsEl+="</div>";}detailsEl+"</div>";}return detailsEl;};if(typeof window.Drupal!="undefined"){window.Drupal.upu=window.Drupal.upu||{};window.Drupal.upu.oneTrustHelper=oneTrustHelper;}else{window.upu=window.upu||{};window.upu.oneTrustHelper=oneTrustHelper;}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));; 5(function($,Drupal,debounce){const cache={right:0,left:0,bottom:0,top:0};const cssVarPrefix='--drupal-displace-offset';const documentStyle=document.documentElement.style;const offsetKeys=Object.keys(cache);const offsetProps={};offsetKeys.forEach((edge)=>{offsetProps[edge]={enumerable:true,get(){return cache[edge];},set(value){if(value!==cache[edge])documentStyle.setProperty(`${cssVarPrefix}-${edge}`,`${value}px`);cache[edge]=value;}};});
5const offsets=Object.seal(Object.defineProperties({},offsetProps));function getRawOffset(el,edge){const $el=$(el);const documentElement=document.documentElement;let displacement=0;const horizontal=edge==='left'||edge==='right';let placement=$el.offset()[horizontal?'left':'top'];placement-=window[`scroll${horizontal?'X':'Y'}`]||document.documentElement[`scroll${horizontal?'Left':'Top'}`]||0;switch(edge){case 'top':displacement=placement+$el.outerHeight();break;case 'left':displacement=placement+$el.outerWidth();break;case 'bottom':displacement=documentElement.clientHeight-placement;break;case 'right':displacement=documentElement.clientWidth-placement;break;default:displacement=0;}return displacement;}function calculateOffset(edge){let edgeOffset=0;document.querySelectorAll(`[data-offset-${edge}]`).forEach((el)=>{if(el.style.display==='none')return;let displacement=parseInt(el.getAttribute(`data-offset-${edge}`),10);if(isNaN(displacement))displacement=getRawOffset(el,edge);edgeOffset=Math.max(edgeOffset,displacement);});return edgeOffset;}function displace(broadcast=true){const newOffsets={};offsetKeys.forEach((edge)=>{newOffsets[edge]=calculateOffset(edge);});offsetKeys.forEach((edge)=>{offsets[edge]=newOffsets[edge];});if(broadcast)$(document).trigger('drupalViewportOffsetChange',offsets);return offsets;}Drupal.behaviors.drupalDisplace={attach(){if(this.displaceProcessed)return;this.displaceProcessed=true;$(window).on('resize.drupalDisplace',debounce(displace,200));}};Drupal.displace=displace;Object.defineProperty(Drupal.displace,'offsets',{value:offsets,writable:false});Drupal.displace.calculateOffset=calculateOffset;})(jQuery,Drupal,Drupal.debounce);; 6(($)=>{let cachedScrollbarWidth=null;const {max,abs}=Math;const regexHorizontal=/left|center|right/;const regexVertical=/top|center|bottom/;const regexOffset=/[+-]\d+(\.[\d]+)?%?/;const regexPosition=/^\w+/;const _position=$.fn.position;function getOffsets(offsets,width,height){return [parseFloat(offsets[0])*(typeof offsets[0]==='string'&&offsets[0].endsWith('%')?width/100:1),parseFloat(offsets[1])*(typeof offsets[1]==='string'&&offsets[1].endsWith('%')?height/100:1)];}function parseCss(element,property){return parseInt(window.getComputedStyle(element)[property],10)||0;}function getDimensions(elem){const raw=elem[0];if(raw.nodeType===Node.DOCUMENT_NODE)return {width:elem.width(),height:elem.height(),offset:{top:0,left:0}};if(!!raw&&raw===raw.window)return {width:elem.width(),height:elem.height(),offset:{top:elem.scrollTop(),left:elem.scrollLeft()}};if(raw.preventDefault)return {width:0,height:0,offset:{top:raw.pageY,left:raw.pageX}};return {width:elem.outerWidth(),height:elem.outerHeight(),offset:elem.offset()};}const collisions={fit:{left(position,data){const {within}=data;const withinOffset=within.isWindow?within.scrollLeft:within.offset.left;const outerWidth=within.width;const collisionPosLeft=position.left-data.collisionPosition.marginLeft;const overLeft=withinOffset-collisionPosLeft;const overRight=collisionPosLeft+data.collisionWidth-outerWidth-withinOffset;let newOverRight;if(data.collisionWidth>outerWidth)if(overLeft>0&&overRight<=0){newOverRight=position.left+overLeft+data.collisionWidth-outerWidth-withinOffset;position.left+=overLeft-newOverRight;}else if(overRight>0&&overLeft<=0)position.left=withinOffset;else if(overLeft>overRight)position.left=withinOffset+outerWidth-data.collisionWidth;else position.left=withinOffset;else if(overLeft>0)position.left+=overLeft;else if(overRight>0)position.left-=overRight;else position.left=max(position.left-collisionPosLeft,position.left);},top(position,data){const {within}=data;const withinOffset=within.isWindow?within.scrollTop:within.offset.top;const outerHeight=data.within.height;const collisionPosTop=position.top-data.collisionPosition.marginTop;const overTop=withinOffset-collisionPosTop;const overBottom=collisionPosTop+data.collisionHeight-outerHeight-withinOffset;let newOverBottom;if(data.collisionHeight>outerHeight)if(overTop>0&&overBottom<=0){newOverBottom=position.top+overTop+data.collisionHeight-outerHeight-withinOffset;position.top+=overTop-newOverBottom;}else if(overBottom>0&&overTop<=0)position.top=withinOffset;else if(overTop>overBottom)position.top=withinOffset+outerHeight-data.collisionHeight;else position.top=withinOffset;else if(overTop>0)position.top+=overTop;else if(overBottom>0)position.top-=overBottom;else position.top=max(position.top-collisionPosTop,position.top);}},flip:{left(position,data){const {within}=data;const withinOffset=within.offset.left+within.scrollLeft;const outerWidth=within.width;const offsetLeft=within.isWindow?within.scrollLeft:within.offset.left;const collisionPosLeft=position.left-data.collisionPosition.marginLeft;const overLeft=collisionPosLeft-offsetLeft;const overRight=collisionPosLeft+data.collisionWidth-outerWidth-offsetLeft;const myOffset=data.my[0]==='left'?-data.elemWidth:data.my[0]==='right'?data.elemWidth:0;const atOffset=data.at[0]==='left'?data.targetWidth:data.at[0]==='right'?-data.targetWidth:0;const offset=-2*data.offset[0];let newOverRight;let newOverLeft;if(overLeft<0){newOverRight=position.left+myOffset+atOffset+offset+data.collisionWidth-outerWidth-withinOffset;if(newOverRight<0||newOverRight<abs(overLeft))position.left+=myOffset+atOffset+offset;}else{if(overRight>0){newOverLeft=position.left-data.collisionPosition.marginLeft+myOffset+atOffset+offset-offsetLeft;if(newOverLeft>0||abs(newOverLeft)<overRight)position.left+=myOffset+atOffset+offset;}}},top(position,data){const {within}=data;const withinOffset=within.offset.top+within.scrollTop;const outerHeight=within.height;const offsetTop=within.isWindow?within.scrollTop:within.offset.top;const collisionPosTop=position.top-data.collisionPosition.marginTop;const overTop=collisionPosTop-offsetTop;const overBottom=collisionPosTop+data.collisionHeight-outerHeight-offsetTop;const top=data.my[1]==='top';const myOffset=top?-data.elemHeight:data.my[1]==='bottom'?data.elemHeight:0;const atOffset=data.at[1]==='top'?data.targetHeight:data.at[1]==='bottom'?-data.targetHeight:0;const offset=-2*data.offset[1];let newOverTop;let newOverBottom;if(overTop<0){newOverBottom=position.top+myOffset+atOffset+offset+data.collisionHeight-outerHeight-withinOffset;if(newOverBottom<0||newOverBottom<abs(overTop))position.top+=myOffset+atOffset+offset;}else{if(overBottom>0){newOverTop=position.top-data.collisionPosition.marginTop+myOffset+atOffset+offset-offsetTop;if(newOverTop>0||abs(newOverTop)<overBottom)position.top+=myOffset+atOffset+offset;}}}},flipfit:{left(...args){collisions.flip.left.apply(this,args);collisions.fit.left.apply(this,args);},top(...args){collisions.flip.top.apply(this,args);collisions.fit.top.apply(this,args);}}};$.position={scrollbarWidth(){if(cachedScrollbarWidth!==undefined)return cachedScrollbarWidth;const div=$('<div '+"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>"+"<div style='height:100px;width:auto;'></div></div>");const innerDiv=div.children()[0];$('body').append(div);const w1=innerDiv.offsetWidth;div[0].style.overflow='scroll';let w2=innerDiv.offsetWidth;if(w1===w2)w2=div[0].clientWidth;div.remove();cachedScrollbarWidth=w1-w2;return cachedScrollbarWidth;},getScrollInfo(within){const overflowX=within.isWindow||within.isDocument?'':window.getComputedStyle(within.element[0])['overflow-x'];const overflowY=within.isWindow||within.isDocument?'':window.getComputedStyle(within.element[0])['overflow-y'];const hasOverflowX=overflowX==='scroll'||(overflowX==='auto'&&within.width<within.element[0].scrollWidth);const hasOverflowY=overflowY==='scroll'||(overflowY==='auto'&&within.height<within.element[0].scrollHeight);return {width:hasOverflowY?$.position.scrollbarWidth():0,height:hasOverflowX?$.position.scrollbarWidth():0};},getWithinInfo(element){const withinElement=$(element||window);const isWindow=!!withinElement[0]&&withinElement[0]===withinElement[0].window;const isDocument=!!withinElement[0]&&withinElement[0].nodeType===Node.DOCUMENT_NODE;const hasOffset=!isWindow&&!isDocument;return {element:withinElement,isWindow,isDocument,offset:hasOffset?$(element).offset():{left:0,top:0},scrollLeft:withinElement.scrollLeft(),scrollTop:withinElement.scrollTop(),width:withinElement.outerWidth(),height:withinElement.outerHeight()};}};$.fn.position=function(options){if(!options||!options.of)return _position.apply(this,arguments);options=$.extend({},options);const within=$.position.getWithinInfo(options.within);const scrollInfo=$.position.getScrollInfo(within);const collision=(options.collision||'flip').split(' ');const offsets={};const target=typeof options.of==='string'?$(document).find(options.of):$(options.of);const dimensions=getDimensions(target);const targetWidth=dimensions.width;const targetHeight=dimensions.height;const targetOffset=dimensions.offset;if(target[0].preventDefault)options.at='left top';const basePosition=$.extend({},targetOffset);$.each(['my','at'],function(){let pos=(options[this]||'').split(' ');
6if(pos.length===1)pos=regexHorizontal.test(pos[0])?pos.concat(['center']):regexVertical.test(pos[0])?['center'].concat(pos):['center','center'];pos[0]=regexHorizontal.test(pos[0])?pos[0]:'center';pos[1]=regexVertical.test(pos[1])?pos[1]:'center';const horizontalOffset=regexOffset.exec(pos[0]);const verticalOffset=regexOffset.exec(pos[1]);offsets[this]=[horizontalOffset?horizontalOffset[0]:0,verticalOffset?verticalOffset[0]:0];options[this]=[regexPosition.exec(pos[0])[0],regexPosition.exec(pos[1])[0]];});if(collision.length===1)collision[1]=collision[0];if(options.at[0]==='right')basePosition.left+=targetWidth;else{if(options.at[0]==='center')basePosition.left+=targetWidth/2;}if(options.at[1]==='bottom')basePosition.top+=targetHeight;else{if(options.at[1]==='center')basePosition.top+=targetHeight/2;}const atOffset=getOffsets(offsets.at,targetWidth,targetHeight);basePosition.left+=atOffset[0];basePosition.top+=atOffset[1];return this.each(function(){let using;const elem=$(this);const elemWidth=elem.outerWidth();const elemHeight=elem.outerHeight();const marginLeft=parseCss(this,'marginLeft');const marginTop=parseCss(this,'marginTop');const collisionWidth=elemWidth+marginLeft+parseCss(this,'marginRight')+scrollInfo.width;const collisionHeight=elemHeight+marginTop+parseCss(this,'marginBottom')+scrollInfo.height;const position=$.extend({},basePosition);const myOffset=getOffsets(offsets.my,elem.outerWidth(),elem.outerHeight());if(options.my[0]==='right')position.left-=elemWidth;else{if(options.my[0]==='center')position.left-=elemWidth/2;}if(options.my[1]==='bottom')position.top-=elemHeight;else{if(options.my[1]==='center')position.top-=elemHeight/2;}position.left+=myOffset[0];position.top+=myOffset[1];const collisionPosition={marginLeft,marginTop};$.each(['left','top'],function(i,dir){if(collisions[collision[i]])collisions[collision[i]][dir](position,{targetWidth,targetHeight,elemWidth,elemHeight,collisionPosition,collisionWidth,collisionHeight,offset:[atOffset[0]+myOffset[0],atOffset[1]+myOffset[1]],my:options.my,at:options.at,within,elem});});if(options.using)using=function(props){const left=targetOffset.left-position.left;const right=left+targetWidth-elemWidth;const top=targetOffset.top-position.top;const bottom=top+targetHeight-elemHeight;const feedback={target:{element:target,left:targetOffset.left,top:targetOffset.top,width:targetWidth,height:targetHeight},element:{element:elem,left:position.left,top:position.top,width:elemWidth,height:elemHeight},horizontal:right<0?'left':left>0?'right':'center',vertical:bottom<0?'top':top>0?'bottom':'middle'};if(targetWidth<elemWidth&&abs(left+right)<targetWidth)feedback.horizontal='center';if(targetHeight<elemHeight&&abs(top+bottom)<targetHeight)feedback.vertical='middle';if(max(abs(left),abs(right))>max(abs(top),abs(bottom)))feedback.important='horizontal';else feedback.important='vertical';options.using.call(this,props,feedback);};elem.offset($.extend(position,{using}));});};if(!$.hasOwnProperty('ui'))$.ui={};$.ui.position=collisions;})(jQuery);; 7(function($,Drupal,once){if(once('drupal-dialog-deprecation-listener','html').length){const eventSpecial={handle($event){const $element=$($event.target);const event=$event.originalEvent;const dialog=event.dialog;const dialogArguments=[$event,dialog,$element,event?.settings];$event.handleObj.handler.apply(this,dialogArguments);}};$.event.special['dialog:beforecreate']=eventSpecial;$.event.special['dialog:aftercreate']=eventSpecial;$.event.special['dialog:beforeclose']=eventSpecial;$.event.special['dialog:afterclose']=eventSpecial;const listenDialogEvent=(event)=>{const windowEvents=$._data(window,'events');const isWindowHasDialogListener=windowEvents[event.type];if(isWindowHasDialogListener)Drupal.deprecationError({message:`jQuery event ${event.type} is deprecated in 10.3.0 and is removed from Drupal:12.0.0. See https://www.drupal.org/node/3422670`});};['dialog:beforecreate','dialog:aftercreate','dialog:beforeclose','dialog:afterclose'].forEach((e)=>window.addEventListener(e,listenDialogEvent));window.addEventListener('dialog:beforecreate',(event)=>{const dialog=event.target;$(dialog).on('dialogButtonsChange.dialogDeprecation',(e)=>{if(!e?.originalEvent){Drupal.deprecationError({message:`jQuery event dialogButtonsChange is deprecated
7in 11.2.0 and is removed from Drupal:12.0.0. See https://www.drupal.org/node/3464202`});dialog.dispatchEvent(new CustomEvent('dialogButtonsChange'));}});});window.addEventListener('dialog:beforeclose',(event)=>{const dialog=event.target;$(dialog).off(`dialogButtonsChange.dialogDeprecation`);});}})(jQuery,Drupal,once);; 8class DrupalDialogEvent extends Event{constructor(type,dialog,settings=null){super(`dialog:${type}`,{bubbles:true});this.dialog=dialog;this.settings=settings;}}(function($,Drupal,drupalSettings,bodyScrollLock){drupalSettings.dialog={autoOpen:true,buttonClass:'button',buttonPrimaryClass:'button--primary',close(event){Drupal.dialog(event.target).close();Drupal.detachBehaviors(event.target,null,'unload');}};Drupal.dialog=function(element,options){let undef;const $element=$(element);const domElement=$element.get(0);const dialog={open:false,returnValue:undef};function openDialog(settings){settings=$.extend({},drupalSettings.dialog,options,settings);if(settings.dialogClass)Drupal.deprecationError({message:'dialogClass is deprecated in drupal:10.4.x and will be removed from drupal:12.0.0.'});const event=new DrupalDialogEvent('beforecreate',dialog,settings);domElement.dispatchEvent(event);$element.dialog(event.settings);dialog.open=true;if(event.settings.modal)bodyScrollLock.lock(domElement);domElement.dispatchEvent(new DrupalDialogEvent('aftercreate',dialog,event.settings));}function closeDialog(value){domElement.dispatchEvent(new DrupalDialogEvent('beforeclose',dialog));bodyScrollLock.clearBodyLocks();$element.dialog('close');dialog.returnValue=value;dialog.open=false;domElement.dispatchEvent(new DrupalDialogEvent('afterclose',dialog));}dialog.show=()=>{openDialog({modal:false,uiDialogTitleHeadingLevel:2});};dialog.showModal=()=>{openDialog({modal:true,uiDialogTitleHeadingLevel:1});};dialog.close=closeDialog;return dialog;};})(jQuery,Drupal,drupalSettings,bodyScrollLock);; 9(function($,Drupal,drupalSettings,debounce,displace){drupalSettings.dialog=$.extend({autoResize:true,maxHeight:'95%'},drupalSettings.dialog);function resetPosition(options){const offsets=displace.offsets;const left=offsets.left-offsets.right;const top=offsets.top-offsets.bottom;const leftString=`${(left>0?'+':'-')+Math.abs(Math.round(left/2))}px`;const topString=`${(top>0?'+':'-')+Math.abs(Math.round(top/2))}px`;options.position={my:`center${left!==0?leftString:''} center${top!==0?topString:''}`,of:window};return options;}function resetSize(event){const positionOptions=['width','height','minWidth','minHeight','maxHeight','maxWidth','position'];let adjustedOptions={};let windowHeight=$(window).height();let option;let optionValue;let adjustedValue;for(let n=0;n<positionOptions.length;n++){option=positionOptions[n];optionValue=event.data.settings[option];if(optionValue)if(typeof optionValue==='string'&&optionValue.endsWith('%')&&/height/i.test(option)){windowHeight-=displace.offsets.top+displace.offsets.bottom;adjustedValue=parseInt(0.01*parseInt(optionValue,10)*windowHeight,10);if(option==='height'&&Math.round(event.data.$element.parent().outerHeight())<adjustedValue)adjustedValue='auto';adjustedOptions[option]=adjustedValue;}}if(!event.data.settings.modal)adjustedOptions=resetPosition(adjustedOptions);event.data.$element.dialog('option',adjustedOptions);event.data.$element?.get(0)?.dispatchEvent(new CustomEvent('dialogContentResize',{bubbles:true}));}window.addEventListener('dialog:aftercreate',(e)=>{const autoResize=debounce(resetSize,20);const $element=$(e.target);const {settings}=e;const eventData={settings,$element};if(settings.autoResize===true||settings.autoResize==='true'){const uiDialog=$element.dialog('option',{resizable:false,draggable:false}).dialog('widget');uiDialog[0].style.position='fixed';$(window).on('resize.dialogResize scroll.dialogResize',eventData,autoResize).trigger('resize.dialogResize');$(document).on('drupalViewportOffsetChange.dialogResize',eventData,autoResize);}});window.addEventListener('dialog:beforeclose',()=>{$(window).off('.dialogResize');$(document).off('.dialogResize');});})(jQuery,Drupal,drupalSettings,Drupal.debounce,Drupal.displace);; 10(function($,{tabbable,isTabbable}){$.widget('ui.dialog',$.ui.dialog,{options:{buttonClass:'button',buttonPrimaryClass:'button--primary'},_createButtons(){const opts=this.options;let primaryIndex;let index;const il=opts.buttons.length;for(index=0;index<il;index++)if(opts.buttons[index].primary&&opts.buttons[index].primary===true){primaryIndex=index;delete opts.buttons[index].primary;break;}this._super();const $buttons=this.uiButtonSet.children().addClass(opts.buttonClass);if(typeof primaryIndex!=='undefined')$buttons.eq(index).addClass(opts.buttonPrimaryClass);},_createWrapper(){this.uiDialog=$('<div>
10').hide().attr({tabIndex:-1,role:'dialog','aria-modal':this.options.modal?'true':null}).appendTo(this._appendTo());this._addClass(this.uiDialog,'ui-dialog','ui-widget ui-widget-content ui-front');this._on(this.uiDialog,{keydown(event){if(this.options.closeOnEscape&&!event.isDefaultPrevented()&&event.keyCode&&event.keyCode===$.ui.keyCode.ESCAPE){event.preventDefault();this.close(event);return;}if(event.keyCode!==$.ui.keyCode.TAB||event.isDefaultPrevented())return;const tabbableElements=tabbable(this.uiDialog[0]);if(tabbableElements.length){const first=tabbableElements[0];const last=tabbableElements[tabbableElements.length-1];if((event.target===last||event.target===this.uiDialog[0])&&!event.shiftKey){this._delay(function(){$(first).trigger('focus');});event.preventDefault();}else{if((event.target===first||event.target===this.uiDialog[0])&&event.shiftKey){this._delay(function(){$(last).trigger('focus');});event.preventDefault();}}}},mousedown(event){if(this._moveToTop(event))this._focusTabbable();}});if(!this.element.find('[aria-describedby]').length)this.uiDialog.attr({'aria-describedby':this.element.uniqueId().attr('id')});},_focusTabbable(){let hasFocus=this._focusedElement?this._focusedElement.get(0):null;if(!hasFocus)hasFocus=this.element.find('[autofocus]').get(0);if(!hasFocus){const $elements=[this.element,this.uiDialogButtonPane];for(let i=0;i<$elements.length;i++){const element=$elements[i].get(0);if(element){const elementTabbable=tabbable(element);hasFocus=elementTabbable.length?elementTabbable[0]:null;}if(hasFocus)break;}}if(!hasFocus){const closeBtn=this.uiDialogTitlebarClose.get(0);hasFocus=closeBtn&&isTabbable(closeBtn)?closeBtn:null;}if(!hasFocus)hasFocus=this.uiDialog.get(0);$(hasFocus).eq(0).trigger('focus');}});})(jQuery,window.tabbable);; 11(($)=>{$.widget('ui.dialog',$.ui.dialog,{_allowInteraction(event){if(event.target.classList===undefined)return this._super(event);return event.target.classList.contains('ck')||this._super(event);}});})(jQuery);; 12(function($,UPU){"use strict";const config=UPU.consentDialog;if(!config||!config.consentAPI)return;const vendor=UPU.consentVendor;let consentHelper=false;switch(vendor){case "EVIDON":consentHelper=UPU.evidonHelper?UPU.evidonHelper:(window.Drupal&&window.Drupal.upu?window.Drupal.upu.evidonHelper:null);break;case "ONETRUST":consentHelper=UPU.oneTrustHelper?UPU.oneTrustHelper:(window.Drupal&&window.Drupal.upu?window.Drupal.upu.oneTrustHelper:null);break;}if(!consentHelper)return;let modalClasses=config.dialogClass.split(",");modalClasses=modalClasses.length?modalClasses.join(" "):"";modalClasses+=" consent-dialog";let modalSettings={title:config.dialogHeader,classes:{'ui-dialog':modalClasses},resizable:false,width:"600",show:"fold",modal:true};function getConsent(vendorName){if(consentHelper&&consentHelper.isInitialized()){if(consentHelper.getVendorConsent(vendorName))return true;if(config.vendorLevelConsent){const vendorDetails=consentHelper.getVendorDetails(vendorName);if(vendorDetails)showConsetDialog(true,vendorDetails);else return false;}else showConsetDialog(false);}return false;}function showConsetDialog(isVendorDialog,vendorDetails){let contentEl=$(config.defaultMsg.value)[0];if(isVendorDialog&&vendorDetails)contentEl=getVendorConsetMarkup(vendorDetails);let buttons=[];if(config.confirmLabel!=="")buttons.push({text:config.confirmLabel,class:"btn btn-primary"+(isVendorDialog?" vendor-consent":""),click:function click(event){if($(event.currentTarget).hasClass("vendor-consent"))consentHelper.updateVendorConsent($('.consent-dialog .switch [type="checkbox"]'));else consentHelper.showPreferenceDialog();$(this).dialog("close");},primary:true});if(config.closeLabel!=="")buttons.push({text:config.closeLabel,class:"btn btn-secondary",click:function click(){$(this).dialog("close");},primary:true});if(buttons.length)modalSettings.buttons=buttons;if(window.Drupal&&window.Drupal.dialog){let modal=window.Drupal.dialog(contentEl,modalSettings);modal.showModal();}else window.console.warn('Drupal Dialog not available. Modal cannot be shown.');}function getVendorConsetMarkup(vendorDetails){let contentEl="<div>";contentEl+='<div class="consent-switch-wrapper">'+'<h3 class="vendor-name">'+vendorDetails.name+"</h3>"+'<label class="switch highlight">'+'<input type="checkbox"'+" data-vendor-id="+vendorDetails.id+" data-vendor-type="+vendorDetails.type+" data-vendor-name="+vendorDetails.name+">"+'<span class="slider round"></span>'+"</label>"+"</div>";if(vendorDetails.description!=="")contentEl+="<p>"+vendorDetails.description+"</p>";let detailsEl="";detailsEl=consentHelper.getVendorDetailsMarkup(vendorDetails);contentEl+=detailsEl+"</div>";return contentEl;}if(typeof window.Drupal!="undefined"){window.Drupal.upu=window.Drupal.upu||{};window.Drupal.upu.getConsent=getConsent;window.Drupal.upu.consentHelper=consentHelper;}else{window.upu=window.upu||{};window.upu.getConsent=getConsent;window.upu.consentHelper=consentHelper;}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));; 13(function($,UPU){'use strict';const config=UPU.cookieCategories;if(!config||!config.blockCookies)return;const vendor=UPU.consentVendor;const blockCookies=config.blockCookies;const catFunctional=config.functional;const catPerformance=config.performance;const catTargeting=config.targeting;const categoryList=config.categories;function isBlockedCookie(category){category=category.toUpperCase();if(!blockCookies||!Object.values(categoryList).includes(category))return false;switch(vendor){case 'EVIDON':return checkEvidon(category);break;case 'ONETRUST':return checkOneTrust(category);break;}}function checkVendorLoad(){if(config&&blockCookies)switch(vendor){case 'EVIDON':if(typeof window.evidon!='undefined')$(window).trigger('cookieVendor:loaded');break;case 'ONETRUST':if(typeof window.OneTrust!='undefined')$(window).trigger('cookieVendor:loaded');break;}}function checkEvidon(cat){if(!window.evidon||!window.evidon.notice)return false;let evidon_cats=window.evidon.notice._getConsentedCategories();switch(cat){case categoryList.FUNCTIONAL:return !evidon_cats[catFunctional];break;case categoryList.PERFORMANCE:return !evidon_cats[catPerformance];break;case categoryList.TARGETING:return !evidon_cats[catTargeting];break;}}function checkOneTrust(cat){if(!window.OneTrust||!window.OnetrustActiveGroups)return false;let activeCats=window.OnetrustActiveGroups.split(',').filter((element)=>element);switch(cat){case categoryList.FUNCTIONAL:return !activeCats.includes(catFunctional);break;case categoryList.PERFORMANCE:return !activeCats.includes(catPerformance);break;case categoryList.TARGETING:return !activeCats.includes(catTargeting);break;}}$(window).on('load',function(){checkVendorLoad();});if(typeof Drupal!='undefined'){Drupal.upu_isBlockedCookie=isBlockedCookie;Drupal.upu=Drupal.upu||{};Drupal.upu.isBlockedCookie=isBlockedCookie;}else{window.upu=window.upu||{};window.upu.isBlockedCookie=isBlockedCookie;}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));; 14(function($,UPU){'use strict';const config=UPU.cookiePreferenceLink;if(!config||!config.handleOnClick)return;const linkSelector=config.linkSelector;const jsMethod=config.jsMethod;$(document).on('click',linkSelector,function(e){e.preventDefault();executeFunctionByName(jsMethod.name,window,jsMethod.args);});function executeFunctionByName(functionName,context){var args=Array.prototype.slice.call(arguments,2);var namespaces=functionName.split(".");var func=namespaces.pop();for(var i=0;i<namespaces.length;i++)context=context[namespaces[i]];return context[func].apply(context,args);}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));; 15(function($,UPU){'use strict';const config=UPU.vidIframe;if(!config)return;const vendor=UPU.consentVendor;const blockVids=config.blockVideos;const vidSources=config.vidSources;const vidClass=config.vidClass;const blockedMsg=config.blockedMsg;const srcToAttr=config.srcToAttr;const featherlightShunt=config.featherlightShunt;const magnificPopupShunt=config.magnificPopupShunt;const html5lightboxShunt=config.html5lightboxShunt;const colorboxShunt=config.colorboxShunt;const libraryLoopMax=10;const libraryLoopWait=500;const MutationObserver=window.MutationObserver||window.WebKitMutationObserver;function isBlockedVid(url){let isBlocked=false;if(!blockVids)return false;for(const pattern of vidSources){let regex=new RegExp(pattern.pattern,pattern.flags);if(regex.test(url)){isBlocked=true;break;}}return isBlocked;}function generateUniqueID(prefix){let uniqueID=prefix+Math.floor(Math.random()*100);if($('#'+uniqueID).length)uniqueID=generateUniqueID(prefix);return uniqueID;}function scanVids(context){if(blockVids)$(context).find('iframe:not(".'+vidClass+'")[src]').each(function(i,v){let $frame=$(this);let url=$frame.attr('src');if(isBlockedVid(url)){$frame.removeAttr('src').attr(srcToAttr,url).addClass(vidClass);$frame.after(blockedMsg);}});if(featherlightShunt&&typeof $.featherlight!='undefined')$(context).find('[data-featherlight="iframe"]').each(function(){let $link=$(this),url=$link.attr('href');if(isBlockedVid(url)){let uniqueID=generateUniqueID('upu_featherlight_'),$lightboxWrap=$('<div>',{class:'upu_featherlight_wrap',id:uniqueID}),$iframe=$('<iframe>');$iframe.attr(srcToAttr,url).addClass(vidClass);$.each($link.data(),function(attr,value){if(attr.startsWith('featherlightIframe')){attr=attr.substr(18).toLowerCase();$iframe.attr(attr,value);}
15if(attr=='featherlightVarient'){$iframe.addClass($value);$link.removeAttr('featherlightVarient');}});$link.attr('data-featherlight','#'+uniqueID);$lightboxWrap.append($iframe).append(blockedMsg).insertAfter($link);}});}function unblockVids(context){let $frames=$('iframe.'+vidClass,context);$.each($frames,function(){let $frame=$(this);if(!$frame.attr('src')&&$frame.attr(srcToAttr)){let src=$frame.attr(srcToAttr);if(checkUserPref())$frame.attr('src',src).removeAttr(srcToAttr);}});}function checkUserPref(){switch(vendor){case 'ONETRUST':return checkOneTrust();break;case 'EVIDON':return checkEvidon();break;}}function checkOneTrust(){let category=vidClass.replace('optanon-category-','').split('-')[0];if(!window.OneTrust||!window.OnetrustActiveGroups)return false;let activeCats=window.OnetrustActiveGroups.split(',').filter((element)=>element);return activeCats.includes(category);}function checkEvidon(){let category='publisher';if(!window.evidon||!window.evidon.notice)return false;let evidon_cats=window.evidon.notice._getConsentedCategories();return evidon_cats[category];}$(function(){if(blockVids){$(window).on('dialog:aftercreate',function(){unblockVids($('.ui-dialog'));});if(magnificPopupShunt)$('*').on('mfpChange',function(){let $context=$.magnificPopup.instance.wrap;setTimeout(function(){if(!checkUserPref())scanVids($context);},1);});if(html5lightboxShunt)$(window).on('html5lightbox.lightboxopened',function(){let $context=window.html5Lightbox.$lightboxBox;if(!checkUserPref()){scanVids($context);let popupDOMChange=new MutationObserver(function(mutations,observer){scanVids($context);});popupDOMChange.observe($context[0],{subtree:true,childList:true});}});if(colorboxShunt&&typeof $.colorbox=='function')$(window).on('cbox_complete',function(){let $context=$('#cboxContent');scanVids($context);});}});if(typeof Drupal!='undefined'){Drupal.upu_isBlockedVid=isBlockedVid;Drupal.upu=Drupal.upu||{};Drupal.upu.isBlockedVid=isBlockedVid;Drupal.upu.unblockVids=unblockVids;Drupal.upu.scanVids=scanVids;Drupal.behaviors.upu_cookieVideoBlocking={attach:function(context){scanVids(context);}};}else{window.upu=window.upu||{};window.upu.isBlockedVid=isBlockedVid;window.upu.scanVids=scanVids;window.upu.unblockVids=unblockVids;scanVids('html');}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));; 16(function($,Drupal,{focusable}){Drupal.behaviors.dialog={attach(context,settings){if(!document.querySelector('#drupal-modal'))document.body.insertAdjacentHTML('beforeend','<div id="drupal-modal" class="ui-front" style="display:none"></div>');if(context!==document){const dialog=context.closest('.ui-dialog-content');if(dialog){if($(dialog).dialog('option','drupalAutoButtons'))dialog.dispatchEvent(new CustomEvent('dialogButtonsChange'));setTimeout(function(){if(!dialog.contains(document.activeElement)){const autoFocusElement=dialog?.querySelector('[autofocus]');if(autoFocusElement){autoFocusElement.focus();return;}const focusableElements=focusable(dialog);if(focusableElements.length>0){focusableElements[0].focus();return;}const dialogWrapper=dialog.closest('.ui-dialog');const buttonPane=dialogWrapper?.querySelector('.ui-dialog-buttonpane');const focusableButtons=focusable(buttonPane);if(focusableButtons.length>0){focusableButtons[0].focus();return;}const closeButton=dialogWrapper?.querySelector('.ui-dialog-titlebar-close');if(closeButton){closeButton.focus();return;}dialog.focus();}},0);}}const originalClose=settings.dialog.close;settings.dialog.close=function(event,...args){originalClose.apply(settings.dialog,[event,...args]);const $element=$(event.target);const ajaxContainer=$element.data('uiDialog')?$element.data('uiDialog').opener.closest('[data-drupal-ajax-container]'):[];if(ajaxContainer.length&&(document.activeElement===document.body||$(document.activeElement).not(':visible'))){const focusableChildren=focusable(ajaxContainer[0]);if(focusableChildren.length>0)setTimeout(()=>{focusableChildren[0].focus();},0);}$(event.target).remove();};},prepareDialogButtons($dialog){const buttons=[];const buttonSelectors='.form-actions input[type=submit], .form-actions a.button, .form-actions a.action-link';const buttonElements=$dialog[0].querySelectorAll(buttonSelectors);
16buttonElements.forEach((button)=>{button.style.display='none';buttons.push({text:button.innerHTML||button.getAttribute('value'),class:button.getAttribute('class'),'data-once':button.dataset.once,click(e){if(button.tagName==='A')button.click();else ['mousedown','mouseup','click'].forEach((event)=>button.dispatchEvent(new MouseEvent(event)));e.preventDefault();}});});return buttons;}};Drupal.AjaxCommands.prototype.openDialog=function(ajax,response,status){if(!response.selector)return false;let dialog=document.querySelector(response.selector);if(!dialog){dialog=document.createElement('div');dialog.id=response.selector.replace(/^#/,'');dialog.classList.add('ui-front');document.body.appendChild(dialog);}if(!ajax.wrapper)ajax.wrapper=dialog.id;response.command='insert';response.method='html';ajax.commands.insert(ajax,response,status);response.dialogOptions=response.dialogOptions||{};if(typeof response.dialogOptions.drupalAutoButtons==='undefined')response.dialogOptions.drupalAutoButtons=true;else if(response.dialogOptions.drupalAutoButtons==='false')response.dialogOptions.drupalAutoButtons=false;else response.dialogOptions.drupalAutoButtons=!!response.dialogOptions.drupalAutoButtons;if(!response.dialogOptions.buttons&&response.dialogOptions.drupalAutoButtons)response.dialogOptions.buttons=Drupal.behaviors.dialog.prepareDialogButtons($(dialog));const dialogButtonsChange=()=>{const buttons=Drupal.behaviors.dialog.prepareDialogButtons($(dialog));$(dialog).dialog('option','buttons',buttons);};dialog.addEventListener('dialogButtonsChange',dialogButtonsChange);dialog.addEventListener('dialog:beforeclose',(event)=>{dialog.removeEventListener('dialogButtonsChange',dialogButtonsChange);});const createdDialog=Drupal.dialog(dialog,response.dialogOptions);if(response.dialogOptions.modal)createdDialog.showModal();else createdDialog.show();dialog.parentElement?.querySelector('.ui-dialog-buttonset')?.classList.add('form-actions');};Drupal.AjaxCommands.prototype.closeDialog=function(ajax,response,status){const dialog=document.querySelector(response.selector);if(dialog){Drupal.dialog(dialog).close();if(!response.persist)dialog.remove();}};Drupal.AjaxCommands.prototype.setDialogOption=function(ajax,response,status){const dialog=document.querySelector(response.selector);if(dialog)$(dialog).dialog('option',response.optionName,response.optionValue);};window.addEventListener('dialog:aftercreate',(event)=>{const dialog=event.dialog;const cancelButton=event.target.querySelector('.dialog-cancel');const cancelClick=(e)=>{dialog.close('cancel');e.preventDefault();e.stopPropagation();};cancelButton?.removeEventListener('click',cancelClick);cancelButton?.addEventListener('click',cancelClick);});Drupal.AjaxCommands.prototype.openModalDialogWithUrl=function(ajax,response){const dialogOptions=response.dialogOptions||{};const elementSettings={progress:{type:'throbber'},dialogType:'modal',dialog:dialogOptions,url:response.url,httpMethod:'GET'};Drupal.ajax(elementSettings).execute();};})(jQuery,Drupal,window.tabbable);; 17(function($,Drupal,once,tabbable){if($.ui&&$.ui.dialog&&$.ui.dialog.prototype._allowInteraction){var _allowInteraction=$.ui.dialog.prototype._allowInteraction;$.ui.dialog.prototype._allowInteraction=function(event){if($(event.target).closest('.cke_dialog').length)return true;return _allowInteraction.apply(this,arguments);};}Drupal.behaviors.webformDialogEvents={attach:function(){if(once('webform-dialog','html').length)$(window).on({'dialog:aftercreate':function(event,dialog,$element,settings){setTimeout(function(){const tabbableElements=tabbable.tabbable($element.get(0));var hasFocus=$element.find("[autofocus]");if(!hasFocus.length){hasFocus=tabbableElements.filter((element)=>{return (element.tagName.toLowerCase()==="input"&&element.type!=="button");});hasFocus=$(hasFocus);}if(!hasFocus.length)hasFocus=$element.parent().find('.ui-dialog-titlebar-close');hasFocus.eq(0).trigger('focus');});}});}};})(jQuery,Drupal,once,tabbable);; 18(function($,Drupal,drupalSettings,once){Drupal.webform=Drupal.webform||{};Drupal.webform.dialog=Drupal.webform.dialog||{};Drupal.webform.dialog.options=Drupal.webform.dialog.options||{};Drupal.webformOpenDialog=function(url,type){var $div=$('<div><a href="'+url+'" class="webform-dialog '+type+'"></a></div>');Drupal.behaviors.webformDialog.attach($div.get(0));$div.find('a').trigger('click');};Drupal.behaviors.webformDialog={attach(context){$(once('webform-dialog','a.webform-dialog',context)).each(function(){var $a=$(this);var options=$.extend({},Drupal.webform.dialog.options);if($a.attr('class').match(/webform-dialog-([a-z0-9_]+)/)){var dialogOptionsName=RegExp.$1;if(drupalSettings.webform.dialog.options[dialogOptionsName]){options=drupalSettings.webform.dialog.options[dialogOptionsName];delete options.title;}}if($(this).data('dialog-options'))$.extend(options,$(this).data('dialog-options'));var href=$a.attr('href');if(href.indexOf('?source_entity_type=ENTITY_TYPE&source_entity_id=ENTITY_ID')!==-1){if(drupalSettings.webform.dialog.entity_type&&drupalSettings.webform.dialog.entity_id){href=href.replace('ENTITY_TYPE',encodeURIComponent(drupalSettings.webform.dialog.entity_type));href=href.replace('ENTITY_ID',encodeURIComponent(drupalSettings.webform.dialog.entity_id));}else href=href.replace('?source_entity_type=ENTITY_TYPE&source_entity_id=ENTITY_ID','');$a.attr('href',href);}href+=(href.indexOf('?')===-1?'?':'&')+'_webform_dialog=1';var element_settings={};element_settings.progress={type:'fullscreen'};element_settings.url=href;element_settings.event='touchstart click';element_settings.dialogType=$a.data('dialog-type')||'modal';element_settings.dialog=options;element_settings.element=this;element_settings.error=function error(xmlhttp,uri){if(xmlhttp.status===403)window.location.replace(href.split('?')[0]);};Drupal.ajax(element_settings);});}};})(jQuery,Drupal,drupalSettings,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.