PageSourceSearch

https://iexbase.com/en/chunk-CRlM6KzL.js

js iexbase.com collected 2026-10-08 00:25:12 UTC 2,818 bytes, 1 lines download raw bytes

1import{Bn as _E,Di as sx,Jt as SE,L as GN,V as G_,Yn as b0,ci as op,da as zx,ht as LG,la as za,mr as dp,nn as TW,ui as ox,xt as Lt}from"./chunk-0i-sLjiU.js";import{hr as zt}from"./main-O25UP6L3.js";function v(e,o){if(e&1&&(za(0,`div`,2),_E(1,`img`,7),op()),e&2){let t=zx();G_(),SE(`ngSrc`,t.item().attributes.image)(`alt`,t.item().attributes.title)}}function _(e,o){if(e&1&&(za(0,`span`,8),b0(1),op()),e&2){let t=zx(2);G_(),dp(` `,t.item().attributes.category?.name,` `)}}function h(e,o){if(e&1&&(za(0,`span`,9),b0(1),op()),e&2){let t=zx(2);G_(),dp(` `,t.item().attributes.reading_time?.label,` `)}}function w(e,o){if(e&1&&(za(0,`div`,4),ox(1,_,2,1,`span`,8),ox(2,h,2,1,`span`,9),op()),e&2){let t=zx();G_(),sx(t.hasCategory()?1:-1),G_(),sx(t.hasReadingTime()?2:-1)}}function I(e,o){if(e&1&&(za(0,`div`,6),b0(1),op()),e&2){let t=zx();G_(),dp(` `,t.item().attributes.created_at_human,` `)}}var C=class e{constructor(){this.item=LG.required();this.hasReadingTime=Lt(()=>!!this.item().attributes.reading_time?.label);this.newsLink=Lt(()=>[`/blog`,...this.item().attributes.page_url.split(`/`).filter(Boolean)]);this.hasImage=Lt(()=>!!this.item().attributes.image);this.hasCategory=Lt(()=>!!this.item().attributes.category?.name)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=GN({type:e,selectors:[[`news-item`]],inputs:{item:[1,`item`]},decls:8,vars:5,consts:[[1,`block`,3,`routerLink`],[1,`flex`,`h-[400px]`,`flex-col`,`overflow-hidden`,`rounded-3xl`,`border`,`border-border`,`bg-card`,`transition-colors`,`duration-200`,`hover:border-primary/30`],[1,`relative`,`h-[240px]`,`shrink-0`,`overflow-hidden`,`border-b`,`border-border`,`bg-muted/20`],[1,`flex`,`min-h-0`,`flex-1`,`flex-col`,`p-4`],[1,`mb-3`,`flex`,`flex-wrap`,`items-center`,`gap-2`],[1,`line-clamp-2`,`text-base`,`font-medium`,`leading-6`,`tracking-tight`,`text-foreground`],[1,`mt-auto`,`pt-2`,`text-sm`,`text-muted-foreground`],[`fill`,``,`sizes`,`(min-width: 1280px) 25vw, (min-width: 640px) 50vw, 100vw`,`loading`,`lazy`,1,`absolute`,`inset-0`,`size-full`,`rounded-t-3xl`,`object-cover`,3,`ngSrc`,`alt`],[1,`inline-flex`,`items-center`,`rounded-xl`,`border`,`border-border`,`bg-background`,`px-3`,`py-1`,`text-xs`,`font-medium`,`text-muted-foreground`],[1,`inline-flex`,`items-center`,`rounded-xl`,`bg-muted/60`,`px-3`,`py-1`,`text-xs`,`font-medium`,`text-muted-foreground`]],template:function(t,r){t&1&&(za(0,`a`,0)(1,`article`,1),ox(2,v,2,2,`div`,2),za(3,`div`,3),ox(4,w,3,2,`div`,4),za(5,`h2`,5),b0(6),op(),ox(7,I,2,1,`div`,6),op()()()),t&2&&(SE(`routerLink`,r.newsLink()),G_(2),sx(r.hasImage()?2:-1),G_(2),sx(r.hasCategory()||r.hasReadingTime()?4:-1),G_(2),dp(` `,r.item().attributes.title,` `),G_(),sx(r.item().attributes.created_at_human?7:-1))},dependencies:[TW,zt],styles:[`[_nghost-%COMP%]{display:block}`]})}};export{C as 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.