PageSourceSearch

https://comfyai.app/_next/static/chunks/4426.4e5354791703526b.js

js comfyai.app collected 2026-10-04 23:46:13 UTC 6,439 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4426,7835,70387,6140,27143,88748,24596,70752,78790,40055,6221],{78790:function(e,r,t){t.d(r,{Z:function(){return o}});var n=t(85893),a=t(21384),s=t(9008),l=t.n(s),i=t(67294);let c=(e,r)=>{let t=Number(e),n=Number(r);return Number.isFinite(t)&&t>0?Number.isFinite(n)&&n>0?Math.min(t,n):t:r};function o(e){let{priority:r,id:t,src:s,alt:o,fallbackSrc:d,placeholderSrc:h,className:m,width:p,height:f,title:g,onLoad:x,onClick:y,style:b}=e,v=c(p,(0,a.JA)("IMAGE_COMPRESS_WIDTH")),j=(0,a.JA)("IMG_LAZY_LOAD_PLACEHOLDER"),N=(0,i.useRef)(null),[w,A]=(0,i.useState)(r&&s?u(s,v):h||j),[O,P]=(0,i.useState)(!!(r&&s)),k=(0,i.useCallback)(()=>{N.current&&(N.current.src!==d&&d?N.current.src=d:N.current.src!==h&&h?N.current.src=h:N.current.src=j,P(!0),N.current.classList.remove("lazy-image-placeholder"))},[j,d,h]);(0,i.useEffect)(()=>{let e=u(s,v)||j,t=N.current,n=()=>{"function"==typeof x&&x(),P(!0),N.current&&N.current.classList.remove("lazy-image-placeholder")};if(r){let r=new Image;r.src=e,r.onload=()=>{A(e),n(e)},r.onerror=k;return}if(!window.IntersectionObserver){let r=new Image;r.src=e,r.onload=()=>{A(e),n(e)},r.onerror=k;return}let l=new IntersectionObserver(r=>{r.forEach(r=>{if(r.isIntersecting){let t=new Image;"decoding"in t&&(t.decoding="async"),t.src=e,t.onload=()=>{A(e),n(e)},t.onerror=k,l.unobserve(r.target)}})},{rootMargin:(0,a.JA)("LAZY_LOAD_THRESHOLD","200px"),threshold:.1});return t&&l.observe(t),()=>{t&&l.unobserve(t)}},[s,v,r,j,d,k,x,h]);let I={ref:N,src:w,"data-src":s,alt:o||"Lazy loaded image",onLoad:()=>{},onError:k,className:"".concat(m||"").concat(O?"":" lazy-image-placeholder"),style:b,onClick:y,loading:r?"eager":"lazy",decoding:"async",...(0,a.JA)("WEBP_SUPPORT")&&{"data-webp":!0},...(0,a.JA)("AVIF_SUPPORT")&&{"data-avif":!0}};return(t&&(I.id=t),g&&(I.title=g),p&&(I.width=p),f&&(I.height=f),r&&(I.fetchpriority="high"),s)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{alt:I.alt,...I}),r&&(0,n.jsx)(l(),{children:(0,n.jsx)("link",{rel:"preload",as:"image",href:u(s,v),fetchpriority:"high"})})]}):null}let u=(e,r)=>{var t,n;if(!e)return null;let a=(null===(n=window)||void 0===n?void 0:null===(t=n.screen)||void 0===t?void 0:t.width)||r,s=Number(r),l=Number.isFinite(s)&&s>0?Math.min(a,s):a;return l?e.replace(/width=\d+/,"width=".concat(l)).replace(/w=\d+/,"w=".concat(l)):e}},98685:function(e,r,t){var n=t(85893),a=t(78790);r.Z=e=>{let{icon:r}=e;return r?r.startsWith("http")||r.startsWith("data:")?(0,n.jsx)(a.Z,{src:r,className:"w-8 h-8 my-auto inline mr-1"}):(0,n.jsx)("span",{className:"mr-1",children:r}):(0,n.jsx)(n.Fragment,{})}},7835:function(e,r,t){var n=t(85893),a=t(41664),s=t.n(a),l=t(21384);let i=e=>{let{passHref:r,legacyBehavior:t,placeholderSrc:n,fallbackSrc:a,...s}=e;return s},c=e=>{let{placeholderSrc:r,fallbackSrc:t,src:n,alt:a,width:s,height:l,loading:i,decoding:c,onLoad:o,onError:u,...d}=e;return d};r.Z=e=>{let{href:r,children:t,...a}=e,o=(0,l.JA)("LINK"),u="";"string"==typeof r?u=r:"object"==typeof r&&null!==r&&"string"==typeof r.pathname&&(u=r.pathname);let d=u.startsWith("http")&&!u.startsWith(o),h=()=>{var e;let r=new URLSearchParams((null===(e=window.location.search)||void 0===e?void 0:e.slice(1))||""),t={};for(let[e,n]of r.entries())""!==n&&(t[e]=n);return t};if(d){let e="string"==typeof r?r:new URL(r.pathname,o).toString();return(0,n.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...i(a),children:t})}let m="string"==typeof r?(e=>{if("string"!=typeof e||!e||e.startsWith("#"))return e;let r=h();if(0===Object.keys(r).length)return e;let t=e.startsWith("http://")||e.startsWith("https://"),n=new URL(e,o);return(Object.entries(r).forEach(e=>{let[r,t]=e;n.searchParams.has(r)||n.searchParams.set(r,t)}),t)?n.toString():"".concat(n.pathname).concat(n.search).concat(n.hash)})(r):(e=>{if(!e||"object"!=typeof e)return e;let r=h();return 0===Object.keys(r).length?e:{...e,query:{...r,...e.query||{}}}})(r);return(0,n.jsx)(s(),{href:m,...c(a),children:t})}},4426:function(e,r,t){t.r(r),t.d(r,{BlogListPage:function(){return o}});var n=t(85893),a=t(21384),s=t(76966),l=t(7835),i=t(11163),c=t(88748);let o=e=>{let{page:r=1,posts:t,postCount:o}=e,{locale:u}=(0,s.Og)(),d=(0,i.useRouter)(),{NOTION_CONFIG:h}=(0,s.Og)(),m=(0,a.JA)("POSTS_PER_PAGE",null,h),p=+r,f=p<Math.ceil(o/m)&&(null==t?void 0:t.length)>0,g=d.asPath.split("?")[0].replace(/\/page\/[1-9]\d*/,"").replace(/\/$/,"").replace(".html","");return(0,n.jsxs)("div",{className:"w-full md:pr-12 my-6",children:[(0,n.jsx)("div",{id:"posts-wrapper",children:null==t?void 0:t.map(e=>(0,n.jsx)(c.default,{post:e},e.id))}),(0,n.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,n.jsx)(l.Z,{href:{pathname:p-1==1?"".concat(g,"/"):"".concat(g,"/page/").concat(p-1),query:d.query.s?{s:d.query.s}:{}},className:"".concat(p>1?"  ":" invisible block pointer-events-none ","no-underline py-2 px-3 rounded"),children:(0,n.jsxs)("button",{rel:"prev",className:"block cursor-pointer",children:["← ",u.PAGINATION.PREV]})}),(0,n.jsx)(l.Z,{href:{pathname:"".concat(g,"/page/").concat(p+1),query:d.query.s?{s:d.query.s}:{}},className:"".concat(f?"  ":"invisible pointer-events-none ","  no-underline py-2 px-3 rounded"),children:(0,n.jsxs)("button",{rel:"next",className:"block cursor-pointer",children:[u.PAGINATION.NEXT," →"]})})]})]})}},88748:function(e,r,t){t.r(r);var n=t(85893),a=t(98685),s=t(87897),l=t(21384),i=t(76966),c=t(7835);r.default=e=>{let{post:r}=e,{NOTION_CONFIG:t}=(0,i.Og)(),o=(0,l.JA)("POST_LIST_PREVIEW",!1,t)&&(null==r?void 0:r.blockMap);return(0,n.jsx)(c.Z,{href:null==r?void 0:r.href,children:(0,n.jsxs)("article",{className:"mb-6 md:mb-8",children:[(0,n.jsxs)("header",{className:"flex flex-col justify-between md:flex-row md:items-baseline",children:[(0,n.jsxs)("h2",{className:"text-lg md:text-xl font-medium mb-2 cursor-pointer text-black dark:text-gray-100",children:[(0,l.JA)("POST_TITLE_ICON")&&(0,n.jsx)(a.Z,{icon:r.pageIcon}),r.title]}),(0,n.jsx)("time",{className:"flex-shrink-0 text-gray-600 dark:text-gray-400",children:null==r?void 0:r.publishDay})]}
1),(0,n.jsxs)("main",{children:[!o&&(0,n.jsx)("p",{className:"hidden md:block leading-8 text-gray-700 dark:text-gray-300",children:r.summary}),o&&(null==r?void 0:r.blockMap)&&(0,n.jsxs)("div",{className:"overflow-ellipsis truncate",children:[(0,n.jsx)(s.default,{post:r}),(0,n.jsx)("hr",{className:"border-dashed py-4"})]})]})]},r.id)})}}}]);

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.