1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11060],{53274:(e,t,i)=>{i.r(t),i.d(t,{AdMostRead:()=>T,default:()=>_});var r=i(6029),l=i(13301),s=i(683),a=i(91694),n=i(5700),c=i(55729),o=i(49832),u=i(66938),m=i(57791),g=i(92205),h=i(62745),d=i(91669);let T=({limit:e,title:t=null,highlightCurrentArticle:i=!1,filterCategory:T=!1,isArticle:_=!1,tags_nin:f=[],...k})=>{let w=e??(T?6:5),A=(0,a.Ym)(),S=(0,n.c)("article"),p=("Meistgelesene Artikel"===String(t||"").trim()?null:t)||S("MOST_READ_TITLE"),y=(0,g.AS)(),b=(0,g.Sj)(),R=(0,h.K)((0,o.k)(e=>e.isApp)),v=(0,c.useContext)(u.W),C=(0,m.A)(),j=C?.slug,x="/"===j?"home":"article",E=b&&!R&&!y;C&&T&&(p=S("MOST_READ_TITLE_IN_RUBRIC",{categoryTitle:C?.title}));let{isFetched:I,data:M}=(0,l.I)(["most-read.js",w,j,T,f,E,A],async()=>{if(E)return[];let e=`/api/stream/?${new URLSearchParams({portal:(0,s.getActive)()?.id,variables:JSON.stringify({stream:"most-read.js",locale:A,limit:w+1,offset:0,category_slug:T?j:null,tags_nin:f})})}`,t=await fetch(e);return await t.json()},{enabled:!0,refetchOnMount:!0,staleTime:6e5});if(E)return null;let N={...M,items:M?.items?.filter(e=>e?.sys?.id!==v?.streamContext?.activeContent?.sys?.id)?.splice(0,w)||[]};return T?(0,r.jsx)(d.GenericTeaser,{entries:N,highlightCurrentArticle:i,limitMobile:3,limit:w,title:p,countPerRow:3,...k,aspectRatio:"4:3",useSkeleton:!I,hasBorder:!0,textPosition:"below",teaserStyle:"card",showTeasertext:!0,showIcons:!0}):(0,r.jsx)(d.GenericTeaser,{entries:N,itemStyle:"mostread",customTracking:{visible:(e,t)=>({category:x,name:"widget-mr",action:"visible",value:t?.scrollPercentage||0}),click:(e,t)=>({category:x,name:"widget-mr",action:"click",value:t?.number})},highlightCurrentArticle:i,isArticle:_,useSkeleton:!I,limit:w,title:p,aspectRatio:"4:3",...k})},_=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.