1import{A as e,C as t,D as n,E as r,N as i,Nt as a,Q as o,R as s,T as c,Tt as l,Vt as u,_ as d,_t as f,dt as p,j as m,on as h,tt as g,ut as _,w as v}from"./BO0KbXAA.js";import{t as y}from"./C_glA7cO.js";import{t as b}from"./Bc7LtS8U.js";import{n as x}from"./BPS5qUp0.js";import{n as ee}from"./DwSYPBCW.js";import{t as S}from"./BDNMzG2s.js";import{t as te}from"./D6ekjyTm.js";import{t as C}from"./COI0equf.js";import{n as w,t as T}from"./M6s6QXCu.js";import{n as E,r as D,t as O}from"./DhLNt8qe.js";import{t as ne}from"./DgrjQL6a.js";import{t as k}from"./C6XRu78Q.js";f(),s(),u();var re={class:`carousel-wrapper`},ie={key:0,class:`top-newspapers-info__title`},ae={key:1,class:`carousel-wrapper__top-sales`},oe={class:`carousel-wrapper__top-sales-body`},se={class:`carousel-wrapper__top-sales-body`},A={class:`carousel-wrapper__top-sales-list carousel-wrapper__top-sales-list--communities`},j={key:1,class:`toparea__name`},M={key:2},N={class:`carousel-wrapper__pro-header`},P={class:`newspaper-info-carousel`},F={key:0,class:`newspaper-info-carousel__poster`},I={class:`newspaper-info-carousel__description`},L={key:0,class:`intro`},R={class:`newspaper-info-carousel__title`},z=[`innerHTML`],B={key:0,class:`newspaper-info-carousel__teaser--mobile`},V={key:0},H={class:`newspaper-info-carousel__teaser`},U={key:1},W={class:`newspaper-info-carousel__teaser`},G={key:1,class:`intro`},ce={class:`newspaper-info-carousel__title`},K=Object.assign(i({__name:`NewspaperInfoCarousel`,props:{customerStatus:{default:`nodeal`},edition:{},name:{},titles:{default:void 0},topareas:{default:void 0}},async setup(i){let s,u,f=ee(),{n:S}=x(),w=i,T=l(!1),E=l(!1),D=l(void 0),O=w.titles?.[0];O&&Q(O);let K=t(()=>w.titles&&w.titles.length>=2&&te(w.customerStatus)),{data:q}=([s,u]=_(()=>b(`/api/regional-landing-pages`,`$ga1EQIor2a`)),s=await s,u(),s),J=t(()=>{let e=q.value?.find(e=>e.name===w.topareas?.state.name&&e.slug?.endsWith(`-bundesland`));if(e)return f({name:`GeoLocationSearch`,params:{location:e.slug}})}),Y=t(()=>w.topareas?.communities.map(e=>{let t=q.value?.find(t=>t.name===e.name);return t?{name:e.name,edition:e.edition,params:{location:t.slug}}:{name:e.name,edition:e.edition}}));function X(e,t,n){return e.substring(0,e.length*t/100)+n}function Z(e,t){t===`container-2`?T.value=e:t===`container-1`&&(E.value=e)}function Q(e){D.value=e}function $(e){return e?S(e,`integer`):``}return(t,s)=>{let l=y,u=C;return o(),n(`div`,re,[i.topareas&&i.topareas.state.name!==``?(o(),n(`div`,ie,[s[2]||=v(`h2`,null,`Top-Verbreitungsgebiete`,-1),m(k,{text:`Hier siehst du die Top-Verbreitungsgebiete dieser Ausgabe nach verbreiteter Auflage im Top-Bundesland, im Top-Kreis und in de
1n drei Top-Gemeinden.`,"data-track":`top-sales-areas-info`,size:`big`})])):r(``,!0),i.topareas&&i.topareas.state.name!==``?(o(),n(`div`,ae,[s[3]||=v(`b`,{class:`carousel-wrapper__top-sales-header`},`Bundesland:`,-1),v(`div`,oe,[m(l,{to:a(J),title:`Anzeigen schalten in ${i.topareas.state.name}`,class:`toparea__link toparea__link--state`},{default:p(()=>[e(h(i.topareas.state.name),1)]),_:1},8,[`to`,`title`]),e(` (`+h($(i.topareas.state.edition))+` Exemplare) `,1)]),s[4]||=v(`b`,{class:`carousel-wrapper__top-sales-header`},`Kreis:`,-1),v(`div`,se,h(i.topareas.district.name)+` (`+h($(i.topareas.district.edition))+` Exemplare) `,1),s[5]||=v(`b`,{class:`carousel-wrapper__top-sales-header`},`Gemeinden:`,-1),v(`ol`,A,[(o(!0),n(d,null,g(a(Y),t=>(o(),n(`li`,{key:t.name},[t.params?(o(),c(l,{key:0,title:`Anzeigen schalten in ${t.name}`,to:a(f)({name:`GeoLocationSearch`,params:t.params}),class:`toparea__link toparea__link--community`},{default:p(()=>[e(h(t.name),1)]),_:2},1032,[`title`,`to`])):(o(),n(`span`,j,h(t.name),1)),e(` (`+h($(t.edition))+` Exemplare) `,1)]))),128))])])):r(``,!0),a(K)&&w.titles?(o(),n(`div`,M,[v(`h2`,N,[s[6]||=e(` Zeitungen in dieser Belegungseinheit `,-1),m(k,{"data-track":`info-box-BE-info`,size:`big`,text:`Die Belegungseinheit ist eine mit Anzeigen zu belegende Einheit einer Zeitung oder mehrerer Zeitungsmarken. Jede Belegungseinheit ist einzeln beleg- und buchbar.`})]),v(`div`,P,[m(ne,{"customer-status":i.customerStatus,titles:w.titles,"is-newspaper-info-section":``,"onTitle:select":Q},null,8,[`customer-status`,`titles`]),a(D)?(o(),n(`div`,F,[m(u,{src:`/images/newspaper-fallback-cover.png`,alt:a(D).name,title:a(D).name,width:`180`,height:`180`},null,8,[`alt`,`title`]),v(`div`,I,[a(D).description?(o(),n(`div`,L,[v(`h4`,R,h(a(D).name),1),v(`div`,{class:`newspaper-info-carousel__teaser newspaper-info-carousel__teaser--desktop`,innerHTML:a(D).description},null,8,z),a(D).description?(o(),n(`div`,B,[a(T)?(o(),n(`div`,U,[v(`p`,W,[e(h(a(D).description),1),s[7]||=v(`br`,null,null,-1),s[8]||=v(`small`,{class:`carousel-wrapper__sources`},`Quelle: Wikipedia`,-1)]),v(`small`,{class:`newspaper-info-carousel__more`,onClick:s[1]||=e=>Z(!1,`container-2`)},`Weniger lesen...`)])):(o(),n(`div`,V,[v(`p`,H,h(X(a(D).description,70,`...`)),1),v(`p`,{class:`newspaper-info-carousel__more`,onClick:s[0]||=e=>Z(!0,`container-2`)},` Mehr lesen... `)]))])):r(``,!0)])):(o(),n(`div`,G,[v(`h4`,ce,h(a(D).name),1),s[9]||=v(`p`,{class:`teaser_text`},`Die Beschreibung der Zeitung folgt...`,-1)]))])])):r(``,!0)])])):r(``,!0)])}}}),{__name:`NewspaperInfoCarousel`});f(),s(),u();var q={id:`newspaper-info`,class:`newspaper-info`},J={class:`newspaper-info__title`},Y={class:`newspaper-info__container`},X={class:`newspaper-info__cover`},Z={class:`newspaper-info__block`},Q={key:0},$=Object.assign(S(i({__name:`NewspaperInfo`,props:{appearingWeekly:{default:void 0},customerStatus:{default:`nodeal`},edition:{},mediaType:{},name:{},newspaper:{},newspaperInfos:{default:void 0},region:{default:void 0},titles:{default:void 0},topAreas:{default:void 0}},setup(t){let i=t,s=l(Array.isArray(i.mediaType)?i.mediaType.join(`, `):i.mediaType??``),{t:c}=x();return(l,u)=>{let d=w,f=T,g=D,_=E,y=O,b=K;return o(),n(`div`,q,[v(`h2`,J,[v(`span`,null,h(t.newspaper.name),1),u[0]||=e(` im Ãberblick `,-1)]),v(`div`,Y,[v(`div`,X,[m(f,null,{"fallback-cover-image":p(()=>[m(d)]),_:1})]),v(`div`,Z,[t.newspaperInfos&&t.newspaperInfos.text?(o(),n(`div`,Q,h(t.newspaperInfos.text),1)):r(``,!0),m(g,{title:`Ãber die Zeitung`}),m(_,{title:`Gattung`,value:a(s)},null,8,[`value`]),m(_,{title:`Ausgabe`,value:t.edition},null,8,[`value`]),m(_,{title:`Erscheinungstage`,value:t.appearingWeekly},null,8,[`value`]),m(_,{title:`Sprache der Zeitung`,value:a(c)(`language.${t.newspaper.language_code}`).toString()},null,8,[`value`]),m(y,{circulation:i.newspaper.circulation},null,8,[`circulation`])])]),v(`div`,null,[m(b,{"customer-status":t.customerStatus,edition:t.edition,name:t.name,titles:i.titles,topareas:t.topAreas},null,8,[`customer-status`,`edition`,`name`,`titles`,`topareas`])])])}}}),[[`__scopeId`,`data-v-b7d25ea9`]]),{__name:`NewspaperInfo`});export{$ as default};
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.