/*
 * 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__ = ({

/***/ "../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/layout-builder.sourcepack.js":
/*!***********************************************************************************************************************!*\
  !*** ../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/layout-builder.sourcepack.js ***!
  \***********************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _js_common_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./js_common/_helpers */ \"../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_helpers.js\");\n/* harmony import */ var _js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./js_common/_esjquery */ \"../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_esjquery.js\");\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\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, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n// var $es = require('./js_common/_esjquery').$es;\n\n\nString.prototype.insert_at = function (index, string) {\n  return this.substr(0, index) + string + this.substr(index);\n};\n\n\n\nvar LayoutBuilder = /*#__PURE__*/function () {\n  function LayoutBuilder() {\n    _classCallCheck(this, LayoutBuilder);\n\n    console.log({\n      $es: _js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es\n    });\n    this.classInit();\n  }\n\n  _createClass(LayoutBuilder, [{\n    key: \"classInit\",\n    value: function classInit() {\n      // window.layout_builder_settings = JSON.parse(window.layout_builder_settings);\n      var $theForm_ = document.querySelector('.layout--main-con');\n      var $layoutBuilderLayers_ = document.querySelector('.layout-builder--layers');\n      var $theOutput_ = document.getElementById('lb-output');\n      setTimeout(function () {\n        jQuery('#layout-builder--layers-con').nestable({\n          'maxDepth': 4,\n          expandBtnHTML: '<button class=\"collapse-btn\" data-action=\"expand\" type=\"button\"><i class=\"fa fa-caret-down\" ></i></button>',\n          collapseBtnHTML: '<button class=\"collapse-btn\" data-action=\"collapse\" type=\"button\"><i class=\"fa fa-caret-up\" ></i></button>',\n          action_drag_stop: function action_drag_stop() {\n            console.log('action_drag_stop');\n            handleReorder(); // arrange_layers({\n            //   calledFrom: 'order_stop'\n            // });\n            // update_to_editor({\n            //   'call_from': 'arrange_layers'\n            // });\n          }\n        });\n      }, 1000);\n      $theForm_.addEventListener('submit', function (ev) {\n        $theOutput_.value = JSON.stringify((0,_js_common_helpers__WEBPACK_IMPORTED_MODULE_0__.serializeFormToJson)($theForm_, $theOutput_));\n        window.es_ajax({\n          'type': 'POST',\n          'url': window.ajaxurl,\n          'data': {\n            'action': window.layout_builder_settings.ajaxActionName,\n            'postdata': $theOutput_.value,\n            'layout_builder_id': get_query_arg(window.location.href, 'layout_builder_id') // 'postdata': 'ab',\n\n          },\n          'success': function success() {\n            console.log('successssss');\n          }\n        });\n        ev.preventDefault();\n        return false;\n      });\n      (0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)(document).on('click', '.add-element, .btn-save-layout', handleClick);\n      handleInit();\n\n      function handleInit() {\n        mapInitialConfigToItems();\n        mapJsonStructureToInputs();\n      }\n\n      function mapInitialConfigToItems() {\n        console.log((0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)('#lb-output').val());\n        var initialFeed = (0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)('#lb-output').val();\n\n        try {\n          var initialFeedObj = JSON.parse(initialFeed);\n          console.log('initialFeedObj - ', {\n            initialFeedObj: initialFeedObj\n          });\n\n          if (initialFeedObj.items) {\n            initialFeedObj.items.forEach(function (item) {\n              (0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)($layoutBuilderLayers_).append(mapBuilderItemToHtml(layoutBuilderStructure.builder_item, item));\n            });\n          }\n        } catch (err) {\n          console.log(err);\n        }\n      }\n\n      function handleReorder() {\n        console.log('handleReorder()');\n        mapJsonStructureToInputs();\n        console.log('$es(\\'.layout-builder--builder-item\\') - ', (0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)('.layout-builder--builder-item'));\n      }\n\n      function mapJsonStructureToInputs() {\n        (0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)('.layout-builder--builder-item').each(function ($el, index) {\n          console.log('$el2 - ', $el, index);\n          $el.attr('data-lbindex', index);\n          $el.find('*[data-lbkey]').each(function ($elInput) {\n            console.log('$elInput - ', $elInput);\n            var jsonStructure = {\n              items: []\n            };\n            jsonStructure.items[index] = {};\n            jsonStructure.items[index][$elInput.attr('data-lbkey')] = 'the-value';\n            $elInput.attr('data-json-structure', JSON.stringify(jsonStructure));\n          });\n        });\n      }\n\n      function mapBuilderItemToHtml(builderItemString, builderItemArgs) {\n        // console.log('builderItemString -', builderItemString);\n        var builderItemHtml = builderItemString;\n        var regexItems = /-><-[\\s|\\S]*?-<>-/g;\n        var regexItemsResultsAux = builderItemHtml.matchAll(regexItems); // const regexItemsResults = [];\n\n        var regexItemsResults = Array.from(regexItemsResultsAux); // for (const regexItemsResult of regexItemsResultsAux) {\n        //   regexItemsResults.push(regexItemsResult);\n        // }\n        // console.log({regexItemsResult});\n\n        console.log('regexItemsResults -', regexItemsResults);\n\n        for (var i = regexItemsResults.length - 1; i >= 0; i--) {\n          var regexItemsResult = regexItemsResults[i];\n          console.log('regexItemsResult - ', regexItemsResult);\n          var regexItemsResultHtml = regexItemsResult[0];\n          var defaultValue = '';\n          var lbKey = (0,_js_common_helpers__WEBPACK_IMPORTED_MODULE_0__.getHtmlAttributeWithRegex)('data-lbkey', regexItemsResult);\n\n          if ((0,_js_common_helpers__WEBPACK_IMPORTED_MODULE_0__.getHtmlAttributeWithRegex)('default', regexItemsResult)) {\n            defaultValue = (0,_js_common_helpers__WEBPACK_IMPORTED_MODULE_0__.getHtmlAttributeWithRegex)('default', regexItemsResult);\n          }\n\n          var setValue = defaultValue;\n\n          if (builderItemArgs[lbKey]) {\n            setValue = builderItemArgs[lbKey];\n          }\n\n          regexItemsResultHtml = regexItemsResultHtml.replace('{{thevalue}}', setValue);\n          regexItemsResultHtml = regexItemsResultHtml.replace(/-><-/g, '');\n          regexItemsResultHtml = regexItemsResultHtml.replace(/-<>-/g, ''); // builderItemHtml = builderItemHtml.substring(0,regexItemsResult.index)+regexItemsResultHtml+builderItemHtml.substring(regexItemsResult.index + regexItemsResult[0].length, builderItemHtml.length);\n\n          builderItemHtml = builderItemHtml.replace(regexItemsResult[0], '');\n          builderItemHtml = builderItemHtml.insert_at(regexItemsResult.index, regexItemsResultHtml); // builderItemHtml = builderItemHtml.replace('{{thevalue}}', setValue);\n          // console.log(getHtmlAttributeWithRegex('default', regexItemsResult));\n        }\n\n        builderItemHtml = builderItemHtml.replace(/-><-/g, '');\n        builderItemHtml = builderItemHtml.replace(/-<>-/g, '');\n        return builderItemHtml;\n      }\n\n      function handleClick(e) {\n        // console.log(e);\n        var $t = (0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)(this);\n\n        if ($t.hasClass('btn-save-layout')) {}\n\n        if ($t.hasClass('add-element')) {\n          console.log('mapBuilderItemToHtml(layoutBuilderStructure.builder_item, {}) -', mapBuilderItemToHtml(layoutBuilderStructure.builder_item, {}));\n          (0,_js_common_esjquery__WEBPACK_IMPORTED_MODULE_1__.$es)($layoutBuilderLayers_).append(mapBuilderItemToHtml(layoutBuilderStructure.builder_item, {}));\n          console.log(\"CEVA\");\n          handleReorder(); // _builderLayers.append(dzswtl_settings.struct_layer_element);\n          //\n          // listeners_add_for_layer();\n          //\n          // arrange_layers();\n          //\n          // update_to_editor({\n          //   'call_from': 'add-element'\n          // });\n        }\n      }\n    }\n  }]);\n\n  return LayoutBuilder;\n}();\n\nwindow.addEventListener('DOMContentLoaded', function (event) {\n  console.log('DOM fully loaded and parsed');\n  var lb = new LayoutBuilder();\n});\n\n//# sourceURL=webpack://dzsvg/../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/layout-builder.sourcepack.js?");

