1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3257],{49294:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search/[search_query]/blog/[sortBy]/[page]",function(){return n(83761)}])},80603:function(e,t,n){"use strict";var a=n(85893),r=n(67294),s=n(9008),c=n.n(s),o=n(11163);t.Z=function(){var e=(0,o.useRouter)(),t=e.locale,n=e.query;return r.useMemo((function(){var e="https://baskadia.com",r="";"string"===typeof n.search_query&&(r=n.search_query.split(/[\s\u3000]+/).join(" ").trim());var s="/search/".concat(encodeURIComponent(r),"/blog"),o="",i="",u="",l="",m="";if("ja"===t)o="\u300c".concat(r||"-","\u300d\u306e\u4f5c\u54c1\u4e00\u89a7 - \u30d6\u30ed\u30b0\u3084\u5c0f\u8aac | Baskadia"),i="Baskadia\u3067\u300c".concat(r||"-","\u300d\u306e\u30d6\u30ed\u30b0\u3084\u5c0f\u8aac\u3092\u8aad\u3093\u3067\u307f\u307e\u3057\u3087\u3046\u3002Baskadia\uff08\u30d0\u30b9\u30ab\u30c7\u30a3\u30a2\uff09\u306f\u3001\u6295\u3052\u92ad\u3067\u30af\u30ea\u30a8\u30a4\u30bf\u30fc\u3092\u5fdc\u63f4\u3067\u304d\u308b\u6295\u7a3f\u30b5\u30a4\u30c8\u3067\u3059\u3002"),u="".concat(e,"/baskadia_ja_banner.png"),l="".concat(e,"/ja").concat(s),m="@baskadia";else o="".concat(r||"-"," - Best Free Writings | Baskadia"),i="Read writings about ".concat(r||"-"," on Baskadia. Baskadia\xae is a platform to share writings, blogs, books, poems & more."),u="".concat(e,"/baskadia_en_banner.png"),l="".concat(e).concat(s),m="@baskadia_en";return(0,a.jsxs)(c(),{children:[(0,a.jsx)("title",{children:o}),(0,a.jsx)("meta",{name:"description",content:i},"description"),(0,a.jsx)("meta",{name:"og:type",content:"website"},"og:type"),(0,a.jsx)("meta",{name:"og:url",content:l},"og:url"),(0,a.jsx)("meta",{name:"og:site_name",content:"baskadia.com"},"og:site_name"),(0,a.jsx)("meta",{name:"og:title",content:o},"og:title"),(0,a.jsx)("meta",{name:"og:description",content:i},"og:description"),(0,a.jsx)("meta",{name:"og:image",content:u},"og:image"),(0,a.jsx)("meta",{name:"fb:app_id",content:"452215405391820"},"fb:app_id"),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,a.jsx)("meta",{name:"twitter:site",content:m},"twitter:site"),(0,a.jsx)("link",{rel:"canonical",href:l},"canonical"),(0,a.jsx)("link",{rel:"alternate",href:"".concat(e).concat(s),hrefLang:"en"},"alternate-en"),(0,a.jsx)("link",{rel:"alternate",href:"".concat(e,"/ja").concat(s),hrefLang:"ja"},"alternate-ja")]})}),[t,n.search_query])}},83761:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return k}});var a=n(47568),r=n(29815),s=n(20414),c=n(85893),o=n(67294),i=n(11163),u=n(60253),l=n(8936),m=n(49384),d=n(13048),f=n(92843),g=n(87920),p=n(62284),h=n(86263),j=n(73844),_=n(80603),x=n(64290),y=n(17674),k=!0;t.default=function(e){var t=e.data,n=(0,i.useRouter)().query,k=o.useMemo((function(){switch(n.sortBy){case"new":return"date";case"ranking":return"tipping";default:return"trend"}}),[n.sortBy]),b=o.useMemo((function(){return"string"!==typeof n.page?0:parseInt(n.page,10)||0}),[n.page]),Z=o.useMemo((function(){return"string"===typeof n.search_query?n.search_query.split(/[\s\u3000]+/).join(" ").trim():""}),[n.search_query]),w=o.useMemo((function(){return encodeURIComponent(Z)}),[Z]),v=(0,d.Z)("/content?search_query=".concat(w,"&type=blog&date=any&sort_by=").concat(k,"&offset=").concat(20*b),{fallbackData:t}),q=v.data,B=v.mutate,C=(0,u.$G)().t,I=o.useCallback(function(){var e=(0,a.Z)((function(e){var t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,B((function(t){if(!t)return t;for(var n=(0,r.Z)(t),a=0;a<n.length;a+=1)if(n[a].ID===e.ID){n.splice(a,1,e);break}return n}),!1)];case 1:return n.sent(),[3,3];case 2:return t=n.sent(),(0,m.kg)(t),[3,3];case 3:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}(),[B]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(_.Z,{}),(0,c.jsx)(p.Z,{component:"main",style:{margin:"16px auto"},children:(0,c.jsxs)(h.Z,{justifyContent:"flex-start",children:[(0,c.jsx)(j.Z,{children:(0,c.jsx)(g.Z,{})}),!q&&Array.from(Array(20).keys()).map((function(e){return(0,c.jsx)(j.Z,{children:(0,c.jsx)(y.Z,{})},e)})),q&&!q.length&&(0,c.jsx)(j.Z,{children:(0,c.jsx)(l.Z,{severity:"info",variant:"filled",children:C("no-results-found")})}),(q||[]).map((function(e){return(0,c.jsx)(o.Fragment,{children:(0,c.jsx)(j.Z,{children:(0,c.jsx)(f.Z,{content:e,onContentUpdate:I})})},e.ID)})),(0,c.jsx)(j.Z,{children:(0,c.jsx)(x.Z,{completed:!!q&&q.length<20})})]})})]})}}},function(e){e.O(0,[8652,3576,868,4116,5749,6405,1208,6597,9774,2888,179],(function(){return t=49294,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.