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BoC,KAAKyF,MAAQzF,KAAKyF,IAAIC,SAAS9H,EAAEqE,SAASjC,KAAKpD,MAAM4I,gBAAgB5H,EAC3E,GACC,CACDe,IAAK,SACL0E,MAAO,SAAgBoC,GACrBzF,KAAKyF,IAAMA,CACb,GACC,CACD9G,IAAK,SACL0E,MAAO,WACL,IAAIzG,EAAQuE,OAAOa,OAAO,CAAC,EAAGhC,KAAKpD,OAC/B+I,EAAW/I,EAAM+I,SAKrB,cAJO/I,EAAM4I,uBACN5I,EAAM+I,gBACN/I,EAAMwI,kBACNxI,EAAMyI,WACO3E,EAAgB,QAAEkF,cAAc,MAAO/G,EAAS,CAClE4G,IAAKzF,KAAKiF,QACTrI,GAAQ+I,EACb,MA5E0EtD,EAAkBwB,EAAYvC,UAAWwC,GA+E9GR,CACT,CA9DiC,CA8D/B5C,EAAOmF,WAETrF,EAAA,EAAqB8C,EAErBF,EAAgBE,EAAe,YAAa,CAC1CqC,SAAU/D,EAAoB,QAAE9B,QAAQgG,WACxCN,gBAAiB5D,EAAoB,QAAEmE,KAAKD,WAC5CV,WAAYxD,EAAoB,QAAEoE,OAClCX,WAAYzD,EAAoB,QAAEoE,SAGpC5C,EAAgBE,EAAe,eAAgB,CAC7C8B,WAAY,QACZC,WAAY,Y","sources":["webpack://frontend-build-tools/./src/feature/cardlistwithdescription/CardListDescription.jsx","webpack://frontend-build-tools/./src/feature/cardlistwithdescription/cardlistwithdescription.js","webpack://frontend-build-tools/./node_modules/react-escape-outside/dist/index.js"],"sourcesContent":["import { useDispatch, useSelector } from 'react-redux';\r\nimport React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { GameCard } from 'organisms';\r\nimport { filterGamesByIds, cardHover } from 'app/shared/store/helpers/game';\r\nimport { setCurrentOverlay } from 'app/shared/store/slices/cardoverlaySlice';\r\n\r\nconst CardListDescription = (props) => {\r\n const { settings } = props;\r\n const dispatch = useDispatch();\r\n const games = useSelector(state => filterGamesByIds(state.games.games, settings?.SelectedGames).slice(0,3));\r\n const currentUser = useSelector(state => state.currentUser.currentUser);\r\n const [cardsAmountCssClass, setCardsAmountCssClass] = useState('');\r\n\r\n const hover = (card, e) => {\r\n let coordinates = cardHover(card, e);\r\n if(coordinates && window?.scrollY) {\r\n coordinates.scrollY = window?.scrollY;\r\n dispatch(setCurrentOverlay({card: card, coordinates: coordinates} ));\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if(settings.SelectedGames?.length === 1) {\r\n setCardsAmountCssClass('o-cardlist-with-description__wrapper--single');\r\n }\r\n if(settings.SelectedGames?.length === 2) {\r\n setCardsAmountCssClass('o-cardlist-with-description__wrapper--double');\r\n }\r\n if(settings.SelectedGames?.length >= 3) {\r\n setCardsAmountCssClass('o-cardlist-with-description__wrapper--many');\r\n }\r\n }, [cardsAmountCssClass]);\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n { games?.length > 0 && games.map((game, i) => (\r\n
hover(game, e)} onMouseEnter={(e) => hover(game, e)} className=\"o-cardlist-with-description__card-container\" key={i}>\r\n \r\n
\r\n )) }\r\n
\r\n
\r\n\r\n
\r\n

{settings.Title}

