1import{O as Le,s as ve,t as ue,d,E as R,i as k,b as _,D as ke,a as I,c as y,f as P,v as C,g as w,w as M,k as se,h as Ee,e as E,y as De,j as D,q as Pe,r as Ie,a2 as Ne,G as be,p as W,H as ye}from"../chunks/DeYQnKoJ.js";import{j as Ae,s as je}from"../chunks/D5UKyomn.js";import{S as we,i as $e,d as H,t as Y,a as J,m as K,c as X,b as Q}from"../chunks/D_RVbsLY.js";import{m as Be,n as Ce,r as Me,e as Oe}from"../chunks/CSJHcBzL.js";import{J as Se}from"../chunks/BdPecljl.js";import{g as _e,b as Te,a as Ue}from"../chunks/ByZy3DU6.js";import{t as Ve,s as Re,l as qe}from"../chunks/DC0cBoTC.js";import"../chunks/67QHsRiY.js";import"../chunks/DeZRQlf9.js";import{p as ze}from"../chunks/DSS_y78Y.js";import{I as Fe}from"../chunks/BGu4SI7a.js";import{M as Ge}from"../chunks/DJWu4QvB.js";const He=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global,Ye=!1,Je=!1;async function Ke({params:s}){const e=new URL(Ae(Ce,Be,"content/generalized_news/",s.uuid)),n=await je(e,{headers:{"Content-Type":"application/json"}});if(n.status!==200){window.location.href=`${Le}/${s.lang}/${Me}`;return}return await n.json()}const ht=Object.freeze(Object.defineProperty({__proto__:null,load:Ke,prerender:Ye,ssr:Je},Symbol.toStringTag,{value:"Module"}));function Xe(s){let e,n=s[0]("common.back")+"",l,a,i;return{c(){e=w("a"),l=M(n),this.h()},l(m){e=y(m,"A",{href:!0,class:!0});var o=P(e);l=C(o,n),o.forEach(d),this.h()},h(){I(e,"href","javascript: void(0)"),I(e,"class","button button__border button__rounded mt-4bcm-button")},m(m,o){k(m,e,o),_(e,l),a||(i=ke(e,"click",Qe),a=!0)},p(m,[o]){o&1&&n!==(n=m[0]("common.back")+"")&&R(l,n)},i:ue,o:ue,d(m){m&&d(e),a=!1,i()}}}function Qe(){window.history.back()}function We(s,e,n){let l;return se(s,Ve,a=>n(0,l=a)),[l]}class Ze extends we{constructor(e){super(),$e(this,e,We,Xe,ve,{})}}const{document:he}=He;function xe(s){var o;let e,n=((o=s[0].category[0])==null?void 0:o.name)+"",l,a,i=s[0].headline[s[1]]+"",m;return{c(){e=w("span"),l=M(n),a=M(": "),m=M(i),this.h()},l(u){e=y(u,"SPAN",{"data-news-title":!0});var r=P(e);l=C(r,n),a=C(r,": "),m=C(r,i),r.forEach(d),this.h()},h(){I(e,"data-news-title","")},m(u,r){k(u,e,r),_(e,l),_(e,a),_(e,m)},p(u,r){var c;r&1&&n!==(n=((c=u[0].category[0])==null?void 0:c.name)+"")&&R(l,n),r&3&&i!==(i=u[0].headline[u[1]]+"")&&R(m,i)},d(u){u&&d(e)}}}function et(s){var m,o,u;let e=((m=s[0].category[0])==null?void 0:m.name)+"",n,l,a=(((u=(o=s[0].metaData)==null?void 0:o[s[1]])==null?void 0:u.headline)??s[0].headline[s[1]])+"",i;return{c(){n=M(e),l=M(": "),i=M(a)},l(r){n=C(r,e),l=C(r,": "),i=C(r,a)},m(r,c){k(r,n,c),k(r,l,c),k(r,i,c)},p(r,c){var f,$,L;c&1&&e!==(e=((f=r[0].category[0])==null?void 0:f.name)+"")&&R(n,e),c&3&&a!==(a=(((L=($=r[0].metaData)==null?void 0:$[r[1]])==null?void 0:L.headline)??r[0].headline[r[1]])+"")&&R(i,a)},d(r){r&&(d(n),d(l),d(i))}}}function pe(s){let e,n=s[0].content[s[1]]+"",l;return{c(){e=new ye(!1),l=W(),this.h()},l(a){e=be(a,!1),l=W(),this.h()},h(){e.a=l},m(a,i){e.m(n,a,i),k(a,l,i)},p(a,i){i&3&&n!==(n=a[0].content[a[1]]+"")&&e.p(n)},d(a){a&&(d(l),e.d())}}}function ge(s){let e,n=`<style>${s[0].css}</style>`,l;return{c(){e=new ye(!1),l=W(),this.h()},l(a){e=be(a,!1),l=W(),this.h()},h(){e.a=l},m(a,i){e.m(n,a,i),k(a,l,i)},p(a,i){i&1&&n!==(n=`<style>${a[0].css}</style>`)&&e.p(n)},d(a){a&&(d(l),e.d())}}}function tt(s){var ie,re;let e,n,l,a,i,m,o,u,r,c,f,$,L,N=_e(s[0].newsDateLocal,s[3])+"",O,Z,x,ee,T,le=`table:nth-last-of-type(-n + 4) td { 2 padding-right: 10px; 3 }`,te,F,ae,ne,S,G,U,A,q;e=new Ge({props:{title:"News Detail"}}),l=new Fe({props:{title:"News Detail",image:"/images/news-banner.jpg"}});function oe(t,h){var j,B;if(((j=t[0].category[0])==null?void 0:j.code)==="PVR"||((B=t[0].category[0])==null?void 0:B.code)==="dd")return et;if(t[0].headline[t[1]])return xe}let V=oe(s),p=V&&V(s),g=((ie=s[0].content)==null?void 0:ie[s[1]])&&pe(s);S=new Ze({});let v=((re=s[0])==null?void 0:re.css)&&ge(s);return A=new Se({props:{schema:s[2]}}),{c(){Q(e.$$.fragment),n=D(),Q(l.$$.fragment),a=D(),i=w("div"),m=w("div"),o=w("div"),u=w("div"),r=w("div"),c=w("div"),f=w("h3"),p&&p.c(),$=D(),L=w("p"),O=M(N),Z=D(),x=w("br"),ee=D(),T=w("style"),T.textContent=le,te=D(),g&&g.c(),F=D(),ae=w("br"),ne=D(),Q(S.$$.fragment),G=D(),v&&v.c(),U=D(),Q(A.$$.fragment),this.h()},l(t){const h=Ee("svelte-g6k7a0",he.head);X(e.$$.fragment,h),h.forEach(d),n=E(t),X(l.$$.fragment,t),a=E(t),i=y(t,"DIV",{class:!0});var j=P(i);m=y(j,"DIV",{class:!0});var B=P(m);o=y(B,"DIV",{class:!0});var z=P(o);u=y(z,"DIV",{class:!0});var ce=P(u);r=y(ce,"DIV",{class:!0});var me=P(r);c=y(me,"DIV",{class:!0});var b=P(c);f=y(b,"H3",{class:!0});var fe=P(f);p&&p.l(fe),fe.forEach(d),$=E(b),L=y(b,"P",{});var de=P(L);O=C(de,N),de.forEach(d),Z=E(b),x=y(b,"BR",{}),ee=E(b),T=y(b,"STYLE",{"data-svelte-h":!0}),De(T)!=="svelte-36jui5"&&(T.textContent=le),te=E(b),g&&g.l(b),F=E(b),ae=y(b,"BR",{}),ne=E(b),X(S.$$.fragment,b),b.forEach(d),me.forEach(d),ce.forEach(d),z.forEach(d),B.forEach(d),j.forEac
3h(d),G=E(t),v&&v.l(t),U=E(t),X(A.$$.fragment,t),this.h()},h(){I(f,"class","mb30"),I(c,"class","content__inner"),I(r,"class","col-12 pt-9"),I(u,"class","row"),I(o,"class","container"),I(m,"class","content__section content__section_grey py160"),I(i,"class","content")},m(t,h){K(e,he.head,null),k(t,n,h),K(l,t,h),k(t,a,h),k(t,i,h),_(i,m),_(m,o),_(o,u),_(u,r),_(r,c),_(c,f),p&&p.m(f,null),_(c,$),_(c,L),_(L,O),_(c,Z),_(c,x),_(c,ee),_(c,T),_(c,te),g&&g.m(c,null),_(c,F),_(c,ae),_(c,ne),K(S,c,null),k(t,G,h),v&&v.m(t,h),k(t,U,h),K(A,t,h),q=!0},p(t,[h]){var B,z;V===(V=oe(t))&&p?p.p(t,h):(p&&p.d(1),p=V&&V(t),p&&(p.c(),p.m(f,null))),(!q||h&1)&&N!==(N=_e(t[0].newsDateLocal,t[3])+"")&&R(O,N),(B=t[0].content)!=null&&B[t[1]]?g?g.p(t,h):(g=pe(t),g.c(),g.m(c,F)):g&&(g.d(1),g=null),(z=t[0])!=null&&z.css?v?v.p(t,h):(v=ge(t),v.c(),v.m(U.parentNode,U)):v&&(v.d(1),v=null);const j={};h&4&&(j.schema=t[2]),A.$set(j)},i(t){q||(J(e.$$.fragment,t),J(l.$$.fragment,t),J(S.$$.fragment,t),J(A.$$.fragment,t),q=!0)},o(t){Y(e.$$.fragment,t),Y(l.$$.fragment,t),Y(S.$$.fragment,t),Y(A.$$.fragment,t),q=!1},d(t){t&&(d(n),d(a),d(i),d(G),d(U)),H(e),H(l,t),p&&p.d(),g&&g.d(),H(S),v&&v.d(t),H(A,t)}}}function at(s,e,n){let l,a,i;se(s,qe,f=>n(1,a=f)),se(s,ze,f=>n(4,i=f));const m=Oe;let{data:o}=e;Te(o).trim();const u=()=>{const f=Object.keys(o.headline);Re.filter(N=>!f.includes(N)).forEach(N=>{const O=document.querySelector(`.language-selector__item[data-lang="${N}"]`);O&&O.classList.add("language-selector__item--hide")})},r=()=>{document.querySelectorAll(".language-selector__item").forEach($=>{$.classList.remove("language-selector__item--hide")})};Pe(()=>{u()}),Ie(()=>{r()});const c={en:{weekday:"short, ",day:"2-digit ",month:"short ",year:"numeric"},de:{weekday:"short, ",day:"2-digit ",month:"short ",year:"numeric"}};return s.$$set=f=>{"data"in f&&n(0,o=f.data)},s.$$.update=()=>{var f,$;if(s.$$.dirty&19){const L=Ue(o,a);L!==i.url.pathname&&Ne(L)}s.$$.dirty&3&&n(2,l={"@context":"https://schema.org","@type":"NewsArticle",...(f=o==null?void 0:o.headline)!=null&&f[a]?{headline:o.headline[a]}:{},...o!=null&&o.newsDateLocal?{datePublished:o.newsDateLocal,dateModified:o.newsDateLocal}:{},...($=o==null?void 0:o.summary)!=null&&$[a]?{description:o.summary[a]}:{},...m.PUBLIC_AEO_COMPANY_NAME?{publisher:{"@type":"Organization",name:m.PUBLIC_AEO_COMPANY_NAME}}:{},inLanguage:a})},[o,a,l,c,i]}class pt extends we{constructor(e){super(),$e(this,e,at,tt,ve,{data:0})}}export{pt as component,ht as universal};
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.