PageSourceSearch

https://www.mytischtennis.de/build/_shared/chunk-MV6RSJRD.js

js mytischtennis.de collected 2026-09-24 09:35:45 UTC 66,327 bytes, 2 lines download raw bytes

1import{b as sr}from"/build/_shared/chunk-VNBKYWKZ.js";import{b as lr}from"/build/_shared/chunk-4MG4SYQZ.js";import{e as nr,h as ir}from"/build/_shared/chunk-H3K7MKLO.js";import{a as Et,b as ar}from"/build/_shared/chunk-RR2Q5KGW.js";import{a as Lt}from"/build/_shared/chunk-V2F6KG3P.js";import{c as tr,e as er}from"/build/_shared/chunk-7QHAUC2X.js";import{a as Tt,b as It}from"/build/_shared/chunk-B7BRG6SC.js";import{a as $t,b as $e,c as Je}from"/build/_shared/chunk-NXH3GDCI.js";import{a as qe}from"/build/_shared/chunk-KOKD6DDL.js";import{T as wt,m as or}from"/build/_shared/chunk-BE4TDJCB.js";import{d as rr}from"/build/_shared/chunk-KISCULME.js";import{a as Qe}from"/build/_shared/chunk-FVRD3VWZ.js";import{a as Wt,b as He,c as Ue,d as Ze,e as We}from"/build/_shared/chunk-LFAEHS5X.js";import{b as Vt,c as V,d as gt,e as H,f as Rt,g as O,h as Nt,i as lt}from"/build/_shared/chunk-O2ZIKJRM.js";import{c as Dt}from"/build/_shared/chunk-2R5HCD25.js";import{a as Ge,b as J}from"/build/_shared/chunk-4SNTYEYZ.js";import{a as je}from"/build/_shared/chunk-GUGCMMTM.js";import{a as Xe,b as X}from"/build/_shared/chunk-SCSH5XPI.js";import{b as I}from"/build/_shared/chunk-5FWG67EV.js";import{a as Oe,c as Be,e as st,g as Ke}from"/build/_shared/chunk-7KKUFDQ6.js";import{B as Ye,C as L,a as rt,b as Se,e as at,f as Le,g as Mt,h as Ie,i as De,j as Ve,l as Ht,o as Z,q as Ut,r as Zt,t as St,u as it,v as Ae,w as pt,z as Fe}from"/build/_shared/chunk-WFNQTVCJ.js";import{a as Ea}from"/build/_shared/chunk-5TRFQBKG.js";import{b as nt,d as x}from"/build/_shared/chunk-G5WX4PPA.js";var ia=nt((Fn,na)=>{na.exports={}});var la=nt((Yn,sa)=>{sa.exports={}});var ma=nt((Bn,da)=>{da.exports={}});var ga=nt((Kn,pa)=>{pa.exports={}});var ua=nt((Xn,wa)=>{wa.exports={}});var va=nt((jn,ha)=>{ha.exports={}});var xa=nt((Hn,ba)=>{ba.exports={}});var ka=x(Ea(),1);var Y=x(rt(),1);var Ct=x(rt(),1);var D=x(L(),1);function cr({fileBasePath:t,userProfile:e}){let r=it(),[a,o]=(0,Ct.useState)(!0),[n,s]=(0,Ct.useState)(!1),d=r[r.length-1];(0,Ct.useEffect)(()=>{window.ENV.MODE!=="local"&&window.ENV.MODE!=="development"&&o(!1)},[]);let m=g=>{let c=g==="/"?"_index.tsx":`${g}.tsx`;return t?`vscode://file${t}/${c}`:""};return a?(0,D.jsxs)("div",{className:I("fixed right-0 top-1/2 -translate-y-1/2 z-50 transition-all duration-300",n?"translate-x-0":"translate-x-full"),children:[(0,D.jsx)("button",{onClick:()=>s(!n),className:I("absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 z-100 rounded-full bg-black/80 flex items-center justify-center hover:bg-black/90 transition-colors"),"aria-label":n?"Collapse debug panel":"Expand debug panel",children:(0,D.jsx)(X,{name:"chevron-right",size:"sm",className:I("text-white transition-transform",n?"rotate-0":"rotate-180")})}),(0,D.jsxs)("div",{className:"bg-black/80 text-white px-4 pb-4 pt-8 rounded-lg shadow-lg max-w-[300px] text-sm font-mono",children:[(0,D.jsx)("button",{onClick:()=>o(!1),className:"absolute top-1 right-1 text-xs text-gray-400 hover:text-white",children:(0,D.jsx)(X,{name:"plus",size:"sm",className:I("text-white transition-transform rotate-45")})}),(0,D.jsxs)("div",{className:"space-y-2",children:[(0,D.jsxs)("div",{children:[(0,D.jsx)("strong",{className:"mr-1",children:"Route ID:"}),t?(0,D.jsx)("a",{href:m(d.id),className:"text-green-400 break-all hover:text-green-300 cursor-pointer",target:"_blank",rel:"noreferrer",children:d.id}):(0,D.jsx)("div",{className:"text-green-400 break-all",children:d.id})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)("strong",{className:"mr-1",children:"Path:"}),(0,D.jsx)("div",{className:"text-blue-400 break-all",children:d.pathname})]}),d.params&&Object.keys(d.params).length>0&&(0,D.jsxs)("div",{children:[(0,D.jsx)("strong",{className:"mr-1",children:"Params:"}),(0,D.jsx)("pre",{className:"text-yellow-400 break-all",children:JSON.stringify(d.params,null,2)})]}),e&&(0,D.jsxs)("div",{children:[(0,D.jsx)("strong",{className:"mr-1",children:"User:"}),(0,D.jsxs)("ul",{className:"text-yellow-400 break-all",children:[(0,D.jsxs)("li",{children:["Ext ID:"," ",(0,D.jsx)("span",{className:"text-green-400",children:e.external_id})]}),(0,D.jsxs)("li",{children:["Email:"," ",(0,D.jsx)("span",{className:"text-green-400",children:e.email})]}),(0,D.jsxs)("li",{children:["Status:"," ",(0,D.jsx)("span",{className:"text-green-400",children:e.user_status})]}),(0,D.jsxs)("li",{children:["ClickTT ID:"," ",(0,D.jsx)("span",{className:"text-green-400",children:e.clicktt_id})]})]})]})]})]})]}):null}var ut=x(rt(),1);var Q=x(L(),1);function qt(){let t=Ie(),e=t.state!=="idle",r=at(),a=(0,ut.useRef)(null),[o,n]=(0,ut.useState)(!0);(0,ut.useEffect)(()=>{a.current&&(e&&n(!1),Promise.allSettled(a.current.getAnimations().map(({finished:d})=>d)).then(()=>!e&&n(!0)))},[e]);let s=!!r?.pathname?.startsWith("/turnierwelt");return(0,Q.jsxs)(Q.Fragment,{children:[s&&t.state!=="idle"&&(0,Q.jsx)("div",{className:"fixed flex items-center z-50 left-0 top-0 p-[25%] right-0 bottom-0 pointer-events-none opacity-0 animate-fadeInDelayed bg-[#ffffff88]","aria-hidden":!0,
1children:(0,Q.jsx)(nr,{className:"flex-1 overflow-visible bg-transparent",progressClassName:"shadow-overlay-white"})}),(0,Q.jsx)("div",{className:I("fixed inset-x-0 top-0 left-0 z-50 h-1 animate-pulse pointer-events-none",s&&"h-2"),children:(0,Q.jsx)("div",{ref:a,className:I("h-full bg-mint transition-all duration-500 ease-in-out rounded-r-full",t.state==="idle"&&o&&"w-0 opacity-0 transition-none",t.state==="submitting"&&"w-3/12",t.state==="loading"&&"w-7/12",t.state==="idle"&&!o&&"w-full")})})]})}var ft=x(L(),1);function Jt(){return(0,ft.jsx)("div",{className:"w-[149px] md:w-[195px]",children:(0,ft.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 195 51",children:[(0,ft.jsx)("path",{fill:"#71D2D6",d:"M10.5422 21H6.73606V4.78965H.4655V1.33947h16.3473v3.45018h-6.2706V21Zm12.8926 0h-3.8061V1.33947h3.8061V21Zm19.2789-5.9967c0 1.2048-.3195 2.2818-.9584 3.2311-.6207.9492-1.5151 1.6977-2.6835 2.2453-1.15.5294-2.5465.7941-4.1895.7941-1.6246 0-3.0303-.2738-4.2168-.8214-1.1866-.5659-2.1176-1.3509-2.793-2.3549-.6755-1.004-1.068-2.1815-1.1775-3.5324h3.8609c.073 1.1136.4655 2.0081 1.1775 2.6835.7119.6754 1.7342 1.0132 3.0668 1.0132.7484 0 1.4056-.1004 1.9715-.3012.5842-.2191 1.0405-.5294 1.3691-.931.3469-.4199.5203-.9128.5203-1.4787 0-.6754-.2464-1.2139-.7393-1.6155-.4746-.4017-1.1775-.6937-2.1085-.8763l-3.1216-.6024c-.7301-.146-1.4147-.356-2.0536-.6298-.6389-.2738-1.2049-.6298-1.6977-1.0679-.4747-.4381-.8489-.95838-1.1227-1.5608-.2738-.62066-.4107-1.34173-.4107-2.1632 0-1.15006.3103-2.17233.931-3.06683.6206-.89449 1.4695-1.5973 2.5465-2.10844 1.0953-.51113 2.3458-.7667 3.7514-.7667 1.4421 0 2.7291.27382 3.8609.82147 1.1318.52939 2.0446 1.28697 2.7382 2.27273.712.96751 1.1045 2.1267 1.1775 3.47756h-3.8883c-.0365-.71194-.2282-1.33261-.575-1.862-.3286-.54764-.7759-.96751-1.3418-1.25959-.5476-.31033-1.1865-.4655-1.9167-.4655s-1.3509.12779-1.862.38336c-.4929.23731-.8763.5659-1.1501.98576-.2738.40161-.4107.84885-.4107 1.34174 0 .49288.1369.90362.4107 1.2322.2738.31034.6298.55678 1.0679.73933.4381.18255.9128.32859 1.4239.43811l3.2311.65718c1.716.34682 3.0303.93102 3.9431 1.75252.9127.8032 1.3691 1.935 1.3691 3.3954Zm11.5731 6.4074c-1.3691 0-2.6561-.2555-3.8609-.7667-1.1866-.5294-2.2271-1.2596-3.1216-2.1906-.8945-.9492-1.5973-2.0445-2.1084-3.2858-.4929-1.2414-.7394-2.5831-.7394-4.0252 0-1.44219.2465-2.77479.7394-3.99787.5111-1.24134 1.2139-2.3275 2.1084-3.2585.8945-.931 1.935-1.65207 3.1216-2.16321 1.2048-.52939 2.4918-.794087 3.8609-.794087 1.6977 0 3.2402.355967 4.6276 1.067917 1.4056.69368 2.5648 1.67032 3.4776 2.92991.9127 1.25959 1.4786 2.71998 1.6977 4.38117h-4.0252c-.1643-.96751-.5203-1.82549-1.0679-2.57394-.5294-.74845-1.1957-1.33261-1.9989-1.75247-.8033-.41986-1.6978-.62979-2.6835-.62979-.8763 0-1.6795.16429-2.4097.49288s-1.36.79409-1.8893 1.3965c-.5294.60241-.9402 1.32348-1.2323 2.16321-.2738.82147-.4107 1.73418-.4107 2.73828 0 1.004.1369 1.9258.4107 2.7656.2921.8397.7029 1.5608 1.2323 2.1632.5293.6024 1.1591 1.077 1.8893 1.4239.7302.3285 1.5334.4928 2.4097.4928.9857 0 1.8802-.2099 2.6835-.6298.8032-.4198 1.4695-1.004 1.9989-1.7524.5476-.7667.9036-1.6338 1.0679-2.6013h4.0252c-.2191 1.6794-.785 3.1489-1.6977 4.4085-.9128 1.2596-2.072 2.2454-3.4776 2.9573-1.3874.6937-2.9299 1.0405-4.6276 1.0405ZM71.1325 21h-3.8061V1.33947h3.8061v7.88612h8.954V1.33947h3.8336V21h-3.8336v-8.4611h-8.954V21Zm25.6534 0h-3.8061V4.78965h-6.2706V1.33947h16.3468v3.45018h-6.2701V21Zm22.0661-3.3133V21h-12.98V1.33947h12.788v3.31326h-8.981v4.57286h8.187v3.31331h-8.187v5.1478h9.173ZM135.382 21l-9.419-14.21144V21h-3.505V1.33947h4.135l9.036 13.60903V1.33947h3.505V21h-3.752Zm21.052 0-9.42-14.21144V21h-3.505V1.33947h4.135l9.036 13.60903V1.33947h3.505V21h-3.751Zm11.933 0h-3.807V1.33947h3.807V21Zm19.278-5.9967c0 1.2048-.319 2.2818-.958 3.2311-.621.9492-1.515 1.6977-2.683 2.2453-1.15.5294-2.547.7941-4.19.7941-1.625 0-3.03-.2738-4.217-.8214-1.186-.5659-2.117-1.3509-2.793-2.3549-.675-1.004-1.068-2.1815-1.177-3.5324h3.861c.073 1.1136.465 2.0081 1.177 2.6835.712.6754 1.734 1.0132 3.067 1.0132.748 0 1.406-.1004 1.972-.3012.584-.2191 1.04-.5294 1.369-.931.346-.4199.52-.9128.52-1.4787 0-.6754-.247-1.2139-.739-1.6155-.475-.4017-1.178-.6937-2.109-.8763l-3.121-.6024c-.731-.146-1.415-.356-2.054-.6298-.639-.2738-1.205-.6298-1.698-1.0679-.474-.4381-.849-.95838-1.123-1.5608-.273-.62066-.41-1.34173-.41-2.1632 0-1.15006.31-2.17233.931-3.06683.62-.89449 1.469-1.5973 2.546-2.10844 1.096-.51113 2.346-.7667 3.752-.7667 1.442 0 2.729.27382 3.861.82147 1.131.52939 2.044 1.28697 2.738 2.27273.712.96751 1.104 2.1267 1.177 3.47756h-3.888c-.037-.71194-.228-1.33261-.575-1.862-.329-.54764-.776-.96751-1.342-1.25959-.547-.31033-1.186-.4655-1.917-.4655-.73 0-1.35.12779-1.862.38336-.492.23731-.876.5659-1.15.98576-.273.40161-.41.84885-.41 1.34174 0 .49288.137.90362.41 1.2322.274.31034.63.55678 1.068.73933.438.18255.913.32859 1.424.43811l3.231.65718c1.716.34682 3.031.93102 3.943 1.75252.913.8032 1.369 1.935 1.369 3.3954Z"}),(0,ft.jsx)("path",{fill:"#fff",d:"M10.5422 50H6.73606V33.7896H.4655v-3.4501h16.3473v3.4501h-6.2706V50Zm24.9135-19.6605v12.2946c0 1.5335-.3104 2.8843-.931 4.0526-.62
107 1.1683-1.5243 2.0811-2.7109 2.7383-1.1866.6571-2.6196.9857-4.299.9857-1.6795 0-3.1125-.3286-4.2991-.9857-1.1865-.6572-2.0901-1.57-2.7108-2.7383-.6207-1.1683-.931-2.5191-.931-4.0526V30.3395H23.38v12.4042c0 .8397.1552 1.5882.4655 2.2453.3104.639.7667 1.1318 1.3692 1.4787.6024.3468 1.3691.5202 2.3001.5202.9492 0 1.7251-.1734 2.3275-.5202.6024-.3469 1.0496-.8397 1.3417-1.4787.3103-.6571.4655-1.4056.4655-2.2453V30.3395h3.8062ZM43.5769 50h-3.8062V30.3395h7.5849c2.4279 0 4.3082.5476 5.6408 1.6429 1.3509 1.0953 2.0263 2.647 2.0263 4.655 0 1.3509-.4016 2.5374-1.2048 3.5597-.8032 1.004-1.9168 1.716-3.3407 2.1358L55.6251 50h-4.5455l-4.5728-7.092h-2.9299V50Zm0-16.4842v6.2432h3.5871c1.2961 0 2.291-.2556 2.9846-.7667.6937-.5294 1.0406-1.3144 1.0406-2.3549 0-1.0405-.3469-1.8164-1.0406-2.3275-.6936-.5294-1.6885-.7941-2.9846-.7941h-3.5871ZM71.5003 50l-9.4196-14.2114V50h-3.5049V30.3395h4.1347l9.0362 13.609v-13.609h3.5049V50h-3.7513Zm11.9329 0H79.627V30.3395h3.8062V50Zm17.3618-3.3133V50H87.8161V30.3395h12.7879v3.3132h-8.9818v4.5729h8.1873v3.3133h-8.1873v5.1478h9.1728ZM108.208 50h-3.806V30.3395h7.585c2.427 0 4.308.5476 5.64 1.6429 1.351 1.0953 2.027 2.647 2.027 4.655 0 1.3509-.402 2.5374-1.205 3.5597-.803 1.004-1.917 1.716-3.341 2.1358L120.256 50h-4.545l-4.573-7.092h-2.93V50Zm0-16.4842v6.2432h3.587c1.296 0 2.291-.2556 2.985-.7667.693-.5294 1.04-1.3144 1.04-2.3549 0-1.0405-.347-1.8164-1.04-2.3275-.694-.5294-1.689-.7941-2.985-.7941h-3.587ZM137.944 50l-3.807-14.2388L130.304 50h-3.888l-5.066-19.6605h3.751l3.341 13.8828 3.751-13.8828h3.916l3.669 13.9102 3.396-13.9102h3.724L141.832 50h-3.888Zm24.668-3.3133V50h-12.979V30.3395h12.787v3.3132h-8.981v4.5729h8.187v3.3133h-8.187v5.1478h9.173ZM178.705 50h-12.487V30.3395h3.807v16.2103h8.68V50Zm9.352 0h-3.806V33.7896h-6.271v-3.4501h16.347v3.4501h-6.27V50Z"})]})})}var W=x(L(),1);function At(){return(0,W.jsx)("div",{className:"w-[165px] md:w-[275px]",children:(0,W.jsxs)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 275 62",children:[(0,W.jsxs)("g",{clipPath:"url(#logo-clipPath)",children:[(0,W.jsx)("path",{d:"M12.292 61.672H0L18.479.2h12.276L12.292 61.672ZM92.265 61.672H79.973L98.435.2h12.293L92.265 61.672Z",fill:"#fff"}),(0,W.jsx)("path",{d:"M55.356 43.189c6.771 0 12.26-5.486 12.26-12.253s-5.489-12.253-12.26-12.253-12.26 5.486-12.26 12.253 5.489 12.253 12.26 12.253ZM145.858.2v16.417h-3.125V7.504l-4.167 9.13h-2.083l-4.167-9.13v9.13h-3.126V.2h2.741l5.609 12.125L143.15.2h2.74-.032ZM158.134.2h3.398l-5.481 10.17v6.263h-3.126v-6.262L147.444.2h3.398l3.654 7.03 3.654-7.03h-.016ZM129.158 22.72h12.789v2.995h-4.824v13.421h-3.125V25.715h-4.824V22.72h-.016ZM147.076 39.153h-3.125V22.72h3.125v16.433ZM149.848 27.316c0-.624.129-1.217.401-1.793a4.554 4.554 0 0 1 1.154-1.506c.497-.433 1.09-.769 1.795-1.025.705-.256 1.506-.385 2.388-.385.817 0 1.554.129 2.228.385.673.256 1.25.624 1.73 1.089a4.856 4.856 0 0 1 1.122 1.65c.257.64.385 1.329.385 2.066h-2.997c0-.737-.224-1.297-.657-1.714-.433-.416-1.042-.625-1.827-.625-.785 0-1.394.193-1.827.577-.433.384-.657.8-.657 1.25 0 .48.208.864.625 1.12.416.257.945.497 1.57.705.625.208 1.315.433 2.052.657a8.79 8.79 0 0 1 2.051.913c.625.384 1.154.88 1.571 1.505.416.625.625 1.426.625 2.419 0 .593-.144 1.17-.433 1.714a4.893 4.893 0 0 1-1.218 1.505c-.529.449-1.154.801-1.891 1.073-.737.273-1.555.4-2.468.4-.914 0-1.747-.127-2.468-.384a5.198 5.198 0 0 1-1.843-1.105 4.567 4.567 0 0 1-1.154-1.698c-.273-.656-.401-1.361-.401-2.146h3.125c0 .737.241 1.33.737 1.778.481.465 1.154.689 2.004.689.929 0 1.602-.192 2.067-.593.465-.4.673-.849.673-1.361 0-.513-.208-.897-.625-1.17a6.827 6.827 0 0 0-1.57-.736 45.68 45.68 0 0 0-2.052-.64 8.675 8.675 0 0 1-2.051-.866 4.962 4.962 0 0 1-1.571-1.425c-.416-.577-.625-1.346-.625-2.307l.032-.016ZM166.163 30.936c0 .785.128 1.506.385 2.146a5.503 5.503 0 0 0 1.041 1.698 4.487 4.487 0 0 0 3.382 1.49c.561 0 1.058-.08 1.507-.257.448-.16.849-.384 1.218-.656.352-.273.657-.577.881-.913.24-.337.417-.689.561-1.057h3.253a7.416 7.416 0 0 1-.945 2.242 7.754 7.754 0 0 1-1.603 1.858 7.834 7.834 0 0 1-2.195 1.281c-.834.32-1.731.48-2.693.48a7.39 7.39 0 0 1-3.061-.64c-.962-.432-1.811-1.009-2.532-1.778a8.459 8.459 0 0 1-1.71
15-2.643c-.433-1.009-.641-2.098-.641-3.283s.208-2.258.641-3.267c.433-1.01.994-1.906 1.715-2.66a8.039 8.039 0 0 1 2.532-1.777 7.389 7.389 0 0 1 3.061-.64c.946 0 1.811.16 2.628.48.802.32 1.523.753 2.148 1.281a7.69 7.69 0 0 1 1.587 1.858c.432.72.753 1.458.945 2.242h-3.269a3.537 3.537 0 0 0-.497-1.057 4.147 4.147 0 0 0-.849-.913c-.337-.272-.738-.48-1.186-.656a4.506 4.506 0 0 0-1.507-.24 4.487 4.487 0 0 0-3.382 1.49 5.503 5.503 0 0 0-1.041 1.697 5.799 5.799 0 0 0-.385 2.146l.016.048ZM193.777 22.72v16.416h-3.125v-6.903h-6.908v6.904h-3.125V22.718h3.125v6.52h6.908v-6.52h3.125ZM195.829 22.72h12.789v2.995h-4.824v13.421h-3.125V25.715h-4.824V22.72h-.016ZM222.241 36.141v2.995h-11.603V22.72h11.347v2.996h-8.222v3.523h7.564v2.995h-7.564v3.908h8.478ZM237.834 22.72v16.416h-2.741l-7.308-10.683v10.683h-3.125V22.72h2.741l7.308 10.684V22.72h3.125ZM254.214 22.72v16.416h-2.741l-7.308-10.683v10.683h-3.125V22.72h2.741l7.308 10.684V22.72h3.125ZM260.689 39.153h-3.126V22.72h3.126v16.433ZM263.253 27.316c0-.624.128-1.217.4-1.793a4.567 4.567 0 0 1 1.154-1.506c.497-.433 1.09-.769 1.795-1.025.705-.256 1.507-.385 2.388-.385.818 0 1.555.129 2.228.385.673.256 1.25.624 1.731 1.089a4.87 4.87 0 0 1 1.122 1.65c.256.64.384 1.329.384 2.066h-2.997c0-.737-.224-1.297-.657-1.714-.433-.416-1.042-.625-1.827-.625-.785 0-1.394.193-1.827.577-.433.384-.657.8-.657 1.25 0 .48.208.864.625 1.12.417.257.946.497 1.571.705.625.208 1.314.433 2.051.657a8.79 8.79 0 0 1 2.051.913c.625.384 1.154.88 1.571 1.505.417.625.625 1.426.625 2.419 0 .593-.144 1.17-.433 1.714a4.893 4.893 0 0 1-1.218 1.505c-.529.449-1.154.801-1.891 1.073-.737.273-1.554.4-2.468.4-.913 0-1.747-.127-2.468-.384a5.198 5.198 0 0 1-1.843-1.105 4.567 4.567 0 0 1-1.154-1.698c-.272-.656-.401-1.361-.401-2.146h3.126c0 .737.24 1.33.737 1.778.481.465 1.154.689 2.003.689.93 0 1.603-.192 2.068-.593.464-.4.673-.849.673-1.361 0-.513-.209-.897-.625-1.17a6.856 6.856 0 0 0-1.571-.736 46.027 46.027 0 0 0-2.051-.64 8.665 8.665 0 0 1-2.052-.866 4.948 4.948 0 0 1-1.57-1.425c-.417-.593-.625-1.346-.625-2.307l.032-.016Z",fill:"#71D2D6"}),(0,W.jsx)("path",{d:"M127.459 60.103c0-.449.176-.85.513-1.186.336-.336.737-.512 1.186-.512.449 0 .849.176 1.186.512.336.337.513.737.513 1.186 0 .448-.177.848-.513 1.185-.337.336-.737.512-1.186.512-.449 0-.85-.176-1.186-.512-.337-.337-.513-.737-.513-1.185ZM134.126 61.656V45.24h5.225a7.3 7.3 0 0 1 3.077.673 8.83 8.83 0 0 1 2.58 1.778 8.483 8.483 0 0 1 1.779 2.61c.433.993.657 2.05.657 3.156a7.834 7.834 0 0 1-.657 3.155 8.396 8.396 0 0 1-1.779 2.61 8.785 8.785 0 0 1-2.58 1.794 7.3 7.3 0 0 1-3.077.673h-5.225v-.032Zm5.225-2.995c.641 0 1.266-.144 1.859-.416a5.08 5.08 0 0 0 1.586-1.122 5.01 5.01 0 0 0 1.09-1.65c.273-.64.401-1.313.401-2.017 0-.705-.128-1.394-.401-2.019a5.368 5.368 0 0 0-1.09-1.65 5.479 5.479 0 0 0-1.586-1.12 4.432 4.432 0 0 0-1.859-.417h-2.084v10.427h2.084v-.016ZM161.323 58.661v2.995H149.72V45.24h11.347v2.995h-8.222v3.524h7.564v2.995h-7.564v3.908h8.478Z",fill:"#fff"})]}),(0,W.jsx)("defs",{children:(0,W.jsx)("clipPath",{id:"logo-clipPath",children:(0,W.jsx)("path",{fill:"#fff",transform:"translate(0 .2)",d:"M0 0h275v61.6H0z"})})})]})})}var Ft=x(rt(),1),G=x(L(),1);function dr(){let[t,e]=(0,Ft.useState)(!1),r=a=>{a.key==="G"&&a.shiftKey&&e(o=>!o)};return(0,Ft.useEffect)(()=>(window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)})),(0,G.jsxs)("div",{id:"gridOverlay","data-snippet":"grid-overlay",className:`${t?"":"!hidden"} grid--mytt pointer-events-none fixed top-5 z-50 h-full w-full 2xl:left-1/2 2xl:-translate-x-1/2`,children:[(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA001"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA002"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA003"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA004"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA005"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA006"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA007"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA008"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA009"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA010"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA011"}),(0,G.jsx)("div",{className:"h-screen border-dashed bg-mint/40 font-mono text-xs text-white md:text-base",children:"\xA012"})]})}var Yt=x(L(),1);function Qt(){let t=Mt().association;if(!t)return null;let e=`click-tt-supplier-${t.toLowerCase()}`;return(0,Yt.jsx)("div",{className:"grid--mytt",children:(0,Yt.jsx)("div",{className:"col-span-full md:col-span-8 md:col-start-3 mb-12 flex items-center justify-center",children:(0,Yt.jsx)(rr,{position:e})})})}var zt=x(L(),1);function mr({email:t}){return(0,zt.jsxs)("div",{className:"fixed top-0 text-white text-sm text-center bg-coral shadow-lg px-5 py-3 justify-self-center z-50",style:{clipPath:"pol
1ygon(0 0, 100% 0, calc(100% - .5rem) 100%, .5rem 100%)"},children:["substitute mode for ",t,(0,zt.jsx)("form",{className:"inline-block ml-2",action:"/logout",method:"post",children:(0,zt.jsx)(Dt,{className:"text-sm font-bold uppercase text-white py-1 px-2 h-auto",variant:"link",type:"submit",name:"intent",value:"logout",children:"logout"})})]})}var ht=x(L(),1);function pr({className:t,clickHandler:e,isOpen:r}){return(0,ht.jsxs)("button",{"aria-label":"Menu",className:I(`${r?"bg-mint":"bg-white"} flex h-[52px] w-[52px] flex-col items-center justify-between rounded-full py-[1.125rem] ${t}`),onClick:e,children:[(0,ht.jsx)("span",{className:`${r?"translate-x-0 translate-y-[7px] rotate-45":"translate-x-0.5"} block h-[2px] w-[21px] rounded bg-darkBlue transition`}),(0,ht.jsx)("span",{className:`block h-[2px] w-[21px] rounded bg-darkBlue transition ${r&&"hidden"}`}),(0,ht.jsx)("span",{className:`${r?"-translate-y-[7px] translate-x-0 -rotate-45":"-translate-x-0.5"} block h-[2px] w-[21px] rounded bg-darkBlue transition`})]})}var vt=x(L(),1);function te({partners:t,className:e}){return(0,vt.jsx)("aside",{className:I("grid--mytt",e),"aria-label":"Partners",children:(0,vt.jsx)("div",{className:"col-span-12 flex flex-wrap justify-between px-4 md:px-0",children:t.map(r=>(0,vt.jsx)("div",{className:"mb-10 w-32 md:w-36 lg:mb-0 lg:w-40",children:(0,vt.jsx)(Z,{to:r.externalUrl,target:"_blank",rel:"noopener noreferrer","aria-label":r.name,children:(0,vt.jsx)("img",{src:r.logo.url,loading:"lazy",width:"160",height:"44",alt:r.name})})},r.id))})})}var E=x(rt(),1),wr=x(Se(),1);var M=x(L(),1),ne="ToastProvider",[ie,Ca,za]=Et("Toast"),[ur,rn]=Vt("Toast",[za]),[_a,Bt]=ur(ne),fr=t=>{let{__scopeToast:e,label:r="Notification",duration:a=5e3,swipeDirection:o="right",swipeThreshold:n=50,children:s}=t,[d,m]=E.useState(null),[g,c]=E.useState(0),b=E.useRef(!1),z=E.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${ne}\`. Expected non-empty \`string\`.`),(0,M.jsx)(ie.Provider,{scope:e,children:(0,M.jsx)(_a,{scope:e,label:r,duration:a,swipeDirection:o,swipeThreshold:n,toastCount:g,viewport:d,onViewportChange:m,onToastAdd:E.useCallback(()=>c(N=>N+1),[]),onToastRemove:E.useCallback(()=>c(N=>N-1),[]),isFocusedToastEscapeKeyDownRef:b,isClosePausedRef:z,children:s})})};fr.displayName=ne;var hr="ToastViewport",Pa=["F8"],re="toast.viewportPause",ae="toast.viewportResume",vr=E.forwardRef((t,e)=>{let{__scopeToast:r,hotkey:a=Pa,label:o="Notifications ({hotkey})",...n}=t,s=Bt(hr,r),d=Ca(r),m=E.useRef(null),g=E.useRef(null),c=E.useRef(null),b=E.useRef(null),z=J(e,b,s.onViewportChange),N=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=s.toastCount>0;E.useEffect(()=>{let u=T=>{a.every(l=>T[l]||T.code===l)&&b.current?.focus()};return document.addEventListener("keydown",u),()=>document.removeEventListener("keydown",u)},[a]),E.useEffect(()=>{let u=m.current,T=b.current;if(h&&u&&T){let k=()=>{if(!s.isClosePausedRef.current){let y=new CustomEvent(re);T.dispatchEvent(y),s.isClosePausedRef.current=!0}},l=()=>{if(s.isClosePausedRef.current){let y=new CustomEvent(ae);T.dispatchEvent(y),s.isClosePausedRef.current=!1}},f=y=>{!u.contains(y.relatedTarget)&&l()},p=()=>{u.contains(document.activeElement)||l()};return u.addEventListener("focusin",k),u.addEventListener("focusout",f),u.addEventListener("pointermove",k),u.addEventListener("pointerleave",p),window.addEventListener("blur",k),window.addEventListener("focus",l),()=>{u.removeEventListener("focusin",k),u.removeEventListener("focusout",f),u.removeEventListener("pointermove",k),u.removeEventListener("pointerleave",p),window.removeEventListener("blur",k),window.removeEventListener("focus",l)}}},[h,s.isClosePausedRef]);let w=E.useCallback(({tabbingDirection:u})=>{let k=d().map(l=>{let f=l.ref.current,p=[f,...Xa(f)];return u==="forwards"?p:p.reverse()});return(u==="forwards"?k.reverse():k).flat()},[d]);return E.useEffect(()=>{let u=b.current;if(u){let T=k=>{let l=k.altKey||k.ctrlKey||k.metaKey;if(k.key==="Tab"&&!l){let p=document.activeElement,y=k.shiftKey;if(k.target===u&&y){g.current?.focus();return}let _=w({tabbingDirection:y?"backwards":"forwards"}),B=_.findIndex(K=>
1K===p);ee(_.slice(B+1))?k.preventDefault():y?g.current?.focus():c.current?.focus()}};return u.addEventListener("keydown",T),()=>u.removeEventListener("keydown",T)}},[d,w]),(0,M.jsxs)(Ze,{ref:m,role:"region","aria-label":o.replace("{hotkey}",N),tabIndex:-1,style:{pointerEvents:h?void 0:"none"},children:[h&&(0,M.jsx)(oe,{ref:g,onFocusFromOutsideViewport:()=>{let u=w({tabbingDirection:"forwards"});ee(u)}}),(0,M.jsx)(ie.Slot,{scope:r,children:(0,M.jsx)(O.ol,{tabIndex:-1,...n,ref:z})}),h&&(0,M.jsx)(oe,{ref:c,onFocusFromOutsideViewport:()=>{let u=w({tabbingDirection:"backwards"});ee(u)}})]})});vr.displayName=hr;var br="ToastFocusProxy",oe=E.forwardRef((t,e)=>{let{__scopeToast:r,onFocusFromOutsideViewport:a,...o}=t,n=Bt(br,r);return(0,M.jsx)($t,{"aria-hidden":!0,tabIndex:0,...o,ref:e,style:{position:"fixed"},onFocus:s=>{let d=s.relatedTarget;!n.viewport?.contains(d)&&a()}})});oe.displayName=br;var Kt="Toast",Ma="toast.swipeStart",Sa="toast.swipeMove",La="toast.swipeCancel",Ia="toast.swipeEnd",xr=E.forwardRef((t,e)=>{let{forceMount:r,open:a,defaultOpen:o,onOpenChange:n,...s}=t,[d=!0,m]=Rt({prop:a,defaultProp:o,onChange:n});return(0,M.jsx)(lt,{present:r||d,children:(0,M.jsx)(Aa,{open:d,...s,ref:e,onClose:()=>m(!1),onPause:H(t.onPause),onResume:H(t.onResume),onSwipeStart:V(t.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:V(t.onSwipeMove,g=>{let{x:c,y:b}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${b}px`)}),onSwipeCancel:V(t.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:V(t.onSwipeEnd,g=>{let{x:c,y:b}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${b}px`),m(!1)})})})});xr.displayName=Kt;var[Da,Va]=ur(Kt,{onClose(){}}),Aa=E.forwardRef((t,e)=>{let{__scopeToast:r,type:a="foreground",duration:o,open:n,onClose:s,onEscapeKeyDown:d,onPause:m,onResume:g,onSwipeStart:c,onSwipeMove:b,onSwipeCancel:z,onSwipeEnd:N,...h}=t,w=Bt(Kt,r),[u,T]=E.useState(null),k=J(e,P=>T(P)),l=E.useRef(null),f=E.useRef(null),p=o||w.duration,y=E.useRef(0),C=E.useRef(p),A=E.useRef(0),{onToastAdd:_,onToastRemove:B}=w,K=H(()=>{u?.contains(document.activeElement)&&w.viewport?.focus(),s()}),j=E.useCallback(P=>{!P||P===1/0||(window.clearTimeout(A.current),y.current=new Date().getTime(),A.current=window.setTimeout(K,P))},[K]);E.useEffect(()=>{let P=w.viewport;if(P){let q=()=>{j(C.current),g?.()},et=()=>{let yt=new Date().getTime()-y.current;C.current=C.current-yt,window.clearTimeout(A.current),m?.()};return P.addEventListener(re,et),P.addEventListener(ae,q),()=>{P.removeEventListener(re,et),P.removeEventListener(ae,q)}}},[w.viewport,p,m,g,j]),E.useEffect(()=>{n&&!w.isClosePausedRef.current&&j(p)},[n,p,w.isClosePausedRef,j]),E.useEffect(()=>(_(),()=>B()),[_,B]);let mt=E.useMemo(()=>u?Cr(u):null,[u]);return w.viewport?(0,M.jsxs)(M.Fragment,{children:[mt&&(0,M.jsx)(Fa,{__scopeToast:r,role:"status","aria-live":a==="foreground"?"assertive":"polite","aria-atomic":!0,children:mt}),(0,M.jsx)(Da,{scope:r,onClose:K,children:wr.createPortal((0,M.jsx)(ie.ItemSlot,{scope:r,children:(0,M.jsx)(Ue,{asChild:!0,onEscapeKeyDown:V(d,()=>{w.isFocusedToastEscapeKeyDownRef.current||K(),w.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,M.jsx)(O.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":n?"open":"closed","data-swipe-direction":w.swipeDirection,...h,ref:k,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:V(t.onKeyDown,P=>{P.key==="Escape"&&(d?.(P.nativeEvent),P.nativeEvent.defaultPrevented||(w.isFocusedToastEscapeKeyDownRef.current=!0,K())
1)}),onPointerDown:V(t.onPointerDown,P=>{P.button===0&&(l.current={x:P.clientX,y:P.clientY})}),onPointerMove:V(t.onPointerMove,P=>{if(!l.current)return;let q=P.clientX-l.current.x,et=P.clientY-l.current.y,yt=Boolean(f.current),kt=["left","right"].includes(w.swipeDirection),_t=["left","up"].includes(w.swipeDirection)?Math.min:Math.max,Ra=kt?_t(0,q):0,Na=kt?0:_t(0,et),jt=P.pointerType==="touch"?10:2,Pt={x:Ra,y:Na},Me={originalEvent:P,delta:Pt};yt?(f.current=Pt,Ot(Sa,b,Me,{discrete:!1})):gr(Pt,w.swipeDirection,jt)?(f.current=Pt,Ot(Ma,c,Me,{discrete:!1}),P.target.setPointerCapture(P.pointerId)):(Math.abs(q)>jt||Math.abs(et)>jt)&&(l.current=null)}),onPointerUp:V(t.onPointerUp,P=>{let q=f.current,et=P.target;if(et.hasPointerCapture(P.pointerId)&&et.releasePointerCapture(P.pointerId),f.current=null,l.current=null,q){let yt=P.currentTarget,kt={originalEvent:P,delta:q};gr(q,w.swipeDirection,w.swipeThreshold)?Ot(Ia,N,kt,{discrete:!0}):Ot(La,z,kt,{discrete:!0}),yt.addEventListener("click",_t=>_t.preventDefault(),{once:!0})}})})})}),w.viewport)})]}):null}),Fa=t=>{let{__scopeToast:e,children:r,...a}=t,o=Bt(Kt,e),[n,s]=E.useState(!1),[d,m]=E.useState(!1);return Ba(()=>s(!0)),E.useEffect(()=>{let g=window.setTimeout(()=>m(!0),1e3);return()=>window.clearTimeout(g)},[]),d?null:(0,M.jsx)(We,{asChild:!0,children:(0,M.jsx)($t,{...a,children:n&&(0,M.jsxs)(M.Fragment,{children:[o.label," ",r]})})})},Ya="ToastTitle",yr=E.forwardRef((t,e)=>{let{__scopeToast:r,...a}=t;return(0,M.jsx)(O.div,{...a,ref:e})});yr.displayName=Ya;var Oa="ToastDescription",kr=E.forwardRef((t,e)=>{let{__scopeToast:r,...a}=t;return(0,M.jsx)(O.div,{...a,ref:e})});kr.displayName=Oa;var Tr="ToastAction",Rr=E.forwardRef((t,e)=>{let{altText:r,...a}=t;return r.trim()?(0,M.jsx)(Er,{altText:r,asChild:!0,children:(0,M.jsx)(se,{...a,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${Tr}\`. Expected non-empty \`string\`.`),null)});Rr.displayName=Tr;var Nr="ToastClose",se=E.forwardRef((t,e)=>{let{__scopeToast:r,...a}=t,o=Va(Nr,r);return(0,M.jsx)(Er,{asChild:!0,children:(0,M.jsx)(O.button,{type:"button",...a,ref:e,onClick:V(t.onClick,o.onClose)})})});se.displayName=Nr;var Er=E.forwardRef((t,e)=>{let{__scopeToast:r,altText:a,...o}=t;return(0,M.jsx)(O.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...o,ref:e})});function Cr(t){let e=[];return Array.from(t.childNodes).forEach(a=>{if(a.nodeType===a.TEXT_NODE&&a.textContent&&e.push(a.textContent),Ka(a)){let o=a.ariaHidden||a.hidden||a.style.display==="none",n=a.dataset.radixToastAnnounceExclude==="";if(!o)if(n){let s=a.dataset.radixToastAnnounceAlt;s&&e.push(s)}else e.push(...Cr(a))}}),e}function Ot(t,e,r,{discrete:a}){let o=r.originalEvent.currentTarget,n=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r});e&&o.addEventListener(t,e,{once:!0}),a?Nt(o,n):o.dispatchEvent(n)}var gr=(t,e,r=0)=>{let a=Math.abs(t.x),o=Math.abs(t.y),n=a>o;return e==="left"||e==="right"?n&&a>r:!n&&o>r};function Ba(t=()=>{}){let e=H(t);gt(()=>{let r=0,a=0;return r=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(a)}},[e])}function Ka(t){return t.nodeType===t.ELEMENT_NODE}function Xa(t){let e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{let o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function ee(t){let e=document.activeElement;return t.some(r=>r===e?!0:(r.focus(),document.activeElement!==e))}var zr=fr,le=vr,ce=xr,de=yr,me=kr,pe=Rr,ge=se;var ct=x(rt(),1);var ot=x(L(),1),_r=zr,we=ct.forwardRef(({className:t,...e},r)=>(0,ot.jsx)(le,{label:"Benachrichtigung ({hotkey})",ref:r,className:I("fixed z-[100] top-0 flex max-h-screen w-full flex-col-reverse p-7 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px] lg:max-w-[680px] gap-4",t),...e}));we.displayName=le.displayName;var ja=je("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-xl py-5 pl-4 pr-12 shadow-card transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"bg-mint text-foreground",destructive:"destructive group border-coral bg-coral text-white",info:"info group bg-darkBlue text-white",warning:"bg-warning text-foreground"}},defaultVariants:{variant:"default"}}),ue=ct.forwardRef(({className:t,variant:e,...r},a)=>(0,ot.jsx)(ce,{ref:a,className:I(ja({variant:e}),t),...r}));ue.displayName=ce.displayName;var Ha=ct.forwardRef(({className:t,...e},r)=>(0,ot.jsx)(pe,{ref:r,className:I("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-body-sm transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));Ha.displayName=pe.displayName;var fe=ct.forwardRef(({className:t,...e},r)=>(0,ot.jsx)(ge,{ref:r,className:I("absolute right-2 top-2 rounded-md p-1 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-error group-[.destructive]:focus:ring-offset-red-600 group-[.info]:text-darkBlue",t),"toast-close":"",...e,children:(0,ot.jsx)(X,{className:"bg-white border rounded-full p-1.5",size:"sm",name:"close"})}));fe.displayName=ge.displayName;var he=ct.forwardRef(({className:t,...e},r)=>(0,ot.jsx)(de,{ref:r,className:I("text-h4 [&+div]:text-body-sm",t),...e}));
1he.displayName=de.displayName;var ve=ct.forwardRef(({className:t,...e},r)=>(0,ot.jsx)(me,{ref:r,className:I("text-body-sm opacity-90",t),...e}));ve.displayName=me.displayName;var tt=x(L(),1);function be(){let{toasts:t}=It();return(0,tt.jsxs)(_r,{children:[t.map(function({id:e,title:r,description:a,action:o,...n}){return(0,tt.jsxs)(ue,{...n,children:[(0,tt.jsxs)("div",{className:"grid gap-1","data-testid":"notification-message",children:[r&&(0,tt.jsx)(he,{children:r}),a&&(0,tt.jsx)(ve,{children:a})]}),o,(0,tt.jsx)(fe,{"aria-label":"Schlie\xDFen"})]},e)}),(0,tt.jsx)(we,{})]})}var S=x(L(),1);function dt({links:t}){return t.map(e=>{if(!e.title)return null;let r=!e.uri&&!!e.url,a=(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(X,{name:"arrow",className:"shrink-0 bg-white text-darkBlue rounded-full",size:"sm"}),(0,S.jsx)("span",{className:"ml-2.5",children:e.title})]});return(0,S.jsx)("div",{className:"mb-3 lg:mb-6",children:r?(0,S.jsx)("a",{className:"flex items-center transition-all hover:text-mint",href:e.url,target:"_blank",rel:"noopener noreferrer",children:a}):(0,S.jsx)(Z,{className:"flex items-center transition-all hover:text-mint",to:`/${e.uri??e.id}`,children:a})},e.id)})}function xe({footerItems:t,className:e}){let{pathname:r}=at(),a=pt("root"),o=it(),n=r.includes("/click-tt"),s=r.includes("/bundesliga_livescoring"),d=/^\/turnierwelt(\/|$)/.test(r),m=r.includes(st.tournamentLicenseOverview),g=n||s?"bg-purple":"bg-darkBlue",c="dttb",b=[{id:"datenschutz",title:"Datenschutz"},{id:"impressum",title:"Impressum"},{id:"kontakt",title:"Kontakt"}];if(n){let w=r.split("/")[2];if(w==="verbaende")c="dttb";else if(w==="mein-clicktt"){let T=a?.userProfile?.favourite_leagues?.find(k=>k.use_for_myclicktt===!0)?.organization_short||a?.association||"dttb";c=wt(T)}else if(r.includes("spielerportrait")){let T=o.find(l=>l.id.includes("spielerportrait"))?.data,k=T?.association||T?.data?.player_infos?.organization_short;k?c=wt(k):c=wt("dttb")}else c=wt(w)}let z=h=>h.map(w=>({id:w.pageid?w.pageid:w.link,title:w.text,url:w.link,uri:w.uri})),N=(h,w)=>h.map(u=>({id:"click-tt/"+w+"/"+u.id,title:u.title,url:"",uri:null}));return(0,S.jsx)("footer",{className:I("relative overflow-hidden",g,"text-white",e),children:(0,S.jsxs)("div",{className:"grid--mytt relative pt-8 text-heading-small",children:[!d&&(0,S.jsx)("div",{className:"absolute bottom-8 left-8 z-10 hidden text-h2 text-darkBlue md:block lg:block",children:(0,S.jsx)("span",{children:"Cho!"})}),(0,S.jsx)("div",{className:"absolute -left-[105%] top-0 h-full w-full -skew-x-[16deg] bg-extraLightGrey md:-left-[97.5%] lg:-left-[77.5%]"}),(0,S.jsx)("div",{className:"relative col-span-2 row-span-full h-full md:col-span-2 md:mb-16 lg:col-span-3"}),!n&&!s&&!d&&t.sociallinks.map(h=>(0,S.jsx)("div",{className:"col-span-2 md:col-span-1",children:(0,S.jsx)(Z,{target:"_blank",to:h.externalUrl,rel:"noopener noreferrer","aria-label":`Follow us on ${h.name}`,children:(0,S.jsx)(X,{className:"lg:m-auto",size:"sm",name:h.name.toLowerCase()})})},h.id)),(0,S.jsx)("div",{className:"col-span-10 col-start-3 pt-16 md:col-span-5 md:col-start-3 md:pt-0 lg:col-span-2 lg:col-start-9",children:(0,S.jsxs)("div",{className:"mb-8 lg:my-0",children:[(n||s)&&!m&&(0,S.jsx)(dt,{links:N(b,c)}),m&&(0,S.jsx)(dt,{links:z(t.tlfooterlinks1)}),d&&(0,S.jsx)(dt,{links:z(t.twfooterlinks1)}),!n&&!s&&!d&&(0,S.jsx)(dt,{links:t.footerlinks1})]})}),(0,S.jsxs)("div",{className:"col-span-10 col-start-3 text-heading-small md:col-span-5 md:col-start-8 lg:col-span-2 lg:col-start-11",children:[m&&(0,S.jsx)(dt,{links:z(t.tlfooterlinks2)}),d&&(0,S.jsx)(dt,{links:z(t.twfooterlinks2)}),!n&&!s&&!d&&(0,S.jsx)(dt,{links:t.footerlinks2})]}),(0,S.jsx)("div",{className:"col-span-10 col-start-3 mb-10 mt-[3.5rem] text-heading-small md:col-span-4 md:col-start-3 lg:col-span-4 lg:col-start-9 lg:mb-[1.5rem]",children:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:m?t.tlfootertext:d?t.twfootertext:t.footertext}})})]})})}var v=x(rt(),1),Sr=x(Se(),1);var R=x(L(),1),xt="NavigationMenu",[Ne,Lr,Ua]=Et(xt),[ye,Za,Wa]=Et(xt),[Ee,Mn]=Vt(xt,[Ua,Wa]),[$a,U]=Ee(xt),[qa,Ja]=Ee(xt),Ir=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:o,defaultValue:n,delayDuration:s=200,skipDelayDuration:d=300,orientation:m="horizontal",dir:g,...c}=t,[b,z]=v.useState(null),N=J(e,_=>z(_)),h=ar(g),w=v.useRef(0),u=v.useRef(0),T=v.useRef(0),[k,l]=v.useState(!0),[f="",p]=Rt({prop:a,onChange:_=>{let B=_!=="",K=d>0;B?(window.clearTimeout(T.current),K&&l(!1)):(window.clearTimeout(T.current),T.current=window.setTimeout(()=>l(!0),d)),o?.(_)},defaultProp:n}),y=v.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>p(""),150)},[p]),C=v.useCallback(_=>{window.clearTimeout(u.current),p(_)},[p]),A=v.useCallback(_=>{f===_?window.clearTimeout(u.current):w.current=window.setTimeout(()=>{window.clearTimeout(u.current),p(_)},s)},[f,p,s]);return v.useEffect(()=>()=>{window.clearTimeout(w.current),window.clearTimeout(u.current),window.clearTimeout(T.current)},[]),(0,R.jsx)(Vr,{scope:r,isRootMenu:!0,value:f,dir:h,orientation:m,rootNavigationMenu:b,onTriggerEnter:_=>{window.clearTimeout(w.current),k?A(_):C(_)},onTriggerLeave:()=>{window.clearTimeout(w.current),y()},onContentEnter:()=>window.clearTimeout(u.current),onContentLeave:y,onItemSelect:_=>{p(B=>B===_?"":_)},onItemDismiss:()=>p(""),children:(0,R.jsx)(O.nav,{"aria-label":"Main","data-orientation":m,dir:h,...c,ref:N})})});Ir.displayName=xt;var Dr="NavigationMenuSub",Qa=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:o,defaultValue:n,orientation:s="horizontal",...d}=t,m=U(Dr,r),[g="",c]=Rt({prop:a,onChange:o,defaultProp:n});return(0,R.jsx)(Vr,{scope:r,isRootMenu:!1,value:g,dir:m.dir,orientation:s,rootNavigationMenu:m.rootNavigationMenu,onTriggerEnter:b=>c(b),onItemSelect:b=>c(b),onItemDismiss:()=>c(""),children:(0,R.jsx)(O.div,{"data-orientation":s,...d,ref:e})})});Qa.displayName=Dr;var Vr=t=>{let{scope:e,isRootMenu:r,rootNavigationMenu:a,dir:o,orientation:n,children:s,value:d,onItemSelect:m,onItemDismiss:g,onTriggerEnter:c,onTriggerLeave:b,onContentEnter:z,onContentLeave:N}=t,[h,w]=v.useState(null),[u,T]=v.useState(new Map),[k,l]=v.useState(null);return(0,R.jsx)($a,{scope:e,isRootMenu:r,rootNavigationMenu:a,value:d,previousValue:Qe(d),baseId:Wt(),dir:o,orientation:n,viewport:h,onViewportChange:w,indicatorTrack:k,onIndicatorTrackChange:l,onTriggerEnter:H(c),onTriggerLeave:H(b),onContentEnter:H(z),onContentLeave:H(N),onItemSelect:H(m),onItemDismiss:H(g),onViewportContentChange:v.useCallback((f,p)=>{T(y=>(y.set(f,p),new Map(y)))},[]),onViewportContentRemove:v.useCallback(f=>{T(p=>p.has(f)?(p.delete(f),new Map(p)):p)},[]),children:(0,R.jsx)(Ne.Provider,{scope:e,children:(0,R.jsx)(qa,{scope:e,items:u,children:s})})})},Ar="NavigationMenuList",Fr=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,...a}=t,o=U(Ar,r),n=(0,R.jsx)(O.ul,{"data-orientation":o.orientation,...a,ref:e});return(0,R.jsx)(O.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,R.jsx)(Ne.Slot,{scope:r,children:o.isRootMenu?(0,R.jsx)(Ur,{asChild:!0,children:n}):n})})});Fr.displayName=Ar;var Yr="NavigationMenuItem",[to,Or]=Ee(Yr),Br=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,value:a,...o}=t,n=Wt(),s=a||n||"LEGACY_REACT_AUTO_VALUE",d=v.useRef(null),m=v.useRef(null),g=v.useRef(null),c=v.useRef(()=>{}),b=v.useRef(!1),z=v.useCallback((h="start")=>{if(d.current){c.current();let w=Te(d.current);w.length&&_e(h==="start"?w:w.reverse())}},[]),N=v.useCallback(()=>
vendor: 8,266 bytes, line 1
1{if(d.current){let h=Te(d.current);h.length&&(c.current=lo(h))}},[]);return(0,R.jsx)(to,{scope:r,value:s,triggerRef:m,contentRef:d,focusProxyRef:g,wasEscapeCloseRef:b,onEntryKeyDown:z,onFocusProxyEnter:z,onRootContentClose:N,onContentFocusOutside:N,children:(0,R.jsx)(O.li,{...o,ref:e})})});Br.displayName=Yr;var ke="NavigationMenuTrigger",Kr=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,disabled:a,...o}=t,n=U(ke,t.__scopeNavigationMenu),s=Or(ke,t.__scopeNavigationMenu),d=v.useRef(null),m=J(d,s.triggerRef,e),g=Wr(n.baseId,s.value),c=$r(n.baseId,s.value),b=v.useRef(!1),z=v.useRef(!1),N=s.value===n.value;return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(Ne.ItemSlot,{scope:r,value:s.value,children:(0,R.jsx)(Zr,{asChild:!0,children:(0,R.jsx)(O.button,{id:g,disabled:a,"data-disabled":a?"":void 0,"data-state":Pe(N),"aria-expanded":N,"aria-controls":c,...o,ref:m,onPointerEnter:V(t.onPointerEnter,()=>{z.current=!1,s.wasEscapeCloseRef.current=!1}),onPointerMove:V(t.onPointerMove,Gt(()=>{a||z.current||s.wasEscapeCloseRef.current||b.current||(n.onTriggerEnter(s.value),b.current=!0)})),onPointerLeave:V(t.onPointerLeave,Gt(()=>{a||(n.onTriggerLeave(),b.current=!1)})),onClick:V(t.onClick,()=>{n.onItemSelect(s.value),z.current=N}),onKeyDown:V(t.onKeyDown,h=>{let u={horizontal:"ArrowDown",vertical:n.dir==="rtl"?"ArrowLeft":"ArrowRight"}[n.orientation];N&&h.key===u&&(s.onEntryKeyDown(),h.preventDefault())})})})}),N&&(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)($e,{"aria-hidden":!0,tabIndex:0,ref:s.focusProxyRef,onFocus:h=>{let w=s.contentRef.current,u=h.relatedTarget,T=u===d.current,k=w?.contains(u);(T||!k)&&s.onFocusProxyEnter(T?"start":"end")}}),n.viewport&&(0,R.jsx)("span",{"aria-owns":c})]})]})});Kr.displayName=ke;var eo="NavigationMenuLink",Pr="navigationMenu.linkSelect",Xr=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,active:a,onSelect:o,...n}=t;return(0,R.jsx)(Zr,{asChild:!0,children:(0,R.jsx)(O.a,{"data-active":a?"":void 0,"aria-current":a?"page":void 0,...n,ref:e,onClick:V(t.onClick,s=>{let d=s.target,m=new CustomEvent(Pr,{bubbles:!0,cancelable:!0});if(d.addEventListener(Pr,g=>o?.(g),{once:!0}),Nt(d,m),!m.defaultPrevented&&!s.metaKey){let g=new CustomEvent(Xt,{bubbles:!0,cancelable:!0});Nt(d,g)}},{checkForDefaultPrevented:!1})})})});Xr.displayName=eo;var Ce="NavigationMenuIndicator",ro=v.forwardRef((t,e)=>{let{forceMount:r,...a}=t,o=U(Ce,t.__scopeNavigationMenu),n=Boolean(o.value);return o.indicatorTrack?Sr.default.createPortal((0,R.jsx)(lt,{present:r||n,children:(0,R.jsx)(ao,{...a,ref:e})}),o.indicatorTrack):null});ro.displayName=Ce;var ao=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,...a}=t,o=U(Ce,r),n=Lr(r),[s,d]=v.useState(null),[m,g]=v.useState(null),c=o.orientation==="horizontal",b=Boolean(o.value);v.useEffect(()=>{let h=n().find(w=>w.value===o.value)?.ref.current;h&&d(h)},[n,o.value]);let z=()=>{s&&g({size:c?s.offsetWidth:s.offsetHeight,offset:c?s.offsetLeft:s.offsetTop})};return Re(s,z),Re(o.indicatorTrack,z),m?(0,R.jsx)(O.div,{"aria-hidden":!0,"data-state":b?"visible":"hidden","data-orientation":o.orientation,...a,ref:e,style:{position:"absolute",...c?{left:0,width:m.size+"px",transform:`translateX(${m.offset}px)`}:{top:0,height:m.size+"px",transform:`translateY(${m.offset}px)`},...a.style}}):null}),bt="NavigationMenuContent",Gr=v.forwardRef((t,e)=>{let{forceMount:r,...a}=t,o=U(bt,t.__scopeNavigationMenu),n=Or(bt,t.__scopeNavigationMenu),s=J(n.contentRef,e),d=n.value===o.value,m={value:n.value,triggerRef:n.triggerRef,focusProxyRef:n.focusProxyRef,wasEscapeCloseRef:n.wasEscapeCloseRef,onContentFocusOutside:n.onContentFocusOutside,onRootContentClose:n.onRootContentClose,...a};return o.viewport?(0,R.jsx)(oo,{forceMount:r,...m,ref:s}):(0,R.jsx)(lt,{present:r||d,children:(0,R.jsx)(jr,{"data-state":Pe(d),...m,ref:s,onPointerEnter:V(t.onPointerEnter,o.onContentEnter),onPointerLeave:V(t.onPointerLeave,Gt(o.onContentLeave)),style:{pointerEvents:!d&&o.isRootMenu?"none":void 0,...m.style}})})});Gr.displayName=bt;var oo=v.forwardRef((t,e)=>{let r=U(bt,t.__scopeNavigationMenu),{onViewportContentChange:a,onViewportContentRemove:o}=r;return gt(()=>{a(t.value,{ref:e,...t})},[t,e,a]),gt(()=>()=>o(t.value),[t.value,o]),null}),Xt="navigationMenu.rootContentDismiss",jr=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,value:a,triggerRef:o,focusProxyRef:n,wasEscapeCloseRef:s,onRootContentClose:d,onContentFocusOutside:m,...g}=t,c=U(bt,r),b=v.useRef(null),z=J(b,e),N=Wr(c.baseId,a),h=$r(c.baseId,a),w=Lr(r),u=v.useRef(null),{onItemDismiss:T}=c;v.useEffect(()=>{let l=b.current;if(c.isRootMenu&&l){let f=()=>{T(),d(),l.contains(document.activeElement)&&o.current?.focus()};return l.addEventListener(Xt,f),()=>l.removeEventListener(Xt,f)}},[c.isRootMenu,t.value,o,T,d]);let k=v.useMemo(()=>{let f=w().map(B=>B.value);c.dir==="rtl"&&f.reverse();let p=f.indexOf(c.value),y=f.indexOf(c.previousValue),C=a===c.value,A=y===f.indexOf(a);if(!C&&!A)return u.current;let _=(()=>{if(p!==y){if(C&&y!==-1)return p>y?"from-end":"from-start";if(A&&p!==-1)return p>y?"to-start":"to-end"}return null})();return u.current=_,_},[c.previousValue,c.value,c.dir,w,a]);return(0,R.jsx)(Ur,{asChild:!0,children:(0,R.jsx)(He,{id:h,"aria-labelledby":N,"data-motion":k,"data-orientation":c.orientation,...g,ref:z,disableOutsidePointerEvents:!1,onDismiss:()=>{let l=new Event(Xt,{bubbles:!0,cancelable:!0});b.current?.dispatchEvent(l)},onFocusOutside:V(t.onFocusOutside,l=>{m();let f=l.target;c.rootNavigationMenu?.contains(f)&&l.preventDefault()}),onPointerDownOutside:V(t.onPointerDownOutside,l=>{let f=l.target,p=w().some(C=>C.ref.current?.contains(f)),y=c.isRootMenu&&c.viewport?.contains(f);(p||y||!c.isRootMenu)&&l.preventDefault()}),onKeyDown:V(t.onKeyDown,l=>{let f=l.altKey||l.ctrlKey||l.metaKey;if(l.key==="Tab"&&!f){let y=Te(l.currentTarget),C=document.activeElement,A=y.findIndex(K=>K===C),B=l.shiftKey?y.slice(0,A).reverse():y.slice(A+1,y.length);_e(B)?l.preventDefault():n.current?.focus()}}),onEscapeKeyDown:V(t.onEscapeKeyDown,l=>{s.current=!0})})})}),ze="NavigationMenuViewport",Hr=v.forwardRef((t,e)=>{let{forceMount:r,...a}=t,o=U(ze,t.__scopeNavigationMenu),n=Boolean(o.value);return(0,R.jsx)(lt,{present:r||n,children:(0,R.jsx)(no,{...a,ref:e})})});Hr.displayName=ze;var no=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,children:a,...o}=t,n=U(ze,r),s=J(e,n.onViewportChange),d=Ja(bt,t.__scopeNavigationMenu),[m,g]=v.useState(null),[c,b]=v.useState(null),z=m?m?.width+"px":void 0,N=m?m?.height+"px":void 0,h=Boolean(n.value),w=h?n.value:n.previousValue;return Re(c,()=>{c&&g({width:c.offsetWidth,height:c.offsetHeight})}),(0,R.jsx)(O.div,{"data-state":Pe(h),"data-orientation":n.orientation,...o,ref:s,style:{pointerEvents:!h&&n.isRootMenu?"none":void 0,["--radix-navigation-menu-viewport-width"]:z,["--radix-navigation-menu-viewport-height"]:N,...o.style},onPointerEnter:V(t.onPointerEnter,n.onContentEnter),onPointerLeave:V(t.onPointerLeave,Gt(n.onContentLeave)),children:Array.from(d.items).map(([T,{ref:k,forceMount:l,...f}])=>{let p=w===T;return(0,R.jsx)(lt,{present:l||p,children:(0,R.jsx)(jr,{...f,ref:Ge(k,y=>{p&&y&&b(y)})})},T)})})}),io="FocusGroup",Ur=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,...a}=t,o=U(io,r);return(0,R.jsx)(ye.Provider,{scope:r,children:(0,R.jsx)(ye.Slot,{scope:r,children:(0,R.jsx)(O.div,{dir:o.dir,...a,ref:e})})})}),Mr=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],so="FocusGroupItem",Zr=v.forwardRef((t,e)=>{let{__scopeNavigationMenu:r,...a}=t,o=Za(r),n=U(so,r);return(0,R.jsx)(ye.ItemSlot,{scope:r,children:(0,R.jsx)(O.button,{...a,ref:e,onKeyDown:V(t.onKeyDown,s=>{if(["Home","End",...Mr].includes(s.key)){let m=o().map(b=>b.ref.current);if([n.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(s.key)&&m.reverse(),Mr.includes(s.key)){let b=m.indexOf(s.currentTarget);m=m.slice(b+1)}setTimeout(()=>_e(m)),s.preventDefault()}})})})});function Te(t){let e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{let o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function _e(t){let e=document.activeElement;return t.some(r=>r===e?!0:(r.focus(),document.activeElement!==e))}
1function lo(t){return t.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{t.forEach(e=>{let r=e.dataset.tabindex;e.setAttribute("tabindex",r)})}}function Re(t,e){let r=H(e);gt(()=>{let a=0;if(t){let o=new ResizeObserver(()=>{cancelAnimationFrame(a),a=window.requestAnimationFrame(r)});return o.observe(t),()=>{window.cancelAnimationFrame(a),o.unobserve(t)}}},[t,r])}function Pe(t){return t?"open":"closed"}function Wr(t,e){return`${t}-trigger-${e}`}function $r(t,e){return`${t}-content-${e}`}function Gt(t){return e=>e.pointerType==="mouse"?t(e):void 0}var qr=Ir;var Jr=Fr,Qr=Br,ta=Kr,ea=Xr;var ra=Gr,aa=Hr;var $=x(rt(),1);var F=x(L(),1);function oa({className:t,navigationItems:e,toggleMenuHandler:r,isClickTT:a,isTournamentWorld:o,userIsLoggedIn:n=!0}){let s=Le(),d=a?"bg-purple":"bg-darkBlue",m=450,g=$.default.useRef(null),c=$.default.useRef([]),[b,z]=(0,$.useState)(0),N=qe(),[h,w]=(0,$.useState)(!1),[u,T]=(0,$.useState)(e[0]?.title),[k,l]=(0,$.useState)(0),f=p=>n?p.disabled||!1:o?p.isPublic!==!0:p.disabled||!1;return(0,$.useEffect)(()=>{if(!N&&c.current[k]){let p=c.current[k],y=g.current;if(p&&y){let C=y.getBoundingClientRect(),A=p.getBoundingClientRect(),B=A.left-C.left+A.width/2-m/2;z(B>0?B:0)}}},[k,N,e.length]),(0,F.jsxs)(qr,{ref:g,className:I(`group/nav absolute top-24 z-20 flex w-full flex-col items-start py-16 transition lg:relative lg:top-0 lg:translate-x-0 lg:flex-row lg:items-center lg:py-0 lg:px-7 ${t}`),"data-hover":k,orientation:N?"vertical":"horizontal",onValueChange:p=>w(!!p),children:[(0,F.jsx)(Jr,{className:I("center m-0 flex flex-col lg:flex-row gap-x-4",e.length>=6?"xl:gap-x-6 2xl:gap-x-12":"xl:gap-x-8 2xl:gap-x-20",N&&"group-[.is-open]/nav:pointer-events-none group-[.is-open]/nav:opacity-0"),children:e.map((p,y)=>(0,F.jsxs)(Qr,{ref:C=>c.current[y]=C,children:[(0,F.jsxs)(ta,{className:`group/trigger ${d} flex select-none items-center justify-start px-3 py-2 pl-0 my-1 lg:my-0 text-body-subhead leading-none text-white outline-none hover:text-mint focus:shadow-[0_0_0_2px] lg:pl-3`,onMouseOver:()=>!h&&l(y),onPointerMove:C=>C.preventDefault(),onPointerLeave:C=>o&&!N?"":C.preventDefault(),onFocus:()=>!h&&l(y),onClick:C=>{p.children.length===0&&(C.preventDefault(),s(p.slug),N&&r()),l(y),N&&g.current?.classList.toggle("is-open"),T(p.title)},children:[(0,F.jsx)(X,{className:"mr-4 rounded-full bg-mint text-darkBlue lg:hidden",name:"chevron-right",size:"sm"}),o&&p.title==="Turnierlizenz"?(0,F.jsx)("img",{src:"/images/turnierlizenz/tl-logo.webp",alt:"Turnierlizenz Logo",className:`w-[107px] h-[30px] relative ${N?"":"-top-2"}`}):p.title,p.children.length>0&&(0,F.jsx)(X,{className:`ml-2 hidden transition-transform duration-[250ms] ease-in group-data-[state=open]/trigger:rotate-180 lg:block lg:ml-4 ${p.title==="Turnierlizenz"?"relative -top-1.5":""}`,name:"chevron",size:"xxs"})]}),p.children.length>0&&(0,F.jsx)(ra,{className:"absolute left-0 top-0 w-full data-[motion=from-end]:animate-enterFromRight data-[motion=from-start]:animate-enterFromLeft data-[motion=to-end]:animate-exitToRight data-[motion=to-start]:animate-exitToLeft lg:w-auto",onPointerLeave:C=>C.preventDefault(),onInteractOutside:()=>{N&&g.current?.classList.remove("is-open")},children:(0,F.jsxs)("ul",{className:"m-0 w-full p-5 px-7.5 lg:w-[450px] lg:px-5",children:[N&&(0,F.jsx)("li",{className:"group/li",children:(0,F.jsxs)("button",{className:"flex w-full select-none items-center py-2 mb-4 text-link hover:text-white outline-none focus-visible:ring",onClick:()=>requestAnimationFrame(()=>{document.body.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape"}))}),children:[(0,F.jsx)(X,{className:"rounded-full flex-none bg-darkBlue text-white",name:"chevron-left",size:"sm"}),(0,F.jsx)("span",{className:"ml-2",children:u})]})}),p.children.length>0&&p.children.filter(C=>Be.indexOf(`/${p.id}`)!==-1?C.intendedTemplate===Oe:C).map(C=>{let A=f(C);return(0,F.jsx)("li",{className:"group/li mb-1 lg:mb-2 last:mb-0",children:(0,F.jsx)(ea,{asChild:!0,children:(0,F.jsxs)(Z,{className:I("flex select-none py-2 items-center text-link outline-none focus-visible:ring",A?"text-darkGrey pointer-events-none":"hover:text-white"),to:A?"#":C.uri,target:C.target,rel:C.target==="_blank"?"noopener noreferrer":void 0,onClick:()=>N&&r(),children:[(0,F.jsx)(X,{name:"arrow",size:"sm",className:I("rounded-full shrink-0 text-darkBlue bg-white",A&&"text-white bg-mediumGrey")}),(0,F.jsx)("span",{className:"ml-2",children:C.title})]})})},C.id)})]})})]},`navitem-${p.id}`))}),(0,F.jsx)("div",{className:"perspective-[2000px] absolute left-1/2 top-16 flex w-[calc(100vw-theme(sp
1acing[7.5]))] justify-start overflow-hidden rounded-lg max-lg:-translate-x-[50%] lg:left-0 lg:top-full lg:mt-7 lg:w-full",children:(0,F.jsx)(aa,{className:"relative h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-lg bg-mint p-5 px-7.5 text-darkBlue duration-300 data-[state=closed]:animate-scaleOut data-[state=open]:animate-scaleIn lg:w-[var(--radix-navigation-menu-viewport-width)]",style:N?{}:{left:`${b}px`}})})]})}var po=x(ia(),1);var go=x(la(),1);var ca="/build/_assets/main-2LWWITDG.css";var wo=x(ma(),1);var uo=x(ga(),1),fo=x(ua(),1);var fa="/bundesliga_livescoring";var ho=x(va(),1);var vo=x(xa(),1);var i=x(L(),1),zi=()=>[{rel:"preload",href:Xe,as:"image"},{rel:"apple-touch-icon",sizes:"180x180",href:"/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicons/favicon-16x16.png"},{rel:"manifest",href:"/site.webmanifest"},{rel:"icon",href:"/favicon.ico"},{rel:"stylesheet",href:ca},void 0?{rel:"stylesheet",href:void 0}:null].filter(Boolean),_i=()=>[{title:"mytischtennis.de"},{name:"description",content:"News und Stories aus der Tischtennis-Szene"}],Pi=({defaultShouldRevalidate:t,formMethod:e,currentUrl:r,nextUrl:a})=>e||r.pathname!==a.pathname||!(sr.some(n=>r.pathname.startsWith(n))||r.pathname===fa)?t:!1;function Ta({data:t,hideAuth:e,blocked:r}){let{navigationItems:a,userProfile:o,association:n,hasGetProfileError:s,xsrf:d,captchaSiteKey:m,captchaApiUrl:g}=t,c=it(),b=Mt(),{association:z}=b,N=c.find(_=>_.id==="routes/_index"),[h,w]=(0,Y.useState)(!1),u=()=>w(!h),T=at(),{pathname:k}=T,l=k.includes("/click-tt"),f=/^\/turnierwelt(\/|$)/.test(k),p=l?"before:bg-purple after:bg-purple":"before:bg-darkBlue after:bg-darkBlue",[y,C]=(0,Y.useState)(null),A=(0,Y.useCallback)(_=>{let K=a.map(j=>({...j,children:j.children.map(mt=>({...mt}))})).map(j=>(j.id==="click-tt"&&(j.children=or(_??n??void 0)),j));C(K)},[a,n]);return(0,Y.useEffect)(()=>{l&&z?A(z):o&&"organization"in o&&o?.organization?.short&&!l&&!z?A(o.organization.short):A()},[l,z,o,A]),(0,i.jsxs)("header",{className:I("relative grid--mytt pt-11 pb-10 md:py-7 gap-y-0 md:gap-y-10",{"top-0 h-screen content-start":h,"bg-darkBlue":h&&!l,"bg-purple":h&&l}),children:[(0,i.jsx)("div",{className:I(`absolute -z-[1] h-full w-screen left-1/2 -translate-x-[50%] overflow-hidden ${p} before:block before:-skew-x-12 before:h-full md:before:-translate-x-[2.5%] xl:before:-translate-x-[9.5%] after:block after:absolute after:w-20 after:h-full after:left-0 after:bottom-0`,{"h-[31.25rem]":N||h})}),!!t.impersonation&&(0,i.jsx)(mr,{email:t.impersonation}),(0,i.jsxs)("div",{className:"flex items-center justify-between col-span-12",children:[r?f?(0,i.jsx)(Jt,{}):(0,i.jsx)(At,{}):(0,i.jsx)(Z,{to:f?"/turnierwelt":"/","aria-label":"Zur Startseite",children:f?(0,i.jsx)(Jt,{}):(0,i.jsx)(At,{})}),!r&&(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)(Dt,{to:f?st.twSearch:st.search,variant:"icon",size:"icon",className:"mr-3.5 flex","aria-label":"Suche",children:(0,i.jsx)(X,{size:"sm",name:"search"})}),!e&&(0,i.jsx)(er,{userProfile:t.userProfile,labels:t.siteLabels,isTournamentWorld:f,hasGetProfileError:s,xsrf:d,captchaSiteKey:m,captchaApiUrl:g,envMode:t.ENV.MODE}),(0,i.jsx)(pr,{isOpen:h,className:"visible lg:hidden",clickHandler:u})]})]}),!r&&(0,i.jsx)(oa,{className:I("col-span-10 col-start-2 lg:col-span-12",{"translate-x-0":h,"-translate-x-[120%]":!h}),navigationItems:f?lr:y??a,toggleMenuHandler:u,isClickTT:l,isTournamentWorld:f,userIsLoggedIn:Boolean(o?.external_id)})]})}function bo(){let t=Ae(),{userProfile:e}=t,[r,a]=(0,Y.useState)(!1),[o,n]=(0,Y.useState)(""),[s,d]=(0,Y.useState)({}),m=at(),g=it(),{pathname:c}=m,b=c.includes("/click-tt"),z=/^\/turnierwelt(\/|$)/.test(c),N=c.includes(st.magazine),[h,w]=(0,Y.useState)(!t.isAuthenticated),u=g?.some(l=>l.handle?.fullScreen)??!1;typeof window<"u"&&(window.getCMSFeatureFlag=(l,f)=>t?.cmsFeatureFlags?.[l]??f);let T=!u&&(!z||getCMSFeatureFlag("tw-ads",!0))&&(t.ENV.MODE==="preview"||t.ENV.MODE==="production"),{dismiss:k}=It();return(0,Y.useEffect)(()=>{let l=window.matchMedia("(max-width: 768px)");function f(){l.matches||a(!1)}return f(),l.addEventListener("change",f),()=>{l.removeEventListener("change",f)}},[]),(0,Y.useEffect)(()=>{t.serverToast&&Tt(t.serverToast)},[t.serverToast]),(0,Y.useEffect)(()=>{let l={...s},f=!1;t.infoBoxes?.filter(({id:p})=>typeof p=="string").forEach(({id:p,title:y,text:C,variant:A,navigationAreas:_})=>{let K=(_?.length?_:[""]).some(mt=>c.startsWith(`/${mt.trim()}`)),j=s[p];K&&!j&&(Tt({id:p,title:y,description:C,duration:6e4,variant:A}),l[p]=!0,f=!0),!K&&j&&(k(p),l[p]=!1,f=!0)}),f&&d(l)},[t.infoBoxes,c,s,k]),(0,Y.useEffect)(()=>
1{let l=document.title||Ke;n(`Navigiert zu ${l}`)},[c]),(0,Y.useEffect)(()=>{typeof window>"u"||window.dispatchEvent(new Event("qm:pagechange"))},[c]),(0,Y.useEffect)(()=>{if(m.hash){let l=document.querySelector(m.hash);l&&l.scrollIntoView()}},[m]),(0,Y.useEffect)(()=>{t.ENV.USE_PROD&&Tt({title:"PROD mode",description:"Your local environment is connected to production backend",duration:6e4,variant:"destructive"})},[t.ENV.USE_PROD]),(0,i.jsxs)("html",{lang:"de",className:"h-full dark",children:[(0,i.jsxs)("head",{children:[(0,i.jsx)(Zt,{}),(0,i.jsx)("meta",{charSet:"utf-8"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),(0,i.jsx)("meta",{name:"view-transition",content:"same-origin"}),(0,i.jsx)(Ut,{}),t.ENV.MODE==="production"&&(0,i.jsx)("script",{id:"_etLoader",type:"text/javascript","data-block-cookies":"true","data-secure-code":"5zEEVg","data-page-changed-detection":"url",src:"https://code.etracker.com/code/e.js",async:!0})]}),(0,i.jsxs)("body",{className:"h-full text-darkBlue bg-extraLightGrey hyphens-auto",children:[T&&(0,i.jsx)(Lt,{id:b?"interstitial_clicktt":"interstitial_portal"}),(0,i.jsx)(qt,{}),(0,i.jsxs)(Je,{delayDuration:0,skipDelayDuration:1500,children:[(t.ENV.MODE==="local"||t.ENV.MODE==="development")&&(0,i.jsx)(cr,{fileBasePath:t.ENV.PROJECT_FILE_BASE_PATH,userProfile:e}),(0,i.jsxs)(tr.Provider,{value:{isAuthDialogOpen:h,setIsAuthDialogOpen:w},children:[(0,i.jsx)("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:o}),t.ENV.MODE==="local"&&(0,i.jsx)(dr,{}),(0,i.jsx)(be,{}),u?(0,i.jsx)(Ht,{}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Ta,{data:t}),N&&(0,i.jsx)("div",{className:`relative overflow-hidden w-screen before:bg-darkMint before:w-full before:h-full before:-skew-x-12 before:absolute left-1/2 -translate-x-[50%] before:left-0 before:top-0 before:z-[-1] md:before:-translate-x-[2.5%] xl:before:-translate-x-[9.5%]
2										before:-ml-[1.3rem] md:before:-ml-[1.75rem] xl:before:-ml-[1.65rem] before:block ${r&&"before:-skew-x-0 before:-ml-0"}`,children:(0,i.jsx)("div",{className:"grid--mytt",children:(0,i.jsx)("div",{className:"flex items-center gap-x-8 md:gap-x-16 col-span-10 col-start-2 py-4",children:t.headerItems?.magazinelogos?.map(l=>(0,i.jsx)("img",{src:l.logo?.url,alt:l.name,loading:"lazy"},l.id))})})}),T&&!z&&(0,i.jsx)(Lt,{id:b?"billboard_clicktt":"billboard_portal",className:"hidden lg:flex items-center justify-center py-4"}),(0,i.jsx)("main",{className:"relative",children:(0,i.jsxs)("div",{className:T?"xl:grid xl:grid-cols-[160px_1fr_300px] xl:gap-4 xl:max-w-[2028px] xl:mx-auto":"",children:[T&&(0,i.jsx)("div",{className:"hidden xl:flex xl:justify-end"}),(0,i.jsx)("div",{className:"min-w-0 max-w-[1536px] mx-auto w-full",children:(0,i.jsx)(Ht,{})}),T&&(0,i.jsx)("div",{className:"hidden xl:flex xl:justify-start",children:(0,i.jsx)("div",{className:"sticky top-2 h-fit",children:(0,i.jsx)(Lt,{id:b?"skyscraper_clicktt":"skyscraper_portal"})})})]})}),(0,i.jsx)(Ye,{getKey:l=>[st.communitySpace].includes(l.pathname)?l.pathname:l.key}),b&&(0,i.jsx)(Qt,{}),!z&&t.footerItems&&(0,i.jsx)(te,{className:"mb-12",partners:t.footerItems.partners??[]}),T&&(0,i.jsx)("script",{type:"text/javascript",src:"https://tags.quartermedia-ad-service.net/mytt/QMAX_MYTT_click_tt_portal.js",defer:!0}),t.footerItems&&(0,i.jsx)(xe,{footerItems:t.footerItems})]}),(0,i.jsx)(St,{}),(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:`window.ENV = ${JSON.stringify(t.ENV)}`}}),t.ENV.MODE==="local"&&(0,i.jsx)(Fe,{})]})]})]})]})}var Mi=bo;function xo({blocked:t}){let e=pt("root");return e&&(0,i.jsx)(Ta,{data:e,blocked:t,hideAuth:!0})}function yo({showLogos:t}){let r=pt("root")?.footerItems;return r&&(0,i.jsxs)(i.Fragment,{children:[t&&(0,i.jsx)(te,{className:"mb-12",partners:r.partners??[]}),(0,i.jsx)(xe,{footerItems:r})]})}function Si(){let t=Ve(),e=at(),{revalidate:r}=De(),a;try{a=t?.data&&typeof t.status=="number"?JSON.parse(t.data):void 0}catch{}!a&&console.error(t);let o=t?.status===429,n=t?.status===404&&e.pathname.startsWith("/turnierwelt"),s=typeof t?.status!="number";
2(0,Y.useEffect)(()=>{if(!s)return;let c=setInterval(()=>r(),2e4);return()=>clearInterval(c)},[s,r]);let{ENV:d="production",infoBox:m,siteLabels:g}=pt("root")??{};return(0,Y.useEffect)(()=>{m?.isInfoBoxVisible&&Tt({title:m.infoBoxTitle,description:m.infoBoxText,duration:6e4,variant:m.infoBoxVariant})},[m]),(0,i.jsxs)("html",{children:[(0,i.jsxs)("head",{children:[(0,i.jsx)("title",{children:a?.title??"Oh no!"}),(0,i.jsx)(Zt,{}),(0,i.jsx)(Ut,{})]}),(0,i.jsxs)("body",{className:"h-full text-darkBlue bg-extraLightGrey hyphens-auto",children:[(0,i.jsx)(qt,{}),(0,i.jsx)(xo,{blocked:o}),(0,i.jsx)(be,{}),!a&&!n&&(0,i.jsxs)("div",{className:"bg-darkBlue text-white flex flex-col items-center justify-center h-screen",children:[(0,i.jsx)(Z,{to:"/","aria-label":"Zur Startseite",children:(0,i.jsx)(At,{})}),(0,i.jsx)("h1",{className:"text-h1 my-12",children:"Da ist etwas schiefgelaufen! \u{1F3D3}"}),(0,i.jsx)("p",{className:"text-base",children:"Bitte versuche es sp\xE4ter erneut oder kontaktiere uns, wenn das Problem weiterhin besteht."})]}),n&&(0,i.jsx)("section",{className:"grid--mytt pb-fm",children:(0,i.jsx)("div",{className:"col-span-12 md:col-span-9",children:(0,i.jsx)("div",{className:"subgrid--mytt md:grid-cols-9",children:(0,i.jsxs)("div",{className:"md:col-start-2 col-span-12 md:col-span-7 flex flex-col items-start pb-6 pt-3.5 mb-4",children:[(0,i.jsx)("div",{className:"mb-fm",children:(0,i.jsx)("h1",{className:"text-darkBlue [word-break:break-word] text-h1",children:"Der ging ins Netz! Die Seite, die du suchst, existiert nicht."})}),(0,i.jsx)("div",{className:"group rounded-full ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-pointer text-darkBlue text-link underline-offset-4 hover:underline h-13 p-0 flex items-center justify-center",children:(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)(X,{name:"arrow",size:"sm",className:"mr-2 text-white rounded-full bg-darkBlue group-hover:bg-mint group-hover:text-darkBlue shrink-0"}),(0,i.jsx)(Z,{to:"/turnierwelt",children:"Zur Startseite der Turnierwelt"})]})})]})})})}),!n&&a&&(0,i.jsx)("div",{className:"pt-2 mb-24 md:pt-10",children:(0,i.jsx)(ir,{pageContent:a,siteLabels:g,breakpointPrefix:"md"})}),!o&&(0,i.jsx)(yo,{showLogos:!!a}),(0,i.jsx)(St,{}),(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:`window.ENV = ${JSON.stringify(d)}`}}),(0,i.jsx)(St,{})]})]})}export{xe as a,zi as b,_i as c,Pi as d,Ta as e,Mi as f,Si as g};

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.