PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
themes
/
deep
/
assets
/
dist
/
js
/
libraries
!function(R){lcl_objs=[],lcl_is_active=lcl_shown=!1,lcl_slideshow=void 0,lcl_on_mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent),lcl_hashless_url=lcl_deeplink_tracked=lcl_curr_vars=lcl_curr_opts=lcl_curr_obj=!1,lcl_url_hash="",lc_lightbox=function(t,l){if("string"!=typeof t&&("object"!=typeof t||!t.length))return!1;var c=!1;if(R.each(lcl_objs,function(l,e){if(JSON.stringify(e)==JSON.stringify(t))return c=e,!1}),!1!==c)return c;var e=new n(t,l);return lcl_objs.push(e),e},lcl_destroy=function(l){-1!==(l=R.inArray(l,lcl_objs))&&lcl_objs.splice(l,1)};var n=function(_,l){var e=R.extend({gallery:!0,gallery_hook:"rel",live_elements:!0,preload_all:!1,global_type:"image",src_attr:"href",title_attr:"title",txt_attr:"data-lcl-txt",author_attr:"data-lcl-author",slideshow:!0,open_close_time:400,ol_time_diff:100,fading_time:80,animation_time:250,slideshow_time:6e3,autoplay:!1,counter:!1,progressbar:!0,carousel:!0,max_width:"93%",max_height:"93%",wrap_padding:!1,ol_opacity:.7,ol_color:"#111",ol_pattern:!1,border_w:0,border_col:"#ddd",padding:0,radius:0,shadow:!0,remove_scrollbar:!0,wrap_class:"",skin:"light",data_position:"over",cmd_position:"inner",ins_close_pos:"normal",nav_btn_pos:"normal",txt_hidden:500,show_title:!0,show_descr:!0,show_author:!0,thumbs_nav:!0,tn_icons:!0,tn_hidden:500,thumbs_w:110,thumbs_h:110,thumb_attr:!1,thumbs_maker_url:!1,fullscreen:!1,fs_img_behavior:"fit",fs_only:500,browser_fs_mode:!0,socials:!1,fb_direct_share:!1,txt_toggle_cmd:!0,download:!1,touchswipe:!0,mousewheel:!0,modal:!1,rclick_prevent:!1,elems_parsed:function(){},html_is_ready:function(){},on_open:function(){},on_elem_switch:function(){},slideshow_start:function(){},slideshow_end:function(){},on_fs_enter:function(){},on_fs_exit:function(){},on_close:function(){}},l),t={elems:[],is_arr_instance:"string"!=typeof _&&void 0===_[0].childNodes,elems_count:"string"!=typeof _&&void 0===_[0].childNodes?_.length:R(_).length,elems_selector:"string"==typeof _&&_,elem_index:!1,gallery_hook_val:!1,preload_all_used:!1,img_sizes_cache:[],inner_cmd_w:!1,txt_exists:!1,txt_und_sizes:!1,force_fullscreen:!1,html_style:"",body_style:""};"string"==typeof _&&(_=R(_));var u=R.data(_,"lcl_settings",e),m=R.data(_,"lcl_vars",t),r=function(l){if("string"!=typeof l)return l;for(var e=0,t=0,c=l.toString().length;t<c;)e=(e<<5)-e+l.charCodeAt(t++)<<0;return e<0?-1*e:e},i=function(l){return l?(l=l.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),R.trim(l)):l},s=function(l,e){var t=u[e];return-1!==t.indexOf("> ")?l.find(t.replace("> ","")).length?R.trim(l.find(t.replace("> ","")).html()):"":void 0!==l.attr(t)?i(l.attr(t)):""},d=function(l){var _=u,i=[];return l.each(function(){var t,c,l=R(this),e=l.attr(_.src_attr),n=r(e);if(m.gallery_hook_val&&l.attr(_.gallery_hook)!=m.gallery_hook_val)return!0;if(t=n,c=!1,R.each(m.elems,function(l,e){if(e.hash==t)return c=e,!1}),!(n=c)){n=e;var o=l.data("lcl-type");"unknown"!=(o=void 0===o?u.global_type:(n=n.toLowerCase(),/^https?:\/\/(?:[a-z\-]+\.)+[a-z]{2,6}(?:\/[^\/#?]+)+\.(?:jpe?g|gif|png)$/.test(n)?"image":"unknown"))?(n={src:e,type:o,hash:!!_.deeplink&&r(e),title:_.show_title?s(l,"title_attr"):"",txt:_.show_descr?s(l,"txt_attr"):"",author:_.show_author?s(l,"author_attr"):"",thumb:_.thumb_attr&&void 0!==_.thumb_attr?l.attr(_.thumb_attr):"",width:"image"!=o&&void 0!==l.data("lcl-w")&&l.data("lcl-w"),height:"image"!=o&&void 0!==l.data("lcl-h")&&l.data("lcl-h"),force_over_data:void 0!==l.data("lcl-force-over-data")?parseInt(l.data("lcl-force-over-data"),10):"",force_outer_cmd:void 0!==l.data("lcl-outer-cmd")?l.data("lcl-outer-cmd"):""}).download="image"==o&&(void 0!==l.data("lcl-path")?l.data("lcl-path"):e):n={src:e,type:o,hash:!!_.deeplink&&r(e)}}i.push(n)}),i.length<2&&R(".lcl_prev, .lcl_next, #lcl_thumb_nav").remove(),!!i.length&&(m.elems=i,!0)},o=function(){if(m.elems.length<2||!u.gallery)return!1;0<m.elem_index&&h(!1,m.elem_index-1),m.elem_index!=m.elems.length-1&&h(!1,m.elem_index+1)},h=function(l,e,t){var c=m;if(void 0===e&&(e=c.elem_index),void 0===e)return!1;var n="image"==c.elems[e].type?"image"==c.elems[e].type?c.elems[e].src:c.elems[e].poster:"";n&&void 0===c.img_sizes_cache[n]?R("<img/>").bind("load",function(){c.img_sizes_cache[n]={w:this.width,h:this.height},l&&e==c.elem_index&&v()}).attr("src",n):((l||void 0!==t)&&R("#lcl_loader").addClass("no_loader"),l&&v())},p=function(l,e){var n=R.data(l,"lcl_settings"),t=R.data(l,"lcl_vars");if(t.is_arr_instance){var o=[];R.each(l,function(l,e){var t={},c=!(void 0!==e.type||!n.global_type)&&n.global_type;void 0!==e.type&&(c=e.type),c&&-1!==R.inArray(c,["image"])?void 0!==e.src&&e.src&&(t.src=e.src,t.type=c,t.hash=r(e.src),t.title=void 0===e.title?"":i(e.title),t.txt=void 0===e.txt?"":i(e.txt),t.author=void 0===e.author?"":i(e.author),t.width=void 0!==e.width&&e.width,t.height=void 0!==e.height&&e.height,t.force_over_data=void 0!==e.force_over_data&&parseInt(e.force_over_data,10),t.force_outer_cmd=void 0!==e.force_outer_cmd&&e.force_outer_cmd,t.thumb=void 0!==e.thumb&&e.thumb,t.download="image"==c&&(void 0!==e.download?e.download:e.src),o.push(t)):(t={src:t.src,type:"unknown",hash:!!n.deeplink&&r(t.src)},o.push(t))}),t.elems=o}else{var c=l;if(n.live_elements&&t.elems_selector&&(c=e&&n.gallery&&n.gallery_hook&&void 0!==R(_[0]).attr(n.gallery_hook)?t.elems_selector+"["+n.gallery_hook+"="+e.attr(n.gallery_hook)+"]":t.elems_selector,c=R(c)),!d(c))return(!n.live_elements||n.live_elements&&!t.elems_selector)&&console.error("LC Lightbox - no valid elements found"),!1}return n.preload_all&&!t.preload_all_used&&(t.preload_all_used=!0,R(document).ready(function(l){R.each(t.elems,function(l,e){h(!1,l)})})),"function"==typeof n.elems_parsed&&n.elems_parsed.call({opts:u,vars:m}),t.is_arr_instance||(c=t.elems_selector?R(t.elems_selector):l).first().trigger("lcl_elems_parsed",[t.elems]),!0};p(_);var c=function(l,e){if(lcl_shown||lcl_is_active)return!1;lcl_is_active=lcl_shown=!0,lcl_curr_obj=l,u=R.data(l,"lcl_settings"),m=R.data(l,"lcl_vars"),lcl_curr_opts=u,lcl_curr_vars=m;var t=u,c=m,n=void 0!==e&&e;if(!m)return console.error("LC Lightbox - cannot open. Object not initialized"),!1;if(c.gallery_hook_val=!!(n&&t.gallery&&t.gallery_hook&&void 0!==n.attr(t.gallery_hook))&&n.attr(t.gallery_hook),!p(l,e))return!1;if(n)R.each(c.elems,function(l,e){if(e.src==n.attr(t.src_attr))return c.elem_index=l,!1});else if(parseInt(c.elem_index,10)>=c.elems_count)return console.error("LC Lightbox - selected index does not exist"),!1;h(!1),g(),D(),c.force_fullscreen&&T(!0,!0),R("#lcl_thumbs_nav").length&&E(),h(!0),o()},f=function(){R("#lcl_wrap").removeClass("lcl_pre_show").addClass("lcl_shown"),R("#lcl_loader").removeClass("lcl_loader_pre_first_el")},g=function(){var l=u,e=m,t=[],c="";if("number"==typeof document.documentMode&&(R("body").addClass("lcl_old_ie"),"outer"!=l.cmd_position&&(l.nav_btn_pos="normal")),R("#lcl_wrap").length&&R("#lcl_wrap").remove(),R("body").append('<div id="lcl_wrap" class="lcl_pre_show lcl_pre_first_el lcl_first_sizing lcl_is_resizing"><div id="lcl_window"><div id="lcl_corner_close" title="close"></div><div id="lcl_loader" class="lcl_loader_pre_first_el"><span id="lcll_1"></span><span id="lcll_2"></span></div><div id="lcl_nav_cmd"><div class="lcl_icon lcl_prev" title="previous"></div><div class="lcl_icon lcl_play"></div><div class="lcl_icon lcl_next" title="next"></div><div class="lcl_icon lcl_counter"></div><div class="lcl_icon lcl_right_icon lcl_close" title="close"></div><div class="lcl_icon lcl_right_icon lcl_fullscreen" title="toggle fullscreen"></div><div class="lcl_icon lcl_right_icon lcl_txt_toggle" title="toggle text"></div><div class="lcl_icon lcl_right_icon lcl_download" title="download"></div><div class="lcl_icon lcl_right_icon lcl_thumbs_toggle" title="toggle thumbnails"></div><div class="lcl_icon lcl_right_icon lcl_socials" title="toggle socials"></div></div><div id="lcl_contents_wrap"><div id="lcl_subj"><div id="lcl_elem_wrap"></div></div><div id="lcl_txt"></div></div></div><div id="lcl_thumbs_nav"></div><div id="lcl_overlay"></div></div>'),R("#lcl_wrap").attr("data-lcl-max-w",l.max_width).attr("data-lcl-max-h",l.max_height),t.push("lcl_"+l.ins_close_pos+"_close lcl_nav_btn_"+l.nav_btn_pos+" lcl_"+l.ins_close_pos+"_close lcl_nav_btn_"+l.nav_btn_pos),(!0===l.tn_hidden||"number"==typeof l.tn_hidden&&(R(window).width()<l.tn_hidden||R(window).height()<l.tn_hidden))&&t.push("lcl_tn_hidden"),(!0===l.txt_hidden||"number"==typeof l.txt_hidden&&(R(window).width()<l.txt_hidden||R(window).height()<l.txt_hidden))&&t.push("lcl_hidden_txt"),l.carousel||t.push("lcl_no_carousel"),lcl_on_mobile&&t.push("lcl_on_mobile"),l.wrap_class&&t.push(l.wrap_class),t.push("lcl_"+l.cmd_position+"_cmd"),"inner"!=l.cmd_position){var n=R("#lcl_nav_cmd").detach();R("#lcl_wrap").prepend(n)}l.slideshow||R(".lcl_play").remove(),l.txt_toggle_cmd||R(".lcl_txt_toggle").remove(),l.socials||R(".lcl_socials").remove(),l.download||R(".lcl_download").remove(),(!l.counter||e.elems.length<2||!l.gallery)&&R(".lcl_counter").remove(),e.force_fullscreen=!1,l.fullscreen?(!0===l.fs_only||"number"==typeof l.fs_only&&(R(window).width()<l.fs_only||R(window).height()<l.fs_only))&&(R(".lcl_fullscreen").remove(),m.force_fullscreen=!0):R(".lcl_fullscreen").remove(),e.elems.length<2||!l.gallery?R(".lcl_prev, .lcl_play, .lcl_next").remove():"middle"==l.nav_btn_pos&&(c+=".lcl_prev, .lcl_next {margin: "+l.padding+"px;}"),!l.thumbs_nav||m.elems.length<2||!l.gallery?R("#lcl_thumbs_nav, .lcl_thumbs_toggle").remove():(R("#lcl_thumbs_nav").css("height",l.thumbs_h),n=R("#lcl_thumbs_nav").outerHeight(!0)-l.thumbs_h,c+="#lcl_window {margin-top: "+-1*(l.thumbs_h-n)+"px;}",c+=".lcl_tn_hidden.lcl_outer_cmd:not(.lcl_fullscreen_mode) #lcl_window {margin-bottom: "+-1*R(".lcl_close").outerHeight(!0)+"px;}"),t.push("lcl_txt_"+l.data_position+" lcl_"+l.skin),c+="#lcl_overlay {background-color: "+l.thumbs_h+"px; opacity: "+l.ol_opacity+";}",l.ol_pattern&&R("#lcl_overlay").addClass("lcl_pattern_"+l.ol_pattern),l.modal&&R("#lcl_overlay").addClass("lcl_modal"),l.wrap_padding&&(c+="#lcl_wrap {padding: "+l.wrap_padding+";}"),l.border_w&&(c+="#lcl_window {border: "+l.border_w+"px solid "+l.border_col+";}"),l.padding&&(c+="#lcl_subj, #lcl_txt, #lcl_nav_cmd {margin: "+l.padding+"px;}"),l.radius&&(c+="#lcl_window, #lcl_contents_wrap {border-radius: "+l.radius+"px;}"),l.shadow&&(c+="#lcl_window {box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);}"),"inner"==l.cmd_position&&"corner"==l.ins_close_pos&&(c+="#lcl_corner_close {top: "+-1*(l.border_w+Math.ceil(R("#lcl_corner_close").outerWidth()/2))+"px;right: "+-1*(l.border_w+Math.ceil(R("#lcl_corner_close").outerHeight()/2))+";}",R("#lcl_nav_cmd > *:not(.lcl_close)").length||(c+="#lcl_wrap:not(.lcl_fullscreen_mode):not(.lcl_forced_outer_cmd) #lcl_nav_cmd {display: none;}")),R("#lcl_inline_style").length&&R("#lcl_inline_style").remove(),R("head").append('<style type="text/css" id="lcl_inline_style">'+c+"#lcl_overlay {background-color: "+l.ol_color+";opacity: "+l.ol_opacity+";}#lcl_window, #lcl_txt, #lcl_subj {-webkit-transition-duration: "+l.animation_time+"ms; transition-duration: "+l.animation_time+"ms;}#lcl_overlay {-webkit-transition-duration: "+l.open_close_time+"ms; transition-duration: "+l.open_close_time+"ms;}.lcl_first_sizing #lcl_window, .lcl_is_closing #lcl_window {-webkit-transition-duration: "+(l.open_close_time-l.ol_time_diff)+"ms; transition-duration: "+(l.open_close_time-l.ol_time_diff)+"ms;}.lcl_first_sizing #lcl_window {-webkit-transition-delay: "+l.ol_time_diff+"ms; transition-delay: "+l.ol_time_diff+"ms;}#lcl_loader, #lcl_contents_wrap, #lcl_corner_close {-webkit-transition-duration: "+l.fading_time+"ms; transition-duration: "+l.fading_time+"ms;}.lcl_toggling_txt #lcl_subj {-webkit-transition-delay: "+(l.fading_time+200)+"ms !important; transition-delay: "+(l.fading_time+200)+"ms !important;}.lcl_fullscreen_mode.lcl_txt_over:not(.lcl_tn_hidden) #lcl_txt, .lcl_fullscreen_mode.lcl_force_txt_over:not(.lcl_tn_hidden) #lcl_txt {max-height: calc(100% - 42px - "+l.thumbs_h+"px);}.lcl_fullscreen_mode.lcl_playing_video.lcl_txt_over:not(.lcl_tn_hidden) #lcl_txt,.lcl_fullscreen_mode.lcl_playing_video.lcl_force_txt_over:not(.lcl_tn_hidden) #lcl_txt {max-height: calc(100% - 42px - 45px - "+l.thumbs_h+"px);}</style>"),l.remove_scrollbar&&(m.html_style=void 0!==jQuery("html").attr("style")?jQuery("html").attr("style"):"",m.body_style=void 0!==jQuery("body").attr("style")?jQuery("body").attr("style"):"",c=R(window).width(),R("html").css("overflow","hidden"),R("html").css({"margin-right":R(window).width()-c,"touch-action":"none"}),R("body").css({overflow:"visible","touch-action":"none"})),"image"!=(c=m.elems[e.elem_index]).type||"image"==c.type&&void 0!==e.img_sizes_cache[c.src]?t.push("lcl_show_already_shaped"):f(),R("#lcl_wrap").addClass(t.join(" ")),"function"==typeof l.html_is_ready&&l.html_is_ready.call({opts:u,vars:m}),m.is_arr_instance||(m.elems_selector?R(m.elems_selector):lcl_curr_obj).first().trigger("lcl_html_is_ready",[u,m])},v=function(){if(!lcl_shown)return!1;var l=m,e=l.elems[l.elem_index];R("#lcl_wrap").attr("lc-lelem",l.elem_index),u.carousel||(R("#lcl_wrap").removeClass("lcl_first_elem lcl_last_elem"),l.elem_index?l.elem_index==l.elems.length-1&&R("#lcl_wrap").addClass("lcl_last_elem"):R("#lcl_wrap").addClass("lcl_first_elem")),R(document).trigger("lcl_before_populate_global",[e,l.elem_index]);var t,c,n=m.elem_index;switch(R("#lcl_elem_wrap").removeAttr("style").removeAttr("class").empty(),R("#lcl_wrap").attr("lcl-type",e.type),R("#lcl_elem_wrap").addClass("lcl_"+e.type+"_elem"),e.type){case"image":R("#lcl_elem_wrap").css("background-image","url('"+e.src+"')");break;default:R("#lcl_elem_wrap").html('<div id="lcl_inline" class="lcl_elem"><br/>Error loading the resource .. </div>')}if(lcl_curr_opts.download)if(e.download){R(".lcl_download").show();var o=e.download.split("/");o=o[o.length-1],R(".lcl_download").html('<a href="'+e.download+'" target="_blank" download="'+o+'"></a>')}else R(".lcl_download").hide();R(".lcl_counter").html(n+1+" / "+m.elems.length),w(e)&&"unknown"!=e.type?(R("#lcl_wrap").removeClass("lcl_no_txt"),R(".lcl_txt_toggle").show(),e.title&&R("#lcl_txt").append('<h3 id="lcl_title">'+e.title+"</h3>"),e.author&&R("#lcl_txt").append('<h5 id="lcl_author">by '+e.author+"</h5>"),e.txt&&R("#lcl_txt").append('<section id="lcl_descr">'+e.txt+"</section>"),e.txt&&(e.title&&e.author?R("#lcl_txt h5").addClass("lcl_txt_border"):R("#lcl_txt h3").length?R("#lcl_txt h3").addClass("lcl_txt_border"):R("#lcl_txt h5").addClass("lcl_txt_border"))):(R(".lcl_txt_toggle").hide(),R("#lcl_wrap").addClass("lcl_no_txt")),t=R("#lcl_txt")[0],c=null,t.addEventListener("touchstart",function(l){1===l.targetTouches.length&&(c=l.targetTouches[0].clientY)},!1),t.addEventListener("touchmove",function(l){if(1===l.targetTouches.length){var e=l.targetTouches[0].clientY-c;0===t.scrollTop&&0<e&&l.preventDefault(),t.scrollHeight-t.scrollTop<=t.clientHeight&&e<0&&l.preventDefault()}},!1),l.is_arr_instance||(n=l.elems_selector?R(l.elems_selector):lcl_curr_obj).first().trigger("lcl_before_show",[e,l.elem_index]),R(document).trigger("lcl_before_show_global",[e,l.elem_index]),R("#lcl_wrap").hasClass("lcl_pre_first_el")&&("function"==typeof u.on_open&&u.on_open.call({opts:u,vars:m}),l.is_arr_instance||(n=l.elems_selector?R(l.elems_selector):lcl_curr_obj).first().trigger("lcl_on_open",[e,l.elem_index])),x(e),R("#lcl_subj").removeClass("lcl_switching_el")},w=function(l){return!!(l.title||l.txt||l.author)},b=function(l,e,t){var c=0,n=R("#lcl_wrap"),o=R(window).width()-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10);return n=R(window).height()-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),!isNaN(parseFloat(l))&&isFinite(l)?c=parseInt(l,10):-1!==l.toString().indexOf("%")?c=("w"==e?o:n)*(parseInt(l,10)/100):-1!==l.toString().indexOf("vw")?c=o*(parseInt(l,10)/100):-1!==l.toString().indexOf("vh")&&(c=n*(parseInt(l,10)/100)),void 0===t&&("w"==e&&o<c&&(c=o),"h"==e&&n<c&&(c=n)),c},x=function(c,l,e){var n=u,o=m;void 0===l&&(l={});var t=(e=!!R(".lcl_fullscreen_mode").length)?0:2*parseInt(n.border_w,10)+2*parseInt(n.padding,10);void 0!==l.side_txt_checked||void 0!==l.no_txt_under&&l.no_txt_under||R("#lcl_wrap").removeClass("lcl_force_txt_over");var _=R(".lcl_force_txt_over").length||R(".lcl_hidden_txt").length||-1===R.inArray(n.data_position,["rside","lside"])||!w(c)?0:R("#lcl_txt").outerWidth(),i=e||!R("#lcl_thumbs_nav").length||R(".lcl_tn_hidden").length?0:R("#lcl_thumbs_nav").outerHeight(!0)-parseInt(R("#lcl_wrap").css("padding-bottom"),10),r=!e&&R(".lcl_outer_cmd").length?R(".lcl_close").outerHeight(!0)+parseInt(R("#lcl_nav_cmd").css("padding-top"),10)+parseInt(R("#lcl_nav_cmd").css("padding-bottom"),10):0,s=t+_;i=t+i+r;var a=R("#lcl_wrap").attr("data-lcl-max-w");if(r=R("#lcl_wrap").attr("data-lcl-max-h"),s=e?R(window).width():Math.floor(b(a,"w"))-s,r=e?R(window).height():Math.floor(b(r,"h"))-i,"object"==typeof o.txt_und_sizes){if(s=o.txt_und_sizes.w,i=o.txt_und_sizes.h,"image"==c.type)var d=o.img_sizes_cache[c.src]}else switch(c.type){case"image":if(R("#lcl_elem_wrap").css("bottom",0),void 0===o.img_sizes_cache[c.src])return!1;if(r<(i=(d=o.img_sizes_cache[c.src]).w<=s?(s=d.w,d.h):Math.floor(d.h/d.w*s))&&(i=r,s=Math.floor(d.w/d.h*i)),w(c)&&!R(".lcl_hidden_txt").length&&"under"==n.data_position&&void 0===l.no_txt_under)return y(s,i,r),R(document).off("lcl_txt_und_calc").on("lcl_txt_und_calc",function(){if(o.txt_und_sizes)return"no_under"==o.txt_und_sizes&&(l.no_txt_under=!0),x(o.elems[o.elem_index],l)}),!1;R("#lcl_subj").css("maxHeight","none");break;default:s=280,i=125}return"rside"!=n.data_position&&"lside"!=n.data_position||R(".lcl_no_txt").length||void 0!==l.side_txt_checked||(d="image"==c.type?o.img_sizes_cache[c.src]:"",(r=c.force_over_data)||(r=400),!("image"==c.type&&d.w>r&&d.h>r)||k(c,r,s+t,i+t,_))?(o.txt_und_sizes=!1,void 0===l.inner_cmd_checked&&("inner"==n.cmd_position||c.force_outer_cmd)&&C(c,s)?(l.inner_cmd_checked=!0,x(c,l)):(R("#lcl_wrap").removeClass("lcl_pre_first_el"),R("#lcl_window").css({width:e?"100%":s+t+_,height:e?"100%":i+t}),R(".lcl_show_already_shaped").length&&setTimeout(function(){R("#lcl_wrap").removeClass("lcl_show_already_shaped"),f()},10),A(),"undefined"!=typeof lcl_size_n_show_timeout&&clearTimeout(lcl_size_n_show_timeout),t=R(".lcl_first_sizing").length?n.open_close_time+20:n.animation_time,(R(".lcl_browser_resize").length||R(".lcl_toggling_fs").length||e)&&(t=0),void(lcl_size_n_show_timeout=setTimeout(function(){if(lcl_is_active&&(lcl_is_active=!1),R(".lcl_first_sizing").length&&n.autoplay&&1<o.elems.length&&(n.carousel||o.elem_index<o.elems.length-1)&&lcl_start_slideshow(),"image"==c.type)if(R(".lcl_fullscreen_mode").length){var l=d,e=u.fs_img_behavior;if(R(".lcl_fullscreen_mode").length&&l.w<=R("#lcl_subj").width()&&l.h<=R("#lcl_subj").height())R(".lcl_image_elem").css("background-size","auto");else if("fit"==e)R(".lcl_image_elem").css("background-size","contain");else if("fill"==e)R(".lcl_image_elem").css("background-size","cover");else if(void 0===l)R(".lcl_image_elem").css("background-size","cover");else{e=R(window).width()/R(window).height()-l.w/l.h;var t=R(window).width()-l.w;l=R(window).height()-l.h,e<=1.15&&-1.15<=e&&t<=350&&l<=350?R(".lcl_image_elem").css("background-size","cover"):R(".lcl_image_elem").css("background-size","contain")}}else R(".lcl_image_elem").css("background-size","cover");R("#lcl_wrap").removeClass("lcl_first_sizing lcl_switching_elem lcl_is_resizing lcl_browser_resize"),R("#lcl_loader").removeClass("no_loader"),R(document).trigger("lcl_resized_window")},t)))):(l.side_txt_checked=!0,x(c,l))};R(window).resize(function(){if(!lcl_shown||_!=lcl_curr_obj||R(".lcl_toggling_fs").length)return!1;R("#lcl_wrap").addClass("lcl_browser_resize"),"undefined"!=typeof lcl_rs_defer&&clearTimeout(lcl_rs_defer),lcl_rs_defer=setTimeout(function(){lcl_resize()},50)});var y=function(c,n,o,_){var i=void 0===_?1:_,r=R(".lcl_fullscreen_mode").length;R("#lcl_txt").outerHeight();var s=c/n;if(r&&R("#lcl_thumbs_nav").length)return R("#lcl_wrap").addClass("lcl_force_txt_over"),R("#lcl_subj").css("maxHeight","none"),R("#lcl_txt").css({right:0,width:"auto"}),m.txt_und_sizes="no_under",R(document).trigger("lcl_txt_und_calc"),!1;R("#lcl_wrap").removeClass("lcl_force_txt_over").addClass("lcl_txt_under_calc"),r?R("#lcl_txt").css({right:0,width:"auto"}):R("#lcl_txt").css({right:"auto",width:c}),"undefined"!=typeof lcl_txt_under_calc&&clearInterval(lcl_txt_under_calc),lcl_txt_under_calc=setTimeout(function(){var l=Math.ceil(R("#lcl_txt").outerHeight()),e=n+l-o;if(r)return R("#lcl_wrap").removeClass("lcl_txt_under_calc"),R("#lcl_subj").css("maxHeight","calc(100% - "+l+"px)"),m.txt_und_sizes={w:c,h:n},R(document).trigger("lcl_txt_und_calc"),!1;if(0<e&&(void 0===_||_<10)){l=n-e,e=Math.floor(l*s);var t=m.elems[m.elem_index].force_over_data;return t||(t=400),e<t||l<t?(R("#lcl_wrap").removeClass("lcl_txt_under_calc").addClass("lcl_force_txt_over"),R("#lcl_subj").css("maxHeight","none"),R("#lcl_txt").css({right:0,width:"auto"}),m.txt_und_sizes="no_under",R(document).trigger("lcl_txt_und_calc"),!0):y(e,l,o,i+1)}return R("#lcl_wrap").removeClass("lcl_txt_under_calc"),R("#lcl_subj").css("maxHeight",n+u.padding),m.txt_und_sizes={w:c,h:n+l},R(document).trigger("lcl_txt_und_calc"),!0},120)},k=function(l,e,t,c,n){if(n=R(".lcl_force_txt_over").length,t<e||"html"!=l.type&&c<e){if(n)return!0;R("#lcl_wrap").addClass("lcl_force_txt_over")}else{if(!n)return!0;R("#lcl_wrap").removeClass("lcl_force_txt_over")}return!1},C=function(l,e){var t=u,c=!!R(".lcl_fullscreen_mode").length;if(R(".lcl_forced_outer_cmd").length){R("#lcl_wrap").removeClass("lcl_forced_outer_cmd"),R("#lcl_wrap").removeClass("lcl_outer_cmd").addClass("lcl_inner_cmd");var n=R("#lcl_nav_cmd").detach();R("#lcl_window").prepend(n)}return c||!1!==m.inner_cmd_w||(m.inner_cmd_w=0,jQuery("#lcl_nav_cmd .lcl_icon").each(function(){if((R(this).hasClass("lcl_prev")||R(this).hasClass("lcl_next"))&&"middle"==t.nav_btn_pos)return!0;m.inner_cmd_w+=R(this).outerWidth(!0)})),!!(c||l.force_outer_cmd||e<=m.inner_cmd_w)&&(R("#lcl_wrap").addClass("lcl_forced_outer_cmd"),R("#lcl_wrap").removeClass("lcl_inner_cmd").addClass("lcl_outer_cmd"),n=R("#lcl_nav_cmd").detach(),R("#lcl_wrap").prepend(n),!0)},n=function(l,e){var t=m,c=u.carousel;if(lcl_is_active||t.elems.length<2||!u.gallery||R(".lcl_switching_elem").length)return!1;if("next"==l)if(t.elem_index==t.elems.length-1){if(!c)return!1;l=0}else l=t.elem_index+1;else if("prev"==l)if(t.elem_index)l=t.elem_index-1;else{if(!c)return!1;l=t.elems.length-1}else if((l=parseInt(l,10))<0||l>=t.elems.length||l==t.elem_index)return!1;"undefined"!=typeof lcl_slideshow&&(void 0===e||!c&&l==t.elems.length-1)&&lcl_stop_slideshow(),lcl_is_active=!0,q(l),h(!1,l,!0),R("#lcl_wrap").addClass("lcl_switching_elem"),setTimeout(function(){R("#lcl_wrap").removeClass("lcl_playing_video"),"html"==t.elems[t.elem_index].type&&(R("#lcl_window").css("height",R("#lcl_contents_wrap").outerHeight()),R("#lcl_contents_wrap").css("maxHeight","none")),"function"==typeof u.on_elem_switch&&u.on_elem_switch.call({opts:u,vars:m,new_el:l}),!t.is_arr_instance&&lcl_curr_obj&&(t.elems_selector?R(t.elems_selector):lcl_curr_obj).first().trigger("lcl_on_elem_switch",[t.elem_index,l]),R("#lcl_wrap").removeClass("lcl_no_txt lcl_loading_iframe"),R("#lcl_txt").empty(),t.elem_index=l,h(!0),o()},u.fading_time)},j=function(l){var e=u;if(!e.progressbar)return!1;l=l?0:e.animation_time+e.fading_time;var t=e.slideshow_time+e.animation_time-l;R("#lcl_progressbar").length||R("#lcl_wrap").append('<div id="lcl_progressbar"></div>'),"undefined"!=typeof lcl_pb_timeout&&clearTimeout(lcl_pb_timeout),lcl_pb_timeout=setTimeout(function(){R("#lcl_progressbar").stop(!0).removeAttr("style").css("width",0).animate({width:"100%"},t,"linear",function(){R("#lcl_progressbar").fadeTo(0,0)})},l)},z=function(){if(!lcl_shown)return!1;"function"==typeof u.on_close&&u.on_close.call({opts:u,vars:m}),m.is_arr_instance||(m.elems_selector?R(m.elems_selector):lcl_curr_obj).first().trigger("lcl_on_close"),R(document).trigger("lcl_on_close_global"),R("#lcl_wrap").removeClass("lcl_shown").addClass("lcl_is_closing lcl_tn_hidden"),lcl_stop_slideshow(),R(".lcl_fullscreen_mode").length&&I(),setTimeout(function(){R("#lcl_wrap, #lcl_inline_style").remove(),u.remove_scrollbar&&(jQuery("html").attr("style",m.html_style),jQuery("body").attr("style",m.body_style)),R(document).trigger("lcl_closed_global"),lcl_is_active=lcl_shown=lcl_curr_vars=lcl_curr_opts=lcl_curr_obj=!1},u.open_close_time+80),"undefined"!=typeof lcl_size_check&&clearTimeout(lcl_size_check)},T=function(l,e){if(void 0===e&&(e=!1),!lcl_shown||!u.fullscreen||!e&&lcl_is_active)return!1;var t=u,c=m;R("#lcl_wrap").addClass("lcl_toggling_fs"),t.browser_fs_mode&&void 0!==l&&(document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.msRequestFullscreen?document.documentElement.msRequestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),setTimeout(function(){R("#lcl_wrap").addClass("lcl_fullscreen_mode"),x(c.elems[c.elem_index]),R(document).on("lcl_resized_window",function(){R(document).off("lcl_resized_window"),(e||"under"==lcl_curr_opts.data_position&&!R(".lcl_force_txt_over").length)&&x(lcl_curr_vars.elems[lcl_curr_vars.elem_index]),setTimeout(function(){R("#lcl_wrap").removeClass("lcl_toggling_fs")},150)})},e?t.open_close_time:t.fading_time),"function"==typeof t.on_fs_enter&&t.on_fs_enter.call({opts:t,vars:c}),m.is_arr_instance||lcl_curr_obj.first().trigger("lcl_on_fs_enter")},L=function(e){if(!lcl_shown||!u.fullscreen||lcl_is_active)return!1;var t=u;R("#lcl_wrap").addClass("lcl_toggling_fs"),R("#lcl_window").fadeTo(70,0),setTimeout(function(){if(t.browser_fs_mode&&void 0!==e){I();var l=250}else l=0;R("#lcl_wrap").removeClass("lcl_fullscreen_mode"),setTimeout(function(){x(m.elems[m.elem_index]);var l=l||navigator.userAgent;l=-1<l.indexOf("MSIE ")||-1<l.indexOf("Trident/")?100:0,setTimeout(function(){R("#lcl_window").fadeTo(30,1),R("#lcl_wrap").removeClass("lcl_toggling_fs")},300+l)},l)},70),"function"==typeof t.on_fs_exit&&t.on_fs_exit.call({opts:u,vars:m}),m.is_arr_instance||(m.elems_selector?R(m.elems_selector):lcl_curr_obj).first().trigger("lcl_on_fs_exit")},I=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},E=function(){var o=!1,_=!1,i=Date.now();if(R("#lcl_thumbs_nav").append('<span class="lcl_tn_prev"></span><ul class="lcl_tn_inner"></ul><span class="lcl_tn_next"></span>'),R("#lcl_thumbs_nav").attr("rel",i),R.each(m.elems,function(e,t){if("unknown"!=t.type){o||(_&&_!=t.type?o=!0:_=t.type);var l="",c="";if(tpc="",t.thumb)c=t.thumb,l="style=\"background-image: url('"+t.thumb+"');\"";else{switch(t.type){case"image":c=t.src;break;case"youtube":c=t.poster?t.poster:"https://img.youtube.com/vi/"+t.video_id+"/maxresdefault.jpg";break;case"vimeo":t.poster?c=t.poster:void 0===m.vimeo_thumb_cache[t.src]?(tpc="lcl_tn_preload",R.getJSON("https://www.vimeo.com/api/v2/video/"+t.video_id+".json?callback=?",{format:"json"},function(l){F(l[0].thumbnail_large,e,i),m.vimeo_thumb_cache[t.src]=l[0].thumbnail_large,R(".lcl_tn_inner li[rel="+e+"]").attr("style",R(".lcl_tn_inner li[rel="+e+"]").attr("style")+" background-image: url('"+l[0].thumbnail_large+"');")})):c=m.vimeo_thumb_cache[t.src];break;case"video":case"iframe":case"html":t.poster&&(c=t.poster);break;case"dailymotion":c=t.poster?t.poster:"http://www.dailymotion.com/thumbnail/video/"+t.video_id}c&&(u.thumbs_maker_url&&(t.poster||-1===R.inArray(t.type,["youtube","vimeo","dailymotion"]))&&(c=u.thumbs_maker_url.replace("%URL%",encodeURIComponent(c)).replace("%W%",u.thumbs_w).replace("%H%",u.thumbs_h)),l="style=\"background-image: url('"+c+"');\"",-1===R.inArray(t.type,["youtube","vimeo","dailymotion"])||t.poster||(m.elems[e].vid_poster=c))}if(("html"==t.type||"iframe"==t.type)&&!l)return!0;var n="video"!=t.type||l?"":'<video src="'+t.src+'"></video>';tpc="lcl_tn_preload",R(".lcl_tn_inner").append('<li class="lcl_tn_'+t.type+" "+tpc+'" title="'+t.title+'" rel="'+e+'" '+l+">"+n+"</li>"),tpc&&F(c,e,i)}}),R(".lcl_tn_inner > li").length<2)return R("#lcl_thumbs_nav").remove(),!1;R(".lcl_tn_inner > li").css("width",u.thumbs_w),lcl_on_mobile||R(".lcl_tn_inner").lcl_smoothscroll(.3,400,!1,!0),o&&u.tn_icons&&R(".lcl_tn_inner").addClass("lcl_tn_mixed_types"),q(m.elem_index)},F=function(l,e,t){R("<img/>").bind("load",function(){if(!m)return!1;m.img_sizes_cache[l]={w:this.width,h:this.height},R("#lcl_thumbs_nav[rel="+t+"] li[rel="+e+"]").removeClass("lcl_tn_preload"),setTimeout(function(){A(),O()},500)}).attr("src",l)},H=function(){var l=0;return R(".lcl_tn_inner > li").each(function(){l+=R(this).outerWidth(!0)}),l},A=function(){if(!R("#lcl_thumbs_nav").length)return!1;H()>R(".lcl_tn_inner").width()?R("#lcl_thumbs_nav").addClass("lcl_tn_has_arr"):R("#lcl_thumbs_nav").removeClass("lcl_tn_has_arr")},O=function(){var l=R(".lcl_tn_inner").scrollLeft();l?R(".lcl_tn_prev").removeClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,1):R(".lcl_tn_prev").addClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,.5),l>=H()-R(".lcl_tn_inner").width()?R(".lcl_tn_next").addClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,.5):R(".lcl_tn_next").removeClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,1)};R(document).on("lcl_smoothscroll_end",".lcl_tn_inner",function(l){if(_!=lcl_curr_obj)return!0;O()});var q=function(t){var l=R(".lcl_tn_inner > li[rel="+t+"]");if(!l.length)return!1;var c=0;R(".lcl_tn_inner > li").each(function(l,e){if(R(this).attr("rel")==t)return c=l,!1});var e=R(".lcl_tn_inner > li").last().outerWidth(),n=parseInt(R(".lcl_tn_inner > li").last().css("margin-left"),10);R(".lcl_tn_inner").width();var o=Math.floor((R(".lcl_tn_inner").width()-e-n)/2);e=e*c+n*(c-1)+Math.floor(n/2)-o,R(".lcl_tn_inner").stop(!0).animate({scrollLeft:e},500,function(){R(".lcl_tn_inner").trigger("lcl_smoothscroll_end")}),R(".lcl_tn_inner > li").removeClass("lcl_sel_thumb"),l.addClass("lcl_sel_thumb")};R.fn.lcl_smoothscroll=function(o,_,l,e){if(lcl_on_mobile)return!1;this.off("mousemove mousedown mouseup mouseenter mouseleave");var i=this,r=void 0===l||!l,s=void 0===e||!e,t=!1,a=!1,c=0,n=0,d=0,u=0;i.mousemove(function(l){!0===a&&(i.stop(!0),r&&i.scrollLeft(u+(n-l.pageX)),s&&i.scrollTop(d+(c-l.pageY)))}),i.mouseover(function(){t&&clearTimeout(t)}),i.mouseout(function(){t=setTimeout(function(){t=a=!1},500)}),i.mousedown(function(l){"undefined"!=typeof lc_sms_timeout&&clearTimeout(lc_sms_timeout),a=!0,d=i.scrollTop(),u=i.scrollLeft(),c=l.pageY,n=l.pageX}),i.mouseup(function(l){a=!1;var e=i.scrollTop(),t=-1*(d-e);e+=t*o;var c=i.scrollLeft(),n=-1*(u-c);if(c+=n*o,t<3&&-3<t&&n<3&&-3<n)return R(l.target).trigger("lcl_tn_elem_click"),!1;(20<t||20<n)&&(l={},s&&(l.scrollTop=e),r&&(l.scrollLeft=c),i.stop(!0).animate(l,_,"linear",function(){i.trigger("lcl_smoothscroll_end")}))})},t.is_arr_instance||(e.live_elements&&t.elems_selector?R(document).off("click",t.elems_selector).on("click",t.elems_selector,function(l){l.preventDefault(),R.data(_,"lcl_vars").elems_count=R(t.elems_selector).length,c(_,R(this)),_.first().trigger("lcl_clicked_elem",[R(this)])}):(_.off("click"),_.on("click",function(l){l.preventDefault(),c(_,R(this)),_.first().trigger("lcl_clicked_elem",[R(this)])}))),R(document).on("click","#lcl_overlay:not(.lcl_modal), .lcl_close, #lcl_corner_close",function(l){if(_!=lcl_curr_obj)return!0;z()}),R(document).on("click",".lcl_prev",function(l){if(_!=lcl_curr_obj)return!0;n("prev")}),R(document).on("click",".lcl_next",function(l){if(_!=lcl_curr_obj)return!0;n("next")}),R(document).bind("keydown",function(l){if(lcl_shown){if(_!=lcl_curr_obj)return!0;39==l.keyCode?(l.preventDefault(),n("next")):37==l.keyCode?(l.preventDefault(),n("prev")):27==l.keyCode?(l.preventDefault(),z()):122==l.keyCode&&u.fullscreen&&("undefined"!=typeof lcl_fs_key_timeout&&clearTimeout(lcl_fs_key_timeout),lcl_fs_key_timeout=setTimeout(function(){R(".lcl_fullscreen_mode").length?L():T()},50))}}),R(document).on("wheel","#lcl_overlay, #lcl_window, #lcl_thumbs_nav:not(.lcl_tn_has_arr)",function(l){if(_!=lcl_curr_obj||!lcl_curr_opts.mousewheel)return!0;var e=R(l.target);if(e.is("#lcl_window")||e.parents("#lcl_window").length){var t=!0;for(a=0;a<20&&!e.is("#lcl_window");a++){if(e[0].scrollHeight>e.outerHeight()){t=!1;break}e=e.parent()}t&&(l.preventDefault(),l=l.originalEvent.deltaY,n(0<l?"next":"prev"))}else l.preventDefault(),l=l.originalEvent.deltaY,n(0<l?"next":"prev")}),R(document).on("click",".lcl_image_elem",function(l){if(_!=lcl_curr_obj)return!0;lcl_img_click_track=setTimeout(function(){R(".lcl_zoom_wrap").length||n("next")},250)}),R(document).on("dblclick",".lcl_image_elem",function(l){if(_!=lcl_curr_obj||!lcl_curr_opts.img_zoom||!R(".lcl_zoom_icon").length)return!0;"undefined"!=typeof lcl_img_click_track&&(clearTimeout(lcl_img_click_track),zoom(!0))}),R(document).on("click",".lcl_txt_toggle",function(l){if(_!=lcl_curr_obj)return!0;if(l=u,!lcl_is_active&&!R(".lcl_no_txt").length&&!R(".lcl_toggling_txt").length)if("over"!=l.data_position){var e="rside"==l.data_position||"lside"==l.data_position,t=R(".lcl_force_txt_over").length,c=l.animation_time<150?l.animation_time:150,n=0;e&&!t?R("#lcl_subj").fadeTo(c,0):t||(R("#lcl_contents_wrap").fadeTo(c,0),n=c),setTimeout(function(){R("#lcl_wrap").toggleClass("lcl_hidden_txt")},n),t||(lcl_is_active=!0,R("#lcl_wrap").addClass("lcl_toggling_txt"),setTimeout(function(){lcl_is_active=!1,lcl_resize()},l.animation_time),setTimeout(function(){R("#lcl_wrap").removeClass("lcl_toggling_txt"),e&&!t?R("#lcl_subj").fadeTo(c,1):t||R("#lcl_contents_wrap").fadeTo(c,1)},2*l.animation_time+50))}else R("#lcl_wrap").toggleClass("lcl_hidden_txt")}),R(document).on("click",".lcl_play",function(l){if(_!=lcl_curr_obj)return!0;R(".lcl_is_playing").length?lcl_stop_slideshow():lcl_start_slideshow()}),R(document).on("click",".lcl_elem",function(l){if(_!=lcl_curr_obj)return!0;R(".lcl_playing_video").length||-1===R.inArray(R("#lcl_wrap").attr("lcl-type"),["video"])||(lcl_stop_slideshow(),R("#lcl_wrap").addClass("lcl_playing_video"))}),R(document).on("click",".lcl_socials",function(l){if(_!=lcl_curr_obj)return!0;if(R(".lcl_socials > div").length)R(".lcl_socials_tt").removeClass("lcl_show_tt"),setTimeout(function(){R(".lcl_socials").removeClass("lcl_socials_shown").empty()},260);else{var e=lcl_curr_vars.elems[lcl_curr_vars.elem_index];l=encodeURIComponent(window.location.href);var t=encodeURIComponent(e.title).replace(/'/g,"\\'");if(encodeURIComponent(e.txt).replace(/'/g,"\\'"),"image"==e.type)var c=e.src;else(c=!!e.poster&&e.poster)||void 0===e.vid_poster||(c=e.vid_poster);var n='<div class="lcl_socials_tt lcl_tooltip lcl_tt_bottom">';n=lcl_curr_opts.fb_direct_share?n+'<a class="lcl_icon lcl_fb" href="javascript: void(0)"></a>':n+'<a class="lcl_icon lcl_fb" onClick="window.open(\'https://www.facebook.com/sharer?u='+l+"&display=popup','sharer','toolbar=0,status=0,width=590,height=325');\" href=\"javascript: void(0)\"></a>",n+='<a class="lcl_icon lcl_twit" onClick="window.open(\'https://twitter.com/share?text=Check%20out%20%22'+t+"%22%20@&url="+l+"','sharer','toolbar=0,status=0,width=548,height=325');\" href=\"javascript: void(0)\"></a>",lcl_on_mobile&&(n+='<br/><a class="lcl_icon lcl_wa" href="whatsapp://send?text='+l+'" data-action="share/whatsapp/share"></a>'),c&&(n+='<a class="lcl_icon lcl_pint" onClick="window.open(\'http://pinterest.com/pin/create/button/?url='+l+"&media="+encodeURIComponent(c)+"&description="+t+"','sharer','toolbar=0,status=0,width=575,height=330');\" href=\"javascript: void(0)\"></a>"),n+="</div>",R(".lcl_socials").addClass("lcl_socials_shown").html(n),setTimeout(function(){R(".lcl_socials_tt").addClass("lcl_show_tt")},20),lcl_curr_opts.fb_direct_share&&R(document).off("click",".lcl_fb").on("click",".lcl_fb",function(l){FB.ui({method:"share_open_graph",action_type:"og.shares",action_properties:JSON.stringify({object:{"og:url":window.location.href,"og:title":e.title,"og:description":e.txt,"og:image":c}})},function(l){window.close()})})}}),R(document).on("click",".lcl_fullscreen",function(l){if(_!=lcl_curr_obj)return!0;R(".lcl_fullscreen_mode").length?L(!0):T(!0)}),R(document).on("click",".lcl_thumbs_toggle",function(l){if(_!=lcl_curr_obj)return!0;l=R(".lcl_fullscreen_mode").length,R("#lcl_wrap").addClass("lcl_toggling_tn").toggleClass("lcl_tn_hidden"),l||setTimeout(function(){lcl_resize()},160),setTimeout(function(){R("#lcl_wrap").removeClass("lcl_toggling_tn")},lcl_curr_opts.animation_time+50)}),e=lcl_on_mobile?" click":"",R(document).on("lcl_tn_elem_click"+e,".lcl_tn_inner > li",function(l){if(_!=lcl_curr_obj)return!0;l=R(this).attr("rel"),n(l)}),R(document).on("click",".lcl_tn_prev:not(.lcl_tn_disabled_arr)",function(l){if(_!=lcl_curr_obj)return!0;R(".lcl_tn_inner").stop(!0).animate({scrollLeft:R(".lcl_tn_inner").scrollLeft()-lcl_curr_opts.thumbs_w-10},300,"linear",function(){R(".lcl_tn_inner").trigger("lcl_smoothscroll_end")})}),R(document).on("click",".lcl_tn_next:not(.lcl_tn_disabled_arr)",function(l){if(_!=lcl_curr_obj)return!0;R(".lcl_tn_inner").stop(!0).animate({scrollLeft:R(".lcl_tn_inner").scrollLeft()+lcl_curr_opts.thumbs_w+10},300,"linear",function(){R(".lcl_tn_inner").trigger("lcl_smoothscroll_end")})}),R(document).on("wheel","#lcl_thumbs_nav.lcl_tn_has_arr",function(l){if(_!=lcl_curr_obj)return!0;l.preventDefault(),0<l.originalEvent.deltaY?R(".lcl_tn_prev:not(.lcl_tn_disabled_arr)").trigger("click"):R(".lcl_tn_next:not(.lcl_tn_disabled_arr)").trigger("click")}),R(document).on("contextmenu","#lcl_wrap *",function(){return _!=lcl_curr_obj||!u.rclick_prevent&&void 0}),R(window).on("touchmove",function(l){if(R(l.target),!lcl_shown||!lcl_on_mobile||_!=lcl_curr_obj)return!0;R(l.target).parents("#lcl_window").length||R(l.target).parents("#lcl_thumbs_nav").length||l.preventDefault()});var D=function(){if("function"!=typeof AlloyFinger)return!1;lcl_is_pinching=!1;var l=document.querySelector("#lcl_wrap");new AlloyFinger(l,{singleTap:function(l){"lcl_overlay"!=R(l.target).attr("id")||u.modal||lcl_close()},doubleTap:function(l){l.preventDefault(),zoom(!0)},pinch:function(l){l.preventDefault(),lcl_is_pinching=!0,"undefined"!=typeof lcl_swipe_delay&&clearTimeout(lcl_swipe_delay),"undefined"!=typeof lcl_pinch_delay&&clearTimeout(lcl_pinch_delay),lcl_pinch_delay=setTimeout(function(){1.2<l.scale?zoom(!0):l.scale<.8&&zoom(!1),setTimeout(function(){lcl_is_pinching=!1},300)},20)},touchStart:function(l){lcl_touchstartX=l.changedTouches[0].clientX},touchEnd:function(l){var e=lcl_touchstartX-l.changedTouches[0].clientX;if((e<-50||50<e)&&!lcl_is_pinching){if(R(l.target).parents("#lcl_thumbs_nav").length||R(l.target).parents(".lcl_zoom_wrap").length)return!1;l=R(l.target).parents(".lcl_zoomable").length?250:0,"undefined"!=typeof lcl_swipe_delay&&clearTimeout(lcl_swipe_delay),lcl_swipe_delay=setTimeout(function(){n(e<-50?"prev":"next")},l)}}})},S=function(){return!!lcl_curr_obj&&(m=R.data(lcl_curr_obj,"lcl_vars"),u=R.data(lcl_curr_obj,"lcl_settings"),!!m||(console.error("LC Lightbox. Object not initialized"),!1))};return lcl_open=function(l,e){var t=m=R.data(l,"lcl_vars");return t?void 0===t.elems[e]?(console.error("LC Lightbox - cannot open. Unexisting index"),!1):(t.elem_index=e,$clicked_obj=!t.is_arr_instance&&R(l[e]),c(l,$clicked_obj)):(console.error("LC Lightbox - cannot open. Object not initialized"),!1)},lcl_resize=function(){if(!lcl_shown||lcl_is_active||!S())return!1;var l=m;"undefined"!=typeof lcl_size_check&&clearTimeout(lcl_size_check),lcl_size_check=setTimeout(function(){return R("#lcl_wrap").addClass("lcl_is_resizing"),O(),x(l.elems[l.elem_index])},20)},lcl_close=function(){return!(!lcl_shown||lcl_is_active||!S())&&z()},lcl_switch=function(l){return!(!lcl_shown||lcl_is_active||!S())&&n(l)},lcl_start_slideshow=function(l){if(!lcl_shown||void 0===l&&"undefined"!=typeof lcl_slideshow||!S())return!1;var e=u;if(!e.carousel&&m.elem_index==m.elems.length-1)return!1;"undefined"!=typeof lcl_slideshow&&clearInterval(lcl_slideshow),R("#lcl_wrap").addClass("lcl_is_playing");var t=e.animation_time+e.slideshow_time;return j(!0),lcl_slideshow=setInterval(function(){j(!1),n("next",!0)},t),void 0===l&&("function"==typeof e.slideshow_start&&e.slideshow_start.call({opts:e,vars:m}),m.is_arr_instance||(m.elems_selector?R(m.elems_selector):lcl_curr_obj).first().trigger("lcl_slideshow_start",[t])),!0},lcl_stop_slideshow=function(){if(!lcl_shown||"undefined"==typeof lcl_slideshow||!S())return!1;var l=u;return l?(clearInterval(lcl_slideshow),lcl_slideshow=void 0,R("#lcl_wrap").removeClass("lcl_is_playing"),R("#lcl_progressbar").stop(!0).animate({marginTop:-3*R("#lcl_progressbar").height()},300,function(){R(this).remove()}),"function"==typeof l.slideshow_end&&l.slideshow_end.call({opts:u,vars:m}),m.is_arr_instance||(m.elems_selector?R(m.elems_selector):lcl_curr_obj).first().trigger("lcl_slideshow_end",[]),!0):(console.error("LC Lightbox. Object not initialized"),!1)},_}}(jQuery);
[+]
..
[-] jquery.niceselect.js
[edit]
[-] lc.lightbox.min.js
[edit]
[-] owl.carousel2.thumbs.min.js
[edit]
[-] jquery.flipclock.js
[edit]
[-] preloader.js
[edit]
[-] jquery.twentytwenty.js
[edit]
[-] tilt.js
[edit]
[-] jquery.nicescroll.js
[edit]
[-] jquery.ticker.js
[edit]
[-] slick.js
[edit]
[-] wp-color-picker-alpha.js
[edit]
[-] isotope.pkgd.min.js
[edit]