\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nCardListDescription.propTypes = {\r\n settings: PropTypes.object,\r\n sliderSettings: PropTypes.object,\r\n sliderRef: PropTypes.object\r\n};\r\n\r\nexport default CardListDescription;","import BaseFeature from '../../foundation/base/base';\r\nimport ReactDOM from 'react-dom';\r\nimport React from 'react';\r\nimport CardListDescription from './CardListDescription';\r\nimport { store } from 'app/shared/store';\r\nimport { Provider } from 'react-redux';\r\n\r\nclass CardListWithDescription extends BaseFeature {\r\n constructor(element) {\r\n super(element);\r\n this.init();\r\n }\r\n\r\n async init() {\r\n this.loadReactApp();\r\n }\r\n\r\n loadReactApp() {\r\n ReactDOM.render(\r\n <>\r\n \r\n \r\n \r\n \r\n , this.element);\r\n }\r\n}\r\n\r\n\r\nexport default CardListWithDescription;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _getRequireWildcardCache() { if (typeof WeakMap !== \"function\") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _extends() { _extends = Object.assign || 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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\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\nvar EscapeOutside = /*#__PURE__*/function (_Component) {\n _inherits(EscapeOutside, _Component);\n\n var _super = _createSuper(EscapeOutside);\n\n function EscapeOutside() {\n var _this;\n\n _classCallCheck(this, EscapeOutside);\n\n _this = _super.call(this);\n _this.onEscape = _this.onEscape.bind(_assertThisInitialized(_this));\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n _this.getRef = _this.getRef.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(EscapeOutside, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n document.addEventListener(\"keydown\", this.onEscape);\n document.addEventListener(this.props.mouseEvent, this.onClick, true);\n document.addEventListener(this.props.touchEvent, this.onClick, true);\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n document.removeEventListener(\"keydown\", this.onEscape);\n document.removeEventListener(this.props.mouseEvent, this.onClick, true);\n document.removeEventListener(this.props.touchEvent, this.onClick, true);\n }\n }, {\n key: \"onEscape\",\n value: function onEscape(e) {\n if (e.keyCode === 27) this.props.onEscapeOutside();\n }\n }, {\n key: \"onClick\",\n value: function onClick(e) {\n if (this.ref && !this.ref.contains(e.target)) this.props.onEscapeOutside(e);\n }\n }, {\n key: \"getRef\",\n value: function getRef(ref) {\n this.ref = ref;\n }\n }, {\n key: \"render\",\n value: function render() {\n var props = Object.assign({}, this.props);\n var children = props.children;\n delete props.onEscapeOutside;\n delete props.children;\n delete props.mouseEvent;\n delete props.touchEvent;\n return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n ref: this.getRef\n }, props), children);\n }\n }]);\n\n return EscapeOutside;\n}(_react.Component);\n\nexports[\"default\"] = EscapeOutside;\n\n_defineProperty(EscapeOutside, \"propTypes\", {\n children: _propTypes[\"default\"].element.isRequired,\n onEscapeOutside: _propTypes[\"default\"].func.isRequired,\n mouseEvent: _propTypes[\"default\"].string,\n touchEvent: _propTypes[\"default\"].string\n});\n\n_defineProperty(EscapeOutside, \"defaultProps\", {\n mouseEvent: \"click\",\n touchEvent: \"touchend\"\n});"],"names":["CardListDescription","props","settings","dispatch","useDispatch","games","useSelector","state","filterGamesByIds","SelectedGames","slice","currentUser","cardsAmountCssClass","setCardsAmountCssClass","useState","hover","card","e","coordinates","cardHover","window","scrollY","setCurrentOverlay","useEffect","length","React","className","map","game","i","onClick","onMouseEnter","key","GameCard","_extends","canFavorize","isAuthenticated","isFavorite","jackpotText","jackpotPrice","Title","dangerouslySetInnerHTML","__html","Text","propTypes","PropTypes","sliderSettings","sliderRef","CardListWithDescription","BaseFeature","constructor","element","super","this","init","loadReactApp","ReactDOM","name","Name","Provider","store","exports","obj","_react","__esModule","_typeof","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","prototype","hasOwnProperty","call","desc","set","_interopRequireWildcard","_propTypes","WeakMap","Symbol","iterator","assign","target","arguments","source","apply","_defineProperties","descriptor","enumerable","configurable","writable","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_assertThisInitialized","self","ReferenceError","_getPrototypeOf","getPrototypeOf","_defineProperty","value","EscapeOutside","_Component","subClass","superClass","TypeError","create","_inherits","Constructor","protoProps","Derived","_super","result","Super","Reflect","construct","sham","Proxy","Date","toString","_isNativeReflectConstruct","NewTarget","_possibleConstructorReturn","_this","instance","_classCallCheck","onEscape","bind","getRef","document","addEventListener","mouseEvent","touchEvent","removeEventListener","keyCode","onEscapeOutside","ref","contains","children","createElement","Component","isRequired","func","string"],"sourceRoot":""}