PageSourceSearch

https://brownsboard.com/assets/admin/plugins-emoji.aa96f09bb37e9f5cdddb.min.js

js brownsboard.com collected 2026-10-09 22:40:43 UTC 5,159 bytes, 1 lines download raw bytes

1(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[896,1091,2067,3602,4271,7212,8314,9127,9897],{6246(_,g,o){_.exports=o(3402)},9897(_,g,o){"use strict";o.r(g),o.d(g,{del:()=>x,get:()=>I,head:()=>t,patch:()=>f,post:()=>n,put:()=>E});var u=o(1749),h=o.n(u),i=o(5303),c=o(7459),a=o.n(c),m=o(8636),v=o.n(m);const D=config.relative_path+"/api/v3";async function w(e,s){if(e.url=e.url.startsWith("/api")?config.relative_path+e.url:D+e.url,e.headers=e.headers||{},e.headers["x-return-to"]||(e.headers["x-return-to"]=`${window.location.pathname.slice(config.relative_path.length)}${window.location.search}`),typeof s=="function"){y(e).then(r=>s(null,r),r=>s(r));return}try{return await y(e)}catch(r){if(r.status===401){const{url:l}=await(0,u.fire)("filter:admin.reauth",{url:"login"}),P=await c.translate("[[error:api.reauth-required]]",config.userLang);(0,i.confirm)(P,O=>{O&&(m.setItem("location-hash",window.location.hash),ajaxify.go(l))})}throw r}}async function y(e){const{url:s}=e;delete e.url,e.data&&!(e.data instanceof FormData)&&(e.data=JSON.stringify(e.data||{}),e.headers["content-type"]="application/json; charset=utf-8"),{options:e}=await(0,u.fire)("filter:api.options",{options:e}),e.data&&(e.body=e.data,delete e.data);const r=await fetch(s,e),{headers:l}=r;if(l.get("x-redirect"))return y({url:l.get("x-redirect"),...e});const P=l.get("content-type"),O=P&&P.startsWith("application/json");let d;if(e.method!=="HEAD"&&(O?d=await r.json():d=await r.text()),!r.ok){let L=r.statusText;if(d){const C=O&&(d.status?.message||d.error||""),p=typeof d=="string"?d:r.statusText||`[[error:api.${r.status}]]`;L=O&&C?C:p}const T=new Error(L);throw T.status=r.status,T}return O&&d&&d.hasOwnProperty("status")&&d.hasOwnProperty("response")?d.response:d}function I(e,s,r){return w({url:e+(s&&Object.keys(s).length?"?"+$.param(s):"")},r)}function t(e,s,r){return w({url:e+(s&&Object.keys(s).length?"?"+$.param(s):""),method:"HEAD"},r)}function n(e,s,r,l){return M("POST",e,s,r,l)}function f(e,s,r,l){return M("PATCH",e,s,r,l)}function E(e,s,r,l){return M("PUT",e,s,r,l)}function x(e,s,r,l){return M("DELETE",e,s,r,l)}function M(e,s,r,l,P){return typeof l=="function"&&(P=l,l={}),w({url:s,method:e,data:r,headers:{"x-csrf-token":config.csrf_token,...l}},P)}},6243(_,g,o){_.exports=o(460)},5303(_,g,o){"use strict";o.r(g),o.d(g,{alert:()=>m,confirm:()=>v,dialog:()=>a,prompt:()=>D,promptPassword:()=>w});var u=o(3530),h=o.n(u),i=o(7459),c=o.n(i);u.setDefaults({locale:config.userLang}),i.translateKeys(["modules:bootbox.ok","modules:bootbox.cancel","modules:bootbox.confirm"]).then(t=>{u.addLocale(config.userLang,{OK:t[0],CANCEL:t[1],CONFIRM:t[2]}),u.setLocale(config.userLang)});async function a(t){const[n,f,E]=await Promise.all([i.translate(t.title||""),y(t)||"",I(t.buttons)]);return u.dialog({...t,title:n,message:f,buttons:E})}async function m(t,n){const[f,E]=await Promise.all([t&&t.title?i.translate(t.title):null,y(t)]);return n=typeof n=="function"?n:t.callback,u.alert({...t,title:f,message:E,callback:n})}async function v(t,n){const[f,E]=await Promise.all([t&&t.title?i.translate(t.title):null,y(t)]);return n=typeof n=="function"?n:t.callback,u.confirm({...t,title:f,message:E,callback:n})}async function D(t,n){const[f,E]=await Promise.all([i.translate(typeof t=="string"?t:t.title),t&&t.message?y(t):null]);return n=typeof n=="function"?n:t.callback,u.prompt({...t,title:f,message:E,callback:n})}async function w(t){return typeof t=="string"&&(t={title:t}),t=t||{title:"[[user:current-password]]",message:"[[user:emailUpdate.password-challenge]]"},await new Promise(n=>{D({...t,inputType:"password",required:!0,value:"",callback:n})})}function y(t){const n=t&&t.message?t.message:t;return n instanceof jQuery?n:i.translate(n||"")}async function I(t){if(!Object.keys(t||{}).length)return;const n=Object.values(t);return await Promise.all(n.map(async f=>({...f,label:await i.translateKey(f.label)})))}},8636(_,g,o){"use strict";var u;u=(function(){function h(){this._store={},this._keys=[]}h.prototype.isMock=!0,h.prototype.setItem=function(a,m){a=String(a),this._keys.indexOf(a)===-1&&this._keys.push(a),this._store[a]=m},h.prototype.getItem=function(a){return a=String(a),this._keys.indexOf(a)===-1?null:this._store[a]},h.prototype.removeItem=function(a){a=String(a),this._keys=this._keys.filter(function(m){return m!==a}),this._store[a]=null},h.prototype.clear=function(){this._keys=[],this._store={}},h.prototype.key=function(a){return a=parseInt(a,10)||0,this._keys[a]},Object.defineProperty&&Object.defineProperty(h.prototype,"length",{get:function(){return this._keys.length}});let i;const c=Date.now().toString();try{if(i=window.localStorage,i.setItem(c,c),i.getItem(c)!==c)throw Error("localStorage behaved unexpectedly");return i.removeItem(c),i}
1catch(a){console.warn(a),console.warn("localStorage failed, falling back on sessionStorage");try{if(i=window.sessionStorage,i.setItem(c,c),i.getItem(c)!==c)throw Error("sessionStorage behaved unexpectedly");return i.removeItem(c),i}catch(m){return console.warn(m),console.warn("sessionStorage failed, falling back on memory storage"),new h}}}).call(g,o,g,_),u!==void 0&&(_.exports=u)}}]);

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.