CoreFiles by mySites.guru
admin-system-loader.min.js4 lines, 1,260 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
d972b48c79bec35b19dc20bbb8ba3bb5
sha1
b2d1ac8205d56eec891e1ba751e9a0680d3bb6c0
sha256
9fdddf35b33e13121ef62ea47f7a32a7af287ac727015e0ddfbd6bf9d4efbf6d
/**
 * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */((r,t)=>{const a=()=>{window.removeEventListener("load",a);const c=[].slice.call(r.querySelectorAll(".system-counter"));c.length&&c.forEach(s=>{const o=s.getAttribute("data-url");o&&t&&t.request&&typeof t.request=="function"&&t.enqueueRequest({url:o,method:"POST",promise:!0}).then(d=>{const n=d.responseText;let i;try{i=JSON.parse(n)}catch{throw new Error("Failed to parse JSON")}if(i.error||!i.success)s.classList.remove("icon-spin"),s.classList.remove("icon-spinner"),s.classList.add("text-danger"),s.classList.add("icon-remove");else if(i.data){const e=r.createElement("span");e.classList.add("float-end"),e.classList.add("badge"),e.classList.add("bg-warning","text-dark"),e.innerHTML=t.sanitizeHtml(i.data),s.parentNode.replaceChild(e,s)}else s.classList.remove("icon-spin"),s.classList.remove("icon-spinner"),s.classList.add("icon-check"),s.classList.add("text-success")}).catch(()=>{s.classList.remove("icon-spin"),s.classList.remove("icon-spinner"),s.classList.add("text-danger"),s.classList.add("icon-remove")})})};window.addEventListener("load",()=>{setTimeout(a,300)})})(document,Joomla);

The same content is in 41 releases, Joomla 4.4.1-rc1 to 5.1.0-beta1. See them all, or every version of this file.