/*
 * 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
/******/ 	"use strict";
/******/ 	var __webpack_modules__ = ({

/***/ "./blocks/block-types/mega-menu.js":
/*!*****************************************!*\
  !*** ./blocks/block-types/mega-menu.js ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var blocks_editor_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! blocks/editor/icons */ \"./blocks/editor/icons.js\");\n/* harmony import */ var blocks_editor_controls_templateRender__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! blocks/editor/controls/templateRender */ \"./blocks/editor/controls/templateRender.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\nvar __ = wp.i18n.__;\nvar _wp$components = wp.components,\n  PanelBody = _wp$components.PanelBody,\n  BaseControl = _wp$components.BaseControl,\n  TextControl = _wp$components.TextControl,\n  SelectControl = _wp$components.SelectControl,\n  ToggleControl = _wp$components.ToggleControl,\n  Button = _wp$components.Button,\n  NumberControl = _wp$components.__experimentalNumberControl;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$blockEditor = wp.blockEditor,\n  InspectorControls = _wp$blockEditor.InspectorControls,\n  MediaUpload = _wp$blockEditor.MediaUpload;\nvar RawHTML = wp.element.RawHTML;\nregisterBlockType('jet-menu/mega-menu', {\n  title: __('Mega Menu'),\n  icon: blocks_editor_icons__WEBPACK_IMPORTED_MODULE_0__.megaMenuIcon,\n  category: 'layout',\n  className: 'jet-menu-mega-menu',\n  supports: {\n    html: false\n  },\n  attributes: JetMenuBlocksData.registeredBlockAttrs['mega-menu'] || {},\n  example: {\n    attributes: {\n      blockPreview: true\n    },\n    viewportWidth: 625\n  },\n  edit: /*#__PURE__*/function (_wp$element$Component) {\n    _inherits(edit, _wp$element$Component);\n    var _super = _createSuper(edit);\n    function edit() {\n      _classCallCheck(this, edit);\n      return _super.apply(this, arguments);\n    }\n    _createClass(edit, [{\n      key: \"render\",\n      value: function render() {\n        var props = this.props,\n          rawAvailableMenuOptions = window.JetMenuBlocksData.availableMenuOptions,\n          rawBreakpointsOptions = window.JetMenuBlocksData.breakpointsOptions,\n          breakpointsOptions = [{\n            value: 0,\n            label: __('None(Dropdown always disable)')\n          }].concat(_toConsumableArray(rawBreakpointsOptions));\n        var menuAdminLink = wp.element.createElement(RawHTML, null, \"Go to the <a href=\\\"\".concat(window.JetMenuBlocksData.menuAdminUrl, \"\\\" target=\\\"_blank\\\">Menus screen</a> to manage your menus.\"));\n        return [props.isSelected && wp.element.createElement(InspectorControls, {\n          key: 'inspector'\n        }, wp.element.createElement(PanelBody, {\n          title: __('General')\n        }, wp.element.createElement(BaseControl, {\n          id: \"select-menu-id\",\n          help: menuAdminLink,\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(SelectControl, {\n          id: \"select-menu-id\",\n          label: __('Menu'),\n          value: props.attributes.menuId,\n          options: rawAvailableMenuOptions,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              menuId: +newValue\n            });\n          }\n        })), wp.element.createElement(SelectControl, {\n          label: __('Layout'),\n          value: props.attributes.layout,\n          options: [{\n            label: __('Horizontal'),\n            value: 'horizontal'\n          }, {\n            label: __('Vertical'),\n            value: 'vertical'\n          }, {\n            label: __('Dropdown'),\n            value: 'dropdown'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              layout: newValue\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Dropdown Layout'),\n          value: props.attributes.dropdownLayout,\n          options: [{\n            label: __('Default'),\n            value: 'default'\n          }, {\n            label: __('Push'),\n            value: 'push'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              dropdownLayout: newValue\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Dropdown Position'),\n          value: props.attributes.dropdownPosition,\n          options: [{\n            label: __('Right'),\n            value: 'right'\n          }, {\n            label: __('Center'),\n            value: 'center'\n          }, {\n            label: __('Left'),\n            value: 'left'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              dropdownPosition: newValue\n            });\n          }\n        }), wp.element.createElement(BaseControl, {\n          help: __('Choose an animation effect for submenu'),\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(SelectControl, {\n          label: __('Animation'),\n          value: props.attributes.subAnimation,\n          options: [{\n            label: __('None'),\n            value: 'none'\n          }, {\n            label: __('Fade'),\n            value: 'fade'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              subAnimation: newValue\n            });\n          }\n        })), 'horizontal' === props.attributes.layout && wp.element.createElement(SelectControl, {\n          label: __('Sub Menu Position'),\n          value: props.attributes.subPosition,\n          options: [{\n            label: __('Right'),\n            value: 'right'\n          }, {\n            label: __('Left'),\n            value: 'left'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              subPosition: newValue\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Sub Menu Trigger'),\n          value: props.attributes.subEvent,\n          options: [{\n            label: __('Hover'),\n            value: 'hover'\n          }, {\n            label: __('Click'),\n            value: 'click'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              subEvent: newValue\n            });\n          }\n        }), wp.element.createElement(BaseControl, null, wp.element.createElement(NumberControl, {\n          label: __('Mouse Leave Delay'),\n          isShiftStepEnabled: true,\n          shiftStep: 100,\n          step: 10,\n          min: 0,\n          max: 10000,\n          value: props.attributes.mouseLeaveDelay,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              mouseLeaveDelay: newValue\n            });\n          }\n        })), wp.element.createElement(SelectControl, {\n          label: __('Sub Menu Target'),\n          value: props.attributes.subTrigger,\n          options: [{\n            label: __('Item'),\n            value: 'item'\n          }, {\n            label: __('Sub Icon'),\n            value: 'submarker'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              subTrigger: newValue\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Mega Container Width Type'),\n          value: props.attributes.megaWidthType,\n          options: [{\n            label: __('Container'),\n            value: 'container'\n          }, {\n            label: __('Items'),\n            value: 'items'\n          }, {\n            label: __('Selector'),\n            value: 'selector'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              megaWidthType: newValue\n            });\n          }\n        }), 'selector' === props.attributes.megaWidthType && 'horizontal' === props.attributes.layout && wp.element.createElement(TextControl, {\n          type: \"text\",\n          label: __('Custom selector'),\n          value: props.attributes.megaWidthSelector,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              megaWidthSelector: newValue\n            });\n          }\n        }), wp.element.createElement(BaseControl, {\n          help: __('Choose the needed device\\'s breakpoints for menu display from the dropdown.'),\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(SelectControl, {\n          label: __('Breakpoint'),\n          value: props.attributes.dropdownBreakpoint,\n          options: breakpointsOptions,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              dropdownBreakpoint: +newValue\n            });\n          }\n        })), wp.element.createElement(BaseControl, {\n          help: __('Use ajax loading for mega content'),\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(ToggleControl, {\n          label: __('Use Ajax Loading'),\n          checked: props.attributes.megaAjaxLoad,\n          onChange: function onChange() {\n            props.setAttributes({\n              megaAjaxLoad: !props.attributes.megaAjaxLoad\n            });\n          }\n        })), 'horizontal' === props.attributes.layout && wp.element.createElement(BaseControl, {\n          help: __('Enable this option in order to reduce the menu size by grouping extra menu items and hiding them under the suspension dots.'),\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(ToggleControl, {\n          label: __('Roll Up'),\n          checked: props.attributes.rollUp,\n          onChange: function onChange() {\n            props.setAttributes({\n              rollUp: !props.attributes.rollUp\n            });\n          }\n        })), wp.element.createElement(SelectControl, {\n          label: __('RollUp Type'),\n          value: props.attributes.rollUpType,\n          options: [{\n            label: __('Text'),\n            value: 'text'\n          }, {\n            label: __('Icon'),\n            value: 'icon'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              rollUpType: newValue\n            });\n          }\n        }), props.attributes.rollUp && 'text' === props.attributes.rollUpType && wp.element.createElement(TextControl, {\n          type: \"text\",\n          label: __('RollUp Text'),\n          value: props.attributes.rollUpText,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              rollUpText: newValue\n            });\n          }\n        }), props.attributes.rollUp && 'icon' === props.attributes.rollUpType && wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"RollUp Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.rollUpIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.rollUpIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              rollUpIconId: media.id,\n              rollUpIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.rollUpIconId,\n          render: function render(_ref) {\n            var open = _ref.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.rollUpIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              rollUpIconId: 0,\n              rollUpIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Dropdown Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.dropdownIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.dropdownIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              dropdownIconId: media.id,\n              dropdownIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.dropdownIconId,\n          render: function render(_ref2) {\n            var open = _ref2.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.dropdownIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              dropdownIconId: 0,\n              dropdownIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Toggle Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.toggleDefaultIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.toggleDefaultIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              toggleDefaultIconId: media.id,\n              toggleDefaultIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.toggleDefaultIconId,\n          render: function render(_ref3) {\n            var open = _ref3.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.toggleDefaultIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              toggleDefaultIconId: 0,\n              toggleDefaultIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Toggle Opened Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.toggleOpenedIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.toggleOpenedIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              toggleOpenedIconId: media.id,\n              toggleOpenedIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.toggleOpenedIconId,\n          render: function render(_ref4) {\n            var open = _ref4.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.toggleOpenedIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              toggleOpenedIconId: 0,\n              toggleOpenedIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))))), wp.element.createElement(\"div\", {\n          className: \"jet-menu-block-holder\"\n        }, wp.element.createElement(blocks_editor_controls_templateRender__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n          block: \"jet-menu/mega-menu\",\n          attributes: props.attributes\n        }))];\n      }\n    }]);\n    return edit;\n  }(wp.element.Component),\n  save: function save() {\n    return;\n    null;\n  }\n});\n\n//# sourceURL=webpack:///./blocks/block-types/mega-menu.js?");

/***/ }),

