PageSourceSearch

https://minervastudi.it/sites/default/files/js/js_QwDxqrFk696xNARNZrzQWTfI44jLkxYQtJ51z83-fAw.js

js minervastudi.it collected 2026-09-26 21:28:37 UTC 11,702 bytes, 238 lines download raw bytes

1Drupal.locale = { 'pluralFormula': function ($n) { return Number(($n!=1)); }, 'strings': {"":{"An AJAX HTTP error occurred.":"Si \u00e8 verificato un errore HTTP in AJAX.","HTTP Result Code: !status":"Codice HTTP di risposta: !status","An AJAX HTTP request terminated abnormally.":"Una richiesta AJAX HTTP \u00e8 terminata in modo anomalo.","Debugging information follows.":"Di seguito le informazioni di debug.","Path: !uri":"Percorso: !uri","StatusText: !statusText":"StatusText: !statusText","ResponseText: !responseText":"ResponseText: !responseText","ReadyState: !readyState":"ReadyState: !readyState","Hide":"Nascondi","Show":"Mostra","Re-order rows by numerical weight instead of dragging.":"Riordina le righe utilizzando il peso numerico invece del trascinamento.","Show row weights":"Visualizza i pesi delle righe","Hide row weights":"Nascondi i pesi delle righe","Drag to re-order":"Trascina per riordinare","Changes made in this table will not be saved until the form is submitted.":"I cambiamenti fatti a questa tabella non saranno salvati finch\u00e8 il form non viene inviato.","Customize dashboard":"Personalizza la dashboard","Edit":"Modifica","(active tab)":"(scheda attiva)","Enabled":"Attivato","Next":"Seguente","Disabled":"Disattivato","Sunday":"Domenica","Monday":"Luned\u00ec","Tuesday":"Marted\u00ec","Wednesday":"Mercoled\u00ec","Thursday":"Gioved\u00ec","Friday":"Venerd\u00ec","Saturday":"Sabato","Add":"Aggiungi","Upload":"Carica","Configure":"Configura","Done":"Fatto","This field is required.":"Questo campo \u00e8 obbligatorio.","Prev":"Precedente","Mon":"Lun","Tue":"Mar","Wed":"Mer","Thu":"Gio","Fri":"Ven","Sat":"Sab","Sun":"Dom","January":"Gennaio","February":"Febbraio","March":"Marzo","April":"Aprile","May":"Mag","June":"Giugno","July":"Luglio","August":"Agosto","September":"Settembre","October":"Ottobre","November":"Novembre","December":"Dicembre","Select all rows in this table":"Seleziona tutte le righe in questa tabella","Deselect all rows in this table":"Deseleziona tutte le righe in questa tabella","Today":"Oggi","Jan":"Gen","Feb":"Feb","Mar":"Mar","Apr":"Apr","Jun":"Giu","Jul":"Lug","Aug":"Ago","Sep":"Set","Oct":"Ott","Nov":"Nov","Dec":"Dic","Su":"Do","Mo":"Lu","Tu":"Ma","We":"Noi","Th":"Gi","Fr":"Ve","Sa":"Sa","Not published":"Non pubblicato","Please wait...":"Attendere prego...","mm\/dd\/yy":"mm\/gg\/aa","Only files with the following extensions are allowed: %files-allowed.":"Sono consentiti solo i file con le seguenti estensioni: %files-allowed.","By @name on @date":"Da @name il @date","By @name":"Da @name","Not in menu":"Non nel menu","Alias: @alias":"Alias: @alias","No alias":"Nessun alias","New revision":"Nuova revisione","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"I cambiamenti a questi blocchi non saranno salvati finch\u00e9 il bottone \u003Cem\u003ESalva blocchi\u003C\/em\u003E \u00e8 cliccato.","This permission is inherited from the authenticated user role.":"Questo permesso viene ereditato dal ruolo utente autenticato.","No revision":"Nessuna revisione","@number comments per page":"@number commenti per pagina","Requires a title":"Richiede un titolo","Not restricted":"Non limitato","Not customizable":"Non personalizzabile","Restricted to certain pages":"Limitato a certe pagine","The block cannot be placed in this region.":"Il blocco non pu\u00f2 essere posizionato in questa regione.","Hide summary":"Nascondi sommario","Edit summary":"Modifica sommario","Don\u0027t display post information":"Non mostrare le informazioni di pubblicazione","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Il file selezionato %filename non pu\u00f2 essere caricato. Sono consentiti solo file con le seguenti estensioni: %extensions.","Autocomplete popup":"Popup di autocompletamento","Searching for matches...":"Ricerca in corso..."}} };;
2(function ($) {
3
4  Drupal.behaviors.captcha = {
5    attach: function (context) {
6
7      // Turn off autocompletion for the CAPTCHA response field.
8      // We do it here with JavaScript (instead of directly in the markup)
9      // because this autocomplete attribute is not standard and
10      // it would break (X)HTML compliance.
11      $("#edit-captcha-response").attr("autocomplete", "off");
12
13    }
14  };
15
16  Drupal.behaviors.captchaAdmin = {
17    attach: function (context) {
18      // Add onclick handler to checkbox for adding a CAPTCHA description
19      // so that the textfields for the CAPTCHA description are hidden
20      // when no description should be added.
21      // @todo: div.form-item-captcha-description depends on theming, maybe
22      // it's better to add our own wrapper with id (instead of a class).
23      $("#edit-captcha-add-captcha-description").click(function() {
24        if ($("#edit-captcha-add-captcha-description").is(":checked")) {
25          // Show the CAPTCHA description textfield(s).
26          $("div.form-item-captcha-description").show('slow');
27        }
28        else {
29          // Hide the CAPTCHA description textfield(s).
30          $("div.form-item-captcha-description").hide('slow');
31        }
32      });
33      // Hide the CAPTCHA description textfields if option is disabled on page load.
34      if (!$("#edit-captcha-add-captcha-description").is(":checked")) {
35        $("div.form-item-captcha-description").hide();
36      }
37    }
38
39  };
40
41})(jQuery);
42;
43(function ($) {
44
45Drupal.googleanalytics = {};
46
47$(document).ready(function() {
48
49  // Attach mousedown, keyup, touchstart events to document only and catch
50  // clicks on all elements.
51  $(document.body).bind("mousedown keyup touchstart", function(event) {
52
53    // Catch the closest surrounding link of a clicked element.
54    $(event.target).closest("a,area").each(function() {
55
56      // Is the clicked URL internal?
57      if (Drupal.googleanalytics.isInternal(this.href)) {
58        // Skip 'click' tracking, if custom tracking events are bound.
59        if ($(this).is('.colorbox') && (Drupal.settings.googleanalytics.trackColorbox)) {
60          // Do nothing here. The custom event will handle all tracking.
61          //console.info("Click on .colorbox item has been detected.");
62        }
63        // Is download tracking activated and the file extension configured for download tracking?
64        else if (Drupal.settings.googleanalytics.trackDownload && Drupal.googleanalytics.isDownload(this.href)) {
65          // Download link clicked.
66          ga("send", {
67            "hitType": "event",
68            "eventCategory": "Downloads",
69            "eventAction": Drupal.googleanalytics.getDownloadExtension(this.href).toUpperCase(),
70            "eventLabel": Drupal.googleanalytics.getPageUrl(this.href),
71            "transport": "beacon"
72          });
73        }
74        else if (Drupal.googleanalytics.isInternalSpecial(this.href)) {
75          // Keep the internal URL for Google Analytics website overlay intact.
76          ga("send", {
77            "hitType": "pageview",
78            "page": Drupal.googleanalytics.getPageUrl(this.href),
79            "transport": "beacon"
80          });
81        }
82      }
83      else {
84        if (Drupal.settings.googleanalytics.trackMailto && $(this).is("a[href^='mailto:'],area[href^='mailto:']")) {
85          // Mailto link clicked.
86          ga("send", {
87            "hitType": "event",
88            "eventCategory": "Mails",
89            "eventAction": "Click",
90            "eventLabel": this.href.substring(7),
91            "transport": "beacon"
92          });
93        }
94        else if (Drupal.settings.googleanalytics.trackOutbound && this.href.match(/^\w+:\/\//i)) {
95          if (Drupal.settings.googleanalytics.trackDomainMode !== 2 || (Drupal.settings.googleanalytics.trackDomainMode === 2 && !Drupal.googleanalytics.isCrossDomain(this.hostname, Drupal.settings.googleanalytics.trackCrossDomains))) {
96            // External link clicked / No top-level cross domain clicked.
97            ga("send", {
98              "hitType": "event",
99              "eventCategory": "Outbound links",
100              "eventAction": "Click",
101              "eventLabel": this.href,
102              "transport": "beacon"
103            });
104          }
105        }
106      }
107    });
108  });
109
110  // Track hash changes as unique pageviews, if this option has been enabled.
111  if (Drupal.settings.googleanalytics.trackUrlFragments) {
112    window.onhashchange = function() {
113      ga("send", {
114        "hitType": "pageview",
115        "page": location.pathname + location.search + location.hash
116      });
117    };
118  }
119
120  // Colorbox: This event triggers when the transition has completed and the
121  // newly loaded content has been revealed.
122  if (Drupal.settings.googleanalytics.trackColorbox) {
123    $(document).bind("cbox_complete", function () {
124      var href = $.colorbox.element().attr("href");
125      if (href) {
126        ga("send", {
127          "hitType": "pageview",
128          "page": Drupal.googleanalytics.getPageUrl(href)
129        });
130      }
131    });
132  }
133
134});
135
136/**
137 * Check whether the hostname is part of the cross domains or not.
138 *
139 * @param string hostname
140 *   The hostname of the clicked URL.
141 * @param array crossDomains
142 *   All cross domain hostnames as JS array.
143 *
144 * @return boolean
145 */
146Drupal.googleanalytics.isCrossDomain = function (hostname, crossDomains) {
147  /**
148   * jQuery < 1.6.3 bug: $.inArray crushes IE6 and Chrome if second argument is
149   * `null` or `undefined`, https://bugs.jquery.com/ticket/10076,
150   * https://github.com/jquery/jquery/commit/a839af034db2bd934e4d4fa6758a3fed8de74174
151   *
152   * @todo: Remove/Refactor in D8
153   */
154  if (!crossDomains) {
155    return false;
156  }
157  else {
158    return $.inArray(hostname, crossDomains) > -1 ? true : false;
159  }
160};
161
162/**
163 * Check whether this is a download URL or not.
164 *
165 * @param string url
166 *   The web url to check.
167 *
168 * @return boolean
169 */
170Drupal.googleanalytics.isDownload = function (url) {
171  var isDownload = new RegExp("\\.(" + Drupal.settings.googleanalytics.trackDownloadExtensions + ")([\?#].*)?$", "i");
172  return isDownload.test(url);
173};
174
175/**
176 * Check whether this is an absolute internal URL or not.
177 *
178 * @param string url
179 *   The web url to check.
180 *
181 * @return boolean
182 */
183Drupal.googleanalytics.isInternal = function (url) {
184  var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i");
185  return isInternal.test(url);
186};
187
188/**
189 * Check whether this is a special URL or not.
190 *
191 * URL types:
192 *  - gotwo.module /go/* links.
193 *
194 * @param string url
195 *   The web url to check.
196 *
197 * @return boolean
198 */
199Drupal.googleanalytics.isInternalSpecial = function (url) {
200  var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
201  return isInternalSpecial.test(url);
202};
203
204/**
205 * Extract the relative internal URL from an absolute internal URL.
206 *
207 * Examples:
208 * - https://mydomain.com/node/1 -> /node/1
209 * - https://example.com/foo/bar -> https://example.com/foo/bar
210 *
211 * @param string url
212 *   The web url to check.
213 *
214 * @return string
215 *   Internal website URL
216 */
217Drupal.googleanalytics.getPageUrl = function (url) {
218  var extractInternalUrl = new RegExp("^(https?):\/\/" + window.location.host, "i");
219  return url.replace(extractInternalUrl, '');
220};
221
222/**
223 * Extract the download file extension from the URL.
224 *
225 * @param string url
226 *   The web url to check.
227 *
228 * @return string
229 *   The file extension of the passed url. e.g. "zip", "txt"
230 */
231Drupal.googleanalytics.getDownloadExtension = function (url) {
232  var extractDownloadextension = new RegExp("\\.(" + Drupal.settings.googleanalytics.trackDownloadExtensions + ")([\?#].*)?$", "i");
233  var extension = extractDownloadextension.exec(url);
234  return (extension === null) ? '' : extension[1];
235};
236
237})(jQuery);
238;

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.