1var cookiesInfo = (function() { 2 3 function cookie_alert(type) { 4 if(!$.cookie('cookie_alert') && window.location.pathname != '/polityka-prywatnosci.html') { 5 // var cookie_alert_content = '<div id="cookie_alert">Używamy plików cookies, aby uÅatwiÄ Ci korzystanie z naszego serwisu oraz do celów statystycznych. JeÅli nie blokujesz tych plików, to zgadzasz siÄ na ich użycie oraz zapisanie w pamiÄci urzÄ dzenia. <a href="/polityka-prywatnosci" class="wiecej">WiÄcej informacji</a>. <a href="#" id="cookie_alert_close"><img src="/media/public/sulimo.pl/close.png" alt="" /></a></div>'; 6 var cookie_alert_content = '\n\ 7 <div id="cookie_alert" class="cookie_al">\n\ 8 <div class="cookie_alert_container_new">\n\ 9 <div class="cookie_alert_container_img">\n\ 10 <img src="https://cdn02.sulimo.pl/media/public/global/cookies.png" style="position: absolute; bottom: 0"><br />\n\ 11 </div>\n\ 12 <div class="cookie_alert_container_content">\n\ 13 <span class="cookie_alert_container_new_title">RODO:</span><br />W zwiÄ zku z rozpoczÄciem obowiÄ zywania przepisów RozporzÄ dzenia Parlamentu Europejskiego i Rady Unii Europejskiej 2016/679 z dnia 27 kwietnia 2016 r. w sprawie ochrony osób fizycznych w zwiÄ zku z przetwarzaniem danych osobowych i w sprawie swobodnego przepÅywu takich danych oraz uchylenia dyrektywy 95/46/WE ogólne rozporzÄ dzenie o ochronie danych, informujemy, że od dnia 25 maja 2018 r. na naszym portalu obowiÄ zuje zaktualizowana <a href="/polityka-prywatnosci.html" class="cookie_alert_container_new_link">Polityka PrywatnoÅci</a>.<br /><br /><span class="cookie_alert_container_new_title">COOKIES:</span><br />Nasz Portal wykorzytuje pliki cookies w celu dostosowania portalu do potrzeb użytkownika. WiÄcej informacji o cookies wykorzystywanych na Portalu znajdziesz w naszej <a href="/polityka-prywatnosci.html" class="cookie_alert_container_new_link">Polityce PrywatnoÅci</a>.\n\ 14 <div class="cookie_alert_container_new_btn" onclick="cookie_alert(\'close\')">ZapoznaÅem siÄ z informacjÄ . PrzechodzÄ do serwisu </div>\n\ 15 </div>\n\ 16 <div style="clear:both;"></div>\n\ 17 </div>\n\ 18 </div>'; 19 $('body').append(cookie_alert_content); 20 21 $('#cookie_alert').fadeIn(); 22 23 } 24 if(type=='close') { 25 $.cookie('cookie_alert', 'true', {path: "/", expires: 365}); 26 $('#cookie_alert').fadeOut(); 27 } 28 29 } 30 31 function init() { 32 cookie_alert('open'); 33 34 $("body").on("click", "#cookie_alert_close", function() { 35 cookie_alert('close'); 36 return false; 37 }); 38 39 40 } 41 42 return { 43 init: init 44 } 45 46})(); 47 48var accordion = (function() { 49 function init() { 50 $(".accordion-title").on("click", function() { 51 $(this).siblings(".accordion-content").slideUp(200); 52 if ($(this).next().is(":visible")) { 53 54 } else { 55 $(this).next().slideToggle(200); 56 } 57 58 }); 59 } 60 return { 61 init: init 62 } 63})(); 64 65var bannerSlider = (function() { 66 var currentBanner = 0, 67 countBanner = $(".banner-slide").length, 68 bannerWidth = $(document).width(); 69 70 function bannerResize(bannerWidth) { 71 $(".banner-slide").css({ 72 "width": bannerWidth 73 }); 74 $("#banner-slide-container").css({ 75 "width": bannerWidth*countBanner, 76 "left": "-"+currentBanner*bannerWidth+"px" 77 }); 78 } 79 80 function changeSlide(prevBanner, currentBanner) { 81 $(".banner-slide[data-slide="+(prevBanner)+"] p").fadeOut(function(){ 82 $("#banner-slide-container").animate({ 83 "left": "-"+currentBanner*bannerWidth 84 }, function() { 85 $(".banner-slide[data-slide="+(currentBanner)+"] p").fadeIn(); 86 $(".sliding").removeClass('sliding'); 87 }); 88 $(".banner-pagination span").removeClass("active"); 89 $(".banner-pagination span:contains("+(currentBanner)+")").addClass("active"); 90 }); 91 } 92 93 function rightArrow() { 94 var prevBanner = currentBanner; 95 if (currentBanner+1<countBanner) { 96 currentBanner++; 97 } else { 98 currentBanner = 0; 99 } 100 changeSlide(prevBanner, currentBanner); 101 } 102 103 function leftArrow() { 104 var prevBanner = currentBanner;
105 if (currentBanner-1>=0) { 106 currentBanner--; 107 } else { 108 currentBanner = countBanner-1; 109 } 110 changeSlide(prevBanner, currentBanner); 111 } 112 113 function bullet(bullet) { 114 var prevBanner = currentBanner; 115 currentBanner = parseInt(bullet.text()); 116 console.log(currentBanner); 117 changeSlide(prevBanner, currentBanner); 118 } 119 120 function autoSlide() { 121 $("#banner-arrow-right").trigger("click"); 122 } 123 124 function autoSlideInit() { 125 var timer = setInterval( autoSlide, 5000); 126 127 $('#banner').hover(function(ev){ 128 clearInterval(timer); 129 }, function(ev){ 130 timer = setInterval( autoSlide, 5000); 131 }); 132 } 133 134 function init() { 135 $(".banner-slide p").first().fadeIn(); 136 137 bannerResize(bannerWidth); 138 139 $(window).on("resize", function() { 140 setTimeout(function(){ 141 bannerWidth = $(document).width(); 142 bannerResize(bannerWidth); 143 }, 100); 144 }); 145 146 $("#banner-arrow-right").on("click", function() { 147 if($(this).hasClass('sliding')) 148 return; 149 $(this).addClass('sliding'); 150 rightArrow(); 151 }); 152 153 $("#banner-arrow-left").on("click", function() { 154 if($(this).hasClass('sliding')) 155 return; 156 $(this).addClass('sliding'); 157 leftArrow(); 158 }); 159 160 $(".banner-pagination span").on("click", function() { 161 bullet($(this)); 162 }); 163 164 autoSlideInit(); 165 } 166 167 return { 168 init: init 169 } 170})(); 171 172var portfolioSlider = (function() { 173 var currentPortfolio = 0, 174 countPortfolio = $(".portfolio-gallery-single").length, 175 portfolioWidth = $(".portfolio-gallery").width(); 176 177 function changeSlide(prevPortfolio, currentPortfolio) { 178 $(".portfolio-gallery-container").animate({ 179 "left": "-"+currentPortfolio*portfolioWidth 180 }, function() { 181 $(".sliding").removeClass('sliding'); 182 }); 183 } 184 185 function rightArrow() { 186 var prevPortfolio = currentPortfolio; 187 if (currentPortfolio+1<countPortfolio) { 188 currentPortfolio++; 189 } else { 190 currentPortfolio = 0; 191 } 192 changeSlide(prevPortfolio, currentPortfolio); 193 } 194 195 function leftArrow() { 196 var prevPortfolio = currentPortfolio; 197 if (currentPortfolio-1>=0) { 198 currentPortfolio--; 199 } else { 200 currentPortfolio = countPortfolio-1; 201 } 202 changeSlide(prevPortfolio, currentPortfolio); 203 } 204 205 function autoSlide() { 206 $("#portfolio-arrow-right").trigger("click"); 207 } 208 209 function autoSlideInit() { 210 var timer = setInterval( autoSlide, 3000); 211 212 $('.portfolio-gallery-container').hover(function(ev){ 213 clearInterval(timer); 214 }, function(ev){ 215 timer = setInterval( autoSlide, 3000); 216 }); 217 } 218 219 function init() { 220 $("#portfolio-arrow-right").on("click", function() { 221 if($(this).hasClass('sliding')) 222 return; 223 $(this).addClass('sliding'); 224 rightArrow(); 225 }); 226 227 $("#portfolio-arrow-left").on("click", function() { 228 if($(this).hasClass('sliding')) 229 return; 230 $(this).addClass('sliding'); 231 leftArrow(); 232 }); 233 234 autoSlideInit(); 235 } 236 237 return { 238 init: init 239 } 240})(); 241 242var portfolioDropdown = (function() { 243 244 function init(handler) { 245 $(handler).on("click", function() { 246 drop($(this)); 247 return false; 248 }) 249 250 $(handler).find("ul li a").on("click", function() { 251 $(".portfolio-dropdown p span").html($(this).html()); 252 choose($(this).data("class")); 253 }) 254 } 255 256 function drop(element) { 257 element.find("ul").addClass("dropped").fadeToggle(); 258 } 259 260 function choose(showClass) { 261 262 $("#portfolio-elements").height($("#portfolio-elements").height()); 263 $(".portfolio-single").fadeOut(400, function() { 264 $(".portfolio-single").removeClass("hide-element"); 265 266 setTimeout(function(){ 267 if (showClass!="all") { 268 $("."+showClass).fadeIn(); 269 } else { 270 $(".portfolio-single").fadeIn(); 271 } 272 273 $("#portfolio-elements").height("auto"); 274 },100) 275 }); 276 277 } 278 279 return { 280 init: init 281 } 282 283})(); 284 285var jsCallback = (function() { 286 287 function hideOpacity(element) { 288 $(element).css("opacity", 0); 289 } 290 291 function init(settings) { 292 $.each(settings, function(index, value) { 293 hideOpacity(value); 294 }) 295 } 296 297 return { 298 init: init 299 } 300 301})(); 302 303var menuAnimateSlide = (function() { 304 305 function animate(handler) { 306 console.log(handler); 307 $('html, body').animate({ 308 scrollTop: $(handler.attr("href")).offset().top-50 309 }, 300); 310 } 311 312 function init(settings) { 313 $.each(settings, function(index, value) { 314 $(value + " a").on("click", function() { 315 animate($(this)); 316 return false;
317 }); 318 }) 319 } 320 321 return { 322 init: init 323 } 324 325})(); 326 327var floatMenu = (function() { 328 329 function init(settings) { 330 if ($(document).width()>780) { 331 showHide(settings.offsetTop, settings.element, settings.speed); 332 $(window).on("scroll", function() { 333 if ($(document).width()>780) { 334 showHide(settings.offsetTop, settings.element, settings.speed); 335 } else { 336 hide(settings.element, settings.speed); 337 } 338 }); 339 } 340 } 341 342 function showHide(top, element, speed) { 343 if ($(this).scrollTop() > top) { 344 $(element).fadeIn(speed); 345 } else { 346 $(element).fadeOut(speed); 347 } 348 } 349 350 function hide(element, speed) { 351 $(element).fadeOut(speed); 352 } 353 354 return { 355 init: init 356 } 357 358})(); 359 360var hideElement = (function() { 361 362 function hide(element) { 363 $(element).each( function(i){ 364 365 if ($(document).width()>780) { 366 var bottom_of_object = $(this).offset().top + $(this).outerHeight(); 367 } else { 368 var bottom_of_object = $(this).offset().top + $(this).outerHeight()-150; 369 } 370 371 var bottom_of_window = $(window).scrollTop() + $(window).height(); 372 373 if( bottom_of_window > bottom_of_object ){ 374 375 $(this).css({"opacity":"1"}); 376 $(this).removeAttr("style"); 377 378 } 379 380 }); 381 } 382 383 function init(settings) { 384 hide(settings); 385 $(window).on("scroll", function() { 386 hide(settings); 387 }) 388 } 389 390 return { 391 init: init 392 } 393 394})(); 395 396var countElement = (function() { 397 398 var counted = 0; 399 400 function count(element) { 401 $(element).each( function(i){ 402 403 var bottom_of_object = $(this).offset().top + $(this).outerHeight(); 404 var bottom_of_window = $(window).scrollTop() + $(window).height(); 405 406 if( bottom_of_window > bottom_of_object && counted == 0 ){ 407 408 $(this).animate({"opacity":"1"},500); 409 410 $('.stats-single-front p:odd span').each(function(){ 411 // console.log("tutaj"); 412 var $this = $(this); 413 // console.log(parseInt($this.text())); 414 $({countNum: 0}).animate({countNum: parseInt($this.text())}, { 415 duration: 1000, 416 easing: "easeInCubic", 417 step: function() { 418 $this.text(Math.floor(this.countNum)); 419 }, 420 complete: function() { 421 $this.text(this.countNum); 422 } 423 }); 424 }); 425 426 counted = 1; 427 428 } 429 430 }); 431 } 432 433 function init(settings) { 434 count(settings); 435 $(window).on("scroll", function() { 436 count(settings); 437 }) 438 } 439 440 return { 441 init: init 442 } 443 444})(); 445 446var slideTrigger = (function() { 447 448 function init(settings) { 449 $(settings.trigger).on("click", function() { 450 $(settings.element).slideToggle(settings.speed); 451 }) 452 } 453 454 return { 455 init: init 456 } 457 458})();
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.