var addComment={postId:0,moveForm:function(e,t,n,o){this.postId=o;var d,r,i,m,s=this,l=s.I(e),a=s.I(n),c=s.I("cancel-comment-reply-link"),u=s.I("comment_parent"),p=s.I("comment_post_ID"),f=a.getElementsByTagName("form")[0];if(l&&a&&c&&u&&f){s.respondId=n,o=o||!1,s.I("wp-temp-form-div")||((d=document.createElement("div")).id="wp-temp-form-div",d.style.display="none",a.parentNode.insertBefore(d,a)),l.parentNode.insertBefore(a,l.nextSibling),p&&o&&(p.value=o),u.value=t,c.style.display="",c.setAttribute("data-post-id",o),c.onclick=function(){addComment.postId=this.getAttribute("data-post-id");var e=addComment,t=e.I("wp-temp-form-div"),n=e.I(e.respondId);if(t&&n)return e.I("comment_parent").value="0",t.parentNode.insertBefore(n,t),t.parentNode.removeChild(t),this.style.display="none",this.onclick=null,!1};try{for(var I=0;I<f.elements.length;I++)if(r=f.elements[I],m=!1,"getComputedStyle"in window?i=window.getComputedStyle(r):document.documentElement.currentStyle&&(i=r.currentStyle),(r.offsetWidth<=0&&r.offsetHeight<=0||"hidden"===i.visibility)&&(m=!0),"hidden"!==r.type&&!r.disabled&&!m){r.focus();break}}catch(e){}return!1}},I:function(e){var t=document.getElementById("zf-comments-"+this.postId);if(void 0!==t&&null!=t)var n=!0;else n=!1;if(n)return document.querySelector("#zf-comments-"+this.postId+" #"+e);var o=document.getElementById("comments");if(void 0!==o&&null!=o)var d=!0;else d=!1;return d?document.querySelector("#comments #"+e):document.getElementById(e)},A:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}};