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AA2B,SAGvE6E,EAAG,GACF,EAAG,CAAC,OAAQ,QAAS,kBACpB,QAAmB,IAAI,GAC7BhD,EAAQ3B,mBAAqBiE,EAA0BhG,QAAS,WAAa,QAAmB,KAAMX,EAAa,GAChH,WAAa,SAAY,QAAyC,WAAjBqE,EAAQhE,KAAoB,SAAW,KAAM,CAC7F4G,KAAMlC,EAAkBmB,EAAMvF,MAAQ,EAAIiE,EAAWjE,OACrDa,QAASsF,EAAO,KAAOA,EAAO,IAAK,SAAeI,GAAWxC,EAAewB,EAAMvF,MAAQ,EAAIiE,EAAWjE,QAAQ,CAAC,aAClHqG,OAAO,QAAe,CACpB3C,EAAQhB,oBACRgB,EAAQf,qBACRe,EAAQ5B,kBAAoB4B,EAAQd,6BAA+B,KAErE4D,SAAU9C,EAAQ5B,mBACjB,CACDhC,SAAS,SAAQ,IAAM,EACrB,QAAWoG,EAAKO,OAAQ,mBAAoB,CAAC,GAAG,IAAM,EACpD,SAAgB,QAAgB/C,EAAQzB,iBAAkB,SAG9DyE,EAAG,GACF,EAAG,CAAC,OAAQ,QAAS,kBACpB,QAAmB,IAAI,IAC5B,GAEP,G,sBC7lBFE,EAAQ,EAAU,CAACC,EAAKrH,KACpB,MAAMsH,EAASD,EAAIE,WAAaF,EAChC,IAAK,MAAOjI,EAAKoI,KAAQxH,EACrBsH,EAAOlI,GAAOoI,EAElB,OAAOF,CAAM,C","sources":["webpack://agra/./node_modules/vue-awesome-paginate/dist/index.js","webpack://agra/./node_modules/vue-loader/dist/exportHelper.js"],"sourcesContent":["import { defineComponent, toRef, computed, openBlock, createElementBlock, normalizeClass, createBlock, resolveDynamicComponent, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList } from \"vue\";\nvar vueAwesomePaginate_vue_vue_type_style_index_0_lang = \"\";\nconst _hoisted_1 = { key: 0 };\nconst _hoisted_2 = { key: 1 };\nconst _hoisted_3 = { key: 2 };\nconst _hoisted_4 = { key: 3 };\nconst _hoisted_5 = { key: 4 };\nconst _hoisted_6 = { key: 5 };\nconst _hoisted_7 = { key: 6 };\nconst _hoisted_8 = { key: 7 };\nconst _hoisted_9 = { key: 8 };\nconst _hoisted_10 = { key: 9 };\nconst _sfc_main = defineComponent({\n __name: \"vue-awesome-paginate\",\n props: {\n totalItems: {\n type: Number,\n required: true\n },\n itemsPerPage: {\n type: Number,\n default: 10,\n validator: (value) => {\n if (value <= 0) {\n const message = \"itemsPerPage attribute must be greater than 0.\";\n console.error(message);\n throw new TypeError(message);\n }\n return true;\n }\n },\n currentPage: {\n type: Number,\n default: 1,\n validator: (value) => {\n const message = \"currentPage attribute must be greater than 0.\";\n if (value <= 0) {\n console.error(message);\n throw new TypeError(message);\n }\n return true;\n }\n },\n modelValue: {\n type: Number,\n required: true,\n validator: (value) => {\n const message = \"v-model is required and must be greater than 0.\";\n if (value <= 0) {\n console.error(message);\n throw new TypeError(message);\n }\n return true;\n }\n },\n maxPagesShown: {\n type: Number,\n default: 5,\n validator: (value) => {\n const message = \"maxPagesShown attribute must be greater than 0.\";\n if (value <= 0) {\n console.error(message);\n throw new TypeError(message);\n }\n return true;\n }\n },\n dir: {\n type: String,\n default: \"ltr\",\n validator: (value) => {\n const message = 'dir attribute must be either \"ltr\" or \"rtl\".';\n if (value !== \"ltr\" && value !== \"rtl\") {\n console.error(message);\n throw new TypeError(message);\n }\n return true;\n }\n },\n type: {\n type: String,\n default: \"button\",\n validator: (value) => {\n const validTypess = [\"link\", \"button\"];\n const message = \"type attribute must be one of the following: \" + validTypess.join(\", \");\n if (validTypess.indexOf(value) === -1) {\n console.error(message);\n throw new TypeError(message);\n }\n return true;\n }\n },\n onClick: {\n type: Function,\n default: () => {\n }\n },\n locale: {\n type: String,\n default: \"en\",\n validator: (value) => {\n const validLocales = [\"en\", \"ar\", \"ir\"];\n const message = \"locale attribute must be one of the following: \" + validLocales.join(\", \");\n if (validLocales.indexOf(value) === -1) {\n console.error(message);\n throw new TypeError(message);\n }\n return true;\n }\n },\n prevButtonContent: {\n type: String,\n default: \"<\"\n },\n nextButtonContent: {\n type: String,\n default: \">\"\n },\n hidePrevNext: {\n type: Boolean,\n default: false\n },\n hidePrevNextWhenEnds: {\n type: Boolean,\n default: false\n },\n showBreakpointButtons: {\n type: Boolean,\n default: true\n },\n disableBreakpointButtons: {\n type: Boolean,\n default: false\n },\n startingBreakpointContent: {\n type: String,\n default: \"...\"\n },\n endingBreakpointButtonContent: {\n type: String,\n default: \"...\"\n },\n showJumpButtons: {\n type: Boolean,\n default: false\n },\n linkUrl: {\n type: String,\n default: \"#\"\n },\n backwardJumpButtonContent: {\n type: String,\n default: \"<<\"\n },\n forwardJumpButtonContent: {\n type: String,\n default: \">>\"\n },\n disablePagination: {\n type: Boolean,\n default: false\n },\n showEndingButtons: {\n type: Boolean,\n default: false\n },\n firstPageContent: {\n type: String,\n default: \"First\"\n },\n lastPageContent: {\n type: String,\n default: \"Last\"\n },\n backButtonClass: {\n type: String,\n default: \"back-button\"\n },\n nextButtonClass: {\n type: String,\n default: \"next-button\"\n },\n firstButtonClass: {\n type: String,\n default: \"first-button\"\n },\n lastButtonClass: {\n type: String,\n default: \"last-button\"\n },\n numberButtonsClass: {\n type: String,\n default: \"number-buttons\"\n },\n startingBreakpointButtonClass: {\n type: String,\n default: \"starting-breakpoint-button\"\n },\n endingBreakPointButtonClass: {\n type: String,\n default: \"ending-breakpoint-button\"\n },\n firstPageButtonClass: {\n type: String,\n default: \"first-page-button\"\n },\n lastPageButtonClass: {\n type: String,\n default: \"last-page-button\"\n },\n paginateButtonsClass: {\n type: String,\n default: \"paginate-buttons\"\n },\n disabledPaginateButtonsClass: {\n type: String,\n default: \"disabled-paginate-buttons\"\n },\n activePageClass: {\n type: String,\n default: \"active-page\"\n },\n paginationContainerClass: {\n type: String,\n default: \"pagination-container\"\n },\n disabledBreakPointButtonClass: {\n type: String,\n default: \"disabled-breakpoint-button\"\n },\n backwardJumpButtonClass: {\n type: String,\n default: \"backward-jump-button\"\n },\n forwardJumpButtonClass: {\n type: String,\n default: \"forward-jump-button\"\n },\n disabledBackwardJumpButtonClass: {\n type: String,\n default: \"disabled-backward-jump-button\"\n },\n disabledBackButtonClass: {\n type: String,\n default: \"disabled-back-button\"\n },\n disabledFirstButtonClass: {\n type: String,\n default: \"disabled-first-button\"\n },\n disabledLastButtonClass: {\n type: String,\n default: \"disabled-last-button\"\n },\n disabledNextButtonClass: {\n type: String,\n default: \"disabled-next-button\"\n },\n disabledForwardJumpButtonClass: {\n type: String,\n default: \"disabled-forward-jump-button\"\n }\n },\n emits: [\"update:modelValue\", \"click\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n if (props.currentPage && !props.modelValue) {\n throw new Error(\"currentPage/current-page is now deprecated, use v-model instead to set the current page.\");\n }\n if (!props.modelValue) {\n throw new TypeError(`v-model is required for the paginate component.`);\n }\n const currentPageRef = toRef(props, \"modelValue\");\n const emit = __emit;\n const onClickHandler = (number) => {\n if (number === currentPageRef.value)\n return;\n if (number > totalPages.value)\n return;\n if (number < 1)\n return;\n if (props.disablePagination)\n return;\n emit(\"update:modelValue\", number);\n emit(\"click\", number);\n };\n const NumbersLocale = (number) => {\n switch (props.locale) {\n case \"en\":\n return number;\n case \"ar\":\n return number.toLocaleString(\"ar-SA\");\n case \"ir\":\n return number.toLocaleString(\"fa-IR\");\n default:\n return number;\n }\n };\n const navigationHandler = (page) => {\n if (props.type !== \"link\")\n return \"\";\n return props.linkUrl.replace(\"[page]\", page.toString());\n };\n const totalPages = computed(() => Math.ceil(props.totalItems / props.itemsPerPage));\n const paginate = computed(() => {\n let startPage, endPage;\n if (totalPages.value <= props.maxPagesShown) {\n startPage = 1;\n endPage = totalPages.value;\n } else {\n let maxPagesShownBeforeCurrentPage = Math.floor(props.maxPagesShown / 2);\n let maxPagesShownAfterCurrentPage = Math.ceil(props.maxPagesShown / 2) - 1;\n if (currentPageRef.value <= maxPagesShownBeforeCurrentPage) {\n startPage = 1;\n endPage = props.maxPagesShown;\n } else if (currentPageRef.value + maxPagesShownAfterCurrentPage >= totalPages.value) {\n startPage = totalPages.value - props.maxPagesShown + 1;\n endPage = totalPages.value;\n } else {\n startPage = currentPageRef.value - maxPagesShownBeforeCurrentPage;\n endPage = currentPageRef.value + maxPagesShownAfterCurrentPage;\n }\n }\n let pages = Array.from(Array(endPage + 1 - startPage).keys()).map((i) => startPage + i);\n if (props.dir === \"rtl\") {\n pages = pages.reverse();\n }\n return {\n totalItems: props.totalItems,\n currentPage: currentPageRef.value,\n itemsPerPage: props.itemsPerPage,\n totalPages,\n startPage,\n endPage,\n pages\n };\n });\n const isRtl = computed(() => props.dir === \"rtl\");\n const backButtonIfCondition = computed(() => {\n if (isRtl.value)\n return !props.hidePrevNextWhenEnds || currentPageRef.value !== totalPages.value;\n return !props.hidePrevNextWhenEnds || currentPageRef.value !== 1;\n });\n const nextButtonIfCondition = computed(() => {\n if (isRtl.value)\n return !props.hidePrevNextWhenEnds || currentPageRef.value !== 1;\n return !props.hidePrevNextWhenEnds || currentPageRef.value !== totalPages.value;\n });\n const startingBreakPointButtonIfCondition = computed(() => {\n if (isRtl.value) {\n return paginate.value.pages[0] < totalPages.value - 1;\n }\n return paginate.value.pages[0] >= 3;\n });\n const endingBreakPointButtonIfCondition = computed(() => {\n if (isRtl.value) {\n return paginate.value.pages[paginate.value.pages.length - 1] >= 3;\n }\n return paginate.value.pages[paginate.value.pages.length - 1] < totalPages.value - 1;\n });\n const firstButtonIfCondition = computed(() => {\n if (isRtl.value) {\n return paginate.value.pages[0] < totalPages.value;\n }\n return paginate.value.pages[0] >= 2;\n });\n const lastButtonIfCondition = computed(() => {\n if (isRtl.value) {\n return paginate.value.pages[paginate.value.pages.length - 1] >= 2;\n }\n return paginate.value.pages[paginate.value.pages.length - 1] < totalPages.value;\n });\n const firstPageButtonIfCondition = computed(() => {\n if (currentPageRef.value === 1)\n return false;\n return true;\n });\n const lastPageButtonIfCondition = computed(() => {\n if (currentPageRef.value === totalPages.value)\n return false;\n return true;\n });\n if (props.type === \"link\" && props.linkUrl === \"#\") {\n console.error(`linkUrl attribute is required if type attribute is 'link'`);\n throw new TypeError(`linkUrl attribute is required if type attribute is 'link'`);\n }\n if (props.type === \"link\" && !props.linkUrl.includes(\"[page]\")) {\n console.error(`linkUrl attribute must contain '[page]' substring`);\n throw new TypeError(`linkUrl attribute must contain '[page]' substring`);\n }\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"ul\", {\n id: \"componentContainer\",\n class: normalizeClass(__props.paginationContainerClass)\n }, [\n __props.showEndingButtons && firstPageButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_1, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? totalPages.value : 1),\n onClick: _cache[0] || (_cache[0] = withModifiers(($event) => onClickHandler(isRtl.value ? totalPages.value : 1), [\"prevent\"])),\n class: normalizeClass([\n __props.firstPageButtonClass,\n __props.paginateButtonsClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"first-page-button\", {}, () => [\n createTextVNode(toDisplayString(__props.firstPageContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true),\n __props.showJumpButtons && startingBreakPointButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_2, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? currentPageRef.value + Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value - Math.ceil(__props.maxPagesShown / 2)),\n onClick: _cache[1] || (_cache[1] = withModifiers(($event) => onClickHandler(isRtl.value ? currentPageRef.value + Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value - Math.ceil(__props.maxPagesShown / 2)), [\"prevent\"])),\n class: normalizeClass([\n __props.backwardJumpButtonClass,\n __props.paginateButtonsClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\",\n __props.disablePagination ? __props.disabledBackwardJumpButtonClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"backward-jump-button\", {}, () => [\n createTextVNode(toDisplayString(__props.backwardJumpButtonContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true),\n !__props.hidePrevNext && backButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_3, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? currentPageRef.value + 1 : currentPageRef.value - 1),\n onClick: _cache[2] || (_cache[2] = withModifiers(($event) => onClickHandler(isRtl.value ? currentPageRef.value + 1 : currentPageRef.value - 1), [\"prevent\"])),\n class: normalizeClass([\n __props.backButtonClass,\n __props.paginateButtonsClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\",\n __props.disablePagination ? __props.disabledBackButtonClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"prev-button\", {}, () => [\n createTextVNode(toDisplayString(__props.prevButtonContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true),\n __props.showBreakpointButtons && firstButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_4, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? totalPages.value : 1),\n onClick: _cache[3] || (_cache[3] = withModifiers(($event) => onClickHandler(isRtl.value ? totalPages.value : 1), [\"prevent\"])),\n class: normalizeClass([\n __props.firstButtonClass,\n __props.paginateButtonsClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\",\n __props.disablePagination ? __props.disabledFirstButtonClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(isRtl.value ? NumbersLocale(totalPages.value) : NumbersLocale(1)), 1)\n ]),\n _: 1\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true),\n __props.showBreakpointButtons && startingBreakPointButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_5, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(__props.disableBreakpointButtons ? currentPageRef.value : isRtl.value ? currentPageRef.value + Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value - Math.ceil(__props.maxPagesShown / 2)),\n onClick: _cache[4] || (_cache[4] = withModifiers(($event) => onClickHandler(__props.disableBreakpointButtons ? currentPageRef.value : isRtl.value ? currentPageRef.value + Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value - Math.ceil(__props.maxPagesShown / 2)), [\"prevent\"])),\n disabled: __props.disableBreakpointButtons || __props.disablePagination,\n class: normalizeClass([\n __props.startingBreakpointButtonClass,\n __props.paginateButtonsClass,\n __props.disableBreakpointButtons || __props.disablePagination ? `${__props.disabledPaginateButtonsClass} ${__props.disabledBreakPointButtonClass}` : \"\"\n ])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"starting-breakpoint-button\", {}, () => [\n createTextVNode(toDisplayString(__props.startingBreakpointContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"disabled\", \"class\"]))\n ])) : createCommentVNode(\"\", true),\n (openBlock(true), createElementBlock(Fragment, null, renderList(paginate.value.pages, (page, index) => {\n return openBlock(), createElementBlock(\"li\", { key: index }, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(page),\n onClick: withModifiers(() => onClickHandler(page), [\"prevent\"]),\n class: normalizeClass([\n __props.paginateButtonsClass,\n __props.numberButtonsClass,\n page === currentPageRef.value ? __props.activePageClass : \"\",\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(NumbersLocale(page)), 1)\n ]),\n _: 2\n }, 1032, [\"href\", \"onClick\", \"class\", \"disabled\"]))\n ]);\n }), 128)),\n __props.showBreakpointButtons && endingBreakPointButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_6, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(__props.disableBreakpointButtons ? currentPageRef.value : isRtl.value ? currentPageRef.value - Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value + Math.ceil(__props.maxPagesShown / 2)),\n onClick: _cache[5] || (_cache[5] = withModifiers(($event) => onClickHandler(__props.disableBreakpointButtons ? currentPageRef.value : isRtl.value ? currentPageRef.value - Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value + Math.ceil(__props.maxPagesShown / 2)), [\"prevent\"])),\n disabled: __props.disableBreakpointButtons || __props.disablePagination,\n class: normalizeClass([\n __props.endingBreakPointButtonClass,\n __props.paginateButtonsClass,\n __props.disableBreakpointButtons || __props.disablePagination ? `${__props.disabledPaginateButtonsClass} ${__props.disabledBreakPointButtonClass}` : \"\"\n ])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"ending-breakpoint-button\", {}, () => [\n createTextVNode(toDisplayString(__props.endingBreakpointButtonContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"disabled\", \"class\"]))\n ])) : createCommentVNode(\"\", true),\n __props.showBreakpointButtons && lastButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_7, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? 1 : totalPages.value),\n onClick: _cache[6] || (_cache[6] = withModifiers(($event) => onClickHandler(isRtl.value ? 1 : totalPages.value), [\"prevent\"])),\n class: normalizeClass([\n __props.lastButtonClass,\n __props.paginateButtonsClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\",\n __props.disablePagination ? __props.disabledLastButtonClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n createTextVNode(toDisplayString(isRtl.value ? NumbersLocale(1) : NumbersLocale(totalPages.value)), 1)\n ]),\n _: 1\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true),\n !__props.hidePrevNext && nextButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_8, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? currentPageRef.value - 1 : currentPageRef.value + 1),\n onClick: _cache[7] || (_cache[7] = withModifiers(($event) => onClickHandler(isRtl.value ? currentPageRef.value - 1 : currentPageRef.value + 1), [\"prevent\"])),\n class: normalizeClass([\n __props.paginateButtonsClass,\n __props.nextButtonClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\",\n __props.disablePagination ? __props.disabledNextButtonClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"next-button\", {}, () => [\n createTextVNode(toDisplayString(__props.nextButtonContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true),\n __props.showJumpButtons && endingBreakPointButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_9, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? currentPageRef.value - Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value + Math.ceil(__props.maxPagesShown / 2)),\n onClick: _cache[8] || (_cache[8] = withModifiers(($event) => onClickHandler(isRtl.value ? currentPageRef.value - Math.ceil(__props.maxPagesShown / 2) : currentPageRef.value + Math.ceil(__props.maxPagesShown / 2)), [\"prevent\"])),\n class: normalizeClass([\n __props.forwardJumpButtonClass,\n __props.paginateButtonsClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\",\n __props.disablePagination ? __props.disabledForwardJumpButtonClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"forward-jump-button\", {}, () => [\n createTextVNode(toDisplayString(__props.forwardJumpButtonContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true),\n __props.showEndingButtons && lastPageButtonIfCondition.value ? (openBlock(), createElementBlock(\"li\", _hoisted_10, [\n (openBlock(), createBlock(resolveDynamicComponent(__props.type === \"button\" ? \"button\" : \"a\"), {\n href: navigationHandler(isRtl.value ? 1 : totalPages.value),\n onClick: _cache[9] || (_cache[9] = withModifiers(($event) => onClickHandler(isRtl.value ? 1 : totalPages.value), [\"prevent\"])),\n class: normalizeClass([\n __props.lastPageButtonClass,\n __props.paginateButtonsClass,\n __props.disablePagination ? __props.disabledPaginateButtonsClass : \"\"\n ]),\n disabled: __props.disablePagination\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"last-page-button\", {}, () => [\n createTextVNode(toDisplayString(__props.lastPageContent), 1)\n ])\n ]),\n _: 3\n }, 8, [\"href\", \"class\", \"disabled\"]))\n ])) : createCommentVNode(\"\", true)\n ], 2);\n };\n }\n});\nvar VueAwesomePaginatePlugin = {\n install: (app) => {\n app.component(\"VueAwesomePaginate\", _sfc_main);\n }\n};\nexport { _sfc_main as VueAwesomePaginate, VueAwesomePaginatePlugin as default };\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n"],"names":["_hoisted_1","key","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_sfc_main","__name","props","totalItems","type","Number","required","itemsPerPage","default","validator","value","message","console","error","TypeError","currentPage","modelValue","maxPagesShown","dir","String","validTypess","join","indexOf","onClick","Function","locale","validLocales","prevButtonContent","nextButtonContent","hidePrevNext","Boolean","hidePrevNextWhenEnds","showBreakpointButtons","disableBreakpointButtons","startingBreakpointContent","endingBreakpointButtonContent","showJumpButtons","linkUrl","backwardJumpButtonContent","forwardJumpButtonContent","disablePagination","showEndingButtons","firstPageContent","lastPageContent","backButtonClass","nextButtonClass","firstButtonClass","lastButtonClass","numberButtonsClass","startingBreakpointButtonClass","endingBreakPointButtonClass","firstPageButtonClass","lastPageButtonClass","paginateButtonsClass","disabledPaginateButtonsClass","activePageClass","paginationContainerClass","disabledBreakPointButtonClass","backwardJumpButtonClass","forwardJumpButtonClass","disabledBackwardJumpButtonClass","disabledBackButtonClass","disabledFirstButtonClass","disabledLastButtonClass","disabledNextButtonClass","disabledForwardJumpButtonClass","emits","setup","__props","emit","__emit","Error","currentPageRef","onClickHandler","number","totalPages","NumbersLocale","toLocaleString","navigationHandler","page","replace","toString","Math","ceil","paginate","startPage","endPage","maxPagesShownBeforeCurrentPage","floor","maxPagesShownAfterCurrentPage","pages","Array","from","keys","map","i","reverse","isRtl","backButtonIfCondition","nextButtonIfCondition","startingBreakPointButtonIfCondition","endingBreakPointButtonIfCondition","length","firstButtonIfCondition","lastButtonIfCondition","firstPageButtonIfCondition","lastPageButtonIfCondition","includes","_ctx","_cache","id","class","href","$event","disabled","$slots","_","index","exports","sfc","target","__vccOpts","val"],"sourceRoot":""}