/***/ "./blocks/block-types/mobile-menu.js":
/*!*******************************************!*\
  !*** ./blocks/block-types/mobile-menu.js ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var blocks_editor_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! blocks/editor/icons */ \"./blocks/editor/icons.js\");\n/* harmony import */ var blocks_editor_controls_templateRender__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! blocks/editor/controls/templateRender */ \"./blocks/editor/controls/templateRender.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\nvar __ = wp.i18n.__;\nvar _wp$components = wp.components,\n  PanelBody = _wp$components.PanelBody,\n  BaseControl = _wp$components.BaseControl,\n  TextControl = _wp$components.TextControl,\n  SelectControl = _wp$components.SelectControl,\n  ToggleControl = _wp$components.ToggleControl,\n  Button = _wp$components.Button,\n  ColorPalette = _wp$components.ColorPalette;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$blockEditor = wp.blockEditor,\n  InspectorControls = _wp$blockEditor.InspectorControls,\n  MediaUpload = _wp$blockEditor.MediaUpload;\nvar select = wp.data.select;\nvar RawHTML = wp.element.RawHTML;\nvar blockEditorSettings = select('core/block-editor').getSettings();\nregisterBlockType('jet-menu/mobile-menu', {\n  title: __('Hamburger Menu'),\n  icon: blocks_editor_icons__WEBPACK_IMPORTED_MODULE_0__.mobileMenuIcon,\n  category: 'layout',\n  className: 'jet-menu-mobile-menu',\n  supports: {\n    html: false\n  },\n  attributes: JetMenuBlocksData.registeredBlockAttrs['mobile-menu'] || {},\n  example: {\n    attributes: {\n      blockPreview: true\n    },\n    viewportWidth: 625\n  },\n  edit: /*#__PURE__*/function (_wp$element$Component) {\n    _inherits(edit, _wp$element$Component);\n    var _super = _createSuper(edit);\n    function edit() {\n      _classCallCheck(this, edit);\n      return _super.apply(this, arguments);\n    }\n    _createClass(edit, [{\n      key: \"render\",\n      value: function render() {\n        var props = this.props,\n          rawAvailableMenuOptions = window.JetMenuBlocksData.availableMenuOptions,\n          rawBreakpointsOptions = window.JetMenuBlocksData.breakpointsOptions,\n          breakpointsOptions = [{\n            value: 0,\n            label: __('None(Dropdown always disable)')\n          }].concat(_toConsumableArray(rawBreakpointsOptions));\n        var menuAdminLink = wp.element.createElement(RawHTML, null, \"Go to the <a href=\\\"\".concat(window.JetMenuBlocksData.menuAdminUrl, \"\\\" target=\\\"_blank\\\">Menus screen</a> to manage your menus.\"));\n        return [props.isSelected && wp.element.createElement(InspectorControls, {\n          key: 'inspector'\n        }, wp.element.createElement(PanelBody, {\n          title: __('Options')\n        }, wp.element.createElement(BaseControl, {\n          help: menuAdminLink,\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(SelectControl, {\n          label: __('Menu'),\n          value: props.attributes.menuId,\n          options: rawAvailableMenuOptions,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              menuId: +newValue\n            });\n          }\n        })), wp.element.createElement(SelectControl, {\n          label: __('Menu for Mobile Device'),\n          value: props.attributes.mobileMenuId,\n          options: rawAvailableMenuOptions,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              mobileMenuId: +newValue\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Layout'),\n          value: props.attributes.layout,\n          options: [{\n            label: __('Slide Out'),\n            value: 'slide-out'\n          }, {\n            label: __('Dropdown'),\n            value: 'dropdown'\n          }, {\n            label: __('Push'),\n            value: 'push'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              layout: newValue\n            });\n          }\n        }), 'slide-out' === props.attributes.layout && wp.element.createElement(BaseControl, {\n          help: \"Choose toggle global position on window screen\",\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(SelectControl, {\n          label: __('Toggle Position'),\n          value: props.attributes.togglePosition,\n          options: [{\n            label: __('Default'),\n            value: 'default'\n          }, {\n            label: __('Fixed to top-left screen corner'),\n            value: 'fixed-left'\n          }, {\n            label: __('Fixed to top-right screen corner'),\n            value: 'fixed-right'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              togglePosition: newValue\n            });\n          }\n        })), wp.element.createElement(SelectControl, {\n          label: __('Container Position'),\n          value: props.attributes.containerPosition,\n          options: [{\n            label: __('Right'),\n            value: 'right'\n          }, {\n            label: __('Left'),\n            value: 'left'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              containerPosition: newValue\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Sub Menu Trigger'),\n          value: props.attributes.subMenuTrigger,\n          options: [{\n            label: __('Item'),\n            value: 'item'\n          }, {\n            label: __('Sub Icon'),\n            value: 'submarker'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              subMenuTrigger: newValue\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Show Sub Menu Layout'),\n          value: props.attributes.subOpenLayout,\n          options: [{\n            label: __('Slide In'),\n            value: 'slide-in'\n          }, {\n            label: __('Dropdown'),\n            value: 'dropdown'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              subOpenLayout: newValue\n            });\n          }\n        }), wp.element.createElement(BaseControl, {\n          help: \"Close Menu Panel After Item Link Navigation\",\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(ToggleControl, {\n          label: __('Close After Navigation'),\n          checked: props.attributes.closeAfterNavigate,\n          onChange: function onChange() {\n            props.setAttributes({\n              closeAfterNavigate: !props.attributes.closeAfterNavigate\n            });\n          }\n        })), wp.element.createElement(ToggleControl, {\n          label: __('Item Icon Visible'),\n          checked: props.attributes.isItemIcon,\n          onChange: function onChange() {\n            props.setAttributes({\n              isItemIcon: !props.attributes.isItemIcon\n            });\n          }\n        }), wp.element.createElement(ToggleControl, {\n          label: __('Item Badge Visible'),\n          checked: props.attributes.isItemBadge,\n          onChange: function onChange() {\n            props.setAttributes({\n              isItemBadge: !props.attributes.isItemBadge\n            });\n          }\n        }), wp.element.createElement(ToggleControl, {\n          label: __('Item Description Visible'),\n          checked: props.attributes.isItemDesc,\n          onChange: function onChange() {\n            props.setAttributes({\n              isItemDesc: !props.attributes.isItemDesc\n            });\n          }\n        }), wp.element.createElement(ToggleControl, {\n          label: __('Use Toggle Button Loader?'),\n          checked: props.attributes.toggleLoader,\n          onChange: function onChange() {\n            props.setAttributes({\n              toggleLoader: !props.attributes.toggleLoader\n            });\n          }\n        }), props.attributes.toggleLoader && wp.element.createElement(BaseControl, {\n          label: __('Loader Color'),\n          __nextHasNoMarginBottom: false\n        }, wp.element.createElement(ColorPalette, {\n          colors: blockEditorSettings.colors,\n          value: props.attributes.loaderColor,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              loaderColor: newValue\n            });\n          }\n        })), wp.element.createElement(ToggleControl, {\n          label: __('Use Breadcrumbs?'),\n          checked: props.attributes.useBreadcrumbs,\n          onChange: function onChange() {\n            props.setAttributes({\n              useBreadcrumbs: !props.attributes.useBreadcrumbs\n            });\n          }\n        }), wp.element.createElement(SelectControl, {\n          label: __('Breadcrumbs Path'),\n          value: props.attributes.breadcrumbsPath,\n          options: [{\n            label: __('Full'),\n            value: 'full'\n          }, {\n            label: __('Minimal'),\n            value: 'minimal'\n          }],\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              breadcrumbsPath: newValue\n            });\n          }\n        })), wp.element.createElement(PanelBody, {\n          title: __('Content')\n        }, wp.element.createElement(TextControl, {\n          type: \"text\",\n          label: __('Toggle Text'),\n          value: props.attributes.toggleButtonText,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              toggleButtonText: newValue\n            });\n          }\n        }), wp.element.createElement(TextControl, {\n          type: \"text\",\n          label: __('Back Text'),\n          value: props.attributes.backText,\n          onChange: function onChange(newValue) {\n            props.setAttributes({\n              backText: newValue\n            });\n          }\n        }), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Toggle Closed State Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.toggleClosedStateIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.toggleClosedStateIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              toggleClosedStateIconId: media.id,\n              toggleClosedStateIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.toggleClosedStateIconId,\n          render: function render(_ref) {\n            var open = _ref.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.toggleClosedStateIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              toggleClosedStateIconId: 0,\n              toggleClosedStateIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Toggle Opened State Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.toggleOpenedStateIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.toggleOpenedStateIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              toggleOpenedStateIconId: media.id,\n              toggleOpenedStateIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.toggleOpenedStateIconId,\n          render: function render(_ref2) {\n            var open = _ref2.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.toggleOpenedStateIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              toggleOpenedStateIconId: 0,\n              toggleOpenedStateIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Container Close Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.containerCloseIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.containerCloseIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              containerCloseIconId: media.id,\n              containerCloseIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.containerCloseIconId,\n          render: function render(_ref3) {\n            var open = _ref3.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.containerCloseIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              containerCloseIconId: 0,\n              containerCloseIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Container Back Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.containerBackIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.containerBackIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              containerBackIconId: media.id,\n              containerBackIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.containerBackIconId,\n          render: function render(_ref4) {\n            var open = _ref4.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.containerBackIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              containerBackIconId: 0,\n              containerBackIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Submenu Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.dropdownIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.dropdownIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              dropdownIconId: media.id,\n              dropdownIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.dropdownIconId,\n          render: function render(_ref5) {\n            var open = _ref5.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.dropdownIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              dropdownIconId: 0,\n              dropdownIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Submenu Openned Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.dropdownOpenedIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.dropdownOpenedIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              dropdownOpenedIconId: media.id,\n              dropdownOpenedIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.dropdownOpenedIconId,\n          render: function render(_ref6) {\n            var open = _ref6.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.dropdownOpenedIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              dropdownOpenedIconId: 0,\n              dropdownOpenedIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))), wp.element.createElement(\"div\", {\n          className: \"components-base-control jet-media-control\"\n        }, wp.element.createElement(\"div\", {\n          className: \"components-base-control__label\"\n        }, \"Breadcrumbs Icon\"), wp.element.createElement(\"div\", {\n          className: \"jet-media-control__container\"\n        }, props.attributes.breadcrumbIconUrl && wp.element.createElement(\"img\", {\n          className: \"jet-media-control__preview\",\n          src: props.attributes.breadcrumbIconUrl,\n          alt: \"\"\n        }), wp.element.createElement(MediaUpload, {\n          onSelect: function onSelect(media) {\n            props.setAttributes({\n              breadcrumbIconId: media.id,\n              breadcrumbIconUrl: media.url\n            });\n          },\n          allowedTypes: ['image/svg+xml'],\n          value: props.attributes.breadcrumbIconUrl,\n          render: function render(_ref7) {\n            var open = _ref7.open;\n            return wp.element.createElement(Button, {\n              isSecondary: true,\n              icon: \"edit\",\n              onClick: open\n            }, __('Select Icon'));\n          }\n        }), props.attributes.breadcrumbIconUrl && wp.element.createElement(Button, {\n          onClick: function onClick() {\n            props.setAttributes({\n              breadcrumbIconId: 0,\n              breadcrumbIconUrl: ''\n            });\n          },\n          isLink: true,\n          isDestructive: true\n        }, __('Remove Icon')))))), wp.element.createElement(\"div\", {\n          className: \"jet-menu-block-holder\"\n        }, wp.element.createElement(blocks_editor_controls_templateRender__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n          block: \"jet-menu/mobile-menu\",\n          attributes: props.attributes\n        }))];\n      }\n    }]);\n    return edit;\n  }(wp.element.Component),\n  save: function save() {\n    return;\n    null;\n  }\n});\n\n//# sourceURL=webpack:///./blocks/block-types/mobile-menu.js?");

