/home/suroeste/public_html/wp-content/plugins/elementor/assets/js
NameSizeModeActions
packages/-0777rm
0e842fae60df2bcb2a30.bundle.min.js136070644editdlrm
2f08057553c95b827d30.bundle.min.js251010644editdlrm
7dc832afac0230c2012d.bundle.min.js41310644editdlrm
9c42cff515a6191fddaf.bundle.min.js598180644editdlrm
46e544e5863270fc32f2.bundle.js113830644editdlrm
343f4c6fd2ee68785472.bundle.min.js54850644editdlrm
869c0bb89d87e0d81450.bundle.min.js57920644editdlrm
4586b3ce03181d93c8bf.bundle.js162610644editdlrm
4748df03726015eef04f.bundle.min.js274970644editdlrm
5975ee58d21883e10a11.bundle.min.js423950644editdlrm
5975ee58d21883e10a11.bundle.min.js.LICENSE.txt4870644editdlrm
152486453d0e39071cdb.bundle.js715240644editdlrm
a730ee9caa710006b307.bundle.js2720420644editdlrm
accordion.8799675460c73eb48972.bundle.min.js37430644editdlrm
accordion.c16b88b2e8a0c50189bc.bundle.js75290644editdlrm
admin-feedback.js46400644editdlrm
admin-feedback.min.js19760644editdlrm
admin-modules.js390780644editdlrm
admin-modules.min.js178950644editdlrm
admin-modules.min.js.LICENSE.txt1490644editdlrm
admin-notifications.js2600920644editdlrm
admin-notifications.min.js861510644editdlrm
admin-top-bar.js705700644editdlrm
admin-top-bar.min.js126400644editdlrm
admin.js1182180644editdlrm
admin.min.js558510644editdlrm
admin.min.js.LICENSE.txt1490644editdlrm
ai-admin.js19289740644editdlrm
ai-admin.min.js5903070644editdlrm
ai-admin.min.js.LICENSE.txt7580644editdlrm
ai-gutenberg.js20534110644editdlrm
ai-gutenberg.min.js6086210644editdlrm
ai-gutenberg.min.js.LICENSE.txt9190644editdlrm
ai-layout.js5978100644editdlrm
ai-layout.min.js2405360644editdlrm
ai-layout.min.js.LICENSE.txt6370644editdlrm
ai-media-library.js20639260644editdlrm
ai-media-library.min.js6137870644editdlrm
ai-media-library.min.js.LICENSE.txt9190644editdlrm
ai.js19720740644editdlrm
ai.min.js6087320644editdlrm
ai.min.js.LICENSE.txt7580644editdlrm
alert.c3c6a3fdf4745bd26b7f.bundle.js11400644editdlrm
alert.cbc2a0fee74ee3ed0419.bundle.min.js6240644editdlrm
announcements-app.js1039230644editdlrm
announcements-app.min.js284370644editdlrm
announcements-app.min.js.LICENSE.txt1490644editdlrm
app-loader.js2674360644editdlrm
app-loader.min.js925820644editdlrm
app-packages.js3599580644editdlrm
app-packages.min.js1240750644editdlrm
app-packages.min.js.LICENSE.txt1490644editdlrm
app.js8153190644editdlrm
app.min.js2992550644editdlrm
app.min.js.LICENSE.txt6370644editdlrm
beta-tester.js230850644editdlrm
beta-tester.min.js94370644editdlrm
common-modules.js3029280644editdlrm
common-modules.min.js1057730644editdlrm
common.js4274750644editdlrm
common.min.js1607830644editdlrm
common.min.js.LICENSE.txt1490644editdlrm
container-converter.js551490644editdlrm
container-converter.min.js193120644editdlrm
container.a7f0a15dfa05df34e1f7.bundle.js182650644editdlrm
container.c65a2a923085e1120e75.bundle.min.js98220644editdlrm
counter.02cef29c589e742d4c8c.bundle.min.js9120644editdlrm
counter.3f74a246dff765f39aea.bundle.js16280644editdlrm
dev-tools.js243800644editdlrm
dev-tools.min.js76780644editdlrm
e-home-screen.js17882700644editdlrm
e-home-screen.min.js3316350644editdlrm
e-home-screen.min.js.LICENSE.txt14470644editdlrm
e3f753621bf9be55ec4d.bundle.js157730644editdlrm
e8a7573e654d921656ab.bundle.js273700644editdlrm
editor-document.js753220644editdlrm
editor-document.min.js271220644editdlrm
editor-environment-v2.js6700644editdlrm
editor-environment-v2.min.js2460644editdlrm
editor-loader-v1.js4020644editdlrm
editor-loader-v1.min.js880644editdlrm
editor-loader-v2.js8900644editdlrm
editor-loader-v2.min.js4430644editdlrm
editor-modules.js1210040644editdlrm
editor-modules.min.js520960644editdlrm
editor-modules.min.js.LICENSE.txt1490644editdlrm
editor-notifications.js2706730644editdlrm
editor-notifications.min.js901030644editdlrm
editor.js28575260644editdlrm
editor.min.js11808330644editdlrm
editor.min.js.LICENSE.txt3400644editdlrm
element-manager-admin.js1880920644editdlrm
element-manager-admin.min.js487370644editdlrm
element-manager-admin.min.js.LICENSE.txt3100644editdlrm
elementor-admin-bar.js197050644editdlrm
elementor-admin-bar.min.js75320644editdlrm
f45f06ab7bc79ea02cfc.bundle.js831330644editdlrm
fa0cbd4c7b6a8ad83224.bundle.js680070644editdlrm
fd6a00ae23a1bc2c6190.bundle.js449560644editdlrm
frontend-modules.js1921280644editdlrm
frontend-modules.min.js673660644editdlrm
frontend.js1038020644editdlrm
frontend.min.js402540644editdlrm
gutenberg.js76810644editdlrm
gutenberg.min.js41170644editdlrm
image-carousel.4455c6362492d9067512.bundle.min.js4320644editdlrm
image-carousel.9399f19d95d7300cbc2e.bundle.js9290644editdlrm
import-export-admin.js154730644editdlrm
import-export-admin.min.js63170644editdlrm
kit-elements-defaults-editor.js894930644editdlrm
kit-elements-defaults-editor.min.js362090644editdlrm
kit-elements-defaults-editor.min.js.LICENSE.txt1490644editdlrm
kit-library.1f8d31888dc9d19dd031.bundle.min.js899480644editdlrm
kit-library.ac1a4cd5deae5526ce49.bundle.js2321710644editdlrm
lightbox.94b920846d1e37cafb78.bundle.min.js302520644editdlrm
lightbox.6565606db58088dcec66.bundle.js528050644editdlrm
media-hints.js123500644editdlrm
media-hints.min.js61410644editdlrm
nested-accordion.js269590644editdlrm
nested-accordion.min.js125530644editdlrm
nested-accordion.min.js.LICENSE.txt1490644editdlrm
nested-elements.js209350644editdlrm
nested-elements.min.js64010644editdlrm
nested-tabs.js269190644editdlrm
nested-tabs.min.js125520644editdlrm
nested-tabs.min.js.LICENSE.txt1490644editdlrm
new-template.js157800644editdlrm
new-template.min.js68300644editdlrm
notes.js263230644editdlrm
notes.min.js98530644editdlrm
onboarding.1cb5860100647c216467.bundle.min.js600500644editdlrm
onboarding.d6ea272a04bd56212e9d.bundle.js1355520644editdlrm
progress.6d15c16f0f5c4792940f.bundle.js15400644editdlrm
progress.985f012a6336ab21cb44.bundle.min.js7910644editdlrm
responsive-bar.js266580644editdlrm
responsive-bar.min.js119870644editdlrm
styleguide-app-initiator.js352830644editdlrm
styleguide-app-initiator.min.js151910644editdlrm
styleguide-app-initiator.min.js.LICENSE.txt1490644editdlrm
styleguide.js1040910644editdlrm
styleguide.min.js468680644editdlrm
tabs.520bc2ed4560c561029e.bundle.js74560644editdlrm
tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js37050644editdlrm
text-editor.2c35aafbe5bf0e127950.bundle.min.js13600644editdlrm
text-editor.2f2f7e0ea1e16387a004.bundle.js28000644editdlrm
text-path.2bc8a9cd0e50cf1a5a9c.bundle.min.js252440644editdlrm
text-path.2bc8a9cd0e50cf1a5a9c.bundle.min.js.LICENSE.txt1900644editdlrm
text-path.fa44919c1abfe9244186.bundle.js739590644editdlrm
toggle.31881477c45ff5cf9d4d.bundle.min.js37700644editdlrm
toggle.d79746a764407a0828ee.bundle.js75600644editdlrm
video.57bb05ea17924bda3c02.bundle.js61140644editdlrm
video.d11c91c1b2b642a34601.bundle.min.js31710644editdlrm
web-cli.js5113440644editdlrm
web-cli.min.js1793470644editdlrm
web-cli.min.js.LICENSE.txt1490644editdlrm
webpack.runtime.js155050644editdlrm
webpack.runtime.min.js49970644editdlrm
wp-audio.75f0ced143febb8cd31a.bundle.min.js3490644editdlrm
wp-audio.b8efdc046bc9df72a075.bundle.js7810644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/elementor/assets/js/import-export-admin.js (15473B)
/*! elementor - v3.22.0 - 17-06-2024 */ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "@wordpress/i18n": /*!**************************!*\ !*** external "wp.i18n" ***! \**************************/ /***/ ((module) => { "use strict"; module.exports = wp.i18n; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": /*!****************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! \****************************************************************/ /***/ ((module) => { function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/createClass.js": /*!*************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": /*!****************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); function _defineProperty(obj, key, value) { key = toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": /*!***********************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! \***********************************************************************/ /***/ ((module) => { function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": /*!*************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); function toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": /*!***************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); function toPropertyKey(t) { var i = toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); } module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/typeof.js": /*!********************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! \********************************************************/ /***/ ((module) => { function _typeof(o) { "@babel/helpers - typeof"; return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o); } module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. (() => { "use strict"; /*!*******************************************************!*\ !*** ../app/modules/import-export/assets/js/admin.js ***! \*******************************************************/ /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); var Admin = /*#__PURE__*/function () { function Admin() { (0, _classCallCheck2.default)(this, Admin); /** * Session Storage Key * * @type {string} */ (0, _defineProperty2.default)(this, "KIT_DATA_KEY", 'elementor-kit-data'); /** * Contains the ID of the referrer Kit and the name of the Kit to remove. Stored in session storage. * * @type {Object} */ (0, _defineProperty2.default)(this, "cachedKitData", void 0); /** * The 'Remove Kit' revert button * * @type {Element} */ (0, _defineProperty2.default)(this, "revertButton", void 0); /** * Name of the kit currently active (last imported) * * @type {string} */ (0, _defineProperty2.default)(this, "activeKitName", void 0); this.activeKitName = this.getActiveKitName(); this.revertButton = document.getElementById('elementor-import-export__revert_kit'); if (this.revertButton) { this.revertButton.addEventListener('click', this.onRevertButtonClick.bind(this)); this.maybeAddRevertBtnMargin(); } this.maybeShowReferrerKitDialog(); } /** * Add bottom margin to revert btn if referred from Kit library */ (0, _createClass2.default)(Admin, [{ key: "maybeAddRevertBtnMargin", value: function maybeAddRevertBtnMargin() { var referrerKitId = new URLSearchParams(this.revertButton.href).get('referrer_kit'); if (!referrerKitId) { return; } this.revertButton.style.marginBottom = this.calculateMargin(); this.scrollToBottom(); } /** * CalculateMargin * * @return {string} */ }, { key: "calculateMargin", value: function calculateMargin() { var adminBar = document.getElementById('wpadminbar'); var adminBarHeight = adminBar ? adminBar.offsetHeight : 0; var revertKitHeight = this.revertButton.parentElement.offsetHeight; return document.body.clientHeight - adminBarHeight - revertKitHeight - document.getElementById('wpfooter').offsetHeight - 15 // Extra margin at the top + 'px'; } /** * Scroll to the bottom of the page */ }, { key: "scrollToBottom", value: function scrollToBottom() { setTimeout(function () { window.scrollTo(0, document.body.scrollHeight); }); } /** * RevertBtnOnClick * * @param {Event} event */ }, { key: "onRevertButtonClick", value: function onRevertButtonClick(event) { var _this = this; event.preventDefault(); elementorCommon.dialogsManager.createWidget('confirm', { headerMessage: __('Are you sure?', 'elementor'), // Translators: %s is the name of the active Kit message: __('Removing %s will permanently delete changes made to the Kit\'s content and site settings', 'elementor').replace('%s', this.activeKitName), strings: { confirm: __('Delete', 'elementor'), cancel: __('Cancel', 'elementor') }, onConfirm: function onConfirm() { return _this.onRevertConfirm(); } }).show(); } }, { key: "onRevertConfirm", value: function onRevertConfirm() { var referrerKitId = new URLSearchParams(this.revertButton.href).get('referrer_kit'); this.saveToCache(referrerKitId !== null && referrerKitId !== void 0 ? referrerKitId : ''); location.href = this.revertButton.href; } }, { key: "maybeShowReferrerKitDialog", value: function maybeShowReferrerKitDialog() { var _this$getDataFromCach = this.getDataFromCache(), referrerKitId = _this$getDataFromCach.referrerKitId; if (undefined === referrerKitId) { return; } if (0 === referrerKitId.length) { this.createKitDeletedWidget({ message: __('Try a different Kit or build your site from scratch.', 'elementor'), strings: { confirm: __('OK', 'elementor'), cancel: __('Kit Library', 'elementor') }, onCancel: function onCancel() { location.href = elementorImportExport.appUrl; } }); this.clearCache(); return; } this.createKitDeletedWidget({ message: __('You\'re ready to apply a new Kit!', 'elementor'), strings: { confirm: __('Continue to new Kit', 'elementor'), cancel: __('Close', 'elementor') }, onConfirm: function onConfirm() { location.href = elementorImportExport.appUrl + '/preview/' + referrerKitId; } }); this.clearCache(); } /** * CreateKitDeletedWidget * * @param {Object} options */ }, { key: "createKitDeletedWidget", value: function createKitDeletedWidget(options) { var _this$getDataFromCach2 = this.getDataFromCache(), activeKitName = _this$getDataFromCach2.activeKitName; elementorCommon.dialogsManager.createWidget('confirm', { id: 'e-revert-kit-deleted-dialog', // Translators: %s is the name of the active Kit headerMessage: __('%s was successfully deleted', 'elementor').replace('%s', activeKitName), message: options.message, strings: { confirm: options.strings.confirm, cancel: options.strings.cancel }, onConfirm: options.onConfirm, onCancel: options.onCancel }).show(); } /** * Retrieving the last imported kit from the elementorAppConfig global * * @return {string} */ }, { key: "getActiveKitName", value: function getActiveKitName() { var lastKit = elementorImportExport.lastImportedSession; if (lastKit.kit_title) { return lastKit.kit_title; } if (lastKit.kit_name) { return this.convertNameToTitle(lastKit.kit_name); } return __('Your Kit', 'elementor'); } /** * ConvertNameToTitle * * @param {string} name * * @return {string} */ }, { key: "convertNameToTitle", value: function convertNameToTitle(name) { return name.split(/[-_]+/).map(function (word) { return word[0].toUpperCase() + word.substring(1); }).join(' '); } }, { key: "saveToCache", value: function saveToCache(referrerKitId) { sessionStorage.setItem(this.KIT_DATA_KEY, JSON.stringify({ referrerKitId: referrerKitId, activeKitName: this.activeKitName })); } }, { key: "getDataFromCache", value: function getDataFromCache() { var _this$cachedKitData; if (this.cachedKitData) { return this.cachedKitData; } try { this.cachedKitData = JSON.parse(sessionStorage.getItem(this.KIT_DATA_KEY)); } catch (e) { return {}; } return (_this$cachedKitData = this.cachedKitData) !== null && _this$cachedKitData !== void 0 ? _this$cachedKitData : {}; } }, { key: "clearCache", value: function clearCache() { sessionStorage.removeItem(this.KIT_DATA_KEY); } }]); return Admin; }(); window.addEventListener('load', function () { new Admin(); }); })(); /******/ })() ; //# sourceMappingURL=import-export-admin.js.map