Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla5/media/com_finder/js/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla5/media/com_finder/js/debug.min.js

/**
 * @copyright  (C) 2022 Open Source Matters, Inc.
<https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see
LICENSE.txt
 */((e,n)=>{if(!e)throw new Error("core.js was not properly
initialised");e.finderIndexer=()=>{const
d="index.php?option=com_finder&task=indexer.debug&tmpl=component&format=json",i=`&${n.getElementById("finder-indexer-token").getAttribute("name")}=1`;e.debugIndexing=()=>{const
a=new URLSearchParams(Array.from(new
FormData(n.getElementById("debug-form")))).toString();e.request({url:`${d}${i}&${a}`,method:"GET",data:"",perform:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},onSuccess:t=>{const
r=n.getElementById("indexer-output");try{const
o=JSON.parse(t);r.innerHTML=o.rendered}catch{r.innerHTML=t}},onError:t=>{const
r=n.getElementById("indexer-output");r.innerHTML=t.response}})}}})(Joomla,document),document.addEventListener("DOMContentLoaded",()=>{window.Indexer=Joomla.finderIndexer()});