CoreFiles by mySites.guru
joomla-hidden-mail.min.js1 lines, 1,084 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
f7fe28a8372cf48075dcb6a6a90a3a14
sha1
033f022930c140bd7344c03fb7fefa48ec4d5096
sha256
4e14fe84b2fe25b9e84b64b93e2368424792763ca2dc60187ca6e937ed2d1327
"use strict";customElements.define("joomla-hidden-mail",class extends HTMLElement{connectedCallback(){let a,b=this.getAttribute("base")+"/";if("1"===this.getAttribute("is-link")){a=document.createElement("a"),a.setAttribute("href","mailto:"+this.b64DecodeUnicode(this.getAttribute("first"))+"@"+this.b64DecodeUnicode(this.getAttribute("last")));for(let b=0,c=this.attributes.length;b<c;++b){const c=this.attributes.item(b).nodeName;if(c){if(-1<["is-link","is-email","first","last","text"].indexOf(c))continue;const d=this.attributes.item(b).nodeValue;a.setAttribute(c,d)}}}else a=document.createElement("span");if(this.getAttribute("text")){let c=this.b64DecodeUnicode(this.getAttribute("text"));c=c.replace("src=\"images/",`src="${b}images/`).replace("src=\"media/",`src="${b}media/`),a.innerHTML=c}else a.innerText=window.atob(this.getAttribute("first"))+"@"+window.atob(this.getAttribute("last"));this.innerText="",this.appendChild(a)}b64DecodeUnicode(a){return decodeURIComponent(Array.prototype.map.call(atob(a),a=>"%"+("00"+a.charCodeAt(0).toString(16)).slice(-2)).join(""))}});

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