1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="5c6d0246-ce13-53aa-09c7-2227d0a6455d")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,373375,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],373375)},463059,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],463059)},778917,e=>{"use strict";let t=(0,e.i(475254).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",0,t],778917)},717521,e=>{"use strict";let t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},531278,e=>{"use strict";var t=e.i(717521);e.s(["Loader2",()=>t.default])},263488,e=>{"use strict";let t=(0,e.i(475254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,t],263488)},570838,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(681307);let i=a.z.string(),l=a.z.object({startsAt:a.z.number().finite().nullable(),endsAt:a.z.number().finite().nullable(),floatingEnabled:a.z.boolean(),floatingPosition:a.z.enum(["bottom-right","bottom-left"]),content:a.z.discriminatedUnion("type",[a.z.object({type:a.z.literal("youtube"),videoId:i.regex(/^[\w-]{11}$/),title:i}),a.z.object({type:a.z.literal("twitch"),channel:i.regex(/^\w{1,25}$/),title:i,viewerCount:a.z.number().nonnegative()}),a.z.object({type:a.z.literal("breakdown"),label:i,headline:i,description:i,url:i,ctaLabel:i,image:i}),a.z.object({type:a.z.literal("spotify"),embedUrl:i,title:i}),a.z.object({type:a.z.literal("custom"),html:i,title:i})])}).refine(e=>null===e.startsAt&&null===e.endsAt||null!==e.startsAt&&null!==e.endsAt&&e.endsAt>e.startsAt),n=a.z.object({serverNow:a.z.number().finite(),serverDurationMs:a.z.number().finite().nonnegative(),slot:l.nullable()});var s=e.i(778917),o=e.i(63639),c=e.i(424154),d=e.i(174396),u=e.i(361541),h=e.i(190753),m=e.i(832722),p=e.i(37727);function f({enabled:e,position:a,children:i}){let l=(0,r.useRef)(null),[n,s]=(0,r.useState)(!1),[o,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)();(0,r.useEffect)(()=>{let t=l.current;if(!e||o||!t||!("IntersectionObserver"in window))return;let r=window.matchMedia("(min-width: 375px)"),a=new IntersectionObserver(([e])=>{let a=r.matches&&e.boundingClientRect.bottom<=0&&!!t.querySelector("iframe");a&&u(t.getBoundingClientRect().height),s(a)}),i=()=>{s(!1),u(void 0),a.unobserve(t),a.observe(t)};return a.observe(t),r.addEventListener("change",i),window.addEventListener("resize",i),()=>{a.disconnect(),r.removeEventListener("change",i),window.removeEventListener("resize",i)}},[e,o]);let h=e&&!o&&n;return(0,t.jsx)("div",{ref:l,style:h?{minHeight:d}:void 0,children:(0,t.jsxs)("div",{"data-featured-player":h?"floating":"inline",className:h?`fixed bottom-3 ${"bottom-left"===a?"left-3":"right-3"} z-50 w-[min(85vw,360px)] bg-card border border-border shadow-2xl`:"",children:[h&&(0,t.jsx)("div",{className:"flex justify-end bg-card",children:(0,t.jsx)("button",{type:"button","aria-label":"Video wieder im Inhalt anzeigen",className:"p-3 focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent",onClick:()=>{c(!0),l.current?.scrollIntoView({block:"center",behavior:"instant"})},children:(0,t.jsx)(p.X,{className:"w-5 h-5","aria-hidden":"true"})})}),i]})})}function b({slot:e}){let r=e.content,a=e.floatingEnabled&&("youtube"===r.type||"twitch"===r.type);return(0,t.jsx)(f,{enabled:a,position:e.floatingPosition,children:(0,t.jsx)(x,{content:r})})}function x({content:e}){switch(e.type){case"youtube":return(0,t.jsxs)("div",{className:"overflow-hidden bg-card",children:[(0,t.jsx)(u.YouTubeFacade,{loading:"eager",embed:{type:"youtube",videoId:e.videoId,title:e.title,position:0,placement:"hero",requiresConsent:!0,thumbnail:""}}),(0,t.jsxs)("div",{className:"p-3",children:[(0,t.jsx)("h2",{className:"font-card-headline type-card break-words",children:e.title}),(0,t.jsxs)("a",{href:`https://www.youtube.com/watch?v=${e.videoId}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 type-small text-accent mt-2",children:["Auf YouTube ansehen ",(0,t.jsx)(s.ExternalLink,{className:"w-4 h-4","aria-hidden":"true"})]})]})]});case"twitch":return(0,t.jsxs)("div",{className:"overflow-hidden bg-card",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 p-3",children:[(0,t.jsx)(o.Radio,{className:"w-4 h-4 text-error"}),(0,t.jsx)("span",{children:"Live"})]}
2),(0,t.jsx)(d.ConsentGate,{provider:"Twitch",directUrl:`https://www.twitch.tv/${e.channel}`,children:(0,t.jsx)("div",{className:"aspect-video",children:(0,t.jsx)("iframe",{...h.CMP_APPROVED_ELEMENT_PROPS,src:`https://player.twitch.tv/?channel=${e.channel}&parent=${window.location.hostname}&muted=true&autoplay=true`,title:e.title,className:"w-full h-full",allow:"autoplay; encrypted-media",allowFullScreen:!0})})}),(0,t.jsx)("a",{className:"block p-3 break-words",href:`https://www.twitch.tv/${e.channel}`,target:"_blank",rel:"noopener noreferrer",children:e.title})]});case"breakdown":return(0,t.jsx)(g,{...e});case"spotify":return(0,t.jsx)(w,{...e});case"custom":return(0,t.jsx)(v,{...e})}}function g({label:e,headline:r,description:a,url:i,ctaLabel:l,image:n}){let o=(0,t.jsxs)("div",{className:"relative overflow-hidden bg-card p-4 sm:p-6 min-h-[200px] flex flex-col justify-end",children:[n&&(0,t.jsx)("div",{className:"absolute inset-0 bg-cover bg-center opacity-30",style:{backgroundImage:`url(${n})`}}),(0,t.jsxs)("div",{className:"relative z-10",children:[e&&(0,t.jsx)("span",{className:"type-small font-bold uppercase tracking-wider text-accent mb-2 block",children:e}),r&&(0,t.jsx)("h3",{className:"font-card-headline text-xl sm:text-2xl text-foreground uppercase mb-2",children:r}),a&&(0,t.jsx)("p",{className:"type-body text-text-secondary line-clamp-3 mb-3",children:a}),i&&l&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 type-small font-bold uppercase tracking-wider text-accent hover:text-foreground transition-colors",children:[l,(0,t.jsx)(s.ExternalLink,{className:"w-3 h-3"})]})]})]});if(i){let e=/^https?:\/\//i.test(i);return(0,t.jsx)("a",{href:i,target:e?"_blank":void 0,rel:e?(0,m.getExternalLinkRel)(i):void 0,className:"block",children:o})}return o}function w({embedUrl:e,title:r}){let a=e.includes("/track/")?152:e.includes("/playlist/")?380:352;return(0,t.jsx)("div",{className:"overflow-hidden bg-card",children:(0,t.jsx)(d.ConsentGate,{provider:"Spotify",directUrl:e.replace("/embed/","/"),children:(0,t.jsx)("iframe",{...h.CMP_APPROVED_ELEMENT_PROPS,src:e,title:r||"Spotify",className:"w-full border-none",style:{height:`${a}px`},allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"})})})}function v({html:e,title:r}){let a=e.replace(/<iframe(\s|>)/gi,`<iframe data-cmp-ab="${h.CMP_APPROVED_ELEMENT_PROPS["data-cmp-ab"]}"$1`),i=c.default.sanitize(a,{ALLOWED_TAGS:["div","p","span","strong","em","a","br","iframe"],ALLOWED_ATTR:["src","href","title","width","height","allow","allowfullscreen","frameborder","scrolling","loading","data-cmp-ab"],ALLOWED_URI_REGEXP:/^https:\/\/(?:www\.)?(?:youtube\.com|youtube-nocookie\.com|player\.twitch\.tv|open\.spotify\.com|instagram\.com|tiktok\.com|bandcamp\.com|w\.soundcloud\.com)(?:[/?#]|$)/}),l=/<iframe\b/i.test(i),n=(0,t.jsxs)("div",{className:"overflow-hidden bg-card",children:[r&&(0,t.jsx)("div",{className:"px-3 py-2 bg-surface-elevated border-b border-border",children:(0,t.jsx)("span",{className:"type-small font-bold uppercase tracking-wider text-accent",children:r})}),(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})]});return l?(0,t.jsx)(d.ConsentGate,{provider:"Externer Inhalt",children:n}):n}e.s(["FeaturedSlotRenderer",0,function({children:e}){let[a,i]=(0,r.useState)(null);if((0,r.useEffect)(()=>{let e,t,r=!1,a=null,l=null,s=0,o=()=>{var t;if(clearTimeout(e),r||!a)return;let l=performance.now()-a.receivedAt,n=a.serverNow+l,s=l<12e4;i(s&&(t=a.slot,t&&Number.isFinite(n)&&(null===t.startsAt||n>=t.startsAt)&&(null===t.endsAt||n<t.endsAt))?a.slot:null),s&&(e=setTimeout(o,Math.min(...[a.slot?.startsAt,a.slot?.endsAt,a.serverNow+12e4].filter(e=>"number"==typeof e&&e>n))-n))},c=async()=>{if(clearTimeout(t),r||l||document.hidden)return;let e=new AbortController;l=e;let i=performance.now(),d=setTimeout(()=>e.abort(),5e3);try{let t=await fetch("/api/homepage/featured-slot",{cache:"no-store",credentials:"omit",signal:e.signal});if(!t.ok)throw Error(`Featured slot: ${t.status}`);let l=n.parse(await t.json());if(r)return;let c=performance.now();a={...l,serverNow:l.serverNow+Math.max(0,c-i-l.serverDurationMs)/2,receivedAt:c},s=0,o()}catch{s++}finally{clearTimeout(d),l=null,r||document.hidden||(t=setTimeout(()=>{c()},s?Math.min(6e4,5e3*2**Math.min(s-1,4)):25e3+5e3*Math.random()))}},d=()=>{o(),document.hidden?clearTimeout(t):c()};return c(),document.addEventListener("visibilitychange",d),window.addEventListener("pageshow",d),window.addEventListener("online",d),window.addEventListener("focus",d),()=>{r=!0,clearTimeout(e),clearTimeout(t),l?.abort(),document.removeEventListener("visibilitychange",d),window.removeEventListener("pageshow",d),window.removeEventListener("online",d),window.removeEventListener("focus",d)}},[]),!a)return e;let l=a.content,s="youtube"===l.type?l.videoId:"twitch"===l.type?l.channel:l.type;return(0,t.jsx)("div",{className:"lg:col-span-8 min-w-0 pb-5","data-featured-slot":"active",children:(0,t.jsx)(b,{slot:a},s)})}],570838)},342055,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(643531),i=e.i(531278),l=e.i(263488),n=e.i(972520);e.s(["NewsletterForm",0,function({className:e="",variant:s="default",consentLabel:o,submitLabel:c,submitClassName:d,surface:u="homepage"}){let h="sidebar"===s,[m,p]=(0,r.useState)(""),[f,b]=(0,r.useState)(""),x=(0,r.useId)(),g=(0,r.useId)(),w=(0,r.useId)(),v=(0,r.useId)(),[y,j]=(0,r.useState)(!1),[N,k]=(0,r.useState)(!1),[E,M]=(0,r.useState)(null),[S,L]=(0,r.useState)(null),[A,z]=(0,r.useState)("");async function C(e){if(e.preventDefault(),!A){if(!y)return void L("Bitte bestätige die Einwilligung zum Newsletter.");k(!0),L(null);try{let e=await fetch("/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:m,firstName:f.trim()||void 0,consent:!0,source:"website"})}),t=await e.json().catch(()=>null);if(!e.ok||!t?.success)throw Error(t?.error||"Anmeldung fehlgeschlagen.");M(t.message||"Danke! Bitte bestätige die Anmeldung in deiner E-Mail."),window.umami?.track("newsletter-signup",{surface:u}),p(""),b(""),j(!1)}catch(e){L(e instanceof Error?e.message:"Etwas ist schiefgelaufen. Bitte versuche es später erneut.")}finally{k(!1)}}}return E?(0,t.jsxs)("div",{role:"status",className:`flex items-start gap-3 ${h?"px-3 py-3 text-left":"px-6 py-4"} bg-event-live/10 border border-event-live ${e}`,children:[(0,t.jsx)(a.Check,{className:"w-5 h-5 text-event-live shrink-0 mt-0.5","aria-hidden":"true"}),(0,t.jsx)("p",{className:"type-body text-event-live font-medium",children:E})]}):(0,t.jsxs)("form",{onSubmit:C,className:e,noValidate:!0,children:[(0,t.jsx)("input",{type:"text",name:"website",value:A,onChange:e=>z(e.target.value),tabIndex:-1,autoComplete:"off","aria-hidden":"true",className:"absolute -left-[9999px]"}),(0,t.jsx)("label",{htmlFor:x,className:"sr-only",children:"Vorname (freiwillig)"}),(0,t.jsx)("input",{id:x,type:"text",value:f,onChange:e=>b(e.target.value),autoComplete:"given-name",maxLength:40,placeholder:"Vorname (freiwillig)",disabled:N,className:`mb-3 w-full ${h?"px-3 py-2.5 type-meta":"px-4 py-3"} border border-border text-white placeholder:text-muted-foreground focus:outline-none transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${"brand"===s?"bg-card focus:ring-2 focus:ring-accent focus:border-accent type-body":"bg-background focus:border-accent"}`}),(0,t.jsxs)("div",{className:`flex gap-3 ${"brand"===s?"flex-col sm:flex-row":h?"flex-col":""}`,children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("label",{htmlFor:g,className:"sr-only",children:"E-Mail-Adresse"}),(0,t.jsx)("input",{id:g,type:"email",value:m,onChange:e=>p(e.target.value),required:!0,autoComplete:"email",inputMode:"email",maxLength:254,placeholder:"[email protected]",disabled:N,className:`w-full ${h?"px-3 py-2.5 type-meta":"px-4 py-3"} border border-border text-white placeholder:text-muted-foreground focus:outline-none transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${"brand"===s?"bg-card focus:ring-2 focus:ring-accent focus:border-accent type-body":"bg-background focus:border-accent"}`,"aria-describedby":S?v:void 0})]}),(0,t.jsx)("button",{type:"submit",disabled:N||!m||!y,className:h?`inline-flex items-center justify-center gap-2 w-full py-3 ${d||"gradient-brand"} text-white font-card-headline type-meta uppercase tracking-wider hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed`:"brand"===s?"font-nav inline-flex items-center justify-center gap-2 px-5 py-3 type-body font-bold uppercase tracking-wider gradient-brand text-white hover:opacity-90 transition-opacity disabled:opacity-50 disabled:cursor-not-allowed":"px-6 py-3 bg-accent hover:bg-accent/80 text-white font-bold transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2","aria-label":"Newsletter abonnieren",children:N?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Loader2,{className:"w-5 h-5 animate-spin"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Lädt..."})]}):h?(0,t.jsxs)(t.Fragment,{children:[c||"Anmelden"," ",(0,t.jsx)(n.ArrowRight,{className:"w-3.5 h-3.5"})]}):"brand"===s?(0,t.jsxs)(t.Fragment,{children:["Anmelden ",(0,t.jsx)(n.ArrowRight,{className:"w-4 h-4"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Mail,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Abonnieren"})]})})]}),(0,t.jsxs)("label",{className:`${h?"mt-3 gap-2 text-left":"mt-4 gap-3"} flex items-start cursor-pointer group`,children:[(0,t.jsx)("input",{type:"checkbox",checked:y,onChange:e=>j(e.target.checked),disabled:N,required:!0,className:"mt-1 w-4 h-4 accent-accent shrink-0","aria-describedby":w}
2),(0,t.jsxs)("span",{id:w,className:`${h?"type-micro":"type-small"} text-text-secondary group-hover:text-foreground transition-colors`,children:[o||"Ich willige ein, den MoreCore-Newsletter zu erhalten. Die Einwilligung kann jederzeit widerrufen werden."," ",(0,t.jsx)("a",{href:"/datenschutz",className:"underline hover:text-foreground",onClick:e=>e.stopPropagation(),children:"Datenschutzerklärung"}),"."]})]}),S&&(0,t.jsx)("p",{id:v,className:"mt-3 type-body text-destructive",role:"alert",children:S})]})}])},934383,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let a={single:[{dotScale:1,gridScale:1,opacity:1,jitter:0,scatter:0}],layered:[{dotScale:.8,gridScale:1.2,opacity:1,jitter:0,scatter:0,shape:"dot"},{dotScale:.45,gridScale:.65,opacity:.5,jitter:.25,scatter:0,shape:"dot"},{dotScale:.3,gridScale:.6,opacity:.35,jitter:.7,scatter:1,shape:"sparkle"}],uniform:[{dotScale:1,gridScale:1,opacity:1,jitter:0,scatter:0},{dotScale:1,gridScale:1,opacity:.4,jitter:.4,scatter:0},{dotScale:1,gridScale:1,opacity:.2,jitter:.8,scatter:1}]};function i(e){let t=43758.5453*Math.sin(127.1*e+311.7);return t-Math.floor(t)}e.s(["HalftoneText",0,function({text:e,fontSize:l=200,color:n="white",opacity:s=.06,className:o="",variant:c="static",duration:d=1500,dotSize:u=3,gridSize:h=6,dissolveDirection:m="left",layers:p="single",shape:f="sparkle"}){let b=(0,r.useRef)(null),x=(0,r.useRef)(null),g=(0,r.useRef)(!1),w=(0,r.useCallback)(()=>{let t=b.current,r=x.current;if(!t||g.current)return;let s=t.getContext("2d");if(!s)return;let o=r?.clientWidth||600,w=r?.clientHeight||200,v=document.createElement("canvas").getContext("2d");if(!v)return;let y=l;v.font=`italic 900 ${y}px "Rift", Impact, "Arial Black", sans-serif`;let j=v.measureText(e).width,N=.9*o;j>N&&(y=Math.floor(N/j*y)),1.2*y>w&&(y=Math.floor(w/1.2));let k=document.createElement("canvas"),E=k.getContext("2d");if(!E)return;let M=`italic 900 ${y}px "Rift", Impact, "Arial Black", sans-serif`;E.font=M;let S=Math.ceil(E.measureText(e).width),L=Math.ceil(1.2*y);if(S<=0||L<=0)return;let A=a[p]||a.single,z=A.some(e=>e.scatter>0),C=z?Math.ceil(1.15*S):S,T=z?Math.ceil(1.1*L):L;k.width=S,k.height=L,E.font=M,E.fillStyle="#ffffff",E.textBaseline="top",E.fillText(e,0,.1*l);let R=E.getImageData(0,0,S,L),$=[];for(let e of A){let t=Math.max(2,Math.round(h*e.gridScale)),r=u*e.dotScale,a=e.shape||f;for(let l=-t;l<T+t;l+=t)for(let n=-t;n<C+t;n+=t){let s=Math.max(0,Math.min(S-1,n)),o=(Math.max(0,Math.min(L-1,l))*S+s)*4,d=R.data[o+3]||0,u=d>20,h=d>5||n>=0&&n<S&&l>=0&&l<L,p=1e3*n+7*l+Math.round(100*e.dotScale);if(!u&&e.scatter>0&&h){let s=1-d/255;if(i(p+3)<.15*e.scatter*(1-.5*s)){let s=r*(.3+.7*i(p+4)),o=n+(i(p+5)-.5)*t*3,c=l+(i(p+6)-.5)*t*3;$.push({x:o,y:c,r:s,alpha:.6*e.opacity,dotShape:a})}continue}if(!u)continue;let f=d/255*r,b=n,x=l;if(e.jitter>0&&(b+=(i(p)-.5)*t*e.jitter,x+=(i(p+1)-.5)*t*e.jitter),"directional"===c){let a="left"===m?n/S:1-n/S,l=a<.5?1:1-(a-.5)/.5;f*=l;let s=(1-l)*t*(2.5+e.jitter);if(b+=(i(p+10)-.5)*s,x+=(i(p+11)-.5)*s,l<.4&&i(p+12)>2*l){e.scatter>0&&.3>i(p+13)&&$.push({x:b+(i(p+14)-.5)*t*4,y:x+(i(p+15)-.5)*t*4,r:.5*f+i(p+16)*r*.3,alpha:.3*e.opacity,dotShape:"sparkle"});continue}}f>.3&&$.push({x:b,y:x,r:f,alpha:e.opacity,dotShape:a})}}if(0===$.length)return;let P=t.parentElement;if(!P)return;let I=P.clientWidth/C,_=T*I,O=Math.min(window.devicePixelRatio||1,2);t.width=o*O,t.height=_*O,t.style.width=`${o}px`,t.style.height=`${_}px`,s.scale(O*I,O*I),s.fillStyle=n;let q=e=>{s.clearRect(-h,-h,C+2*h,T+2*h);for(let t=0;t<$.length;t++){let r=$[t],a=1;if("build"===c?a=Math.max(0,Math.min(1,(e-t/$.length*.7)/.3)):"dissolve"===c&&(a=1-Math.max(0,Math.min(1,(e-t/$.length*.7)/.3))),a<=0)continue;let l=r.r*a;s.globalAlpha=r.alpha*a,"sparkle"===r.dotShape?function(e,t,r,a,l){let n=i(l+99)*Math.PI*.25,s=.2*a;e.beginPath();for(let i=0;i<8;i++){let l=i*Math.PI/4+n,o=i%2==0?a:s,c=t+Math.cos(l)*o,d=r+Math.sin(l)*o;0===i?e.moveTo(c,d):e.lineTo(c,d)}e.closePath(),e.fill()}(s,r.x,r.y,1.3*l,t):(s.beginPath(),s.arc(r.x,r.y,l,0,2*Math.PI),s.fill())}s.globalAlpha=1};if("static"===c||"directional"===c){q(1),g.current=!0;return}let F=performance.now(),D=e=>
2{let t=Math.min(1,(e-F)/d);q(t),t<1?requestAnimationFrame(D):g.current=!0};requestAnimationFrame(D)},[e,l,n,c,d,u,h,m,p,f]);return(0,r.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;g.current=!1;let e=()=>{"u">typeof document&&document.fonts?document.fonts.ready.then(()=>{document.fonts.check(`italic 900 ${l}px "Rift"`)?w():setTimeout(w,100)}):setTimeout(w,200)};"u">typeof requestIdleCallback?requestIdleCallback(e,{timeout:500}):setTimeout(e,50)},[w,l]),(0,r.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=()=>{g.current=!1,w()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[w]),(0,t.jsx)("div",{ref:x,className:`pointer-events-none select-none ${o}`,style:{opacity:s},"aria-hidden":"true",children:(0,t.jsx)("canvas",{ref:b,className:"block w-full"})})}])},842037,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(373375),i=e.i(463059);e.s(["HoverScrollSlider",0,function({children:e,gapClass:l="gap-4 md:gap-6",scrollFraction:n=.75}){let s=(0,r.useRef)(null),[o,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!1),h=(0,r.useCallback)(()=>{let e=s.current;e&&(c(e.scrollLeft>4),u(e.scrollLeft+e.clientWidth<e.scrollWidth-4))},[]);(0,r.useEffect)(()=>{h();let e=s.current;if(!e)return;e.addEventListener("scroll",h,{passive:!0});let t=new ResizeObserver(h);return t.observe(e),()=>{e.removeEventListener("scroll",h),t.disconnect()}},[h]);let m=(0,r.useCallback)(e=>{let t=s.current;if(!t)return;let r=t.clientWidth*n;t.scrollBy({left:"left"===e?-r:r,behavior:"smooth"})},[n]);return(0,t.jsxs)("div",{className:"relative group/slider",children:[(0,t.jsx)("div",{ref:s,className:`flex ${l} overflow-x-auto scrollbar-hide scroll-smooth snap-x snap-mandatory scroll-pl-4 scroll-pr-4 py-3 -my-3`,children:e}),o&&(0,t.jsx)("button",{onClick:()=>m("left"),className:"absolute left-0 top-0 bottom-0 w-14 md:w-16 flex items-center justify-start pl-2 opacity-0 group-hover/slider:opacity-100 transition-opacity duration-200 z-10",style:{background:"linear-gradient(to right, var(--color-background-v3) 40%, transparent)"},"aria-label":"Zurück scrollen",children:(0,t.jsx)("span",{className:"w-9 h-9 flex items-center justify-center rounded-full bg-card/80 backdrop-blur-sm border border-border-subtle shadow-lg hover:bg-accent hover:border-accent hover:text-white transition-all",children:(0,t.jsx)(a.ChevronLeft,{className:"w-5 h-5"})})}),d&&(0,t.jsx)("button",{onClick:()=>m("right"),className:"absolute right-0 top-0 bottom-0 w-14 md:w-16 flex items-center justify-end pr-2 opacity-0 group-hover/slider:opacity-100 transition-opacity duration-200 z-10",style:{background:"linear-gradient(to left, var(--color-background-v3) 40%, transparent)"},"aria-label":"Weiter scrollen",children:(0,t.jsx)("span",{className:"w-9 h-9 flex items-center justify-center rounded-full bg-card/80 backdrop-blur-sm border border-border-subtle shadow-lg hover:bg-accent hover:border-accent hover:text-white transition-all",children:(0,t.jsx)(i.ChevronRight,{className:"w-5 h-5"})})})]})}])}]); 3 4//# debugId=5c6d0246-ce13-53aa-09c7-2227d0a6455d
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.