PageSourceSearch

https://boighor.com/_next/static/chunks/pages/contents/genre/%5Bgenrecode%5D-20d61a570342c3b2.js

js boighor.com collected 2026-10-02 00:00:12 UTC 3,940 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4202],{1366:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contents/genre/[genrecode]",function(){return t(3816)}])},3816:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return x},default:function(){return b}});var o=t(4051),r=t.n(o),i=t(5893),s=t(9008),a=t(1163),c=t(7294),u=t(8533),d=t(7364),l=t(6986),v=t(7114),f=t(8484),h=t(270);function p(e,n,t,o,r,i,s){try{var a=e[i](s),c=a.value}catch(u){return void t(u)}a.done?n(c):Promise.resolve(c).then(o,r)}var g=function(e){var n=e.booksContent,t=e.code,o=(0,c.useState)(n),s=o[0],a=o[1],g=(0,d.Z)().user,m=(0,c.useState)(null===n||void 0===n?void 0:n.data),x=m[0],b=m[1],k=(0,c.useState)(2),w=k[0],_=k[1],j=function(){var e,n=(e=r().mark((function e(){var n,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(w<=(null===s||void 0===s?void 0:s.pagelimit))){e.next=6;break}return n={page:w,genrecode:t,msisdn:(null===g||void 0===g?void 0:g.msisdn)||""},e.next=4,(0,l.fJ)(n);case 4:"1"===(o=e.sent).status.responseCode?(a(o.data),b(x.concat(null===o||void 0===o?void 0:o.data.data))):alert("No Data Found!");case 6:_(w+1);case 7:case"end":return e.stop()}}),e)})),function(){var n=this,t=arguments;return new Promise((function(o,r){var i=e.apply(n,t);function s(e){p(i,o,r,s,a,"next",e)}function a(e){p(i,o,r,s,a,"throw",e)}s(void 0)}))});return function(){return n.apply(this,arguments)}}();return(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Z,{title:null===s||void 0===s?void 0:s.genre_en}),(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("main",{className:"inner-page-sec-padding-bottom",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)(u.Z,{style:{overflow:"visible"},dataLength:null===x||void 0===x?void 0:x.length,next:j,scrollThreshold:.5,hasMore:!((null===s||void 0===s?void 0:s.pagelimit)<w),loader:(0,i.jsx)(v.Z,{}),children:(0,i.jsx)(h.Z,{booklist:x})})})})})]})};function m(e,n,t,o,r,i,s){try{var a=e[i](s),c=a.value}catch(u){return void t(u)}a.done?n(c):Promise.resolve(c).then(o,r)}var x=!0,b=function(e){var n=e.booksContent,t=(0,a.useRouter)(),o=(0,c.useState)(null),u=o[0],f=o[1],h=(0,d.Z)(),p=h.user,x=h.isLoading,b=(0,c.useState)(!0),k=b[0],w=b[1],_=function(){var e,n=(e=r().mark((function e(){var n,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(!0),n={page:1,genrecode:t.query.genrecode,msisdn:null===p||void 0===p?void 0:p.msisdn},e.prev=2,e.next=5,(0,l.fJ)(n);case 5:o=e.sent,f(o.data),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:return e.prev=11,w(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[2,9,11,14]])}
1)),function(){var n=this,t=arguments;return new Promise((function(o,r){var i=e.apply(n,t);function s(e){m(i,o,r,s,a,"next",e)}function a(e){m(i,o,r,s,a,"throw",e)}s(void 0)}))});return function(){return n.apply(this,arguments)}}();return(0,c.useEffect)((function(){t.query.genrecode&&!x&&_()}),[p,x,t.query.genrecode]),k||t.isFallback||x?(0,i.jsx)("div",{className:"container",children:(0,i.jsx)(v.Z,{})}):(0,i.jsxs)("div",{children:[(0,i.jsxs)(s.default,{children:[(0,i.jsx)("title",{children:" ".concat(null===u||void 0===u?void 0:u.genre_en," | Boighor")}),(0,i.jsx)("meta",{property:"og:title",content:" ".concat(null===u||void 0===u?void 0:u.genre_en," | Boighor")}),(0,i.jsx)("meta",{name:"og:description",content:"Download top rated & best selling bangla e-books from the renowned authors. Boighor is the largest library of Bengali e-books of all time & genre, Captivating Audio-books with the smartest & simplest UI for your utmost eBook reading experience."})]}),!k&&void 0!==(null===p||void 0===p?void 0:p.msisdn)&&u?(0,i.jsx)(g,{booksContent:u,code:t.query.genrecode}):(0,i.jsx)(g,{booksContent:n,code:t.query.genrecode})]})}}},function(e){e.O(0,[2013,4980,3874,5675,4949,4815,8379,9774,2888,179],(function(){return n=1366,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.