'use strict';
import { switchPageNumber, emitPaging } from '../services/fd-private-paging.js';

var __defProp=Object['defineProperty'],__name=(_0x8114d5,_0x4eb59b)=>__defProp(_0x8114d5,'name',{'value':_0x4eb59b,'configurable':!![]});function goToPreviousPage(_0x41fe9e,_0x505776,_0x2ac532,_0x1723bb){_0x1723bb(switchPageNumber(_0x41fe9e,_0x505776,_0x2ac532,![]));}__name(goToPreviousPage,'goToPreviousPage');function goToFirstPage(_0x33777a,_0x348d7d,_0x280b4c){_0x280b4c(0x1aee*-0x1+0x4a5*0x5+0x3b6),_0x348d7d({'pageSize':_0x33777a,'pageNumber':0x1,'pagingSkip':0x0});}__name(goToFirstPage,'goToFirstPage');function shouldDisabledNextPageButton(_0x3f2df5,_0x22d15e){return _0x3f2df5<_0x22d15e;}__name(shouldDisabledNextPageButton,'shouldDisabledNextPageButton');function goToNextPage(_0x220d82,_0x558bfc,_0x2d84ca,_0x3969e8){_0x3969e8(switchPageNumber(_0x220d82,_0x558bfc,_0x2d84ca,!![]));}__name(goToNextPage,'goToNextPage');function emitPagerPaging(_0x2b1c94,_0x29a8c1,_0x53d19e){_0x29a8c1>=-0x142d+0x2577+-0x114a*0x1&&emitPaging(_0x2b1c94,_0x29a8c1,_0x53d19e);}__name(emitPagerPaging,'emitPagerPaging');function handlePageSizeChange(_0x385111,_0x14ec4b,_0x521cbf,_0x399f35,_0x322c7b,_0x3be486){if(_0x3be486===void(0x96*-0x31+-0x21e3+0x3e99))return;const _0x52291b=Number(_0x3be486);if(Number['isNaN'](_0x52291b))return;_0x385111(_0x52291b),emitPagerPaging(_0x14ec4b,_0x52291b,_0x521cbf),goToFirstPage(_0x52291b,_0x521cbf,_0x399f35),_0x322c7b(![]);}__name(handlePageSizeChange,'handlePageSizeChange');

export { emitPagerPaging, goToFirstPage, goToNextPage, goToPreviousPage, handlePageSizeChange, shouldDisabledNextPageButton };
