{"size": 42331, "ext": "js", "max_stars_repo_path": "packages/react-bootstrap-table2-paginator/dist/react-bootstrap-table2-paginator.min.js", "max_stars_repo_name": "weigroup/react-bootstrap-table2", "max_stars_repo_stars_event_min_datetime": "2020-01-07T13:37:29.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-26T11:22:35.000Z", "max_issues_repo_path": "template/demo_1/node_modules/react-bootstrap-table2-paginator/dist/react-bootstrap-table2-paginator.min.js", "max_issues_repo_name": "mern-dev-full/StarAdmin-Free-React-Admin-Template", "max_issues_repo_issues_event_min_datetime": "2019-12-29T15:37:10.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-11T15:05:36.000Z", "max_forks_repo_path": "template/demo_1/node_modules/react-bootstrap-table2-paginator/dist/react-bootstrap-table2-paginator.min.js", "max_forks_repo_name": "mern-dev-full/StarAdmin-Free-React-Admin-Template", "max_forks_repo_forks_event_min_datetime": "2019-12-07T01:00:47.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-18T13:50:14.000Z"}
{"max_stars_count": 177, "max_issues_count": 9, "max_forks_count": 136, "avg_line_length": 7055.1666666667, "max_line_length": 37554, "alphanum_fraction": 0.750797288}
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBootstrapTable2Paginator=t(require("react")):e.ReactBootstrapTable2Paginator=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(16)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={PAGINATION_SIZE:5,PAGE_START_INDEX:1,With_FIRST_AND_LAST:!0,SHOW_ALL_PAGE_BTNS:!1,SHOW_TOTAL:!1,PAGINATION_TOTAL:null,FIRST_PAGE_TEXT:"<<",PRE_PAGE_TEXT:"<",NEXT_PAGE_TEXT:">",LAST_PAGE_TEXT:">>",NEXT_PAGE_TITLE:"next page",LAST_PAGE_TITLE:"last page",PRE_PAGE_TITLE:"previous page",FIRST_PAGE_TITLE:"first page",SIZE_PER_PAGE_LIST:[10,25,30,50],HIDE_SIZE_PER_PAGE:!1,HIDE_PAGE_LIST_ONLY_ONE_PAGE:!1}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),l=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default=function(e){return function(e){function t(){return r(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"backToPrevPage",value:function(){var e=this.props,t=e.currPage,n=e.pageStartIndex;return t-1<n?n:t-1}},{key:"initialState",value:function(){var e=this.calculateTotalPage();return{totalPages:e,lastPage:this.calculateLastPage(e)}}},{key:"calculateTotalPage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.currSizePerPage,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.dataSize;return Math.ceil(t/e)}},{key:"calculateLastPage",value:function(e){return this.props.pageStartIndex+e-1}},{key:"calculateFromTo",value:function(){var e=this.props,t=e.dataSize,n=e.currPage,r=e.currSizePerPage,a=e.pageStartIndex,o=Math.abs(l.default.PAGE_START_INDEX-a),i=(n-a)*r;i=0===t?0:i+1;var u=Math.min(r*(n+o),t);return u>t&&(u=t),[i,u]}},{key:"calculatePages",value:function(e,t){var n=this.props,r=n.currPage,a=n.paginationSize,o=n.pageStartIndex,i=n.withFirstAndLast,u=n.firstPageText,l=n.prePageText,s=n.nextPageText,f=n.lastPageText,c=n.alwaysShowAllBtns,p=[],d=e;if(d<=0)return[];var g=Math.max(r-Math.floor(a/2),o);d=g+a-1,d>t&&(d=t,g=d-a+1),c&&(p=i?[u,l]:[l]),g!==o&&e>a&&i&&0===p.length?p=[u,l]:e>1&&0===p.length&&(p=[l]);for(var P=g;P<=d;P+=1)P>=o&&p.push(P);return(c||d<=t&&p.length>1)&&p.push(s),(d!==t&&i||i&&c)&&p.push(f),p}},{key:"calculatePageStatus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this,n=arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=this.props,o=a.currPage,i=a.pageStartIndex,u=a.firstPageText,l=a.prePageText,s=a.nextPageText,f=a.lastPageText,c=a.alwaysShowAllBtns,p=function(e){return o===i&&(e===u||e===l)},d=function(e){return o===n&&(e===s||e===f)};return e.filter(function(e){return!!c||!(p(e)||d(e))}).map(function(e){var n=void 0,a=e===o,i=p(e)||d(e);n=e===s?t.props.nextPageTitle:e===l?t.props.prePageTitle:e===u?t.props.firstPageTitle:e===f?t.props.lastPageTitle:""+e;var c={page:e,active:a,disabled:i};return r||(c.title=n),c})}},{key:"calculateSizePerPageStatus",value:function(){return this.props.sizePerPageList.map(function(e){return{text:""+(void 0!==e.text?e.text:e),page:void 0!==e.value?e.value:e}})}}]),t}(e)}},function(e,t,n){var r,a;/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=n.apply(null,r);i&&e.push(i)}else if("object"===a)for(var u in r)o.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var o={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(a=function(){return n}.apply(t,r))&&(e.exports=a))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),f=r(s),c=n(3),p=r(c);t.default=function(e){return function(t){function n(e){a(this,n);var t=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleChangePage=t.handleChangePage.bind(t),t.handleChangeSizePerPage=t.handleChangeSizePerPage.bind(t),t.state=t.initialState(),t}return i(n,t),l(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.dataSize,n=e.currSizePerPage;if(n!==this.props.currSizePerPage||t!==this.props.dataSize){var r=this.calculateTotalPage(n,t),a=this.calculateLastPage(r);this.setState({totalPages:r,lastPage:a})}}},{key:"handleChangeSizePerPage",value:function(e){var t=this.props,n=t.currSizePerPage,r=t.onSizePerPageChange,a="string"==typeof e?parseInt(e,10):e,o=this.props.currPage;if(a!==n){var i=this.calculateTotalPage(a),u=this.calculateLastPage(i);o>u&&(o=u),r(a,o)}}},{key:"handleChangePage",value:function(e){var t=void 0,n=this.props,r=n.currPage,a=n.pageStartIndex,o=n.prePageText,i=n.nextPageText,u=n.lastPageText,l=n.firstPageText,s=n.onPageChange,f=this.state.lastPage;(t=e===o?this.backToPrevPage():e===i?r+1>f?f:r+1:e===u?f:e===l?a:parseInt(e,10))!==r&&s(t)}},{key:"render",value:function(){return f.default.createElement(e,u({},this.props,{lastPage:this.state.lastPage,totalPages:this.state.totalPages,onPageChange:this.handleChangePage,onSizePerPageChange:this.handleChangeSizePerPage}))}}]),n}((0,p.default)(s.Component))}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e){return function(t){var n=t.page,o=t.sizePerPage,u=r(t,["page","sizePerPage"]);return i.default.createElement(e,a({},u,{currPage:n,currSizePerPage:o}))}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=n(0),c=r(f),p=n(20),d=r(p),g=n(2),P=r(g),h=n(8),v=c.default.createContext(),_=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));b.call(n),n.handleChangePage=n.handleChangePage.bind(n),n.handleDataSizeChange=n.handleDataSizeChange.bind(n),n.handleChangeSizePerPage=n.handleChangeSizePerPage.bind(n);var r=void 0,i=void 0,u=e.pagination.options,s=u.sizePerPageList||P.default.SIZE_PER_PAGE_LIST;return r=void 0!==u.page?u.page:void 0!==u.pageStartIndex?u.pageStartIndex:P.default.PAGE_START_INDEX,i=void 0!==u.sizePerPage?u.sizePerPage:"object"===l(s[0])?s[0].value:s[0],n.currPage=r,n.dataSize=u.totalSize,n.currSizePerPage=i,n.dataChangeListener=new d.default,n.dataChangeListener.on("filterChanged",n.handleDataSizeChange),n}return i(t,e),s(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.pagination.options.custom;(this.isRemotePagination()||t)&&(void 0!==e.pagination.options.page&&(this.currPage=e.pagination.options.page),void 0!==e.pagination.options.sizePerPage&&(this.currSizePerPage=e.pagination.options.sizePerPage),void 0!==e.pagination.options.totalSize&&(this.dataSize=e.pagination.options.totalSize))}},{key:"handleDataSizeChange",value:function(e){var t=this.props.pagination.options,n=void 0===t.pageStartIndex?P.default.PAGE_START_INDEX:t.pageStartIndex;this.currPage=(0,h.alignPage)(e,this.dataSize,this.currPage,this.currSizePerPage,n),this.dataSize=e,this.forceUpdate()}},{key:"handleChangePage",value:function(e){var t=this.currSizePerPage,n=this.props.pagination.options;if(n.onPageChange&&n.onPageChange(e,t),this.currPage=e,this.isRemotePagination())return void this.getPaginationRemoteEmitter().emit("paginationChange",e,t);this.forceUpdate()}},{key:"handleChangeSizePerPage",value:function(e,t){var n=this.props.pagination.options;if(n.onSizePerPageChange&&n.onSizePerPageChange(e,t),this.currPage=t,this.currSizePerPage=e,this.isRemotePagination())return void this.getPaginationRemoteEmitter().emit("paginationChange",t,e);this.forceUpdate()}},{key:"render",value:function(){var e=this.getPaginationProps(),t=u({},this.props.pagination,{options:e});return c.default.createElement(v.Provider,{value:{paginationProps:e,paginationTableProps:{pagination:t,setPaginationRemoteEmitter:this.setPaginationRemoteEmitter,dataChangeListener:this.dataChangeListener}}},this.props.children)}}]),t}(c.default.Component),b=function(){var e=this;this.getPaginationProps=function(){var t=e.props,n=t.pagination.options,r=t.bootstrap4,a=t.tableId,o=e.currPage,i=e.currSizePerPage,l=e.dataSize,s=void 0===n.withFirstAndLast?P.default.With_FIRST_AND_LAST:n.withFirstAndLast,f=void 0===n.alwaysShowAllBtns?P.default.SHOW_ALL_PAGE_BTNS:n.alwaysShowAllBtns,c=void 0===n.hideSizePerPage?P.default.HIDE_SIZE_PER_PAGE:n.hideSizePerPage,p=void 0===n.hidePageListOnlyOnePage?P.default.HIDE_PAGE_LIST_ONLY_ONE_PAGE:n.hidePageListOnlyOnePage,d=void 0===n.pageStartIndex?P.default.PAGE_START_INDEX:n.pageStartIndex;return u({},n,{bootstrap4:r,tableId:a,page:o,sizePerPage:i,pageStartIndex:d,hidePageListOnlyOnePage:p,hideSizePerPage:c,alwaysShowAllBtns:f,withFirstAndLast:s,dataSize:l,sizePerPageList:n.sizePerPageList||P.default.SIZE_PER_PAGE_LIST,paginationSize:n.paginationSize||P.default.PAGINATION_SIZE,showTotal:n.showTotal,pageListRenderer:n.pageListRenderer,pageButtonRenderer:n.pageButtonRenderer,sizePerPageRenderer:n.sizePerPageRenderer,paginationTotalRenderer:n.paginationTotalRenderer,sizePerPageOptionRenderer:n.sizePerPageOptionRenderer,firstPageText:n.firstPageText||P.default.FIRST_PAGE_TEXT,prePageText:n.prePageText||P.default.PRE_PAGE_TEXT,nextPageText:n.nextPageText||P.default.NEXT_PAGE_TEXT,lastPageText:n.lastPageText||P.default.LAST_PAGE_TEXT,prePageTitle:n.prePageTitle||P.default.PRE_PAGE_TITLE,nextPageTitle:n.nextPageTitle||P.default.NEXT_PAGE_TITLE,firstPageTitle:n.firstPageTitle||P.default.FIRST_PAGE_TITLE,lastPageTitle:n.lastPageTitle||P.default.LAST_PAGE_TITLE,onPageChange:e.handleChangePage,onSizePerPageChange:e.handleChangeSizePerPage})},this.setPaginationRemoteEmitter=function(t){e.remoteEmitter=t},this.getPaginationRemoteEmitter=function(){return e.remoteEmitter||e.props.remoteEmitter},this.isRemotePagination=function(){var t={};return e.remoteEmitter.emit("isRemotePagination",t),t.result}};t.default=function(){return{Provider:_,Consumer:v.Consumer}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getByCurrPage=t.alignPage=void 0;var r=n(2),a=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e,t){return e+Math.abs(1-t)},i=function(e,t,n){return o(e,n)*t-1},u=function(e,t){return e-(t-1)};t.alignPage=function(e,t,n,r,o){if(t<e)return n;if(n<o)return o;if(e<=0)return o;if(n>=Math.floor(e/r)+o&&1===o)return Math.ceil(e/r);if(n>=Math.floor(e/r)&&0===o){return Math.ceil(e/r)-Math.abs(a.default.PAGE_START_INDEX-o)}return n},t.getByCurrPage=function(e,t,n,r){var a=e.length;if(!a)return[];for(var o=i(t,n,r),l=u(o,n),s=[],f=l;f<=o&&(s.push(e[f]),f+1!==a);f+=1);return s}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.SizePerPageDropdownWithAdapter=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),f=r(s),c=n(3),p=r(c),d=n(10),g=r(d),P=function(e){return function(t){function n(e){a(this,n);var t=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.closeDropDown=t.closeDropDown.bind(t),t.toggleDropDown=t.toggleDropDown.bind(t),t.handleChangeSizePerPage=t.handleChangeSizePerPage.bind(t),t.state={dropdownOpen:!1},t}return i(n,t),l(n,[{key:"toggleDropDown",value:function(){var e=!this.state.dropdownOpen;this.setState(function(){return{dropdownOpen:e}})}},{key:"closeDropDown",value:function(){this.setState(function(){return{dropdownOpen:!1}})}},{key:"handleChangeSizePerPage",value:function(e){this.props.onSizePerPageChange(e),this.closeDropDown()}},{key:"render",value:function(){var t=this.props,n=t.tableId,r=t.bootstrap4,a=t.sizePerPageList,o=t.currSizePerPage,i=t.hideSizePerPage,l=t.sizePerPageRenderer,s=t.sizePerPageOptionRenderer,c=this.state.dropdownOpen;return a.length>1&&!i?l?l({options:this.calculateSizePerPageStatus(),currSizePerPage:""+o,onSizePerPageChange:this.handleChangeSizePerPage}):f.default.createElement(e,u({},this.props,{currSizePerPage:""+o,options:this.calculateSizePerPageStatus(),optionRenderer:s,onSizePerPageChange:this.handleChangeSizePerPage,onClick:this.toggleDropDown,onBlur:this.closeDropDown,open:c,tableId:n,bootstrap4:r})):null}}]),n}((0,p.default)(s.Component))};t.SizePerPageDropdownWithAdapter=P(g.default);t.default=P},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),i=r(o),u=n(4),l=r(u),s=n(1),f=r(s),c=n(23),p=r(c),d=function(e){var t=e.open,n=e.tableId,r=e.hidden,o=e.onClick,u=e.onBlur,s=e.options,f=e.className,c=e.variation,d=e.bootstrap4,g=e.btnContextual,P=e.optionRenderer,h=e.currSizePerPage,v=e.onSizePerPageChange,_={visibility:r?"hidden":"visible"},b=t?"open show":"",y=(0,l.default)(b,"react-bs-table-sizePerPage-dropdown",c,f),T=n?n+"-pageDropDown":"pageDropDown";return i.default.createElement("span",{style:_,className:y},i.default.createElement("button",{id:T,type:"button",className:"btn "+g+" dropdown-toggle","data-toggle":"dropdown","aria-expanded":t,onClick:o,onBlur:u},h," ",d?null:i.default.createElement("span",null,i.default.createElement("span",{className:"caret"}))),i.default.createElement("ul",{className:"dropdown-menu "+b,role:"menu","aria-labelledby":T},s.map(function(e){return P?P(a({},e,{onSizePerPageChange:v})):i.default.createElement(p.default,a({},e,{key:e.text,bootstrap4:d,onSizePerPageChange:v}))})))};d.propTypes={currSizePerPage:f.default.string.isRequired,options:f.default.array.isRequired,onClick:f.default.func.isRequired,onBlur:f.default.func.isRequired,onSizePerPageChange:f.default.func.isRequired,bootstrap4:f.default.bool,tableId:f.default.string,open:f.default.bool,hidden:f.default.bool,btnContextual:f.default.string,variation:f.default.oneOf(["dropdown","dropup"]),className:f.default.string,optionRenderer:f.default.func},d.defaultProps={open:!1,hidden:!1,btnContextual:"btn-default btn-secondary",variation:"dropdown",className:"",optionRenderer:null,bootstrap4:!1,tableId:null},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.PaginationListWithAdapter=void 0;var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),s=r(l),f=n(3),c=r(f),p=n(12),d=r(p),g=function(e){return function(t){function n(){return a(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),u(n,[{key:"render",value:function(){var t=this.props,n=t.lastPage,r=t.totalPages,a=t.pageButtonRenderer,o=t.onPageChange,i=t.disablePageTitle,u=t.hidePageListOnlyOnePage,l=this.calculatePageStatus(this.calculatePages(r,n),n,i);return 1===r&&u?null:s.default.createElement(e,{pageButtonRenderer:a,onPageChange:o,pages:l})}}]),n}((0,c.default)(l.Component))};t.PaginationListWithAdapter=g(d.default);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),i=r(o),u=n(1),l=r(u),s=n(24),f=r(s),c=function(e){return i.default.createElement("ul",{className:"pagination react-bootstrap-table-page-btns-ul"},e.pages.map(function(t){return e.pageButtonRenderer?e.pageButtonRenderer(a({},t,{onPageChange:e.onPageChange})):i.default.createElement(f.default,a({key:t.page},t,{onPageChange:e.onPageChange}))}))};c.propTypes={pages:l.default.arrayOf(l.default.shape({page:l.default.oneOfType([l.default.node,l.default.number,l.default.string]),active:l.default.bool,disable:l.default.bool,title:l.default.string})).isRequired,onPageChange:l.default.func.isRequired,pageButtonRenderer:l.default.func},c.defaultProps={pageButtonRenderer:null},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.PaginationTotalWithAdapter=void 0;var u=function(){function e(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),f=r(s),c=n(3),p=r(c),d=n(14),g=r(d),P=function(e){return function(t){function n(){return a(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),l(n,[{key:"render",value:function(){var t=this.calculateFromTo(),n=u(t,2),r=n[0],a=n[1];return f.default.createElement(e,{from:r,to:a,dataSize:this.props.dataSize,paginationTotalRenderer:this.props.paginationTotalRenderer})}}]),n}((0,p.default)(s.Component))};t.PaginationTotalWithAdapter=P(g.default);t.default=P},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=n(1),u=r(i),l=function(e){return e.paginationTotalRenderer?e.paginationTotalRenderer(e.from,e.to,e.dataSize):o.default.createElement("span",{className:"react-bootstrap-table-pagination-total"}," Showing rows ",e.from," to ",e.to," of ",e.dataSize)};l.propTypes={from:u.default.number.isRequired,to:u.default.number.isRequired,dataSize:u.default.number.isRequired,paginationTotalRenderer:u.default.func},l.defaultProps={paginationTotalRenderer:void 0},t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PaginationTotalStandalone=t.SizePerPageDropdownStandalone=t.PaginationListStandalone=t.PaginationProvider=void 0;var a=n(0),o=r(a),i=n(1),u=r(i),l=n(7),s=r(l),f=n(21),c=r(f),p=n(25),d=r(p),g=n(26),P=r(g),h=n(27),v=r(h);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{createContext:c.default,options:e}};var _=(0,s.default)(),b=_.Provider,y=_.Consumer,T=function(e){return o.default.createElement(b,e,o.default.createElement(y,null,function(t){return e.children(t)}))};T.propTypes={children:u.default.func.isRequired};t.PaginationProvider=T;t.PaginationListStandalone=d.default,t.SizePerPageDropdownStandalone=P.default,t.PaginationTotalStandalone=v.default},function(e,t,n){"use strict";var r=n(17),a=n(18),o=n(19);e.exports=function(){function e(e,t,n,r,i,u){u!==o&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";function r(e,t,n,r,o,i,u,l){if(a(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,o,i,u,l],c=0;s=new Error(t.replace(/%s/g,function(){return f[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var a=function(e){};e.exports=r},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function a(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!a(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,a,u,l,s;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var f=new Error('Uncaught, unspecified "error" event. ('+t+")");throw f.context=t,f}if(n=this._events[e],i(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:u=Array.prototype.slice.call(arguments,1),n.apply(this,u)}else if(o(n))for(u=Array.prototype.slice.call(arguments,1),s=n.slice(),a=s.length,l=0;l<a;l++)s[l].apply(this,u);return!0},n.prototype.addListener=function(e,t){var a;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(a=i(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),a||(a=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var a=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,a,i,u;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],i=n.length,a=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(u=i;u-- >0;)if(n[u]===t||n[u].listener&&n[u].listener===t){a=u;break}if(a<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function e(t,n,r){null===t&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,n);if(void 0===a){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in a)return a.value;var i=a.get;if(void 0!==i)return i.call(r)},c=n(0),p=r(c),d=n(1),g=r(d),P=n(2),h=r(P),v=n(22),_=r(v),b=n(8),y=n(7),T=r(y),m=(0,T.default)(),S=m.Provider,E=p.default.createContext(),O=function(e){function t(){var e,n,r,u;o(this,t);for(var s=arguments.length,f=Array(s),c=0;c<s;c++)f[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(f))),r.isRemotePagination=function(){return r.props.isRemotePagination()},r.renderDefaultPagination=function(){if(!r.props.pagination.options.custom){var e=r.getPaginationProps(),t=e.page,n=e.sizePerPage,o=e.dataSize,i=a(e,["page","sizePerPage","dataSize"]);return p.default.createElement(_.default,l({},i,{key:"pagination",dataSize:o||r.props.data.length,currPage:t,currSizePerPage:n}))}return null},u=n,i(r,u)}return u(t,e),s(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){f(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"UNSAFE_componentWillReceiveProps",this).call(this,e);var n=this.currSizePerPage,r=e.pagination.options,a=r.custom,o=r.onPageChange,i=void 0!==e.pagination.options.pageStartIndex?e.pagination.options.pageStartIndex:h.default.PAGE_START_INDEX;if(!this.isRemotePagination()&&!a){var u=(0,b.alignPage)(e.data.length,this.props.data.length,this.currPage,n,i);this.currPage!==u&&(o&&o(u,n),this.currPage=u)}e.onDataSizeChange&&e.data.length!==this.props.data.length&&e.onDataSizeChange({dataSize:e.data.length})}},{key:"render",value:function(){var e=this.props.data,t=this.props.pagination.options,n=this.currPage,r=this.currSizePerPage,a=void 0===t.pageStartIndex?h.default.PAGE_START_INDEX:t.pageStartIndex;return e=this.isRemotePagination()?e:(0,b.getByCurrPage)(e,n,r,a),p.default.createElement(E.Provider,{value:{data:e,setRemoteEmitter:this.setRemoteEmitter}},this.props.children,this.renderDefaultPagination())}}]),t}(S);O.propTypes={data:g.default.array.isRequired,remoteEmitter:g.default.object.isRequired,isRemotePagination:g.default.func.isRequired},t.default=function(){return{Provider:O,Consumer:E.Consumer}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=n(4),c=r(f),p=n(0),d=r(p),g=n(1),P=r(g),h=n(3),v=r(h),_=n(5),b=r(_),y=n(9),T=n(11),m=n(13),S=n(2),E=r(S),O=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.tableId,n=e.currPage,r=e.pageStartIndex,o=e.showTotal,i=e.dataSize,u=e.pageListRenderer,s=e.pageButtonRenderer,f=e.paginationTotalRenderer,p=e.hidePageListOnlyOnePage,g=e.totalPages,P=e.lastPage,h=e.onPageChange,v=e.sizePerPageList,_=e.currSizePerPage,b=e.hideSizePerPage,S=e.sizePerPageRenderer,E=e.sizePerPageOptionRenderer,O=e.onSizePerPageChange,w=e.bootstrap4,R=a(e,["tableId","currPage","pageStartIndex","showTotal","dataSize","pageListRenderer","pageButtonRenderer","paginationTotalRenderer","hidePageListOnlyOnePage","totalPages","lastPage","onPageChange","sizePerPageList","currSizePerPage","hideSizePerPage","sizePerPageRenderer","sizePerPageOptionRenderer","onSizePerPageChange","bootstrap4"]),z=this.calculatePageStatus(this.calculatePages(g,P),P),x=(0,c.default)("react-bootstrap-table-pagination-list","col-md-6 col-xs-6 col-sm-6 col-lg-6",{"react-bootstrap-table-pagination-list-hidden":p&&1===g});return d.default.createElement("div",{className:"row react-bootstrap-table-pagination"},d.default.createElement("div",{className:"col-md-6 col-xs-6 col-sm-6 col-lg-6"},d.default.createElement(y.SizePerPageDropdownWithAdapter,{bootstrap4:w,tableId:t,sizePerPageList:v,currSizePerPage:_,hideSizePerPage:b,sizePerPageRenderer:S,sizePerPageOptionRenderer:E,onSizePerPageChange:O}),o?d.default.createElement(m.PaginationTotalWithAdapter,{currPage:n,currSizePerPage:_,pageStartIndex:r,dataSize:i,paginationTotalRenderer:f}):null),u?u({pages:z,onPageChange:h}):d.default.createElement("div",{className:x},d.default.createElement(T.PaginationListWithAdapter,l({},R,{currPage:n,currSizePerPage:_,pageStartIndex:r,lastPage:P,totalPages:g,pageButtonRenderer:s,onPageChange:h}))))}}]),t}((0,v.default)(p.Component));O.propTypes={dataSize:P.default.number.isRequired,sizePerPageList:P.default.array.isRequired,currPage:P.default.number.isRequired,currSizePerPage:P.default.number.isRequired,onPageChange:P.default.func.isRequired,onSizePerPageChange:P.default.func.isRequired,disablePageTitle:P.default.bool,pageStartIndex:P.default.number,paginationSize:P.default.number,showTotal:P.default.bool,pageListRenderer:P.default.func,pageButtonRenderer:P.default.func,sizePerPageRenderer:P.default.func,paginationTotalRenderer:P.default.func,sizePerPageOptionRenderer:P.default.func,firstPageText:P.default.oneOfType([P.default.string,P.default.node]),prePageText:P.default.oneOfType([P.default.string,P.default.node]),nextPageText:P.default.oneOfType([P.default.string,P.default.node]),lastPageText:P.default.oneOfType([P.default.string,P.default.node]),nextPageTitle:P.default.string,prePageTitle:P.default.string,firstPageTitle:P.default.string,lastPageTitle:P.default.string,withFirstAndLast:P.default.bool,alwaysShowAllBtns:P.default.bool,hideSizePerPage:P.default.bool,hidePageListOnlyOnePage:P.default.bool,bootstrap4:P.default.bool},O.defaultProps={disablePageTitle:!1,bootstrap4:!1,pageStartIndex:E.default.PAGE_START_INDEX,paginationSize:E.default.PAGINATION_SIZE,withFirstAndLast:E.default.With_FIRST_AND_LAST,alwaysShowAllBtns:E.default.SHOW_ALL_PAGE_BTNS,showTotal:E.default.SHOW_TOTAL,pageListRenderer:null,pageButtonRenderer:null,sizePerPageRenderer:null,paginationTotalRenderer:E.default.PAGINATION_TOTAL,sizePerPageOptionRenderer:null,firstPageText:E.default.FIRST_PAGE_TEXT,prePageText:E.default.PRE_PAGE_TEXT,nextPageText:E.default.NEXT_PAGE_TEXT,lastPageText:E.default.LAST_PAGE_TEXT,sizePerPageList:E.default.SIZE_PER_PAGE_LIST,nextPageTitle:E.default.NEXT_PAGE_TITLE,prePageTitle:E.default.PRE_PAGE_TITLE,firstPageTitle:E.default.FIRST_PAGE_TITLE,lastPageTitle:E.default.LAST_PAGE_TITLE,hideSizePerPage:E.default.HIDE_SIZE_PER_PAGE,hidePageListOnlyOnePage:E.default.HIDE_PAGE_LIST_ONLY_ONE_PAGE},t.default=(0,b.default)(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=n(1),u=r(i),l=function(e){var t=e.text,n=e.page,r=e.onSizePerPageChange;return e.bootstrap4?o.default.createElement("a",{href:"#",tabIndex:"-1",role:"menuitem",className:"dropdown-item","data-page":n,onMouseDown:function(e){e.preventDefault(),r(n)}},t):o.default.createElement("li",{key:t,role:"presentation",className:"dropdown-item"},o.default.createElement("a",{href:"#",tabIndex:"-1",role:"menuitem","data-page":n,onMouseDown:function(e){e.preventDefault(),r(n)}},t))};l.propTypes={text:u.default.string.isRequired,page:u.default.number.isRequired,onSizePerPageChange:u.default.func.isRequired,bootstrap4:u.default.bool},l.defaultProps={bootstrap4:!1},t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(4),s=r(l),f=n(0),c=r(f),p=n(1),d=r(p),g=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=n.handleClick.bind(n),n}return i(t,e),u(t,[{key:"handleClick",value:function(e){e.preventDefault(),this.props.onPageChange(this.props.page)}},{key:"render",value:function(){var e=this.props,t=e.page,n=e.title,r=e.active,a=e.disabled,o=e.className,i=(0,s.default)({active:r,disabled:a,"page-item":!0},o);return c.default.createElement("li",{className:i,title:n},c.default.createElement("a",{href:"#",onClick:this.handleClick,className:"page-link"},t))}}]),t}(f.Component);g.propTypes={onPageChange:d.default.func.isRequired,page:d.default.oneOfType([d.default.node,d.default.number,d.default.string]).isRequired,active:d.default.bool.isRequired,disabled:d.default.bool.isRequired,className:d.default.string,title:d.default.string},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=n(12),u=r(i),l=n(6),s=r(l),f=n(5),c=r(f),p=n(11),d=r(p),g=function(e){return o.default.createElement(u.default,e)};t.default=(0,s.default)((0,c.default)((0,d.default)(g)))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=n(10),u=r(i),l=n(6),s=r(l),f=n(5),c=r(f),p=n(9),d=r(p),g=function(e){return o.default.createElement(u.default,e)};t.default=(0,s.default)((0,c.default)((0,d.default)(g)))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=n(14),u=r(i),l=n(6),s=r(l),f=n(13),c=r(f),p=function(e){return o.default.createElement(u.default,e)};t.default=(0,s.default)((0,c.default)(p))}])});