- md5
- 0b49317c3a57aa4b6b537c5c7edbd1b8
- sha1
- 22713f90f83f21e3bac7329ce52cefdbeec62bfc
- sha256
- b8e2440651b461670c113868cf4401cb1c272124492a6bc291d808c1cab7c863
Joomla=window.Joomla||{},function(a,b){"use strict";var c=function(a){var c=b.getElementById("system-message-container"),d=c.querySelector(".js-pstats-alert"),e=c.querySelector(".js-pstats-data-details");b.addEventListener("click",function(a){a.target.classList.contains("js-pstats-btn-details")&&(a.preventDefault(),e.classList.toggle("d-none"))}),b.addEventListener("click",function(b){b.target.classList.contains("js-pstats-btn-allow-always")&&(b.preventDefault(),d.close(),a({plugin:"sendAlways"}))}),b.addEventListener("click",function(b){b.target.classList.contains("js-pstats-btn-allow-once")&&(b.preventDefault(),d.close(),a({plugin:"sendOnce"}))}),b.addEventListener("click",function(b){b.target.classList.contains("js-pstats-btn-allow-never")&&(b.preventDefault(),d.close(),a({plugin:"sendNever"}))})},d=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},f=e.plugin,g=void 0===f?"sendStats":f,h="index.php?option=com_ajax&group=system&plugin=".concat(g,"&format=raw"),i=b.getElementById("system-message-container");a.request({url:h,headers:{"Content-Type":"application/json"},onSuccess:function b(a){try{var e=JSON.parse(a);e&&e.html&&(i.innerHTML=e.html,i.querySelector(".js-pstats-alert").style.display="block",c(d))}catch(a){throw new Error(a)}},onError:function c(b){a.renderMessages({error:[b.response]})}})};b.addEventListener("DOMContentLoaded",function(){d()})}(Joomla,document);
No other release has this exact content. See every version of this file.