vendor: 5,239 bytes, lines 1-2
1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).quicklink={})}(this,function(e){"use strict";function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function n(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return r(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}(e))||n){t&&(e=t);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function t(e,r,n,t){var o={headers:{accept:"*/*"}};return r||(o.mode="no-cors"),n&&(o.credentials="include"),o.priority=t?"high":"low",window.fetch?fetch(e,o):function(e,r){return new Promise(function(n,t,o){(o=new XMLHttpRequest).open("GET",e,o.withCredentials=r),o.setRequestHeader("Accept","*/*"),o.onload=function(){200===o.status?n():t()},o.send()})}(e,n)}var o,i=(o=document.createElement("link")).relList&&o.relList.supports&&o.relList.supports("prefetch")?function(e,r){return new Promise(function(n,t,o){(o=document.createElement("link")).rel="prefetch",o.href=e,r&&o.setAttribute("crossorigin","anonymous"),o.onload=n,o.onerror=t,document.head.append(o)})}:t,a=window.requestIdleCallback||function(e){var r=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})},1)},c=new Set,s=new Set,u=!1;function l(e,r){return Array.isArray(r)?r.some(function(r){return l(e,r)}):(r.test||r).call(r,e.href,e)}function f(e){return!e||(e.saveData?new Error("Save-Data is enabled"):!/2g/.test(e.effectiveType)||new Error("network conditions are poor"))}function d(e,r,o,a,l){var d=f(navigator.connection);return d instanceof Error?Promise.reject(new Error("Cannot prefetch, "+d.message)):(s.size>0&&!u&&console.warn("[Warning] You are using both prefetching and prerendering on the same document"),Promise.all([e].flat().map(function(e){return c.has(e)?[]:(c.add(e),function(e,r,t){for(var o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];if(!t)return e.apply(void 0,[r].concat(i));for(var c,s=document.querySelectorAll('a[href="'+r+'"]'),u=new Map,l=function(){var n=c.value,t=function(){var a=setTimeout(function(){return n.removeEventListener("mouseenter",t),n.removeEventListener("mouseleave",o),e.apply(void 0,[r].concat(i))},200);u.set(n,a)},o=function(){var e=u.get(n);e&&(clearTimeout(e),u.delete(n))};n.addEventListener("mouseenter",t),n.addEventListener("mouseleave",o)},f=n(s);!(c=f()).done;)l()}(r?t:i,new URL(e,location.href).toString(),l,o,a,r))})))}function h(e,r){void 0===r&&(r="immediate"),e=[e].flat();var t=f(navigator.connection);if(t instanceof Error)return Promise.reject(new Error("Cannot prerender, "+t.message));if(!HTMLScriptElement.supports("speculationrules"))return d(e,!0,!1,!1,"moderate"===r||"conservative"===r),Promise.reject(new Error("This browser does not support the speculation rules API. Falling back to prefetch."));for(var o,i=n(e);!(o=i()).done;){var a=o.value;s.add(a)}c.size>0&&!u&&console.warn("[Warning] You are using both prefetching and prerendering on the same document");var l=function(e,r){var t=new Map;try{for(var o,i=n(e);!(o=i()).done;){var a=o.value,c=document.createElement("script");c.type="speculationrules",c.text=JSON.stringify({prerender:[{source:"list",urls:[a],eagerness:r}]}),document.head.append(c),t.set(a,c)}}catch(e){return e}return t}(e,r);return l.size>0?Promise.resolve(l):Promise.reject(l)}e.listen=function(e){if(void 0===e&&(e={}),!window.IntersectionObserver||!("isIntersecting"in IntersectionObserverEntry.prototype))return function(){};var r=function(e){e=e||1;var r=[],n=0;function t(){n<e&&r.length>0&&(r.shift()(),n++)}return[function(e){r.push(e)>1||t()},function(){n--,t()}]}(e.throttle||1/0),t=r[0],o=r[1],i=e.limit||1/0,f=e.threshold||0,v=e.origins||[location.hostname],m=e.ignores||[],p=e.delay||0,g=new Map,w=new Map,y=e.timeoutFn||a,b="function"==typeof e.hrefFn&&e.hrefFn,E=e.prerender||!1;u=e.prerenderAndPrefetch||!1;var A=new IntersectionObserver(function(r){for(var a,l=function(){var r=a.value,l=g.get(r.target.href)||new Set;g.set(r.target.href,l),r.isIntersecting?(r=r.target,l.add(r),function(e,r){r?setTimeout(e,r):e()}(function(){l&&l.size&&(E||u||A.unobserve(r),(u||E)&&s.size<i&&!w.has(r.href)?h(b?b(r):r.href,e.eagerness).then(function(e){for(var r,t=n(e);!(r=t()).done;){var o=r.value,i=o[0],a=o[1];w.set(i,a)}}).catch(function(r){if(!e.onError)throw r;e.onError(r)}):c.size<i&&!E&&t(function(){d(b?b(r):r.href,e.priority,e.checkAccessControlAllowOrigin,e.checkAccessControlAllowCredentials,e.onlyOnMouseover).then(o).catch(function(r){o(),e.onError&&e.onError(r)})}
2))},p)):(r=r.target,l.delete(r),w.has(r.href)&&w.set(function(e,r){var n=e.get(r);try{n.remove(),e.delete(r)}catch(e){return e}return e}(w,r.href)))},f=n(r);!(a=f()).done;)l()},{threshold:f});return y(function(){for(var r,t=n(e.el&&e.el.length>0&&"A"===e.el[0].nodeName?e.el:(e.el||document).querySelectorAll("a"));!(r=t()).done;){var o=r.value;v.length&&!v.includes(o.hostname)||l(o,m)||A.observe(o)}},{timeout:e.timeout||2e3}),function(){c.clear(),A.disconnect()}},e.prefetch=d,e.prerender=h}); 3; 4/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */ 5/*! @drupal/once - v1.0.1 - 2021-06-12 */ 6var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}(); 7 8; 9/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 10window.drupalTranslations={"strings":{"":{"Add":"Ajouter","The block cannot be placed in this region.":"Le bloc ne peut pas \u00eatre plac\u00e9 dans cette r\u00e9gion.","Restricted to certain pages":"R\u00e9serv\u00e9 \u00e0 certaines pages","ID":"Identifiant (ID)","Divider":"S\u00e9parateur","Wrapping":"Conteneur","Press the down arrow key to activate":"Appuyer sur la touche fl\u00e8che bas pour activer","Button @name has been copied to the active toolbar.":"Le bouton @name a \u00e9t\u00e9 copi\u00e9 vers la barre d\u0027outils active.","Button @name has been removed from the active toolbar.":"Le bouton @name a \u00e9t\u00e9 retir\u00e9 de la barre d\u0027outils active.","Images can only be uploaded.":"Seules les images peuvent \u00eatre transf\u00e9r\u00e9es.","Images can only be added by URL.":"Les images peuvent seulement \u00eatre ajout\u00e9es par URL.","No styles configured":"Aucun style configur\u00e9","Disabled":"D\u00e9sactiv\u00e9","Not promoted":"Non promu","Edit":"Modifier","Not published":"Non publi\u00e9","Alias: @alias":"Alias : @alias","Requires a title":"Titre obligatoire","By @name":"Par @name","Authored on @date":"R\u00e9dig\u00e9 le @date","Insert this token into your form":"Ins\u00e9rer ce jeton (\u003Cem\u003Etoken\u003C\/em\u003E) dans votre formulaire","Don\u0027t display post information":"Ne pas afficher les informations de la contribution","Scheduled for publishing":"Planifi\u00e9 pour publication","Scheduled for unpublishing":"Planifi\u00e9 pour d\u00e9publication","Not scheduled":"Non planifi\u00e9","Publishing enabled":"Publication activ\u00e9e","Unpublishing enabled":"D\u00e9publication activ\u00e9e","No alias":"Aucun alias","No items selected":"Aucun \u00e9l\u00e9ment s\u00e9lectionn\u00e9","Apply (this display)":"Appliquer (cet affichage)","Revert to default":"R\u00e9tablir par d\u00e9faut","Close":"Fermer","opened":"ouvert","item":"\u00e9l\u00e9ment","Expand all":"Tout d\u00e9plier","Collapse all":"Tout replier","Tray \u0022@tray\u0022 @action.":"Sous-menu \u0022@tray\u0022 @action.","Tray @action.":"Sous-menu @action.","All details have been expanded.":"Tous les d\u00e9tails ont \u00e9t\u00e9 d\u00e9pli\u00e9s.","@label":"@label","items":"\u00e9l\u00e9ments","closed":"ferm\u00e9","Remove group":"Supprimer le groupe","By @name on @date":"Par @name le @date","Zero items selected":"Zero \u00e9l\u00e9ment s\u00e9lectionn\u00e9","All @count items selected":"Tous les @count \u00e9l\u00e9ments ont \u00e9t\u00e9 s\u00e9lectionn\u00e9s","Please avoid using the reserved word \u0027@key\u0027 as the element\u0027s key.":"Veuillez \u00e9viter d\u0027utiliser le mot r\u00e9serv\u00e9 \u0022@key\u0022 comme cl\u00e9 de l\u0027\u00e9l\u00e9ment.","Collapse sidebar":"Replier la barre lat\u00e9rale","Expand sidebar":"D\u00e9plier la barre lat\u00e9rale","Horizontal orientation":"Orientation horizontale","Not restricted":"Non restreint","You have unsaved changes.":"Vous avez des changements non enregistr\u00e9s.","Automatic alias":"Alias automatique","Apply (all displays)":"Appliquer (tous les affichages)","Open":"Ouvert","Show all columns":"Montrer toutes les colonnes","Title":"Titre","New revision":"Nouvelle version","Not in menu":"Pas dans le menu","Cancel":"Annuler","Select All":"Tout s\u00e9lectionner","Continue":"Continuer","Hide lower priority columns":"Cacher les colonnes de plus faible priorit\u00e9","Hide row weights":"Cacher le poids des lignes","Collapse":"Replier","Move in any direction":"D\u00e9placer dans n\u0027importe quelle direction","CustomMessage: !customMessage":"Message personnalis\u00e9 : !customMessage","Vertical orientation":"Orientation verticale","Error message":"Message d\u0027erreur","HTTP Result Code: !status":"Code de statut HTTP : !status","Changed":"Modifi\u00e9","Hide media item weights":"Masquer les poids des \u00e9l\u00e9ments m\u00e9dia","Change order":"Changer l\u0027ordre","List additional actions":"Lister les actions suppl\u00e9mentaires","Show media item weights":"Afficher les poids des \u00e9l\u00e9ments m\u00e9dia","Select all rows in this table":"S\u00e9lectionner toutes les lignes du tableau","No revision":"Aucune version","Do not flag other translations as outdated":"Ne pas marquer les autres traductions comme p\u00e9rim\u00e9es","Enabled":"Activ\u00e9","Needs to be updated":"N\u00e9cessite une mise \u00e0 jour","Hide description":"Masquer la description","
10Leave preview?":"Quitter l\u0027aper\u00e7u ?","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Le fichier s\u00e9lectionn\u00e9 %filename ne peut pas \u00eatre transf\u00e9r\u00e9. Seuls les fichiers avec les extensions suivantes sont autoris\u00e9s : %extensions.","Edit machine name":"Modifier le nom machine","Too long":"Saisie trop longue","StatusText: !statusText":"StatusText: !statusText","Invalid country code":"Code pays invalide","Crop image":"Recadrer l\u0027image","Cropping applied.":"Le recadrage a \u00e9t\u00e9 appliqu\u00e9.","Soft limit reached.":"Limite recommand\u00e9e atteinte.","Does not need to be updated":"Ne n\u00e9cessite aucune mise \u00e0 jour","Status message":"Message d\u0027\u00e9tat","Leave preview":"Quitter l\u0027aper\u00e7u","Selected 1 item\u0003Selected @count items":"1 \u00e9l\u00e9ment s\u00e9lectionn\u00e9\u0003@count \u00e9l\u00e9ments s\u00e9lectionn\u00e9s","Flag other translations as outdated":"Marquer les autres traductions comme p\u00e9rim\u00e9es","Show description":"Afficher la description","Extend":"Extension","@action @title configuration options":"options de configuration @action @title","Tray orientation changed to @orientation.":"L\u0027orientation du sous-menu est maintenant @orientation.","Deselect all rows in this table":"D\u00e9s\u00e9lectionner toutes les lignes du tableau","Show row weights":"Afficher le poids des lignes","ReadyState: !readyState":"ReadyState : !readyState","Hide":"Masquer","All details have been collapsed.":"Tous les d\u00e9tails ont \u00e9t\u00e9 repli\u00e9s.","Press the esc key to exit.":"Pressez la touche Echap pour quitter.","First click a text field to insert your tokens into.":"Cliquez d\u0027abord sur un champ de texte pour ins\u00e9rer vos jetons (\u003Cem\u003Etokens\u003C\/em\u003E) dans celui -ci.","ResponseText: !responseText":"ResponseText : !responseText","CSS classes":"Classes CSS","Warning message":"Message d\u0027avertissement","Select all media":"S\u00e9lectionner tous les m\u00e9dias","Processing...":"En cours de traitement...","The callback URL is not local and not trusted: !url":"L\u0027URL de retour n\u0027est pas locale et n\u0027est pas de confiance : !url","An error occurred during the execution of the Ajax response: !error":"Une erreur est survenue durant l\u0027ex\u00e9cution la r\u00e9ponse Ajax: !error","Changing the text format to %text_format will permanently remove content that is not allowed in that text format.\u003Cbr\u003E\u003Cbr\u003ESave your changes before switching the text format to avoid losing data.":"Basculer le format de texte en %text_format retirera d\u00e9finitivement le contenu qui n\u0027est pas autoris\u00e9 dans ce format de texte.\u003Cbr\u003E\u003Cbr\u003EPour \u00e9viter de perdre des donn\u00e9es, enregistrez vos changements avant de basculer le format de texte.","Advanced":"Avanc\u00e9","Select None":"Aucun","An AJAX HTTP error occurred.":"Une erreur HTTP AJAX s\u0027est produite."}},"pluralFormula":{"0":0,"1":0,"default":1}};; 11(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();; 12window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}
12).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);; 13if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);; 14(function(){'use strict';Drupal.behaviors.quicklink={attach:function attachQuicklink(context,settings){var debug=settings.quicklink.debug;function hydrateQuicklinkConfig(){settings.quicklink.quicklinkConfig=settings.quicklink.quicklinkConfig||{};settings.quicklink.ignoredLinks=settings.quicklink.ignoredLinks||[];var quicklinkConfig=settings.quicklink.quicklinkConfig;quicklinkConfig.ignores=[];for(var i=0;i<settings.quicklink.url_patterns_to_ignore.length;i++){var pattern=settings.quicklink.url_patterns_to_ignore[i];(function(i,pattern){if(pattern.length)quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Pattern found in href. See ignored URL patterns log.';var ruleFunc=uri.includes(pattern);outputDebugInfo(ruleFunc,ruleName,uri,elem,pattern);return ruleFunc;});})(i,pattern);}
14if(settings.quicklink.ignore_selectors)for(var i=0;i<settings.quicklink.ignore_selectors.length;i++){var pattern=settings.quicklink.ignore_selectors[i];(function(i,pattern){if(pattern.length)quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Element matches custom selectors within "ignore selectors" array. See log.';var ruleFunc=elem.matches(pattern);outputDebugInfo(ruleFunc,ruleName,uri,elem,pattern);return ruleFunc;});})(i,pattern);}if(settings.quicklink.ignore_admin_paths){var adminLinkContainerPatterns=settings.quicklink.admin_link_container_patterns.join();quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Exists in admin element container.';var ruleFunc=elem.matches(adminLinkContainerPatterns);outputDebugInfo(ruleFunc,ruleName,uri,elem);return ruleFunc;});}if(settings.quicklink.ignore_ajax_links){quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Link has "use-ajax" CSS class.';var ruleFunc=elem.classList.contains('use-ajax');outputDebugInfo(ruleFunc,ruleName,uri,elem);return ruleFunc;});quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Link has "/ajax" in url.';var ruleFunc=uri.includes('/ajax');outputDebugInfo(ruleFunc,ruleName,uri,elem);return ruleFunc;});}if(settings.quicklink.ignore_file_ext)quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Contains file extension at end of href.';var ruleFunc=uri.match(/(\.[^\/]{1,5}\?)|(\.[^\/]{1,5}$)/);outputDebugInfo(ruleFunc,ruleName,uri,elem);return ruleFunc;});if(settings.quicklink.total_request_limit)quicklinkConfig.limit=parseInt(settings.quicklink.total_request_limit);if(settings.quicklink.concurrency_throttle_limit)quicklinkConfig.throttle=parseInt(settings.quicklink.concurrency_throttle_limit);if(settings.quicklink.idle_wait_timeout)quicklinkConfig.timeout=parseInt(settings.quicklink.idle_wait_timeout);if(settings.quicklink.viewport_delay)quicklinkConfig.delay=parseInt(settings.quicklink.viewport_delay);quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Contains noprefetch attribute.';var ruleFunc=elem.hasAttribute('noprefetch');outputDebugInfo(ruleFunc,ruleName,uri,elem);return ruleFunc;});quicklinkConfig.ignores.push(function(uri,elem){var ruleName='Contains download attribute.';var ruleFunc=elem.hasAttribute('download');outputDebugInfo(ruleFunc,ruleName,uri,elem);return ruleFunc;});quicklinkConfig.origins=(settings.quicklink.allowed_domains)?settings.quicklink.allowed_domains:false;}function outputDebugInfo(ruleFunc,ruleName,uri,elem,pattern){if(debug&&ruleFunc){var debugMessage=ruleName+' Link ignored.';var thisLog={};var urlPattern=pattern||false;elem.classList.add('quicklink-ignore');elem.textContent+='ð«';elem.dataset.quicklinkMatch=debugMessage;thisLog.ruleName=ruleName;thisLog.uri=uri;thisLog.elem=elem;thisLog.message=debugMessage;if(urlPattern)thisLog.urlPattern=urlPattern;(function(thisLog){settings.quicklink.ignoredLinks.push(thisLog);})(thisLog);}}function loadQuicklink(){var urlParams=new URLSearchParams(window.location.search);var noprefetch=urlParams.get('noprefetch')!==null||window.location.hash==='#noprefetch';if(noprefetch&&debug)console.info('The "noprefetch" parameter or hash exists in the URL. Quicklink library not loaded.');return window.quicklink&&!noprefetch;}if(!settings.quicklink.quicklinkConfig)hydrateQuicklinkConfig();settings.quicklink.quicklinkConfig.el=(settings.quicklink.selector)?context.querySelector(settings.quicklink.selector):context;if(loadQuicklink())if(settings.quicklink.prefetch_only_paths)quicklink.prefetch(settings.quicklink.prefetch_only_paths);else try{quicklink.listen(settings.quicklink.quicklinkConfig);}catch(err){console.error('quicklink.listen is not found. Please verify you are running version 3 of the Quicklink library.',err);}if(debug){console.info('Quicklink config object',settings.quicklink.quicklinkConfig);console.info('Quicklink module debug log',settings.quicklink.debug_log);console.info('Quicklink ignored links',settings.quicklink.ignoredLinks);}}};})();; 15/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */ 16/*! 17* tabbable 6.3.0 18* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 19*/ 20!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t.tabbable,o=t.tabbable={};e(o),o.noConflict=function(){return t.tabbable=n,o}}())}(this,(function(t){"use strict";var e=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not
20(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],n=e.join(","),o="undefined"==typeof Element,r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function(t,e){var n;void 0===e&&(e=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||e&&t&&a(t.parentNode)},l=function(t,e,o){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(n));return e&&r.call(t,n)&&i.unshift(t),i=i.filter(o)},u=function(t,e,o){for(var i=[],l=Array.from(t);l.length;){var c=l.shift();if(!a(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=d.length?d:c.children,s=u(f,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:c,candidates:s})}else{r.call(c,n)&&o.filter(c)&&(e||!t.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),h=!a(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(p&&h){var v=u(!0===p?c.children:p.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:c,candidates:v})}else l.unshift.apply(l,c.children)}}return i},c=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!c(t)?0:t.tabIndex},f=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},s=function(t){return"INPUT"===t.tagName},p=function(t){return function(t){return s(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||i(t),o=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var r=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!r||r===t}(t)},h=function(t){var e=t.getBoundingClientRect(),n=e.width,o=e.height;return 0===n&&0===o},v=function(t,e){var n=e.displayCheck,o=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var a=r.call(t,"details>summary:first-of-type")?t.parentElement:t;if(r.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(t)}else{if("function"==typeof o){for(var l=t;t;){var u=t.parentElement,c=i(t);if(u&&!u.shadowRoot&&!0===o(u))return h(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=l}if(function(t){var e,n,o,r,a=t&&i(t),l=null===(e=a)||void 0===e?void 0:e.host,u=!1;if(a&&a!==t)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(l)||null!=t&&null!==(r=t.ownerDocument)&&void 0!==r&&r.contains(t));!u&&l;){var c,d,f;u=!(null===(d=l=null===(c=a=i(l))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(l))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(t,e){return!(e.disabled||a(e)||function(t){return s(t)&&"hidden"===t.type}(e)||v(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}
20(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var o=e.children.item(n);if("LEGEND"===o.tagName)return!!r.call(e,"fieldset[disabled] *")||!o.contains(t)}return!0}e=e.parentElement}return!1}(e))},y=function(t,e){return!(p(e)||d(e)<0||!b(t,e))},m=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},g=function(t){var e=[],n=[];return t.forEach((function(t,o){var r=!!t.scopeParent,i=r?t.scopeParent:t,a=function(t,e){var n=d(t);return n<0&&e&&!c(t)?0:n}(i,r),l=r?g(t.candidates):i;0===a?r?e.push.apply(e,l):e.push(i):n.push({documentOrder:o,tabIndex:a,item:t,isScope:r,content:l})})),n.sort(f).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(e)},w=e.concat("iframe").join(",");t.focusable=function(t,e){return(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:b.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):l(t,e.includeContainer,b.bind(null,e))},t.getTabIndex=d,t.isFocusable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,w)&&b(e,t)},t.isTabbable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,n)&&y(e,t)},t.tabbable=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:y.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:m}):l(t,e.includeContainer,y.bind(null,e)),g(n)}})); 21 22; 23/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 24(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);; 25/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */ 26loadjs=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}
26function 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}();; 27/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 28Drupal.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;};};; 29(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);; 30((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})=>
30{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);; 31((Drupal)=>{Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress--fullscreen"><div class="ajax-progress__throbber ajax-progress__throbber--fullscreen"> </div></div>';Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="ajax-progress__throbber"> </div>';return `<div class="ajax-progress ajax-progress--throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressMessage=(message)=>`<div class="ajax-progress__message">${message}</div>`;})(Drupal);; 32(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)=>
32{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;$(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
32d}`,$.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));
32$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);; 33(function($,window,Drupal,drupalSettings){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;let callable=this.progress.type;if(this.progress.type==='throbber'&&drupalSettings.ajaxLoader.alwaysFullscreen)callable='fullscreen';
33const progressIndicatorMethod=`setProgressIndicator${callable.slice(0,1).toUpperCase()}${callable.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){if(!this.progressIsSet()){this.progress.element=$(`<div class="ajax-progress ajax-progress-throbber"><div class="ajax-loader">${drupalSettings.ajaxLoader.markup}</div></div>`);if(this.progress.message&&!drupalSettings.ajaxLoader.hideAjaxMessage)this.progress.element.find('.ajax-loader').after(`<div class="message">${this.progress.message}</div>`);$(this.element).after(this.progress.element);}};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){if(!this.progressIsSet()){this.progress.element=$(`<div class="ajax-progress ajax-progress-fullscreen">${drupalSettings.ajaxLoader.markup}</div>`);$(drupalSettings.ajaxLoader.throbberPosition).after(this.progress.element);}};Drupal.Ajax.prototype.progressIsSet=function(){return (this.progress.type!=='throbber'&&this.progress.hasOwnProperty('element')&&this.progress.element.hasOwnProperty('length')&&this.progress.element.length>0);};})(jQuery,this,Drupal,drupalSettings);; 34(function($,Drupal,drupalSettings){Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){if(!this.progressIsSet()){this.progress.element=$(`<div class="ajax-progress ajax-progress-fullscreen">${drupalSettings.ajaxLoader.markup}</div>`);const dialogs=document.querySelectorAll('dialog[open]');if(dialogs.length)$(dialogs[dialogs.length-1]).append(this.progress.element);else $(drupalSettings.ajaxLoader.throbberPosition).after(this.progress.element);}};})(jQuery,Drupal,drupalSettings);; 35(function($,Drupal){'use strict';Drupal.behaviors.captchafox={attach:function(context){$('.captchafox',context).each(function(){if(typeof captchafox==='undefined'||typeof captchafox.render!=='function')return;if($(this).closest('body').length>0)if($(this).hasClass('captchafox-processed'))captchafox.reset();else{captchafox.render(this,$(this).data());$(this).addClass('captchafox-processed');}});}};window.drupalCaptchafoxOnload=function(){$('.captchafox').each(function(){if(!$(this).hasClass('captchafox-processed')){captchafox.render(this,$(this).data());$(this).addClass('captchafox-processed');}});};})(jQuery,Drupal);; 36(function(){(function(){function o(r){document.querySelectorAll(`.accordion-${r}`).forEach((t)=>{if(t.dataset.accordionInit)return;t.dataset.accordionInit="true",t.querySelectorAll(".accordion__trigger").forEach((n)=>{n.addEventListener("click",()=>{const e=n.getAttribute("aria-expanded")==="true",c=n.getAttribute("aria-controls"),i=c?t.querySelector(`#${c}`):null;n.setAttribute("aria-expanded",String(!e)),i&&(i.hidden=e);});});});}window.initAccordion=o;})();})();; 37(function(){(function(r){const a="__parcAsterixAccountLegalBound",i="[data-account-legal-toggle]",u="[data-account-legal]",L="[data-account-legal-full]",g="[data-account-legal-label]",s="is-open",E="is-expanded";function d(l){let t=l.parentElement;for(;t;){const {overflowY:e}=window.getComputedStyle(t);if(/(auto|scroll|overlay)/.test(e)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement;}return null;}function S(l){const t=l.target;if(!(t instanceof Element))return;const e=t.closest(i);if(!e)return;const c=e.closest(u)?.querySelector(L);if(!c)return;const n=!c.classList.contains(s);c.classList.toggle(s,n),e.classList.toggle(E,n),e.setAttribute("aria-expanded",String(n));const o=e.querySelector(g);o&&(o.textContent=n?e.dataset.labelLess??o.textContent:e.dataset.labelMore??o.textContent),n&&window.setTimeout(()=>{(d(e)??window).scrollBy({top:75,behavior:"smooth"});},350);}function f(){window[a]||(document.addEventListener("click",S,!0),window[a]=!0);}r.behaviors.parcAsterixAccountLegal={attach(){f();}};})(Drupal);})();; 38(function(){const tt=".animation-slider-hp-fear",et="(max-width: 30rem)",P=(u,n,h)=>u<n?n:u>h?h:u,$=(u)=>{const n=Math.sin(u*127.1)*43758.5453;return n-Math.floor(n);},X=(u)=>u*u*(3-2*u);function st(u){return fetch(u,{credentials:"same-origin"}).then((n)=>n.ok?n.text():Promise.reject(new Error(`rig ${n.status}`))).then((n)=>{const h=new DOMParser().parseFromString(n,"image/svg+xml"),i=(h.documentElement.getAttribute("viewBox")||"0 0 100 100").split(/[\s,]+/).map(Number),t=(c)=>{const a=h.getElementById(c)?.getAttribute("d");return a?new Path2D(a):null;},r=(c)=>{const a=h.getElementById(c);return a?[Number(a.getAttribute("cx")),Number(a.getAttribute("cy")),Number(a.getAttribute("data-rest")||0)]:null;},o=t("body"),p=[t("wing-left"),t("wing-right")],y=[r("pivot-left"),r("pivot-right")];if(!o||p.some((c)=>!c)||y.some((c)=>!c))return null;const x=[t("tip-left"),t("tip-right")],m=[r("pivot-tip-left")||[0,0,0],r("pivot-tip-right")||[0,0,0]];return {vb:i,body:o,wing:p,pivot:y,tip:x,tipPivot:m};});}function J(u,n,h){let s=0,i=0;for(let t=0;t<n.length;
38t++)s+=n[t][1]*Math.sin(u*n[t][0]+h*(t+1)),i+=n[t][1];return .5+.5*(s/i);}const K=new Map();function ot(u){return K.has(u)||K.set(u,fetch(u,{credentials:"same-origin"}).then((n)=>{if(!n.ok)throw new Error(`fear preset ${n.status}`);return n.json();})),K.get(u);}function it(u,n){const [h,s,i,t]=u;if(n<=i/t){const o=t*n;return [h+(i-o)/2,s,o,t];}const r=i/n;return [h,s+(t-r)/2,i,r];}function nt(u,n){let h=u[0],s=1/0;return u.forEach((i)=>{const t=Math.abs(i.rect[2]/i.rect[3]-n);t<s&&(s=t,h=i);}),h;}class rt{constructor(n,h,s,i,t,r){this.canvas=n,this.img=h,this.preset=s,this.on=i,this.assets=t,this.isActive=r,this.ctx=null,this.W=0,this.H=0,this.vis=[0,0,1,1],this.k=1,this.kx=1,this.t=0,this.last=0,this.running=!1,this.seed=20261031,this.strikes=[],this.cycleIndex=-1,this.fired=[],this.schedule=[],this.stormLevel=0,this.stormSurge=0,this.motes=[],this.fog=[],this.fogSeeded=!1,this.tints=new Map();}rnd(){return this.seed=this.seed*16807%2147483647,this.seed/2147483647;}measure(){const {img:n,canvas:h,preset:s}=this,i=n.naturalWidth,t=n.naturalHeight,r=h.getBoundingClientRect();if(!i||!t||r.width<2||r.height<2)return !1;const o=Math.min(window.devicePixelRatio||1,2),p=Math.round(Math.min(r.width*o,2048)),y=Math.round(r.height*(p/r.width)),x=nt(s.bases,i/t),m=it(x.rect,i/t),c=s.referenceRect,a=Math.max(r.width/i,r.height/t),l=Math.min(i,r.width/a),b=Math.min(t,r.height/a),g=(i-l)/2,w=(t-b)/2,M=(C)=>(m[0]+C*m[2]-c[0])/c[2],e=(C)=>(m[1]+C*m[3]-c[1])/c[3],d=M(g/i),f=e(w/t),S=[d,f,M((g+l)/i)-d,e((w+b)/t)-f];return p===this.W&&y===this.H&&S.every((C,k)=>Math.abs(C-this.vis[k])<1e-6)?!1:(this.W=p,this.H=y,h.width=p,h.height=y,this.ctx=h.getContext("2d",{alpha:!0}),this.vis=S,this.k=y/S[3],this.kx=p/S[2],!0);}px(n){return (n-this.vis[0])*this.kx;}py(n){return (n-this.vis[1])*this.k;}start(){this.running||(this.running=!0,this.last=0,requestAnimationFrame((n)=>this.loop(n)));}stop(){this.running=!1;}loop(n){if(!this.running)return;if(requestAnimationFrame((s)=>this.loop(s)),!this.isActive()){this.last=0;return;}const h=this.last?Math.min((n-this.last)/1e3,.05):1/60;this.last=n,this.t+=h,this.draw(this.t,h);}draw(n,h){const {W:s,H:i,ctx:t,preset:r,on:o}=this;t&&(t.setTransform(1,0,0,1,0,0),t.globalCompositeOperation="source-over",t.clearRect(0,0,s,i),this.stormLevel=0,this.stormSurge=0,o.storm&&this.drawStorm(n,h),o.moonClouds&&r.moonClouds&&this.drawMoonClouds(n),o.bats&&this.drawFlyers(n,r.bats),o.fog&&r.fog&&this.drawFog(n,h),o.pumpkins&&this.drawFlicker(n,r.pumpkins),o.lamps&&this.drawFlicker(n,r.lamps),o.moon&&this.drawFlicker(n,r.moon),o.motes&&this.drawMotes(n,h),t.globalCompositeOperation="source-over");}drawStorm(n,h){const {ctx:s,W:i,H:t,preset:r}=this,o=r.storm;if(!s)return;const p=n%o.cycle,y=Math.floor(n/o.cycle);y!==this.cycleIndex&&(this.cycleIndex=y,this.fired=o.strikes.map(()=>!1),this.schedule=o.strikes.map((a,l)=>{const b=y*31+l*7,g=!!a.fixed;return {...a,t:g?a.t:P(a.t+($(b+1)-.5)*(o.jitter||0),0,o.cycle-.05),power:g?a.power:a.power*(.75+.5*$(b+2)),skip:g?!1:$(b+3)<(o.skip||0),bolt:typeof a.bolt=="boolean"?a.bolt:$(b+4)<(o.bolt||0),seed:b};})),this.schedule.forEach((a,l)=>{!this.fired[l]&&p>=a.t&&(this.fired[l]=!0,a.skip||this.strikes.push({s:a,age:0}));});let x=0,m=0;s.globalCompositeOperation="screen";const c=o.core||"235,240,255";if(this.strikes=this.strikes.filter((a)=>{a.age+=h;const l=a.s,b=l.pulses*o.pulse;if(a.age>b+o.decay)return !1;let g;if(a.age<b){const k=a.age%o.pulse/o.pulse,E=Math.floor(a.age/o.pulse);g=Math.exp(-k*3.2)*(.5+.5*$(l.seed+E*13));}else{const k=1-(a.age-b)/o.decay;g=Math.pow(k,2.2)*.45*(.85+.15*Math.sin(a.age*40+l.seed));}g*=l.power,x=Math.max(x,g),a.age<o.pulse*.6&&(m=Math.max(m,g));const w=o.cells[l.cell],M=w.rx*this.kx,e=w.ry*this.k;if(M<=1||e<=1)return !0;const d=this.px(w.x),f=this.py(w.y);this.blob(d,f,M*2.2,e*2,o.color,o.alpha*g*.22,.4);const S=o.lobes||3;let v=d,C=f;for(let k=0;k<S;k++){const E=($(l.seed+20+k)-.5)*M*.9,I=($(l.seed+40+k)-.5)*e*.8,A=.55+.45*$(l.seed+60+k);this.blob(d+E,f+I,M*A,e*A,o.color,o.alpha*g*(.6+.4*A),.4),k===0&&(v=d+E,C=f+I);}if(this.blob(v,C,M*.28,e*.32,c,o.alpha*g*.9,.35),l.bolt&&a.age<b){const k=(o.boltLength?o.boltLength[0]+$(l.seed+5)*(o.boltLength[1]-o.boltLength[0]):.08)*this.k,E=7,I=[[v,C+e*.4]];for(let O=1;O<=E;O++){const z=O/E;I.push([v+($(l.seed+80+O)-.5)*k*.45+($(l.seed+6)-.5)*k*.6*z,C+e*.4+z*k]);}const A=(o.boltAlpha??.75)*g;s.lineCap="round",s.lineJoin="round",[[.008*this.k,o.color,A*.35],[.0028*this.k,c,A*.7],[.0011*this.k,"255,255,255",A]].forEac
38h(([O,z,B])=>{s.strokeStyle=`rgba(${z},${B.toFixed(3)})`,s.lineWidth=Math.max(.6,O),s.beginPath(),I.forEach((L,_)=>_?s.lineTo(L[0],L[1]):s.moveTo(L[0],L[1])),s.stroke();});}return !0;}),x>.001&&o.ambient){const a=s.createLinearGradient(0,0,0,t),l=o.ambientColor||o.color;a.addColorStop(0,`rgba(${l},${(o.ambient*x).toFixed(4)})`),a.addColorStop(.45,`rgba(${l},${(o.ambient*x*.7).toFixed(4)})`),a.addColorStop(1,`rgba(${l},${(o.ambient*x*.3).toFixed(4)})`),s.fillStyle=a,s.fillRect(0,0,i,t);}if(o.veil){const a=o.veil;a.items.forEach((l,b)=>{const g=n*a.speed+l.ph,w=l.rx*this.kx,M=l.ry*this.k,e=a.alpha*(.25+.75*Math.pow(.5+.5*Math.sin(g*.81+b),1.7))*(1+x*2),d=this.px(l.x+Math.sin(g)*l.travel),f=this.py(l.y+Math.sin(g*.63+1.1)*l.rise);s.save(),s.translate(d,f),s.rotate(l.tilt||0),s.translate(-d,-f),this.blob(d,f,w,M,a.color,e,.38),s.restore();});}this.stormLevel=x,this.stormSurge=m;}drawFlicker(n,h){const {ctx:s}=this;s&&(s.globalCompositeOperation="screen",h.items.forEach((i,t)=>{const r=i.phase??t*1.7;let o=J(n,i.octaves||h.octaves,r);if(i.dips){const c=J(n*.37,[[1,1],[2.7,.5]],r*1.8);o*=1-i.dips*P((.55-c)*3,0,1);}i.couple&&this.stormLevel>.01&&(o*=1-i.couple*.75*this.stormLevel,o+=i.couple*1.4*this.stormSurge),o=P(o,0,2);const p=i.jitter?Math.sin(n*5.3+r)*i.jitter:0,y=i.jitter?Math.sin(n*4.1+r*2.2)*i.jitter*.6:0,x=this.px(i.x+p),m=this.py(i.y+y);[[i.halo,i.haloAlpha,i.haloColor||i.color],[i.core,i.coreAlpha,i.color]].forEach(([c,a,l])=>{if(!c)return;const b=c*this.kx*(.85+.3*o);if(b<=.5)return;const g=s.createRadialGradient(x,m,0,x,m,b);g.addColorStop(0,`rgba(${l},${(a*o).toFixed(4)})`),g.addColorStop(.45,`rgba(${l},${(a*o*.35).toFixed(4)})`),g.addColorStop(1,`rgba(${l},0)`),s.fillStyle=g,s.beginPath(),s.arc(x,m,b,0,6.284),s.fill();});}));}drawFlyers(n,h){const {ctx:s}=this,i=this.assets[h.asset];if(!s||!i)return;const t=i.rig,r=i.img;if(!t&&!(r&&r.complete&&r.naturalWidth))return;s.globalCompositeOperation="source-over";const o=t?t.vb[3]/t.vb[2]:r.naturalHeight/r.naturalWidth,p=h.rig||{},y=p.up??40,x=p.down??24,m=p.glide??6,c=p.warp??.45,a=p.tipLag??.9,l=p.tipFold??.55,b=P(p.bout??.6,0,1),g=h.items.slice();(h.flocks||[]).forEach((e,d)=>{if(e.on===!1)return;const f=Math.round(e.count*P(this.W/1200,.5,1));for(let S=0;S<f;S++){const v=(E)=>$(S*3.1+d*97+E*13.7),C=(E)=>v(E)+v(E+50)-1,k=C(1)*e.spread[1];g.push({from:e.from,to:e.to,y:e.y+k,yTo:(e.yTo??e.y)+k*(e.zoom||1),zoom:e.zoom,once:e.once,every:e.every,delay:e.delay,size:e.size[0]+v(2)*(e.size[1]-e.size[0]),waves:e.waves*(.8+.4*v(3)),bob:e.bob*(.7+.6*v(4)),period:e.period,phase:(e.phase||0)+C(5)*e.spread[0],flap:e.flap[0]+v(6)*(e.flap[1]-e.flap[0]),alpha:e.alpha*(.8+.2*v(7)),tilt:0,tint:e.tint,blur:e.blur});}});const w=(e,d)=>{const f=Math.pow(e.zoom||1,d),S=e.from+(e.to-e.from)*d,v=e.y+((e.yTo??e.y)-e.y)*d+Math.sin(d*6.2832*e.waves+e.phase*6.2832)*e.bob*f+Math.sin(d*6.2832*e.waves*2.7+1.3)*e.bob*.28*f;return [S,v];},M=(e)=>{const d=Math.sin(e);return d>0?y*d:x*d;};g.forEach((e,d)=>{let f;if(e.once||e.every){const R=n-(e.delay||0);if(f=(e.every?(R%e.every+e.every)%e.every:R)/e.period+(e.phase||0),f<0||f>1)return;}else f=((n/e.period+e.phase)%1+1)%1;const [S,v]=w(e,f),[C,k]=w(e,f+.004),E=this.px(S),I=this.py(v),A=Math.pow(e.zoom||1,f),O=e.size*this.kx*A,z=O*o;if(O<1)return;const B=Math.min(1,f/.07,(1-f)/.07);if(B<=0)return;const L=e.to>=e.from?1:-1,_=Math.atan2((this.py(k)-I)*L,Math.abs(this.px(C)-E)||1),j=e.flap?b>=1?1:X(P((J(n*.3,[[1,1],[2.3,.5]],4.7*d+11)-(1-b))/.16,0,1)):0,Y=n*(e.flap||0)+d*2.1,H=Y+c*Math.sin(Y);if(s.save(),s.globalAlpha=e.alpha*B,e.blur&&(s.filter=`blur(${(e.blur*this.kx*Math.pow(A,-.6)).toFixed(2)}px)`),t){const R=j*M(H)+(1-j)*m,N=-l*j*M(H-a),D=j*z*.08*Math.cos(H),F=O/t.vb[2],Q=new DOMMatrix().translateSelf(E,I+D).rotateSelf((_*.65+(e.tilt||0))*180/Math.PI).scaleSelf(L*F,F).translateSelf(-(t.vb[0]+t.vb[2]/2),-(t.vb[1]+t.vb[3]/2)),G=new Path2D();G.addPath(t.body,Q);for(let W=0;W<2;W++){const U=W===0?1:-1,q=t.pivot[W],V=Q.multiply(new DOMMatrix().translateSelf(q[0],q[1]).rotateSelf(U*(R-(q[2]||0))).translateSelf(-q[0],-q[1]));G.addPath(t.wing[W],V);const Z=t.tip[W];if(Z){const T=t.tipPivot[W],ct=V.multiply(new DOMMatrix().translateSelf(T[0],T[1]).rotateSelf(U*(N-(T[2]||0))).translateSelf(-T[0],-T[1]));G.addPath(Z,ct);}}s.fillStyle=`rgb(${e.tint||"40,30,30"})`,s.fill(G);}else{const R=r,N=.5+.5*Math.sin(H),D=1-j*(.58-.58*Math.pow(N,.55));s.translate(E,I-(1-D)*z*.12),s.rotate(_*.65+j*Math.sin(H)*.06+(e.tilt||0)),s.scale(L*D,1+.
3816*(1-D)),s.drawImage(e.tint?this.tinted(R,e.tint):R,-O/2,-z/2,O,z);}s.restore();}),s.globalAlpha=1;}tinted(n,h){const s=this.tints.get(h);if(s)return s;const i=document.createElement("canvas");i.width=n.naturalWidth,i.height=n.naturalHeight;const t=i.getContext("2d");return t&&(t.drawImage(n,0,0),t.globalCompositeOperation="source-in",t.fillStyle=`rgb(${h})`,t.fillRect(0,0,i.width,i.height)),this.tints.set(h,i),i;}blob(n,h,s,i,t,r,o=.45){const {ctx:p}=this;if(!p||s<=1||i<=1||r<=.002)return;p.save(),p.translate(n,h),p.scale(1,i/s);const y=p.createRadialGradient(0,0,0,0,0,s);y.addColorStop(0,`rgba(${t},${r.toFixed(4)})`),y.addColorStop(.5,`rgba(${t},${(r*o).toFixed(4)})`),y.addColorStop(1,`rgba(${t},0)`),p.fillStyle=y,p.beginPath(),p.arc(0,0,s,0,6.284),p.fill(),p.restore();}drawFog(n,h){const {ctx:s,preset:i}=this,t=i.fog;if(!s)return;const r=t.regions||[t.region],o=r.map((c)=>c[2]-c[0]),p=o.reduce((c,a)=>c+a,0),y=()=>{let c=this.rnd()*p;for(let a=0;a<r.length;a++)if((c-=o[a])<=0)return a;return r.length-1;},x=(c)=>{const a=y(),[l,b,g,w]=r[a],M=t.life[0]+this.rnd()*(t.life[1]-t.life[0]);return {ri:a,x:l+this.rnd()*(g-l),y:b+(w-b)*(.3+.7*Math.sqrt(this.rnd())),dir:this.rnd()<.5?-1:1,ph:this.rnd()*6.28,r0:t.size[0]+this.rnd()*(t.size[1]-t.size[0]),vy:t.rise*(.7+.6*this.rnd()),life:M,age:c?this.rnd()*M:0};};if(!this.fogSeeded){this.fogSeeded=!0;for(let c=0;c<t.count;c++)this.fog.push(x(!0));}this.fog.length<t.count*1.4&&this.rnd()<h*t.rate&&this.fog.push(x(!1)),s.globalCompositeOperation="source-over";const m=1+this.stormLevel*.8;this.fog=this.fog.filter((c)=>{if(c.age+=h,c.age>c.life)return !1;const [a,,l]=r[c.ri]||r[0],b=c.age/c.life,g=.7*Math.sin(n*t.swirl+c.ph)+.3*Math.sin(n*t.swirl*2.3+c.ph*1.9),w=c.x+c.dir*t.drift*c.age+.012*g,M=c.y-c.vy*c.age,e=c.r0*this.kx*(1+t.grow*b);let d=1;a>=0&&(d*=X(P((w-a)/.08,0,1))),l<=1&&(d*=X(P((l-w)/.08,0,1)));const f=t.alpha*Math.pow(Math.sin(Math.PI*b),.85)*d*m;return this.blob(this.px(w),this.py(M),e,e*.55,t.color,f),!0;});}drawMoonClouds(n){const {ctx:h,preset:s}=this,i=s.moonClouds;if(!h)return;const t=i.moon,[r,o]=i.band,p=this.px(t.x),y=this.py(t.y),x=t.r*this.kx;i.clouds.forEach((m,c)=>{const a=((n*i.speed*m.speed+m.ph)%1+1)%1,l=r+a*(o-r),b=Math.min(1,a/.07,(1-a)/.07);if(b<=0)return;const g=m.len*this.kx*.5,w=Math.hypot(this.px(l)-p,this.py(m.y)-y),M=P(1-w/(x+g),0,1),e=m.blobs||5;for(let d=0;d<e;d++){const f=d/(e-1)-.5,S=l+f*m.len*.9,v=m.y+Math.sin(d*2.1+c)*m.h*.25,C=m.len/e*this.kx*1.5*(.75+.5*$(d+c*7)),k=m.h*this.k*(.7+.6*$(d+c*7+3)),E=i.alpha*b*(.8+.4*$(d*3+c));h.globalCompositeOperation="source-over",this.blob(this.px(S),this.py(v),C,k,i.color,E,.55),M>.02&&i.rimAlpha&&(h.globalCompositeOperation="screen",this.blob(this.px(S),this.py(v),C*1.3,k*1.5,i.rim,i.rimAlpha*b*M,.3));}}),h.globalCompositeOperation="source-over";}drawMotes(n,h){const {ctx:s,preset:i}=this,t=i.motes;if(s){if(Math.random()<h*t.rate){const r=t.sources[Math.floor(this.rnd()*t.sources.length)];this.motes.push({x:r.x+(this.rnd()-.5)*r.spread,y:r.y+(this.rnd()-.5)*r.spread*.5,vy:-(t.speed[0]+this.rnd()*(t.speed[1]-t.speed[0])),vx:(this.rnd()-.5)*(t.drift||0)*.4,ph:this.rnd()*6.28,life:t.life[0]+this.rnd()*(t.life[1]-t.life[0]),age:0,s:.7+this.rnd()*1.1,c:t.colors[Math.floor(this.rnd()*t.colors.length)]});}s.globalCompositeOperation="lighter",this.motes=this.motes.filter((r)=>{if(r.age+=h,r.age>r.life)return !1;r.y+=r.vy*h,r.x+=r.vx*h,r.vy*=1-.35*h;const o=1-r.age/r.life,p=this.px(r.x+Math.sin(n*1.6+r.ph)*(t.drift||0)*(1-o)),y=this.py(r.y),x=t.size*this.k*r.s*(.9+o*1.3)*2.6,m=t.alpha*o*o;if(x<=.4)return !0;const c=s.createRadialGradient(p,y,0,p,y,x);return c.addColorStop(0,`rgba(${r.c},${m.toFixed(3)})`),c.addColorStop(1,`rgba(${r.c},0)`),s.fillStyle=c,s.beginPath(),s.arc(p,y,x,0,6.284),s.fill(),!0;});}}}function at(u){const n=u.querySelector(".animation-slider-hp-fear__canvas"),h=u.dataset.animPreset;if(!n||!h||!n.getContext||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const s=u.dataset.animImage,i=s?u.parentElement?.querySelector(s)||document.querySelector(s):u.parentElement?.querySelector("img");if(!i)return;const t=new Image();let r={};if(u.dataset.animLayers)try{r=JSON.parse(u.dataset.animLayers);}catch{r={};}ot(h).then((o)=>{const p=h.replace(/[?#].*$/,"").replace(/[^/]*$/,""),y=(h.match(/\?.*$/)||[""])[0],x={};Object.keys(o.assets||{}
38).forEach((d)=>{const f=o.assets[d],S={};if(x[d]=S,/\.svg$/i.test(f))st(p+f+y).then((v)=>{S.rig=v||void 0;}).catch(()=>{});else{const v=new Image();v.decoding="async",v.src=p+f+y,S.img=v;}});const m=window.matchMedia(et),c={},a=()=>{Object.keys(c).forEach((d)=>delete c[d]),Object.assign(c,o.layers,m.matches?o.layersMobile:null,r);};a(),typeof m.addEventListener=="function"&&m.addEventListener("change",a);const l=u.closest(".swiper-slide");let b=!0;const g=()=>b&&!document.hidden&&(!l||l.classList.contains("swiper-slide-active")),w=new rt(n,t,o,c,x,g);let M="";const e=()=>{const d=i.currentSrc||i.src;if(d&&d!==M&&(M=d,t.src=d),!t.naturalWidth){t.addEventListener("load",e,{once:!0});return;}w.measure()&&w.start();};e(),i.addEventListener("load",e),window.addEventListener("resize",e),typeof ResizeObserver<"u"&&new ResizeObserver(e).observe(u),typeof IntersectionObserver<"u"&&new IntersectionObserver((d)=>{b=d.some((f)=>f.isIntersecting);},{rootMargin:"10%"}).observe(u),w.start();}).catch(()=>{});}Drupal.behaviors.parcAsterixAnimationSliderHpFear={attach(u){once("animation-slider-hp-fear",tt,u).forEach(at);}};})();; 39(function(){const PROCESSED_FLAG="skyTriggerBound";const WRAPPER_SELECTOR=".sky-wrapper";const ACTIVE_CLASS="is-active";function resolveTrigger(wrapper){const selector=wrapper.dataset.skyTrigger;if(selector){const match=wrapper.closest(selector);if(match instanceof HTMLElement)return match;}return wrapper.parentElement instanceof HTMLElement?wrapper.parentElement:null;}function bindWrapper(wrapper){if(wrapper.dataset[PROCESSED_FLAG]==="1")return;const trigger=resolveTrigger(wrapper);if(!trigger)return;trigger.addEventListener("mouseenter",()=>{wrapper.classList.add(ACTIVE_CLASS);});trigger.addEventListener("mouseleave",()=>{wrapper.classList.remove(ACTIVE_CLASS);});wrapper.dataset[PROCESSED_FLAG]="1";}Drupal.behaviors.parcAsterixAnimationsSky={attach(context){const root=context instanceof Element?context:document;root.querySelectorAll(WRAPPER_SELECTOR).forEach((el)=>{if(el instanceof HTMLElement)bindWrapper(el);});}};})();;
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.