1(function(t){"use strict";t.fn.cinfinito=function(e){let n={animtype:"fade",animduration:450,animspeed:4e3,automatic:!1,showcontrols:!0,centercontrols:!0,nexttext:"siguiente",prevtext:"anterior",centermarkers:!0,keyboardnav:!1,randomstart:!1,responsive:!1},i=t.extend({},n,e),l=this,r=l.find("ul.cil"),a=r.width(),o=r.children("li"),u=o.width(),c=t(".cil").children().length,s=u*c+4.8*(c-1)-15,d=a/(u+4),f=Math.abs(c-d),h=Math.ceil(f),g=null,x=null,m=null,p={carouselcount:o.length,animating:!1,paused:!0,currentcarousel:1,nextcarousel:0,currentindex:0,nextindex:0,interval:null},v={width:null,height:null,ratio:null},w={fwd:"forward",prev:"previous"},b={lastindex:null},C={$status:null},M=function(){let t=l.width();t||(t=a);let e=u+4;if(!e||e<=0)return 1;let n=Math.floor(t/e);return(!n||n<1)&&(n=1),n},$=function(){if(C.$status&&C.$status.length)return C.$status;let e=l.find(".ci-live-region[aria-live]");return e.length?(C.$status=e.first(),C.$status):(C.$status=t('<div class="sr-only ci-live-region" aria-live="polite" aria-atomic="true"></div>'),l.append(C.$status),C.$status)},y=function(t){if(!t)return;let e=$();e&&e.length&&(e.text(""),window.setTimeout(function(){e.text(t)},30))},k=function(t,e){if(!t||!t.length)return;let n=t.find("button").first();e?n.length&&(n.attr("aria-disabled","true"),n.attr("disabled","disabled")):n.length&&(n.removeAttr("aria-disabled"),n.removeAttr("disabled"))},B=function(){s>r.width()?t(".carrusel-infinito-controls").removeClass("element-oculto"):t(".carrusel-infinito-controls").addClass("element-oculto")},R=function(){i.responsive?_():j()},q=function(){if(p.carouselcount>3)return i.randomstart&&D(),i.showcontrols&&z(),i.keyboardnav&&conf_keynav(),void("carousel"===i.animtype&&conf_carousel());i.automatic=!1},T=function(){"carousel"!==i.animtype||i.randomstart||(p.currentindex=1,p.currentcarousel=2)},A=function(){i.automatic&&(p.interval=setInterval(function(){H(w.fwd,!1)},i.animspeed))},I=function(){B(),o.addClass("ci-carrusel"),N(),R(),q(),T(),A()},N=function(){let e=function(t,e){if(!(t&&t.length&&l.length&&r.length))return;let n=8,i=l.get(0),a=t.get(0);if(!i||!a||!a.getBoundingClientRect)return;let u=i.getBoundingClientRect(),c=a.getBoundingClientRect(),s=0;if(c.left<u.left+n?s=u.left+n-c.left:c.right>u.right-n&&(s=u.right-n-c.right),0===s)return;let d=parseFloat(r.css("left"));isNaN(d)&&(d=0);let f=0;if(o.length){let t=o.last().get(0);if(t&&t.getBoundingClientRect){let e=t.getBoundingClientRect(),i=u.right-n-e.right;f=Math.min(0,d+i)}}e===w.fwd&&s<0&&(s-=2),e===w.prev&&s>0&&(s+=2);let h=d+s;h=Math.min(0,Math.max(f,h)),r.stop(!0,!1).animate({left:h+"px"},120);let g=l.next().find(".ci-prev");g.length&&k(g,h>=-1)};l.on("focusin","ul.cil a",function(n){let i=t(n.target).closest("a"),l=i.closest("li");if(!l.length)return;let r=o.index(l),a=null;null!==b.lastindex&&-1!==r&&(a=r<b.lastindex?w.prev:w.fwd),b.lastindex=r,e(l,a)})},_=function(){v.width=l.outerWidth(),v.ratio=v.width/i.width,v.height=i.height*v.ratio},j=function(){o.css({height:i.height,width:i.width}),$carouselr.css({height:i.height,width:i.width}),l.css({height:i.height,width:i.width,position:"relative"})};t(window).resize(function(){s>r.width()?t(".carrusel-infinito-controls").removeClass("element-oculto"):(t(".carrusel-infinito-controls").addClass("element-oculto"),r.animate({left:"0"}))});let z=function(){let e=l.attr("id")||"";g=t('<ul class="ci-controls" role="group" aria-label="Controles del carrusel"></ul>'),x=t('<li class="ci-next"><button class="btn btn-sm" aria-label="Siguiente" data-direction="'+w.fwd+'" role="button"'+(e?' aria-controls="'+e+'"':"")+"><span></span></button></li>"),m=t('<li class="ci-prev"><button class="btn btn-sm" aria-label="Anterior" data-direction="'+w.prev+'" role="button"'+(e?' aria-controls="'+e+'"':"")+"><span></span></button></li>");let n=1;k(m,!0);let a=function(t){let e=M(),i=n,l=Math.min(c,n+e-1),r=t?"Volviendo al inicio. ":"",a=r+"Mostrando enlaces "+i+" a "+l+" de "+c+".";y(a)},o=function(){n>h?(n=1,k(m,!0),r.animate({left:"0"},function(){a(!0)})):(n+=1,r.animate({left:"-="+(u+4)},function(){k(m,!1),a(!1)}))},s=function(){r.animate({right:"0"}),n>1&&(n-=1,r.animate({left:"+="+(u+4)},function(){k(m,1===n),a(!1)})),1===n&&k(m,!0)};if(g.on("click","button",function(e){let n=t(this).attr("data-direction");p.animating||(n===w.fwd&&o(),n===w.prev&&s()),e.preventDefault()}),m.appendTo(g),x.appendTo(g),g.appendTo(l.next()),i.centercontrols){g.addClass("v-centered");const t=(l.height()-x.children("a").outerHeight())/2,e=t/i.height*100,n=e+"%";x.find("a").css("top",n),m.find("a").css("top",n)}},D=function(){let t=Math.floor(Math.random()*p.carouselcount)+1;p.currentcarousel=t,p.currentindex=t-1},F=function(t){t===w.fwd?o.eq(p.currentindex).next().length?(p.nextindex=
1p.currentindex+1,p.nextcarousel=p.currentcarousel+1):(p.nextindex=0,p.nextcarousel=1):o.eq(p.currentindex).prev().length?(p.nextindex=p.currentindex-1,p.nextcarousel=p.currentcarousel-1):(p.nextindex=p.carouselcount-1,p.nextcarousel=p.carouselcount)},H=function(t,e){p.animating||(p.animating=!0,e?p.nextcarousel=e:F(t),"fade"===i.animtype&&(o.eq(p.currentindex),o.eq(p.nextindex).fadeIn(i.animduration,function(){p.animating=!1,p.currentcarousel=p.nextcarousel,p.currentindex=null})))};I()}})(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.