/***/ }),

/***/ "../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_esjquery.js":
/*!*****************************************************************************************************************!*\
  !*** ../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_esjquery.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 */   \"$es\": () => (/* binding */ $es),\n/* harmony export */   \"documentReady\": () => (/* binding */ documentReady)\n/* harmony export */ });\n/**\n * v1.0.0\n * @type {esJquery}\n */\nlet esJquery = class {\n\n  /**\n   *\n   * @param {string|esJquery} selector\n   */\n  constructor(selector) {\n\n    if (typeof selector == 'string') {\n\n      this.$el = document.querySelector(selector);\n      this.$els = document.querySelectorAll(selector);\n    } else {\n\n      this.$el = selector;\n\n      if (isNodeList(selector)) {\n        this.$el = selector[0];\n      }\n      this.$els = [];\n\n      if (isNodeList(selector)) {\n\n        selector.forEach((_el) => {\n\n          this.$els.push(_el);\n        })\n      } else {\n\n        this.$els.push(this.$el);\n      }\n\n\n    }\n  }\n\n  /**\n   *\n   * @param {number} indexNr\n   * @returns {esJquery}\n   */\n  eq(indexNr) {\n\n    if (this.$els.length < indexNr - 1) {\n      return $es(this.$els[this.$els.length - 1]);\n    }\n    return $es(this.$els[indexNr]);\n\n  }\n\n  length() {\n\n    return this.$els.length;\n\n  }\n\n  hide() {\n\n    this.$els.forEach(function (el) {\n      el.style.display = 'none';\n    });\n  }\n\n  clone() {\n    // -- @only works on first element\n    const cln = this.$el.cloneNode(true);\n    this.$el.parentNode.appendChild(cln)\n    return cln;\n  }\n\n  show() {\n\n    this.$els.forEach(function (el) {\n      el.style.display = '';\n    });\n  }\n\n  addClass(arg) {\n\n\n    this.$els.forEach(function (el3) {\n      el3.classList.add(arg);\n    });\n    return this;\n  }\n\n  removeClass(arg) {\n\n\n    this.$els.forEach(function (el3) {\n      el3.classList.remove(arg);\n    });\n    return this;\n  }\n\n  prepend(html) {\n    if (typeof html == 'string') {\n\n      const _tempKid = document.createElement(\"div\");\n\n\n      this.$els.forEach(function (el) {\n        try {\n\n          el.appendChild(_tempKid);\n          el.insertBefore(_tempKid, el.firstChild);\n          _tempKid.outerHTML = html;\n        } catch (err) {\n          console.error('something went wrong .. ', err, this, el);\n        }\n      })\n    }\n  }\n\n  /**\n   *\n   * @param {number} index\n   * @returns {Element}\n   */\n  get(index) {\n    if (index === 0) {\n      return this.$el;\n    }\n  }\n\n  /**\n   *\n   * @param {function} callback\n   */\n  each(callback) {\n    this.$els.forEach((el) => {\n        callback($es(el));\n      }\n    )\n  }\n\n  text() {\n    if (arguments.length === 0) {\n\n      return this.$el.textContent;\n    } else {\n\n      this.$el.textContent = arguments[0];\n\n      return this;\n    }\n  }\n\n  find(selector) {\n\n    if (this.$el) {\n      return new esJquery(this.$el.querySelectorAll(selector));\n    }\n    return new esJquery(this.$el);\n  }\n\n  append(html) {\n    if (typeof html == 'string') {\n\n      const _tempKid = document.createElement(\"div\");\n      _tempKid.innerHTML = html;\n\n\n      this.$els.forEach(function (el) {\n        try {\n          el.appendChild(_tempKid);\n        } catch (err) {\n          console.error('something went wrong .. ', err, this, el);\n        }\n      })\n    }\n  }\n\n  /**\n   *\n   * @param {string} actionType\n   */\n  trigger(actionType) {\n\n    var event = new CustomEvent(actionType, {\n      bubbles: true, detail: 'event'\n    });\n\n    this.$el.dispatchEvent(event);\n  }\n\n  on(evt, sel, handler) {\n\n    this.$el.addEventListener(evt, function (event) {\n      var t = event.target;\n      while (t && t !== this) {\n        if (t.matches(sel)) {\n          handler.call(t, event);\n        }\n        t = t.parentNode;\n      }\n    });\n    return this;\n  }\n\n  hasClass(arg) {\n    if (this.$el) {\n\n      return this.$el.classList.contains(arg);\n    }\n    return $es(null);\n  }\n\n  html() {\n\n    const attrArgs = arguments;\n    if (attrArgs.length === 0) {\n      return this.$el.innerHTML;\n    }\n    if (attrArgs.length === 1) {\n\n      if (this.$el) {\n        this.$el.innerHTML = attrArgs[0];\n      }\n\n      return this;\n    }\n  }\n\n  getLast() {\n\n    if (this.$els.length) {\n      return $es(this.$els[this.$els.length - 1]);\n    }\n    return null;\n  }\n\n  val() {\n    const attrArgs = arguments;\n    if (attrArgs.length === 0) {\n      return this.$el.value ? this.$el.value : '';\n    }\n    if (attrArgs.length === 1) {\n      return this.$el.getAttribute(attrArgs[0]);\n\n\n    }\n    return this;\n\n\n  }\n\n  attr() {\n    const attrArgs = arguments;\n    if (attrArgs.length === 0) {\n      console.log('no attrArgs.. ');\n    }\n    if (attrArgs.length === 1) {\n      return this.$el.getAttribute(attrArgs[0]);\n    }\n    if (attrArgs.length === 2) {\n      this.$els.forEach(function (el) {\n        if (el) {\n          el.setAttribute(attrArgs[0], attrArgs[1]);\n        }\n      });\n    }\n\n    return $es(this.$el);\n\n\n  }\n\n  remove() {\n    this.$el.remove();\n  }\n\n  parent() {\n\n    if (this.$el) {\n\n      return $es(this.$el.parentNode);\n    }\n    return $es(null);\n  }\n\n  prev() {\n\n    return $es(this.$el.previousElementSibling);\n  }\n\n  /**\n   *\n   * @returns {Element}\n   */\n  getEl() {\n\n    return this.$el;\n  }\n\n  children() {\n    return $es(this.$el.childNodes);\n  }\n\n  serialize() {\n    var form = this.$el;\n    var field, query = '';\n    if (typeof form == 'object' && form.nodeName === \"FORM\") {\n      for (let i = 0; i <= form.elements.length - 1; i++) {\n        field = form.elements[i];\n        if (field.name && field.type !== 'file' && field.type !== 'reset') {\n          if (field.type === 'select-multiple') {\n            for (let j = 0; j <= form.elements[i].options.length - 1; j++) {\n              if (field.options[j].selected) {\n                query += '&' + field.name + \"=\" + encodeURIComponent(field.options[j].value).replace(/%20/g, '+');\n              }\n            }\n          } else {\n            if ((field.type !== 'submit' && field.type !== 'button')) {\n              if ((field.type !== 'checkbox' && field.type !== 'radio') || field.checked) {\n                query += '&' + field.name + \"=\" + encodeURIComponent(field.value).replace(/%20/g, '+');\n              }\n            }\n          }\n        }\n      }\n    }\n    return query.substr(1);\n  }\n};\n\nfunction isNodeList(nodes) {\n  var stringRepr = Object.prototype.toString.call(nodes);\n\n  return typeof nodes === 'object' &&\n    /^\\[object (HTMLCollection|NodeList|Object)\\]$/.test(stringRepr) &&\n    (typeof nodes.length === 'number') &&\n    (nodes.length === 0 || (typeof nodes[0] === \"object\" && nodes[0].nodeType > 0));\n}\n\n/**\n * jQuery, but in es6\n * @returns {esJquery} esjQuery\n * @param arg\n */\nconst $es = (arg) => {\n\n\n  return new esJquery(arg)\n};\n\n\nfunction documentReady(callback) {\n  new Promise((resolutionFunc, rejectionFunc) => {\n    if (document.readyState === 'interactive' || document.readyState === 'complete') {\n      resolutionFunc('interactive')\n    }\n    document.addEventListener('DOMContentLoaded', () => {\n      resolutionFunc('DOMContentLoaded')\n    }, false);\n    setTimeout(() => {\n      resolutionFunc('timeout')\n    }, 5000);\n  }).then(resolution => {\n    callback(resolution);\n  }).catch(err => {\n    callback(err)\n  });\n}\n\n\nwindow.es_document_ready = documentReady;\n\n/** call ajax function\n * {\n    'type':'GET',\n    'url':'/',\n    'data':{},\n    'success':null\n  }\n */\nwindow.es_ajax = function (pargs) {\n  var margs = {\n    'method': 'GET',\n    'url': '/',\n    'data': {},\n    'success': null\n  };\n\n  if (pargs) {\n    margs = Object.assign(margs, pargs);\n  }\n\n  let xhr = new XMLHttpRequest();\n\n  xhr.open(margs.method, margs.url);\n  var form_data = new FormData();\n\n  for (var key in margs.data) {\n    form_data.append(key, margs.data[key]);\n  }\n\n  xhr.send(form_data);\n  xhr.addEventListener('load', handle_loaded);\n\n  function handle_loaded(e) {\n\n    if (xhr.status !== 200) {\n\n      if (margs.error) {\n        margs.error(e, this);\n      }\n    } else { // show the result\n      if (margs.success) {\n        margs.success(e, this);\n      }\n    }\n  }\n\n\n}\n\nwindow.get_query_arg = function (purl, key) {\n  if (purl.indexOf(key + '=') > -1) {\n    var regexS = \"[?&]\" + key + \"(.+?)(?=&|$)\";\n    var regex = new RegExp(regexS);\n    var regtest = regex.exec(purl);\n\n\n    if (regtest != null) {\n\n\n      if (regtest[1]) {\n        return regtest[1].replace(/=/g, '');\n      } else {\n        return '';\n      }\n\n\n    }\n  }\n}\n\n\n/**\n *\n * @param {string} purl\n * @param {string} key\n * @param {string} value\n * @returns {*}\n */\nwindow.add_query_arg = function (purl, key, value) {\n  key = encodeURIComponent(key);\n  value = encodeURIComponent(value);\n\n\n  var s = purl;\n  var pair = key + \"=\" + value;\n\n  var r = new RegExp(\"(&|\\\\?)\" + key + \"=[^\\&]*\");\n\n\n  s = s.replace(r, \"$1\" + pair);\n  var addition = '';\n  if (s.indexOf(key + '=') > -1) {\n\n\n  } else {\n    if (s.indexOf('?') > -1) {\n      addition = '&' + pair;\n    } else {\n      addition = '?' + pair;\n    }\n    s += addition;\n  }\n\n  if (value === 'NaN') {\n    var regex_attr = new RegExp('[\\?|\\&]' + key + '=' + value);\n    s = s.replace(regex_attr, '');\n  }\n\n\n  return s;\n}\n\n//# sourceURL=webpack://dzsvg/../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_esjquery.js?");

