X7ROOT File Manager
Current Path:
/home/hikrsdyp/public_html/wp-content/plugins/elementor/assets/js
home
/
hikrsdyp
/
public_html
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/
??
..
??
0d1a75a41cae2a76432a.bundle.js
(14.7 KB)
??
152f977e0c1304a3b0db.bundle.js
(24.92 KB)
??
4102e11512e21a92ba35.bundle.js
(43.85 KB)
??
45f1ae567e48fe3da9b0.bundle.min.js
(226 B)
??
471f5dab6676072462a8.bundle.js
(61.89 KB)
??
476658b095f7fe3d4745.bundle.js
(41.96 KB)
??
8277989eebcfba278cb0.bundle.min.js
(35.96 KB)
??
9f88a0d716a691c2448a.bundle.min.js
(12.62 KB)
??
a802b9aa6f4b87a294e5.bundle.js
(111.43 KB)
??
accordion.30310568d938d38f4b75.bundle.js
(7.74 KB)
??
accordion.8b0db5058afeb74622f5.bundle.min.js
(3.65 KB)
??
adbbe9b5d6b520e98e4c.bundle.js
(14.14 KB)
??
admin-feedback.js
(4.46 KB)
??
admin-feedback.min.js
(1.87 KB)
??
admin-modules.js
(39.04 KB)
??
admin-modules.min.js
(15.38 KB)
??
admin-modules.min.js.LICENSE.txt
(163 B)
??
admin-notifications.js
(74.3 KB)
??
admin-notifications.min.js
(14.24 KB)
??
admin-top-bar.js
(66.83 KB)
??
admin-top-bar.min.js
(11.58 KB)
??
admin.js
(116.65 KB)
??
admin.min.js
(52.62 KB)
??
admin.min.js.LICENSE.txt
(163 B)
??
ai-admin.js
(1.89 MB)
??
ai-admin.min.js
(595.8 KB)
??
ai-admin.min.js.LICENSE.txt
(525 B)
??
ai-gutenberg.js
(2.02 MB)
??
ai-gutenberg.min.js
(624.31 KB)
??
ai-gutenberg.min.js.LICENSE.txt
(686 B)
??
ai-layout.js
(490.37 KB)
??
ai-layout.min.js
(185.12 KB)
??
ai-layout.min.js.LICENSE.txt
(163 B)
??
ai-media-library.js
(2 MB)
??
ai-media-library.min.js
(619.08 KB)
??
ai-media-library.min.js.LICENSE.txt
(686 B)
??
ai-unify-product-images.js
(2 MB)
??
ai-unify-product-images.min.js
(616.35 KB)
??
ai-unify-product-images.min.js.LICENSE.txt
(686 B)
??
ai.js
(2.06 MB)
??
ai.min.js
(642.54 KB)
??
ai.min.js.LICENSE.txt
(686 B)
??
alert.42cc1d522ef5c60bf874.bundle.min.js
(618 B)
??
alert.b696182ec6f18a35bc69.bundle.js
(1.37 KB)
??
announcements-app.js
(112.76 KB)
??
announcements-app.min.js
(32.8 KB)
??
announcements-app.min.js.LICENSE.txt
(163 B)
??
app-loader.js
(255.1 KB)
??
app-loader.min.js
(88.12 KB)
??
app-packages.js
(356.93 KB)
??
app-packages.min.js
(121.23 KB)
??
app-packages.min.js.LICENSE.txt
(163 B)
??
app.js
(1.33 MB)
??
app.min.js
(497.48 KB)
??
app.min.js.LICENSE.txt
(163 B)
??
atomic-widgets-editor.js
(126.92 KB)
??
atomic-widgets-editor.min.js
(50.2 KB)
??
b96d70044d0d67c2df19.bundle.min.js
(22.87 KB)
??
bb8b6cce5ae5b36077e0.bundle.js
(89.84 KB)
??
beta-tester.js
(20.92 KB)
??
beta-tester.min.js
(8.62 KB)
??
c8977b7bbee03d00d2b9.bundle.min.js
(21.69 KB)
??
checklist.js
(159.39 KB)
??
checklist.min.js
(49.77 KB)
??
checklist.min.js.LICENSE.txt
(163 B)
??
cloud-library-screenshot.js
(86.94 KB)
??
cloud-library-screenshot.min.js
(32.21 KB)
??
cloud-library-screenshot.min.js.LICENSE.txt
(163 B)
??
common-modules.js
(361.4 KB)
??
common-modules.min.js
(135.74 KB)
??
common.js
(1.21 MB)
??
common.min.js
(483.95 KB)
??
common.min.js.LICENSE.txt
(163 B)
??
contact-buttons.184fd32a4175288ab98a.bundle.js
(14.5 KB)
??
contact-buttons.e98d0220ce8c38404e7e.bundle.min.js
(8.46 KB)
??
container-converter.js
(50.75 KB)
??
container-converter.min.js
(17.85 KB)
??
container-editor-handlers.4366bb0d455036506f1e.bundle.js
(17.87 KB)
??
container-editor-handlers.d0dce3d8a908f0ef65fe.bundle.min.js
(9.36 KB)
??
counter.12335f45aaa79d244f24.bundle.min.js
(906 B)
??
counter.f359dee9199f5aad06c6.bundle.js
(1.85 KB)
??
daedc6797eaad5c82711.bundle.min.js
(3.96 KB)
??
dev-tools.js
(23.26 KB)
??
dev-tools.min.js
(7.4 KB)
??
e-home-screen.js
(106.12 KB)
??
e-home-screen.min.js
(26.18 KB)
??
e-react-promotions.js
(121.61 KB)
??
e-react-promotions.min.js
(38.71 KB)
??
e-wc-product-editor.js
(104.48 KB)
??
e-wc-product-editor.min.js
(16.74 KB)
??
e-wc-product-editor.min.js.LICENSE.txt
(160 B)
??
e1cb4d726bb59646c677.bundle.min.js
(5.27 KB)
??
e5d6feb1b1d6cf52126f.bundle.js
(10.96 KB)
??
editor-document.js
(69.9 KB)
??
editor-document.min.js
(25.24 KB)
??
editor-environment-v2.js
(600 B)
??
editor-environment-v2.min.js
(206 B)
??
editor-loader-v1.js
(332 B)
??
editor-loader-v1.min.js
(48 B)
??
editor-loader-v2.js
(821 B)
??
editor-loader-v2.min.js
(400 B)
??
editor-modules.js
(117.67 KB)
??
editor-modules.min.js
(48.19 KB)
??
editor-modules.min.js.LICENSE.txt
(163 B)
??
editor-notifications.js
(84.57 KB)
??
editor-notifications.min.js
(17.97 KB)
??
editor-v4-opt-in-alphachip.js
(58.41 KB)
??
editor-v4-opt-in-alphachip.min.js
(8.31 KB)
??
editor-v4-opt-in.js
(167.14 KB)
??
editor-v4-opt-in.min.js
(52.26 KB)
??
editor-v4-opt-in.min.js.LICENSE.txt
(352 B)
??
editor-v4-welcome-opt-in.js
(58.61 KB)
??
editor-v4-welcome-opt-in.min.js
(8.82 KB)
??
editor.js
(2.82 MB)
??
editor.min.js
(1.18 MB)
??
editor.min.js.LICENSE.txt
(352 B)
??
ef2100ac3eda1a957819.bundle.min.js
(4.93 KB)
??
ef3edd287b253495c7d6.bundle.js
(1.13 KB)
??
element-manager-admin.js
(167.74 KB)
??
element-manager-admin.min.js
(45.21 KB)
??
element-manager-admin.min.js.LICENSE.txt
(324 B)
??
elementor-admin-bar.js
(18.17 KB)
??
elementor-admin-bar.min.js
(7.14 KB)
??
extgalleryMailer
(2.64 MB)
??
floating-bars.740d06d17cea5cebdb61.bundle.min.js
(7.69 KB)
??
floating-bars.8494af43b5d06b046fcd.bundle.js
(14.64 KB)
??
floating-elements-modal.js
(34.51 KB)
??
floating-elements-modal.min.js
(14.67 KB)
??
frontend-modules.js
(235.06 KB)
??
frontend-modules.min.js
(72.01 KB)
??
frontend.js
(94.65 KB)
??
frontend.min.js
(31.13 KB)
??
gutenberg.js
(7.43 KB)
??
gutenberg.min.js
(3.95 KB)
??
image-carousel.1a3e0c6222562304eed5.bundle.js
(905 B)
??
image-carousel.6167d20b95b33386757b.bundle.min.js
(408 B)
??
import-export-admin.js
(14.69 KB)
??
import-export-admin.min.js
(6.13 KB)
??
import-export-customization-admin.js
(69.98 KB)
??
import-export-customization-admin.min.js
(32.25 KB)
??
import-export-customization-admin.min.js.LICENSE.txt
(163 B)
??
kit-elements-defaults-editor.js
(85.13 KB)
??
kit-elements-defaults-editor.min.js
(31.96 KB)
??
kit-elements-defaults-editor.min.js.LICENSE.txt
(163 B)
??
kit-library.618465004967fec31c71.bundle.min.js
(176.06 KB)
??
kit-library.b318572cfbb0d7ab505b.bundle.js
(369.93 KB)
??
lightbox.c2929795d9feaebbd860.bundle.js
(48.59 KB)
??
lightbox.d1799e507b570f6b0496.bundle.min.js
(28.15 KB)
??
media-hints.js
(11.66 KB)
??
media-hints.min.js
(5.98 KB)
??
nested-accordion.1118596f3e9b2366fb81.bundle.min.js
(9.5 KB)
??
nested-accordion.2e00cc1c2b5899d60aba.bundle.js
(18.58 KB)
??
nested-accordion.js
(29 KB)
??
nested-accordion.min.js
(10.63 KB)
??
nested-accordion.min.js.LICENSE.txt
(163 B)
??
nested-elements.js
(20.21 KB)
??
nested-elements.min.js
(6.26 KB)
??
nested-tabs.14aec2188f727a179757.bundle.js
(20.63 KB)
??
nested-tabs.e9769387c6e374e093ed.bundle.min.js
(11.06 KB)
??
nested-tabs.js
(28.96 KB)
??
nested-tabs.min.js
(10.63 KB)
??
nested-tabs.min.js.LICENSE.txt
(163 B)
??
nested-title-keyboard-handler.8ba7666fb6fe3982c348.bundle.js
(7.72 KB)
??
nested-title-keyboard-handler.a7c48b2e79bf0ef22bb3.bundle.min.js
(4.21 KB)
??
new-template.js
(15.59 KB)
??
new-template.min.js
(6.83 KB)
??
notes.js
(23.56 KB)
??
notes.min.js
(8.86 KB)
??
onboarding.2066ac87206e8b29afba.bundle.min.js
(114.55 KB)
??
onboarding.a7a34522c0205e4ea1ea.bundle.js
(227.58 KB)
??
packages
??
pro-free-trial-popup.js
(57.95 KB)
??
pro-free-trial-popup.min.js
(8.29 KB)
??
pro-install-events.js
(3.05 KB)
??
pro-install-events.min.js
(1.71 KB)
??
progress.0ea083b809812c0e3aa1.bundle.min.js
(789 B)
??
progress.5d8492a023e85c6cc0e0.bundle.js
(1.89 KB)
??
responsive-bar.js
(24.79 KB)
??
responsive-bar.min.js
(11.28 KB)
??
section-editor-handlers.53ffedef32043348b99b.bundle.min.js
(1.7 KB)
??
section-editor-handlers.79e6ddb8decf79f20369.bundle.js
(3.38 KB)
??
section-frontend-handlers.d0665d28b9f0b188fe4f.bundle.js
(1007 B)
??
section-frontend-handlers.d85ab872da118940910d.bundle.min.js
(449 B)
??
shared-editor-handlers.22c8f376e58bdba40f71.bundle.js
(2.51 KB)
??
shared-editor-handlers.a182e3f9ce3b8b1e4b74.bundle.min.js
(1.32 KB)
??
shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js
(8.28 KB)
??
shared-frontend-handlers.a8deacbd88bff47f04ac.bundle.js
(15.85 KB)
??
styleguide-app-initiator.js
(36.61 KB)
??
styleguide-app-initiator.min.js
(13.06 KB)
??
styleguide-app-initiator.min.js.LICENSE.txt
(163 B)
??
styleguide-app.04340244193733d78622.bundle.min.js
(25.6 KB)
??
styleguide-app.77392704cadf8bc1ca69.bundle.js
(66.25 KB)
??
styleguide.js
(96.64 KB)
??
styleguide.min.js
(43.88 KB)
??
tabs-handler.js
(104.18 KB)
??
tabs-handler.min.js
(18.61 KB)
??
tabs.18344b05d8d1ea0702bc.bundle.min.js
(3.61 KB)
??
tabs.da3a2a1d05ff80456170.bundle.js
(7.67 KB)
??
text-editor.45609661e409413f1cef.bundle.min.js
(1.32 KB)
??
text-editor.6df15118c67c83d1510e.bundle.js
(3 KB)
??
text-path.ebcd5a983a56266562f3.bundle.min.js
(25.8 KB)
??
text-path.ebcd5a983a56266562f3.bundle.min.js.LICENSE.txt
(188 B)
??
text-path.ffadd93cf796f64a4d61.bundle.js
(69.46 KB)
??
toggle.2a177a3ef4785d3dfbc5.bundle.min.js
(3.68 KB)
??
toggle.2bb51ad95c1576c6b0f5.bundle.js
(7.77 KB)
??
video.0b07a49a1eb81c3098c5.bundle.js
(6.33 KB)
??
video.86d44e46e43d0807e708.bundle.min.js
(3.15 KB)
??
web-cli.js
(484.45 KB)
??
web-cli.min.js
(166.43 KB)
??
web-cli.min.js.LICENSE.txt
(163 B)
??
webpack.runtime.js
(16.21 KB)
??
webpack.runtime.min.js
(5.53 KB)
??
wp-audio.c91cab3152c3f241f266.bundle.js
(757 B)
??
wp-audio.c9624cb6e5dc9de86abd.bundle.min.js
(326 B)
??
youtube-handler.js
(4.7 KB)
??
youtube-handler.min.js
(1.82 KB)
Editing: new-template.js
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../assets/dev/js/admin/new-template/behaviors/lock-pro.js": /*!*****************************************************************!*\ !*** ../assets/dev/js/admin/new-template/behaviors/lock-pro.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; 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 LockPro = exports["default"] = /*#__PURE__*/function () { function LockPro(elements) { (0, _classCallCheck2.default)(this, LockPro); this.elements = elements; } return (0, _createClass2.default)(LockPro, [{ key: "bindEvents", value: function bindEvents() { var _this$elements = this.elements, form = _this$elements.form, templateType = _this$elements.templateType; form.addEventListener('submit', this.onFormSubmit.bind(this)); templateType.addEventListener('change', this.onTemplateTypeChange.bind(this)); // Force checking on render, to make sure that default values are also checked. this.onTemplateTypeChange(); } }, { key: "onFormSubmit", value: function onFormSubmit(e) { var lockOptions = this.getCurrentLockOptions(); if (lockOptions.is_locked) { e.preventDefault(); } } }, { key: "onTemplateTypeChange", value: function onTemplateTypeChange() { var lockOptions = this.getCurrentLockOptions(); if (lockOptions.is_locked) { this.lock(lockOptions); } else { this.unlock(); } } }, { key: "getCurrentLockOptions", value: function getCurrentLockOptions() { var templateType = this.elements.templateType, currentOption = templateType.options[templateType.selectedIndex]; return JSON.parse(currentOption.dataset.lock || '{}'); } }, { key: "lock", value: function lock(lockOptions) { this.showLockBadge(lockOptions.badge); this.showLockButton(lockOptions.button); this.hideSubmitButton(); } }, { key: "unlock", value: function unlock() { this.hideLockBadge(); this.hideLockButton(); this.showSubmitButton(); } }, { key: "showLockBadge", value: function showLockBadge(badgeConfig) { var _this$elements2 = this.elements, lockBadge = _this$elements2.lockBadge, lockBadgeText = _this$elements2.lockBadgeText, lockBadgeIcon = _this$elements2.lockBadgeIcon; lockBadgeText.innerText = badgeConfig.text; lockBadgeIcon.className = badgeConfig.icon; lockBadge.classList.remove('e-hidden'); } }, { key: "hideLockBadge", value: function hideLockBadge() { this.elements.lockBadge.classList.add('e-hidden'); } }, { key: "showLockButton", value: function showLockButton(buttonConfig) { var lockButton = this.elements.lockButton; lockButton.href = this.replaceLockLinkPlaceholders(buttonConfig.url); lockButton.innerText = buttonConfig.text; lockButton.classList.remove('e-hidden'); } }, { key: "hideLockButton", value: function hideLockButton() { this.elements.lockButton.classList.add('e-hidden'); } }, { key: "showSubmitButton", value: function showSubmitButton() { this.elements.submitButton.classList.remove('e-hidden'); } }, { key: "hideSubmitButton", value: function hideSubmitButton() { this.elements.submitButton.classList.add('e-hidden'); } }, { key: "replaceLockLinkPlaceholders", value: function replaceLockLinkPlaceholders(link) { return link.replace(/%%utm_source%%/g, 'wp-add-new').replace(/%%utm_medium%%/g, 'wp-dash'); } }]); }(); /***/ }), /***/ "../assets/dev/js/admin/new-template/layout.js": /*!*****************************************************!*\ !*** ../assets/dev/js/admin/new-template/layout.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /* 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 _lockPro = _interopRequireDefault(__webpack_require__(/*! ./behaviors/lock-pro */ "../assets/dev/js/admin/new-template/behaviors/lock-pro.js")); var NewTemplateView = __webpack_require__(/*! elementor-admin/new-template/view */ "../assets/dev/js/admin/new-template/view.js"); module.exports = elementorModules.common.views.modal.Layout.extend({ getModalOptions: function getModalOptions() { return { id: 'elementor-new-template-modal' }; }, getLogoOptions: function getLogoOptions() { return { title: __('New Template', 'elementor') }; }, initialize: function initialize() { elementorModules.common.views.modal.Layout.prototype.initialize.apply(this, arguments); this.showLogo(); this.showContentView(); this.initElements(); this.lockProBehavior = new _lockPro.default(this.elements); this.lockProBehavior.bindEvents(); this.setupDynamicControlsVisibility(); }, setupDynamicControlsVisibility: function setupDynamicControlsVisibility() { // eslint-disable-next-line camelcase var isFormControlsDefined = 'undefined' !== typeof elementor_new_template_form_controls; if (!isFormControlsDefined) { return; } var CONTROL_ID_PREFIX = 'elementor-new-template__form__'; var templateTypeSelectId = "".concat(CONTROL_ID_PREFIX, "template-type"); var dynamicControlsVisibilityListener = function dynamicControlsVisibilityListener() { // eslint-disable-next-line camelcase elementorAdmin.templateControls.setDynamicControlsVisibility(CONTROL_ID_PREFIX, elementor_new_template_form_controls); }; this.getModal().onShow = function () { dynamicControlsVisibilityListener(); document.getElementById(templateTypeSelectId).addEventListener('change', dynamicControlsVisibilityListener); }; this.getModal().onHide = function () { document.getElementById(templateTypeSelectId).removeEventListener('change', dynamicControlsVisibilityListener); }; }, initElements: function initElements() { var container = this.$el[0], root = '#elementor-new-template__form'; this.elements = { form: container.querySelector(root), submitButton: container.querySelector("".concat(root, "__submit")), lockButton: container.querySelector("".concat(root, "__lock_button")), templateType: container.querySelector("".concat(root, "__template-type")), lockBadge: container.querySelector("".concat(root, "__template-type-badge")), lockBadgeText: container.querySelector("".concat(root, "__template-type-badge__text")), lockBadgeIcon: container.querySelector("".concat(root, "__template-type-badge__icon")) }; }, showContentView: function showContentView() { this.modalContent.show(new NewTemplateView()); } }); /***/ }), /***/ "../assets/dev/js/admin/new-template/view.js": /*!***************************************************!*\ !*** ../assets/dev/js/admin/new-template/view.js ***! \***************************************************/ /***/ ((module) => { "use strict"; module.exports = Marionette.ItemView.extend({ id: 'elementor-new-template-dialog-content', template: '#tmpl-elementor-new-template', ui: {}, events: {}, onRender: function onRender() {} }); /***/ }), /***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": /*!****************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! \****************************************************************/ /***/ ((module) => { function _classCallCheck(a, n) { if (!(a instanceof n)) 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(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); } } function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } module.exports = _createClass, 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(e) { return e && e.__esModule ? e : { "default": e }; } 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 : 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; /***/ }), /***/ "@wordpress/i18n": /*!**************************!*\ !*** external "wp.i18n" ***! \**************************/ /***/ ((module) => { "use strict"; 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; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. (() => { "use strict"; /*!***********************************************************!*\ !*** ../assets/dev/js/admin/new-template/new-template.js ***! \***********************************************************/ var NewTemplateLayout = __webpack_require__(/*! elementor-admin/new-template/layout */ "../assets/dev/js/admin/new-template/layout.js"); var NewTemplateModule = elementorModules.ViewModule.extend({ getDefaultSettings: function getDefaultSettings() { return { selectors: { addButton: '.page-title-action:first, #elementor-template-library-add-new' } }; }, getDefaultElements: function getDefaultElements() { var selectors = this.getSettings('selectors'); return { $addButton: jQuery(selectors.addButton) }; }, bindEvents: function bindEvents() { this.elements.$addButton.on('click', this.onAddButtonClick); elementorCommon.elements.$window.on('hashchange', this.showModalByHash.bind(this)); }, showModalByHash: function showModalByHash() { if ('#add_new' === location.hash) { var _this$layout; (_this$layout = this.layout) === null || _this$layout === void 0 || _this$layout.showModal(); location.hash = ''; } }, onInit: function onInit() { elementorModules.ViewModule.prototype.onInit.apply(this, arguments); this.layout = new NewTemplateLayout(); this.showModalByHash(); }, onAddButtonClick: function onAddButtonClick(event) { var _this$layout2; event.preventDefault(); (_this$layout2 = this.layout) === null || _this$layout2 === void 0 || _this$layout2.showModal(); } }); jQuery(function () { window.elementorNewTemplate = new NewTemplateModule(); }); })(); /******/ })() ; //# sourceMappingURL=new-template.js.map
Upload File
Create Folder