PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.8.14.1
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.8.14.1
7.8.14 7.8.14.1 7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / assets / js / preview.min.js
wordpress-popup / assets / js Last commit date
vendor 3 years ago ad.min.js 2 years ago admin.min.js 4 days ago front.min.js 4 days ago preview.min.js 1 month ago shared-tutorials.min.js 4 days ago shared-ui.min.js 4 days ago wordpress-popup.min.js 4 days ago wp-dashboard.min.js 10 months ago
preview.min.js
1 lines
1 !function(e){"use strict";const t={moduleId:null,moduleData:null,$module:null,open(t,i,l=!1){if(void 0===t)return;const o="embedded"!==i&&"social_sharing"!==i||!e("#module-preview-inline-container").length?e("#module-preview-container"):e("#module-preview-inline-container");e.ajax({url:hustleVars.ajaxurl,type:"POST",data:{action:"hustle_preview_module",nonce:hustleVars.nonce,id:t,previewData:l}}).then(e=>{if(e.success){if(o.html(e.data.html),this.$module=o.find(".hustle-ui"),this.$module.find(".hustle-select2").length&&HUI.select2(),this.$module.find(".hustle-time").length&&HUI.timepicker(".hustle-time"),this.$module.find(".hustle-date").length){const{days_and_months:e}=hustleVars;HUI.datepicker(".hustle-date",e.days_full,e.days_short,e.days_min,e.months_full,e.months_short)}HUI.nonSharingSimulation(this.$module),HUI.inputFilled(),e.data.style&&o.append(e.data.style),e.data.script&&o.append(e.data.script),setTimeout(()=>HUI.maybeRenderRecaptcha(this.$module),1e3),setTimeout(()=>this.maybeRenderTurnstile(),1e3)}return{id:t,data:e.data.module}},function(){}).then(({id:e,data:t})=>{this.moduleId=e,this.moduleData=t,this.showModule()})},maybeRenderTurnstile(){const e=this.$module.find(".hustle-turnstile");if(!e.length||void 0===window.turnstile)return;const t=e.attr("turnstile-id");t&&window.turnstile.remove(t);const{sitekey:i,theme:l,size:o,language:d}=e.data(),n=window.turnstile.render(e[0],{sitekey:i,theme:l,size:o,language:d});e.attr("turnstile-id",n)},showModule(){const t="0"!==String(this.$module.data("close-delay"))&&this.$module.data("close-delay");"popup"===this.moduleData.module_type?HUI.popupLoad(this.$module[0],t):"slidein"===this.moduleData.module_type?(HUI.slideinLayouts(this.$module[0]),HUI.slideinLoad(this.$module[0],t),e(window).on("resize",function(){this.$module&&HUI.slideinLayouts(this.$module[0])})):(HUI.inlineResize(this.$module[0]),HUI.inlineLoad(this.$module[0]))},reloadModule(){if(this.$module.is(":visible")){let e=0;"popup"===this.moduleData.module_type?(HUI.popupClose(this.$module[0],0),e=2e3):"slidein"===this.moduleData.module_type&&(HUI.slideinClose(this.$module[0],0),e=500),setTimeout(()=>this.showModule(),e)}else this.showModule()},previewClosed(){this.$module=null,e("#module-preview-container").empty(),e("#module-preview-inline-container").empty()}};window.addEventListener("message",function(e){if(e.origin!==window.location.origin||e.source!==window.parent)return;const i=e.data.action;"open"===i?t.open(e.data.moduleId,e.data.moduleType,e.data.previewData):"close"===i?t.previewClosed():"reload"===i&&t.reloadModule()},!1),e("a:not(.hustle-button)").on("click",function(e){e.preventDefault()})}(jQuery);