text: webpackHotUpdate_N_E("pages/index",{
  
  /***/ "./componens/Input/Input.js":
  /*!**********************************!*\
    !*** ./componens/Input/Input.js ***!
    \**********************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(module) {/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"./node_modules/react/jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Categories_Categories__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Categories/Categories */ \"./componens/Categories/Categories.js\");\n/* harmony import */ var _List_List__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../List/List */ \"./componens/List/List.js\");\n/* harmony import */ var _Input_module_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Input.module.css */ \"./componens/Input/Input.module.css\");\n/* harmony import */ var _Input_module_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_Input_module_css__WEBPACK_IMPORTED_MODULE_4__);\n\n\nvar _jsxFileName = \"/home/konstantin/1/igooods/componens/Input/Input.js\",\n    _s = $RefreshSig$();\n\n\n\n\n\n\n\nfunction Input(_ref) {\n  _s();\n\n  var data = _ref.data,\n      state = _ref.state,\n      setState = _ref.setState;\n  var inp = Object(react__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])();\n  Object(react__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    inp.current.focus();\n  }, []);\n\n  var _useState = Object(react__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(null),\n      res = _useState[0],\n      setRes = _useState[1];\n\n  var clickHandler = function clickHandler() {\n    setState(function () {\n      return \"\";\n    });\n  };\n\n  Object(react__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    setRes(function () {\n      return data.data.filter(function (obj) {\n        var res = false;\n        var keysArr = Object.keys(obj);\n        keysArr.forEach(function (key) {\n          if (typeof obj[key] !== 'object' && typeof obj[key] !== 'number') {\n            if (obj[key].toLowerCase().includes(state.toLowerCase())) {\n              res = true;\n            }\n          }\n        });\n        return res;\n      });\n    });\n  }, [state]);\n  return /*#__PURE__*/Object(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__[\"jsxDEV\"])(\"div\", {\n    children: [/*#__PURE__*/Object(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__[\"jsxDEV\"])(\"input\", {\n      className: _Input_module_css__WEBPACK_IMPORTED_MODULE_4___default.a.input,\n      ref: inp,\n      onChange: function onChange(e) {\n        setState(e.target.value);\n      },\n      value: state,\n      placeholder: \"\\u041D\\u0430\\u0439\\u0442\\u0438\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 33,\n      columnNumber: 7\n    }, this), state ? /*#__PURE__*/Object(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__[\"jsxDEV\"])(\"button\", {\n      className: _Input_module_css__WEBPACK_IMPORTED_MODULE_4___default.a.button,\n      onClick: clickHandler,\n      children: \"X\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 36,\n      columnNumber: 16\n    }, this) : null, /*#__PURE__*/Object(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__[\"jsxDEV\"])(_Categories_Categories__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      state: state,\n      res: res\n    }, Math.random(), false, {\n      fileName: _jsxFileName,\n      lineNumber: 37,\n      columnNumber: 7\n    }, this), /*#__PURE__*/Object(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__[\"jsxDEV\"])(_List_List__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      state: state,\n      res: res\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 38,\n      columnNumber: 7\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 32,\n    columnNumber: 5\n  }, this);\n}\n\n_s(Input, \"XFvpAhleUJcON/Xl//AMV24xR48=\");\n\n_c = Input;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Input);\n\nvar _c;\n\n$RefreshReg$(_c, \"Input\");\n\n;\n    var _a, _b;\n    // Legacy CSS implementations will `eval` browser code in a Node.js context\n    // to extract CSS. For backwards compatibility, we need to check we're in a\n    // browser context before continuing.\n    if (typeof self !== 'undefined' &&\n        // AMP / No-JS mode does not inject these helpers:\n        '$RefreshHelpers$' in self) {\n        var currentExports = module.__proto__.exports;\n        var prevExports = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevExports) !== null && _b !== void 0 ? _b : null;\n        // This cannot happen in MainTemplate because the exports mismatch between\n        // templating and execution.\n        self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.i);\n        // A module can be accepted automatically based on its exports, e.g. when\n        // it is a Refresh Boundary.\n        if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n            // Save the previous exports on update so we can compare the boundary\n            // signatures.\n            module.hot.dispose(function (data) {\n                data.prevExports = currentExports;\n            });\n            // Unconditionally accept an update to this module, we'll check if it's\n            // still a Refresh Boundary later.\n            module.hot.accept();\n            // This field is set when the previous version of this module was a\n            // Refresh Boundary, letting us know we need to check for invalidation or\n            // enqueue an update.\n            if (prevExports !== null) {\n                // A boundary can become ineligible if its exports are incompatible\n                // with the previous exports.\n                //\n                // For example, if you add/remove/change exports, we'll want to\n                // re-execute the importing modules, and force those components to\n                // re-render. Similarly, if you convert a class component to a\n                // function, we want to invalidate the boundary.\n                if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevExports, currentExports)) {\n                    module.hot.invalidate();\n                }\n                else {\n                    self.$RefreshHelpers$.scheduleUpdate();\n                }\n            }\n        }\n        else {\n            // Since we just executed the code for the module, it's possible that the\n            // new exports made it ineligible for being a boundary.\n            // We only care about the case when we were _previously_ a boundary,\n            // because we already accepted this update (accidental side effect).\n            var isNoLongerABoundary = prevExports !== null;\n            if (isNoLongerABoundary) {\n                module.hot.invalidate();\n            }\n        }\n    }\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node_modules/webpack/buildin/harmony-module.js */ \"./node_modules/webpack/buildin/harmony-module.js\")(module)))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vY29tcG9uZW5zL0lucHV0L0lucHV0LmpzPzcwNmIiXSwibmFtZXMiOlsiSW5wdXQiLCJkYXRhIiwic3RhdGUiLCJzZXRTdGF0ZSIsImlucCIsInVzZVJlZiIsInVzZUVmZmVjdCIsImN1cnJlbnQiLCJmb2N1cyIsInVzZVN0YXRlIiwicmVzIiwic2V0UmVzIiwiY2xpY2tIYW5kbGVyIiwiZmlsdGVyIiwib2JqIiwia2V5c0FyciIsIk9iamVjdCIsImtleXMiLCJmb3JFYWNoIiwia2V5IiwidG9Mb3dlckNhc2UiLCJpbmNsdWRlcyIsInN0eWxlIiwiaW5wdXQiLCJlIiwidGFyZ2V0IiwidmFsdWUiLCJidXR0b24iLCJNYXRoIiwicmFuZG9tIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBR0EsU0FBU0EsS0FBVCxPQUF5QztBQUFBOztBQUFBLE1BQXpCQyx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0cnVlXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9KVxuICAgICAgcmV0dXJuIHJlc1xuICAgIH0pKVxuICB9LCBbc3RhdGVdKVxuXG4gIHJldHVybiAoXG4gICAgPGRpdj5cbiAgICAgIDxpbnB1dCBjbGFzc05hbWU9e3N0eWxlLmlucHV0fSByZWY9e2lucH0gb25DaGFuZ2U9eyhlKSA9PiB7XG4gICAgICAgIHNldFN0YXRlKGUudGFyZ2V0LnZhbHVlKVxuICAgICAgfX0gdmFsdWU9e3N0YXRlfSBwbGFjZWhvbGRlcj0n0J3QsNC50YLQuCcgLz5cbiAgICAgIHtzdGF0ZSA/IDxidXR0b24gY2xhc3NOYW1lPXtzdHlsZS5idXR0b259IG9uQ2xpY2s9e2NsaWNrSGFuZGxlcn0gPlg8L2J1dHRvbj4gOiBudWxsfVxuICAgICAgPENhdGVnb3JpZXMga2V5PXtNYXRoLnJhbmRvbSgpfSBzdGF0ZT17c3RhdGV9IHJlcz17cmVzfSAvPlxuICAgICAgPExpc3Qgc3RhdGU9e3N0YXRlfSByZXM9e3Jlc30gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgSW5wdXQ7XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./componens/Input/Input.js\n");
  
  /***/ })
  
  })