/***/ }),

/***/ "./blocks/editor/controls/templateRender.js":
/*!**************************************************!*\
  !*** ./blocks/editor/controls/templateRender.js ***!
  \**************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ TemplateRender)\n/* harmony export */ });\n/* harmony import */ var includes_utility__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! includes/utility */ \"./includes/utility.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nvar __ = wp.i18n.__;\nvar _lodash = lodash,\n  debounce = _lodash.debounce;\nvar addQueryArgs = wp.url.addQueryArgs;\nvar apiFetch = wp.apiFetch;\nvar _wp$element = wp.element,\n  Component = _wp$element.Component,\n  RawHTML = _wp$element.RawHTML;\nvar _wp$components = wp.components,\n  Placeholder = _wp$components.Placeholder,\n  Spinner = _wp$components.Spinner;\nvar TemplateRender = /*#__PURE__*/function (_Component) {\n  _inherits(TemplateRender, _Component);\n  var _super = _createSuper(TemplateRender);\n  function TemplateRender(props) {\n    var _this;\n    _classCallCheck(this, TemplateRender);\n    _this = _super.call(this, props);\n    _this.state = {\n      response: null\n    };\n    _this.fetchSuccessEvent = new Event('jetMenu/editor/templateRenderer/renderSuccess');\n    _this.placeholderRef = React.createRef();\n    return _this;\n  }\n  _createClass(TemplateRender, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.isStillMounted = true;\n      this.fetch();\n      // Only debounce once the initial fetch occurs to ensure that the first\n      // renders show data as soon as possible.\n      this.fetch = debounce(this.fetch, 500);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.isStillMounted = false;\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps) {\n      if (!(0,includes_utility__WEBPACK_IMPORTED_MODULE_0__.isEqual)(prevProps, this.props)) {\n        this.fetch();\n      }\n    }\n  }, {\n    key: \"fetch\",\n    value: function fetch() {\n      var _this2 = this;\n      if (!this.isStillMounted) return;\n      if (null !== this.state.response) this.setState({\n        response: null\n      });\n      var path = this.rendererPath();\n      var _this$props = this.props,\n        _this$props$onSuccess = _this$props.onSuccess,\n        onSuccess = _this$props$onSuccess === void 0 ? function () {} : _this$props$onSuccess,\n        _this$props$onError = _this$props.onError,\n        onError = _this$props$onError === void 0 ? function () {} : _this$props$onError;\n\n      // Store the latest fetch request so that when we process it, we can\n      // check if it is the current request, to avoid race conditions on slow networks.\n      var fetchRequest = this.currentFetchRequest = apiFetch({\n        path: path\n      }).then(function (response) {\n        if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest && response) {\n          _this2.setState({\n            response: response.rendered\n          });\n          window.dispatchEvent(_this2.fetchSuccessEvent);\n          //setTimeout(onSuccess(window.ReactDOM.findDOMNode(this)), 100);\n        }\n      }).catch(function (error) {\n        if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest) {\n          _this2.setState({\n            response: {\n              error: true,\n              errorMsg: error.message\n            }\n          });\n          onError();\n        }\n      });\n      return fetchRequest;\n    }\n  }, {\n    key: \"rendererPath\",\n    value: function rendererPath() {\n      var _this$props2 = this.props,\n        block = _this$props2.block,\n        _this$props2$attribut = _this$props2.attributes,\n        attributes = _this$props2$attribut === void 0 ? null : _this$props2$attribut;\n      return addQueryArgs(\"/wp/v2/block-renderer/\".concat(block), _objectSpread({\n        context: 'edit'\n      }, null !== attributes ? {\n        attributes: attributes\n      } : {}));\n    }\n  }, {\n    key: \"EmptyResponsePlaceholder\",\n    value: function EmptyResponsePlaceholder() {\n      return wp.element.createElement(Placeholder, null, __('Block rendered as empty.'));\n    }\n  }, {\n    key: \"ErrorResponsePlaceholder\",\n    value: function ErrorResponsePlaceholder(response) {\n      var errorMessage = sprintf(\n      // translators: %s: error message describing the problem\n      __('Error loading block: %s'), response.errorMsg);\n      return wp.element.createElement(Placeholder, null, errorMessage);\n    }\n  }, {\n    key: \"LoadingResponsePlaceholder\",\n    value: function LoadingResponsePlaceholder() {\n      return wp.element.createElement(Placeholder, null, wp.element.createElement(Spinner, null));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var response = this.state.response;\n      var EmptyResponsePlaceholder = this.EmptyResponsePlaceholder,\n        ErrorResponsePlaceholder = this.ErrorResponsePlaceholder,\n        LoadingResponsePlaceholder = this.LoadingResponsePlaceholder;\n      if (response === '') {\n        return wp.element.createElement(EmptyResponsePlaceholder, null);\n      } else if (!response) {\n        return wp.element.createElement(LoadingResponsePlaceholder, null);\n      } else if (response.error) {\n        return wp.element.createElement(ErrorResponsePlaceholder, {\n          response: response\n        });\n      }\n      return wp.element.createElement(RawHTML, {\n        key: \"rawHtml\"\n      }, response);\n    }\n  }]);\n  return TemplateRender;\n}(Component);\n\n\n//# sourceURL=webpack:///./blocks/editor/controls/templateRender.js?");

