From 796df87a9cc9d693c61d3c92e46ac9867580feac Mon Sep 17 00:00:00 2001 From: David Neukirchen Date: Tue, 20 Feb 2018 22:52:04 +0100 Subject: [PATCH 001/169] transform admin-multilangstatus.js to es6 --- .../js/admin-multilangstatus.es6.js | 24 ++++++++++++ .../js/admin-multilangstatus.js | 38 ++++++++++--------- 2 files changed, 44 insertions(+), 18 deletions(-) create mode 100644 media/mod_multilangstatus/js/admin-multilangstatus.es6.js diff --git a/media/mod_multilangstatus/js/admin-multilangstatus.es6.js b/media/mod_multilangstatus/js/admin-multilangstatus.es6.js new file mode 100644 index 0000000000000..002b27efbb362 --- /dev/null +++ b/media/mod_multilangstatus/js/admin-multilangstatus.es6.js @@ -0,0 +1,24 @@ +/** + * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. + * @license GNU General Public License version 2 or later; see LICENSE.txt + */ + +(function () { + 'use strict'; + + document.addEventListener('DOMContentLoaded', () => { + // We need to use JS to move the modal before the closing body tag to avoid stacking issues + const multilangueModal = document.getElementById('multiLangModal'); + + if (multilangueModal) { + // Clone the modal element + const clone = multilangueModal.cloneNode(true); + + // Remove the original modal element + multilangueModal.parentNode.removeChild(multilangueModal); + + // Append clone before closing body tag + document.body.appendChild(clone); + } + }); +}()); diff --git a/media/mod_multilangstatus/js/admin-multilangstatus.js b/media/mod_multilangstatus/js/admin-multilangstatus.js index 0fa4c3f1bdd82..5bd8a97d64a36 100644 --- a/media/mod_multilangstatus/js/admin-multilangstatus.js +++ b/media/mod_multilangstatus/js/admin-multilangstatus.js @@ -1,27 +1,29 @@ +/** +* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION. +* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD. +**/ + /** * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ -(function() { - 'use strict'; - - document.addEventListener('DOMContentLoaded', function() { - - // We need to use JS to move the modal before the closing body tag to avoid stacking issues - var multilangueModal = document.getElementById('multiLangModal'); - - if (multilangueModal) { - // Clone the modal element - var clone = multilangueModal.cloneNode(true); +(function () { + 'use strict'; - // Remove the original modal element - multilangueModal.parentNode.removeChild(multilangueModal); + document.addEventListener('DOMContentLoaded', function () { + // We need to use JS to move the modal before the closing body tag to avoid stacking issues + var multilangueModal = document.getElementById('multiLangModal'); - // Append clone before closing body tag - document.body.appendChild(clone); - } + if (multilangueModal) { + // Clone the modal element + var clone = multilangueModal.cloneNode(true); - }); + // Remove the original modal element + multilangueModal.parentNode.removeChild(multilangueModal); -})(); + // Append clone before closing body tag + document.body.appendChild(clone); + } + }); +})(); \ No newline at end of file From 0b5fa845b423611c0584637b4389858491166163 Mon Sep 17 00:00:00 2001 From: David Neukirchen Date: Wed, 21 Feb 2018 07:45:13 +0100 Subject: [PATCH 002/169] Use arrow function iife --- media/mod_multilangstatus/js/admin-multilangstatus.es6.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media/mod_multilangstatus/js/admin-multilangstatus.es6.js b/media/mod_multilangstatus/js/admin-multilangstatus.es6.js index 002b27efbb362..36d39d224d1d5 100644 --- a/media/mod_multilangstatus/js/admin-multilangstatus.es6.js +++ b/media/mod_multilangstatus/js/admin-multilangstatus.es6.js @@ -3,7 +3,7 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt */ -(function () { +(() => { 'use strict'; document.addEventListener('DOMContentLoaded', () => { @@ -21,4 +21,4 @@ document.body.appendChild(clone); } }); -}()); +})(); From cdfaf690990e84c29fa5fe394157856709e11058 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Wed, 21 Feb 2018 10:18:19 +0100 Subject: [PATCH 003/169] Update compile-es6.js --- build/build-modules-js/compile-es6.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/build-modules-js/compile-es6.js b/build/build-modules-js/compile-es6.js index 97c5e01d303b3..e1031b82d9874 100644 --- a/build/build-modules-js/compile-es6.js +++ b/build/build-modules-js/compile-es6.js @@ -1,6 +1,7 @@ const glob = require('glob'); const fs = require('fs'); const babel = require('babel-core'); +const os = require('os'); const pattern = './**/*.es6.js'; const options = { @@ -23,7 +24,7 @@ OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.`; babel.transformFile(filePath, babelOptions, (error, result) => { if (error) process.exit(1); const fileName = filePath.slice(0, -7); - fs.writeFile(`${fileName}.js`, result.code, (fsError) => { + fs.writeFile(`${fileName}.js`, result.code + os.EOL, (fsError) => { if (fsError) process.exit(1); }); }); From 68ccd2aa4a9a105362ca70d1003bf8d40cd7625c Mon Sep 17 00:00:00 2001 From: Dimitris Grammatikogiannis Date: Wed, 21 Feb 2018 11:40:09 +0100 Subject: [PATCH 004/169] scrap the minified versions --- media/com_associations/js/admin-associations-default.min.js | 1 - media/com_associations/js/admin-associations-modal.min.js | 1 - media/com_associations/js/modal-associations.min.js | 1 - media/com_associations/js/sidebyside.min.js | 1 - media/com_banners/js/admin-banner-edit.min.js | 1 - media/com_config/js/admin-application-default.min.js | 1 - media/com_contact/js/admin-contacts-modal.min.js | 1 - media/com_content/js/admin-article-pagebreak.min.js | 1 - media/com_content/js/admin-article-readmore.min.js | 1 - media/com_content/js/admin-articles-modal.min.js | 1 - media/com_contenthistory/js/admin-compare-compare.min.js | 1 - media/com_contenthistory/js/admin-history-modal.min.js | 1 - media/com_fields/js/admin-fields-modal.min.js | 1 - media/com_finder/js/finder-edit.min.js | 1 - media/com_finder/js/finder.min.js | 1 - media/com_finder/js/indexer.min.js | 1 - media/com_installer/js/installer.min.js | 1 - media/com_joomlaupdate/js/default.min.js | 1 - media/com_joomlaupdate/js/encryption.min.js | 1 - media/com_joomlaupdate/js/update.min.js | 1 - media/com_languages/js/overrider.min.js | 1 - media/com_media/js/edit-images.min.js | 1 - media/com_media/js/mediamanager.min.js | 1 - media/com_menus/js/admin-item-edit.min.js | 1 - media/com_menus/js/admin-item-edit_container.min.js | 1 - media/com_menus/js/admin-item-edit_modules.min.js | 1 - media/com_menus/js/admin-item-modal.min.js | 1 - media/com_menus/js/admin-items-modal.min.js | 1 - media/com_menus/js/admin-menus-default.min.js | 1 - media/com_modules/js/admin-module-edit.min.js | 1 - media/com_modules/js/admin-module-edit_assignment.min.js | 1 - media/com_modules/js/admin-modules-modal.min.js | 1 - media/com_templates/js/admin-templates-default.min.js | 1 - media/com_users/js/admin-users-groups.min.js | 1 - media/com_users/js/admin-users-mail.min.js | 1 - media/com_users/js/admin-users-user.min.js | 1 - media/com_wrapper/js/iframe-height.min.js | 1 - media/editors/none/js/editor-none.min.js | 1 - media/editors/tinymce/js/plugins/dragdrop/plugin.min.js | 1 - media/editors/tinymce/js/plugins/media/media.min.js | 1 - media/editors/tinymce/js/tiny-close.min.js | 1 - media/editors/tinymce/js/tinymce-builder.min.js | 1 - media/editors/tinymce/js/tinymce.min.js | 1 - media/mod_login/js/admin-login.min.js | 1 - media/mod_menu/js/admin-menu.min.js | 1 - media/mod_multilangstatus/js/admin-multilangstatus.min.js | 1 - media/mod_sampledata/js/sampledata-process.min.js | 1 - media/plg_captcha_recaptcha/js/recaptcha.min.js | 1 - media/plg_installer_webinstaller/js/client.min.js | 1 - media/plg_media-action_crop/js/crop.min.js | 1 - media/plg_media-action_resize/js/resize.min.js | 1 - media/plg_media-action_rotate/js/rotate.min.js | 1 - .../plg_quickicon_extensionupdate/js/extensionupdatecheck.min.js | 1 - media/plg_quickicon_joomlaupdate/js/jupdatecheck.min.js | 1 - media/plg_system_debug/js/debug.min.js | 1 - media/plg_system_stats/js/stats.min.js | 1 - media/system/js/associations-edit.min.js | 1 - media/system/js/bootstrap-init.min.js | 1 - media/system/js/cms.min.js | 1 - media/system/js/core.min.js | 1 - media/system/js/draggable.min.js | 1 - media/system/js/fields/calendar-locales/af.min.js | 1 - media/system/js/fields/calendar-locales/ar.min.js | 1 - media/system/js/fields/calendar-locales/bg.min.js | 1 - media/system/js/fields/calendar-locales/bn.min.js | 1 - media/system/js/fields/calendar-locales/bs.min.js | 1 - media/system/js/fields/calendar-locales/ca.min.js | 1 - media/system/js/fields/calendar-locales/cs.min.js | 1 - media/system/js/fields/calendar-locales/cy.min.js | 1 - media/system/js/fields/calendar-locales/da.min.js | 1 - .../js/fields/calendar-locales/date/gregorian/date-helper.min.js | 1 - .../js/fields/calendar-locales/date/jalali/date-helper.min.js | 1 - media/system/js/fields/calendar-locales/de.min.js | 1 - media/system/js/fields/calendar-locales/el.min.js | 1 - media/system/js/fields/calendar-locales/en.min.js | 1 - media/system/js/fields/calendar-locales/es.min.js | 1 - media/system/js/fields/calendar-locales/eu.min.js | 1 - media/system/js/fields/calendar-locales/fa-ir.min.js | 1 - media/system/js/fields/calendar-locales/fi.min.js | 1 - media/system/js/fields/calendar-locales/fr.min.js | 1 - media/system/js/fields/calendar-locales/ga.min.js | 1 - media/system/js/fields/calendar-locales/hr.min.js | 1 - media/system/js/fields/calendar-locales/hu.min.js | 1 - media/system/js/fields/calendar-locales/it.min.js | 1 - media/system/js/fields/calendar-locales/ja.min.js | 1 - media/system/js/fields/calendar-locales/ka.min.js | 1 - media/system/js/fields/calendar-locales/ko.min.js | 1 - media/system/js/fields/calendar-locales/mk.min.js | 1 - media/system/js/fields/calendar-locales/nb.min.js | 1 - media/system/js/fields/calendar-locales/nl.min.js | 1 - media/system/js/fields/calendar-locales/pl.min.js | 1 - media/system/js/fields/calendar-locales/prs-af.min.js | 1 - media/system/js/fields/calendar-locales/pt.min.js | 1 - media/system/js/fields/calendar-locales/ru.min.js | 1 - media/system/js/fields/calendar-locales/sk.min.js | 1 - media/system/js/fields/calendar-locales/sl.min.js | 1 - media/system/js/fields/calendar-locales/sr-rs.min.js | 1 - media/system/js/fields/calendar-locales/sr-yu.min.js | 1 - media/system/js/fields/calendar-locales/sv.min.js | 1 - media/system/js/fields/calendar-locales/sw.min.js | 1 - media/system/js/fields/calendar-locales/ta.min.js | 1 - media/system/js/fields/calendar-locales/th.min.js | 1 - media/system/js/fields/calendar-locales/uk.min.js | 1 - media/system/js/fields/calendar-locales/zh-CN.min.js | 1 - media/system/js/fields/calendar-locales/zh-TW.min.js | 1 - media/system/js/fields/calendar.min.js | 1 - media/system/js/fields/color-field-adv-init.min.js | 1 - media/system/js/fields/color-field-init.min.js | 1 - media/system/js/fields/modal-fields.min.js | 1 - media/system/js/fields/moduleorder.min.js | 1 - media/system/js/fields/passwordstrength.min.js | 1 - media/system/js/fields/passwordview.min.js | 1 - media/system/js/fields/permissions.min.js | 1 - media/system/js/fields/select-colour.min.js | 1 - media/system/js/fields/sendtestmail.min.js | 1 - media/system/js/fields/simplecolors.min.js | 1 - media/system/js/fields/subform-repeatable.min.js | 1 - media/system/js/fields/tag.min.js | 1 - media/system/js/fields/validate.min.js | 1 - media/system/js/frontediting.min.js | 1 - media/system/js/helpsite.min.js | 1 - media/system/js/highlighter.min.js | 1 - media/system/js/jquery-noconflict.min.js | 1 - media/system/js/keepalive.min.js | 1 - media/system/js/legacy/ajax-chosen.min.js | 1 - media/system/js/legacy/caption.min.js | 1 - media/system/js/legacy/chosen.min.js | 1 - media/system/js/legacy/html5.min.js | 1 - media/system/js/legacy/html5fallback.min.js | 1 - media/system/js/legacy/sortablelist.min.js | 1 - media/system/js/multiselect.min.js | 1 - media/system/js/searchtools.min.js | 1 - media/system/js/tabs-state.min.js | 1 - media/system/js/toolbar.min.js | 1 - media/system/js/treeselectmenu.min.js | 1 - media/system/webcomponents/js/joomla-field-media-es5.min.js | 1 - media/system/webcomponents/js/joomla-field-media.min.js | 1 - .../webcomponents/js/joomla-field-send-test-mail-es5.min.js | 1 - media/system/webcomponents/js/joomla-field-send-test-mail.min.js | 1 - media/system/webcomponents/js/joomla-field-switcher-es5.min.js | 1 - media/system/webcomponents/js/joomla-field-switcher.min.js | 1 - media/system/webcomponents/js/joomla-field-user-es5.min.js | 1 - media/system/webcomponents/js/joomla-field-user.min.js | 1 - 143 files changed, 143 deletions(-) delete mode 100644 media/com_associations/js/admin-associations-default.min.js delete mode 100644 media/com_associations/js/admin-associations-modal.min.js delete mode 100644 media/com_associations/js/modal-associations.min.js delete mode 100644 media/com_associations/js/sidebyside.min.js delete mode 100644 media/com_banners/js/admin-banner-edit.min.js delete mode 100644 media/com_config/js/admin-application-default.min.js delete mode 100644 media/com_contact/js/admin-contacts-modal.min.js delete mode 100644 media/com_content/js/admin-article-pagebreak.min.js delete mode 100644 media/com_content/js/admin-article-readmore.min.js delete mode 100644 media/com_content/js/admin-articles-modal.min.js delete mode 100644 media/com_contenthistory/js/admin-compare-compare.min.js delete mode 100644 media/com_contenthistory/js/admin-history-modal.min.js delete mode 100644 media/com_fields/js/admin-fields-modal.min.js delete mode 100644 media/com_finder/js/finder-edit.min.js delete mode 100644 media/com_finder/js/finder.min.js delete mode 100644 media/com_finder/js/indexer.min.js delete mode 100644 media/com_installer/js/installer.min.js delete mode 100644 media/com_joomlaupdate/js/default.min.js delete mode 100644 media/com_joomlaupdate/js/encryption.min.js delete mode 100644 media/com_joomlaupdate/js/update.min.js delete mode 100644 media/com_languages/js/overrider.min.js delete mode 100644 media/com_media/js/edit-images.min.js delete mode 100644 media/com_media/js/mediamanager.min.js delete mode 100644 media/com_menus/js/admin-item-edit.min.js delete mode 100644 media/com_menus/js/admin-item-edit_container.min.js delete mode 100644 media/com_menus/js/admin-item-edit_modules.min.js delete mode 100644 media/com_menus/js/admin-item-modal.min.js delete mode 100644 media/com_menus/js/admin-items-modal.min.js delete mode 100644 media/com_menus/js/admin-menus-default.min.js delete mode 100644 media/com_modules/js/admin-module-edit.min.js delete mode 100644 media/com_modules/js/admin-module-edit_assignment.min.js delete mode 100644 media/com_modules/js/admin-modules-modal.min.js delete mode 100644 media/com_templates/js/admin-templates-default.min.js delete mode 100644 media/com_users/js/admin-users-groups.min.js delete mode 100644 media/com_users/js/admin-users-mail.min.js delete mode 100644 media/com_users/js/admin-users-user.min.js delete mode 100644 media/com_wrapper/js/iframe-height.min.js delete mode 100644 media/editors/none/js/editor-none.min.js delete mode 100644 media/editors/tinymce/js/plugins/dragdrop/plugin.min.js delete mode 100644 media/editors/tinymce/js/plugins/media/media.min.js delete mode 100644 media/editors/tinymce/js/tiny-close.min.js delete mode 100644 media/editors/tinymce/js/tinymce-builder.min.js delete mode 100644 media/editors/tinymce/js/tinymce.min.js delete mode 100644 media/mod_login/js/admin-login.min.js delete mode 100644 media/mod_menu/js/admin-menu.min.js delete mode 100644 media/mod_multilangstatus/js/admin-multilangstatus.min.js delete mode 100644 media/mod_sampledata/js/sampledata-process.min.js delete mode 100644 media/plg_captcha_recaptcha/js/recaptcha.min.js delete mode 100644 media/plg_installer_webinstaller/js/client.min.js delete mode 100644 media/plg_media-action_crop/js/crop.min.js delete mode 100644 media/plg_media-action_resize/js/resize.min.js delete mode 100644 media/plg_media-action_rotate/js/rotate.min.js delete mode 100644 media/plg_quickicon_extensionupdate/js/extensionupdatecheck.min.js delete mode 100644 media/plg_quickicon_joomlaupdate/js/jupdatecheck.min.js delete mode 100644 media/plg_system_debug/js/debug.min.js delete mode 100644 media/plg_system_stats/js/stats.min.js delete mode 100644 media/system/js/associations-edit.min.js delete mode 100644 media/system/js/bootstrap-init.min.js delete mode 100644 media/system/js/cms.min.js delete mode 100644 media/system/js/core.min.js delete mode 100644 media/system/js/draggable.min.js delete mode 100644 media/system/js/fields/calendar-locales/af.min.js delete mode 100644 media/system/js/fields/calendar-locales/ar.min.js delete mode 100644 media/system/js/fields/calendar-locales/bg.min.js delete mode 100644 media/system/js/fields/calendar-locales/bn.min.js delete mode 100644 media/system/js/fields/calendar-locales/bs.min.js delete mode 100644 media/system/js/fields/calendar-locales/ca.min.js delete mode 100644 media/system/js/fields/calendar-locales/cs.min.js delete mode 100644 media/system/js/fields/calendar-locales/cy.min.js delete mode 100644 media/system/js/fields/calendar-locales/da.min.js delete mode 100644 media/system/js/fields/calendar-locales/date/gregorian/date-helper.min.js delete mode 100644 media/system/js/fields/calendar-locales/date/jalali/date-helper.min.js delete mode 100644 media/system/js/fields/calendar-locales/de.min.js delete mode 100644 media/system/js/fields/calendar-locales/el.min.js delete mode 100644 media/system/js/fields/calendar-locales/en.min.js delete mode 100644 media/system/js/fields/calendar-locales/es.min.js delete mode 100644 media/system/js/fields/calendar-locales/eu.min.js delete mode 100644 media/system/js/fields/calendar-locales/fa-ir.min.js delete mode 100644 media/system/js/fields/calendar-locales/fi.min.js delete mode 100644 media/system/js/fields/calendar-locales/fr.min.js delete mode 100644 media/system/js/fields/calendar-locales/ga.min.js delete mode 100644 media/system/js/fields/calendar-locales/hr.min.js delete mode 100644 media/system/js/fields/calendar-locales/hu.min.js delete mode 100644 media/system/js/fields/calendar-locales/it.min.js delete mode 100644 media/system/js/fields/calendar-locales/ja.min.js delete mode 100644 media/system/js/fields/calendar-locales/ka.min.js delete mode 100644 media/system/js/fields/calendar-locales/ko.min.js delete mode 100644 media/system/js/fields/calendar-locales/mk.min.js delete mode 100644 media/system/js/fields/calendar-locales/nb.min.js delete mode 100644 media/system/js/fields/calendar-locales/nl.min.js delete mode 100644 media/system/js/fields/calendar-locales/pl.min.js delete mode 100644 media/system/js/fields/calendar-locales/prs-af.min.js delete mode 100644 media/system/js/fields/calendar-locales/pt.min.js delete mode 100644 media/system/js/fields/calendar-locales/ru.min.js delete mode 100644 media/system/js/fields/calendar-locales/sk.min.js delete mode 100644 media/system/js/fields/calendar-locales/sl.min.js delete mode 100644 media/system/js/fields/calendar-locales/sr-rs.min.js delete mode 100644 media/system/js/fields/calendar-locales/sr-yu.min.js delete mode 100644 media/system/js/fields/calendar-locales/sv.min.js delete mode 100644 media/system/js/fields/calendar-locales/sw.min.js delete mode 100644 media/system/js/fields/calendar-locales/ta.min.js delete mode 100644 media/system/js/fields/calendar-locales/th.min.js delete mode 100644 media/system/js/fields/calendar-locales/uk.min.js delete mode 100644 media/system/js/fields/calendar-locales/zh-CN.min.js delete mode 100644 media/system/js/fields/calendar-locales/zh-TW.min.js delete mode 100644 media/system/js/fields/calendar.min.js delete mode 100644 media/system/js/fields/color-field-adv-init.min.js delete mode 100644 media/system/js/fields/color-field-init.min.js delete mode 100644 media/system/js/fields/modal-fields.min.js delete mode 100644 media/system/js/fields/moduleorder.min.js delete mode 100644 media/system/js/fields/passwordstrength.min.js delete mode 100644 media/system/js/fields/passwordview.min.js delete mode 100644 media/system/js/fields/permissions.min.js delete mode 100644 media/system/js/fields/select-colour.min.js delete mode 100644 media/system/js/fields/sendtestmail.min.js delete mode 100644 media/system/js/fields/simplecolors.min.js delete mode 100644 media/system/js/fields/subform-repeatable.min.js delete mode 100644 media/system/js/fields/tag.min.js delete mode 100644 media/system/js/fields/validate.min.js delete mode 100644 media/system/js/frontediting.min.js delete mode 100644 media/system/js/helpsite.min.js delete mode 100644 media/system/js/highlighter.min.js delete mode 100644 media/system/js/jquery-noconflict.min.js delete mode 100644 media/system/js/keepalive.min.js delete mode 100644 media/system/js/legacy/ajax-chosen.min.js delete mode 100644 media/system/js/legacy/caption.min.js delete mode 100644 media/system/js/legacy/chosen.min.js delete mode 100644 media/system/js/legacy/html5.min.js delete mode 100644 media/system/js/legacy/html5fallback.min.js delete mode 100644 media/system/js/legacy/sortablelist.min.js delete mode 100644 media/system/js/multiselect.min.js delete mode 100644 media/system/js/searchtools.min.js delete mode 100644 media/system/js/tabs-state.min.js delete mode 100644 media/system/js/toolbar.min.js delete mode 100644 media/system/js/treeselectmenu.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-media-es5.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-media.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-send-test-mail-es5.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-send-test-mail.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-switcher-es5.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-switcher.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-user-es5.min.js delete mode 100644 media/system/webcomponents/js/joomla-field-user.min.js diff --git a/media/com_associations/js/admin-associations-default.min.js b/media/com_associations/js/admin-associations-default.min.js deleted file mode 100644 index dfe5460a7bd7e..0000000000000 --- a/media/com_associations/js/admin-associations-default.min.js +++ /dev/null @@ -1 +0,0 @@ -Joomla.submitbutton=function(o){if("associations.purge"==o){if(!confirm(Joomla.JText._("COM_ASSOCIATIONS_PURGE_CONFIRM_PROMPT")))return!1;Joomla.submitform(o)}else Joomla.submitform(o)}; \ No newline at end of file diff --git a/media/com_associations/js/admin-associations-modal.min.js b/media/com_associations/js/admin-associations-modal.min.js deleted file mode 100644 index 9c5c297a1a9d6..0000000000000 --- a/media/com_associations/js/admin-associations-modal.min.js +++ /dev/null @@ -1 +0,0 @@ -Joomla=window.Joomla||{},function(t,o){"use strict";(void 0).addEventListener("DOMContentLoaded",function(){if((void 0).getOptions("modal-associations")){var t=(void 0).getOptions("modal-associations").func;[].slice.call((void 0).querySelectorAll(".select-link")).forEach(function(o){o.addEventListener("click",function(o){self!=top&&window.parent[t](o.target.getAttribute("data-id"))})})}})}(); \ No newline at end of file diff --git a/media/com_associations/js/modal-associations.min.js b/media/com_associations/js/modal-associations.min.js deleted file mode 100644 index e38ee7f1f6334..0000000000000 --- a/media/com_associations/js/modal-associations.min.js +++ /dev/null @@ -1 +0,0 @@ -Joomla=window.Joomla||{},function(t,o){"use strict";document.addEventListener("DOMContentLoaded",function(){if(t.getOptions("modal-associations")){var e=t.getOptions("modal-associations").itemId;o["jSelectAssociation_"+e]=function(t){var o=document.getElementById("target-association");o&&(o.src=o.getAttribute("data-editurl")+"&task="+o.getAttribute("data-item")+".edit&id="+t),jQuery("#associationSelect"+e+"Modal").modal("hide")}}})}(Joomla,window); \ No newline at end of file diff --git a/media/com_associations/js/sidebyside.min.js b/media/com_associations/js/sidebyside.min.js deleted file mode 100644 index 74b39553317f9..0000000000000 --- a/media/com_associations/js/sidebyside.min.js +++ /dev/null @@ -1 +0,0 @@ -jQuery(document).ready(function(t){t("#toolbar-target").hide(),t("#toolbar-copy").hide(),Joomla.submitbutton=function(e){if("association.cancel"===e)Joomla.submitform(e);else if("copy"===e){Joomla.loadingLayer("show");var a=document.getElementById("target-association").getAttribute("data-language"),i=window.frames["reference-association"].document.getElementById("jform_language");i.removeAttribute("disabled"),i.value=a,window.frames["reference-association"].Joomla.submitbutton(document.getElementById("adminForm").getAttribute("data-associatedview")+".save2copy")}else if("undo-association"===e){var n=document.getElementById("reference-association"),o=document.getElementById("target-association"),s=(n.getAttribute("data-id"),n.getAttribute("data-language").replace(/-/,"_"));o.getAttribute("data-id"),a=o.getAttribute("data-language").replace(/-/,"_");n=t(n).contents(),o=t(o).contents(),n.find("#jform_associations_"+a+"_id").val(""),n.find("#jform_associations_"+a+"_name").val(""),n.find("#jform_associations_"+a+"_chzn").remove(),n.find("#jform_associations_"+a).val("").change().chosen();var d="";t("#jform_itemlanguage option").each(function(){void 0!==(d=t(this).val().split("|")[0])&&(d=d.replace(/-/,"_"),o.find("#jform_associations_"+d+"_id").val(""),o.find("#jform_associations_"+d+"_chzn").remove(),o.find("#jform_associations_"+d).val("").change().chosen())}),o.find("#jform_associations_"+s+"_id").val(""),o.find("#jform_associations_"+s+"_name").val(""),o.find("#jform_associations_"+s+"_chzn").remove(),o.find("#jform_associations_"+s).val("").change().chosen();var r=t("#jform_itemlanguage").val(),c=a.replace(/_/,"-");t('#jform_itemlanguage option[value="'+r+'"]').val(c+":0:add"),t("#jform_itemlanguage").val("").change(),t("#jform_itemlanguage").trigger("liszt:updated"),Joomla.submitbutton("reference")}else t("#"+e+"-association").contents().find("#jform_language").attr("disabled",!1),window.frames[e+"-association"].Joomla.submitbutton(document.getElementById("adminForm").getAttribute("data-associatedview")+".apply");return!1},Joomla.loadingLayer("load"),t(document).on("click","#toogle-left-panel",function(){var e=this.getAttribute("data-hide-reference"),a=this.getAttribute("data-show-reference");t(this).text()===e?t(this).text(a):t(this).text(e),t("#left-panel").toggle(),t("#right-panel").toggleClass("full-width")}),t(document).on("change","#jform_itemlanguage",function(){var e=document.getElementById("target-association"),a=t(this).val();""!==a&&void 0!==a?(e.setAttribute("data-action",a.split(":")[2]),e.setAttribute("data-id",a.split(":")[1]),e.setAttribute("data-language",a.split(":")[0]),Joomla.loadingLayer("show"),e.src=e.getAttribute("data-editurl")+"&task="+e.getAttribute("data-item")+"."+e.getAttribute("data-action")+"&id="+e.getAttribute("data-id")):(t("#toolbar-target").hide(),t("#toolbar-copy").hide(),t("#select-change").addClass("hidden"),t("#remove-assoc").addClass("hidden"),e.setAttribute("data-action",""),e.setAttribute("data-id","0"),e.setAttribute("data-language",""),e.src="")}),t("#reference-association").on("load",function(){if(document.getElementById("target-association").setAttribute("src",document.getElementById("target-association").getAttribute("src")),t(this).contents().find("#jform_id").val()!==this.getAttribute("data-id")){var e=document.getElementById("target-association");e.src=e.getAttribute("data-editurl")+"&task="+e.getAttribute("data-item")+".edit&id="+t(this).contents().find("#jform_id").val(),this.src=this.getAttribute("data-editurl")+"&task="+this.getAttribute("data-item")+".edit&id="+this.getAttribute("data-id")}var a=t(this).contents();a.find("#jform_language_chzn").remove(),a.find("#jform_language").attr("disabled",!0).chosen(),a.find("#associations").find(".btn").remove();var i="";t("#jform_itemlanguage option").each(function(){void 0!==(i=t(this).val().split(":"))[0]&&(langAssociation=i[0].replace(/-/,"_"),""==a.find("#jform_associations_"+langAssociation+"_id").val()&&a.find("#jform_associations_"+langAssociation+"_name").val(document.getElementById("reference-association").getAttribute("data-no-assoc")))}),Joomla.loadingLayer("hide")}),t("#target-association").on("load",function(){if(""!=this.getAttribute("src")){t("#toolbar-target").show(),t("#toolbar-copy").show(),t("#select-change").removeClass("hidden");var e=this.getAttribute("data-language"),a=this.getAttribute("data-id"),i=t(this).contents().find("#jform_id").val()||"0";if(t(this).contents().find('a[href="#associations"]').parent().find(".btn").remove(),t(this).contents().find("#associations").find(".btn").remove(),t(this).contents().find("#associations").hasClass("active")&&(t(this).contents().find('a[href="#associations"]').parent().removeClass("active"),t(this).contents().find("#associations").removeClass("active"),t(this).contents().find(".nav-tabs").find("li").first().addClass("active"),t(this).contents().find(".tab-content").find(".tab-pane").first().addClass("active")),t(this).contents().find("#jform_language_chzn").remove(),t(this).contents().find("#jform_language").val(e).change().attr("disabled",!0).chosen(),"0"==i)document.getElementById("select-change-text").innerHTML=document.getElementById("select-change").getAttribute("data-select");else{document.getElementById("select-change-text").innerHTML=document.getElementById("select-change").getAttribute("data-change"),t("#remove-assoc").removeClass("hidden"),t("#toolbar-copy").hide();var n=document.getElementById("target-id").value,o=""==n?i:n+","+i;document.getElementById("target-id").value=o,i!=a&&(t('#jform_itemlanguage option[value^="'+e+":"+a+':add"]').val(e+":"+i+":edit"),this.setAttribute("data-id",i),this.setAttribute("data-action","edit"));var s=document.getElementById("reference-association"),d=e.replace(/-/,"_"),r=t(this).contents().find("#jform_title").val();t(s).contents().find("#jform_associations_"+d+"_id").val(i),t(s).contents().find("#jform_associations_"+d+"_name").val(r),t(s).contents().find("#jform_associations_"+d+"_chzn").remove(),t(s).contents().find("#jform_associations_"+d).append('"),t(s).contents().find("#jform_associations_"+d).val(i).change().chosen()}var c=(s=document.getElementById("reference-association")).getAttribute("data-id"),l=(d=s.getAttribute("data-language").replace(/-/,"_"),r=t(s).contents().find("#jform_title").val(),t(this).contents());l.find("#jform_associations_"+d+"_id").val(c),l.find("#jform_associations_"+d+"_name").val(r),l.find("#jform_associations_"+d+"_chzn").remove();var m,g,f=l.find("#jform_associations_"+d);f.append('"),f.val(c).change().chosen(),t("#jform_itemlanguage option").each(function(){void 0!==(m=t(this).val().split(":"))[1]&&"0"!==m[1]&&(g=m[0].replace(/-/,"_"),l.find("#jform_associations_"+g+"_id").val(m[1]),l.find("#jform_associations_"+g+"_chzn").remove(),(f=l.find("#jform_associations_"+g)).append(''),f.val(m[1]).change().chosen())}),Joomla.loadingLayer("hide")}})}); \ No newline at end of file diff --git a/media/com_banners/js/admin-banner-edit.min.js b/media/com_banners/js/admin-banner-edit.min.js deleted file mode 100644 index a82ad88ce1a59..0000000000000 --- a/media/com_banners/js/admin-banner-edit.min.js +++ /dev/null @@ -1 +0,0 @@ -Joomla=window.Joomla||{},function(){"use strict";Joomla.updateBannerFields=function(e){var t=document.getElementById("image"),n=document.getElementById("custom");switch(e){case"0":t.style.display="block",n.style.display="none";break;case"1":t.style.display="none",n.style.display="block"}},document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("jform_type");e&&(Joomla.updateBannerFields(e.value),e.addEventListener("change",function(t){var n="object"!=typeof params?e.value:params.selected;Joomla.updateBannerFields(n)}))})}(); \ No newline at end of file diff --git a/media/com_config/js/admin-application-default.min.js b/media/com_config/js/admin-application-default.min.js deleted file mode 100644 index a0ef30d360d3a..0000000000000 --- a/media/com_config/js/admin-application-default.min.js +++ /dev/null @@ -1 +0,0 @@ -jQuery(document).ready(function(){jQuery("#configTabs a:first").tab("show")}); \ No newline at end of file diff --git a/media/com_contact/js/admin-contacts-modal.min.js b/media/com_contact/js/admin-contacts-modal.min.js deleted file mode 100644 index 02fdf6f12be0b..0000000000000 --- a/media/com_contact/js/admin-contacts-modal.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";window.jSelectContact=function(t,e,a,n,r,i){var l,o,d="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.jModalClose(),!1;o=Joomla.getOptions("xtd-contacts").editor,""!==i&&(d=' hreflang = "'+i+'"'),l="'+e+"",window.parent.Joomla.editors.instances[o].replaceSelection(l),window.parent.jModalClose()},document.addEventListener("DOMContentLoaded",function(){for(var t=document.querySelectorAll(".select-link"),e=0,a=t.length;a>e;e++)t[e].addEventListener("click",function(t){t.preventDefault();var e=t.target.getAttribute("data-function");"jSelectContact"===e?window[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null):window.parent[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null)})})}(); \ No newline at end of file diff --git a/media/com_content/js/admin-article-pagebreak.min.js b/media/com_content/js/admin-article-pagebreak.min.js deleted file mode 100644 index 53ba243e89253..0000000000000 --- a/media/com_content/js/admin-article-pagebreak.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";window.insertPagebreak=function(e){var t,n,a=document.getElementById("title").value;return window.parent.Joomla.getOptions("xtd-pagebreak")?(t=document.getElementById("alt").value,n='
",window.parent.Joomla.editors.instances[e].replaceSelection(n),window.parent.jModalClose(),!1):(window.parent.jModalClose(),!1)}}(); \ No newline at end of file diff --git a/media/com_content/js/admin-article-readmore.min.js b/media/com_content/js/admin-article-readmore.min.js deleted file mode 100644 index ec6cc83eaa8f0..0000000000000 --- a/media/com_content/js/admin-article-readmore.min.js +++ /dev/null @@ -1 +0,0 @@ -window.insertReadmore=function(o){"use strict";if(!Joomla.getOptions("xtd-readmore"))return!1;var e=window.Joomla.getOptions("xtd-readmore");if((window.Joomla&&window.Joomla.editors&&window.Joomla.editors.instances&&window.Joomla.editors.instances.hasOwnProperty(o)?window.Joomla.editors.instances[o].getValue():new Function("return "+e.editor)()).match(//i))return alert(e.exists),!1;Joomla.editors.instances[o].replaceSelection('
')}; \ No newline at end of file diff --git a/media/com_content/js/admin-articles-modal.min.js b/media/com_content/js/admin-articles-modal.min.js deleted file mode 100644 index 5215a44e749f2..0000000000000 --- a/media/com_content/js/admin-articles-modal.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";window.jSelectArticle=function(t,e,a,r,i,n){var d,l,o="";if(!Joomla.getOptions("xtd-articles"))return window.parent.jModalClose(),!1;d=Joomla.getOptions("xtd-articles").editor,""!==n&&(o=' hreflang="'+n+'"'),l="'+e+"",window.parent.Joomla.editors.instances[d].replaceSelection(l),window.parent.jModalClose()},document.addEventListener("DOMContentLoaded",function(){for(var t=document.querySelectorAll(".select-link"),e=0,a=t.length;a>e;e++)t[e].addEventListener("click",function(t){t.preventDefault();var e=t.target.getAttribute("data-function");"jSelectArticle"===e?window[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),t.target.getAttribute("data-cat-id"),null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language")):window.parent[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),t.target.getAttribute("data-cat-id"),null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"))})})}(); \ No newline at end of file diff --git a/media/com_contenthistory/js/admin-compare-compare.min.js b/media/com_contenthistory/js/admin-compare-compare.min.js deleted file mode 100644 index 72e8e2923abc4..0000000000000 --- a/media/com_contenthistory/js/admin-compare-compare.min.js +++ /dev/null @@ -1 +0,0 @@ -document.addEventListener("DOMContentLoaded",function(){function e(e,n){var t=n.nextElementSibling,d="",o=null,r=JsDiff.diffWords(e.innerHTML,n.innerHTML),a=document.createDocumentFragment();r.forEach(function(e){d=e.added?"#a6f3a6":e.removed?"#f8cbcb":"",(o=document.createElement("span")).style.backgroundColor=d,o.style.borderRadius=".2rem",o.appendChild(document.createTextNode(e.value)),a.appendChild(o)}),t.appendChild(a)}for(var n=document.querySelectorAll(".original"),t=0,d=n.length;t1&&Joomla.request({url:Joomla.getOptions("finder-search").url+"&q="+e.target.value,method:"GET",data:{q:e.target.value},perform:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},onSuccess:function(t,r){t=JSON.parse(t),"[object Array]"===Object.prototype.toString.call(t.suggestions)&&new Awesomplete(e.target,{list:t.suggestions})},onError:function(e){Joomla.renderMessages(Joomla.ajaxErrorsMessages(e))}})});e=document.querySelectorAll(".js-finder-searchform");for(r=0;r"+json;t&&(t.innerText=o,t.classList.add("finder-error")),s&&(s.innerHTML=a,s.classList.add("finder-error"))},u=function(e,o){s=t/n*100;var a=r.getElementById("progress-bar"),i=r.getElementById("finder-progress-header"),l=r.getElementById("finder-progress-message");i&&(i.innerText=e),l&&(l.innerHTML=o),a&&(s<100?(a.style.width=s+"%",a.setAttribute("aria-valuenow",s)):(a.classList.remove("bar-success"),a.classList.add("bar-warning"),a.setAttribute("aria-valuemin",100),a.setAttribute("aria-valuemax",200),a.style.width=s+"%",a.setAttribute("aria-valuenow",s)),o===msg&&(d("progress"),window.parent.jQuery("#modal-archive",parent.document).modal("hide")))};t=0,s=0,i("indexer.start")}}(Joomla,document),document.addEventListener("DOMContentLoaded",function(){Indexer=Joomla.finderIndexer()}); \ No newline at end of file diff --git a/media/com_installer/js/installer.min.js b/media/com_installer/js/installer.min.js deleted file mode 100644 index c9e4f68d09927..0000000000000 --- a/media/com_installer/js/installer.min.js +++ /dev/null @@ -1 +0,0 @@ -Joomla=window.Joomla||{},function(){"use strict";document.addEventListener("DOMContentLoaded",function(){Joomla.submitbuttonpackage=function(){var t=document.getElementById("adminForm");""==t.install_package.value?alert(Joomla.JText._("PLG_INSTALLER_PACKAGEINSTALLER_NO_PACKAGE"),!0):(Joomla.displayLoader(),t.installtype.value="upload",t.submit())},Joomla.submitbuttonfolder=function(){var t=document.getElementById("adminForm");""==t.install_directory.value?alert(Joomla.JText._("PLG_INSTALLER_FOLDERINSTALLER_NO_INSTALL_PATH"),!0):(Joomla.displayLoader(),t.installtype.value="folder",t.submit())},Joomla.submitbuttonurl=function(){var t=document.getElementById("adminForm");""==t.install_url.value||"http://"==t.install_url.value||"https://"==t.install_url.value?alert(Joomla.JText._("PLG_INSTALLER_URLINSTALLER_NO_URL"),!0):(Joomla.displayLoader(),t.installtype.value="url",t.submit())},Joomla.submitbutton4=function(){var t=document.getElementById("adminForm");""==t.install_url.value||"http://"==t.install_url.value||"https://"==t.install_url.value?alert(Joomla.JText._("COM_INSTALLER_MSG_INSTALL_ENTER_A_URL"),!0):(Joomla.displayLoader(),t.installtype.value="url",t.submit())},Joomla.submitbuttonUpload=function(){var t=document.getElementById("uploadForm");""==t.install_package.value?alert(Joomla.JText._("COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_PACKAGE"),!0):(Joomla.displayLoader(),t.submit())},Joomla.submitbuttonInstallWebInstaller=function(){document.getElementById("adminForm").install_url.value="https://appscdn.joomla.org/webapps/jedapps/webinstaller.xml",Joomla.submitbutton4()},Joomla.displayLoader=function(){var t=document.getElementById("loading");t&&(t.style.display="block")};var t=document.getElementById("loading"),a=document.getElementById("installer-install");t&&a&&(t.style.top=parseInt(a.offsetTop-window.pageYOffset),t.style.left=0,t.style.width="100%",t.style.height="100%",t.style.display="none",t.style.marginTop="-10px")})}(),jQuery(document).ready(function(t){if("undefined"==typeof FormData)return t("#legacy-uploader").show(),void t("#uploader-wrapper").hide();var a=t("#dragarea"),e=t("#install_package"),l=t("#loading"),o=t("#select-file-button"),n=t("#installer-return").val(),i=t("#installer-token").val(),r="index.php?option=com_installer&task=install.ajax_upload";n&&(r+="&return="+n),o.on("click",function(t){e.click()}),e.on("change",function(t){Joomla.submitbuttonpackage()}),a.on("dragenter",function(t){return t.preventDefault(),t.stopPropagation(),a.addClass("hover"),!1}),a.on("dragover",function(t){return t.preventDefault(),t.stopPropagation(),a.addClass("hover"),!1}),a.on("dragleave",function(t){return t.preventDefault(),t.stopPropagation(),a.removeClass("hover"),!1}),a.on("drop",function(e){e.preventDefault(),e.stopPropagation(),a.removeClass("hover");var o=e.originalEvent.target.files||e.originalEvent.dataTransfer.files;if(o.length){var n=o[0],s=new FormData;s.append("install_package",n),s.append("installtype","upload"),s.append(i,1),l.css("display","block"),t.ajax({url:r,data:s,type:"post",processData:!1,cache:!1,contentType:!1}).done(function(t){t.success||console.log(t.message,t.messages),t.data.redirect?location.href=t.data.redirect:location.href="index.php?option=com_installer&view=install"}).fail(function(t){l.css("display","none"),alert(t.statusText)})}})}); \ No newline at end of file diff --git a/media/com_joomlaupdate/js/default.min.js b/media/com_joomlaupdate/js/default.min.js deleted file mode 100644 index d9dad8392d3e8..0000000000000 --- a/media/com_joomlaupdate/js/default.min.js +++ /dev/null @@ -1 +0,0 @@ -Joomla=window.Joomla||{},function(){"use strict";Joomla.extractionMethodHandler=function(e,t){var n="direct"===e.value?"none":"table-row";document.getElementById(t+"_hostname").style.display=n,document.getElementById(t+"_port").style.display=n,document.getElementById(t+"_username").style.display=n,document.getElementById(t+"_password").style.display=n,document.getElementById(t+"_directory").style.display=n},Joomla.submitbuttonUpload=function(){var e=document.getElementById("uploadForm");""==e.install_package.value?alert(Joomla.JText._("COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_PACKAGE"),!0):e.submit()},document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("extraction_method"),t=document.getElementById("upload_method"),n=document.getElementById("uploadButton"),o=document.getElementById("downloadMessage");e&&e.addEventListener("change",function(t){Joomla.extractionMethodHandler(e,"row_ftp")}),t&&t.addEventListener("change",function(e){Joomla.extractionMethodHandler(t,"upload_ftp")}),n&&n.addEventListener("click",function(e){o&&(o.style.display="block")})})}(),function(e,t,n){var o={config:{serverUrl:"index.php?option=com_joomlaupdate&task=update.fetchextensioncompatibility",selector:".extension-check"},STATE:{INCOMPATIBLE:0,COMPATIBLE:1,MISSING_COMPATIBILITY_TAG:2,SERVER_ERROR:3},run:function(){o.joomlaTargetVersion=n.joomlaTargetVersion,e(o.config.selector).each(function(){o.checkCompatibility(e(this),o.setResultView)})},checkCompatibility:function(t,n){var a={$element:t,state:o.STATE.SERVER_ERROR,compatibleVersion:0};e.getJSON(o.config.serverUrl,{"joomla-target-version":o.joomlaTargetVersion,"extension-id":t.data("extensionId")}).done(function(e){a.state=e.data.state,a.compatibleVersion=e.data.compatibleVersion,a.currentVersion=t.data("extensionCurrentVersion")}).always(function(e){n(a)})},setResultView:function(e){var t="";switch(e.state){case o.STATE.COMPATIBLE:t=e.compatibleVersion==e.currentVersion?''+Joomla.JText._("JYES")+"":''+Joomla.JText._("JYES")+" ("+e.compatibleVersion+")";break;case o.STATE.INCOMPATIBLE:t=''+Joomla.JText._("JNO")+"";break;case o.STATE.MISSING_COMPATIBILITY_TAG:t=''+Joomla.JText._("COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_VERSION_MISSING")+"";break;default:t=''+Joomla.JText._("COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_WARNING_UNKNOWN")+""}e.$element.html(t)}};e(o.run)}(jQuery,document,window); \ No newline at end of file diff --git a/media/com_joomlaupdate/js/encryption.min.js b/media/com_joomlaupdate/js/encryption.min.js deleted file mode 100644 index ab1f54aab374f..0000000000000 --- a/media/com_joomlaupdate/js/encryption.min.js +++ /dev/null @@ -1 +0,0 @@ -var Aes={Cipher:function(r,e){for(var o=e.length/4-1,n=[[],[],[],[]],a=0;a<16;a++)n[a%4][Math.floor(a/4)]=r[a];n=Aes.AddRoundKey(n,e,0,4);for(var t=1;t6&&t%e==4&&(a=Aes.SubWord(a));for(c=0;c<4;c++)n[t][c]=n[t-e][c]^a[c]}return n},SubBytes:function(r,e){for(var o=0;o<4;o++)for(var n=0;n>>8*t&255;for(t=0;t<4;t++)c[t+4]=255&A;var u="";for(t=0;t<8;t++)u+=String.fromCharCode(c[t]);for(var h=Aes.KeyExpansion(f),s=Math.ceil(r.length/16),C=new Array(s),v=0;v>>8*l&255;for(l=0;l<4;l++)c[15-l-4]=v/4294967296>>>8*l;var y=Aes.Cipher(c,h),g=v>>8*s&255;for(s=0;s<4;s++)c[15-s-4]=(u+1)/4294967296-1>>>8*s&255;var C=Aes.Cipher(c,d),v=new Array(r[u].length);for(t=0;t0)for(;c++<3;)u+="=",d+="\0";for(c=0;c>18&63,a=o>>12&63,t=o>>6&63,f=63&o,A[c/3]=h.charAt(n)+h.charAt(a)+h.charAt(t)+h.charAt(f);return i=(i=A.join("")).slice(0,i.length-u.length)+u},decode:function(r,e){e=void 0!==e&&e;var o,n,a,t,f,c,d,i,A=[],u=Base64.code;i=e?r.decodeUTF8():r;for(var h=0;h>>16&255,n=c>>>8&255,a=255&c,A[h/4]=String.fromCharCode(o,n,a),64==f&&(A[h/4]=String.fromCharCode(o,n)),64==t&&(A[h/4]=String.fromCharCode(o));return d=A.join(""),e?d.decodeUTF8():d}},Utf8={encode:function(r){var e=r.replace(/[\u0080-\u07ff]/g,function(r){var e=r.charCodeAt(0);return String.fromCharCode(192|e>>6,128|63&e)});return e=e.replace(/[\u0800-\uffff]/g,function(r){var e=r.charCodeAt(0);return String.fromCharCode(224|e>>12,128|e>>6&63,128|63&e)})},decode:function(r){var e=r.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(r){var e=(31&r.charCodeAt(0))<<6|63&r.charCodeAt(1);return String.fromCharCode(e)});return e=e.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(r){var e=(15&r.charCodeAt(0))<<12|(63&r.charCodeAt(1))<<6|63&r.charCodeAt(2);return String.fromCharCode(e)})}}; \ No newline at end of file diff --git a/media/com_joomlaupdate/js/update.min.js b/media/com_joomlaupdate/js/update.min.js deleted file mode 100644 index c9018b1327cc0..0000000000000 --- a/media/com_joomlaupdate/js/update.min.js +++ /dev/null @@ -1 +0,0 @@ -var stat_total=0,stat_files=0,stat_inbytes=0,stat_outbytes=0;function error_callback(t){alert("ERROR:\n"+t)}function empty(t){var e;if(""===t||0===t||"0"===t||null===t||!1===t||void 0===t)return!0;if("object"==typeof t){for(e in t)return!1;return!0}return!1}function is_array(t){var e,r,s="";if(!t)return!1;if(this.php_js=this.php_js||{},this.php_js.ini=this.php_js.ini||{},"object"==typeof t){if(this.php_js.ini["phpjs.objectsAsArrays"]&&(this.php_js.ini["phpjs.objectsAsArrays"].local_value.toLowerCase&&"off"===this.php_js.ini["phpjs.objectsAsArrays"].local_value.toLowerCase()||0===parseInt(this.php_js.ini["phpjs.objectsAsArrays"].local_value,10)))return t.hasOwnProperty("length")&&!t.propertyIsEnumerable("length")&&"String"!==(e=t.constructor,(r=/\W*function\s+([\w\$]+)\s*\(/.exec(e))?r[1]:"(Anonymous)");if(t.hasOwnProperty)for(s in t)if(!1===t.hasOwnProperty(s))return!1;return!0}return!1}doEncryptedAjax=function(t,e,r){var s=JSON.stringify(t);joomlaupdate_password.length>0&&(s=AesCtr.encrypt(s,joomlaupdate_password,128));var a={type:"POST",url:joomlaupdate_ajax_url,cache:!1,data:{json:s},timeout:6e5,success:function(t,s){var a="";if(-1==(n=t.indexOf("###")))return t="Invalid AJAX data:\n"+t,void(null==r?null!=error_callback&&error_callback(t):r(t));0!=n?(t.substr(0,n),a=t.substr(n)):a=t;var n=(a=a.substr(3)).lastIndexOf("###");a=a.substr(0,n);var o=null;if(joomlaupdate_password.length>0)try{o=JSON.parse(a)}catch(t){a=AesCtr.decrypt(a,joomlaupdate_password,128)}try{empty(o)&&(o=JSON.parse(a))}catch(e){t=e.message+"\n
\n
\n"+a+"\n
";return void(null==r?null!=error_callback&&error_callback(t):r(t))}e(o)},error:function(t){var e="AJAX Loading Error: "+t.statusText;null==r?null!=error_callback&&error_callback(e):r(e)}};jQuery.ajax(a)},pingExtract=function(){this.stat_files=0,this.stat_inbytes=0,this.stat_outbytes=0;this.doEncryptedAjax({task:"ping"},function(t){startExtract(t)})},startExtract=function(){console.log("started"),this.stat_files=0,this.stat_inbytes=0,this.stat_outbytes=0;this.doEncryptedAjax({task:"startRestore"},function(t){stepExtract(t)})},stepExtract=function(t){0!=t.status?(empty(t.Warnings),empty(t.factory)||(extract_factory=t.factory),t.done?finalizeUpdate():(stat_inbytes+=t.bytesIn,stat_percent=100*stat_inbytes/joomlaupdate_totalsize,stat_inbytes+=t.bytesIn,stat_outbytes+=t.bytesOut,stat_files+=t.files,stat_percent<100?jQuery("#progress-bar").css("width",stat_percent+"%").attr("aria-valuenow",stat_percent):stat_percent>100?(stat_percent=100,jQuery("#progress-bar").css("width",stat_percent+"%").attr("aria-valuenow",stat_percent)):jQuery("#progress-bar").removeClass("bar-success"),jQuery("#extpercent").text(stat_percent.toFixed(1)),jQuery("#extbytesin").text(stat_inbytes),jQuery("#extbytesout").text(stat_outbytes),jQuery("#extfiles").text(t.files),post={task:"stepRestore",factory:t.factory},doEncryptedAjax(post,function(t){stepExtract(t)}))):error_callback(t.message)},finalizeUpdate=function(){var t={task:"finalizeRestore",factory:window.factory};doEncryptedAjax(t,function(t){window.location=joomlaupdate_return_url})}; \ No newline at end of file diff --git a/media/com_languages/js/overrider.min.js b/media/com_languages/js/overrider.min.js deleted file mode 100644 index a5dbb29b4330b..0000000000000 --- a/media/com_languages/js/overrider.min.js +++ /dev/null @@ -1 +0,0 @@ -Joomla.overrider={states:{refreshing:!1,refreshed:!1,counter:0,searchstring:"",searchtype:"value"}},Joomla.overrider.refreshCache=function(){this.states.refreshing=!0;var e=this,s=document.getElementById("refresh-status");s.classList.add("show"),Joomla.request({url:"index.php?option=com_languages&task=strings.refresh&format=json",method:"POST",headers:{"Content-Type":"application/json"},onSuccess:function(t){t.error&&t.message&&alert(t.message),t.messages&&Joomla.renderMessages(t.messages),s.classList.remove("show"),e.states.refreshing=!1},onError:function(e){alert(Joomla.JText._("COM_LANGUAGES_VIEW_OVERRIDE_REQUEST_ERROR")),s.classList.remove("show")}})},Joomla.overrider.searchStrings=function(e){var s=this,t=document.getElementById("jform_searchstring"),r=document.getElementById("jform_searchtype"),a=document.getElementById("overrider-spinner"),o=document.getElementById("overrider-spinner-btn"),n=document.getElementById("more-results"),i=document.getElementById("results-container");if(!this.states.refreshing){if(!e){this.states.searchstring=t.value,this.states.searchtype=null!==r?r.value:"value";for(var l=document.querySelectorAll(".language-results"),d=0,c=l.length;d=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function v(t,e){return Hn.call(t,e)}function h(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function m(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function _(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n in e)t[n]=e[n];return t}function g(t){for(var e={},n=0;n0&&(c=t(c,(n||"")+"_"+s),tt(c[0])&&tt(l)&&(f[u]=I(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?tt(l)?f[u]=I(l.text+c):""!==c&&f.push(I(c)):tt(c)&&tt(l)?f[u]=I(l.text+c.text):(o(e._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(t):void 0}function tt(t){return i(t)&&i(t.text)&&function(t){return!1===t}(t.isComment)}function et(t,e){return(t.__esModule||yr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function nt(t){return t.isComment&&t.asyncFactory}function rt(t){if(Array.isArray(t))for(var e=0;e=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function Bt(t){this._init(t)}function Ht(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=j(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)vt(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)mt(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Yn.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=y({},a.options),i[r]=a,a}}function Gt(t){return t&&(t.Ctor.options.name||t.tag)}function Wt(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!function(t){return"[object RegExp]"===Fn.call(t)}(t)&&t.test(e)}function Vt(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Gt(a.componentOptions);s&&!e(s)&&zt(n,o,r,i)}}}function zt(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,p(n,e)}function Jt(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=qt(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=qt(e,n.data));return function(t,e){return i(t)||i(e)?Kt(t,Zt(e)):""}(e.staticClass,e.class)}function qt(t,e){return{staticClass:Kt(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Kt(t,e){return t?e?t+" "+e:t:e||""}function Zt(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r=0&&" "===(m=t.charAt(h));h--);m&&Ui.test(m)||(l=!0)}}else void 0===o?(v=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==v&&e(),a)for(i=0;i-1?{exp:t.slice(0,fi),key:'"'+t.slice(fi+1)+'"'}:{exp:t,key:null};for(ui=t,fi=di=pi=0;!Ce();)we(li=be())?Se(li):91===li&&Oe(li);return{exp:t.slice(0,di),key:t.slice(di+1,pi)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function be(){return ui.charCodeAt(++fi)}function Ce(){return fi>=ci}function we(t){return 34===t||39===t}function Oe(t){var e=1;for(di=fi;!Ce();)if(we(t=be()))Se(t);else if(91===t&&e++,93===t&&e--,0===e){pi=fi;break}}function Se(t){for(var e=t;!Ce()&&(t=be())!==e;);}function Ae(t){if(i(t[Bi])){var e=ar?"change":"input";t[e]=[].concat(t[Bi],t[e]||[]),delete t[Bi]}i(t[Hi])&&(t.change=[].concat(t[Hi],t.change||[]),delete t[Hi])}function Ie(t,e,n,r,i){e=function(t){return t._withTask||(t._withTask=function(){Pr=!0;var e=t.apply(null,arguments);return Pr=!1,e})}(e),n&&(e=function(t,e,n){var r=vi;return function i(){null!==t.apply(null,arguments)&&Me(e,i,n,r)}}(e,t,r)),vi.addEventListener(t,e,dr?{capture:r,passive:i}:r)}function Me(t,e,n,r){(r||vi).removeEventListener(t,e._withTask||e,n)}function xe(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};vi=e.elm,Ae(n),Z(n,i,Ie,Me,e.context),vi=void 0}}function Te(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=y({},c)),s)r(c[n])&&(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=o;var u=r(o)?"":String(o);$e(a,u)&&(a.value=u)}else a[n]=o}}}function $e(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return f(n)!==f(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}function De(t){var e=ke(t.style);return t.staticStyle?y(t.staticStyle,e):e}function ke(t){return Array.isArray(t)?g(t):"string"==typeof t?Vi(t):t}function Le(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,c=e.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,d=ke(e.data.style)||{};e.data.normalizedStyle=i(d.__ob__)?y({},d):d;var p=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=De(i.data))&&y(r,n);(n=De(t.data))&&y(r,n);for(var o=t;o=o.parent;)o.data&&(n=De(o.data))&&y(r,n);return r}(e,!0);for(s in f)r(p[s])&&qi(c,s,"");for(s in p)(a=p[s])!==f[s]&&qi(c,s,null==a?"":a)}}function Re(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ne(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Pe(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&y(e,Xi(t.name||"v")),y(e,t),e}return"string"==typeof t?Xi(t):void 0}}function je(t){ao(function(){ao(t)})}function Fe(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Re(t,e))}function Ue(t,e){t._transitionClasses&&p(t._transitionClasses,e),Ne(t,e)}function Be(t,e,n){var r=He(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===to?ro:oo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=to,l=a,f=o.length):e===eo?u>0&&(n=eo,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?to:eo:null)?n===to?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===to&&so.test(r[no+"Property"])}}function Ge(t,e){for(;t.length1}function Ke(t,e){!0!==e.data.show&&Ve(e)}function Ze(t,e,n){Ye(t,e,n),(ar||cr)&&setTimeout(function(){Ye(t,e,n)},0)}function Ye(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(b(Qe(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Xe(t,e){return e.every(function(e){return!b(e,t)})}function Qe(t){return"_value"in t?t._value:t.value}function tn(t){t.target.composing=!0}function en(t){t.target.composing&&(t.target.composing=!1,nn(t.target,"input"))}function nn(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function rn(t){return!t.componentInstance||t.data&&t.data.transition?t:rn(t.componentInstance._vnode)}function on(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?on(rt(e.children)):t}function an(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[Wn(o)]=i[o];return e}function sn(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function cn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function un(t){t.data.newPos=t.elm.getBoundingClientRect()}function ln(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function fn(t,e){var n=e?Yo:Zo;return t.replace(n,function(t){return Ko[t]})}function dn(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var c=a.length-1;c>=i;c--)e.end&&e.end(a[c].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var i,o,a=[],s=e.expectHTML,c=e.isUnaryTag||qn,u=e.canBeLeftOpenTag||qn,l=0;t;){if(i=t,o&&Jo(o)){var f=0,d=o.toLowerCase(),p=qo[d]||(qo[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=t.replace(p,function(t,n,r){return f=r.length,Jo(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),Qo(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-v.length,t=v,r(d,l-f,l)}else{var h=t.indexOf("<");if(0===h){if(ko.test(t)){var m=t.indexOf("--\x3e");if(m>=0){e.shouldKeepComment&&e.comment(t.substring(4,m)),n(m+3);continue}}if(Lo.test(t)){var _=t.indexOf("]>");if(_>=0){n(_+2);continue}}var y=t.match(Do);if(y){n(y[0].length);continue}var g=t.match($o);if(g){var E=l;n(g[0].length),r(g[1],E,l);continue}var b=function(){var e=t.match(xo);if(e){var r,i,o={tagName:e[1],attrs:[],start:l};for(n(e[0].length);!(r=t.match(To))&&(i=t.match(Ao));)n(i[0].length),o.attrs.push(i);if(r)return o.unarySlash=r[1],n(r[0].length),o.end=l,o}}();if(b){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===o&&So(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||!!i,f=t.attrs.length,d=new Array(f),p=0;p=0){for(w=t.slice(h);!($o.test(w)||xo.test(w)||ko.test(w)||Lo.test(w)||(O=w.indexOf("<",1))<0);)h+=O,w=t.slice(h);C=t.substring(0,h),n(h)}h<0&&(C=t,t=""),e.chars&&C&&e.chars(C)}if(t===i){e.chars&&e.chars(t);break}}r()}(t,{warn:No,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,start:function(t,a,u){var l=i&&i.ns||Go(t);ar&&"svg"===l&&(a=function(t){for(var e=[],n=0;na&&o.push(JSON.stringify(t.slice(a,i)));var s=ue(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a':'
',zo.innerHTML.indexOf(" ")>0}var jn=Object.freeze({}),Fn=Object.prototype.toString,Un=d("slot,component",!0),Bn=d("key,ref,slot,slot-scope,is"),Hn=Object.prototype.hasOwnProperty,Gn=/-(\w)/g,Wn=h(function(t){return t.replace(Gn,function(t,e){return e?e.toUpperCase():""})}),Vn=h(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),zn=/\B([A-Z])/g,Jn=h(function(t){return t.replace(zn,"-$1").toLowerCase()}),qn=function(t,e,n){return!1},Kn=function(t){return t},Zn="data-server-rendered",Yn=["component","directive","filter"],Xn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Qn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:qn,isReservedAttr:qn,isUnknownElement:qn,getTagNamespace:E,parsePlatformTagName:Kn,mustUseProp:qn,_lifecycleHooks:Xn},tr=/[^\w.$]/,er="__proto__"in{},nr="undefined"!=typeof window,rr="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ir=rr&&WXEnvironment.platform.toLowerCase(),or=nr&&window.navigator.userAgent.toLowerCase(),ar=or&&/msie|trident/.test(or),sr=or&&or.indexOf("msie 9.0")>0,cr=or&&or.indexOf("edge/")>0,ur=or&&or.indexOf("android")>0||"android"===ir,lr=or&&/iphone|ipad|ipod|ios/.test(or)||"ios"===ir,fr=(or&&/chrome\/\d+/.test(or),{}.watch),dr=!1;if(nr)try{var pr={};Object.defineProperty(pr,"passive",{get:function(){dr=!0}}),window.addEventListener("test-passive",null,pr)}catch(t){}var vr,hr,mr=function(){return void 0===vr&&(vr=!nr&&void 0!==t&&"server"===t.process.env.VUE_ENV),vr},_r=nr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,yr="undefined"!=typeof Symbol&&A(Symbol)&&"undefined"!=typeof Reflect&&A(Reflect.ownKeys);hr="undefined"!=typeof Set&&A(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var gr=E,Er=0,br=function(){this.id=Er++,this.subs=[]};br.prototype.addSub=function(t){this.subs.push(t)},br.prototype.removeSub=function(t){p(this.subs,t)},br.prototype.depend=function(){br.target&&br.target.addDep(this)},br.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;eZr&&Vr[n].id>t.id;)n--;Vr.splice(n+1,0,t)}else Vr.push(t);qr||(qr=!0,J(pt))}}(this)},Xr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){G(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Xr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Xr.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Xr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Qr={enumerable:!0,configurable:!0,get:E,set:E},ti={lazy:!0};Tt($t.prototype);var ei={init:function(t,e,n,r){if(!t.componentInstance||t.componentInstance._isDestroyed)(t.componentInstance=Lt(t,Wr,n,r)).$mount(e?t.elm:void 0,e);else if(t.data.keepAlive){var i=t;ei.prepatch(i,i)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==jn);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data&&r.data.attrs||jn,t.$listeners=n||jn,e&&t.$options.props){xr.shouldConvert=!1;for(var a=t._props,s=t.$options._propKeys||[],c=0;c1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;iparseInt(this.max)&&zt(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return Qn}};Object.defineProperty(t,"config",e),t.util={warn:gr,extend:y,mergeOptions:j,defineReactive:$},t.set=D,t.delete=k,t.nextTick=J,t.options=Object.create(null),Yn.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,y(t.options.components,si),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=j(this.options,t),this}}(t),Ht(t),function(t){Yn.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Bt),Object.defineProperty(Bt.prototype,"$isServer",{get:mr}),Object.defineProperty(Bt.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Bt.version="2.5.11";var ci,ui,li,fi,di,pi,vi,hi,mi=d("style,class"),_i=d("input,textarea,option,select,progress"),yi=function(t,e,n){return"value"===n&&_i(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},gi=d("contenteditable,draggable,spellcheck"),Ei=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),bi="http://www.w3.org/1999/xlink",Ci=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},wi=function(t){return Ci(t)?t.slice(6,t.length):""},Oi=function(t){return null==t||!1===t},Si={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ai=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ii=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Mi=function(t){return Ai(t)||Ii(t)},xi=Object.create(null),Ti=d("text,number,password,search,email,tel,url"),$i=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Si[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setAttribute:function(t,e,n){t.setAttribute(e,n)}}),Di={create:function(t,e){Qt(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Qt(t,!0),Qt(e))},destroy:function(t){Qt(t,!0)}},ki=new wr("",{},[]),Li=["create","activate","update","remove","destroy"],Ri={create:ne,update:ne,destroy:function(t){ne(t,ki)}},Ni=Object.create(null),Pi=[Di,Ri],ji={create:ae,update:ae},Fi={create:ce,update:ce},Ui=/[\w).+\-_$\]]/,Bi="__r",Hi="__c",Gi={create:xe,update:xe},Wi={create:Te,update:Te},Vi=h(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}),zi=/^--/,Ji=/\s*!important$/,qi=function(t,e,n){if(zi.test(e))t.style.setProperty(e,n);else if(Ji.test(n))t.style.setProperty(e,n.replace(Ji,""),"important");else{var r=Zi(e);if(Array.isArray(n))for(var i=0,o=n.length;ip?h(t,r(o[y+1])?null:o[y+1].elm,o,d,y,a):d>y&&_(0,e,f,p)}function E(t,e,n,r){for(var o=n;o-1?xi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:xi[t]=/HTMLUnknownElement/.test(e.toString())},y(Bt.options.directives,lo),y(Bt.options.components,ho),Bt.prototype.__patch__=nr?co:E,Bt.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=Sr),dt(t,"beforeMount"),new Xr(t,function(){t._update(t._render(),n)},E,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,dt(t,"mounted")),t}(this,t=t&&nr?Xt(t):void 0,e)},Bt.nextTick(function(){Qn.devtools&&_r&&_r.emit("init",Bt)},0);var mo,_o=/\{\{((?:.|\n)+?)\}\}/g,yo=/[-.*+?^${}()|[\]\/\\]/g,go=h(function(t){var e=t[0].replace(yo,"\\$&"),n=t[1].replace(yo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),Eo={staticKeys:["staticClass"],transformNode:function(t,e){var n=(e.warn,ye(t,"class"));n&&(t.staticClass=JSON.stringify(n));var r=_e(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},bo={staticKeys:["staticStyle"],transformNode:function(t,e){var n=(e.warn,ye(t,"style"));n&&(t.staticStyle=JSON.stringify(Vi(n)));var r=_e(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},Co=function(t){return(mo=mo||document.createElement("div")).innerHTML=t,mo.textContent},wo=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Oo=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),So=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ao=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Io="[a-zA-Z_][\\w\\-\\.]*",Mo="((?:"+Io+"\\:)?"+Io+")",xo=new RegExp("^<"+Mo),To=/^\s*(\/?)>/,$o=new RegExp("^<\\/"+Mo+"[^>]*>"),Do=/^]+>/i,ko=/^/g,"$1").replace(//g,"$1")),ia(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-v.length,t=v,r(d,l-f,l)}else{var m=t.indexOf("<");if(0===m){if(jo.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h)),n(h+3);continue}}if(Fo.test(t)){var _=t.indexOf("]>");if(_>=0){n(_+2);continue}}var g=t.match(Po);if(g){n(g[0].length);continue}var y=t.match(No);if(y){var b=l;n(y[0].length),r(y[1],b,l);continue}var E=function(){var e=t.match(Lo);if(e){var r,i,o={tagName:e[1],attrs:[],start:l};for(n(e[0].length);!(r=t.match(Ro))&&(i=t.match($o));)n(i[0].length),o.attrs.push(i);if(r)return o.unarySlash=r[1],n(r[0].length),o.end=l,o}}();if(E){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===o&&To(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||!!i,f=t.attrs.length,d=new Array(f),p=0;p=0){for(w=t.slice(m);!(No.test(w)||Lo.test(w)||jo.test(w)||Fo.test(w)||(O=w.indexOf("<",1))<0);)m+=O,w=t.slice(m);C=t.substring(0,m),n(m)}m<0&&(C=t,t=""),e.chars&&C&&e.chars(C)}if(t===i){e.chars&&e.chars(t);break}}r()}(t,{warn:Bo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,start:function(t,a,u){var l=i&&i.ns||qo(t);dr&&"svg"===l&&(a=function(t){for(var e=[],n=0;nc&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var u=ve(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c':'
',Yo.innerHTML.indexOf(" ")>0}var Gn=Object.freeze({}),Wn=Object.prototype.toString,Vn=d("slot,component",!0),zn=d("key,ref,slot,slot-scope,is"),Jn=Object.prototype.hasOwnProperty,qn=/-(\w)/g,Kn=m(function(t){return t.replace(qn,function(t,e){return e?e.toUpperCase():""})}),Zn=m(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Yn=/\B([A-Z])/g,Xn=m(function(t){return t.replace(Yn,"-$1").toLowerCase()}),Qn=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n},tr=function(t,e,n){return!1},er=function(t){return t},nr="data-server-rendered",rr=["component","directive","filter"],ir=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],or={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:tr,isReservedAttr:tr,isUnknownElement:tr,getTagNamespace:y,parsePlatformTagName:er,mustUseProp:tr,_lifecycleHooks:ir},ar=/[^\w.$]/,sr="__proto__"in{},cr="undefined"!=typeof window,ur="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,lr=ur&&WXEnvironment.platform.toLowerCase(),fr=cr&&window.navigator.userAgent.toLowerCase(),dr=fr&&/msie|trident/.test(fr),pr=fr&&fr.indexOf("msie 9.0")>0,vr=fr&&fr.indexOf("edge/")>0,mr=(fr&&fr.indexOf("android"),fr&&/iphone|ipad|ipod|ios/.test(fr)||"ios"===lr),hr=(fr&&/chrome\/\d+/.test(fr),{}.watch),_r=!1;if(cr)try{var gr={};Object.defineProperty(gr,"passive",{get:function(){_r=!0}}),window.addEventListener("test-passive",null,gr)}catch(t){}var yr,br,Er=function(){return void 0===yr&&(yr=!cr&&!ur&&void 0!==t&&"server"===t.process.env.VUE_ENV),yr},Cr=cr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,wr="undefined"!=typeof Symbol&&S(Symbol)&&"undefined"!=typeof Reflect&&S(Reflect.ownKeys);br="undefined"!=typeof Set&&S(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Or=y,Sr=0,Ar=function(){this.id=Sr++,this.subs=[]};Ar.prototype.addSub=function(t){this.subs.push(t)},Ar.prototype.removeSub=function(t){p(this.subs,t)},Ar.prototype.depend=function(){Ar.target&&Ar.target.addDep(this)},Ar.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;eei&&Zr[n].id>t.id;)n--;Zr.splice(n+1,0,t)}else Zr.push(t);Qr||(Qr=!0,K(mt))}}(this)},ri.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){V(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ri.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ri.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},ri.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var ii={enumerable:!0,configurable:!0,get:y,set:y},oi={lazy:!0};kt(Lt.prototype);var ai={init:function(t,e,n,r){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var i=t;ai.prepatch(i,i)}else(t.componentInstance=jt(t,Kr,n,r)).$mount(e?t.elm:void 0,e)},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==Gn);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data.attrs||Gn,t.$listeners=n||Gn,e&&t.$options.props){T(!1);for(var a=t._props,s=t.$options._propKeys||[],c=0;c1?h(n):n;for(var r=h(arguments,1),i=0,o=n.length;iparseInt(this.max)&&Zt(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return or}};Object.defineProperty(t,"config",e),t.util={warn:Or,extend:_,mergeOptions:F,defineReactive:D},t.set=k,t.delete=L,t.nextTick=K,t.options=Object.create(null),rr.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,_(t.options.components,di),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=h(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=F(this.options,t),this}}(t),zt(t),function(t){rr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Vt),Object.defineProperty(Vt.prototype,"$isServer",{get:Er}),Object.defineProperty(Vt.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Vt,"FunctionalRenderContext",{value:Lt}),Vt.version="2.5.16";var pi,vi,mi,hi,_i,gi,yi,bi,Ei=d("style,class"),Ci=d("input,textarea,option,select,progress"),wi=function(t,e,n){return"value"===n&&Ci(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Oi=d("contenteditable,draggable,spellcheck"),Si=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ai="http://www.w3.org/1999/xlink",Ii=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Mi=function(t){return Ii(t)?t.slice(6,t.length):""},xi=function(t){return null==t||!1===t},Ti={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},$i=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Di=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ki=function(t){return $i(t)||Di(t)},Li=Object.create(null),Ri=d("text,number,password,search,email,tel,url"),Ni=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Ti[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Pi={create:function(t,e){re(e)},update:function(t,e){t.data.ref!==e.data.ref&&(re(t,!0),re(e))},destroy:function(t){re(t,!0)}},ji=new Mr("",{},[]),Fi=["create","activate","update","remove","destroy"],Ui={create:ae,update:ae,destroy:function(t){ae(t,ji)}},Bi=Object.create(null),Hi=[Pi,Ui],Gi={create:le,update:le},Wi={create:pe,update:pe},Vi=/[\w).+\-_$\]]/,zi="__r",Ji="__c",qi={create:Re,update:Re},Ki={create:Ne,update:Ne},Zi=m(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}),Yi=/^--/,Xi=/\s*!important$/,Qi=function(t,e,n){if(Yi.test(e))t.style.setProperty(e,n);else if(Xi.test(n))t.style.setProperty(e,n.replace(Xi,""),"important");else{var r=eo(e);if(Array.isArray(n))for(var i=0,o=n.length;ip?m(t,r(o[g+1])?null:o[g+1].elm,o,d,g,a):d>g&&_(0,e,f,p)}function b(t,e,n,r){for(var o=n;o-1?Li[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Li[t]=/HTMLUnknownElement/.test(e.toString())},_(Vt.options.directives,ho),_(Vt.options.components,bo),Vt.prototype.__patch__=cr?vo:y,Vt.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=Tr),vt(t,"beforeMount"),new ri(t,function(){t._update(t._render(),n)},y,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,vt(t,"mounted")),t}(this,t=t&&cr?ne(t):void 0,e)},cr&&setTimeout(function(){or.devtools&&Cr&&Cr.emit("init",Vt)},0);var Eo,Co=/\{\{((?:.|\n)+?)\}\}/g,wo=/[-.*+?^${}()|[\]\/\\]/g,Oo=m(function(t){var e=t[0].replace(wo,"\\$&"),n=t[1].replace(wo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),So={staticKeys:["staticClass"],transformNode:function(t,e){var n=(e.warn,Oe(t,"class"));n&&(t.staticClass=JSON.stringify(n));var r=we(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},Ao={staticKeys:["staticStyle"],transformNode:function(t,e){var n=(e.warn,Oe(t,"style"));n&&(t.staticStyle=JSON.stringify(Zi(n)));var r=we(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},Io=function(t){return(Eo=Eo||document.createElement("div")).innerHTML=t,Eo.textContent},Mo=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xo=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),To=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),$o=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Do="[a-zA-Z_][\\w\\-\\.]*",ko="((?:"+Do+"\\:)?"+Do+")",Lo=new RegExp("^<"+ko),Ro=/^\s*(\/?)>/,No=new RegExp("^<\\/"+ko+"[^>]*>"),Po=/^]+>/i,jo=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},ea=/&(?:lt|gt|quot|amp);/g,na=/&(?:lt|gt|quot|amp|#10|#9);/g,ra=d("pre,textarea",!0),ia=function(t,e){return t&&ra(t)&&"\n"===e[0]},oa=/^@|^v-on:/,aa=/^v-|^@|^:/,sa=/([^]*?)\s+(?:in|of)\s+([^]*)/,ca=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ua=/^\(|\)$/g,la=/:(.*)$/,fa=/^:|^v-bind:/,da=/\.[^.]+/g,pa=m(Io),va=/^xmlns:NS\d+/,ma=/^NS\d+:/,ha=[So,Ao,{preTransformNode:function(t,e){if("input"===t.tag){var n,r=t.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=we(t,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Oe(t,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Oe(t,"v-else",!0),s=Oe(t,"v-else-if",!0),c=On(t);En(c),be(c,"type","checkbox"),bn(c,e),c.processed=!0,c.if="("+n+")==='checkbox'"+o,Cn(c,{exp:c.if,block:c});var u=On(t);Oe(u,"v-for",!0),be(u,"type","radio"),bn(u,e),Cn(c,{exp:"("+n+")==='radio'"+o,block:u});var l=On(t);return Oe(l,"v-for",!0),be(l,":type",n),bn(l,e),Cn(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],_a={expectHTML:!0,modules:ha,directives:{model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return Se(t,r,i),!1;if("select"===o)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+Ae(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ce(t,"change",r,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,i=we(t,"value")||"null",o=we(t,"true-value")||"true",a=we(t,"false-value")||"false";ge(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Ce(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ae(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ae(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ae(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===a)!function(t,e,n){var r=n&&n.number,i=we(t,"value")||"null";ge(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Ce(t,"change",Ae(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?zi:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Ae(e,l);c&&(f="if($event.target.composing)return;"+f),ge(t,"value","("+e+")"),Ce(t,u,f,null,!0),(s||a)&&Ce(t,"blur","$forceUpdate()")}(t,r,i);else if(!or.isReservedTag(o))return Se(t,r,i),!1;return!0},text:function(t,e){e.value&&ge(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&ge(t,"innerHTML","_s("+e.value+")")}},isPreTag:function(t){return"pre"===t},isUnaryTag:Mo,mustUseProp:wi,canBeLeftOpenTag:xo,isReservedTag:ki,getTagNamespace:ee,staticKeys:ha.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")},ga=m(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}),ya=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ba=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ea={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ca={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},wa=function(t){return"if("+t+")return null;"},Oa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:wa("$event.target !== $event.currentTarget"),ctrl:wa("!$event.ctrlKey"),shift:wa("!$event.shiftKey"),alt:wa("!$event.altKey"),meta:wa("!$event.metaKey"),left:wa("'button' in $event && $event.button !== 0"),middle:wa("'button' in $event && $event.button !== 1"),right:wa("'button' in $event && $event.button !== 2")},Sa={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:y},Aa=function(t){this.options=t,this.warn=t.warn||he,this.transforms=_e(t.modules,"transformCode"),this.dataGenFns=_e(t.modules,"genData"),this.directives=_(_({},Sa),t.directives);var e=t.isReservedTag||tr;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]},Ia=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),function(t){return function(e){function n(n,r){var i=Object.create(e),o=[],a=[];if(i.warn=function(t,e){(e?a:o).push(t)},r)for(var s in r.modules&&(i.modules=(e.modules||[]).concat(r.modules)),r.directives&&(i.directives=_(Object.create(e.directives||null),r.directives)),r)"modules"!==s&&"directives"!==s&&(i[s]=r[s]);var c=t(n,i);return c.errors=o,c.tips=a,c}return{compile:n,compileToFunctions:function(t){var e=Object.create(null);return function(n,r,i){(r=_({},r)).warn,delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var a=t(n,r),s={},c=[];return s.render=Bn(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return Bn(t,c)}),e[o]=s}}(n)}}}(function(t,e){var n=yn(t.trim(),e);!1!==e.optimize&&Sn(n,e);var r=xn(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}))(_a).compileToFunctions,Ma=!!cr&&Hn(!1),xa=!!cr&&Hn(!0),Ta=m(function(t){var e=ne(t);return e&&e.innerHTML}),$a=Vt.prototype.$mount;Vt.prototype.$mount=function(t,e){if((t=t&&ne(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ta(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){var i=Ia(r,{shouldDecodeNewlines:Ma,shouldDecodeNewlinesForHref:xa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return $a.call(this,t,e)},Vt.compile=Ia,e.default=Vt}.call(e,n(18),n(66).setImmediate)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(37));e.default=function(){function t(t,e){for(var n=0;n=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(43),i=n(27);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(26),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(44)("keys"),i=n(45);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(8).f,i=n(16),o=n(4)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(27);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(49),i=n(4)("iterator"),o=n(12);t.exports=n(3).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(15);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(126));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1)for(var n=1;nn;)e.push(arguments[n++]);return _[++h]=function(){s("function"==typeof t?t:Function(t),e)},r(h),h},p=function(t){delete _[t]},"process"==n(17)(f)?r=function(t){f.nextTick(a(g,t,1))}:m&&m.now?r=function(t){m.now(a(g,t,1))}:v?(o=(i=new v).port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:d,clear:p}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(5),i=n(11),o=n(34);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(4)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.notifications=void 0;var i=r(n(58)),o=r(n(19)),a=r(n(20)),s=function(){function t(){(0,o.default)(this,t)}return(0,a.default)(t,[{key:"success",value:function(t,e){c.notify(t,(0,i.default)({level:"success",dismiss:!0},e))}},{key:"error",value:function(t,e){c.notify(t,(0,i.default)({level:"danger",dismiss:!0},e))}},{key:"ask",value:function(t,e){return window.confirm(t)}},{key:"notify",value:function(t,e){var n=document.createElement("joomla-alert");n.setAttribute("level",e.level||"info"),n.setAttribute("dismiss",e.dismiss||!0),n.setAttribute("auto-dismiss",e.autoDismiss||!0),n.innerHTML=Joomla.JText._(t,t)||"",document.getElementById("system-message").appendChild(n)}}]),t}(),c=e.notifications=new s},function(t,e,n){t.exports={default:n(100),__esModule:!0}},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),o="/"===a(t,-1);return(t=n(r(t.split("/"),function(t){return!!t}),!i).join("/"))||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c1&&(r.commit(u.UNSELECT_ALL_BROWSER_ITEMS),r.commit(u.SELECT_BROWSER_ITEM,l))}}},[t(function(){if("table"==r.state.listView)return c.default;return"dir"===l.type?i.default:l.extension&&-1!==["jpg","jpeg","png","gif"].indexOf(l.extension.toLowerCase())?a.default:l.extension&&-1!==["mp4"].indexOf(l.extension.toLowerCase())?s.default:o.default}(),{props:e.props})])}}},function(t,e,n){"use strict";var r=n(14);r="default"in r?r.default:r,/^2\./.test(r.version)||r.util.warn("VueFocus 2.1.0 only supports Vue 2.x, and does not support Vue "+r.version);var i={inserted:function(t,e){e.value?t.focus():t.blur()},componentUpdated:function(t,e){e.modifiers.lazy&&Boolean(e.value)===Boolean(e.oldValue)||(e.value?t.focus():t.blur())}},o={directives:{focus:i}};e.version="2.1.0",e.focus=i,e.mixin=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={translate:function(t){return Joomla.JText._(t,t)},sprintf:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(67),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(18))},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){delete s[t]}function i(t){if(c)setTimeout(i,0,t);else{var e=s[t];if(e){c=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{r(t),c=!1}}}}if(!t.setImmediate){var o,a=1,s={},c=!1,u=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?o=function(t){e.nextTick(function(){i(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&i(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),o=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){i(t.data)},o=function(e){t.port2.postMessage(e)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var t=u.documentElement;o=function(e){var n=u.createElement("script");n.onreadystatechange=function(){i(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():o=function(t){setTimeout(i,0,t)},l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1&&void 0!==arguments[1]?arguments[1]:null;this.vue.$emit(t,e)}},{key:"listen",value:function(t,e){this.vue.$on(t,e)}}]),t}();e.default=s},function(t,e,n){n(70);var r=n(3).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(6);r(r.S+r.F*!n(9),"Object",{defineProperty:n(8).f})},function(t,e,n){t.exports=!n(9)&&!n(21)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0)(n(74),n(105),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=n(38);i&&i.__esModule,e.default={name:"media-app",data:function(){return{fullHeight:""}},computed:{disks:function(){return this.$store.state.disks}},methods:{setFullHeight:function(){this.fullHeight=window.innerHeight-this.$el.getBoundingClientRect().top+"px"}},created:function(){var t=this;MediaManager.Event.listen("onClickCreateFolder",function(){return t.$store.commit(r.SHOW_CREATE_FOLDER_MODAL)}),MediaManager.Event.listen("onClickDelete",function(){return t.$store.dispatch("deleteSelectedItems")})},mounted:function(){var t=this;this.$nextTick(function(){t.setFullHeight(),window.addEventListener("resize",t.setFullHeight)}),this.$store.dispatch("getContents",this.$store.state.selectedDirectory)},beforeDestroy:function(){window.removeEventListener("resize",this.setFullHeight)}}},function(t,e,n){var r=n(3),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e,n){t.exports={default:n(77),__esModule:!0}},function(t,e,n){n(78),n(25),n(48),n(91),n(98),n(99),t.exports=n(3).Promise},function(t,e){},function(t,e,n){var r=n(26),i=n(27);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){t.exports=n(7)},function(t,e,n){"use strict";var r=n(82),i=n(23),o=n(31),a={};n(7)(a,n(4)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(5),i=n(83),o=n(46),a=n(30)("IE_PROTO"),s=function(){},c=function(){var t,e=n(22)("iframe"),r=o.length;for(e.style.display="none",n(47).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("