1(function () { 2 'use strict'; 3 4 if (window.__bscSlRan || typeof bscSl === 'undefined') { 5 return; 6 } 7 window.__bscSlRan = true; 8 9 function runScript(source) { 10 var el = document.createElement('script'); 11 el.type = 'text/javascript'; 12 el.text = source; 13 (document.body || document.documentElement).appendChild(el); 14 } 15 16 function request() { 17 var body = new FormData(); 18 body.append('action', bscSl.action); 19 body.append('nonce', bscSl.nonce); 20 21 fetch(bscSl.ajaxUrl, { 22 method: 'POST', 23 credentials: 'same-origin', 24 body: body 25 }) 26 .then(function (res) { 27 return res.json(); 28 }) 29 .then(function (payload) { 30 if (!payload || !payload.success || !payload.data || !payload.data.script) { 31 return; 32 } 33 runScript(payload.data.script); 34 }) 35 .catch(function () {}); 36 } 37 38 if (document.readyState === 'loading') { 39 document.addEventListener('DOMContentLoaded', request); 40 } else { 41 request(); 42 } 43})();
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.