/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
/******/ (() => { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({

/***/ "./admin/assets/js/pages/pixelio_cart_abandon_recovery_more_admin_settings.js":
/*!************************************************************************************!*\
  !*** ./admin/assets/js/pages/pixelio_cart_abandon_recovery_more_admin_settings.js ***!
  \************************************************************************************/
/***/ (() => {

eval("document.addEventListener('DOMContentLoaded', function () {\n  var pixelioCartAbandonRecoveryMorePopup = new PixelioCartAbandonRecoveryMorePopUp();\n  var pixelioCartAbandonRecoveryMoreSlider = new PixelioCartAbandonRecoveryMoreSlider();\n  var pixelioCartAbandonRecoveryMoreButtonPreviewClass = '.pixelio-cart-abandon-recovery-more-input-button-setting-action-preview';\n  var pixelioCartAbandonRecoveryMoreButtonEditClass = '.pixelio-cart-abandon-recovery-more-input-button-setting-action-edit';\n  var pixelioCartAbandonRecoveryMoreButtons = [pixelioCartAbandonRecoveryMoreButtonPreviewClass, pixelioCartAbandonRecoveryMoreButtonEditClass];\n  var pixelioCartAbandonRecoveryMoreSaveButtonId = 'pixelio-cart-abandon-recovery-more-save-button';\n  var pixelioCartAbandonRecoveryMoreHideItClass = 'pixelio-cart-abandon-recovery-more-save-button';\n  var pixelioCartAbandonRecoveryMoreSaveFormClass = 'pixelio-cart-abandon-recovery-more-general-settings-form';\n  pixelioCartAbandonRecoveryMoreButtons.forEach(function (className) {\n    var buttons = document.querySelectorAll(className);\n    buttons.forEach(function (editButton) {\n      editButton.addEventListener('click', function (event) {\n        event.preventDefault();\n        var addClass = \"-preview\";\n        if (className === pixelioCartAbandonRecoveryMoreButtonEditClass) {\n          addClass = \"-edit\";\n        }\n        pixelioCartAbandonRecoveryMorePopup.pixelioCartAbandonRecoveryMoreShow(\".\" + this.getAttribute(\"clicked_on\") + addClass, hideSaveButton, showSaveButton);\n      });\n    });\n  });\n  document.getElementById(pixelioCartAbandonRecoveryMoreSaveButtonId).addEventListener('click', function () {\n    var form = document.getElementById(pixelioCartAbandonRecoveryMoreSaveFormClass);\n    form.submit();\n  });\n  function hideSaveButton() {\n    document.getElementById(pixelioCartAbandonRecoveryMoreSaveButtonId).classList.add(pixelioCartAbandonRecoveryMoreHideItClass);\n  }\n  function showSaveButton() {\n    document.getElementById(pixelioCartAbandonRecoveryMoreSaveButtonId).classList.remove(pixelioCartAbandonRecoveryMoreHideItClass);\n  }\n});\n\n//# sourceURL=webpack://pixelio-cart-abandon-recovery-more/./admin/assets/js/pages/pixelio_cart_abandon_recovery_more_admin_settings.js?");

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	
/******/ 	// startup
/******/ 	// Load entry module and return exports
/******/ 	// This entry module can't be inlined because the eval devtool is used.
/******/ 	var __webpack_exports__ = {};
/******/ 	__webpack_modules__["./admin/assets/js/pages/pixelio_cart_abandon_recovery_more_admin_settings.js"]();
/******/ 	
/******/ })()
;