Oa&&(r-=A));Fa(r)!==Fa(yb)&&ed(b)}}function mb(a,b){if(Ab){if(Zc)return;cb()}if(!b){a=kb(a);for(var c=Qb(a);c!==la&&0>[Y,Z].indexOf(c);)c=c.parentNode;c=[Y,Z].indexOf(c);if(0=90-Dc?b=»horizontal»:c=a)r=ib;else if(a>=ha[P-1])r=Oa;else for(var c=0;c =ha[c];)r=c,a>ha[c]&&0>d&&(r+=1),c++;ed(b,d);oa.emit(Fb(b)? «touchEnd»:»dragEnd»,ua(b))}):jb&&mb(b,0Ta&&(a=Ta,b=Mb,c=N);for(;aa.container.children.length)Ud&&console.warn(«No slides found in»,a.container);else{var ba=a.responsive,Vb=a.nested,w=»carousel»===a.mode?!0:!1;if(ba){0 in ba&&(a=V(a,ba[0]),delete ba[0]);var Bd={},Cd;for(Cd in ba){var Fc=ba[Cd];Fc=»number»===typeof Fc?{items:Fc}:Fc;Bd[Cd]=Fc}ba=Bd;Bd=null}w||E(a);if(!w){a.axis=»horizontal»;a.slideBy=»page»; a.edgePadding=!1;var xb=a.animateIn,Yc=a.animateOut,xd=a.animateDelay,hb=a.animateNormal}var O=»horizontal»===a.axis?!0:!1,Ca=ca.createElement(«div»),wa=ca.createElement(«div»),xa,v=a.container,ld=v.parentNode,Wd=v.outerHTML,L=v.children,A=L.length,zc,Sc=bb.innerWidth||ca.documentElement.clientWidth||ca.body.clientWidth,yc=!1;ba&&u();w&&(v.className+=» tns-vpfix»);var C=a.autoWidth,x=y(«fixedWidth»),da=y(«edgePadding»),J=y(«gutter»),na=ab(),ta=y(«center»),F=C?1:Math.floor(y(«items»)),Yb=y(«slideBy»), kd=a.viewportMax||a.fixedWidthViewportWidth,rb=y(«arrowKeys»),Qa=y(«speed»),Cc=a.rewind,ra=Cc?!1:a.loop,Da=y(«autoHeight»),fb=y(«controls»),vb=y(«controlsText»),gb=y(«nav»),pb=y(«touch»),qb=y(«mouseDrag»),va=y(«autoplay»),td=y(«autoplayTimeout»),ub=y(«autoplayText»),sb=y(«autoplayHoverPause»),tb=y(«autoplayResetOnVisibility»),U=g(),Uc=a.lazyload,ha,bc=[],qa=ra?$a():0,P=w?A+2*qa:A+qa,Rd=!x&&!C||ra?!1:!0,Wb=x?fd():null,yd=w&&ra?!1:!0,Jb=O?»left»:»top»,zb=»»,ac=»»,oc=function(){return x?function(){return ta&& !ra?A-1:Math.ceil(-Wb/(x+J))}:C?function(){for(var a=P;a—;)if(ha[a]>=-Wb)return a}:function(){return ta&&w&&!ra?A-1:ra||w?Math.max(0,P-Math.ceil(F)):P-1}}(),r=Ka(y(«startIndex»)),yb=r;Ea();var ib=0,Oa=C?null:oc(),Zc=a.preventActionWhenRunning,Dc=a.swipeAngle,jb=Dc?»?»:!0,Ab=!1,sd=a.onInit,oa=new Ic,wb=» tns-slider tns-«+a.mode,fa=v.id||dd(),Ga=y(«disable»),Ac=!1,Vc=a.freezable,Ua=Vc&&!C?Aa():!1,Bc=!1,uc={click:mb,keydown:function(a){a=kb(a);var b=[37,39].indexOf(a.keyCode);0″,» animation»],$c,Ha,bd,Zb,cd;if(Xd||Yd)var Kb={},Xa={},ad,Lb=!1,Va,zd=O?function(a,b){return a.x-b.x}:function(a,b){return a.y-b.y};C||p(Ga||Ua);lc&&(Jb=lc,zb=»translate»,de?(zb+=O?»3d(«:»3d(0px, «,ac=O?», 0px, 0px)»:», 0px)»):(zb+=O?»X(«:»Y(«,ac= «)»));w&&(v.className=v.className.replace(«tns-vpfix»,»»));(function(){var b=»tns-outer tns-axis-«+a.axis;db(«gutter»);Ca.className=b;wa.className=»tns-inner»;Ca.id=fa+»-ow»;wa.id=fa+»-iw»;»»===v.id&&(v.id=fa);wb+=Od||C?» tns-subpixel»:» tns-no-subpixel»;wb+=Gb?» tns-calc»:» tns-no-calc»;C&&(wb+=» tns-autowidth»);wb+=» tns-«+a.axis;v.className+=wb;w?(xa=ca.createElement(«div»),xa.id=fa+»-mw»,xa.className=»tns-ovh»,Ca.appendChild(xa),xa.appendChild(wa)):Ca.appendChild(wa);Da&&((xa?xa:wa).className+= »…