PageSourceSearch

https://www.vagabondo.net/sites/default/files/js/js_tRVYNwF1K4Hjh0…GD10KWfYPfhprZAxMmHAc5cfj9qoI1KtEY2-gac3sYh

js vagabondo.net collected 2026-09-26 00:28:02 UTC 87,242 bytes, 36 lines download raw bytes

1/* @license MIT https://raw.githubusercontent.com/jquery/jquery/4.0.0/LICENSE.txt */
2(function(window){'use strict';var $=window.jQuery;if(!$||$.fn.__vagabondoJqCompat)return;$.fn.__vagabondoJqCompat=true;var class2type={};'Boolean Number String Function Array Date RegExp Object Error Symbol'.split(' ').forEach(function(name){class2type['[object '+name+']']=name.toLowerCase();});if(typeof $.type!=='function')$.type=function(obj){if(obj==null)return obj+'';return (typeof obj==='object'||typeof obj==='function')?(class2type[Object.prototype.toString.call(obj)]||'object'):typeof obj;};if(typeof $.isFunction!=='function')$.isFunction=function(obj){return typeof obj==='function';};if(typeof $.isArray!=='function')$.isArray=Array.isArray;if(typeof $.isWindow!=='function')$.isWindow=function(obj){return obj!=null&&obj===obj.window;};if(typeof $.trim!=='function')$.trim=function(text){return text==null?'':String.prototype.trim.call(text);};if(typeof $.isNumeric!=='function')$.isNumeric=function(obj){var type=$.type(obj);return (type==='number'||type==='string')&&!isNaN(obj-parseFloat(obj));};if(typeof $.nodeName!=='function')$.nodeName=function(elem,name){return elem&&elem.nodeName&&elem.nodeName.toLowerCase()===name.toLowerCase();};if(typeof $.proxy!=='function')$.proxy=function(fn,context){var args=Array.prototype.slice.call(arguments,2);return function(){return fn.apply(context,args.concat(Array.prototype.slice.call(arguments)));};};})(window);;
3/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
4/*! @drupal/once - v1.0.1 - 2021-06-12 */
5var 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}();
6
7;
8/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
9window.drupalTranslations={"strings":{"":{"An AJAX HTTP error occurred.":"Si \u00e8 verificato un errore HTTP in AJAX.","HTTP Result Code: !status":"Codice HTTP di risposta: !status","An AJAX HTTP request terminated abnormally.":"Una richiesta AJAX HTTP \u00e8 terminata in modo anomalo.","Debugging information follows.":"Di seguito le informazioni di debug.","Path: !uri":"Percorso: !uri","StatusText: !statusText":"StatusText: !statusText","ResponseText: !responseText":"ResponseText: !responseText","ReadyState: !readyState":"ReadyState: !readyState","CustomMessage: !customMessage":"Messaggio personalizzato: !customMessage","Please wait...":"Attendere prego...","The response failed verification so will not be processed.":"La risposta non ha superato la verifica, quindi non verr\u00e0 elaborata.","The callback URL is not local and not trusted: !url":"L\u0027URL di callback non \u00e8 locale o non \u00e8 affidabile: !url","Changed":"Changed","Processing...":"In elaborazione...","Hide":"Chiudi","Show":"Mostra","List additional actions":"Mostra ulteriori azioni","New revision":"Nuova revisione","No revision":"Nessuna revisione","Needs to be updated":"Deve essere aggiornato","Does not need to be updated":"Non ha bisogno di essere aggiornato","Flag other translations as outdated":"Marca altre traduzioni come obsolete","Do not flag other translations as outdated":"Non marcare altre traduzioni come obsolete","Edit":"Edit","Status message":"Messaggio di stato","Error message":"Messaggio di errore","Warning message":"Messaggio di avvertimento","Show row weights":"Mostra l\u0027ordine delle righe.","Hide row weights":"Nascondi l\u0027ordine delle righe","Drag to re-order":"Trascina per riordinare","You have unsaved changes.":"Sono presenti modifiche non salvate.","Show all columns":"Mostra tutte le colonne","Hide lower priority columns":"Nascondi colonne a priorit\u00e0 inferiore.","Show table cells that were hidden to make the table fit within a small screen.":"Mostra le celle che sono state nascoste per adattare la tabella ad uno schermo piccolo.","Select all rows in this table":"Seleziona tutte le righe in questa tabella","Deselect all rows in this table":"Deseleziona tutte le righe in questa tabella","(active tab)":"(scheda attiva)","Not restricted":"Non limitato","Restricted to certain pages":"Limitato a certe pagine","The block cannot be placed in this region.":"Il blocco non pu\u00f2 essere posizionato in questa regione.","Please provide a name for the button group.":"Fornire un nome per il gruppo di pulsanti.","Button group name":"Nome del gruppo di pulsanti","Apply":"Apply","Cancel":"Annulla","Editing the name of the new button group in a dialog.":"Modificare il nome di un gruppo di pulsanti in una finestra di dialogo.","Editing the name of the \u0022@groupName\u0022 button group in a dialog.":"Modificare il nome del gruppo di puslanti \u0022@groupName\u0022 in una finestra di dialogo.","Place a button to create a new button group.":"Posizionare un pulsante per creare un nuovo gruppo di pulsanti.","New group":"Nuovo gruppo","Add a CKEditor button group to the end of this row.":"Aggiungi un gruppo di pulsanti di CKEditor alla fine di questa riga.","Add group":"Agg
9iungi gruppo","Uploads disabled":"Upload disattivati","Uploads enabled, max size: @size @dimensions":"Caricamento abilitato, dimensione massima: @size @dimensions","Rich Text Editor, !label field":"Editor di testo formattato, campo !label","Loading...":"In caricamento...","No styles configured":"Nessuno stile configurato","@count styles configured":"@count stili configurati","Image":"Image","Link":"Link","Unlink":"Rimuovi link","Edit Link":"Modifica link","@groupName button group in position @position of @positionCount in row @row of @rowCount.":"Gruppo di pulsanti @groupName nella posizione @position di @positionCount nella riga @row di @rowCount.","Press the down arrow key to create a new row.":"Premere il tasto freccia gi\u00f9 per creare una nuova riga.","button":"pulsante","@name @type.":"@type @name.","Press the down arrow key to activate.":"Premere il tasto freccia verso il basso per attivare.","@name @type in position @position of @positionCount in @groupName button group in row @row of @rowCount.":"@type @name nella posizione @position di @positionCount nel gruppo di pulsanti @groupName nella riga @row di @rowCount.","Press the down arrow key to create a new button group in a new row.":"Premere il tasto freccia in basso per creare un nuovo gruppo di pulsanti in una nuova riga.","This is the last group. Move the button forward to create a new group.":"Questo \u00e8 l\u0027ultimo gruppo. Spostare il pulsante in avanti per creare un nuovo gruppo.","The \u0022@name\u0022 button is currently enabled.":"Il pulsante \u0022@name\u0022 \u00e8 attualmente attivato.","Use the keyboard arrow keys to change the position of this button.":"Usare i tasti freccia della tastiera per cambiare la posizione di questo pulsante.","Press the up arrow key on the top row to disable the button.":"Premere il tasto freccia su in cima alla riga per disattivare il pulsante.","The \u0022@name\u0022 button is currently disabled.":"Il pulsante \u0022@name\u0022 \u00e8 attualmente disattivato.","Use the down arrow key to move this button into the active toolbar.":"Usare il tasto freccia gi\u00f9 per spostare questo pulsante nella barra strumenti attiva.","This @name is currently enabled.":"Questo @name \u00e8 attualmente attivato.","Use the keyboard arrow keys to change the position of this separator.":"Usare i tasti freccia della tastiera per cambiare la posizione di questo separatore.","Separators are used to visually split individual buttons.":"I separatori sono utilizzati per dividere visivamente singoli pulsanti.","This @name is currently disabled.":"Questo @name \u00e8 attualmente disattivato.","Use the down arrow key to move this separator into the active toolbar.":"Usare il tasto gi\u00f9 per spostare questo separatore nella barra strumenti attiva.","You may add multiple separators to each button group.":"Puoi aggiungere pi\u00f9 separatori per ciascun gruppo di pulsanti.","Hide group names":"Nascondi i nomi dei gruppi","Show group names":"Mostra i nomi dei gruppi","Save":"Salva","Alternative text":"Testo alternativo","Available buttons":"Pulsanti disponibili","Button divider":"Divisore pulsanti","Active toolbar":"Barra degli strumenti attiva","Unlock":"Sbloccare","Lock":"Bloccare","new":"nuovo","1 new comment\u0003@count new comments":"1 nuovo commento\u0003@count nuovi commenti","Open":"Aperto","Close":"Chiudi","@action @title configuration options":"Opzioni di configurazione per @action @title","Tabbing is no longer constrained by the Contextual module.":"L\u0027uso del tasto tab non \u00e8 pi\u00f9 vincolato al modulo Contextual links.","Tabbing is constrained to a set of @contextualsCount and the edit mode toggle.":"L\u0027uso del tasto tab \u00e8 vincolato a un gruppo di @contextualsCount e al passaggio dalla e alla modalit\u00e0 di modifica.","Press the esc key to exit.":"Premere il tasto ESC per uscire.","@count contextual link\u0003@count contextual links":"@count link contestuale\u0003@count link contestuali","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.":"Il cambio del formato di testo in %text_format comporter\u00e0 la perdita definitiva di tutti gli elementi non consentiti nel nuovo formato.\u
9003Cbr\u003E\u003Cbr\u003ESalvare i cambiamenti prima del cambio di formato per evitare la perdita di dati.","Change text format?":"Cambiare il formato del testo?","Continue":"Continua","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Il file selezionato %filename non pu\u00f2 essere caricato. Sono consentiti solo file con le seguenti estensioni: %extensions.","Enabled":"Attivato","Disabled":"Disattivato","Based on the text editor configuration, these tags have automatically been added: \u003Cstrong\u003E@tag-list\u003C\/strong\u003E.":"In base alla configurazione dell\u0027editor di testo, sono stati aggiunti automaticamente questi tag: \u003Cstrong\u003E@tag-list\u003C\/strong\u003E.","Hide description":"Nascondi la descrizione","Show description":"Mostra la descrizione","Changes made in this table will not be saved until the form is submitted.":"I cambiamenti fatti a questa tabella non saranno salvati finch\u00e8 il form non viene inviato.","Done":"Fatto","Prev":"Precedente","Next":"Successivo","Today":"Oggi","Jan":"Gen","Feb":"Feb","Mar":"Mar","Apr":"Apr","May":"Mag","Jun":"Giu","Jul":"Lug","Aug":"Ago","Sep":"Set","Oct":"Ott","Nov":"Nov","Dec":"Dic","Sunday":"Domenica","Monday":"Luned\u00ec","Tuesday":"Marted\u00ec","Wednesday":"Mercoled\u00ec","Thursday":"Gioved\u00ec","Friday":"Venerd\u00ec","Saturday":"Sabato","Sun":"Dom","Mon":"Lun","Tue":"Mar","Wed":"Mer","Thu":"Gio","Fri":"Ven","Sat":"Sab","Su":"Do","Mo":"Lu","Tu":"Ma","We":"Noi","Th":"Gi","Fr":"Ve","Sa":"Sa","mm\/dd\/yy":"mm\/gg\/aa","By @name on @date":"Da @name il @date","By @name":"Da @name","Authored on @date":"Scritto il @date","Not published":"Non pubblicato","Not in menu":"Non nel menu","Requires a title":"Richiede un titolo","Don\u0027t display post information":"Non mostrare le informazioni di pubblicazione","Not promoted":"Non promosso","Leave preview?":"Lasciare l\u0027anteprima?","Leave preview":"Lasciare anteprima","Leaving the preview will cause unsaved changes to be lost. Are you sure you want to leave the preview?":"Lasciando l\u0027anteprima i cambiamenti non saranno salvati. Vuoi veramente lasciare l\u0027anteprima?","Alias: @alias":"Alias: @alias","No alias":"Nessun alias","Your changes to \u003Cq\u003E@entity-title\u003C\/q\u003E could not be saved, either due to a website problem or a network connection problem.\u003Cbr\u003EPlease try again.":"Le modifiche a \u003Cq\u003E@entity-title\u003C\/q\u003E non possono essere salvate, a causa di un problema del sito web o un problema di connessione di rete.\u003Cbr\u003ESi prega di riprovare.","Network problem!":"Problema di rete!","Quick edit":"Modifica veloce","OK":"OK","Could not load the form for \u003Cq\u003E@field-label\u003C\/q\u003E, either due to a website problem or a network connection problem.\u003Cbr\u003EPlease try again.":"Impossibile caricare il form per \u003Cq\u003E@field-label\u003C\/q\u003E, a causa di un problema del sito o di un problema di connessione di rete.\u003Cbr\u003ESi prega di riprovare.","You have unsaved changes":"Ci sono modifiche non salvate","Discard changes?":"Annullare le modifiche?","Discard changes":"Abbandona le modifiche","Saving":"Salvataggio","!modules modules are available in the modified list.":"I moduli !modules sono disponibili nell\u0027elenco modificato.","Hide summary":"Nascondi sommario","Edit summary":"Modifica sommario","Home":"Home","The toolbar cannot be set to a horizontal orientation when it is locked.":"La barra degli strumenti non pu\u00f2 essere impostata su un orientamento orizzontale quando \u00e8 bloccata.","Horizontal orientation":"Orientamento orizzontale","Vertical orientation":"Orientamento verticale","Extend":"Estendi","Collapse":"Raggruppa","@label":"@label","closed":"chiuso","opened":"aperto","!tour_item of !total":"!tour_item di !total","End tour":"Finisci il Tour","This permission is inherited from the authenticated user role.":"Questo permesso viene ereditato dal ruolo utente autenticato.","Add":"Aggiungi","Remove group":"Rimuovi gruppo","Apply (all displays)":"Applica (tutte le visualizzazioni)","Revert to default":"Ritorna al predefinito","Apply (this display)":"Applica (solo questa visualizzazione)","No items selected":"Nessun elemento selezionato","0 sec":"0 sec","1 year\u0003@count years":"1 anno\u0003@count anni","1 month\u0003@count months":"1 mese\u0003@count mesi","1 week\u0003@count weeks":"1 settimana\u0003@count settimane","1 day\u0003@count days":"1 giorno\u0003@count giorni","1 hour\u0003@count hours":"1 ora\u0003@count ore","1 min\u0003@count min":"1 min\u0003@count min","1 sec\u0003@count sec":"1 sec\u0003@count sec","Ok":"Ok","Caption":"Didascali
9a","Enter caption here":"Inserire qui la didascalia","MB":"MB","KB":"KB","Processing @count \/ @total logs as @read. Please wait...":"Sto elaborando @count \/ @total log come @read. Attendi... ","@count logs marked as @read.":"@count log segnati come @read. ","Processing logs as @read. Please wait...":"Sto segnando i log come @read. Attendi... ","unlimited":"illimitati","Selected":"Selezionato","of":"di","Not customizable":"Non personalizzabile","Downloads":"Download","Colorbox":"Colorbox","One domain with multiple subdomains":"Un dominio con pi\u00f9 sottodomini","Multiple top-level domains":"Molteplici domini di primo livello","Refresh":"Aggiorna","Date":"Date","Height":"Altezza","Width":"Larghezza","Size":"Dimensione","Name":"Name","root":"radice","Select":"Scegliere","Please select a file.":"Selezionare un file.","Only files with the following extensions are allowed: %files-allowed.":"Sono consentiti solo i file con le seguenti estensioni: %files-allowed.","@size KB":"@size KB","@size MB":"@size MB","1 byte\u0003@count bytes":"1 byte\u0003@count byte","1 item\u0003@count items":"1 oggetto\u0003@count oggetti","Delete":"Delete","Create":"Crea","Resize":"Ridimensiona","Create a copy":"Crea una copia","Upload":"Carica","File":"File","Add file":"Aggiungi file","Automatic alias":"Alias automatico","Load Previous":"Carica conversazione precedente","To:":"A:","Scheduled for publishing":"Pianificato per la pubblicazione","Scheduled for unpublishing":"Pianificato per la rimozione della pubblicazione","Not scheduled":"Nessuna pianificazione","Insert this token into your form":"Inserisci questo token nel form","First click a text field to insert your tokens into.":"Prima occorre cliccare sul campo di testo dove inserire i token.","Collapse all":"Raggruppa tutto","Expand all":"Espandi tutto","item":"elemento"},"Long month name":{"January":"Gennaio","February":"Febbraio","March":"Marzo","April":"Aprile","May":"Maggio","June":"Giugno","July":"Luglio","August":"Agosto","September":"Settembre","October":"Ottobre","November":"Novembre","December":"Dicembre"}},"pluralFormula":{"1":0,"default":1}};;
10window.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||{}).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,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');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;
10if(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);;
11if(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);;
12/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
13/*!
14* tabbable 6.3.0
15* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
16*/
17!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(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;
17if(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}))}(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)}}));
18
19;
20/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
21function ctSetCookie(cookies){let useCookies,useAltCookies;if('undefined'!==typeof ct_use_cookies)useCookies=ct_use_cookies;else useCookies=false;if('undefined'!==typeof ct_use_alt_cookies)useAltCookies=ct_use_alt_cookies;else useAltCookies=false;if(useCookies)if(useAltCookies&&useAltCookies===1){let xhr=new XMLHttpRequest();let json=JSON.stringify(cookies);xhr.open("POST",'/admin/config/cleantalk/set_alt_cookies');xhr.setRequestHeader('Content-type','application/json; charset=utf-8');xhr.send(json);}else cookies.forEach(function(e){let ctSecure=location.protocol==="https:"?"; secure":"";document.cookie=e.name+"="+encodeURIComponent(e.value)+"; path=/; expires=0; samesite=lax"+ctSecure;});};
22var d=new Date(),ctTimeMs=new Date().getTime(),ctMouseEventTimerFlag=true,ctMouseData="[",ctMouseDataCounter=0,ctScrollCollected=false,ctEventTokenInterval=null;ctSetCookie([{'name':'ct_check_js','value':ct_check_js_val},{'name':'ct_ps_timestamp','value':Math.floor(new Date().getTime()/1000)},{'name':'ct_fkp_timestamp','value':'0'},{'name':'ct_pointer_data','value':'0'},{'name':'ct_timezone','value':d.getTimezoneOffset()/60*(-1)},{'name':'apbct_antibot','value':drupal_ac_antibot_cookie_value},{'name':'ct_has_scrolled','value':false}]);var ctMouseReadInterval=setInterval(function(){ctMouseEventTimerFlag=true;},150);var ctMouseWriteDataInterval=setInterval(function(){const altSessionsUsed=typeof ct_use_alt_cookies!=="undefined"&&ct_use_alt_cookies===1;const botDetectorUsed=typeof ct_use_bot_detector!=="undefined"&&ct_use_bot_detector===1;if(altSessionsUsed||botDetectorUsed)return;var ctMouseDataToSend=ctMouseData.slice(0,-1).concat("]");ctSetCookie([{'name':'ct_pointer_data','value':ctMouseDataToSend}]);},1200);function ctMouseStopData(){if(typeof window.addEventListener=="function")window.removeEventListener("mousemove",ctFunctionMouseMove);else window.detachEvent("onmousemove",ctFunctionMouseMove);clearInterval(ctMouseReadInterval);clearInterval(ctMouseWriteDataInterval);}var ctFunctionMouseMove=function output(event){if(ctMouseEventTimerFlag==true){var mouseDate=new Date();ctMouseData+="["+Math.round(event.pageY)+","+Math.round(event.pageX)+","+Math.round(mouseDate.getTime()-ctTimeMs)+"],";ctMouseDataCounter++;ctMouseEventTimerFlag=false;if(ctMouseDataCounter>=100)ctMouseStopData();}};function ctSetHasScrolled(){if(!ctScrollCollected){ctSetCookie([{'name':'ct_has_scrolled','value':true}]);ctScrollCollected=true;}}function ctKeyStopStopListening(){if(typeof window.addEventListener=="function"){window.removeEventListener("mousedown",ctFunctionFirstKey);window.removeEventListener("keydown",ctFunctionFirstKey);}else{window.detachEvent("mousedown",ctFunctionFirstKey);window.detachEvent("keydown",ctFunctionFirstKey);}}var ctFunctionFirstKey=function output(event){var KeyTimestamp=Math.floor(new Date().getTime()/1000);ctSetCookie([{'name':'ct_fkp_timestamp','value':KeyTimestamp}]);ctKeyStopStopListening();};if(typeof window.addEventListener=="function"){window.addEventListener("mousemove",ctFunctionMouseMove);window.addEventListener("mousedown",ctFunctionFirstKey);window.addEventListener("keydown",ctFunctionFirstKey);window.addEventListener("scroll",ctSetHasScrolled);}else{window.attachEvent("onmousemove",ctFunctionMouseMove);window.attachEvent("mousedown",ctFunctionFirstKey);window.attachEvent("keydown",ctFunctionFirstKey);window.attachEvent("scroll",ctSetHasScrolled);}function apbct_collect_visible_fields(form){var inputs=[],inputs_visible='',inputs_visible_count=0,inputs_invisible='',inputs_invisible_count=0,inputs_with_duplicate_names=[];for(var key in form.elements)if(!isNaN(+key))inputs[key]=form.elements[key];inputs=inputs.filter(function(elem){if(inputs_with_duplicate_names.indexOf(elem.getAttribute('name'))!==-1)return false;if(-1!==['radio','checkbox'].indexOf(elem.getAttribute("type"))){inputs_with_duplicate_names.push(elem.getAttribute('name'));return false;}return true;});
22inputs.forEach(function(elem,i,elements){if(elem.getAttribute("type")==="submit"||elem.getAttribute('name')===null||elem.getAttribute('name')==='ct_checkjs')return;if(getComputedStyle(elem).display==="none"||getComputedStyle(elem).visibility==="hidden"||getComputedStyle(elem).opacity==="0"||elem.getAttribute("type")==="hidden")if(elem.classList.contains("wp-editor-area")){inputs_visible+=" "+elem.getAttribute("name");inputs_visible_count++;}else{inputs_invisible+=" "+elem.getAttribute("name");inputs_invisible_count++;}else{inputs_visible+=" "+elem.getAttribute("name");inputs_visible_count++;}});inputs_invisible=inputs_invisible.trim();inputs_visible=inputs_visible.trim();return {visible_fields:inputs_visible,visible_fields_count:inputs_visible_count,invisible_fields:inputs_invisible,invisible_fields_count:inputs_invisible_count};}function apbct_visible_fields_set_cookie(visible_fields_collection){var collection=typeof visible_fields_collection==='object'&&visible_fields_collection!==null?visible_fields_collection:{};ctSetCookie([{'name':'apbct_visible_fields','value':JSON.stringify(collection)}]);}class EventTokenHandler{constructor(use_alt_cookies_option){this.token=null;this.lsSavedFlagName='event_token_saved_to_alt_sessions';this.lsEVentTokenName='bot_detector_event_token';this.intervalValue=1500;this.init(use_alt_cookies_option);}init(use_alt_cookies_option){if('undefined'!==typeof use_alt_cookies_option&&use_alt_cookies_option){this.setNotSavedFlag();this.startListenTokenLS();}}setSavedFlag(){localStorage.setItem(this.lsSavedFlagName,'1');}setNotSavedFlag(){localStorage.setItem(this.lsSavedFlagName,'0');}isSaved(){let event_token_saved=localStorage.getItem(this.lsSavedFlagName);return event_token_saved!==null&&event_token_saved!==undefined&&event_token_saved==='1';}getEventToken(){let event_token=localStorage.getItem(this.lsEVentTokenName);try{event_token=event_token!==null?JSON.parse(event_token):false;}catch(e){return false;}event_token=event_token.hasOwnProperty('value')?event_token.value:false;if(typeof event_token==='string'&&event_token.length===64)return event_token;return false;}setEventTokenCookie(){if(typeof this.token==='string'&&this.token.length===64)ctSetCookie([{'name':'apbct_event_token','value':this.token}]);}stopListenTokenLS(){clearInterval(this.intervalID);}startListenTokenLS(){this.intervalID=setInterval(this.intervalRun,this.intervalValue,this);}intervalRun(handler){if(!handler.isSaved()){handler.token=handler.getEventToken();if(handler.token){handler.setEventTokenCookie();handler.setSavedFlag();handler.stopListenTokenLS();}}}}new EventTokenHandler(ct_use_alt_cookies);;
23(function(){'use strict';function activate(){var links=document.querySelectorAll('link[data-ca-async-css]');for(var i=0;i<links.length;i++){var link=links[i];link.media='all';link.removeAttribute('data-ca-async-css');}}if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',activate);else activate();})();;
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">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</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">&nbsp;</div></div>';Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="ajax-progress__throbber">&nbsp;</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">&nbsp;</div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen">&nbsp;</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(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);;
34(function($){var defaults={columns:1,search:false,searchOptions:{delay:250,showOptGroups:false,searchText:true,searchValue:false,onSearch:function(element){}},texts:{placeholder:'Select options',search:'Search',searchNoResult:'No results',selectedOptions:' selected',selectAll:'Select all',unselectAll:'Unselect all',noneSelected:'None Selected'},selectAll:false,selectGroup:false,minHeight:200,maxHeight:null,maxWidth:null,maxPlaceholderWidth:null,maxPlaceholderOpts:10,showCheckbox:true,checkboxAutoFit:false,optionAttributes:[],replacePlaceholderText:true,onLoad:function(element){},onOptionClick:function(element,option){},onControlOpen:function(element){},onControlClose:function(element){},onSelectAll:function(element,selected){},onPlaceholder:function(element,placeholder,selectedOpts){}};var msCounter=1;var msOptCounter=1;if(typeof Array.prototype.map!=='function')Array.prototype.map=function(callback,thisArg){if(typeof thisArg==='undefined')thisArg=this;return $.isArray(thisArg)?$.map(thisArg,callback):[];};if(typeof String.prototype.trim!=='function')String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'');};function MultiSelect(element,options){this.element=element;this.options=$.extend(true,{},defaults,options);this.updateSelectAll=true;this.updatePlaceholder=true;this.listNumber=msCounter;msCounter=msCounter+1;
34if(!$(this.element).attr('multiple'))throw new Error('[jQuery-MultiSelect] Select list must be a multiselect list in order to use this plugin');if(this.options.search)if(!this.options.searchOptions.searchText&&!this.options.searchOptions.searchValue)throw new Error('[jQuery-MultiSelect] Either searchText or searchValue should be true.');if('placeholder' in this.options){this.options.texts.placeholder=this.options.placeholder;delete this.options.placeholder;}if('default' in this.options.searchOptions){this.options.texts.search=this.options.searchOptions['default'];delete this.options.searchOptions['default'];}this.load();}MultiSelect.prototype={load:function(){var instance=this;if((instance.element.nodeName!='SELECT')||$(instance.element).hasClass('jqmsLoaded'))return true;$(instance.element).addClass('jqmsLoaded ms-list-'+instance.listNumber).data('plugin_multiselect-instance',instance);$(instance.element).after('<div id="ms-list-'+instance.listNumber+'" class="ms-options-wrap"><button type="button"><span>None Selected</span></button><div class="ms-options"><ul></ul></div></div>');var placeholder=$(instance.element).siblings('#ms-list-'+instance.listNumber+'.ms-options-wrap').find('> button:first-child');var optionsWrap=$(instance.element).siblings('#ms-list-'+instance.listNumber+'.ms-options-wrap').find('> .ms-options');var optionsList=optionsWrap.find('> ul');
34if(!instance.options.showCheckbox)optionsWrap.addClass('hide-checkbox');else{if(instance.options.checkboxAutoFit)optionsWrap.addClass('checkbox-autofit');}if($(instance.element).prop('disabled'))placeholder.prop('disabled',true);if(instance.options.maxPlaceholderWidth)placeholder.css('maxWidth',instance.options.maxPlaceholderWidth);if(instance.options.maxHeight)var maxHeight=instance.options.maxHeight;else var maxHeight=($(window).height()-optionsWrap.offset().top+$(window).scrollTop()-20);maxHeight=maxHeight<instance.options.minHeight?instance.options.minHeight:maxHeight;optionsWrap.css({maxWidth:instance.options.maxWidth,minHeight:instance.options.minHeight,maxHeight});optionsWrap.on('touchmove mousewheel DOMMouseScroll',function(e){if(($(this).outerHeight()<$(this)[0].scrollHeight)){var e0=e.originalEvent,delta=e0.wheelDelta||-e0.detail;if(($(this).outerHeight()+$(this)[0].scrollTop)>$(this)[0].scrollHeight){e.preventDefault();this.scrollTop+=(delta<0?1:-1);}}});$(document).off('click.ms-hideopts').on('click.ms-hideopts',function(event){if(!$(event.target).closest('.ms-options-wrap').length)$('.ms-options-wrap.ms-active > .ms-options').each(function(){$(this).closest('.ms-options-wrap').removeClass('ms-active');var listID=$(this).closest('.ms-options-wrap').attr('id');var thisInst=$(this).parent().siblings('.'+listID+'.jqmsLoaded').data('plugin_multiselect-instance');if(typeof thisInst.options.onControlClose=='function')thisInst.options.onControlClose(thisInst.element);});}).on('keydown',function(event){if((event.keyCode||event.which)==27)$(this).trigger('click.ms-hideopts');});placeholder.on('keydown',function(event){var code=(event.keyCode||event.which);if((code==13)||(code==32))placeholder.trigger('mousedown');});placeholder.on('mousedown',function(event){if(event.which&&(event.which!=1))return true;$('.ms-options-wrap.ms-active').each(function(){if($(this).siblings('.'+$(this).attr('id')+'.jqmsLoaded')[0]!=optionsWrap.parent().siblings('.ms-list-'+instance.listNumber+'.jqmsLoaded')[0]){$(this).removeClass('ms-active');var thisInst=$(this).siblings('.'+$(this).attr('id')+'.jqmsLoaded').data('plugin_multiselect-instance');if(typeof thisInst.options.onControlClose=='function')thisInst.options.onControlClose(thisInst.element);}});optionsWrap.closest('.ms-options-wrap').toggleClass('ms-active');if(optionsWrap.closest('.ms-options-wrap').hasClass('ms-active')){if(typeof instance.options.onControlOpen=='function')instance.options.onControlOpen(instance.element);optionsWrap.css('maxHeight','');if(instance.options.maxHeight)var maxHeight=instance.options.maxHeight;else var maxHeight=($(window).height()-optionsWrap.offset().top+$(window).scrollTop()-20);if(maxHeight){maxHeight=maxHeight<instance.options.minHeight?instance.options.minHeight:maxHeight;optionsWrap.css('maxHeight',maxHeight);}}else{if(typeof instance.options.onControlClose=='function')instance.options.onControlClose(instance.element);}}).click(function(event){event.preventDefault();});if(instance.options.texts.placeholder)placeholder.find('span').text(instance.options.texts.placeholder);if(instance.options.search){optionsList.before('<div class="ms-search"><input type="text" value="" placeholder="'+instance.options.texts.search+'" /></div>');optionsList.after('<div class="no-result-message">'+instance.options.texts.searchNoResult+'</div>');var search=optionsWrap.find('.ms-search input');search.on('keyup',function(){if($(this).data('lastsearch')==$(this).val())return true;if($(this).data('searchTimeout'))clearTimeout($(this).data('searchTimeout'));var thisSearchElem=$(this);$(this).data('searchTimeout',setTimeout(function(){thisSearchElem.data('lastsearch',thisSearchElem.val());if(typeof instance.options.searchOptions.onSearch=='function')instance.options.searchOptions.onSearch(instance.element);var searchString=$.trim(search.val().toLowerCase());if(searchString){optionsList.find('li[data-search-term*="'+searchString+'"]:not(.optgroup)').removeClass('ms-hidden');optionsList.find('li:not([data-search-term*="'+searchString+'"], .optgroup)').addClass('ms-hidden');}else optionsList.find('.ms-hidden').removeClass('ms-hidden');if(!instance.options.searchOptions.showOptGroups)optionsList.find('.optgroup').each(function(){if($(this).find('li:not(.ms-hidden)').length)$(this).show();else $(this).hide();});instance._updateSelectAllText();},instance.options.searchOptions.delay));});}if(instance.options.selectAll)optionsList.before('<a href="#" class="ms-selectall global">'+instance.options.texts.selectAll+'</a>');optionsWrap.on('click','.ms-selectall',function(event){event.preventDefault();instance.updateSelectAll=false;instance.updatePlaceholder=false;var select=optionsWrap.parent().siblings('.ms-list-'+instance.listNumber+'.jqmsLoaded');if($(this).hasClass('global'))if(optionsList.find('li:not(.optgroup, .selected, .ms-hidden) input[type="checkbox"]:not(:disabled)').length){optionsList.find('li:not(.optgroup, .selected, .ms-hidden) input[type="checkbox"]:not(:disabled)').closest('li').addClass('selected');optionsList.find('li.selected input[type="checkbox"]:not(:disabled)').prop('checked',true);}else{optionsList.find('li:not(.optgroup, .ms-hidden).selected input[type="checkbox"]:not(:disabled)').closest('li').removeClass('selected');optionsList.find('li:not(.optgroup, .ms-hidden, .selected) input[type="checkbox"]:not(:disabled)').prop('checked',fal
34se);}else{if($(this).closest('li').hasClass('optgroup')){var optgroup=$(this).closest('li.optgroup');if(optgroup.find('li:not(.selected, .ms-hidden) input[type="checkbox"]:not(:disabled)').length){optgroup.find('li:not(.selected, .ms-hidden) input[type="checkbox"]:not(:disabled)').closest('li').addClass('selected');optgroup.find('li.selected input[type="checkbox"]:not(:disabled)').prop('checked',true);}else{optgroup.find('li:not(.ms-hidden).selected input[type="checkbox"]:not(:disabled)').closest('li').removeClass('selected');optgroup.find('li:not(.ms-hidden, .selected) input[type="checkbox"]:not(:disabled)').prop('checked',false);}}}var vals=[];optionsList.find('li.selected input[type="checkbox"]').each(function(){vals.push($(this).val());});select.val(vals).trigger('change');instance.updateSelectAll=true;instance.updatePlaceholder=true;if(typeof instance.options.onSelectAll=='function')instance.options.onSelectAll(instance.element,vals.length);instance._updateSelectAllText();instance._updatePlaceholderText();});var options=[];$(instance.element).children().each(function(){if(this.nodeName=='OPTGROUP'){var groupOptions=[];$(this).children('option').each(function(){var thisOptionAtts={};for(var i=0;i<instance.options.optionAttributes.length;i++){var thisOptAttr=instance.options.optionAttributes[i];if($(this).attr(thisOptAttr)!==undefined)thisOptionAtts[thisOptAttr]=$(this).attr(thisOptAttr);}groupOptions.push({name:$(this).text(),value:$(this).val(),checked:$(this).prop('selected'),attributes:thisOptionAtts});});options.push({label:$(this).attr('label'),options:groupOptions});}else if(this.nodeName=='OPTION'){var thisOptionAtts={};for(var i=0;i<instance.options.optionAttributes.length;i++){var thisOptAttr=instance.options.optionAttributes[i];if($(this).attr(thisOptAttr)!==undefined)thisOptionAtts[thisOptAttr]=$(this).attr(thisOptAttr);}options.push({name:$(this).text(),value:$(this).val(),checked:$(this).prop('selected'),attributes:thisOptionAtts});}else return true;});instance.loadOptions(options,true,false);optionsWrap.on('click','input[type="checkbox"]',function(){$(this).closest('li').toggleClass('selected');var select=optionsWrap.parent().siblings('.ms-list-'+instance.listNumber+'.jqmsLoaded');select.find('option[value="'+instance._escapeSelector($(this).val())+'"]').prop('selected',$(this).is(':checked')).closest('select').trigger('change');if(typeof instance.options.onOptionClick=='function')instance.options.onOptionClick(instance.element,this);instance._updateSelectAllText();instance._updatePlaceholderText();});optionsWrap.on('focusin','input[type="checkbox"]',function(){$(this).closest('label').addClass('focused');}).on('focusout','input[type="checkbox"]',function(){$(this).closest('label').removeClass('focused');});if(typeof instance.options.onLoad==='function')instance.options.onLoad(instance.element);$(instance.element).hide();},loadOptions:function(options,overwrite,updateSelect){overwrite=(typeof overwrite=='boolean')?overwrite:true;updateSelect=(typeof updateSelect=='boolean')?updateSelect:true;var instance=this;var select=$(instance.element);var optionsList=select.siblings('#ms-list-'+instance.listNumber+'.ms-options-wrap').find('> .ms-options > ul');var optionsWrap=select.siblings('#ms-list-'+instance.listNumber+'.ms-options-wrap').find('> .ms-options');if(overwrite){optionsList.find('> li').remove();if(updateSelect)select.find('> *').remove();}var containers=[];for(var key in options){if(!options.hasOwnProperty(key))continue;var thisOption=options[key];var container=$('<li/>');var appendContainer=true;if(thisOption.hasOwnProperty('value')){if(instance.options.showCheckbox&&instance.options.checkboxAutoFit)container.addClass('ms-reflow');instance._addOption(container,thisOption);if(updateSelect){var selOption=$('<option/>',{value:thisOption.value,text:thisOption.name});if(thisOption.hasOwnProperty('attributes')&&Object.keys(thisOption.attributes).length)selOption.attr(thisOption.attributes);if(thisOption.checked)selOption.prop('selected',true);select.append(selOption);}}else if(thisOption.hasOwnProperty('options')){var optGroup=$('<optgroup/>',{label:thisOption.label});optionsList.find('> li.optgroup > span.label').each(function(){if($(this).text()==thisOption.label){container=$(this).closest('.optgroup');appendContainer=false;}});if(updateSelect)if(select.find('optgroup[label="'+thisOption.label+'"]').length)optGroup=select.find('optgroup[label="'+thisOption.label+'"]');else select.append(optGroup);if(appendContainer){container.addClass('optgroup');container.append('<span class="label">'+thisOption.label+'</span>');container.find('> .label').css({clear:'both'});if(instance.options.selectGroup)container.append('<a href="#" class="ms-selectall">'+instance.options.texts.selectAll+'</a>');container.append('<ul/>');}for(var gKey in thisOption.options){if(!thisOption.options.hasOwnProperty(gKey))continue;var thisGOption=thisOption.options[gKey];var gContainer=$('<li/>');if(instance.options.showCheckbox&&instance.options.checkboxAutoFit)gContainer.addClass('ms-reflow');if(!thisGOption.hasOwnProperty('value'))continue;instance._addOption(gContainer,thisGOption);container.find('> ul').append(gContainer);if(updateSelect){var selOption=$('<option/>',{value:thisGOption.value,text:thisGOption.name});if(thisGOption.hasOwnProperty('attributes')&&Object.keys(thisGOption.attributes).length)selOption.attr(thisGOption.attributes);if(thisGOption.checked)selOption.prop('selected',true);optGroup.append(selOption);}}}else continue;if(appendContainer)containers.push(container);}
34optionsList.append(containers);if(instance.options.checkboxAutoFit&&instance.options.showCheckbox&&!optionsWrap.hasClass('hide-checkbox')){var chkbx=optionsList.find('.ms-reflow:eq(0) input[type="checkbox"]');if(chkbx.length){var checkboxWidth=chkbx.outerWidth();checkboxWidth=checkboxWidth?checkboxWidth:15;optionsList.find('.ms-reflow label').css('padding-left',(parseInt(chkbx.closest('label').css('padding-left'))*2)+checkboxWidth);optionsList.find('.ms-reflow').removeClass('ms-reflow');}}setTimeout(function(){instance._updatePlaceholderText();if($('.form-item-field-itinerary-style-target-id button span').text()=='')$('.form-item-field-itinerary-style-target-id button span').text('Tutte le Tipologie');if($('.form-item-field-status-target-id-1 button span').text()=='')$('.form-item-field-status-target-id-1 button span').text('Tutti gli Status');},2000);optionsWrap.find('ul').css({'column-count':'','column-gap':'','-webkit-column-count':'','-webkit-column-gap':'','-moz-column-count':'','-moz-column-gap':''});if(select.find('optgroup').length){optionsList.find('> li:not(.optgroup)').css({'float':'left',width:(100/instance.options.columns)+'%'});optionsList.find('li.optgroup').css({clear:'both'}).find('> ul').css({'column-count':instance.options.columns,'column-gap':0,'-webkit-column-count':instance.options.columns,'-webkit-column-gap':0,'-moz-column-count':instance.options.columns,'-moz-column-gap':0});if(this._ieVersion()&&(this._ieVersion()<10))optionsList.find('li.optgroup > ul > li').css({'float':'left',width:(100/instance.options.columns)+'%'});}else{optionsList.css({'column-count':instance.options.columns,'column-gap':0,'-webkit-column-count':instance.options.columns,'-webkit-column-gap':0,'-moz-column-count':instance.options.columns,'-moz-column-gap':0});if(this._ieVersion()&&(this._ieVersion()<10))optionsList.find('> li').css({'float':'left',width:(100/instance.options.columns)+'%'});}instance._updateSelectAllText();},settings:function(options){this.options=$.extend(true,{},this.options,options);this.reload();},unload:function(){$(this.element).siblings('#ms-list-'+this.listNumber+'.ms-options-wrap').remove();$(this.element).show(function(){$(this).css('display','').removeClass('jqmsLoaded');});},reload:function(){$(this.element).siblings('#ms-list-'+this.listNumber+'.ms-options-wrap').remove();$(this.element).removeClass('jqmsLoaded');this.load();},reset:function(){var defaultVals=[];$(this.element).find('option').each(function(){if($(this).prop('defaultSelected'))defaultVals.push($(this).val());});$(this.element).val(defaultVals);this.reload();},disable:function(status){status=(typeof status==='boolean')?status:true;$(this.element).prop('disabled',status);$(this.element).siblings('#ms-list-'+this.listNumber+'.ms-options-wrap').find('button:first-child').prop('disabled',status);},_updateSelectAllText:function(){if(!this.updateSelectAll)return;var instance=this;if(!instance.options.selectAll&&!instance.options.selectGroup)return;var optionsWrap=$(instance.element).siblings('#ms-list-'+instance.listNumber+'.ms-options-wrap').find('> .ms-options');optionsWrap.find('.ms-selectall').each(function(){var unselected=$(this).parent().find('li:not(.optgroup,.selected,.ms-hidden)');$(this).text(unselected.length?instance.options.texts.selectAll:instance.options.texts.unselectAll);});var shownOptionsCount=optionsWrap.find('> ul li:not(.optgroup,.ms-hidden)').length;
34optionsWrap.find('.no-result-message').toggle(shownOptionsCount?false:true);optionsWrap.find('.ms-selectall.global').toggle(shownOptionsCount?true:false);},_updatePlaceholderText:function(){if(!this.updatePlaceholder)return;var instance=this;var select=$(instance.element);var selectVals=select.val()?select.val():[];var placeholder=select.siblings('#ms-list-'+instance.listNumber+'.ms-options-wrap').find('> button:first-child');var placeholderTxt=placeholder.find('span');var optionsWrap=select.siblings('#ms-list-'+instance.listNumber+'.ms-options-wrap').find('> .ms-options');if(select.find('option:selected:disabled').length){selectVals=[];select.find('option:selected').each(function(){selectVals.push($(this).val());});}var selOpts=[];for(var key in selectVals){if(!selectVals.hasOwnProperty(key))continue;selOpts.push($.trim(select.find('option[value="'+instance._escapeSelector(selectVals[key])+'"]').text()));if(selOpts.length>=instance.options.maxPlaceholderOpts)break;}placeholderTxt.text(selOpts.join(', '));if(selOpts.length){optionsWrap.closest('.ms-options-wrap').addClass('ms-has-selections');if(typeof instance.options.onPlaceholder=='function')instance.options.onPlaceholder(instance.element,placeholderTxt,selOpts);}else optionsWrap.closest('.ms-options-wrap').removeClass('ms-has-selections');if(!selOpts.length)placeholderTxt.text(instance.options.texts.placeholder);else{if(instance.options.replacePlaceholderText&&((placeholderTxt.width()>placeholder.width())||(selOpts.length!=selectVals.length)))placeholderTxt.text(selectVals.length+instance.options.texts.selectedOptions);}},_addOption:function(container,option){var instance=this;var optionNameText=$('<div/>').html(option.name).text();var thisOption=$('<label/>',{for:'ms-opt-'+msOptCounter}).html(option.name);var thisCheckbox=$('<input>',{type:'checkbox',title:optionNameText,id:'ms-opt-'+msOptCounter,value:option.value});if(option.hasOwnProperty('attributes')&&Object.keys(option.attributes).length)thisCheckbox.attr(option.attributes);if(option.checked){container.addClass('default selected');thisCheckbox.prop('checked',true);}thisOption.prepend(thisCheckbox);var searchTerm='';if(instance.options.searchOptions.searchText)searchTerm+=' '+optionNameText.toLowerCase();if(instance.options.searchOptions.searchValue)searchTerm+=' '+option.value.toLowerCase();container.attr('data-search-term',$.trim(searchTerm)).prepend(thisOption);msOptCounter=msOptCounter+1;},_ieVersion:function(){var myNav=navigator.userAgent.toLowerCase();return (myNav.indexOf('msie')!=-1)?parseInt(myNav.split('msie')[1]):false;},_escapeSelector:function(string){if(typeof $.escapeSelector=='function')return $.escapeSelector(string);else return string.replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g,"\\$&");}};$.fn.multiselect=function(options){if(!this.length)return;var args=arguments;var ret;if((options===undefined)||(typeof options==='object'))return this.each(function(){if(!$.data(this,'plugin_multiselect'))$.data(this,'plugin_multiselect',new MultiSelect(this,options));});else{if((typeof options==='string')&&(options[0]!=='_')&&(options!=='init')){this.each(function(){var instance=$.data(this,'plugin_multiselect');if(instance instanceof MultiSelect&&typeof instance[options]==='function')ret=instance[options].apply(instance,Array.prototype.slice.call(args,1));if(options==='unload')$.data(this,'plugin_multiselect',null);});return ret;}}};}(jQuery));;
35(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.jq_multiselect={settings:{ignoreSelector:'#field-ui-field-storage-add-form select, #entity-form-display-edit-form select, #entity-view-display-edit-form select, .wysiwyg, .draggable select[name$="[weight]"], .draggable select[name$="[position]"], .locale-translate-filter-form select, .chosen-disable, .chosen-processed',optedInSelector:'select.jq-enable',selector:'select'},attach:function(context,settings){this.settings=this.getSettings(settings);if(typeof drupalSettings.module!=='undefined'){var coloumns=drupalSettings.module.coloumns;var options=drupalSettings.module.options;var placeholder=drupalSettings.module.placeholder;$(once('jq_multiselect',this.getElements(context))).each(function(index,element){this.createMultiselect(element,coloumns,options,placeholder);}.bind(this));}},createMultiselect:function(element,coloumns,options,placeholder){var $element=$(element);if($element.attr('multiple'))$element.multiselect({columns:coloumns,search:options.search,selectAll:options.select_all,texts:{placeholder,search:'Search States'}});},getElements:function(context,selector){var $context=$(context||document);var $elements=$context.find(selector||this.settings.selector);$elements=$elements.filter(function(i,element){return this.filterElements(element);}.bind(this));$elements=$elements.add($context.find(this.settings.optedInSelector));return $elements;},filterElements:function(element){var $element=$(element);if($element.is(this.settings.ignoreSelector))return false;var minOptions=$element.attr('multiple')?this.settings.minimum_multiple:this.settings.minimum_single;return !minOptions||$element.find('option').length>=minOptions;},getSettings:function(settings){return $.extend(true,{},this.settings,settings&&settings.jq_multiselect||drupalSettings.module);}};})(jQuery,Drupal,drupalSettings);;
36((Drupal)=>{Drupal.behaviors.lazy={attach(context,settings){const utils={extend(obj,src){Object.keys(src).forEac
36h((key)=>{obj[key]=src[key];});return obj;},once(selector){return (context||document).querySelector(selector);},loadScript(url){if(document.querySelectorAll(`script[src="${url}"]`).length===0){const script=document.createElement('script');const scripts=document.getElementsByTagName('script')[0];script.src=url;script.async=true;scripts.parentNode.insertBefore(script,scripts);}}};if(utils.once('body',context)){const lazysizes=settings.lazy.lazysizes||{};if(!settings.lazy.preferNative){window.lazySizesConfig=window.lazySizesConfig||{};window.lazySizesConfig=utils.extend(window.lazySizesConfig,lazysizes);if(!Object.entries)Object.entries=(obj)=>{const ownProps=Object.keys(obj);let i=ownProps.length;const resArray=new Array(i);while(i--)resArray[i]=[ownProps[i],obj[ownProps[i]]];return resArray;};const min=settings.lazy.minified?'.min':'';Object.entries(lazysizes.plugins).forEach((path)=>{utils.loadScript(`${settings.lazy.libraryPath}/plugins/${path[1]}${min}.js`);});utils.loadScript(`${settings.lazy.libraryPath}/lazysizes${min}.js`);}}}};})(Drupal);;

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.