/***/ }),

/***/ "./blocks/editor/icons.js":
/*!********************************!*\
  !*** ./blocks/editor/icons.js ***!
  \********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */   \"megaMenuIcon\": () => (/* binding */ megaMenuIcon),\n/* harmony export */   \"mobileMenuIcon\": () => (/* binding */ mobileMenuIcon)\n/* harmony export */ });\nvar _wp$primitives = wp.primitives,\n  SVG = _wp$primitives.SVG,\n  Path = _wp$primitives.Path;\nvar megaMenuIcon = wp.element.createElement(SVG, {\n  width: \"64\",\n  height: \"64\",\n  viewBox: \"0 0 64 64\",\n  fill: \"none\",\n  xmlns: \"http://www.w3.org/2000/svg\"\n}, wp.element.createElement(\"rect\", {\n  x: \"1\",\n  y: \"13\",\n  width: \"62\",\n  height: \"10\",\n  rx: \"3\",\n  fill: \"white\",\n  stroke: \"#162B40\",\n  strokeWidth: \"2\"\n}), wp.element.createElement(Path, {\n  d: \"M1 16C1 14.3431 2.34315 13 4 13H17V23H1V16Z\",\n  fill: \"#6F8BFF\",\n  stroke: \"#162B40\",\n  strokeWidth: \"2\"\n}), wp.element.createElement(Path, {\n  d: \"M1 23H47V48C47 49.6569 45.6569 51 44 51H4C2.34315 51 1 49.6569 1 48V23Z\",\n  fill: \"white\",\n  stroke: \"#162B40\",\n  strokeWidth: \"2\"\n}), wp.element.createElement(\"rect\", {\n  x: \"6\",\n  y: \"28\",\n  width: \"16\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"6\",\n  y: \"32\",\n  width: \"12\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"6\",\n  y: \"36\",\n  width: \"16\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"6\",\n  y: \"40\",\n  width: \"12\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"6\",\n  y: \"44\",\n  width: \"16\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"26\",\n  y: \"28\",\n  width: \"16\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"26\",\n  y: \"32\",\n  width: \"12\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"26\",\n  y: \"36\",\n  width: \"16\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"26\",\n  y: \"40\",\n  width: \"12\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}), wp.element.createElement(\"rect\", {\n  x: \"26\",\n  y: \"44\",\n  width: \"16\",\n  height: \"2\",\n  rx: \"1\",\n  fill: \"#162B40\"\n}));\nvar mobileMenuIcon = wp.element.createElement(SVG, {\n  width: \"64\",\n  height: \"64\",\n  viewBox: \"0 0 64 64\",\n  fill: \"none\",\n  xmlns: \"http://www.w3.org/2000/svg\"\n}, wp.element.createElement(Path, {\n  d: \"M9 12C9 10.3431 10.3431 9 12 9H24C25.6569 9 27 10.3431 27 12V27H9V12Z\",\n  fill: \"#6F8BFF\",\n  stroke: \"#162B40\",\n  strokeWidth: \"2\"\n}), wp.element.createElement(Path, {\n  d: \"M22 13H14C13.4477 13 13 13.4477 13 14C13 14.5523 13.4477 15 14 15H22C22.5523 15 23 14.5523 23 14C23 13.4477 22.5523 13 22 13Z\",\n  fill: \"#162B40\"\n}), wp.element.createElement(Path, {\n  d: \"M22 17H14C13.4477 17 13 17.4477 13 18C13 18.5523 13.4477 19 14 19H22C22.5523 19 23 18.5523 23 18C23 17.4477 22.5523 17 22 17Z\",\n  fill: \"#162B40\"\n}), wp.element.createElement(Path, {\n  d: \"M22 21H14C13.4477 21 13 21.4477 13 22C13 22.5523 13.4477 23 14 23H22C22.5523 23 23 22.5523 23 22C23 21.4477 22.5523 21 22 21Z\",\n  fill: \"#162B40\"\n}), wp.element.createElement(Path, {\n  d: \"M9 27H52C53.6569 27 55 28.3431 55 30V52C55 53.6569 53.6569 55 52 55H12C10.3431 55 9 53.6569 9 52V27Z\",\n  fill: \"white\",\n  stroke: \"#162B40\",\n  strokeWidth: \"2\"\n}), wp.element.createElement(Path, {\n  d: \"M50 32H14C13.4477 32 13 32.4477 13 33C13 33.5523 13.4477 34 14 34H50C50.5523 34 51 33.5523 51 33C51 32.4477 50.5523 32 50 32Z\",\n  fill: \"#162B40\"\n}), wp.element.createElement(Path, {\n  d: \"M50 36H14C13.4477 36 13 36.4477 13 37C13 37.5523 13.4477 38 14 38H50C50.5523 38 51 37.5523 51 37C51 36.4477 50.5523 36 50 36Z\",\n  fill: \"#162B40\"\n}), wp.element.createElement(Path, {\n  d: \"M13 41C13 40.4477 13.4477 40 14 40H34C34.5523 40 35 40.4477 35 41C35 41.5523 34.5523 42 34 42H14C13.4477 42 13 41.5523 13 41Z\",\n  fill: \"#162B40\"\n}));\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n  megaMenuIcon: megaMenuIcon,\n  mobileMenuIcon: mobileMenuIcon\n});\n\n//# sourceURL=webpack:///./blocks/editor/icons.js?");

