1/** 2 * jQuery Skitter Slideshow 3 * @name jquery.skitter.js 4 * @description Slideshow 5 * @author Thiago Silva Ferreira - http://thiagosf.net 6 * @version 4.2.3 7 * @date August 04, 2010 8 * @update May 05, 2015 9 * @copyright (c) 2010 Thiago Silva Ferreira - http://thiagosf.net 10 * @license Dual licensed under the MIT or GPL Version 2 licenses 11 * @example http://thiagosf.net/projects/jquery/skitter/ 12 */ 13!function (t) { 14 function s(t) { 15 for (var i, s =[ 16 "transform", 17 "WebkitTransform", 18 "msTransform", 19 "MozTransform", 20 "OTransform" 21 ]; i = s.shift();) 22 if ("undefined" != typeof t.style[i]) 23 return i; 24 25 26 return "transform" 27 } 28 var e = 0, 29 n = []; 30 t.fn.skitter = function (i) { 31 return this.each(function () { 32 void 0 == t(this).data("skitter_number") && (t(this).data("skitter_number", e), n.push(new o(this, i, e)), ++ e) 33 }) 34 }; 35 var a = { 36 velocity: 1, 37 interval: 2500, 38 animation: "", 39 numbers: !0, 40 navigation: !0, 41 label: !0, 42 easing_default: "", 43 box_skitter: null, 44 time_interval: null, 45 images_links: null, 46 image_atual: null, 47 link_atual: null, 48 label_atual: null, 49 target_atual: "_self", 50 width_skitter: null, 51 height_skitter: null, 52 image_i: 1, 53 is_animating: !1, 54 is_hover_box_skitter: !1, 55 random_ia: null, 56 show_randomly: !1, 57 thumbs: !1, 58 animateNumberOut: !1, 59 animateNumberOver: !1, 60 animateNumberActive: !1, 61 hideTools: !1, 62 fullscreen: !1, 63 xml: !1, 64 dots: !1, 65 width_label: null, 66 opacity_elements: .75, 67 interval_in_elements: 200, 68 interval_out_elements: 300, 69 onLoad: null, 70 imageSwitched: null, 71 max_number_height: 20, 72 numbers_align: "left", 73 preview: !1, 74 focus: !1, 75 foucs_active: !1, 76 focus_position: "center", 77 controls: !1, 78 controls_position: "center", 79 progressbar: !1, 80 progressbar_css: {}, 81 is_paused: !1, 82 is_blur: !1, 83 is_paused_time: !1, 84 timeStart: 0, 85 elapsedTime: 0, 86 stop_over: !0, 87 enable_navigation_keys: !1, 88 with_animations: [], 89 mouseOverButton: null, 90 mouseOutButton: null, 91 auto_play: !0, 92 labelAnimation: "slideUp", 93 theme: null, 94 structure: '<a href="#" class="prev_button">prev</a><a href="#" class="next_button">next</a><span class="info_slide"></span><div class="container_skitter"><div class="image"><a href=""><img class="image_main" /></a><div class="label_skitter"></div></div></div>' 95 }; 96 t.skitter = function (i, s, e) { 97 this.box_skitter = t(i), 98 this.timer = null, 99 this.settings = t.extend({}, a, s || {}), 100 this.number_skitter = e, 101 this.setup() 102 }; 103 var o = t.skitter; 104 o.fn = o.prototype = {}, 105 o.fn.extend = t.extend, 106 o.fn.extend({ 107 setup: function () { 108 var i = this; 109 if (this.settings.fullscreen) { 110 var s = t(window).width(), 111 e = t(window).height(); 112 this 113 .box_skitter 114 .width(s) 115 .height(e), 116 this.box_skitter.css({position: "absolute", top: 0, left: 0, "z-index": 1e3}), 117 this.settings.stop_over = !1, 118 t("body").css({overflown: "hidden"}) 119 } 120 if (this.settings.width_skitter = parseFloat(this.box_skitter.css("width")), this.settings.height_skitter = parseFloat(this.box_skitter.css("height")), !this.settings.width_skitter || !this.settings.height_skitter) 121 return console.warn("Width or height size is null! - Skitter Slideshow"), 122 !1; 123 124 this.settings.theme && this.box_skitter.addClass("skitter-" + this.settings.theme), 125 this.box_skitter.append(this.settings.structure), 126 this.settings.easing_default = this.getEasing(this.settings.easing), 127 this.settings.velocity >= 2 && (this.settings.velocity = 1.3), 128 this.settings.velocity <= 0 && (this.settings.velocity = 1), 129 this 130 .box_skitter
131 .find(".info_slide") 132 .hide(), 133 this 134 .box_skitter 135 .find(".label_skitter") 136 .hide(), 137 this 138 .box_skitter 139 .find(".prev_button") 140 .hide(), 141 this 142 .box_skitter 143 .find(".next_button") 144 .hide(), 145 this 146 .box_skitter 147 .find(".container_skitter") 148 .width(this.settings.width_skitter), 149 this 150 .box_skitter 151 .find(".container_skitter") 152 .height(this.settings.height_skitter); 153 var n = this.settings.width_label 154 ? this.settings.width_label 155 : this.settings.width_skitter; 156 this 157 .box_skitter 158 .find(".label_skitter") 159 .width(n); 160 var a = " image_number_select", 161 o = 0; 162 this.settings.images_links = new Array; 163 var r = function (t, s, e, n, r) { 164 if (i 165 .settings 166 .images_links 167 .push([ 168 s, 169 t, 170 e, 171 n, 172 r 173 ]), i.settings.thumbs) { 174 var h = ""; 175 h = i.settings.width_skitter > i.settings.height_skitter 176 ? 'height="100"' 177 : 'width="100"', 178 i 179 .box_skitter 180 .find(".info_slide") 181 .append('<span class="image_number' + a + '" rel="' + ( 182 o - 1 183 ) + '" id="image_n_' + o + "_" + i.number_skitter + '"><img src="' + s + '" ' + h + " /></span> ") 184 } else 185 i 186 .box_skitter 187 .find(".info_slide") 188 .append('<span class="image_number' + a + '" rel="' + ( 189 o - 1 190 ) + '" id="image_n_' + o + "_" + i.number_skitter + '">' + o + "</span> "); 191 a = "" 192 }; 193 if ( 194 this.settings.xml 195 ? t.ajax({ 196 type: "GET", 197 url: this.settings.xml, 198 async: !1, 199 dataType: "xml", 200 success: function (i) { 201 t("<ul></ul>"); 202 t(i).find("skitter slide").each(function () { 203 ++ o; 204 var i = t(this).find("link").text() 205 ? t(this).find("link").text() 206 : "#", 207 s = t(this).find("image").text(), 208 e = t(this).find("image").attr("type"), 209 n = t(this).find("label").text(), 210 a = t(this).find("target").text() 211 ? t(this).find("target").text() 212 : "_self"; 213 r(i, s, e, n, a) 214 }) 215 } 216 }) 217 : this.settings.json || this 218 .box_skitter 219 .find("ul li") 220 .each(function () { 221 ++ o; 222 var i = t(this).find("a").length 223 ? t(this).find("a").attr("href") 224 : "#", 225 s = t(this).find("img").attr("src"), 226 e = t(this).find("img").attr("class"), 227 n = t(this).find(".label_text").html(), 228 a = t(this).find("a").length && t(this).find("a").attr("target") 229 ? t(this).find("a").attr("target") 230 : "_self"; 231 r(i, s, e, n, a) 232 }), 233 i.settings.thumbs && ! i.settings.fullscreen 234 ) { 235 i.settings.animateNumberOut = { 236 opacity: .3 237 }, 238 i.settings.animateNumberOver = { 239 opacity: .5 240 }, 241 i.settings.animateNumberActive = { 242 opacity: 1 243 }, 244 i 245 .box_skitter
246 .find(".info_slide") 247 .addClass("info_slide_thumb"); 248 var h = (o + 1) * i 249 .box_skitter 250 .find(".info_slide_thumb .image_number") 251 .width(); 252 i 253 .box_skitter 254 .find(".info_slide_thumb") 255 .width(h), 256 i.box_skitter.css({ 257 height: i.box_skitter.height() + i 258 .box_skitter 259 .find(".info_slide") 260 .height() 261 }), 262 i.box_skitter.append('<div class="container_thumbs"></div>'); 263 var g = i 264 .box_skitter 265 .find(".info_slide") 266 .clone(); 267 i 268 .box_skitter 269 .find(".info_slide") 270 .remove(), 271 i 272 .box_skitter 273 .find(".container_thumbs") 274 .width(i.settings.width_skitter) 275 .append(g); 276 var l = 0, 277 d = this.settings.width_skitter, 278 _ = this.settings.height_skitter, 279 c = 0, 280 f = i.box_skitter.find(".info_slide_thumb"), 281 u = 0, 282 m = i 283 .box_skitter 284 .offset() 285 .top; 286 if (f.find(".image_number").each(function () { 287 l += t(this).outerWidth() 288 }), f.width(l + "px"), c = f.width(), width_value = this.settings.width_skitter, width_value = d - 100, h > i.settings.width_skitter && i.box_skitter.mousemove(function (t) { 289 u = i 290 .box_skitter 291 .offset() 292 .left + 90; 293 var s = t.pageX, 294 e = t.pageY, 295 n = 0; 296 s -= u, 297 e -= m, 298 novo_width = c - width_value, 299 n = -(novo_width * s / width_value), 300 n > 0 && (n = 0), -(c - d) > n && (n = -(c - d)), 301 e > _ && f.css({left: n}) 302 }), i 303 .box_skitter 304 .find(".scroll_thumbs") 305 .css({left: 10}), h < i.settings.width_skitter) { 306 i 307 .box_skitter 308 .find(".info_slide") 309 .width("auto"), 310 i 311 .box_skitter 312 .find(".box_scroll_thumbs") 313 .hide(); 314 var p = ".info_slide"; 315 switch (i.settings.numbers_align) { 316 case "center": 317 var k = (i.settings.width_skitter - i 318 .box_skitter 319 .find(p) 320 .width()) / 2; 321 i 322 .box_skitter 323 .find(p) 324 .css({left: k}); 325 break; 326 case "right": i 327 .box_skitter 328 .find(p) 329 .css({left: "auto", right: "-5px"}); 330 break; 331 case "left": i 332 .box_skitter 333 .find(p) 334 .css({left: "0px"}) 335 } 336 } 337 } else { 338 var p = ".info_slide"; 339 switch (i.settings.dots && (i 340 .box_skitter 341 .find(".info_slide") 342 .addClass("info_slide_dots") 343 .removeClass("info_slide"), p = ".info_slide_dots"), i.settings.numbers_align) { 344 case "center": 345 var k = (i.settings.width_skitter - i 346 .box_skitter 347 .find(p) 348 .width()) / 2; 349 i 350 .box_skitter 351 .find(p) 352 .css({left: k}); 353 break; 354 case "right": i 355 .box_skitter 356 .find(p)
357 .css({left: "auto", right: "15px"}); 358 break; 359 case "left": i 360 .box_skitter 361 .find(p) 362 .css({left: "15px"}) 363 } 364 i.settings.dots || i 365 .box_skitter 366 .find(".info_slide") 367 .height() > 20 && i 368 .box_skitter 369 .find(".info_slide") 370 .hide() 371 } 372 if (this 373 .box_skitter 374 .find("ul") 375 .hide(), this.settings.show_randomly && this 376 .settings 377 .images_links 378 .sort(function () { 379 return Math.random() - .5 380 }), this.settings.image_atual = this.settings.images_links[0][0], this.settings.link_atual = this.settings.images_links[0][1], this.settings.label_atual = this.settings.images_links[0][3], this.settings.target_atual = this.settings.images_links[0][4], this 381 .settings 382 .images_links 383 .length > 1 && (this 384 .box_skitter 385 .find(".prev_button") 386 .click(function () { 387 return 0 == i.settings.is_animating && ( 388 i.settings.image_i -= 2, 389 -2 == i.settings.image_i 390 ? i.settings.image_i = i 391 .settings 392 .images_links 393 .length - 2 394 : -1 == i.settings.image_i && (i.settings.image_i = i 395 .settings 396 .images_links 397 .length - 1), 398 i.jumpToImage(i.settings.image_i) 399 ), 400 !1 401 }), this 402 .box_skitter 403 .find(".next_button") 404 .click(function () { 405 return i.jumpToImage(i.settings.image_i), 406 !1 407 }), i 408 .box_skitter 409 .find(".next_button, .prev_button") 410 .bind("mouseover", i.settings.mouseOverButton), i 411 .box_skitter 412 .find(".next_button, .prev_button") 413 .bind("mouseleave", i.settings.mouseOutButton), this 414 .box_skitter 415 .find(".image_number") 416 .hover(function () { 417 "image_number image_number_select" != t(this).attr("class") && i.settings.animateNumberOver && t(this).stop().animate(i.settings.animateNumberOver, 300) 418 }, function () { 419 "image_number image_number_select" != t(this).attr("class") && i.settings.animateNumberOut && t(this).stop().animate(i.settings.animateNumberOut, 500) 420 }), this 421 .box_skitter 422 .find(".image_number") 423 .click(function () { 424 if ("image_number image_number_select" != t(this).attr("class")) { 425 var s = parseInt(t(this).attr("rel")); 426 i.jumpToImage(s) 427 } 428 return !1 429 }), i.settings.animateNumberOut && this 430 .box_skitter 431 .find(".image_number") 432 .css(i.settings.animateNumberOut), i.settings.animateNumberActive && this 433 .box_skitter 434 .find(".image_number:eq(0)") 435 .css(i.settings.animateNumberActive), i.settings.preview && i.settings.dots)) { 436 for (var b = t('<div class="preview_slide"><ul></ul></div>'), v = 0; v < this 437 .settings 438 .images_links 439 .length; v++) { 440 var x = t("<li></li>"), 441 w = t("<img />"); 442 w.attr("src", this.settings.images_links[v][0]), 443 x.append(w), 444 b.find("ul").append(x) 445 } 446 var y = parseInt(100 * this 447 .settings 448 .images_links 449 .length); 450 b.find("ul").width(y), 451 t(p).append(b), 452 i 453 .box_skitter 454 .find(p)
455 .find(".image_number") 456 .mouseenter(function () { 457 var s = parseFloat(i 458 .box_skitter 459 .find(p) 460 .offset() 461 .left), 462 e = parseFloat(t(this).offset().left), 463 n = e - s - 43, 464 a = parseInt(t(this).attr("rel")), 465 o = (i 466 .box_skitter 467 .find(".preview_slide_current img") 468 .attr("src"), -(100 * a)); 469 i 470 .box_skitter 471 .find(".preview_slide") 472 .find("ul") 473 .animate({ 474 left: o 475 }, { 476 duration: 200, 477 queue: !1, 478 easing: "easeOutSine" 479 }), 480 i 481 .box_skitter 482 .find(".preview_slide") 483 .fadeTo(1, 1) 484 .animate({ 485 left: n 486 }, { 487 duration: 200, 488 queue: !1 489 }) 490 }), 491 i 492 .box_skitter 493 .find(p) 494 .mouseleave(function () { 495 t(".preview_slide").animate({ 496 opacity: "hide" 497 }, { 498 duration: 200, 499 queue: !1 500 }) 501 }) 502 } 503 i.settings.focus && i.focusSkitter(), 504 i.settings.controls && i.setControls(), 505 i.settings.progressbar && i.settings.auto_play && i.addProgressBar(), 506 i.settings.hideTools && i.hideTools(), 507 i.settings.enable_navigation_keys && i.enableNavigationKeys(), 508 this.loadImages() 509 }, 510 loadImages: function () { 511 var i = this, 512 s = t('<div class="loading">Loading</div>'); 513 this.box_skitter.append(s); 514 var e = this 515 .settings 516 .images_links 517 .length, 518 n = 0; 519 t.each(this.settings.images_links, function () { 520 var s = this, 521 a = t('<span class="image_loading"></span>'); 522 a.css({position: "absolute", top: "-9999em"}), 523 i.box_skitter.append(a); 524 var o = new Image; 525 t(o) 526 .off("load").on("load",function () { 527 ++ n, 528 n == e && (i 529 .box_skitter 530 .find(".loading") 531 .remove(), i 532 .box_skitter 533 .find(".image_loading") 534 .remove(), i.start()) 535 }) 536 .off("error").on("error",function () { 537 i 538 .box_skitter 539 .find(".loading, .image_loading, .image_number, .next_button, .prev_button") 540 .remove(), 541 i.box_skitter.html('<p style="color:white;background:black;">Error loading images. One or more images were not found.</p>') 542 }) 543 .attr("src", s[0]) 544 }) 545 }, 546 start: function () { 547 var i = this, 548 s = !1; 549 (this.settings.numbers || this.settings.thumbs) && this 550 .box_skitter 551 .find(".info_slide") 552 .fadeIn(500), 553 this.settings.dots && this 554 .box_skitter 555 .find(".info_slide_dots") 556 .fadeIn(500), 557 this.settings.label && this 558 .box_skitter 559 .find(".label_skitter") 560 .show(), 561 this.settings.navigation && (this 562 .box_skitter 563 .find(".prev_button") 564 .fadeIn(500), this 565 .box_skitter 566 .find(".next_button") 567 .fadeIn(500)), 568 i.settings.auto_play && i.startTime(), 569 i.windowFocusOut(), 570 i.setLinkAtual(), 571 i 572 .box_skitter
573 .find(".image a img") 574 .attr({src: i.settings.image_atual}), 575 img_link = i.box_skitter.find(".image a"), 576 img_link = i.resizeImage(img_link), 577 img_link.find("img").fadeIn(1500), 578 i.setValueBoxText(), 579 i.showBoxText(), 580 i.settings.auto_play && i.stopOnMouseOver(); 581 var e = function () { 582 i.settings.stop_over && (s =! 0, i.settings.is_hover_box_skitter =! 0, i.clearTimer(!0), i.pauseProgressBar()) 583 }; 584 i.box_skitter.mouseover(e), 585 i 586 .box_skitter 587 .find(".next_button") 588 .mouseover(e), 589 i 590 .settings 591 .images_links 592 .length > 1 && ! s 593 ? i.settings.auto_play && (i.timer = setTimeout(function () { 594 i.nextImage() 595 }, i.settings.interval)) 596 : i 597 .box_skitter 598 .find(".loading, .image_loading, .image_number, .next_button, .prev_button") 599 .remove(), 600 t.isFunction(i.settings.onLoad) && i.settings.onLoad(i) 601 }, 602 jumpToImage: function (t) { 603 0 == this.settings.is_animating && (this.settings.elapsedTime = 0, this 604 .box_skitter 605 .find(".box_clone") 606 .stop(), this.clearTimer(!0), this.settings.image_i = Math.floor(t), this 607 .box_skitter 608 .find(".image a") 609 .attr({href: this.settings.link_atual}), this 610 .box_skitter 611 .find(".image_main") 612 .attr({src: this.settings.image_atual}), this 613 .box_skitter 614 .find(".box_clone") 615 .remove(), this.nextImage()) 616 }, 617 nextImage: function () { 618 var t = this; 619 if ( 620 animations_functions =[ 621 "cube", 622 "cubeRandom", 623 "block", 624 "cubeStop", 625 "cubeStopRandom", 626 "cubeHide", 627 "cubeSize", 628 "horizontal", 629 "showBars", 630 "showBarsRandom", 631 "tube", 632 "fade", 633 "fadeFour", 634 "paralell", 635 "blind", 636 "blindHeight", 637 "blindWidth", 638 "directionTop", 639 "directionBottom", 640 "directionRight", 641 "directionLeft", 642 "cubeSpread", 643 "glassCube", 644 "glassBlock", 645 "circles", 646 "circlesInside", 647 "circlesRotate", 648 "cubeShow", 649 "upBars", 650 "downBars", 651 "hideBars", 652 "swapBars", 653 "swapBarsBack", 654 "swapBlocks", 655 "cut" 656 ], 657 t.settings.progressbar && t.hideProgressBar(), 658 animation_type = "" == this.settings.animation && this.settings.images_links[this.settings.image_i][2] 659 ? this.settings.images_links[this.settings.image_i][2] 660 : "" == this.settings.animation 661 ? "default" 662 : this.settings.animation, 663 "randomSmart" == animation_type 664 ) 665 this.settings.random_ia || (animations_functions.sort(function () { 666 return.5 - Math.random() 667 }), this.settings.random_ia = animations_functions), 668 animation_type = this.settings.random_ia[this.settings.image_i]; 669 else if ("random" == animation_type) { 670 var i = parseInt(Math.random() * animations_functions.length); 671 animation_type = animations_functions[i] 672 } else if (t 673 .settings 674 .with_animations 675 .length > 0) { 676 var s = t 677 .settings 678 .with_animations 679 .length; 680 void 0 == this.settings._i_animation && (this.settings._i_animation = 0), 681 animation_type = t.settings.with_animations[this.settings._i_animation], 682 ++ this.settings._i_animation, 683 this.settings._i_animation >= s && (this.settings._i_animation = 0) 684 } 685 switch (animation_type) { 686 case "cube": 687 this.animationCube(); 688 break; 689 case "cubeRandom": 690 this.animationCube({ 691 random: !0 692 }); 693 break; 694 case "block": 695 this.animationBlock(); 696 break; 697 case "cubeStop": 698 this.animationCubeStop(); 699 break; 700 case "cubeStopRandom": 701 this.animationCubeStop({ 702 random: !0 703 }); 704 break; 705 case "cubeHide": 706 this.animationCubeHide(); 707 break; 708 case "cubeSize": 709 this.animationCubeSize(); 710 break; 711 case "horizontal": 712 this.animationHorizontal(); 713 break; 714 case "showBars": 715 this.animationShowBars(); 716 break; 717 case "showBarsRandom": 718 this.animationShowBars({ 719 random: !0 720 }); 721 break; 722 case "tube": 723 this.animationTube(); 724 break; 725 case "fade": 726 this.animationFade(); 727 break; 728 case "fadeFour": 729 this.animationFadeFour(); 730 break; 731 case "paralell": 732 this.animationParalell(); 733 break; 734 case "blind": 735 this.animationBlind(); 736 break; 737 case "blindHeight": 738 this.animationBlindDimension({ 739 height: !0 740 }); 741 break; 742 case "blindWidth": 743 this.animationBlindDimension({ 744 height: !1, 745 time_animate: 400, 746 delay: 50 747 }); 748 break; 749 case "directionTop": 750 this.animationDirection({direction: "top"}); 751 break; 752 case "directionBottom": 753 this.animationDirection({direction: "bottom"}); 754 break; 755 case "directionRight": 756 this.animationDirection({direction: "right", total: 5}); 757 break; 758 case "directionLeft": 759 this.animationDirection({direction: "left", total: 5}); 760 break; 761 case "cubeSpread": 762 this.animationCubeSpread(); 763 break; 764 case "cubeJelly": 765 this.animationCubeJelly(); 766 break; 767 case "glassCube": 768 this.animationGlassCube(); 769 break; 770 case "glassBlock": 771 this.animationGlassBlock(); 772 break; 773 case "circles": 774 this.animationCircles(); 775 break; 776 case "circlesInside": 777 this.animationCirclesInside(); 778 break; 779 case "circlesRotate": 780 this.animationCirclesRotate(); 781 break; 782 case "cubeShow": 783 this.animationCubeShow(); 784 break; 785 case "upBars": 786 this.animationDirectionBars({direction: "top"}); 787 break; 788 case "downBars": 789 this.animationDirectionBars({direction: "bottom"}); 790 break; 791 case "hideBars": 792 this.animationHideBars(); 793 break; 794 case "swapBars": 795 this.animationSwapBars(); 796 break; 797 case "swapBarsBack": 798 this.animationSwapBars({easing: "easeOutBack"}); 799 break; 800 case "swapBlocks": 801 this.animationSwapBlocks(); 802 break; 803 case "cut": 804 this.animationCut(); 805 break; 806 default: 807 this.animationTube() 808 } 809 }, 810 animationCube: function (s) { 811 var e = this, 812 s = t.extend({}, { 813 random: !1 814 }, s || {}); 815 this.settings.is_animating = !0; 816 var n = "" == this.settings.easing_default 817 ? "easeOutExpo" 818 : this.settings.easing_default, 819 a = 700 / this.settings.velocity; 820 this.setActualLevel(); 821 var o = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)),
822 r = Math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)), 823 h = o * r, 824 g = Math.ceil(this.settings.width_skitter / o), 825 l = Math.ceil(this.settings.height_skitter / r), 826 d = this.settings.height_skitter + 200, 827 _ = this.settings.height_skitter + 200, 828 c = 0, 829 f = 0; 830 for (i = 0; i < h; i ++) { 831 d = i % 2 == 0 832 ? d 833 : - d, 834 _ = i % 2 == 0 835 ? _ 836 : - _; 837 var u = d + l * c + 150 * c, 838 m = - e.settings.width_skitter, 839 p = -(l * c), 840 k = -(g * f), 841 b = l * c, 842 v = g * f, 843 x = this.getBoxClone(); 844 x.hide(); 845 var w = 50 * i; 846 s.random 847 ? (w = 40 * f, x.css({ 848 left: m + "px", 849 top: u + "px", 850 width: g, 851 height: l 852 })) 853 : (a = 500, x.css({ 854 left: this.settings.width_skitter + g * i, 855 top: this.settings.height_skitter + l * i, 856 width: g, 857 height: l 858 })), 859 this.addBoxClone(x); 860 var y = i == h - 1 861 ? function () { 862 e.finishAnimation() 863 } 864 : ""; 865 x 866 .show() 867 .delay(w) 868 .animate({ 869 top: b + "px", 870 left: v + "px" 871 }, a, n, y), 872 s.random 873 ? (x.find("img").css({ 874 left: k + 100, 875 top: p + 50 876 }), x 877 .find("img") 878 .delay(w + a / 2) 879 .animate({ 880 left: k, 881 top: p 882 }, 1e3, "easeOutBack")) 883 : (x.find("img").css({left: k, top: p}), x 884 .find("img") 885 .delay(w + a / 2) 886 .fadeTo(100, .5) 887 .fadeTo(300, 1)), 888 c ++, 889 c == r && (c = 0, f ++) 890 } 891 }, 892 animationBlock: function () { 893 var t = this; 894 this.settings.is_animating = !0; 895 var s = "" == this.settings.easing_default 896 ? "easeOutQuad" 897 : this.settings.easing_default, 898 e = 500 / this.settings.velocity; 899 this.setActualLevel(); 900 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 15)), 901 a = Math.ceil(this.settings.width_skitter / n), 902 o = this.settings.height_skitter; 903 for (i = 0; i < n; i ++) { 904 var r = a * i, 905 h = 0, 906 g = this.getBoxClone(); 907 g.css({ 908 left: this.settings.width_skitter + 100, 909 top: 0, 910 width: a, 911 height: o 912 }), 913 g.find("img").css({ 914 left: -(a * i) 915 }), 916 this.addBoxClone(g); 917 var l = 80 * i, 918 d = i == n - 1 919 ? function () { 920 t.finishAnimation() 921 } 922 : ""; 923 g 924 .show() 925 .delay(l) 926 .animate({ 927 top: h, 928 left: r 929 }, e, s), 930 g 931 .find("img") 932 .hide() 933 .delay(l + 100) 934 .animate({ 935 opacity: "show" 936 }, e + 300, s, d) 937 } 938 }, 939 animationCubeStop: function (s) { 940 var e = this, 941 s = t.extend({}, { 942 random: !1 943 }, s || {}); 944 this.settings.is_animating = !0; 945 var n = "" == this.settings.easing_default 946 ? "easeInQuad" 947 : this.settings.easing_default, 948 a = 300 / this.settings.velocity, 949 o = this 950 .box_skitter
951 .find(".image_main") 952 .attr("src"); 953 this.setActualLevel(), 954 this.setLinkAtual(), 955 this 956 .box_skitter 957 .find(".image_main") 958 .attr({src: this.settings.image_atual}); 959 var r = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)), 960 h = Math.ceil(this.settings.height_skitter / (this.settings.width_skitter / 8)), 961 g = r * h, 962 l = Math.ceil(this.settings.width_skitter / r), 963 d = Math.ceil(this.settings.height_skitter / h), 964 _ = 0, 965 c = 0, 966 f = 0, 967 u = 0, 968 m = this.settings.width_skitter / 16; 969 for (i = 0; i < g; i ++) { 970 _ = i % 2 == 0 971 ? _ 972 : - _, 973 c = i % 2 == 0 974 ? c 975 : - c; 976 var p = _ + d * f, 977 k = c + l * u, 978 b = -(d * f), 979 v = -(l * u), 980 x = p - m, 981 w = k - m, 982 y = this.getBoxCloneImgOld(o); 983 y.css({ 984 left: k + "px", 985 top: p + "px", 986 width: l, 987 height: d 988 }), 989 y.find("img").css({left: v, top: b}), 990 this.addBoxClone(y), 991 y.show(); 992 var B = 50 * i; 993 s.random && (a = 400 * (e.getRandom(2) + 1) / this.settings.velocity, x = p, w = k, B = Math.ceil(30 * e.getRandom(30))), 994 s.random && i == g - 1 && (a = 1200, B = 900); 995 var C = i == g - 1 996 ? function () { 997 e.finishAnimation() 998 } 999 : ""; 1000 y.delay(B).animate({ 1001 opacity: "hide", 1002 top: x + "px", 1003 left: w + "px" 1004 }, a, n, C), 1005 f ++, 1006 f == h && (f = 0, u ++) 1007 } 1008 }, 1009 animationCubeHide: function () { 1010 var t = this; 1011 this.settings.is_animating = !0; 1012 var s = "" == this.settings.easing_default 1013 ? "easeOutQuad" 1014 : this.settings.easing_default, 1015 e = 500 / this.settings.velocity, 1016 n = this 1017 .box_skitter 1018 .find(".image_main") 1019 .attr("src"); 1020 this.setActualLevel(), 1021 this.setLinkAtual(), 1022 this 1023 .box_skitter 1024 .find(".image_main") 1025 .attr({src: this.settings.image_atual}); 1026 var a = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)), 1027 o = Math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)), 1028 r = a * o, 1029 h = Math.ceil(this.settings.width_skitter / a), 1030 g = Math.ceil(this.settings.height_skitter / o), 1031 l = 0, 1032 d = 0, 1033 _ = 0, 1034 c = 0; 1035 for (i = 0; i < r; i ++) { 1036 l = i % 2 == 0 1037 ? l 1038 : - l, 1039 d = i % 2 == 0 1040 ? d 1041 : - d; 1042 var f = l + g * _, 1043 u = d + h * c, 1044 m = -(g * _), 1045 p = -(h * c), 1046 k = this.getBoxCloneImgOld(n); 1047 k.css({ 1048 left: u + "px", 1049 top: f + "px", 1050 width: h, 1051 height: g 1052 }), 1053 k.find("img").css({left: p, top: m}), 1054 this.addBoxClone(k), 1055 k.show(); 1056 var b = 50 * i; 1057 b = i == r - 1 1058 ? 50 * r 1059 : b; 1060 var v = i == r - 1 1061 ? function () { 1062 t.finishAnimation() 1063 } 1064 : ""; 1065 k.delay(b).animate({ 1066 opacity: "hide" 1067 }, e, s, v), 1068 _ ++, 1069 _ == o && (_ = 0, c ++) 1070 } 1071 }, 1072 animationCubeJelly: function () { 1073 var t = this; 1074 this.settings.is_animating = !0; 1075 var s = "" == this.settings.easing_default 1076 ? "easeInBack" 1077 : this.settings.easing_default, 1078 e = 300 / this.settings.velocity, 1079 n = this 1080 .box_skitter
1081 .find(".image_main") 1082 .attr("src"); 1083 this.setActualLevel(), 1084 this.setLinkAtual(), 1085 this 1086 .box_skitter 1087 .find(".image_main") 1088 .attr({src: this.settings.image_atual}); 1089 var a = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)), 1090 o = Math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)), 1091 r = a * o, 1092 h = Math.ceil(this.settings.width_skitter / a), 1093 g = Math.ceil(this.settings.height_skitter / o), 1094 l = 0, 1095 d = 0, 1096 _ = 0, 1097 c = 0, 1098 f = -1; 1099 for (i = 0; i < r; i ++) { 1100 c % 2 != 0 1101 ? (0 == _ && (f = f + o + 1), f --) 1102 : (c > 0 && 0 == _ && (f += 2), f ++), 1103 l = i % 2 == 0 1104 ? l 1105 : - l, 1106 d = i % 2 == 0 1107 ? d 1108 : - d; 1109 var u = l + g * _, 1110 m = d + h * c, 1111 p = -(g * _), 1112 k = -(h * c), 1113 b = this.getBoxCloneImgOld(n); 1114 b.css({ 1115 left: m + "px", 1116 top: u + "px", 1117 width: h, 1118 height: g 1119 }), 1120 b.find("img").css({left: k, top: p}), 1121 this.addBoxClone(b), 1122 b.show(); 1123 var v = 50 * i, 1124 x = i == r - 1 1125 ? function () { 1126 t.finishAnimation() 1127 } 1128 : ""; 1129 b.delay(v).animate({ 1130 width: "+=100px", 1131 height: "+=100px", 1132 top: "-=20px", 1133 left: "-=20px", 1134 opacity: "hide" 1135 }, e, s, x), 1136 _ ++, 1137 _ == o && (_ = 0, c ++) 1138 } 1139 }, 1140 animationCubeSize: function () { 1141 var t = this; 1142 this.settings.is_animating = !0; 1143 var s = "" == this.settings.easing_default 1144 ? "easeInOutQuad" 1145 : this.settings.easing_default, 1146 e = 600 / this.settings.velocity, 1147 n = this 1148 .box_skitter 1149 .find(".image_main") 1150 .attr("src"); 1151 this.setActualLevel(), 1152 this.setLinkAtual(), 1153 this 1154 .box_skitter 1155 .find(".image_main") 1156 .attr({src: this.settings.image_atual}); 1157 { 1158 var a = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)), 1159 o = Math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)), 1160 r = a * o, 1161 h = Math.ceil(this.settings.width_skitter / a), 1162 g = Math.ceil(this.settings.height_skitter / o), 1163 l = 0, 1164 d = 0, 1165 _ = 0, 1166 c = 0; 1167 Math.ceil(this.settings.width_skitter / 6) 1168 } 1169 for (i = 0; i < r; i ++) { 1170 l = i % 2 == 0 1171 ? l 1172 : - l, 1173 d = i % 2 == 0 1174 ? d 1175 : - d; 1176 var f = l + g * _, 1177 u = d + h * c, 1178 m = -(g * _), 1179 p = -(h * c), 1180 k = this.getBoxCloneImgOld(n); 1181 k.css({left: u, top: f, width: h, height: g}), 1182 k.find("img").css({left: p, top: m}), 1183 this.addBoxClone(k), 1184 k.show(); 1185 var b = 50 * i, 1186 v = i == r - 1 1187 ? function () { 1188 t.finishAnimation() 1189 } 1190 : ""; 1191 k.delay(b).animate({ 1192 opacity: "hide", 1193 width: "hide", 1194 height: "hide", 1195 top: f + 1.5 *h, 1196 left: u + 1.5 *g 1197 }, e, s, v), 1198 _ ++, 1199 _ == o && (_ = 0, c ++) 1200 } 1201 }, 1202 animationHorizontal: function () { 1203 var t = this; 1204 this.settings.is_animating = !0; 1205 var s = "" == this.settings.easing_default 1206 ? "easeOutExpo" 1207 : this.settings.easing_default, 1208 e = 700 / this.settings.velocity; 1209 this.setActualLevel(); 1210 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 7)), 1211 a = this.settings.width_skitter, 1212 o = Math.ceil(this.settings.height_skitter / n); 1213 for (i = 0; i < n; i ++) { 1214 var r = (i % 2 == 0, "" + a), 1215 h = i * o, 1216 g = this.getBoxClone(); 1217 g.css({ 1218 left: r + "px", 1219 top: h + "px", 1220 width: a, 1221 height: o 1222 }), 1223 g.find("img").css({ 1224 left: 0, 1225 top: - h 1226 }), 1227 this.addBoxClone(g); 1228 var l = 90 * i, 1229 d = i == n - 1 1230 ? function () { 1231 t.finishAnimation() 1232 } 1233 : ""; 1234 g.delay(l).animate({ 1235 opacity: "show", 1236 top: h, 1237 left: 0 1238 }, e, s, d) 1239 } 1240 }, 1241 animationShowBars: function (s) { 1242 var e = this, 1243 s = t.extend({}, { 1244 random: !1 1245 }, s || {}); 1246 this.settings.is_animating = !0; 1247 var n = "" == this.settings.easing_default 1248 ? "easeOutQuad" 1249 : this.settings.easing_default, 1250 a = 400 / this.settings.velocity; 1251 this.setActualLevel(); 1252 var o = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)),
1253 r = Math.ceil(this.settings.width_skitter / o), 1254 h = this.settings.height_skitter; 1255 for (i = 0; i < o; i ++) { 1256 var g = r * i, 1257 l = 0, 1258 d = this.getBoxClone(); 1259 if (d.css({ 1260 left: g, 1261 top: l - 50, 1262 width: r, 1263 height: h 1264 }), d.find("img").css({ 1265 left: -(r * i), 1266 top: 0 1267 }), this.addBoxClone(d), s.random) { 1268 var _ = this.getRandom(o), 1269 c = 50 * _; 1270 c = i == o - 1 1271 ? 50 * o 1272 : c 1273 } else { 1274 var c = 70 * i; 1275 a -= 2 * i 1276 } 1277 var f = i == o - 1 1278 ? function () { 1279 e.finishAnimation() 1280 } 1281 : ""; 1282 d.delay(c).animate({ 1283 opacity: "show", 1284 top: l + "px", 1285 left: g + "px" 1286 }, a, n, f) 1287 } 1288 }, 1289 animationTube: function () { 1290 var t = this; 1291 this.settings.is_animating = !0; 1292 var s = "" == this.settings.easing_default 1293 ? "easeOutElastic" 1294 : this.settings.easing_default, 1295 e = 600 / this.settings.velocity; 1296 this.setActualLevel(); 1297 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)), 1298 a = Math.ceil(this.settings.width_skitter / n), 1299 o = this.settings.height_skitter; 1300 for (i = 0; i < n; i ++) { 1301 var r = 0, 1302 h = o, 1303 g = a * i, 1304 l = this.getBoxClone(); 1305 l.css({left: g, top: h, height: o, width: a}), 1306 l.find("img").css({ 1307 left: - g 1308 }), 1309 this.addBoxClone(l); 1310 var d = this.getRandom(n), 1311 _ = 30 * d, 1312 c = i == n - 1 1313 ? function () { 1314 t.finishAnimation() 1315 } 1316 : ""; 1317 l 1318 .show() 1319 .delay(_) 1320 .animate({ 1321 top: r 1322 }, e, s, c) 1323 } 1324 }, 1325 animationFade: function () { 1326 var t = this; 1327 this.settings.is_animating = !0; 1328 var s = "" == this.settings.easing_default 1329 ? "easeOutQuad" 1330 : this.settings.easing_default, 1331 e = 800 / this.settings.velocity; 1332 this.setActualLevel(); 1333 var n = this.settings.width_skitter, 1334 a = this.settings.height_skitter, 1335 o = 2; 1336 for (i = 0; i < o; i ++) { 1337 var r = 0, 1338 h = 0, 1339 g = this.getBoxClone(); 1340 g.css({left: h, top: r, width: n, height: a}), 1341 this.addBoxClone(g); 1342 var l = i == o - 1 1343 ? function () { 1344 t.finishAnimation() 1345 } 1346 : ""; 1347 g.animate({ 1348 opacity: "show", 1349 left: 0, 1350 top: 0 1351 }, e, s, l) 1352 } 1353 }, 1354 animationFadeFour: function () { 1355 var t = this; 1356 this.settings.is_animating = !0; 1357 var s = "" == this.settings.easing_default 1358 ? "easeOutQuad" 1359 : this.settings.easing_default, 1360 e = 500 / this.settings.velocity; 1361 this.setActualLevel(); 1362 var n = this.settings.width_skitter, 1363 a = this.settings.height_skitter, 1364 o = 4; 1365 for (i = 0; i < o; i ++) { 1366 if (0 == i) 1367 var r = "-100px", 1368 h = "-100px"; 1369 else if (1 == i) 1370 var r = "-100px", 1371 h = "100px"; 1372 else if (2 == i) 1373 var r = "100px", 1374 h = "-100px"; 1375 else if (3 == i) 1376 var r = "100px", 1377 h = "100px"; 1378 1379 var g = this.getBoxClone(); 1380 g.css({left: h, top: r, width: n, height: a}), 1381 this.addBoxClone(g); 1382 var l = i == o - 1 1383 ? function () { 1384 t.finishAnimation() 1385 } 1386 : ""; 1387 g.animate({ 1388 opacity: "show", 1389 left: 0, 1390 top: 0 1391 }, e, s, l) 1392 } 1393 }, 1394 animationParalell: function () { 1395 var t = this; 1396 this.settings.is_animating = !0; 1397 var s = "" == this.settings.easing_default 1398 ? "easeOutQuad" 1399 : this.settings.easing_default, 1400 e = 400 / this.settings.velocity; 1401 this.setActualLevel(); 1402 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 16)), 1403 a = Math.ceil(this.settings.width_skitter / n), 1404 o = this.settings.height_skitter; 1405 for (i = 0; i < n; i ++) { 1406 var r = a * i, 1407 h = 0, 1408 g = this.getBoxClone(); 1409 g.css({ 1410 left: r, 1411 top: h - this.settings.height_skitter, 1412 width: a, 1413 height: o 1414 }), 1415 g.find("img").css({ 1416 left: -(a * i), 1417 top: 0 1418 }), 1419 this.addBoxClone(g); 1420 var l; 1421 i <= n / 2 - 1 1422 ? l = 1400 - 200 * i 1423 : i > n / 2 - 1 && (l = 200 * (i - n / 2)), 1424 l /= 2.5; 1425 var d = i == n - 1 1426 ? function () { 1427 t.finishAnimation() 1428 } 1429 : ""; 1430 g.delay(l).animate({ 1431 top: h + "px", 1432 left: r + "px", 1433 opacity: "show" 1434 }, e, s, d) 1435 } 1436 }, 1437 animationBlind: function (s) { 1438 var e = this, 1439 s = t.extend({}, { 1440 height: !1 1441 }, s || {}); 1442 this.settings.is_animating = !0; 1443 var n = "" == this.settings.easing_default 1444 ? "easeOutQuad" 1445 : this.settings.easing_default, 1446 a = 400 / this.settings.velocity; 1447 this.setActualLevel(); 1448 var o = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 16)),
1449 r = Math.ceil(this.settings.width_skitter / o), 1450 h = this.settings.height_skitter; 1451 for (i = 0; i < o; i ++) { 1452 var g = r * i, 1453 l = 0, 1454 d = this.getBoxClone(); 1455 d.css({left: g, top: l, width: r, height: h}), 1456 d.find("img").css({ 1457 left: -(r * i), 1458 top: 0 1459 }), 1460 this.addBoxClone(d); 1461 var _; 1462 if (s.height) { 1463 i <= o / 2 - 1 1464 ? _ = 200 + 200 * i 1465 : i > o / 2 - 1 && (_ = 200 * (o / 2 - i) + 100 * o); 1466 var c = i == o / 2 1467 ? function () { 1468 e.finishAnimation() 1469 } 1470 : "" 1471 } else { 1472 i <= o / 2 - 1 1473 ? _ = 1400 - 200 * i 1474 : i > o / 2 - 1 && (_ = 200 * (i - o / 2)); 1475 var c = i == o - 1 1476 ? function () { 1477 e.finishAnimation() 1478 } 1479 : "" 1480 } 1481 if (_ /= 2.5, s.height) { 1482 a += 2 * i; 1483 var n = "easeOutQuad"; 1484 d.delay(_).animate({ 1485 opacity: "show", 1486 top: l + "px", 1487 left: g + "px", 1488 height: "show" 1489 }, a, n, c) 1490 } else 1491 d.delay(_).animate({ 1492 opacity: "show", 1493 top: l + "px", 1494 left: g + "px", 1495 width: "show" 1496 }, a, n, c) 1497 1498 } 1499 }, 1500 animationBlindDimension: function (s) { 1501 var e = this, 1502 s = t.extend({}, { 1503 height: !0, 1504 time_animate: 500, 1505 delay: 100 1506 }, s || {}); 1507 this.settings.is_animating = !0; 1508 var n = "" == this.settings.easing_default 1509 ? "easeOutQuad" 1510 : this.settings.easing_default, 1511 a = s.time_animate / this.settings.velocity; 1512 this.setActualLevel(); 1513 var o = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 16)), 1514 r = Math.ceil(this.settings.width_skitter / o), 1515 h = this.settings.height_skitter; 1516 for (i = 0; i < o; i ++) { 1517 var g = r * i, 1518 l = 0, 1519 d = this.getBoxClone(); 1520 d.css({left: g, top: l, width: r, height: h}), 1521 d.find("img").css({ 1522 left: -(r * i), 1523 top: 0 1524 }), 1525 this.addBoxClone(d); 1526 var _ = s.delay * i, 1527 c = i == o - 1 1528 ? function () { 1529 e.finishAnimation() 1530 } 1531 : ""; 1532 if (s.height) { 1533 var n = "easeOutQuad"; 1534 d.delay(_).animate({ 1535 opacity: "show", 1536 top: l + "px", 1537 left: g + "px", 1538 height: "show" 1539 }, a, n, c) 1540 } else 1541 d.delay(_).animate({ 1542 opacity: "show", 1543 top: l + "px", 1544 left: g + "px", 1545 width: "show" 1546 }, a, n, c) 1547 1548 } 1549 }, 1550 animationDirection: function (s) { 1551 var e = this, 1552 s = t.extend({}, { 1553 direction: "top", 1554 delay_type: "sequence", 1555 total: 7 1556 }, s || {}); 1557 this.settings.is_animating = !0; 1558 var n = "" == this.settings.easing_default 1559 ? "easeInOutExpo" 1560 : this.settings.easing_default, 1561 a = 1200 / this.settings.velocity, 1562 o = this 1563 .box_skitter
1564 .find(".image_main") 1565 .attr("src"); 1566 this.setActualLevel(), 1567 this.setLinkAtual(), 1568 this 1569 .box_skitter 1570 .find(".image_main") 1571 .attr({src: this.settings.image_atual}), 1572 this 1573 .box_skitter 1574 .find(".image_main") 1575 .hide(); 1576 var r = s.total; 1577 for (i = 0; i < r; i ++) { 1578 switch (s.direction) { 1579 default: 1580 case "top": 1581 var h = Math.ceil(this.settings.width_skitter / r), 1582 g = this.settings.height_skitter, 1583 l = 0, 1584 d = h * i, 1585 _ = - g, 1586 c = d, 1587 f = g, 1588 u = d, 1589 m = 0, 1590 p = d, 1591 k = 0, 1592 b = - d; 1593 break; 1594 case "bottom": 1595 var h = Math.ceil(this.settings.width_skitter / r), 1596 g = this.settings.height_skitter, 1597 l = 0, 1598 d = h * i, 1599 _ = g, 1600 c = d, 1601 f = - g, 1602 u = d, 1603 m = 0, 1604 p = d, 1605 k = 0, 1606 b = - d; 1607 break; 1608 case "right": 1609 var h = this.settings.width_skitter, 1610 g = Math.ceil(this.settings.height_skitter / r), 1611 l = g * i, 1612 d = 0, 1613 _ = l, 1614 c = h, 1615 f = l, 1616 u = - c, 1617 m = l, 1618 p = 0, 1619 k = - l, 1620 b = 0; 1621 break; 1622 case "left": 1623 var h = this.settings.width_skitter, 1624 g = Math.ceil(this.settings.height_skitter / r), 1625 l = g * i, 1626 d = 0, 1627 _ = l, 1628 c = - h, 1629 f = l, 1630 u = - c, 1631 m = l, 1632 p = 0, 1633 k = - l, 1634 b = 0 1635 } 1636 switch (s.delay_type) { 1637 case "zebra": 1638 default: 1639 var v = i % 2 == 0 1640 ? 0 1641 : 150; 1642 break; 1643 case "random": 1644 var v = 900 * Math.random(); 1645 break; 1646 case "sequence": 1647 var v = 100 * i 1648 } 1649 var x = this.getBoxCloneImgOld(o); 1650 x.find("img").css({left: b, top: k}), 1651 x.css({top: l, left: d, width: h, height: g}), 1652 this.addBoxClone(x), 1653 x.show(), 1654 x.delay(v).animate({ 1655 top: _, 1656 left: c 1657 }, a, n); 1658 var w = this.getBoxClone(); 1659 w.find("img").css({left: b, top: k}), 1660 w.css({top: f, left: u, width: h, height: g}), 1661 this.addBoxClone(w), 1662 w.show(); 1663 var y = i == r - 1 1664 ? function () { 1665 e.finishAnimation() 1666 } 1667 : ""; 1668 w.delay(v).animate({ 1669 top: m, 1670 left: p 1671 }, a, n, y) 1672 } 1673 }, 1674 animationCubeSpread: function () { 1675 var t = this; 1676 this.settings.is_animating = !0; 1677 var s = "" == this.settings.easing_default 1678 ? "easeOutQuad" 1679 : this.settings.easing_default, 1680 e = 700 / this.settings.velocity; 1681 this.setActualLevel(); 1682 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)), 1683 a = Math.ceil(this.settings.height_skitter / (this.settings.width_skitter / 8)), 1684 o = n * a,
1685 r = Math.ceil(this.settings.width_skitter / n), 1686 h = Math.ceil(this.settings.height_skitter / a), 1687 g = 0, 1688 l = 0, 1689 d = 0, 1690 _ = 0, 1691 c = new Array, 1692 f = new Array; 1693 for (i = 0; i < o; i ++) { 1694 g = i % 2 == 0 1695 ? g 1696 : - g, 1697 l = i % 2 == 0 1698 ? l 1699 : - l; 1700 var u = g + h * d, 1701 m = l + r * _; 1702 c[i] = [ 1703 u, m 1704 ], 1705 d++, 1706 d == a && (d = 0, _ ++) 1707 } 1708 for (d = 0, _ = 0, i = 0; i < o; i ++) 1709 f[i] = i; 1710 1711 var f = t.shuffleArray(f); 1712 for (i = 0; i < o; i ++) { 1713 g = i % 2 == 0 1714 ? g 1715 : - g, 1716 l = i % 2 == 0 1717 ? l 1718 : - l; 1719 var u = g + h * d, 1720 m = l + r * _, 1721 p = -(h * d), 1722 k = -(r * _), 1723 b = u, 1724 v = m; 1725 u = c[f[i]][0], 1726 m = c[f[i]][1]; 1727 var x = this.getBoxClone(); 1728 x.css({ 1729 left: m + "px", 1730 top: u + "px", 1731 width: r, 1732 height: h 1733 }), 1734 x.find("img").css({left: k, top: p}), 1735 this.addBoxClone(x); 1736 var w = 900 * Math.random(); 1737 i == o - 1 && (w = 900); 1738 var y = i == o - 1 1739 ? function () { 1740 t.finishAnimation() 1741 } 1742 : ""; 1743 x.delay(w).animate({ 1744 opacity: "show", 1745 top: b + "px", 1746 left: v + "px" 1747 }, e, s, y), 1748 d++, 1749 d == a && (d = 0, _ ++) 1750 } 1751 }, 1752 animationGlassCube: function () { 1753 var t = this; 1754 this.settings.is_animating = !0; 1755 var s = "" == this.settings.easing_default 1756 ? "easeOutExpo" 1757 : this.settings.easing_default, 1758 e = 500 / this.settings.velocity; 1759 this.setActualLevel(); 1760 var n = 2 * Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)), 1761 a = 2 * Math.ceil(this.settings.width_skitter / n), 1762 o = this.settings.height_skitter / 2, 1763 r = 0; 1764 for (i = 0; i < n; i ++) { 1765 mod = i % 2 == 0 1766 ? !0 1767 : !1; 1768 var h = a * r, 1769 g = mod 1770 ? - t.settings.height_skitter 1771 : t.settings.height_skitter, 1772 l = a * r, 1773 d = mod 1774 ? 0 1775 : o, 1776 _ = -(a * r), 1777 c = mod 1778 ? 0 1779 : - o, 1780 f = 120 * r, 1781 u = this.getBoxClone(); 1782 u.css({left: h, top: g, width: a, height: o}), 1783 u 1784 .find("img") 1785 .css({ 1786 left: _ + a / 1.5, 1787 top: c 1788 }) 1789 .delay(f) 1790 .animate({ 1791 left: _, 1792 top: c 1793 }, 1.9 * e, "easeOutQuad"), 1794 this.addBoxClone(u); 1795 var m = i == n - 1 1796 ? function () { 1797 t.finishAnimation() 1798 } 1799 : ""; 1800 u 1801 .show() 1802 .delay(f) 1803 .animate({ 1804 top: d, 1805 left: l 1806 }, e, s, m), 1807 i % 2 != 0 && r++ 1808 } 1809 }, 1810 animationGlassBlock: function () { 1811 var t = this; 1812 this.settings.is_animating = !0; 1813 var s = "" == this.settings.easing_default 1814 ? "easeOutExpo" 1815 : this.settings.easing_default, 1816 e = 700 / this.settings.velocity; 1817 this.setActualLevel(); 1818 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)), 1819 a = Math.ceil(this.settings.width_skitter / n), 1820 o = this.settings.height_skitter; 1821 for (i = 0; i < n; i ++) { 1822 var r = a * i, 1823 h = 0, 1824 g = a * i, 1825 l = 0, 1826 d = -(a * i), 1827 _ = 0, 1828 c = 100 * i, 1829 f = this.getBoxClone(); 1830 f.css({left: r, top: h, width: a, height: o}), 1831 f 1832 .find("img") 1833 .css({ 1834 left: d + a / 1.5, 1835 top: _ 1836 }) 1837 .delay(c) 1838 .animate({ 1839 left: d, 1840 top: _ 1841 }, 1.1 * e, "easeInOutQuad"), 1842 this.addBoxClone(f); 1843 var u = i == n - 1 1844 ? function () { 1845 t.finishAnimation() 1846 } 1847 : ""; 1848 f.delay(c).animate({ 1849 top: l, 1850 left: g, 1851 opacity: "show" 1852 }, e, s, u) 1853 } 1854 }, 1855 animationCircles: function () { 1856 var t = this; 1857 this.settings.is_animating = !0; 1858 var s = "" == this.settings.easing_default 1859 ? "easeInQuad" 1860 : this.settings.easing_default, 1861 e = 500 / this.settings.velocity; 1862 this.setActualLevel(); 1863 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)), 1864 a = 100, 1865 o = Math.sqrt(Math.pow(this.settings.width_skitter, 2) + Math.pow(this.settings.height_skitter, 2)), 1866 o = Math.ceil(o); 1867 for (i = 0; i < n; i ++) { 1868 var r = t.settings.width_skitter / 2 - a / 2, 1869 h = t.settings.height_skitter / 2 - a / 2, 1870 g = r, 1871 l = h, 1872 d = null;
1873 d = this.getBoxCloneBackground({ 1874 image: t.settings.image_atual, 1875 left: r, 1876 top: h, 1877 width: a, 1878 height: a, 1879 position: { 1880 top: - h, 1881 left: - r 1882 } 1883 }).css3({ 1884 "border-radius": o + "px" 1885 }), 1886 a += 100, 1887 this.addBoxClone(d); 1888 var _ = 70 * i, 1889 c = i == n - 1 1890 ? function () { 1891 t.finishAnimation() 1892 } 1893 : ""; 1894 d.delay(_).animate({ 1895 top: l, 1896 left: g, 1897 opacity: "show" 1898 }, e, s, c) 1899 } 1900 }, 1901 animationCirclesInside: function () { 1902 var t = this; 1903 this.settings.is_animating = !0; 1904 var s = "" == this.settings.easing_default 1905 ? "easeInQuad" 1906 : this.settings.easing_default, 1907 e = 500 / this.settings.velocity, 1908 n = this 1909 .box_skitter 1910 .find(".image_main") 1911 .attr("src"); 1912 this.setActualLevel(), 1913 this.setLinkAtual(), 1914 this 1915 .box_skitter 1916 .find(".image_main") 1917 .attr({src: this.settings.image_atual}); 1918 var a = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)), 1919 o = Math.sqrt(Math.pow(this.settings.width_skitter, 2) + Math.pow(this.settings.height_skitter, 2)), 1920 o = Math.ceil(o), 1921 r = o; 1922 for (i = 0; i < a; i ++) { 1923 var h = t.settings.width_skitter / 2 - r / 2, 1924 g = t.settings.height_skitter / 2 - r / 2, 1925 l = h, 1926 d = g, 1927 _ = null; 1928 _ = this.getBoxCloneBackground({ 1929 image: n, 1930 left: h, 1931 top: g, 1932 width: r, 1933 height: r, 1934 position: { 1935 top: - g, 1936 left: - h 1937 } 1938 }).css3({ 1939 "border-radius": o + "px" 1940 }), 1941 r -= 100, 1942 this.addBoxClone(_), 1943 _.show(); 1944 var c = 70 * i, 1945 f = i == a - 1 1946 ? function () { 1947 t.finishAnimation() 1948 } 1949 : ""; 1950 _.delay(c).animate({ 1951 top: d, 1952 left: l, 1953 opacity: "hide" 1954 }, e, s, f) 1955 } 1956 }, 1957 animationCirclesRotate: function () { 1958 var t = this; 1959 this.settings.is_animating = !0; 1960 var s = "" == this.settings.easing_default 1961 ? "easeOutQuad" 1962 : this.settings.easing_default, 1963 e = 500 / this.settings.velocity, 1964 n = this 1965 .box_skitter 1966 .find(".image_main") 1967 .attr("src"); 1968 this.setActualLevel(), 1969 this.setLinkAtual(), 1970 this 1971 .box_skitter 1972 .find(".image_main") 1973 .attr({src: this.settings.image_atual}); 1974 var a = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)), 1975 o = Math.sqrt(Math.pow(this.settings.width_skitter, 2) + Math.pow(this.settings.height_skitter, 2)), 1976 o = Math.ceil(o), 1977 r = o; 1978 for (i = 0; i < a; i ++) { 1979 var h = t.settings.width_skitter / 2 - r / 2, 1980 g = t.settings.height_skitter / 2 - r / 2, 1981 l = h, 1982 d = g, 1983 _ = null; 1984 _ = this.getBoxCloneImgOld(n), 1985 _.css({left: h, top: g, width: r, height: r}).css3({ 1986 "border-radius": o + "px" 1987 }), 1988 _.find("img").css({ 1989 left: - h, 1990 top: - g 1991 }), 1992 r -= 100, 1993 this.addBoxClone(_), 1994 _.show(); 1995 var c = 100 * i, 1996 f = i == a - 1 1997 ? function () { 1998 t.finishAnimation() 1999 } 2000 : "", 2001 u = i % 2 == 0 2002 ? "20deg" 2003 : "-20deg"; 2004 _.delay(c).animate({ 2005 top: d, 2006 left: l, 2007 opacity: "hide", 2008 rotate: u 2009 }, e, s, f) 2010 } 2011 }, 2012 animationCubeShow: function () { 2013 var t = this; 2014 this.settings.is_animating = !0; 2015 var s = "" == this.settings.easing_default 2016 ? "easeOutQuad" 2017 : this.settings.easing_default, 2018 e = 400 / this.settings.velocity; 2019 this.setActualLevel(); 2020 var n = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)), 2021 a = Math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 4)), 2022 o = n * a,
2023 r = Math.ceil(this.settings.width_skitter / n), 2024 h = Math.ceil(this.settings.height_skitter / a), 2025 g = 0, 2026 l = 0, 2027 d = 0, 2028 _ = 0; 2029 for (i = 0; i < o; i ++) { 2030 g = h * d, 2031 l = r * _; 2032 var c = 30 * i, 2033 f = this.getBoxClone(); 2034 f.css({left: l, top: g, width: r, height: h}).hide(), 2035 f.find("img").css({ 2036 left: - l, 2037 top: - g 2038 }), 2039 this.addBoxClone(f); 2040 var u = i == o - 1 2041 ? function () { 2042 t.finishAnimation() 2043 } 2044 : ""; 2045 f.delay(c).animate({ 2046 width: "show", 2047 height: "show" 2048 }, e, s, u), 2049 d++, 2050 d == a && (d = 0, _ ++) 2051 } 2052 }, 2053 animationDirectionBars: function (s) { 2054 var e = this, 2055 s = t.extend({}, { 2056 direction: "top" 2057 }, s || {}); 2058 this.settings.is_animating = !0; 2059 var n = "" == this.settings.easing_default 2060 ? "easeInOutQuad" 2061 : this.settings.easing_default, 2062 a = 400 / this.settings.velocity, 2063 o = this 2064 .box_skitter 2065 .find(".image_main") 2066 .attr("src"); 2067 this.setActualLevel(), 2068 this.setLinkAtual(), 2069 this 2070 .box_skitter 2071 .find(".image_main") 2072 .attr({src: this.settings.image_atual}); 2073 var r = 12, 2074 h = Math.ceil(this.settings.width_skitter / r), 2075 g = this.settings.height_skitter, 2076 l = "top" == s.direction 2077 ? - g 2078 : g; 2079 for (i = 0; i < r; i ++) { 2080 var d = 0, 2081 _ = h * i, 2082 c = 0, 2083 f = -(h * i), 2084 u = this.getBoxCloneImgOld(o); 2085 u.css({ 2086 left: _ + "px", 2087 top: d + "px", 2088 width: h, 2089 height: g 2090 }), 2091 u.find("img").css({left: f, top: c}), 2092 this.addBoxClone(u), 2093 u.show(); 2094 var m = 70 * i, 2095 p = i == r - 1 2096 ? function () { 2097 e.finishAnimation() 2098 } 2099 : ""; 2100 u.delay(m).animate({ 2101 top: l 2102 }, a, n, p) 2103 } 2104 }, 2105 animationHideBars: function (s) { 2106 var e = this, 2107 s = t.extend({}, { 2108 random: !1 2109 }, s || {}); 2110 this.settings.is_animating = !0; 2111 var n = "" == this.settings.easing_default 2112 ? "easeOutCirc" 2113 : this.settings.easing_default, 2114 a = 700 / this.settings.velocity, 2115 o = this 2116 .box_skitter 2117 .find(".image_main") 2118 .attr("src"); 2119 this.setActualLevel(), 2120 this.setLinkAtual(), 2121 this 2122 .box_skitter 2123 .find(".image_main") 2124 .attr({src: this.settings.image_atual});
2125 var r = Math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)), 2126 h = r, 2127 g = Math.ceil(this.settings.width_skitter / r), 2128 l = this.settings.height_skitter; 2129 for (i = 0; i < h; i ++) { 2130 var d = 0, 2131 _ = g * i, 2132 c = 0, 2133 f = -(g * i), 2134 u = "+=" + g, 2135 m = this.getBoxCloneImgOld(o); 2136 m.css({left: 0, top: 0, width: g, height: l}), 2137 m.find("img").css({left: f, top: c}); 2138 var p = this.getBoxCloneImgOld(o); 2139 p.css({ 2140 left: _ + "px", 2141 top: d + "px", 2142 width: g, 2143 height: l 2144 }), 2145 p.html(m), 2146 this.addBoxClone(p), 2147 m.show(), 2148 p.show(); 2149 var k = 50 * i, 2150 b = i == h - 1 2151 ? function () { 2152 e.finishAnimation() 2153 } 2154 : ""; 2155 m.delay(k).animate({ 2156 left: u 2157 }, a, n, b) 2158 } 2159 }, 2160 animationSwapBars: function (s) { 2161 var e = this, 2162 s = t.extend({}, { 2163 direction: "top", 2164 delay_type: "sequence", 2165 total: 7, 2166 easing: "easeOutCirc" 2167 }, s || {}); 2168 this.settings.is_animating = !0; 2169 var n = "" == this.settings.easing_default 2170 ? s.easing 2171 : this.settings.easing_default, 2172 a = 500 / this.settings.velocity, 2173 o = this 2174 .box_skitter 2175 .find(".image_main") 2176 .attr("src"); 2177 this.setActualLevel(), 2178 this.setLinkAtual(), 2179 this 2180 .box_skitter 2181 .find(".image_main") 2182 .attr({src: this.settings.image_atual}), 2183 this 2184 .box_skitter 2185 .find(".image_main") 2186 .hide(); 2187 var r = s.total; 2188 for (i = 0; i < r; i ++) { 2189 var h = Math.ceil(this.settings.width_skitter / r), 2190 g = this.settings.height_skitter, 2191 l = h * i, 2192 d = - l; 2193 switch (s.delay_type) { 2194 case "zebra": 2195 default: 2196 var _ = i % 2 == 0 2197 ? 0 2198 : 150; 2199 break; 2200 case "random": 2201 var _ = 900 * Math.random(); 2202 break; 2203 case "sequence": 2204 var _ = 100 * i 2205 } 2206 var c = this.getBoxCloneImgOld(o); 2207 c.find("img").css({left: d, top: 0}), 2208 c.css({top: 0, left: 0, width: h, height: g}); 2209 var f = this.getBoxClone(); 2210 f.find("img").css({left: d, top: 0}), 2211 f.css({ 2212 top: 0, 2213 left: - h, 2214 width: h, 2215 height: g 2216 }); 2217 var u = this.getBoxClone(); 2218 u 2219 .html("") 2220 .append(c) 2221 .append(f), 2222 u.css({top: 0, left: l, width: h, height: g}), 2223 this.addBoxClone(u), 2224 u.show(), 2225 c.show(), 2226 f.show(); 2227 var m = i == r - 1 2228 ? function () { 2229 e.finishAnimation() 2230 } 2231 : ""; 2232 c.delay(_).animate({ 2233 left: h 2234 }, a, n), 2235 f.delay(_).animate({ 2236 left: 0 2237 }, a, n, m) 2238 } 2239 }, 2240 animationSwapBlocks: function (i) { 2241 var s = this, 2242 i = t.extend({}, { 2243 easing_old: "easeInOutQuad", 2244 easing_new: "easeOutQuad" 2245 }, i || {}); 2246 this.settings.is_animating = !0; 2247 var e = "" == this.settings.easing_default 2248 ? i.easing_old 2249 : this.settings.easing_default, 2250 n = "" == this.settings.easing_default 2251 ? i.easing_new 2252 : this.settings.easing_default, 2253 a = 800 / this.settings.velocity, 2254 o = this 2255 .box_skitter
2256 .find(".image_main") 2257 .attr("src"); 2258 this.setActualLevel(), 2259 this.setLinkAtual(), 2260 this 2261 .box_skitter 2262 .find(".image_main") 2263 .attr({src: this.settings.image_atual}), 2264 this 2265 .box_skitter 2266 .find(".image_main") 2267 .hide(); 2268 var r = 2, 2269 h = this.settings.width_skitter, 2270 g = Math.ceil(this.settings.height_skitter / r), 2271 l = this.getBoxCloneImgOld(o), 2272 d = this.getBoxCloneImgOld(o); 2273 l.find("img").css({left: 0, top: 0}), 2274 l.css({top: 0, left: 0, width: h, height: g}), 2275 d.find("img").css({ 2276 left: 0, 2277 top: - g 2278 }), 2279 d.css({top: g, left: 0, width: h, height: g}); 2280 var _ = this.getBoxClone(), 2281 c = this.getBoxClone(); 2282 _.find("img").css({left: 0, top: g}), 2283 _.css({top: 0, left: 0, width: h, height: g}), 2284 c.find("img").css({ 2285 left: 0, 2286 top: -(g * r) 2287 }), 2288 c.css({top: g, left: 0, width: h, height: g}), 2289 this.addBoxClone(_), 2290 this.addBoxClone(c), 2291 this.addBoxClone(l), 2292 this.addBoxClone(d), 2293 l.show(), 2294 d.show(), 2295 _.show(), 2296 c.show(); 2297 var f = function () { 2298 s.finishAnimation() 2299 }; 2300 l.find("img").animate({ 2301 top: g 2302 }, a, e, function () { 2303 l.remove() 2304 }), 2305 d.find("img").animate({ 2306 top: -(g * r) 2307 }, a, e, function () { 2308 d.remove() 2309 }), 2310 _.find("img").animate({ 2311 top: 0 2312 }, a, n), 2313 c.find("img").animate({ 2314 top: - g 2315 }, a, n, f) 2316 }, 2317 animationCut: function (i) { 2318 var s = this, 2319 i = t.extend({}, { 2320 easing_old: "easeInOutExpo", 2321 easing_new: "easeInOutExpo" 2322 }, i || {}); 2323 this.settings.is_animating = !0; 2324 var e = "" == this.settings.easing_default 2325 ? i.easing_old 2326 : this.settings.easing_default, 2327 n = "" == this.settings.easing_default 2328 ? i.easing_new 2329 : this.settings.easing_default, 2330 a = 900 / this.settings.velocity, 2331 o = this 2332 .box_skitter 2333 .find(".image_main") 2334 .attr("src"); 2335 this.setActualLevel(), 2336 this.setLinkAtual(), 2337 this 2338 .box_skitter 2339 .find(".image_main") 2340 .attr({src: this.settings.image_atual}), 2341 this 2342 .box_skitter 2343 .find(".image_main") 2344 .hide(); 2345 var r = 2, 2346 h = this.settings.width_skitter, 2347 g = Math.ceil(this.settings.height_skitter / r), 2348 l = this.getBoxCloneImgOld(o), 2349 d = this.getBoxCloneImgOld(o); 2350 l.find("img").css({left: 0, top: 0}), 2351 l.css({top: 0, left: 0, width: h, height: g}), 2352 d.find("img").css({ 2353 left: 0, 2354 top: - g 2355 }), 2356 d.css({top: g, left: 0, width: h, height: g}); 2357 var _ = this.getBoxClone(), 2358 c = this.getBoxClone(); 2359 _.find("img").css({left: 0, top: 0}), 2360 _.css({top: 0, left: h, width: h, height: g}), 2361 c.find("img").css({ 2362 left: 0, 2363 top: - g 2364 }), 2365 c.css({ 2366 top: g, 2367 left: - h, 2368 width: h, 2369 height: g 2370 }), 2371 this.addBoxClone(_), 2372 this.addBoxClone(c), 2373 this.addBoxClone(l), 2374 this.addBoxClone(d), 2375 l.show(), 2376 d.show(), 2377 _.show(), 2378 c.show(); 2379 var f = function () { 2380 s.finishAnimation() 2381 }; 2382 l.animate({ 2383 left: - h 2384 }, a, e, function () { 2385 l.remove() 2386 }), 2387 d.animate({ 2388 left: h 2389 }, a, e, function () { 2390 d.remove() 2391 }), 2392 _.animate({ 2393 left: 0 2394 }, a, n), 2395 c.animate({ 2396 left: 0 2397 }, a, n, f) 2398 }, 2399 finishAnimation: function () { 2400 var t = this; 2401 this 2402 .box_skitter
2403 .find(".image_main") 2404 .show(), 2405 this.showBoxText(), 2406 this.settings.is_animating = !1, 2407 this 2408 .box_skitter 2409 .find(".image_main") 2410 .attr({src: this.settings.image_atual}), 2411 this 2412 .box_skitter 2413 .find(".image a") 2414 .attr({href: this.settings.link_atual}), 2415 this.settings.is_hover_box_skitter || this.settings.is_paused || this.settings.is_blur || (this.timer = setTimeout(function () { 2416 t.completeMove() 2417 }, this.settings.interval)), 2418 t.startTime() 2419 }, 2420 completeMove: function () { 2421 this.clearTimer(!0), 2422 this 2423 .box_skitter 2424 .find(".box_clone") 2425 .remove(), 2426 this.settings.is_paused || this.settings.is_blur || this.nextImage() 2427 }, 2428 setActualLevel: function () { 2429 t.isFunction(this.settings.imageSwitched) && this.settings.imageSwitched(this.settings.image_i, this), 2430 this.setImageLink(), 2431 this.addClassNumber(), 2432 this.hideBoxText(), 2433 this.increasingImage() 2434 }, 2435 setImageLink: function () { 2436 var t = this.settings.images_links[this.settings.image_i][0], 2437 i = this.settings.images_links[this.settings.image_i][1], 2438 s = this.settings.images_links[this.settings.image_i][3], 2439 e = this.settings.images_links[this.settings.image_i][4]; 2440 this.settings.image_atual = t, 2441 this.settings.link_atual = i, 2442 this.settings.label_atual = s, 2443 this.settings.target_atual = e 2444 }, 2445 addClassNumber: function () { 2446 var i = this; 2447 this 2448 .box_skitter 2449 .find(".image_number_select") 2450 .removeClass("image_number_select"), 2451 t("#image_n_" + ( 2452 this.settings.image_i + 1 2453 ) + "_" + i.number_skitter).addClass("image_number_select") 2454 }, 2455 increasingImage: function () { 2456 this.settings.image_i ++, 2457 this.settings.image_i == this 2458 .settings 2459 .images_links 2460 .length && (this.settings.image_i = 0) 2461 }, 2462 getBoxClone: function () { 2463 if ("#" != this.settings.link_atual) { 2464 var i = t('<a href="' + this.settings.link_atual + '"><img src="' + this.settings.image_atual + '" /></a>'); 2465 i.attr({target: this.settings.target_atual}) 2466 } else 2467 var i = t('<img src="' + this.settings.image_atual + '" />'); 2468 i = this.resizeImage(i); 2469 var s = t('<div class="box_clone"></div>'); 2470 return s.append(i), 2471 s 2472 }, 2473 getBoxCloneImgOld: function (i) { 2474 if ("#" != this.settings.link_atual) { 2475 var s = t('<a href="' + this.settings.link_atual + '"><img src="' + i + '" /></a>'); 2476 s.attr({target: this.settings.target_atual}) 2477 } else 2478 var s = t('<img src="' + i + '" />'); 2479 s = this.resizeImage(s); 2480 var e = t('<div class="box_clone"></div>'); 2481 return e.append(s), 2482 e 2483 }, 2484 resizeImage: function (t) { 2485 return this.settings.fullscreen && t.find("img").height(this.settings.height_skitter), 2486 t 2487 }, 2488 addBoxClone: function (t) { 2489 this 2490 .box_skitter 2491 .find(".container_skitter") 2492 .append(t) 2493 }, 2494 getEasing: function (t) { 2495 var i = [ 2496 "easeInQuad", 2497 "easeOutQuad", 2498 "easeInOutQuad", 2499 "easeInCubic", 2500 "easeOutCubic", 2501 "easeInOutCubic", 2502 "easeInQuart", 2503 "easeOutQuart", 2504 "easeInOutQuart", 2505 "easeInQuint", 2506 "easeOutQuint", 2507 "easeInOutQuint", 2508 "easeInSine", 2509 "easeOutSine", 2510 "easeInOutSine", 2511 "easeInExpo", 2512 "easeOutExpo", 2513 "easeInOutExpo", 2514 "easeInCirc", 2515 "easeOutCirc", 2516 "easeInOutCirc", 2517 "easeInElastic", 2518 "easeOutElastic", 2519 "easeInOutElastic", 2520 "easeInBack", 2521 "easeOutBack", 2522 "easeInOutBack", 2523 "easeInBounce", 2524 "easeOutBounce", 2525 "easeInOutBounce" 2526 ]; 2527 return jQuery.inArray(t, i) > 0 2528 ? t 2529 : "" 2530 }, 2531 getRandom: function (t) { 2532 return Math.floor(Math.random() * t) 2533 }, 2534 setValueBoxText: function () { 2535 this 2536 .box_skitter 2537 .find(".label_skitter") 2538 .html(this.settings.label_atual) 2539 }, 2540 showBoxText: function () { 2541 var t = this; 2542 if (void 0 != this.settings.label_atual && "" != this.settings.label_atual && t.settings.label) 2543 switch (t.settings.labelAnimation) { 2544 case "slideUp": 2545 default: t 2546 .box_skitter 2547 .find(".label_skitter") 2548 .slideDown(400); 2549 break;
2550 case "left": 2551 case "right": t 2552 .box_skitter 2553 .find(".label_skitter") 2554 .animate({ 2555 left: 0 2556 }, 400, "easeInOutQuad"); 2557 break; 2558 case "fixed": 2559 } 2560 2561 }, 2562 hideBoxText: function () { 2563 var t = this; 2564 switch (t.settings.labelAnimation) { 2565 case "slideUp": 2566 default: 2567 this 2568 .box_skitter 2569 .find(".label_skitter") 2570 .slideUp(200, function () { 2571 t.setValueBoxText() 2572 }); 2573 break; 2574 case "left": 2575 case "right": 2576 var i = "left" == t.settings.labelAnimation 2577 ? - t 2578 .box_skitter 2579 .find(".label_skitter") 2580 .width() 2581 : t 2582 .box_skitter 2583 .find(".label_skitter") 2584 .width(); 2585 t 2586 .box_skitter 2587 .find(".label_skitter") 2588 .animate({ 2589 left: i 2590 }, 400, "easeInOutQuad", function () { 2591 t.setValueBoxText() 2592 }); 2593 break; 2594 case "fixed": t.setValueBoxText() 2595 } 2596 }, 2597 stopOnMouseOver: function () { 2598 var t = this; 2599 t.settings.stop_over 2600 ? t.box_skitter.hover(function () { 2601 t.settings.stop_over && (t.settings.is_hover_box_skitter =! 0), 2602 t.settings.is_paused_time || t.pauseTime(), 2603 t.setHideTools("hover"), 2604 t.clearTimer(!0) 2605 }, function () { 2606 t.settings.stop_over && (t.settings.is_hover_box_skitter =! 1), 2607 0 != t.settings.elapsedTime || t.settings.is_animating || t.settings.is_paused 2608 ? t.settings.is_paused || t.resumeTime() 2609 : t.startTime(), 2610 t.setHideTools("out"), 2611 t.clearTimer(!0), 2612 ! t.settings.is_animating && t 2613 .settings 2614 .images_links 2615 .length > 1 && (t.timer = setTimeout(function () { 2616 t.completeMove() 2617 }, t.settings.interval - t.settings.elapsedTime), t 2618 .box_skitter 2619 .find(".image_main") 2620 .attr({src: t.settings.image_atual}), t 2621 .box_skitter 2622 .find(".image a") 2623 .attr({href: t.settings.link_atual})) 2624 }) 2625 : t.box_skitter.hover(function () { 2626 t.setHideTools("hover") 2627 }, function () { 2628 t.setHideTools("out") 2629 }) 2630 }, 2631 setHideTools: function (t) { 2632 var i = this, 2633 s = i.settings.opacity_elements, 2634 e = i.settings.interval_in_elements, 2635 n = i.settings.interval_out_elements; 2636 "hover" == t 2637 ? (i.settings.hideTools && (i.settings.numbers && i 2638 .box_skitter 2639 .find(".info_slide") 2640 .show() 2641 .css({opacity: 0}) 2642 .animate({ 2643 opacity: s 2644 }, e), i.settings.navigation && i 2645 .box_skitter 2646 .find(".prev_button, .next_button") 2647 .show() 2648 .css({opacity: 0}) 2649 .animate({ 2650 opacity: s 2651 }, e), i.settings.focus && ! i.settings.foucs_active && i 2652 .box_skitter 2653 .find(".focus_button") 2654 .stop() 2655 .show() 2656 .css({opacity: 0}) 2657 .animate({ 2658 opacity: s 2659 }, e), i.settings.controls && i 2660 .box_skitter 2661 .find(".play_pause_button") 2662 .stop() 2663 .show() 2664 .css({opacity: 0}) 2665 .animate({ 2666 opacity: s 2667 }, e)), ! i.settings.focus || i.settings.foucs_active || i.settings.hideTools || i 2668 .box_skitter 2669 .find(".focus_button") 2670 .stop() 2671 .animate({ 2672 opacity: 1 2673 }, e), i.settings.controls && ! i.settings.hideTools && i 2674 .box_skitter 2675 .find(".play_pause_button") 2676 .stop() 2677 .animate({ 2678 opacity: 1 2679 }, e)) 2680 : (i.settings.hideTools && (i.settings.numbers && i 2681 .box_skitter
2682 .find(".info_slide") 2683 .queue("fx", []) 2684 .show() 2685 .css({opacity: s}) 2686 .animate({ 2687 opacity: 0 2688 }, n), i.settings.navigation && i 2689 .box_skitter 2690 .find(".prev_button, .next_button") 2691 .queue("fx", []) 2692 .show() 2693 .css({opacity: s}) 2694 .animate({ 2695 opacity: 0 2696 }, n), i.settings.focus && ! i.settings.foucs_active && i 2697 .box_skitter 2698 .find(".focus_button") 2699 .stop() 2700 .css({opacity: s}) 2701 .animate({ 2702 opacity: 0 2703 }, n), i.settings.controls && i 2704 .box_skitter 2705 .find(".play_pause_button") 2706 .stop() 2707 .css({opacity: s}) 2708 .animate({ 2709 opacity: 0 2710 }, n)), ! i.settings.focus || i.settings.foucs_active || i.settings.hideTools || i 2711 .box_skitter 2712 .find(".focus_button") 2713 .stop() 2714 .animate({ 2715 opacity: .3 2716 }, n), i.settings.controls && ! i.settings.hideTools && i 2717 .box_skitter 2718 .find(".play_pause_button") 2719 .stop() 2720 .animate({ 2721 opacity: .3 2722 }, n)) 2723 }, 2724 clearTimer: function () { 2725 var t = this; 2726 clearInterval(t.timer) 2727 }, 2728 setLinkAtual: function () { 2729 "#" != this.settings.link_atual && "" != this.settings.link_atual 2730 ? this 2731 .box_skitter 2732 .find(".image a") 2733 .attr({href: this.settings.link_atual, target: this.settings.target_atual}) 2734 : this 2735 .box_skitter 2736 .find(".image a") 2737 .removeAttr("href") 2738 }, 2739 hideTools: function () { 2740 this 2741 .box_skitter 2742 .find(".info_slide") 2743 .fadeTo(0, 0), 2744 this 2745 .box_skitter 2746 .find(".prev_button") 2747 .fadeTo(0, 0), 2748 this 2749 .box_skitter 2750 .find(".next_button") 2751 .fadeTo(0, 0), 2752 this 2753 .box_skitter 2754 .find(".focus_button") 2755 .fadeTo(0, 0), 2756 this 2757 .box_skitter 2758 .find(".play_pause_button") 2759 .fadeTo(0, 0) 2760 }, 2761 focusSkitter: function () { 2762 var i = this, 2763 s = t('<a href="#" class="focus_button">focus</a>'); 2764 i.box_skitter.append(s); 2765 var e = (i.settings.width_skitter - s.width()) / 2, 2766 n = 0; 2767 i.settings.controls && (e -= 25), 2768 i.settings.controls_position == i.settings.focus_position && (n = s.width() + 5); 2769 var a = { 2770 left: e 2771 }; 2772 switch (i.settings.focus_position) { 2773 case "leftTop": a = { 2774 left: 5 + n, 2775 top: 30 2776 }; 2777 break; 2778 case "rightTop": a = { 2779 right: 5 + n, 2780 top: 30 2781 }; 2782 break; 2783 case "leftBottom": a = { 2784 left: 5 + n, 2785 bottom: 5, 2786 top: "auto" 2787 }; 2788 break; 2789 case "rightBottom": a = { 2790 right: 5 + n, 2791 bottom: 5, 2792 top: "auto" 2793 } 2794 } 2795 s.css(a).animate({ 2796 opacity: .3 2797 }, i.settings.interval_in_elements), 2798 t(document).keypress(function (i) { 2799 var s = i.keyCode 2800 ? i.keyCode 2801 : i.which; 2802 27 == s && t("#overlay_skitter").trigger("click") 2803 }); 2804 var o = t(".box_skitter").offset().top, 2805 e = t(".box_skitter").offset().left; 2806 i 2807 .box_skitter 2808 .find(".focus_button") 2809 .click(function () { 2810 if (i.settings.foucs_active) 2811 return !1; 2812 2813 i.settings.foucs_active = !0, 2814 t(this).stop().animate({ 2815 opacity: 0 2816 }, i.settings.interval_out_elements); 2817 var s = t('<div id="overlay_skitter"></div>') 2818 .height(t(document).height()) 2819 .hide() 2820 .fadeTo(i.settings.interval_in_elements, .98), 2821 n = (t(window).height() - t(".box_skitter").height()) / 2 + t(document).scrollTop(), 2822 a = (t(window).width() - t(".box_skitter").width()) / 2; 2823 return i.box_skitter.before('<div id="mark_position"></div>'), 2824 t("body").prepend(s), 2825 t("body").prepend(i.box_skitter), 2826 i 2827 .box_skitter 2828 .css({top: o, left: e, position: "absolute", "z-index": 9999}) 2829 .animate({ 2830 top: n, 2831 left: a 2832 }, 2e3, "easeOutExpo"), 2833 t("#mark_position") 2834 .width(t(".box_skitter").width()) 2835 .height(t(".box_skitter").height()) 2836 .css({background: "none"}) 2837 .fadeTo(300, .3), 2838 !1 2839 }), 2840 t(document).on("click", "#overlay_skitter", function () { 2841 return t(this).hasClass("finish_overlay_skitter") 2842 ? !1 2843 : (i.settings.foucs_active =! 1, t(this).addClass("finish_overlay_skitter"), i.settings.hideTools || i 2844 .box_skitter 2845 .find(".focus_button") 2846 .animate({ 2847 opacity: .3 2848 }, 200), i 2849 .box_skitter 2850 .stop() 2851 .animate({ 2852 top: o, 2853 left: e 2854 }, 200, "easeOutExpo", function () { 2855 t("#mark_position").before(i.box_skitter), 2856 t(this).css({position: "relative", top: 0, left: 0}), 2857 t("#mark_position").remove() 2858 }), t("#overlay_skitter").fadeTo(i.settings.interval_out_elements, 0, function () { 2859 t(this).remove() 2860 }), !1) 2861 }) 2862 }, 2863 setControls: function () { 2864 var i = this, 2865 s = t('<a href="#" class="play_pause_button">pause</a>'); 2866 i.box_skitter.append(s); 2867 var e = (i.settings.width_skitter - s.width()) / 2; 2868 i.settings.focus && (e += 25); 2869 var n = { 2870 left: e 2871 }; 2872 switch (i.settings.controls_position) { 2873 case "leftTop": n = { 2874 left: 5, 2875 top: 30 2876 }; 2877 break; 2878 case "rightTop": n = { 2879 right: 5, 2880 top: 30 2881 }; 2882 break; 2883 case "leftBottom": n = { 2884 left: 5, 2885 bottom: 5, 2886 top: "auto" 2887 }; 2888 break; 2889 case "rightBottom": n = { 2890 right: 5, 2891 bottom: 5, 2892 top: "auto" 2893 } 2894 } 2895 s.css(n).animate({ 2896 opacity: .3 2897 }, i.settings.interval_in_elements), 2898 s.click(function () { 2899 return i.settings.is_paused 2900 ? ( 2901 i.settings.is_animating || i 2902 .box_skitter 2903 .find(".progressbar") 2904 .is(":visible") 2905 ? i.resumeTime() 2906 : i.settings.elapsedTime = 0, 2907 i.settings.progressbar || i.resumeTime(), 2908 i.settings.is_paused =! 1, 2909 t(this).html("pause"), 2910 t(this).fadeTo(100, .5).fadeTo(100, 1), 2911 t(this).removeClass("play_button"), 2912 i.settings.stop_over || (i.clearTimer(!0), ! i.settings.is_animating && i 2913 .settings 2914 .images_links 2915 .length > 1 && (i.timer = setTimeout(function () { 2916 i.completeMove() 2917 }, i.settings.interval - i.settings.elapsedTime), i 2918 .box_skitter
2919 .find(".image_main") 2920 .attr({src: i.settings.image_atual}), i 2921 .box_skitter 2922 .find(".image a") 2923 .attr({href: i.settings.link_atual}))) 2924 ) 2925 : (t(this).html("play"), t(this).fadeTo(100, .5).fadeTo(100, 1), t(this).addClass("play_button"), i.pauseTime(), i.settings.is_paused =! 0, i.clearTimer(!0)), 2926 !1 2927 }) 2928 }, 2929 objectSize: function (t) { 2930 var i, 2931 s = 0; 2932 for (i in t) 2933 t.hasOwnProperty(i) && s++; 2934 2935 return s 2936 }, 2937 addProgressBar: function () { 2938 var i = this, 2939 s = t('<div class="progressbar"></div>'); 2940 i.box_skitter.append(s), 2941 0 == i.objectSize(i.settings.progressbar_css) && ( 2942 parseInt(s.css("width")) > 0 2943 ? i 2944 .settings 2945 .progressbar_css 2946 .width = parseInt(s.css("width")) 2947 : i.settings.progressbar_css = 2948 { width: i.settings.width_skitter, 2949 height: 5 2950 } 2951 ), 2952 i.objectSize(i.settings.progressbar_css) > 0 && void 0 == i 2953 .settings 2954 .progressbar_css 2955 .width && (i 2956 .settings 2957 .progressbar_css 2958 .width = i.settings.width_skitter), 2959 s.css(i.settings.progressbar_css).hide() 2960 }, 2961 startProgressBar: function () { 2962 var t = this; 2963 return t.settings.is_hover_box_skitter || t.settings.is_paused || t.settings.is_blur || ! t.settings.progressbar 2964 ? !1 2965 : void t 2966 .box_skitter 2967 .find(".progressbar") 2968 .hide() 2969 .dequeue() 2970 .width(t 2971 .settings 2972 .progressbar_css 2973 .width) 2974 .animate({ 2975 width: "show" 2976 }, t.settings.interval, "linear") 2977 }, 2978 pauseProgressBar: function () { 2979 var t = this; 2980 t.settings.is_animating || t 2981 .box_skitter 2982 .find(".progressbar") 2983 .stop() 2984 }, 2985 resumeProgressBar: function () { 2986 var t = this; 2987 return t.settings.is_hover_box_skitter || t.settings.is_paused || ! t.settings.progressbar 2988 ? !1 2989 : void t 2990 .box_skitter 2991 .find(".progressbar") 2992 .dequeue() 2993 .animate({ 2994 width: t 2995 .settings 2996 .progressbar_css 2997 .width 2998 }, t.settings.interval - t.settings.elapsedTime, "linear") 2999 }, 3000 hideProgressBar: function () { 3001 var i = this; 3002 return i.settings.progressbar 3003 ? void i 3004 .box_skitter 3005 .find(".progressbar") 3006 .stop() 3007 .fadeOut(300, function () { 3008 t(this).width(i 3009 .settings 3010 .progressbar_css 3011 .width) 3012 }) 3013 : !1 3014 }, 3015 startTime: function () { 3016 var t = this; 3017 t.settings.is_paused_time = !1; 3018 var i = new Date; 3019 t.settings.elapsedTime = 0, 3020 t.settings.timeStart = i.getTime(), 3021 t.startProgressBar() 3022 }, 3023 pauseTime: function () { 3024 var t = this; 3025 if (t.settings.is_paused_time) 3026 return !1; 3027 3028 t.settings.is_paused_time = !0; 3029 var i = new Date; 3030 t.settings.elapsedTime += i.getTime() - t.settings.timeStart, 3031 t.pauseProgressBar() 3032 }, 3033 resumeTime: function () { 3034 var t = this; 3035 t.settings.is_paused_time = !1; 3036 var i = new Date; 3037 t.settings.timeStart = i.getTime(), 3038 t.resumeProgressBar() 3039 }, 3040 enableNavigationKeys: function () { 3041 var i = this; 3042 t(window).keydown(function (t) { 3043 39 == t.keyCode || 40 == t.keyCode 3044 ? i 3045 .box_skitter 3046 .find(".next_button") 3047 .trigger("click") 3048 : (37 == t.keyCode || 38 == t.keyCode) && i 3049 .box_skitter 3050 .find(".prev_button") 3051 .trigger("click") 3052 }) 3053 },
3054 getBoxCloneBackground: function (i) { 3055 var s = t('<div class="box_clone"></div>'); 3056 return s.css({ 3057 left: i.left, 3058 top: i.top, 3059 width: i.width, 3060 height: i.height, 3061 "background-image": "url(" + i.image + ")", 3062 "background-position": i.position.left + "px " + i.position.top + "px" 3063 }), 3064 s 3065 }, 3066 shuffleArray: function (t) { 3067 for (var i, s = this, e = new Array; t.length > 0;) 3068 i = s.randomUnique(0, t.length - 1), 3069 e[e.length] = t[i], 3070 t.splice(i, 1); 3071 3072 return e 3073 }, 3074 randomUnique: function (t, i) { 3075 var s; 3076 do 3077 s = Math.random(); 3078 while (1 == s); 3079 return s * (i - t + 1) + t | 0 3080 }, 3081 windowFocusOut: function () { 3082 var i = this; 3083 t(window).bind("blur", function () { 3084 i.settings.is_blur = !0, 3085 i.pauseTime(), 3086 i.clearTimer(!0) 3087 }), 3088 t(window).bind("focus", function () { 3089 i 3090 .settings 3091 .images_links 3092 .length > 1 && ( 3093 i.settings.is_blur =! 1, 3094 0 == i.settings.elapsedTime 3095 ? i.startTime() 3096 : i.resumeTime(), 3097 i.settings.elapsedTime <= i.settings.interval && (i.clearTimer(!0), i.timer = setTimeout(function () { 3098 i.completeMove() 3099 }, i.settings.interval - i.settings.elapsedTime), i 3100 .box_skitter 3101 .find(".image_main") 3102 .attr({src: i.settings.image_atual}), i 3103 .box_skitter 3104 .find(".image a") 3105 .attr({href: i.settings.link_atual})) 3106 ) 3107 }) 3108 } 3109 }), 3110 t.fn.css3 = function (t) { 3111 var i = {}, 3112 s = ["moz", "ms", "o", "webkit"]; 3113 for (var e in t) { 3114 for (var n = 0; n < s.length; n++) 3115 i["-" + s[n] + "-" + e] = t[e]; 3116 3117 i[e] = t[e] 3118 } 3119 return this.css(i), 3120 this 3121 }; 3122 var r = "deg"; 3123 t.fn.rotate = function (i) { 3124 var s = t(this).css("transform") || "none"; 3125 if ("undefined" == typeof i) { 3126 if (s) { 3127 var e = s.match(/rotate\(([^)]+)\)/); 3128 if (e && e[1]) 3129 return e[1] 3130 3131 } 3132 return 0 3133 } 3134 var e = i.toString().match(/^(-?\d+(\.\d+)?)(.+)?$/); 3135 return e && (e[3] && (r = e[3]), t(this).css("transform", s.replace(/none|rotate\([^)]*\)/, "") + "rotate(" + e[1] + r + ")")), 3136 this 3137 }, 3138 t.fn.scale = function (i) { 3139 var s = t(this).css("transform"); 3140 if ("undefined" == typeof i) { 3141 if (s) { 3142 var e = s.match(/scale\(([^)]+)\)/); 3143 if (e && e[1]) 3144 return e[1] 3145 3146 } 3147 return 1 3148 } 3149 return t(this).css("transform", s.replace(/none|scale\([^)]*\)/, "") + "scale(" + i + ")"), 3150 this 3151 }; 3152 var h = t 3153 .fx 3154 .prototype 3155 .cur; 3156 t 3157 .fx 3158 .prototype 3159 .cur = function () { 3160 return "rotate" == this.prop 3161 ? parseFloat(t(this.elem).rotate()) 3162 : "scale" == this.prop 3163 ? parseFloat(t(this.elem).scale()) 3164 : h.apply(this, arguments) 3165 }, 3166 t 3167 .fx 3168 .step 3169 .rotate = function (i) { 3170 t(i.elem).rotate(i.now + r) 3171 }, 3172 t 3173 .fx 3174 .step 3175 .scale = function (i) { 3176 t(i.elem).scale(i.now) 3177 }; 3178 var g = t.fn.animate; 3179 t.fn.animate = function (t) { 3180 if ("undefined" != typeof t.rotate) { 3181 var i = t 3182 .rotate 3183 .toString() 3184 .match(/^(([+-]=)?(-?\d+(\.\d+)?))(.+)?$/); 3185 i && i[5] && (r = i[5]), 3186 t.rotate = i[1] 3187 } 3188 return g.apply(this, arguments) 3189 }; 3190 var l = null, 3191 d = t.fn.css; 3192 t.fn.css = function (i, e) { 3193 if (null === l && ( 3194 l = "undefined" != typeof t.cssProps 3195 ? t.cssProps 3196 : "undefined" != typeof t.props 3197 ? t.props 3198 : {} 3199 ), "undefined" == typeof l.transform && ("transform" == i || "object" == typeof i && "undefined" != typeof i.transform) && (l.transform = s(this.get(0))), "transform" != l.transform) 3200 if ("transform" == i) { 3201 if (i = l.transform, "undefined" == typeof e && jQuery.style) 3202 return jQuery.style(this.get(0), i) 3203 } 3204 else 3205 "object" == typeof i && "undefined" != typeof i.transform && (i[l.transform] = i.transform, delete i.transform); 3206 3207 3208 return d.apply(this, arguments) 3209 } 3210}(jQuery);
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.