PluginProbe
Elementor Website Builder – more than just a page builder / 3.10.1
Elementor Website Builder – more than just a page builder v3.10.1
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / assets / js / nested-elements.js

nested-elements.js in Elementor Website Builder – more than just a page builder 3.10.1, at assets/js/nested-elements.js

262 lines 11.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! elementor - v3.10.1 - 17-01-2023 */
2 /******/ (() => { // webpackBootstrap
3 /******/ "use strict";
4 /******/ var __webpack_modules__ = ({
5
6 /***/ "@wordpress/i18n":
7 /*!**************************!*\
8 !*** external "wp.i18n" ***!
9 \**************************/
10 /***/ ((module) => {
11
12 module.exports = wp.i18n;
13
14 /***/ })
15
16 /******/ });
17 /************************************************************************/
18 /******/ // The module cache
19 /******/ var __webpack_module_cache__ = {};
20 /******/
21 /******/ // The require function
22 /******/ function __webpack_require__(moduleId) {
23 /******/ // Check if module is in cache
24 /******/ var cachedModule = __webpack_module_cache__[moduleId];
25 /******/ if (cachedModule !== undefined) {
26 /******/ return cachedModule.exports;
27 /******/ }
28 /******/ // Create a new module (and put it into the cache)
29 /******/ var module = __webpack_module_cache__[moduleId] = {
30 /******/ // no module.id needed
31 /******/ // no module.loaded needed
32 /******/ exports: {}
33 /******/ };
34 /******/
35 /******/ // Execute the module function
36 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
37 /******/
38 /******/ // Return the exports of the module
39 /******/ return module.exports;
40 /******/ }
41 /******/
42 /******/ // expose the modules object (__webpack_modules__)
43 /******/ __webpack_require__.m = __webpack_modules__;
44 /******/
45 /************************************************************************/
46 /******/ /* webpack/runtime/ensure chunk */
47 /******/ (() => {
48 /******/ __webpack_require__.f = {};
49 /******/ // This file contains only the entry chunk.
50 /******/ // The chunk loading function for additional chunks
51 /******/ __webpack_require__.e = (chunkId) => {
52 /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
53 /******/ __webpack_require__.f[key](chunkId, promises);
54 /******/ return promises;
55 /******/ }, []));
56 /******/ };
57 /******/ })();
58 /******/
59 /******/ /* webpack/runtime/get javascript chunk filename */
60 /******/ (() => {
61 /******/ // This function allow to reference async chunks
62 /******/ __webpack_require__.u = (chunkId) => {
63 /******/ // return url for filenames not based on template
64 /******/ if (chunkId === "modules_nested-elements_assets_js_editor_module_js") return "10d07b3ca9f519f50a7d.bundle.js";
65 /******/ // return url for filenames based on template
66 /******/ return undefined;
67 /******/ };
68 /******/ })();
69 /******/
70 /******/ /* webpack/runtime/global */
71 /******/ (() => {
72 /******/ __webpack_require__.g = (function() {
73 /******/ if (typeof globalThis === 'object') return globalThis;
74 /******/ try {
75 /******/ return this || new Function('return this')();
76 /******/ } catch (e) {
77 /******/ if (typeof window === 'object') return window;
78 /******/ }
79 /******/ })();
80 /******/ })();
81 /******/
82 /******/ /* webpack/runtime/hasOwnProperty shorthand */
83 /******/ (() => {
84 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
85 /******/ })();
86 /******/
87 /******/ /* webpack/runtime/load script */
88 /******/ (() => {
89 /******/ var inProgress = {};
90 /******/ var dataWebpackPrefix = "elementor:";
91 /******/ // loadScript function to load a script via script tag
92 /******/ __webpack_require__.l = (url, done, key, chunkId) => {
93 /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
94 /******/ var script, needAttach;
95 /******/ if(key !== undefined) {
96 /******/ var scripts = document.getElementsByTagName("script");
97 /******/ for(var i = 0; i < scripts.length; i++) {
98 /******/ var s = scripts[i];
99 /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
100 /******/ }
101 /******/ }
102 /******/ if(!script) {
103 /******/ needAttach = true;
104 /******/ script = document.createElement('script');
105 /******/
106 /******/ script.charset = 'utf-8';
107 /******/ script.timeout = 120;
108 /******/ if (__webpack_require__.nc) {
109 /******/ script.setAttribute("nonce", __webpack_require__.nc);
110 /******/ }
111 /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
112 /******/ script.src = url;
113 /******/ }
114 /******/ inProgress[url] = [done];
115 /******/ var onScriptComplete = (prev, event) => {
116 /******/ // avoid mem leaks in IE.
117 /******/ script.onerror = script.onload = null;
118 /******/ clearTimeout(timeout);
119 /******/ var doneFns = inProgress[url];
120 /******/ delete inProgress[url];
121 /******/ script.parentNode && script.parentNode.removeChild(script);
122 /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
123 /******/ if(prev) return prev(event);
124 /******/ };
125 /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
126 /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
127 /******/ script.onload = onScriptComplete.bind(null, script.onload);
128 /******/ needAttach && document.head.appendChild(script);
129 /******/ };
130 /******/ })();
131 /******/
132 /******/ /* webpack/runtime/publicPath */
133 /******/ (() => {
134 /******/ var scriptUrl;
135 /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
136 /******/ var document = __webpack_require__.g.document;
137 /******/ if (!scriptUrl && document) {
138 /******/ if (document.currentScript)
139 /******/ scriptUrl = document.currentScript.src
140 /******/ if (!scriptUrl) {
141 /******/ var scripts = document.getElementsByTagName("script");
142 /******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
143 /******/ }
144 /******/ }
145 /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
146 /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
147 /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
148 /******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
149 /******/ __webpack_require__.p = scriptUrl;
150 /******/ })();
151 /******/
152 /******/ /* webpack/runtime/jsonp chunk loading */
153 /******/ (() => {
154 /******/ // no baseURI
155 /******/
156 /******/ // object to store loaded and loading chunks
157 /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
158 /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
159 /******/ var installedChunks = {
160 /******/ "nested-elements": 0
161 /******/ };
162 /******/
163 /******/ __webpack_require__.f.j = (chunkId, promises) => {
164 /******/ // JSONP chunk loading for javascript
165 /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
166 /******/ if(installedChunkData !== 0) { // 0 means "already installed".
167 /******/
168 /******/ // a Promise means "currently loading".
169 /******/ if(installedChunkData) {
170 /******/ promises.push(installedChunkData[2]);
171 /******/ } else {
172 /******/ if(true) { // all chunks have JS
173 /******/ // setup Promise in chunk cache
174 /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
175 /******/ promises.push(installedChunkData[2] = promise);
176 /******/
177 /******/ // start chunk loading
178 /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
179 /******/ // create error before stack unwound to get useful stacktrace later
180 /******/ var error = new Error();
181 /******/ var loadingEnded = (event) => {
182 /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
183 /******/ installedChunkData = installedChunks[chunkId];
184 /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
185 /******/ if(installedChunkData) {
186 /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
187 /******/ var realSrc = event && event.target && event.target.src;
188 /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
189 /******/ error.name = 'ChunkLoadError';
190 /******/ error.type = errorType;
191 /******/ error.request = realSrc;
192 /******/ installedChunkData[1](error);
193 /******/ }
194 /******/ }
195 /******/ };
196 /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
197 /******/ } else installedChunks[chunkId] = 0;
198 /******/ }
199 /******/ }
200 /******/ };
201 /******/
202 /******/ // no prefetching
203 /******/
204 /******/ // no preloaded
205 /******/
206 /******/ // no HMR
207 /******/
208 /******/ // no HMR manifest
209 /******/
210 /******/ // no on chunks loaded
211 /******/
212 /******/ // install a JSONP callback for chunk loading
213 /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
214 /******/ var [chunkIds, moreModules, runtime] = data;
215 /******/ // add "moreModules" to the modules object,
216 /******/ // then flag all "chunkIds" as loaded and fire callback
217 /******/ var moduleId, chunkId, i = 0;
218 /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
219 /******/ for(moduleId in moreModules) {
220 /******/ if(__webpack_require__.o(moreModules, moduleId)) {
221 /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
222 /******/ }
223 /******/ }
224 /******/ if(runtime) var result = runtime(__webpack_require__);
225 /******/ }
226 /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
227 /******/ for(;i < chunkIds.length; i++) {
228 /******/ chunkId = chunkIds[i];
229 /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
230 /******/ installedChunks[chunkId][0]();
231 /******/ }
232 /******/ installedChunks[chunkId] = 0;
233 /******/ }
234 /******/
235 /******/ }
236 /******/
237 /******/ var chunkLoadingGlobal = self["webpackChunkelementor"] = self["webpackChunkelementor"] || [];
238 /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
239 /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
240 /******/ })();
241 /******/
242 /************************************************************************/
243 var __webpack_exports__ = {};
244 // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
245 (() => {
246 /*!************************************************************!*\
247 !*** ../modules/nested-elements/assets/js/editor/index.js ***!
248 \************************************************************/
249
250
251 elementorCommon.elements.$window.on('elementor:init-components', function () {
252 // Put promise of loading so other modules can use/await it.
253 elementor.modules.nestedElements = __webpack_require__.e(/*! import() */ "modules_nested-elements_assets_js_editor_module_js").then(__webpack_require__.bind(__webpack_require__, /*! ../editor/module */ "../modules/nested-elements/assets/js/editor/module.js"));
254 elementor.modules.nestedElements.then(function (module) {
255 elementor.modules.nestedElements = new module.default();
256 });
257 });
258 })();
259
260 /******/ })()
261 ;
262 //# sourceMappingURL=nested-elements.js.map