1!function(t){t.fn.autoResize=function(e){var i=t.extend({onResize:function(){},animate:!0,animateDuration:150,animateCallback:function(){},extraSpace:20,limit:1e3},e);return this.filter("textarea").each((function(){var e,a=t(this).css({resize:"none","overflow-y":"hidden"}),n=a.height(),o=(e={},t.each(["height","width","lineHeight","textDecoration","letterSpacing"],(function(t,i){e[i]=a.css(i)})),a.clone().removeAttr("id").removeAttr("name").css({position:"absolute",top:0,left:-9999}).css(e).attr("tabIndex","-1").insertBefore(a)),r=null,c=function(){if(void 0!==t.browser&&t.browser.msie&&6==t.browser.version){var e=jQuery(this).get(0).createTextRange().boundingHeight;e<n&&(e=n),e+=i.extraSpace,jQuery(this).css("height",e+"px")}else{o.height(0).val(t(this).val()).scrollTop(1e4);var c=Math.max(o.scrollTop(),n)+i.extraSpace,m=t(this).add(o);if(r===c)return;if(r=c,c>=i.limit)return void t(this).css("overflow-y","");i.onResize.call(this),i.animate&&"block"===a.css("display")?m.stop().animate({height:c},i.animateDuration,i.animateCallback):m.height(c)}};a.unbind(".dynSiz").bind("keyup.dynSiz",c).bind("keydown.dynSiz",c).bind("change.dynSiz",c).bind("click.dynSiz",c),a.trigger("click")})),this}}(jQuery),function(t,e){if("function"==typeof define&&define.amd)define(["module","exports"],e);else if("undefined"!=typeof exports)e(module,exports);else{var i={exports:{}};e(i,i.exports),t.autosize=i.exports}}(this,(function(t,e){"use strict";var i,a,n="function"==typeof Map?new Map:(i=[],a=[],{has:function(t){return-1<i.indexOf(t)},get:function(t){return a[i.indexOf(t)]},set:function(t,e){-1===i.indexOf(t)&&(i.push(t),a.push(e))},delete:function(t){var e=i.indexOf(t);-1<e&&(i.splice(e,1),a.splice(e,1))}}),o=function(t){return new Event(t,{bubbles:!0})};try{new Event("test")}catch(t){o=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!1),e}}function r(t){var e=n.get(t);e&&e.destroy()}function c(t){var e=n.get(t);e&&e.update()}var m=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((m=function(t){return t}).destroy=function(t){return t},m.update=function(t){return t}):((m=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!n.has(t)){var e,i=null,a=null,r=null,c=function(){t.clientWidth!==a&&d()},m=function(e){window.removeEventListener("resize",c,!1),t.removeEventListener("input",d,!1),t.removeEventListener("keyup",d,!1),t.removeEventListener("autosize:destroy",m,!1),t.removeEventListener("autosize:update",d,!1),Object.keys(e).forEach((function(i){t.style[i]=e[i]})),n.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",m,!1),"onpropertychange"in t&&"oninput"in t&&t.addEventListener("keyup",d,!1),window.addEventListener("resize",c,!1),t.addEventListener("input",d,!1),t.addEventListener("autosize:update",d,!1),t.style.overflowX="hidden",t.style.wordWrap="break-word",n.set(t,{destroy:m,update:d}),"vertical"===(e=window.getComputedStyle(t,null)).resize?t.style.resize="none":"both"===e.resize&&(t.style.resize="horizontal"),i="content-box"===e.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(i)&&(i=0),d()}function u(e){var i=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=i,t.style.overflowY=e}function s(){if(0!==t.scrollHeight){var e=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push({node:t.parentNode,scrollTop:t.parentNode.scrollTop}),t=t.parentNode;return e}(t),n=document.documentElement&&document.documentElement.scrollTop;t.style.height="",t.style.height=t.scrollHeight+i+"px",a=t.clientWidth,e.forEach((function(t){t.node.scrollTop=t.scrollTop})),n&&(document.documentElement.scrollTop=n)}}function d(){s();var e=Math.round(parseFloat(t.style.height)),i=window.getComputedStyle(t,null),a="content-box"===i.boxSizing?Math.round(parseFloat(i.height)):t.offsetHeight;if(a<e?"hidden"===i.overflowY&&(u("scroll"),s(),a="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(t,null).height)):t.offsetHeight):"hidden"!==i.overflowY&&(u("hidden"),s(),a="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(t,null).height)):t.offsetHeight),r!==a){r=
1a;var n=o("autosize:resized");try{t.dispatchEvent(n)}catch(e){}}}}(t)})),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],r),t},m.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],c),t}),e.default=m,t.exports=e.default})),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=t.scrollTo=function(e,i,a){return t(window).scrollTo(e,i,a)};function i(e){return!e.nodeName||-1!==t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function a(e){return t.isFunction(e)||t.isPlainObject(e)?e:{top:e,left:e}}return e.defaults={axis:"xy",duration:0,limit:!0},t.fn.scrollTo=function(n,o,r){"object"==typeof o&&(r=o,o=0),"function"==typeof r&&(r={onAfter:r}),"max"===n&&(n=9e9),r=t.extend({},e.defaults,r),o=o||r.duration;var c=r.queue&&r.axis.length>1;return c&&(o/=2),r.offset=a(r.offset),r.over=a(r.over),this.each((function(){if(null!==n){var m,u=i(this),s=u?this.contentWindow||window:this,d=t(s),l=n,p={};switch(typeof l){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(l)){l=a(l);break}if(!(l=u?t(l):t(l,s)).length)return;case"object":(l.is||l.style)&&(m=(l=t(l)).offset())}var y=t.isFunction(r.offset)&&r.offset(s,l)||r.offset;t.each(r.axis.split(""),(function(t,i){var a="x"===i?"Left":"Top",n=a.toLowerCase(),o="scroll"+a,f=d[o](),h=e.max(s,i);if(m)p[o]=m[n]+(u?0:f-d.offset()[n]),r.margin&&(p[o]-=parseInt(l.css("margin"+a),10)||0,p[o]-=parseInt(l.css("border"+a+"Width"),10)||0),p[o]+=y[n]||0,r.over[n]&&(p[o]+=l["x"===i?"width":"height"]()*r.over[n]);else{var _=l[n];p[o]=_.slice&&"%"===_.slice(-1)?parseFloat(_)/100*h:_}r.limit&&/^\d+$/.test(p[o])&&(p[o]=p[o]<=0?0:Math.min(p[o],h)),!t&&r.axis.length>1&&(f===p[o]?p={}:c&&(v(r.onAfterFirst),p={}))})),v(r.onAfter)}function v(e){var i=t.extend({},r,{queue:!0,duration:o,complete:e&&function(){e.call(s,l,r)}});d.animate(p,i)}}))},e.max=function(e,a){var n="x"===a?"Width":"Height",o="scroll"+n;if(!i(e))return e[o]-t(e)[n.toLowerCase()]();var r="client"+n,c=e.ownerDocument||e.document,m=c.documentElement,u=c.body;return Math.max(m[o],u[o])-Math.min(m[r],u[r])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var i=this.get(e);if(e.options.interrupt&&e._last&&e._last!==i)return t(e.elem).stop();var a=Math.round(e.now);i!==a&&(t(e.elem)[e.prop](a),e._last=this.get(e))}},e}));var Loadwall_ajax=!1;function UM_wall_confirmbox_mobile(){var t,e,i,a=jQuery(window).width();a<=500?(t=a,e=0,i=0):(t="400px",e="-200px",i="50%");var n=jQuery(".um-activity-confirm");n.css({top:(jQuery(window).height()-n.height())/2+"px",width:t,"margin-left":e,left:i})}function UM_wall_confirmbox_show(t,e,i){var a=jQuery(".um-activity-confirm");a.is(":visible")||(jQuery(".um-activity-confirm-m").html(e),jQuery(".um-activity-confirm-o,.um-activity-confirm").show(),a.find(".um-activity-confirm-btn").addClass(i).attr("data-post_id",t)),UM_wall_confirmbox_mobile()}function UM_wall_confirmbox_hide(){jQuery(".um-activity-confirm-o,.um-activity-confirm").hide()}function um_extractLast(t){return t.split(" ").pop()}function um_extract_string(t){return t.split(" ")}function UM_wall_autocomplete_start(){var t=jQuery("textarea.um-activity-textarea-elem,textarea.um-activity-comment-textarea");0!==t.length&&t.each((function(){var t=jQuery(this);if(void 0===jQuery.ui)return!1;var e=t.autocomplete({minLength:1,source:function(t,e){"@"===um_extractLast(t.term).charAt(0)&&jQuery.getJSON(wp.ajax.settings.url+"?action=um_activity_get_user_suggestions&term="+um_extractLast(t.term)+"&nonce="+um_scripts.nonce,(function(t){e(t)}))},select:function(t,e){e.item.name=e.item.name.replace("<strong>",""),e.item.name=e.item.name.replace("</strong>","");var i=um_extract_string(this.value);return i.pop(),i.push("@"+e.item.username),i.push(""),this.value=jQuery.trim(i.join(" ")),!1}});void 0!==e.data("ui-autocomplete")&&(e.data("ui-autocomplete")._renderItem=function(t,e){return jQuery("<li />").data("item.autocomplete",e).append(e.photo+e.name+"<span>@"+e.username+"</span>").appendTo(t)})}))}function UM_wall_img_upload(){var t;jQuery(".um-activity-insert-photo").each((function(){if(!jQuery(this).siblings(".ajax-upload-dragdrop").length){var e=jQuery(this);t=e.parents(".um-activity-widget"),e.uploadFile({url:wp.ajax.settings.url,method:"POST",multiple:!1,formData:{action:"um_imageupload",key:"wall_img_upload",set_id:0,set_mode:"wall",timestamp:e.data("timestamp"),_wpnonce:e.data("nonce")},fileName:"wall_img_upload",allowedTypes:e.attr("data-allowed"),maxFileSize:9999999,dragDropStr:"",sizeErrorStr:e.attr("data-size-err"),extErrorStr:e.attr("data-ext-err"),maxFileC
1ountErrorStr:"",maxFileCount:1,showDelete:!1,showAbort:!1,showDone:!1,showFileCounter:!1,showStatusAfterSuccess:!0,returnType:"json",onSubmit:function(e){t.find(".um-error-block").remove(),um_disable_post_submit(t),um_clean_photo_fields(t)},onSuccess:function(i,a,n){e.selectedFiles=0,a.success&&!1===a.success||void 0!==a.data.error?(um_disable_post_submit(e.parents(".um-activity-widget")),um_post_placeholder(t.find(".um-activity-textarea-elem")),t.find(".upload-statusbar").prev("div").append('<div class="um-error-block">'+a.data.error+"</div>"),t.find(".upload-statusbar").remove()):(t.find(".upload-statusbar").remove(),um_enable_post_submit(e.parents(".um-activity-widget")),um_photo_placeholder(t.find(".um-activity-textarea-elem")),t.find(".um-activity-preview img").attr("src",a.data[0].url),t.find(".um-activity-preview").show(),t.find('input[type="hidden"][name="_post_img"]').val(a.data[0].file),t.find('input[type="hidden"][name="_post_img_url"]').val(a.data[0].url))}})}}))}function um_get_activity_post(t){jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_get_activity_post",post_id:t,nonce:um_scripts.nonce},success:function(t){return t},error:function(t){}})}function um_clean_photo_fields(t){t.find(".um-activity-preview").hide(),t.find(".um-activity-preview img").attr("src",""),t.find('input[type="hidden"][name="_post_img"]').val(""),t.find('input[type="hidden"][name="_post_img_url"]').val("")}function um_enable_post_submit(t){t.find(".um-activity-post").removeClass("um-disabled")}function um_disable_post_submit(t){t.find(".um-activity-post").addClass("um-disabled")}function um_enable_comment_submit(t){t.find(".um-activity-comment-post").removeClass("um-disabled")}function um_disable_comment_submit(t){t.find(".um-activity-comment-post").addClass("um-disabled")}function um_check_comment_length(t){var e=t.parents(".um-activity-comment-area");t.val().trim().length>0?um_enable_comment_submit(e):um_disable_comment_submit(e)}function um_check_textarea_length(t){var e=t.parents(".um-activity-widget");t.val().trim().length>0?um_enable_post_submit(e):0===e.find('input[type="hidden"][name="_post_img"]').val().trim().length&&um_disable_post_submit(e)}function um_post_placeholder(t){t.attr("placeholder",t.attr("data-ph"))}function um_photo_placeholder(t){t.attr("placeholder",t.attr("data-photoph"))}function um_getUrlParameter(t){var e,i,a=decodeURIComponent(window.location.search.substring(1)).split("&");for(i=0;i<a.length;i++)if((e=a[i].split("="))[0]===t)return void 0===e[1]||e[1]}function um_wall_ajax_request(){var t=jQuery(".um-activity-wall");if(t.length>0&&!1===Loadwall_ajax){if(t.hasClass("home-wiki"))return;if(t.find(".um-activity-end").length)return;Loadwall_ajax=!0;var e=t.find(".um-activity-load");e.length||(t.append('<div class="um-activity-load" data-offset="0" title="Loading..."><div class="loading-container"><span><i class="fas fa-spinner fa-spin"></i></span></div></div>'),e=t.find(".um-activity-load"));var i=e.show().data("offset")||0;jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_load_wall",offset:i,user_id:t.data("user_id"),user_wall:t.data("user_wall"),hashtag:t.data("hashtag"),nonce:um_scripts.nonce,wall_post:t.data("wall_post")},success:function(a){e.hide();var n=jQuery(a).filter(".um-activity-widget");0===n.length?Loadwall_ajax=!0:(e.data("offset",i+n.length).before(n),Loadwall_ajax=t.data("wall_post")>0),jQuery(document).trigger("activity_loaded"),wp.hooks.doAction("um_activity_wall_loaded",t)},error:function(t){}})}}jQuery(document.body).on("click",".um-activity-img-remove",(function(){var t=jQuery(this).parents("form");um_clean_photo_fields(t),um_post_placeholder(t.find(".um-activity-textarea-elem")),um_check_textarea_length(t.find("textarea"))})),jQuery(window).on("scroll",(function(){var t=jQuery(".um-activity-wall");t.length>0&&jQuery(window).scrollTop()+jQuery(window).height()>=t.offset().top+t.height()&&um_wall_ajax_request()})),jQuery(window).on("resize",(function(){UM_wall_confirmbox_mobile()})),jQuery(document).ready((function(){UM_wall_autocomplete_start(),UM_wall_img_upload(),um_wall_ajax_request(),autosize(jQuery(".um-activity-new-post .um-activity-textarea-elem")),autosize(jQuery(".um-activity-widget .um-activity-comment-textarea"));var t=um_getUrlParameter("wall_post"),e=um_getUrlParameter("wall_comment_id");t>0&&(e?e>0&&jQuery("body").scrollTo("#commentid-"+parseInt(e),500,{offset:-10,onAfter:function(){jQuery("#commentid-"+parseInt(e)).addClass("highlighted")}}):jQuery("body").scrollTo("#postid-"+parseInt(t),500,{offset:0,onAfter:function(){jQuery("#postid-"+parseInt(t)).addClass("highlighted")}})),jQuery(document.body).on("input properychange",".um-activity-textarea-elem",(function(){um_check_textarea_length(jQuery(this))})),jQuery(document.body).on("input properychange",".um-activity-comment-textarea",(function(){um_check_comment_length(jQuery(this))})),jQuery(document.body).on("click",".um-activity-post",(function(){if(jQuery(this).hasClass("um-disabled"))return!1;jQuery(this).parents(".um-activity-publish").trigger("submit")})),jQuery(document.body).on("submit",".um-activity-publish",(function(t){t.preventDefault();var e=jQuery(this);if(0===e.find("textarea").val().trim().length&&0===e.find('input[name="_post_img"]').val().trim().length)return e.find("textarea").trigger("focus"),!1;um_disable_post_submit(e);var i=e.serializeArray();jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:i,success:function(t){var i,a;if("0"===e.find('input[name="_post_id"]').val()){var n=e.parents(".um").find(".um-activity-wall");if(n.length<1&&(n=jQuery(document.body).find(".um-activity-wall")),i=wp.template("um-activity-widget"),a={content:t.content,img_src:t.photo_orig_base,img_src_url:t.photo_orig_url,modal:t.photo,wall_id:e.find('input[name="_wall_id"]').val()||0,user_id:t.user_id,post_id:t.postid,post_url:t.permalink,photo:e.find('input[name="_post_img"]').val().trim().length>0,video:t.video||t.has_text_video,video_content:t.video,oembed:t.has_oembed,link:t.link},jQuery(".um-activity-bigtext").length){var o=t.content,r=jQuery(".um-activity-bigtext").text();o.indexOf(">"+r+"<")>=0&&n.prepend(i(a))}else n.prepend(i(a));n.find(".unready").removeClass("unready um-activity-clone").fadeIn(),e.find("textarea").val("").height("auto"),um_clean_photo_fields(e),um_post_placeholder(e.find("textarea")),UM_wall_autocomplete_start()}else e.parents(".um-activity-widget").removeClass("editing"),i=wp.template("um-activity-post"),a={content:t.content,img_src:t.photo_orig_base,img_src_url:t.photo_orig_url,modal:t.photo,wall_id:e.find('input[name="_wall_id"]').val()||0,user_id:t.user_id,post_id:t.postid,post_url:t.permalink,photo:e.find('input[name="_post_img"]').val().trim().length>0,video:t.video||t.has_text_video,video_content:t.video,oembed:t.has_oembed,link:t.link},e.parents(".um-activity-body").html(i(a))}})})),jQuery(document.body).on("click",".um-activity-dialog a",(function(t){return t.preventDefault(),t.stopPropagation(),!1})),jQuery(document.body).on("click",".um-activity-start-dialog",(function(t){if(t.stopPropagation(),t.preventDefault(),!jQuery(this).parents(".um-activity-widget").hasClass("unready")){var e=jQuery(this).parent().find("."+jQuery(this).attr("data-role"));e.is(":visible")?e.hide():e.show()}return!1})),jQuery(document.body).on("click",(function(){jQuery(".um-activity-dialog").hide(),jQuery(".um-activity-comment-meta").find(".um-activity-editc-d:visible").hide()})),jQuery(document.body).on("click",".um-activity-manage",(function(){var t=jQuery(this).parents(".um-activity-widget");jQuery(this).parents(".um-activity-dialog").length&&jQuery(this).parents(".um-activity-dialog").hide(),t.hasClass("editing")||jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_get_activity_post",post_id:t.attr("id").replace("postid-",""),nonce:um_scripts.nonce},success:function(e){t.find(".um-activity-bodyinner-txt").hide(),t.find(".um-activity-bodyinner-photo").hide(),t.find(".um-activity-bodyinner-video").hide();var i=wp.template("um-edit-post"),a={textarea:e.data.orig_content,post_id:t.attr("id").replace("postid-",""),_photo:t.find(".um-activity-bodyinner-edit").find('input[name="_photo"]').val(),_photo_url:t.find(".um-activity-bodyinner-edit").find('input[name="_photo_url"]').val()};t.find(".um-activity-bodyinner-edit").append(i(a)),t.find(".um-activity-bodyinner-edit").find("textarea:visible").trigger("focus"),t.find(".um-activity-bodyinner-edit").find('input[name="_photo"]').val()&&t.find(".um-activity-preview").show(),autosize(t.find(".um-activity-bodyinner-edit").find("textarea:visible")),UM_wall_img_upload(),UM_wall_autocomplete_start(),t.addClass("editing")},error:function(t){}}
1)})),jQuery(document.body).on("click",".um-activity-edit-cancel",(function(t){var e=jQuery(this).parents(".um-activity-widget");e.find(".um-activity-bodyinner-txt").show(),e.find(".um-activity-bodyinner-photo").show(),e.find(".um-activity-bodyinner-video").show(),e.find("form").remove(),e.removeClass("editing")})),jQuery(document.body).on("click",".um-activity-trash",(function(){jQuery(this).parents(".um-activity-dialog").length&&jQuery(this).parents(".um-activity-dialog").hide(),UM_wall_confirmbox_show(jQuery(this).parents(".um-activity-widget").attr("id").replace("postid-",""),jQuery(this).attr("data-msg"),"um-activity-confirm-removepost")})),jQuery(document.body).on("click",".um-activity-confirm-removepost",(function(){var t=jQuery(this).attr("data-post_id");jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_remove_post",post_id:t,nonce:um_scripts.nonce},success:function(e){jQuery(".um-activity-widget#postid-"+t).remove(),UM_wall_confirmbox_hide()}})})),jQuery(document.body).on("click",".um-activity-confirm-close,.um-activity-confirm-o",(function(){UM_wall_confirmbox_hide()})),jQuery(document.body).on("click",".um-activity-seemore a",(function(t){return t.preventDefault(),p=jQuery(this).parents(".um-activity-bodyinner-txt"),p.find(".um-activity-seemore").remove(),p.find(".um-activity-hiddentext").show(),!1})),jQuery(document.body).on("click",".um-activity-disp-comments a",(function(){var t=jQuery(this).parents(".um-activity-widget").attr("id").replace("postid-","");jQuery("body").scrollTo("#wallcomments-"+parseInt(t),{duration:200})})),jQuery(document.body).on("click",".um-activity-comment a",(function(){jQuery(this).parents(".um-activity-widget").hasClass("unready")||jQuery(this).parents(".um-activity-widget").find(".um-activity-comments .um-activity-comment-box textarea").trigger("focus")})),jQuery(document.body).on("click",".um-activity-comment-post",(function(t){t.preventDefault();var e=jQuery(this),i=jQuery(this).parents(".um-activity-wall").data("comments_order"),a=jQuery(this).parents(".um-activity-commentl").find(".um-activity-comment-textarea"),n=a.val(),o=a.parents(".um-activity-comments"),r=a.parents(".um-activity-commentwrap"),c=a.parents(".um-activity-widget").attr("id").replace("postid-",""),m=a.data("commentid"),u=jQuery("#commentid-"+m),s=a.attr("data-reply_to");m&&u.length&&u.hasClass("editing")?jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_activity_wall_comment",postid:c,commentid:m,reply_to:s,comment:n,nonce:um_scripts.nonce},success:function(t){u.find("#um-activity-reply-"+m).val(n),u.find(".um-activity-comment-text").html(t.comment_content),u.find(".um-activity-editc-d").hide(),u.find(".um-activity-comment-area").remove(),u.find(".um-activity-comment-info > div").show(),u.removeClass("editing"),u.find(".um-activity-commentl.um-activity-comment-area").show()}}):(a.val(""),jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_activity_wall_comment",postid:c,reply_to:s,comment:n,nonce:um_scripts.nonce},success:function(t){var n,c=a.parents(".um-activity-widget").find(".um-activity-post-comments");if(c.html(parseInt(c.html())+1),"0"===s){var m=wp.template("um-activity-comment"),u={comment:t.comment_content,comment_id:t.commentid,user_hidden:t.user_hidden,permalink:t.permalink,time:t.time,can_edit_comment:t.can_edit_comment,user_liked_comment:t.user_liked_comment,likes:t.likes};"desc"===i?(o.find(".um-activity-comments-loop").prepend(m(u)),o.find(".unready").removeClass("unready um-activity-commentl-clone").fadeIn()):o.find(".um-activity-comments-loop > .um-activity-commentload").length?(n=parseInt(o.find(".um-activity-comments-loop > .um-activity-commentload span.um-activity-more-count").html()),o.find(".um-activity-comments-loop > .um-activity-commentload span.um-activity-more-count").html(n+1)):(o.find(".um-activity-comments-loop").append(m(u)),o.find(".unready").removeClass("unready um-activity-commentl-clone").fadeIn())}else{var d=wp.template("um-activity-comment-reply"),l={comment:t.comment_content,comment_id:t.commentid,user_hidden:t.user_hidden,permalink:t.permalink,time:t.time,can_edit_comment:t.can_edit_comment,user_liked_comment:t.user_liked_comment,likes:t.likes};r.find(".um-activity-comment-child").length||r.append('<div class="um-activity-comment-child"></div>'),"desc"===i?(r.find(".um-activity-comment-child").prepend(d(l)),r.fadeIn()):r.find(".um-activity-comment-child .um-activity-ccommentload").length?(n=parseInt(o.find(".um-activity-comment-child .um-activity-ccommentload span.um-activity-more-count").html()),o.find(".um-activity-comment-child .um-activity-ccommentload span.um-activity-more-count").html(n+1)):(r.find(".um-activity-comment-child").append(d(l)),r.fadeIn()),e.parents(".um-activity-commentl.um-activity-comment-area").siblings(".um-activity-comment-meta").find(".um-activity-comment-reply").trigger("click")}}})),um_check_comment_length(a)})),jQuery(document.body).on("keypress",".um-activity-comment-textarea",(function(t){if(UM_wall_autocomplete_start(),(10===t.keyCode||13===t.keyCode)&&!t.shiftKey&&jQuery(this).val().trim().length>0)t.preventDefault(),jQuery(this).parents(".um-activity-commentl").find(".um-activity-comment-post").trigger("click");else if((10===t.keyCode||13===t.keyCode)&&!t.shiftKey)return t.preventDefault(),!1})),jQuery(document.body).on("click",".um-activity-editc a",(function(t){t.stopPropagation(),t.preventDefault(),jQuery(".um-activity-comment-meta").find(".um-activity-editc-d:visible").hide();var e=jQuery(this).parents(".um-activity-comment-meta").find(".um-activity-editc-d");return e.is(":visible")?e.hide():e.show(),!1})),jQuery(document.body).on("click",".um-activity-editc a.edit",(function(t){t.preventDefault();var e=jQuery(this);if(e.parents(".um-activity-commentl").hasClass("unready"))return!1;e.parents(".um-activity-comment-info").find(".um-activity-comment-area").length>0&&e.parents(".um-activity-comment-info").find(".um-activity-comment-area").remove();var i=e.data("commentid"),a=(jQuery("#um-activity-reply-"+i).val(),jQuery("#commentid-"+i)),n=0;return a.hasClass("is-child")&&(n=e.parents(".um-activity-commentwrap").data("c
1omment_id")),jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_get_activity_comment",comment_id:i,nonce:um_scripts.nonce},success:function(t){e.parents(".um-activity-comment-info").find(".um-activity-editc-d").hide(),e.parents(".um-activity-comment-info").find("div").hide(),a.addClass("editing");var o=wp.template("um-activity-comment-edit"),r={comment:t.data.orig_content,comment_id:i,reply_to:n};e.parents(".um-activity-comment-info").append(o(r)).find("textarea").trigger("focus"),UM_wall_autocomplete_start()},error:function(t){}}),!1})),jQuery(document.body).on("click",".um-activity-comment-edit-cancel",(function(){var t=jQuery(this).parents(".um-activity-comment-info");t.find(".um-activity-comment-data").show(),t.find(".um-activity-comment-meta").show(),t.parent().removeClass("editing"),jQuery(this).parents(".um-activity-commentl.um-activity-comment-area").remove()})),jQuery(document.body).on("click",".um-activity-editc a.delete",(function(t){t.preventDefault();var e=jQuery(this),i=e.parent().parent().parent().parent().parent().attr("id").replace("commentid-",""),a=e.attr("data-msg");return e.parents(".um-activity-dialog").hide(),UM_wall_confirmbox_show(i,a,"um-activity-confirm-removecomment"),!1})),jQuery(document.body).on("click",".um-activity-confirm-removecomment",(function(){var t=jQuery(this).attr("data-post_id");jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_remove_comment",comment_id:t,nonce:um_scripts.nonce},success:function(e){var i=jQuery(".um-activity-commentl#commentid-"+t),a=i.parents(".um-activity-widget").find(".um-activity-post-comments");a.html(parseInt(a.html())-1),i.siblings(".um-activity-comment-child").remove(),i.remove(),UM_wall_confirmbox_hide()}})})),jQuery(document.body).on("click",".um-activity-comment-reply",(function(){if(!jQuery(this).parents(".um-activity-commentl").hasClass("unready")){var t=jQuery(this).parents(".um-activity-comment-info");if(0===t.find(".um-activity-comment-area").length){var e=wp.template("um-activity-reply"),i={replyto:jQuery(this).attr("data-commentid")};t.append(e(i)),t.find("textarea").trigger("focus"),autosize(jQuery(".um-activity-widget .um-activity-comment-textarea")),UM_wall_autocomplete_start()}else t.find(".um-activity-comment-area").remove()}})),jQuery(document.body).on("click",".um-activity-comment-hide",(function(t){t.preventDefault();var e=jQuery(this),i=e.closest(".um-activity-commentl");if(i.hasClass("editing"))i.find(".um-activity-comment-area").remove(),i.find(".um-activity-comment-info > div").show(),i.find(".um-activity-editc-d").hide(),i.removeClass("editing");else{var a=i.attr("id").replace("commentid-","");e.css({cursor:"wait"}),jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_hide_comment",comment_id:a,nonce:um_scripts.nonce},success:function(t){i.find(".um-activity-comment-info").hide(),i.find(".um-activity-comment-hidden").show(),i.find(".um-activity-comment-avatar").addClass("hidden-1"),i.parents('.um-activity-commentwrap[data-comment_id="'+a+'"]').find(".um-activity-commentl.is-child").each((function(){jQuery(this).find(".um-activity-comment-info").hide(),jQuery(this).find(".um-activity-comment-hidden").show(),jQuery(this).find(".um-activity-comment-avatar").addClass("hidden-1"),jQuery(this).find(".um-activity-comment-hide").remove()})),e.css({cursor:"pointer"})}})}return!1})),jQuery(document.body).on("click",".um-activity-comment-hidden a",(function(t){t.preventDefault(),el=jQuery(this);var e=el.parent().parent().attr("id").replace("commentid-","");return el.parent().parent().find(".um-activity-comment-info").show(),el.parent().parent().find(".um-activity-comment-hidden").hide(),el.parent().parent().find(".um-activity-comment-hide").show(),el.parent().parent().find(".um-activity-comment-avatar").removeClass("hidden-1"),el.parent().parent().prepend('<a href="#" class="um-activity-comment-hide um-tip-s"><i class="um-icon-close-round"></i></a>'),jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_unhide_comment",comment_id:e,nonce:um_scripts.nonce},success:function(t){}}
1),!1})),jQuery(document.body).on("click",".um-activity-report:not(.flagged)",(function(){var t=jQuery(this),e=t.parents(".um-activity-widget").attr("id").replace("postid-","");jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_report_post",post_id:e,nonce:um_scripts.nonce},success:function(e){t.addClass("flagged").html(t.attr("data-cancel_report"))}})})),jQuery(document.body).on("click",".um-activity-report.flagged",(function(){var t=jQuery(this),e=t.parents(".um-activity-widget").attr("id").replace("postid-","");jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_unreport_post",post_id:e,nonce:um_scripts.nonce},success:function(e){t.removeClass("flagged").html(t.attr("data-report"))}})})),jQuery(document.body).on("click",".um-activity-commentload",(function(t){t.preventDefault();var e=jQuery(this);e.hide(),e.parent().find(".um-activity-commentload-spin").show();var i=e.attr("data-loaded"),a=e.parents(".um-activity-widget").attr("id").replace("postid-","");return e.parents(".um-activity-comments").find(".um-activity-commentload-end").remove(),jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_load_more_comments",post_id:a,offset:i,nonce:um_scripts.nonce},success:function(t){e.before(t),e.attr("data-loaded",e.parents(".um-activity-comments").find(".um-activity-commentl:not(.is-child):not(.um-activity-comment-area):visible").length),e.parent().find(".um-activity-commentload-spin").hide(),e.parents(".um-activity-comments").find(".um-activity-commentload-end").length?e.show().find("span").html(e.attr("data-load_comments")):e.remove()}}),!1})),jQuery(document.body).on("click",".um-activity-ccommentload",(function(t){t.preventDefault();var e=jQuery(this);e.hide(),e.parent().find(".um-activity-ccommentload-spin").show();var i=e.attr("data-loaded"),a=e.parents(".um-activity-widget").attr("id").replace("postid-",""),n=e.parents(".um-activity-commentwrap").attr("data-comment_id");return e.parents(".um-activity-comments").find(".um-activity-ccommentload-end").remove(),jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_load_more_replies",post_id:a,comment_id:n,offset:i,nonce:um_scripts.nonce},success:function(t){e.before(t),e.attr("data-loaded",e.parents(".um-activity-commentwrap").find(".um-activity-commentl.is-child:not(.um-activity-comment-area):visible").length),e.parent().find(".um-activity-ccommentload-spin").hide(),e.parents(".um-activity-commentwrap").find(".um-activity-ccommentload-end").length&&e.show().find("span").html(e.attr("data-load_replies"))}}),!1})),jQuery(document.body).on("click",".um-activity-comment-like:not(.active)",(function(t){if(t.preventDefault(),!jQuery(this).parents(".um-activity-commentl").hasClass("unready")){var e=jQuery(this).parents(".um-activity-commentl").attr("id").replace("commentid-",""),i=jQuery(this).parents(".um-activity-commentl").find(".um-activity-ajaxdata-commentlikes"),a=parseInt(i.html())+1;i.html(a),jQuery(this).parents(".um-activity-commentl").find(".um-activity-comment-likes").removeClass().addClass("um-activity-comment-likes").addClass("count-"+a),jQuery(this).addClass("active"),jQuery(this).html(jQuery(this).attr("data-unlike_text")),jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_activity_like_comment",commentid:e,nonce:um_scripts.nonce},success:function(t){}})}return!1})),jQuery(document.body).on("click",".um-activity-comment-like.active",(function(t){t.preventDefault();var e=jQuery(this).parents(".um-activity-commentl").attr("id").replace("commentid-",""),i=jQuery(this).parents(".um-activity-commentl").find(".um-activity-ajaxdata-commentlikes"),a=parseInt(i.html())-1;return i.html(a),jQuery(this).parents(".um-activity-commentl").find(".um-activity-comment-likes").removeClass().addClass("um-activity-comment-likes").addClass("count-"+a),jQuery(this).removeClass("active"),jQuery(this).html(jQuery(this).attr("data-like_text")),jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_activity_unlike_comment",commentid:e,nonce:um_scripts.nonce},success:function(t){}}
1),!1})),jQuery(document.body).on("click",".um-activity-like:not(.active) a",(function(t){if(t.preventDefault(),!jQuery(this).parents(".um-activity-widget").hasClass("unready")){var e=jQuery(this).parents(".um-activity-widget").attr("id").replace("postid-","");jQuery(this).find("i").addClass("um-effect-pop"),jQuery(this).parent().addClass("active"),jQuery(this).find("span").html(jQuery(this).parent().attr("data-unlike_text")),jQuery(this).find("i").addClass("um-active-color");var i=jQuery(this).parents(".um-activity-widget").find(".um-activity-post-likes");i.html(parseInt(i.html())+1),jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_activity_like_post",postid:e,nonce:um_scripts.nonce},success:function(t){}})}return!1})),jQuery(document.body).on("click",".um-activity-like.active a",(function(t){t.preventDefault();var e=jQuery(this).parents(".um-activity-widget").attr("id").replace("postid-","");jQuery(this).find("i").removeClass("um-effect-pop"),jQuery(this).parent().removeClass("active"),jQuery(this).find("span").html(jQuery(this).parent().attr("data-like_text")),jQuery(this).find("i").removeClass("um-active-color");var i=jQuery(this).parents(".um-activity-widget").find(".um-activity-post-likes");return i.html(parseInt(i.html())-1),jQuery.ajax({url:wp.ajax.settings.url,type:"post",dataType:"json",data:{action:"um_activity_unlike_post",postid:e,nonce:um_scripts.nonce},success:function(t){}}),!1})),jQuery(document.body).on("click",".um-activity-show-likes",(function(t){t.preventDefault(),el=jQuery(this);var e=el.attr("data-post_id");return parseInt(el.find(".um-activity-post-likes").html())<=0||(prepare_Modal(),jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_get_post_likes",post_id:e,nonce:um_scripts.nonce},success:function(t){t?(show_Modal(t),responsive_Modal()):remove_Modal()}})),!1})),jQuery(document.body).on("click",".um-activity-comment-likes",(function(t){t.preventDefault(),el=jQuery(this);var e=el.parent().parent().parent().attr("id").replace("commentid-","");return prepare_Modal(),jQuery.ajax({url:wp.ajax.settings.url,type:"post",data:{action:"um_activity_get_comment_likes",comment_id:e,nonce:um_scripts.nonce},success:function(t){t?(show_Modal(t),responsive_Modal()):remove_Modal()}}),!1})),jQuery(document.body).on("click",".um-activity-modal-hide",(function(){remove_Modal()}))}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.