1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7adc304a-aaad-57eb-92bc-0e8553c46a94")}catch(e){}}(); 3import{a as e,t}from"./jsx-runtime-CMgEUHpv.js";import{V as n}from"./dist-CAHjj65Z.js";import{t as r}from"./useTranslation-BymTnaHx.js";import{t as i}from"./classnames-PxzWHlFm.js";import{t as a}from"./useWebThemeContext-BJu9VsBR.js";import{t as o}from"./PostCardv3-C5or4sKe.js";import{t as s}from"./Button-DG1GtAKw.js";import{t as c}from"./PostCard-DDx38Cni.js";var l=e(n());function u({title:e,titleId:t,...n},r){return l.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?l.createElement(`title`,{id:t},e):null,l.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M15.182 16.318A4.486 4.486 0 0 0 12.016 15a4.486 4.486 0 0 0-3.198 1.318M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM9.75 9.75c0 .414-.168.75-.375.75S9 10.164 9 9.75 9.168 9 9.375 9s.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Zm5.625 0c0 .414-.168.75-.375.75s-.375-.336-.375-.75.168-.75.375-.75.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Z`}))}var d=l.forwardRef(u),f=e(i(),1),p=t(),m=({publication:e})=>(0,p.jsx)(`div`,{className:(0,f.default)(`text-md cursor-point flex h-36 w-full animate-pulse items-center justify-center rounded-wt transition-all`,e.web_theme.content_theme===`light`?`bg-slate-200 text-wt-primary hover:bg-slate-200`:``,e.web_theme.content_theme===`dark`?`bg-white/5 text-wt-text-on-background hover:bg-white/20`:``,e.web_theme.content_theme===`secondary`?`bg-white/5 text-wt-text-on-background hover:bg-white/20`:``)}),h=({publication:e})=>(0,p.jsxs)(`div`,{className:`mb-4 grid grid-cols-1 gap-0 pb-8 sm:grid-cols-2 sm:gap-6 lg:grid-cols-3 lg:gap-8`,children:[(0,p.jsx)(m,{publication:e}),(0,p.jsx)(m,{publication:e}),(0,p.jsx)(m,{publication:e}),(0,p.jsx)(m,{publication:e}),(0,p.jsx)(m,{publication:e}),(0,p.jsx)(m,{publication:e}),(0,p.jsx)(m,{publication:e})]}),g=({publication:e,posts:t,isSearching:n,isLoading:i,showLoadMore:l,fetchPosts:u,cardStyles:f})=>{let{isEnabled:m}=a(),{t:g}=r();return n?(0,p.jsx)(h,{publication:e}):t.length===0?(0,p.jsxs)(`div`,{className:`flex w-full items-center justify-center space-x-2 pb-8 opacity-40`,children:[(0,p.jsx)(d,{className:`h-8 w-8 text-wt-text-on-background`}),(0,p.jsx)(`span`,{className:`py-8 text-xl font-medium text-wt-text-on-background`,children:g(`search.posts.no_results`)})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(`div`,{className:`grid grid-cols-1 gap-4 pb-8 md:grid-cols-2 md:gap-6 lg:grid-cols-3 lg:gap-8`,children:t.map((t,n)=>m?(0,p.jsx)(o,{post:t,cardStyles:f},t.id):(0,p.jsx)(c,{publication:e,post:t,titleSize:`lg`,descriptionSize:`md`,theme:`default`,showImage:!0,variant:`news`},t.id))}),l&&(0,p.jsx)(`div`,{className:`mt-6 flex w-full justify-center`,children:(0,p.jsx)(s,{className:`transition-all group-hover:brightness-110`,onClick:u,variant:`secondary`,children:i?`${g(`shared.actions.loading`)}...`:g(`shared.cta.load_more`)})})]})};export{g as t}; 4//# sourceMappingURL=NewsFeedPosts-DGm4Hs8O.js.map 5//# debugId=7adc304a-aaad-57eb-92bc-0e8553c46a94
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.