{"version":3,"sources":["../node_modules/classnames/index.js","../node_modules/react-js-pagination/dist/Pagination.js","../node_modules/paginator/index.js","../node_modules/react-js-pagination/dist/Page.js","components/article/list.js"],"names":["__WEBPACK_AMD_DEFINE_RESULT__","hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","appendClass","parseValue","Array","isArray","apply","toString","Object","prototype","includes","key","call","value","newClass","module","exports","default","undefined","defineProperty","_react","obj","__esModule","_typeof","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","desc","set","_interopRequireWildcard","__webpack_require__","_propTypes","_interopRequireDefault","_paginator","_Page","_classnames","WeakMap","Symbol","iterator","constructor","_defineProperties","target","props","descriptor","enumerable","configurable","writable","_possibleConstructorReturn","self","ReferenceError","_assertThisInitialized","_getPrototypeOf","o","setPrototypeOf","getPrototypeOf","__proto__","_setPrototypeOf","p","_defineProperty","Pagination","_React$Component","instance","Constructor","TypeError","_classCallCheck","this","protoProps","staticProps","subClass","superClass","create","_inherits","Component","has_previous_page","_this$props","hideDisabled","hideNavigation","hideFirstLastPages","_this$props2","has_next_page","_this$props3","_this$props4","pages","_this$props5","itemsCountPerPage","pageRangeDisplayed","activePage","prevPageText","nextPageText","firstPageText","lastPageText","totalItemsCount","onChange","activeClass","itemClass","itemClassFirst","itemClassPrev","itemClassNext","itemClassLast","activeLinkClass","disabledClass","linkClass","linkClassFirst","linkClassPrev","linkClassNext","linkClassLast","getPageUrl","paginationInfo","build","first_page","last_page","push","createElement","isActive","href","pageNumber","pageText","onClick","ariaLabel","concat","isPrevPageVisible","unshift","previous_page","isDisabled","isFirstPageVisible","isNextPageVisible","next_page","isLastPageVisible","total_pages","current_page","buildPages","className","innerClass","number","isRequired","func","oneOfType","string","element","bool","Paginator","per_page","total_results","Math","ceil","parseInt","max","floor","min","first_result","last_result","results","Page","_Component","e","preventDefault","_cx","css","linkCss","handleClick","bind","aria-label","activeLinkCLass","r","__webpack_exports__","d","List","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_utils_common__WEBPACK_IMPORTED_MODULE_1__","React","super","state","items","category","relations","match","params","name","window","location","language","componentDidMount","setState","handlePageChange","Common","render","page","hash","console","log","substring","NaN","paramId","id","param","friendlyUrl","Merchant","getPage","dangerouslySetInnerHTML","__html"],"mappings":"4EAAA,IAAAA,GAOA,WACA,aAEA,IAAAC,EAAA,GAAiBC,eACjB,SAAAC,IAEA,IADA,IAAAC,EAAA,GACAC,EAAA,EAAmBA,EAAAC,UAAAC,OAAsBF,IAAA,CACzC,IAAAG,EAAAF,UAAAD,GACAG,IACAJ,EAAAK,EAAAL,EAAAM,EAAAF,KAGA,OAAAJ,EAEA,SAAAM,EAAAF,GACA,qBAAAA,GAAA,kBAAAA,EACA,OAAAA,EAEA,qBAAAA,EACA,SAEA,GAAAG,MAAAC,QAAAJ,GACA,OAAAL,EAAAU,MAAA,KAAAL,GAEA,GAAAA,EAAAM,WAAAC,OAAAC,UAAAF,WAAAN,EAAAM,oBAAAG,SAAA,iBACA,OAAAT,EAAAM,WAEA,IAAAV,EAAA,GACA,QAAAc,KAAAV,EACAP,EAAAkB,KAAAX,EAAAU,IAAAV,EAAAU,KACAd,EAAAK,EAAAL,EAAAc,IAGA,OAAAd,EAEA,SAAAK,EAAAW,EAAAC,GACA,OAAAA,EAGAD,EACAA,EAAA,IAAAC,EAEAD,EAAAC,EALAD,EAOmCE,EAAAC,SACnCpB,EAAAqB,QAAArB,EACAmB,EAAAC,QAAApB,QAKKsB,KAFsBzB,EAAA,WAC3B,OAAAG,GACKU,MAAAU,EAFoB,OAEpBD,EAAAC,QAAAvB,GAnDL,oCCLAe,OAAAW,eAAAH,EAAA,cACAH,OAAA,IAEAG,EAAA,eACA,IAAAI,EAkBA,SAAAC,GACA,GAAAA,KAAAC,WACA,OAAAD,EAEA,UAAAA,GAAA,WAAAE,EAAAF,IAAA,oBAAAA,EACA,OACAJ,QAAAI,GAGA,IAAAG,EAAAC,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AOU,KAC/BC,EAAOT,OAAOC,SAASQ,KAEhB,IAARA,QAAsB/K,GAAR8K,IAEbE,QAAQC,IAAIF,GACZD,EAAO3C,SAAS4C,EAAKG,UAAU,UAGxBlL,GAAR8K,GAA6BK,KAARL,IAEpBA,EAAO,GAGXE,QAAQC,IAAIH,GACZ,IAAIM,EAAUjI,KAAKvB,MAAMuI,MAAMC,OAAOiB,GAClCC,EAAQ,GASZ,OARAA,EAAe,QAAIF,EACnBE,EAAmB,YAAInI,KAAKvB,MAAMuI,MAAMC,OAAOmB,iBAEnCvL,GAAR8K,IACAR,OAAOkB,SAASV,KAAOA,EACvBF,IAAOpG,WAAasG,GAExB3H,KAAK4G,MAAMjE,MAAQ8E,IAAOa,QAAQ,WAAYH,EAAOR,GAEjDjB,IAAA3D,cAAA,YACI2D,IAAA3D,cAAA,OAAKwF,wBAAyB,CAAEC,OAAQxI,KAAK4G,MAAMjE","file":"static/js/4.3fa710fb.chunk.js","sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n function classNames() {\n var classes = '';\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (arg) {\n classes = appendClass(classes, parseValue(arg));\n }\n }\n return classes;\n }\n function parseValue(arg) {\n if (typeof arg === 'string' || typeof arg === 'number') {\n return arg;\n }\n if (typeof arg !== 'object') {\n return '';\n }\n if (Array.isArray(arg)) {\n return classNames.apply(null, arg);\n }\n if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n return arg.toString();\n }\n var classes = '';\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes = appendClass(classes, key);\n }\n }\n return classes;\n }\n function appendClass(value, newClass) {\n if (!newClass) {\n return value;\n }\n if (value) {\n return value + ' ' + newClass;\n }\n return value + newClass;\n }\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _paginator = _interopRequireDefault(require(\"paginator\"));\nvar _Page = _interopRequireDefault(require(\"./Page\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _getRequireWildcardCache() {\n if (typeof WeakMap !== \"function\") return null;\n var cache = new WeakMap();\n _getRequireWildcardCache = function _getRequireWildcardCache() {\n return cache;\n };\n return cache;\n}\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n var cache = _getRequireWildcardCache();\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj[\"default\"] = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nvar Pagination = /*#__PURE__*/\nfunction (_React$Component) {\n _inherits(Pagination, _React$Component);\n function Pagination() {\n _classCallCheck(this, Pagination);\n return _possibleConstructorReturn(this, _getPrototypeOf(Pagination).apply(this, arguments));\n }\n _createClass(Pagination, [{\n key: \"isFirstPageVisible\",\n value: function isFirstPageVisible(has_previous_page) {\n var _this$props = this.props,\n hideDisabled = _this$props.hideDisabled,\n hideNavigation = _this$props.hideNavigation,\n hideFirstLastPages = _this$props.hideFirstLastPages;\n if (hideFirstLastPages || hideDisabled && !has_previous_page) return false;\n return true;\n }\n }, {\n key: \"isPrevPageVisible\",\n value: function isPrevPageVisible(has_previous_page) {\n var _this$props2 = this.props,\n hideDisabled = _this$props2.hideDisabled,\n hideNavigation = _this$props2.hideNavigation;\n if (hideNavigation || hideDisabled && !has_previous_page) return false;\n return true;\n }\n }, {\n key: \"isNextPageVisible\",\n value: function isNextPageVisible(has_next_page) {\n var _this$props3 = this.props,\n hideDisabled = _this$props3.hideDisabled,\n hideNavigation = _this$props3.hideNavigation;\n if (hideNavigation || hideDisabled && !has_next_page) return false;\n return true;\n }\n }, {\n key: \"isLastPageVisible\",\n value: function isLastPageVisible(has_next_page) {\n var _this$props4 = this.props,\n hideDisabled = _this$props4.hideDisabled,\n hideNavigation = _this$props4.hideNavigation,\n hideFirstLastPages = _this$props4.hideFirstLastPages;\n if (hideFirstLastPages || hideDisabled && !has_next_page) return false;\n return true;\n }\n }, {\n key: \"buildPages\",\n value: function buildPages() {\n var pages = [];\n var _this$props5 = this.props,\n itemsCountPerPage = _this$props5.itemsCountPerPage,\n pageRangeDisplayed = _this$props5.pageRangeDisplayed,\n activePage = _this$props5.activePage,\n prevPageText = _this$props5.prevPageText,\n nextPageText = _this$props5.nextPageText,\n firstPageText = _this$props5.firstPageText,\n lastPageText = _this$props5.lastPageText,\n totalItemsCount = _this$props5.totalItemsCount,\n onChange = _this$props5.onChange,\n activeClass = _this$props5.activeClass,\n itemClass = _this$props5.itemClass,\n itemClassFirst = _this$props5.itemClassFirst,\n itemClassPrev = _this$props5.itemClassPrev,\n itemClassNext = _this$props5.itemClassNext,\n itemClassLast = _this$props5.itemClassLast,\n activeLinkClass = _this$props5.activeLinkClass,\n disabledClass = _this$props5.disabledClass,\n hideDisabled = _this$props5.hideDisabled,\n hideNavigation = _this$props5.hideNavigation,\n linkClass = _this$props5.linkClass,\n linkClassFirst = _this$props5.linkClassFirst,\n linkClassPrev = _this$props5.linkClassPrev,\n linkClassNext = _this$props5.linkClassNext,\n linkClassLast = _this$props5.linkClassLast,\n hideFirstLastPages = _this$props5.hideFirstLastPages,\n getPageUrl = _this$props5.getPageUrl;\n var paginationInfo = new _paginator[\"default\"](itemsCountPerPage, pageRangeDisplayed).build(totalItemsCount, activePage);\n for (var i = paginationInfo.first_page; i <= paginationInfo.last_page; i++) {\n pages.push(_react[\"default\"].createElement(_Page[\"default\"], {\n isActive: i === activePage,\n key: i,\n href: getPageUrl(i),\n pageNumber: i,\n pageText: i + \"\",\n onClick: onChange,\n itemClass: itemClass,\n linkClass: linkClass,\n activeClass: activeClass,\n activeLinkClass: activeLinkClass,\n ariaLabel: \"Go to page number \".concat(i)\n }));\n }\n this.isPrevPageVisible(paginationInfo.has_previous_page) && pages.unshift(_react[\"default\"].createElement(_Page[\"default\"], {\n key: \"prev\" + paginationInfo.previous_page,\n href: getPageUrl(paginationInfo.previous_page),\n pageNumber: paginationInfo.previous_page,\n onClick: onChange,\n pageText: prevPageText,\n isDisabled: !paginationInfo.has_previous_page,\n itemClass: (0, _classnames[\"default\"])(itemClass, itemClassPrev),\n linkClass: (0, _classnames[\"default\"])(linkClass, linkClassPrev),\n disabledClass: disabledClass,\n ariaLabel: \"Go to previous page\"\n }));\n this.isFirstPageVisible(paginationInfo.has_previous_page) && pages.unshift(_react[\"default\"].createElement(_Page[\"default\"], {\n key: \"first\",\n href: getPageUrl(1),\n pageNumber: 1,\n onClick: onChange,\n pageText: firstPageText,\n isDisabled: !paginationInfo.has_previous_page,\n itemClass: (0, _classnames[\"default\"])(itemClass, itemClassFirst),\n linkClass: (0, _classnames[\"default\"])(linkClass, linkClassFirst),\n disabledClass: disabledClass,\n ariaLabel: \"Go to first page\"\n }));\n this.isNextPageVisible(paginationInfo.has_next_page) && pages.push(_react[\"default\"].createElement(_Page[\"default\"], {\n key: \"next\" + paginationInfo.next_page,\n href: getPageUrl(paginationInfo.next_page),\n pageNumber: paginationInfo.next_page,\n onClick: onChange,\n pageText: nextPageText,\n isDisabled: !paginationInfo.has_next_page,\n itemClass: (0, _classnames[\"default\"])(itemClass, itemClassNext),\n linkClass: (0, _classnames[\"default\"])(linkClass, linkClassNext),\n disabledClass: disabledClass,\n ariaLabel: \"Go to next page\"\n }));\n this.isLastPageVisible(paginationInfo.has_next_page) && pages.push(_react[\"default\"].createElement(_Page[\"default\"], {\n key: \"last\",\n href: getPageUrl(paginationInfo.total_pages),\n pageNumber: paginationInfo.total_pages,\n onClick: onChange,\n pageText: lastPageText,\n isDisabled: paginationInfo.current_page === paginationInfo.total_pages,\n itemClass: (0, _classnames[\"default\"])(itemClass, itemClassLast),\n linkClass: (0, _classnames[\"default\"])(linkClass, linkClassLast),\n disabledClass: disabledClass,\n ariaLabel: \"Go to last page\"\n }));\n return pages;\n }\n }, {\n key: \"render\",\n value: function render() {\n var pages = this.buildPages();\n return _react[\"default\"].createElement(\"ul\", {\n className: this.props.innerClass\n }, pages);\n }\n }]);\n return Pagination;\n}(_react[\"default\"].Component);\nexports[\"default\"] = Pagination;\n_defineProperty(Pagination, \"propTypes\", {\n totalItemsCount: _propTypes[\"default\"].number.isRequired,\n onChange: _propTypes[\"default\"].func.isRequired,\n activePage: _propTypes[\"default\"].number,\n itemsCountPerPage: _propTypes[\"default\"].number,\n pageRangeDisplayed: _propTypes[\"default\"].number,\n prevPageText: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].element]),\n nextPageText: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].element]),\n lastPageText: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].element]),\n firstPageText: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].element]),\n disabledClass: _propTypes[\"default\"].string,\n hideDisabled: _propTypes[\"default\"].bool,\n hideNavigation: _propTypes[\"default\"].bool,\n innerClass: _propTypes[\"default\"].string,\n itemClass: _propTypes[\"default\"].string,\n itemClassFirst: _propTypes[\"default\"].string,\n itemClassPrev: _propTypes[\"default\"].string,\n itemClassNext: _propTypes[\"default\"].string,\n itemClassLast: _propTypes[\"default\"].string,\n linkClass: _propTypes[\"default\"].string,\n activeClass: _propTypes[\"default\"].string,\n activeLinkClass: _propTypes[\"default\"].string,\n linkClassFirst: _propTypes[\"default\"].string,\n linkClassPrev: _propTypes[\"default\"].string,\n linkClassNext: _propTypes[\"default\"].string,\n linkClassLast: _propTypes[\"default\"].string,\n hideFirstLastPages: _propTypes[\"default\"].bool,\n getPageUrl: _propTypes[\"default\"].func\n});\n_defineProperty(Pagination, \"defaultProps\", {\n itemsCountPerPage: 10,\n pageRangeDisplayed: 5,\n activePage: 1,\n prevPageText: \"⟨\",\n firstPageText: \"«\",\n nextPageText: \"⟩\",\n lastPageText: \"»\",\n innerClass: \"pagination\",\n itemClass: undefined,\n linkClass: undefined,\n activeLinkClass: undefined,\n hideFirstLastPages: false,\n getPageUrl: function getPageUrl(i) {\n return \"#\";\n }\n});","module.exports = Paginator;\n\n// Paginator constructor\n//\n// `per_page` is the number of results per page, `length` is the number of\n// pages to display. They default to `25` and `10` respectively.\nfunction Paginator(per_page, length) {\n // You really should be calling this with `new Paginator`, but WHATEVER.\n if (!(this instanceof Paginator)) {\n return new Paginator(per_page, length);\n }\n\n // Woo, defaults!\n this.per_page = per_page || 25;\n this.length = length || 10;\n}\n\n// Build an object with all the necessary information for outputting pagination\n// controls.\n//\n// (new Paginator(paginator.build(100, 2)\nPaginator.prototype.build = function (total_results, current_page) {\n // We want the number of pages, rounded up to the nearest page.\n var total_pages = Math.ceil(total_results / this.per_page);\n\n // Ensure both total_results and current_page are treated as Numbers\n total_results = parseInt(total_results, 10);\n current_page = parseInt(current_page, 10) || 1;\n\n // Obviously we can't be on a negative or 0 page.\n if (current_page < 1) {\n current_page = 1;\n }\n // If the user has done something like /page/99999 we want to clamp that back\n // down.\n if (current_page > total_pages) {\n current_page = total_pages;\n }\n\n // This is the first page to be displayed as a numbered link.\n var first_page = Math.max(1, current_page - Math.floor(this.length / 2));\n\n // And here's the last page to be displayed specifically.\n var last_page = Math.min(total_pages, current_page + Math.floor(this.length / 2));\n\n // This is triggered if we're at or near one of the extremes; we won't have\n // enough page links. We need to adjust our bounds accordingly.\n if (last_page - first_page + 1 < this.length) {\n if (current_page < total_pages / 2) {\n last_page = Math.min(total_pages, last_page + (this.length - (last_page - first_page)));\n } else {\n first_page = Math.max(1, first_page - (this.length - (last_page - first_page)));\n }\n }\n\n // This can be triggered if the user wants an odd number of pages.\n if (last_page - first_page + 1 > this.length) {\n // We want to move towards whatever extreme we're closest to at the time.\n if (current_page > total_pages / 2) {\n first_page++;\n } else {\n last_page--;\n }\n }\n\n // First result on the page. This, along with the field below, can be used to\n // do \"showing x to y of z results\" style things.\n var first_result = this.per_page * (current_page - 1);\n if (first_result < 0) {\n first_result = 0;\n }\n\n // Last result on the page.\n var last_result = this.per_page * current_page - 1;\n if (last_result < 0) {\n last_result = 0;\n }\n if (last_result > Math.max(total_results - 1, 0)) {\n last_result = Math.max(total_results - 1, 0);\n }\n\n // GIMME THAT OBJECT\n return {\n total_pages: total_pages,\n pages: Math.min(last_page - first_page + 1, total_pages),\n current_page: current_page,\n first_page: first_page,\n last_page: last_page,\n previous_page: current_page - 1,\n next_page: current_page + 1,\n has_previous_page: current_page > 1,\n has_next_page: current_page < total_pages,\n total_results: total_results,\n results: Math.min(last_result - first_result + 1, total_results),\n first_result: first_result,\n last_result: last_result\n };\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _getRequireWildcardCache() {\n if (typeof WeakMap !== \"function\") return null;\n var cache = new WeakMap();\n _getRequireWildcardCache = function _getRequireWildcardCache() {\n return cache;\n };\n return cache;\n}\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n var cache = _getRequireWildcardCache();\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj[\"default\"] = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nvar Page = /*#__PURE__*/\nfunction (_Component) {\n _inherits(Page, _Component);\n function Page() {\n _classCallCheck(this, Page);\n return _possibleConstructorReturn(this, _getPrototypeOf(Page).apply(this, arguments));\n }\n _createClass(Page, [{\n key: \"handleClick\",\n value: function handleClick(e) {\n var _this$props = this.props,\n isDisabled = _this$props.isDisabled,\n pageNumber = _this$props.pageNumber;\n e.preventDefault();\n if (isDisabled) {\n return;\n }\n this.props.onClick(pageNumber);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _cx;\n var _this$props2 = this.props,\n pageText = _this$props2.pageText,\n pageNumber = _this$props2.pageNumber,\n activeClass = _this$props2.activeClass,\n itemClass = _this$props2.itemClass,\n linkClass = _this$props2.linkClass,\n activeLinkClass = _this$props2.activeLinkClass,\n disabledClass = _this$props2.disabledClass,\n isActive = _this$props2.isActive,\n isDisabled = _this$props2.isDisabled,\n href = _this$props2.href,\n ariaLabel = _this$props2.ariaLabel;\n var css = (0, _classnames[\"default\"])(itemClass, (_cx = {}, _defineProperty(_cx, activeClass, isActive), _defineProperty(_cx, disabledClass, isDisabled), _cx));\n var linkCss = (0, _classnames[\"default\"])(linkClass, _defineProperty({}, activeLinkClass, isActive));\n return _react[\"default\"].createElement(\"li\", {\n className: css,\n onClick: this.handleClick.bind(this)\n }, _react[\"default\"].createElement(\"a\", {\n className: linkCss,\n href: href,\n \"aria-label\": ariaLabel\n }, pageText));\n }\n }]);\n return Page;\n}(_react.Component);\nexports[\"default\"] = Page;\n_defineProperty(Page, \"propTypes\", {\n pageText: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].element]),\n pageNumber: _propTypes[\"default\"].number.isRequired,\n onClick: _propTypes[\"default\"].func.isRequired,\n isActive: _propTypes[\"default\"].bool.isRequired,\n isDisabled: _propTypes[\"default\"].bool,\n activeClass: _propTypes[\"default\"].string,\n activeLinkClass: _propTypes[\"default\"].string,\n itemClass: _propTypes[\"default\"].string,\n linkClass: _propTypes[\"default\"].string,\n disabledClass: _propTypes[\"default\"].string,\n href: _propTypes[\"default\"].string\n});\n_defineProperty(Page, \"defaultProps\", {\n activeClass: \"active\",\n disabledClass: \"disabled\",\n itemClass: undefined,\n linkClass: undefined,\n activeLinkCLass: undefined,\n isActive: false,\n isDisabled: false,\n href: \"#\"\n});","import React from 'react'\r\nimport Common from '../../utils/common';\r\nimport Configuration from '../../config';\r\nimport Pagination from \"react-js-pagination\";\r\nimport { Redirect, Route, Switch } from \"react-router\";\r\n\r\nexport default class List extends React.Component {\r\n \r\n constructor(props) {\r\n super(props)\r\n this.state = {\r\n items: [],\r\n category: null,\r\n relations: [],\r\n build: '',\r\n activePage: 1\r\n }\r\n if (this.props.match.params.name != undefined) {\r\n window.location.href = \"/\" + this.props.match.params.language + \"/danh-sach-bai-viet/\" + this.props.match.params.name;\r\n }\r\n\r\n\r\n }\r\n componentDidMount() { \r\n this.setState({ activePage: 1 });\r\n }\r\n handlePageChange(pageNumber) {\r\n Common.activePage = pageNumber;\r\n this.setState({ activePage: pageNumber });\r\n\r\n }\r\n render() {\r\n var page = this.props.match.params.page;\r\n var hash = window.location.hash;\r\n \r\n if(hash != \"\" && page == undefined)\r\n {\r\n console.log(hash);\r\n page = parseInt(hash.substring(1));\r\n }\r\n\r\n if(page == undefined || page == NaN)\r\n {\r\n page = 1;\r\n }\r\n \r\n console.log(page);\r\n var paramId = this.props.match.params.id;\r\n var param = {};\r\n param['paramId'] = paramId;\r\n param['friendlyUrl'] = this.props.match.params.friendlyUrl;\r\n \r\n if (page != undefined) {\r\n window.Merchant.page = page;\r\n Common.activePage = page;\r\n }\r\n this.state.build = Common.getPage('articles', param, page);\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n //
\r\n //
\r\n //
\r\n //
\r\n //
\r\n //
\r\n // \r\n //
\r\n //
\r\n //
\r\n\r\n\r\n //
\r\n\r\n )\r\n\r\n }\r\n\r\n}\r\n\r\n"],"sourceRoot":""}