/***/ }),

/***/ "./blocks/index.js":
/*!*************************!*\
  !*** ./blocks/index.js ***!
  \*************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _block_types_mega_menu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./block-types/mega-menu */ \"./blocks/block-types/mega-menu.js\");\n/* harmony import */ var _block_types_mobile_menu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./block-types/mobile-menu */ \"./blocks/block-types/mobile-menu.js\");\n\n\n\n//# sourceURL=webpack:///./blocks/index.js?");

/***/ }),

/***/ "./includes/utility.js":
/*!*****************************!*\
  !*** ./includes/utility.js ***!
  \*****************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"allTrue\": () => (/* binding */ allTrue),\n/* harmony export */   \"arrayMove\": () => (/* binding */ arrayMove),\n/* harmony export */   \"arrayRemoveByValue\": () => (/* binding */ arrayRemoveByValue),\n/* harmony export */   \"arrayRemoveObjectByKey\": () => (/* binding */ arrayRemoveObjectByKey),\n/* harmony export */   \"clone\": () => (/* binding */ clone),\n/* harmony export */   \"convertDate\": () => (/* binding */ convertDate),\n/* harmony export */   \"dateAddDay\": () => (/* binding */ dateAddDay),\n/* harmony export */   \"dateAddMonth\": () => (/* binding */ dateAddMonth),\n/* harmony export */   \"dateAddYear\": () => (/* binding */ dateAddYear),\n/* harmony export */   \"debounce\": () => (/* binding */ debounce),\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */   \"getNesting\": () => (/* binding */ getNesting),\n/* harmony export */   \"getProviderFilters\": () => (/* binding */ getProviderFilters),\n/* harmony export */   \"getUrlParams\": () => (/* binding */ getUrlParams),\n/* harmony export */   \"isEmpty\": () => (/* binding */ isEmpty),\n/* harmony export */   \"isEqual\": () => (/* binding */ isEqual),\n/* harmony export */   \"isFunction\": () => (/* binding */ isFunction),\n/* harmony export */   \"isNestingExist\": () => (/* binding */ isNestingExist),\n/* harmony export */   \"isNotEmpty\": () => (/* binding */ isNotEmpty),\n/* harmony export */   \"isObject\": () => (/* binding */ isObject),\n/* harmony export */   \"isValidUrl\": () => (/* binding */ isValidUrl),\n/* harmony export */   \"mergeData\": () => (/* binding */ mergeData),\n/* harmony export */   \"notObject\": () => (/* binding */ notObject),\n/* harmony export */   \"objectSlice\": () => (/* binding */ objectSlice),\n/* harmony export */   \"parseDate\": () => (/* binding */ parseDate),\n/* harmony export */   \"removeAllDefaultUrlParams\": () => (/* binding */ removeAllDefaultUrlParams),\n/* harmony export */   \"setNesting\": () => (/* binding */ setNesting),\n/* harmony export */   \"someIsFalse\": () => (/* binding */ someIsFalse),\n/* harmony export */   \"someIsTrue\": () => (/* binding */ someIsTrue)\n/* harmony export */ });\n/* provided dependency */ var $ = __webpack_require__(/*! jquery */ \"jquery\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n  isObject: isObject,\n  notObject: notObject,\n  objectSlice: objectSlice,\n  clone: clone,\n  arrayMove: arrayMove,\n  arrayRemoveByValue: arrayRemoveByValue,\n  arrayRemoveObjectByKey: arrayRemoveObjectByKey,\n  mergeData: mergeData,\n  isNotEmpty: isNotEmpty,\n  isEmpty: isEmpty,\n  isEqual: isEqual,\n  someIsTrue: someIsTrue,\n  someIsFalse: someIsFalse,\n  allTrue: allTrue,\n  isValidUrl: isValidUrl,\n  isFunction: isFunction,\n  isNestingExist: isNestingExist,\n  setNesting: setNesting,\n  getNesting: getNesting,\n  getUrlParams: getUrlParams,\n  getProviderFilters: getProviderFilters,\n  parseDate: parseDate,\n  convertDate: convertDate,\n  dateAddDay: dateAddDay,\n  dateAddMonth: dateAddMonth,\n  dateAddYear: dateAddYear,\n  debounce: debounce\n});\nfunction isObject(x) {\n  return _typeof(x) === 'object' && x !== null;\n}\n;\nfunction notObject(x) {\n  return !isObject(x);\n}\n;\nfunction objectSlice(obj, key) {\n  if (!obj.hasOwnProperty(key)) return false;\n  var keyValue = obj[key];\n  delete obj[key];\n  return keyValue;\n}\n;\nfunction clone(o) {\n  var output, v, key;\n  output = Array.isArray(o) ? [] : {};\n  for (key in o) {\n    v = o[key];\n    output[key] = _typeof(v) === \"object\" ? clone(v) : v;\n  }\n  return output;\n}\nfunction arrayMove(arr, startIndex, endIndex) {\n  while (startIndex < 0) {\n    startIndex += arr.length;\n  }\n  while (endIndex < 0) {\n    endIndex += arr.length;\n  }\n  if (endIndex >= arr.length) {\n    var k = endIndex - arr.length + 1;\n    while (k--) {\n      arr.push(undefined);\n    }\n  }\n  arr.splice(endIndex, 0, arr.splice(startIndex, 1)[0]);\n  return arr;\n}\n;\nfunction arrayRemoveByValue(array, val) {\n  var index = array.indexOf(val);\n  if (index > -1) {\n    array.splice(index, 1);\n  }\n}\nfunction arrayRemoveObjectByKey(array, key, val) {\n  var index = array.findIndex(function (o) {\n    return o[key] === val;\n  });\n  if (index > -1) {\n    array.splice(index, 1);\n  }\n  return array;\n}\nfunction mergeData() {\n  var args = Array.prototype.slice.call(arguments);\n  if (!args.length) return false;\n  if (args.length === 1) return args[0];\n  var outputData = [];\n  args.forEach(function (arg) {\n    outputData = outputData.concat(arg);\n  });\n  return _toConsumableArray(new Set(outputData));\n}\nfunction isNotEmpty(obj) {\n  switch (obj.constructor) {\n    case Object:\n      return Object.entries(obj).length ? true : false;\n    case Array:\n      return obj.length ? true : false;\n  }\n  return obj ? true : false;\n}\nfunction isEmpty(obj) {\n  return !isNotEmpty(obj);\n}\nfunction someIsTrue(arr) {\n  return arr.some(function (item) {\n    return Boolean(item);\n  });\n}\nfunction someIsFalse(arr) {\n  return arr.some(function (item) {\n    return !Boolean(item);\n  });\n}\nfunction allTrue(arr) {\n  return someIsFalse(arr) ? false : true;\n}\nfunction isValidUrl(string) {\n  try {\n    new URL(string);\n  } catch (_) {\n    return false;\n  }\n  return true;\n}\nfunction isFunction(variableToCheck) {\n  return variableToCheck instanceof Function ? true : false;\n}\nfunction isNestingExist(obj) {\n  var nesting = Array.from(arguments).splice(1);\n  var output = true;\n  var _iterator = _createForOfIteratorHelper(nesting),\n    _step;\n  try {\n    for (_iterator.s(); !(_step = _iterator.n()).done;) {\n      var key = _step.value;\n      if (!obj[key]) {\n        output = false;\n        break;\n      }\n      obj = obj[key];\n    }\n  } catch (err) {\n    _iterator.e(err);\n  } finally {\n    _iterator.f();\n  }\n  return output;\n}\nfunction setNesting(data, obj, nesting) {\n  var props = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n  if (!data) return;\n  var iterationObj = obj;\n  for (var index = 0; index < nesting.length; index++) {\n    var iterationKey = nesting[index],\n      isLast = index === nesting.length - 1 ? true : false;\n    if (isLast) {\n      if (iterationObj[iterationKey] && props.merge) {\n        iterationObj[iterationKey] = mergeData(iterationObj[iterationKey], data);\n      } else {\n        iterationObj[iterationKey] = data;\n      }\n    } else {\n      if (!iterationObj[iterationKey]) iterationObj[iterationKey] = {};\n      iterationObj = iterationObj[iterationKey];\n    }\n  }\n}\nfunction getNesting(obj) {\n  var nesting = Array.from(arguments).splice(1);\n  var isNestingExist = true;\n  var _iterator2 = _createForOfIteratorHelper(nesting),\n    _step2;\n  try {\n    for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n      var key = _step2.value;\n      if (!obj[key]) {\n        isNestingExist = false;\n        break;\n      }\n      obj = obj[key];\n    }\n  } catch (err) {\n    _iterator2.e(err);\n  } finally {\n    _iterator2.f();\n  }\n  return isNestingExist ? obj : false;\n}\nfunction isEqual(value, other) {\n  var type = Object.prototype.toString.call(value);\n  if (type !== Object.prototype.toString.call(other)) {\n    return false;\n  }\n  if (['[object Array]', '[object Object]'].indexOf(type) < 0) {\n    return false;\n  }\n  var valueLen = type === '[object Array]' ? value.length : Object.keys(value).length,\n    otherLen = type === '[object Array]' ? other.length : Object.keys(other).length;\n  if (valueLen !== otherLen) {\n    return false;\n  }\n  var compare = function compare(item1, item2) {\n    var itemType = Object.prototype.toString.call(item1);\n    if (['[object Array]', '[object Object]'].indexOf(itemType) >= 0) {\n      if (!isEqual(item1, item2)) {\n        return false;\n      }\n    } else {\n      if (itemType !== Object.prototype.toString.call(item2)) {\n        return false;\n      }\n      if (itemType === '[object Function]') {\n        if (item1.toString() !== item2.toString()) {\n          return false;\n        }\n      } else {\n        if (item1 !== item2) {\n          return false;\n        }\n      }\n    }\n  };\n  if (type === '[object Array]') {\n    for (var i = 0; i < valueLen; i++) {\n      if (compare(value[i], other[i]) === false) {\n        return false;\n      }\n    }\n  } else {\n    for (var key in value) {\n      if (value.hasOwnProperty(key)) {\n        if (compare(value[key], other[key]) === false) {\n          return false;\n        }\n      }\n    }\n  }\n  return true;\n}\n;\nfunction getProviderFilters(provider) {\n  var queryId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';\n  return getNesting(JetSmartFilters, 'filterGroups', provider + '/' + queryId, 'filters') || [];\n}\nfunction getUrlParams() {\n  var search = decodeURIComponent(window.location.search),\n    hashes = search.slice(search.indexOf('?') + 1).split('&'),\n    params = {};\n  hashes.map(function (hash) {\n    var _hash$split = hash.split('='),\n      _hash$split2 = _slicedToArray(_hash$split, 2),\n      key = _hash$split2[0],\n      val = _hash$split2[1];\n    params[key] = val;\n  });\n  return params;\n}\nfunction removeAllDefaultUrlParams(url) {\n  var defaultParams = ['jsf=', 'tax=', 'meta=', 'date=', 'sort=', 'alphabet=', '_s=', 'pagenum=',\n  // backward compatibility\n  'jet-smart-filters=', 'jet_paged=', 'search=', '_tax_query_', '_meta_query_', '_date_query_', '_sort_', '__s_'];\n  defaultParams.forEach(function (param) {\n    var regex = new RegExp('[\\?&]' + param + '[^&]+', 'g');\n    url = url.replace(regex, '');\n  });\n  return url.replace(/^&/, '?').replace(/[\\?&]$/, '');\n}\nfunction parseDate(dateString) {\n  var dateFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'mm/dd/yy';\n  var output = {\n    date: $.datepicker.parseDate(dateFormat, dateString),\n    value: ''\n  };\n  output.value = convertDate(output.date) || '';\n  return output;\n}\nfunction convertDate(date) {\n  if (!date || !date.getTime()) return false;\n  return date.getFullYear() + '.' + (date.getMonth() + 1) + '.' + date.getDate();\n}\nfunction dateAddDay(date) {\n  var days = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n  date.setDate(date.getDate() + days);\n  return date;\n}\nfunction dateAddMonth(date) {\n  var months = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n  var d = date.getDate();\n  date.setMonth(date.getMonth() + months);\n  if (date.getDate() != d) {\n    date.setDate(0);\n  }\n  return date;\n}\nfunction dateAddYear(date) {\n  var years = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n  date.setFullYear(date.getFullYear() + years);\n  return date;\n}\nfunction debounce(callback, wait) {\n  var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n  var timeout = null;\n  return function () {\n    var _arguments = arguments,\n      _this = this;\n    var callNow = immediate && !timeout;\n    var next = function next() {\n      return callback.apply(_this, _arguments);\n    };\n    clearTimeout(timeout);\n    timeout = setTimeout(next, wait);\n    if (callNow) {\n      next();\n    }\n  };\n}\n\n//# sourceURL=webpack:///./includes/utility.js?");

/***/ }),

/***/ "jquery":
/*!*************************!*\
  !*** external "jQuery" ***!
  \*************************/
/***/ ((module) => {

module.exports = jQuery;

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// 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;
/******/ 	}
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/ 	
/************************************************************************/
/******/ 	
/******/ 	// startup
/******/ 	// Load entry module and return exports
/******/ 	// This entry module can't be inlined because the eval devtool is used.
/******/ 	var __webpack_exports__ = __webpack_require__("./blocks/index.js");
/******/ 	
/******/ })()
;