PageSourceSearch

https://www.helictit.info/sites/default/files/advagg_js/js__p7fLQ7…jc6Le8qq6mHSjnrYVeVaYBSWTz_ji3Wh0YZB8yYE.js

js helictit.info collected 2026-10-02 21:22:08 UTC 18,245 bytes, 308 lines download raw bytes

1(function ($) {
2
3/**
4 * A progressbar object. Initialized with the given id. Must be inserted into
5 * the DOM afterwards through progressBar.element.
6 *
7 * method is the function which will perform the HTTP request to get the
8 * progress bar state. Either "GET" or "POST".
9 *
10 * e.g. pb = new progressBar('myProgressBar');
11 *      some_element.appendChild(pb.element);
12 */
13Drupal.progressBar = function (id, updateCallback, method, errorCallback) {
14  var pb = this;
15  this.id = id;
16  this.method = method || 'GET';
17  this.updateCallback = updateCallback;
18  this.errorCallback = errorCallback;
19
20  // The WAI-ARIA setting aria-live="polite" will announce changes after users
21  // have completed their current activity and not interrupt the screen reader.
22  this.element = $('<div class="progress" aria-live="polite"></div>').attr('id', id);
23  this.element.html('<div class="bar"><div class="filled"></div></div>' +
24                    '<div class="percentage"></div>' +
25                    '<div class="message">&nbsp;</div>');
26};
27
28/**
29 * Set the percentage and status message for the progressbar.
30 */
31Drupal.progressBar.prototype.setProgress = function (percentage, message) {
32  if (percentage >= 0 && percentage <= 100) {
33    $('div.filled', this.element).css('width', percentage + '%');
34    $('div.percentage', this.element).html(percentage + '%');
35  }
36  $('div.message', this.element).html(message);
37  if (this.updateCallback) {
38    this.updateCallback(percentage, message, this);
39  }
40};
41
42/**
43 * Start monitoring progress via Ajax.
44 */
45Drupal.progressBar.prototype.startMonitoring = function (uri, delay) {
46  this.delay = delay;
47  this.uri = uri;
48  this.sendPing();
49};
50
51/**
52 * Stop monitoring progress via Ajax.
53 */
54Drupal.progressBar.prototype.stopMonitoring = function () {
55  clearTimeout(this.timer);
56  // This allows monitoring to be stopped from within the callback.
57  this.uri = null;
58};
59
60/**
61 * Request progress data from server.
62 */
63Drupal.progressBar.prototype.sendPing = function () {
64  if (this.timer) {
65    clearTimeout(this.timer);
66  }
67  if (this.uri) {
68    var pb = this;
69    // When doing a post request, you need non-null data. Otherwise a
70    // HTTP 411 or HTTP 406 (with Apache mod_security) error may result.
71    $.ajax({
72      type: this.method,
73      url: this.uri,
74      data: '',
75      dataType: 'json',
76      success: function (progress) {
77        // Display errors.
78        if (progress.status == 0) {
79          pb.displayError(progress.data);
80          return;
81        }
82        // Update display.
83        pb.setProgress(progress.percentage, progress.message);
84        // Schedule next timer.
85        pb.timer = setTimeout(function () { pb.sendPing(); }, pb.delay);
86      },
87      error: function (xmlhttp) {
88        pb.displayError(Drupal.ajaxError(xmlhttp, pb.uri));
89      }
90    });
91  }
92};
93
94/**
95 * Display errors on the page.
96 */
97Drupal.progressBar.prototype.displayError = function (string) {
98  var error = $('<div class="messages error"></div>').html(string);
99  $(this.element).before(error).hide();
100
101  if (this.errorCallback) {
102    this.errorCallback(this);
103  }
104};
105
106})(jQuery);
107;/*})'"*/;/*})'"*/
108Drupal.locale = { 'pluralFormula': function ($n) { return Number(($n!=1)); }, 'strings': {"":{"An AJAX HTTP error occurred.":"\u0412\u044a\u0437\u043d\u0438\u043a\u043d\u0430 AJAX HTTP \u0433\u0440\u0435\u0448\u043a\u0430","HTTP Result Code: !status":"\u041f\u043e\u043b\u0443\u0447\u0435\u043d \u0435 HTTP \u043a\u043e\u0434 :!status","An AJAX HTTP request terminated abnormally.":"HTTP \u0437\u0430\u044f\u0432\u043a\u0430\u0442\u0430 \u043d\u0430 AJAX \u043d\u0435 \u0437\u0430\u0432\u044a\u0440\u0448\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u043d\u043e","Debugging information follows.":"\u0421\u043b\u0435\u0434\u0432\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0437\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430","Path: !uri":"\u041f\u044a\u0442: !uri","StatusText: !statusText":"\u0421\u0442\u0430\u0442\u0443\u0441 \u0442\u0435\u043a\u0441\u0442: !statusText","ResponseText: !responseText":"ResponseText: !responseText","ReadyState: !readyState":"ReadyState: !readyState","Loading":"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043d\u0435","(active tab)":"(\u0430\u043a\u0442\u0438\u0432\u0435\u043d \u0440\u0430\u0437\u0434\u0435\u043b)","Hide":"\u0421\u043a\u0440\u0438\u0439","Show":"\u041f\u043e\u043a\u0430\u0436\u0438","Show shortcuts":"\u041f\u043e\u043a\u0430\u0436\u0438 \u043f\u0440\u0435\u043a\u0438\u0442\u0435 \u043f\u044a\u0442\u0438\u0449\u0430","Hide shortcuts":"\u0421\u043a\u0440\u0438\u0439 \u043f\u0440\u0435\u043a\u0438\u0442\u0435 \u043f\u044a\u0442\u0438\u0449\u0430","Re-order rows by numerical weight instead of dragging.":"\u041f\u0440\u0435\u043d\u0430\u0440\u0435\u0434\u0438 \u0440\u0435\u0434\u043e\u0432\u0435\u0442\u0435 \u043f\u043e \u0442\u0435\u0433\u043b\u043e, \u0432\u043c\u0435\u0441\u0442\u043e \u0441 \u0432\u043b\u0430\u0447\u0435\u043d\u0435","Show row weights":"\u041f\u043e\u043a\u0430\u0436\u0438 \u0442\u0435\u0433\u043b\u043e\u0442\u043e \u043d\u0430 \u0440\u0435\u0434\u043e\u0432\u0435\u0442\u0435","Hide row weights":"\u0421\u043a\u0440\u0438\u0439 \u0440\u0435\u0434\u043e\u0432\u0435\u0442\u0435 \u0441 \u0442\u0435\u0433\u043b\u043e","Drag to re-order":"\u0412\u043b\u0430\u0447\u0438 \u0437\u0430 \u043f\u0440\u043e\u043c\u044f\u043d\u0430 \u043d\u0430 \u043f\u043e\u0434\u0440\u0435\u0434\u0431\u0430\u0442\u0430","Changes made in this table will not be saved until the form is submitted.":"\u041f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0435\u043d\u0438 \u0432 \u0442\u0430\u0437\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0430, \u043d\u044f\u043c\u0430 \u0434\u0430 \u0441\u0435 \u0437\u0430\u043f\u0438\u0448\u0430\u0442 \u043f\u0440\u0435\u0434\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0434\u0430 \u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d\u0430.","Enabled":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d","Vie
108w":"\u041f\u0440\u0435\u0433\u043b\u0435\u0434\u0430\u0439","Edit":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0439","Delete":"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435","This field is required.":"\u0417\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e \u043f\u043e\u043b\u0435.","Configure":"\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u0439","Disabled":"\u0414\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d","Next":"\u041e\u0449\u0435","Status":"\u0421\u0442\u0430\u0442\u0443\u0441","Cancel":"\u041e\u0442\u043c\u0435\u043d\u0438","Size":"\u0420\u0430\u0437\u043c\u0435\u0440","None":"\u041d\u0435","Link":"\u041b\u0438\u043d\u043a","Center":"\u0426\u0435\u043d\u0442\u044a\u0440","Required":"\u0417\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e","Parent":"\u0420\u043e\u0434\u0438\u0442\u0435\u043b","none":"\u043d\u0435","Sunday":"\u043d\u0435\u0434\u0435\u043b\u044f","Monday":"\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a","Tuesday":"\u0432\u0442\u043e\u0440\u043d\u0438\u043a","Wednesday":"\u0441\u0440\u044f\u0434\u0430","Thursday":"\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a","Friday":"\u043f\u0435\u0442\u044a\u043a","Saturday":"\u0441\u044a\u0431\u043e\u0442\u0430","Add":"\u0414\u043e\u0431\u0430\u0432\u0438","Filename":"\u0418\u043c\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b\u0430","Refresh":"\u041e\u0431\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435","Done":"\u0413\u043e\u0442\u043e\u0432\u043e","Custom"
108:"\u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d","N\/A":"N\/A","OK":"OK","Mon":"\u041f\u043e\u043d.","Tue":"\u0412\u0442.","Wed":"\u0421\u0440.","Thu":"\u0412\u0442.","Fri":"\u041f\u0435\u0442.","Sat":"\u0421\u044a\u0431.","Sun":"\u041d\u0435\u0434.","January":"\u042f\u043d\u0443\u0430\u0440\u0438","February":"\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438","March":"\u041c\u0430\u0440\u0442","April":"\u0410\u043f\u0440\u0438\u043b","May":"\u041c\u0430\u0439","June":"\u042e\u043d\u0438","July":"\u042e\u043b\u0438","August":"\u0410\u0432\u0433\u0443\u0441\u0442","September":"\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438","October":"\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438","November":"\u041d\u043e\u0435\u043c\u0432\u0440\u0438","December":"\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438","Optional":"\u041f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435","Select all rows in this table":"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0434\u043e\u0432\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0442\u0430","Deselect all rows in this table":"\u041e\u0442\u043a\u0430\u0436\u0438 \u0432\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0434\u043e\u0432\u0435 \u043e\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0442\u0430","Your search yielded no results":"\u041d\u044f\u043c\u0430 \u0441\u044a\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0412\u0430\u0448\u0430\u0442\u0430 \u0437\u0430\u044f\u0432\u043a\u0430","Jan":"\u042f\u043d.","Feb":"\u0424\u0435\u0432\u0440.","Mar":"\u041c\u0430\u0440\u0442","Apr":"\u0410\u043f\u0440.","Jun":"\u042e\u043d\u0438","Jul":"\u042e\u043b\u0438","Aug":"\u0410\u0432\u0433.","Sep":"\u0421\u0435\u043f\u0442.","Oct":"\u041e\u043a\u0442.","Nov":"\u041d\u043e\u0435\u043c.","Dec":"\u0414\u0435\u043a.","Not published":"\u041d\u0435\u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0432\u0430\u043d\u043e","Please wait...":"\u041c\u043e\u043b\u044f \u0438\u0437\u0447\u0430\u043a\u0430\u0439\u0442\u0435...","Not enabled":"\u041d\u0435\u0430\u043a\u0442\u0438\u0432\u0435\u043d","By @name on @date":"\u041e\u0442 @name \u043d\u0430 @date","By @name":"\u041e\u0442 @name","Not in menu":"\u041d\u0435 \u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u0432 \u043c\u0435\u043d\u044e\u0442\u043e","Alias: @alias":"\u0421\u0438\u043d\u043e\u043d\u0438\u043c: @alias","No alias":"\u041b\u0438\u043f\u0441\u0432\u0430 \u0441\u0438\u043d\u043e\u043d\u0438\u043c","New revision":"\u041d\u043e\u0432\u0430 \u0432\u0435\u0440\u0441\u0438\u044f","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"\u041f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u0432 \u0442\u0435\u0437\u0438 \u0431\u043b\u043e\u043a\u043e\u0432\u0435 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0431\u044a\u0434\u0430\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u0438, \u0434\u043e\u043a\u0430\u0442\u043e \u043d\u0435 \u0431\u044a\u0434\u0435 \u043d\u0430\u0442\u0438\u0441\u043d\u0430\u0442 \u0431\u0443\u0442\u043e\u043d\u0430 \u003Cem\u003E\u0417\u0430\u043f\u0438\u0448\u0438 \u0431\u043b\u043e\u043a\u043e\u0432\u0435\u003C\/em\u003E.","Flag translations as outdated":"\u041c\u0430\u0440\u043a\u0438\u0440\u0430\u0439 \u043f\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u0435 \u043a\u0430\u0442\u043e \u043d\u0435\u0430\u043a\u0442\u0443\u0430\u043b\u043d\u0438","No revision":"\u041d\u044f\u043c\u0430 \u0432\u0435\u0440\u0441\u0438\u044f","@number comments per page":"@number \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Customize dashboard":"\u041e\u0444\u043e\u0440\u043c\u0438 \u0442\u0430\u0431\u043b\u043e\u0442\u043e","Hide summary":"\u0421\u043a\u0440\u0438\u0432\u0430\u043d\u0435 \u043d\u0430 \u0440\u0435\u0437\u044e\u043c\u0435","Edit summary":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0440\u0435\u0437\u044e\u043c\u0435","@title dialog":"@title \u0434\u0438\u0430\u043b\u043e\u0433","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"\u0418\u0437\u0431\u0440\u0430\u043d\u0438\u044f\u0442 \u0444\u0430\u0439\u043b  %filename \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043a\u0430\u0447\u0435\u043d. \u0421\u0430\u043c\u043e \u0444\u0430\u0439\u043b\u043e\u0432\u0435 \u0441\u044a\u0441\u0441\u043b\u0435\u0434\u043d\u0438\u0442\u0435 \u0440\u0430\u0437\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0441\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438: %extensions.","Autocomplete popup":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0437\u0430\u043f\u044a\u043b\u0432\u0430\u043d\u0435 \u043d\u0430 \u0438\u0437\u0441\u043a\u0430\u0447\u0430\u0449\u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438","Searching for matches...":"\u0422\u044a\u0440\u0441\u0435\u043d\u0435 \u043d\u0430 \u0441\u044a\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f..."}} };
109;/*})'"*/;/*})'"*/
110/**
111 * @file
112 * Colorbox module init js.
113 */
114
115(function ($) {
116
117Drupal.behaviors.initColorbox = {
118  attach: function (context, settings) {
119    if (!$.isFunction($('a, area, input', context).colorbox) || typeof settings.colorbox === 'undefined') {
120      return;
121    }
122
123    if (settings.colorbox.mobiledetect && window.matchMedia) {
124      // Disable Colorbox for small screens.
125      var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")");
126      if (mq.matches) {
127        return;
128      }
129    }
130
131    // Use "data-colorbox-gallery" if set otherwise use "rel".
132    settings.colorbox.rel = function () {
133      if ($(this).data('colorbox-gallery')) {
134        return $(this).data('colorbox-gallery');
135      }
136      else {
137        return $(this).attr('rel');
138      }
139    };
140
141    $('.colorbox', context)
142      .once('init-colorbox').each(function(){
143        // Only images are supported for the "colorbox" class.
144        // The "photo" setting forces the href attribute to be treated as an image.
145        var extendParams = {
146          photo: true
147        };
148        // If a title attribute is supplied, sanitize it.
149        var title = $(this).attr('title');
150        if (title) {
151          extendParams.title = Drupal.colorbox.sanitizeMarkup(title);
152        }
153        $(this).colorbox($.extend({}, settings.colorbox, extendParams));
154      });
155
156    $(context).bind('cbox_complete', function () {
157      Drupal.attachBehaviors('#cboxLoadedContent');
158    });
159  }
160};
161
162// Create colorbox namespace if it doesn't exist.
163if (!Drupal.hasOwnProperty('colorbox')) {
164  Drupal.colorbox = {};
165}
166
167/**
168 * Global function to allow sanitizing captions and control strings.
169 *
170 * @param markup
171 *   String containing potential markup.
172 * @return @string
173 *  Sanitized string with potentially dangerous markup removed.
174 */
175Drupal.colorbox.sanitizeMarkup = function(markup) {
176  // If DOMPurify installed, allow some HTML. Otherwise, treat as plain text.
177  if (typeof DOMPurify !== 'undefined') {
178    var purifyConfig = {
179      ALLOWED_TAGS: [
180        'a',
181        'b',
182        'strong',
183        'i',
184        'em',
185        'u',
186        'cite',
187        'code',
188        'br'
189      ],
190      ALLOWED_ATTR: [
191        'href',
192        'hreflang',
193        'title',
194        'target'
195      ]
196    }
197    if (Drupal.settings.hasOwnProperty('dompurify_custom_config')) {
198      purifyConfig = Drupal.settings.dompurify_custom_config;
199    }
200    return DOMPurify.sanitize(markup, purifyConfig);
201  }
202  else {
203    return Drupal.checkPlain(markup);
204  }
205}
206
207})(jQuery);
208;/*})'"*/;/*})'"*/
209/**
210 * @file
211 * Colorbox module style js.
212 */
213
214(function ($) {
215
216Drupal.behaviors.initColorboxDefaultStyle = {
217  attach: function (context, settings) {
218    $(context).bind('cbox_complete', function () {
219      // Only run if there is a title.
220      if ($('#cboxTitle:empty', context).length == false) {
221        $('#cboxLoadedContent img', context).bind('mouseover', function () {
222          $('#cboxTitle', context).slideDown();
223        });
224        $('#cboxOverlay', context).bind('mouseover', function () {
225          $('#cboxTitle', context).slideUp();
226        });
227      }
228      else {
229        $('#cboxTitle', context).hide();
230      }
231    });
232  }
233};
234
235})(jQuery);
236;/*})'"*/;/*})'"*/
237/**
238 * @file
239 * Colorbox module inline js.
240 */
241
242(function ($) {
243
244Drupal.behaviors.initColorboxInline = {
245  attach: function (context, settings) {
246    if (!$.isFunction($.colorbox) || typeof settings.colorbox === 'undefined') {
247      return;
248    }
249
250    if (settings.colorbox.mobiledetect && window.matchMedia) {
251      // Disable Colorbox for small screens.
252      var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")");
253      if (mq.matches) {
254        return;
255      }
256    }
257
258    $.urlParam = function(name, url){
259      if (name == 'fragment') {
260        var results = new RegExp('(#[^&#]*)').exec(url);
261      }
262      else {
263        var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(url);
264      }
265      if (!results) { return ''; }
266      return results[1] || '';
267    };
268    $('.colorbox-inline', context).once('init-colorbox-inline').colorbox({
269      transition:settings.colorbox.transition,
270      speed:settings.colorbox.speed,
271      opacity:settings.colorbox.opacity,
272      slideshow:settings.colorbox.slideshow,
273      slideshowAuto:settings.colorbox.slideshowAuto,
274      slideshowSpeed:settings.colorbox.slideshowSpeed,
275      slideshowStart:settings.colorbox.slideshowStart,
276      slideshowStop:settings.colorbox.slideshowStop,
277      current:settings.colorbox.current,
278      previous:settings.colorbox.previous,
279      next:settings.colorbox.next,
280      close:settings.colorbox.close,
281      overlayClose:settings.colorbox.overlayClose,
282      maxWidth:settings.colorbox.maxWidth,
283      maxHeight:settings.colorbox.maxHeight,
284      innerWidth:function(){
285        return $.urlParam('width', $(this).attr('href'));
286      },
287      innerHeight:function(){
288        return $.urlParam('height', $(this).attr('href'));
289      },
290      title:function(){
291        return Drupal.colorbox.sanitizeMarkup(
292          decodeURIComponent($.urlParam('title', $(this).attr('href'))));
293      },
294      iframe:function(){
295        return $.urlParam('iframe', $(this).attr('href'));
296      },
297      inline:function(){
298        return $.urlParam('inline', $(this).attr('href'));
299      },
300      href:function(){
301        return $.urlParam('fragment', $(this).attr('href'));
302      }
303    });
304  }
305};
306
307})(jQuery);
308;/*})'"*/;/*})'"*/

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.