PageSourceSearch

https://brownsboard.com/assets/modules/composer-preview.67723a8b69cafb030904.min.js

js brownsboard.com collected 2026-10-09 22:43:13 UTC 2,002 bytes, 1 lines download raw bytes

1(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[6232],{9596(d,p,a){d.exports=a(2590)},2590(d,p,a){"use strict";var v,f;v=[a(1749)],f=(function(_){const n={};return n.render=function(i,t){if(t=t||function(){},!i.find(".preview-container").is(":visible"))return t();const l=i.find("textarea");socket.emit("plugins.composer.renderPreview",l.val(),function(s,o){s||(o=$("<div>"+o+"</div>"),o.find("img:not(.not-responsive)").addClass("img-fluid"),i.find(".preview").html(o),_.fire("action:composer.preview",{postContainer:i,preview:o}),t())})},n.matchScroll=function(i){if(!i.find(".preview-container").is(":visible"))return;const t=i.find("textarea"),l=i.find(".preview");if(t.length&&l.length){const s=t[0].scrollHeight-t.height();if(s===0)return;const o=t.scrollTop()/s;l.scrollTop(Math.max(l[0].scrollHeight-l.height(),0)*o)}},n.handleToggler=function(i){const t=i.get(0);n.env=utils.findBootstrapEnvironment();const l=["xs","sm"].includes(n.env),s=t.querySelector('.formatting-bar [data-action="preview"]'),o=s.querySelector(".show-text"),x=s.querySelector(".hide-text"),m=localStorage.getItem("composer:previewToggled"),h=config["composer-default"]&&config["composer-default"].hidePreviewOnOpen==="on";let g=!l&&(m===null&&!h||m==="true");const c=t.querySelector(".preview-container"),r=t.querySelector(".write-container");if(!s)return;function u(e){["xs","sm"].includes(n.env)?(c.classList.toggle("hide",!1),r.classList.toggle("maximized",!1),c.classList.toggle("d-none",!e),c.classList.toggle("d-flex",e),c.classList.toggle("w-100",e),r.classList.toggle("d-flex",!e),r.classList.toggle("d-none",e),r.classList.toggle("w-100",!e)):(c.classList.toggle("hide",!e),r.classList.toggle("w-50",e),r.classList.toggle("w-100",!e),localStorage.setItem("composer:previewToggled",e)),o.classList.toggle("hide",e),x.classList.toggle("hide",!e),e&&n.render(i),n.matchScroll(i)}n.toggle=u,s.addEventListener("click",e=>{e.button===0&&(g=!g,u(g))}),u(g)},n}).apply(p,v),f!==void 0&&(d.exports=f)}}]);

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.