1Drupal.locale = { 'pluralFormula': function ($n) { return Number((($n==1)?(0):((($n>=2)&&($n<=4))?(1):2))); }, 'strings': {"":{"An AJAX HTTP error occurred.":"Vyskytla sa chyba AJAX HTTP.","HTTP Result Code: !status":"HTTP Result Code: !status","An AJAX HTTP request terminated abnormally.":"Abnorm\u00e1lne ukon\u010denie AJAX HTTP po\u017eiadavky.","Debugging information follows.":"Nasleduje v\u00fdpis ladiacich inform\u00e1ci\u00ed.","Path: !uri":"Cesta: !uri","StatusText: !statusText":"Stavov\u00fd text: !statusText","ResponseText: !responseText":"ResponseText: !responseText","ReadyState: !readyState":"ReadyState: !readyState","(active tab)":"(akt\u00edvna karta)","Shortcuts":"Skratky","All":"V\u0161etko","Configure":"Konfigurova\u0165","Edit":"Upravi\u0165","Hide":"Skry\u0165","Show":"Zobrazi\u0165","@number comments per page":"@number koment\u00e1rov na str\u00e1nku","Requires a title":"Vy\u017eaduje nadpis","Not published":"Nezverejnen\u00e9","Don\u0027t display post information":"Nezobrazova\u0165 inform\u00e1cie o publikovan\u00ed","Hide summary":"Skry\u0165 zhrnutie","
1Edit summary":"Upravi\u0165 zhrnutie","Not in menu":"Nie je v menu","New revision":"Nov\u00e1 rev\u00edzia","No revision":"\u017diadna rev\u00edzia","By @name on @date":"Od pou\u017e\u00edvate\u013ea @name - @date","By @name":"Pod\u013ea @name","Alias: @alias":"Alias: @alias","No alias":"\u017diaden alias","Autocomplete popup":"Pole s automatick\u00fdm dopl\u0148ovan\u00edm","Searching for matches...":"H\u013eadaj\u00fa sa zhody...","Re-order rows by numerical weight instead of dragging.":"Namiesto \u0165ahania preusporiadajte riadky pomocou \u010d\u00edseln\u00fdch v\u00e1h.","Show row weights":"Zobrazi\u0165 v\u00e1hy riadkov","Hide row weights":"Skry\u0165 v\u00e1hy riadkov","Drag to re-order":"Potiahnut\u00edm zmen\u00edte poradie","Changes made in this table will not be saved until the form is submitted.":"Zmeny vykonan\u00e9 v tejto tabu\u013eke nebud\u00fa ulo\u017een\u00e9 pokia\u013e sa formul\u00e1r neodo\u0161le.","This permission is inherited from the authenticated user role.":"Toto opr\u00e1vnenie sa ded\u00ed z kateg\u00f3rie Prihl\u00e1sen\u00fd pou\u017e\u00edvate\u013e.","Select all rows in this table":"Ozna\u010di\u0165 v\u0161etky riadky v tejto tabu\u013eke","Deselect all rows in this table":"Odzna\u010di\u0165 v\u0161etky riadky v tejto tabu\u013eke","Please wait...":"Pros\u00edm \u010dakajte...","Add":"Prida\u0165","Status":"Stav","Cancel":"Zru\u0161i\u0165","Disabled":"Zak\u00e1zan\u00e9","Enabled":"Povolen\u00e9","Size":"Ve\u013ekos\u0165","Search":"Vyh\u013ead\u00e1vanie","- None -":"- \u017diadne -","none":"\u017eiadne","Save":"Ulo\u017ei\u0165","Filename":"N\u00e1zov s\u00faboru","Published":"Zverejnen\u00e9","N\/A":"N\/A","This field is required.":"Toto pole je povinn\u00e9.","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"Zmeny v rozmiestnen\u00ed blokov sa neprejavia, pok\u00fdm nestla\u010d\u00edte tla\u010didlo \u003Cem\u003EUlo\u017ei\u0165 bloky\u003C\/em\u003E","Not restricted":"Neobmedzen\u00e9","Not customizable":"Neprisp\u00f4sobite\u013en\u00fd","Restricted to certain pages":"Obmedzi\u0165 pre konkr\u00e9tne str\u00e1nky","The block cannot be placed in this region.":"Blok nem\u00f4\u017ee by\u0165 umiestnen\u00fd v tomto regi\u00f3ne.","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"Zvolen\u00fd s\u00fabor %filename nie je mo\u017en\u00e9 nahra\u0165. Povolen\u00e9 s\u00fa len s\u00fabory s t\u00fdmito pr\u00edponami: %extensions.","Close":"Zatvori\u0165","No title":"Bez n\u00e1zvu","Add files":"Pridaj s\u00fabory","No results found.":"Nena\u0161iel sa \u017eiaden v\u00fdsledok."}} };; 2(function ($) { 3 Drupal.theme.prototype.builder_modal = function () { 4 var html = ''; 5 html += '<div id="ctools-modal" class="popups-box">'; 6 html += ' <div class="ctools-modal-content ctools-modal-builder-modal-content">'; 7 html += ' <div class="popups-container">'; 8 html += ' <div class="modal-header popups-title">'; 9 html += ' <span id="modal-title" class="modal-title"></span>'; 10 html += ' <span class="popups-close"><a class="icon-builder-cancel-circled-outline close" href="#">' + Drupal.CTools.Modal.currentSettings.closeText + '</a></span>'; 11 html += ' <div class="clear-block"></div>'; 12 html += ' </div>'; 13 html += ' <div class="modal-scroll"><div id="modal-content" class="modal-content popups-body"></div></div>'; 14 html += ' <div class="popups-buttons"></div>'; //Maybe someday add the option for some specific buttons. 15 html += ' <div class="popups-footer"></div>'; //Maybe someday add some footer. 16 html += ' </div>'; 17 html += ' </div>'; 18 html += '</div>'; 19 return html; 20 } 21})(jQuery);; 22(function() { 23 var MutationObserver, Util, WeakMap, getComputedStyle, getComputedStyleRX, 24 bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, 25 indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; 26 27 Util = (function() { 28 function Util() {} 29 30 Util.prototype.extend = function(custom, defaults) { 31 var key, value; 32 for (key in defaults) { 33 value = defaults[key]; 34 if (custom[key] == null) { 35 custom[key] = value; 36 } 37 } 38 return custom; 39 }; 40 41 Util.prototype.isMobile = function(agent) { 42 return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent); 43 }; 44 45 Util.prototype.createEvent = function(event, bubble, cancel, detail) { 46 var customEvent; 47 if (bubble == null) { 48 bubble = false;
vendor: 10,749 bytes, lines 49-408
49 } 50 if (cancel == null) { 51 cancel = false; 52 } 53 if (detail == null) { 54 detail = null; 55 } 56 if (document.createEvent != null) { 57 customEvent = document.createEvent('CustomEvent'); 58 customEvent.initCustomEvent(event, bubble, cancel, detail); 59 } else if (document.createEventObject != null) { 60 customEvent = document.createEventObject(); 61 customEvent.eventType = event; 62 } else { 63 customEvent.eventName = event; 64 } 65 return customEvent; 66 }; 67 68 Util.prototype.emitEvent = function(elem, event) { 69 if (elem.dispatchEvent != null) { 70 return elem.dispatchEvent(event); 71 } else if (event in (elem != null)) { 72 return elem[event](); 73 } else if (("on" + event) in (elem != null)) { 74 return elem["on" + event](); 75 } 76 }; 77 78 Util.prototype.addEvent = function(elem, event, fn) { 79 if (elem.addEventListener != null) { 80 return elem.addEventListener(event, fn, false); 81 } else if (elem.attachEvent != null) { 82 return elem.attachEvent("on" + event, fn); 83 } else { 84 return elem[event] = fn; 85 } 86 }; 87 88 Util.prototype.removeEvent = function(elem, event, fn) { 89 if (elem.removeEventListener != null) { 90 return elem.removeEventListener(event, fn, false); 91 } else if (elem.detachEvent != null) { 92 return elem.detachEvent("on" + event, fn); 93 } else { 94 return delete elem[event]; 95 } 96 }; 97 98 Util.prototype.innerHeight = function() { 99 if ('innerHeight' in window) { 100 return window.innerHeight; 101 } else { 102 return document.documentElement.clientHeight; 103 } 104 }; 105 106 return Util; 107 108 })(); 109 110 WeakMap = this.WeakMap || this.MozWeakMap || (WeakMap = (function() { 111 function WeakMap() { 112 this.keys = []; 113 this.values = []; 114 } 115 116 WeakMap.prototype.get = function(key) { 117 var i, item, j, len, ref; 118 ref = this.keys; 119 for (i = j = 0, len = ref.length; j < len; i = ++j) { 120 item = ref[i]; 121 if (item === key) { 122 return this.values[i]; 123 } 124 } 125 }; 126 127 WeakMap.prototype.set = function(key, value) { 128 var i, item, j, len, ref; 129 ref = this.keys; 130 for (i = j = 0, len = ref.length; j < len; i = ++j) { 131 item = ref[i]; 132 if (item === key) { 133 this.values[i] = value; 134 return; 135 } 136 } 137 this.keys.push(key); 138 return this.values.push(value); 139 }; 140 141 return WeakMap; 142 143 })()); 144 145 MutationObserver = this.MutationObserver || this.WebkitMutationObserver || this.MozMutationObserver || (MutationObserver = (function() { 146 function MutationObserver() { 147 if (typeof console !== "undefined" && console !== null) { 148 console.warn('MutationObserver is not supported by your browser.'); 149 } 150 if (typeof console !== "undefined" && console !== null) { 151 console.warn('WOW.js cannot detect dom mutations, please call .sync() after loading new content.'); 152 } 153 } 154 155 MutationObserver.notSupported = true; 156 157 MutationObserver.prototype.observe = function() {}; 158 159 return MutationObserver; 160 161 })()); 162 163 getComputedStyle = this.getComputedStyle || function(el, pseudo) { 164 this.getPropertyValue = function(prop) { 165 var ref; 166 if (prop === 'float') { 167 prop = 'styleFloat'; 168 } 169 if (getComputedStyleRX.test(prop)) { 170 prop.replace(getComputedStyleRX, function(_, _char) { 171 return _char.toUpperCase(); 172 }); 173 } 174 return ((ref = el.currentStyle) != null ? ref[prop] : void 0) || null; 175 }; 176 return this; 177 }; 178 179 getComputedStyleRX = /(\-([a-z]){1})/g; 180 181 this.WOW = (function() { 182 WOW.prototype.defaults = { 183 boxClass: 'wow', 184 animateClass: 'animated', 185 offset: 0, 186 mobile: true, 187 live: true, 188 callback: null 189 }; 190 191 function WOW(options) { 192 if (options == null) { 193 options = {}; 194 } 195 this.scrollCallback = bind(this.scrollCallback, this); 196 this.scrollHandler = bind(this.scrollHandler, this); 197 this.resetAnimation = bind(this.resetAnimation, this); 198 this.start = bind(this.start, this); 199 this.scrolled = true; 200 this.config = this.util().extend(options, this.defaults); 201 this.animationNameCache = new WeakMap(); 202 this.wowEvent = this.util().createEvent(this.config.boxClass); 203 } 204 205 WOW.prototype.init = function() { 206 var ref; 207 this.element = window.document.documentElement; 208 if ((ref = document.readyState) === "interactive" || ref === "complete") { 209 this.start(); 210 } else { 211 this.util().addEvent(document, 'DOMContentLoaded', this.start); 212 } 213 return this.finished = []; 214 }; 215 216 WOW.prototype.start = function() { 217 var box, j, len, ref; 218 this.stopped = false; 219 this.boxes = (function() { 220 var j, len, ref, results; 221 ref = this.element.querySelectorAll("." + this.config.boxClass); 222 results = []; 223 for (j = 0, len = ref.length; j < len; j++) { 224 box = ref[j]; 225 results.push(box); 226 } 227 return results; 228 }).call(this); 229 this.all = (function() { 230 var j, len, ref, results; 231 ref = this.boxes; 232 results = []; 233 for (j = 0, len = ref.length; j < len; j++) { 234 box = ref[j]; 235 results.push(box); 236 } 237 return results; 238 }).call(this); 239 if (this.boxes.length) { 240 if (this.disabled()) { 241 this.resetStyle(); 242 } else { 243 ref = this.boxes; 244 for (j = 0, len = ref.length; j < len; j++) { 245 box = ref[j]; 246 this.applyStyle(box, true); 247 } 248 } 249 } 250 if (!this.disabled()) { 251 this.util().addEvent(window, 'scroll', this.scrollHandler); 252 this.util().addEvent(window, 'resize', this.scrollHandler); 253 this.interval = setInterval(this.scrollCallback, 50); 254 } 255 if (this.config.live) { 256 return new MutationObserver((function(_this) { 257 return function(records) { 258 var k, len1, node, record, results; 259 results = []; 260 for (k = 0, len1 = records.length; k < len1; k++) { 261 record = records[k]; 262 results.push((function() { 263 var l, len2, ref1, results1; 264 ref1 = record.addedNodes || []; 265 results1 = []; 266 for (l = 0, len2 = ref1.length; l < len2; l++) { 267 node = ref1[l]; 268 results1.push(this.doSync(node)); 269 } 270 return results1; 271 }).call(_this)); 272 } 273 return results; 274 }; 275 })(this)).observe(document.body, { 276 childList: true, 277 subtree: true 278 }); 279 } 280 }; 281 282 WOW.prototype.stop = function() { 283 this.stopped = true; 284 this.util().removeEvent(window, 'scroll', this.scrollHandler); 285 this.util().removeEvent(window, 'resize', this.scrollHandler); 286 if (this.interval != null) { 287 return clearInterval(this.interval); 288 } 289 }; 290 291 WOW.prototype.sync = function(element) { 292 if (MutationObserver.notSupported) { 293 return this.doSync(this.element); 294 } 295 }; 296 297 WOW.prototype.doSync = function(element) { 298 var box, j, len, ref, results; 299 if (element == null) { 300 element = this.element; 301 } 302 if (element.nodeType !== 1) { 303 return; 304 } 305 element = element.parentNode || element; 306 ref = element.querySelectorAll("." + this.config.boxClass); 307 results = []; 308 for (j = 0, len = ref.length; j < len; j++) { 309 box = ref[j]; 310 if (indexOf.call(this.all, box) < 0) { 311 this.boxes.push(box); 312 this.all.push(box); 313 if (this.stopped || this.disabled()) { 314 this.resetStyle(); 315 } else { 316 this.applyStyle(box, true); 317 } 318 results.push(this.scrolled = true); 319 } else { 320 results.push(void 0); 321 } 322 } 323 return results; 324 }; 325 326 WOW.prototype.show = function(box) { 327 this.applyStyle(box); 328 box.className = box.className + " " + this.config.animateClass; 329 if (this.config.callback != null) { 330 this.config.callback(box); 331 } 332 this.util().emitEvent(box, this.wowEvent); 333 this.util().addEvent(box, 'animationend', this.resetAnimation); 334 this.util().addEvent(box, 'oanimationend', this.resetAnimation); 335 this.util().addEvent(box, 'webkitAnimationEnd', this.resetAnimation); 336 this.util().addEvent(box, 'MSAnimationEnd', this.resetAnimation); 337 return box; 338 }; 339 340 WOW.prototype.applyStyle = function(box, hidden) { 341 var delay, duration, iteration; 342 duration = box.getAttribute('data-wow-duration'); 343 delay = box.getAttribute('data-wow-delay'); 344 iteration = box.getAttribute('data-wow-iteration'); 345 return this.animate((function(_this) { 346 return function() { 347 return _this.customStyle(box, hidden, duration, delay, iteration); 348 }; 349 })(this)); 350 }; 351 352 WOW.prototype.animate = (function() { 353 if ('requestAnimationFrame' in window) { 354 return function(callback) { 355 return window.requestAnimationFrame(callback); 356 }; 357 } else { 358 return function(callback) { 359 return callback(); 360 }; 361 } 362 })(); 363 364 WOW.prototype.resetStyle = function() { 365 var box, j, len, ref, results; 366 ref = this.boxes; 367 results = []; 368 for (j = 0, len = ref.length; j < len; j++) { 369 box = ref[j]; 370 results.push(box.style.visibility = 'visible'); 371 } 372 return results; 373 }; 374 375 WOW.prototype.resetAnimation = function(event) { 376 var target; 377 if (event.type.toLowerCase().indexOf('animationend') >= 0) { 378 target = event.target || event.srcElement; 379 return target.className = target.className.replace(this.config.animateClass, '').trim(); 380 } 381 }; 382 383 WOW.prototype.customStyle = function(box, hidden, duration, delay, iteration) { 384 if (hidden) { 385 this.cacheAnimationName(box); 386 } 387 box.style.visibility = hidden ? 'hidden' : 'visible'; 388 if (duration) { 389 this.vendorSet(box.style, { 390 animationDuration: duration 391 }); 392 } 393 if (delay) { 394 this.vendorSet(box.style, { 395 animationDelay: delay 396 }); 397 } 398 if (iteration) { 399 this.vendorSet(box.style, { 400 animationIterationCount: iteration 401 }); 402 } 403 this.vendorSet(box.style, { 404 animationName: hidden ? 'none' : this.cachedAnimationName(box) 405 }); 406 return box; 407 }; 408
409 WOW.prototype.vendors = ["moz", "webkit"]; 410 411 WOW.prototype.vendorSet = function(elem, properties) { 412 var name, results, value, vendor; 413 results = []; 414 for (name in properties) { 415 value = properties[name]; 416 elem["" + name] = value; 417 results.push((function() { 418 var j, len, ref, results1; 419 ref = this.vendors; 420 results1 = []; 421 for (j = 0, len = ref.length; j < len; j++) { 422 vendor = ref[j]; 423 results1.push(elem["" + vendor + (name.charAt(0).toUpperCase()) + (name.substr(1))] = value); 424 } 425 return results1; 426 }).call(this)); 427 } 428 return results; 429 }; 430 431 WOW.prototype.vendorCSS = function(elem, property) { 432 var j, len, ref, result, style, vendor; 433 style = getComputedStyle(elem); 434 result = style.getPropertyCSSValue(property); 435 ref = this.vendors; 436 for (j = 0, len = ref.length; j < len; j++) { 437 vendor = ref[j]; 438 result = result || style.getPropertyCSSValue("-" + vendor + "-" + property); 439 } 440 return result; 441 }; 442 443 WOW.prototype.animationName = function(box) { 444 var animationName; 445 try { 446 animationName = this.vendorCSS(box, 'animation-name').cssText; 447 } catch (_error) { 448 animationName = getComputedStyle(box).getPropertyValue('animation-name'); 449 } 450 if (animationName === 'none') { 451 return ''; 452 } else { 453 return animationName; 454 } 455 }; 456 457 WOW.prototype.cacheAnimationName = function(box) { 458 return this.animationNameCache.set(box, this.animationName(box)); 459 }; 460 461 WOW.prototype.cachedAnimationName = function(box) { 462 return this.animationNameCache.get(box); 463 }; 464 465 WOW.prototype.scrollHandler = function() { 466 return this.scrolled = true; 467 }; 468 469 WOW.prototype.scrollCallback = function() { 470 var box; 471 if (this.scrolled) { 472 this.scrolled = false; 473 this.boxes = (function() { 474 var j, len, ref, results; 475 ref = this.boxes; 476 results = []; 477 for (j = 0, len = ref.length; j < len; j++) { 478 box = ref[j]; 479 if (!(box)) { 480 continue; 481 } 482 if (this.isVisible(box)) { 483 this.show(box); 484 continue; 485 } 486 results.push(box); 487 } 488 return results; 489 }).call(this); 490 if (!(this.boxes.length || this.config.live)) { 491 return this.stop(); 492 } 493 } 494 }; 495 496 WOW.prototype.offsetTop = function(element) { 497 var top; 498 while (element.offsetTop === void 0) { 499 element = element.parentNode; 500 } 501 top = element.offsetTop; 502 while (element = element.offsetParent) { 503 top += element.offsetTop; 504 } 505 return top; 506 }; 507 508 WOW.prototype.isVisible = function(box) { 509 var bottom, offset, top, viewBottom, viewTop; 510 offset = box.getAttribute('data-wow-offset') || this.config.offset; 511 viewTop = window.pageYOffset; 512 viewBottom = viewTop + Math.min(this.element.clientHeight, this.util().innerHeight()) - offset; 513 top = this.offsetTop(box); 514 bottom = top + box.clientHeight; 515 return top <= viewBottom && bottom >= viewTop; 516 }; 517 518 WOW.prototype.util = function() { 519 return this._util != null ? this._util : this._util = new Util(); 520 }; 521 522 WOW.prototype.disabled = function() { 523 return !this.config.mobile && this.util().isMobile(navigator.userAgent); 524 }; 525 526 return WOW; 527 528 })(); 529 530}).call(this); 531; 532(function ($) { 533 Drupal.behaviors.builder = { 534 attach: function (context, settings) { 535 536 wow = new WOW( 537 { 538 boxClass: 'builder-animation', 539 animateClass: 'animated', // default 540 offset: 0, // default 541 mobile: true, // default 542 live: true // default 543 } 544 ); 545 wow.init(); 546 547 548 $(document).ready(function(){ 549 550 551 $( ".builder-content-builder-custom-text img" ).each(function( index ) { 552 $(this).parent().css('margin',0); 553}); 554 555 // Add minus icon for collapse element which is open by default 556 $(".collapse.in").each(function(){ 557 $(this).siblings(".panel-heading").find(".icon").addClass("icon-down").removeClass("icon-right"); 558 }); 559 560 // Toggle plus minus icon on show hide of collapse element 561 $(".collapse").on('show.bs.collapse', function(){ 562 $(this).parent().find(".icon").addClass("rot-down"); 563 }).on('hide.bs.collapse', function(){ 564 $(this).parent().find(".icon").removeClass("rot-down"); 565 }); 566 }); 567 568 569 } 570 }; 571 572})(jQuery); 573 574(function ($) { 575 Drupal.behaviors.autocompleteSupervisor = { 576 attach: function (context) { 577 $("input#edit-author", context).bind('autocompleteSelect', function(event, node) { 578 console.log($(this).val()); // user-entered string 579 console.log($(node).data('autocompleteValue')); // key of selected item 580 console.log($(node).text()); // label of selected item 581 var values = $(this).val().split('|'); // my key was a pipe-delimited string (name|id) 582 console.log(values); 583 console.log($(this)); 584 if (values[1]) { this.value = values[1]; 585 window.location.href = "/ludia-na-tuzvo/"+values[0]; 586 } }); 587 } 588 }; 589})(jQuery); 590 591 592;
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.