PageSourceSearch

https://evenice.it/sites/default/files/js/js_uM4dvT_BaKxGHNBxL5rrxwHdVjhj8SG9dcpIG_pVM0U.js

js evenice.it collected 2026-10-02 12:31:26 UTC 28,663 bytes, 673 lines download raw bytes

vendor: 5,041 bytes, lines 1-74
1/* Modernizr 2.8.1 (Custom Build) | MIT & BSD
2 * Build: http://modernizr.com/download/#-mq-teststyles
3 */
4;window.Modernizr=function(a,b,c){function v(a){i.cssText=a}function w(a,b){return v(prefixes.join(a+";")+(b||""))}function x(a,b){return typeof a===b}function y(a,b){return!!~(""+a).indexOf(b)}function z(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:x(f,"function")?f.bind(d||b):f}return!1}var d="2.8.0",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l={},m={},n={},o=[],p=o.slice,q,r=function(a,c,d,e){var h,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:g+(d+1),l.appendChild(j);return h=["&#173;",'<style id="s',g,'">',a,"</style>"].join(""),l.id=g,(m?l:n).innerHTML+=h,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=f.style.overflow,f.style.overflow="hidden",f.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),f.style.overflow=k),!!i},s=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return r("@media "+b+" { #"+g+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},t={}.hasOwnProperty,u;!x(t,"undefined")&&!x(t.call,"undefined")?u=function(a,b){return t.call(a,b)}:u=function(a,b){return b in a&&x(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=p.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(p.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(p.call(arguments)))};return e});for(var A in l)u(l,A)&&(q=A.toLowerCase(),e[q]=l[A](),o.push((e[q]?"":"no-")+q));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)u(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof enableClasses!="undefined"&&enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},v(""),h=j=null,e._version=d,e.mq=s,e.testStyles=r,e}(this,this.document);;
5/*!
6 * hoverIntent v1.8.0 // 2014.06.29 // jQuery v1.9.1+
7 * http://cherne.net/brian/resources/jquery.hoverIntent.html
8 *
9 * You may use hoverIntent under the terms of the MIT license. Basically that
10 * means you are free to use hoverIntent as long as this header is left intact.
11 * Copyright 2007, 2014 Brian Cherne
12 */
13 
14/* hoverIntent is similar to jQuery's built-in "hover" method except that
15 * instead of firing the handlerIn function immediately, hoverIntent checks
16 * to see if the user's mouse has slowed down (beneath the sensitivity
17 * threshold) before firing the event. The handlerOut function is only
18 * called after a matching handlerIn.
19 *
20 * // basic usage ... just like .hover()
21 * .hoverIntent( handlerIn, handlerOut )
22 * .hoverIntent( handlerInOut )
23 *
24 * // basic usage ... with event delegation!
25 * .hoverIntent( handlerIn, handlerOut, selector )
26 * .hoverIntent( handlerInOut, selector )
27 *
28 * // using a basic configuration object
29 * .hoverIntent( config )
30 *
31 * @param  handlerIn   function OR configuration object
32 * @param  handlerOut  function OR selector for delegation OR undefined
33 * @param  selector    selector OR undefined
34 * @author Brian Cherne <brian(at)cherne(dot)net>
35 */
36(function($) {
37    $.fn.hoverIntent = function(handlerIn,handlerOut,selector) {
38
39        // default configuration values
40        var cfg = {
41            interval: 100,
42            sensitivity: 6,
43            timeout: 0
44        };
45
46        if ( typeof handlerIn === "object" ) {
47            cfg = $.extend(cfg, handlerIn );
48        } else if ($.isFunction(handlerOut)) {
49            cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } );
50        } else {
51            cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } );
52        }
53
54        // instantiate variables
55        // cX, cY = current X and Y position of mouse, updated by mousemove event
56        // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval
57        var cX, cY, pX, pY;
58
59        // A private function for getting mouse position
60        var track = function(ev) {
61            cX = ev.pageX;
62            cY = ev.pageY;
63        };
64
65        // A private function for comparing current and previous mouse position
66        var compare = function(ev,ob) {
67            ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
68            // compare mouse positions to see if they've crossed the threshold
69            if ( Math.sqrt( (pX-cX)*(pX-cX) + (pY-cY)*(pY-cY) ) < cfg.sensitivity ) {
70                $(ob).off("mousemove.hoverIntent",track);
71                // set hoverIntent state to true (so mouseOut can be called)
72                ob.hoverIntent_s = true;
73                return cfg.over.apply(ob,[ev]);
74            } else {
75                // set previous coordinates for next time
76                pX = cX; pY = cY;
77                // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs)
78                ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );
79            }
80        };
81
82        // A private function for delaying the mouseOut function
83        var delay = function(ev,ob) {
84            ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
85            ob.hoverIntent_s = false;
86            return cfg.out.apply(ob,[ev]);
87        };
88
89        // A private function for handling mouse 'hovering'
90        var handleHover = function(e) {
91            // copy objects to be passed into t (required for event object to be passed in IE)
92            var ev = $.extend({},e);
93            var ob = this;
94
95            // cancel hoverIntent timer if it exists
96            if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); }
97
98            // if e.type === "mouseenter"
99            if (e.type === "mouseenter") {
100                // set "previous" X and Y position based on initial entry point
101                pX = ev.pageX; pY = ev.pageY;
102                // update "current" X and Y position based on mousemove
103                $(ob).on("mousemove.hoverIntent",track);
104                // start polling interval (self-calling timeout) to compare mouse coordinates over time
105                if (!ob.hoverIntent_s) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );}
106
107                // else e.type == "mouseleave"
108            } else {
109                // unbind expensive mousemove event
110                $(ob).off("mousemove.hoverIntent",track);
111                // if hoverIntent state is true, then call the mouseOut function after the specified delay
112                if (ob.hoverIntent_s) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );}
113            }
114        };
115
116        // listen for mouseenter and mouseleave
117        return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector);
118    };
119})(jQuery);
120;
121/*
122 * JQuery URL Parser plugin, v2.2.1
123 * Developed and maintanined by Mark Perkins, [email protected]
124 * Source repository: https://github.com/allmarkedup/jQuery-URL-Parser
125 * Licensed under an MIT-style license. See https://github.com/allmarkedup/jQuery-URL-Parser/blob/master/LICENSE for details.
126 */ 
127
128;(function(factory) {
129    if (typeof define === 'function' && define.amd) {
130        // AMD available; use anonymous module
131        if ( typeof jQuery !== 'undefined' ) {
132            define(['jquery'], factory);    
133        } else {
134            define([], factory);
135        }
136    } else {
137        // No AMD available; mutate global vars
138        if ( typeof jQuery !== 'undefined' ) {
139            factory(jQuery);
140        } else {
141            factory();
142        }
143    }
144})(function($, undefined) {
145    
146    var tag2attr = {
147            a       : 'href',
148            img     : 'src',
149            form    : 'action',
150            base    : 'href',
151            script  : 'src',
152            iframe  : 'src',
153            link    : 'href'
154        },
155        
156        key = ['source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'fragment'], // keys available to query
157        
158        aliases = { 'anchor' : 'fragment' }, // aliases for backwards compatability
159        
160        parser = {
161            strict : /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,  //less intuitive, more accurate to the specs
162            loose :  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ // more intuitive, fails on relative paths and deviates from specs
163        },
164        
165        toString = Object.prototype.toString,
166        
167        isint = /^[0-9]+$/;
168    
169    function parseUri( url, strictMode ) {
170        var str = decodeURI( url ),
171        res   = parser[ strictMode || false ? 'strict' : 'loose' ].exec( str ),
172        uri = { attr : {}, param : {}, seg : {} },
173        i   = 14;
174        
175        while ( i-- ) {
176            uri.attr[ key[i] ] = res[i] || '';
177        }
178        
179        // build query and fragment parameters      
180        uri.param['query'] = parseString(uri.attr['query']);
181        uri.param['fragment'] = parseString(uri.attr['fragment']);
182        
183        // split path and fragement into segments       
184        uri.seg['path'] = uri.attr.path.replace(/^\/+|\/+$/g,'').split('/');     
185        uri.seg['fragment'] = uri.attr.fragment.replace(/^\/+|\/+$/g,'').split('/');
186        
187        // compile a 'base' domain attribute        
188        uri.attr['base'] = uri.attr.host ? (uri.attr.protocol ?  uri.attr.protocol+'://'+uri.attr.host : uri.attr.host) + (uri.attr.port ? ':'+uri.attr.port : '') : '';      
189          
190        return uri;
191    };
192    
193    function getAttrName( elm ) {
194        var tn = elm.tagName;
195        if ( typeof tn !== 'undefined' ) return tag2attr[tn.toLowerCase()];
196        return tn;
197    }
198    
199    function promote(parent, key) {
200        if (parent[key].length == 0) return parent[key] = {};
201        var t = {};
202        for (var i in parent[key]) t[i] = parent[key][i];
203        parent[key] = t;
204        return t;
205    }
206
207    function parse(parts, parent, key, val) {
208        var part = parts.shift();
209        if (!part) {
210            if (isArray(parent[key])) {
211                parent[key].push(val);
212            } else if ('object' == typeof parent[key]) {
213                parent[key] = val;
214            } else if ('undefined' == typeof parent[key]) {
215                parent[key] = val;
216            } else {
217                parent[key] = [parent[key], val];
218            }
219        } else {
220            var obj = parent[key] = parent[key] || [];
221            if (']' == part) {
222                if (isArray(obj)) {
223                    if ('' != val) obj.push(val);
224                } else if ('object' == typeof obj) {
225                    obj[keys(obj).length] = val;
226                } else {
227                    obj = parent[key] = [parent[key], val];
228                }
229            } else if (~part.indexOf(']')) {
230                part = part.substr(0, part.length - 1);
231                if (!isint.test(part) && isArray(obj)) obj = promote(parent, key);
232                parse(parts, obj, part, val);
233                // key
234            } else {
235                if (!isint.test(part) && isArray(obj)) obj = promote(parent, key);
236                parse(parts, obj, part, val);
237            }
238        }
239    }
240
241    function merge(parent, key, val) {
242        if (~key.indexOf(']')) {
243            var parts = key.split('['),
244            len = parts.length,
245            last = len - 1;
246            parse(parts, parent, 'base', val);
247        } else {
248            if (!isint.test(key) && isArray(parent.base)) {
249                var t = {};
250                for (var k in parent.base) t[k] = parent.base[k];
251                parent.base = t;
252            }
253            set(parent.base, key, val);
254        }
255        return parent;
256    }
257
258    function parseString(str) {
259        return reduce(String(str).split(/&|;/), function(ret, pair) {
260            try {
261                pair = decodeURIComponent(pair.replace(/\+/g, ' '));
262            } catch(e) {
263                // ignore
264            }
265            var eql = pair.indexOf('='),
266                brace = lastBraceInKey(pair),
267                key = pair.substr(0, brace || eql),
268                val = pair.substr(brace || eql, pair.length),
269                val = val.substr(val.indexOf('=') + 1, val.length);
270
271            if ('' == key) key = pair, val = '';
272
273            return merge(ret, key, val);
274        }, { base: {} }).base;
275    }
276    
277    function set(obj, key, val) {
278        var v = obj[key];
279        if (undefined === v) {
280            obj[key] = val;
281        } else if (isArray(v)) {
282            v.push(val);
283        } else {
284            obj[key] = [v, val];
285        }
286    }
287    
288    function lastBraceInKey(str) {
289        var len = str.length,
290             brace, c;
291        for (var i = 0; i < len; ++i) {
292            c = str[i];
293            if (']' == c) brace = false;
294            if ('[' == c) brace = true;
295            if ('=' == c && !brace) return i;
296        }
297    }
298    
299    function reduce(obj, accumulator){
300        var i = 0,
301            l = obj.length >> 0,
302            curr = arguments[2];
303        while (i < l) {
304            if (i in obj) curr = accumulator.call(undefined, curr, obj[i], i, obj);
305            ++i;
306        }
307        return curr;
308    }
309    
310    function isArray(vArg) {
311        return Object.prototype.toString.call(vArg) === "[object Array]";
312    }
313    
314    function keys(obj) {
315        var keys = [];
316        for ( prop in obj ) {
317            if ( obj.hasOwnProperty(prop) ) keys.push(prop);
318        }
319        return keys;
320    }
321        
322    function purl( url, strictMode ) {
323        if ( arguments.length === 1 && url === true ) {
324            strictMode = true;
325            url = undefined;
326        }
327        strictMode = strictMode || false;
328        url = url || window.location.toString();
329    
330        return {
331            
332            data : parseUri(url, strictMode),
333            
334            // get various attributes from the URI
335            attr : function( attr ) {
336                attr = aliases[attr] || attr;
337                return typeof attr !== 'undefined' ? this.data.attr[attr] : this.data.attr;
338            },
339            
340            // return query string parameters
341            param : function( param ) {
342                return typeof param !== 'undefined' ? this.data.param.query[param] : this.data.param.query;
343            },
344            
345            // return fragment parameters
346            fparam : function( param ) {
347                return typeof param !== 'undefined' ? this.data.param.fragment[param] : this.data.param.fragment;
348            },
349            
350            // return path segments
351            segment : function( seg ) {
352                if ( typeof seg === 'undefined' ) {
353                    return this.data.seg.path;
354                } else {
355                    seg = seg < 0 ? this.data.seg.path.length + seg : seg - 1; // negative segments count from the end
356                    return this.data.seg.path[seg];                    
357                }
358            },
359            
360            // return fragment segments
361            fsegment : function( seg ) {
362                if ( typeof seg === 'undefined' ) {
363                    return this.data.seg.fragment;                    
364                } else {
365                    seg = seg < 0 ? this.data.seg.fragment.length + seg : seg - 1; // negative segments count from the end
366                    return this.data.seg.fragment[seg];                    
367                }
368            }
369            
370        };
371    
372    };
373    
374    if ( typeof $ !== 'undefined' ) {
375        
376        $.fn.url = function( strictMode ) {
377            var url = '';
378            if ( this.length ) {
379                url = $(this).attr( getAttrName(this[0]) ) || '';
380            }    
381            return purl( url, strictMode );
382        };
383        
384        $.url = purl;
385        
386    } else {
387        window.purl = purl;
388    }
389
390});
391;
392(function ($, Drupal, window, document, undefined) {
393  if (Drupal.views != undefined && Drupal.views.ajaxView != undefined) {
394    Drupal.views.ajaxView.prototype.attachPagerAjax = function() {
395      return false;
396    };
397  }
398
399  Drupal.mq = function($mq) {
400    if (Modernizr.mq('all and (min-width: 1px)')) {
401      return Modernizr.mq($mq);
402    }
403    return false;
404  };
405
406  /**
407   * Get Openlayers map
408   */
409  Drupal.getOpenlayersMapById = function(id) {
410    var mapData = $('#' + id).data('openlayers');
411    if (mapData != undefined) {
412      return mapData.openlayers;
413    }
414    return false;
415  };
416
417  /**
418   * Get Openlayers feature
419   */
420  Drupal.getFeature = function(layer, id) {
421    if (layer && id != undefined) {
422      var features = layer.features;
423      for (var i in features) {
424        var feature = features[i];
425        if (id == feature.data.nid) {
426          return feature;
427        }
428      }
429    }
430    return false;
431  };
432
433  Drupal.behaviors.evenice = {
434    weight: 200,
435    attach: function() {
436      var that = this;
437
438      $('#block-views-exp-search-page').once('header-search-hint', function(){
439        $('input.form-text', this).hint({hint: Drupal.t('Find events and exhibitions')});
440      });
441
442      $('#block-views-exp-search-page-1').once('header-search-hint', function(){
443        $('input.form-text', this).hint({hint: Drupal.t('Find articles')});
444      });
445
446      /**
447       * Search on header
448       */
449      $('.top-wrap #block-views-exp-search-page, .top-wrap #block-views-exp-search-page-1').once('toggleBlock', function() {
450        var $block = $(this);
451        var $title = $('h2.block-title', $block);
452        var $form = $('> form', $block);
453        $form.append($('<span class="close-search">Close</span>'));
454        $title.click(function() {
455          $title.toggleClass('active');
456          $form.toggle();
457          $('body').toggleClass('search-open');
458        });
459
460        $('> form .close-search', $block).click(function() {
461          $('body').toggleClass('search-open');
462          $form.toggle();
463        });
464      });
465
466      /**
467       * Language switcher
468       */
469      $('.top-wrap .block-locale .language-switcher-locale-url').once('language-switcher', function() {
470        var $languages = $('li', this).not('.active');
471        var $active = $(' li.active', this).prependTo(this);
472
473        $('a', $active).click(function(event) {
474          event.preventDefault();
475          $active.toggleClass('open');
476          $languages.not('.active').toggle();
477        });
478      });
479
480      /**
481       * Toggle menu
482       */
483      $('#block-evenice-misc-evenice-misc-menu-blocks > h2').once('toggler', function() {
484        $(this).off().on('click', function() {
485            $(this).toggleClass('active');
486            $('#block-evenice-misc-evenice-misc-menu-blocks').find('.block-toggle-content').toggle();
487        });
488      });
489
490
491      /**
492       * Events in view mode views: scroll on hover.
493       */
494      if (Drupal.mq('all and (min-width: 1025px)')) {
495        $('.node-event.view-mode-views, .node-exhibition.view-mode-views, .node-post.view-mode-views').each(function() {
496          var bannerHeight = $('.field-name-field-banner, .field-name-field-pst-preview-image', this).outerHeight();
497          var contentHeight = $('.group-left', this).outerHeight();
498          var height = $('.field-name-node-link .discover a', this).outerHeight();
499          var offset = 2;
500          $(this).hoverIntent(
501            function () {
502              $('.field-name-field-banner, .field-name-field-pst-preview-image', this).slideToggle();
503              //$('.group-left', this).animate({height: contentHeight + bannerHeight}, {duration: 500, queue: false});
504              $('.field-name-field-location-ref .field, .field-name-published', this).fadeToggle();
505                $('.ttw', this).fadeToggle();
506              $('.group-footer .field-name-node-link', this).height(height).animate({bottom: '0'}, {duration: 500, queue: false});
507            },
508            function () {
509              $('.field-name-field-banner, .field-name-field-pst-preview-image', this).slideToggle();
510              $('.field-name-field-location-ref .field, .field-name-published', this).fadeToggle();
511              $('.ttw', this).fadeToggle();
512              $('.group-footer .field-name-node-link', this).height(offset).animate({bottom: offset - height}, {duration: 500, queue: false});
513            }
514          );
515
516        });
517      }
518
519      if (Drupal.mq('all and (min-width: 768px) and (max-width: 1024px)')) {
520        $('.node-post.view-mode-views, .node-event.view-mode-views, .node-exhibition.view-mode-views .group-left').matchHeight({
521          byRow: true,
522        });
523      }
524
525      $('#tabs .region-tabs').once('tabs', function() {
526        var that = this;
527        // TABS
528        if (Drupal.mq('all and (min-width: 768px)')) {
529          var $header = $('<ul></ul>');
530
531          $('.block-actv').each(function() {
532            var title = $('h2.block-title', this).addClass('element-invisible').text();
533            var id = $(this).attr('id');
534            $header.append('<li><a href="#' + id + '">' + title + '</a></li>');
535          });
536
537          var index = 0;
538
539          if ($('body').hasClass('section-line')) {
540            index = 1;
541          }
542          else if ($('body').hasClass('node-type-actv-stop')) {
543            index = 2;
544          }
545
546          $(this).prepend($header).tabs({active: index});
547        }
548        // ACCORDION
549        else {
550          $('.block', that).each(function(index) {
551            var title = $('h2.block-title', this).remove();
552            $(this).before(title);
553          });
554
555          $(this).accordion({active: 'false', heightStyle: 'content'});
556        }
557
558        $(this).css('visibility', 'visible');
559      });
560
561      /**
562       * Responsive menus (also in tablet)
563       */
564      if (Drupal.mq('all and (max-width: 1019px)')) {
565        $('#header .view-categories').once('responsive-categories', function () {
566          var $block = $(this);
567          var togglerText = Drupal.t('All events');
568
569          if ($block.hasClass('view-categories-block_1')) {
570            togglerText = Drupal.t('Search by topic');
571          }
572
573          var $menu = $('.view-content', $block).detach().appendTo('.top-wrap');
574          var $toggler = $('<span class="categories-toggler">' + togglerText + '</span>');
575          $block.append($toggler);
576          $menu.wrap('<div class="responsive-categories"></div>');
577          $toggler.click(function () {
578            $(this).toggleClass('active');
579            $('.top-wrap .responsive-categories').slideToggle();
580          });
581        });
582
583        // Hide and show the mobile menu while scrolling up and down.
584        var lastScroll = 0;
585        $(window).scroll(function(event){
586          // Avoid menu collapse if there are open menus.
587          if ($('.categories-toggler').hasClass('active') || $('#block-evenice-misc-evenice-misc-menu-blocks h2').hasClass('active')) {
588            return;
589          }
590          var top = $(this).scrollTop();
591          var buffer = 100;
592          // Down
593          if (top > (lastScroll + buffer)){
594            $('.top-wrap').slideUp(150);
595            lastScroll = top;
596          }
597
598          // Up
599          else if (top < (lastScroll - buffer)) {
600            $('.top-wrap').slideDown(150);
601            lastScroll = top;
602          }
603        });
604      }
605
606
607      /**
608       * ShareThis
609       */
610      if (typeof stLight !== "undefined") {
611        stLight.options({
612          onhover: false
613        });
614      }
615    }
616  };
617
618})(jQuery, Drupal, this, this.document);
619;
620(function ($) {
621
622Drupal.behaviors.initColorboxPlainStyle = {
623  attach: function (context, settings) {
624    $(document).bind('cbox_complete', function () {
625      // Hide empty title.
626      if ($('#cboxTitle:empty', context).length == true) {
627        $('#cboxTitle', context).hide();
628      }
629      $('#cboxLoadedContent', context).bind('mouseover', function () {
630        $('#cboxCurrent, #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose', context).animate({opacity: 1}, {queue: false, duration: "fast"});
631        if ($('#cboxTitle:empty', context).length == false) {
632          $('#cboxTitle', context).slideDown();
633        }
634      });
635      $('#cboxOverlay', context).bind('mouseover', function () {
636        $('#cboxCurrent, #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose', context).animate({opacity: 0}, {queue: false, duration: "fast"});
637        if ($('#cboxTitle:empty', context).length == false) {
638          $('#cboxTitle', context).slideUp();
639        }
640      });
641    });
642  }
643};
644
645})(jQuery);
646;
647/**
648* jquery.matchHeight-min.js master
649* http://brm.io/jquery-match-height/
650* License: MIT
651*/
652(function(c){var n=-1,f=-1,g=function(a){return parseFloat(a)||0},r=function(a){var b=null,d=[];c(a).each(function(){var a=c(this),k=a.offset().top-g(a.css("margin-top")),l=0<d.length?d[d.length-1]:null;null===l?d.push(a):1>=Math.floor(Math.abs(b-k))?d[d.length-1]=l.add(a):d.push(a);b=k});return d},p=function(a){var b={byRow:!0,property:"height",target:null,remove:!1};if("object"===typeof a)return c.extend(b,a);"boolean"===typeof a?b.byRow=a:"remove"===a&&(b.remove=!0);return b},b=c.fn.matchHeight=
653function(a){a=p(a);if(a.remove){var e=this;this.css(a.property,"");c.each(b._groups,function(a,b){b.elements=b.elements.not(e)});return this}if(1>=this.length&&!a.target)return this;b._groups.push({elements:this,options:a});b._apply(this,a);return this};b._groups=[];b._throttle=80;b._maintainScroll=!1;b._beforeUpdate=null;b._afterUpdate=null;b._apply=function(a,e){var d=p(e),h=c(a),k=[h],l=c(window).scrollTop(),f=c("html").outerHeight(!0),m=h.parents().filter(":hidden");m.each(function(){var a=c(this);
654a.data("style-cache",a.attr("style"))});m.css("display","block");d.byRow&&!d.target&&(h.each(function(){var a=c(this),b=a.css("display");"inline-block"!==b&&"inline-flex"!==b&&(b="block");a.data("style-cache",a.attr("style"));a.css({display:b,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px"})}),k=r(h),h.each(function(){var a=c(this);a.attr("style",a.data("style-cache")||"")}));c.each(k,function(a,b){var e=c(b),
655f=0;if(d.target)f=d.target.outerHeight(!1);else{if(d.byRow&&1>=e.length){e.css(d.property,"");return}e.each(function(){var a=c(this),b=a.css("display");"inline-block"!==b&&"inline-flex"!==b&&(b="block");b={display:b};b[d.property]="";a.css(b);a.outerHeight(!1)>f&&(f=a.outerHeight(!1));a.css("display","")})}e.each(function(){var a=c(this),b=0;d.target&&a.is(d.target)||("border-box"!==a.css("box-sizing")&&(b+=g(a.css("border-top-width"))+g(a.css("border-bottom-width")),b+=g(a.css("padding-top"))+g(a.css("padding-bottom"))),
656a.css(d.property,f-b+"px"))})});m.each(function(){var a=c(this);a.attr("style",a.data("style-cache")||null)});b._maintainScroll&&c(window).scrollTop(l/f*c("html").outerHeight(!0));return this};b._applyDataApi=function(){var a={};c("[data-match-height], [data-mh]").each(function(){var b=c(this),d=b.attr("data-mh")||b.attr("data-match-height");a[d]=d in a?a[d].add(b):b});c.each(a,function(){this.matchHeight(!0)})};var q=function(a){b._beforeUpdate&&b._beforeUpdate(a,b._groups);c.each(b._groups,function(){b._apply(this.elements,
657this.options)});b._afterUpdate&&b._afterUpdate(a,b._groups)};b._update=function(a,e){if(e&&"resize"===e.type){var d=c(window).width();if(d===n)return;n=d}a?-1===f&&(f=setTimeout(function(){q(e);f=-1}
657,b._throttle)):q(e)};c(b._applyDataApi);c(window).bind("load",function(a){b._update(!1,a)});c(window).bind("resize orientationchange",function(a){b._update(!0,a)})})(jQuery);;
658var OpenLayers = OpenLayers || false;
659
660if (OpenLayers) {
661  OpenLayers.Strategy.Cluster.prototype.createCluster = function(feature) {
662    var attributes = feature.attributes || {};
663    attributes.count = 1;
664    var center = feature.geometry.getBounds().getCenterLonLat();
665    var cluster = new OpenLayers.Feature.Vector(
666        new OpenLayers.Geometry.Point(center.lon, center.lat),
667        attributes
668    );
669    cluster.cluster = [feature];
670    return cluster;
671  };
672}
673;

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.