1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/WorldCupGoalToast-gXyBTpNZ.js","assets/vendor-react-D0h46m16.js","assets/legacy-article-redirect-fp3isHR7.js","assets/ScrollToTop-BbnbJAtN.js","assets/exports-cWTammwm.js","assets/index-DqZvI2U2.js","assets/vendor-query-Dr68jqlw.js","assets/vendor-api-B4hs_cPm.js","assets/use-profile-CuRxmWYi.js","assets/button-CykUDgWQ.js","assets/vendor-radix-D7CZeoLk.js","assets/vendor-radix-core-BVUYVtAx.js","assets/vendor-icons-BbYfpdOz.js","assets/sitemap-index-Cq_Imzq3.js","assets/use-comment-reports-BbTTr5yP.js","assets/altTextGenerator-DWCIDCE5.js","assets/CommentAuthorBadge-BPBae27r.js","assets/Footer-C-QL4pp4.js","assets/weatherTime-Y9ihW93L.js","assets/whatsNew--tlXZLzZ.js","assets/use-regenerate-feed-DLitAIVb.js","assets/use-comment-appeals-DYtoMEP7.js","assets/use-forum-posts-DIWRjETo.js","assets/alert-dialog-BiNpIDn_.js","assets/AdReservation-Cs-_-fRT.js","assets/CommentLimitBanner-BEPhBwWT.js","assets/UserLevelDisplay-DYjA1wgR.js","assets/ScrollToTopButton-CsvWc6f2.js","assets/supportOverlay-CJM5Mgb9.js","assets/DonationThankYou-D9g4qmKo.js","assets/index.esm-B2IzwMux.js"])))=>i.map(i=>d[i]); 2var e=Object.defineProperty,t=(t,i,s)=>((t,i,s)=>i in t?e(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s)(t,"symbol"!=typeof i?i+"":i,s);import{_ as i,S as s}from"./ScrollToTop-BbnbJAtN.js";import{r,j as n,d as a,g as o,a as l,c}from"./vendor-react-D0h46m16.js";import{d as A,b as d,L as u,a as h,c as m}from"./legacy-article-redirect-fp3isHR7.js";import{O as g}from"./OptimizedImage-CuwU3LWg.js";import{A as p,a as f,b as x,g as b,c as w,d as y}from"./ArticleCard-BSG5rjj3.js";import{B as I,c as C,T as v,d as k,e as B,f as N,u as j}from"./button-CykUDgWQ.js";import{aF as S,y as E,Q as D,g as F,_ as Q,k as K,aG as W,aH as G,X as Y,aI as R,aJ as T,aK as J,aL as M,aM as Z,aN as H,ad as U,aE as _,Y as L,aO as O,aP as V,aQ as z,aR as X,H as q,B as P}from"./use-profile-CuRxmWYi.js";import{u as $,D as ee,a as te,b as ie,c as se,d as re,F as ne}from"./Footer-C-QL4pp4.js";import ae from"./NotFound-dgWOk9W5.js";import{u as oe,s as le,S as ce}from"./DonationThankYou-D9g4qmKo.js";import Ae from"./ShareButtons-DZLIiU4L.js";import{g as de,f as ue,u as he,s as me,b as ge,l as pe,r as fe}from"./use-search-history-Boqjf0_n.js";import{ax as xe,bC as be,P as we,a$ as ye,b0 as Ie,aB as Ce,u as ve,U as ke,bh as Be,bD as Ne,d as je,au as Se,a as Ee,M as De,b9 as Fe,s as Qe,at as Ke,f as We,l as Ge,x as Ye,z as Re,G as Te,I as Je,bE as Me,c as Ze,bF as He,B as Ue,A as _e,q as Le,a3 as Oe,af as Ve,j as ze,a6 as Xe}from"./vendor-icons-BbYfpdOz.js";import{u as qe}from"./use-campaign-participation-C7Qsjmdf.js";import{u as Pe,a as $e,w as et}from"./use-section-tracking-D1IaNRxi.js";import{u as tt,a as it,A as st}from"./AdReservation-Cs-_-fRT.js";import{w as rt,s as nt,S as at}from"./ConsentOrPayBanner-BUomNvwz.js";import{b as ot,u as lt}from"./vendor-query-Dr68jqlw.js";import{A as ct,u as At}from"./LazyArticleCard-DoRjuO_2.js";import{a as dt}from"./use-hybrid-infinite-scroll-BjVFsJs4.js";import{u as ut,L as ht,U as mt,a as gt}from"./NewsletterSplitSection-k3Bqx65y.js";import pt from"./CampaignSlot-Bai7lEem.js";import{A as ft}from"./AdSlot-BAFJFece.js";import{u as xt,N as bt}from"./NativeAd-BePP-8WI.js";import{C as wt}from"./ConsentPlaceholder-B4eG3NLj.js";import{n as yt,L as It}from"./livestreamConfig-CcZaBZO_.js";import{Y as Ct}from"./YouTubeFreigabe-D6tnBqaL.js";import{C as vt,g as kt,u as Bt,A as Nt,l as jt}from"./index-DqZvI2U2.js";import{a as St,u as Et,i as Dt}from"./WorldCupGoalToast-gXyBTpNZ.js";import{D as Ft,a as Qt,b as Kt,c as Wt,d as Gt}from"./drawer-D20VqtXW.js";import{L as Yt}from"./use-comment-appeals-DYtoMEP7.js";import{T as Rt}from"./use-comment-reports-BbTTr5yP.js";import{I as Tt}from"./use-regenerate-feed-DLitAIVb.js";import{l as Jt,L as Mt,g as Zt,R as Ht,w as Ut,h as _t,a as Lt,z as Ot,s as Vt}from"./reaktionen-CZIVxBVb.js";import{D as zt}from"./DonationBox-BdqYwTmj.js";import{u as Xt,a as qt}from"./weatherTime-Y9ihW93L.js";import{d as Pt}from"./schemaGenerators-CEodAQEs.js";import{g as $t}from"./altTextGenerator-DWCIDCE5.js";import{p as ei,A as ti}from"./Imprint-_-bc-Cou.js";import{o as ii,s as si}from"./types-JTRFwEef.js";import"./exports-cWTammwm.js";import"./vendor-radix-D7CZeoLk.js";import"./vendor-radix-core-BVUYVtAx.js";import"./vendor-api-B4hs_cPm.js";import"./whatsNew--tlXZLzZ.js";import"./sitemap-index-Cq_Imzq3.js";import"./index.esm-B2IzwMux.js";import"./PageLoader-CuOLERt0.js";
2import"./reactrouterv6-DTS0VFAF.js";import"./helpers-EawpXZ78.js";const ri=[1,1.25,1.5,2],ni="exxpress.audio.speed",ai="exxpress.audio.volume";function oi(e){if(e.startsWith("/audio/"))return e;const t=e.match(/\/storage\/v1\/object\/public\/article-audio\/(.+)$/);return t&&t[1]?`/audio/${t[1]}`:e}const li=e=>{if(!Number.isFinite(e)||e<0)return"0:00";return`${Math.floor(e/60)}:${Math.floor(e%60).toString().padStart(2,"0")}`};function ci(e,t,i={}){const s={article_id:String(t.id),article_slug:t.slug,voice_id:t.audio_voice_id??null,audio_model:t.audio_model??null,...i},r=de();r&&ue({visitor_id:r,event_type:e,metadata:s}),"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,event_category:"audio",...s}))}const Ai=({article:e,variant:t,mode:i,expanded:s,onExpandedChange:a})=>{const o="completed"===e.audio_status&&Boolean(e.audio_url),[l,c]=r.useState(!1),A=s??l,d=r.useCallback(e=>{a?a(e):c(e)},[a]),[u,h]=r.useState(!1),[m,g]=r.useState(0),[p,f]=r.useState(e.audio_duration_seconds??0),[x,b]=r.useState(()=>(()=>{if("undefined"==typeof window)return 1;const e=localStorage.getItem(ai);if(null===e)return 1;const t=Number(e);return Number.isFinite(t)&&t>=0&&t<=1?t:1})()),[w,y]=r.useState(()=>(()=>{if("undefined"==typeof window)return 1;const e=Number(localStorage.getItem(ni));return ri.includes(e)?e:1})()),v=r.useRef(null),k=r.useRef(null),B=r.useRef(new Set),N=r.useRef(!1),j=r.useRef(!1);r.useEffect(()=>{if(!o)return;const t=k.current;if(!t)return;let i=!1;const s=new IntersectionObserver(t=>{for(const r of t)r.isIntersecting&&r.intersectionRatio>=.5&&!i&&(i=!0,ci("audio_view",e),s.disconnect())},{threshold:.5});return s.observe(t),()=>s.disconnect()},[o,e]),r.useEffect(()=>{if(v.current&&(v.current.playbackRate=w),"undefined"!=typeof window)try{localStorage.setItem(ni,String(w))}catch{}},[w]),r.useEffect(()=>{if(v.current&&(v.current.volume=x),"undefined"!=typeof window)try{localStorage.setItem(ai,String(x))}catch{}},[x]);const S=r.useCallback(()=>{d(!A)},[A,d]),E=r.useCallback(()=>{const e=v.current;e&&(e.paused?e.play().catch(e=>{console.warn("[AudioPlayer] play() rejected:",e)}):e.pause())},[]);r.useEffect(()=>{if(!A)return;const e=v.current;e&&e.play().catch(e=>{console.warn("[AudioPlayer] auto-play on expand failed:",e)})},[A]);const D=r.useCallback(()=>{h(!0),N.current?ci("audio_resume",e,{position_seconds:Math.floor(v.current?.currentTime??0)}):(N.current=!0,ci("audio_play",e,{position_seconds:Math.floor(v.current?.currentTime??0)}))},[e]),F=r.useCallback(()=>{h(!1);const t=v.current;t&&t.currentTime<(t.duration||0)-.5&&ci("audio_pause",e,{position_seconds:Math.floor(t.currentTime)})},[e]),Q=r.useCallback(()=>{h(!1),ci("audio_complete",e,{total_played_seconds:Math.floor(v.current?.duration??0)})},[e]),K=r.useCallback(()=>{const t=v.current;if(!t)return;if(g(t.currentTime),j.current)return;const i=t.duration;if(!Number.isFinite(i)||i<=0)return;const s=t.currentTime/i*100;for(const r of[25,50,75])s>=r&&!B.current.has(r)&&(B.current.add(r),ci("audio_milestone",e,{milestone:r}))},[e]),W=r.useCallback(()=>{const e=v.current;e&&Number.isFinite(e.duration)&&f(e.duration)},[]),G=r.useCallback(t=>{const i=v.current;if(!i||!Number.isFinite(i.duration)||i.duration<=0)return;const s=t.currentTarget.getBoundingClientRect(),r=Math.max(0,Math.min(1,(t.clientX-s.left)/s.width))*i.duration,n=i.currentTime;j.current=!0,i.currentTime=r,setTimeout(()=>{j.current=!1},50),ci("audio_seek",e,{from_seconds:Math.floor(n),to_seconds:Math.floor(r)})},[e]),Y=r.useCallback(t=>{t!==w&&(ci("audio_speed_change",e,{from:w,to:t}),y(t))},[e,w]),R=r.useCallback(e=>{b(Math.max(0,Math.min(1,e)))},[]);if(!o)return null;if("trigger"===i||void 0===i&&!A)return n.jsx("div",{ref:k,className:C("mobile"===t?"lg:hidden":"hidden lg:inline-flex"),children:n.jsxs(I,{type:"button",size:"sm",className:C("gap-2 min-h-[44px] px-3 text-xs sm:text-sm font-semibold","bg-primary text-primary-foreground hover:bg-primary/90","dark:bg-white dark:text-primary dark:hover:bg-white/90"),"aria-label":"Artikel vorlesen lassen",onClick:S,children:[n.jsx(xe,{className:"h-4 w-4","aria-hidden":"true"}),n.jsx("span",{children:"Jetzt vorlesen"})]})});if("panel"===i&&!A)return null;const T=p>0?m/p*100:0;return n.jsxs("div",{className:"w-full",children:[n.jsxs("div",{className:"flex items-center gap-3 rounded-lg border bg-card p-3 sm:p-4 shadow-sm",children:[n.jsx(I,{t
2ype:"button",variant:"default",size:"icon",className:"h-10 w-10 flex-shrink-0 rounded-full","aria-label":u?"Pause":"Abspielen",onClick:E,children:u?n.jsx(be,{className:"h-5 w-5"}):n.jsx(we,{className:"h-5 w-5 ml-0.5"})}),n.jsxs("div",{className:"flex-1 min-w-0",children:[n.jsx("div",{role:"slider",tabIndex:0,"aria-label":"Audio-Fortschritt","aria-valuemin":0,"aria-valuemax":Math.max(1,Math.floor(p)),"aria-valuenow":Math.floor(m),className:"h-2 w-full cursor-pointer rounded-full bg-muted",onClick:G,children:n.jsx("div",{className:"h-full rounded-full bg-primary transition-[width] duration-100",style:{width:`${T}%`}})}),n.jsxs("div",{className:"mt-1 flex items-center justify-between gap-2 text-xs text-muted-foreground tabular-nums",children:[n.jsx("span",{children:li(m)}),n.jsx("span",{children:li(p)})]})]}),n.jsx("select",{"aria-label":"Wiedergabegeschwindigkeit",className:"h-8 rounded border bg-background px-1.5 text-xs font-medium tabular-nums focus:outline-none focus:ring-2 focus:ring-primary",value:w,onChange:e=>Y(Number(e.target.value)),children:ri.map(e=>n.jsxs("option",{value:e,children:[e,"Ã"]},e))}),n.jsxs("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[0===x?n.jsx(ye,{className:"h-4 w-4 text-muted-foreground","aria-hidden":"true"}):n.jsx(Ie,{className:"h-4 w-4 text-muted-foreground","aria-hidden":"true"}),n.jsx("input",{type:"range",min:0,max:1,step:.05,value:x,onChange:e=>R(Number(e.target.value)),"aria-label":"Lautstärke",className:"w-16 sm:w-20 h-1 cursor-pointer accent-primary"})]}
2),n.jsx(I,{type:"button",variant:"ghost",size:"icon",className:"h-8 w-8 flex-shrink-0","aria-label":"Player schlieÃen",onClick:S,children:n.jsx(Ce,{className:"h-4 w-4"})})]}),e.audio_url&&n.jsx("audio",{ref:v,src:oi(e.audio_url),preload:"metadata",onPlay:D,onPause:F,onEnded:Q,onTimeUpdate:K,onLoadedMetadata:W})]})},di="https://www.google.com/preferences/source?q=exxpress.at&utm_source=exxpress.at";function ui(){return n.jsxs("svg",{className:"h-5 w-5 shrink-0",viewBox:"0 0 24 24","aria-hidden":"true",children:[n.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),n.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),n.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),n.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]})}function hi(){const{slug:e}=A(),t=t=>()=>{S(e,t)};return n.jsxs(n.Fragment,{children:[n.jsxs("a",{href:di,target:"_blank",rel:"noopener noreferrer",onClick:t("mobile"),"aria-label":"exxpress auf Google als bevorzugte Nachrichtenquelle festlegen",className:"group my-4 flex items-center gap-3 rounded-lg border border-blue-200 bg-blue-50/60 px-4 py-3 text-sm text-foreground transition-colors hover:border-blue-300 hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 dark:border-blue-900/60 dark:bg-blue-950/30 dark:hover:border-blue-800 dark:hover:bg-blue-950/50 sm:hidden",children:[n.jsx(ui,{}),n.jsxs("span",{className:"min-w-0 flex-1 leading-snug",children:[n.jsx("span",{className:"font-semibold",children:"exxpress"})," auf Google als bevorzugte Nachrichtenquelle festlegen"]}),n.jsx(ve,{className:"h-4 w-4 shrink-0 text-blue-600 transition-transform group-hover:translate-x-0.5 dark:text-blue-400","aria-hidden":"true"})]}),n.jsxs("aside",{className:"my-4 hidden items-center justify-between gap-3 rounded-lg border border-blue-200 bg-blue-50/60 px-4 py-3 dark:border-blue-900/60 dark:bg-blue-950/30 sm:flex","aria-label":"exxpress als bevorzugte Quelle bei Google festlegen",children:[n.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[n.jsx(ui,{}),n.jsxs("span",{className:"text-base text-foreground",children:[n.jsx("span",{className:"font-semibold",children:"exxpress"})," auf Google als bevorzugte Nachrichtenquelle festlegen"]})]}),n.jsxs("a",{href:di,target:"_blank",rel:"noopener noreferrer",onClick:t("desktop"),className:"inline-flex shrink-0 items-center gap-1.5 rounded-full bg-primary px-4 py-1.5 text-sm font-semibold text-primary-foreground shadow-sm transition-colors hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",children:["Aktivieren",n.jsx(ve,{className:"h-3.5 w-3.5","aria-hidden":"true"})]})]})]})}const mi=({currentArticle:e,allArticles:t,excludeIds:i})=>{const s=new Set(i??[]),{data:r}=oe(t),a=t=>{let i=0;if(t.category===e.category&&(i+=10),e.tags&&t.tags){const s=new Set(e.tags.map(e=>e.toLowerCase()));i+=2*t.tags.filter(e=>s.has(e.toLowerCase())).length}const s=new Set(e.headline.toLowerCase().split(/\s+/).filter(e=>e.length>3));i+=t.headline.toLowerCase().split(/\s+/).filter(e=>e.length>3).filter(e=>s.has(e)).length;const r=(Date.now()-new Date(t.published_at||"").getTime())/864e5;return r<7?i+=2:r<30&&(i+=1),i},o=Pe("also-read"),l=t.filter(t=>t.id!==e.id&&!(!t.storage_image&&!t.image_url)).map(e=>({...e,relevanceScore:a(e)})).sort((e,t)=>t.relevanceScore-e.relevanceScore),c=l.filter(e=>e.relevanceScore>0),A=[...c.filter(e=>!s.has(e.id)),...c.filter(e=>s.has(e.id)),...l.filter(e=>e.relevanceScore<=0&&!s.has(e.id))].slice(0,3);return 0===A.length?(l.length,t.length,null):(A.length,n.jsxs("section",{ref:o,className:"mt-16 pt-16 border-t-2 border-border/50",children:[n.jsx("div",{className:"mb-8",children:n.jsx("h2",{className:"text-2xl sm:text-3xl font-bold mb-2",children:"Andere lesen auch"})}),n.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6",children:A.map((e,t)=>n.jsx("div",{className:2===t?"hidden lg:block":void 0,children:n.jsx(p,{article:e,variant:"standard",section:"also-read",commentCount:r?.[e.id.toString()],sizes:"(max-width: 640px) 50vw, (max-width: 1024px) 50vw, 33vw"})},e.id))})]}))},gi={tier_flyby:"fly-by",tier_casual:"casual",tier_regular:"regular",tier_engaged:"engaged",tier_superfan:"super-fan"};let pi=null,fi="",xi="",bi="";const wi=()=>{const e="undefined"!=typeof sessionStorage?sessionStorage.getItem("exx_ad_segments")??"":"",t="undefined"!=typeof sessionStorage?sessionStorage.getItem("exx_push_subscribed")??"":"",i="undefined"!=typeof Notification?Notification.permission:"";return pi&&e===fi&&t===xi&&i===bi||(fi=e,xi=t,bi=i,pi=function(){try{const e=sessionStorage.getItem("exx_ad_segments")??"",t="1"===sessionStorage.getItem("exx_push_subscribed"),i="undefined"!=typeof Notification&&"denied"===Notification.permission;let s="unknown",r=!1;for(const n of e.split(",")){const e=n.replace("seg=","").trim();gi[e]&&(s=gi[e]),"val_conv_ready"===e&&(r=!0)}return{tier:s,isConversionReady:r,hasPush:t,pushDenied:i}}catch{return{tier:"unknown",isConversionReady:!1,hasPush:!1,pushDenied:!1}}}()),pi},yi=e=>()=>{},Ii={tier:"unknown",isConversionReady:!1,hasPush:!1,pushDenied:!1},Ci=()=>Ii;function vi(){return r.useSyncExternalStore(yi,wi,Ci)}const ki="exx_cta_dismiss_count",Bi="exx_cta_dismiss_until",Ni="exx_support_cta_shown",ji="exx_session_count";function Si(){const{subscription:e,isLoading:t}=tt(),{session:s}=he(),a="active"===e?.status,o=!!s?.user,{tier:l}=vi(),{pathname:c}=d(),[A,h]=r.useState(!1),[m,g]=r.useState(!1),p=Pe("support-cta");r.useEffect(()=>{if(t)return;if(a)return;if("1"===sessionStorage.getItem(Ni))return;if(function(){try{const e=localStorage.getItem(Bi);if(e&&new Date(e)>new Date)return!0;const t=parseInt(localStorage.getItem(ki)||"0",10);if(0===t)return!1;const i=parseInt(sessionStorage.getItem(ji)||"1",10)-parseInt(localStorage.getItem("exx_cta_dismiss_session")||"0",10);if(1===t&&i<2)return!0;
2if(2===t&&i<3)return!0}catch{}return!1}())return;const e=()=>{if(parseInt(sessionStorage.getItem("exx_page_count")||"1",10)>=2){h(!0);try{sessionStorage.setItem(Ni,"1")}catch{}return!0}return!1};if(!e()){const t=setTimeout(e,500);return()=>clearTimeout(t)}},[a,t,c]);const f=function(e,t){return"fly-by"===e||"super-fan"===e?null:"casual"===e||"unknown"===e?t?{icon:ke,heading:"Werde Teil der Community",subtext:"Kommentiere mit â zeig, was du denkst.",buttonText:"Jetzt mitmachen",action:"link:/forum/"}:{icon:ke,heading:"Immer auf dem neuesten Stand",subtext:"Kostenlos, keine Klarnamen-Pflicht.",buttonText:"Kostenlos dabei sein",action:"auth-register"}:"regular"===e?t?{icon:Be,heading:"Dein Beitrag macht uns unabhängig",subtext:"Unterstütze unabhängigen Journalismus.",buttonText:"exxpress unterstützen",action:"link:/preise/"}:{icon:ke,heading:"Werde Teil der Community",subtext:"Kostenlos, keine Klarnamen-Pflicht.",buttonText:"Kostenlos dabei sein",action:"auth-register"}:{icon:Ne,heading:"Hilf uns, frei zu berichten",subtext:"Schon ab 4,99 â¬/Monat.",buttonText:"Unterstützer werden",action:"link:/preise/"}}(l,o);if(r.useEffect(()=>{if(!A||!f)return;const e=de();e&&ue({visitor_id:e,event_type:"support_cta_view",metadata:{tier:l,variant:f.action,is_registered:o}})},[A]),!A||m||a||t||!f)return null;const x=()=>{const e=de();e&&ue({visitor_id:e,event_type:"support_cta_click",metadata:{tier:l,variant:f.action,is_registered:o}}),"auth-register"===f.action&&i(()=>import("./WorldCupGoalToast-gXyBTpNZ.js").then(e=>e.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])).then(e=>e.useAuthModal.getState().openAuth("register"))},b=f.icon;return n.jsx("div",{ref:p,className:"my-8 mx-auto max-w-prose",children:n.jsxs("div",{className:"relative rounded-xl border border-primary/20 bg-gradient-to-r from-primary/5 to-transparent p-5 sm:p-6",children:[n.jsx("button",{onClick:()=>{g(!0),function(){try{const e=parseInt(localStorage.getItem(ki)||"0",10)+1;if(localStorage.setItem(ki,String(e)),localStorage.setItem("exx_cta_dismiss_session",sessionStorage.getItem(ji)||"1"),e>=4){const e=new Date(Date.now()+2592e6);localStorage.setItem(Bi,e.toISOString())}else if(e>=3){const e=new Date(Date.now()+6048e5);localStorage.setItem(Bi,e.toISOString())}}catch{}}();const e=de();if(e){const t=parseInt(localStorage.getItem(ki)||"1",10);ue({visitor_id:e,event_type:"support_cta_dismiss",metadata:{tier:l,dismiss_count:t}})}},className:"absolute top-2 right-2 text-muted-foreground hover:text-foreground text-xs px-2 py-1 rounded-md hover:bg-accent transition-colors","aria-label":"Nicht jetzt",children:"Nicht jetzt"}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center",children:n.jsx(b,{className:"w-5 h-5 text-primary"})}),n.jsxs("div",{className:"flex-1 min-w-0",children:[n.jsx("h3",{className:"font-bold text-foreground text-base sm:text-lg mb-1",children:f.heading}),n.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:f.subtext}),"auth-register"===f.action?n.jsx(I,{size:"sm",onClick:x,children:f.buttonText}):n.jsx(I,{asChild:!0,size:"sm",onClick:x,children:n.jsx(u,{to:f.action.replace("link:",""),children:f.buttonText})})]})]})]})})}const Ei=async()=>{const e=await fetch("/api/feeds/most-read-sidebar.json",{headers:{Accept:"application/json"}});if(!e.ok)throw new Error(`Failed to fetch most-read sidebar feed: ${e.status}`);return e.json()},Di=({excludeIds:e=[],articles:t,pending:i=!1})=>{const s=Pe("most-read"),r=void 0!==t&&(t.length>0||i),{data:a,isLoading:o,isError:l}=((e=!0)=>ot({queryKey:["most-read-sidebar-feed"],queryFn:Ei,staleTime:3e5,gcTime:6e5,refetchInterval:3e5,refetchOnWindowFocus:!1,retry:2,enabled:e}))(!r),{data:c,isLoading:A}=function(e=5,t=!0){return ot({queryKey:["most-read",e],queryFn:async()=>{const{data:t,error:i}=await me.from("most_read_cache").select("id, article_id, rank, title, slug, category_slug, image_url, image_sizes, storage_image, total_views, synced_at, published_at").order("rank",{ascending:!0}).limit(e);
2if(i)throw console.error("[useMostRead] Error fetching most read:",i),i;return t||[]},staleTime:3e5,gcTime:6e5,enabled:t})}(6,!r&&l),{consent:d}=ge(),u=E();d?.marketing&&u.displayAds;let h=[],m=!1;if(r)h=(t??[]).filter(t=>!e.includes(t.id)),m=i&&0===h.length;else{m=l?A:o,h=((l?c:a?.articles)??[]).filter(t=>!e.includes(t.article_id??t.id)).map(e=>({id:e.article_id??e.id,headline:e.title,slug:e.slug,category:e.category_slug,image_url:e.image_url,storage_image:e.storage_image,published_at:e.published_at??e.synced_at,subline:e.subline??void 0,comment_count:e.comment_count??null}))}const{data:g}=oe(h);return m?n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Meistgelesen"}),n.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:[1,2,3].map(e=>n.jsx(ct,{variant:"standard"},e))})]}):0===h.length?null:n.jsxs("section",{ref:s,children:[n.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Meistgelesen"}),n.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:h.slice(0,3).map(e=>n.jsx(p,{article:e,variant:"standard",section:"most-read",commentCount:g?.[e.id.toString()],sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"},e.id))})]})};const Fi="undefined"!=typeof window&&window.matchMedia("(min-width: 1024px)").matches?6:4,Qi=({excludeIds:e,category:t,initialArticles:i})=>{const{data:s,fetchNextPage:a,hasNextPage:o,isFetchingNextPage:l,isLoading:c}=dt({excludeIds:e,category:t,initialArticles:i}),A=r.useMemo(()=>s?.pages.flatMap(e=>e.articles)||[],[s]),{data:d}=oe(A),u=r.useMemo(()=>{const e=[];for(let t=0;t<A.length;t+=Fi)e.push(A.slice(t,t+Fi));return e},[A]);return function({hasNextPage:e,isFetchingNextPage:t,fetchNextPage:i,rootMargin:s="300px"}){const n=r.useRef(null),a=r.useCallback(r=>{n.current&&n.current.disconnect(),r&&e&&!t&&(n.current=new IntersectionObserver(s=>{s[0].isIntersecting&&e&&!t&&i()},{rootMargin:s}),n.current.observe(r))},[e,t,i,s]);r.useEffect(()=>()=>{n.current&&n.current.disconnect()},[])}({hasNextPage:A.length<0&&o,isFetchingNextPage:l,fetchNextPage:a}),c?n.jsxs("section",{className:"mt-12 pt-8 border-t border-border",children:[n.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Weitere Artikel"}),n.jsx("div",{className:"flex justify-center py-8",children:n.jsx(je,{className:"h-8 w-8 animate-spin text-primary"})})]}):0===A.length?null:n.jsxs("section",{className:"more-articles-section",children:[n.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Weitere Artikel"}),u.map((e,t)=>n.jsx(r.Fragment,{children:n.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(e=>n.jsx(p,{article:e,variant:"standard",section:"more-articles",commentCount:d?.[e.id.toString()],sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"},e.id))})},t)),o&&n.jsx("div",{className:"py-8 flex justify-center",children:n.jsx(I,{onClick:()=>a(),disabled:l,variant:"default",size:"lg",className:"min-w-[280px] bg-primary hover:bg-primary/90 text-white font-semibold shadow-md",children:l?n.jsxs(n.Fragment,{children:[n.jsx(je,{className:"mr-2 h-5 w-5 animate-spin"}),"Wird geladen..."]}):"Mehr Artikel laden"})})]})};var Ki,Wi,Gi={},Yi={},Ri={},Ti={};function Ji(){if(Wi)return Ri;Wi=1;function e(e,t,i,s,r,n,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=s,this.attributeNamespace=r,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=n,this.removeEmptyString=a}const t={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(i=>{t[i]=new e(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([i,s])=>{t[i]=new e(i,1,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(i=>{t[i]=new e(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(i=>{t[i]=new e(i,2,!1,i,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","o
2pen","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(i=>{t[i]=new e(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(i=>{t[i]=new e(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(i=>{t[i]=new e(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(i=>{t[i]=new e(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(i=>{t[i]=new e(i,5,!1,i.toLowerCase(),null,!1,!1)});const i=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(r=>{const n=r.replace(i,s);t[n]=new e(n,1,!1,r,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(r=>{const n=r.replace(i,s);t[n]=new e(n,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(r=>{const n=r.replace(i,s);t[n]=new e(n,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(i=>{t[i]=new e(i,1,!1,i.toLowerCase(),null,!1,!1)});t.xlinkHref=new e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(i=>{t[i]=new e(i,1,!1,i.toLowerCase(),null,!0,!0)});const{CAMELCASE:r,SAME:n,possibleStandardNames:a}=(Ki||(Ki=1,Ti.SAME=0,Ti.CAMELCASE=1,Ti
vendor: 7,404 bytes, line 2
2.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}
2),Ti),o=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),l=Object.keys(a).reduce((e,t)=>{const i=a[t];return i===n?e[t]=t:i===r?e[t.toLowerCase()]=t:e[t]=i,e},{});return Ri.BOOLEAN=3,Ri.BOOLEANISH_STRING=2,Ri.NUMERIC=5,Ri.OVERLOADED_BOOLEAN=4,Ri.POSITIVE_NUMERIC=6,Ri.RESERVED=0,Ri.STRING=1,Ri.getPropertyInfo=function(e){return t.hasOwnProperty(e)?t[e]:null},Ri.isCustomAttribute=o,Ri.possibleStandardNames=l,Ri}var Mi,Zi,Hi,Ui={},_i={};function Li(){if(Hi)return _i;Hi=1;var e=_i&&_i.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_i,"__esModule",{value:!0}),_i.default=function(e,i){let s=null;if(!e||"string"!=typeof e)return s;const r=(0,t.default)(e),n="function"==typeof i;return r.forEach(e=>{if("declaration"!==e.type)return;const{property:t,value:r}=e;n?i(t,r,e):r&&(s=s||{},s[t]=r)}),s};const t=e(function(){if(Zi)return Mi;Zi=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l="";function c(e){return e?e.replace(o,l):l}return Mi=function(o,A){if("string"!=typeof o)throw new TypeError("First argument must be a string");if(!o)return[];A=A||{};var d=1,u=1;function h(e){var i=e.match(t);i&&(d+=i.length);var s=e.lastIndexOf("\n");u=~s?e.length-s:u+e.length}function m(){var e={line:d,column:u};return function(t){return t.position=new g(e),x(),t}}function g(e){this.start=e,this.end={line:d,column:u},this.source=A.source}function p(e){var t=new Error(A.source+":"+d+":"+u+": "+e);if(t.reason=e,t.filename=A.source,t.line=d,t.column=u,t.source=o,!A.silent)throw t}function f(e){var t=e.exec(o);if(t){var i=t[0];return h(i),o=o.slice(i.length),t}}function x(){f(i)}function b(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var e=m();if("/"==o.charAt(0)&&"*"==o.charAt(1)){for(var t=2;l!=o.charAt(t)&&("*"!=o.charAt(t)||"/"!=o.charAt(t+1));)++t;if(t+=2,l===o.charAt(t-1))return p("End of comment missing");var i=o.slice(2,t-2);return u+=2,h(i),o=o.slice(t),u+=2,e({type:"comment",comment:i})}}function y(){var t=m(),i=f(s);if(i){if(w(),!f(r))return p("property missing ':'");var o=f(n),A=t({type:"declaration",property:c(i[0].replace(e,l)),value:o?c(o[0].replace(e,l)):l});return f(a),A}}return g.prototype.content=o,x(),function(){var e,t=[];for(b(t);e=y();)!1!==e&&(t.push(e),b(t));return t}()}}());return _i}var Oi,Vi,zi,Xi,qi,Pi,$i={};function es(){if(Oi)return $i;Oi=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,i=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,n=function(e,t){return t.toUpperCase()},a=function(e,t){return"".concat(t,"-")};return $i.camelCase=function(o,l){return void 0===l&&(l={}),function(t){return!t||i.test(t)||e.test(t)}(o)?o:(o=o.toLowerCase(),(o=l.reactCompat?o.replace(r,a):o.replace(s,a)).replace(t,n))},$i}function ts(){return Xi||(Xi=1,function(e){var t=Ui&&Ui.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=function(e,t){if(!e.includes("-"))return Boolean(t&&"string"==typeof t.is);if(r.has(e))return!1;return!0},e.setStyleProp=function(e,t){if("string"!=typeof e)return;if(!e.trim())return void(t.style={});try{t.style=(0,s.default)(e,n)}catch(i){t.style={}}};var i=a(),s=t(function(){if(zi)return Vi;zi=1;
2var e=(Vi&&Vi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Li()),t=es();function i(i,s){var r={};return i&&"string"==typeof i?((0,e.default)(i,function(e,i){e&&i&&(r[(0,t.camelCase)(e,s)]=i)}),r):r}return i.default=i,Vi=i}()),r=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);var n={reactCompat:!0};e.PRESERVE_CUSTOM_ATTRIBUTES=Number(i.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.canTextBeChildOfNode=function(t){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)};e.returnFirstArg=function(e){return e}}(Ui)),Ui}function is(){if(qi)return Yi;qi=1,Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.default=function(a,o){void 0===a&&(a={});var l={},c=Boolean(a.type&&r[a.type]);for(var A in a){var d=a[A];if((0,e.isCustomAttribute)(A))l[A]=d;else{var u=A.toLowerCase(),h=n(u);if(h){var m=(0,e.getPropertyInfo)(h);switch(i.includes(h)&&s.includes(o)&&!c&&(h=n("default"+u)),l[h]=d,null==m?void 0:m.type){case e.BOOLEAN:l[h]=!0;break;case e.OVERLOADED_BOOLEAN:""===d&&(l[h]=!0)}}else t.PRESERVE_CUSTOM_ATTRIBUTES&&(l[A]=d)}}return(0,t.setStyleProp)(a.style,l),l};var e=Ji(),t=ts(),i=["checked","value"],s=["input","select","textarea"],r={reset:!0,submit:!0};function n(t){return e.possibleStandardNames[t]}return Yi}const ss=o(function(){if(Pi)return Gi;Pi=1;var e=Gi&&Gi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.default=function e(t,a){var o,l,c,A,d;void 0===a&&(a={});for(var u=[],h="function"==typeof a.replace,m=null!==(o=a.transform)&&void 0!==o?o:s.returnFirstArg,g=null!==(l=a.library)&&void 0!==l?l:r,p=g.cloneElement,f=g.createElement,x=g.isValidElement,b=t.length,w=0;w<b;w++){var y=t[w];if(h){var I=null===(c=a.replace)||void 0===c?void 0:c.call(a,y,w);if(x(I)){b>1&&(I=p(I,{key:null!==(A=I.key)&&void 0!==A?A:w})),u.push(m(I,y,w));continue}}if("text"!==y.type){var C=y,v={};n(C)?((0,s.setStyleProp)(C.attribs.style,C.attribs),v=C.attribs):C.attribs&&(v=(0,i.default)(C.attribs,C.name));var k=void 0;switch(y.type){case"script":case"style":y.children[0]&&(v.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":"textarea"===y.name&&y.children[0]?v.defaultValue=y.children[0].data:(null===(d=y.children)||void 0===d?void 0:d.length)&&(k=e(y.children,a));break;default:continue}b>1&&(v.key=w),u.push(m(f(y.name,v,k),y,w))}else{var B=!y.data.trim().length;if(B&&y.parent&&!(0,s.canTextBeChildOfNode)(y.parent))continue;if(a.trim&&B)continue;u.push(m(y.data,y,w))}}return 1===u.length?u[0]:u};var t=a(),i=e(is()),s=ts(),r={cloneElement:t.cloneElement,createElement:t.createElement,isValidElement:t.isValidElement};function n(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,s.isCustomComponent)(e.name,e.attribs)}return Gi}()),rs=ss.default||ss;const ns=o(is()),as=ns.default||ns,os=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function ls(e){const t=atob(e),i=-2&t.length,s=new Uint16Array(i/2);for(let r=0,n=0;r<i;r+=2){const e=t.charCodeAt(r),i=t.charCodeAt(r+1);s[n++]=e|i<<8}return s}const cs=ls
vendor: 5,276 bytes, line 2
2("QR08ALkAAgH6AYsDNQR2BO0EP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+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg")
2,As=ls("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");var ds,us,hs,ms;(us=ds||(ds={}))[us.VALUE_LENGTH=49152]="VALUE_LENGTH",us[us.FLAG13=8192]="FLAG13",us[us.BRANCH_LENGTH=8064]="BRANCH_LENGTH",us[us.JUMP_TABLE=127]="JUMP_TABLE",(ms=hs||(hs={}))[ms.NUM=35]="NUM",ms[ms.SEMI=59]="SEMI",ms[ms.EQUALS=61]="EQUALS",ms[ms.ZERO=48]="ZERO",ms[ms.NINE=57]="NINE",ms[ms.LOWER_A=97]="LOWER_A",ms[ms.LOWER_F=102]="LOWER_F",ms[ms.LOWER_X=120]="LOWER_X",ms[ms.LOWER_Z=122]="LOWER_Z",ms[ms.UPPER_A=65]="UPPER_A",ms[ms.UPPER_F=70]="UPPER_F",ms[ms.UPPER_Z=90]="UPPER_Z";function gs(e){return e>=hs.ZERO&&e<=hs.NINE}function ps(e){return e>=hs.UPPER_A&&e<=hs.UPPER_F||e>=hs.LOWER_A&&e<=hs.LOWER_F}function fs(e){return e===hs.EQUALS||function(e){return e>=hs.UPPER_A&&e<=hs.UPPER_Z||e>=hs.LOWER_A&&e<=hs.LOWER_Z||gs(e)}(e)}var xs,bs,ws,ys,Is,Cs,vs,ks,Bs;(bs=xs||(xs={}))[bs.EntityStart=0]="EntityStart",bs[bs.NumericStart=1]="NumericStart",bs[bs.NumericDecimal=2]="NumericDecimal",bs[bs.NumericHex=3]="NumericHex",bs[bs.NamedEntity=4]="NamedEntity",(ys=ws||(ws={}))[ys.Legacy=0]="Legacy",ys[ys.Strict=1]="Strict",ys[ys.Attribute=2]="Attribute";class Ns{constructor(e,i,s){t(this,"decodeTree"),t(this,"emitCodePoint"),t(this,"errors"),t(this,"state",xs.EntityStart),t(this,"consumed",1),t(this,"result",0),t(this,"treeIndex",0),t(this,"excess",1),t(this,"decodeMode",ws.Strict),t(this,"runConsumed",0),this.decodeTree=e,this.emitCodePoint=i,this.errors=s}startEntity(e){this.decodeMode=e,this.state=xs.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case xs.EntityStart:return e.charCodeAt(t)===hs.NUM?(this.state=xs.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=xs.NamedEntity,this.stateNamedEntity(e,t));case xs.NumericStart:return this.stateNumericStart(e,t);case xs.NumericDecimal:return this.stateNumericDecimal(e,t);case xs.NumericHex:return this.stateNumericHex(e,t);case xs.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===hs.LOWER_X?(this.state=xs.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=xs.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){const i=e.charCodeAt(t);if(!gs(i)&&!ps(i))return this.emitNumericEntity(i,3);{const e=i<=hs.NINE?i-hs.ZERO:(32|i)-hs.LOWER_A+10;this.result=16*this.result+e,this.consumed++,t++}}return-1}stateNumericDecimal(e,t){for(;t<e.length;){const i=e.charCodeAt(t);if(!gs(i))return this.emitNumericEntity(i,2);this.result=10*this.result+(i-hs.ZERO),this.consumed++,t++}return-1}emitNumericEntity(e,t){if(this.consumed<=t)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===hs.SEMI)this.consumed+=1;else if(this.decodeMode===ws.Strict)return 0;var i;return this.emitCodePoint((i=this.result)>=55296&&i<=57343||i>1114111?65533:os.get(i)??i,this.consumed),this.errors&&(e!==hs.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:i}=this;let s=i[this.treeIndex],r=(s&ds.VALUE_LENGTH)>>14;for(;t<e.length;){if(0===r&&0!==(s&ds.FLAG13)){const n=(s&ds.BRANCH_LENGTH)>>7;if(0===this.runConsumed){const i=s&ds.JUMP_TABLE;if(e.charCodeAt(t)!==i)return 0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<n;){if(t>=e.length)return-1;const s=this.runConsumed-1,r=i[this.treeIndex+1+(s>>1)],n=s%2==0?255&r:r>>8&255;if(e.charCodeAt(t)!==n)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(n>>1),s=i[this.treeIndex],r=(s&ds.VALUE_LENGTH)>>14}if(t>=e.length)break;const n=e.charCodeAt(t);if(n===hs.SEMI&&0!==r&&0!==(s&ds.FLAG13))return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);if(this.treeIndex=js(i,s,this.treeIndex+Math.max(1,r),n),this.treeIndex<0)return 0===this.result||this.decodeMode===ws.Attribute&&(0===r||fs(n))?0:this.emitNotTerminatedNamedEntity();if(s=i[this.treeIndex],r=(s&ds.VALUE_LENGTH)>>14,0!==r){if(n===hs.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==ws.Strict&&0===(s&ds.FLAG13)&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){const{result:e,decodeTree:t}=this,i=(t[e]&ds.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,i){const{decodeTree:s}=this;return this.emitCodePoint(1===t?s[e]&~(ds.VALUE_LENGTH|ds.FLAG13):s[e+1],i),3===t&&this.emitCodePoint(s[e+2],i),i}end(){switch(this.state){case xs.NamedEntity:return 0===this.result||this.decodeMode===ws.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case xs.NumericDecimal:return this.emitNumericEntity(0,2);case xs.NumericHex:return this.emitNumericEntity(0,3);case xs.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xs.EntityStart:return 0}}}function js(e,t,i,s){const r=(t&ds.BRANCH_LENGTH)>>7,n=t&ds.JUMP_TABLE;if(0===r)return 0!==n&&s===n?i:-1;if(n){const t=s-n;return t<0||t>=r?-1:e[i+t]-1}const a=r+1>>1;let o=0,l=r-1;for(;o<=l;){const t=o+l>>>1,r=e[i+(t>>1)]>>8*(1&t)&255;if(r<s)o=t+1;else{if(!(r>s))return e[i+a+t];l=t-1}}return-1}function Ss(e){return e===Is.Space||e===Is.NewLine||e===Is.Tab||e===Is.FormFeed||e===Is.CarriageReturn}function Es(e){return e===Is.Slash||e===Is.Gt||Ss(e)}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(Is||(Is={})),(vs=Cs||(Cs={}))[vs.Text=1]="Text",vs[vs.BeforeTagName=2]="BeforeTagName",vs[vs.InTagName=3]="InTagName",vs[vs.InSelfClosingTag=4]="InSelfClosingTag",vs[vs.BeforeClosingTagName=5]="BeforeClosingTagName",vs[vs.InClosingTagName=6]="InClosingTagName",vs[vs.AfterClosingTagName=7]="AfterClosingTagName",vs[vs.BeforeAttributeName=8]="BeforeAttributeName",vs[vs.InAttributeName=9]="InAttributeName",vs[vs.AfterAttributeName=10]="AfterAttributeName",vs[vs.BeforeAttributeValue=11]="BeforeAttributeValue",vs[vs.InAttributeValueDq=12]="InAttributeValueDq",vs[vs.InAttributeValueSq=13]="InAttributeValueSq",vs[vs.InAttributeValueNq=14]="InAttributeValueNq",vs[vs.BeforeDeclaration=15]="BeforeDeclaration",vs[vs.InDeclaration=16]="InDeclaration",vs[vs.InProcessingInstruction=17]="InProcessingInstruction",vs[vs.BeforeComment=18]="BeforeComment",vs[vs.CDATASequence=19]="CDATASequence",vs[vs.DeclarationSequence=20]="DeclarationSequence",vs[vs.InSpecialComment=21]="InSpecialComment",vs[vs.InCommentLike=22]="InCommentLike",vs[vs.SpecialStartSequence=23]="SpecialStartSequence",vs[vs.InSpecialTag=24]="InSpecialTag",vs[vs.InPlainText=25]="InPlainText",vs[vs.InEntity=26]="InEntity",(Bs=ks||(ks={}))[Bs.NoValue=0]="NoValue",Bs[Bs.Unquoted=1]="Unquoted",Bs[Bs.Single=2]="Single",Bs[Bs.Double=3]="Double";const Ds={Empty:new Uint8Array(0),Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,33,62]),Doctype:new Uint8Array([100,
vendor: 16,384 bytes, line 2
2111,99,116,121,112,101]),IframeEnd:new Uint8Array([60,47,105,102,114,97,109,101]),NoembedEnd:new Uint8Array([60,47,110,111,101,109,98,101,100]),NoframesEnd:new Uint8Array([60,47,110,111,102,114,97,109,101,115]),Plaintext:new Uint8Array([60,47,112,108,97,105,110,116,101,120,116]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])},Fs=new Map([[Ds.IframeEnd[2],Ds.IframeEnd],[Ds.NoembedEnd[2],Ds.NoembedEnd],[Ds.Plaintext[2],Ds.Plaintext],[Ds.ScriptEnd[2],Ds.ScriptEnd],[Ds.TitleEnd[2],Ds.TitleEnd],[Ds.XmpEnd[2],Ds.XmpEnd]]);class Qs{constructor({xmlMode:e=!1,decodeEntities:i=!0,recognizeSelfClosing:s=e},r){t(this,"cbs"),t(this,"state",Cs.Text),t(this,"buffer",""),t(this,"sectionStart",0),t(this,"index",0),t(this,"entityStart",0),t(this,"baseState",Cs.Text),t(this,"isSpecial",!1),t(this,"running",!0),t(this,"offset",0),t(this,"xmlMode"),t(this,"decodeEntities"),t(this,"recognizeSelfClosing"),t(this,"entityDecoder"),t(this,"currentSequence",Ds.Empty),t(this,"sequenceIndex",0),this.cbs=r,this.xmlMode=e,this.decodeEntities=i,this.recognizeSelfClosing=s,this.entityDecoder=new Ns(e?As:cs,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=Cs.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Cs.Text,this.isSpecial=!1,this.currentSequence=Ds.Empty,this.sequenceIndex=0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===Is.Lt||!this.decodeEntities&&this.fastForwardTo(Is.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=Cs.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===Is.Amp&&this.startEntity()}enterTagBody(){this.currentSequence===Ds.Plaintext?(this.currentSequence=Ds.Empty,this.state=Cs.InPlainText):this.isSpecial?(this.state=Cs.InSpecialTag,this.sequenceIndex=0):this.state=Cs.Text}stateSpecialStartSequence(e){const t=32|e;if(this.sequenceIndex<this.currentSequence.length){if(t===this.currentSequence[this.sequenceIndex])return void this.sequenceIndex++;if(3===this.sequenceIndex){if(this.currentSequence===Ds.ScriptEnd&&t===Ds.StyleEnd[3])return this.currentSequence=Ds.StyleEnd,void(this.sequenceIndex=4);if(this.currentSequence===Ds.TitleEnd&&t===Ds.TextareaEnd[3])return this.currentSequence=Ds.TextareaEnd,void(this.sequenceIndex=4)}else if(4===this.sequenceIndex&&this.currentSequence===Ds.NoembedEnd&&t===Ds.NoframesEnd[4])return this.currentSequence=Ds.NoframesEnd,void(this.sequenceIndex=5)}else if(Es(e))return this.sequenceIndex=0,this.state=Cs.InTagName,void this.stateInTagName(e);this.isSpecial=!1,this.currentSequence=Ds.Empty,this.sequenceIndex=0,this.state=Cs.InTagName,this.stateInTagName(e)}stateCDATASequence(e){e===Ds.Cdata[this.sequenceIndex]?++this.sequenceIndex===Ds.Cdata.length&&(this.state=Cs.InCommentLike,this.currentSequence=Ds.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.xmlMode?(this.state=Cs.InDeclaration,this.stateInDeclaration(e)):(this.state=Cs.InSpecialComment,this.stateInSpecialComment(e)))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}emitComment(e){this.cbs.oncomment(this.sectionStart,this.index,e),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=Cs.Text}stateInCommentLike(e){!this.xmlMode&&this.currentSequence===Ds.CommentEnd&&this.sequenceIndex<=1&&this.index===this.sectionStart+this.sequenceIndex&&e===Is.Gt?this.emitComment(this.sequenceIndex):this.currentSequence===Ds.CommentEnd&&2===this.sequenceIndex&&e===Is.Gt?this.emitComment(2):this.currentSequence===Ds.CommentEnd&&this.sequenceIndex===this.currentSequence.length-1&&e!==Is.Gt?this.sequenceIndex=Number(e===Is.Dash):e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Ds.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,3),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=Cs.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!Es(e):function(e){return e>=Is.LowerA&&e<=Is.LowerZ||e>=Is.UpperA&&e<=Is.UpperZ}(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(Es(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Ds.TitleEnd||this.currentSequence===Ds.TextareaEnd?this.decodeEntities&&e===Is.Amp&&this.startEntity():this.fastForwardTo(Is.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===Is.Lt)}stateBeforeTagName(e){if(e===Is.ExclamationMark)this.state=Cs.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===Is.Questionmark)this.xmlMode?(this.state=Cs.InProcessingInstruction,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.state=Cs.InSpecialComment,this.sectionStart=this.index);else if(this.isTagStartChar(e)){this.sectionStart=this.index;const t=this.xmlMode||this.cbs.isInForeignContext?.()?void 0:Fs.get(32|e);void 0===t?this.state=Cs.InTagName:(this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=3,this.state=Cs.SpecialStartSequence)}else e===Is.Slash?this.state=Cs.BeforeClosingTagName:(this.state=Cs.Text,this.stateText(e))}stateInTagName(e){Es(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Cs.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){Ss(e)?this.xmlMode||(this.state=Cs.InSpecialComment,this.sectionStart=this.index):e===Is.Gt?(this.state=Cs.Text,this.xmlMode||(this.sectionStart=this.index+1)):(this.state=this.isTagStartChar(e)?Cs.InClosingTagName:Cs.InSpecialComment,this.sectionStart=this.index)}stateInClosingTagName(e){Es(e)&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=Cs.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===Is.Gt||this.fastForwardTo(Is.Gt))&&(this.state=Cs.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===Is.Gt?(this.cbs.onopentagend(this.index),this.enterTagBody(),this.sectionStart=this.index+1):e===Is.Slash?this.state=Cs.InSelfClosingTag:Ss(e)||(this.state=Cs.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){if(e===Is.Gt){if(this.cbs.onselfclosingtag(this.index),this.sectionStart=this.index+1,!this.recognizeSelfClosing)return void this.enterTagBody();this.state=Cs.Text,this.isSpecial=!1,this.currentSequence=Ds.Empty}else Ss(e)||(this.state=Cs.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===Is.Eq||Es(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=Cs.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===Is.Eq?this.state=Cs.BeforeAttributeValue:e===Is.Slash||e===Is.Gt?(this.cbs.onattribend(ks.NoValue,this.sectionStart),this.sectionStart=-1,this.state=Cs.BeforeAttributeName,this.stateBeforeAttributeName(e)):Ss(e)||(this.cbs.onattribend(ks.NoValue,this.sectionStart),this.state=Cs.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===Is.DoubleQuote?(this.state=Cs.InAttributeValueDq,this.sectionStart=this.index+1):e===Is.SingleQuote?(this.state=Cs.InAttributeValueSq,this.sectionStart=this.index+1):Ss(e)||(this.sectionStart=this.index,this.state=Cs.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===Is.DoubleQuote?ks.Double:ks.Single,this.index+1),this.state=Cs.BeforeAttributeName):this.decodeEntities&&e===Is.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,Is.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,Is.SingleQuote)}stateInAttributeValueNoQuotes(e){Ss(e)||e===Is.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ks.Unquoted,this.index),this.state=Cs.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===Is.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===Is.OpeningSquareBracket?(this.state=Cs.CDATASequence,this.sequenceIndex=0):this.xmlMode?this.state=e===Is.Dash?Cs.BeforeComment:Cs.InDeclaration:(32|e)===Ds.Doctype[0]?(this.state=Cs.DeclarationSequence,this.currentSequence=Ds.Doctype,this.sequenceIndex=1):e===Is.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Cs.Text,this.sectionStart=this.index+1):e===Is.Dash?this.state=Cs.BeforeComment:this.state=Cs.InSpecialComment}stateDeclarationSequence(e){this.sequenceIndex===this.currentSequence.length?(this.state=Cs.InDeclaration,this.stateInDeclaration(e)):(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:e===Is.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Cs.Text,this.sectionStart=this.index+1):this.state=Cs.InSpecialComment}stateInDeclaration(e){(e===Is.Gt||this.fastForwardTo(Is.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=Cs.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){e===Is.Questionmark?this.sequenceIndex=1:e===Is.Gt&&1===this.sequenceIndex?(this.cbs.onprocessinginstruction(this.sectionStart,this.index-1),this.sequenceIndex=0,this.state=Cs.Text,this.sectionStart=this.index+1):this.sequenceIndex=Number(this.fastForwardTo(Is.Questionmark))}stateBeforeComment(e){e===Is.Dash?(this.state=Cs.InCommentLike,this.currentSequence=Ds.CommentEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):this.xmlMode?this.state=Cs.InDeclaration:e===Is.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Cs.Text,this.sectionStart=this.index+1):this.state=Cs.InSpecialComment}stateInSpecialComment(e){(e===Is.Gt||this.fastForwardTo(Is.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Cs.Text,this.sectionStart=this.index+1)}startEntity(){this.baseState=this.state,this.state=Cs.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?ws.Strict:this.baseState===Cs.Text||this.baseState===Cs.InSpecialTag?ws.Legacy:ws.Attribute)}stateInEntity(){const e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,0===t&&(this.index-=1);else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===Is.Amp)return this.state=this.baseState,void(this.index-=1);this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===Cs.Text||this.state===Cs.InPlainText||this.state===Cs.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==Cs.InAttributeValueDq&&this.state!==Cs.InAttributeValueSq&&this.state!==Cs.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case Cs.Text:this.stateText(e);break;case Cs.InPlainText:this.index=this.buffer.length+this.offset-1;break;case Cs.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case Cs.InSpecialTag:this.stateInSpecialTag(e);break;case Cs.CDATASequence:this.stateCDATASequence(e);break;case Cs.DeclarationSequence:this.stateDeclarationSequence(e);break;case Cs.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case Cs.InAttributeName:this.stateInAttributeName(e);break;case Cs.InCommentLike:this.stateInCommentLike(e);break;case Cs.InSpecialComment:this.stateInSpecialComment(e);break;case Cs.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case Cs.InTagName:this.stateInTagName(e);break;case Cs.InClosingTagName:this.stateInClosingTagName(e);break;case Cs.BeforeTagName:this.stateBeforeTagName(e);break;case Cs.AfterAttributeName:this.stateAfterAttributeName(e);break;case Cs.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case Cs.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case Cs.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case Cs.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case Cs.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case Cs.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case Cs.InDeclaration:this.stateInDeclaration(e);break;case Cs.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case Cs.BeforeComment:this.stateBeforeComment(e);break;case Cs.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case Cs.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===Cs.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingCommentLikeData(e){if(this.state!==Cs.InCommentLike)return!1;if(this.currentSequence===Ds.CdataEnd)if(this.xmlMode)this.sectionStart<e&&this.cbs.oncdata(this.sectionStart,e,0);else{const t=this.sectionStart-Ds.Cdata.length-1;this.cbs.oncomment(t,e,0)}else{const t=this.xmlMode?0:Math.min(this.sequenceIndex,Ds.CommentEnd.length-1);this.cbs.oncomment(this.sectionStart,e,t)}return!0}handleTrailingMarkupDeclaration(e){if(this.xmlMode)switch(this.state){case Cs.InSpecialComment:case Cs.BeforeComment:case Cs.CDATASequence:case Cs.DeclarationSequence:case Cs.InDeclaration:return this.cbs.ontext(this.sectionStart,e),!0;default:return!1}switch(this.state){case Cs.BeforeDeclaration:case Cs.InSpecialComment:case Cs.BeforeComment:case Cs.CDATASequence:return this.cbs.oncomment(this.sectionStart,e,0),!0;case Cs.DeclarationSequence:return this.sequenceIndex!==Ds.Doctype.length&&this.cbs.oncomment(this.sectionStart,e,0),!0;case Cs.InDeclaration:return!0;default:return!1}}handleTrailingData(){const e=this.buffer.length+this.offset;if(!(this.handleTrailingCommentLikeData(e)||this.handleTrailingMarkupDeclaration(e)||this.sectionStart>=e))switch(this.state){case Cs.InTagName:case Cs.BeforeAttributeName:case Cs.BeforeAttributeValue:case Cs.AfterAttributeName:case Cs.InAttributeName:case Cs.InAttributeValueSq:case Cs.InAttributeValueDq:case Cs.InAttributeValueNq:case Cs.InClosingTagName:break;default:this.cbs.ontext(this.sectionStart,e)}}emitCodePoint(e,t){this.baseState!==Cs.Text&&this.baseState!==Cs.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}}const{fromCodePoint:Ks}=String,Ws=new Set(["input","option","optgroup","select","button","datalist","textarea"]),Gs=new Set(["p"]),Ys=new Set(["h1","h2","h3","h4","h5","h6","p"]),Rs=new Set(["thead","tbody"]),Ts=new Set(["dd","dt"]),Js=new Set(["rt","rp"]),Ms=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["a",new Set(["a"])],["li",new Set(["li"])],["p",Gs],["h1",Ys],["h2",Ys],["h3",Ys],["h4",Ys],["h5",Ys],["h6",Ys],["select",Ws],["input",Ws],["output",Ws],["button",Ws],["datalist",Ws],["textarea",Ws],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Ts],["dt",Ts],["address",Gs],["article",Gs],["aside",Gs],["blockquote",Gs],[
2"details",Gs],["div",Gs],["dl",Gs],["fieldset",Gs],["figcaption",Gs],["figure",Gs],["footer",Gs],["form",Gs],["header",Gs],["hr",Gs],["main",Gs],["nav",Gs],["ol",Gs],["pre",Gs],["section",Gs],["table",Gs],["ul",Gs],["rt",Js],["rp",Js],["tbody",Rs],["tfoot",Rs]]),Zs="doctype",Hs=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Us=new Set(["math","svg"]),_s=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Ls=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]);var Os,Vs;(Vs=Os||(Os={}))[Vs.None=0]="None",Vs[Vs.Svg=1]="Svg",Vs[Vs.MathML=2]="MathML";const zs=/\s|\//;class Xs{constructor(e,i={}){t(this,"options"),t(this,"startIndex",0),t(this,"endIndex",0),t(this,"openTagStart",0),t(this,"tagname",""),t(this,"attribname",""),t(this,"attribvalue",""),t(this,"attribs",null),t(this,"stack",[]),t(this,"foreignContext"),t(this,"cbs"),t(this,"lowerCaseTagNames"),t(this,"lowerCaseAttributeNames"),t(this,"recognizeSelfClosing"),t(this,"htmlMode"),t(this,"tokenizer"),t(this,"buffers",[]),t(this,"bufferOffset",0),t(this,"writeIndex",0),t(this,"ended",!1),this.options=i,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=i.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=i.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=i.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(i.Tokenizer??Qs)(this.options,this),this.foreignContext=[Os.None],this.cbs.onparserinit?.(this)}ontext(e,t){const i=this.getSlice(e,t);this.endIndex=t-1,this.cbs.ontext?.(i),this.startIndex=t}ontextentity(e,t){this.endIndex=t-1,this.cbs.ontext?.(Ks(e)),this.startIndex=t}isInForeignContext(){return this.foreignContext[0]!==Os.None}isVoidElement(e){return this.htmlMode&&Hs.has(e)}readTagName(e,t){const i=this.lowerCaseTagNames?this.getSlice(e,t).toLowerCase():this.getSlice(e,t);if(!this.lowerCaseTagNames||!this.htmlMode)return i;if(this.foreignContext[0]===Os.Svg)return Ls.get(i)??i;if(this.foreignContext.length>1){const e=Ls.get(i);if(void 0!==e&&this.stack.includes(e))return e}return this.isInForeignContext()?i:"image"===i?"img":i}onopentagname(e,t){this.endIndex=t,this.emitOpenTag(this.readTagName(e,t))}emitOpenTag(e){if(this.openTagStart=this.startIndex,this.tagname=e,this.htmlMode&&"form"===e&&this.stack.includes("form"))return void(this.tagname="");const t=this.htmlMode&&Ms.get(e);if(t)for(;this.stack.length>0&&t.has(this.stack[0]);)this.popElement(!0);this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&("svg"===e?this.foreignContext.unshift(Os.Svg):"math"===e?this.foreignContext.unshift(Os.MathML):_s.has(e)&&this.foreignContext.unshift(Os.None))),this.cbs.onopentagname?.(e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){this.startIndex=this.openTagStart,this.attribs&&(this.cbs.onopentag?.(this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){this.endIndex=t;const i=this.readTagName(e,t);if(this.isVoidElement(i))this.htmlMode&&"br"===i&&(this.cbs.onopentagname?.("br"),this.cbs.onopentag?.("br",{},!0),this.cbs.onclosetag?.("br",!1));else{const e=this.stack.indexOf(i);if(-1!==e){for(let t=0;t<e;t++)this.popElement(!0);this.popElement(!1)}else this.htmlMode&&"p"===i&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.isInForeignContext()?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}popElement(e){const t=this.stack.shift();this.htmlMode&&(Us.has(t)||_s.has(t))&&this.foreignContext.shift(),this.cbs.onclosetag?.(t,e)}closeCurrentTag(e){const t=this.tagname;this.endOpenTag(e),this.stack[0]===t&&this.popElement(!e)}onattribname(e,t){this.startIndex=e;const i=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Ks(e)}onattribend(e,t){this.endIndex=t,this.cbs.onattribute?.(this.attribname,this.attribvalue,e===ks.Double?'"':e===ks.Single?"'":e===ks.NoValue?void 0:null),this.attribs&&!Object.hasOwn(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(zs);let i=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(e,t){this.endIndex=t;const i=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const e=this.htmlMode?this.lowerCaseTagNames?Zs:i.slice(0,7):this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${e}`,`!${i}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const i=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const e=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${e}`,`?${i}`)}this.startIndex=t+1}oncomment(e,t,i){this.endIndex=t,this.cbs.oncomment?.(this.getSlice(e,t-i)),this.cbs.oncommentend?.(),this.startIndex=t+1}oncdata(e,t,i){this.endIndex=t;const s=this.getSlice(e,t-i);!this.htmlMode||this.options.recognizeCDATA?(this.cbs.oncdatastart?.(),this.cbs.ontext?.(s),this.cbs.oncdataen
2d?.()):this.isInForeignContext()?this.cbs.ontext?.(s):(this.cbs.oncomment?.(`[CDATA[${s}]]`),this.cbs.oncommentend?.()),this.startIndex=t+1}onend(){if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}this.cbs.onend?.()}reset(){this.cbs.onreset?.(),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,this.cbs.onparserinit?.(this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(Os.None),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){if(e===t)return"";for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,t-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){this.ended?this.cbs.onerror?.(new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))}end(e){this.ended?this.cbs.onerror?.(new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}}var qs,Ps;(Ps=qs||(qs={})).Root="root",Ps.Text="text",Ps.Directive="directive",Ps.Comment="comment",Ps.Script="script",Ps.Style="style",Ps.Tag="tag",Ps.CDATA="cdata",Ps.Doctype="doctype",qs.Root,qs.Text,qs.Directive,qs.Comment,qs.Script,qs.Style,qs.Tag,qs.CDATA,qs.Doctype;class $s{constructor(){t(this,"parent",null),t(this,"prev",null),t(this,"next",null),t(this,"startIndex",null),t(this,"endIndex",null)}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return cr(this,e)}}class er extends $s{constructor(e){super(),t(this,"data"),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class tr extends er{constructor(){super(...arguments),t(this,"type",qs.Text)}get nodeType(){return 3}}class ir extends er{constructor(){super(...arguments),t(this,"type",qs.Comment)}get nodeType(){return 8}}class sr extends er{constructor(e,i){super(i),t(this,"type",qs.Directive),t(this,"name"),t(this,"x-name"),t(this,"x-publicId"),t(this,"x-systemId"),this.name=e}get nodeType(){return 1}}class rr extends $s{constructor(e){super(),t(this,"children"),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class nr extends rr{constructor(){super(...arguments),t(this,"type",qs.CDATA)}get nodeType(){return 4}}class ar extends rr{constructor(){super(...arguments),t(this,"type",qs.Root)}get nodeType(){return 9}}class or extends rr{constructor(e,i,s=[],r=("script"===e?qs.Script:"style"===e?qs.Style:qs.Tag)){super(s),t(this,"name"),t(this,"attribs"),t(this,"type"),t(this,"namespace"),t(this,"x-attribsNamespace"),t(this,"x-attribsPrefix"),this.name=e,this.attribs=i,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this["x-attribsNamespace"]?.[e],prefix:this["x-attribsPrefix"]?.[e]}))}}function lr(e){return(t=e).type===qs.Tag||t.type===qs.Script||t.type===qs.Style;var t}function cr(e,t=!1){let i;if(function(e){return e.type===qs.Text}(e))i=new tr(e.data);else if(function(e){return e.type===qs.Comment}(e))i=new ir(e.data);else if(lr(e)){const s=t?Ar(e.children):[],r=new or(e.name,{...e.attribs},s);for(const e of s)e.parent=r;null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]={...e["x-attribsPrefix"]}),i=r}else if(function(e){return e.type===qs.CDATA}(e)){const s=t?Ar(e.children):[],r=new nr(s);for(const e of s)e.parent=r;i=r}else if(function(e){return e.type===qs.Root}(e)){const s=t?Ar(e.children):[],r=new ar(s);for(const e of s)e.parent=r;e["x-mode"]&&(r["x-mode"]=e["x-mode"]),i=r}else{if(!function(e){return e.type===qs.Directive}(e))throw new Error(`Not implemented yet: ${e.type}`);{const t=new sr(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),i=t}}return i.startIndex=e.startIndex,i.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(i.sourceCodeLocation=e.sourceCodeLocation),i}function Ar(e){const t=e.map(e=>cr(e,!0));for(let i=1;i<t.length;i++)t[i].prev=t[i-1],t[i-1].next=t[i];return t}const dr={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class ur{constructor(e,i,s){t(this,"dom",[]),t(this,"root",new ar(this.dom)),t(this,"callback"),t(this,"options"),t(this,"elementCB"),t(this,"done",!1),t(this,"tagStack",[this.root]),t(this,"lastNode",null),t(this,"parser",null),"function"==typeof i&&(s=i,i=dr),"object"==typeof e&&(i=e,e=void 0),this.callback=e??null,this.options=i??dr,this.elementCB=s??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new ar(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){const i=this.options.xmlMode?qs.Tag:void 0,s=new or(e,t,void 0,i);this.addNode(s),this.tagStack.push(s)}ontext(e){const{lastNode:t}=this;if(t&&t.type===qs.Text)t.data+=e,this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex);else{const t=new tr(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===qs.Comment)return void(this.lastNode.data+=e);const t=new ir(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new tr(""),t=new nr([e]);this.addNode(t),e.parent=t,this.lastNode=e}
2oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const i=new sr(e,t);this.addNode(i)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){const t=this.tagStack[this.tagStack.length-1],i=t.children[t.children.length-1];this.options.withStartIndices&&this.parser&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),t.children.push(e),i&&(e.prev=i,i.next=e),e.parent=t,this.lastNode=null}}function hr(e,t){const i=new ur(void 0,t);return new Xs(i,t).end(e),i.root}const mr={youtube:["youtube.com","www.youtube.com","youtu.be","m.youtube.com","youtube-nocookie.com","www.youtube-nocookie.com"],twitter:["twitter.com","www.twitter.com","x.com","www.x.com","mobile.twitter.com"],instagram:["instagram.com","www.instagram.com"],tiktok:["tiktok.com","www.tiktok.com","vm.tiktok.com"],mautic:["exxpress.at","www.exxpress.at","newsletter.exxpress.at","mautic.exxpress.at"],reddit:["reddit.com","www.reddit.com","old.reddit.com"],vimeo:["vimeo.com","www.vimeo.com","player.vimeo.com"],spotify:["spotify.com","open.spotify.com"],podigee:["podigee.com","podigee.io"],apa:["apa.at","embed.apa.at","science.apa.at"],jwplayer:["jwplayer.com","cdn.jwplayer.com","content.jwplatform.com","jwplatform.com"],google_maps:["google.com","www.google.com","maps.google.com","google.at","www.google.at"],facebook:["facebook.com","www.facebook.com","m.facebook.com","fb.com","fb.watch"],bluesky:["bsky.app","embed.bsky.app"],truthsocial:["truthsocial.com","www.truthsocial.com"],telegram:["t.me","telegram.org"]},gr=({url:e,hasConsent:t})=>{const i=r.useMemo(()=>pe(e),[e]),{darfLaden:s}=$(i,t),[a,o]=r.useState(!1);return i?s?a?n.jsx("div",{className:"my-4 aspect-video rounded-lg overflow-hidden",children:n.jsx("iframe",{src:`https://www.youtube-nocookie.com/embed/${i}?autoplay=1&rel=0&modestbranding=1&playsinline=1`,title:"YouTube Video",className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}):n.jsx("div",{className:"my-4 rounded-lg overflow-hidden [&_.lty-playbtn]:!bg-primary [&_.lty-playbtn]:hover:!bg-primary/90",children:n.jsx(yt,{id:i,title:"YouTube Video",poster:"maxresdefault",webp:!0,noCookie:!0,rel:"prefetch",params:"rel=0&modestbranding=1&playsinline=1"})}):n.jsx("div",{className:"my-4 aspect-video rounded-lg overflow-hidden",children:n.jsx(Ct,{videoId:i,onFreigabe:()=>o(!0)})}):n.jsx("div",{className:"my-4 p-4 bg-muted rounded-lg text-center text-muted-foreground",children:n.jsx("p",{children:"Inhalt konnte nicht geladen werden."})})},pr=["https://platform.twitter.com","https://syndication.twitter.com","https://abs.twimg.com","https://pbs.twimg.com"],fr=({url:e})=>(r.useEffect(()=>{(()=>{for(const e of pr){if(document.head.querySelector(`link[rel="preconnect"][href="${e}"]`))continue;const t=document.createElement("link");t.rel="preconnect",t.href=e,document.head.appendChild(t)}})();const e=()=>{window.twttr?.widgets&&window.twttr.widgets.load()};if(document.querySelector('script[src*="twitter.com/widgets"]'))return void e();const t=document.createElement("script");t.src="https://platform.twitter.com/widgets.js",t.async=!0,t.onload=e,document.body.appendChild(t)},[e]),n.jsx("div",{className:"my-4",children:n.jsx("blockquote",{className:"twitter-tweet",children:n.jsx("a",{href:e})})})),xr=({url:e})=>(r.useEffect(()=>{const e=()=>{window.instgrm?.Embeds&&window.instgrm.Embeds.process()};if(document.querySelector('script[src*="instagram.com/embed"]')){e();const t=setTimeout(e,500),i=setTimeout(e,1500);return()=>{clearTimeout(t),clearTimeout(i)}}const t=document.createElement("script");t.src="https://www.instagram.com/embed.js",t.async=!0,t.onload=()=>{e(),setTimeout(e,500)},document.body.appendChild(t)},[e]),n.jsx("div",{className:"my-4",children:n.jsx("blockquote",{className:"instagram-media","data-instgrm-permalink":e,"data-instgrm-version":"14"})})),br=({url:e})=>{r.useEffect(()=>{if("undefined"!=typeof window&&!document.querySelector('script[src*="tiktok.com/embed"]')){const e=document.createElement("script");e.src="https://www.tiktok.com/embed.js",e.async=!0,document.body.appendChild(e)}},[]);return n.jsx("div",{className:"my-4",children:n.jsx("blockquote",{className:"tiktok-embed",cite:e,"data-vi
2deo-id":(e=>{try{const t=new URL(e).pathname.split("/");return t[t.length-1]}catch{return""}})(e),style:{maxWidth:"605px",minWidth:"325px"},children:n.jsx("section",{children:n.jsx("a",{target:"_blank",href:e,rel:"noopener noreferrer",children:"TikTok"})})})})},wr=({url:e})=>(r.useEffect(()=>{const e="https://embed.reddit.com/widgets.js";document.querySelectorAll(`script[src="${e}"]`).forEach(e=>e.remove());const t=document.createElement("script");return t.src=e,t.async=!0,t.charset="UTF-8",document.body.appendChild(t),()=>{t.remove()}},[e]),n.jsx("div",{className:"my-4",children:n.jsx("blockquote",{className:"reddit-embed-bq",children:n.jsx("a",{href:e,children:"Reddit-Beitrag ansehen"})})})),yr=({url:e})=>{const t=r.useRef(null),[i,s]=r.useState(400);return r.useEffect(()=>{const i=new URL(e).origin,r=e=>{if(e.source!==t.current?.contentWindow)return;if(e.origin!==i)return;const r=Number(e.data?.height);Number.isFinite(r)&&r>0&&r<5e3&&s(r)};return window.addEventListener("message",r),()=>window.removeEventListener("message",r)},[e]),n.jsx("div",{className:"my-4",children:n.jsx("iframe",{ref:t,src:e,style:{height:i},className:"w-full border-0 rounded-lg",title:"Newsletter Anmeldung",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",referrerPolicy:"strict-origin-when-cross-origin"})})},Ir=({url:e})=>{const t=(()=>{try{const t=new URL(e);if("player.vimeo.com"===t.hostname)return e;const i=t.pathname.split("/").filter(Boolean),s=i[0],r=i[1];return s&&/^\d+$/.test(s)?`https://player.vimeo.com/video/${s}${r?`?h=${r}`:""}`:null}catch{return null}})();return t?n.jsx("div",{className:"my-4 aspect-video rounded-lg overflow-hidden",children:n.jsx("iframe",{src:t,className:"w-full h-full border-0",title:"Vimeo Video",loading:"lazy",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin"})}):null},Cr=({url:e})=>{const t=e.includes("/embed/")?e:e.replace("open.spotify.com/","open.spotify.com/embed/");return n.jsx("div",{className:"my-4",children:n.jsx("iframe",{src:t,className:"w-full rounded-lg border-0",style:{height:352},title:"Spotify Player",loading:"lazy",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",referrerPolicy:"strict-origin-when-cross-origin"})})},vr=({url:e})=>n.jsx("div",{className:"my-4",children:n.jsx("iframe",{src:e,className:"w-full rounded-lg border-0",style:{height:200},title:"Podigee Podcast",loading:"lazy",referrerPolicy:"strict-origin-when-cross-origin"})}),kr=({url:e})=>n.jsx("div",{className:"my-4",children:n.jsx("iframe",{src:e,className:"w-full rounded-lg border-0",style:{minHeight:400},title:"APA Infografik",loading:"lazy",referrerPolicy:"strict-origin-when-cross-origin"})}),Br=({url:e})=>n.jsx("div",{className:"my-4 aspect-video rounded-lg overflow-hidden",children:n.jsx("iframe",{src:e,className:"w-full h-full border-0",title:"JW Player Video",loading:"lazy",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin"})}),Nr=({url:e})=>n.jsx("div",{className:"my-4 rounded-lg overflow-hidden",children:n.jsx("iframe",{src:e,className:"w-full border-0",style:{height:450},title:"Google Maps",loading:"lazy",allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade"})}),jr=({url:e})=>{const t=r.useMemo(()=>e.includes("/plugins/")?e:`https://www.facebook.com/plugins/post.php?href=${encodeURIComponent(e)}&show_text=true&width=500`,[e]);return n.jsx("div",{className:"my-4 flex justify-center",style:{overflowAnchor:"none"},children:n.jsx("div",{className:"relative w-full max-w-[500px] overflow-hidden rounded-lg",style:{height:600,contain:"layout style size",overflowAnchor:"none",isolation:"isolate"},children:n.jsx("iframe",{src:t,className:"absolute inset-0 w-full h-full border-0",title:"Facebook Post",loading:"lazy",allow:"clipboard-write; encrypted-media; picture-in-picture; web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",tabIndex:-1})})})},Sr=({url:e})=>{r.useEffect(()=>{const e="https://embed.bsky.app/static/embed.js";if(document.querySelector(`script[src="${e}"]`))return;const t=document.createElement("script");t.src=e,t.async=!0,t.charset="utf-8",document.body.appendChild(t)},[e]);const t=/^at:\/\/(did:plc:[a-z0-9]+)\/app\.bsky\.feed\.post\/([a-z0-9]+)$/.exec(e),i=t?`https://bsky.app/profile/${t[1]}/post/${t[2]}`:e;return n.jsx("div",{className:"my-4",children:n.jsx("blockquote",{className:"bluesky-embed","data-bluesky-uri":e,children:n.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:"Bluesky-Post ansehen"})})})},Er=({url:e})=>{const t=e.endsWith("/embed")?e:`${e.replace(/\/$/,"")}/embed`;return n.jsx("div",{className:"my-4 flex justify-center",children:n.jsx("iframe",{src:t,className:"w-full max-w-[500px] border-0",style:{minHeight:400}
2,title:"Truth Social Post",loading:"lazy",referrerPolicy:"strict-origin-when-cross-origin"})})},Dr=({url:e})=>{const t=(()=>{try{return new URL(e).pathname.replace(/^\/+/,"")}catch{return null}})();return r.useEffect(()=>{const e="https://telegram.org/js/telegram-widget.js?22";if(document.querySelector(`script[src^="${e.split("?")[0]}"]`))return;const t=document.createElement("script");t.src=e,t.async=!0,document.body.appendChild(t)},[e]),t?n.jsxs("div",{className:"my-4 flex justify-center",children:[n.jsx("script",{async:!0,src:"https://telegram.org/js/telegram-widget.js?22","data-telegram-post":t,"data-width":"100%"}),n.jsx("blockquote",{children:n.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Telegram-Beitrag ansehen"})})]}):null},Fr=({type:e,url:t,hasConsent:i})=>{const s=r.useMemo(()=>((e,t)=>{if(!e||"string"!=typeof e)return{isValid:!1,sanitizedUrl:null};if("bluesky"===t&&e.startsWith("at://"))return/^at:\/\/did:plc:[a-z0-9]+\/app\.bsky\.feed\.post\/[a-z0-9]+$/.test(e)?{isValid:!0,sanitizedUrl:e}:(console.warn("[ExxEmbed] Ungültige Bluesky-AT-URI"),{isValid:!1,sanitizedUrl:null});try{const i=new URL(e);if("https:"!==i.protocol&&"http:"!==i.protocol)return console.warn(`[ExxEmbed] Blocked unsafe protocol: ${i.protocol}`),{isValid:!1,sanitizedUrl:null};if(["javascript:","data:","blob:","vbscript:","file:"].some(t=>e.toLowerCase().startsWith(t)))return console.warn(`[ExxEmbed] Blocked dangerous protocol in URL: ${e.substring(0,50)}`),{isValid:!1,sanitizedUrl:null};const s=i.hostname.toLowerCase();return(mr[t]||[]).some(e=>s===e||s.endsWith(`.${e}`))?{isValid:!0,sanitizedUrl:i.href}:(console.warn(`[ExxEmbed] Domain not whitelisted for ${t}: ${s}`),{isValid:!1,sanitizedUrl:null})}catch{return console.warn(`[ExxEmbed] Invalid URL format: ${e.substring(0,50)}`),{isValid:!1,sanitizedUrl:null}}})(t,e),[t,e]);if(!s.isValid||!s.sanitizedUrl)return console.warn(`[ExxEmbed] Blocked embed: type=${e}, url=${t?.substring(0,50)}`),n.jsx("div",{className:"my-4 p-4 bg-muted rounded-lg text-center text-muted-foreground",children:n.jsx("p",{children:"Inhalt konnte nicht geladen werden."})});const a=s.sanitizedUrl;if("youtube"===e)return n.jsx(gr,{url:a,hasConsent:i});if(!i&&!["mautic","apa","google_maps"].includes(e)){const t="twitter"===e||"instagram"===e||"facebook"===e||"tiktok"===e||"reddit"===e?e:"vimeo"===e||"spotify"===e||"podigee"===e||"jwplayer"===e||"truthsocial"===e||"telegram"===e||"bluesky"===e?"generic":"iframe";return n.jsx(wt,{type:t,className:"my-4"})}switch(e){case"twitter":return n.jsx(fr,{url:a});case"instagram":return n.jsx(xr,{url:a});case"tiktok":return n.jsx(br,{url:a});case"reddit":return n.jsx(wr,{url:a});case"mautic":return n.jsx(yr,{url:a});case"vimeo":return n.jsx(Ir,{url:a});case"spotify":return n.jsx(Cr,{url:a});case"podigee":return n.jsx(vr,{url:a});case"apa":return n.jsx(kr,{url:a});case"jwplayer":return n.jsx(Br,{url:a});case"google_maps":return n.jsx(Nr,{url:a});case"facebook":return n.jsx(jr,{url:a});case"bluesky":return n.jsx(Sr,{url:a});case"truthsocial":return n.jsx(Er,{url:a});case"telegram":return n.jsx(Dr,{url:a});default:return null}},Qr=({type:e,url:t,hasConsent:i})=>{const s=r.useRef(null),[a,o]=r.useState(!1);return r.useEffect(()=>{const e=s.current;if(!e)return;const t=new IntersectionObserver(([e])=>{e.isIntersecting&&(o(!0),t.disconnect())},{rootMargin:"1200px"});return t.observe(e),()=>t.disconnect()},[]),n.jsx("div",{ref:s,className:"my-4 min-h-[400px]",children:a?n.jsx(Fr,{type:e,url:t,hasConsent:i}):n.jsx("div",{className:"bg-muted rounded-lg animate-pulse h-[400px] flex items-center justify-center",children:n.jsx("span",{className:"text-muted-foreground text-sm",children:"Lädt..."})})})},Kr=e=>{try{return new Date(e).toLocaleDateString("de-AT",{day:"numeric",month:"long",year:"numeric"})}catch{return""}},Wr=({slug:e})=>{const t=e.replace(/^\/+|\/+$/g,""),i=t.split("/").filter(Boolean),s=i[i.length-1]??t,a=lt(),o=r.useSyncExternalStore(r.useCallback(e=>a.getQueryCache().subscribe(e),[a]),r.useCallback(()=>((e,t)=>{const i=e.getQueriesData({queryKey:["article-detail"]});for(const[,s]of i){const e=s?.internalLinksPool?.find(e=>e.slug===t);if(e)return e}return null})(a,s),[a,s]),()=>null);if(!o){const e=i.length>=2?`/${i.join("/")}/`:`/news/${s}
2/`,t=s.split("-").filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ");return n.jsx(u,{to:e,reloadDocument:D(),className:"ilc-card group block my-6 not-prose border border-border bg-card hover:bg-muted/50 transition-colors",children:n.jsxs("div",{className:"ilc-text p-3 sm:p-4 border-l-2 border-primary",children:[n.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-primary",children:"Lesen Sie auch"}),n.jsx("h4",{className:"mt-2 text-sm sm:text-base font-bold leading-snug text-foreground group-hover:text-primary transition-colors",children:t})]})})}const l=F(o.slug,o.category);return n.jsx(u,{to:l,reloadDocument:D(),className:"ilc-card group block my-6 not-prose border border-border bg-card hover:bg-muted/50 transition-colors",children:n.jsxs("div",{className:"flex flex-col sm:flex-row",children:[o.image_url&&n.jsx("div",{className:"relative sm:w-52 sm:flex-shrink-0 overflow-hidden",children:n.jsx("img",{src:o.image_url,alt:o.headline,className:"ilc-image w-full aspect-[16/9] object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"})}),n.jsxs("div",{className:"ilc-text p-3 sm:p-4 flex-1 min-w-0 sm:border-l-2 sm:border-primary",children:[n.jsxs("div",{className:"flex items-center gap-1.5 mb-2",children:[n.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-primary",children:"Lesen Sie auch"}),o.published_at&&n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"text-[10px] text-muted-foreground/40",children:"|"}),n.jsx("span",{className:"text-[10px] text-muted-foreground",children:Kr(o.published_at)})]})]}),n.jsx("h4",{className:"text-sm sm:text-base font-bold leading-snug text-foreground group-hover:text-primary transition-colors",children:o.headline}),o.subline&&n.jsx("p",{className:"ilc-subline text-muted-foreground mt-1 line-clamp-2",children:o.subline})]})]})})},Gr=[{name:"Unterstützer",price:"â¬4,99",period:"/Monat",yearly:"oder â¬49,90/Jahr (spare 17%)",icon:Se,iconColor:"text-primary",features:["Alle Leser-Features","5 Forum-Beiträge pro Woche","8 Kommentare pro Tag","Unterstützer-Badge"],href:"/auth?redirect=/checkout/29bf3453-abed-4bda-b7ea-4de9a34d945a",cta:"Unterstützer werden",featured:!1},{name:"Förderer",price:"â¬9,99",period:"/Monat",yearly:"oder â¬99,90/Jahr (spare 17%)",icon:Ee,iconColor:"text-primary",features:["Alle Unterstützer-Features","25 Forum-Beiträge pro Woche","Unbegrenzte Kommentare","Werbefreies Erlebnis"],href:"/auth?redirect=/checkout/15df08a8-06f4-4212-be86-7efd482471be",cta:"Förderer werden",featured:!0},{name:"Leser",price:"â¬0",period:"",yearly:" ",icon:De,iconColor:"text-muted-foreground",features:["Zugang zum Community-Forum","3 Kommentare pro Tag","Unbegrenzt Voting"],href:"/auth",cta:"Kostenlos dabei sein",featured:!1}],Yr=()=>n.jsxs("div",{className:"my-8 py-10 px-4 text-center not-prose",children:[n.jsx("h2",{className:"text-2xl font-bold mb-2",children:"Unterstütze unabhängigen Journalismus"}),n.jsx("p",{className:"text-sm text-muted-foreground max-w-[500px] mx-auto mb-8 leading-relaxed",children:"exxpress lebt von seiner Community â keine Klarnamen-Pflicht."}),n.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5 max-w-[960px] mx-auto",children:Gr.map(e=>{const t=e.icon;return n.jsxs("div",{className:C("bg-card border rounded-lg p-8 flex flex-col items-center relative transition-all duration-200 hover:shadow-lg hover:-translate-y-0.5",e.featured?"border-primary":"border-border"),children:[e.featured&&n.jsx("span",{className:"absolute -top-3 bg-primary text-primary-foreground text-xs font-bold px-4 py-1 rounded-full",children:"Beliebt"}),n.jsx("div",{className:"w-11 h-11 mb-4 flex items-center justify-center",children:n.jsx(t,{className:C("w-9 h-9",e.iconColor),strokeWidth:1.8})}),n.jsx("div",{className:"text-xl font-bold mb-2",children:e.name}),n.jsxs("div",{className:"text-4xl font-extrabold leading-none",children:[e.price,e.period&&n.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:e.period})]}),n.jsx("div",{className:"text-xs text-muted-foreground mt-1 mb-5 min-h-[18px]",children:e.yearly}),n.jsx("ul",{className:"w-full text-left mb-7 flex-1 space-y-1.5",children:e.features.map(e=>n.jsxs("li",{className:"flex items-start gap-2.5 text-sm leading-snug",children:[n.jsx("svg",{className:"w-[18px] h-[18px] mt-0.5 flex-shrink-0",viewBox:"0 0 20 20",children:n.jsx("path",{d:"M6 10.5l2.5 2.5 5.5-5.5",stroke:"currentColor",strokeWidth:"2.2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"})}),e]},e))}),n.jsx(u,{to:e.href,className:C("w-full py-3 rounded-md text-sm font-medium text-center transition-all duration-150 hover:opacity-85 hover:scale-[1.02]",e.featured?"bg-primary text-primary-foreground":"bg-muted border border-border hover:border-muted-foreground
2/30"),children:e.cta})]},e.name)})})]}),Rr=({src:e,alt:t="",className:i})=>{const s=e.startsWith("/img/"),[a,o]=r.useState(!1),[c,A]=r.useState(!1),d=r.useRef(null),u=r.useRef(null);r.useEffect(()=>{A(!0)},[]);const h=r.useCallback(()=>{o(!1),d.current?.focus()},[]);r.useEffect(()=>{if(!a)return;const e=e=>{"Escape"===e.key&&h()};document.addEventListener("keydown",e);const t=document.body.style.overflow;return document.body.style.overflow="hidden",u.current?.focus(),()=>{document.removeEventListener("keydown",e),document.body.style.overflow=t}},[a,h]);const m=a?n.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":t?`Bild vergröÃert: ${t}`:"Bild vergröÃert",className:"fixed inset-0 z-[100] flex items-center justify-center overflow-hidden bg-black/90 p-4",onClick:h,children:[n.jsx("button",{ref:u,type:"button",onClick:h,"aria-label":"Vollbild schlieÃen",className:"absolute right-4 top-4 rounded-full bg-white/10 p-2 text-white transition-colors hover:bg-white/20 focus:outline-none focus-visible:ring-2 focus-visible:ring-white",children:n.jsx(Ce,{className:"h-6 w-6","aria-hidden":"true"})}),n.jsx("img",{src:$e(e),alt:t,onClick:e=>e.stopPropagation(),className:"max-h-full max-w-full object-contain"})]}):null;return n.jsxs(n.Fragment,{children:[n.jsx("button",{ref:d,type:"button",onClick:()=>o(!0),"aria-label":t?`Bild vergröÃern: ${t}`:"Bild vergröÃern",className:"block w-full cursor-zoom-in border-0 bg-transparent p-0",children:s?n.jsxs("picture",{children:[n.jsx("source",{media:"(max-width: 767px)",srcSet:`${et(e,400)} 1x, ${et(e,760)} 2x`}),n.jsx("img",{src:et(e,640),srcSet:`${et(e,640)} 1x, ${et(e,1280)} 2x`,alt:t,className:i,loading:"lazy",decoding:"async"})]}):n.jsx("img",{src:e,alt:t,className:i,loading:"lazy",decoding:"async"})}),c&&m?l.createPortal(m,document.body):null]})},Tr=(e,t)=>{try{const i=e.split("?")[0].toLowerCase(),s=t.split("?")[0].toLowerCase();if(i===s)return!0;if(i.includes(s)||s.includes(i))return!0;const r=i.split("/").pop()||"",n=s.split("/").pop()||"";if(r===n)return!0;const a=e=>e.replace(/-\d+x\d+(\.[a-z]+)$/i,"$1"),o=a(r);if(o===a(n))return!0;const l=e=>e.replace(/\.[a-z]+$/i,"").replace(/-\d+x\d+$/i,""),c=l(r),A=l(n);return!(!c||!A||c!==A)}catch{return!1}};var Jr,Mr,Zr,Hr,Ur,_r,Lr,Or,Vr,zr,Xr,qr={exports:{}},Pr={},$r={exports:{}},en={};function tn(){if(Jr)return en;function e(){var e={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice"
vendor: 14,212 bytes, line 2
2:!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return e}Jr=1;var t=/javascript\s*\:/gim;return en.whiteList=e(),en.getDefaultWhiteList=e,en.onAttr=function(e,t,i){},en.onIgnoreAttr=function(e,t,i){},en.safeAttrValue=function(e,i){return t.test(i)?"":i},en}function sn(){return Zr?Mr:(Zr=1,Mr={indexOf:function(e,t){var i,s;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,s=e.length;i<s;i++)if(e[i]===t)return i;return-1},forEach:function(e,t,i){var s,r;if(Array.prototype.forEach)return e.forEach(t,i);for(s=0,r=e.length;s<r;s++)t.call(i,e[s],s,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}})}function rn(){if(Lr)return _r;Lr=1;var e=tn(),t=function(){if(Ur)return Hr;Ur=1;var e=sn();return Hr=function(t,i){";"!==(t=e.trimRight(t))[t.length-1]&&(t+=";");var s=t.length,r=!1,n=0,a=0,o="";function l(){if(!r){var s=e.trim(t.slice(n,a)),l=s.indexOf(":");if(-1!==l){var c=e.trim(s.slice(0,l)),A=e.trim(s.slice(l+1));if(c){var d=i(n,o.length,c,A,s);d&&(o+=d+"; ")}}}n=a+1}for(;a<s;a++){var c=t[a];if("/"===c&&"*"===t[a+1]){var A=t.indexOf("*/",a+2);if(-1===A)break;n=(a=A+1)+1,r=!1}else"("===c?r=!0:")"===c?r=!1:";"===c?r||l():"\n"===c&&l()}return e.trim(o)}}();function i(e){return null==e}function s(t){(t=function(e){var t={};for(var i in e)t[i]=e[i];return t}(t||{})).whiteList=t.whiteList||e.whiteList,t.onAttr=t.onAttr||e.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||e.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||e.safeAttrValue,this.options=t}return sn(),s.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var s=this.options,r=s.whiteList,n=s.onAttr,a=s.onIgnoreAttr,o=s.safeAttrValue;return t(e,function(e,t,s,l,c){var A=r[s],d=!1;if(!0===A?d=A:"function"==typeof A?d=A(l):A instanceof RegExp&&(d=A.test(l)),!0!==d&&(d=!1),l=o(s,l)){var u,h={position:t,sourcePosition:e,source:c,isWhite:d};return d?i(u=n(s,l,h))?s+":"+l:u:i(u=a(s,l,h))?void 0:u}})},_r=s}function nn(){return Or||(Or=1,function(e,t){var i=tn(),s=rn();for(var r in(t=e.exports=function(e,t){return new s(t).process(e)}).FilterCSS=s,i)t[r]=i[r];"undefined"!=typeof window&&(window.filterCSS=e.exports)}($r,$r.exports)),$r.exports}function an(){return zr?Vr:(zr=1,Vr={indexOf:function(e,t){var i,s;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,s=e.length;i<s;i++)if(e[i]===t)return i;return-1},forEach:function(e,t,i){var s,r;if(Array.prototype.forEach)return e.forEach(t,i);for(s=0,r=e.length;s<r;s++)t.call(i,e[s],s,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1}})}function on(){if(Xr)return Pr;Xr=1;var e=nn().FilterCSS,t=nn().getDefaultWhiteList,i=an();function s(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var r=new e;function n(e){return e.replace(a,"<").replace(o,">")}var a=/</g,o=/>/g,l=/"/g,c=/"/g,A=/&#([a-zA-Z0-9]*);?/gim,d=/:?/gim,u=/&newline;?/gim,h=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,m=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,g=/u\s*r\s*l\s*\(.*/gi;function p(e){return e.replace(l,""")}function f(e){return e.replace(c,'"')}function x(e){return e.replace(A,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})}function b(e){return e.replace(d,":").replace(u," ")}function w(e){for(var t="",s=0,r=e.length;s<r;s++)t+=e.charCodeAt(s)<32?" ":e.charAt(s);return i.trim(t)}function y(e){return e=w(e=b(e=x(e=f(e))))}function I(e){return e=n(e=p(e))}return Pr.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},Pr.getDefaultWhiteList=s,Pr.onTag=function(e,t,i){},Pr.onIgnoreTag=function(e,t,i){},Pr.onTagAttr=function(e,t,i){},Pr.onIgnoreTagAttr=function(e,t,i){},Pr.safeAttrValue=function(e,t,s,n){if(s=y(s),"href"===t||"src"===t){if("#"===(s=i.trim(s)))return"#";if("http://"!==s.substr(0,7)&&"https://"!==s.substr(0,8)&&"mailto:"!==s.substr(0,7)&&"tel:"!==s.substr(0,4)&&"data:image/"!==s.substr(0,11)&&"ftp://"!==s.substr(0,6)&&"./"!==s.substr(0,2)&&"../"!==s.substr(0,3)&&"#"!==s[0]&&"/"!==s[0])return""}else if("background"===t){if(h.lastIndex=0,h.test(s))return""}else if("style"===t){if(m.lastIndex=0,m.test(s))return"";if(g.lastIndex=0,g.test(s)&&(h.lastIndex=0,h.test(s)))return"";!1!==n&&(s=(n=n||r).process(s))}return s=I(s)},Pr.escapeHtml=n,Pr.escapeQuote=p,Pr.unescapeQuote=f,Pr.escapeHtmlEntities=x,Pr.escapeDangerHtml5Entities=b,Pr.clearNonPrintableCharacter=w,Pr.friendlyAttrValue=y,Pr.escapeAttrValue=I,Pr.onIgnoreTagStripAll=function(){return""},Pr.StripTagBody=function(e,t){"function"!=typeof t&&(t=function(){});var s=!Array.isArray(e),r=[],n=!1;return{onIgnoreTag:function(a,o,l){if(function(t){return!!s||-1!==i.indexOf(e,t)}(a)){if(l.isClosing){var c="[/removed]",A=l.position+10;return r.push([!1!==n?n:l.position,A]),n=!1,c}return n||(n=l.position),"[removed]"}return t(a,o,l)},remove:function(e){var t="",s=0;return i.forEach(r,function(i){t+=e.slice(s,i[0]),s=i[1]}),t+=e.slice(s)}}},Pr.stripCommentTag=function(e){for(var t="",i=0;i<e.length;){var s=e.indexOf("\x3c!--",i);if(-1===s){t+=e.slice(i);break}t+=e.slice(i,s);var r=e.indexOf("--\x3e",s);if(-1===r)break;i=r+3}return t},Pr.stripBlankChar=function(e){var t=e.split("");return(t=t.filter(function(e){var t=e.charCodeAt(0);return 127!==t&&(!(t<=31)||(10===t||13===t))})).join("")},Pr.attributeWrapSign='"',Pr.cssFilter=r,Pr.getDefaultCSSWhiteList=t,Pr}var ln,cn,An,dn,un={};function hn(){if(ln)return un;ln=1;var e=an();function t(t){var i,s=e.spaceIndex(t);return i=-1===s?t.slice(1,-1):t.slice(1,s+1),"/"===(i=e.trim(i).toLowerCase()).slice(0,1)&&(i=i.slice(1)),"/"===i.slice(-1)&&(i=i.slice(0,-1)),i}function i(e){return"</"===e.slice(0,2)}var s=/[^a-zA-Z0-9\\_:.-]/gim;function r(e,t){for(;t<e.length;t++){var i=e[t];if(" "!==i)return"="===i?t:-1}}function n(e,t){for(;t<e.length;t++){var i=e[t];if(" "!==i)return"'"===i||'"'===i?t:-1}}function a(e,t){for(;t>0;t--){var i=e[t];if(" "!==i)return"="===i?t:-1}}function o(e){return function(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}(e)?e.substr(1,e.length-2):e}return un.parseTag=function(e,s,r){var n="",a=0,o=!1,l=!1,c=0,A=e.length,d="",u="";e:for(c=0;c<A;c++){var h=e.charAt(c);if(!1===o){if("<"===h){o=c;continue}}else if(!1===l){if("<"===h){n+=r(e.slice(a,c)),o=c,a=c;continue}if(">"===h||c===A-1){n+=r(e.slice(a,o)),d=t(u=e.slice(o,c+1)),n+=s(o,n.length,d,u,i(u)),a=c+1,o=!1;continue}if('"'===h||"'"===h)for(var m=1,g=e.charAt(c-m);""===g.trim()||"="===g;){if("="===g){l=h;continue e}g=e.charAt(c-++m)}}else if(h===l){l=!1;continue}}return a<A&&(n+=r(e.substr(a))),n},un.parseAttr=function(t,i){var l=0,c=0,A=[],d=!1,u=t.length;function h(t,r){if(!((t=(t=e.trim(t)).replace(s,"").toLowerCase()).length<1)){var n=i(t,r||"");n&&A.push(n)}}for(var m=0;m<u;m++){var g,p=t.charAt(m);if(!1!==d||"="!==p)if(!1===d||m!==c)if(/\s|\n|\t/.test(p)){if(t=t.replace(/\s|\n|\t/g," "),!1===d){if(-1===(g=r(t,m))){h(e.trim(t.slice(l,m))),d=!1,l=m+1;continue}m=g-1;continue}if(-1===(g=a(t,m-1))){h(d,o(e.trim(t.slice(l,m)))),d=!1,l=m+1;continue}}else;else{if(-1===(g=t.indexOf(p,m+1)))break;h(d,e.trim(t.slice(c+1,g))),d=!1,l=(m=g)+1}else d=t.slice(l,m),l=m+1,c='"'===t.charAt(l)||"'"===t.charAt(l)?l:n(t,m+1)}return l<t.length&&(!1===d?h(t.slice(l)):h(d,o(e.trim(t.slice(l))))),e.trim(A.join(" "))},un}function mn(){if(An)return cn;An=1;var e=nn().FilterCSS,t=on(),i=hn(),s=i.parseTag,r=i.parseAttr,n=an();function a(e){return null==e}function o(i){(i=function(e){var t={};for(var i in e)t[i]=e[i];return t}(i||{})).stripIgnoreTag&&(i.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),i.onIgnoreTag=t.onIgnoreTagStripAll),i.whiteList||i.allowList?i.whiteList=function(e){var t={};for(var i in e)Array.isArray(e[i])?t[i.toLowerCase()]=e[i].map(function(e){return e.toLowerCase()}):t[i.toLowerCase()]=e[i];return t}(i.whiteList||i.allowList):i.whiteList=t.whiteList,this.attributeWrapSign=!0===i.singleQuotedAttributeValue?"'":t.attributeWrapSign,i.onTag=i.onTag||t.onTag,i.onTagAttr=i.onTagAttr||t.onTagAttr,i.onIgnoreTag=i.onIgnoreTag||t.onIgnoreTag,i.onIgnoreTagAttr=i.onIgnoreTagAttr||t.onIgnoreTagAttr,i.safeAttrValue=i.safeAttrValue||t.safeAttrValue,i.escapeHtml=i.escapeHtml||t.escapeHtml,this.options=i,!1===i.css?this.cssFilter=!1:(i.css=i.css||{},this.cssFilter=new e(i.css))}return o.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var i=this,o=i.options,l=o.whiteList,c=o.onTag,A=o.onIgnoreTag,d=o.onTagAttr,u=o.onIgnoreTagAttr,h=o.safeAttrValue,m=o.escapeHtml,g=i.attributeWrapSign,p=i.cssFilter;o.stripBlankChar&&(e=t.stripBlankChar(e)),o.allowCommentTag||(e=t.stripCommentTag(e));var f=!1;o.stripIgnoreTagBody&&(f=t.StripTagBody(o.stripIgnoreTagBody,A),A=f.onIgnoreTag);var x=s(e,function(e,t,i,s,o){var f={sourcePosition:e,position:t,isClosing:o,isWhite:Object.prototype.hasOwnProperty.call(l,i)},x=c(i,s,f);if(!a(x))return x;if(f.isWhite){if(f.isClosing)return"</"+i+">";var b=function(e){var t=n.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=n.trim(e.slice(t+1,-1)))[e.length-1];return i&&(e=n.trim(e.slice(0,-1))),{html:e,closing:i}}(s),w=l[i],y=r(b.html,function(e,t){var s=-1!==n.indexOf(w,e),r=d(i,e,t,s);return a(r)?s?(t=h(i,e,t,p))?e+"="+g+t+g:e:a(r=u(i,e,t,s))?void 0:r:r});return s="<"+i,y&&(s+=" "+y),b.closing&&(s+=" /"),s+=">"}return a(x=A(i,s,f))?m(s):x},m);return f&&(x=f.remove(x)),x},cn=o}var gn=(dn||(dn=1,function(e,t){var i=on(),s=hn(),r=mn();function n(e,t){return new r(t).process(e)}
2(t=e.exports=n).filterXSS=n,t.FilterXSS=r,function(){for(var e in i)t[e]=i[e];for(var r in s)t[r]=s[r]}(),"undefined"!=typeof window&&(window.filterXSS=e.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=e.exports)}(qr,qr.exports)),qr.exports);const pn=["href","src","alt","title","class","id","width","height","target","rel","loading","decoding","srcset","sizes","allow","allowfullscreen","frameborder","controls","autoplay","muted","loop","poster","datetime","cite","colspan","rowspan","scope","headers","crossorigin"],fn=Object.fromEntries(["p","br","b","i","em","strong","a","ul","ol","li","h1","h2","h3","h4","h5","h6","blockquote","img","figure","figcaption","div","span","table","thead","tbody","tr","th","td","caption","iframe","video","source","audio","picture","pre","code","hr","section","article","aside","time","mark","small","sub","sup","cite","q","abbr","address","del","ins"].map(e=>[e,pn])),xn=/^(https?:|mailto:|tel:|\/|#|\.\/|\.\.\/)/i;const bn=new gn.FilterXSS({whiteList:fn,stripIgnoreTag:!0,stripIgnoreTagBody:["script","style","noscript","template"],allowCommentTag:!1,css:!1,onIgnoreTagAttr(e,t,i,s){if(t.startsWith("data-"))return`${t}="${function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}(i)}"`},onTagAttr(e,t,i,s){if("href"===t||"src"===t){const e=i.trim();if(xn.test(e)||"src"===t&&/^data:image\//i.test(e))return;return`${t}=""`}}}),wn=/<a\s+([^>]*?href=(?:"[^"]*"|'[^']*'|[^\s>]+)[^>]*)>\s*<\/p>\s*(<figure[^>]*>)\s*(<img\b[^>]*?\/?>)\s*<\/figure>\s*<p>\s*<\/a>/gis;function yn(e){return e?bn.process(function(e){return e.replace(/<a\b([^>]*)>/gi,(e,t)=>{const i=/\bhref\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i.exec(t),s=i?i[1]??i[2]??i[3]??"":"";if(!St(s))return e;let r=t;r=/\btarget\s*=/i.test(r)?r.replace(/\btarget\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/i,'target="_blank"'):`${r} target="_blank"`;const n=/\brel\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i.exec(r);if(n){const e=new Set((n[1]??n[2]??n[3]??"").split(/\s+/).filter(Boolean));e.add("noopener"),e.add("noreferrer"),r=r.replace(/\brel\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/i,`rel="${[...e].join(" ")}"`)}else r=`${r} rel="noopener noreferrer"`;return`<a${r}>`})}(function(e){return e.replace(wn,(e,t,i,s)=>`${i}<a ${t}>${s}</a></figure>`)}(e))):""}const In=new Set(["tag","script","style"]);function Cn(e){return!!e&&In.has(e.type)}function vn(e){return!!e&&"text"===e.type}function kn(e){return(e.attribs?.class??"").split(/\s+/).filter(Boolean)}function Bn(e,t){return kn(e).includes(t)}function Nn(e,t){return e.attribs?.[t]}function jn(e){return vn(e)?e.data:Cn(e)?e.children.map(jn).join(""):""}function Sn(e,t){for(const i of e.children)if(Cn(i)){if(t(i))return i;const e=Sn(i,t);if(e)return e}return null}function En(e,t){const i=[];for(const s of e.children)Cn(s)&&(t(s)&&i.push(s),i.push(...En(s,t)));return i}function Dn(e,t){return Bn(e,t)||null!==Sn(e,e=>Bn(e,t))}function Fn(e){if(!Cn(e))return null;const t=/^h([1-6])$/.exec(e.name);return t?Number(t[1]):null}function Qn(e){const t=[];for(const i of e)Cn(i)&&"div"===i.name&&0===kn(i).length&&!i.attribs?.id&&i.children.length>0&&Dn(i,"exx-embed")?t.push(...Qn(i.children)):t.push(i);return t}function Kn(e){return e.replace(/-/g," ").replace(/^./,e=>e.toUpperCase())}const Wn=({htmlContent:e,paragraphInterval:t=4,nativeAdInterval:i=2,articleCategory:s,featuredImageUrl:a})=>{const{consent:o,isConsentReady:l}=ge(),A=E(),{hasAdFree:d}=it(),u=lt(),h=!A.cookieBanner||l&&o?.marketing,m=!d&&h&&A.sponsoredContent,g=h,{data:p=[]}=xt({category:s,count:3,enabled:m}),f=r.useRef([]),x=r.useMemo(()=>{if(!e)return[];const t=/getElementById\(['"]([^'"]+)['"]\)[\s\S]*?new Date\(['"]([^'"]+)['"]\)/g,i=[];let s;for(;null!==(s=t.exec(e));)i.push({elementId:s[1],targetDate:s[2]});return f.current=i,i},[e]),b=r.useMemo(()=>{if(!e)return null;const r=((e,t)=>{if(!e||!t)return e;let i=e;return i=i.replace(/<figure\b[^>]*>[\s\S]*?<\/figure>/gi,e=>{const i=e.match(/<img\b[^>]*\bsrc=["']([^"']+)["']/i);return i&&Tr(i[1],t)?"":e}),i=i.replace(/<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*\/?>/gi,(e,i)=>
2Tr(i,t)?"":e),i})(e,a),o=Qn(hr(yn(r)).children),l=function(e){let t=null;const i=e=>{for(const s of e){const e=Fn(s);null!=e&&(t=null==t?e:Math.min(t,e)),Cn(s)&&s.children&&i(s.children)}};return i(e),t}(o),A=null!=l?l-2:0,d=(e=>{const t=new Map,i=e.getQueriesData({queryKey:["article-detail"]});for(const[,s]of i)for(const e of s?.internalLinksPool??[])e.slug&&e.headline&&!t.has(e.slug)&&t.set(e.slug,e.headline);return t})(u),h={replace:e=>{if(Cn(e)&&"iframe"===e.name){const t=Nn(e,"src")??"";if(pe(t))return n.jsx("div",{className:"my-6 not-prose",children:n.jsx(Qr,{type:"youtube",url:t,hasConsent:g??!1})})}if(Cn(e)&&"img"===e.name){const t=Nn(e,"src")??"",i=e.parent;if(t&&!("a"===i?.name))return n.jsx(Rr,{src:t,alt:Nn(e,"alt")??"",className:Nn(e,"class")??void 0})}if(Cn(e)&&"a"===e.name&&Bn(e,"exx-internal-link")){const t=Nn(e,"href")??"",i=jn(e).trim();if(i&&t&&i===t){const i=function(e){try{const t=new URL(e,"https://exxpress.at/").pathname.split("/").filter(Boolean);return t[t.length-1]??null}catch{return null}}(t);if(i)return n.jsx("a",{...as(e.attribs),children:d.get(i)??Kn(i)})}}if(0!==A&&Cn(e)){const t=Fn(e);if(null!=t){const i=Math.min(6,Math.max(2,t-A));if(i!==t){const s=as(e.attribs),r=[s.className,`exx-h${t}`].filter(Boolean).join(" ");return c.createElement(`h${i}`,{...s,className:r},rs(e.children,h))}}}}},f=[];let x=0,b=0,w=0;const y=e=>{if(e.trim().length<=vt.MIN_PARAGRAPH_LENGTH)return;if(x++,x%t!==0)return;b++;if(m&&b%i===0&&w<p.length){const e=p[w];w++,f.push(n.jsx("div",{className:"article-native-ad-slot my-8 not-prose",children:n.jsx(bt,{content:e,variant:"standard",articleCategory:s})},`native-ad-${w}`))}};return o.forEach((e,t)=>{if(vn(e)){const i=e.data.trim();if(!i)return;return f.push(n.jsx("div",{children:n.jsx("p",{children:i})},`content-${t}`)),void y(i)}if(!Cn(e))return;const i=e;if(Bn(i,"exx-raw-html")||Dn(i,"exx-raw-html")){const e=Bn(i,"exx-raw-html")?i:Sn(i,e=>Bn(e,"exx-raw-html"));if(!e)return;if(Sn(e,e=>"blockquote"===e.name&&Bn(e,"reddit-embed-bq"))){const i=En(e,e=>"a"===e.name).map(e=>Nn(e,"href")??"").find(e=>/^https?:\/\/(www\.|old\.)?reddit\.com\//i.test(e));if(i)return void f.push(n.jsx("div",{className:"my-6 not-prose",children:n.jsx(Qr,{type:"reddit",url:i,hasConsent:g??!1})},`reddit-legacy-${t}`));if(!g)return void f.push(n.jsx(wt,{type:"reddit",className:"my-4"},`reddit-placeholder-${t}`))}const s=Sn(e,e=>"blockquote"===e.name&&Bn(e,"bluesky-embed"));if(s){const e=Nn(s,"data-bluesky-uri")??"",i=En(s,e=>"a"===e.name).map(e=>Nn(e,"href")??"").find(e=>/^https:\/\/bsky\.app\//i.test(e))??"",r=e||i;if(r)return void f.push(n.jsx("div",{className:"my-6 not-prose",children:n.jsx(Qr,{type:"bluesky",url:r,hasConsent:g??!1})},`bluesky-${t}`))}const r=Sn(e,e=>"iframe"===e.name);if(r){const i=Nn(r,"src")??"";if(pe(i))f.push(n.jsx("div",{children:rs([e],h)},`raw-youtube-${t}`));else if(g){const e=`${parseInt(Nn(r,"width")??"560",10)} / ${parseInt(Nn(r,"height")??"315",10)}`,i=Nn(r,"src")??"",s=Nn(r,"allow");f.push(n.jsx("div",{className:"my-6 not-prose relative w-full overflow-hidden rounded-lg",style:{aspectRatio:e},children:n.jsx("iframe",{src:i,allow:s,allowFullScreen:!0,loading:"lazy",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"none"}})},`raw-html-${t}`))}else{const e=Nn(r,"src")??"",i=e.includes("linkedin")?"linkedin":e.includes("facebook")?"facebook":e.includes("youtube")?"youtube":e.includes("instagram")?"instagram":"iframe";f.push(n.jsx(wt,{type:i,className:"my-4 aspect-video"},`raw-iframe-placeholder-${t}`))}}else 0===jn(e).trim().length?f.push(n.jsx("div",{style:{minHeight:"500px"},children:n.jsx(Yr,{})},`pricing-${t}`)):f.push(n.jsx("div",{children:rs([e],h)},`raw-fallback-${t}`));return}const s=Bn(i,"exx-embed")?i:jn(i).trim().length<50?Sn(i,e=>Bn(e,"exx-embed")):null;if(s){const e=Nn(s,"data-type"),i=Nn(s,"data-url");if("internal_link"===e&&i)return void f.push(n.jsx(Wr,{slug:i},`internal-link-${t}`));if("rumble"===e&&i)return void f.push(n.jsx("div",{className:"my-6 not-prose",children:n.jsx("iframe",{src:i,className:"w-full aspect-video rounded-lg",allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer",sandbox:"allow-scripts allow-same-origin allow-popups"})},`rumble-${t}`));if(e&&i&&["youtube","twitter","instagram","tiktok","reddit","mautic","vimeo","
2spotify","podigee","apa","jwplayer","google_maps","facebook","bluesky","truthsocial","telegram"].includes(e))return void f.push(n.jsx("div",{className:"my-6 not-prose",children:n.jsx(Qr,{type:e,url:i,hasConsent:g??!1})},`embed-${t}`))}const r=e=>"iframe"===e.name&&(Nn(e,"src")??"").includes("youtube"),a=r(i)?i:Sn(i,r),o=a?pe(Nn(a,"src")??""):null,l=Sn(i,e=>Bn(e,"twitter-tweet")),c=Sn(i,e=>Bn(e,"instagram-media")),A=Sn(i,e=>Bn(e,"fb-post")||Bn(e,"fb-video")),d=Sn(i,e=>{if("iframe"!==e.name)return!1;const t=Nn(e,"src")??"";return t.includes("facebook.com/plugins/")||t.includes("facebook.com/v")&&t.includes("/plugins/")}),u=A??d;if(!g){if(a&&!o)return void f.push(n.jsx(wt,{type:"youtube",className:"my-4 aspect-video"},`youtube-placeholder-${t}`));if(l)return void f.push(n.jsx(wt,{type:"twitter",className:"my-4"},`twitter-placeholder-${t}`));if(c)return void f.push(n.jsx(wt,{type:"instagram",className:"my-4"},`instagram-placeholder-${t}`));if(u)return void f.push(n.jsx(wt,{type:"facebook",className:"my-4"},`facebook-placeholder-${t}`))}if(g&&d){const e=Nn(d,"src")??"";if(e)return void f.push(n.jsx("div",{className:"my-6 not-prose",children:n.jsx(Qr,{type:"facebook",url:e,hasConsent:!0})},`fb-iframe-${t}`))}f.push(n.jsx("div",{children:rs([i],h)},`content-${t}`)),"p"!==i.name&&"div"!==i.name&&"section"!==i.name||y(jn(i))}),f},[e,t,i,m,g,p,s,a,u]);return r.useEffect(()=>{const e=()=>{"undefined"!=typeof window&&window.twttr?.widgets&&window.twttr.widgets.load(),"undefined"!=typeof window&&window.instgrm?.Embeds&&window.instgrm.Embeds.process()};e();const t=setTimeout(e,500),i=setTimeout(e,1500),s=setTimeout(e,3e3);return()=>{clearTimeout(t),clearTimeout(i),clearTimeout(s)}},[e]),r.useEffect(()=>{if(0===x.length)return;const e=()=>{for(const{elementId:e,targetDate:t}of f.current){const i=document.getElementById(e);if(!i)continue;const s=new Date(t).getTime()-Date.now();if(s<=0){i.innerHTML='<span style="color:#a855f7;font-weight:700;font-size:12px;">Event läuft!</span>';continue}const r=Math.floor(s/864e5),n=String(Math.floor(s/36e5%24)).padStart(2,"0"),a=String(Math.floor(s/6e4%60)).padStart(2,"0"),o=String(Math.floor(s/1e3%60)).padStart(2,"0");i.innerHTML=`<div class="ep-b-cd-item"><div class="ep-b-cd-val">${r}</div><div class="ep-b-cd-lbl">Tage</div></div><div class="ep-b-cd-item"><div class="ep-b-cd-val">${n}</div><div class="ep-b-cd-lbl">Std</div></div><div class="ep-b-cd-item"><div class="ep-b-cd-val">${a}</div><div class="ep-b-cd-lbl">Min</div></div><div class="ep-b-cd-item"><div class="ep-b-cd-val">${o}</div><div class="ep-b-cd-lbl">Sek</div></div>`}},t=setTimeout(()=>{e(),i=setInterval(e,1e3)},100);let i;return()=>{clearTimeout(t),i&&clearInterval(i)}},[x]),r.useEffect(()=>{if(!e?.includes("ep-b-img"))return;const t=document.querySelectorAll(".ep-b-img img"),i=e=>{const t=e.target;t.style.display="none";const i=t.parentElement;i&&(i.style.background="linear-gradient(135deg, #7c3aed, #1a1a2e)")};return t.forEach(e=>e.addEventListener("error",i)),()=>{t.forEach(e=>e.removeEventListener("error",i))}},[e]),n.jsx("div",{className:"prose dark:prose-invert prose-lg max-w-none",children:b})};function Gn({label:e,names:t,entityType:i,articleId:s}){if(0===t.length)return null;return n.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-1 gap-y-0.5",children:[n.jsxs("span",{className:"text-muted-foreground text-sm font-medium",children:[e,":"]}),t.map((e,r)=>n.jsxs("span",{className:"text-sm",children:[n.jsx(u,{to:`/suche/?q=${encodeURIComponent(e)}`,rel:"nofollow",className:"text-primary hover:underline",onClick:()=>(e=>{const t=de();t&&ue({visitor_id:t,event_type:"entity_click",metadata:{entity:e,entity_type:i,section:"ai-summary",article_id:s}})})(e),children:e}),r<t.length-1&&n.jsx("span",{className:"text-muted-foreground mx-0.5",children:"·"})]},e))]})}function Yn({aiSummary:e,articleId:t}){const i=function(e){if(!e)return null;if("string"==typeof e)try{return JSON.parse(e)}catch{return null}return e}(e),s=i?.key_facts??[],a=r.useRef(null),o=e=>{if(null===a.current)return;const i=Math.max(0,Math.round(performance.now()-a.current));a.current=null;const s=de();s&&ue({visitor_id:s,event_type:"ai_summary_close",metadata:{section:"ai-summary",article_id:t,open_ms:i,reason:e}})},l=r.useRef(null);if(r.useEffect(()=>{const e=()=>o("pagehide"),t=()=>{l.current?.open&&null===a.current&&(a.current=performance.now())};return window.addEventListener("pagehide",e),window.addEventListener("pageshow",t),()=>{window.removeEventListener("pagehide",e),window.removeEventListener("pageshow",t),o("unmount")}},[t]),!i?.summary)return null;const c=i.entities?.people??[],A=i.entities?.organizations??[],d=i.entities?.locations??[],u=c.length>0||A.length>0||d.length>0;return n.jsxs("details",{ref:l,className:"artikeltext-breite group my-6 rounded-lg border border-border/60 bg-muted/40",onToggle:e=>{if(!e.currentTarget.open)return void o("toggle");a.current=performance.now();const i=de();i&&ue({visitor_id:i,event_type:"ai_summary_open",metadata:{section:"ai-summary",article_id:t,fact_count:s.length}})},"data-testid":"ai-summary",children:[n.jsxs("summary",{className:"relative block min-h-[44px] curs
2or-pointer select-none list-none rounded-lg px-12 py-3 text-center outline-none focus-visible:ring-2 focus-visible:ring-ring [&::-webkit-details-marker]:hidden",children:[n.jsx("span",{className:"inline-flex max-w-full flex-wrap items-center justify-center gap-x-2 gap-y-1",children:n.jsx("span",{className:"min-w-0 break-words text-sm font-medium text-foreground/90",children:(h=s.length,h<=0?"Das Wichtigste in Kürze":`Das Wichtigste in ${h} ${1===h?"Punkt":"Punkten"}`)})}),n.jsx(Fe,{className:"absolute right-4 top-1/2 h-5 w-5 -translate-y-1/2 text-muted-foreground transition-transform group-open:rotate-180","aria-hidden":"true"})]}),n.jsxs("div",{className:"px-4 pb-4 sm:px-5 sm:pb-5",children:[n.jsx("p",{className:"mb-4 text-[0.95rem] leading-relaxed text-foreground/90",children:i.summary}),s.length>0&&n.jsxs("div",{className:"mb-4",children:[n.jsx("p",{className:"mb-2 text-sm font-semibold text-foreground",children:"Die wichtigsten Fakten:"}),n.jsx("ul",{className:"space-y-1 pl-4",children:s.map(e=>n.jsx("li",{className:"list-disc text-sm leading-relaxed text-foreground/85",children:e},e))})]}),u&&n.jsxs("div",{className:"space-y-1 border-t border-border/40 pt-3",children:[n.jsx(Gn,{label:"Personen",names:c,entityType:"person",articleId:t}),n.jsx(Gn,{label:"Orte",names:d,entityType:"location",articleId:t}),n.jsx(Gn,{label:"Organisationen",names:A,entityType:"organization",articleId:t})]}),n.jsx("p",{className:"mt-3 text-xs text-muted-foreground",children:"KI-generiert â kann Fehler enthalten."})]})]});var h}const Rn=new Set(["redaktion"]);function Tn(e,t,i,s={}){const r=de();r&&ue({visitor_id:r,event_type:"author_box_click",metadata:{section:"author-box",target:e,article_id:t,author_slug:i,...s}})}function Jn({article:e,onKlick:t}){const i=e.storage_image?.original||e.image_url||"";return n.jsx("li",{children:n.jsxs(u,{to:F(e.slug,e.category),className:"flex gap-3 py-3 group","data-testid":"author-article-row",onClick:t,children:[i?n.jsx("span",{className:"block w-24 shrink-0 overflow-hidden rounded-md",children:n.jsx(g,{src:i,storageImage:e.storage_image,alt:"",className:"w-full",aspectRatio:"3/2",objectFit:"cover",sizes:"96px",width:96,height:64,loading:"lazy"})}):null,n.jsx("span",{className:"line-clamp-3 self-center text-sm font-semibold leading-snug text-foreground group-hover:underline",children:e.headline})]})})}function Mn({article:e,articles:t}){const i=function(e){const t=e.author_slug?.trim().toLowerCase();return!(!t||Rn.has(t))&&Boolean(e.author_info)}(e),s=Pe("author-box",i?e.id:void 0);if(!i)return null;const r=e.author_info,a=r?.display_name?.trim()||e.author||"Redaktion",o=e.author_slug,l=`/autor/${o}/`,c=r?.avatar_url?et(r.avatar_url,256):null;return n.jsxs("section",{ref:s,"aria-labelledby":"autorenbox-name",className:"mt-12 border-t-2 border-border/50 pt-10","data-testid":"author-box",children:[n.jsxs("div",{className:"flex gap-4 sm:gap-6",children:[c&&n.jsx(u,{to:l,className:"shrink-0","aria-hidden":"true",tabIndex:-1,onClick:()=>Tn("avatar",e.id,o),children:n.jsx("img",{src:c,alt:"",width:128,height:128,loading:"lazy",className:"h-20 w-20 rounded-lg object-cover sm:h-32 sm:w-32"})}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("h2",{id:"autorenbox-name",className:"text-xl font-bold leading-tight sm:text-2xl",children:n.jsx(u,{to:l,className:"hover:underline",onClick:()=>Tn("name",e.id,o),children:a})}),r?.job_title&&n.jsx("p",{className:"mt-1 text-sm text-muted-foreground sm:text-base",children:r.job_title}),r?.bio&&n.jsx("p",{className:"mt-2 line-clamp-3 text-[0.95rem] leading-relaxed text-foreground/90 sm:line-clamp-4",children:r.bio}),n.jsx(u,{to:l,className:"mt-2 inline-block text-sm font-medium text-primary hover:underline",onClick:()=>Tn("profile",e.id,o),children:"Zum Profil"})]})]}),t.length>0&&n.jsxs("div",{className:"mt-8",children:[n.jsxs("h3",{className:"mb-4 text-lg font-semibold sm:text-xl",children:["Mehr von ",a]}),n.jsx("div",{className:"hidden gap-4 sm:grid sm:grid-cols-3 md:gap-6",children:t.map(e=>n.jsx(p,{article:e,variant:"standard",section:"author-more",sizes:"(max-width: 1024px) 33vw, 320px"},e.id))}),n.jsx("ul",{className:"divide-y divide-border/60 sm:hidden",children:t.map((t,i)=>n.jsx(Jn,{article:t,onKlick:()=>Tn("article",e.id,o,{target_article_id:t.id,position:i+1,layout:"row"})},t.id))})]})]})}const Zn="[email protected]",Hn=3e3,Un={hinweis:{betreff:"Hinweis zu",frage:"Welchen Hinweis haben Sie für uns?",knopf:"Hinweis geben",satz:"Haben Sie einen Hinweis zu diesem Thema?",link:"Hier können Sie uns schreiben."},fehler:{betreff:"Fehler in",frage:"Welchen Fehler haben Sie entdeckt?",knopf:"Fehler melden",satz:"Haben Sie Fehler entdeckt?",link:"Dann weisen Sie uns gern darauf hin."}};function _n(e){return Un[e]}function Ln(e,t,i){const s=encodeURIComponent(function(e,t){return function(e,t=120){const i=e.replace(/[\r\n\t]+/g," ").replace(/\s{2,}/g," ").trim();return i.length<=t?i:`${i.slice(0,t-1).trimEnd()}â¦`}(`${Un[e].betreff}: ${t}`)}(e,t)),r=encodeURIComponent(function(e,t){return`${Un[e].frage}\r\n\r\n\r\n\r\nArtikel: ${t}`}(e,i));return`mailto:${Zn}?subject=${s}&body=${r}`}const On=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;function Vn({articleId:e,slug:t,headline:i,url:s}){const[a,o]=r.useState(null),l=Q(e=>e.setFeedbackOverlayOpen);r.useEffect(()=>(l(null!==a),()=>l(!1)),[a,l]);return n.jsxs("section",{"aria-labelledby":"feedback-title",className:"mt-10 space-y-2 text-[0.95rem] leading-relaxed text-foreground
2/90","data-testid":"article-feedback",children:[n.jsx("h2",{id:"feedback-title",className:"sr-only",children:"Hinweise und Fehler zum Artikel"}),["hinweis","fehler"].map(t=>{const i=_n(t);return n.jsxs("p",{children:[i.satz," ",n.jsx("button",{type:"button",onClick:()=>(t=>{const i=de();i&&ue({visitor_id:i,event_type:"article_feedback_open",metadata:{art:t,weg:"formular",article_id:e}}),o(t)})(t),className:"rounded-sm font-medium text-primary underline underline-offset-2 hover:no-underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:i.link})]},t)}),a&&n.jsx(Xn,{art:a,articleId:e,slug:t,headline:i,url:s,onClose:()=>o(null)})]})}const zn=768;function Xn(e){const[t]=r.useState(()=>window.innerWidth<zn),i=_n(e.art),s="hinweis"===e.art?"Hinweis an die Redaktion":"Fehler melden",a=`Zum Artikel â${e.headline}". Wir lesen jede Nachricht und melden uns bei Rückfragen per E-Mail.`,o=n.jsx(qn,{...e,frage:i.frage,mobil:t});return t?n.jsx(Ft,{open:!0,onOpenChange:t=>{t||e.onClose()},shouldScaleBackground:!1,children:n.jsxs(Qt,{className:"max-h-[90dvh]",children:[n.jsxs(Kt,{className:"text-left",children:[n.jsx(Wt,{children:s}),n.jsx(Gt,{children:a})]}),n.jsx("div",{className:"overflow-y-auto overflow-x-hidden px-4 pb-[calc(1rem+env(safe-area-inset-bottom))]",children:o})]})}):n.jsx(ee,{open:!0,onOpenChange:t=>{t||e.onClose()},children:n.jsxs(te,{className:"max-h-[90vh] overflow-y-auto sm:max-w-lg",children:[n.jsxs(ie,{children:[n.jsx(se,{children:s}),n.jsx(re,{children:a})]}),o]})})}function qn({art:e,articleId:t,slug:i,headline:s,url:a,frage:o,mobil:l,onClose:c}){const A=r.useId(),{session:d}=he(),u=d?.user?.email??"",[h,m]=r.useState(""),[g,p]=r.useState(u),f=r.useRef(!1);r.useEffect(()=>{u&&!f.current&&p(u)},[u]);const[x,b]=r.useState(""),[w,y]=r.useState(null),[C,v]=r.useState(!1),[k,B]=r.useState(null),[N,j]=r.useState("idle"),S=r.useRef(null),E=r.useRef(null);r.useEffect(()=>{S.current},[]);const D=Ln(e,s,a),F=async r=>{r.preventDefault();const n=function(e){const t=e.nachricht.trim();if(t.length<10)return"Bitte beschreiben Sie Ihr Anliegen (mindestens 10 Zeichen).";if(t.length>Hn)return"Die Nachricht ist zu lang (maximal 3000 Zeichen).";const i=e.email.trim();return i?On.test(i)?null:"Bitte geben Sie eine gültige E-Mail-Adresse an.":"Bitte geben Sie Ihre E-Mail-Adresse an, damit wir bei Rückfragen antworten können."}({nachricht:h,email:g});if(n)B(n);else{B(null),j("sendet");try{const r="https://pdb.exxpress.at",n="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndmbW9sc3Fhbm9hdmpyd2Vzam1qIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjQzNTE3MzAsImV4cCI6MjA3OTkyNzczMH0.qBlvKmoZQwZRVPGj1yOe52BWIfg8NRw2pfC8uxe8f10",o=await fetch(`${r}/functions/v1/article-feedback`,{method:"POST",headers:{"Content-Type":"application/json",apikey:n,Authorization:`Bearer ${n}`},body:JSON.stringify({art:e,nachricht:h.trim(),email:g.trim(),website:x,turnstileToken:w??"",artikel:{id:t,slug:i,url:a,headline:s}})});if(!o.ok){const e=await o.json().catch(()=>({})),t="string"==typeof e?.error?e.error:"string"==typeof e?.error?.message?e.error.message:"";throw Object.assign(new Error(t||`HTTP ${o.status}`),{status:o.status})}j("fertig");const l=de();l&&ue({visitor_id:l,event_type:"article_feedback_submit",metadata:{art:e,article_id:t,weg:"formular"}})}catch(o){const i=de();i&&ue({visitor_id:i,event_type:"article_feedback_error",metadata:{art:e,article_id:t,status:o?.status??0}}),j("idle"),y(null),E.current&&window.turnstile&&window.turnstile.reset(E.current),B(o instanceof Error&&o.message?o.message:"Senden fehlgeschlagen. Bitte versuchen Sie es erneut oder schreiben Sie uns per E-Mail.")}}};return"fertig"===N?n.jsxs("div",{className:"space-y-4 py-2",role:"status",children:[n.jsx("p",{className:"font-medium",children:"Vielen Dank! Ihre Nachricht ist bei der Redaktion angekommen."}
2),n.jsx(I,{type:"button",onClick:c,className:"w-full sm:w-auto",children:"SchlieÃen"})]}):n.jsxs("form",{onSubmit:e=>{F(e)},className:"relative space-y-4",noValidate:!0,children:[n.jsxs("div",{className:"space-y-2",children:[n.jsx(Yt,{htmlFor:`${A}-nachricht`,children:o}),n.jsx(Rt,{id:`${A}-nachricht`,value:h,onChange:e=>m(e.target.value),maxLength:Hn,rows:5,required:!0,autoFocus:!l,"aria-invalid":!!k||void 0,"aria-describedby":k?`${A}-fehler`:void 0}),n.jsxs("p",{className:"text-xs text-muted-foreground",children:[h.length,"/",Hn]})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx(Yt,{htmlFor:`${A}-email`,children:"Ihre E-Mail-Adresse (für Rückfragen)"}),n.jsx(Tt,{id:`${A}-email`,type:"email",inputMode:"email",autoComplete:"email",required:!0,value:g,onChange:e=>{f.current=!0,p(e.target.value)}})]}),n.jsxs("div",{className:"absolute -left-[9999px] top-0 h-px w-px overflow-hidden","aria-hidden":"true",children:[n.jsx("label",{htmlFor:`${A}-website`,children:"Website"}),n.jsx("input",{id:`${A}-website`,type:"text",tabIndex:-1,autoComplete:"off",value:x,onChange:e=>b(e.target.value)})]}),null,C&&n.jsxs("p",{className:"text-sm text-muted-foreground",children:["Die Sicherheitsprüfung konnte nicht geladen werden. Bitte schreiben Sie uns direkt an"," ",n.jsx("a",{href:D,className:"underline",onClick:()=>{const i=de();i&&ue({visitor_id:i,event_type:"article_feedback_open",metadata:{art:e,weg:"mailto",article_id:t}})},children:Zn}),"."]}),k&&n.jsx("p",{id:`${A}-fehler`,className:"text-sm text-destructive",role:"alert",children:k}),n.jsxs("p",{className:"text-xs text-muted-foreground",children:["Ihre Angaben verwenden wir nur zur Bearbeitung dieses Hinweises und löschen sie nach 90 Tagen."," ",n.jsx("a",{href:"/datenschutz/",className:"underline",children:"Datenschutz"})]}),n.jsxs("div",{className:"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",children:[n.jsx("a",{href:D,className:"self-center text-sm text-muted-foreground underline-offset-2 hover:underline sm:mr-auto",onClick:()=>{const i=de();i&&ue({visitor_id:i,event_type:"article_feedback_open",metadata:{art:e,weg:"mailto",article_id:t}})},children:"oder per E-Mail"}
2),n.jsx(I,{type:"button",variant:"outline",onClick:c,children:"Abbrechen"}),n.jsx(I,{type:"submit",disabled:"sendet"===N||C,children:"sendet"===N?"Wird gesendet â¦":"Absenden"})]})]})}const Pn="https://pdb.exxpress.at",$n="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndmbW9sc3Fhbm9hdmpyd2Vzam1qIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjQzNTE3MzAsImV4cCI6MjA3OTkyNzczMH0.qBlvKmoZQwZRVPGj1yOe52BWIfg8NRw2pfC8uxe8f10";function ea({articleId:e}){const t=Pe("reactions",e),i=lt(),[s,a]=r.useState(null),[o,l]=r.useState(!1),[c,A]=r.useState(null),d=r.useRef(Promise.resolve()),u=r.useRef(null);r.useEffect(()=>{u.current=s},[s]),r.useEffect(()=>{a(Jt(e))},[e]);const{data:h=Mt}=ot({queryKey:["article-reactions",e],queryFn:()=>async function(e){const t=await fetch(`${Pn}/functions/v1/app-article-reactions?article_id=${e}`,{headers:{apikey:$n}});if(!t.ok)throw new Error(`HTTP ${t.status}`);const i=await t.json();return Ot(i.counts)}(e),staleTime:3e4,gcTime:3e5}),m=async(t,s,r)=>{await i.cancelQueries({queryKey:r});try{const n=_t(!0);if(!n)throw new Error("kein Speicher");const a=await Lt(n,e),o=await fetch(`${Pn}/functions/v1/app-article-reactions`,{method:"POST",headers:{"Content-Type":"application/json",apikey:$n},body:JSON.stringify({article_id:e,reaction:s,active:null!==s,token:a})});if(!o.ok)throw new Error(`HTTP ${o.status}`);const l=await o.json();i.setQueryData(r,Ot(l.counts)),Vt(e,u.current);const c=de();c&&ue({visitor_id:c,event_type:"article_reaction",metadata:{reaction:s??t,active:null!==s,replaced:t&&s?t:void 0,article_id:e}})}catch{A("Reaktion konnte nicht gespeichert werden."),setTimeout(()=>A(null),4e3),a(t),u.current=t,i.setQueryData(r,e=>Ut(e??Mt,s,t)),Vt(e,t),i.invalidateQueries({queryKey:r})}},g=Zt(h);return n.jsxs("section",{ref:t,"aria-labelledby":"reaktionen-title",className:"artikeltext-breite mt-8","data-testid":"article-reactions",children:[n.jsxs("div",{className:"mb-3 flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[n.jsx("h2",{id:"reaktionen-title",className:"text-base font-semibold text-foreground sm:text-lg",children:"Wie finden Sie den Artikel?"}),n.jsx("span",{className:"inline-block min-h-[1.25rem] min-w-[12ch] text-sm text-muted-foreground","aria-live":"polite",children:c??(g>0?`${g} ${1===g?"Reaktion":"Reaktionen"}`:"")})]}),n.jsx("div",{className:"flex flex-wrap gap-2",role:"radiogroup","aria-label":"Reaktionen","aria-busy":o,children:Ht.map(t=>{const r=s===t.key,o=h[t.key]??0;return n.jsxs("button",{type:"button",role:"radio","aria-checked":r,onClick:()=>(t=>{const s=u.current,r=s===t?null:t,n=["article-reactions",e];a(r),u.current=r,i.setQueryData(n,e=>Ut(e??Mt,s,r)),l(!0),d.current=d.current.then(()=>m(s,r,n)).finally(()=>l(!1))})(t.key),"data-testid":`reaction-${t.key}`,className:C("inline-flex min-h-[44px] max-w-full items-center justify-center gap-2 rounded-md border px-4 py-2 text-center text-sm font-medium transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-70",r?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-foreground hover:border-primary/60 hover:bg-muted/50"),children:[n.jsx("span",{children:t.label}),n.jsx("span",{className:C("min-w-[3ch] text-right tabular-nums",r?"text-primary-foreground/90":"text-muted-foreground"),children:o>0?o:""})]},t.key)})})]})}const ta="Unterstütze unabhängigen Journalismus",ia="exxpress lebt von seiner Community. Werde Unterstützer und hilf uns, frei zu berichten.",sa="Jetzt unterstützen",ra="Abo-Vorteile ansehen",na="Danke, dass du exxpress als Unterstützer stärkst.";function aa({articleId:e,mitSpendenDialog:t=!0}){const i=Pe("support-box",e),{isEntitled:s,isLoading:r}=tt(),{isLoading:a}=he(),o=a||r,l=t=>{const i=de();i&&ue({visitor_id:i,event_type:"support_box_click",metadata:{target:t,article_id:e}})};return n.jsx("section",{ref:i,"aria-labelledby":"unterstuetzer-title",className:C("mt-16 w-full rounded-lg border border-primary/30 bg-primary/5 p-5 sm:p-8",(o||!s)&&"min-h-[560px]"),"data-testid":"support-box",children:o?n.jsxs("div",{className:"animate-pulse space-y-4",children:[n.jsx("h2",{id:"unterstuetzer-title",className:"sr-only",children:ta}),n.jsx("div",{className:"h-8 w-2/3 rounded bg-muted"}),n.jsx("div",{className:"h-4 w-full rounded bg-muted"}),n.jsx("div",{className:"h-4 w-5/6 rounded bg-muted"}),n.jsx("div",{className:"h-11 w-48 rounded bg-muted"})]}):s?n.jsx("p",{id:"unterstuetzer-title",className:"text-base font-medium text-foreground","data-testid":"support-box-dank",children:na}):n.jsxs(n.Fragment,{children:[n.jsxs("h2",{id:"unterstuetzer-title",className:"flex items-start gap-3 text-2xl font-bold leading-tight tracking-tight sm:text-3xl",children:[n.jsx("img",{src:"/favicon.svg",alt:"",width:28,height:28,className:"mt-0.5 h-7 w-7 shrink-0","aria-hidden":"true"}),n.jsx("span",{children:ta})]}),n.jsx("p",{className:"mt-4 text-[0.95rem] leading-relaxed text-foreground
2/90",children:ia}),t?n.jsx("div",{className:"mt-6 border-t border-primary/20 pt-6",children:n.jsx(zt,{compact:!0})}):n.jsx(I,{asChild:!0,size:"lg",className:"mt-5 w-full sm:w-auto",children:n.jsx(u,{to:"/spende/",onClick:()=>l("spende"),children:sa})}),n.jsxs("div",{className:"mt-5 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[n.jsx(I,{asChild:!0,size:"lg",variant:"outline",className:"w-full sm:w-auto",children:n.jsx(u,{to:"/preise/",onClick:()=>l("preise"),children:ra})}),t&&n.jsx(u,{to:"/spende/",onClick:()=>l("spende"),className:"text-sm text-muted-foreground underline-offset-2 hover:underline",children:"Alle Spendenmöglichkeiten"})]})]})})}function oa(e,t){return ot({queryKey:["live-ticker",e],queryFn:()=>(async e=>{const t=15e3*Math.floor(Date.now()/15e3),i=await fetch(`/api/feeds/liveticker-${e}.json?t=${t}`,{cache:"no-store",headers:{Accept:"application/json"}});if(404===i.status||400===i.status)return null;if(!i.ok)throw new Error(`liveticker fetch failed: ${i.status}`);return i.json()})(e),enabled:!!e&&null!==t,initialData:t,initialDataUpdatedAt:t?Date.parse(t.generatedAt):void 0,staleTime:1e4,gcTime:3e5,refetchInterval:e=>!!e.state.data?.isActive&&3e4,retry:1})}const la=e=>new Date(e).toLocaleTimeString("de-AT",{hour:"2-digit",minute:"2-digit",timeZone:"Europe/Vienna"});const ca=({entry:e,nowMs:t,hasConsent:i})=>{const s=((e,t)=>{const i=Math.floor((t-new Date(e).getTime())/6e4);return i<0||i>=60?null:i<1?"gerade eben":`vor ${i} Min`})(e.entryTime,t),r=e.mediaUrl?function(e){let t;try{t=new URL(e).hostname.replace(/^www\./,"")}catch{return null}return"twitter.com"===t||t.endsWith(".twitter.com")||"x.com"===t||t.endsWith(".x.com")?"twitter":"instagram.com"===t||t.endsWith(".instagram.com")?"instagram":"tiktok.com"===t||t.endsWith(".tiktok.com")?"tiktok":"facebook.com"===t||t.endsWith(".facebook.com")?"facebook":"youtube.com"===t||t.endsWith(".youtube.com")||"youtu.be"===t?"youtube":"vimeo.com"===t||t.endsWith(".vimeo.com")?"vimeo":null}(e.mediaUrl):null;return n.jsxs("li",{className:"relative flex gap-3 sm:gap-4 pb-6 last:pb-0",children:[n.jsxs("div",{className:"w-14 sm:w-16 shrink-0 text-right",children:[n.jsx("time",{dateTime:e.entryTime,className:"block text-sm font-bold tabular-nums",children:la(e.entryTime)}),s&&n.jsx("span",{className:"block text-xs text-muted-foreground",children:s})]}),n.jsxs("div",{className:"relative flex flex-col items-center",children:[n.jsx("span",{className:"mt-1 h-2.5 w-2.5 shrink-0 rounded-full bg-primary","aria-hidden":"true"}),n.jsx("span",{className:"w-px flex-1 bg-border","aria-hidden":"true"})]}),n.jsxs("div",{className:"min-w-0 flex-1",children:[n.jsx("h3",{className:"font-bold leading-tight",children:e.headline}),e.body&&n.jsx("div",{className:"mt-1.5 text-sm sm:text-base text-foreground/90 whitespace-pre-line",children:e.body}),"image"===e.mediaType&&e.mediaUrl&&n.jsx("div",{className:"mt-3 aspect-video max-w-xl overflow-hidden rounded-lg bg-muted",children:n.jsx("img",{src:e.mediaUrl,alt:e.headline,loading:"lazy",decoding:"async",className:"h-full w-full object-contain"})}),("video"===e.mediaType||"embed"===e.mediaType)&&e.mediaUrl&&r&&n.jsx("div",{className:"mt-3",children:n.jsx(Qr,{type:r,url:e.mediaUrl,hasConsent:i})}),("video"===e.mediaType||"embed"===e.mediaType)&&e.mediaUrl&&!r&&n.jsx("a",{href:e.mediaUrl,target:"_blank",rel:"noopener noreferrer",className:"mt-3 inline-flex text-sm font-medium text-primary underline",children:"Externer Inhalt öffnen â"})]})]})},Aa=({articleId:e,initial:t,articleCategory:i,articleHeadline:s})=>{const{data:a}=oa(e,t),{consent:o,isConsentReady:l}=ge(),c=!E().cookieBanner||l&&Boolean(o?.marketing),A=function(e){const[t,i]=r.useState(()=>e?new Date(e).getTime():0);return r.useEffect(()=>{i(Date.now());const e=setInterval(()=>i(Date.now()),6e4);return()=>clearInterval(e)},[]),t}(t?.generatedAt),d=r.useRef(null),[u,h]=r.useState(20),[m,g]=r.useState(t?.entries[0]?.id??null),[p,f]=r.useState(e);p!==e&&(f(e),h(20),g(t?.entries[0]?.id??null));const x=a??t,b=r.useMemo(()=>x?.entries??[],[x]),w=b[0]?.id??null;null===m&&null!==w&&g(w);const y=r.useMemo(()=>
2{if(!m)return 0;const e=b.findIndex(e=>e.id===m);return-1===e?0:e},[b,m]),I=r.useMemo(()=>{if(!x)return null;const e=i?`${kt()}/${i}/${x.articleSlug}/`:`${kt()}/${x.articleSlug}/`;return Pt({headline:s?`Liveticker: ${K(s)}`:"Liveticker",coverageStartTime:x.createdAt,...x.deactivatedAt&&{coverageEndTime:x.deactivatedAt},datePublished:x.createdAt,dateModified:x.generatedAt,author:{name:"exxpress Redaktion"},url:e,entries:b.map(e=>({headline:e.headline,datePublished:e.entryTime,articleBody:e.body||e.headline}))})},[x,b,i,s]);if(!x||0===b.length&&!x.isActive)return null;const C=y,v=b.slice(y,y+u),k=Math.max(0,b.length-y-u);return n.jsxs("section",{ref:d,className:"mt-10 scroll-mt-24","aria-label":"Liveticker",children:[n.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(I).replace(/</g,"\\u003c")}}),n.jsxs("div",{className:"flex items-center justify-between border-y-2 border-foreground py-3",children:[n.jsx("div",{className:"flex items-center gap-2",children:x.isActive?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-red-600 animate-pulse motion-reduce:animate-none","aria-hidden":"true"}),n.jsxs("h2",{className:"text-lg sm:text-xl font-bold uppercase tracking-wide",children:["Live ",n.jsx("span",{className:"font-normal normal-case text-muted-foreground",children:"· Liveticker"})]})]}):n.jsx("h2",{className:"text-lg sm:text-xl font-bold text-muted-foreground",children:"Liveticker beendet"})}),x.isActive&&n.jsxs("span",{className:"text-xs text-muted-foreground","aria-live":"off",children:["aktualisiert ",la(x.generatedAt)]})]}),C>0&&n.jsx("div",{className:"sticky top-24 z-20 my-3 flex justify-center",children:n.jsxs("button",{onClick:()=>{g(b[0]?.id??null),d.current?.scrollIntoView({behavior:"smooth",block:"start"})},className:"rounded-full bg-red-600 px-4 py-1.5 text-sm font-semibold text-white shadow-lg hover:bg-red-700 transition-colors",children:[n.jsx("span",{"aria-hidden":"true",children:"â"})," ",C," ",1===C?"neuer Eintrag":"neue Einträge"]})}),n.jsx("ol",{className:"mt-6 list-none",role:"list",children:v.map(e=>n.jsx(ca,{entry:e,nowMs:A,hasConsent:c},e.id))}),k>0&&n.jsx("div",{className:"mt-4 flex justify-center",children:n.jsxs("button",{onClick:()=>h(e=>e+20),className:"rounded-md border border-border px-4 py-2 text-sm font-medium hover:bg-accent transition-colors",children:["Ãltere Einträge laden (",k,")"]})})]})},da=new Set(["a","em","strong","b","i","u","span","br","mark","sup","sub","cite","q"]),ua=new Set(["href","target","rel","class","title"]),ha=new Set(["br"]);function ma(e){return e.replace(/<[^>]+>/g,"").replace(/ | /gi," ").replace(/&/gi,"&").replace(/&#\d+;|&[a-zA-Z]+;/g,"x").replace(/\s+/g," ").trim().length}const ga=/\n\s*\n\s+/;const pa={replace:e=>{if(!Cn(e))return;if(!da.has(e.name))return n.jsx(n.Fragment,{});const t={};for(const[r,n]of Object.entries(e.attribs??{}))if(ua.has(r)){if("href"===r){const e=String(n).trim().toLowerCase();if(!(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")||e.startsWith("#")||e.startsWith("mailto:")))continue}t[r]=n}const i={};for(const[r,n]of Object.entries(t))"class"===r?i.className=n:i[r]=n;const s=e.name;return ha.has(e.name)?n.jsx(s,{...i}):n.jsx(s,{...i,children:rs(e.children,pa)})}};function fa(e){return e?rs(hr(e).children,pa):null}const xa=[25,50,75,100],ba=[30,60,120],wa=({contentSelector:e="#article-full",articleId:t,onProgressChange:i})=>{const[s,a]=r.useState(0),[o,l]=r.useState(0),[c]=r.useState(()=>(()=>{if("undefined"==typeof window||"undefined"==typeof sessionStorage)return"ssr-placeholder";const e="exxpress_reading_session";try{let t=sessionStorage.getItem(e);return t||(t=`${Date.now()}-${Math.random().toString(36).substring(2,15)}`,sessionStorage.setItem(e,t)),t}catch{return`ephemeral-${Date.now()}`}})()),A=r.useRef(0),d=r.useRef(0),u=r.useRef(0),h=r.useRef(null),m=r.useRef(!1),g=r.useRef(new Set),p=r.useRef(new Set),f=r.useCallback(async(e,i,s=!1)=>{if(!t)return;const r=e>d.current,n=i-u.current>=5;if(s||r||n)try{(await fetch("/api/edge/app-reading-progress",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({article_id:t,session_id:c,visitor_id:de(),progress:e,time_spent:i})}
2)).ok&&(d.current=e,u.current=i)}catch{}},[t,c]),x=r.useCallback((e,t)=>{h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{f(e,t)},3e3)},[f]);return r.useEffect(()=>{if(!t)return;const e=setInterval(()=>{l(e=>e+1)},1e3);return()=>clearInterval(e)},[t]),r.useEffect(()=>{t&&(o>0&&o%10==0&&f(A.current,o),ba.forEach(e=>{o>=e&&!p.current.has(e)&&(p.current.add(e),W(e,window.location.pathname,"article"))}))},[o,t,f]),r.useEffect(()=>{let t=0;const i=()=>{const t=document.querySelector(e);if(!t){const e=window.scrollY/(document.documentElement.scrollHeight-document.documentElement.clientHeight)*100;return void a(Math.min(100,Math.max(0,e)))}const i=t.getBoundingClientRect(),s=window.innerHeight,r=i.height;if(r<=s)if(i.bottom<=s&&i.top>=0)a(100);else if(i.top>s)a(0);else{const e=Math.abs(i.top)/r*100;a(Math.min(100,Math.max(0,e)))}else if(i.top>=0)a(0);else if(i.bottom<=s)a(100);else{const e=Math.abs(i.top)/(r-s)*100;a(Math.min(100,Math.max(0,e)))}},s=()=>{t||(t=requestAnimationFrame(()=>{t=0,i()}))};return window.addEventListener("scroll",s,{passive:!0}),i(),()=>{window.removeEventListener("scroll",s),t&&cancelAnimationFrame(t)}},[e]),r.useEffect(()=>{s>A.current&&(A.current=s,t&&x(s,o),s>=100&&!m.current&&(m.current=!0,t&&f(100,o,!0))),t&&xa.forEach(e=>{s>=e&&!g.current.has(e)&&(g.current.add(e),G(String(t),e))}),i?.(s)},[s,o,t,x,f,i]),r.useEffect(()=>{if(!t)return;const e=()=>{const e=JSON.stringify({article_id:t,session_id:c,visitor_id:de(),progress:A.current,time_spent:o});"function"==typeof navigator.sendBeacon&&navigator.sendBeacon("/api/edge/app-reading-progress",new Blob([e],{type:"text/plain"}))},i=()=>{"hidden"===document.visibilityState&&f(A.current,o,!0)};return window.addEventListener("beforeunload",e),document.addEventListener("visibilitychange",i),()=>{window.removeEventListener("beforeunload",e),document.removeEventListener("visibilitychange",i),h.current&&clearTimeout(h.current)}},[t,c,o,f]),n.jsx("div",{className:"fixed top-0 left-0 right-0 z-50 h-1 bg-muted/30",role:"progressbar","aria-valuenow":Math.round(s),"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Lesefortschritt",children:n.jsx("div",{className:"h-full bg-gradient-to-r from-primary via-primary/80 to-primary transition-all duration-150 ease-out",style:{width:`${s}%`}})})};const ya=({hasVoted:e,articlesRead:t})=>{const i=e||t>=3?"Mitreden â kostenlos registrieren":"Kostenlos mitkommentieren";return n.jsxs(u,{to:"/auth?intent=comment",className:"flex items-center gap-2 sm:gap-4 w-full group",children:[n.jsx("div",{className:"flex-shrink-0 w-9 h-9 sm:w-12 sm:h-12 rounded-full bg-primary/10 flex items-center justify-center",children:n.jsx(De,{className:"w-4 h-4 sm:w-6 sm:h-6 text-primary"})}),n.jsxs("div",{className:"flex-1 min-w-0",children:[n.jsx("p",{className:"text-xs sm:text-base font-semibold text-foreground group-hover:text-primary transition-colors",children:i}),n.jsx("p",{className:"text-[10px] sm:text-sm text-muted-foreground leading-tight",children:"Nur E-Mail â kein Klarname nötig."})]}),n.jsx(Qe,{className:"w-4 h-4 sm:w-5 sm:h-5 text-muted-foreground group-hover:text-primary transition-colors flex-shrink-0"})]})},Ia=({commentCount:e,bestCommentPreview:t,bestCommentAuthor:i,onScrollToComments:s})=>n.jsxs("button",{onClick:s,className:"flex items-center gap-3 sm:gap-4 w-full group text-left",children:[n.jsx("div",{className:"flex-shrink-0 w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-yellow-500/10 flex items-center justify-center",children:n.jsx(De,{className:"w-5 h-5 sm:w-6 sm:h-6 text-yellow-600 dark:text-yellow-500"})}),n.jsxs("div",{className:"flex-1 min-w-0",children:[n.jsxs("p",{className:"text-sm sm:text-base font-semibold text-foreground group-hover:text-primary transition-colors",children:[e," Meinungen zu diesem Artikel"]}),t&&n.jsxs("p",{className:"text-xs sm:text-sm text-muted-foreground truncate",children:[i&&n.jsxs("span",{className:"font-medium",children:[i,": "]}),'"',t,'"']})]}),n.jsx(Qe,{className:"w-5 h-5 text-muted-foreground group-hover:text-primary transition-colors flex-shrink-0"})]}),Ca=({title:e,slug:t,commentCount:i})=>n.jsxs(u,{to:`/forum/${t}/`,className:"flex items-center gap-3 sm:gap-4 w-full group",children:[n.jsx("div",{className:"flex-shrink-0 w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-blue-500/10 flex items-center justify-center",children:n.jsx(Ke,{className:"w-5 h-5 sm:w-6 sm:h-6 text-blue-500"})}),n.jsxs("div",{className:"flex-1 min-w-0",children:[n.jsx("p",{className:"text-xs text-muted-foreground uppercase tracking-wide",children:"Diskussion im Forum"}),n.jsx("p",{className:"text-sm sm:text-base font-semibold text-foreground group-hover:text-primary transition-colors truncate",children:e}),n.jsxs("p",{className:"text-xs text-muted-foreground",children:[i," Be
2iträge"]})]}),n.jsx(Qe,{className:"w-5 h-5 text-muted-foreground group-hover:text-primary transition-colors flex-shrink-0"})]}),va={offen:"Benachrichtigungen aktivieren",wartet:"Wird aktiviert â¦",weg:"Push-Benachrichtigungen sind gerade nicht verfügbar"};function ka({pushDenied:e}){const[t,i]=r.useState("offen");r.useEffect(()=>{if("wartet"!==t)return;return rt(()=>i("offen"),{beiAblauf:()=>i("weg")})},[t]);const s=t=>{const i=de();i&&ue({visitor_id:i,event_type:"support_cta_click",metadata:{tier:"fly-by",variant:e?"newsletter":"push",target:t}})};return e?n.jsxs(u,{to:"/newsletter/",onClick:()=>s("newsletter"),className:"group w-full flex items-center gap-3 sm:gap-4",children:[n.jsx("div",{className:"w-11 h-11 flex-shrink-0 rounded-full bg-primary/10 flex items-center justify-center",children:n.jsx(We,{className:"w-5 h-5 text-primary"})}),n.jsxs("div",{className:"flex-1 text-left min-w-0 pr-6",children:[n.jsx("span",{className:"text-xs sm:text-sm text-primary font-semibold block mb-0.5",children:"Kostenloser Newsletter"}),n.jsx("p",{className:"text-sm sm:text-base font-bold text-foreground group-hover:text-primary transition-colors leading-snug",children:"Verpasse keine Geschichte mehr"})]}),n.jsx("div",{className:"flex-shrink-0",children:n.jsx("div",{className:"w-10 h-10 sm:w-11 sm:h-11 rounded-full bg-primary group-hover:bg-primary/90 flex items-center justify-center transition-colors shadow-md",children:n.jsx(We,{className:"w-5 h-5 text-primary-foreground"})})})]}):n.jsxs("button",{onClick:()=>{s("push-activate");const e=nt("triggerOptIn");i("eingereiht"===e||"schon eingereiht"===e?"wartet":"unmoeglich"===e?"weg":"offen")},className:"group w-full flex items-center gap-3 sm:gap-4",children:[n.jsx("div",{className:"w-11 h-11 flex-shrink-0 rounded-full bg-primary/10 flex items-center justify-center",children:n.jsx(Ge,{className:"w-5 h-5 text-primary"})}),n.jsxs("div",{className:"flex-1 text-left min-w-0 pr-6",children:[n.jsx("span",{className:"text-xs sm:text-sm text-primary font-semibold block mb-0.5","aria-live":"polite",children:va[t]}),n.jsx("p",{className:"text-sm sm:text-base font-bold text-foreground group-hover:text-primary transition-colors leading-snug",children:"Verpasse keine Geschichte mehr"})]}),n.jsx("div",{className:"flex-shrink-0",children:n.jsx("div",{className:"w-10 h-10 sm:w-11 sm:h-11 rounded-full bg-primary group-hover:bg-primary/90 flex items-center justify-center transition-colors shadow-md",children:n.jsx(Ge,{className:"w-5 h-5 text-primary-foreground"})})})]})}const Ba="exxpress_reading_history";function Na(){return{getHistory:r.useCallback(()=>{try{const e=sessionStorage.getItem(Ba);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(e=>"number"==typeof e):[]}catch{return[]}},[]),addToHistory:r.useCallback(e=>{if(e&&"number"==typeof e)try{const t=sessionStorage.getItem(Ba),i=t?JSON.parse(t):[];if(Array.isArray(i)&&i.includes(e))return;const s=[e,...Array.isArray(i)?i:[]].slice(0,50);sessionStorage.setItem(Ba,JSON.stringify(s)),s.length}catch(t){console.warn("[ReadingHistory] Failed to save history:",t)}},[]),clearHistory:r.useCallback(()=>{try{sessionStorage.removeItem(Ba)}catch{}},[])}}const ja=({nextArticle:e,currentArticleId:t,isVisible:i,onClose:s,variant:r="next-article",commentCount:a=0,bestCommentPreview:o,bestCommentAuthor:l,hasVotedThisSession:c=!1,articlesReadThisSession:A=1,forumPost:d,pushDenied:u=!1})=>{const m=h(),{addToHistory:p}=Na(),f=(e,i)=>{const s=de();s&&ue({visitor_id:s,event_type:"next_article",metadata:{action:e,variant:r,from_article:t,...i}})},x=()=>{e&&(f("click",{to_slug:e.slug,to_category:e.category}),p(t),window.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{D()?window.location.assign(`/artikel/${e.slug}/`):m(`/artikel/${e.slug}/`)},300))},b=()=>{f("click",{target:"comments"});const e=document.querySelector(".comment-section");if(e){const t=e.getBoundingClientRect(),i=72,r=window.scrollY+t.top-i;window.scrollTo({top:r,behavior:"smooth"}),s?.()}};return n.jsxs("div",{className:C("fixed left-0 right-0 z-[70]","bg-card/95 backdrop-blur-md border-t border-border shadow-lg","transform transition-transform duration-500 ease-out",i?"translate-y-0":"translate-y-[200%]"),style:{bottom:"calc(var(--bottom-nav-height, 56px) + env(safe-area-inset-bottom, 0px))"},role:"complementary","aria-label":"Empfehlung",children:[s&&n.jsx("button",{onClick:()=>{f("dismiss"),s?.()},className:"absolute top-2 right-2 p-1.5 rounded-full hover:bg-accent transition-colors z-10","aria-label":"SchlieÃen",children:n.jsx(Ce,{className:"w-4 h-4 text-muted-foreground hover:text-foreground"})}),n.jsx("div",{className:"mx-auto xl:mx-0 xl:ml-4 px-4 max-w-[1600px]",children:n.jsx("div",{className:"lg:w-2/3 py-2.5 pr-10 max-w-lg sm:max-w-2xl lg:max-w-none mx-auto lg:mx-0",children:(()=>{switch(r){case"push-cta":return n.jsx(ka,{pushDenied:u});case"register-nudge":return n.jsx(ya,{hasVoted:c,articlesRead:A});case"comment-teaser":return n.jsx(Ia,{commentCount:a,bestCommentPreview:o,bestCommentAuthor:l,onScrollToComments:b});case"forum-teaser":return d?n.jsx(Ca,{title:d.title,slug:d.slug,commentCount:d.comment_count}):null;
2default:{if(!e)return null;const t=$t(e.headline,e.category,e.subline||"");return n.jsxs("button",{onClick:x,className:"group w-full flex items-center gap-2.5 sm:gap-4","aria-label":`Weiter zu: ${e.headline}`,children:[(e.storage_image||e.image_url)&&n.jsx("div",{className:"w-12 h-12 sm:w-14 sm:h-14 flex-shrink-0 rounded-md overflow-hidden",children:n.jsx(g,{src:e.storage_image?.original||e.image_url||"",storageImage:e.storage_image,alt:t,className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",sizes:"(max-width: 640px) 48px, 56px",aspectRatio:"1/1",loading:"lazy"})}),n.jsxs("div",{className:"flex-1 text-left min-w-0 pr-6",children:[n.jsx("span",{className:"text-[10px] sm:text-xs text-primary font-medium uppercase tracking-wide block",children:"Nächster Artikel"}),n.jsx("h4",{className:"text-xs sm:text-sm font-semibold text-foreground whitespace-pre-line line-clamp-2 group-hover:text-primary transition-colors leading-tight",children:e.headline}),e.category&&n.jsx("span",{className:"text-[10px] text-muted-foreground uppercase hidden sm:inline-block mt-0.5",children:e.category})]}),n.jsx("div",{className:"flex-shrink-0",children:n.jsx("div",{className:"w-8 h-8 sm:w-10 sm:h-10 rounded-full bg-primary group-hover:bg-primary/90 flex items-center justify-center transition-colors shadow-md",children:n.jsx(Qe,{className:"w-4 h-4 sm:w-5 sm:h-5 text-primary-foreground"})})})]})}}})()})})]})};const Sa=({open:e,onOpenChange:t,title:i,description:s,url:r,hashtags:a=[]})=>{const o="undefined"!=typeof window?window.location.origin:"https://exxpress.at",l=r.startsWith("http")?r:`${o}${r}`,c=l.endsWith("/")||l.includes("?")||l.includes("#")?l:`${l}/`,A=encodeURIComponent(i),d=encodeURIComponent(c),u={twitter:`https://x.com/intent/post?text=${A}&url=${d}${a.length>0?`&hashtags=${a.join(",")}`:""}`,linkedin:`https://www.linkedin.com/sharing/share-offsite/?url=${d}`,telegram:`https://t.me/share/url?url=${d}&text=${A}`,whatsapp:`https://wa.me/?text=${A}%20${d}`},h=e=>{window.open(u[e],"_blank","noopener,noreferrer"),t(!1)};return n.jsx(ee,{open:e,onOpenChange:t,children:n.jsxs(te,{className:"sm:max-w-md",children:[n.jsx(ie,{children:n.jsxs(se,{className:"flex items-center gap-2",children:[n.jsx(Ye,{className:"h-5 w-5"}),"Artikel teilen"]})}),n.jsxs("div",{className:"grid grid-cols-2 gap-3 py-4",children:[n.jsxs(I,{variant:"outline",className:"flex items-center gap-2 h-12",onClick:()=>h("twitter"),children:[n.jsx(Y,{className:"h-5 w-5"}),"X (Twitter)"]}),n.jsxs(I,{variant:"outline",className:"flex items-center gap-2 h-12",onClick:()=>h("linkedin"),children:[n.jsx(Re,{className:"h-5 w-5"}),"LinkedIn"]}),n.jsxs(I,{variant:"outline",className:"flex items-center gap-2 h-12",onClick:()=>h("telegram"),children:[n.jsx(Te,{className:"h-5 w-5"}),"Telegram"]}),n.jsxs(I,{variant:"outline",className:"flex items-center gap-2 h-12",onClick:()=>h("whatsapp"),children:[n.jsx(Je,{className:"h-5 w-5"}),"WhatsApp"]})]}),n.jsx("div",{className:"border-t pt-4",children:n.jsxs(I,{variant:"secondary",className:"w-full flex items-center gap-2",onClick:async()=>{try{await navigator.clipboard.writeText(c),Bt.success("Link in Zwischenablage kopiert!"),t(!1)}catch{Bt.error("Fehler beim Kopieren des Links")}},children:[n.jsx(Me,{className:"h-4 w-4"}),"Link kopieren"]})})]})})},Ea=({articleId:e,readingTimeMinutes:t,title:i,description:s,url:a,hashtags:o=[],showLivestream:l=!1,onLivestreamClick:c})=>{const[A,d]=r.useState(!1),[u,h]=r.useState(!1),[m,g]=r.useState(!1),[p,x]=r.useState(!0),[b,w]=r.useState(()=>{try{return"1"===sessionStorage.getItem("exx_sticky_actions_dismissed")}catch{return!1}}),y=Q(e=>e.setArticleBottomBarVisible),{isBookmarked:C,toggleBookmark:j,isAuthenticated:S}=Xt(),E=C(e),D=t=>{const i=de();i&&ue({visitor_id:i,event_type:"sidebar_action",metadata:{action:t,article_id:e}})};r.useEffect(()=>{let e=0;const t=()=>{e||(e=requestAnimationFrame(()=>{e=0;const t=document.querySelector('[data-testid="ai-summary"]'),i=document.querySelector('[data-testid="article-feedback"]'),s=document.querySelector("#article-full"),r=!!(null!==(n={summaryBottom:t?t.getBoundingClientRect().bottom:null,feedbackTop:i?i.getBoundingClientRect().top:null,articleBottom:s?s.getBoundingClientRect().bottom:null,scrollY:window.scrollY,viewportHe
2ight:window.innerHeight}).summaryBottom?n.summaryBottom<=-24:n.scrollY>=100)&&(null!==n.feedbackTop?n.feedbackTop>n.viewportHeight+24:null===n.articleBottom||n.articleBottom>200);var n;g(r),x(r)}))};return t(),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t,{passive:!0}),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t),e&&cancelAnimationFrame(e)}},[]),r.useEffect(()=>(y(!0),()=>{y(!1)}),[y]);const F=()=>{D("comments");const e=document.querySelector(".comment-section");e&&e.scrollIntoView({behavior:"smooth"})},K=()=>{D(E?"bookmark_remove":"bookmark_add"),S?j(e):h(!0)},W=t||5,G=()=>{D("scroll_top"),window.scrollTo({top:0,behavior:"smooth"})};return n.jsxs(n.Fragment,{children:[n.jsxs(v,{delayDuration:300,children:[n.jsx("div",{className:"fixed left-0 top-1/2 -translate-y-1/2 z-40 hidden xl:flex transition-all duration-300 "+(m&&p&&b?"opacity-100 translate-x-0":"opacity-0 -translate-x-full pointer-events-none"),children:n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"outline",size:"icon",className:"h-10 w-6 rounded-r-lg rounded-l-none bg-background/90 shadow-md border-l-0 hover:bg-accent",onClick:()=>{w(!1);try{sessionStorage.removeItem("exx_sticky_actions_dismissed")}catch{}},children:n.jsx("span",{className:"text-xs font-bold",children:"âº"})})}),n.jsx(N,{side:"right",children:n.jsx("p",{children:"Leiste einblenden"})})]})}),n.jsxs("div",{className:"fixed left-4 top-1/2 -translate-y-1/2 z-40 hidden xl:flex flex-col gap-2 transition-all duration-300 "+(m&&p&&!b?"opacity-100 translate-x-0":"opacity-0 -translate-x-4 pointer-events-none"),children:[n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"ghost",size:"icon",className:"h-7 w-7 rounded-full bg-background/80 shadow border border-border/50 hover:bg-destructive/10 self-end -mr-1 -mb-1",onClick:()=>{D("dismiss"),w(!0);try{sessionStorage.setItem("exx_sticky_actions_dismissed","1")}catch{}},children:n.jsx(Ce,{className:"h-3 w-3"})})}),n.jsx(N,{side:"right",children:n.jsx("p",{children:"Leiste ausblenden"})})]}),n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"outline",size:"icon",className:"h-11 w-11 rounded-full bg-background shadow-lg border-border hover:bg-accent",onClick:F,children:n.jsx(Je,{className:"h-5 w-5"})})}),n.jsx(N,{side:"right",children:n.jsx("p",{children:"Zu Kommentaren"})})]}),n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"outline",size:"icon",className:"h-11 w-11 rounded-full bg-background shadow-lg border-border hover:bg-accent",onClick:()=>{D("share"),d(!0)},children:n.jsx(Ye,{className:"h-5 w-5"})})}),n.jsx(N,{side:"right",children:n.jsx("p",{children:"Artikel teilen"})})]}),n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsxs("div",{className:"h-11 w-11 rounded-full bg-background shadow-lg border border-border flex items-center justify-center gap-1",children:[n.jsx(Ze,{className:"h-4 w-4 text-muted-foreground"}),n.jsx("span",{className:"text-sm font-medium",children:W})]})}),n.jsx(N,{side:"right",children:n.jsxs("p",{children:[W," Min. Lesezeit"]})})]}),n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"outline",size:"icon",className:"h-11 w-11 rounded-full bg-background shadow-lg border-border hover:bg-accent "+(E?"text-primary border-primary":""),onClick:K,children:E?n.jsx(He,{className:"h-5 w-5"}):n.jsx(Ue,{className:"h-5 w-5"})})}),n.jsx(N,{side:"right",children:n.jsx("p",{children:E?"Lesezeichen entfernen":"Lesezeichen hinzufügen"})})]}),n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"outline",size:"icon",className:"h-11 w-11 rounded-full bg-background shadow-lg border-border hover:bg-accent",onClick:G,"aria-label":"Zurück nach oben",children:n.jsx(_e,{className:"h-5 w-5"})})}),n.jsx(N,{side:"right",children:n.jsx("p",{children:"Nach oben"})})]}),l&&n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"default",size:"icon",className:"h-11 w-11 rounded-full shadow-lg",onClick:()=>{c?.()},"aria-label":"Livestream öffnen",children:n.jsxs("div",{className:"relative",children:[n.jsx(Le,{className:"h-5 w-5"}),n.jsx("span",{className:"absolute -top-0.5 -right-0.5 w-2 h-2 bg-white rounded-full animate-pulse"})]})})}),n.jsx(N,{side:"right",children:n.jsx("p",{children:"Live TV"})})]})]}),n.jsxs("div",{className:"hidden",children:[n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"default",size:"icon",className:"h-10 w-10 rounded-full shadow-lg",onClick:G,"aria-label":"Zurück nach oben",children:n.jsx(_e,{className:"h-5 w-5"})})}),n.jsx(N,{side:"top",children:n.jsx("p",{children:"Nach oben"})})]}),n.jsxs("div",{className:"flex items-center gap-2 p-2 rounded-full bg-background shadow-lg border border-border",children:[n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"ghost",size:"icon",className:"h-10 w-10 rounded-full",onClick:F,children:n.jsx(Je,{className:"h-5 w-5"})})}),n.jsx(N,{side:"top",children:n.jsx("p",{children:"Kommentare"})})]}),n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"ghost",size:"icon",className:"h-10 w-10 rounded-full",onClick:()=>d(!0),children:n.jsx(Ye,{className:"h-5 w-5"})})}),n.jsx(N,{side:"top",children:n.jsx("p",{children:"Teilen"})})]}),n.jsxs("div",{className:"h-10 px-3 rounded-full flex items-center gap-1 bg-muted",children:[n.jsx(Ze,{className:"h-4 w-4 text-muted-foreground"}),n.jsx("span",{className:"text-sm font-medium",children:W})]}),n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"ghost",size:"icon",className:"h-10 w-10 rounded-full "+(E?"text-primary":""),onClick:K,children:E?n.jsx(He,{className:"h-5 w-5"}):n.jsx(Ue,{className:"h-5 w-5"})})}),n.jsx(N,{side:"top",children:n.jsx("p",{children:E?"Entfernen":"Speichern"})})]})]}),l&&n.jsxs(k,{children:[n.jsx(B,{asChild:!0,children:n.jsx(I,{variant:"default",size:"icon",className:"h-10 w-10 rounded-full shadow-lg",onClick:()=>{c?.()},"aria-label":"Livestream öffnen",children:n.jsxs("div",{className:"relative",children:[n.jsx(Le,{className:"h-5 w-5"}),n.jsx("span",{className:"absolute -top-0.5 -right-0.5 w-2 h-2 bg-white rounded-full animate-pulse"})]})})}),n.jsx(N,{side:"top",children:n.jsx("p",{children:"Live TV"})})]})]})]}),n.jsx(Sa,{open:A,onOpenChange:d,title:i,description:s,url:a,hashtags:o}),n.jsx(f,{open:u,onClose:()=>h(!1)})]})},Da={ALLOWED_TAGS:["p","br","strong","em","h1","h2","h3","h4","ul","ol","li","a"],ALLOWED_ATTR:["href","target","rel","class"],ALLOW_DATA_ATTR:!1};function Fa(e,t){"newsletter_submit"===e?T(t):"newsletter_success"===e?J(t):M(t);const i=de();i&&ue({visitor_id:i,event_type:e,metadata:{source:t}})}const Qa=ii({email:si().trim().email({message:"Bitte gib eine gültige E-Mail-Adresse ein"}).max(255,{message:"E-Mail-Adresse ist zu lang"})}),Ka=({onSuccess:e,trackingSource:t="modal"})=>{const[i,s]=r.useState(""),{toast:a}=j(),{mutate:o,isPending:l}=R();return n.jsxs("div",{className:"relative",children:[n.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[n.jsx("div",{className:"absolute top-10 left-10 w-20 h-20 bg-primary/10 rounded-full blur-2xl animate-pulse"}),n.jsx("div",{className:"absolute bottom-10 right-10 w-32 h-32 bg-accent/10 rounded-full blur-3xl animate-pulse",style:{animationDelay:"1s"}})]}),n.jsxs("div",{className:"relative z-10 text-center space-y-6 animate-fade-in",children:[n.jsx("div",{className:"flex justify-center",children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute inset-0 bg-primary/20 rounded-full blur-xl animate-pulse"}),n.jsxs("div",{className:"relative bg-primary/10 p-4 rounded-full border-2 border-primary/30 animate-scale-in",children:[n.jsx(We,{className:"h-8 w-8 text-primary"}),n.jsx(Oe,{className:"absolute -top-1 -right-1 h-5 w-5 text-accent animate-pulse"})]})]})}),n.jsxs("div",{className:"space-y-2",children:[n.jsx("h2",{className:"text-2xl sm:text-3xl font-bold bg-gradient-to-r from-foreground via-primary to-foreground bg-clip-text text-transparent animate-fade-in",children:"Verpassen Sie keine Updates!"}),n.jsx("p",{className:"text-muted-foreground text-sm sm:text-base max-w-md mx-auto",children:"Erhalten Sie die neuesten News, Analysen und exklusive Inhalte direkt in Ihr Postfach."})]}),n.jsxs("form",{onSubmit:r=>{r.preventDefault();const n=Qa.safeParse({email:i});n.success?(Fa("newsletter_submit",t),o({email:i,source:"Newsletter"},{onSuccess:()=>{Fa("newsletter_success",t),a({title:"Erfolgreich angemeldet!",description:"Vielen Dank für Ihre Newsletter-Anmeldung."}),s(""),e()},onError:()=>{Fa("newsletter_error",t),a({title:"Fehler",description:"Die Anmeldung ist fehlgeschlagen. Bitte versuche es erneut.",variant:"destructive"})}})):a({title:"Ungültige E-Mail",description:n.error.errors[0]?.message??"Bitte prüfe deine Eingabe",variant:"destructive"})},className:"space-y-4 pt-2",children:[n.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[n.jsx(Tt,{type:"email",placeholder:"[email protected]",value:i,onChange:e=>s(e.target.value),className:"flex-1 h-12 text-base border-2 focus:border-primary transition-all duration-200",disabled:l,required:!0}
2),n.jsx(I,{type:"submit",size:"lg",disabled:l,className:"h-12 px-8 font-semibold transition-all duration-200 hover:scale-105 hover:shadow-lg",children:l?n.jsxs("span",{className:"flex items-center gap-2",children:[n.jsx("div",{className:"h-4 w-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),"Wird angemeldet..."]}):"Anmelden"})]}),n.jsx("p",{className:"text-xs text-muted-foreground",children:"Kostenlos und jederzeit abmeldbar. Ihre Daten sind sicher."})]}),n.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 pt-4 text-sm",children:[n.jsxs("div",{className:"space-y-1",children:[n.jsx("div",{className:"text-primary font-semibold",children:"Aktuelle News"}),n.jsx("div",{className:"text-muted-foreground text-xs",children:"Tägliche Updates"})]}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("div",{className:"text-primary font-semibold",children:"Exklusive Inhalte"}),n.jsx("div",{className:"text-muted-foreground text-xs",children:"Nur für Abonnenten"})]}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("div",{className:"text-primary font-semibold",children:"Breaking News"}),n.jsx("div",{className:"text-muted-foreground text-xs",children:"Sofortige Benachrichtigung"})]})]})]})]})},Wa=()=>n.jsxs("div",{className:"space-y-4",children:[n.jsxs("div",{className:"text-center space-y-2",children:[n.jsx("h3",{className:"text-xl font-bold",children:"Danke für dein Abo!"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Unterstütze exxpress mit einer zusätzlichen Spende für unabhängigen Journalismus."})]}),n.jsx(zt,{compact:!0,className:"border-0 shadow-none"})]}),Ga=({open:e,onOpenChange:t})=>{const{panelType:i}=ut(),s=r.useRef(!1);r.useEffect(()=>{if(!e)return;s.current=!1,Z("modal",i);const t=de();t&&ue({visitor_id:t,event_type:"newsletter_view",metadata:{source:"modal",panel_type:i}})},[e,i]);const a=()=>{if(!s.current){H("modal",i);const e=de();e&&ue({visitor_id:e,event_type:"newsletter_dismiss",metadata:{source:"modal",panel_type:i}})}t(!1)},o="login"===i;return n.jsx(ee,{open:e,onOpenChange:e=>{e?t(!0):a()},children:n.jsx(te,{className:(o?"sm:max-w-[900px]":"sm:max-w-[480px]")+" max-h-[90vh] p-0 overflow-y-auto overflow-x-hidden border-2 border-primary/20 bg-gradient-to-br from-background via-background to-primary/5",children:o?n.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2",children:[n.jsx("div",{className:"p-6 sm:p-8",children:n.jsx(Ka,{onSuccess:()=>{s.current=!0,t(!1)},trackingSource:"modal"})}),n.jsx("div",{className:"hidden lg:block p-6 sm:p-8 bg-muted/30 lg:border-l border-border/50",children:n.jsx(ht,{onClose:a})})]}):n.jsxs("div",{className:"p-6 sm:p-8",children:["upgrade"===i&&n.jsx(mt,{onClose:a}),"donation"===i&&n.jsx(Wa,{})]})})})},Ya=e=>{let t=0;for(let i=0;i<e.length;i++){t=(t<<5)-t+e.charCodeAt(i),t&=t}return Math.abs(t)};const Ra=r.lazy(()=>i(()=>import("./CommentSection-2DK6xIJx.js"),__vite__mapDeps([3,4,1,2,6,5,7,9,10,11,14,15,8,12,16,17,18,19,20,21,22,23,24,25,26,13])).then(e=>({default:e.CommentSection}))),Ta=({serverData:e}={})=>{const{slug:t,category:a}=A(),o=h(),[l,c]=r.useState(!1),d=qe(),p=E(),{hasAdFree:f}=it(),[C,v]=r.useState(!1),[k,B]=r.useState(!1),[N,j]=r.useState(!1),[S,D]=r.useState(!1),W=r.useRef(!1),G=r.useCallback(e=>{if(!e)return;const t=e=>{const t=e.target?.closest?.("a[href]");t instanceof HTMLAnchorElement&&("_blank"===t.target||Dt(t.hostname)||e.stopPropagation())};return e.addEventListener("click",t),()=>e.removeEventListener("click",t)},[]),{data:Y,isLoading:R,isFetching:T}=function(e,t){const{getHistory:i,addToHistory:s}=Na(),n=r.useRef(null),a=lt(),o=r.useRef({slug:"",excludeIds:"",hash:"none"});if(e&&e!==o.current.slug){const t=i().join(",");o.current={slug:e,excludeIds:t,hash:t?Ya(t).toString():"none"}}const l=o.current.excludeIds,c=o.current.hash,A=r.useRef(!1);if(t?.serverData&&e&&!A.current){A.current=!0;const i=t.serverData;if(i.article){const t={article:U({...i.article,headline:i.article.headline||"",subline:i.article.subline||"",content:i.article.content||i.article.raw_content||"",category:i.article.category||Nt.DEFAULT_CATEGORY,author:i.article.author||Nt.AUTHOR,published_at:i.article.published_at||(new Date).toISOString(),slug:i.article.slug||e}),relatedArticles:(i.relatedArticles||[]).map(e=>U({...e,headline:e.headline||"",category:e.category||Nt.DEFAULT_CATEGORY,published_at:e.published_at||(new Date).toISOString(),slug:e.slug||""})),mostRead:(i.mostRead||[]).map(e=>U({...e,headline:e.headline||"",category:e.category||Nt.DEFAULT_CATEGORY,published_at:e.published_at||(new Date).toISOString(),slug:e.slug||""})),nextArticle:i.nextArticle?U({...i.nextArticle,headline:i.nextArticle.headline||"",category:i.nextArticle.category||Nt.DEFAULT_CATEGORY,published_at:i.nextArticle.published_at||(new Date).toISOString(),slug:i.nextArticle.slug||""}):null,internalLinksPool:i.internalLinksPool||[],authorArticles:(i.authorArticles||[]).map(e=>U({...e,headline:e.headline||"",category:e.category||Nt.DEFAULT_CATEGORY,published_at:e.published_at||(new Date).toISOString(),slug:e.slug||""})),moreArticles:(i.moreArticles||[]).map(e=>U({...e,headline:e.headline||"",category:e.category||Nt.DEFAULT_CATEGORY,published_at:e.published_at||(new Date).toISOString(),slug:e.slug||""})),commentCount:i.commentCount||0,comments:i.comments||null,mostCommentedWeek:i.mostCommentedWeek||[],mostCommentedAlltime:i.mostCommentedAlltime||[],meta:i.meta||{duration:0,refreshedAt:""},liveTicker:i.liveTicker??null};a.setQueryData(["article-detail",e,c],t,{updatedAt:1}),a.setQueryData(["article-detail",e,"none"],t,{updatedAt:1}),jt.log("ð SSR article data seeded into React Query cache (lean â full data refetched on mount)")}}const d=ot({queryKey:["article-detail",e,c],placeholderData:()=>{const t=a.getQueryData(["article-detail",e,"none"]);if(t)return t;const i=a.getQueriesData({queryKey:["article-detail",e]}).find(([,e])=>e);return i?.[1]??void 0},queryFn:async()=>
2{if(!e)return null;jt.log("ð Fetching article detail via Edge Function:",e,"excluding:",l?l.split(",").length:0,"articles");const t="undefined"!=typeof window&&window.innerWidth<768;let i=`/api/edge/get-article-detail-v3?slug=${encodeURIComponent(e)}`;t&&(i+="&mobile=1"),l&&(i+=`&exclude_ids=${l}`);const s=await fetch(i,{headers:{Authorization:`Bearer ${_}`,apikey:_,"Content-Type":"application/json"},credentials:"same-origin"});if(!s.ok){if(404===s.status)return jt.warn("Article not found:",e),null;throw new Error(`Failed to fetch article: ${s.status}`)}const r=await s.json(),n=U({...r.article,headline:r.article.headline||"",subline:r.article.subline||"",content:r.article.content||r.article.raw_content||"",category:r.article.category||Nt.DEFAULT_CATEGORY,author:r.article.author||Nt.AUTHOR,published_at:r.article.published_at||r.article.created_at||(new Date).toISOString(),reading_time_minutes:r.article.reading_time_minutes||Math.ceil((r.article.content||"").split(/\s+/).length/200),slug:r.article.slug||`article-${r.article.id}`}),a=e=>U({...e,headline:e.headline||"",subline:e.subline||"",category:e.category||Nt.DEFAULT_CATEGORY,author:e.author||Nt.AUTHOR,published_at:e.published_at||(new Date).toISOString(),slug:e.slug||`article-${e.id}`,image_sizes:e.image_sizes||void 0});return jt.log("â
Article detail fetched in",r.meta?.duration,"ms, nextArticle:",r.nextArticle?.id||"none"),{article:n,relatedArticles:(r.relatedArticles||[]).map(a),mostRead:(r.mostRead||[]).map(a),nextArticle:r.nextArticle?a(r.nextArticle):null,internalLinksPool:r.internalLinksPool||[],moreArticles:(r.moreArticles||[]).map(a),authorArticles:(r.authorArticles||[]).map(a),commentCount:r.commentCount||0,comments:r.comments||null,mostCommentedWeek:r.mostCommentedWeek||[],mostCommentedAlltime:r.mostCommentedAlltime||[],meta:r.meta,liveTicker:r.liveTicker??null}},staleTime:3e5,gcTime:36e5,refetchOnWindowFocus:!1,enabled:!!e});return r.useEffect(()=>{d.data?.article?.id&&n.current!==e&&(i().includes(d.data.article.id)?jt.log("ð Article already in history:",d.data.article.id):(s(d.data.article.id),jt.log("ð Added to reading history:",d.data.article.id)),n.current=e||null,a.invalidateQueries({predicate:t=>"article-detail"===t.queryKey[0]&&t.queryKey[1]!==e}))},[d.data?.article?.id,e,s,i,a]),d}(t,{serverData:e??void 0}),J=Y??e??null,M=!e&&R,Z=L("livestream_video_id"),H=J?.article||null,$=r.useMemo(()=>J?.relatedArticles??[],[J?.relatedArticles]),ee=r.useMemo(()=>J?.mostRead??[],[J?.mostRead]),te=0===ee.length&&(M||T),ie=r.useMemo(()=>J?.nextArticle?[J.nextArticle]:[],[J?.nextArticle]),se=r.useMemo(()=>J?.internalLinksPool??[],[J?.internalLinksPool]),re=H?O(H.category):null,oe=r.useCallback(async e=>{if(e>=100&&H&&!W.current){W.current=!0,V(H.id.toString(),H.category||"unknown");const{data:{session:e}}=await me.auth.getSession();if(e?.user)try{await me.rpc("calculate_article_interests",{p_user_id:e.user.id,p_article_id:H.id,p_interaction_type:"read"}),jt.debug("[ArticleDetail] Personalization triggered for completed read")}catch(t){jt.error("[ArticleDetail] Failed to trigger personalization:",t)}}},[H]);r.useEffect(()=>{W.current=!1},[t]);const he=H?.id,ge=H?.category,pe=H?.headline,xe=H?.author;pe&&le({author:xe||void 0,category:ge||void 0,title:pe,type:"NewsArticle"}),r.useEffect(()=>{null!=he&&z(he.toString(),ge||"unknown",pe||"",xe||"")},[he,ge,pe,xe]);const{trackRead:be}=fe();r.useEffect(()=>{if(H){const e="object"==typeof H.ai_summary&&null!==H.ai_summary?H.ai_summary:void 0;be({category:H.category,ai_summary:e}),i(async()=>{const{setArticleTargeting:e}=await import("./ScrollToTopButton-CsvWc6f2.js").then(e=>e.b);return{setArticleTargeting:e}},__vite__mapDeps([27,1,2,3,4,5,6,7,24,8,9,10,11,12,28,13,29,17,18,19,30])).then(({setArticleTargeting:e})=>{e(H.ai_summary)}).catch(()=>{})}},[H?.id]);const we=r.useMemo(()=>{if(!H||!H.content)return"";const e=/<[a-z][\s\S]*>/i.test(H.content)?H.content:(e=>{if(!e)return"";let t=e.replace(/<\/?p[^>]*>/gi,"");const i=t.split(/\n\n+/).map(e=>e.trim()).filter(e=>e.length>0);return t=i.map(e=>e.match(/^[A-ZÃÃÃ][^.!?]*:?\s*$/)?`<h3 class="article-heading">${e.replace(/:$/,"")}</h3>`:`<p class="article-paragraph">${e.replace(/\n/g,"<br />")}</p>`).join("\n"),t=t.replace(/(<p class="mb-4">)([A-ZÃÃÃ][^<\n]+:)(<br \/>|<\/p>)/g,'<h3 class="text-xl font-semibold mb-3 mt-6">$2</h3>'),t=t.replace(/\*\*([^*]+)\*\*/g,"<strong>$1</strong>"),t=t.replace(/\*([^*]+)\*/g,"<em>$1</em>"),t=t.replace(/<br \/>(\s*<\/p>)/g,"</p>"),ei.sanitize(t,Da)})(H.content);return p.internalLinks&&0!==se.length?x(e,H,se):e},[H,se,p.internalLinks]),ye="string"==typeof H?.vorspann&&H.vorspann.trim().length>0?H.vorspann:null,{leadNodes:Ie,bodyHtml:Ce}=r.useMemo(()=>{try{if(ye)return{leadNodes:fa(ye),bodyHtml:we};const{lead:e,rest:t}=function(e){if(!e)return{lead:null,rest:e??""};const t=/<p\b[^>]*>([\s\S]*?)<\/p>/gi;for(const i of e.matchAll(t)){const t=i[1]??"";if(ma(t)<20)continue;const s=i[0],r=i.index??0,n=r+s.length,a=t.match(ga);if(a&&void 0!==a.index&&a.index>0){const i=a.index,s=i+a[0].length,o=t.slice(0,i).trim(),l=t.slice(s).trim();if(ma(o)>=20){const t=ma(l)>0?`<p>${l}</p>`:"";return{lead:o,rest:e.slice(0,r)+t+e.slice(n)}}}const o=e.slice(0,r)+e.slice(n);return{lead:t.trim(),rest:o}}return{lead:null,rest:e}}(we);return{leadNodes:fa(e),bodyHtml:t}}catch{return{leadNodes:null,bodyHtml:we}}},[we,ye]),ve=r.useMemo(()=>function(e,t,i=3){const s=new Set([t]),r=[];for(const n of e)if(!s.has(n.id)&&(s.add(n.id),r.push(n),r.length>=i))break;return r}(J?.authorArticles??[],H?.id??-1),[J?.authorArticles,H?.id]),ke=r.useMemo(()=>ve.map(e=>e.id),[ve]),Be=r.useMemo(()=>{const e=new Set(ke);return $.filter(t=>!e.has(t.id)).slice(0,6).map(e=>e.id)},[$,ke]),Ne=r.useMemo(()=>
2{if(!H)return[];const e=new Set([H.id,...ke,...Be]);return ee.filter(t=>!e.has(t.id)).slice(0,6).map(e=>e.id)},[H,ee,Be,ke]),je=r.useMemo(()=>[],[]),Se=r.useMemo(()=>H&&0!==ie.length&&ie[0]||null,[H,ie]);r.useEffect(()=>{j(!1),D(!1)},[t]);const[Ee,De]=r.useState(!1);r.useEffect(()=>{const e=setTimeout(()=>De(!0),2e3);return()=>clearTimeout(e)},[t]),function(e){const t=r.useRef([]),i=r.useRef(0),s=r.useRef(0),n=r.useRef(e);r.useEffect(()=>{n.current=e,t.current=[],i.current="undefined"!=typeof window?window.scrollY:0,s.current=Date.now()},[e]),r.useEffect(()=>{if(!e)return;let r=0;const a=()=>{r||(r=requestAnimationFrame(()=>{r=0;const e=Date.now(),n=window.scrollY,a=e-s.current;if(a>=200){const r=Math.abs(n-i.current)/a*1e3;r>0&&t.current.push(r),i.current=n,s.current=e}}))};return window.addEventListener("scroll",a,{passive:!0}),()=>{window.removeEventListener("scroll",a),r&&cancelAnimationFrame(r);const e=t.current;if(e.length<3)return;const i=e.reduce((e,t)=>e+t,0)/e.length,s=i<100?"slow":i<500?"medium":"fast",o=de();o&&ue({visitor_id:o,event_type:"scroll_velocity",metadata:{article_id:n.current,avg_speed:Math.round(i),classification:s,samples:e.length}})}},[e])}(H?.id),function(e,t="#article-full"){const i=r.useRef(new Map),s=r.useRef(e);r.useEffect(()=>{s.current=e,i.current.clear()},[e]),r.useEffect(()=>{if(!e)return;const r=i.current,n=setTimeout(()=>{const e=document.querySelector(t);if(!e)return;const i=e.querySelectorAll(':scope > div[class*="content"], :scope > div'),s=Array.from(i).filter(e=>(e.textContent?.trim()||"").length>80);if(0===s.length)return;const n=new IntersectionObserver(e=>{const t=Date.now();for(const i of e){const e=r.get(i.target);e&&(i.isIntersecting?e.enterTime=t:e.enterTime>0&&(e.totalTime+=t-e.enterTime,e.enterTime=0))}},{threshold:.5});s.forEach((e,t)=>{r.set(e,{index:t,enterTime:0,totalTime:0,preview:(e.textContent?.trim()||"").slice(0,80)}),n.observe(e)}),window.__paragraphObserver=n},2e3);return()=>{clearTimeout(n);const e=window.__paragraphObserver;e&&(e.disconnect(),delete window.__paragraphObserver);const t=Date.now();for(const s of r.values())s.enterTime>0&&(s.totalTime+=t-s.enterTime,s.enterTime=0);const i=Array.from(r.values()).filter(e=>e.totalTime>1e3).sort((e,t)=>t.totalTime-e.totalTime).slice(0,5).map(e=>({idx:e.index,ms:Math.round(e.totalTime),text:e.preview}));if(0===i.length)return;const a=de();a&&ue({visitor_id:a,event_type:"paragraph_engagement",metadata:{article_id:s.current,total_paragraphs:r.size,top_paragraphs:i}})}},[e,t])}(H?.id);const{tier:Fe,hasPush:Qe,pushDenied:Ke}=vi(),We=Et(e=>e.isOpen),Ge=Q(e=>e.isFeedbackOverlayOpen),Ye=qt(e=>e.offen),Re=Q(e=>e.setKopfleiste);r.useEffect(()=>{if(H)return Re({zurueck:()=>{window.history.length>1?o(-1):H.category?o(`/${O(H.category)}/`):o("/")},teilen:{title:K(H.headline),description:H.subline||"",url:`/${O(H.category)}/${H.slug}`,hashtags:["exxpress",H.category]},vorlesen:"completed"===H.audio_status&&Boolean(H.audio_url)?{expanded:l,toggle:()=>c(e=>!e)}:null}),()=>Re(null)},[H,l,o,Re]);const[Te,Je]=At({threshold:.1,rootMargin:"0px",freezeOnceVisible:!0},Ee?t:"__disabled__"),Me=Je||S,{data:Ze}=function(e,t,i){return ot({queryKey:["personal-next",e],queryFn:async()=>{if(!e||!t)return null;const i=de(),{data:s,error:r}=await me.functions.invoke("app-personal-next",{body:{visitor_id:i,article_id:e,category:t}});return r||!s?.article?null:s.article},enabled:i&&!!e&&!!t,staleTime:3e5,gcTime:6e5,retry:!1})}(H?.id,H?.category,Je),He=J?.commentCount||0,Ue=J?.comments?.bestComment,_e=r.useRef(null),Le=r.useRef(null);Le.current!==t&&(_e.current=null,Le.current=t),null===_e.current&&(_e.current=He>=3&&Ue?"comment-teaser":"next-article");const Oe="fly-by"!==Fe||Qe||Ke?_e.current:"push-cta",Pe="undefined"!=typeof window&&"1"===sessionStorage.getItem("exx_has_voted"),$e="undefined"!=typeof window?parseInt(sessionStorage.getItem("exx_page_count")||"1",10):1;if(r.useEffect(()=>{},[H,k,p.newsletter]),H&&a&&re&&a!==re&&!X.has(H.category?.toLowerCase()??""))return n.jsx(m,{to:`/${re}/${H.slug}/`,replace:!0});if(M)return n.jsx(ti,{});if(!H)return n.jsx(ae,{});const tt=$t(H.headline,H.category,H.subline||""),rt=b(),nt=H.seo_title||H.meta_title||K(H.headline),ct=H.og_description||H.meta_description||H.subline||"",dt=H.meta_keywords?.length?H.meta_keywords:[H.category,"exxpress",...H.tags||[]],ut=H.og_image||H.image_url,ht=H.canonical_url||`/${O(H.category)}/${H.slug}/`;return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(ce,{title:nt,description:ct,canonical:ht,ogType:"article",ogImage:ut,ogImageWidth:H.og_image_width,ogImageHeight:H.og_image_height,ogImageAlt:H.ai_image_alt||H.featured_image_alt||K(H.headline),keywords:dt,robotsDirective:H.robots,newsKeywords:H.news_keywords,twitterTitle:H.twitter_title,twitterDescription:H.twitter_description,twitterImage:H.twitter_image,twitterSite:H.twitter_site,twitterCreator:H.twitter_creator,article:{publishedTime:H.published_at||"",modifiedTime:H.article_modified_time||H.updated_at||H.published_at||"",author:H.author||"exxpress",section:H.article_section||H.category,tags:H.tags},alternateLanguages:[]}),n.jsx(wa,{articleId:H.id,onProgressChange:oe}),n.jsx(q,{}),n.jsx("div",{className:"container mx-auto xl:mx-0 xl:ml-4 px-4 py-4 sm:py-8 max-w-[1600px]",children:n.jsxs("main",{id:"main-content",className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-12 gap-4 sm:gap-6 lg:gap-8 items-stretch",children:[n.jsxs("article",{"data-google-interstitial":"false",ref:G,className:"md:col-span-2 lg:col-span-8 space-y-4 sm:sp
2ace-y-6",children:[n.jsxs("div",{className:"hidden lg:flex items-center justify-between gap-2",children:[n.jsxs(I,{variant:"ghost",size:"sm",className:"px-2 sm:px-4",onClick:()=>{window.history.length>1?o(-1):H.category?o(`/${O(H.category)}/`):o("/")},children:[n.jsx(Ve,{className:"mr-1 sm:mr-2 h-4 w-4"}),"Zurück"]}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Ai,{article:H,variant:"desktop",mode:"trigger",expanded:l,onExpandedChange:c}),n.jsx(Ae,{title:K(H.headline),description:H.subline||"",url:`/${O(H.category)}/${H.slug}`,hashtags:["exxpress",H.category],compact:!0})]})]}),l&&n.jsx(Ai,{article:H,variant:d?"mobile":"desktop",mode:"panel",expanded:l,onExpandedChange:c}),n.jsxs("div",{id:"article-full","data-print-url":ht.startsWith("http")?ht:`${kt()}${ht}`,className:"space-y-4 sm:space-y-6",children:[n.jsxs("header",{className:"space-y-3 sm:space-y-4",children:[n.jsx(st,{className:"my-4 min-h-[250px]",children:n.jsx(ft,{slot:"adnz_wideboard_1",format:"wideboard",eager:!0})}),n.jsx("h1",{className:"text-2xl sm:text-4xl md:text-5xl font-bold leading-tight whitespace-pre-line",children:H.headline}),H.tags&&H.tags.length>0&&n.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:H.tags.map(e=>n.jsx(P,{variant:"outline",className:"text-xs",children:e},e))}),Ie?n.jsx("p",{className:"article-subline text-xl text-muted-foreground",children:Ie}):H.subline?n.jsx("p",{className:"article-subline text-xl text-muted-foreground",children:H.subline}):null,n.jsxs("div",{className:"flex items-center gap-x-2 gap-y-1 text-sm text-muted-foreground border-y border-border py-4 flex-wrap",children:[H.author_info?.avatar_url?n.jsx("img",{src:et(H.author_info.avatar_url,48),alt:H.author??"",width:24,height:24,loading:"lazy",className:"h-6 w-6 shrink-0 rounded-full object-cover"}):n.jsx(ze,{className:"h-4 w-4 shrink-0"}),n.jsxs("span",{children:[H.author_slug?n.jsx(u,{to:`/autor/${H.author_slug}/`,className:"hover:text-primary hover:underline transition-colors",children:H.author}):H.author,n.jsxs("span",{className:"hidden lg:inline",children:[" / ",H.category]})]}),n.jsxs("span",{className:"inline-flex items-center gap-2 whitespace-nowrap",children:[n.jsx("span",{className:"text-muted-foreground/85",children:"â¢"}),n.jsx(Xe,{className:"h-4 w-4 shrink-0"}),n.jsxs("time",{dateTime:H.published_at,children:[n.jsx("span",{className:"lg:hidden",children:w(H.published_at||"")}),n.jsx("span",{className:"hidden lg:inline",children:y(H.published_at||"")})]})]})]}),n.jsx(hi,{})]}),(H.storage_image||H.image_url)&&n.jsxs("figure",{className:"relative rounded-lg overflow-hidden shadow-card",children:[n.jsx(g,{src:H.storage_image?.original||H.image_url||"",storageImage:H.storage_image,alt:tt,className:"w-full",priority:!0,blurDataUrl:rt,sizes:"(max-width: 768px) 90vw, (max-width: 1024px) 50vw, (max-width: 1366px) 65vw, 1080px",aspectRatio:"16/9",objectFit:"cover",preset:"hero",quality:90}),(H.featured_image_credits||H.featured_image_caption||H.featured_image_alt)&&n.jsxs("figcaption",{className:"mt-2 text-sm text-muted-foreground border-l-2 border-primary pl-3",children:[H.featured_image_credits&&n.jsxs("span",{className:"font-semibold",children:["© ",H.featured_image_credits]}),H.featured_image_caption&&H.featured_image_caption!==H.featured_image_credits&&n.jsx("span",{className:H.featured_image_credits?"block mt-1 italic":"italic",children:H.featured_image_caption}),!H.featured_image_caption&&H.featured_image_alt&&n.jsx("span",{className:H.featured_image_credits?"block mt-1 italic text-muted-foreground/85":"italic text-muted-foreground/85",children:H.featured_image_alt})]})]}),n.jsx(Yn,{aiSummary:H.ai_summary,articleId:H.id}),n.jsx("div",{className:"article-content article-body",children:n.jsx(Wn,{htmlContent:Ce,paragraphInterval:vt.DEFAULT_PARAGRAPH_INTERVAL,articleCategory:H.category,featuredImageUrl:H.image_url},t)}),n.jsx(Aa,{articleId:H.id,initial:J?.liveTicker??null,articleCategory:H.category?.toLowerCase(),articleHeadline:H.headline}),n.jsx("div",{ref:Te,className:"min-h-[12px]","aria-hidden":"true","data-testid":"article-end-sentinel"})]}),n.jsx(ea,{articleId:H.id},H.id),p.displayAds&&!f&&n.jsxs("div",{className:"mt-8",children:[n.jsx("div",{className:"text-xs uppercase tracking-wider text-muted-foreground mb-2",children:"Anzeige"}),n.jsx("div",{className:"mgid-native-feed",children:n.jsx(ft,{slot:"article-native-precomment",format:"native"})})]}),n.jsx(Vn,{articleId:H.id,slug:H.slug,headline:K(H.headline),url:`${kt()}${F(H.slug,H.category)}`}),n.jsx(Mn,{article:H,articles:ve}),n.jsx(Si,{}),M?n.jsxs("div",{className:"mt-16 pt-16 border-t-2 border-border/50",children:[n.jsx("div",{className:"h-8 w-48 bg-muted animate-pulse rounded mb-6"}),n.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 md:gap-6",children:[1,2,3,4].map(e=>n.jsx("div",{className:"h-80 bg-muted animate-pulse rounded"},e))})]}):$.length>0?n.jsx(mi,{currentArticle:H,allArticles:$,excludeIds:ke}):null,n.jsx(pt,{seed:`article-${H.slug}`,className:"mt-8"}),p.displayAds&&n.jsx("div",{className:"mt-12 sm:mt-16",children:n.jsx(ft,{slot:"adnz_wideboard_2",format:"wideboard"})}),n.jsx("div",{className:"mt-16 pt-16 border-t-2 border-border/50",children:n.jsx(Di,{excludeIds:[H.id,...ke,...Be],articles:ee,pending:te})}),p.donationBox&&n.jsx(aa,{articleId:H.id}),p.comments&&n.jsx("div",{className:"mt-16 pt-16 border-t-2 border-border/50",children:n.jsx(at,{section:"comments",fallback:n.jsx("div",{className:"p-4 text-sm text-muted-foreground",children:"Kommentare konnten nicht geladen werden."}),children:n.jsx(r.Suspense,{fallback:n.jsxs("div",{className:"min-h-[900px] space-y-4","aria-label":"Kommentare werden geladen",children:[n.jsx("div",{className:"h-[150px] bg-muted/30 rounded-lg animate-pulse"}),[1,2,3,4,5,6,7,8].map(e=>n.jsx("div",{className:"h-[80px] bg-muted/20 rounded-lg animate-pulse"},e))]}),children:n.jsx(Ra,{articleId:String(H.id),initialCommentCount:J?.commentCount,initialBestComment:J?.comments?.bestComment,
2initialFirstPage:J?.comments?.firstPage,initialVoteStats:J?.comments?.voteStats})})})}),p.displayAds&&n.jsx("div",{className:"mt-6 sm:mt-8",children:n.jsx(ft,{slot:"adnz_wideboard_3",format:"wideboard"})}),p.newsletter&&n.jsx("div",{className:"mt-16 pt-8",children:n.jsx(gt,{})}),p.displayAds&&n.jsx("div",{className:"mt-6 sm:mt-8",children:n.jsx(ft,{slot:"adnz_wideboard_4",format:"wideboard"})}),n.jsx("div",{className:"mt-16 pt-16 border-t-2 border-border/50",children:n.jsx(Qi,{excludeIds:[H.id,...Be,...Ne,...je],category:H.category,initialArticles:J?.moreArticles})}),p.displayAds&&n.jsx("div",{className:"mt-12 sm:mt-16",children:n.jsx(ft,{slot:"adnz_wideboard_5",format:"wideboard"})})]}),n.jsx("aside",{className:"md:col-span-1 lg:col-span-4 self-stretch h-full space-y-4","aria-label":"Seitenleiste",role:"complementary",children:n.jsx(at,{section:"sidebar",fallback:n.jsx("div",{className:"p-4 text-sm text-muted-foreground",children:"Seitenleiste nicht verfügbar."}),children:p.displayAds&&n.jsx("div",{className:"sticky z-10",style:{to
2p:"calc(var(--header-h, 120px) + 8px)"},children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"w-[300px] flex-shrink-0",children:n.jsx(ft,{slot:"adnz_halfpage_1",format:"halfpage",eager:!0})}),n.jsx("div",{className:"hidden min-[1920px]:block w-[300px] flex-shrink-0",children:n.jsx(ft,{slot:"adnz_halfpage_2",format:"halfpage",eager:!0})})]})})})})]})}),n.jsx(Ea,{articleId:H.id,readingTimeMinutes:H.reading_time_minutes,title:K(H.headline),description:H.subline||"",url:`/${O(H.category)}/${H.slug}`,hashtags:["exxpress",H.category],showLivestream:p.livestream,onLivestreamClick:()=>{if(window.__livestreamMounted)window.dispatchEvent(new CustomEvent("open-livestream",{detail:{unmute:!0}}));else{const e=Z||It.videoId,t=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|live\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/)?.[1]||e,i=document.createElement("a");i.href=`https://www.youtube.com/live/${t}`,i.target="_blank",i.rel="noopener noreferrer",i.click()}}}),n.jsx(s,{}),p.newsletter&&n.jsx(Ga,{open:C,onOpenChange:v}),n.jsx(ne,{}),p.readAfterArticle&&(Se||"push-cta"===Oe)&&!N&&n.jsx(ja,{nextArticle:Ze||Se,currentArticleId:H.id,isVisible:Me&&!We&&!Ge&&!Ye,onClose:()=>j(!0),variant:Oe,commentCount:He,bestCommentPreview:Ue?.content?.substring(0,80),bestCommentAuthor:Ue?.author_name,hasVotedThisSession:Pe,articlesReadThisSession:$e,pushDenied:Ke})]})};export{Ta 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.