Spade

Mini Shell

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

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla5/media/system/js/modal-content-select.min.js

function _extends(){return
_extends=Object.assign?Object.assign.bind():function(t){for(var
e=1;e<arguments.length;e++){var n=arguments[e];for(var s in
n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return
t},_extends.apply(this,arguments)}/**
 * @copyright  (C) 2023 Open Source Matters, Inc.
<https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see
LICENSE.txt
 */const
send=t=>{t.messageType=t.messageType||"joomla:content-select",window.parent.postMessage(t)};document.addEventListener("click",t=>{const
e=t.target.closest("[data-content-select]");if(!e)return;t.preventDefault();const
n=_extends({},e.dataset);delete
n.contentSelect,send(n)}),window.addEventListener("load",()=>{const
t=Joomla.getOptions("content-select-on-load");t&&send(t)});