4 lines
1022 B
JavaScript
4 lines
1022 B
JavaScript
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d7ecc189-51bb-0e2a-2bd8-12ef9f408681")}catch(e){}}();
|
|
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,783488,e=>{"use strict";var t=e.i(907358),n=e.i(976819);function o({currentPage:e,totalPages:o,locale:r}){let a=(0,n.useRouter)();return(0,t.useEffect)(()=>{let t=t=>{document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA"&&document.activeElement?.tagName!=="SELECT"&&("ArrowLeft"===t.key&&e>1?a.push(`/${r}/blog?page=${e-1}`):"ArrowRight"===t.key&&e<o&&a.push(`/${r}/blog?page=${e+1}`))};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e,o,r,a]),null}e.s(["BlogPaginationKeyboardObserver",()=>o])}]);
|
|
|
|
//# debugId=d7ecc189-51bb-0e2a-2bd8-12ef9f408681
|