/***/ }),

/***/ "../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_helpers.js":
/*!****************************************************************************************************************!*\
  !*** ../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_helpers.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 */   \"getHtmlAttributeWithRegex\": () => (/* binding */ getHtmlAttributeWithRegex),\n/* harmony export */   \"serializeFormToJson\": () => (/* binding */ serializeFormToJson)\n/* harmony export */ });\nconst getHtmlAttributeWithRegex = (attributeLabel, htmlInput) => {\n\n  var result = null;\n\n  var regexString = attributeLabel+'=\"([\\\\s|\\\\S]*?)\"';\n  console.log();\n  var aux = (new RegExp(regexString)).exec(htmlInput);\n\n  if(aux&&aux[1]){\n    result = aux[1];\n  }\n  return result\n}\n\nconst serializeFormToJson = ($theForm_, $theOutput_) => {\n\n  var foutObj = {\n    items: [],\n  };\n\n  const assignToFinalObject = (foutItems, targetIndex, targetJsonObj) => {\n    if (typeof foutItems[targetIndex] === 'undefined') {\n      foutItems[targetIndex] = {};\n    }\n    foutItems[targetIndex] = Object.assign(foutItems[targetIndex], targetJsonObj)\n\n  }\n  $theForm_.querySelectorAll('*[data-json-structure]').forEach(function ($inputForm_) {\n    var theValue = $inputForm_.value;\n    try {\n      var jsonStructure = $inputForm_.getAttribute('data-json-structure');\n\n      if (jsonStructure) {\n\n        // -- sanitize for json\n        jsonStructure = jsonStructure.replace('the-value', theValue);\n        var jsonObj = JSON.parse(jsonStructure);\n\n        if (jsonStructure.indexOf('items') > 0) {\n          jsonObj.items.forEach((thisVal, index) => {\n            if (jsonObj.items[index]) {\n\n              var firstKey = Object.keys(jsonObj.items[index])[0];\n\n\n              if (typeof jsonObj.items[index][firstKey] === 'object') {\n                assignToFinalObject(foutObj.items[index], firstKey, jsonObj.items[index][firstKey]);\n              } else {\n                assignToFinalObject(foutObj.items, index, jsonObj.items[index]);\n              }\n            }\n          })\n\n        } else {\n          Object.keys(jsonObj).forEach(jsonKey => {\n            if (!foutObj[jsonKey]) {\n              foutObj[jsonKey] = {};\n            }\n            foutObj[jsonKey] = Object.assign(foutObj[jsonKey], jsonObj[jsonKey]);\n          });\n        }\n      }\n\n    } catch (err) {\n      console.log('er r - ', err);\n    }\n  })\n  return foutObj;\n}\n\n//# sourceURL=webpack://dzsvg/../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/js_common/_helpers.js?");

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// 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__("../../../videogallery/wp/wp-content/plugins/dzs-videogallery/inc/layout-builder/js/layout-builder.sourcepack.js");
/******/ 	
/******/ })()
;