/* * 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/). */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else { var a = typeof exports === 'object' ? factory(require("react")) : factory(root["react"]); for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; } })(this, (__WEBPACK_EXTERNAL_MODULE_react__) => { return /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "./src/common/enums/displacement/line.ts": /*!***********************************************!*\ !*** ./src/common/enums/displacement/line.ts ***! \***********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"lineDisplacement\": () => (/* binding */ lineDisplacement),\n/* harmony export */ \"lineWheelDisplacement\": () => (/* binding */ lineWheelDisplacement)\n/* harmony export */ });\n/* harmony import */ var _key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../key-codes */ \"./src/common/enums/key-codes.ts\");\nvar _lineDisplacement, _lineWheelDisplacemen;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar lineDisplacement = (_lineDisplacement = {}, _defineProperty(_lineDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW, {\n label: 'position',\n operation: {\n horizontal: 'subtract'\n },\n displacement: 1\n}), _defineProperty(_lineDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW, {\n label: 'position',\n operation: {\n vertical: 'sum'\n },\n displacement: 1\n}), _defineProperty(_lineDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW, {\n label: 'position',\n operation: {\n vertical: 'subtract'\n },\n displacement: 1\n}), _defineProperty(_lineDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW, {\n label: 'position',\n operation: {\n horizontal: 'sum'\n },\n displacement: 1\n}), _lineDisplacement);\nvar lineWheelDisplacement = (_lineWheelDisplacemen = {}, _defineProperty(_lineWheelDisplacemen, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.UP, {\n label: 'position',\n operation: {\n vertical: 'subtract'\n },\n displacement: 1\n}), _defineProperty(_lineWheelDisplacemen, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.DOWN, {\n label: 'position',\n operation: {\n vertical: 'sum'\n },\n displacement: 1\n}), _lineWheelDisplacemen);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/enums/displacement/line.ts?"); /***/ }), /***/ "./src/common/enums/displacement/list.ts": /*!***********************************************!*\ !*** ./src/common/enums/displacement/list.ts ***! \***********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"listDisplacement\": () => (/* binding */ listDisplacement),\n/* harmony export */ \"listWheelDisplacement\": () => (/* binding */ listWheelDisplacement)\n/* harmony export */ });\n/* harmony import */ var _key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../key-codes */ \"./src/common/enums/key-codes.ts\");\nvar _listDisplacement, _listWheelDisplacemen;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar listDisplacement = (_listDisplacement = {}, _defineProperty(_listDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW, {\n label: 'position',\n operation: 'subtract',\n displacement: 1\n}), _defineProperty(_listDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW, {\n label: 'row',\n operation: 'sum',\n displacement: 1\n}), _defineProperty(_listDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW, {\n label: 'row',\n operation: 'subtract',\n displacement: 1\n}), _defineProperty(_listDisplacement, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW, {\n label: 'position',\n operation: 'sum',\n displacement: 1\n}), _listDisplacement);\nvar listWheelDisplacement = (_listWheelDisplacemen = {}, _defineProperty(_listWheelDisplacemen, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.UP, {\n label: 'row',\n operation: 'subtract',\n displacement: 1\n}), _defineProperty(_listWheelDisplacemen, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.DOWN, {\n label: 'row',\n operation: 'sum',\n displacement: 1\n}), _listWheelDisplacemen);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/enums/displacement/list.ts?"); /***/ }), /***/ "./src/common/enums/displacement/matrix.ts": /*!*************************************************!*\ !*** ./src/common/enums/displacement/matrix.ts ***! \*************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"matrixKeyDownDisplacement\": () => (/* binding */ matrixKeyDownDisplacement),\n/* harmony export */ \"matrixWheelDisplacement\": () => (/* binding */ matrixWheelDisplacement)\n/* harmony export */ });\n/* harmony import */ var _key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../key-codes */ \"./src/common/enums/key-codes.ts\");\nvar _matrixKeyDownDisplac, _matrixWheelDisplacem;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar matrixKeyDownDisplacement = (_matrixKeyDownDisplac = {}, _defineProperty(_matrixKeyDownDisplac, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW, {\n label: 'column',\n operation: 'subtract',\n displacement: 1\n}), _defineProperty(_matrixKeyDownDisplac, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW, {\n label: 'row',\n operation: 'sum',\n displacement: 1\n}), _defineProperty(_matrixKeyDownDisplac, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW, {\n label: 'row',\n operation: 'subtract',\n displacement: 1\n}), _defineProperty(_matrixKeyDownDisplac, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW, {\n label: 'column',\n operation: 'sum',\n displacement: 1\n}), _matrixKeyDownDisplac);\nvar matrixWheelDisplacement = (_matrixWheelDisplacem = {}, _defineProperty(_matrixWheelDisplacem, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.UP, {\n label: 'row',\n operation: 'subtract',\n displacement: 1\n}), _defineProperty(_matrixWheelDisplacem, _key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.DOWN, {\n label: 'row',\n operation: 'sum',\n displacement: 1\n}), _matrixWheelDisplacem);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/enums/displacement/matrix.ts?"); /***/ }), /***/ "./src/common/enums/events.ts": /*!************************************!*\ !*** ./src/common/enums/events.ts ***! \************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Events\": () => (/* binding */ Events)\n/* harmony export */ });\nvar Events = {\n ON_CLICK: 'onclick',\n ON_KEY_DOWN: 'onkeydown',\n ON_WHEEL: 'onwheel',\n ON_MOUSE_OVER: 'onmouseover',\n ON_MOUSE_OUT: 'onmouseout'\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/enums/events.ts?"); /***/ }), /***/ "./src/common/enums/key-codes.ts": /*!***************************************!*\ !*** ./src/common/enums/key-codes.ts ***! \***************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"keyCodeKeyBoard\": () => (/* binding */ keyCodeKeyBoard),\n/* harmony export */ \"keyCodeWheel\": () => (/* binding */ keyCodeWheel)\n/* harmony export */ });\nvar keyCodeKeyBoard = {\n BACK: 'Backspace',\n ENTER: 'Enter',\n LEFT_ARROW: 'ArrowLeft',\n UP_ARROW: 'ArrowUp',\n RIGHT_ARROW: 'ArrowRight',\n DOWN_ARROW: 'ArrowDown'\n};\nvar keyCodeWheel = {\n UP: 'up',\n DOWN: 'down'\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/enums/key-codes.ts?"); /***/ }), /***/ "./src/common/enums/on-out.ts": /*!************************************!*\ !*** ./src/common/enums/on-out.ts ***! \************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onOutTypes\": () => (/* binding */ onOutTypes)\n/* harmony export */ });\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\nvar _onOutTypes;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\nvar onOutTypes = (_onOutTypes = {}, _defineProperty(_onOutTypes, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW, 'left'), _defineProperty(_onOutTypes, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW, 'right'), _defineProperty(_onOutTypes, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW, 'top'), _defineProperty(_onOutTypes, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW, 'down'), _defineProperty(_onOutTypes, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.UP, 'top'), _defineProperty(_onOutTypes, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.DOWN, 'down'), _onOutTypes);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/enums/on-out.ts?"); /***/ }), /***/ "./src/common/enums/types.ts": /*!***********************************!*\ !*** ./src/common/enums/types.ts ***! \***********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"types\": () => (/* binding */ types)\n/* harmony export */ });\nvar types = {\n SINGLE: 'single',\n LINE: 'line',\n MATRIX: 'matrix',\n LIST: 'list',\n OBJECT: 'object'\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/enums/types.ts?"); /***/ }), /***/ "./src/common/utils/events.ts": /*!************************************!*\ !*** ./src/common/utils/events.ts ***! \************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"addEvent\": () => (/* binding */ addEvent)\n/* harmony export */ });\nvar addEvent = function addEvent(element, event, callback) {\n if (element) element[event] = callback;\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/utils/events.ts?"); /***/ }), /***/ "./src/common/utils/math.ts": /*!**********************************!*\ !*** ./src/common/utils/math.ts ***! \**********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"operations\": () => (/* binding */ operations)\n/* harmony export */ });\nvar operations = function operations() {\n return {\n sum: function sum(x, y) {\n return x + y;\n },\n subtract: function subtract(x, y) {\n return x - y;\n }\n };\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/utils/math.ts?"); /***/ }), /***/ "./src/common/utils/type-predicates.ts": /*!*********************************************!*\ !*** ./src/common/utils/type-predicates.ts ***! \*********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"isNotEmpty\": () => (/* binding */ isNotEmpty)\n/* harmony export */ });\nvar isNotEmpty = function isNotEmpty(value) {\n return value.length;\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/utils/type-predicates.ts?"); /***/ }), /***/ "./src/common/utils/util-kit.ts": /*!**************************************!*\ !*** ./src/common/utils/util-kit.ts ***! \**************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"compact\": () => (/* binding */ compact)\n/* harmony export */ });\nvar compact = function compact(collection) {\n return collection.filter(function (element) {\n return element;\n });\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/common/utils/util-kit.ts?"); /***/ }), /***/ "./src/core/config/variables.ts": /*!**************************************!*\ !*** ./src/core/config/variables.ts ***! \**************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"first\": () => (/* binding */ first),\n/* harmony export */ \"nonExists\": () => (/* binding */ nonExists),\n/* harmony export */ \"row\": () => (/* binding */ row)\n/* harmony export */ });\nvar first = 1;\nvar row = 'row';\nvar nonExists = -1;\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/core/config/variables.ts?"); /***/ }), /***/ "./src/core/error-handler/errorHandler.ts": /*!************************************************!*\ !*** ./src/core/error-handler/errorHandler.ts ***! \************************************************/ /***/ ((__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 */ });\nvar ErrorHandler = function ErrorHandler(error) {\n throw new Error(error);\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ErrorHandler);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/core/error-handler/errorHandler.ts?"); /***/ }), /***/ "./src/core/index.ts": /*!***************************!*\ !*** ./src/core/index.ts ***! \***************************/ /***/ ((__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 */ \"keyCodeKeyBoard\": () => (/* reexport safe */ _common_enums_key_codes__WEBPACK_IMPORTED_MODULE_2__.keyCodeKeyBoard),\n/* harmony export */ \"keyCodeWheel\": () => (/* reexport safe */ _common_enums_key_codes__WEBPACK_IMPORTED_MODULE_2__.keyCodeWheel),\n/* harmony export */ \"types\": () => (/* reexport safe */ _common_enums_types__WEBPACK_IMPORTED_MODULE_1__.types)\n/* harmony export */ });\n/* harmony import */ var _navigator_Navigator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../navigator/Navigator */ \"./src/navigator/Navigator.ts\");\n/* harmony import */ var _common_enums_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common/enums/types */ \"./src/common/enums/types.ts\");\n/* harmony import */ var _common_enums_key_codes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_navigator_Navigator__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/core/index.ts?"); /***/ }), /***/ "./src/core/store/hooks/use-store.ts": /*!*******************************************!*\ !*** ./src/core/store/hooks/use-store.ts ***! \*******************************************/ /***/ ((__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 */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n\nvar useStore = function useStore(store, selector) {\n return (0,react__WEBPACK_IMPORTED_MODULE_0__.useSyncExternalStore)(store.subscribe, (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n return selector(store.getState(), [store, selector]);\n }));\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useStore);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/core/store/hooks/use-store.ts?"); /***/ }), /***/ "./src/core/store/instance/instance.ts": /*!*********************************************!*\ !*** ./src/core/store/instance/instance.ts ***! \*********************************************/ /***/ ((__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 */ });\n/* harmony import */ var core_store_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/store/store */ \"./src/core/store/store.ts\");\n/* harmony import */ var _utils_initial_state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/initial-state */ \"./src/core/store/utils/initial-state.ts\");\n\n\nvar store = (0,core_store_store__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_utils_initial_state__WEBPACK_IMPORTED_MODULE_1__.initialState);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (store);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/core/store/instance/instance.ts?"); /***/ }), /***/ "./src/core/store/store.ts": /*!*********************************!*\ !*** ./src/core/store/store.ts ***! \*********************************/ /***/ ((__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 */ });\n/* harmony import */ var core_config_variables__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/config/variables */ \"./src/core/config/variables.ts\");\n/* harmony import */ var navigator_factory_types_events_handlers_window_events_handler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! navigator/factory/types/events-handlers/window-events-handler */ \"./src/navigator/factory/types/events-handlers/window-events-handler/index.ts\");\n/* harmony import */ var navigator_factory_types_events_handlers_parent_events_handler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! navigator/factory/types/events-handlers/parent-events-handler */ \"./src/navigator/factory/types/events-handlers/parent-events-handler/index.ts\");\n/* harmony import */ var navigator_factory_types_events_handlers_son_events_handler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! navigator/factory/types/events-handlers/son-events-handler */ \"./src/navigator/factory/types/events-handlers/son-events-handler/index.ts\");\n/* harmony import */ var common_utils_type_predicates__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! common/utils/type-predicates */ \"./src/common/utils/type-predicates.ts\");\n/* harmony import */ var common_utils_util_kit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! common/utils/util-kit */ \"./src/common/utils/util-kit.ts\");\n/* harmony import */ var common_enums_on_out__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! common/enums/on-out */ \"./src/common/enums/on-out.ts\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\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.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\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.\"); }\n\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); }\n\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; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\n\n\n\n\nvar createStore = function createStore(initialState) {\n var state = initialState;\n var listeners = new Set(); // GET\n\n var getState = function getState() {\n return state;\n };\n\n var getAllNodes = function getAllNodes() {\n return state.allNodes;\n };\n\n var getPressedNode = function getPressedNode() {\n return state.pressedNode;\n };\n\n var getFocusedNode = function getFocusedNode() {\n return state.focusedNode;\n };\n\n var getChildNode = function getChildNode(section, key) {\n return section.childNodes.find(function (child) {\n return child.configuration.focusKey === key;\n });\n };\n\n var getChildByReferences = function getChildByReferences(section, newReferences) {\n return section.childNodes.find(function (child) {\n return newReferences.every(function (reference) {\n return child.configuration[reference.name] === reference.value;\n });\n });\n };\n\n var getParentConfiguration = function getParentConfiguration(key) {\n var _getState = getState(),\n allNodes = _getState.allNodes;\n\n var _compact = (0,common_utils_util_kit__WEBPACK_IMPORTED_MODULE_5__.compact)(allNodes.map(function (_ref) {\n var childNodes = _ref.childNodes,\n configuration = _ref.configuration,\n lastRowPosition = _ref.lastRowPosition;\n return !!childNodes.find(function (_ref2) {\n var configuration = _ref2.configuration;\n return (configuration === null || configuration === void 0 ? void 0 : configuration.focusKey) === key;\n }) ? {\n configuration: configuration,\n lastRowPosition: lastRowPosition\n } : null;\n })),\n _compact2 = _slicedToArray(_compact, 1),\n _compact2$ = _compact2[0],\n configuration = _compact2$.configuration,\n lastRowPosition = _compact2$.lastRowPosition;\n\n return {\n configuration: configuration,\n lastRowPosition: lastRowPosition\n };\n }; // SET\n\n\n var setFocus = function setFocus(key) {\n var _getState2 = getState(),\n allNodes = _getState2.allNodes;\n\n if ((0,common_utils_type_predicates__WEBPACK_IMPORTED_MODULE_4__.isNotEmpty)(allNodes)) {\n var _compact3 = (0,common_utils_util_kit__WEBPACK_IMPORTED_MODULE_5__.compact)(allNodes.map(function (section) {\n var referenceChild = 'lastReferences' in section ? getChildByReferences(section, section.lastReferences) : getChildNode(section, section.configuration.preferredChildFocusKey);\n var defaultChild = referenceChild !== null && referenceChild !== void 0 ? referenceChild : section.childNodes[0];\n return section.sectionKey === key ? defaultChild : getChildNode(section, key);\n })),\n _compact4 = _slicedToArray(_compact3, 1),\n reference = _compact4[0];\n\n if (reference) {\n var _reference$configurat, _reference$configurat2;\n\n var parentConfiguration = getParentConfiguration((_reference$configurat = reference === null || reference === void 0 ? void 0 : (_reference$configurat2 = reference.configuration) === null || _reference$configurat2 === void 0 ? void 0 : _reference$configurat2.focusKey) !== null && _reference$configurat !== void 0 ? _reference$configurat : '');\n setFocusedNode({\n node: reference === null || reference === void 0 ? void 0 : reference.node,\n configuration: reference === null || reference === void 0 ? void 0 : reference.configuration,\n sectionKey: parentConfiguration.configuration.focusKey\n });\n }\n }\n };\n\n var setState = function setState(fn) {\n state = fn(state);\n listeners.forEach(function (l) {\n return l();\n });\n };\n\n var setFocusedNode = function setFocusedNode(newNodeFocused) {\n setState(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n focusedNode: {\n lastFocused: state.focusedNode.current,\n current: newNodeFocused\n }\n });\n });\n }; // UPDATE\n\n\n var updateFocusedNode = function updateFocusedNode(_ref3) {\n var parentConfiguration = _ref3.parentConfiguration,\n nodeConfiguration = _ref3.nodeConfiguration,\n onOut = _ref3.onOut,\n direction = _ref3.direction,\n sectionKey = _ref3.sectionKey,\n newReferences = _ref3.newReferences;\n var _state = state,\n allNodes = _state.allNodes;\n var parent = allNodes.find(function (section) {\n return section.sectionKey === sectionKey;\n });\n var newFocusedNode = getChildByReferences(parent, newReferences);\n\n if (newFocusedNode) {\n if (parent.configuration.rememberLastFocused) updateLastFocused({\n sectionKey: sectionKey,\n referencesToSave: newReferences\n });\n setFocusedNode({\n node: newFocusedNode.node,\n configuration: newFocusedNode.configuration,\n sectionKey: sectionKey\n });\n } else {\n var callback = onOut === null || onOut === void 0 ? void 0 : onOut[common_enums_on_out__WEBPACK_IMPORTED_MODULE_6__.onOutTypes[direction]];\n if (callback) callback(parentConfiguration, nodeConfiguration);\n }\n };\n\n var updateLastRowPosition = function updateLastRowPosition(_ref4) {\n var sectionKey = _ref4.sectionKey,\n indexRow = _ref4.indexRow,\n positionToSave = _ref4.positionToSave;\n setState(function (state) {\n var allNodes = state.allNodes;\n var sectionToUpdate = allNodes.find(function (section) {\n return section.sectionKey === sectionKey;\n });\n var indexSectionToUpdate = allNodes.indexOf(sectionToUpdate);\n\n var copyState = _toConsumableArray(allNodes);\n\n copyState[indexSectionToUpdate] = _objectSpread(_objectSpread({}, sectionToUpdate), {}, {\n lastRowPosition: _objectSpread(_objectSpread({}, sectionToUpdate.lastRowPosition), {}, _defineProperty({}, indexRow, positionToSave))\n });\n return _objectSpread(_objectSpread({}, state), {}, {\n allNodes: copyState\n });\n });\n };\n\n var updateLastFocused = function updateLastFocused(_ref5) {\n var sectionKey = _ref5.sectionKey,\n referencesToSave = _ref5.referencesToSave;\n setState(function (state) {\n var allNodes = state.allNodes;\n var sectionToUpdate = allNodes.find(function (section) {\n return section.sectionKey === sectionKey;\n });\n var indexSectionToUpdate = allNodes.indexOf(sectionToUpdate);\n\n var copyState = _toConsumableArray(allNodes);\n\n copyState[indexSectionToUpdate] = _objectSpread(_objectSpread({}, sectionToUpdate), {}, {\n lastReferences: referencesToSave\n });\n return _objectSpread(_objectSpread({}, state), {}, {\n allNodes: copyState\n });\n });\n }; // EVENTS\n\n\n var initWindowEvents = function initWindowEvents() {\n (0,navigator_factory_types_events_handlers_window_events_handler__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n };\n\n var injectEvents = function injectEvents(hasParentNode, _ref6) {\n var rest = _extends({}, _ref6);\n\n if (hasParentNode) (0,navigator_factory_types_events_handlers_son_events_handler__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(rest);else (0,navigator_factory_types_events_handlers_parent_events_handler__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(rest);\n }; // STORING & UPDATING REFS\n\n\n var saveNode = function saveNode(_ref7) {\n var _ref7$sectionKey = _ref7.sectionKey,\n sectionKey = _ref7$sectionKey === void 0 ? null : _ref7$sectionKey,\n hasParentNode = _ref7.hasParentNode,\n node = _ref7.node,\n configuration = _ref7.configuration;\n\n var _getState3 = getState(),\n allNodes = _getState3.allNodes;\n\n var sectionIndex = allNodes.findIndex(function (section) {\n return section.sectionKey === sectionKey;\n });\n var existsSection = sectionIndex !== core_config_variables__WEBPACK_IMPORTED_MODULE_0__.nonExists;\n var nodeIndex = existsSection ? allNodes[sectionIndex].childNodes.findIndex(function (node) {\n return node.configuration.focusKey === configuration.focusKey;\n }) : core_config_variables__WEBPACK_IMPORTED_MODULE_0__.nonExists;\n var existsNode = existsSection ? nodeIndex !== core_config_variables__WEBPACK_IMPORTED_MODULE_0__.nonExists : false;\n injectEvents(hasParentNode, {\n node: node,\n configuration: configuration\n });\n appendNode({\n node: node,\n sectionIndex: sectionIndex,\n nodeIndex: nodeIndex,\n hasParentNode: hasParentNode,\n configuration: configuration,\n sectionKey: sectionKey,\n existsSection: existsSection,\n existsNode: existsNode\n });\n };\n\n var appendNode = function appendNode(_ref8) {\n var node = _ref8.node,\n sectionIndex = _ref8.sectionIndex,\n nodeIndex = _ref8.nodeIndex,\n existsNode = _ref8.existsNode,\n existsSection = _ref8.existsSection,\n hasParentNode = _ref8.hasParentNode,\n configuration = _ref8.configuration,\n sectionKey = _ref8.sectionKey;\n setState(function (state) {\n var allNodes = state.allNodes;\n\n var copyState = _toConsumableArray(allNodes);\n\n var variants = [{\n condition: hasParentNode && existsNode,\n format: function format() {\n copyState[sectionIndex] = _objectSpread(_objectSpread({}, copyState[sectionIndex]), {}, {\n node: node,\n configuration: configuration\n });\n }\n }, {\n condition: !hasParentNode && existsNode,\n format: function format() {\n copyState[sectionIndex].childNodes[nodeIndex] = _objectSpread(_objectSpread({}, copyState[sectionIndex].childNodes[nodeIndex]), {}, {\n node: node,\n configuration: configuration\n });\n }\n }, {\n condition: !hasParentNode && existsSection,\n format: function format() {\n copyState[sectionIndex] = _objectSpread(_objectSpread({}, copyState[sectionIndex]), {}, {\n node: node,\n configuration: configuration\n });\n }\n }, {\n condition: hasParentNode && existsSection,\n format: function format() {\n copyState[sectionIndex] = _objectSpread(_objectSpread({}, copyState[sectionIndex]), {}, {\n childNodes: [].concat(_toConsumableArray(copyState[sectionIndex].childNodes), [{\n configuration: configuration,\n node: node\n }])\n });\n }\n }, {\n condition: hasParentNode && !existsSection,\n format: function format() {\n copyState = [].concat(_toConsumableArray(copyState), [{\n sectionKey: sectionKey,\n node: null,\n configuration: null,\n lastRowPosition: {},\n childNodes: [{\n configuration: configuration,\n node: node\n }]\n }]);\n }\n }, {\n condition: !hasParentNode && !existsSection,\n format: function format() {\n copyState = [].concat(_toConsumableArray(copyState), [{\n sectionKey: sectionKey,\n node: node,\n configuration: configuration,\n childNodes: []\n }]);\n }\n }];\n variants.forEach(function (_ref9) {\n var condition = _ref9.condition,\n format = _ref9.format;\n return condition && format();\n });\n return _objectSpread(_objectSpread({}, state), {}, {\n allNodes: copyState\n });\n });\n }; // SUBSCRIBER\n\n\n var subscribe = function subscribe(listener) {\n listeners.add(listener);\n return function () {\n return listeners[\"delete\"](listener);\n };\n }; // INIT EVENTS\n\n\n initWindowEvents();\n return {\n getState: getState,\n setState: setState,\n getAllNodes: getAllNodes,\n getPressedNode: getPressedNode,\n getFocusedNode: getFocusedNode,\n getParentConfiguration: getParentConfiguration,\n setFocus: setFocus,\n updateFocusedNode: updateFocusedNode,\n updateLastRowPosition: updateLastRowPosition,\n saveNode: saveNode,\n subscribe: subscribe\n };\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createStore);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/core/store/store.ts?"); /***/ }), /***/ "./src/core/store/utils/initial-state.ts": /*!***********************************************!*\ !*** ./src/core/store/utils/initial-state.ts ***! \***********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"initialState\": () => (/* binding */ initialState)\n/* harmony export */ });\nvar initialState = {\n allNodes: [],\n focusedNode: {\n current: {\n sectionKey: null,\n node: null,\n configuration: null\n },\n lastFocused: {\n sectionKey: null,\n node: null,\n configuration: null\n }\n },\n pressedNode: {\n current: {\n sectionKey: null,\n node: null,\n configuration: null\n },\n lastPressed: {\n sectionKey: null,\n node: null,\n configuration: null\n }\n }\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/core/store/utils/initial-state.ts?"); /***/ }), /***/ "./src/navigator/Navigator.ts": /*!************************************!*\ !*** ./src/navigator/Navigator.ts ***! \************************************/ /***/ ((__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 */ });\n/* harmony import */ var _factory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./factory */ \"./src/navigator/factory/index.ts\");\nvar _excluded = [\"parent\"];\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\n\nvar useNavigation = function useNavigation(_ref) {\n var parent = _ref.parent,\n rest = _objectWithoutProperties(_ref, _excluded);\n\n var _factory = (0,_factory__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parent, rest),\n self = _factory.self,\n configuration = _factory.configuration;\n\n return [self, configuration];\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useNavigation);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/Navigator.ts?"); /***/ }), /***/ "./src/navigator/factory/factory.ts": /*!******************************************!*\ !*** ./src/navigator/factory/factory.ts ***! \******************************************/ /***/ ((__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 */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var navigator_factory_hooks_use_focus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! navigator/factory/hooks/use-focus */ \"./src/navigator/factory/hooks/use-focus.ts\");\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var core_error_handler_errorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core/error-handler/errorHandler */ \"./src/core/error-handler/errorHandler.ts\");\n/* harmony import */ var core_store_hooks_use_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core/store/hooks/use-store */ \"./src/core/store/hooks/use-store.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\n\nvar factory = function factory(parent, configuration) {\n var focusKey = configuration.focusKey; // Checks\n\n if (!focusKey) (0,core_error_handler_errorHandler__WEBPACK_IMPORTED_MODULE_3__[\"default\"])('Empty focus Key'); // Generate random id or use current id\n\n var key = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n return focusKey !== null && focusKey !== void 0 ? focusKey : (0,react__WEBPACK_IMPORTED_MODULE_0__.useId)();\n }, [focusKey]); //Hooks\n\n var self = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\n var state = (0,core_store_hooks_use_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"], (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (state) {\n return state;\n }, []));\n\n var _useFocus = (0,navigator_factory_hooks_use_focus__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(key, state),\n focused = _useFocus.focused,\n hasFocusedChild = _useFocus.hasFocusedChild; // Store node and inject events\n\n\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n var hasParentNode = !!parent;\n var sectionKey = hasParentNode ? parent.key : focusKey;\n var data = {\n sectionKey: sectionKey,\n hasParentNode: hasParentNode,\n node: self.current,\n configuration: _objectSpread(_objectSpread({}, configuration), {}, {\n focusKey: key\n })\n };\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].saveNode(data);\n }, []); // Assign key\n\n self.key = key;\n return {\n self: self,\n configuration: {\n focusKey: key,\n focused: focused,\n hasFocusedChild: hasFocusedChild,\n setFocus: function setFocus(key) {\n return core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setFocus(key);\n },\n focusSelf: function focusSelf() {\n return core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setFocus(key);\n },\n getFocusedNode: function getFocusedNode() {\n return core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getFocusedNode();\n },\n getPressedNode: function getPressedNode() {\n return core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getPressedNode();\n }\n }\n };\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (factory);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/factory.ts?"); /***/ }), /***/ "./src/navigator/factory/hooks/use-focus.ts": /*!**************************************************!*\ !*** ./src/navigator/factory/hooks/use-focus.ts ***! \**************************************************/ /***/ ((__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 */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\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.\"); }\n\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); }\n\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; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\nvar useFocus = function useFocus(key, state) {\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),\n _useState2 = _slicedToArray(_useState, 2),\n focused = _useState2[0],\n setFocused = _useState2[1];\n\n var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),\n _useState4 = _slicedToArray(_useState3, 2),\n hasFocusedChild = _useState4[0],\n setHasFocusedChild = _useState4[1];\n\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n var _current$configuratio;\n\n var _store$getFocusedNode = core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getFocusedNode(),\n current = _store$getFocusedNode.current;\n\n var currentSectionKey = current === null || current === void 0 ? void 0 : current.sectionKey;\n var currentFocusKey = current === null || current === void 0 ? void 0 : (_current$configuratio = current.configuration) === null || _current$configuratio === void 0 ? void 0 : _current$configuratio.focusKey;\n var configuration = current === null || current === void 0 ? void 0 : current.configuration;\n var isSameSection = key === currentSectionKey;\n var isCurrentFocusElement = key === currentFocusKey;\n var currentState = focused && (configuration === null || configuration === void 0 ? void 0 : configuration.onBlurredNode);\n\n if (isSameSection && isCurrentFocusElement || isCurrentFocusElement && !isSameSection) {\n var _parentConfiguration$, _parentConfiguration$2;\n\n var parentConfiguration = core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getParentConfiguration(currentFocusKey !== null && currentFocusKey !== void 0 ? currentFocusKey : '');\n if (configuration !== null && configuration !== void 0 && configuration.onFocusedNode) configuration === null || configuration === void 0 ? void 0 : configuration.onFocusedNode(configuration);\n if (parentConfiguration !== null && parentConfiguration !== void 0 && (_parentConfiguration$ = parentConfiguration.configuration) !== null && _parentConfiguration$ !== void 0 && _parentConfiguration$.onFocusedChildNodeChanges) parentConfiguration === null || parentConfiguration === void 0 ? void 0 : (_parentConfiguration$2 = parentConfiguration.configuration) === null || _parentConfiguration$2 === void 0 ? void 0 : _parentConfiguration$2.onFocusedChildNodeChanges(configuration);\n setFocused(true);\n } else if (isSameSection && !isCurrentFocusElement) setHasFocusedChild(true);else if (currentState && !(isSameSection && isCurrentFocusElement) || isCurrentFocusElement && !isSameSection) configuration === null || configuration === void 0 ? void 0 : configuration.onBlurredNode(configuration);\n\n return function () {\n setFocused(false);\n setHasFocusedChild(false);\n };\n }, [state.focusedNode.current]);\n return {\n focused: focused,\n hasFocusedChild: hasFocusedChild\n };\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useFocus);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/hooks/use-focus.ts?"); /***/ }), /***/ "./src/navigator/factory/index.ts": /*!****************************************!*\ !*** ./src/navigator/factory/index.ts ***! \****************************************/ /***/ ((__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\": () => (/* reexport safe */ _factory__WEBPACK_IMPORTED_MODULE_0__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _factory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./factory */ \"./src/navigator/factory/factory.ts\");\n\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/events-handlers/parent-events-handler/index.ts": /*!************************************************************************************!*\ !*** ./src/navigator/factory/types/events-handlers/parent-events-handler/index.ts ***! \************************************************************************************/ /***/ ((__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 */ });\n/* harmony import */ var common_utils_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/utils/events */ \"./src/common/utils/events.ts\");\n/* harmony import */ var common_enums_events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/events */ \"./src/common/enums/events.ts\");\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! navigator/factory/types/variants */ \"./src/navigator/factory/types/variants/index.ts\");\n/* harmony import */ var common_enums_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! common/enums/types */ \"./src/common/enums/types.ts\");\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\n\nvar parentEventsHandler = function parentEventsHandler(_ref) {\n var node = _ref.node,\n configuration = _ref.configuration;\n (0,common_utils_events__WEBPACK_IMPORTED_MODULE_0__.addEvent)(node, common_enums_events__WEBPACK_IMPORTED_MODULE_1__.Events.ON_WHEEL, function (e) {\n var _actions;\n\n var _store$getFocusedNode = core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getFocusedNode(),\n current = _store$getFocusedNode.current;\n\n var params = {\n event: e,\n parentConfiguration: configuration,\n nodeConfiguration: current.configuration\n };\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.LINE, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_3__.line)(params).wheel();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.LIST, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_3__.list)(params).wheel();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.MATRIX, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_3__.matrix)(params).wheel();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.OBJECT, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_3__.object)(params).wheel();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.SINGLE, function () {}), _actions);\n actions[configuration.type]();\n });\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parentEventsHandler);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/events-handlers/parent-events-handler/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers.ts": /*!****************************************************************************************************!*\ !*** ./src/navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers.ts ***! \****************************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"wheelDirection\": () => (/* binding */ wheelDirection)\n/* harmony export */ });\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\n\nvar wheelDirection = function wheelDirection(deltaY) {\n return deltaY > -1 ? common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.UP : common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeWheel.DOWN;\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers.ts?"); /***/ }), /***/ "./src/navigator/factory/types/events-handlers/son-events-handler/index.ts": /*!*********************************************************************************!*\ !*** ./src/navigator/factory/types/events-handlers/son-events-handler/index.ts ***! \*********************************************************************************/ /***/ ((__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 */ });\n/* harmony import */ var _variants_common_events_on_click_onClick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../variants/common-events/on-click/onClick */ \"./src/navigator/factory/types/variants/common-events/on-click/onClick.ts\");\n/* harmony import */ var _variants_common_events_on_mouse_out_onMouseOut__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../variants/common-events/on-mouse-out/onMouseOut */ \"./src/navigator/factory/types/variants/common-events/on-mouse-out/onMouseOut.ts\");\n/* harmony import */ var _variants_common_events_on_mouse_over_onMouseOver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../variants/common-events/on-mouse-over/onMouseOver */ \"./src/navigator/factory/types/variants/common-events/on-mouse-over/onMouseOver.ts\");\n\n\n\n\nvar sonEventsHandler = function sonEventsHandler(params) {\n (0,_variants_common_events_on_click_onClick__WEBPACK_IMPORTED_MODULE_0__.onClick)(params);\n (0,_variants_common_events_on_mouse_out_onMouseOut__WEBPACK_IMPORTED_MODULE_1__.onMouseOut)(params);\n (0,_variants_common_events_on_mouse_over_onMouseOver__WEBPACK_IMPORTED_MODULE_2__.onMouseOver)(params);\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (sonEventsHandler);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/events-handlers/son-events-handler/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/events-handlers/window-events-handler/index.ts": /*!************************************************************************************!*\ !*** ./src/navigator/factory/types/events-handlers/window-events-handler/index.ts ***! \************************************************************************************/ /***/ ((__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 */ });\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! navigator/factory/types/variants */ \"./src/navigator/factory/types/variants/index.ts\");\n/* harmony import */ var common_utils_events__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/utils/events */ \"./src/common/utils/events.ts\");\n/* harmony import */ var common_enums_events__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/enums/events */ \"./src/common/enums/events.ts\");\n/* harmony import */ var common_enums_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! common/enums/types */ \"./src/common/enums/types.ts\");\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\n\n\nvar windowEventsHandler = function windowEventsHandler() {\n if (typeof window === 'undefined' || !window.addEventListener) return;\n (0,common_utils_events__WEBPACK_IMPORTED_MODULE_2__.addEvent)(window, common_enums_events__WEBPACK_IMPORTED_MODULE_3__.Events.ON_KEY_DOWN, function (e) {\n var _current$configuratio, _current$configuratio3, _actions;\n\n var _store$getFocusedNode = core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getFocusedNode(),\n current = _store$getFocusedNode.current;\n\n var _store$getParentConfi = core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getParentConfiguration((_current$configuratio = current.configuration.focusKey) !== null && _current$configuratio !== void 0 ? _current$configuratio : ''),\n configuration = _store$getParentConfi.configuration,\n lastRowPosition = _store$getParentConfi.lastRowPosition;\n\n var key = e.key;\n\n if (key === common_enums_key_codes__WEBPACK_IMPORTED_MODULE_5__.keyCodeKeyBoard.ENTER) {\n var _current$configuratio2;\n\n var callbackOnEnterPressedNode = (_current$configuratio2 = current.configuration) === null || _current$configuratio2 === void 0 ? void 0 : _current$configuratio2.onEnterPressedNode;\n if (callbackOnEnterPressedNode) callbackOnEnterPressedNode(current.configuration);\n return;\n }\n\n var callbackOnArrowPress = (_current$configuratio3 = current.configuration) === null || _current$configuratio3 === void 0 ? void 0 : _current$configuratio3.onArrowPress;\n if (callbackOnArrowPress) callbackOnArrowPress(key, current.configuration);\n var params = {\n event: e,\n parentConfiguration: configuration,\n nodeConfiguration: current.configuration\n };\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.LINE, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_1__.line)(params).keyDown();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.LIST, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_1__.list)(_objectSpread(_objectSpread({}, params), {}, {\n lastRowPosition: lastRowPosition\n })).keyDown();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.MATRIX, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_1__.matrix)(params).keyDown();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.OBJECT, function () {\n (0,navigator_factory_types_variants__WEBPACK_IMPORTED_MODULE_1__.object)(params).keyDown();\n }), _defineProperty(_actions, common_enums_types__WEBPACK_IMPORTED_MODULE_4__.types.SINGLE, function () {}), _actions);\n actions[configuration.type]();\n });\n};\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (windowEventsHandler);\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/events-handlers/window-events-handler/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/common-events/on-click/onClick.ts": /*!********************************************************************************!*\ !*** ./src/navigator/factory/types/variants/common-events/on-click/onClick.ts ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onClick\": () => (/* binding */ onClick)\n/* harmony export */ });\n/* harmony import */ var common_utils_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/utils/events */ \"./src/common/utils/events.ts\");\n/* harmony import */ var common_enums_events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/events */ \"./src/common/enums/events.ts\");\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\nvar onClick = function onClick(_ref) {\n var node = _ref.node,\n configuration = _ref.configuration;\n var onClick = configuration.onClick;\n (0,common_utils_events__WEBPACK_IMPORTED_MODULE_0__.addEvent)(node, common_enums_events__WEBPACK_IMPORTED_MODULE_1__.Events.ON_CLICK, function () {\n var parentConfiguration = core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getParentConfiguration(configuration.focusKey);\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setState(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n pressedNode: {\n lastFocused: state.focusedNode.current,\n current: {\n node: node,\n configuration: configuration,\n sectionKey: parentConfiguration.configuration.focusKey\n }\n }\n });\n });\n onClick === null || onClick === void 0 ? void 0 : onClick(configuration);\n });\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/common-events/on-click/onClick.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/common-events/on-mouse-out/onMouseOut.ts": /*!***************************************************************************************!*\ !*** ./src/navigator/factory/types/variants/common-events/on-mouse-out/onMouseOut.ts ***! \***************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onMouseOut\": () => (/* binding */ onMouseOut)\n/* harmony export */ });\n/* harmony import */ var common_utils_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/utils/events */ \"./src/common/utils/events.ts\");\n/* harmony import */ var common_enums_events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/events */ \"./src/common/enums/events.ts\");\n\n\nvar onMouseOut = function onMouseOut(_ref) {\n var node = _ref.node,\n configuration = _ref.configuration;\n var onMouseOut = configuration.onMouseOut;\n (0,common_utils_events__WEBPACK_IMPORTED_MODULE_0__.addEvent)(node, common_enums_events__WEBPACK_IMPORTED_MODULE_1__.Events.ON_MOUSE_OUT, function () {\n onMouseOut === null || onMouseOut === void 0 ? void 0 : onMouseOut(configuration);\n });\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/common-events/on-mouse-out/onMouseOut.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/common-events/on-mouse-over/onMouseOver.ts": /*!*****************************************************************************************!*\ !*** ./src/navigator/factory/types/variants/common-events/on-mouse-over/onMouseOver.ts ***! \*****************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onMouseOver\": () => (/* binding */ onMouseOver)\n/* harmony export */ });\n/* harmony import */ var common_utils_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/utils/events */ \"./src/common/utils/events.ts\");\n/* harmony import */ var common_enums_events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/events */ \"./src/common/enums/events.ts\");\n\n\nvar onMouseOver = function onMouseOver(_ref) {\n var node = _ref.node,\n configuration = _ref.configuration;\n var onMouseOver = configuration.onMouseOver;\n (0,common_utils_events__WEBPACK_IMPORTED_MODULE_0__.addEvent)(node, common_enums_events__WEBPACK_IMPORTED_MODULE_1__.Events.ON_MOUSE_OVER, function () {\n onMouseOver === null || onMouseOver === void 0 ? void 0 : onMouseOver(configuration);\n });\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/common-events/on-mouse-over/onMouseOver.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/index.ts": /*!*******************************************************!*\ !*** ./src/navigator/factory/types/variants/index.ts ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"line\": () => (/* reexport safe */ _line__WEBPACK_IMPORTED_MODULE_0__.line),\n/* harmony export */ \"list\": () => (/* reexport safe */ _list__WEBPACK_IMPORTED_MODULE_2__.list),\n/* harmony export */ \"matrix\": () => (/* reexport safe */ _matrix__WEBPACK_IMPORTED_MODULE_1__.matrix),\n/* harmony export */ \"object\": () => (/* reexport safe */ _object__WEBPACK_IMPORTED_MODULE_3__.object)\n/* harmony export */ });\n/* harmony import */ var _line__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./line */ \"./src/navigator/factory/types/variants/line/index.ts\");\n/* harmony import */ var _matrix__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./matrix */ \"./src/navigator/factory/types/variants/matrix/index.ts\");\n/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./list */ \"./src/navigator/factory/types/variants/list/index.ts\");\n/* harmony import */ var _object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./object */ \"./src/navigator/factory/types/variants/object/index.ts\");\n\n\n\n\n\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/line/events/index.ts": /*!*******************************************************************!*\ !*** ./src/navigator/factory/types/variants/line/events/index.ts ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* reexport safe */ _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__.onKeyDown),\n/* harmony export */ \"onWheel\": () => (/* reexport safe */ _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__.onWheel)\n/* harmony export */ });\n/* harmony import */ var _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./on-key-down/onKeyDown */ \"./src/navigator/factory/types/variants/line/events/on-key-down/onKeyDown.ts\");\n/* harmony import */ var _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./on-wheel/onWheel */ \"./src/navigator/factory/types/variants/line/events/on-wheel/onWheel.ts\");\n\n\n\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/line/events/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/line/events/on-key-down/onKeyDown.ts": /*!***********************************************************************************!*\ !*** ./src/navigator/factory/types/variants/line/events/on-key-down/onKeyDown.ts ***! \***********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* binding */ onKeyDown)\n/* harmony export */ });\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var common_enums_displacement_line__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/displacement/line */ \"./src/common/enums/displacement/line.ts\");\n/* harmony import */ var common_utils_math__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/utils/math */ \"./src/common/utils/math.ts\");\n/* harmony import */ var core_config_variables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core/config/variables */ \"./src/core/config/variables.ts\");\n\n\n\n\nvar onKeyDown = function onKeyDown(_ref) {\n var _data$operation;\n\n var key = _ref.event.key,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration;\n var data = common_enums_displacement_line__WEBPACK_IMPORTED_MODULE_1__.lineDisplacement[key];\n var operation = (_data$operation = data.operation) === null || _data$operation === void 0 ? void 0 : _data$operation[parentConfiguration.flow];\n var calculatedDisplacement = operation ? (0,common_utils_math__WEBPACK_IMPORTED_MODULE_2__.operations)()[operation](nodeConfiguration[data.label], data.displacement) : core_config_variables__WEBPACK_IMPORTED_MODULE_3__.nonExists;\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode({\n parentConfiguration: parentConfiguration,\n nodeConfiguration: nodeConfiguration,\n newReferences: [{\n name: 'position',\n value: calculatedDisplacement\n }],\n onOut: parentConfiguration.onOut,\n direction: key,\n sectionKey: parentConfiguration.focusKey\n });\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/line/events/on-key-down/onKeyDown.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/line/events/on-wheel/onWheel.ts": /*!******************************************************************************!*\ !*** ./src/navigator/factory/types/variants/line/events/on-wheel/onWheel.ts ***! \******************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onWheel\": () => (/* binding */ onWheel)\n/* harmony export */ });\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers */ \"./src/navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers.ts\");\n/* harmony import */ var common_enums_displacement_line__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/enums/displacement/line */ \"./src/common/enums/displacement/line.ts\");\n/* harmony import */ var common_utils_math__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/utils/math */ \"./src/common/utils/math.ts\");\n/* harmony import */ var core_config_variables__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core/config/variables */ \"./src/core/config/variables.ts\");\n\n\n\n\n\nvar onWheel = function onWheel(_ref) {\n var _data$operation;\n\n var deltaY = _ref.event.deltaY,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration;\n var direction = (0,navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_1__.wheelDirection)(deltaY);\n var data = common_enums_displacement_line__WEBPACK_IMPORTED_MODULE_2__.lineWheelDisplacement[direction];\n var operation = (_data$operation = data.operation) === null || _data$operation === void 0 ? void 0 : _data$operation[parentConfiguration.flow];\n var calculatedDisplacement = operation ? (0,common_utils_math__WEBPACK_IMPORTED_MODULE_3__.operations)()[operation](nodeConfiguration[data.label], data.displacement) : core_config_variables__WEBPACK_IMPORTED_MODULE_4__.nonExists;\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode({\n parentConfiguration: parentConfiguration,\n nodeConfiguration: nodeConfiguration,\n onOut: parentConfiguration.onOut,\n direction: direction,\n sectionKey: parentConfiguration.focusKey,\n newReferences: [{\n name: 'position',\n value: calculatedDisplacement\n }]\n });\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/line/events/on-wheel/onWheel.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/line/index.ts": /*!************************************************************!*\ !*** ./src/navigator/factory/types/variants/line/index.ts ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"line\": () => (/* binding */ line)\n/* harmony export */ });\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./events */ \"./src/navigator/factory/types/variants/line/events/index.ts\");\n\nvar line = function line(params) {\n return {\n keyDown: function keyDown() {\n return (0,_events__WEBPACK_IMPORTED_MODULE_0__.onKeyDown)(params);\n },\n wheel: function wheel() {\n return (0,_events__WEBPACK_IMPORTED_MODULE_0__.onWheel)(params);\n }\n };\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/line/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/list/events/index.ts": /*!*******************************************************************!*\ !*** ./src/navigator/factory/types/variants/list/events/index.ts ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* reexport safe */ _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__.onKeyDown),\n/* harmony export */ \"onWheel\": () => (/* reexport safe */ _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__.onWheel)\n/* harmony export */ });\n/* harmony import */ var _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./on-key-down/onKeyDown */ \"./src/navigator/factory/types/variants/list/events/on-key-down/onKeyDown.ts\");\n/* harmony import */ var _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./on-wheel/onWheel */ \"./src/navigator/factory/types/variants/list/events/on-wheel/onWheel.ts\");\n\n\n\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/list/events/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/list/events/on-key-down/onKeyDown.ts": /*!***********************************************************************************!*\ !*** ./src/navigator/factory/types/variants/list/events/on-key-down/onKeyDown.ts ***! \***********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* binding */ onKeyDown)\n/* harmony export */ });\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\n/* harmony import */ var common_enums_displacement_list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/displacement/list */ \"./src/common/enums/displacement/list.ts\");\n/* harmony import */ var common_utils_math__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/utils/math */ \"./src/common/utils/math.ts\");\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var core_config_variables__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core/config/variables */ \"./src/core/config/variables.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\nvar onKeyDown = function onKeyDown(_ref) {\n var _actions;\n\n var key = _ref.event.key,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration,\n lastRowPosition = _ref.lastRowPosition;\n var focusKey = parentConfiguration.focusKey,\n rememberLastRowPosition = parentConfiguration.rememberLastRowPosition,\n startPosition = parentConfiguration.startPosition;\n var data = common_enums_displacement_list__WEBPACK_IMPORTED_MODULE_1__.listDisplacement[key];\n var calculatedDisplacement = (0,common_utils_math__WEBPACK_IMPORTED_MODULE_2__.operations)()[data.operation](nodeConfiguration[data.label], data.displacement);\n var commonParams = {\n sectionKey: focusKey,\n direction: key,\n onOut: parentConfiguration.onOut\n };\n var savedPosition = lastRowPosition[calculatedDisplacement];\n var newPosition = rememberLastRowPosition && data.label === core_config_variables__WEBPACK_IMPORTED_MODULE_4__.row && savedPosition ? savedPosition : startPosition;\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateLastRowPosition(_objectSpread(_objectSpread({}, commonParams), {}, {\n indexRow: nodeConfiguration.row,\n positionToSave: nodeConfiguration.position\n }));\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'position',\n value: newPosition\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: nodeConfiguration.row\n }, {\n name: 'position',\n value: calculatedDisplacement\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: nodeConfiguration.row\n }, {\n name: 'position',\n value: calculatedDisplacement\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateLastRowPosition(_objectSpread(_objectSpread({}, commonParams), {}, {\n indexRow: nodeConfiguration.row,\n positionToSave: nodeConfiguration.position\n }));\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'position',\n value: newPosition\n }]\n }));\n }), _actions);\n actions[key]();\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/list/events/on-key-down/onKeyDown.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/list/events/on-wheel/onWheel.ts": /*!******************************************************************************!*\ !*** ./src/navigator/factory/types/variants/list/events/on-wheel/onWheel.ts ***! \******************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onWheel\": () => (/* binding */ onWheel)\n/* harmony export */ });\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var core_config_variables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/config/variables */ \"./src/core/config/variables.ts\");\n/* harmony import */ var navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers */ \"./src/navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers.ts\");\n/* harmony import */ var common_enums_displacement_list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/enums/displacement/list */ \"./src/common/enums/displacement/list.ts\");\n/* harmony import */ var common_utils_math__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! common/utils/math */ \"./src/common/utils/math.ts\");\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\n\nvar onWheel = function onWheel(_ref) {\n var _actions;\n\n var deltaY = _ref.event.deltaY,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration,\n lastRowPosition = _ref.lastRowPosition;\n var focusKey = parentConfiguration.focusKey,\n rememberLastRowPosition = parentConfiguration.rememberLastRowPosition,\n startPosition = parentConfiguration.startPosition;\n var direction = (0,navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_2__.wheelDirection)(deltaY);\n var data = common_enums_displacement_list__WEBPACK_IMPORTED_MODULE_3__.listWheelDisplacement[direction];\n var calculatedDisplacement = (0,common_utils_math__WEBPACK_IMPORTED_MODULE_4__.operations)()[data.operation](nodeConfiguration[data.label], data.displacement);\n var commonParams = {\n sectionKey: focusKey,\n direction: direction,\n onOut: parentConfiguration.onOut\n };\n var savedPosition = lastRowPosition[calculatedDisplacement];\n var newPosition = rememberLastRowPosition && data.label === core_config_variables__WEBPACK_IMPORTED_MODULE_1__.row && savedPosition ? savedPosition : startPosition;\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_5__.keyCodeWheel.UP, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateLastRowPosition(_objectSpread(_objectSpread({}, commonParams), {}, {\n indexRow: nodeConfiguration.row,\n positionToSave: nodeConfiguration.position\n }));\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'position',\n value: newPosition\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_5__.keyCodeWheel.DOWN, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateLastRowPosition(_objectSpread(_objectSpread({}, commonParams), {}, {\n indexRow: nodeConfiguration.row,\n positionToSave: nodeConfiguration.position\n }));\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'position',\n value: newPosition\n }]\n }));\n }), _actions);\n actions[direction]();\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/list/events/on-wheel/onWheel.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/list/index.ts": /*!************************************************************!*\ !*** ./src/navigator/factory/types/variants/list/index.ts ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"list\": () => (/* binding */ list)\n/* harmony export */ });\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./events */ \"./src/navigator/factory/types/variants/list/events/index.ts\");\n\n\nvar list = function list(params) {\n return {\n keyDown: function keyDown() {\n return (0,_events__WEBPACK_IMPORTED_MODULE_0__.onKeyDown)(params);\n },\n wheel: function wheel() {\n return (0,_events__WEBPACK_IMPORTED_MODULE_0__.onWheel)(params);\n }\n };\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/list/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/matrix/events/index.ts": /*!*********************************************************************!*\ !*** ./src/navigator/factory/types/variants/matrix/events/index.ts ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* reexport safe */ _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__.onKeyDown),\n/* harmony export */ \"onWheel\": () => (/* reexport safe */ _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__.onWheel)\n/* harmony export */ });\n/* harmony import */ var _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./on-key-down/onKeyDown */ \"./src/navigator/factory/types/variants/matrix/events/on-key-down/onKeyDown.ts\");\n/* harmony import */ var _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./on-wheel/onWheel */ \"./src/navigator/factory/types/variants/matrix/events/on-wheel/onWheel.ts\");\n\n\n\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/matrix/events/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/matrix/events/on-key-down/onKeyDown.ts": /*!*************************************************************************************!*\ !*** ./src/navigator/factory/types/variants/matrix/events/on-key-down/onKeyDown.ts ***! \*************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* binding */ onKeyDown)\n/* harmony export */ });\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\n/* harmony import */ var common_enums_displacement_matrix__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/displacement/matrix */ \"./src/common/enums/displacement/matrix.ts\");\n/* harmony import */ var common_utils_math__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/utils/math */ \"./src/common/utils/math.ts\");\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\nvar onKeyDown = function onKeyDown(_ref) {\n var _actions;\n\n var key = _ref.event.key,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration;\n var data = common_enums_displacement_matrix__WEBPACK_IMPORTED_MODULE_1__.matrixKeyDownDisplacement[key];\n var calculatedDisplacement = (0,common_utils_math__WEBPACK_IMPORTED_MODULE_2__.operations)()[data.operation](nodeConfiguration[data.label], data.displacement);\n var commonParams = {\n sectionKey: parentConfiguration.focusKey,\n direction: key,\n onOut: parentConfiguration.onOut\n };\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'column',\n value: Number(nodeConfiguration.column)\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: Number(nodeConfiguration.row)\n }, {\n name: 'column',\n value: calculatedDisplacement\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: Number(nodeConfiguration.row)\n }, {\n name: 'column',\n value: calculatedDisplacement\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_3__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'column',\n value: Number(nodeConfiguration.column)\n }]\n }));\n }), _actions);\n actions[key]();\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/matrix/events/on-key-down/onKeyDown.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/matrix/events/on-wheel/onWheel.ts": /*!********************************************************************************!*\ !*** ./src/navigator/factory/types/variants/matrix/events/on-wheel/onWheel.ts ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onWheel\": () => (/* binding */ onWheel)\n/* harmony export */ });\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers */ \"./src/navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers.ts\");\n/* harmony import */ var common_enums_displacement_matrix__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/enums/displacement/matrix */ \"./src/common/enums/displacement/matrix.ts\");\n/* harmony import */ var common_utils_math__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/utils/math */ \"./src/common/utils/math.ts\");\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\nvar onWheel = function onWheel(_ref) {\n var _actions;\n\n var deltaY = _ref.event.deltaY,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration;\n var direction = (0,navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_1__.wheelDirection)(deltaY);\n var data = common_enums_displacement_matrix__WEBPACK_IMPORTED_MODULE_2__.matrixWheelDisplacement[direction];\n var calculatedDisplacement = (0,common_utils_math__WEBPACK_IMPORTED_MODULE_3__.operations)()[data.operation](nodeConfiguration[data.label], data.displacement);\n var commonParams = {\n sectionKey: parentConfiguration.focusKey,\n direction: direction,\n onOut: parentConfiguration.onOut\n };\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_4__.keyCodeWheel.UP, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'column',\n value: Number(nodeConfiguration.column)\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_4__.keyCodeWheel.DOWN, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'row',\n value: calculatedDisplacement\n }, {\n name: 'column',\n value: Number(nodeConfiguration.column)\n }]\n }));\n }), _actions);\n actions[direction]();\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/matrix/events/on-wheel/onWheel.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/matrix/index.ts": /*!**************************************************************!*\ !*** ./src/navigator/factory/types/variants/matrix/index.ts ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"matrix\": () => (/* binding */ matrix)\n/* harmony export */ });\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./events */ \"./src/navigator/factory/types/variants/matrix/events/index.ts\");\n\nvar matrix = function matrix(params) {\n return {\n keyDown: function keyDown() {\n return (0,_events__WEBPACK_IMPORTED_MODULE_0__.onKeyDown)(params);\n },\n wheel: function wheel() {\n return (0,_events__WEBPACK_IMPORTED_MODULE_0__.onWheel)(params);\n }\n };\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/matrix/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/object/events/index.ts": /*!*********************************************************************!*\ !*** ./src/navigator/factory/types/variants/object/events/index.ts ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* reexport safe */ _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__.onKeyDown),\n/* harmony export */ \"onWheel\": () => (/* reexport safe */ _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__.onWheel)\n/* harmony export */ });\n/* harmony import */ var _on_key_down_onKeyDown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./on-key-down/onKeyDown */ \"./src/navigator/factory/types/variants/object/events/on-key-down/onKeyDown.ts\");\n/* harmony import */ var _on_wheel_onWheel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./on-wheel/onWheel */ \"./src/navigator/factory/types/variants/object/events/on-wheel/onWheel.ts\");\n\n\n\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/object/events/index.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/object/events/on-key-down/onKeyDown.ts": /*!*************************************************************************************!*\ !*** ./src/navigator/factory/types/variants/object/events/on-key-down/onKeyDown.ts ***! \*************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onKeyDown\": () => (/* binding */ onKeyDown)\n/* harmony export */ });\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\nvar onKeyDown = function onKeyDown(_ref) {\n var _actions;\n\n var key = _ref.event.key,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration;\n var commonParams = {\n type: parentConfiguration.type,\n sectionKey: parentConfiguration.focusKey,\n direction: key,\n onOut: parentConfiguration.onOut\n };\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'order',\n value: nodeConfiguration.onMove[common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.UP_ARROW]\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'order',\n value: nodeConfiguration.onMove[common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.LEFT_ARROW]\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'order',\n value: nodeConfiguration.onMove[common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.RIGHT_ARROW]\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_1__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'order',\n value: nodeConfiguration.onMove[common_enums_key_codes__WEBPACK_IMPORTED_MODULE_0__.keyCodeKeyBoard.DOWN_ARROW]\n }]\n }));\n }), _actions);\n actions[key]();\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/object/events/on-key-down/onKeyDown.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/object/events/on-wheel/onWheel.ts": /*!********************************************************************************!*\ !*** ./src/navigator/factory/types/variants/object/events/on-wheel/onWheel.ts ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"onWheel\": () => (/* binding */ onWheel)\n/* harmony export */ });\n/* harmony import */ var core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/store/instance/instance */ \"./src/core/store/instance/instance.ts\");\n/* harmony import */ var common_enums_key_codes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/enums/key-codes */ \"./src/common/enums/key-codes.ts\");\n/* harmony import */ var navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers */ \"./src/navigator/factory/types/events-handlers/parent-events-handler/utils/helpers/helpers.ts\");\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; }\n\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; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\nvar onWheel = function onWheel(_ref) {\n var _actions;\n\n var deltaY = _ref.event.deltaY,\n parentConfiguration = _ref.parentConfiguration,\n nodeConfiguration = _ref.nodeConfiguration;\n var direction = (0,navigator_factory_types_events_handlers_parent_events_handler_utils_helpers_helpers__WEBPACK_IMPORTED_MODULE_2__.wheelDirection)(deltaY);\n var commonParams = {\n parentConfiguration: parentConfiguration,\n nodeConfiguration: nodeConfiguration,\n sectionKey: parentConfiguration.focusKey,\n onOut: parentConfiguration.onOut,\n direction: direction\n };\n var actions = (_actions = {}, _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_1__.keyCodeWheel.UP, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'order',\n value: nodeConfiguration.onMove[common_enums_key_codes__WEBPACK_IMPORTED_MODULE_1__.keyCodeWheel.UP]\n }]\n }));\n }), _defineProperty(_actions, common_enums_key_codes__WEBPACK_IMPORTED_MODULE_1__.keyCodeWheel.DOWN, function () {\n core_store_instance_instance__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateFocusedNode(_objectSpread(_objectSpread({}, commonParams), {}, {\n newReferences: [{\n name: 'order',\n value: nodeConfiguration.onMove[common_enums_key_codes__WEBPACK_IMPORTED_MODULE_1__.keyCodeWheel.DOWN]\n }]\n }));\n }), _actions);\n actions[direction]();\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/object/events/on-wheel/onWheel.ts?"); /***/ }), /***/ "./src/navigator/factory/types/variants/object/index.ts": /*!**************************************************************!*\ !*** ./src/navigator/factory/types/variants/object/index.ts ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"object\": () => (/* binding */ object)\n/* harmony export */ });\n/* harmony import */ var navigator_factory_types_variants_object_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! navigator/factory/types/variants/object/events */ \"./src/navigator/factory/types/variants/object/events/index.ts\");\n\nvar object = function object(params) {\n return {\n keyDown: function keyDown() {\n return (0,navigator_factory_types_variants_object_events__WEBPACK_IMPORTED_MODULE_0__.onKeyDown)(params);\n },\n wheel: function wheel() {\n return (0,navigator_factory_types_variants_object_events__WEBPACK_IMPORTED_MODULE_0__.onWheel)(params);\n }\n };\n};\n\n//# sourceURL=webpack://nodes-navigation-focus/./src/navigator/factory/types/variants/object/index.ts?"); /***/ }), /***/ "react": /*!************************!*\ !*** external "react" ***! \************************/ /***/ ((module) => { module.exports = __WEBPACK_EXTERNAL_MODULE_react__; /***/ }) /******/ }); /************************************************************************/ /******/ // 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/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? /******/ () => (module['default']) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* 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__("./src/core/index.ts"); /******/ /******/ return __webpack_exports__; /******/ })() ; });