CoreFiles by mySites.guru
debug.min.js4 lines, 1,174 bytes, from Joomla_6.2.0-Stable-Full_Package.zip
Raw History Compare with 6.1.4
md5
245553425516f243238cd5e234c1f4b4
sha1
590313aac7123e913ee67012391f29032f086379
sha256
d3a2640b1a1ba659f6a85b360580ebe3ed14be3f5e2de17ca7fe8318b32bba6e
/**
 * @copyright  (C) 2022 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */((n,r)=>{if(!n)throw new Error("core.js was not properly initialised");n.finderIndexer=()=>{const a="index.php?option=com_finder&task=indexer.debug&tmpl=component&format=json",i=`&${r.getElementById("finder-indexer-token").getAttribute("name")}=1`;n.debugIndexing=()=>{const c=new URLSearchParams(Array.from(new FormData(r.getElementById("debug-form")))).toString(),o=e=>{try{return JSON.parse(e).message||e}catch{return e}};n.request({url:`${a}${i}&${c}`,method:"GET",data:"",perform:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},onSuccess:e=>{const t=r.getElementById("indexer-output"),s={fieldset:[],legend:[],dl:["class"],dt:["class"],dd:["class"]};try{const d=JSON.parse(e);if(d.error){t.textContent=o(e);return}t.innerHTML=n.sanitizeHtml(d.rendered,s)}catch{t.innerHTML=n.sanitizeHtml(e,s)}},onError:e=>{const t=r.getElementById("indexer-output");t.textContent=o(e.response)}})}}})(Joomla,document),document.addEventListener("DOMContentLoaded",()=>{window.Indexer=Joomla.finderIndexer()});

The same content is in 29 releases, Joomla 5.4.7-rc1 to 6.3.0-alpha1. See them all, or every version of this file.