Submit
Path:
~
/
home
/
getwphos
/
public_html
/
srlgroup
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/
File Content:
gutenberg.js
/*! elementor - v3.31.0 - 27-08-2025 */ /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "@wordpress/i18n": /*!**************************!*\ !*** external "wp.i18n" ***! \**************************/ /***/ ((module) => { module.exports = wp.i18n; /***/ }) /******/ }); /************************************************************************/ /******/ // 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; /******/ } /******/ /************************************************************************/ // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. (() => { /*!*******************************************!*\ !*** ../assets/dev/js/admin/gutenberg.js ***! \*******************************************/ /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; /* global ElementorGutenbergSettings */ (function ($) { 'use strict'; var ElementorGutenbergApp = { cacheElements: function cacheElements() { var self = this; self.isElementorMode = ElementorGutenbergSettings.isElementorMode; self.cache = {}; self.cache.$gutenberg = $('#editor'); self.cache.$switchMode = $($('#elementor-gutenberg-button-switch-mode').html()); self.cache.$switchModeButton = self.cache.$switchMode.find('#elementor-switch-mode-button'); self.bindEvents(); self.toggleStatus(); wp.data.subscribe(function () { setTimeout(function () { self.buildPanel(); }, 1); }); }, buildPanel: function buildPanel() { var self = this; if (!self.cache.$gutenberg.find('#elementor-switch-mode').length) { self.cache.$gutenberg.find('.edit-post-header-toolbar').append(self.cache.$switchMode); } if (this.hasIframe()) { this.handleIframe(); } if (!$('#elementor-editor').length) { self.cache.$editorPanel = $($('#elementor-gutenberg-panel').html()); var editorButtonParent = self.cache.$gutenberg.find('.block-editor-writing-flow'); if (!editorButtonParent.length) { editorButtonParent = self.cache.$gutenberg.find('.is-desktop-preview'); } self.cache.$gurenbergBlockList = editorButtonParent; self.cache.$gurenbergBlockList.append(self.cache.$editorPanel); self.cache.$editorPanelButton = self.cache.$editorPanel.find('#elementor-go-to-edit-page-link'); self.cache.$editorPanelButton.on('click', function (event) { event.preventDefault(); self.handleEditButtonClick(); }); } }, handleIframe: function handleIframe() { this.hideIframeContent(); this.buildPanelTopBar(); }, // Sometimes Gutenberg uses iframe instead of div. hasIframe: function hasIframe() { return !!this.cache.$gutenberg.find('iframe[name="editor-canvas"]').length; }, hideIframeContent: function hideIframeContent() { if (!this.isElementorMode) { return; } var style = "<style>\n\t\t\t\t.editor-post-text-editor,\n\t\t\t\t.block-editor-block-list__layout {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\n\t\t\t\tbody {\n\t\t\t\t\tpadding: 0 !important;\n\t\t\t\t}\n\t\t\t</style>"; this.cache.$gutenberg.find('iframe[name="editor-canvas"]').contents().find('body').append(style); }, buildPanelTopBar: function buildPanelTopBar() { var self = this; if (!$('#elementor-edit-mode-button').length && this.isElementorMode) { self.cache.$editorBtnTop = $($('#elementor-gutenberg-button-tmpl').html()); self.cache.$gutenberg.find('.edit-post-header-toolbar').append(self.cache.$editorBtnTop); $('#elementor-edit-mode-button').on('click', function (event) { event.preventDefault(); self.handleEditButtonClick(false); }); } }, handleEditButtonClick: function handleEditButtonClick() { var withAnimation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; var self = this; if (withAnimation) { self.animateLoader(); } // A new post is initialized as an 'auto-draft'. // if the post is not a new post it should not save it to avoid some saving conflict between elementor and gutenberg. var isNewPost = 'auto-draft' === wp.data.select('core/editor').getCurrentPost().status; if (isNewPost) { var documentTitle = wp.data.select('core/editor').getEditedPostAttribute('title'); if (!documentTitle) { wp.data.dispatch('core/editor').editPost({ title: 'Elementor #' + $('#post_ID').val() }); } wp.data.dispatch('core/editor').savePost(); } self.redirectWhenSave(); }, bindEvents: function bindEvents() { var self = this; self.cache.$switchModeButton.on('click', function () { if (self.isElementorMode) { elementorCommon.dialogsManager.createWidget('confirm', { message: __('Please note that you are switching to WordPress default editor. Your current layout, design and content might break.', 'elementor'), headerMessage: __('Back to WordPress Editor', 'elementor'), strings: { confirm: __('Continue', 'elementor'), cancel: __('Cancel', 'elementor') }, defaultOption: 'confirm', onConfirm: function onConfirm() { var wpEditor = wp.data.dispatch('core/editor'); wpEditor.editPost({ gutenberg_elementor_mode: false }); wpEditor.savePost(); self.isElementorMode = !self.isElementorMode; self.toggleStatus(); } }).show(); } else { self.isElementorMode = !self.isElementorMode; self.toggleStatus(); self.cache.$editorPanelButton.trigger('click'); } }); }, redirectWhenSave: function redirectWhenSave() { var self = this; setTimeout(function () { if (wp.data.select('core/editor').isSavingPost()) { self.redirectWhenSave(); } else { location.href = ElementorGutenbergSettings.editLink; } }, 300); }, animateLoader: function animateLoader() { this.cache.$editorPanelButton.addClass('elementor-animate'); }, toggleStatus: function toggleStatus() { jQuery('body').toggleClass('elementor-editor-active', this.isElementorMode).toggleClass('elementor-editor-inactive', !this.isElementorMode); }, init: function init() { this.cacheElements(); } }; $(function () { ElementorGutenbergApp.init(); }); })(jQuery); })(); /******/ })() ; //# sourceMappingURL=gutenberg.js.map
Submit
FILE
FOLDER
Name
Size
Permission
Action
packages
---
0755
8277989eebcfba278cb0.bundle.min.js
36863 bytes
0644
admin-feedback.js
4612 bytes
0644
admin-feedback.min.js
1953 bytes
0644
admin-modules.min.js
15790 bytes
0644
admin-top-bar.js
68476 bytes
0644
admin-top-bar.min.js
11894 bytes
0644
admin.js
119649 bytes
0644
admin.min.js
54067 bytes
0644
ai-admin.js
1981549 bytes
0644
ai-admin.min.js
609438 bytes
0644
ai-gutenberg.min.js
638633 bytes
0644
ai-layout.js
501863 bytes
0644
ai-layout.min.js
189425 bytes
0644
ai-media-library.js
2098483 bytes
0644
ai.min.js
655427 bytes
0644
alert.42cc1d522ef5c60bf874.bundle.min.js
658 bytes
0644
alert.b696182ec6f18a35bc69.bundle.js
1445 bytes
0644
announcements-app.js
103755 bytes
0644
announcements-app.min.js
26048 bytes
0644
app-loader.min.js
90270 bytes
0644
app-packages.min.js
120125 bytes
0644
app.min.js
394391 bytes
0644
b96d70044d0d67c2df19.bundle.min.js
23455 bytes
0644
beta-tester.min.js
8862 bytes
0644
checklist.js
163099 bytes
0644
common-modules.js
296841 bytes
0644
container-editor-handlers.e7ee82232887ec8b73b7.bundle.min.js
9639 bytes
0644
counter.12335f45aaa79d244f24.bundle.min.js
946 bytes
0644
dev-tools.min.js
7617 bytes
0644
e-home-screen.js
108705 bytes
0644
e-home-screen.min.js
26848 bytes
0644
e-react-promotions.min.js
39680 bytes
0644
e1cb4d726bb59646c677.bundle.min.js
5432 bytes
0644
editor-document.js
71618 bytes
0644
editor-loader-v1.js
372 bytes
0644
editor-loader-v2.js
861 bytes
0644
editor-modules.js
120535 bytes
0644
editor-notifications.js
86595 bytes
0644
editor-notifications.min.js
18400 bytes
0644
editor-v4-opt-in.js
171195 bytes
0644
editor-v4-welcome-opt-in.min.js
9075 bytes
0644
editor.js
3812589 bytes
0644
editor.min.js
1588923 bytes
0644
ef2100ac3eda1a957819.bundle.min.js
5090 bytes
0644
element-manager-admin.js
171804 bytes
0644
element-manager-admin.min.js
46330 bytes
0644
element-manager-admin.min.js.LICENSE.txt
324 bytes
0644
elementor-admin-bar.js
18643 bytes
0644
elementor-admin-bar.min.js
7353 bytes
0644
floating-bars.7efeeb8b098e55999ff1.bundle.js
15148 bytes
0644
floating-bars.a3070326b4333354cbd7.bundle.min.js
7931 bytes
0644
floating-elements-modal.js
34512 bytes
0644
floating-elements-modal.min.js
14518 bytes
0644
frontend-modules.js
187776 bytes
0644
frontend.js
101426 bytes
0644
frontend.min.js
32879 bytes
0644
gutenberg.js
7653 bytes
0644
import-export-admin.js
15085 bytes
0644
import-export-admin.min.js
6321 bytes
0644
kit-elements-defaults-editor.js
87216 bytes
0644
kit-elements-defaults-editor.min.js
32766 bytes
0644
media-hints.min.js
6162 bytes
0644
nested-accordion.a29d85d5aa492aef7142.bundle.min.js
9827 bytes
0644
nested-accordion.js
29736 bytes
0644
nested-elements.js
20735 bytes
0644
nested-elements.min.js
6450 bytes
0644
nested-tabs.213892f3e7a826d32481.bundle.js
21299 bytes
0644
nested-tabs.a542ad943214eb6c3ed8.bundle.min.js
11429 bytes
0644
nested-tabs.min.js
10922 bytes
0644
nested-title-keyboard-handler.967db65f6ba460c1f2e9.bundle.js
8062 bytes
0644
nested-title-keyboard-handler.fc9d01c2cd0ef46d20fd.bundle.min.js
4358 bytes
0644
progress.0ea083b809812c0e3aa1.bundle.min.js
829 bytes
0644
responsive-bar.js
25426 bytes
0644
section-editor-handlers.c420276353ec5aba196e.bundle.min.js
1788 bytes
0644
section-frontend-handlers.d0665d28b9f0b188fe4f.bundle.js
1047 bytes
0644
section-frontend-handlers.d85ab872da118940910d.bundle.min.js
489 bytes
0644
shared-editor-handlers.a182e3f9ce3b8b1e4b74.bundle.min.js
1389 bytes
0644
shared-frontend-handlers.4c8abccc3e268b0767b2.bundle.min.js
8525 bytes
0644
shared-frontend-handlers.a82dc0e60728c9cb9860.bundle.js
16268 bytes
0644
styleguide.js
99000 bytes
0644
styleguide.min.js
44971 bytes
0644
tabs.1a165c2a54522842b0f1.bundle.min.js
3753 bytes
0644
tabs.e808857358793ac13db5.bundle.js
8013 bytes
0644
text-editor.abc8f59c62f2820dc25a.bundle.min.js
1392 bytes
0644
text-editor.bd4eccbd156d0b1fc3cf.bundle.js
3105 bytes
0644
text-path.ebcd5a983a56266562f3.bundle.min.js
26463 bytes
0644
web-cli.js
496119 bytes
0644
web-cli.min.js
170468 bytes
0644
webpack.runtime.js
16642 bytes
0644
wp-audio.c91cab3152c3f241f266.bundle.js
797 bytes
0644
wp-audio.c9624cb6e5dc9de86abd.bundle.min.js
366 bytes
0644
youtube-handler.js
4871 bytes
0644
N4ST4R_ID | Naxtarrr