PageSourceSearch

https://www.bachfestleipzig.de/sites/default/files/js/js_PeuJmUdi_vJcc4zq5xOBRFtySNCyh_y_SmxpN0rqE-I.js

js bachfestleipzig.de collected 2026-10-02 04:24:08 UTC 17,244 bytes, 301 lines download raw bytes

1/**
2 * @file
3 * Linkit dialog functions.
4 */
5
6(function ($) {
7
8// Create the Linkit namespaces.
9Drupal.linkit = Drupal.linkit || {};
10Drupal.linkit.currentInstance = Drupal.linkit.currentInstance || {};
11Drupal.linkit.dialogHelper = Drupal.linkit.dialogHelper || {};
12Drupal.linkit.insertPlugins = Drupal.linkit.insertPlugins || {};
13
14/**
15 * Create the modal dialog.
16 */
17Drupal.linkit.createModal = function() {
18  // Create the modal dialog element.
19  Drupal.linkit.createModalElement()
20  // Create jQuery UI Dialog.
21  .dialog(Drupal.linkit.modalOptions())
22  // Remove the title bar from the modal.
23  .siblings(".ui-dialog-titlebar").hide();
24
25  // Make the modal seem "fixed".
26  $(window).bind("scroll resize", function() {
27    $('#linkit-modal').dialog('option', 'position', ['center', 50]);
28  });
29
30  // Get modal content.
31  Drupal.linkit.getDashboard();
32};
33
34/**
35 * Create and append the modal element.
36 */
37Drupal.linkit.createModalElement = function() {
38  // Create a new div and give it an ID of linkit-modal.
39  // This is the dashboard container.
40  var linkitModal = $('<div id="linkit-modal"></div>');
41
42  // Create a modal div in the <body>.
43  $('body').append(linkitModal);
44
45  return linkitModal;
46};
47
48/**
49 * Default jQuery dialog options used when creating the Linkit modal.
50 */
51Drupal.linkit.modalOptions = function() {
52  return {
53    dialogClass: 'linkit-wrapper',
54    modal: true,
55    draggable: false,
56    resizable: false,
57    width: 520,
58    position: ['center', 50],
59    minHeight: 0,
60    zIndex: 210000,
61    close: Drupal.linkit.modalClose,
62    open: function (event, ui) {
63      // Change the overlay style.
64      $('.ui-widget-overlay').css({
65        opacity: 0.5,
66        filter: 'Alpha(Opacity=50)',
67        backgroundColor: '#FFFFFF'
68      });
69    },
70    title: 'Linkit'
71  };
72};
73
74/**
75 * Close the Linkit modal.
76 */
77Drupal.linkit.modalClose = function (e) {
78  $('#linkit-modal').dialog('destroy').remove();
79  // Make sure the current intstance settings are removed when the modal is
80  // closed.
81  Drupal.settings.linkit.currentInstance = {};
82
83  // The event object does not have a preventDefault member in
84  // Internet Explorer prior to version 9.
85  if (e && e.preventDefault) {
86    e.preventDefault();
87  }
88  else {
89    return false;
90  }
91};
92
93/**
94 *
95 */
96Drupal.linkit.getDashboard = function () {
97  // Create the AJAX object.
98  var ajax_settings = {};
99  ajax_settings.event = 'LinkitDashboard';
100  ajax_settings.url = Drupal.settings.linkit.dashboardPath +  Drupal.settings.linkit.currentInstance.profile;
101  ajax_settings.progress = {
102    type: 'throbber',
103    message : Drupal.t('Loading Linkit dashboard...')
104  };
105
106  Drupal.ajax['linkit-modal'] = new Drupal.ajax('linkit-modal', $('#linkit-modal')[0], ajax_settings);
107
108  // @TODO: Jquery 1.5 accept success setting to be an array of functions.
109  // But we have to wait for jquery to get updated in Drupal core.
110  // In the meantime we have to override it.
111  Drupal.ajax['linkit-modal'].options.success = function (response, status) {
112    if (typeof response == 'string') {
113      response = $.parseJSON(response);
114    }
115
116    // Call the ajax success method.
117    Drupal.ajax['linkit-modal'].success(response, status);
118    // Run the afterInit function.
119    var helper = Drupal.settings.linkit.currentInstance.helper;
120    Drupal.linkit.getDialogHelper(helper).afterInit();
121
122    // Set focus in the search field.
123    $('#linkit-modal .linkit-search-element').focus();
124  };
125
126  // Update the autocomplete url.
127  Drupal.settings.linkit.currentInstance.autocompletePathParsed =
128    Drupal.settings.linkit.autocompletePath.replace('___profile___',  Drupal.settings.linkit.currentInstance.profile);
129
130  // Trigger the ajax event.
131  $('#linkit-modal').trigger('LinkitDashboard');
132};
133
134/**
135 * Register new dialog helper.
136 */
137Drupal.linkit.registerDialogHelper = function(name, helper) {
138  Drupal.linkit.dialogHelper[name] = helper;
139};
140
141/**
142 * Get a dialog helper.
143 */
144Drupal.linkit.getDialogHelper = function(name) {
145  return Drupal.linkit.dialogHelper[name];
146};
147
148/**
149 * Register new insert plugins.
150 */
151Drupal.linkit.registerInsertPlugin = function(name, plugin) {
152  Drupal.linkit.insertPlugins[name] = plugin;
153};
154
155/**
156 * Get an insert plugin.
157 */
158Drupal.linkit.getInsertPlugin = function(name) {
159  return Drupal.linkit.insertPlugins[name];
160};
161
162})(jQuery);
163;
164Drupal.locale = { 'pluralFormula': function ($n) { return Number(($n!=1)); }, '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","Loading":"Laden","(active tab)":"(aktiver Reiter)","+@count":"+@count","-@count":"-@count","@title dialog":"@title Dialog","Configure":"Konfigurieren","Re-order rows by numerical weight instead of dragging.":"Zeilen mittels numerischer Gewichtung ordnen statt mit Drag-and-Drop","Show row weights":"Zeilenreihenfolge anzeigen","Hide row weights":"Zeilenreihenfolge ausblenden","Drag to re-order":"Ziehen, um die Reihenfolge zu \u00e4ndern","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.","Hide":"Ausblenden","Show":"Anzeigen","Search":"Suche","Disabled":"Deaktiviert","Enabled":"Aktiviert","Content can only be inserted into CKEditor in the WYSIWYG mode.":"Inhalt kann nur dann in den CKEditor eingegeben werden, wenn der WYSIWYG Modus aktiviert ist.","Edit":"Bearbeiten","Add":"Hinzuf\u00fcgen","All":"Alle","New":"Neu","Other":"Andere","@count year from now":"@count Jahr von heute an","@count years from now":"@count Jahre von heute an","Next":"Weiter","Sunday":"Sonntag","Monday":"Montag","Tuesday":"Dienstag","Wednesday":"Mittwoch","Thursday":"Donnerstag","Friday":"Freitag","Saturday":"Samstag","Upload":"Hochladen","Done":"Fertig","Prev":"Vorheriges","Mon":"Mo","Tue":"Di","Wed":"Mi","Thu":"Do","Fri":"Fr","Sat":"Sa","Sun":"So","January":"Januar","February":"Februar","March":"M\u00e4rz","April":"April","May":"Mai","June":"Juni","July":"Juli","August":"August","September":"September","October":"Oktober","November":"November","December":"Dezember","Allowed HTML tags":"Erlaubte HTML-Tags","Select all rows in this table":"Alle Zeilen dieser Tabelle au
164sw\u00e4hlen","Deselect all rows in this table":"Alle Zeilen dieser Tabelle abw\u00e4hlen","Today":"Heute","Jan":"Jan","Feb":"Feb","Mar":"M\u00e4r","Apr":"Apr","Jun":"Jun","Jul":"Jul","Aug":"Aug","Sep":"Sep","Oct":"Okt","Nov":"Nov","Dec":"Dez","Su":"So","Mo":"Mo","Tu":"Di","We":"Mi","Th":"Do","Fr":"Fr","Sa":"Sa","Not published":"Nicht ver\u00f6ffentlicht","Please wait...":"Bitte warten...","mm\/dd\/yy":"mm\/tt\/jj","Only files with the following extensions are allowed: %files-allowed.":"Nur Dateien mit folgenden Erweiterungen sind zul\u00e4ssig: %files-allowed.","By @name on @date":"Von @name am @date","By @name":"Von @name","Not in menu":"Nicht im Men\u00fc","Alias: @alias":"Alias: @alias","No alias":"Kein Alias","New revision":"Neue Version","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"Die \u00c4nderungen an diesen Bl\u00f6cken werden nicht gespeichert, bis auf dem \u003Cem\u003EBl\u00f6cke speichern\u003C\/em\u003E-Button geklickt wurde.","This permission is inherited from the authenticated user role.":"Diese Berechtigung wird von der Rolle \u201aAuthentifizierte Benutzer\u2018 ererbt.","No revision":"Keine Version","@number comments per page":"@number Kommentare pro Seite","Requires a title":"Ben\u00f6tigt einen Titel","Not restricted":"Uneingeschr\u00e4nkt","Not customizable":"Nicht anpassbar","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.","Customize dashboard":"Dashboard anpassen","Don\u0027t display post information":"Beitragsinformationen nicht anzeigen","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.","Autocomplete popup":"Popup zur automatischen Vervollst\u00e4ndigung","Searching for matches...":"Suche \u2026","Select all":"Alle au
164sw\u00e4hlen","Deselect all":"Alles abw\u00e4hlen","Close":"Schlie\u00dfen","Log messages":"Logmitteilungen","Please select a file.":"Bitte eine Datei w\u00e4hlen.","You are not allowed to operate on more than %num files.":"Sie d\u00fcrfen nicht mehr als %num Dateien gleichzeitig bearbeiten.","Please specify dimensions within the allowed range that is from 1x1 to @dimensions.":"Die Abmessungen der Bilder sind nur in dem Bereich von 1x1 bis @dimensions zul\u00e4ssig.","%filename is not an image.":"Die Datei %filename ist kein Bild.","File browsing is disabled in directory %dir.":"Das Durchsuchen des Verzeichnisses %dir ist deaktiviert.","Do you want to refresh the current directory?":"Soll das aktuelle Verzeichnis aktualisiert werden?","Delete selected files?":"Ausgew\u00e4hlte Dateien l\u00f6schen?","Please select a thumbnail.":"Bitte w\u00e4hlen Sie ein Miniaturbild aus.","You must select at least %num files.":"Sie m\u00fcssen mindestens %num Dateien ausw\u00e4hlen.","You can not perform this operation.":"Sie k\u00f6nnen diesen Vorgang nicht durchf\u00fchren.","Insert file":"Datei einf\u00fcgen","Change view":"Ansicht \u00e4ndern","No results":"Keine Ergebnisse","Open file browser":"Datei-Browser \u00f6ffnen","Automatic alias":"Automatischer Alias","Available tokens":"Verf\u00fcgbare Token","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.","Remove group":"Gruppe entfernen","Apply (all displays)":"Anwenden (alle Anzeigen)","Apply (this display)":"Anwenden (diese Anzeige)","Revert to default":"Auf Standardwert zur\u00fccksetzen","Show layout designer":"Layout-Designer anzeigen","Hide layout designer":"Layout-Designer ausblenden","This will discard all unsaved changes. Are you sure?":"Wollen Sie alle ungespeicherten \u00c4nderungen verwerfen?","An error occurred":"Ein Fehler ist aufgetreten.","No nodes in this queue.":"Keine Beitr\u00e4ge in der Warteschlange.","Translatable":"\u00dcbersetzbar","From @title":"von @title","Changes to the checkout panes will not be saved until the \u003Cem\u003ESave configuration\u003C\/em\u003E button is clicked.":"Die \u00c4nderungen am Kassenbereich werden nicht gespeichert, bis der \u003Cem\u003EKonfiguration speichern\u003C\/em\u003E-Schaltknopf gedr\u00fcckt wurde.","To @title":"F\u00fcr @title","Owned by @name":"Besessen von @name","Created @date":"Erstellt @date","New order":"Neue Bestellung","Updated @date":"Aktualisiert @date","Select None":"Nichts ausw\u00e4hlen","Select All":"Alles ersetzen","Show more":"Weitere anzeigen","Show fewer":"Weniger anzeigen","Previous":"Zur\u00fcck","Pause Slideshow":"Diashow pausieren","Play Slideshow":"Diashow wiedergeben","Automatic (hide title field)":"Automatisch (Titelfeld verstecken)","Automatic (if title empty)":"Automatisch (wenn der Titel leer ist)","No redirects":"Keine Weiterleitungen","All venues":"Alle Spielst\u00e4tten","All series\/packages":"Alle Reihen\/Pakete","What are you looking for?":"Wonach suchen Sie?"}} };;
165/*
166* Based on the work of
167* Copyright (C) 2009 Joel Sutherland
168* Licenced under the MIT license
169* http://www.newmediacampaigns.com/page/jcaption-a-jquery-plugin-for-simple-image-captions
170*/
171Drupal.behaviors.jcaption = {
172  attach: function(context, settings) {
173      (function($) {
174      
175      var captionSelectors = Drupal.settings.jcaption.jcaption_selectors;
176      
177    	$.fn.jcaption = function(settings) {
178    		settings = $.extend({
179    			wrapperElement: 'div',
180    			wrapperClass: 'caption',
181    			captionElement: 'p',
182    			imageAttr: Drupal.settings.jcaption.jcaption_alt_title,
183    			requireText: Drupal.settings.jcaption.jcaption_requireText,
184    			copyStyle: Drupal.settings.jcaption.jcaption_copyStyle,
185    			removeStyle: Drupal.settings.jcaption.jcaption_removeStyle,
186    			removeClass: Drupal.settings.jcaption.jcaption_removeClass,
187    			removeAlign: Drupal.settings.jcaption.jcaption_removeAlign,
188    			copyAlignmentToClass: Drupal.settings.jcaption.jcaption_copyAlignmentToClass,
189    			copyFloatToClass: Drupal.settings.jcaption.jcaption_copyFloatToClass,
190    			copyClassToClass: Drupal.settings.jcaption.jcaption_copyClassToClass,
191    			autoWidth: Drupal.settings.jcaption.jcaption_autoWidth,
192    			keepLink: Drupal.settings.jcaption.jcaption_keepLink,
193          styleMarkup: Drupal.settings.jcaption.jcaption_styleMarkup,
194    			animate: Drupal.settings.jcaption.jcaption_animate,
195    			show: {opacity: 'show'},
196    			showDuration: Drupal.settings.jcaption.jcaption_showDuration,
197    			hide: {opacity: 'hide'},
198    			hideDuration: Drupal.settings.jcaption.jcaption_hideDuration	
199    		}, settings);
200    
201    		return $(this).each(function(){
202    			//Only add the caption after the image has been loaded.  This makes sure we can know the width of the caption.
203    			
204    			$(this).bind('load', function(){
205    				
206    				//Make sure the captioning isn't applied twice when the IE fix at the bottom is applied
207    				if($(this).data('loaded')) return false;
208    				$(this).data('loaded', true);
209    			
210    				//Shorthand for the image we will be applying the caption to
211    				if($(this).parent("a").length > 0 && !settings.keepLink) {
212    				  var image = $(this).parent("a");
213      			  var cleanimage = $(this);    				
214      			  } 
215    				else {
216      			  var image = $(this);
217      			  var cleanimage = $(this);    				
218    				}
219
220    				//Only create captions if there is content for the caption
221    				if(cleanimage.attr(settings.imageAttr).length > 0 || !settings.requireText){
222    					
223    					//Wrap the image with the caption div
224    					image.wrap("<" + settings.wrapperElement + " class='" + settings.wrapperClass + "'></" + settings.wrapperElement + ">");
225    					
226    					//Save Image Float
227    					var imageFloat = cleanimage.css('float')
228    					
229    					//Save Image Class
230    					var imageClass = cleanimage.attr('class');
231    					if(settings.removeClass) cleanimage.removeAttr('class');
232
233    					//Save Image Style
234    					var imageStyle = cleanimage.attr('style');
235    					if(settings.removeStyle) cleanimage.removeAttr('style');
236    					
237    					//Save Image Align
238    					var imageAlign = cleanimage.attr('align');
239    					if(settings.removeAlign) cleanimage.removeAttr('align');
240    					
241    					//Put Caption in the Wrapper Div
242    					var div = image.parent().append('<' + settings.captionElement + '>' + cleanimage.attr(settings.imageAttr) + '</' + settings.captionElement + '>');
243    					
244              //Add css if there is style markup for the paragraph in the settings
245              //if(settings.styleMarkup) 
246              
247              if(settings.styleMarkup) {
248                $('.caption p').attr('style', function() {
249                  return settings.styleMarkup; 
250                });
251              }
252              
253    					if(settings.animate){
254    						$(this).next().hide();
255    						$(this).parent().hover(
256    						function(){
257    							$(this).find('p').animate(settings.show, settings.showDuration);
258    						},
259    						function(){
260    							$(this).find('p').animate(settings.hide, settings.hideDuration);
261    						});
262    					}
263    					
264    					//Copy Image Style to Div
265    					if(settings.copyStyle) div.attr('style',imageStyle);
266    					
267    					//If there is an alignment on the image (for example align="left") add "left" as a class on the caption.  This helps deal with older Text Editors like TinyMCE
268    					if(settings.copyAlignmentToClass) div.addClass(imageAlign);
269    					
270    					//Transfers the float style from the image to the caption container
271    					if(settings.copyFloatToClass) div.addClass(imageFloat);
272    					
273     					//Transfers the class from the image to the caption container
274    					if(settings.copyClassToClass) div.addClass(imageClass);
275    					
276    					//Properly size the caption div based on the loaded image's size
277    					if(settings.autoWidth) div.width(image.width());
278    				}
279    			});
280    			
281    			// Thanks to Captify for this bit!
282    			//if the image has already loaded (due to being cached), force the load function to be called
283    			if (this.complete || this.naturalWidth > 0){
284    				$(this).trigger('load');
285    			}
286    		});
287    	}
288    	
289    	$(captionSelectors.join(",")).each(function(index, elem){
290    	  $(elem).jcaption();
291    	});
292    
293    })(jQuery);
294  }
295};
296
297(function ($) {
298  $(document).ready(function(){
299
300  });
301})(jQuery);;

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.