PATH:
home
/
letacommog
/
winwithd
/
wp-content
/
plugins
/
loftloader
/
assets
/
js
!function(r,n){function l(e){var t,o=r.get(),a=!!o[e]&&o[e];return"string"==typeof a&&(a=a.trim()),!0===(t=a)?"on":t}n("head").append(n("<style>",{id:"loftloader-hide-site-title",text:".site-title { opacity: 0; }"})),r.LoftLoaderSwitchSection=r.Section.extend({initialize:function(){return r.Section.prototype.initialize.apply(this,arguments)},ready:function(){this.container.find("input[name=loftloader-main-switch]").attr("checked")||n("#customize-theme-controls").addClass("loftloader-settings-disabled"),n("#customize-theme-controls").addClass("loftloader-controls-wrapper")},attachEvents:function(){var l=this.container;l.on("change","input[name=loftloader-main-switch]",function(e){var t=!!n(this).attr("checked"),o=l.find("#customize-control-loftloader_main_switch input[type=checkbox]"),a=n("#customize-theme-controls");t?o.attr("checked","checked"):o.removeAttr("checked"),o.trigger("change"),t?a.removeClass("loftloader-settings-disabled"):a.addClass("loftloader-settings-disabled")})}}),n.extend(r.sectionConstructor,{loftloader_switch:r.LoftLoaderSwitchSection}),r.controlConstructor.slider=r.Control.extend({ready:function(){var e=this.container.find(".loader-ui-slider"),o=this.container.find("input[data-customize-setting-link]");e.slider({range:"min",min:e.data("min"),max:e.data("max"),value:e.data("value"),step:e.data("step"),slide:function(e,t){o.val(t.value).trigger("change")}})}}),r.bind("ready",function(e){loftloader_lite_i18n&&n(".site-title").text(loftloader_lite_i18n.name),n("#loftloader-hide-site-title").remove();var t=r.get(),o=n("#customize-control-loftloader_custom_img");if(o.length&&!o.find(".attachment-thumb").length&&t&&t.loftloader_custom_img){var a=t.loftloader_custom_img;if(a){var l=o.find(".attachment-media-view").addClass("attachment-media-view-image"),i=n("<div>",{class:"thumbnail thumbnail-image"}).append(n("<img>",{class:"attachment-thumb",src:a}));l.children(".placeholder").css("display","none").after(i).remove()}}n("body").on("change","input[type=number]",function(e){var t=parseInt(n(this).val()),o=n(this).attr("min")?parseInt(n(this).attr("min")):1;t<o&&n(this).val(o).trigger("change")}).on("change","input.loftlader-checkbox",function(e){var t=!!n(this).attr("checked"),o=n(this).siblings("input");o.length&&(t?o.attr("checked","checked"):o.removeAttr("checked"),o.trigger("change"))}).on("click",".customize-more-toggle",function(e){e.preventDefault();var t=n(this),o=n(this).siblings(".customize-control-description");o.length&&(t.hasClass("expanded")?o.slideUp("slow"):o.slideDown("slow",function(){n(this).css("display","block")}),t.toggleClass("expanded"))}).on("click",".loftloader-any-page-generate",function(e){e.preventDefault();var t=r.loftloader_generate_parameters();n(this).siblings(".loftloader-any-page-shortcode").val("[loftloader "+t+"]").select()})}),r.loftloader_generate_parameters=function(){var e={loftloader_bg_color:{},loftloader_bg_opacity:{},loftloader_bg_animation:{},loftloader_loader_type:{sun:["loftloader_loader_color"],circles:["loftloader_loader_color"],wave:["loftloader_loader_color"],square:["loftloader_loader_color"],beating:["loftloader_loader_color"],frame:["loftloader_loader_color","loftloader_custom_img"],imgloading:["loftloader_custom_img","loftloader_img_width"]},loftloader_show_close_timer:{},loftloader_show_close_tip:{},loftloader_max_load_time:{},loftloader_inline_js:{}},t=type_value=loop="";if("on"===l("loftloader_main_switch"))for(var o in t="loftloader_main_switch=on loftloader_show_range=sitewide",e){switch(type_value=l(o),o){case"loftloader_show_close_tip":type_value=type_value?'"'+btoa(unescape(encodeURIComponent(type_value)))+'"':'""';case"loftloader_bg_color":case"loftloader_bg_opacity":case"loftloader_bg_animation":loop=[];break;case"loftloader_max_load_time":type_value=type_value||0;break;default:loop=e[o][type_value]?e[o][type_value]:[]}if(t+=" "+o+"="+type_value,loop)for(var a in loop)t+=" "+loop[a]+"="+l(loop[a])}else t="loftloader_main_switch=false";return t}}(wp.customize,jQuery);
[+]
..
[-] preview.min.js
[edit]
[-] loftloader.js
[edit]
[-] preview.js
[edit]
[-] customize.js
[edit]
[-] customize.min.js
[edit]
[-] loftloader.min.js
[edit]