PageSourceSearch

https://www.arkona-russia.com/wp-content/plugins/wolf-custom-post-meta/assets/js/wcpm.min.js?ver=1.0.1

js arkona-russia.com collected 2026-10-02 12:48:56 UTC 1,716 bytes, 24 lines download raw bytes

1/*! Wolf Custom Post Meta Wordpress Plugin v1.0.1 */ 
2/*!
3 * Wolf Custom Post Meta 1.0.1
4 */
5/* jshint -W062 */
6/* global WolfCustomPostMetaJSParams, Cookies */
7var WolfCustomPostMeta=function(a){"use strict";return{/**
8		 * Init UI
9		 */
10init:function(){this.views(),this.likes()},/**
11		 * Increment views meta count
12		 */
13views:function(){if(a("body").hasClass("single")){var b=a('[id^="post-"]'),c=this.getPostId(b),d={action:"wolf_custom_post_meta_ajax_increment_views",postId:c};a.post(WolfCustomPostMetaJSParams.ajaxUrl,d,function(){})}},/**
14		 * Check liked
15		 *
16		 * Verify if a post has already been liked using cookies.
17		 */
18checkLikedPosts:function(){var b,c=this,d=a('[id^="post-"]');d.each(function(){b=c.getPostId(a(this)),Cookies.get(WolfCustomPostMetaJSParams.themeSlug+"-w-likes-"+b)&&a(this).find(".wolf-like-this").addClass("wolf-liked")})},/**
19		 * Increment likes meta count
20		 */
21likes:function(b){var c;this.checkLikedPosts(),a(document).on("click",".wolf-like-this",function(d){if(d.preventDefault(),c=a(this),b=a(this).data("post-id"),!a(this).hasClass("wolf-liked")&&!Cookies.get(WolfCustomPostMetaJSParams.themeSlug+"-w-likes-"+b)){var e={action:"wolf_custom_post_meta_ajax_increment_likes",postId:b};c.addClass("wolf-liked"),a.post(WolfCustomPostMetaJSParams.ajaxUrl,e,function(a){a&&(Cookies.set(WolfCustomPostMetaJSParams.themeSlug+"-w-likes-"+b,!0),c.find(".wolf-likes-count").length&&c.find(".wolf-likes-count").html(a))})}})},/**
22		 * Get post ID
23		 */
24getPostId:function(a){var b;return a.data("post-id")?b=a.data("post-id"):a.attr("id")&&(b=a.attr("id").replace("post-","")),b}}}(jQuery);!function(a){"use strict";a(document).ready(function(){WolfCustomPostMeta.init()})}(jQuery);

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.