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.2 3.5.0 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.8.0 3.8.1 3.8.2 3.8.3 3.9.0 3.9.1 3.9.10 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9
tutor / assets / js / tutor-template-import-script.min.js
tutor / assets / js Last commit date
icons 1 year ago images 1 year ago lazy-chunks 1 year ago tutor-addon-list.min.js 1 year ago tutor-admin.min.js 1 year ago tutor-coupon.min.js 1 year ago tutor-course-builder.min.js 1 year ago tutor-front.min.js 1 year ago tutor-gutenberg.min.js 1 year ago tutor-import-export.min.js 1 year ago tutor-order-details.min.js 1 year ago tutor-payment-settings.min.js 1 year ago tutor-setup.min.js 1 year ago tutor-tax-settings.min.js 1 year ago tutor-template-import-script.min.js 1 year ago tutor.min.js 1 year ago
tutor-template-import-script.min.js
1 lines
1 (()=>{document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".tutor-template-import-area");var t=document.querySelector(".tutor-template-preview-modal");var r=document.querySelector(".tutor-template-preview-modal-overlay");var a=document.querySelector(".tutor-template-preview-iframe-wrapper");var o=document.getElementById("tutor-template-preview-iframe");var l=document.querySelector(".tutor-template-preview-modal-back-link");var i=document.querySelectorAll(".tutor-template-preview-device-switcher li");var n=document.querySelector(".tutor-preview-template-name");var c=document.querySelector(".tutor-template-shimmer-effect");var d=document.querySelector(".tutor-template-import-btn");if(e){var u=function e(){t.style.display="none";o.src="";a.style.width="100%";a.style.height="100%";s(i);i[0].classList.add("active");c.style.display="none";document.body.style.overflow="visible";o.style.width="100%"};var s=function e(t){t.forEach((function(e){e.classList.remove("active")}))};e.addEventListener("click",(function(e){if(e.target&&e.target.matches(".tutor-template-preview-btn")){var r;document.body.style.overflow="hidden";c.style.display="block";t.style.display="flex";n.innerText=e.target.dataset.template_name;o.src=e.target.dataset.template_url;if((r=_tutorobject)!==null&&r!==void 0&&r.tutor_pro_url){d.setAttribute("data-import_template_id",e.target.dataset.template_id)}}}));o.addEventListener("load",(function(){c.style.display="none"}));l===null||l===void 0||l.addEventListener("click",(function(){u();var e=d.querySelector("i");d.classList.remove("is-loading");d.classList.add("tutor-template-import-btn");d.classList.remove("tutor-template-view-template-btn");e.classList.add("tutor-icon-import");e.classList.remove("tutor-icon-circle-mark");var t='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" role="presentation" aria-hidden="true" class="css-xron3k-svg-SVGIcon"><rect width="16" height="16" rx="8" fill="#E5803C"></rect><path d="M12.252 7.042c0 .004 0 .008-.003.012l-.862 3.951a.609.609 0 0 1-.598.495H5.213a.61.61 0 0 1-.598-.495l-.862-3.95c0-.005-.002-.009-.003-.013a.609.609 0 0 1 1.056-.51l1.28 1.38 1.362-3.054v-.004a.609.609 0 0 1 1.106.004l1.362 3.054 1.28-1.38a.609.609 0 0 1 1.055.51h.001Z" fill="#fff"></path></svg>';d.innerHTML="".concat(e.outerHTML," import ").concat(_tutorobject.tutor_pro_url?"":t)}));i.forEach((function(e){e.addEventListener("click",(function(){s(i);e.classList.add("active");var t=this.getAttribute("data-width");var r=this.getAttribute("data-height");o.style.width=t}))}))}}));(function(){var e=document.querySelector("#tutor-template-preview-iframe");document.addEventListener("DOMContentLoaded",(function(){e.addEventListener("load",(function(){window.addEventListener("message",t);o();l()}))}));var t=function e(t){var a=t.data.type;switch(a){case"RETURN_DROIP_VARIABLE_DATA":{var o;if(((o=t.data.droipCSSVariable)===null||o===void 0||(o=o.data)===null||o===void 0?void 0:o.length)>0){var l=document.querySelector(".tutor-droip-color-presets-heading");l.style.display="block";var c=document.querySelector(".tutor-template-preview-template-details");c.style.display="block";var d=document.querySelector(".tutor-template-preview-import-area .tutor-template-shimmer-effect-2");d.style.display="none";var u=t.data.droipCSSVariable.data[0];var s=u.modes;var v=document.getElementById("droip-color-presets");if(s.length<=1){v.style.display="none"}else{v.style.display="flex";v.style.justifyContent="center";v.style.alignItems="center"}var m=document.createElement("div");m.classList.add("all-colors-wrapper");m.style.display="flex";s.forEach((function(e,t){var r=n(e.key,u);var a=document.createElement("div");a.classList.add("color-palette");a.setAttribute("data-mode",e.key);r.forEach((function(e,t){if(t<3){var r='<div style="background-color:'.concat(e,';" data-index="').concat(t,'"></div>');a.innerHTML+=r}}));m.append(a)}));document.querySelector("#droip-color-modes").innerHTML=m.outerHTML;document.querySelectorAll(".color-palette").forEach((function(e){e.addEventListener("click",(function(){var t=e.getAttribute("data-mode");i(t);r(t)}))}))}break}case"RETURN_DROIP_ACTIVE_MODE":{var p;var f=(t===null||t===void 0||(p=t.data)===null||p===void 0?void 0:p.activeMode)||"default";r(f);break}}};var r=function e(t){document.querySelectorAll(".color-palette").forEach((function(e){e.classList.remove("active")}));document.querySelector('[data-mode="'+t+'"]').classList.add("active")};var a=function t(r){e.contentWindow.postMessage(r,"*")};var o=function e(){a({type:"GET_DROIP_VARIABLE_DATA"})};var l=function e(){a({type:"GET_DROIP_ACTIVE_MODE"})};var i=function e(t){a({type:"APPLY_DROIP_VARIABLE_PALETTE",mode:t})};var n=function e(t,r){if(!r||!r.variables){return[]}var a=r.variables.filter((function(e){return e.type==="color"})).map((function(e){var r,a;if((r=e.value)!==null&&r!==void 0&&r[t]){return e.value[t]}if((a=e.value)!==null&&a!==void 0&&a["default"]){return e.value["default"]}return"#000000"}));return a}})()})();