PageSourceSearch

https://mistarg.cn/assets/modules/postSelect.854ebe2c88090ca06d5b.min.js

js mistarg.cn collected 2026-10-06 13:18:35 UTC 1,192 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[38395],{16227(f,d,u){var i,s;i=[u(52473)],s=(function(r){const t={};let c;t.pids=[];let l=!1;t.init=function(e,n){t.pids.length=0,c=e,n=n||{},l=n.allowMainPostSelect||!1,$("#content").on("click",'[component="topic"] [component="post"]',p),g()};function p(e){e.stopPropagation();const n=$(this).attr("data-pid"),o=$('[component="topic"] [data-pid="'+n+'"]');!l&&parseInt($(this).attr("data-index"),10)===0||t.togglePostSelection(o,n)}t.disable=function(){t.pids.forEach(function(e){r.get("post","pid",e).toggleClass("selected",!1)}),$("#content").off("click",'[component="topic"] [component="post"]',p),_()},t.togglePostSelection=function(e,n){if(n){const o=t.pids.indexOf(n);o===-1?(t.pids.push(n),e.toggleClass("selected",!0)):(t.pids.splice(o,1),e.toggleClass("selected",!1)),t.pids.length&&t.pids.sort(function(k,b){return k-b}),typeof c=="function"&&c()}};function a(){return!1}function g(){$("#content").on("click",'[component="post"] button, [component="post"] a',a)}function _(){$("#content").off("click",'[component="post"] button, [component="post"] a',a)}return t}).apply(d,i),s!==void 0&&(f.exports=s)}}]);

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.