PageSourceSearch

https://www.domradio.de/sites/default/files/js/js_WbfnPjJy1TtNsizc…cJy6Y-y7UV89l1ldIllAr6o9eqSnkLd0rEqfgODsLZb

js domradio.de collected 2026-10-01 10:32:02 UTC 197,969 bytes, 59 lines download raw bytes

vendor: 4,148 bytes, lines 1-7
1/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
2/*! @drupal/once - v1.0.1 - 2021-06-12 */
3var 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}();
4
5;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7window.drupalTranslations={"strings":{"":{"An AJAX HTTP error occurred.":"Ein AJAX-HTTP-Fehler ist aufgetreten.","HTTP Result Code: !status":"HTTP-R\u00fcckgabe-Code: !status","An AJAX HTTP request terminated abnormally.":"Eine AJAX-Anfrage ist abnormal beendet worden.","Debugging information follows.":"Im Folgenden finden Sie Debugging-Informationen.","Path: !uri":"Pfad: !uri","StatusText: !statusText":"Statustext: !statusText","ResponseText: !responseText":"Antworttext: !responseText","ReadyState: !readyState":"ReadyState: !readyState","CustomMessage: !customMessage":"Benutzerdefinierte Nachricht: !customMessage","Please wait...":"Bitte warten...","The response failed verification so will not be processed.":"Die Verifizierung der Antwort ist fehlgeschlagen, deshalb wird die Verarbeitung nicht fortgef\u00fchrt.","The callback URL is not local and not trusted: !url":"Die Callback-URL ist nicht lokal und nicht vertrauensw\u00fcrdig: !url","Changed":"Ge\u00e4ndert","An error occurred during the execution of the Ajax response: !error":"Ein Fehler ist w\u00e4hrend der Ausf\u00fchrung der Ajax-Antwort aufgetreten: !error","Processing...":"Verarbeitung l\u00e4uft \u2026","Hide":"Ausblenden","Show":"Anzeigen","List additional actions":"Weitere Aktionen auflisten","New revision":"Neue Revision","No revision":"Keine Revision","Needs to be updated":"Aktualisierung erforderlich","Does not need to be updated":"Keine Aktualisierung erforderlich","Flag other translations as outdated":"Andere \u00dcbersetzungen als veraltet kennzeichnen","Do not flag other translations as outdated":"Andere \u00dcbersetzungen nicht als veraltet kennzeichnen","Edit":"Bearbeiten","Edit machine name":"Systemnamen bearbeiten","Status message":"Statusmeldung","Error message":"Fehlermeldung","Warning message":"Warnmeldung","Show row weights":"Zeilenreihenfolge anzeigen","Hide row weights":"Zeilenreihenfolge ausblenden","Drag to re-order":"Ziehen, um die Reihenfolge zu \u00e4ndern","You have unsaved changes.":"Es sind nicht gespeicherte \u00c4nderungen vorhanden.","Change order":"Reihenfolge \u00e4ndern","Move in any direction":"Bewege in jede Richtung","Show all columns":"Alle Spalten zeigen","Hide lower priority columns":"Niedrig priorisierte Spalten ausblenden","Show table cells that were hidden to make the table fit within a small screen.":"Zeige die Tabellenzellen, die ausgeblendet wurden, um die Tabelle auf kleinen Bildschirmen anzeigen zu k\u00f6nnen.","Select all rows in this table":"Alle Zeilen dieser Tabelle ausw\u00e4hlen","Deselect all rows in this table":"Alle Zeilen dieser Tabelle abw\u00e4hlen","(active tab)":"(aktiver Reiter)","1 block 
7is available in the modified list.\u0003@count blocks are available in the modified list.":"1 Block ist in der \u00fcberarbeiteten Liste verf\u00fcgbar.\u0003@count Bl\u00f6cke sind in der \u00fcberarbeiteten Liste verf\u00fcgbar.","Not restricted":"Uneingeschr\u00e4nkt","Restricted to certain pages":"Auf bestimmte Seiten eingeschr\u00e4nkt","The block cannot be placed in this region.":"Der Block kann nicht in dieser Region abgelegt werden.","Please provide a name for the button group.":"Bitte einen Namen f\u00fcr die Button-Gruppe eingeben.","Button group name":"Button-Gruppen-Name","Apply":"Anwenden","Cancel":"Abbrechen","Editing the name of the new button group in a dialog.":"Namen der Button-Gruppe in einem Dialogfenster bearbeiten.","Editing the name of the \u0022@groupName\u0022 button group in a dialog.":"Namen der Button-Gruppe \u0022@groupName\u0022 in einem Dialogfenster bearbeiten.","Place a button to create a new button group.":"Einen Button hinzuf\u00fcgen, um eine neue Button-Gruppe zu erstellen.","New group":"Neue Gruppe","Add a CKEditor button group to the end of this row.":"Eine CKEditor-Button-Gruppe am Ende dieser Zeile hinzuf\u00fcgen.","Add group":"Gruppe hinzuf\u00fcgen","Uploads disabled":"Uploads deaktiviert","Uploads enabled, max size: @size @dimensions":"Hochladen erlaubt, maximale Gr\u00f6\u00dfe: @size @dimensions","Rich Text Editor, !label field":"Rich-Text-Editor, !label Feld","Loading...":"Wird geladen...","No styles configured":"Keine Stile konfiguriert","@count styles configured":"@count Stile konfiguriert","Image":"Bild","Link":"Link","Unlink":"Link entfernen","Edit Link":"Link bearbeiten","@groupName button group in position @position of @positionCount in row @row of @rowCount.":"@groupName Button-Gruppe in Position @position von @positionCount in Zeile @row von @rowCount.","Press the down arrow key to create a new row.":"Pfeil-nach-unten-Taste benutzen um eine neue Zeile zu erzeugen.","button":"Button","@name @type.":"@name @type.","Press the down arrow key to activate.":"Zum Aktivieren Pfeil-nach-Unten-Taste benutzen.","@name @type in position @position of @positionCount in @groupName button group in row @row of @rowCount.":"@name @type in position @position of @positionCount in @groupName button group in row @row of @rowCount.","Press the down arrow key to create a new button group in a new row.":"Pfeil-nach-unten-Taste benutzen, um eine neue Schaltfl\u00e4chengruppe in einer neuen Zeile zu erzeugen.","This is the last group. Move the button forward to create a new group.":"Dies ist die letzte Gruppe. Pfeil-nach-Rechts-Taste benutzen um eine neue Gruppe zu erzeugen.","The \u0022@name\u0022 button is currently enabled.":"Der Button \u201e@name\u201c ist derzeit aktiviert.","Use the keyboard arrow keys to change the position of this button.":"Verwenden Sie die Pfeiltasten der Tastatur, um die Position dieses Buttons zu \u00e4ndern.","Press the up arrow key on the top row to disable the button.":"In der obersten Zeile kann mit einem Druck auf den Pfeil nach oben die Schaltfl\u00e4che deaktiviert werden.","The \u0022@name\u0022 button is currently disabled.":"Der Button \u201e@name\u201c ist derzeit deaktiviert.","Use the down arrow key to move this button into the active toolbar.":"Benutzen Sie die \u201ePfeil nach unten\u201c -Taste um die Schaltfl\u00e4che in die aktive Werkzeugleiste zu verschieben.","This @name is currently enabled.":"Dieser @name ist momentan aktiv.","Use the keyboard arrow keys to change the position of this separator.":"Pfeil-Tasten benutzen um die Position dieses Seperators zu \u00e4ndern.","Separators are used to visually split individual buttons.":"Trennzeichen werden verwendet, um Buttons grafisch voneinander abzusetzen.","This @name is currently disabled.":"Dieser @name ist momentan inaktiv.","Use the down arrow key to move this separator into the active toolbar.":"Benutzen Sie die \u201ePfeil nach unten\u201c -Taste um den Separator in die aktive Werkzeugleiste zu verschieben.","You may add multiple separators to each button group.":"Sie k\u00f6nnen mehrere Separatoren zu jeder Schaltfl\u00e4chengruppe hinzuf\u00fcgen.","Hide group names":"Gruppennamen ausblenden","Show group names":"Gruppennamen anzeigen","Preview failed":"Anzeigen der Vorschau fehlgeschlagen","An error occurred while trying to preview the media. Please save your work and reload this page.":"Beim Versuch, die Medien in der Vorschau anzuzeigen, ist ein Fehler aufgetreten. Bitte speichern Sie Ihre Arbeit und laden Sie diese Seite neu.","Media widget":"Mediensteuerelement","Insert Media":"Medium einf\u00fcgen","Drupal Media toolbar":"Drupal Media Werkzeugleiste","Not all functionality may be available because some information could not be retrieved.":"M\u00f6glicherweise sind nicht alle Funktionen verf\u00fcgbar, da einige Informationen nicht abgerufen werden konnten.","Save":"Speichern","Alternative text override":"Zu \u00fcbersteuernder Alternativtext","Default alternative text:":"Standartwert des Alternativtextes:","Override media image alternative text":"Den Alternativtext des Bildes \u00fcbersteuern","Link media":"Medium verlinken","Enter media caption":"Medienbeschriftung eingeben","Caption media":"Medienbeschriftung","Toggle caption off":"Medienbeschriftung ausblenden","Toggle caption on":"Medienbeschriftung einblenden","An error occurred while trying to preview the media. Save your work and reload this page.":"Beim Versuch, eine Vorschau der Medien zu erstellen, ist ein Fehler aufgetreten. Speichern Sie Ihre Arbeit und laden Sie diese Seite erneut.","Decorative image":"Dekoratives Bild","Button @name has been copied to the active toolbar.":"Der Button @name wurde in die aktive Werkzeugleiste kopiert.","Button @name has been removed from the active toolbar.":"Der Button @name wurde aus der aktiven Werkzeugleiste entfernt.","Divider":"Trennstrich","Wrapping":"Umbrechend","Press the down arrow key to activate":"Dr\u00fccken Sie die Pfeiltaste nach unten, zur Aktivierung","Available buttons":"Verf\u00fcgbare Buttons","Button divider":"Trennelement","Active toolbar":"Aktive Werkzeugleiste","Images can only be uploaded.":"Bilder k\u00f6nnen nur hochgeladen werden.","Images can only be added by URL.":"Bilder k\u00f6nnen nur per URL hinzugef\u00fcgt werden.","Unlock":"Entsperren","Lock":"Sperren","Open":"Ge\u00f6ffnet","Close":"Schlie\u00dfen","@action @title configuration options":"@action @title Konfigurationseinstellungen","Tabbing is no longer constrained by the C
7ontextual module.":"Das Verwenden der Tabulatortaste wird nicht l\u00e4nger vom Contextual-Modul eingeschr\u00e4nkt.","Tabbing is constrained to a set of @contextualsCount and the edit mode toggle.":"Tabulatornavigation ist auf eine Gruppe von @contextualsCount und den Bearbeitungsmodusumschalter beschr\u00e4nkt.","Press the esc key to exit.":"Zum Beenden die Escape-Taste dr\u00fccken.","@count contextual link\u0003@count contextual links":"@count Kontextlink\u0003@count Kontextlinks","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.":"Das \u00c4ndern des Textformats in %text_format entfernt dauerhaft Inhalt, der in diesem Textformat nicht erlaubt ist.\u003Cbr\u003E\u003Cbr\u003ESpeichern Sie Ihre \u00c4nderungen bevor Sie das Textformat umstellen, um Datenverlust zu vermeiden.","Change text format?":"Textformat \u00e4ndern?","Continue":"Weiter","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Die ausgew\u00e4hlte Datei %filename konnte nicht hochgeladen werden. Nur Dateien mit den folgenden Erweiterungen sind zul\u00e4ssig: %extensions.","Enabled":"Aktiviert","Disabled":"Deaktiviert","Based on the text editor configuration, these tags have automatically been added: \u003Cstrong\u003E@tag-list\u003C\/strong\u003E.":"Diese Tags wurden basierend auf der Konfiguration des Texteditors hinzugef\u00fcgt: \u003Cstrong\u003E@tag-list\u003C\/strong\u003E.","All available blocks are listed.":"Alle vorhandenen Bl\u00f6cke werden aufgelistet.","Block previews are visible. Block labels are hidden.":"Die Blockvorschau ist sichtbar. Blockbeschriftungen sind ausgeblendet.","Block previews are hidden. Block labels are visible.":"Die Blockvorschau ist ausgeblendet. Blockbeschriftungen sind sichtbar.","Hide description":"Beschreibung ausblenden","Show description":"Beschreibung anzeigen","Changes made in this table will not be saved until the form is submitted.":"\u00c4nderungen in dieser Tabelle werden nicht gespeichert, bis dieses Formular abgesendet wurde.","\u003Cspan class=\u0022visually-hidden\u0022\u003EShow \u003C\/span\u003E@title\u003Cspan class=\u0022visually-hidden\u0022\u003E media\u003C\/span\u003E\u003Cspan class=\u0022active-tab visually-hidden\u0022\u003E (selected)\u003C\/span\u003E":"\u003Cspan class=\u0022visually-hidden\u0022\u003EMedium \u003C\/span\u003E@title\u003Cspan class=\u0022visually-hidden\u0022\u003E (ausgew\u00e4hlt)\u003C\/span\u003E\u003Cspan class=\u0022active-tab visually-hidden\u0022\u003E anzeigen\u003C\/span\u003E","Showing @title media.":"Zeige Medium @title an.","Loading grid view.":"Laden der Raster-Ansicht.","Changed to grid view.":"In Rasteransicht ge\u00e4ndert.","Loading table view.":"Laden der Tabellen-Ansicht.","Changed to table view.":"Zu Tabellenansicht ge\u00e4ndert.","1 item selected\u0003@count items selected":"1 Element ausgew\u00e4hlt\u0003@count Elemente ausgew\u00e4hlt","@selected of @count item selected\u0003@selected of @count items selected":"@selected von @count Element ausgew\u00e4hlt\u0003@selected von @count Elementen ausgew\u00e4hlt","All @count items selected":"Alle @count Eintr\u00e4ge ausgew\u00e4hlt","Zero items selected":"Es wurde kein Eintrag ausgew\u00e4hlt","Select all media":"Alle Medien ausw\u00e4hlen","Show media item weights":"Reihenfolge f\u00fcr Medien anzeigen","Hide media item weights":"Reihenfolge der Medien ausblenden","Insert from Media Library":"Aus der Medienbibliothek einf\u00fcgen","By @name on @date":"Von @name am @date","By @name":"Von @name","Authored on @date":"Bearbeitet am @date","Edit media":"Medien bearbeiten","Embedded media":"Eingebettete Medien","Caption":"Beschriftung","Enter caption here":"Beschriftung hinzuf\u00fcgen","Not published":"Nicht ver\u00f6ffentlicht","Not in menu":"Nicht im Men\u00fc","Requires a title":"Ben\u00f6tigt einen Titel","Don\u0027t display post information":"Beitragsinformationen nicht anzeigen","Not promoted":"nicht auf der Startseite","Leave preview?":"Vorschau verlassen?","Leave preview":"Vorschau verlassen","Leaving the preview will cause unsaved changes to be lost. Are you sure you want to leave the preview?":"Wenn Sie die Vorschau verlassen, gehen nicht gespeicherte \u00c4nderungen verloren. M\u00f6c
7hten Sie die Vorschau wirklich verlassen?","CTRL+Left click will prevent this dialog from showing and proceed to the clicked link.":"Strg-Linkklick verhindert dass dieser Dialog angezeigt wird und geht auf den angeklickten Link.","Alias: @alias":"Alias: @alias","No alias":"Kein 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.":"Die \u00c4nderungen an \u003Cq\u003E@entity-title\u003C\/q\u003E konnten nicht gespeichert werden, entweder durch ein Website-Problem oder ein Problem mit der Netzwerkverbindung.\u003Cbr\u003EBitte versuchen Sie es erneut.","Network problem!":"Netzwerkproblem!","Quick edit":"Direktbearbeitungsmodus","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.":"Das Formular f\u00fcr das Feld \u003Cq\u003E@field-label\u003C\/q\u003E kann entweder wegen eines Problems auf der Website oder wegen einem Problem mit Ihrer Netzwerkverbindung nicht geladen werden. Bitte versuchen Sie es noch einmal.","You have unsaved changes":"Es gibt ungespeicherte \u00c4nderungen","Discard changes?":"\u00c4nderungen verwerfen?","Discard changes":"\u00c4nderungen verwerfen","Saving":"Wird gespeichert","Editing":"Bearbeiten","Exited edit mode.":"Bearbeitungsmodus verlassen.","!modules modules are available in the modified list.":"!modules Module sind in der Modulfeldlsite verf\u00fcgbar.","Hide summary":"Zusammenfassung ausblenden","Edit summary":"Zusammenfassung bearbeiten","Home":"Startseite","The toolbar cannot be set to a horizontal orientation when it is locked.":"Die Toolbar kann nicht horizontal angeordnet werden, wenn Sie gesperrt ist.","Horizontal orientation":"Horizontale Ausrichtung","Vertical orientation":"Vertikale Ausrichtung","Extend":"Erweitern","Collapse":"Zusammenklappen","@label":"@label","Tray orientation changed to @orientation.":"Ausrichtung der aufklappbaren Einstellungsleiste in @orientation ge\u00e4ndert.","closed":"geschlossen","opened":"ge\u00f6ffnet","Tray \u0022@tray\u0022 @action.":"Aufklappbare Einstellungsleiste \u201e@tray\u201c @action.","Tray @action.":"Aufklappbare Einstellungsleiste @action.","This permission is inherited from the authenticated user role.":"Diese Berechtigung wird von der Rolle \u201aAuthentifizierte Benutzer\u2018 ererbt.","Add":"Hinzuf\u00fcgen","Remove group":"Gruppe entfernen","Apply (all displays)":"Anwenden (alle Anzeigen)","Revert to default":"Auf Standardwert zur\u00fccksetzen","Apply (this display)":"Anwenden (diese Anzeige)","No items selected":"Keine Elemente ausgew\u00e4hlt","Close message":"Meldung schlie\u00dfen","Saving draft...":"Entwurf wird gespeichert\u2026","Resume editing":"Bearbeitung fortsetzen","Discard":"Verwerfen","Ok":"Ok","A server error occurred during autosaving the current page. As a result autosave is disabled. To activate it please revisit the page and continue the editing from the last autosaved state of the current page.":"Ein Serverfehler ist w\u00e4hrend des automatischen Speicherns der Seite aufgetreten. In der Folge wurde das automatische Speichern deaktiviert. Um das automatische Speichern wieder zu aktivieren, laden Sie die Seite bitte erneut und setzen Sie die Bearbeitung mit der letzten automatischen Speicherung der aktuellen Seite fort.","Select All":"Alle ausw\u00e4hlen","Select None":"Nichts ausw\u00e4hlen","Query":"Abfrage","Action not available because content is locked.":"Die Aktion ist nicht verf\u00fcgbar, da f\u00fcr diesen Inhalt eine Bearbeitungssperre verh\u00e4ngt wurde.","Title":"Titel","ARIA label":"ARIA-Bezeichnung","CSS classes":"CSS-Klassen","ID":"ID","Link relationship":"Link-Beziehung","Advanced":"Erweitert","Open in new window":"In neuem Fenster \u00f6ffnen","Show selected":"Ausgew\u00e4hlte anzeigen","Hide selected":"Ausgew\u00e4hlte ausblenden","An error occurred while trying to preview the embedded content. Please save your work and reload this page.":"Beim Versuch, eine Vorschau des eingebetteten Inhalts anzuzeigen, ist ein Fehler aufgetreten. Bitte speichern Sie Ihre Arbeit und laden Sie diese Seite erneut.","Embedded entity":"Eingebettete Entit\u00e4t","Embedded @buttonLabel":"@buttonLabel eingebettet","Edit @buttonLabel":"Bearbeiten von @buttonLabel","new window":"neues Fenster","All pages with exceptions":"Alle Seiten mit Ausnahmen","Excepted: @roles":"Ausgenommen: @roles","Not customizable":"Nicht anpassbar","On by default with opt out":"Standardm\u00e4\u00dfig aktiv, mit Opt-out","Off by default with opt in":"Standardm\u00e4\u00dfig deaktiviert, mit Opt-in","Outbound links":"Ausgehende Links","Mailto links":"Mailto-Links","Downloads":"Downloads","Colorbox":"Colorbox","Link attribution":"Linkzuordnung","URL fragments":"URL-Fragmente","Not tracked":"Nicht verfolgt","@items enabled":"@items aktiviert","Site search":"Website-Suche","AdSense ads":"AdSense-Anzeigen","Display features":"Anzeigefunktionen","A single domain":"Eine einzelne Domain","One domain with multiple subdomains":"Eine Domain mit mehreren Sub-Domains","Multiple top-level domains":"Mehrere Top-Level-Domains","Anonymize IP":"IP anonymisieren","No privacy":"Keine Privatsph\u00e4re","Tel links":"Telefonlinks","Add item to @region region ":"Element zur Region \u0022@region\u0022 hinzuf\u00fcgen ","Add item ":"Element hinzuf\u00fcgen ","inside item @weight":"innerhalb des Elements @
7weight","before item @weight":"vor dem Element @weight","after item @weight":"nach dem Element @weight","Use arrow keys to move, any other key to stop.":"Verwenden Sie die Pfeiltasten zum Verschieben, oder eine beliebige andere Taste zum Anhalten.","Use the arrow keys to move this item, any other key to stop.":"Verwenden Sie die Pfeiltasten, um dieses Element zu verschieben, oder eine beliebige andere Taste, um zu stoppen.","Move up":"Nach oben verschieben","Move down":"Nach unten verschieben","+ Add":"+ Hinzuf\u00fcgen","Add In Between":"Zwischen Seitenabschnitten hinzuf\u00fcgen","Remove":"Entfernen","Are you sure you want to remove this paragraph?":"M\u00f6chten Sie diesen Seitenabschnitt wirklich l\u00f6schen?","Split Text":"Text teilen","Add above":"Oberhalb hinzuf\u00fcgen","Automatic alias":"Automatisches Alias","Included in sitemap variants: ":"In den Sitemap-Varianten enthalten: ","Excluded from all sitemap variants":"Nicht in den Sitemap-Varianten enthalten:","IndexNow notification enabled":"IndexNow-Benachrichtigung aktiviert","IndexNow notification disabled":"IndexNow-Benachrichtigung deaktiviert","Included in sitemaps: ":"In Sitemaps einschlie\u00dfen ","Excluded from all sitemaps":"Aus allen Sitemaps ausschlie\u00dfen","The sitemap settings and any per-entity overrides will be deleted for the unchecked entity types.":"Die Sitemap-Einstellungen und alle \u00dcberschreibungen pro Entit\u00e4t werden f\u00fcr die nicht markierten Entit\u00e4tstypen gel\u00f6scht.","Insert this token into your form":"Dieses Token in Ihr Formular einf\u00fcgen","First click a text field to insert your tokens into.":"Klicken Sie zun\u00e4chst auf ein Textfeld, um Ihr Token einzuf\u00fcgen.","Toggle details widget state.":"Zeigt den Steuerelement-Status an.","Collapse all":"Alle einklappen","Expand all":"Alle au
7sklappen","All details have been expanded.":"Alle Details wurden ausgeklappt.","All details have been collapsed.":"Alle Details wurden eingeklappt.","item":"Element","items":"Elemente","Please avoid using the reserved word \u0027@key\u0027 as the element\u0027s key.":"Vermeiden Sie bitte, den reservierten Begriff \u0027@key\u0027 als Elementschl\u00fcssel zu verwenden.","Hide sidebar panel":"Seitenleiste ausblenden","Show sidebar panel":"Seitenleiste anzeigen"},"klaro":{"Manage consents":"Einwilligungen verwalten","Open consent dialog":"\u00d6ffnet das Auswahlformular","Close dialog and decline all":"Dialog schlie\u00dfen und alle ablehnen","Open the Consent Management Dialog":"Einwilligungsdialog \u00f6ffnen","Manage privacy settings":"Datenschutzeinstellungen verwalten"},"Paragraphs Editor Enhancements":{"Show all @title_plural":"Alle @title_plural anzeigen","...":"\u2026","Add @widget_title":"@widget_title hinzuf\u00fcgen","+ @title":"+ @title","Add @title":"@title hinzuzuf\u00fcgen"}},"pluralFormula":{"1":0,"default":1}};;
8window.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;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);;
9if(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);;
10(($,Drupal)=>{Drupal.FieldGroup=Drupal.FieldGroup||{};Drupal.FieldGroup.Effects=Drupal.FieldGroup.Effects||{};Drupal.behaviors.horizontalTabs={attach(context){const width=drupalSettings.widthBreakpoint||640;const mq=`(max-width: ${width}px)`;if(window.matchMedia(mq).matches)return;$(once('horizontal-tabs','[data-horizontal-tabs]',context)).each((indexTabsWrapper,tabsWrapper)=>{const horizontalTabsClearfix=tabsWrapper;$(tabsWrapper).find('> [data-horizontal-tabs-panes]').each((indexTabWrapper,tabWrapper)=>{const $this=$(tabWrapper).addClass('horizontal-tabs-panes');const focusID=$(':hidden.horizontal-tabs-active-tab',tabWrapper).val();let tabFocus;const $details=$this.find('> details');if($details.length===0)return;const tabList=$(horizontalTabsClearfix).find('> [data-horizontal-tabs-list]');tabList.removeClass('visually-hidden');let tabTitle;$details.each((i,element)=>
10{const $thisDetail=$(element);const $summaryElement=$thisDetail.find('> summary');const $detailsTitle=$summaryElement.first().find('.details-title');if($detailsTitle.length)tabTitle=$detailsTitle.find('> span:last-child').html();else tabTitle=$summaryElement.clone().find('.required-mark').remove().end().html()||$summaryElement.find('> span:first-child').html();const horizontalTab=new Drupal.HorizontalTab({title:tabTitle,details:$thisDetail});horizontalTab.item.addClass(`horizontal-tab-button-${i}`);horizontalTab.item.attr('data-horizontalTabButton',i);tabList.append(horizontalTab.item);$thisDetail.removeClass('collapsed').attr('open',true).addClass('horizontal-tabs-pane').data('horizontalTab',horizontalTab);if(element.id===focusID)tabFocus=$thisDetail;});$(tabList).find('> li:first').addClass('first');$(tabList).find('> li:last').addClass('last');if(!tabFocus){const hash=window.location.hash.replace(/[=%;,\/]/g,'');if(hash!=='#'&&$(hash,this).length)tabFocus=$(hash,this).closest('.horizontal-tabs-pane');else tabFocus=$this.find('> .horizontal-tabs-pane:first');}if(tabFocus.length)tabFocus.data('horizontalTab').focus();});});}};Drupal.HorizontalTab=function horizontalTab(settings){const self=this;$.extend(this,settings,Drupal.theme('horizontalTab',settings));this.link.attr('href',`#${settings.details.attr('id')}`);this.link.on('click',(e)=>{e.preventDefault();self.focus();});this.link.on('keydown',(event)=>{if(event.keyCode===13){event.preventDefault();self.focus();$('.horizontal-tabs-pane :input:visible:enabled:first').trigger('focus');}});if(this.details.drupalGetSummary)this.details.on('summaryUpdated',()=>{self.updateSummary();}).trigger('summaryUpdated');};Drupal.HorizontalTab.prototype={focus(){this.details.removeClass('horizontal-tab-hidden').siblings('.horizontal-tabs-pane').each((index,element)=>{const tab=$(element).data('horizontalTab');tab.details.addClass('horizontal-tab-hidden');tab.details.hide();tab.item.removeClass('selected');}).end().show().siblings(':hidden.horizontal-tabs-active-tab').val(this.details.attr('id'));this.item.addClass('selected');$('#active-horizontal-tab').remove();this.link.append(`<span id="active-horizontal-tab" class="visually-hidden">${Drupal.t('(active tab)')}</span>`);},updateSummary(){this.summary.html(this.details.drupalGetSummary());},tabShow(){this.item.removeClass('horizontal-tab-hidden');this.item.show();this.item.parent().children('.horizontal-tab-button').removeClass('first').filter(':visible:first').addClass('first');this.details.removeClass('horizontal-tab-hidden');this.focus();return this;},tabHide(){this.item.addClass('horizontal-tab-hidden');this.item.hide();this.item.parent().children('.horizontal-tab-button').removeClass('first').filter(':visible:first').addClass('first');this.details.addClass('horizontal-tab-hidden');const $firstTab=this.details.siblings('.horizontal-tabs-pane:not(.horizontal-tab-hidden):first');if($firstTab.length)$firstTab.data('horizontalTab').focus();else this.item.closest('.form-type-horizontal-tabs').hide();return this;}};Drupal.theme.horizontalTab=(settings)=>{const tab={};const idAttr=settings.details.attr('id');tab.item=$('<li class="horizontal-tab-button" tabindex="-1"></li>').append((tab.link=$(`<a href="#${idAttr}"></a>`).append((tab.title=$('<strong></strong>').html(settings.title)))));tab.item.addClass(settings.details.attr('class'));tab.item.removeClass('claro-details');if(settings.details.drupalGetSummary)tab.link.append((tab.summary=$('<span class="summary"></span>')));return tab;};})(jQuery,Drupal);;
11/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
12/*!
13* tabbable 6.3.0
14* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
15*/
16!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
16(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}))}
16(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)}}));
17
18;
19/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
20(function($,Drupal,once){Drupal.behaviors.betterExposedFilters={attach:function(context){$('.bef-tree input[type=checkbox], .bef-checkboxes input[type=checkbox]').change(function(){_bef_highlight(this,context);}).filter(':checked').closest('.form-item',context).addClass('highlight');}};function _bef_highlight(elem,context){$elem=$(elem,context);$elem.attr('checked')?$elem.closest('.form-item',context).addClass('highlight'):$elem.closest('.form-item',context).removeClass('highlight');}Drupal.behaviors.autosubmitExcludeTextfield={attach:function(context,settings){if(!settings.better_exposed_filters?.autosubmit_exclude_textfield)return;$(once('autosubmit-exclude-textfield','.bef-exposed-form *[type="text"]',context)).each(function(){$(this).attr('data-bef-auto-submit-exclude','');});}};Drupal.behaviors.befSingleCheckboxFix={attach:function(context,settings){once('befSingleCheckboxFix','form.views-exposed-form',context).forEach((form)=>{const $form=$(form);const $checkboxes=$form.find('input[type="checkbox"].single-checkbox');$form.on('submit',function(){$checkboxes.each(function(){const $checkbox=$(this);const name=$checkbox.attr('name');$form.find('input[type="hidden"][name="'+name+'"]').remove();if(!$checkbox.is(':checked'))$('<input>').attr({type:'hidden',name,value:0}).appendTo($form);});});});}};})(jQuery,Drupal,once);;
21(function(Drupal,once){'use strict';function applyChosenBef(select){const chosenContainer=select.nextElementSibling;if(chosenContainer&&chosenContainer.classList.contains('chosen-container')){const chosenSearchInput=chosenContainer.querySelector('.chosen-search-input');if(chosenSearchInput)chosenSearchInput.setAttribute('data-bef-auto-submit-exclude','true');}}Drupal.behaviors.chosenBef={attach:function(context,settings){once('chosenBef','select',context).forEach(function(select){if(select.nextElementSibling&&select.nextElementSibling.classList.contains('chosen-container'))applyChosenBef(select);else select.addEventListener('chosen:ready',function(){applyChosenBef(select);});});}};})(Drupal,once);;
22(function(){class e{constructor(e){this.options_index=0,this.parsed=[],this.copy_data_attributes=e.copy_data_attributes||!1}add_node(e){"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)}add_group(e){const t=this.parsed.length;this.parsed.push({array_index:t,group:!0,label:e.label,title:e.title?e.title:void 0,children:0,disabled:e.disabled,hidden:e.hidden,classes:e.className});Array.from(e.childNodes).forEach((s=>this.add_option(s,t,e.disabled)))}add_option(e,t,s){"OPTION"===e.nodeName.toUpperCase()&&(""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML.trim(),title:e.title?e.title:void 0,selected:e.selected,disabled:!0===s?s:e.disabled,hidden:e.hidden,group_array_index:t,group_label:null!=t?this.parsed[t].label:null,classes:e.className,style:e.style.cssText,data:this.parse_data_attributes(e)})):this.parsed.push({options_index:this.options_index,empty:!0,data:this.parse_data_attributes(e)}),this.options_index+=1)}parse_data_attributes(e){const t={"data-option-array-index":this.parsed.length,"data-value":e.value};return this.copy_data_attributes&&e&&Array.from(e.attributes).forEac
vendor: 14,108 bytes, line 22
22h((e=>{const s=e.nodeName;/data-.*/.test(s)&&(t[s]=e.nodeValue)})),t}static select_to_array(t,s){const i=new e(s);return Array.from(t.childNodes).forEach((e=>i.add_node(e))),i.parsed}}class t{constructor(e,s={}){this.label_click_handler=this.label_click_handler.bind(this),this.form_field=e,this.options=s,t.browser_is_supported(s)&&(this.is_multiple=this.form_field.multiple,this.can_select_by_group=null!==this.form_field.getAttribute("select-by-group"),this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}set_default_values(){this.click_test_action=e=>this.test_active_click(e),this.activate_action=e=>this.activate_field(e),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.diacritic_normalization=null==this.options.diacritic_normalization||this.options.diacritic_normalization,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_in_values=this.options.search_in_values||!1,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||Number.POSITIVE_INFINITY,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.inherit_option_classes=this.options.inherit_option_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.parser_config=this.options.parser_config||{},this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select,this.create_option=this.options.create_option||!1,this.persistent_create_option=this.options.persistent_create_option||!1,this.skip_no_results=this.options.skip_no_results||!1}set_default_text(){this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text,this.create_option_text=this.form_field.getAttribute("data-create_option_text")||this.options.create_option_text||t.default_create_option_text}choice_label(e){return this.include_group_label_in_selected&&null!=e.group_label?`<b class='group-name'>${this.escape_html(e.group_label)}</b>${e.html}`:e.html}mouse_enter(){this.mouse_on_container=!0}mouse_leave(){this.mouse_on_container=!1}input_focus(e){this.is_multiple?this.active_field||setTimeout((()=>{this.container_mousedown()}),50):this.active_field||this.activate_field()}input_blur(e){this.mouse_on_container||(this.active_field=!1,setTimeout((()=>{this.blur_test()}),100))}label_click_handler(e){this.is_multiple?this.container_mousedown(e):this.activate_field()}results_option_build(e){let t="",s=0;for(let i of this.results_data){let l="";if(l=i.group?this.result_add_group(i):this.result_add_option(i),""!==l&&(s++,t+=l),(null!=e?e.first:void 0)&&(i.selected&&this.is_multiple?this.choice_build(i):i.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(i))),s>=this.max_shown_results)break}return t}result_add_option(e){if(!e.search_match)return"";if(!this.include_option_in_results(e))return"";const t=[];e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes);const s=document.createElement("li");s.className=t.join(" "),e.style&&(s.style.cssText=e.style);for(let t in e.data)e.data.hasOwnProperty(t)&&s.setAttribute(t,e.data[t]);return s.setAttribute("role","option"),s.innerHTML=e.highlighted_html||e.html,s.id=`${this.form_field.id}-chosen-search-result-${e.data["data-option-array-index"]}`,e.title&&(s.title=e.title),s.outerHTML}result_add_group(e){if(!e.search_match&&!e.group_match)return"";if(!(e.active_options>0))return"";const t=[];t.push("group-result"),e.classes&&t.push(e.classes);const s=document.createElement("li");return s.className=t.join(" "),s.innerHTML=e.highlighted_html||this.escape_html(e.label),e.title&&(s.title=e.title),s.outerHTML}append_option(e){this.select_append_option(e)}results_update_field(){this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing&&this.winnow_results()}reset_single_select_options(){for(let e of this.results_data)e.selected&&(e.selected=!1)}results_toggle(){this.results_showing?this.results_hide():this.results_show()}results_search(e){this.results_showing?this.winnow_results():this.results_show();const t=new CustomEvent("chosen:search",{detail:{chosen:this}});this.form_field.dispatchEvent(t)}winnow_results(e){this.no_results_clear();let t=0,s=!1,i=!1;const l=this.escape_special_char(this.get_search_text()),h=l.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),r=this.get_search_regex(h),a=new RegExp(`^${h}$`);this.get_highlight_regex(h);for(let e of this.results_data){e.search_match=!1;let h=null,o=null;if(e.highlighted_html="",this.include_option_in_results(e)){e.group&&(e.group_match=!1,e.active_options=0),null!=e.group_array_index&&this.results_data[e.group_array_index]&&(h=this.results_data[e.group_array_index],0===h.active_options&&h.search_match&&(t+=1),h.active_options+=1);let n=e.group?e.label:e.text;if(!e.group||this.group_search)if(o=this.search_string_match(this.escape_special_char(n),r),e.search_match=null!=o,!e.search_match&&this.search_in_values&&(e.search_match=this.search_string_match(escape_special_char(e.value),r),i=!0),e.search_match&&!e.group&&(t+=1),s=s||a.test(e.html),e.search_match){if(l.length&&!i){let t=o.index,s=n.slice(0,t),i=n.slice(t,t+l.length),h=n.slice(t+l.length);e.highlighted_html=`${this.escape_html(s)}<em>${this.escape_html(i)}</em>${this.escape_html(h)}`}null!=h&&(h.group_match=!0)}else null!=e.group_array_index&&this.results_data[e.group_array_index].search_match&&(e.search_match=!0)}}this.result_clear_highlight(),t<1&&l.length?(this.update_results_content(""),this.fire_search_updated(l),this.create_option&&this.skip_no_results||this.no_results(l)):(this.update_results_content(this.results_option_build()),this.fire_search_updated(l),(null!=e?e.skip_highlight:void 0)||this.winnow_results_set_highlight()),this.create_option&&(t<1||!s&&this.persistent_create_option)&&l.length&&this.show_create_option(l)}get_search_regex(e){let t=this.search_contains?e:`(^|\\s|\\b)${e}[^\\s]*`;this.enable_split_word_search||this.search_contains||(t=`^${t}`);const s=this.case_sensitive_search?"":"i";return new RegExp(t,s)}get_highlight_regex(e){const t=this.search_contains?"":"\\b",s=this.case_sensitive_search?"":"i";return new RegExp(t+e,s)}get_list_special_char(){const e=[];return e.push({val:"a",let:"(ä|æ|ǽ)"}),e.push({val:"o",let:"(ö|œ)"}),e.push({val:"u",let:"(ü)"}),e.push({val:"A",let:"(Ä)"}),e.push({val:"U",let:"(Ü)"}),e.push({val:"O",let:"(Ö)"}),e.push({val:"A",let:"(Æ|Ǽ)"}),e.push({val:"ss",let:"(ß)"}),e.push({val:"IJ",let:"(IJ)"}),e.push({val:"ij",let:"(ij)"}),e.push({val:"OE",let:"(Œ)"}),e.push({val:"A",let:"(À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ)"}),e.push({val:"a",let:"(à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª)"}),e.push({val:"C",let:"(Ç|Ć|Ĉ|Ċ|Č)"}),e.push({val:"c",let:"(ç|ć|ĉ|ċ|č)"}),e.push({val:"D",let:"(Ð|Ď|Đ)"}),e.push({val:"d",let:"(ð|ď|đ)"}),e.push({val:"E",let:"(È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě)"}),e.push({val:"e",let:"(è|é|ê|ë|ē|ĕ|ė|ę|ě)"}),e.push({val:"G",let:"(Ĝ|Ğ|Ġ|Ģ)"}),e.push({val:"g",let:"(ĝ|ğ|ġ|ģ)"}),e.push({val:"H",let:"(Ĥ|Ħ)"}),e.push({val:"h",let:"(ĥ|ħ)"}),e.push({val:"I",let:"(Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ)"}),e.push({val:"i",let:"(ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı)"}),e.push({val:"J",let:"(Ĵ)"}),e.push({val:"j",let:"(ĵ)"}),e.push({val:"K",let:"(Ķ)"}),e.push({val:"k",let:"(ķ)"}),e.push({val:"L",let:"(Ĺ|Ļ|Ľ|Ŀ|Ł)"}),e.push({val:"l",let:"(ĺ|ļ|ľ|ŀ|ł)"}),e.push({val:"N",let:"(Ñ|Ń|Ņ|Ň)"}),e.push({val:"n",let:"(ñ|ń|ņ|ň|ʼn)"}),e.push({val:"O",let:"(Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ)"}),e.push({val:"o",let:"(ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º)"}),e.push({val:"R",let:"(Ŕ|Ŗ|Ř)"}),e.push({val:"r",let:"(ŕ|ŗ|ř)"}),e.push({val:"S",let:"(Ś|Ŝ|Ş|Š)"}),e.push({val:"s",let:"(ś|ŝ|ş|š|ſ)"}),e.push({val:"T",let:"(Ţ|Ť|Ŧ)"}),e.push({val:"t",let:"(ţ|ť|ŧ)"}),e.push({val:"U",let:"(Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ)"}),e.push({val:"u",let:"(ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ)"}),e.push({val:"Y",let:"(Ý|Ÿ|Ŷ)"}),e.push({val:"y",let:"(ý|ÿ|ŷ)"}),e.push({val:"W",let:"(Ŵ)"}),e.push({val:"w",let:"(ŵ)"}),e.push({val:"Z",let:"(Ź|Ż|Ž)"}),e.push({val:"z",let:"(ź|ż|ž)"}),e.push({val:"f",let:"(ƒ)"}),e}escape_special_char(e){if(!this.diacritic_normalization)return e;const t=this.get_list_special_char();for(let s of t)e=e.replace(new RegExp(s.let,"g"),s.val);return e}search_string_match(e,t){let s=t.exec(e);return!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s}choices_count(){if(null!=this.selected_option_count)return this.selected_option_count;this.selected_option_count=0;for(let e of this.form_field.options)e.selected&&(this.selected_option_count+=1);return this.selected_option_count}choices_click(e){e.preventDefault(),this.activate_field(),this.results_showing||this.is_disabled||this.results_show()}mousedown_checker(e){let t;switch((e=e||window.event).which||void 0===e.button||(e.which=1&e.button?1:2&e.button?3:4&e.button?2:0),e.which){case 1:t="left";break;case 2:t="middle";break;case 3:t="right";break;default:t="other"}return t}keydown_checker(e){const t=null!=e.which?e.which:e.keyCode;switch(this.search_field_scale(),8!==t&&this.pending_backstroke&&this.clear_backstroke(),t){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&e.preventDefault();break;case 32:this.disable_search&&e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}}keyup_checker(e){const t=null!=e.which?e.which:e.keyCode;switch(this.search_field_scale(),t){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:e.preventDefault(),this.results_showing&&this.result_select(e);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}}clipboard_event_checker(e){this.is_disabled||setTimeout((()=>{this.results_search()}),50)}container_width(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth>0?`${this.form_field.offsetWidth}px`:"auto"}include_option_in_results(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected)&&(!(!this.display_disabled_options&&e.disabled)&&(!e.empty&&(!e.hidden&&(null==e.group_array_index||!this.results_data[e.group_array_index].hidden))))}search_results_touchstart(e){this.touch_started=!0,this.search_results_mouseover(e)}search_results_touchmove(e){this.touch_started=!1,this.search_results_mouseout(e)}search_results_touchend(e){this.touch_started&&this.search_results_mouseup(e)}get_single_html(){return`<a class="chosen-single chosen-default">\n  <span>${this.default_text}</span>\n  <div aria-label="Show options"><b aria-hidden="true"></b></div>\n</a>\n<div class="chosen-drop">\n  <div class="chosen-search">\n    <input class="chosen-search-input" type="text" autocomplete="off" role="combobox" aria-expanded="false" aria-haspopup="true" aria-autocomplete="list" autocomplete="off" />\n  </div>\n  <ul class="chosen-results" role="listbox"></ul>\n</div>`}get_multi_html(){return`<ul class="chosen-choices">\n  <li class="search-field">\n    <input class="chosen-search-input" type="text" autocomplete="off" role="combobox" placeholder="${this.default_text}" aria-expanded="false" aria-haspopup="true" aria-autocomplete="list" />\n  </li>\n</ul>\n<div class="chosen-drop">\n  <ul class="chosen-results" role="listbox"></ul>\n</div>`}get_no_results_html(e){return`<li class="no-results">\n  ${this.results_none_found} <span>${this.escape_html(e)}</span>\n</li>`}get_option_html({value:e,text:t}){return`<option value="${e}" selected>${t}</option>`}get_create_option_html(e){return`<li class="create-option active-result" role="option"><a>${this.create_option_text}</a> <span>${this.escape_html(e)}</span></li>`}static browser_is_supported(e){const t=window.navigator.userAgent,s=/iP(od|hone)/i.test(t),i=/Android.*Mobile/i.test(t),l=/IEMobile/i.test(t)||/Windows Phone/i.test(t)||/BlackBerry/i.test(t)||/BB10/i.test(t);if(e&&e.allow_mobile){if(s||i)return!0;
22if(l)return!1}return!(s||i||l)}escape_html(e){const t=document.createElement("div");return t.textContent=e,t.innerHTML}}t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results for:",t.default_create_option_text="Add Option:",t.default_remove_item_text="Remove selection";class s extends t{setup(){this.current_selectedIndex=this.form_field.selectedIndex}set_up_html(){let e=["chosen-container"];e.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl");const t={class:e.join(" "),title:this.form_field.title};this.form_field.id.length&&(t.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=document.createElement("div");for(let e in t)this.container.setAttribute(e,t[e]);this.container.style.width=this.container_width(),this.is_multiple?this.container.innerHTML=this.get_multi_html():this.container.innerHTML=this.get_single_html(),this.form_field.style.position="absolute",this.form_field.style.opacity=0,this.form_field.style.display="none",this.form_field.parentNode.insertBefore(this.container,this.form_field.nextSibling),this.dropdown=this.container.querySelector("div.chosen-drop"),this.search_field=this.container.querySelector("input"),this.search_results=this.container.querySelector("ul.chosen-results"),this.search_results.setAttribute("id",`${this.form_field.id}-chosen-search-results`),this.search_field_scale(),this.is_multiple?(this.search_choices=this.container.querySelector("ul.chosen-choices"),this.search_container=this.container.querySelector("li.search-field")):(this.search_container=this.container.querySelector("div.chosen-search"),this.selected_item=this.container.querySelector(".chosen-single")),this.set_aria_labels(),this.results_build(),this.set_tab_index(),this.set_label_behavior()}on_ready(){const e=new CustomEvent("chosen:ready",{detail:{chosen:this}});this.form_field.dispatchEvent(e)}register_observers(){this.container.addEventListener("touchstart",(e=>this.container_mousedown(e))),this.container.addEventListener("touchend",(e=>this.container_mouseup(e))),this.container.addEventListener("mousedown",(e=>this.container_mousedown(e))),this.container.addEventListener("mouseup",(e=>this.container_mouseup(e))),this.container.addEventListener("mouseenter",(e=>this.mouse_enter(e))),this.container.addEventListener("mouseleave",(e=>this.mouse_leave(e))),this.search_results.addEventListener("mouseup",(e=>this.search_results_mouseup(e))),this.search_results.addEventListener("mouseover",(e=>this.search_results_mouseover(e))),this.search_results.addEventListener("mouseout",(e=>this.search_results_mouseout(e))),this.search_results.addEventListener("mousewheel",(e=>this.search_results_mousewheel(e))),this.search_results.addEventListener("DOMMouseScroll",(e=>this.search_results_mousewheel(e))),this.search_results.addEventListener("touchstart",(e=>this.search_results_touchstart(e))),this.search_results.addEventListener("touchmove",(e=>this.search_results_touchmove(e))),this.search_results.addEventListener("touchend",(e=>this.search_results_touchend(e))),this.form_field.addEventListener("chosen:updated",(e=>this.results_update_field(e))),this.form_field.addEventListener("chosen:activate",(e=>this.activate_field(e))),this.form_field.addEventListener("chosen:open",(e=>this.container_mousedown(e))),this.form_field.addEventListener("chosen:close",(e=>this.close_field(e))),this.search_field.addEventListener("blur",(e=>this.input_blur(e))),this.search_field.addEventListener("keyup",(e=>this.keyup_checker(e))),this.search_field.addEventListener("keydown",(e=>this.keydown_checker(e))),this.search_field.addEventListener("focus",(e=>this.input_focus(e))),this.search_field.addEventListener("cut",(e=>this.clipboard_event_checker(e))),this.search_field.addEventListener("paste",(e=>this.clipboard_event_checker(e))),this.is_multiple?this.search_choices.addEventListener("click",(e=>this.choices_click(e))):this.container.addEventListener("click",(e=>e.preventDefault()))}destroy(){(null!=this.container.getRootNode?this.container.getRootNode():this.container.ownerDocument).removeEventListener("click",this.click_test_action),this.form_field_label&&this.form_field_label.removeEventListener("click",this.label_click_handler),this.search_field.tabIndex&&(this.form_field.tabIndex=this.search_field.tabIndex),this.container.parentNode.removeChild(this.container),delete this.form_field.__chosen_instance,this.form_field.style.display=""}set_aria_labels(){if(this.search_field.setAttribute("aria-owns",this.search_results.getAttribute("id")),this.form_field.getAttribute("aria-label"))this.search_field.setAttribute("aria-label",this.form_field.getAttribute("aria-label")),this.form_field.getAttribute("aria-labelledby")&&this.search_field.setAttribute("aria-labelledby",this.form_field.getAttribute("aria-labelledby"));else if(this.form_field.labels&&this.form_field.labels.length){let e="";for(let t=0;t<this.form_field.labels.length;t++){let s=this.form_field.labels[t];""===s.id&&(s.id=`${this.form_field.id}-chosen-label-${t}`),e+=this.form_field.labels[t].id+" "}this.search_field.setAttribute("aria-labelledby",e)}}search_field_disabled(){this.is_disabled=this.form_field.disabled||this.form_field.closest("fieldset:
22disabled"),this.is_disabled?(this.container.classList.add("chosen-disabled"),this.search_field.disabled=!0,this.is_multiple||this.selected_item.removeEventListener("focus",this.activate_field),this.close_field()):(this.container.classList.remove("chosen-disabled"),this.search_field.disabled=!1,this.is_multiple||this.selected_item.addEventListener("focus",this.activate_field.bind(this)))}container_mousedown(e){if(!this.is_disabled&&(e&&"left"===this.mousedown_checker(e)&&e&&"mousedown"===e.type&&!this.results_showing&&e.preventDefault(),!e||"mousedown"!==e.type&&"touchstart"!==e.type||this.results_showing||e.preventDefault(),null==e||!e.target.classList.contains("search-choice-close"))){if(this.active_field)this.is_multiple||!e||e.target!==this.selected_item&&!e.target.closest("a.chosen-single")||(e.preventDefault(),this.results_toggle());else{this.is_multiple&&(this.search_field.value="");(null!=this.container.getRootNode?this.container.getRootNode():this.container.ownerDocument).addEventListener("click",this.click_test_action),this.results_show()}this.activate_field()}}container_mouseup(e){!this.is_disabled&&this.allow_single_deselect&&e.target.classList.contains("search-choice-close")&&this.results_reset(e)}search_results_mousewheel(e){let t;t=e.wheelDelta?-e.wheelDelta:e.deltaY||e.detail,null!=t&&(e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop+=t)}blur_test(e){!this.active_field&&this.container.classList.contains("chosen-container-active")&&this.close_field()}close_field(){(null!=this.container.getRootNode?this.container.getRootNode():this.container.ownerDocument).removeEventListener("click",this.click_test_action),this.active_field=!1,this.results_hide(),this.search_field.setAttribute("aria-expanded",!1),this.container.classList.remove("chosen-container-active"),this.container.classList.remove("chosen-dropup"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.dispatchEvent(new Event("blur"))}should_dropup(){const e=window.innerHeight,t=this.container.getBoundingClientRect().top+this.container.offsetHeight-window.pageYOffset;return this.dropdown.offsetHeight+t>e}activate_field(){this.is_disabled||(this.container.classList.add("chosen-container-active"),this.should_dropup()&&this.container.classList.add("chosen-dropup"),this.active_field=!0,this.search_field.value=this.search_field.value,this.search_results.setAttribute("aria-busy",!1),this.search_field.focus())}test_active_click(e){const t=e.target.closest(".chosen-container");"left"===this.mousedown_checker(e)&&t&&this.container===t?this.active_field=!0:this.close_field()}results_build(){if(this.parsing=!0,this.selected_option_count=null,this.results_data=e.select_to_array(this.form_field,this.parser_config),this.is_multiple){this.search_choices.querySelectorAll("li.search-choice").forEach((e=>e.remove()))}else this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold&&!this.create_option?(this.search_field.readOnly=!0,this.container.classList.add("chosen-container-single-nosearch")):(this.search_field.readOnly=!1,this.container.classList.remove("chosen-container-single-nosearch"));this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1}update_results_content(e){this.search_results.innerHTML=e}fire_search_updated(e){const t=new CustomEvent("chosen:search_updated",{detail:{chosen:this,search_term:e}});this.form_field.dispatchEvent(t)}result_do_highlight(e){if(e){this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.classList.add("highlighted"),this.search_field.setAttribute("aria-activedescendant",this.result_highlight.getAttribute("id"));const t=parseInt(window.getComputedStyle(this.search_results).maxHeight,10),s=this.search_results.scrollTop,i=t+s,l=this.result_highlight.offsetTop,h=l+this.result_highlight.offsetHeight;h>=i?this.search_results.scrollTop=h-t:l<s&&(this.search_results.scrollTop=l)}}result_clear_highlight(){this.result_highlight&&this.result_highlight.classList.remove("highlighted"),this.result_highlight=null}results_show(){if(this.is_multiple&&this.max_selected_options<=this.choices_count()){const e=new CustomEvent("chosen:maxselected",{detail:{chosen:this}});return this.form_field.dispatchEvent(e),!1}this.should_dropup()&&this.container.classList.add("chosen-dropup"),this.container.classList.add("chosen-with-drop");const e=this.container.querySelector(".chosen-single div");e&&e.setAttribute("aria-label","Hide options"),this.results_showing=!0,this.search_field.setAttribute("aria-expanded",!0),this.search_field.focus(),this.search_field.value=this.get_search_field_value(),this.winnow_results();const t=new CustomEvent("chosen:showing_dropdown",{detail:{chosen:this}});this.form_field.dispatchEvent(t)}
vendor: 10,903 bytes, lines 22-24
22results_hide(){if(this.results_showing){this.result_clear_highlight(),this.container.classList.remove("chosen-with-drop"),this.container.classList.remove("chosen-dropup");const e=this.container.querySelector(".chosen-single div");e&&e.setAttribute("aria-label","Show options");const t=new CustomEvent("chosen:hiding_dropdown",{detail:{chosen:this}});this.form_field.dispatchEvent(t)}this.search_field.setAttribute("aria-expanded",!1),this.results_showing=!1}set_tab_index(){if(this.form_field.tabIndex){const e=this.form_field.tabIndex;this.form_field.tabIndex=-1,this.search_field.tabIndex=e}}set_label_behavior(){this.form_field_label=this.form_field.closest("label"),!this.form_field_label&&this.form_field.id.length&&(this.form_field_label=document.querySelector(`label[for='${this.form_field.id}']`)),this.form_field_label&&this.form_field_label.addEventListener("click",this.label_click_handler)}set_search_field_placeholder(){this.is_multiple&&this.choices_count()<1?this.search_field.setAttribute("placeholder",this.default_text):this.search_field.setAttribute("placeholder","")}show_search_field_default(){this.search_field.value="",this.set_search_field_placeholder(),this.is_multiple&&this.choices_count()<1&&!this.active_field?this.search_field.classList.add("default"):this.search_field.classList.remove("default")}search_results_mouseup(e){if("left"===this.mousedown_checker(e)){let t=e.target.classList.contains("active-result")||e.target.classList.contains("group-result")?e.target:e.target.closest(".active-result");t&&(this.result_highlight=t,this.result_select(e),this.search_field.focus())}}search_results_mouseover(e){let t=e.target.classList.contains("active-result")?e.target:e.target.closest(".active-result");t&&this.result_do_highlight(t)}search_results_mouseout(e){(e.target.classList.contains("active-result")||e.target.closest(".active-result"))&&this.result_clear_highlight()}choice_build(e){const s=document.createElement("li");if(s.className="search-choice",s.setAttribute("data-value",e.value),s.setAttribute("role","option"),s.innerHTML=`<span>${this.choice_label(e)}</span>`,e.disabled)s.classList.add("search-choice-disabled");else{const i=document.createElement("button");i.type="button",i.tabIndex=-1,i.className="search-choice-close",i.setAttribute("data-option-array-index",e.data["data-option-array-index"]);const l=document.createElement("span");l.className="visually-hidden focusable",l.textContent=t.default_remove_item_text,i.appendChild(l),i.addEventListener("click",(e=>this.choice_destroy_link_click(e))),s.appendChild(i)}this.inherit_option_classes&&e.classes&&s.classList.add(e.classes),this.search_container.parentNode.insertBefore(s,this.search_container)}choice_destroy_link_click(e){e.preventDefault(),e.stopPropagation(),this.is_disabled||this.choice_destroy(e.target)}choice_destroy(e){this.result_deselect(e.getAttribute("data-option-array-index"))&&(this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.hide_results_on_select&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),e.closest("li").remove(),this.set_search_field_placeholder(),this.search_field_scale())}results_reset(){this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field&&this.results_hide()}results_reset_cleanup(){this.current_selectedIndex=this.form_field.selectedIndex;const e=this.selected_item.querySelector(".search-choice-close");e&&e.remove()}result_select(e){if(e.target.classList.contains("group-result")){if(!this.can_select_by_group)return;let t=e.target.nextElementSibling;for(;t&&!t.classList.contains("group-result");){if(t.classList.contains("active-result")){const s=t.getAttribute("data-option-array-index");let i=!1;this.search_choices.querySelectorAll(".search-choice-close").forEach((e=>{e.getAttribute("data-option-array-index")===s&&(i=!0)})),i||(this.result_highlight=t,e.target=t,e.selected=!0,this.result_select(e))}t=t.nextElementSibling}}else if(this.result_highlight){const t=this.result_highlight;if(t.classList.contains("create-option"))return this.select_create_option(this.search_field.value),void this.results_hide();if(this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()){const e=new CustomEvent("chosen:maxselected",{detail:{chosen:this}});return this.form_field.dispatchEvent(e),!1}this.is_multiple?t.classList.remove("active-result"):this.reset_single_select_options(),t.classList.add("result-selected");const s=this.results_data[t.getAttribute("data-option-array-index")];s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||e.metaKey||e.ctrlKey)?e.metaKey||e.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.value="",this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,e.preventDefault(),this.search_field_scale()}}single_set_selected_text(e=this.default_text){e===this.default_text?this.selected_item.classList.add("chosen-default"):(this.single_deselect_control_build(),this.selected_item.classList.remove("chosen-default")),this.selected_item.querySelector("span").innerHTML=e}result_deselect(e){const t=this.results_data[e];return!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)}single_deselect_control_build(){if(this.allow_single_deselect){if(!this.selected_item.querySelector(".search-choice-close")){const e=document.createElement("button");e.type="button",e.tabIndex=-1,e.className="search-choice-close",this.selected_item.querySelector("span").after(e)}this.selected_item.classList.add("chosen-single-with-deselect")}}get_search_field_value(){return this.search_field.value}get_search_text(){return this.get_search_field_value().trim()}winnow_results_set_highlight(){let e;const t=this.is_multiple?null:this.search_results.querySelector(".result-selected.active-result");e=t||this.search_results.querySelector(".active-result"),null!=e&&this.result_do_highlight(e)}no_results(e){const t=this.get_no_results_html(e);this.search_results.insertAdjacentHTML("beforeend",t);const s=new CustomEvent("chosen:no_results",{detail:{chosen:this}});this.form_field.dispatchEvent(s)}show_create_option(e){const t=this.get_create_option_html(e);this.search_results.insertAdjacentHTML("beforeend",t)}create_option_clear(){const e=this.search_results.querySelector(".create-option");e&&e.remove()}select_create_option(e){"function"==typeof this.create_option?this.create_option.call(this,e):this.select_append_option({value:e,text:e})}select_append_option(e){const t=this.get_option_html(e);this.form_field.insertAdjacentHTML("beforeend",t);const s=new Event("chosen:updated");this.form_field.dispatchEvent(s);const i=new Event("change");this.form_field.dispatchEvent(i),this.search_field.focus()}no_results_clear(){const e=this.search_results.querySelector(".no-results");e&&e.remove()}keydown_arrow(){let e;if(this.results_showing&&this.result_highlight){for(e=this.result_highlight.nextElementSibling;e&&!e.classList.contains("active-result");)e=e.nextElementSibling;e&&this.result_do_highlight(e)}else if(this.results_showing&&this.create_option){const e=this.search_results.querySelector(".create-option");e&&this.result_do_highlight(e)}else this.results_show()}keyup_arrow(){let e;if(this.results_showing||this.is_multiple){if(this.result_highlight){for(e=this.result_highlight.previousElementSibling;e&&!e.classList.contains("active-result");)e=e.previousElementSibling;e?this.result_do_highlight(e):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())}}else this.results_show()}keydown_backstroke(){if(this.pending_backstroke)this.choice_destroy(this.pending_backstroke.querySelector(".search-choice-close")),this.clear_backstroke();else{const e=this.search_container.previousElementSibling;e&&!e.classList.contains("search-choice-disabled")&&(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.classList.add("search-choice-focus"))}}clear_backstroke(){this.pending_backstroke&&this.pending_backstroke.classList.remove("search-choice-focus"),this.pending_backstroke=null}search_field_scale(){if(!this.is_multiple)return;const e={position:"absolute",left:"-1000px",top:"-1000px",whiteSpace:"pre"};["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"].forEach((t=>{e[t]=window.getComputedStyle(this.search_field)[t]}));const t=document.createElement("div");Object.assign(t.style,e),t.textContent=this.get_search_field_value()||this.search_field.getAttribute("placeholder"),document.body.appendChild(t);let s=t.offsetWidth+25;t.remove(),this.container.offsetWidth>0&&(s=Math.min(this.container.offsetWidth-10,s)),this.search_field.style.width=`${s}px`}trigger_form_field_change(e){const t=new Event("input"),s=new Event("change",e);this.form_field.dispatchEvent(t),this.form_field.dispatchEvent(s)}}HTMLElement.prototype.chosen=function(e){if(!t.browser_is_supported(e))return this;"destroy"!==e?this.__chosen_instance instanceof s||(this.__chosen_instance=new s(this,e)):this.__chosen_instance instanceof s&&this.__chosen_instance.destroy()}}).call(this);;
23/* @license GNU GPL v2 https://www.drupal.org/about/licensing */
24(function(Drupal,drupalSettings,once){'use strict';document.addEventListener('state:disabled',function(e){if(e.target&&e.target.matches('select')){const event=new Event('chosen:updated',{bubbles:true,cancelable:true});e.target.dispatchEvent(event);}});Drupal.behaviors.chosen={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.chosen-enable',selector:'select:visible',minimum_single:0,minimum_multiple:0,options:{},minimum_width:0,use_relative_width:false},attach:function(context,settings){this.settings=this.getSettings(settings);const elements=this.getElements(context);
24once('chosen',elements).forEach(function(element){if(element.closest('#drupal-modal')){element.addEventListener('chosen:showing_dropdown',(e)=>{const nextElement=element.nextElementSibling;if(nextElement){const chosenDrop=nextElement.querySelector('.chosen-drop');if(chosenDrop){chosenDrop.style.position='static';const event=new Event('dialogContentResize',{bubbles:true,cancelable:true});element.dispatchEvent(event);}}});element.addEventListener('chosen:hiding_dropdown',(e)=>{const nextElement=element.nextElementSibling;if(nextElement){const chosenDrop=nextElement.querySelector('.chosen-drop');if(chosenDrop){chosenDrop.style.position='';const event=new Event('dialogContentResize',{bubbles:true,cancelable:true});element.dispatchEvent(event);}}});}this.createChosen(element);}.bind(this));},createChosen:function(element){const options=this.getElementOptions(element);element.chosen(options);this.observeDisabledState(element);this.redirectSelectFocus(element);if(options.add_helper_buttons||element.hasAttribute('chosen_add_helper_buttons'))if(element.hasAttribute('multiple')){const allButton=document.createElement('button');allButton.type='button';allButton.className='button chosen-helper-btn';allButton.textContent='All';allButton.addEventListener('click',function(){Array.from(element.options).forEach(function(option){option.selected=true;});const event=new Event('chosen:updated',{bubbles:true,cancelable:true});element.dispatchEvent(event);});const noneButton=document.createElement('button');noneButton.type='button';noneButton.className='button chosen-helper-btn';noneButton.textContent='None';noneButton.addEventListener('click',function(){Array.from(element.options).forEach(function(option){option.selected=false;});const event=new Event('chosen:updated',{bubbles:true,cancelable:true});element.dispatchEvent(event);});element.parentNode.appendChild(allButton);element.parentNode.appendChild(noneButton);}},redirectSelectFocus:function(element){if(element.__chosenFocusRedirect)return;element.__chosenFocusRedirect=true;const redirect=function(){window.requestAnimationFrame(function(){const chosen=element.__chosen_instance;if(!chosen||!chosen.container||element.disabled)return;const focusTarget=chosen.is_multiple?chosen.search_field:chosen.selected_item;if(focusTarget&&document.activeElement===element)focusTarget.focus();});};element.addEventListener('focus',redirect);if(document.activeElement===element)redirect();},observeDisabledState:function(element){if(element.__chosenDisabledObserver)return;const observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){if(mutation.type==='attributes'&&mutation.attributeName==='disabled'){const event=new Event('chosen:updated',{bubbles:true,cancelable:true});element.dispatchEvent(event);}});});observer.observe(element,{attributes:true,attributeFilter:['disabled']});element.__chosenDisabledObserver=observer;},filterElements:function(element){if(element.matches(this.settings.ignoreSelector))return false;const minOptions=element.hasAttribute('multiple')?this.settings.minimum_multiple:this.settings.minimum_single;return !minOptions||element.querySelectorAll('option').length>=minOptions;},isVisible:function(el){return !!(el.offsetWidth||el.offsetHeight||el.getClientRects().length);},splitSelectors:function(selector){const result=[];let current='';let depth=0;for(let i=0;i<selector.length;i++){const char=selector[i];if(char==='['||char==='(')depth++;else{if(char===']'||char===')')depth=Math.max(depth-1,0);}if(char===','&&depth===0){if(current.trim())result.push(current.trim());current='';}else current+=char;}if(current.trim())result.push(current.trim());return result;},getVisibleElements:function(context,selector){const selectors=this.splitSelectors(selector);let elements=[];selectors.forEach((s)=>{const hasVisibleFilter=s.includes(':visible');const cleanSelector=s.replace(':visible','').trim();if(!cleanSelector)return;let selectedElements;try{selectedElements=Array.from(context.querySelectorAll(cleanSelector));}catch(error){return;}if(hasVisibleFilter)selectedElements=selectedElements.filter(this.isVisible);elements=elements.concat(selectedElements);});return elements;},getElements:function(context,selector){context=context||document;let elements=this.getVisibleElements(context,selector||this.settings.selector);elements=elements.filter(function(element){return this.filterElements(element);}.bind(this));const optedInElements=Array.from(context.querySelectorAll(this.settings.optedInSelector));
24optedInElements.forEach(function(element){if(!elements.includes(element))elements.push(element);});return elements;},getElementOptions:function(element){const options=Object.assign({},this.settings.options,this.getElementOverriddenOptions(element));let dimension;let width;if(this.settings.minimum_width>0){if(this.settings.use_relative_width){dimension='%';const elementWidth=element.getBoundingClientRect().width;const parentWidth=element.parentNode.getBoundingClientRect().width;width=((elementWidth/parentWidth)*100).toPrecision(5);}else{dimension='px';width=element.getBoundingClientRect().width;}if(width<this.settings.minimum_width)options.width=this.settings.minimum_width+dimension;else options.width=width+dimension;}const cardinality=element.dataset.cardinality;if(element.hasAttribute('multiple')&&cardinality)options.max_selected_options=parseInt(cardinality);return options;},getElementOverriddenOptions:function(element){const overriddenOptions={};const noResultsText=element.getAttribute('data-no_results_text');if(noResultsText)overriddenOptions.no_results_text=noResultsText;const searchContains=element.getAttribute('data-search_contains');if(searchContains==='1')overriddenOptions.search_contains=true;else{if(searchContains==='2')overriddenOptions.search_contains=false;}const createOption=element.getAttribute('data-create_option');if(createOption==='true')overriddenOptions.create_option=true;return overriddenOptions;},getSettings:function(settings){return this.deepMerge({},this.settings,(settings&&settings.chosen)||drupalSettings.chosen||{});},deepMerge:function(target,...sources){if(!sources.length)return target;const source=sources.shift();if(typeof target!=='object'||typeof source!=='object')return target;for(const key in source)if(source.hasOwnProperty(key))if(typeof source[key]==='object'){if(!target[key])Object.assign(target,{[key]:{}});this.deepMerge(target[key],source[key]);}else Object.assign(target,{[key]:source[key]});return this.deepMerge(target,...sources);}};})(Drupal,drupalSettings,once);;
25/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
26((Drupal,drupalSettings)=>{Drupal.extlink=Drupal.extlink||{};Drupal.extlink.attach=(context,drupalSettings)=>{if(typeof drupalSettings.data==='undefined'||!drupalSettings.data.hasOwnProperty('extlink'))return;let extIconPlacement='append';if(drupalSettings.data.extlink.extIconPlacement&&drupalSettings.data.extlink.extIconPlacement!=='0')extIconPlacement=drupalSettings.data.extlink.extIconPlacement;const pattern=/^(([^:]+?\.)*)([^.:]+)((\.[a-z0-9]{1,253})*)(:[0-9]{1,5})?$/;const host=window.location.host.replace(pattern,'$2$3$6');const subdomain=window.location.host.replace(host,'');let subdomains;if(drupalSettings.data.extlink.extSubdomains)subdomains='([^/]*\\.)?';else if(subdomain==='www.'||subdomain==='')subdomains='(www\\.)?';else subdomains=subdomain.replace('.','\\.');let allowedDomains=false;if(drupalSettings.data.extlink.allowedDomains){allowedDomains=[];for(let i=0;i<drupalSettings.data.extlink.allowedDomains.length;i++)allowedDomains.push(new RegExp(`^https?:\\/\\/${drupalSettings.data.extlink.allowedDomains[i].replace(/(\r\n|\n|\r)/gm,'')}.*$`,'i'));}const internalLink=new RegExp(`^https?://([^@]*@)?${subdomains}${host}`,'i');let extInclude=false;if(drupalSettings.data.extlink.extInclude)extInclude=new RegExp(drupalSettings.data.extlink.extInclude.replace(/\\/,'\\'),'i');let extExclude=false;if(drupalSettings.data.extlink.extExclude)extExclude=new RegExp(drupalSettings.data.extlink.extExclude.replace(/\\/,'\\'),'i');let extExcludeNoreferrer=false;if(drupalSettings.data.extlink.extExcludeNoreferrer)extExcludeNoreferrer=new RegExp(drupalSettings.data.extlink.extExcludeNoreferrer.replace(/\\/,'\\'),'i');let extCssExclude=false;if(drupalSettings.data.extlink.extCssExclude)extCssExclude=drupalSettings.data.extlink.extCssExclude;let extCssInclude=false;if(drupalSettings.data.extlink.extCssInclude)extCssInclude=drupalSettings.data.extlink.extCssInclude;let extCssExplicit=false;if(drupalSettings.data.extlink.extCssExplicit)extCssExplicit=drupalSettings.data.extlink.extCssExplicit;const externalLinks=[];const mailtoLinks=[];const telLinks=[];const extlinks=context.querySelectorAll('a:not([data-extlink]), area:not([data-extlink])');extlinks.forEach((el)=>{try{let url='';if(typeof el.href==='string')url=el.href.toLowerCase();else{if(typeof el.href==='object')url=el.href.baseVal;}
26const isExtCssIncluded=extCssInclude&&(el.matches(extCssInclude)||el.closest(extCssInclude));if(url.indexOf('http')===0&&((!internalLink.test(url)&&!(extExclude&&extExclude.test(url)))||(extInclude&&extInclude.test(url))||isExtCssIncluded)&&!(extCssExclude&&el.matches(extCssExclude))&&!(extCssExclude&&el.closest(extCssExclude))&&!(extCssExplicit&&!el.closest(extCssExplicit))){let match=false;if(!isExtCssIncluded&&allowedDomains){for(let i=0;i<allowedDomains.length;i++)if(allowedDomains[i].test(url)){match=true;break;}}if(!match)externalLinks.push(el);}else{if(el.tagName!=='AREA'&&!(extCssExclude&&el.closest(extCssExclude))&&!(extCssExplicit&&!el.closest(extCssExplicit)))if(url.indexOf('mailto:')===0)mailtoLinks.push(el);else{if(url.indexOf('tel:')===0)telLinks.push(el);}}}catch(error){return false;}});const hasExtIcon=drupalSettings.data.extlink.extClass!=='0'&&drupalSettings.data.extlink.extClass!=='';const hasAdditionalExtClasses=drupalSettings.data.extlink.extAdditionalLinkClasses!=='';Drupal.extlink.applyClassAndSpan(externalLinks,'ext',hasExtIcon?extIconPlacement:null);if(hasAdditionalExtClasses)Drupal.extlink.applyClassAndSpan(externalLinks,drupalSettings.data.extlink.extAdditionalLinkClasses,null);const hasMailtoClass=drupalSettings.data.extlink.mailtoClass!=='0'&&drupalSettings.data.extlink.mailtoClass!=='';const hasAdditionalMailtoClasses=drupalSettings.data.extlink.extAdditionalMailtoClasses!=='';if(hasMailtoClass)Drupal.extlink.applyClassAndSpan(mailtoLinks,drupalSettings.data.extlink.mailtoClass,extIconPlacement);if(hasAdditionalMailtoClasses)Drupal.extlink.applyClassAndSpan(mailtoLinks,drupalSettings.data.extlink.extAdditionalMailtoClasses,null);const hasTelClass=drupalSettings.data.extlink.telClass!=='0'&&drupalSettings.data.extlink.telClass!=='';const hasAdditionalTelClasses=drupalSettings.data.extlink.extAdditionalTelClasses!=='0'&&drupalSettings.data.extlink.extAdditionalTelClasses!=='';if(hasTelClass)Drupal.extlink.applyClassAndSpan(telLinks,drupalSettings.data.extlink.telClass,extIconPlacement);if(hasAdditionalTelClasses)Drupal.extlink.applyClassAndSpan(mailtoLinks,drupalSettings.data.extlink.extAdditionalTelClasses,null);if(drupalSettings.data.extlink.extTarget){externalLinks.forEach((link,i)=>{if(!(drupalSettings.data.extlink.extTargetNoOverride&&link.matches('a[target]')))externalLinks[i].setAttribute('target','_blank');});externalLinks.forEach((link,i)=>{const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','noopener');return;}if(val.indexOf('noopener')>-1)if(val.indexOf('noopener')===-1)externalLinks[i].setAttribute('rel',`${val} noopener`);else{}else externalLinks[i].setAttribute('rel',`${val} noopener`);});}if(drupalSettings.data.extlink.extNofollow)externalLinks.forEach((link,i)=>{const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','nofollow');return;}let target='nofollow';if(drupalSettings.data.extlink.extFollowNoOverride)target='follow';if(val.indexOf(target)===-1)externalLinks[i].setAttribute('rel',`${val} nofollow`);});if(drupalSettings.data.extlink.extTitleNoOverride===false)externalLinks.forEach((link,i)=>{const oldTitle=link.getAttribute('title');let newTitle='';if(drupalSettings.data.extlink.extTargetAppendNewWindowDisplay)newTitle=drupalSettings.data.extlink.extTargetAppendNewWindowLabel;if(oldTitle!==null){if(Drupal.extlink.hasNewWindowText(oldTitle))return;newTitle=Drupal.extlink.combineLabels(oldTitle,newTitle);}if(newTitle)externalLinks[i].setAttribute('title',newTitle);});if(drupalSettings.data.extlink.extNoreferrer)externalLinks.forEach((link,i)=>{if(drupalSettings.data.extlink.extExcludeNoreferrer&&extExcludeNoreferrer.test(link.getAttribute('href')))return;const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','noreferrer');return;}externalLinks[i].setAttribute('rel',`${val} noreferrer`);});Drupal.extlink=Drupal.extlink||{};Drupal.extlink.popupClickHandler=Drupal.extlink.popupClickHandler||(()=>{if(drupalSettings.data.extlink.extAlert)return confirm(drupalSettings.data.extlink.extAlertText);});const _that=this;Drupal.extlink.handleClick=function(event){const shouldNavigate=Drupal.extlink.popupClickHandler.call(_that,event);if(typeof shouldNavigate!=='undefined'&&!shouldNavigate)event.preventDefault();};externalLinks.forEach((val,i)=>{externalLinks[i].removeEventListener('click',Drupal.extlink.handleClick);externalLinks[i].addEventListener('click',Drupal.extlink.handleClick);});};Drupal.extlink.hasNewWindowText=function(label){return label.toLowerCase().indexOf(Drupal.t('new window'))!==-1;};Drupal.extlink.combineLabels=function(labelA,labelB){labelA=labelA||'';labelB=labelB||'';if(!labelA.trim())return labelB;if(!labelB.trim())return labelA;const labelANoParens=labelA.trim().replace('(','').replace(')','');const labelBNoParens=labelB.trim().replace('(','').replace(')','');if(labelA===labelANoParens){if(labelB===labelBNoParens)return `${labelA}, ${labelB}`;return `${labelA} ${labelB}`;}if(labelB===labelBNoParens)return `${labelB} ${labelA}`;return `(${labelANoParens}, ${labelBNoParens})`;};Drupal.extlink.applyClassAndSpan=(links,className,iconPlacement)=>{let linksToProcess;if(drupalSettings.data.extlink.extImgClass)linksToProcess=links;else linksToProcess=links.filter((link)=>{return link.querySelector('img, svg')===null;});for(let i=0;i<linksToProcess.length;i++){if(className!=='0')linksToProcess[i].classList.add(className);if(className===drupalSettings.data.extlink.mailtoClass&&drupalSettings.data.extlink.extAdditionalMailtoClasse
26s)linksToProcess[i].classList.add(drupalSettings.data.extlink.extAdditionalMailtoClasses);else if(className===drupalSettings.data.extlink.telClass&&drupalSettings.data.extlink.extAdditionalTelClasses)linksToProcess[i].classList.add(drupalSettings.data.extlink.extAdditionalTelClasses);else{if(drupalSettings.data.extlink.extAdditionalLinkClasses)linksToProcess[i].classList.add(drupalSettings.data.extlink.extAdditionalLinkClasses);}linksToProcess[i].setAttribute('data-extlink','');if(iconPlacement){let link=linksToProcess[i];if(drupalSettings.data.extlink.extPreventOrphan&&iconPlacement==='append'){let lastTextNode=link.lastChild;let trailingWhitespace=null;let parentNode=link;while(lastTextNode)if(lastTextNode.lastChild){parentNode=lastTextNode;lastTextNode=lastTextNode.lastChild;}else if(lastTextNode.nodeName==='#text'&&parentNode.lastElementChild&&lastTextNode.textContent.trim().length===0){trailingWhitespace=lastTextNode;parentNode=parentNode.lastElementChild;lastTextNode=parentNode.lastChild;}else break;if(lastTextNode&&lastTextNode.nodeName==='#text'&&lastTextNode.textContent.length>0){const lastText=lastTextNode.textContent;const lastWordRegex=new RegExp(/\S+\s*$/,'g');const lastWord=lastText.match(lastWordRegex);if(lastWord!==null){const breakPreventer=document.createElement('span');breakPreventer.classList.add('extlink-nobreak');breakPreventer.textContent=lastWord[0];if(trailingWhitespace){trailingWhitespace.textContent='';breakPreventer.append(trailingWhitespace.textContent);}lastTextNode.textContent=lastText.substring(0,lastText.length-lastWord[0].length);lastTextNode.parentNode.append(breakPreventer);link=breakPreventer;}}}let iconElement;if(drupalSettings.data.extlink.extUseFontAwesome){iconElement=document.createElement('span');iconElement.setAttribute('class',`fa-${className} extlink`);if(className===drupalSettings.data.extlink.mailtoClass){if(drupalSettings.data.extlink.mailtoLabel)link.ariaLabel=drupalSettings.data.extlink.mailtoLabel;iconElement.innerHTML=Drupal.theme('extlink_fa_mailto',drupalSettings,iconPlacement);}else if(className===drupalSettings.data.extlink.extClass){if(drupalSettings.data.extlink.extLabel)link.ariaLabel=drupalSettings.data.extlink.extLabel;iconElement.innerHTML=Drupal.theme('extlink_fa_extlink',drupalSettings,iconPlacement);}else{if(className===drupalSettings.data.extlink.telClass){if(drupalSettings.data.extlink.telLabel)link.ariaLabel=drupalSettings.data.extlink.telLabel;iconElement.innerHTML=Drupal.theme('extlink_fa_tel',drupalSettings,iconPlacement);}}}else{iconElement=document.createElementNS('http://www.w3.org/2000/svg','svg');iconElement.setAttribute('focusable','false');iconElement.setAttribute('width','1em');iconElement.setAttribute('height','1em');iconElement.classList.add(className);iconElement.setAttribute('data-extlink-placement',iconPlacement);if(className===drupalSettings.data.extlink.mailtoClass)iconElement=Drupal.theme('extlink_mailto',iconElement,drupalSettings);else if(className===drupalSettings.data.extlink.extClass)iconElement=Drupal.theme('extlink_extlink',iconElement,drupalSettings);else{if(className===drupalSettings.data.extlink.telClass)iconElement=Drupal.theme('extlink_tel',iconElement,drupalSettings);}}iconElement.setAttribute('role','img');iconElement.setAttribute('aria-hidden',drupalSettings.data.extlink.extHideIcons);link[iconPlacement](iconElement);}}};Drupal.theme.extlink_fa_mailto=function(drupalSettings,iconPlacement){return `<span class="${drupalSettings.data.extlink.extFaMailtoClasses}" data-extlink-placement="${iconPlacement}"></span>`;};Drupal.theme.extlink_fa_extlink=function(drupalSettings,iconPlacement){return `<span class="${drupalSettings.data.extlink.extFaLinkClasses}" data-extlink-placement="${iconPlacement}"></span>`;};Drupal.theme.extlink_fa_tel=function(drupalSettings,iconPlacement){return `<span class="${drupalSettings.data.extlink.extFaTelClasses}" data-extlink-placement="${iconPlacement}"></span>`;};Drupal.theme.extlink_mailto=function(iconElement,drupalSettings){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.mailtoLabel);iconElement.setAttribute('viewBox','0 10 70 20');iconElement.innerHTML=`<title>${drupalSettings.data.extlink.mailtoLabel}</title><path d="M56 14H8c-1.1 0-2 0.9-2 2v32c0 1.1 0.9 2 2 2h48c1.1 0 2-0.9 2-2V16C58 14.9 57.1 14 56 14zM50.5 18L32 33.4 13.5 18H50.5zM10 46V20.3l20.7 17.3C31.1 37.8 31.5 38 32 38s0.9-0.2 1.3-0.5L54 20.3V46H10z"/>`;return iconElement;};Drupal.theme.extlink_extlink=function(iconElement,drupalSettings){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.extLabel);iconElement.setAttribute('viewBox','0 0 80 40');iconElement.innerHTML=`<title>${drupalSettings.data.extlink.extLabel}</title><path d="M48 26c-1.1 0-2 0.9-2 2v26H10V18h26c1.1 0 2-0.9 2-2s-0.9-2-2-2H8c-1.1 0-2 0.9-2 2v40c0 1.1 0.9 2 2 2h40c1.1 0 2-0.9 2-2V28C50 26.9 49.1 26 48 26z"/><path d="M56 6H44c-1.1 0-2 0.9-2 2s0.9 2 2 2h7.2L30.6 30.6c-0.8 0.8-0.8 2 0 2.8C31 33.8 31.5 34 32 34s1-0.2 1.4-0.6L54 12.8V20c0 1.1 0.9 2 2 2s2-0.9 2-2V8C58 6.9 57.1 6 56 6z"/>`;return iconElement;};Drupal.theme.extlink_tel=function(iconElement,drupalSettings){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.telLabel);iconElement.setAttribute('viewBox','0 0 181.352 181.352');iconElement.innerHTML=`<title>${drupalSettings.data.extlink.telLabel}</title><path xmlns="http://www.w3.org/2000/svg" d="M169.393,167.37l-14.919,9.848c-9.604,6.614-50.531,14.049-106.211-53.404C-5.415,58.873,9.934,22.86,17.134,14.555L29.523,1.678c2.921-2.491,7.328-2.198,9.839,0.811l32.583,38.543l0.02,0.02c2.384,2.824,2.306,7.22-0.83,9.868v0.029l-14.44,10.415c-5.716,5.667-0.733,14.587,5.11,23.204l27.786,32.808c12.926,12.477,20.009,18.241,26.194,14.118l12.008-13.395c2.941-2.472,7.328-2.169,9.839,0.821l32.603,38.543v0.02C172.607,160.316,172.519,164.703,169.393,167.37z"/>`;return iconElement;};Drupal.behaviors.extlink=Drupal.behaviors.extlink||{};Drupal.behaviors.extlink.attach=(context,drupalSettings)=>{if(typeof extlinkAttach==='function')extlinkAttach(context);else Drupal.extlink.attach(context,drupalSettings);};})(Drupal,drupalSettings);;
27Drupal.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;};};;
28(function($,Drupal,debounce){$.fn.drupalGetSummary=function(){const callback=this.data('summaryCallback');if(!this[0]||!callback)return '';const result=callback(this[0]);return result?result.trim():'';};$.fn.drupalSetSummary=function(callback){const self=this;if(typeof callback!=='function'){const val=callback;callback=function(){return val;};}return (this.data('summaryCallback',callback).off('formUpdated.summary').on('formUpdated.summary',()=>{self.trigger('summaryUpdated');}).trigger('summaryUpdated'));};Drupal.behaviors.formSingleSubmit={attach(){function onFormSubmit(e){const $form=$(e.currentTarget);const formValues=new URLSearchParams(new FormData(e.target)).toString();const previousValues=$form.attr('data-drupal-form-submit-last');
28if(previousValues===formValues)e.preventDefault();else $form.attr('data-drupal-form-submit-last',formValues);}$(once('form-single-submit','body')).on('submit.singleSubmit','form:not([method~="GET"])',onFormSubmit);}};function triggerFormUpdated(element){$(element).trigger('formUpdated');}function fieldsList(form){return [].map.call(form.querySelectorAll('[name][id]'),(el)=>el.id);}Drupal.behaviors.formUpdated={attach(context){const $context=$(context);const contextIsForm=context.tagName==='FORM';const $forms=$(once('form-updated',contextIsForm?$context:$context.find('form')));let formFields;if($forms.length)$.makeArray($forms).forEach((form)=>{const events='change.formUpdated input.formUpdated ';const eventHandler=debounce((event)=>{triggerFormUpdated(event.target);},300);formFields=fieldsList(form).join(',');form.setAttribute('data-drupal-form-fields',formFields);$(form).on(events,eventHandler);});if(contextIsForm){formFields=fieldsList(context).join(',');const currentFields=$(context).attr('data-drupal-form-fields');if(formFields!==currentFields)triggerFormUpdated(context);}},detach(context,settings,trigger){const $context=$(context);const contextIsForm=context.tagName==='FORM';if(trigger==='unload')once.remove('form-updated',contextIsForm?$context:$context.find('form')).forEac
28h((form)=>{form.removeAttribute('data-drupal-form-fields');$(form).off('.formUpdated');});}};Drupal.behaviors.fillUserInfoFromBrowser={attach(context,settings){const userInfo=['name','mail','homepage'];const $forms=$(once('user-info-from-browser','[data-user-info-from-browser]'));if($forms.length)userInfo.forEach((info)=>{const $element=$forms.find(`[name=${info}]`);const browserData=localStorage.getItem(`Drupal.visitor.${info}`);if(!$element.length)return;const emptyValue=$element[0].value==='';const defaultValue=$element.attr('data-drupal-default-value')===$element[0].value;if(browserData&&(emptyValue||defaultValue))$element.each(function(index,item){item.value=browserData;});});$forms.on('submit',()=>{userInfo.forEach((info)=>{const $element=$forms.find(`[name=${info}]`);if($element.length)localStorage.setItem(`Drupal.visitor.${info}`,$element[0].value);});});}};const handleFragmentLinkClickOrHashChange=(e)=>{let url;if(e.type==='click')url=e.currentTarget.location?e.currentTarget.location:e.currentTarget;else url=window.location;const hash=url.hash.substring(1);if(hash){const $target=$(`#${hash}`);$('body').trigger('formFragmentLinkClickOrHashChange',[$target]);setTimeout(()=>$target.trigger('focus'),300);}};const debouncedHandleFragmentLinkClickOrHashChange=debounce(handleFragmentLinkClickOrHashChange,300,true);$(window).on('hashchange.form-fragment',debouncedHandleFragmentLinkClickOrHashChange);
28$(document).on('click.form-fragment','a[href*="#"]',debouncedHandleFragmentLinkClickOrHashChange);})(jQuery,Drupal,Drupal.debounce);;
29(($,Drupal)=>{function DetailsSummarizedContent(node){this.$node=$(node);this.setupSummary();}$.extend(DetailsSummarizedContent,{instances:[]});$.extend(DetailsSummarizedContent.prototype,{setupSummary(){this.$detailsSummarizedContentWrapper=$(Drupal.theme('detailsSummarizedContentWrapper'));this.$node.on('summaryUpdated',this.onSummaryUpdated.bind(this)).trigger('summaryUpdated').find('> summary').append(this.$detailsSummarizedContentWrapper);},onSummaryUpdated(){const text=this.$node.drupalGetSummary();this.$detailsSummarizedContentWrapper.html(Drupal.theme('detailsSummarizedContentText',text));}});Drupal.behaviors.detailsSummary={attach(context){DetailsSummarizedContent.instances=DetailsSummarizedContent.instances.concat(once('details','details',context).map((details)=>new DetailsSummarizedContent(details)));}};Drupal.DetailsSummarizedContent=DetailsSummarizedContent;Drupal.theme.detailsSummarizedContentWrapper=()=>`<span class="summary"></span>`;Drupal.theme.detailsSummarizedContentText=(text)=>text?` (${text})`:'';})(jQuery,Drupal);;
30(function($,Drupal){Drupal.behaviors.detailsAria={attach(){$(once('detailsAria','body')).on('click.detailsAria','summary',(event)=>{const $summary=$(event.currentTarget);const open=$(event.currentTarget.parentNode).attr('open')==='open'?'false':'true';$summary.attr({'aria-expanded':open});});}};})(jQuery,Drupal);;
31(function($){const handleFragmentLinkClickOrHashChange=(e,$target)=>{$target.parents('details').not('[open]').find('> summary').trigger('click');};$('body').on('formFragmentLinkClickOrHashChange.details',handleFragmentLinkClickOrHashChange);window.addEventListener('invalid',(event)=>{if(event.target.matches('details :is(input, textarea, select)[required]'))handleFragmentLinkClickOrHashChange(event,$(event.target));},{capture:true});})(jQuery);;
32(function($,once){const onTabInvalid=function(e){$(e.target).parents('details ').children('summary[aria-expanded=false]:not(.horizontal-tabs-pane > summary, .vertical-tabs__pane > summary)').parent().attr('open','open');};Drupal.behaviors.fieldGroupTabValidation={attach(context){$(once('field-group-tab-validation',$('.field-group-tab :input',context))).on('invalid.field_group',onTabInvalid);}};})(jQuery,once);;
33(function($,once){const fieldGroupTabsOpen=function($fieldGroup){if($fieldGroup.data('verticalTab'))$fieldGroup.data('verticalTab').tabShow();else if($fieldGroup.data('horizontalTab'))$fieldGroup.data('horizontalTab').tabShow();else $fieldGroup.attr('open','');};Drupal.behaviors.fieldGroupTabsValidation={attach(context){const $inputs=$('.field-group-tabs-wrapper :input',context);const onTabsInvalid=function(e){$inputs.off('invalid.field_group',onTabsInvalid);$(e.target).parents('details:not(:visible), details.horizontal-tab-hidden, details.vertical-tab-hidden').each(function(){fieldGroupTabsOpen($(this));});requestAnimationFrame(function(){$inputs.on('invalid.field_group',onTabsInvalid);});};$(once('field-group-tabs-validation',$inputs)).on('invalid.field_group',onTabsInvalid);}};})(jQuery,once);;
34(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);;
35/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
36loadjs=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}
36function 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}();;
37/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
38(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);;
39((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})=>{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);;
40(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}`;
40once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={url:$(el.form).attr('action'),setClick:true,event:'click',progress:{type:'throbber'},base:el.id,element:el};Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element?.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl.hasOwnProperty(originalUrl))drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=JSON.parse(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl.hasOwnProperty(ajax.url))if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
40$(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
40d}`,$.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));
40$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);;
41(function(Drupal){Drupal.theme.ajaxProgressBar=function($element){return $element.addClass('ajax-progress ajax-progress-bar');};})(Drupal);;
42((Drupal)=>{Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress--fullscreen">
42<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);;
43(function(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);;
44(function(Drupal,drupalSettings,once){'use strict';var STORAGE_KEY='lmcWebPush';var LEGACY_KEY='lmcWebPushPromptHandled';var TRIGGER_SELECTOR='.js-lmc-webpush-subscribe';var DAY_MS=24*60*60*1000;var DEFAULTS={showBell:true,repromptCooldownDays:14,repromptMax:2};var swRegistration=null;var appServerKey=null;var pushConfig=null;var uiConfig=DEFAULTS;var bellEl=null;function isAvailable(){return ('serviceWorker' in navigator)&&('Push
44Manager' in window)&&('Notification' in window);}function permission(){return (typeof Notification!=='undefined')?Notification.permission:'default';}function now(){return (window.Date&&Date.now)?Date.now():0;}function urlBase64ToUint8Array(base64String){var padding='='.repeat((4-base64String.length%4)%4);var base64=(base64String+padding).replace(/-/g,'+').replace(/_/g,'/');var raw=window.atob(base64);var output=new Uint8Array(raw.length);for(var i=0;i<raw.length;++i)output[i]=raw.charCodeAt(i);return output;}function keysEqual(a,b){if(!a||!b)return false;var ua=new Uint8Array(a);var ub=new Uint8Array(b);if(ua.length!==ub.length)return false;for(var i=0;i<ua.length;i++)if(ua[i]!==ub[i])return false;return true;}function readState(){try{var raw=localStorage.getItem(STORAGE_KEY);if(raw)return JSON.parse(raw);if(localStorage.getItem(LEGACY_KEY)==='1'){var migrated={state:'dismissed',dismissCount:1,updated:0,endpoint:null};try{localStorage.setItem(STORAGE_KEY,JSON.stringify(migrated));localStorage.removeItem(LEGACY_KEY);}catch(e){}return migrated;}}catch(e){}return null;}function writeState(patch){var current=readState()||{};var next={state:('state' in patch)?patch.state:(current.state||null),endpoint:('endpoint' in patch)?patch.endpoint:(current.endpoint||null),updated:('updated' in patch)?patch.updated:(current.updated||now()),dismissCount:('dismissCount' in patch)?patch.dismissCount:(current.dismissCount||0)};try{localStorage.setItem(STORAGE_KEY,JSON.stringify(next));localStorage.removeItem(LEGACY_KEY);}catch(e){}return next;}function currentState(){var s=readState();return (s&&s.state)?s.state:null;}function postSubscription(subscription){if(!subscription)return Promise.resolve(null);var key=subscription.getKey('p256dh');var token=subscription.getKey('auth');return fetch(Drupal.url('session/token')).then(function(response){return response.text();}).then(function(csrfToken){return fetch(pushConfig.subscribeUrl,{method:'POST',body:JSON.stringify({key:key?btoa(String.fromCharCode.apply(null,new Uint8Array(key))):null,token:token?btoa(String.fromCharCode.apply(null,new Uint8Array(token))):null,endpoint:subscription.endpoint}),headers:{'Content-type':'application/json; charset=UTF-8','X-CSRF-Token':csrfToken}});}).then(function(response){if(!response.ok)throw new Error('Subscribe request failed with status '+response.status);document.dispatchEvent(new Event('subscribe'));return subscription.endpoint;});}function createSubscription(registration){return registration.pushManager.subscribe({userVisibleOnly:true,applicationServerKey:appServerKey});}function requestSubscription(registration){return createSubscription(registration).catch(function(error){if(error&&error.name==='InvalidStateError')return registration.pushManager.getSubscription().then(function(existing){return existing?existing.unsubscribe():null;}).then(function(){return createSubscription(registration);});throw error;}).then(function(subscription){return postSubscription(subscription);});}function ensureSubscription(registration){return registration.pushManager.getSubscription().then(function(existing){if(existing){var existingKey=existing.options&&existing.options.applicationServerKey;if(existingKey&&keysEqual(existingKey,appServerKey.buffer))return postSubscription(existing);return existing.unsubscribe().then(function(){return createSubscription(registration);}).then(function(subscription){return postSubscription(subscription);});}return createSubscription(registration).then(function(subscription){return postSubscription(subscription);});}).then(function(endpoint){writeState({state:'subscribed',endpoint,updated:now(),dism
44issCount:0});updateBell();return endpoint;}).catch(function(e){if(window.console&&console.warn)console.warn('Web Push: subscription not completed.',e);});}function renderPopup(opts){var existing=document.querySelector('.lmc-wpn-popup');if(existing&&existing.parentNode)existing.parentNode.removeChild(existing);var wrapper=document.createElement('div');wrapper.className='lmc-wpn-popup'+(opts.modifier?' lmc-wpn-popup--'+opts.modifier:'');wrapper.setAttribute('role','dialog');wrapper.setAttribute('aria-live','polite');var inner=document.createElement('div');inner.className='lmc-wpn-popup__inner';var text=document.createElement('p');text.className='lmc-wpn-popup__text';text.textContent=opts.text;inner.appendChild(text);var actions=document.createElement('div');actions.className='lmc-wpn-popup__actions';function close(){if(wrapper.parentNode)wrapper.parentNode.removeChild(wrapper);}function addButton(spec,variant){if(!spec)return;var btn=document.createElement('button');btn.type='button';btn.className='lmc-wpn-popup__btn lmc-wpn-popup__btn--'+variant;btn.textContent=spec.label;btn.addEventListener('click',function(){spec.onClick(close);});actions.appendChild(btn);}addButton(opts.primary,'allow');addButton(opts.secondary,'deny');inner.appendChild(actions);wrapper.appendChild(inner);document.body.appendChild(wrapper);window.requestAnimationFrame(function(){wrapper.classList.add('lmc-wpn-popup--visible');});return close;}function startSubscribe(close){var done=function(){close();updateBell();};var ok=function(endpoint){writeState({state:'subscribed',endpoint,updated:now(),dism
44issCount:0});done();};var fail=function(e){if(window.console&&console.warn)console.warn('Web Push: subscription not completed.',e);writeState({state:'failed',updated:now()});done();};var request;try{request=Notification.requestPermission();}catch(e){request=null;}if(!request||typeof request.then!=='function')request=new Promise(function(resolve){Notification.requestPermission(resolve);});request.then(function(perm){if(perm==='denied'){writeState({state:'denied',updated:now()});done();return;}if(perm!=='granted'){writeState({state:'failed',updated:now()});done();return;}var ready=swRegistration?Promise.resolve(swRegistration):navigator.serviceWorker.register(pushConfig.serviceWorkerUrl);ready.then(function(registration){swRegistration=registration;return requestSubscription(registration);}).then(ok,fail);},fail);}function showPrompt(){renderPopup({text:Drupal.t('Möchten Sie aktuelle Meldungen als Push-Benachrichtigung erhalten?'),primary:{label:Drupal.t('Erlauben'),onClick:startSubscribe},secondary:{label:Drupal.t('Nicht erlauben'),onClick:function(close){var st=readState()||{};writeState({state:'dismissed',dismissCount:(st.dismissCount||0)+1,updated:now()});close();updateBell();}}});}function showDeniedInfo(){renderPopup({modifier:'denied',text:Drupal.t('Benachrichtigungen sind für diese Seite im Browser blockiert. Bitte erlauben Sie sie über das Schloss-/Info-Symbol links neben der Adresszeile (Berechtigungen → Benachrichtigungen → Zulassen) und laden Sie die Seite neu.'),primary:{label:Drupal.t('Verstanden'),onClick:function(close){close();}}});}function showUnsupportedInfo(){renderPopup({modifier:'denied',text:Drupal.t('Ihr Browser unterstützt keine Push-Benachrichtigungen.'),primary:{label:Drupal.t('Verstanden'),onClick:function(close){close();}}});}function startUnsubscribe(close){var done=function(){close();updateBell();};if(!swRegistration){done();return;}swRegistration.pushManager.getSubscription().then(function(subscription){return subscription?subscription.unsubscribe():null;}).then(function(){writeState({state:'dismissed',endpoint:null,updated:now(),dism
44issCount:uiConfig.repromptMax});done();}).catch(function(e){if(window.console&&console.warn)console.warn('Web Push: unsubscribe not completed.',e);done();});}function showManagePopup(isSubscribed){renderPopup({text:isSubscribed?Drupal.t('Sie erhalten aktuell Push-Benachrichtigungen von DOMRADIO.'):Drupal.t('Möchten Sie aktuelle Meldungen als Push-Benachrichtigung erhalten?'),primary:{label:Drupal.t('Erlauben'),onClick:function(close){if(isSubscribed){close();return;}startSubscribe(close);}},secondary:{label:isSubscribed?Drupal.t('Abmelden'):Drupal.t('Nicht erlauben'),onClick:function(close){if(isSubscribed){startUnsubscribe(close);return;}close();}}});}function openManually(){if(!isAvailable()){showUnsupportedInfo();return;}if(permission()==='denied'){showDeniedInfo();return;}var lookup=(permission()==='granted'&&swRegistration)?swRegistration.pushManager.getSubscription():Promise.resolve(null);lookup.then(function(subscription){showManagePopup(!!subscription);},function(){showManagePopup(false);});}function ensureBell(){if(!uiConfig.showBell||bellEl)return;bellEl=document.createElement('button');bellEl.type='button';bellEl.className='lmc-wpn-bell';bellEl.setAttribute('aria-label',Drupal.t('Push-Benachrichtigungen aktivieren'));bellEl.title=Drupal.t('Push-Benachrichtigungen aktivieren');bellEl.innerHTML='<svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true" focusable="false">'+'<path fill="currentColor" d="M12 22a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22Zm6.36-6.4-1.06-1.06V10.5a5.3 5.3 0 0 0-4.05-5.15V4.6a1.25 1.25 0 1 0-2.5 0v.75A5.3 5.3 0 0 0 6.7 10.5v4.04L5.64 15.6a.85.85 0 0 0 .6 1.45h11.52a.85.85 0 0 0 .6-1.45Z"/>'+'</svg>';bellEl.addEventListener('click',openManually);document.body.appendChild(bellEl);updateBell();}function updateBell(){if(!bellEl)return;var subscribed=permission()==='granted'&&currentState()==='subscribed';bellEl.hidden=subscribed;}function shouldAutoPrompt(){if(permission()!=='default')return false;var st=readState();if(!st||!st.state)return true;if(st.state==='failed'||st.state==='subscribed')return true;if(st.state==='dismissed'){if((st.dismissCount||0)>=uiConfig.repromptMax)return false;if(!st.updated)return true;return (now()-st.updated)>(uiConfig.repromptCooldownDays*DAY_MS);}return false;}function attachTriggerDelegation(){if(!once('lmc-wpn-trigger',document.documentElement).length)return;document.addEventListener('click',function(e){var target=e.target;var trigger=target&&target.closest?target.closest(TRIGGER_SELECTOR):null;if(trigger){e.preventDefault();openManually();}});}Drupal.behaviors.lmcWebPushPopup={attach:function(context,settings){if(!once('lmc-wpn-popup','body',context).length)return;pushConfig=(settings&&settings.webPush)?settings.webPush:(drupalSettings.webPush||null);if(!pushConfig||!pushConfig.publicKey||!pushConfig.serviceWorkerUrl||!pushConfig.subscribeUrl)return;var ui=(settings&&settings.lmcWebPush)?settings.lmcWebPush:(drupalSettings.lmcWebPush||{});uiConfig={showBell:('showBell' in ui)?!!ui.showBell:DEFAULTS.showBell,repromptCooldownDays:('repromptCooldownDays' in ui)?Number(ui.repromptCooldownDays):DEFAULTS.repromptCooldownDays,repromptMax:('repromptMax' in ui)?Number(ui.repromptMax):DEFAULTS.repromptMax};attachTriggerDelegation();if(!isAvailable())return;try{appServerKey=urlBase64ToUint8Array(pushConfig.publicKey);}catch(e){return;}ensureBell();navigator.serviceWorker.register(pushConfig.serviceWorkerUrl).then(function(registration){swRegistration=registration;var state=currentState();if(permission()==='granted'&&state!=='dismissed'&&state!=='denied')ensureSubscription(registration);}).catch(function(e){if(window.console&&console.warn)console.warn('Web Push: service worker registration failed.',e);});if(shouldAutoPrompt())window.setTimeout(showPrompt,1500);}};})(Drupal,drupalSettings,once);;
45/* @license GPL-2.0-or-later https://raw.githubusercontent.com/jquery-form/form/master/LICENSE */
46(function(factory){if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof module==='object'&&module.exports)module.exports=function(root,jQuery){if(typeof jQuery==='undefined')if(typeof window!=='undefined')jQuery=require('jquery');else jQuery=require('jquery')(root);factory(jQuery);return jQuery;};else factory(jQuery);}(function($){'use strict';var rCRLF=/\r?\n/g;var feature={};feature.fileapi=$('<input type="file">').get(0).files!==undefined;feature.formdata=(typeof window.FormData!=='undefined');var hasProp=!!$.fn.prop;$.fn.attr2=function(){if(!hasProp)return this.attr.apply(this,arguments);var val=this.prop.apply(this,arguments);if((val&&val.jquery)||typeof val==='string')return val;return this.attr.apply(this,arguments);};$.fn.ajaxSubmit=function(options,data,dataType,onSuccess){if(!this.length){log('ajaxSubmit: ski
46pping submit process - no element selected');return this;}var method,action,url,isMsie,iframeSrc,$form=this;if(typeof options==='function')options={success:options};else if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}else{if(typeof options==='undefined')options={};}method=options.method||options.type||this.attr2('method');action=options.url||this.attr2('action');url=(typeof action==='string')?action.trim():'';url=url||window.location.href||'';if(url)url=(url.match(/^([^#]+)/)||[])[1];isMsie=/(MSIE|Trident)/.test(navigator.userAgent||'');iframeSrc=(isMsie&&/^https/i.test(window.location.href||''))?'javascript:false':'about:blank';options=$.extend(true,{url,success:$.ajaxSettings.success,type:method||$.ajaxSettings.type,iframeSrc},options);var veto={};this.trigger('form-pre-serialize',[this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this;}if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log('ajaxSubmit: submit aborted via beforeSerialize callback');return this;}var traditional=options.traditional;if(typeof traditional==='undefined')traditional=$.ajaxSettings.traditional;var elements=[];var qx,a=this.formToArray(options.semantic,elements,options.filtering);if(options.data){var optionsData=typeof (options.data)==="function"?options.data(a):options.data;options.extraData=optionsData;qx=$.param(optionsData,traditional);}if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log('ajaxSubmit: submit aborted via beforeSubmit callback');return this;}this.trigger('form-submit-validate',[a,this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-submit-validate trigger');return this;}var q=$.param(a,traditional);if(qx)q=(q?(q+'&'+qx):qx);if(options.type.toUpperCase()==='GET'){options.url+=(options.url.indexOf('?')>=0?'&':'?')+q;options.data=null;}else options.data=q;var callbacks=[];if(options.resetForm)callbacks.push(function(){$form.resetForm();});if(options.clearForm)callbacks.push(function(){$form.clearForm(options.includeHidden);});if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data,textStatus,jqXHR){var successArguments=arguments,fn=options.replaceTarget?'replaceWith':'html';$(options.target)[fn](data).each(function(){oldSuccess.apply(this,successArguments);});});}else{if(options.success)if(Array.isArray(options.success))callbacks=callbacks.concat(options.success);else callbacks.push(options.success);}options.success=function(data,status,xhr){var context=options.context||this;for(var i=0,max=callbacks.length;i<max;i++)callbacks[i].apply(context,[data,status,xhr||$form,$form]);};if(options.error){var oldError=options.error;options.error=function(xhr,status,error){var context=options.context||this;oldError.apply(context,[xhr,status,error,$form]);};}if(options.complete){var oldComplete=options.complete;options.complete=function(xhr,status){var context=options.context||this;oldComplete.apply(context,[xhr,status,$form]);};}var fileInputs=$('input[type=file]:enabled',this).filter(function(){return $(this).val()!=='';});var hasFileInputs=fileInputs.length>0;var mp='multipart/form-data';var multipart=($form.attr('enctype')===mp||$form.attr('encoding')===mp);var fileAPI=feature.fileapi&&feature.formdata;log('fileAPI :'+fileAPI);var shouldUseFrame=(hasFileInputs||multipart)&&!fileAPI;var jqxhr;if(options.iframe!==false&&(options.iframe||shouldUseFrame))if(options.closeKeepAlive)$.get(options.closeKeepAlive,function(){jqxhr=fileUploadIframe(a);});else jqxhr=fileUploadIframe(a);else if((hasFileInputs||multipart)&&fileAPI)jqxhr=fileUploadXhr(a);else jqxhr=$.ajax(options);$form.removeData('jqxhr').data('jqxhr',jqxhr);for(var k=0;k<elements.length;k++)elements[k]=null;this.trigger('form-submit-notify',[this,options]);return this;function deepSerialize(extraData){var serialized=$.param(extraData,options.traditional).split('&');var len=serialized.length;var result=[];var i,part;for(i=0;i<len;i++){serialized[i]=serialized[i].replace(/\+/g,' ');part=serialized[i].split('=');result.push([decodeURIComponent(part[0]),decodeURIComponent(part[1])]);}return result;}function fileUploadXhr(a){var formdata=new FormData();for(var i=0;i<a.length;i++)formdata.append(a[i].name,a[i].value);if(options.extraData){var serializedData=deepSerialize(options.extraData);for(i=0;i<serializedData.length;i++)if(serializedData[i])formdata.append(serializedData[i][0],serializedData[i][1]);}options.data=null;var s=$.extend(true,{},$.ajaxSettings,options,{contentType:false,processData:false,cache:false,type:method||'POST'});if(options.uploadProgress)s.xhr=function(){var xhr=$.ajaxSettings.xhr();if(xhr.upload)xhr.upload.addEventListener('progress',function(event){var percent=0;var position=event.loaded||event.position;var total=event.total;if(event.lengthComputable)percent=Math.ceil(position/total*100);options.uploadProgress(event,position,total,percent);},false);return xhr;};s.data=null;var beforeSend=s.beforeSend;s.beforeSend=function(xhr,o){if(options.formData)o.data=options.formData;else o.data=formdata;
46if(beforeSend)beforeSend.call(this,xhr,o);};return $.ajax(s);}function fileUploadIframe(a){var form=$form[0],el,i,s,g,id,$io,io,xhr,sub,n,timedOut,timeoutHandle;var deferred=$.Deferred();deferred.abort=function(status){xhr.abort(status);};if(a)for(i=0;i<elements.length;i++){el=$(elements[i]);if(hasProp)el.prop('disabled',false);else el.removeAttr('disabled');}s=$.extend(true,{},$.ajaxSettings,options);s.context=s.context||s;id='jqFormIO'+new Date().getTime();var ownerDocument=form.ownerDocument;var $body=$form.closest('body');if(s.iframeTarget){$io=$(s.iframeTarget,ownerDocument);n=$io.attr2('name');if(!n)$io.attr2('name',id);else id=n;}else{$io=$('<iframe name="'+id+'" src="'+s.iframeSrc+'" />',ownerDocument);$io.css({position:'absolute',top:'-1000px',left:'-1000px'});}io=$io[0];xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(status){var e=(status==='timeout'?'timeout':'aborted');log('aborting upload... '+e);this.aborted=1;try{if(io.contentWindow.document.execCommand)io.contentWindow.document.execCommand('Stop');}catch(ignore){}$io.attr('src',s.iframeSrc);xhr.error=e;if(s.error)s.error.call(s.context,xhr,e,status);if(g)$.event.trigger('ajaxError',[xhr,s,e]);if(s.complete)s.complete.call(s.context,xhr,e);}};g=s.global;if(g&&$.active++===0)$.event.trigger('ajaxStart');if(g)$.event.trigger('ajaxSend',[xhr,s]);if(s.beforeSend&&s.beforeSend.call(s.context,xhr,s)===false){if(s.global)$.active--;deferred.reject();return deferred;}if(xhr.aborted){deferred.reject();return deferred;}sub=form.clk;if(sub){n=sub.name;if(n&&!sub.disabled){s.extraData=s.extraData||{};s.extraData[n]=sub.value;if(sub.type==='image'){s.extraData[n+'.x']=form.clk_x;s.extraData[n+'.y']=form.clk_y;}}}var CLIENT_TIMEOUT_ABORT=1;var SERVER_ABORT=2;function getDoc(frame){var doc=null;try{if(frame.contentWindow)doc=frame.contentWindow.document;}catch(err){log('cannot get iframe.contentWindow document: '+err);}if(doc)return doc;try{doc=frame.contentDocument?frame.contentDocument:frame.document;}catch(err){log('cannot get iframe.contentDocument: '+err);doc=frame.document;}return doc;}var csrf_token=$('meta[name=csrf-token]').attr('content');var csrf_param=$('meta[name=csrf-param]').attr('content');if(csrf_param&&csrf_token){s.extraData=s.extraData||{};s.extraData[csrf_param]=csrf_token;}function doSubmit(){var t=$form.attr2('target'),a=$form.attr2('action'),mp='multipart/form-data',et=$form.attr('enctype')||$form.attr('encoding')||mp;form.setAttribute('target',id);if(!method||/post/i.test(method))form.setAttribute('method','POST');if(a!==s.url)form.setAttribute('action',s.url);if(!s.skipEncodingOverride&&(!method||/post/i.test(method)))$form.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'});if(s.timeout)timeoutHandle=setTimeout(function(){timedOut=true;cb(CLIENT_TIMEOUT_ABORT);},s.timeout);function checkState(){try{var state=getDoc(io).readyState;log('state = '+state);if(state&&state.toLowerCase()==='uninitialized')setTimeout(checkState,50);}catch(e){log('Server abort: ',e,' (',e.name,')');cb(SERVER_ABORT);if(timeoutHandle)clearTimeout(timeoutHandle);timeoutHandle=undefined;}}var extraInputs=[];try{if(s.extraData)for(var n in s.extraData)if(s.extraData.hasOwnProperty(n))if($.isPlainObject(s.extraData[n])&&s.extraData[n].hasOwnProperty('name')&&s.extraData[n].hasOwnProperty('value'))extraInputs.push($('<input type="hidden" name="'+s.extraData[n].name+'">',ownerDocument).val(s.extraData[n].value).appendTo(form)[0]);else extraInputs.push($('<input type="hidden" name="'+n+'">',ownerDocument).val(s.extraData[n]).appendTo(form)[0]);if(!s.iframeTarget)$io.appendTo($body);if(io.attachEvent)io.attachEvent('onload',cb);else io.addEventListener('load',cb,false);setTimeout(checkState,15);try{form.submit();}catch(err){var submitFn=document.createElement('form').submit;submitFn.apply(form);}}finally{form.setAttribute('action',a);form.setAttribute('enctype',et);if(t)form.setAttribute('target',t);else $form.removeAttr('target');$(extraInputs).remove();}}if(s.forceSync)doSubmit();else setTimeout(doSubmit,10);var data,doc,domCheckCount=50,callbackProcessed;function cb(e){if(xhr.aborted||callbackProcessed)return;doc=getDoc(io);if(!doc){log('cannot access response document');e=SERVER_ABORT;}if(e===CLIENT_TIMEOUT_ABORT&&xhr){xhr.abort('timeout');deferred.reject(xhr,'timeout');return;}if(e===SERVER_ABORT&&xhr){xhr.abort('server abort');deferred.reject(xhr,'error','server abort');return;}if(!doc||doc.location.href===s.iframeSrc)if(!timedOut)return;if(io.detachEvent)io.detachEvent('onload',cb);else io.removeEventListener('load',cb,false);var status='success',errMsg;
46try{if(timedOut)throw 'timeout';var isXml=s.dataType==='xml'||doc.XMLDocument||$.isXMLDoc(doc);log('isXml='+isXml);if(!isXml&&window.opera&&(doc.body===null||!doc.body.innerHTML))if(--domCheckCount){log('requeing onLoad callback, DOM not available');setTimeout(cb,250);return;}var docRoot=doc.body?doc.body:doc.documentElement;xhr.responseText=docRoot?docRoot.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;if(isXml)s.dataType='xml';xhr.getResponseHeader=function(header){var headers={'content-type':s.dataType};return headers[header.toLowerCase()];};if(docRoot){xhr.status=Number(docRoot.getAttribute('status'))||xhr.status;xhr.statusText=docRoot.getAttribute('statusText')||xhr.statusText;}var dt=(s.dataType||'').toLowerCase();var scr=/(json|script|text)/.test(dt);if(scr||s.textarea){var ta=doc.getElementsByTagName('textarea')[0];if(ta){xhr.responseText=ta.value;xhr.status=Number(ta.getAttribute('status'))||xhr.status;xhr.statusText=ta.getAttribute('statusText')||xhr.statusText;}else{if(scr){var pre=doc.getElementsByTagName('pre')[0];var b=doc.getElementsByTagName('body')[0];if(pre)xhr.responseText=pre.textContent?pre.textContent:pre.innerText;else{if(b)xhr.responseText=b.textContent?b.textContent:b.innerText;}}}}else{if(dt==='xml'&&!xhr.responseXML&&xhr.responseText)xhr.responseXML=toXml(xhr.responseText);}try{data=httpData(xhr,dt,s);}catch(err){status='parsererror';xhr.error=errMsg=(err||status);}}catch(err){log('error caught: ',err);status='error';xhr.error=errMsg=(err||status);}if(xhr.aborted){log('upload aborted');status=null;}if(xhr.status)status=((xhr.status>=200&&xhr.status<300)||xhr.status===304)?'success':'error';if(status==='success'){if(s.success)s.success.call(s.context,data,'success',xhr);deferred.resolve(xhr.responseText,'success',xhr);if(g)$.event.trigger('ajaxSuccess',[xhr,s]);}else{if(status){if(typeof errMsg==='undefined')errMsg=xhr.statusText;if(s.error)s.error.call(s.context,xhr,status,errMsg);deferred.reject(xhr,'error',errMsg);if(g)$.event.trigger('ajaxError',[xhr,s,errMsg]);}}if(g)$.event.trigger('ajaxComplete',[xhr,s]);if(g&&!--$.active)$.event.trigger('ajaxStop');if(s.complete)s.complete.call(s.context,xhr,status);callbackProcessed=true;if(s.timeout)clearTimeout(timeoutHandle);setTimeout(function(){if(!s.iframeTarget)$io.remove();else $io.attr('src',s.iframeSrc);xhr.responseXML=null;},100);}var toXml=$.parseXML||function(s,doc){if(window.ActiveXObject){doc=new ActiveXObject('Microsoft.XMLDOM');doc.async='false';doc.loadXML(s);}else doc=(new DOMParser()).parseFromString(s,'text/xml');return (doc&&doc.documentElement&&doc.documentElement.nodeName!=='parsererror')?doc:null;};var httpData=function(xhr,type,s){var ct=xhr.getResponseHeader('content-type')||'',xml=((type==='xml'||!type)&&ct.indexOf('xml')>=0),data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.nodeName==='parsererror')if($.error)$.error('parsererror');if(s&&s.dataFilter)data=s.dataFilter(data,type);if(typeof data==='string')if((type==='json'||!type)&&ct.indexOf('json')>=0)data=JSON.parse(data);else{if((type==='script'||!type)&&ct.indexOf('javascript')>=0)$.globalEval(data);}return data;};return deferred;}};$.fn.ajaxForm=function(options,data,dataType,onSuccess){if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}options=options||{};options.delegation=options.delegation&&typeof $.fn.on==='function';if(!options.delegation&&this.length===0){var o={s:this.selector,c:this.context};if(!$.isReady&&o.s){log('DOM not ready, queuing ajaxForm');$(function(){$(o.s,o.c).ajaxForm(options);});return this;}log('terminating; zero elements found by selector'+($.isReady?'':' (DOM not ready)'));return this;}if(options.delegation){$(document).off('submit.form-plugin',this.selector,doAjaxSubmit).off('click.form-plugin',this.selector,captureSubmittingElement).on('submit.form-plugin',this.selector,options,doAjaxSubmit).on('click.form-plugin',this.selector,options,captureSubmittingElement);return this;}if(options.beforeFormUnbind)options.beforeFormUnbind(this,options);return this.ajaxFormUnbind().on('submit.form-plugin',options,doAjaxSubmit).on('click.form-plugin',options,captureSubmittingElement);};function doAjaxSubmit(e){var options=e.data;if(!e.isDefaultPrevented()){e.preventDefault();$(e.target).closest('form').ajaxSubmit(options);}}function captureSubmittingElement(e){var target=e.target;var $el=$(target);if(!$el.is('[type=submit],[type=image]')){var t=$el.closest('[type=submit]');if(t.length===0)return;target=t[0];}var form=target.form;form.clk=target;if(target.type==='image')if(typeof e.offsetX!=='undefined'){form.clk_x=e.offsetX;form.clk_y=e.offsetY;}else if(typeof $.fn.offset==='function'){var offset=$el.offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top;}else{form.clk_x=e.pageX-target.offsetLeft;form.clk_y=e.pageY-target.offsetTop;}setTimeout(function(){form.clk=form.clk_x=form.clk_y=null;},100);}$.fn.ajaxFormUnbind=function(){return this.off('submit.form-plugin click.form-plugin');};$.fn.formToArray=function(semantic,elements,filtering){var a=[];if(this.length===0)return a;var form=this[0];var formId=this.attr('id');var els=(semantic||typeof form.elements==='undefined')?form.getElementsByTagName('*'):form.elements;var els2;if(els)els=$.makeArray(els);if(formId&&(semantic||/(Edge|Trident)\//.test(navigator.userAgent))){els2=$(':input[form="'+formId+'"]').get();if(els2.length)els=(els||[]).concat(els2);}if(!els||!els.length)return a;
46if(typeof (filtering)==="function")els=$.map(els,filtering);var i,j,n,v,el,max,jmax;for(i=0,max=els.length;i<max;i++){el=els[i];n=el.name;if(!n||el.disabled)continue;if(semantic&&form.clk&&el.type==='image'){if(form.clk===el){a.push({name:n,value:$(el).val(),type:el.type});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}continue;}v=$.fieldValue(el,true);if(v&&v.constructor===Array){if(elements)elements.push(el);for(j=0,jmax=v.length;j<jmax;j++)a.push({name:n,value:v[j]});}else if(feature.fileapi&&el.type==='file'){if(elements)elements.push(el);var files=el.files;if(files.length)for(j=0;j<files.length;j++)a.push({name:n,value:files[j],type:el.type});else a.push({name:n,value:'',type:el.type});}else{if(v!==null&&typeof v!=='undefined'){if(elements)elements.push(el);a.push({name:n,value:v,type:el.type,required:el.required});}}}if(!semantic&&form.clk){var $input=$(form.clk),input=$input[0];n=input.name;if(n&&!input.disabled&&input.type==='image'){a.push({name:n,value:$input.val()});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}}return a;};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic));};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n)return;var v=$.fieldValue(this,successful);if(v&&v.constructor===Array)for(var i=0,max=v.length;i<max;i++)a.push({name:n,value:v[i]});else{if(v!==null&&typeof v!=='undefined')a.push({name:this.name,value:v});}});return $.param(a);};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v==='undefined'||(v.constructor===Array&&!v.length))continue;if(Array.isArray(v))val=val.concat(v);else val.push(v);}return val;};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(typeof successful==='undefined')successful=true;if(successful&&(!n||el.disabled||t==='reset'||t==='button'||(t==='checkbox'||t==='radio')&&!el.checked||(t==='submit'||t==='image')&&el.form&&el.form.clk!==el||tag==='select'&&el.selectedIndex===-1))return null;if(tag==='select'){var index=el.selectedIndex;if(index<0)return null;var a=[],ops=el.options;var one=(t==='select-one');var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected&&!op.disabled){var v=op.value;if(!v)v=(op.attributes&&op.attributes.value&&!(op.attributes.value.specified))?op.text:op.value;if(one)return v;a.push(v);}}return a;}return $(el).val().replace(rCRLF,'\r\n');};$.fn.clearForm=function(includeHidden){return this.each(function(){$('input,select,textarea',this).clearFields(includeHidden);});};$.fn.clearFields=$.fn.clearInputs=function(includeHidden){var re=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(re.test(t)||tag==='textarea')this.value='';else if(t==='checkbox'||t==='radio')this.checked=false;else if(tag==='select')this.selectedIndex=-1;else if(t==='file')if(/MSIE/.test(navigator.userAgent))$(this).replaceWith($(this).clone(true));else $(this).val('');else{if(includeHidden)if((includeHidden===true&&/hidden/.test(t))||(typeof includeHidden==='string'&&$(this).is(includeHidden)))this.value='';}});};$.fn.resetForm=function(){return this.each(function(){var el=$(this);var tag=this.tagName.toLowerCase();switch(tag){case 'input':this.checked=this.defaultChecked;case 'textarea':this.value=this.defaultValue;return true;case 'option':case 'optgroup':var select=el.parents('select');if(select.length&&select[0].multiple)if(tag==='option')this.selected=this.defaultSelected;else el.find('option').resetForm();else select.resetForm();return true;case 'select':el.find('option').each(function(i){this.selected=this.defaultSelected;if(this.defaultSelected&&!el[0].multiple){el[0].selectedIndex=i;return false;}});return true;case 'label':var forEl=$(el.attr('for'));var list=el.find('input,select,textarea');if(forEl[0])list.unshift(forEl[0]);list.resetForm();return true;case 'form':if(typeof this.reset==='function'||(typeof this.reset==='object'&&!this.reset.nodeType))this.reset();return true;default:el.find('form,input,label,select,textarea').resetForm();return true;}}
46);};$.fn.enable=function(b){if(typeof b==='undefined')b=true;return this.each(function(){this.disabled=!b;});};$.fn.selected=function(select){if(typeof select==='undefined')select=true;return this.each(function(){var t=this.type;if(t==='checkbox'||t==='radio')this.checked=select;else{if(this.tagName.toLowerCase()==='option'){var $sel=$(this).parent('select');if(select&&$sel[0]&&$sel[0].type==='select-one')$sel.find('option').selected(false);this.selected=select;}}});};$.fn.ajaxSubmit.debug=false;function log(){if(!$.fn.ajaxSubmit.debug)return;var msg='[jquery.form] '+Array.prototype.join.call(arguments,'');if(window.console&&window.console.log)window.console.log(msg);else{if(window.opera&&window.opera.postError)window.opera.postError(msg);}}}));;
47/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
48(function($,Drupal,drupalSettings){Drupal.Views={};Drupal.Views.parseQueryString=function(query){const args={};if(query.includes('?'))query=query.substring(query.indexOf('?')+1);let pair;const pairs=query.split('&');for(let i=0;i<pairs.length;i++){pair=pairs[i].split('=');if(pair[0]!=='q')if(pair[1])args[decodeURIComponent(pair[0].replace(/\+/g,' '))]=decodeURIComponent(pair[1].replace(/\+/g,' '));else args[decodeURIComponent(pair[0].replace(/\+/g,' '))]='';}return args;};Drupal.Views.parseViewArgs=function(href,viewPath){const returnObj={};const path=Drupal.Views.getPath(href);const viewHref=Drupal.url(viewPath).substring(drupalSettings.path.baseUrl.length);if(viewHref&&path.startsWith(`${viewHref}/`)){returnObj.view_args=decodeURIComponent(path.substring(viewHref.length+1,path.length));returnObj.view_path=path;}return returnObj;};Drupal.Views.pathPortion=function(href){const protocol=window.location.protocol;if(href.startsWith(protocol))href=href.substring(href.indexOf('/',protocol.length+2));return href;};Drupal.Views.getPath=function(href){href=Drupal.Views.pathPortion(href);href=href.substring(drupalSettings.path.baseUrl.length,href.length);if(href.startsWith('?q='))href=href.substring(3,href.length);const chars=['#','?','&'];for(let i=0;i<chars.length;i++)if(href.includes(chars[i]))href=href.substring(0,href.indexOf(chars[i]));return href;};})(jQuery,Drupal,drupalSettings);;
49(function($,Drupal,drupalSettings){Drupal.behaviors.ViewsAjaxView={};Drupal.behaviors.ViewsAjaxView.attach=function(context,settings){if(settings?.views?.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{Drupal.views.instances[i]=new Drupal.views.ajaxView(ajaxViews[i]);});}};Drupal.behaviors.ViewsAjaxView.detach=(context,settings,trigger)=>{if(trigger==='unload')if(settings?.views?.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{const selector=`.js-view-dom-id-${ajaxViews[i].view_dom_id}`;if($(selector,context).length){delete Drupal.views.instances[i];delete settings.views.ajaxViews[i];}});}};Drupal.views={};Drupal.views.instances={};Drupal.views.ajaxView=function(settings){const selector=`.js-view-dom-id-${settings.view_dom_id}`;this.$view=$(selector);this.$exposed_form=$(`form#views-exposed-form-${settings.view_name.replace(/_/g,'-')}-${settings.view_display_id.replace(/_/g,'-')}`);let ajaxPath=drupalSettings.views.ajax_path;if(ajaxPath.constructor.toString().includes('Array'))ajaxPath=ajaxPath[0];let queryString=window.location.search||'';if(queryString!==''){queryString=queryString.slice(1);const params=decodeURI(queryString).split('&').filter((param)=>{const [name,value]=param.split('=');return (this.$exposed_form.find(`input[name="${name}"]`).length===0&&!['page','reset','sort','order','q','render'].includes(name));});queryString=encodeURI(params.join('&'));if(queryString!=='')queryString=(ajaxPath.includes('?')?'&':'?')+queryString;}this.element_settings={url:ajaxPath+queryString,submit:settings,httpMethod:'GET',setClick:true,event:'click',selector,progress:{type:'fullscreen'}};this.settings=settings;once('exposed-form',this.$exposed_form).forEach(this.attachExposedFormAjax.bind(this));once('ajax-pager',this.$view.filter(this.filterNestedViews.bind(this))).forEac
49h(this.attachPagerAjax.bind(this));const selfSettings=$.extend({},this.element_settings,{event:'RefreshView',base:this.selector,httpMethod:'GET',element:this.$view.get(0)});this.refreshViewAjax=Drupal.ajax(selfSettings);};Drupal.views.ajaxView.prototype.attachExposedFormAjax=function(){const that=this;this.exposedFormAjax=[];$('input[type=submit], button[type=submit], input[type=image]',this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function(index){const selfSettings=$.extend({},that.element_settings,{base:$(this).attr('id'),element:this});that.exposedFormAjax[index]=Drupal.ajax(selfSettings);});};Drupal.views.ajaxView.prototype.filterNestedViews=function(){return !this.$view.parents('.view').length;};Drupal.views.ajaxView.prototype.attachPagerAjax=function(){this.$view.find('.js-pager__items a, th.views-field a, .attachment .views-summary a').each(this.attachPagerLinkAjax.bind(this));};Drupal.views.ajaxView.prototype.attachPagerLinkAjax=function(id,link){const $link=$(link);const viewData={};const href=$link.attr('href');$.extend(viewData,this.settings,Drupal.Views.parseQueryString(href),Drupal.Views.parseViewArgs(href,this.settings.view_base_path));const selfSettings=$.extend({},this.element_settings,{submit:viewData,base:false,element:link,httpMethod:'GET'});this.pagerAjax=Drupal.ajax(selfSettings);};Drupal.AjaxCommands.prototype.setBrowserUrl=(ajax,response)=>{if(ajax.element&&!ajax.element.closest('.ui-dialog-content'))window.history.replaceState(null,'',response.url);};})(jQuery,Drupal,drupalSettings);;
50(function(Drupal,drupalSettings){'use strict';Drupal.behaviors.klaro={config:false,manager:false,observing:false,needCallBehaviors:false,ready:false,attach:function(context,settings){if(!settings.klaro)return;if(typeof klaro==='undefined')document.querySelector('#klaro-js').addEventListener("load",()=>{Drupal.behaviors.klaro.proceed(context,settings);});else Drupal.behaviors.klaro.proceed(context,settings);},proceed:function(context,settings){if(!Drupal.behaviors.klaro.config){settings.klaro.config.services.forEach(function(service,a_index){settings.klaro.config.services[a_index].callback=Drupal.behaviors.klaro.serviceCallback;['onInit','onAccept','onDecline'].forEach(function(hook){const code=service[hook];if(code&&code.length>0)settings.klaro.config.services[a_index][hook]=function(opts){try{Function('opts',code)(opts);}catch(error){console.error('Error executing '+hook+' code for service "'+service.name+'":',error);}};});service.cookies.forEach(function(cookie,c_index){settings.klaro.config.services[a_index]['cookies'][c_index]=[new RegExp(cookie[0],'i'),cookie[1]||'/',cookie[2]||location.host];});});Drupal.behaviors.klaro.config=settings.klaro.config;}Drupal.behaviors.klaro.klaroDecorateWrapper(context,settings);context.querySelectorAll('a[data-name]')?.forEach((item)=>{item.removeAttribute('data-href');});if(!Drupal.behaviors.klaro.manager)Drupal.behaviors.klaro.manager=klaro.getManager(Drupal.behaviors.klaro.config);if(settings.klaro.dialog_mode==='silent')Drupal.behaviors.klaro.manager.confirmed=true;klaro.setup(Drupal.behaviors.klaro.config);Drupal.behaviors.klaro.klaroElementObserver();let learn_more_link=document.querySelector('a.cm-link.cn-learn-more');if(learn_more_link){let label_open_consent_dialog=Drupal.t("Open consent dialog",{},{context:'klaro'});learn_more_link.setAttribute('title',label_open_consent_dialog);learn_more_link.setAttribute('role','button');learn_more_link.setAttribute('aria-haspopup','dialog');}if(!Drupal.behaviors.klaro.manager)Drupal.behaviors.klaro.manager=klaro.getManager(Drupal.behaviors.klaro.config);if(context===document){var elements=once('klaro','body',context);Array.prototype.forEach.call(elements,function(){if(settings.klaro.show_toggle_button&&!document.getElementById('klaro_toggle_dialog')){var button_label=Drupal.t("Manage consents",{},{context:'klaro'});var button_html='<button id="klaro_toggle_dialog" aria-label="'+button_label+'" aria-haspopup="dialog" title="'+button_label+'" type="button" class="klaro_toggle_dialog klaro_toggle_dialog_override" rel="open-consent-manager"></button>';document.body.insertAdjacentHTML('afterbegin',button_html);}});}else{for(var app in Drupal.behaviors.klaro.manager.executedOnce)if(Drupal.behaviors.klaro.manager.executedOnce[app])if(document.querySelectorAll('[data-name="'+app+'"][data-src]:not([src])').length>0)Drupal.behaviors.klaro.manager.applyConsents();}var elements=once('klaro-thumbnail','.klaro.cm-as-context-notice',context);Array.prototype.forEach.call(elements,function(el){let klaro_elem=(el.closest('.field'))?.querySelector('[data-modified-by-klaro]');let thumbnail=klaro_elem?.getAttribute('data-thumbnail');let title=klaro_elem?.getAttribute('title');if(thumbnail){el.parentElement.style.backgroundImage='url('+thumbnail+')';el.parentElement.style.backgroundSize='cover';el.parentElement.style.backgroundPosition='center';el.firstChild.style.backgroundColor='rgba(250, 250, 250, 0.75)';}if(title){let title_elem=document.createElement('p');title_elem.textContent=title;el.firstChild.prepend(title_elem);}});
50Drupal.behaviors.klaro.config.services.forEach(function(service,a_index){if(service.contextualConsentText){var elements=once('klaro-text','[data-type="placeholder"][data-name="'+service.name+'"] div.context-notice > p:first-child',context);if(elements.length>0){let title_elem=document.createElement('p');title_elem.innerHTML=service.contextualConsentText;Array.prototype.forEach.call(elements,function(el){el.parentNode.replaceChild(title_elem.cloneNode(true),el);});}}});var elements=once('klaro-consent-link','[data-type="placeholder"] div.context-notice');var title=Drupal.t("Open the Consent Management Dialog",{},{context:'klaro'});var linktext=Drupal.t("Manage privacy settings",{},{context:'klaro'});Array.prototype.forEach.call(elements,function(el){el.insertAdjacentHTML('beforeend',`<p class="cm-dialog-link"><a href="#" title="${title}" rel="open-consent-manager">${linktext}</a></p>`);});if(Drupal.behaviors.klaro.needCallBehaviors&&context===document){Drupal.behaviors.klaro.needCallBehaviors=false;Drupal.attachBehaviors(document,drupalSettings);}Drupal.behaviors.klaro.ready=true;},serviceCallback:function(consent,service){if(Drupal.behaviors.klaro.manager&&service.onlyOnce&&Drupal.behaviors.klaro.manager.executedOnce[service.name])return;if(service.callbackCode.length>0)try{Function('consent','service',service.callbackCode)(consent,service);}catch(error){console.error('Error executing callback code for service "'+service.name+'":',error);}if(!consent)return;var elements=document.querySelectorAll('[data-name="'+service.name+'"][data-id]');if(elements.length>0){Array.prototype.forEach.call(elements,function(element){element.setAttribute('id',element.getAttribute('data-id'));});if(Drupal.behaviors.klaro.ready)Drupal.attachBehaviors(document,drupalSettings);else Drupal.behaviors.klaro.needCallBehaviors=true;}let knownBehaviors=Object.keys(Drupal.behaviors);var elements=document.querySelectorAll('[data-name="'+service.name+'"][src]');if(!elements)return;var source_tags=document.querySelectorAll('source[data-name="'+service.name+'"]');if(source_tags.length>0){var loading_state;for(var i=0;i<source_tags.length;i++){loading_state=source_tags[i].parentElement.readyState;if(loading_state==0||loading_state==1)source_tags[i].parentElement.load();}}function processBehaviors(){for(let name in Drupal.behaviors)if(knownBehaviors.indexOf(name)===-1){Drupal.behaviors[name].attach(document,drupalSettings);knownBehaviors.push(name);}}Array.prototype.forEach.call(elements,function(element){if(element.complete)processBehaviors();else element.addEventListener('load',processBehaviors);});},klaroDecorateWrapper:function(context,settings){settings.klaro.config.services.forEach(function(service,a_index){service.wrapperIdentifier.forEach(function(wrapperIdentifier){var elements=once('klaro-wrap',wrapperIdentifier,context);Array.prototype.forEach.call(elements,function(el){if(el){var wrapper=document.createElement('div');wrapper.setAttribute('data-name',service.name);wrapper.setAttribute('data-original-display',getComputedStyle(el).display);el.parentNode.insertBefore(wrapper,el);wrapper.appendChild(el);}});});});},klaroElementObserver:function(){var targetNode=document.getElementById("klaro");if(Drupal.behaviors.klaro.observing||!targetNode)return;Drupal.behaviors.klaro.observing=true;const config={childList:true,subtree:true};const callback=(mutationList,observer)=>{for(const mutation of mutationList)if(mutation.type==="childList")Drupal.behaviors.klaro.klaroElementMutator();};const observer=new MutationObserver(callback);observer.observe(targetNode,config);Drupal.behaviors.klaro.klaroElementMutator();},klaroElementMutator:function(){var labels=document.querySelectorAll('#klaro label');if(labels.length>0){for(var i=0;i<labels.length;i++){labels[i].setAttribute('onkeydown','Drupal.behaviors.klaro.KlaroToggleService(event)');labels[i].setAttribute('aria-labelledby',labels[i].getAttribute('for')+'-title');labels[i].setAttribute('aria-describedby',labels[i].getAttribute('for')+'-description');if(labels[i].previousElementSibling&&labels[i].previousElementSibling.tagName=='INPUT'){labels[i].previousElementSibling.setAttribute('tabindex','0');labels[i].removeAttribute('tabindex');}}document.querySelector('#klaro input:not(:disabled)+label')?.focus();}if(document.querySelector('.cm-modal.cm-klaro')){var elem=document.querySelector('.cm-modal.cm-klaro');elem.setAttribute('role','dialog');elem.setAttribute('aria-modal','true');elem.querySelector('.cm-header .title').setAttribute('id','cm-modal-title');elem.setAttribute('aria-labelledby','cm-modal-title');}if(drupalSettings.klaro.show_close_button){if(document.querySelector('#klaro-cookie-notice'))var elem=document.querySelector('#klaro-cookie-notice');else{if(document.querySelector('.cm-modal.cm-klaro')){var elem=document.querySelector('.cm-modal.cm-klaro');if((Drupal.behaviors.klaro.manager.confirmed)&&(!Drupal.behaviors.klaro.config.mustConsent))elem=false;}}if(elem&&!document.querySelector('.klaro-close')){var close_label=Drupal.t("Close dialog and decline all",{},{context:'klaro'});var close_html='<button title="'+close_label+'" type="button" class="cn-decline klaro-close" tabindex="0" aria-label="'+close_label+'"></button>';elem.insertAdjacentHTML('beforeend',close_html);;document.querySelector('.klaro-close')?.addEventListener('click',(e)=>{Drupal.behaviors.klaro.manager.changeAll(false);Drupal.behaviors.klaro.manager.saveAndApplyConsents();},false);document.querySelector('.klaro').classList.add('klaro-close-enabled');document.querySelector('.klaro .cookie-modal .cm-modal .hide')?.remove();}}},KlaroToggleService:function(event){if(event.key==="Enter"){event.target.click();
50event.target.focus();}}};Drupal.behaviors.klaroLink={attach:function(context,settings){var elements=once('klaroLink','[rel*="open-consent-manager"], [href*="#klaro"], .open-consent-manager',context);Array.prototype.forEach.call(elements,function(element){element.addEventListener('click',function(event){klaro.show(Drupal.behaviors.klaro.config);event.preventDefault();return false;});});}};})(Drupal,drupalSettings);;
51(function(Drupal,drupalSettings){'use strict';function gtag(){window.dataLayer=window.dataLayer||[];window.dataLayer.push(arguments);}function klaroServices(){return ((drupalSettings.klaro&&drupalSettings.klaro.config&&drupalSettings.klaro.config.services)||[]);}function purposeGranted(manager,purpose){return klaroServices().some(function(service){return ((service.purposes||[]).indexOf(purpose)!==-1&&manager.getConsent(service.name)===true);});}function pushConsentUpdate(manager){var confirmed=manager.confirmed===true;var analytics=confirmed&&purposeGranted(manager,'analytics');var advertising=confirmed&&purposeGranted(manager,'advertising');gtag('consent','update',{analytics_storage:analytics?'granted':'denied',ad_storage:advertising?'granted':'denied',ad_user_data:advertising?'granted':'denied',ad_personalization:advertising?'granted':'denied'});}Drupal.behaviors.klaroConsentMode={attach:function(){if(window.klaroConsentModeInitialized)return;if(typeof window.klaro==='undefined'||!drupalSettings.klaro)return;var manager=window.klaro.getManager(drupalSettings.klaro.config);if(!manager)return;window.klaroConsentModeInitialized=true;pushConsentUpdate(manager);manager.watch({update:function(){pushConsentUpdate(manager);}});}};})(Drupal,drupalSettings);;
52(function(Drupal,once){'use strict';Drupal.behaviors.playlistSearch={attach:function(context){once('playlist-search','form.views-exposed-form',context).forEach(function(form){var keyword=form.querySelector('[name="suche"]');var day=form.querySelector('[name="zeitpunkt[day]"]');var selects=form.querySelectorAll('[name="zeitpunkt[day]"], [name="zeitpunkt[hour]"], [name="zeitpunkt[minute]"]');if(!keyword||!day)return;keyword.addEventListener('input',function(){if(keyword.value!=='')day.value='';});selects.forEach(function(select){select.addEventListener('change',function(){keyword.value='';});});});}};})(Drupal,once);;
53(function($,window,Drupal,drupalSettings){'use strict';Drupal.bitmovinInstances=[];Drupal.bitmovinUiInstances=[];Drupal.behaviors.w21_bitmovin_player={attach:function(context){let instance=drupalSettings.w21_bitmovin_player;if(instance&&instance.players){let players=instance.players;let position;for(position in players){let player=players[position];player.cast={enabled:true};player.ui=false;if(player.analytics&&!Drupal.behaviors.w21_bitmovin_player.bitmovinAnalyticsAllowed())delete player.analytics;if(players.hasOwnProperty(position))once('bitmovin-player',`#${position}`,context).forEach(function(element,index){if(!player.playlist||player.sources.length===1)Drupal.behaviors.w21_bitmovin_player.initializeSinglePlayer(player,element);else Drupal.behaviors.w21_bitmovin_player.initializePlaylistPlayer(player,element);});}}},bitmovinAnalyticsAllowed:function(){var cookieName=(drupalSettings.klaro&&drupalSettings.klaro.config&&drupalSettings.klaro.config.cookieName)||'klaro';var match=document.cookie.match(new RegExp('(?:^|; )'+cookieName+'=([^;]*)'));if(!match)return false;try{var consents=JSON.parse(decodeURIComponent(match[1]));return consents.bitmovin===true;}catch(e){return false;}},initializeSinglePlayer:function(player,element){if(!player.source)player.source=player.sources[0];let uiHidden=false;player.events={play:function(){if(!uiHidden)$(`#${player.player_id}`).find('.bmpui-controlbar-bottom, .bmpui-controlbar-top ').fadeIn();},paused:function(){if(!uiHidden)$(`#${player.player_id}`).find('.bmpui-controlbar-bottom, .bmpui-controlbar-top ').fadeOut();}};player.hideUI=function(){uiHidden=true;$(`#${player.player_id}`).find('.bmpui-controlbar-bottom, .bmpui-controlbar-top ').hide();};player.showUI=function(){uiHidden=false;$(`#${player.player_id}`).find('.bmpui-controlbar-bottom, .bmpui-controlbar-top ').show();};
53Drupal.bitmovinInstances[element.id]=new bitmovin.player.Player(element,player);Drupal.bitmovinUiInstances[element.id]=bitmovin.playerui.UIFactory.buildDefaultUI(Drupal.bitmovinInstances[element.id]);if(!player.adSource)Drupal.bitmovinInstances[element.id].load(player.source);else{let isAdPlaying=false;player.hideUI();Drupal.bitmovinInstances[element.id].load(player.adSource).then(()=>{console.log('Pre-Roll geladen.');isAdPlaying=true;Drupal.bitmovinInstances[element.id].on(bitmovin.player.PlayerEvent.PlaybackFinished,()=>{player.showUI();if(isAdPlaying){isAdPlaying=false;Drupal.bitmovinInstances[element.id].load(player.source).then(()=>{console.log('Hauptvideo geladen.');Drupal.bitmovinInstances[element.id].play();}).catch((error)=>{console.error('Fehler beim Laden des Hauptvideos:',error);});}});}).catch((error)=>{console.error('Fehler beim Laden des Pre-Rolls:',error);player.showUI();Drupal.bitmovinInstances[element.id].load(player.source).then(()=>{console.log('Hauptvideo geladen (Pre-Roll-Fehler).');Drupal.bitmovinInstances[element.id].play();}).catch((error)=>{console.error('Fehler beim Laden des Hauptvideos (nach Pre-Roll-Fehler):',error);});});}},initializePlaylistPlayer:function(player,element){let current_source_index=0;player.addPlayingClass=function(){$('.playing').removeClass('playing');$('.load_playlist_video').eq(current_source_index).addClass('playing');};player.playNext=function(){current_source_index=current_source_index<player.sources.length-1?current_source_index+1:0;Drupal.bitmovinInstances[element.id].load(player.sources[current_source_index]);player.addPlayingClass();};player.events={playbackfinished:function(){player.playNext();},ready:function(){if(current_source_index!==0)Drupal.bitmovinInstances[element.id].play();if(!$(`#${player.player_id} .next_playlist_video`)[0])if($(`#${player.player_id} .bmpui-ui-volumeslider`)[0])$('#'+player.player_id+' .bmpui-ui-volumeslider').after('<button class="next_playlist_video bmpui-ui-playbacktogglebutton bmpui-off">  </button>');else $('#'+player.player_id+' .bmpui-ui-volumetogglebutton').after('<button class="next_playlist_video bmpui-ui-playbacktogglebutton bmpui-off">  </button>');}};Drupal.bitmovinInstances[element.id]=new bitmovin.player.Player(element,player);Drupal.bitmovinUiInstances[element.id]=bitmovin.playerui.UIFactory.buildDefaultUI(Drupal.bitmovinInstances[element.id]);Drupal.bitmovinInstances[element.id].load(player.sources[current_source_index]);$(document).on('click','.load_playlist_video',function(){let video_id=$(this).attr('data-id');let source=$.grep(player.sources,function(source,i){if(source.video_id===video_id){current_source_index=i;return true;}else return false;});Drupal.bitmovinInstances[element.id].load(source[0]);player.addPlayingClass();});$(document).on('click','.next_playlist_video',function(){player.playNext();});}};})(jQuery,window,Drupal,drupalSettings);;
54(function($,Drupal,once){"use strict";Drupal.behaviors.switchWebtv={attach:function(context,settings){$(".event-link",context).on('click',function(){let $link=$(this);let event_id=$link.attr("data-id");if(!isNaN(event_id)){const webtv_id=$link.parents('.webtv').attr('id');const elementSettings={url:Drupal.url("live/webtv")+"/"+event_id,progress:{type:'fullscreen'},submit:{selector:webtv_id,type:webtv_id==='livetv'?'livetv':'medialibrary'}};Drupal.ajax(elementSettings).execute();}else console.log('invalid event');});}};})(jQuery,Drupal,once);;
55(function($,Drupal,once){"use strict";const statusTV=async()=>{return $.ajax({type:"GET",url:Drupal.url("json/live/webtv/status"),async:true,datatype:"json"}).then((json)=>{return json;});};Drupal.behaviors.webtv={attach:function attach(context){const $button=$(".site-header__tv-button",context);const $block=$button.attr("aria-controls")?$("#"+$button.attr("aria-controls")):false;const className="toggle-"+$button.attr("aria-controls")+"-on";const $body=$("body",context);function openTV(){$block.slideDown({duration:"slow",queue:false,complete:function(){$block.attr("aria-hidden",false);$("body").addClass(className);}});}function closeTV(){$button.attr("aria-pressed",false);let live_player=$("#livetv .bitmovinplayer-container").attr("id");if(live_player){console.log(Drupal.bitmovinInstances[live_player]);Drupal.bitmovinInstances[live_player].pause();}
55$block.slideUp({duration:"slow",queue:false,complete:function(){$block.attr("aria-hidden",true);$("body").removeClass(className);$("#livetv",$block).empty();}});}function loadTV(){$button.attr("aria-pressed",true);const elementSettings={url:Drupal.url("live/webtv"),progress:{type:"fullscreen"},selector:"#livetv",submit:{selector:"livetv",type:"livetv"}};Drupal.ajax(elementSettings).execute();openTV();}$(once("live-section",".site-header__tv-button",context)).on("click",function(){if($block.length)if($button.attr("aria-pressed")==="true")closeTV();else loadTV();});let not_mobile=!/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);let supported_type=$body.hasClass("path-frontpage");once("processed-tv","body",context).forEach((async)=>{statusTV().then((json)=>{if(json["broadcast"]===true){$(".site-header__tv-button",context).addClass("playing");if(not_mobile&&supported_type)loadTV();}});});}};})(jQuery,Drupal,once);;
56"use strict";(function(drupalSettings){"use strict";Drupal.behaviors.env={attach:function attach(){var isTouch=function isTouch(){return 'ontouchstart' in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0;};var getOS=function getOS(){var userAgent=navigator.userAgent||navigator.vendor||window.opera;if(/windows phone/i.test(userAgent))return "windowsphone";if(/android/i.test(userAgent))return "android";if(/iPad|iPhone|iPod/.test(userAgent)&&!window.MSStream)return "ios";if(/mac/i.test(userAgent))return "macos";if(/win/i.test(userAgent))return "windows";return "unknown";};drupalSettings.env=typeof drupalSettings.env==='undefined'?{}:drupalSettings.env;drupalSettings.env.isTouch=isTouch();drupalSettings.env.os=getOS();}};})(drupalSettings);;
57"use strict";(function(drupalSettings){"use strict";Drupal.behaviors.documentClasses={attach:function attach(){var classes={add:[drupalSettings.env.isTouch?'touch':'no-touch',drupalSettings.env.os?'os-'+drupalSettings.env.os:'os-unknown'],remove:['preload']};DOMTokenList.prototype.add.apply(document.documentElement.classList,classes.add);DOMTokenList.prototype.remove.apply(document.documentElement.classList,classes.remove);}};})(drupalSettings);;
58"use strict";(function($){"use strict";Drupal.behaviors.toggleButton={attach:function attach(context){$(once("toggleButton",".js-toggle",context)).each(Drupal.behaviors.toggleButton.init);},init:function init(i,el){$(el).on("click.toggleButton",Drupal.behaviors.toggleButton.toggle);},toggle:function toggle(e){var $button=$(e.currentTarget);var $block=$button.attr("aria-controls")?$("#"+$button.attr("aria-controls")):false;var $container=$("body");var className="toggle-"+$button.attr("aria-controls")+"-on";if($button.attr("aria-controls")==="webtv")if($button.attr("aria-pressed")==="true"){$button.attr("aria-pressed",false);$container.removeClass(className);}else{$button.attr("aria-pressed",true);$container.addClass(className);}if($block.length)if($button.attr("aria-pressed")==="true"){$button.attr("aria-pressed",false);$block.slideUp("slow",function(){$block.attr("aria-hidden",true);$container.removeClass(className);});}else{$button.attr("aria-pressed",true);$block.slideDown("slow",function(){$block.attr("aria-hidden",false);$container.addClass(className);});}if($button.attr("aria-controls")=='site-header__menu'){$('#site-header__search').slideUp();$('.site-header__search-button').attr('aria-pressed',false);}if($button.attr("aria-controls")=='site-header__search'){$('#site-header__menu').slideUp();$('.site-header__menu-button').attr('aria-pressed',false);$('.site-header__search .form-text').focus();}}};Drupal.behaviors.removeBullet={attach:function attach(context){$(window,context).on("resize",function(){var lastElement=false;jQuery(".bullet br").remove(".tempbreak");jQuery(".bullet ul li").each(function(){jQuery(this).removeClass("nobullet");if(lastElement&&lastElement.offset().top!=jQuery(this).offset().top){jQuery(lastElement).addClass("nobullet");jQuery(lastElement).append('<br class="tempbreak" />');}lastElement=jQuery(this);}).last().addClass("nobullet");}).resize();}};Drupal.behaviors.scrollToTop={attach:function attach(context){$(window,context).scroll(function(){if($(this).scrollTop()>100){$("#scroll_top button").fadeIn();$("#scroll_top").attr('style','background-color: #fff !important');}else{$("#scroll_top button").stop(true).fadeOut();$("#scroll_top").attr('style','background-color: transparent !important');}});$(".scroll_top_button",context).on("click",function(){$("body,html").animate({scrollTop:0},800);return false;});}};Drupal.behaviors.scrollPager={attach:function attach(context){$(".glossary_index a").on("click",function(){$("#block-w21-dmr-theme-content").attr("data-current-filter",$(this).attr("data-index"));});var current_index=$("#block-w21-dmr-theme-content").attr("data-current-filter");if(current_index!==undefined){$(".pager__item a").removeClass("is-active");$('.pager__item a[data-index="'+current_index+'"]').addClass("is-active");}else{if($(".pager__item a.is-active").length===0)$('.pager__item a[data-index="a"]').addClass("is-active");}if($(".pager__item a.is-active").length){var active=$(".pager__item .is-active").position().left;$(once('default-once-id',"ul.mobile-shrink")).scrollLeft(active);}$(once("js-scroll-left",".scroll-left",context)).on("click",function(){var scrolled=$("ul.mobile-shrink").scrollLeft();if($("ul.mobile-shrink")!=0)$("ul.mobile-shrink").animate({scrollLeft:scrolled-5*33});});$(once("js-scroll-right",".scroll-right",context)).on("click",function(){var scrolled=$("ul.mobile-shrink").scrollLeft();$("ul.mobile-shrink").animate({scrollLeft:scrolled+5*33});});}};Drupal.behaviors.accordeon={attach:function attach(context){$('.paragraph--type--expandable summary',context).click(function(){var $t=$(this);if(!$t.parent().attr('open')){$('details[open=""]').attr('open',false);var $toolbar=$('#toolbar-bar');var toolbar=$toolbar[0]?$toolbar.height()*2:0;$("body,html").animate({scrollTop:$t.offset().top-toolbar},800);}});$('#medialibrary .bef-exposed-form summary',context).click(function(){var $t=$(this);if(!$t.parent().attr('open'))$('details[open=""]').attr('open',false);});}};Drupal.behaviors.klaro_element_wrapers={toggleElement:function toggleElement(el,show){if(show)$(el).show();else $(el).hide();},attach:function attach(context,settings){var manager=klaro.getManager(settings.klaro.config);$(context).find('.kl_embed_code[data-klname], .kl_block_element[data-klname]').each(function(i,el){Drupal.behaviors.klaro_element_wrapers.toggleElement(el,manager.consents[$(el).attr('data-klname')]);console.log(i);});$(context).find('.kl_klick_element[data-klname]').each(function(i,el){Drupal.behaviors.klaro_element_wrapers.toggleElement(el,!manager.consents[$(el).attr('data-klname')]);console.log(i);});$(context).on('click','.cm-btn',function(){manager=klaro.getManager(settings.klaro.config);$(context).find('.kl_embed_code[data-klname], .kl_block_element[data-klname]').each(function(i,el){Drupal.behaviors.klaro_element_wrapers.toggleElement(el,manager.consents[$(el).attr('data-klname')]);console.log(i);});$(context).find('.kl_klick_element[data-klname]').each(function(i,el){Drupal.behaviors.klaro_element_wrapers.toggleElement(el,!manager.consents[$(el).attr('data-klname')]);console.log(i);});});}};})(jQuery);;
59"use strict";(function(){function patchKlaroDialog(){var dialog=document.querySelector('#klaro .cookie-notice[role="dialog"], #klaro .cookie-modal[role="dialog"]');if(!dialog)return;var titleId=dialog.getAttribute('aria-labelledby')||'klaro-dialog-title';var descId=dialog.getAttribute('aria-describedby')||'klaro-dialog-desc';var titleEl=document.getElementById(titleId);if(!titleEl){titleEl=dialog.querySelector('h1, h2, .cn-title, .cm-title');if(titleEl)titleEl.id=titleId;else{titleEl=document.createElement('h2');titleEl.id=titleId;titleEl.className='klaro-sr-only';titleEl.textContent='Datenschutz & Cookie-Einstellungen';dialog.prepend(titleEl);}}var descEl=document.getElementById(descId);if(!descEl){descEl=dialog.querySelector('p, .cn-text, .cm-text');if(descEl)descEl.id=descId;else{descEl=document.createElement('p');descEl.id=descId;descEl.className='klaro-sr-only';descEl.textContent='Hier kannst du Cookies akzeptieren oder anpassen.';dialog.append(descEl);}}dialog.setAttribute('aria-labelledby',titleId);dialog.setAttribute('aria-describedby',descId);if(!dialog.getAttribute('aria-label'))dialog.setAttribute('aria-label','Cookie-Einwilligung');}document.addEventListener('DOMContentLoaded',function(){patchKlaroDialog();var observer=new MutationObserver(function(){patchKlaroDialog();});observer.observe(document.documentElement,{childList:true,subtree:true});});})();;

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.