\n"):e,setAttributes(e,t){for(var n in t)e.setAttribute(n,t[n])},inputToggle(e){if(e.target.classList.contains("input-toggle")){let t=e.target.parentElement.lastElementChild;!0===e.target.checked?(t.style.height=t.scrollHeight+"px",t.classList.remove("hidden")):(t.firstChild.value="",t.style.height=null,t.classList.add("hidden"))}},addInput(e){let t=e.parent,n=e.elm;var l=e.placeholder,s=e.type;e=(e=e.max||6)||6;let o=document.createElement("div");o.setAttribute("class","new-input");let r=document.createElement("input");r.setAttribute("type",s),r.setAttribute("placeholder",l);let i=document.createElement("button");i.setAttribute("class","remove"),i.setAttribute("type","button"),o.appendChild(r),o.appendChild(i),n.appendChild(o),n.childNodes.length>=e&&(n.nextElementSibling.disabled=!0,n.nextElementSibling.style.cssText="opacity:.3;cursor:not-allowed"),t.style.height=t.scrollHeight+"px"},removeInput(e){let t=e.elm,n=e.target;var l=e.max||6;if("remove"===n.className){--l;let s=n.parentElement.parentNode;e=n.parentElement.getBoundingClientRect().height,n.parentElement.remove(),t.style.height=t.getBoundingClientRect().height-e+"px",s.childNodes.length<=l&&(s.nextElementSibling.disabled=!1,s.nextElementSibling.style.cssText="opacity:1;cursor:pointer;")}}},n=e.querySelector(".error-box");e.addEventListener("focusin",function(e){e.target.classList.contains("error")&&e.target.classList.remove("error")}),e.getElementById("submit").addEventListener("click",function(){let l=t.getVal("#blog-url");var s=t.getVal("#maxposts"),o=t.getVal("#thumbnail"),r=t.getValRadio(".aspectratio input"),i="\x3c!-- JAVASCRIPT --\x3e\n