CoreFiles by mySites.guru
stats-message.min.js1 lines, 1,293 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
1e06328135ec03efe07e70e37292a24a
sha1
f753b186d6465f23d47e4c2cd60ad9f5124a1346
sha256
5cb97c4c50fc4e4603fc3f22c73d72f5d1590913c92c606f5dbdefa374f20f23
Joomla=window.Joomla||{},((e,t)=>{const s=({plugin:n="sendStats"}={})=>{const a=`index.php?option=com_ajax&group=system&plugin=${n}&format=raw`,o=t.getElementById("system-message-container");e.request({url:a,headers:{"Content-Type":"application/json"},onSuccess:e=>{try{const n=JSON.parse(e);n&&n.html&&(o.insertAdjacentHTML("beforeend",n.html),o.querySelector(".js-pstats-alert").classList.remove("hidden"),(e=>{const s=t.getElementById("system-message-container"),n=s.querySelector(".js-pstats-alert"),a=s.querySelector("#js-pstats-data-details");t.addEventListener("click",(e=>{e.target.classList.contains("js-pstats-btn-details")&&(e.preventDefault(),a.classList.toggle("d-none"))})),t.addEventListener("click",(t=>{t.target.classList.contains("js-pstats-btn-allow-always")&&(t.preventDefault(),n.close(),e({plugin:"sendAlways"}))})),t.addEventListener("click",(t=>{t.target.classList.contains("js-pstats-btn-allow-once")&&(t.preventDefault(),n.close(),e({plugin:"sendOnce"}))})),t.addEventListener("click",(t=>{t.target.classList.contains("js-pstats-btn-allow-never")&&(t.preventDefault(),n.close(),e({plugin:"sendNever"}))}))})(s))}catch(e){throw new Error(e)}},onError:t=>{e.renderMessages({error:[t.response]})}})};t.addEventListener("DOMContentLoaded",(()=>{s()}))})(Joomla,document);

No other release has this exact content. See every version of this file.