File manager - Edit - /home/opticamezl/www/newok/531c5/js.tar
Back
joomla-editor-none-es5.min.js.gz 0000644 00000002503 15172576704 0012515 0 ustar 00 � �UMs�6��W@<��3rN)��z�4;��i/��"R� K������/gz��o�4-�Bm e˨�@<:�0����;�4q�,Z\ n�?@a�H�:㽰XY�ѕ ���5N����,�!r �o�7�yk�mY�6 e�M�z����Ǻ���ju0�jV�P�k�il Q�ފ��A®�� �([�(��o���cTF�ՠ��f�Z�b��'�T�M:�[g_BD�J�:h4A�X����9�e^�S)��t�m��ﱦb�F����庙�;eNͻ�(;��a�Q�b� \q˖�ґTܛ2�&i\�>�eQ��r�&���I5L��2� s�����pXҌ�>g���mJ(¥��O`�v5�uS�:mf���I��&�ѽ����(��C�B��u`>����h7v-����C�ײ?[��Ѻy���!B˫�`J��5�z\�A��9;'����K笣�]Y�#�R8�>�Tz$�1G�@Bb���Up�2��qq&}�.E6q��ԗ���@s��й��i��6��v�쥎�5����O��4���ϝ��+kR=+[ߨ�/)pd�[R����!D���D�A �Z�5��dқ_�L�F������S���)ۊ<�$b녛����rB~S�X8=ːz���ٯ� C�l��k��s�Ũ�|�?~�n>��?�}�el��c �k�!�|��7����m9͵"W��\ͅ�a�Dp���˯w�1��r�n�Mb�*=ڧ��� �� ��ҧ�h���XQ'�-�a�[�hs/p= ��\5%V���1n Eq�K�`�=��l���F[��L��^�k�*�y�\d��@���g�wdM[#�?����.Q��ԃ{G{��y?�kQV��6�5_�W�c`-�X��i�{�'��QYc@!$2ϧR�+z%�\��q'�<qw�M��4���XU_�د���-�ˍS�JOߏk����K6�gm��P:ls�'���ݵNľ��Z���T~�ui��^j�0��f�"$A���ڬV��-�_�Z�=�������V��g@�h��ў�DY�@a� �>!�#69k�Q��T�<��N�k�.����+a��S+�+X�d�^�=+l ���A�~@�p�}�"��7��3�oldrc�E��ȥ��(�t�W��s"8��?���ڷG����Nxf�o�߆�Zs'���VU��{�+ �p�@��.������vۧ�"����1��W�?��h��܅�@�"BxA�@FGSg�����4�IĆþ�y���6�]+�����~��jQc�l��?�Zv�� joomla-editor-none-es5.min.js 0000644 00000006751 15172576704 0012107 0 ustar 00 (function(){"use strict";function p(n,r){n.prototype=Object.create(r.prototype),n.prototype.constructor=n,u(n,r)}function a(n){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},a(n)}function u(n,r){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(n,r)}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function l(n,r,i){return g()?l=Reflect.construct.bind():l=function(e,c,o){var f=[null];f.push.apply(f,c);var y=Function.bind.apply(e,f),h=new y;return o&&u(h,o.prototype),h},l.apply(null,arguments)}function b(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function s(n){var r=typeof Map=="function"?new Map:void 0;return s=function(t){if(t===null||!b(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return l(t,arguments,a(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u(e,t)},s(n)}function d(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}/** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */window.customElements.define("joomla-editor-none",function(n){p(r,n);function r(){var t;return t=n.call(this)||this,t.editor="",t.unregisterEditor=t.unregisterEditor.bind(d(t)),t.registerEditor=t.registerEditor.bind(d(t)),t.childrenChange=t.childrenChange.bind(d(t)),t.getSelection=t.getSelection.bind(d(t)),new MutationObserver(function(){return t.childrenChange()}).observe(d(t),{childList:!0}),t}var i=r.prototype;return i.connectedCallback=function(){this.childrenChange()},i.disconnectedCallback=function(){this.unregisterEditor()},i.getSelection=function(){return document.selection?(this.editor.focus(),document.selection.createRange()):this.editor.selectionStart||this.editor.selectionStart===0?this.editor.value.substring(this.editor.selectionStart,this.editor.selectionEnd):this.editor.value},i.registerEditor=function(){var e=this;if(!window.Joomla||!window.Joomla.editors||typeof window.Joomla.editors!="object")throw new Error("The Joomla API is not correctly registered.");window.Joomla.editors.instances[this.editor.id]={id:function(){return e.editor.id},element:function(){return e.editor},getValue:function(){return e.editor.value},setValue:function(o){return e.editor.value=o},getSelection:function(){return e.getSelection()},disable:function(o){e.editor.disabled=o,e.editor.readOnly=o},replaceSelection:function(o){e.editor.selectionStart||e.editor.selectionStart===0?e.editor.value=e.editor.value.substring(0,e.editor.selectionStart)+o+e.editor.value.substring(e.editor.selectionEnd,e.editor.value.length):e.editor.value+=o},onSave:function(){}}},i.unregisterEditor=function(){this.editor&&delete window.Joomla.editors.instances[this.editor.id]},i.childrenChange=function(){this.firstElementChild&&this.firstElementChild.tagName&&this.firstElementChild.tagName.toLowerCase()==="textarea"&&this.firstElementChild.getAttribute("id")&&(this.editor=this.firstElementChild,this.unregisterEditor(),this.registerEditor())},r}(s(HTMLElement)))})(); joomla-editor-none-es5.js 0000644 00000016207 15172576704 0011322 0 ustar 00 (function () { 'use strict'; function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); } function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ window.customElements.define('joomla-editor-none', /*#__PURE__*/function (_HTMLElement) { _inheritsLoose(_class, _HTMLElement); function _class() { var _this; _this = _HTMLElement.call(this) || this; // Properties _this.editor = ''; // Bindings _this.unregisterEditor = _this.unregisterEditor.bind(_assertThisInitialized(_this)); _this.registerEditor = _this.registerEditor.bind(_assertThisInitialized(_this)); _this.childrenChange = _this.childrenChange.bind(_assertThisInitialized(_this)); _this.getSelection = _this.getSelection.bind(_assertThisInitialized(_this)); // Watch for children changes. // eslint-disable-next-line no-return-assign new MutationObserver(function () { return _this.childrenChange(); }).observe(_assertThisInitialized(_this), { childList: true }); return _this; } /** * Lifecycle */ var _proto = _class.prototype; _proto.connectedCallback = function connectedCallback() { // Note the mutation observer won't fire for initial contents, // so childrenChange is also called here. this.childrenChange(); } /** * Lifecycle */; _proto.disconnectedCallback = function disconnectedCallback() { this.unregisterEditor(); } /** * Get the selected text */; _proto.getSelection = function getSelection() { if (document.selection) { // IE support this.editor.focus(); return document.selection.createRange(); } if (this.editor.selectionStart || this.editor.selectionStart === 0) { // MOZILLA/NETSCAPE support return this.editor.value.substring(this.editor.selectionStart, this.editor.selectionEnd); } return this.editor.value; } /** * Register the editor */; _proto.registerEditor = function registerEditor() { var _this2 = this; if (!window.Joomla || !window.Joomla.editors || typeof window.Joomla.editors !== 'object') { throw new Error('The Joomla API is not correctly registered.'); } window.Joomla.editors.instances[this.editor.id] = { id: function id() { return _this2.editor.id; }, element: function element() { return _this2.editor; }, // eslint-disable-next-line no-return-assign getValue: function getValue() { return _this2.editor.value; }, // eslint-disable-next-line no-return-assign setValue: function setValue(text) { return _this2.editor.value = text; }, // eslint-disable-next-line no-return-assign getSelection: function getSelection() { return _this2.getSelection(); }, // eslint-disable-next-line no-return-assign disable: function disable(disabled) { _this2.editor.disabled = disabled; _this2.editor.readOnly = disabled; }, // eslint-disable-next-line no-return-assign replaceSelection: function replaceSelection(text) { if (_this2.editor.selectionStart || _this2.editor.selectionStart === 0) { _this2.editor.value = _this2.editor.value.substring(0, _this2.editor.selectionStart) + text + _this2.editor.value.substring(_this2.editor.selectionEnd, _this2.editor.value.length); } else { _this2.editor.value += text; } }, onSave: function onSave() {} }; } /** * Remove the editor from the Joomla API */; _proto.unregisterEditor = function unregisterEditor() { if (this.editor) { delete window.Joomla.editors.instances[this.editor.id]; } } /** * Called when element's child list changes */; _proto.childrenChange = function childrenChange() { // Ensure the first child is an input with a textarea type. if (this.firstElementChild && this.firstElementChild.tagName && this.firstElementChild.tagName.toLowerCase() === 'textarea' && this.firstElementChild.getAttribute('id')) { this.editor = this.firstElementChild; this.unregisterEditor(); this.registerEditor(); } }; return _class; }( /*#__PURE__*/_wrapNativeSuper(HTMLElement))); })(); joomla-editor-none.min.js 0000644 00000003620 15172576704 0011405 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */window.customElements.define("joomla-editor-none",class extends HTMLElement{constructor(){super(),this.editor="",this.unregisterEditor=this.unregisterEditor.bind(this),this.registerEditor=this.registerEditor.bind(this),this.childrenChange=this.childrenChange.bind(this),this.getSelection=this.getSelection.bind(this),new MutationObserver(()=>this.childrenChange()).observe(this,{childList:!0})}connectedCallback(){this.childrenChange()}disconnectedCallback(){this.unregisterEditor()}getSelection(){return document.selection?(this.editor.focus(),document.selection.createRange()):this.editor.selectionStart||this.editor.selectionStart===0?this.editor.value.substring(this.editor.selectionStart,this.editor.selectionEnd):this.editor.value}registerEditor(){if(!window.Joomla||!window.Joomla.editors||typeof window.Joomla.editors!="object")throw new Error("The Joomla API is not correctly registered.");window.Joomla.editors.instances[this.editor.id]={id:()=>this.editor.id,element:()=>this.editor,getValue:()=>this.editor.value,setValue:t=>this.editor.value=t,getSelection:()=>this.getSelection(),disable:t=>{this.editor.disabled=t,this.editor.readOnly=t},replaceSelection:t=>{this.editor.selectionStart||this.editor.selectionStart===0?this.editor.value=this.editor.value.substring(0,this.editor.selectionStart)+t+this.editor.value.substring(this.editor.selectionEnd,this.editor.value.length):this.editor.value+=t},onSave:()=>{}}}unregisterEditor(){this.editor&&delete window.Joomla.editors.instances[this.editor.id]}childrenChange(){this.firstElementChild&&this.firstElementChild.tagName&&this.firstElementChild.tagName.toLowerCase()==="textarea"&&this.firstElementChild.getAttribute("id")&&(this.editor=this.firstElementChild,this.unregisterEditor(),this.registerEditor())}}); joomla-editor-none.js 0000644 00000006420 15172576704 0010624 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ window.customElements.define('joomla-editor-none', class extends HTMLElement { constructor() { super(); // Properties this.editor = ''; // Bindings this.unregisterEditor = this.unregisterEditor.bind(this); this.registerEditor = this.registerEditor.bind(this); this.childrenChange = this.childrenChange.bind(this); this.getSelection = this.getSelection.bind(this); // Watch for children changes. // eslint-disable-next-line no-return-assign new MutationObserver(() => this.childrenChange()).observe(this, { childList: true }); } /** * Lifecycle */ connectedCallback() { // Note the mutation observer won't fire for initial contents, // so childrenChange is also called here. this.childrenChange(); } /** * Lifecycle */ disconnectedCallback() { this.unregisterEditor(); } /** * Get the selected text */ getSelection() { if (document.selection) { // IE support this.editor.focus(); return document.selection.createRange(); } if (this.editor.selectionStart || this.editor.selectionStart === 0) { // MOZILLA/NETSCAPE support return this.editor.value.substring(this.editor.selectionStart, this.editor.selectionEnd); } return this.editor.value; } /** * Register the editor */ registerEditor() { if (!window.Joomla || !window.Joomla.editors || typeof window.Joomla.editors !== 'object') { throw new Error('The Joomla API is not correctly registered.'); } window.Joomla.editors.instances[this.editor.id] = { id: () => this.editor.id, element: () => this.editor, // eslint-disable-next-line no-return-assign getValue: () => this.editor.value, // eslint-disable-next-line no-return-assign setValue: text => this.editor.value = text, // eslint-disable-next-line no-return-assign getSelection: () => this.getSelection(), // eslint-disable-next-line no-return-assign disable: disabled => { this.editor.disabled = disabled; this.editor.readOnly = disabled; }, // eslint-disable-next-line no-return-assign replaceSelection: text => { if (this.editor.selectionStart || this.editor.selectionStart === 0) { this.editor.value = this.editor.value.substring(0, this.editor.selectionStart) + text + this.editor.value.substring(this.editor.selectionEnd, this.editor.value.length); } else { this.editor.value += text; } }, onSave: () => {} }; } /** * Remove the editor from the Joomla API */ unregisterEditor() { if (this.editor) { delete window.Joomla.editors.instances[this.editor.id]; } } /** * Called when element's child list changes */ childrenChange() { // Ensure the first child is an input with a textarea type. if (this.firstElementChild && this.firstElementChild.tagName && this.firstElementChild.tagName.toLowerCase() === 'textarea' && this.firstElementChild.getAttribute('id')) { this.editor = this.firstElementChild; this.unregisterEditor(); this.registerEditor(); } } }); joomla-editor-none.min.js.gz 0000644 00000001326 15172576704 0012025 0 ustar 00 � �U�n�8��+&:d�2ٞI�na�,��Xw�R�@�c�]�4��8��/l9�b�-�=�y���#uvrr'�Gr��P����~���ĊµfFJ9\��͜y�.�Ζ˥���*R�vc�� ���?����zg`�e�^C$�.!!�j8���?���-]�q�L�8ލ<�a�,�\@��K�B�8ҫf��:%��`���z���&��T�$d����9�]R�C�e�gK�i�����`Śں�~"1s�-a�u(��$%�=v1{H�<��+�k�v����۞e��*�5u^o��K|q|�����0ڡ�~��Bֽ>�u�`�n�l���&��h���Tz�މΨ�,�* ���)C��ޞꢫz.��&^�sEQ�����W�R5ML.��4�F����ư�mG�f�x���6�^�^~o�i������E�_�p&yNq �0��"���������%��D"4��iOhU&/{��u0�>w��엢v��9d�x��-ܥ���u'�4������༛��/3�[���o<����˙j{�c�MN����5v=�o����<?l'O��: 6�y%�{�y�nA}�Χn�f� w�1X����f�iMg�o��b0����F���x�q�HC�PȢ(2�ք:;(-��3��V�"s6��A��E�.?��,��M#/���;�� recaptcha-es5.min.js.gz 0000644 00000000702 15172612507 0010734 0 ustar 00 � uQ�n�0��+ѥ�6�FU_�8HݢFO�+j#o-������BQ�-����ٙe��:��]����("�,��ht%F�cv���{�����6P���7�@՚��D���oފ� :��m�(� 3����Y#ޭ��x;w]g~�>Tj���0�n�Cܡ� ���5Y���a�䝸>�C&"�x�M�����6N��@Gu3 G�'а]���(RQc~�������ސ�P�I4��-:���b��Y��&��6_�H�<H-(+�ZFz�/��\�{�e�Z��H-q�P�2��B��Xe�<�0�~IŃSʏ��M ����� ���˾(���W�5�Ó��1 �:�eO�r�_r�4�x b�=��rJ��`�3n�C����=�^�i��m�N*�ȕ�ӥ�m�7��]��T�� recaptcha-es5.min.js 0000644 00000001331 15172612507 0010314 0 ustar 00 (function(){"use strict";/** * @package Joomla.JavaScript * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */(function(a,s){a.JoomlainitReCaptchaInvisible=function(){var o=[].slice.call(s.getElementsByClassName("g-recaptcha")),c=["sitekey","badge","size","tabindex","callback","expired-callback","error-callback"];o.forEach(function(t){var i={};t.dataset?i=t.dataset:c.forEach(function(e){var r="data-"+c[e];t.hasAttribute(r)&&(i[c[e]]=t.getAttribute(r))}),t.setAttribute("data-recaptcha-widget-id",a.grecaptcha.render(t,i)),a.grecaptcha.execute(t.getAttribute("data-recaptcha-widget-id"))})}})(window,document)})(); recaptcha.js 0000644 00000002220 15172612507 0007036 0 ustar 00 /** * @package Joomla.JavaScript * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ ((window, document) => { window.JoomlainitReCaptchaInvisible = () => { const elements = [].slice.call(document.getElementsByClassName('g-recaptcha')); const optionKeys = ['sitekey', 'badge', 'size', 'tabindex', 'callback', 'expired-callback', 'error-callback']; elements.forEach(element => { let options = {}; if (element.dataset) { options = element.dataset; } else { optionKeys.forEach(key => { const optionKeyFq = `data-${optionKeys[key]}`; if (element.hasAttribute(optionKeyFq)) { options[optionKeys[key]] = element.getAttribute(optionKeyFq); } }); } // Set the widget id of the recaptcha item element.setAttribute('data-recaptcha-widget-id', window.grecaptcha.render(element, options)); // Execute the invisible reCAPTCHA window.grecaptcha.execute(element.getAttribute('data-recaptcha-widget-id')); }); }; })(window, document); recaptcha.min.js 0000644 00000001246 15172612507 0007627 0 ustar 00 /** * @package Joomla.JavaScript * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */((a,r)=>{a.JoomlainitReCaptchaInvisible=()=>{const o=[].slice.call(r.getElementsByClassName("g-recaptcha")),c=["sitekey","badge","size","tabindex","callback","expired-callback","error-callback"];o.forEach(t=>{let e={};t.dataset?e=t.dataset:c.forEach(i=>{const s=`data-${c[i]}`;t.hasAttribute(s)&&(e[c[i]]=t.getAttribute(s))}),t.setAttribute("data-recaptcha-widget-id",a.grecaptcha.render(t,e)),a.grecaptcha.execute(t.getAttribute("data-recaptcha-widget-id"))})}})(window,document); recaptcha.min.js.gz 0000644 00000000663 15172612507 0010250 0 ustar 00 � u�_�1��S�P�Dbl��k�Y\vm��I����Sc2$WG+��K�X[h^ι��9d��ݰ�ЀYC�,��6�#�`n�m�4aBs��^cL�%�{��-�ܠg��3aL�M���݊�I��A۶�Ǚb=:��5��y���{@���-�5�鷽Øl�쎅��!K��i:���M�m �(���9�����2+���M�tX�<c�O�B�X�chΉ�k��� zJ�c)�`�����L�R*S,x��k<p�K�j�'�3_����Z�Ys�q�؈U�Z�1�?�r�'`V����!1,�ݐt �=�����K�T�d���hvٽI� }$����$oo.��,(���d'�t-��ҽ�ڪF�ۊ+�E�}�Q�B)�vp�&���p��uR��W�UU0�rx��mꠦ recaptcha-es5.js 0000644 00000002404 15172612507 0007534 0 ustar 00 (function () { 'use strict'; /** * @package Joomla.JavaScript * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (function (window, document) { window.JoomlainitReCaptchaInvisible = function () { var elements = [].slice.call(document.getElementsByClassName('g-recaptcha')); var optionKeys = ['sitekey', 'badge', 'size', 'tabindex', 'callback', 'expired-callback', 'error-callback']; elements.forEach(function (element) { var options = {}; if (element.dataset) { options = element.dataset; } else { optionKeys.forEach(function (key) { var optionKeyFq = "data-" + optionKeys[key]; if (element.hasAttribute(optionKeyFq)) { options[optionKeys[key]] = element.getAttribute(optionKeyFq); } }); } // Set the widget id of the recaptcha item element.setAttribute('data-recaptcha-widget-id', window.grecaptcha.render(element, options)); // Execute the invisible reCAPTCHA window.grecaptcha.execute(element.getAttribute('data-recaptcha-widget-id')); }); }; })(window, document); })(); jupdatecheck.js 0000644 00000004070 15172624113 0007537 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ if (Joomla && Joomla.getOptions('js-extensions-update')) { const update = (type, text) => { const link = document.getElementById('plg_quickicon_joomlaupdate'); const linkSpans = [].slice.call(link.querySelectorAll('span.j-links-link')); if (link) { link.classList.add(type); } if (linkSpans.length) { linkSpans.forEach(span => { span.innerHTML = Joomla.sanitizeHtml(text); }); } }; const fetchUpdate = () => { const options = Joomla.getOptions('js-joomla-update'); /** * DO NOT use fetch() for QuickIcon requests. They must be queued. * * @see https://github.com/joomla/joomla-cms/issues/38001 */ Joomla.enqueueRequest({ url: options.ajaxUrl, method: 'GET', promise: true }).then(xhr => { const response = xhr.responseText; const updateInfoList = JSON.parse(response); if (Array.isArray(updateInfoList)) { if (updateInfoList.length === 0) { // No updates update('success', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_UPTODATE')); } else { const updateInfo = updateInfoList.shift(); if (updateInfo.version !== options.version) { update('danger', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_UPDATEFOUND').replace('%s', `<span class="badge text-dark bg-light"> \u200E ${updateInfo.version}</span>`)); } else { update('success', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_UPTODATE')); } } } else { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_ERROR')); } }).catch(() => { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_ERROR')); }); }; // Give some times to the layout and other scripts to settle their stuff window.addEventListener('load', () => { setTimeout(fetchUpdate, 300); }); } index.html 0000604 00000000037 15172624113 0006537 0 ustar 00 <!DOCTYPE html><title></title> jupdatecheck-es5.min.js 0000644 00000002310 15172624113 0011006 0 ustar 00 (function(){"use strict";/** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */if(Joomla&&Joomla.getOptions("js-extensions-update")){var o=function(s,a){var n=document.getElementById("plg_quickicon_joomlaupdate"),e=[].slice.call(n.querySelectorAll("span.j-links-link"));n&&n.classList.add(s),e.length&&e.forEach(function(t){t.innerHTML=Joomla.sanitizeHtml(a)})},i=function(){var s=Joomla.getOptions("js-joomla-update");Joomla.enqueueRequest({url:s.ajaxUrl,method:"GET",promise:!0}).then(function(a){var n=a.responseText,e=JSON.parse(n);if(Array.isArray(e))if(e.length===0)o("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"));else{var t=e.shift();t.version!==s.version?o("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPDATEFOUND").replace("%s",'<span class="badge text-dark bg-light"> \u200E '+t.version+"</span>")):o("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"))}else o("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))}).catch(function(){o("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))})};window.addEventListener("load",function(){setTimeout(i,300)})}})(); jupdatecheck-es5.js 0000644 00000004401 15172624113 0010227 0 ustar 00 (function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ if (Joomla && Joomla.getOptions('js-extensions-update')) { var update = function update(type, text) { var link = document.getElementById('plg_quickicon_joomlaupdate'); var linkSpans = [].slice.call(link.querySelectorAll('span.j-links-link')); if (link) { link.classList.add(type); } if (linkSpans.length) { linkSpans.forEach(function (span) { span.innerHTML = Joomla.sanitizeHtml(text); }); } }; var fetchUpdate = function fetchUpdate() { var options = Joomla.getOptions('js-joomla-update'); /** * DO NOT use fetch() for QuickIcon requests. They must be queued. * * @see https://github.com/joomla/joomla-cms/issues/38001 */ Joomla.enqueueRequest({ url: options.ajaxUrl, method: 'GET', promise: true }).then(function (xhr) { var response = xhr.responseText; var updateInfoList = JSON.parse(response); if (Array.isArray(updateInfoList)) { if (updateInfoList.length === 0) { // No updates update('success', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_UPTODATE')); } else { var updateInfo = updateInfoList.shift(); if (updateInfo.version !== options.version) { update('danger', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_UPDATEFOUND').replace('%s', "<span class=\"badge text-dark bg-light\"> \u200E " + updateInfo.version + "</span>")); } else { update('success', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_UPTODATE')); } } } else { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_ERROR')); } }).catch(function () { // An error occurred update('danger', Joomla.Text._('PLG_QUICKICON_JOOMLAUPDATE_ERROR')); }); }; // Give some times to the layout and other scripts to settle their stuff window.addEventListener('load', function () { setTimeout(fetchUpdate, 300); }); } })(); jupdatecheck.min.js 0000644 00000002213 15172624113 0010316 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */if(Joomla&&Joomla.getOptions("js-extensions-update")){const o=(t,a)=>{const s=document.getElementById("plg_quickicon_joomlaupdate"),e=[].slice.call(s.querySelectorAll("span.j-links-link"));s&&s.classList.add(t),e.length&&e.forEach(n=>{n.innerHTML=Joomla.sanitizeHtml(a)})},l=()=>{const t=Joomla.getOptions("js-joomla-update");Joomla.enqueueRequest({url:t.ajaxUrl,method:"GET",promise:!0}).then(a=>{const s=a.responseText,e=JSON.parse(s);if(Array.isArray(e))if(e.length===0)o("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"));else{const n=e.shift();n.version!==t.version?o("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPDATEFOUND").replace("%s",`<span class="badge text-dark bg-light"> \u200E ${n.version}</span>`)):o("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"))}else o("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))}).catch(()=>{o("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))})};window.addEventListener("load",()=>{setTimeout(l,300)})} jupdatecheck.min.js.gz 0000644 00000001225 15172624113 0010737 0 ustar 00 � �T�r9��+UBI�A�%vg��`�k�)�EdM��4V��.�=%��9��n�ԯ��n�sxx��_&��.�Ę8��� +k��:4� ��D1cCo;^���t�뵺 a� q1�A9k�#0���x��CԎ]67�6ڟ~��6xv�BdN�>C 6���Bц�a�����z�jT�d�G�o� ����ԕ&�R>��X�eZ��*�f�H� �o���[��k� ~���.��ӿ -e�s�}�� ��9���^ݶ��w�[��}l�P�GI�$3P�����y��6K��W�{�&�|���d���rB˭�f.�3��Ǣ<�&H�} \�}Hⱉ�GJ���4�l�U����1�,B�Ew+-����ZE�:x� l(�����ZG��o��$F��,� )�\<��+����<ۗ���L���������������bt2�|w2)f��I���.8�}E>�K;'!�^�G�E�ӳ�g��~��%�q�"�N����q�8�57�7�Z #�P����,�.=&>`�4G�n�^>~�k{�I���R�~[�mR����ꪼJRMf)v���P��*�Ӱ_�S���x�K�@��Аp��n <� �I;� jupdatecheck-es5.min.js.gz 0000644 00000001253 15172624113 0011432 0 ustar 00 � �TMs"7��WhUV��8�x�8�Y/fNI��5 ��X�cp(�{JrI������{O������� C���w����1�ل�%����t����5xv�h�]k"����7��.�j�u:��J=��tZ�8?�A9k�#0���h�.�CԎ�4��6ܯ>CD<;a!2� b�! .��]�hMG�cg�j��j�F5*�$�6� |B�vSW��K�y֑���3�:��*�f �L� ���*�k7�>5�<Z��U�`��*L�� ���/w�P��� �������ȥ�V�+�4��")]Ueʁ�Ӣ�5��f!dInHY�!~_�j�ޒ���� -�r��ݣ&u���E�b��?5�-<5�$6Mt=T�A�'�eK�E�z���aiz�[�h��g���u�cXS��]9R���˾����������3�fE��]��@�ٞd�RS�o����&��_�hzU��������q1�܌˔$��!�P vFB�I��C��[�S��~�ݕr2�̥�P;m@��gOS��c�^Ws`kjW:>��yۥ��g���-��O^��i'>�R��لm2��/y��my� �2��W��|#�� ���3xJ ���]���]�@c��А���n:��B����r��
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings