1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ffabe9ba-ca0d-4e94-949c-df1a88552d21",e._sentryDebugIdIdentifier="sentry-dbid-ffabe9ba-ca0d-4e94-949c-df1a88552d21")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5694],{8183:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[category]",function(){return o(87864)}])},87864:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSG:function(){return S}});var s=o(20567),n=o(14932),a=o(47702),r=o(85893),l=o(9008),c=o.n(l),u=o(67294),i=o(11163),g=o(86492),d=o.n(g),f=o(26933),p=o(91988),b=o(26595),y=o(97677),_=o(43479),h=o(20238),w=o(222);var S=!0;t.default=function(e){var{blog:t,posts:o,totalPages:l,count:g,categories:S}=e,T=(0,a._)(e,["blog","posts","totalPages","count","categories"]);const{blogPosts:P,updateBlogPosts:C,setBlogCount:m,setBlogTotalPages:E,setBlogCurrentOffset:k,blogCount:B,blogCurrentOffset:j,setBlogKeySearch:v,blogKeySearch:x}=(0,_.Z)(),{updateAppState:N,simpleTags:q}=(0,h.b)(),[I,O]=(0,u.useState)(!1),[D,K]=(0,u.useState)(!1),[Z,A]=(0,u.useState)(!1),[R,F]=(0,u.useState)(!0),J=(0,i.useRouter)(),{q:M,category:W}=J.query,X=S.find(e=>e.slug===W)||{};return(0,u.useEffect)(()=>{if(C(o),k(0),E(l),m(g),!Array.isArray(q)||0===q.length){async function e(){const e=await b.n0();N({simpleTags:e})}e()}},[]),(0,u.useEffect)(()=>{async function e(){N({disableScrollTop:!0}),A(!1),K(!1),O(!0);const{posts:e,totalPages:t,count:o}=await p.Jq({keyWords:M,category:X.id,perPage:"10",offset:0,simpleTags:q}),s=!e||0===e.length;A(s),C(e),k(0),E(t),m(o),setTimeout(()=>{O(!1),N({disableScrollTop:!1})},500)}R?(M||W)&&e():e()},[M,W]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(c(),{children:[(0,r.jsx)("title",{children:d().decode(t.title.rendered)}),(0,r.jsx)(w.Z,{page:t})]}),(0,r.jsx)(y.Z,{open:I}),(0,r.jsx)(f.Z,(0,n._)((0,s._)({page:t,categories:S,posts:P,onLoadMore:async()=>{let e,t=0;e=window.document.querySelector(".react-container"),e&&(t=e.scrollTop),A(!1),K(!0),O(!0);const o=0===j?10:j+10,s=await p.Jq({offset:o,keyWords:M,category:X.id,perPage:"10",simpleTags:q});if(s.posts){const{posts:e,totalPages:t,count:n}=s,a=[...P,...e];C(a),k(o),E(t),m(n)}setTimeout(()=>{K(!1),O(!1),e&&(e.scrollTop=t)},500)},blogSearching:I,loadMore:D,noResults:Z,setFirstRender:F},T),{updateBlogPosts:C,blogCurrentOffset:j,setBlogKeySearch:v,blogKeySearch:x,blogCount:B,totalCount:g,showCta:!1}))]})}}},function(e){e.O(0,[8086,6492,79,8262,6066,5843,4290,2319,3142,2927,6586,2888,9774,179],function(){return t=8183,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.