PageSourceSearch

https://jigsy.com/assets/vendor/jquery_plugins/jquery.cycle.lite-4c3c59b63497f5fffe81dbdba4ce5c9d.js

js jigsy.com collected 2026-09-24 08:43:44 UTC 4,302 bytes, 11 lines download raw bytes

1/*!
2 * jQuery Cycle Lite Plugin
3 * http://malsup.com/jquery/cycle/lite/
4 * Copyright (c) 2008-2012 M. Alsup
5 * Version: 1.7 (20-FEB-2013)
6 * Dual licensed under the MIT and GPL licenses:
7 * http://www.opensource.org/licenses/mit-license.php
8 * http://www.gnu.org/licenses/gpl.html
9 * Requires: jQuery v1.3.2 or later
10 */
11!function(r){"use strict";function d(t,i,e,n){function c(e){e.timeout&&(s.cycleTimeout=setTimeout(function(){d(t,e,0,!e.rev)},e.timeout))}if(!i.busy){var s=t[0].parentNode,o=t[i.currSlide],l=t[i.nextSlide];if(0!==s.cycleTimeout||e)if(e||!s.cyclePause){i.before.length&&r.each(i.before,function(e,t){t.apply(l,[o,l,i,n])});var a=function(){f&&this.style.removeAttribute("filter"),r.each(i.after,function(e,t){t.apply(l,[o,l,i,n])}),c(i)};i.nextSlide!=i.currSlide&&(i.busy=1,r.fn.cycle.custom(o,l,i,a));var u=i.nextSlide+1==t.length;i.nextSlide=u?0:i.nextSlide+1,i.currSlide=u?t.length-1:i.nextSlide-1}else c(i)}}function h(e,t,i){var n=e[0].parentNode,c=n.cycleTimeout;return c&&(clearTimeout(c),n.cycleTimeout=0),t.nextSlide=t.currSlide+i,t.nextSlide<0?t.nextSlide=e.length-1:t.nextSlide>=e.length&&(t.nextSlide=0),d(e,t,1,0<=i),!1}var e="Lite-1.7",f=/MSIE/.test(navigator.userAgent);r.fn.cycle=function(u){return this.each(function(){u=u||{},this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=0,this.cyclePause=0;var e=r(this),t=u.slideExpr?r(u.slideExpr,this):e.children(),i=t.get();if(i.length<2)window.console&&console.log("terminating; too few slides: "+i.length);else{var n=r.extend({},r.fn.cycle.defaults,u||{},r.metadata?e.metadata():r.meta?e.data():{}),c=r.isFunction(e.data)?e.data(n.metaAttr):null;c&&(n=r.extend(n,c)),n.before=n.before?[n.before]:[],n.after=n.after?[n.after]:[],n.after.unshift(function(){n.busy=0});var s=this.className;n.width=parseInt((s.match(/w:(\d+)/)||[])[1],10)||n.width,n.height=parseInt((s.match(/h:(\d+)/)||[])[1],10)||n.height,n.timeout=parseInt((s.match(/t:(\d+)/)||[])[1],10)||n.timeout,"static"==e.css("position")&&e.css("position","relative"),n.width&&e.width(n.width),n.height&&"auto"!=n.height&&e.height(n.height);var o=0;t.css({position:"absolute",top:0}).each(function(e){r(this).css("z-index",i.length-e)}),r(i[o]).css("opacity",1).show(),f&&i[o].style.removeAttribute("filter"),n.fit&&n.width&&t.width(n.width),n.fit&&n.height&&"auto"!=n.height&&t.height(n.height),n.pause&&e.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});var l=r.fn.cycle.transitions[n.fx];if(l&&l(e,t,n),t.each(function(){var e=r(this);this.cycleH=n.fit&&n.height?n.height:e.height(),this.cycleW=n.fit&&n.width?n.width:e.width()}),n.cssFirst&&r(t[o]).css(n.cssFirst),n.timeout)for(n.speed.constructor==String&&(n.speed={slow:600,fast:200}[n.speed]||400),n.sync||(n.speed=n.speed/2);n.timeout-n.speed<250;)n.timeout+=n.speed;n.speedIn=n.speed,n.speedOut=n.speed,n.slideCount=i.length,n.currSlide=o,n.nextSlide=1;var a=t[o];n.before.length&&n.before[0].apply(a,[a,a,n,!0]),1<n.after.length&&n.after[1].apply(a,[a,a,n,!0]),n.click&&!n.next&&(n.next=n.click),n.next&&r(n.next).unbind("click.cycle").bind("click.cycle",function(){return h(i,n,n.rev?-1:1)}),n.prev&&r(n.prev).unbind("click.cycle").bind("click.cycle",function(){return h(i,n,n.rev?1:-1)}),n.timeout&&(this.cycleTimeout=setTimeout(function(){d(i,n,0,!n.rev)},n.timeout+(n.delay||0)))}})},r.fn.cycle.custom=function(e,t,i,n){var c=r(e),s=r(t);s.css(i.cssBefore);var o=function(){s.animate(i.animIn,i.speedIn,i.easeIn,n)};c.animate(i.animOut,i.speedOut,i.easeOut,function(){c.css(i.cssAfter),i.sync||o()}),i.sync&&o()},r.fn.cycle.transitions={fade:function(e,t,i){t.not(":eq(0)").hide(),i.cssBefore={opacity:0,display:"block"},i.cssAfter={display:"none"},i.animOut={opacity:0}
11,i.animIn={opacity:1}},fadeout:function(e,t,i){i.before.push(function(e,t,i,n){r(e).css("zIndex",i.slideCount+(!0===n?1:0)),r(t).css("zIndex",i.slideCount+(!0===n?0:1))}),t.not(":eq(0)").hide(),i.cssBefore={opacity:1,display:"block",zIndex:1},i.cssAfter={display:"none",zIndex:0},i.animOut={opacity:0},i.animIn={opacity:1}}},r.fn.cycle.ver=function(){return e},r.fn.cycle.defaults={animIn:{},animOut:{},fx:"fade",after:null,before:null,cssBefore:{},cssAfter:{},delay:0,fit:0,height:"auto",metaAttr:"cycle",next:null,pause:!1,prev:null,speed:1e3,slideExpr:null,sync:!0,timeout:4e3}}(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.