PageSourceSearch

https://ergoplatform.org/_next/static/chunks/8428.51fb172b71396073.js

js ergoplatform.org collected 2026-09-24 18:34:59 UTC 8,392 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6047,8428],{2261:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(7876);a(4232);let s=e=>(0,r.jsxs)("svg",{width:82,height:82,xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{className:"fill-black",fillRule:"evenodd",clipRule:"evenodd",d:"M38.396 51.536h15.871v7.376H27.732V52.21l10.442-11.56-10.392-10.83v-6.722h26.485v7.374H38.733l9.633 10.087-9.97 10.978Z"}),(0,r.jsx)("path",{className:"fill-black",d:"m41 7.462 23.719 9.823 9.824 23.72-9.824 23.72-23.72 9.825-23.719-9.826-9.825-23.72 9.825-23.719L41 7.462ZM41 0c-.422 0-.84.083-1.23.244l-26.718 11.07a3.209 3.209 0 0 0-1.738 1.737L.244 39.771a3.212 3.212 0 0 0 0 2.457l11.07 26.719a3.203 3.203 0 0 0 1.738 1.737l26.719 11.07a3.191 3.191 0 0 0 2.457 0l26.72-11.07a3.208 3.208 0 0 0 1.737-1.737l11.07-26.72a3.212 3.212 0 0 0 0-2.457l-11.07-26.719a3.215 3.215 0 0 0-1.738-1.737L42.228.244A3.234 3.234 0 0 0 41 0Z"})]})},5967:(e,t,a)=>{"use strict";a.d(t,{XU:()=>m});var r,s,l=a(3247),i=a(4232),n=a(7742);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(s||(s={}));var o=function(e){var t=(0,n.A)(),a=e.value,r=e.children,s=(0,l.Tt)(e,["value","children"]);return r(t.formatNumberToParts(a,s))};function d(e){var t=function(t){var a=(0,n.A)(),r=t.value,s=t.children,i=(0,l.Tt)(t,["value","children"]),o="string"==typeof r?new Date(r||0):r;return s("formatDate"===e?a.formatDateToParts(o,i):a.formatTimeToParts(o,i))};return t.displayName=s[e],t}function c(e){var t=function(t){var a=(0,n.A)(),r=t.value,s=t.children,o=(0,l.Tt)(t,["value","children"]),d=a[e](r,o);if("function"==typeof s)return s(d);var c=a.textComponent||i.Fragment;return i.createElement(c,null,d)};return t.displayName=r[e],t}o.displayName="FormattedNumberParts",o.displayName="FormattedNumberParts";var m=c("formatDate");c("formatTime"),c("formatNumber"),c("formatList"),c("formatDisplayName"),d("formatDate"),d("formatTime")},6566:(e,t,a)=>{"use strict";a.d(t,{A:()=>x});var r=a(7876),s=a(4587),l=a.n(s),i=a(8230),n=a.n(i),o=a(9099),d=a(8733),c=a(5967),m=a(2261),u=a(4697);let p=a(8657);function x({id:e,title:t,subtitle:a,author:s,date:i,image:x,tags:h,url:f,type:b,content:g,permalink:v,blogPhoto:N,authorPhoto:w,needsTranslation:j}){let{locale:y}=(0,o.useRouter)(),k=!1,$="";N&&(k=!0,$="https://storage.googleapis.com/ergo-cms-media"+N),x&&(k=!0,$=x);let L="news"===b&&f&&"string"==typeof f&&f.trim().length>0?f:v?"/blog/"+v:"#",T=(0,u.sX)(L),P=T||(0,u.EK)(L)||"#",D=!!T;return(0,r.jsxs)("div",{className:`blog-post group cursor-pointer transition-transform duration-200 ease-out hover:-translate-y-1 hover:shadow-2xl flex-shrink-0 shadow-xl rounded-2xl relative z-10 overflow-hidden bg-white dark:bg-zinc-900 w-full border flex flex-col h-[520px] ${"news"===b?"border-brand-orange/50":"border-transparent"}`,children:["en"!==y&&j?(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-black/30 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center",children:(0,r.jsx)("span",{className:"px-3 py-1 rounded-full bg-brand-orange text-black text-sm font-semibold shadow",children:(0,r.jsx)(d.A,{id:"components.post.translate",defaultMessage:"Translate"})})}):null,D?(0,r.jsx)("a",{href:P,className:"absolute inset-0 z-10","aria-label":t,target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)("span",{className:"sr-only",children:t})}):(0,r.jsx)(n(),{href:P,prefetch:!1,className:"absolute inset-0 z-10","aria-label":t,children:(0,r.jsx)("span",{className:"sr-only",children:t})}),(0,r.jsx)("div",{className:"flex-shrink-0 relative",children:(0,r.jsxs)("div",{className:"block leading-none",children:[!1==k?(0,r.jsx)("div",{className:"post-image-wrap relative h-[192px] rounded-t-2xl overflow-hidden leading-none",children:(0,r.jsx)("div",{className:"absolute inset-0 bg-gray-200 dark:bg-zinc-700 w-full h-full"})}):(0,r.jsx)("div",{className:"post-image-wrap relative h-[192px] rounded-t-2xl overflow-hidden leading-none",children:(0,r.jsx)(l(),{className:"object-cover",src:$,alt:"",fill:!0,sizes:"(max-width: 1280px) 100v
1w, 384px"})}),(0,r.jsx)("div",{className:"absolute top-4 right-4 z-20",children:h?.split(",").slice(0,1).filter(e=>e.length>0).map(e=>(0,r.jsx)(n(),{href:`/category/${e.trim()}`,children:(0,r.jsx)("span",{className:"inline-flex w-fit items-center px-3.5 py-1.5 rounded-full uppercase tracking-widest text-xs md:text-sm font-semibold text-black bg-brand-orange border border-brand-orange-dark",children:e.trim()},e.trim())},e.trim()))})]})}),(0,r.jsxs)("div",{className:"flex-1 p-4 md:p-6 flex flex-col justify-start rounded-b-2xl overflow-hidden",children:[(0,r.jsx)("div",{className:"flex-1 text-clip",children:(0,r.jsxs)("div",{className:"block",role:"group","aria-label":t,children:[(0,r.jsx)("p",{className:"font-roboto text-[20px] text-black dark:text-white mb-2",style:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:t}),(0,r.jsx)("p",{className:"font-roboto text-[16px] text-[#585858] dark:text-gray-400 mb-2 leading-snug",style:{display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},children:"news"==b?a:(()=>{let e=p("string"==typeof g?g:"")||"";if(e.length<=130)return e.endsWith(".")?e:e+".";let t=e.slice(0,130),a=t.lastIndexOf(".");return a>0?t.slice(0,a+1):t+"."})()})]})}),(0,r.jsxs)("div",{className:"mt-auto pt-2 flex items-center gap-2",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)(m.A,{viewBox:"0 0 82 82",className:"h-10 w-10 dark:invert"})}),(0,r.jsxs)("div",{className:"ml-3",children:[(0,r.jsx)("b",{className:"text-[16px] text-black dark:text-white truncate max-w-[140px]",children:s}),(0,r.jsx)("div",{className:"flex space-x-1",children:(0,r.jsx)("p",{className:"text-[#000000] dark:text-white truncate whitespace-nowrap max-w-[160px]",children:(0,r.jsx)(c.XU,{value:i,day:"numeric",month:"long",year:"numeric"})})})]})]})]}),"news"===b?(0,r.jsx)("span",{className:"absolute bottom-3 right-3 z-20 px-3 py-1 rounded-full text-xs font-semibold bg-brand-orange text-black shadow-md",children:"\uD83D\uDCE3 News"}):null]})}},8428:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>l});var r=a(7876),s=a(6566);function l(e){return(0,r.jsxs)("div",{id:"Feed",className:"flex overflow-x-auto space-x-8 mt-8 no-scrollbar pb-10 relative z-12",children:[(0,r.jsx)("div",{className:"hidden md:block md:w-20 flex-shrink-0"}),e.posts.data?.map(e=>(0,r.jsx)(s.A,{id:e.id,title:e.attributes.title,author:e.attributes.author,subtitle:e.attributes.subtitle,tags:e.attributes.tag,date:e.attributes.date,url:e.attributes.url,permalink:e.attributes.permalink,type:e.attributes.type,content:e.attributes.content,image:e.attributes.image?.data?.attributes?.formats?.medium?.url??null,blogPhoto:e.attributes.blogPhoto,authorPhoto:e.attributes.authorPhoto},e.id))]})}},8657:e=>{e.exports=function(e,t){(t=t||{}).listUnicodeChar=!!t.hasOwnProperty("listUnicodeChar")&&t.listUnicodeChar,t.stripListLeaders=!t.hasOwnProperty("stripListLeaders")||t.stripListLeaders,t.gfm=!t.hasOwnProperty("gfm")||t.gfm,t.useImgAltText=!t.hasOwnProperty("useImgAltText")||t.useImgAltText;var a=e||"";a=a.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{t.stripListLeaders&&(a=t.listUnicodeChar?a.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,t.listUnicodeChar+" $1"):a.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),t.gfm&&(a=a.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),a=a.replace(/<[^>]*>/g,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,t.useImgAltText?"$1":"").replace(/\[(.*?)\][\[\(].*?[\]\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,"\n\n")}catch(t){return console.error(t),e}return a}}}]);

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.