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