PageSourceSearch

https://mistarg.cn/assets/modules/share.c36e3163c29bfb93d780.min.js

js mistarg.cn collected 2026-10-06 13:19:31 UTC 2,245 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[57490],{24962(f,m,d){var l,i;l=[d(91749),d(17459)],i=(function(h,a){const u={};u.addShareHandlers=function(r){function o(t,n,c,p){return window.open(t,"_blank","width="+c+",height="+p+",scrollbars=no,status=no"),h.fire("action:share.open",{url:t,urlToPost:n}),!1}$("#content").off("shown.bs.dropdown",".share-dropdown").on("shown.bs.dropdown",".share-dropdown",function(){const t=$(this).find(".post-link");t.val(s($(this))),setTimeout(function(){t.putCursorAtEnd().select()},50)}),e(".post-link",function(t){return t.preventDefault(),!1}),e('[component="share/twitter"]',function(){const t=s($(this)),n=`https://twitter.com/intent/tweet?text=${encodeURIComponent(r)}&url=${encodeURIComponent(t)}`;return o(n,t,550,420)}),e('[component="share/facebook"]',function(){const t=s($(this)),n=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(t)}`;return o(n,t,626,436)}),e('[component="share/whatsapp"]',function(){const t=s($(this)),n=encodeURIComponent(r)+" - "+encodeURIComponent(t),c=config.useragent.isMobile?`whatsapp://send?text=${n}`:`https://wa.me/?text=${n}`;return o(c,t,626,436)}),e('[component="share/telegram"]',function(){const t=s($(this)),n=`https://t.me/share/url?text=${encodeURIComponent(r)}&url=${encodeURIComponent(t)}`;return o(n,t,626,436)}),e('[component="share/linkedin"]',function(){const t=s($(this)),n=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(t)}`;return o(n,t,626,436)}),e('[component="share/mastodon"]',function(){const t=s($(this)),n=`https://share.joinmastodon.org/#text=${encodeURIComponent(t)}`;return o(n,t,626,760)}),e('[component="share/email"]',async function(){const t=s($(this)),[n,c]=await a.translateKeys([a.compile("topic:share-mail-subject",config.siteTitle),a.compile("topic:share-mail-body",t)]),p=`mailto:?subject=${encodeURIComponent(n)}&body=${encodeURIComponent(c)}`;window.location.href=p}),h.fire("action:share.addHandlers",{openShare:o})};function e(r,o){$("#content").off("click",r).on("click",r,o)}function s(r){const o=r.parents("[data-pid]").attr("data-pid");return o?`${config.url}/post/${o}`:window.location.href}return u}).apply(m,l),i!==void 0&&(f.exports=i)}}]);

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.