PageSourceSearch

https://cdn-web.mediately.co/_next/static/chunks/pages/articles-aa7c24557aeb26d3.js

js mediately.co collected 2026-10-01 11:46:13 UTC 4,899 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2977],{1867:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSP:()=>L,default:()=>P});var n=t(37876),o=t(83242),d=t(89661),r=t(9696),a=t(89099),s=t(14232),l=t(15526),c=t(5646),h=t(90402),m=t(89726),p=t(48230),g=t.n(p),x=t(18478),u=t(77503),f=t(36641);let b=c.Ay.div.withConfig({componentId:"sc-d3bd1c64-0"})(["background-color:",";border-radius:12px;overflow:hidden;display:flex;flex-direction:column;height:484px;> *{margin-left:16px;margin-right:16px;}@media (max-width:","){height:unset;}"],e=>e.theme.color.backgroundThird,e=>e.theme.gridBreakpoints.md),y=c.Ay.img.withConfig({componentId:"sc-d3bd1c64-1"})(["width:100%;height:auto;margin:0;"]),w=(0,c.Ay)(x.D).withConfig({componentId:"sc-d3bd1c64-2"})(["margin:16px 12px 0 12px;"]),j=c.Ay.h2.withConfig({componentId:"sc-d3bd1c64-3"})(["margin:16px 16px 8px 16px;font-size:",";font-weight:",";padding:0;"],e=>e.theme.font.size.lg,e=>e.theme.font.weight.semibold),A=c.Ay.div.withConfig({componentId:"sc-d3bd1c64-4"})(["display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;line-height:22px;overflow:hidden;hyphens:auto;p{display:inline;}"]),_=c.Ay.div.withConfig({componentId:"sc-d3bd1c64-5"})(["flex-grow:1;@media (max-width:","){height:40px;}"],e=>e.theme.gridBreakpoints.md),k=c.Ay.div.withConfig({componentId:"sc-d3bd1c64-6"})(["align-items:center;display:flex;margin-bottom:16px;"]),v=(0,c.Ay)(m.Id).withConfig({componentId:"sc-d3bd1c64-7"})(["width:16px;height:auto;"]),C=(0,c.Ay)(g()).withConfig({componentId:"sc-d3bd1c64-8"})(["margin:0;text-decoration:none;color:inherit;"," &:hover{text-decoration:none;color:inherit;}"],e=>e.$marginLeftAuto&&(0,c.AH)(["margin-left:auto;"])),I=({article:e})=>{let i=`articles/${e.slug}`;return(0,n.jsxs)(b,{children:[(0,n.jsx)(C,{href:i,children:(0,n.jsx)(y,{src:e.featured_image_url,alt:`${e.title} image`,title:e.title})}),(0,n.jsx)(w,{children:e.categories.map(e=>(0,n.jsx)(f.A,{children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},e))}),(0,n.jsx)(C,{href:i,children:(0,n.jsx)(j,{children:e.title})}),(0,n.jsx)(A,{dangerouslySetInnerHTML:{__html:e.description}}),(0,n.jsx)(_,{}),(0,n.jsxs)(k,{children:[(0,n.jsx)(u.A,{article:e}),(0,n.jsx)(C,{href:i,$marginLeftAuto:!0,children:(0,n.jsx)(v,{})})]})]})};var M=t(20987),N=t(35806);let S=async({locale:e,from:i,to:t})=>(0,N.A)("https://mediately.co/api/v6/articles",{headers:(0,N.l)({locale:e}),params:{from:i,to:t}});var T=t(15838);let H=(0,c.Ay)(o.p_).withConfig({componentId:"sc-e5deabb0-0"})(["margin:12px -20px 0 -20px;> *{padding:0;border:20px "," solid;}@media (max-width:","){margin-top:-20px;}"],e=>e.theme.color.backgroundSecond,e=>e.theme.gridBreakpoints.sm_576),q=c.Ay.div.withConfig({componentId:"sc-e5deabb0-1"})(["display:flex;justify-content:center;div{align-items:center;tab-index:0;cursor:pointer;color:",";font-weight:",";margin-top:20px;text-transform:uppercase;svg{height:14px;margin-left:12px;transform:rotate(-90deg);display:inline-block;}}"],e=>e.theme.color.mdBluePrimary,e=>e.theme.font.weight.semibold),B=(0,c.Ay)(h.KY).withConfig({componentId:"sc-e5deabb0-2"})(["@media (max-width:","){display:none;}"],e=>e.theme.gridBreakpoints.sm),E=(0,c.Ay)(o.UV).withConfig({componentId:"sc-e5deabb0-3"})(["margin:auto;display:block;"]);var L=!0;let P=({defaultArticles:e,locale:i,total:t})=>{let c=(0,a.useRouter)(),{messages:h}=(0,d.tz)(),[m,p]=(0,s.useState)(e),g=s.useMemo(()=>c.query.to&&parseInt(c.query.to)||6,[c.query]),x=s.useCallback(()=>{c.replace({query:{...c.query,to:g+6}},void 0,{scroll:!1})},[c,g]),{mutate:u,isLoading:f}=(0,l.n)({mutationFn:()=>S({locale:i,from:g-6,to:Math.min(g,t)}),onSuccess:e=>p(i=>[...i,...e.articles])});(0,T.HL)(u,[g]);let b=s.useMemo(()=>t>m.length,[t,m]);return(0,n.jsx)(M.A,{withHeaderTitle:!0,pageTitle:h["journal.title"]||"Welcome to Mediately News",children:(0,n.jsxs)(o.Wt,{children:[(0,n.jsx)(B,{children:(0,n.jsx)("div",{children:(0,n.jsx)(d.sA,{id:"journal.info",defaultMessage:"Here you will find a variety of useful insights about your medical field of interest and your specialisation, get informed on the latest medical guidelines, new treatment options, and receive fresh updates about the mediately Drug Database. Mediately helps doctors make better decisions by making medical knowledge accessible. We do this through the Mediately mobile application that you can download here."})})}),(0,n.jsx)(H,{children:m.map(e=>(0,n.jsx)(o.je,{lg:4,md:6,sm:12,children:(0,n.jsx)(I,{article:e,locale:i})},e.slug))}),b&&(0,n.jsx)(q,{children:f?(0,n.jsx)(E,{}):(0,n.jsxs)("div",{onClick:x,children:[(0,n.jsx)("span",{children:(0,n.jsx)(d.sA,{id:"journal.load-more-articles",defaultMessage:"click to load more news"})}),(0,n.jsx)(r.A,{})]})})]})})}},84001:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/articles",function(){return t(1867)}])}},e=>{e.O(0,[4710,6593,636,8792],()=>e(e.s=84001)),_N_E=e.O()}]);

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.