PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.1
Elementor Website Builder – more than just a page builder v3.0.1
4.3.2 4.3.1 4.3.0 4.3.0-beta3 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 All 455 releases
← All changes | assets/js/admin-feedback.js +679 -48 4.2.0-beta2 → 3.0.1 View file →
@@ -1,53 +1,600 @@
1 -/******/ (() => { // webpackBootstrap
2 -/******/ "use strict";
3 -/******/ var __webpack_modules__ = ({
4 -
5 -/***/ "@wordpress/i18n":
6 -/*!**************************!*\
7 - !*** external "wp.i18n" ***!
8 - \**************************/
9 -/***/ ((module) => {
10 -
11 -module.exports = wp.i18n;
12 -
13 -/***/ })
14 -
15 -/******/ });
16 -/************************************************************************/
1 +/*! elementor - v3.0.1 - 25-08-2020 */
2 +/******/ (function(modules) { // webpackBootstrap
17 3 /******/ // The module cache
18 -/******/ var __webpack_module_cache__ = {};
19 -/******/
4 +/******/ var installedModules = {};
5 +/******/
20 6 /******/ // The require function
21 7 /******/ function __webpack_require__(moduleId) {
8 +/******/
22 9 /******/ // Check if module is in cache
23 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
24 -/******/ if (cachedModule !== undefined) {
25 -/******/ return cachedModule.exports;
10 +/******/ if(installedModules[moduleId]) {
11 +/******/ return installedModules[moduleId].exports;
26 12 /******/ }
27 13 /******/ // Create a new module (and put it into the cache)
28 -/******/ var module = __webpack_module_cache__[moduleId] = {
29 -/******/ // no module.id needed
30 -/******/ // no module.loaded needed
14 +/******/ var module = installedModules[moduleId] = {
15 +/******/ i: moduleId,
16 +/******/ l: false,
31 17 /******/ exports: {}
32 18 /******/ };
33 -/******/
19 +/******/
34 20 /******/ // Execute the module function
35 -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
36 -/******/
21 +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22 +/******/
23 +/******/ // Flag the module as loaded
24 +/******/ module.l = true;
25 +/******/
37 26 /******/ // Return the exports of the module
38 27 /******/ return module.exports;
39 28 /******/ }
40 -/******/
29 +/******/
30 +/******/
31 +/******/ // expose the modules object (__webpack_modules__)
32 +/******/ __webpack_require__.m = modules;
33 +/******/
34 +/******/ // expose the module cache
35 +/******/ __webpack_require__.c = installedModules;
36 +/******/
37 +/******/ // define getter function for harmony exports
38 +/******/ __webpack_require__.d = function(exports, name, getter) {
39 +/******/ if(!__webpack_require__.o(exports, name)) {
40 +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41 +/******/ }
42 +/******/ };
43 +/******/
44 +/******/ // define __esModule on exports
45 +/******/ __webpack_require__.r = function(exports) {
46 +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47 +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48 +/******/ }
49 +/******/ Object.defineProperty(exports, '__esModule', { value: true });
50 +/******/ };
51 +/******/
52 +/******/ // create a fake namespace object
53 +/******/ // mode & 1: value is a module id, require it
54 +/******/ // mode & 2: merge all properties of value into the ns
55 +/******/ // mode & 4: return value when already ns object
56 +/******/ // mode & 8|1: behave like require
57 +/******/ __webpack_require__.t = function(value, mode) {
58 +/******/ if(mode & 1) value = __webpack_require__(value);
59 +/******/ if(mode & 8) return value;
60 +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61 +/******/ var ns = Object.create(null);
62 +/******/ __webpack_require__.r(ns);
63 +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64 +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65 +/******/ return ns;
66 +/******/ };
67 +/******/
68 +/******/ // getDefaultExport function for compatibility with non-harmony modules
69 +/******/ __webpack_require__.n = function(module) {
70 +/******/ var getter = module && module.__esModule ?
71 +/******/ function getDefault() { return module['default']; } :
72 +/******/ function getModuleExports() { return module; };
73 +/******/ __webpack_require__.d(getter, 'a', getter);
74 +/******/ return getter;
75 +/******/ };
76 +/******/
77 +/******/ // Object.prototype.hasOwnProperty.call
78 +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79 +/******/
80 +/******/ // __webpack_public_path__
81 +/******/ __webpack_require__.p = "";
82 +/******/
83 +/******/
84 +/******/ // Load entry module and return exports
85 +/******/ return __webpack_require__(__webpack_require__.s = 699);
86 +/******/ })
41 87 /************************************************************************/
42 -// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
43 -(() => {
44 -/*!************************************************!*\
45 - !*** ../assets/dev/js/admin/admin-feedback.js ***!
46 - \************************************************/
47 -/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
88 +/******/ ({
48 89
90 +/***/ 107:
91 +/***/ (function(module, exports, __webpack_require__) {
49 92
93 +var isObject = __webpack_require__(29);
94 +var document = __webpack_require__(17).document;
95 +// typeof document.createElement is 'object' in old IE
96 +var is = isObject(document) && isObject(document.createElement);
97 +module.exports = function (it) {
98 + return is ? document.createElement(it) : {};
99 +};
100 +
101 +
102 +/***/ }),
103 +
104 +/***/ 109:
105 +/***/ (function(module, exports) {
106 +
107 +module.exports = false;
108 +
109 +
110 +/***/ }),
111 +
112 +/***/ 11:
113 +/***/ (function(module, exports, __webpack_require__) {
114 +
115 +var store = __webpack_require__(66)('wks');
116 +var uid = __webpack_require__(67);
117 +var Symbol = __webpack_require__(17).Symbol;
118 +var USE_SYMBOL = typeof Symbol == 'function';
119 +
120 +var $exports = module.exports = function (name) {
121 + return store[name] || (store[name] =
122 + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
123 +};
124 +
125 +$exports.store = store;
126 +
127 +
128 +/***/ }),
129 +
130 +/***/ 121:
131 +/***/ (function(module, exports, __webpack_require__) {
132 +
133 +// 7.1.1 ToPrimitive(input [, PreferredType])
134 +var isObject = __webpack_require__(29);
135 +// instead of the ES6 spec version, we didn't implement @@toPrimitive case
136 +// and the second argument - flag - preferred type is a string
137 +module.exports = function (it, S) {
138 + if (!isObject(it)) return it;
139 + var fn, val;
140 + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
141 + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
142 + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
143 + throw TypeError("Can't convert object to primitive value");
144 +};
145 +
146 +
147 +/***/ }),
148 +
149 +/***/ 124:
150 +/***/ (function(module, exports, __webpack_require__) {
151 +
152 +// fallback for non-array-like ES3 and non-enumerable old V8 strings
153 +var cof = __webpack_require__(45);
154 +// eslint-disable-next-line no-prototype-builtins
155 +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
156 + return cof(it) == 'String' ? it.split('') : Object(it);
157 +};
158 +
159 +
160 +/***/ }),
161 +
162 +/***/ 125:
163 +/***/ (function(module, exports, __webpack_require__) {
164 +
165 +module.exports = !__webpack_require__(27) && !__webpack_require__(33)(function () {
166 + return Object.defineProperty(__webpack_require__(107)('div'), 'a', { get: function () { return 7; } }).a != 7;
167 +});
168 +
169 +
170 +/***/ }),
171 +
172 +/***/ 138:
173 +/***/ (function(module, exports, __webpack_require__) {
174 +
175 +module.exports = __webpack_require__(66)('native-function-to-string', Function.toString);
176 +
177 +
178 +/***/ }),
179 +
180 +/***/ 17:
181 +/***/ (function(module, exports) {
182 +
183 +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
184 +var global = module.exports = typeof window != 'undefined' && window.Math == Math
185 + ? window : typeof self != 'undefined' && self.Math == Math ? self
186 + // eslint-disable-next-line no-new-func
187 + : Function('return this')();
188 +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
189 +
190 +
191 +/***/ }),
192 +
193 +/***/ 18:
194 +/***/ (function(module, exports, __webpack_require__) {
195 +
196 +var isObject = __webpack_require__(29);
197 +module.exports = function (it) {
198 + if (!isObject(it)) throw TypeError(it + ' is not an object!');
199 + return it;
200 +};
201 +
202 +
203 +/***/ }),
204 +
205 +/***/ 181:
206 +/***/ (function(module, exports, __webpack_require__) {
207 +
208 +// 0 -> Array#forEach
209 +// 1 -> Array#map
210 +// 2 -> Array#filter
211 +// 3 -> Array#some
212 +// 4 -> Array#every
213 +// 5 -> Array#find
214 +// 6 -> Array#findIndex
215 +var ctx = __webpack_require__(70);
216 +var IObject = __webpack_require__(124);
217 +var toObject = __webpack_require__(92);
218 +var toLength = __webpack_require__(42);
219 +var asc = __webpack_require__(208);
220 +module.exports = function (TYPE, $create) {
221 + var IS_MAP = TYPE == 1;
222 + var IS_FILTER = TYPE == 2;
223 + var IS_SOME = TYPE == 3;
224 + var IS_EVERY = TYPE == 4;
225 + var IS_FIND_INDEX = TYPE == 6;
226 + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
227 + var create = $create || asc;
228 + return function ($this, callbackfn, that) {
229 + var O = toObject($this);
230 + var self = IObject(O);
231 + var f = ctx(callbackfn, that, 3);
232 + var length = toLength(self.length);
233 + var index = 0;
234 + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
235 + var val, res;
236 + for (;length > index; index++) if (NO_HOLES || index in self) {
237 + val = self[index];
238 + res = f(val, index, O);
239 + if (TYPE) {
240 + if (IS_MAP) result[index] = res; // map
241 + else if (res) switch (TYPE) {
242 + case 3: return true; // some
243 + case 5: return val; // find
244 + case 6: return index; // findIndex
245 + case 2: result.push(val); // filter
246 + } else if (IS_EVERY) return false; // every
247 + }
248 + }
249 + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
250 + };
251 +};
252 +
253 +
254 +/***/ }),
255 +
256 +/***/ 208:
257 +/***/ (function(module, exports, __webpack_require__) {
258 +
259 +// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
260 +var speciesConstructor = __webpack_require__(209);
261 +
262 +module.exports = function (original, length) {
263 + return new (speciesConstructor(original))(length);
264 +};
265 +
266 +
267 +/***/ }),
268 +
269 +/***/ 209:
270 +/***/ (function(module, exports, __webpack_require__) {
271 +
272 +var isObject = __webpack_require__(29);
273 +var isArray = __webpack_require__(210);
274 +var SPECIES = __webpack_require__(11)('species');
275 +
276 +module.exports = function (original) {
277 + var C;
278 + if (isArray(original)) {
279 + C = original.constructor;
280 + // cross-realm fallback
281 + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
282 + if (isObject(C)) {
283 + C = C[SPECIES];
284 + if (C === null) C = undefined;
285 + }
286 + } return C === undefined ? Array : C;
287 +};
288 +
289 +
290 +/***/ }),
291 +
292 +/***/ 210:
293 +/***/ (function(module, exports, __webpack_require__) {
294 +
295 +// 7.2.2 IsArray(argument)
296 +var cof = __webpack_require__(45);
297 +module.exports = Array.isArray || function isArray(arg) {
298 + return cof(arg) == 'Array';
299 +};
300 +
301 +
302 +/***/ }),
303 +
304 +/***/ 26:
305 +/***/ (function(module, exports, __webpack_require__) {
306 +
307 +"use strict";
308 +
309 +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
310 +var $export = __webpack_require__(37);
311 +var $find = __webpack_require__(181)(5);
312 +var KEY = 'find';
313 +var forced = true;
314 +// Shouldn't skip holes
315 +if (KEY in []) Array(1)[KEY](function () { forced = false; });
316 +$export($export.P + $export.F * forced, 'Array', {
317 + find: function find(callbackfn /* , that = undefined */) {
318 + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
319 + }
320 +});
321 +__webpack_require__(91)(KEY);
322 +
323 +
324 +/***/ }),
325 +
326 +/***/ 27:
327 +/***/ (function(module, exports, __webpack_require__) {
328 +
329 +// Thank's IE8 for his funny defineProperty
330 +module.exports = !__webpack_require__(33)(function () {
331 + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
332 +});
333 +
334 +
335 +/***/ }),
336 +
337 +/***/ 29:
338 +/***/ (function(module, exports) {
339 +
340 +module.exports = function (it) {
341 + return typeof it === 'object' ? it !== null : typeof it === 'function';
342 +};
343 +
344 +
345 +/***/ }),
346 +
347 +/***/ 30:
348 +/***/ (function(module, exports, __webpack_require__) {
349 +
350 +var dP = __webpack_require__(44);
351 +var createDesc = __webpack_require__(99);
352 +module.exports = __webpack_require__(27) ? function (object, key, value) {
353 + return dP.f(object, key, createDesc(1, value));
354 +} : function (object, key, value) {
355 + object[key] = value;
356 + return object;
357 +};
358 +
359 +
360 +/***/ }),
361 +
362 +/***/ 33:
363 +/***/ (function(module, exports) {
364 +
365 +module.exports = function (exec) {
366 + try {
367 + return !!exec();
368 + } catch (e) {
369 + return true;
370 + }
371 +};
372 +
373 +
374 +/***/ }),
375 +
376 +/***/ 35:
377 +/***/ (function(module, exports, __webpack_require__) {
378 +
379 +var global = __webpack_require__(17);
380 +var hide = __webpack_require__(30);
381 +var has = __webpack_require__(61);
382 +var SRC = __webpack_require__(67)('src');
383 +var $toString = __webpack_require__(138);
384 +var TO_STRING = 'toString';
385 +var TPL = ('' + $toString).split(TO_STRING);
386 +
387 +__webpack_require__(52).inspectSource = function (it) {
388 + return $toString.call(it);
389 +};
390 +
391 +(module.exports = function (O, key, val, safe) {
392 + var isFunction = typeof val == 'function';
393 + if (isFunction) has(val, 'name') || hide(val, 'name', key);
394 + if (O[key] === val) return;
395 + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
396 + if (O === global) {
397 + O[key] = val;
398 + } else if (!safe) {
399 + delete O[key];
400 + hide(O, key, val);
401 + } else if (O[key]) {
402 + O[key] = val;
403 + } else {
404 + hide(O, key, val);
405 + }
406 +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
407 +})(Function.prototype, TO_STRING, function toString() {
408 + return typeof this == 'function' && this[SRC] || $toString.call(this);
409 +});
410 +
411 +
412 +/***/ }),
413 +
414 +/***/ 37:
415 +/***/ (function(module, exports, __webpack_require__) {
416 +
417 +var global = __webpack_require__(17);
418 +var core = __webpack_require__(52);
419 +var hide = __webpack_require__(30);
420 +var redefine = __webpack_require__(35);
421 +var ctx = __webpack_require__(70);
422 +var PROTOTYPE = 'prototype';
423 +
424 +var $export = function (type, name, source) {
425 + var IS_FORCED = type & $export.F;
426 + var IS_GLOBAL = type & $export.G;
427 + var IS_STATIC = type & $export.S;
428 + var IS_PROTO = type & $export.P;
429 + var IS_BIND = type & $export.B;
430 + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
431 + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
432 + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
433 + var key, own, out, exp;
434 + if (IS_GLOBAL) source = name;
435 + for (key in source) {
436 + // contains in native
437 + own = !IS_FORCED && target && target[key] !== undefined;
438 + // export native or passed
439 + out = (own ? target : source)[key];
440 + // bind timers to global for call from export context
441 + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
442 + // extend global
443 + if (target) redefine(target, key, out, type & $export.U);
444 + // export
445 + if (exports[key] != out) hide(exports, key, exp);
446 + if (IS_PROTO && expProto[key] != out) expProto[key] = out;
447 + }
448 +};
449 +global.core = core;
450 +// type bitmap
451 +$export.F = 1; // forced
452 +$export.G = 2; // global
453 +$export.S = 4; // static
454 +$export.P = 8; // proto
455 +$export.B = 16; // bind
456 +$export.W = 32; // wrap
457 +$export.U = 64; // safe
458 +$export.R = 128; // real proto method for `library`
459 +module.exports = $export;
460 +
461 +
462 +/***/ }),
463 +
464 +/***/ 41:
465 +/***/ (function(module, exports) {
466 +
467 +// 7.2.1 RequireObjectCoercible(argument)
468 +module.exports = function (it) {
469 + if (it == undefined) throw TypeError("Can't call method on " + it);
470 + return it;
471 +};
472 +
473 +
474 +/***/ }),
475 +
476 +/***/ 42:
477 +/***/ (function(module, exports, __webpack_require__) {
478 +
479 +// 7.1.15 ToLength
480 +var toInteger = __webpack_require__(59);
481 +var min = Math.min;
482 +module.exports = function (it) {
483 + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
484 +};
485 +
486 +
487 +/***/ }),
488 +
489 +/***/ 44:
490 +/***/ (function(module, exports, __webpack_require__) {
491 +
492 +var anObject = __webpack_require__(18);
493 +var IE8_DOM_DEFINE = __webpack_require__(125);
494 +var toPrimitive = __webpack_require__(121);
495 +var dP = Object.defineProperty;
496 +
497 +exports.f = __webpack_require__(27) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
498 + anObject(O);
499 + P = toPrimitive(P, true);
500 + anObject(Attributes);
501 + if (IE8_DOM_DEFINE) try {
502 + return dP(O, P, Attributes);
503 + } catch (e) { /* empty */ }
504 + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
505 + if ('value' in Attributes) O[P] = Attributes.value;
506 + return O;
507 +};
508 +
509 +
510 +/***/ }),
511 +
512 +/***/ 45:
513 +/***/ (function(module, exports) {
514 +
515 +var toString = {}.toString;
516 +
517 +module.exports = function (it) {
518 + return toString.call(it).slice(8, -1);
519 +};
520 +
521 +
522 +/***/ }),
523 +
524 +/***/ 52:
525 +/***/ (function(module, exports) {
526 +
527 +var core = module.exports = { version: '2.6.11' };
528 +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
529 +
530 +
531 +/***/ }),
532 +
533 +/***/ 59:
534 +/***/ (function(module, exports) {
535 +
536 +// 7.1.4 ToInteger
537 +var ceil = Math.ceil;
538 +var floor = Math.floor;
539 +module.exports = function (it) {
540 + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
541 +};
542 +
543 +
544 +/***/ }),
545 +
546 +/***/ 61:
547 +/***/ (function(module, exports) {
548 +
549 +var hasOwnProperty = {}.hasOwnProperty;
550 +module.exports = function (it, key) {
551 + return hasOwnProperty.call(it, key);
552 +};
553 +
554 +
555 +/***/ }),
556 +
557 +/***/ 66:
558 +/***/ (function(module, exports, __webpack_require__) {
559 +
560 +var core = __webpack_require__(52);
561 +var global = __webpack_require__(17);
562 +var SHARED = '__core-js_shared__';
563 +var store = global[SHARED] || (global[SHARED] = {});
564 +
565 +(module.exports = function (key, value) {
566 + return store[key] || (store[key] = value !== undefined ? value : {});
567 +})('versions', []).push({
568 + version: core.version,
569 + mode: __webpack_require__(109) ? 'pure' : 'global',
570 + copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
571 +});
572 +
573 +
574 +/***/ }),
575 +
576 +/***/ 67:
577 +/***/ (function(module, exports) {
578 +
579 +var id = 0;
580 +var px = Math.random();
581 +module.exports = function (key) {
582 + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
583 +};
584 +
585 +
586 +/***/ }),
587 +
588 +/***/ 699:
589 +/***/ (function(module, exports, __webpack_require__) {
590 +
591 +"use strict";
592 +
593 +
594 +__webpack_require__(26);
595 +
596 +/* global jQuery */
50 597 (function ($) {
51 598 'use strict';
52 599
53 600 var ElementorAdminDialogApp = {
@@ -69,9 +616,10 @@
69 616 location.href = this.cache.$deactivateLink.attr('href');
70 617 },
71 618 initModal: function initModal() {
72 619 var self = this,
73 - modal;
620 + modal;
621 +
74 622 self.getModal = function () {
75 623 if (!modal) {
76 624 modal = elementorCommon.dialogsManager.createWidget('lightbox', {
77 625 id: 'elementor-deactivate-feedback-modal',
@@ -87,22 +635,25 @@
87 635 onReady: function onReady() {
88 636 DialogsManager.getWidgetType('lightbox').prototype.onReady.apply(this, arguments);
89 637 this.addButton({
90 638 name: 'submit',
91 - text: __('Submit & Deactivate', 'elementor'),
639 + text: elementorAdmin.translate('submit_n_deactivate'),
92 640 callback: self.sendFeedback.bind(self)
93 641 });
94 - this.addButton({
95 - name: 'skip',
96 - text: __('Skip & Deactivate', 'elementor'),
97 - callback: function callback() {
98 - self.deactivate();
99 - }
100 - });
642 +
643 + if (!elementorAdmin.config.feedback.is_tracker_opted_in) {
644 + this.addButton({
645 + name: 'skip',
646 + text: elementorAdmin.translate('skip_n_deactivate'),
647 + callback: function callback() {
648 + self.deactivate();
649 + }
650 + });
651 + }
101 652 },
102 653 onShow: function onShow() {
103 654 var $dialogModal = $('#elementor-deactivate-feedback-modal'),
104 - radioSelector = '.elementor-deactivate-feedback-dialog-input';
655 + radioSelector = '.elementor-deactivate-feedback-dialog-input';
105 656 $dialogModal.find(radioSelector).on('change', function () {
106 657 $dialogModal.attr('data-feedback-selected', $(this).val());
107 658 });
108 659 $dialogModal.find(radioSelector + ':checked').trigger('change');
@@ -108,14 +659,15 @@
108 659 $dialogModal.find(radioSelector + ':checked').trigger('change');
109 660 }
110 661 });
111 662 }
663 +
112 664 return modal;
113 665 };
114 666 },
115 667 sendFeedback: function sendFeedback() {
116 668 var self = this,
117 - formData = self.cache.$dialogForm.serialize();
669 + formData = self.cache.$dialogForm.serialize();
118 670 self.getModal().getElements('submit').text('').addClass('elementor-loading');
119 671 $.post(ajaxurl, formData, this.deactivate.bind(this));
120 672 },
121 673 init: function init() {
@@ -127,9 +679,88 @@
127 679 $(function () {
128 680 ElementorAdminDialogApp.init();
129 681 });
130 682 })(jQuery);
131 -})();
132 683
133 -/******/ })()
134 -;
684 +/***/ }),
685 +
686 +/***/ 70:
687 +/***/ (function(module, exports, __webpack_require__) {
688 +
689 +// optional / simple context binding
690 +var aFunction = __webpack_require__(89);
691 +module.exports = function (fn, that, length) {
692 + aFunction(fn);
693 + if (that === undefined) return fn;
694 + switch (length) {
695 + case 1: return function (a) {
696 + return fn.call(that, a);
697 + };
698 + case 2: return function (a, b) {
699 + return fn.call(that, a, b);
700 + };
701 + case 3: return function (a, b, c) {
702 + return fn.call(that, a, b, c);
703 + };
704 + }
705 + return function (/* ...args */) {
706 + return fn.apply(that, arguments);
707 + };
708 +};
709 +
710 +
711 +/***/ }),
712 +
713 +/***/ 89:
714 +/***/ (function(module, exports) {
715 +
716 +module.exports = function (it) {
717 + if (typeof it != 'function') throw TypeError(it + ' is not a function!');
718 + return it;
719 +};
720 +
721 +
722 +/***/ }),
723 +
724 +/***/ 91:
725 +/***/ (function(module, exports, __webpack_require__) {
726 +
727 +// 22.1.3.31 Array.prototype[@@unscopables]
728 +var UNSCOPABLES = __webpack_require__(11)('unscopables');
729 +var ArrayProto = Array.prototype;
730 +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(30)(ArrayProto, UNSCOPABLES, {});
731 +module.exports = function (key) {
732 + ArrayProto[UNSCOPABLES][key] = true;
733 +};
734 +
735 +
736 +/***/ }),
737 +
738 +/***/ 92:
739 +/***/ (function(module, exports, __webpack_require__) {
740 +
741 +// 7.1.13 ToObject(argument)
742 +var defined = __webpack_require__(41);
743 +module.exports = function (it) {
744 + return Object(defined(it));
745 +};
746 +
747 +
748 +/***/ }),
749 +
750 +/***/ 99:
751 +/***/ (function(module, exports) {
752 +
753 +module.exports = function (bitmap, value) {
754 + return {
755 + enumerable: !(bitmap & 1),
756 + configurable: !(bitmap & 2),
757 + writable: !(bitmap & 4),
758 + value: value
759 + };
760 +};
761 +
762 +
763 +/***/ })
764 +
765 +/******/ });
135 766 //# sourceMappingURL=admin-feedback.js.map