PageSourceSearch

https://bmw-forum.de/js/channel-rollup-575.js

js bmw-forum.de collected 2026-10-04 03:31:59 UTC 5,050 bytes, 25 lines download raw bytes

1/*
2 =======================================================================*\
3|| ###################################################################### ||
4|| # vBulletin 5.7.5 Patch Level 3
5|| # ------------------------------------------------------------------ # ||
6|| # Copyright 2000-2025 MH Sub I, LLC dba vBulletin. All Rights Reserved.  # ||
7|| # This file may not be redistributed in whole or significant part.   # ||
8|| # ----------------- VBULLETIN IS NOT FREE SOFTWARE ----------------- # ||
9|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html   # ||
10|| ###################################################################### ||
11\*========================================================================*/
12// ***************************
13// js.compressed/subscribe.js
14// ***************************
15vBulletin.precache(["follow","following","following_pending","social_group_count_members_x","unsubscribe_overlay_error"],[]);
16(function(){function h(a,b){a=$(".js-replace-member-count-"+a);a.length&&a.each(function(){var c=$(this),d=c.data("replace-phrase-varname"),k=parseInt(c.data("member-count"),10)+b;c.text(vBulletin.phrase.get(d,k));c.data("member-count",k)})}vBulletin.subscribe={};var g=function(a,b){a.children(".js-button__text-primary").text(vBulletin.phrase.get(b))},e=function(a,b,c,d){g(a,b);a.addClass((c||"")+" b-button--special").removeClass((d||"")+" b-button--secondary")},f=function(a,b,c,d){g(a,b);a.addClass((c||
17"")+" b-button--secondary").removeClass((d||"")+" b-button--special")},l=function(a,b,c){vBulletin.AJAX({call:b,data:c,success:function(d){!isNaN(d)&&1<=d?1==d?e(a,"following","isSubscribed"):e(a,"following_pending","is-pending"):vBulletin.error("follow","follow_error")},title_phrase:"follow",error_phrase:"follow_error"})},m=function(a){var b=$(a),c=parseInt(b.attr("data-node-id"),10);a=parseInt(b.attr("data-owner-id"),10);vBulletin.AJAX({call:"/ajax/api/node/requestChannel",data:{channelid:c,recipient:a,
18requestType:"sg_member"},success:function(d){!0===d?(e(b,"joined","has-joined"),h(c,1),(b.hasClass("join-to-post-btn")||b.hasClass("js-refresh"))&&window.location.reload()):isNaN(d)||e(b,"following_pending","is-pending")},title_phrase:"join",error_phrase:"join_error"})},n=function(a){var b=$(a),c=parseInt($(a).attr("data-node-id"),10);vBulletin.AJAX({call:"/ajax/api/blog/leaveChannel",data:{channelId:c},success:function(d){!0===d?(b.hasClass("js-button--follow")?(g(b,"follow"),b.addClass("b-button--special").removeClass("isSubscribed b-button--unfollow")):
19(g(b,"join"),b.removeClass("has-joined b-button--special leave-btn")),h(c,-1),b.is(".js-no-refresh")||location.reload()):vBulletin.error("leave","invalid_server_response_please_try_again")},title_phrase:"leave",error_phrase:"invalid_server_response_please_try_again"})},p=function(a){var b=$(a);a=$(a).attr("data-node-id");vBulletin.AJAX({call:"/ajax/api/follow/delete",data:{follow_item:a,type:"follow_contents"},success:function(c){1==c?f(b,"follow","","isSubscribed b-button--unfollow"):vBulletin.error("follow",
20"unfollow_error")},title_phrase:"follow",error_phrase:"unfollow_error"})};vBulletin.subscribe.updateSubscribeButton=function(a){if("undefined"!=typeof a){var b=$(".js-button--follow").filter(function(){return $(this).data("node-id")==pageData.nodeid&&pageData.nodeid!=pageData.channelid});switch(a){case 0:f(b,"follow","","isSubscribed b-button--unfollow");break;case 1:f(b,"following","isSubscribed");break;case 2:f(b,"following_pending","is-pending")}}};$(".js-button--follow").on("click",function(a){if($(this).hasClass("isSubscribed"))$(this).hasClass("b-button--unfollow")&&
21($(this).hasClass("is-blog-channel")?n(this):p(this));else if(a=$(this),!a.hasClass("isSubscribed")&&!a.hasClass("is-pending")){var b=parseInt(a.attr("data-node-id"),10),c={};a.hasClass("is-topic")?(c.follow_item=b,c.type="follow_contents",l(a,"/ajax/api/follow/add",c)):(c={},c.channelid=b,c.recipient=parseInt(a.attr("data-owner-id"),10),a.hasClass("is-blog-channel")?c.requestType="member":a.hasClass("is-sg-channel")?c.requestType="sg_subscriber":c.requestType="subscriber",l(a,"/ajax/api/node/requestChannel",
22c))}});$(".js-button--follow").on("mouseover",function(a){a=$(this);a.hasClass("isSubscribed")&&!a.hasClass("is-owner")&&f(a,"following_remove","b-button--unfollow")});$(".js-button--follow").on("mouseout",function(a){a=$(this);
22a.hasClass("b-button--unfollow")&&e(a,"following","","b-button--unfollow")});$(".join-to-post-btn").on("click",function(a){$(this).hasClass("has-joined")||$(this).hasClass("is-pending")||m(this)});$(document).on("click",".join-btn",function(a){$(this).hasClass("has-joined")||
23$(this).hasClass("is-pending")?$(this).hasClass("leave-btn")&&!$(this).hasClass("is-owner")&&n(this):m(this)});$(document).on("mouseover",".join-btn",function(a){a=$(this);a.hasClass("has-joined")&&!a.hasClass("is-owner")&&f(a,"leave","leave-btn")});$(document).on("mouseout",".join-btn",function(a){a=$(this);a.hasClass("leave-btn")&&!a.hasClass("is-owner")&&e(a,"joined","","leave-btn")})})();
24;
25

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.