PageSourceSearch

https://www.barnman.cc/_next/static/chunks/8006.b4ab37e0f34a735a.js

js barnman.cc collected 2026-09-25 22:28:51 UTC 3,226 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8006,31325,70282],{31325:function(e,l,r){r.r(l);var a=r(85893),t=r(27134),s=r(67968),n=r(4930),c=r(69325),d=r(41664),i=r.n(d),o=r(41311);l.default=e=>{var l;let{post:r}=e,d=(0,c.JA)("EXAMPLE_POST_LIST_COVER",null,o.default)&&(null==r?void 0:r.pageCoverThumbnail);return(0,a.jsxs)("article",{className:"".concat(d?"flex md:flex-row flex-col-reverse":""," replace mb-12 "),children:[(0,a.jsxs)("div",{className:"".concat(d?"md:w-7/12":""),children:[(0,a.jsx)("h2",{className:"mb-4",children:(0,a.jsxs)(i(),{href:null==r?void 0:r.href,className:"text-black dark:text-gray-100 text-xl md:text-2xl no-underline hover:underline",children:[(0,c.JA)("POST_TITLE_ICON")&&(0,a.jsx)(s.Z,{icon:r.pageIcon}),null==r?void 0:r.title]})}),(0,a.jsxs)("div",{className:"mb-4 text-sm text-gray-700 dark:text-gray-300",children:["by"," ",(0,a.jsx)("a",{href:"#",className:"text-gray-700 dark:text-gray-300",children:(0,c.JA)("AUTHOR")})," ","on ",(null===(l=r.date)||void 0===l?void 0:l.start_date)||r.createdTime,(0,a.jsx)(n.Z,{post:r,className:"pl-1"}),r.category&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"font-bold mx-1",children:" | "}),(0,a.jsx)(i(),{href:"/category/".concat(r.category),className:"text-gray-700 dark:text-gray-300 hover:underline",children:r.category})]})]}),!r.results&&(0,a.jsx)("p",{className:"line-clamp-3 text-gray-700 dark:text-gray-400 leading-normal",children:r.summary}),r.results&&(0,a.jsx)("p",{className:"line-clamp-3 mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7",children:r.results.map((e,l)=>(0,a.jsx)("span",{children:e},l))})]}),d&&(0,a.jsx)("div",{className:"md:w-5/12 w-full h-44 overflow-hidden p-1",children:(0,a.jsx)(i(),{href:null==r?void 0:r.href,passHref:!0,legacyBehavior:!0,children:(0,a.jsx)(t.Z,{src:null==r?void 0:r.pageCoverThumbnail,className:"w-full bg-cover hover:scale-110 duration-200"})})})]})}},8006:function(e,l,r){r.r(l),r.d(l,{BlogListScroll:function(){return u}});var a=r(85893),t=r(69325),s=r(26964),n=r(93096),c=r.n(n),d=r(67294),i=r(41311),o=r(31325);let u=e=>{let{posts:l}=e,{locale:r,NOTION_CONFIG:n}=(0,s.O)(),[u,E]=(0,d.useState)(1),x=(0,t.JA)("POSTS_PER_PAGE",null,n),m=!1,h=l?Object.assign(l).slice(0,x*u):[];l&&(m=u*x<l.length);let _=()=>{m&&E(u+1)},f=(0,d.useRef)(null),g=(0,d.useCallback)(c()(()=>{window.scrollY+window.outerHeight>(f&&f.current?f.current.clientHeight:0)+100&&_()},500)),v=(0,t.JA)("EXAMPLE_POST_LIST_COVER",null,i.default);return(0,d.useEffect)(()=>(window.addEventListener("scroll",g),()=>{window.removeEventListener("scroll",g)})),(0,a.jsxs)("div",{id:"posts-wrapper",className:"w-full ".concat(v?"md:pr-2":"md:pr-12","} mb-12"),ref:f,children:[null==h?void 0:h.map(e=>(0,a.jsx)(o.default,{post:e},e.id)),(0,a.jsxs)("div",{onClick:_,className:"w-full my-4 py-4 text-center cursor-pointer ",children:[" ",m?r.COMMON.MORE:"".concat(r.COMMON.NO_MORE," \uD83D\uDE30")," "]})]})}},41311:function(e,l,r){r.r(l),l.default={EXAMPLE_MENU_CATEGORY:!0,EXAMPLE_MENU_TAG:!0,EXAMPLE_MENU_ARCHIVE:!0,EXAMPLE_MENU_SEARCH:!0,EXAMPLE_POST_LIST_COVER:!0,EXAMPLE_TITLE_IMAGE:!1,EXAMPLE_ARTICLE_LAYOUT_VERTICAL:!1,EXAMPLE_ARTICLE_HIDDEN_NOTIFICATION:!1}}}]);

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.