PageSourceSearch

https://iprice.store/wa-data/public/blog/themes/mastershop_premium/mastershop.blog.min.js?v1.3.1.1790586492

js iprice.store collected 2026-09-28 09:08:55 UTC 3,372 bytes, 1 lines download raw bytes

1$(function(){$.blog_utils.highlight("#post-stream");var e=function(e,a,r){t(),$(".comment-form").find("input[name=parent]").val(a);var n=$(".comment-form").show().insertAfter(e).find("[name=text]").val("");r&&n.focus()},t=function(e){var t=$(".comment-form");t.find(".errormsg").remove(),t.find(".error").removeClass("error"),t.find(".wa-captcha-refresh").click(),e&&t.find("textarea").val("")};$(".comment-reply").live("click",function(){var t=$(this).parents(".comment"),a=t.length?parseInt($(t).attr("id").replace(/^[\D]+/,"")):0;return e($(this).parent(),a,!1),$(".comment").removeClass("in-reply-to"),t.addClass("in-reply-to"),!1}),$(".js-add-comment-btn").on("click",function(){return e(".comments",0),!1}),$(".comment-form input:submit").click(function(){var a=$(this);a.attr("disabled",!0).next().removeClass("display-none");var r=$(".comment-form"),n=$(".comment-form form");return $.post(n.attr("action")+"?json=1",n.serialize(),function(n){if(a.attr("disabled",!1).next().addClass("display-none"),n.status&&"ok"==n.status&&n.data.redirect)return window.location.replace(n.data.redirect),void(window.location.href=n.data.redirect);if(n.status&&"ok"==n.status&&n.data){var i,o=$(n.data.template),s=n.data.count_str;r.prev().is(".comments")?i=r.prev(".comments").children("ul"):(i=r.parent(),i.next("ul").size()||i.after("<ul></ul>"),i=i.next("ul")),i.append($("<li />").append(o)),e(".comments",0),n.data.comment_id&&$("#comment-"+n.data.comment_id).addClass("new"),$(".not-comment").remove(),$(".comment").removeClass("in-reply-to"),$(".comment-count").show().html(s),o.trigger("plugin.comment_add"),t(!0)}else if(n.status&&"fail"==n.status){t();var m=n.errors;$(m).each(function(e){var t=this;for(name in t){$(".comment-form form").find("[name="+name+"]").after($('<em class="errormsg"></em>').text(t[name])).addClass("error")}})}else t(!1)},"json").error(function(){t(!1)}),!1});var a="guest",r=$("ul#user-auth-provider li.selected");r.length?a=r.attr("data-provider")||a:(r=$("#user-auth-provider, .js-user-auth-provider"),r.length&&(a=r.attr("data-provider")||a)),a&&($(".tab").hide(),"signup"==a?$(".comment-submit, .comment-body").hide():$(".comment-submit, .comment-body").show(),$("div.tab[data-provider='"+a+"']").show(),$("input[name=auth_provider]").val(a),"guest"==a?$(".wa-captcha").show():$(".wa-captcha").hide()),$("ul#user-auth-provider li.selected a, ul#user-auth-provider li:eq(0) a").click(function(){if($(this).parent().hasClass("selected"))return!1;var e=$(this).parent().attr("data-provider");return $(this).parent().addClass("selected").siblings().removeClass("selected"),$(".tab").hide(),$("div.tab[data-provider='"+e+"']").show(),"guest"==e?$(".wa-captcha").show():$(".wa-captcha").hide(),"signup"==e?$(".comment-submit, .comment-body").hide():$(".comment-submit, .comment-body").show(),$("input[name=auth_provider]").val(e),!1})}),$.blog_utils={query:"",init:function(){if(-1!==location.href.indexOf("?"))for(var e=location.href.indexOf("?"),t=location.href.slice(e+1).split("&"),a=0;a<t.length;a+=1)if(-1!==t[a].indexOf("query=")){this.query=t[a].slice(t[a].indexOf("query=")+6);break}},highlight:function(e){this.query&&$(e).find(".search-match").find("h3 a, p").each(function(){var e=$
1(this).html();e=e.replace(new RegExp("("+$.blog_utils.query+")","i"),'<span class="highlighted">$1</span>'),$(this).html(e)})}},$.blog_utils.init();

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.