1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[421],{5121:(e,r,t)=>{t.d(r,{A:()=>i});var s=t(12115);let a=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()},l=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,s.forwardRef)((e,r)=>{let{color:t="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:c="",children:d,iconNode:u,...h}=e;return(0,s.createElement)("svg",{ref:r,...n,width:l,height:l,stroke:t,strokeWidth:i?24*Number(o)/Number(l):o,className:a("lucide",c),...!d&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0;return!1})(h)&&{"aria-hidden":"true"},...h},[...u.map(e=>{let[r,t]=e;return(0,s.createElement)(r,t)}),...Array.isArray(d)?d:[d]])}),i=(e,r)=>{let t=(0,s.forwardRef)((t,n)=>{let{className:i,...c}=t;return(0,s.createElement)(o,{ref:n,iconNode:r,className:a("lucide-".concat(l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...c})});return t.displayName=l(e),t}},8525:(e,r,t)=>{t.d(r,{U:()=>a});var s=t(55417);function a(){return(0,s.createBrowserClient)("https://yrhsgwcenlsujcktnrwx.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InlyaHNnd2NlbmxzdWpja3Rucnd4Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzM2MTQwNTYsImV4cCI6MjA4OTE5MDA1Nn0.bHd0gntPlhyQZalxcXWh9RjUUYl8if53IX3-m_XDtXk")}},20063:(e,r,t)=>{var s=t(47260);t.o(s,"useParams")&&t.d(r,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(r,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(r,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(r,{useSearchParams:function(){return s.useSearchParams}})},20508:(e,r,t)=>{t.d(r,{A:()=>s});let s=(0,t(5121).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},24033:(e,r,t)=>{t.d(r,{A:()=>s});let s=(0,t(5121).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},44668:(e,r,t)=>{t.d(r,{A:()=>p});var s=t(95155),a=t(12115),l=t(52619),n=t.n(l),o=t(20063),i=t(8525),c=t(24033),d=t(20508),u=t(5121);let h=(0,u.A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),x=(0,u.A)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]),m=(0,u.A)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);function p(){let e=(0,o.useRouter)(),[r,t]=(0,a.useState)(null),[l,u]=(0,a.useState)(!1),p=(0,a.useRef)(null);(0,a.useEffect)(()=>{(0,i.U)().auth.getUser().then(e=>{let{data:r}=e;if(r.user){let e=r.user.user_metadata;t({email:r.user.email||"",vorname:(null==e?void 0:e.vorname)||""})}})},[]),(0,a.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let g=async()=>{let r=(0,i.U)();await r.auth.signOut(),t(null),u(!1),e.push("/")},b=(null==r?void 0:r.email)?r.email.length>20?r.email.slice(0,18)+"â¦":r.email:null;return(0,s.jsxs)("div",{ref:p,className:"relative",children:[r?(0,s.jsxs)("button",{onClick:()=>u(e=>!e),className:"flex items-center gap-2 rounded-full pl-2.5 pr-3 py-1.5 transition-all cursor-pointer",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.09)"},"aria-label":"Benutzermen\xfc",children:[(0,s.jsx)("span",{className:"w-2 h-2 rounded-full shrink-0",style:{background:"#3ecf8e",boxShadow:"0 0 6px rgba(62,207,142,0.7)"}}),(0,s.jsx)("span",{className:"text-[12px] font-medium hidden sm:block",style:{color:"rgba(255,255,255,0.65)"},children:b}),(0,s.jsx)(c.A,{size:11,style:{color:"rgba(255,255,255,0.3)"}})]}):(0,s.jsx)("button",{onClick:()=>u(e=>!e),className:"flex items-center justify-center w-9 h-9 rounded-full transition-all cursor-pointer",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.09)"},"aria-label":"Login",children:(0,s.jsx)(d.A,{size:15,style:{color:"rgba(255,255,255,0.45)"}})}),l&&(0,s.jsx)("div",{className:"absolute right-0 top-[calc(100%+8px)] w-[210px] rounded-xl overflow-hidden",style:{background:"#0c0c12",border:"1px solid rgba(255,255,255,0.1)",boxShadow:"0 16px 48px rgba(0,0,0,0.7)",zIndex:200},children:r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"px-4 py-3",style:{borderBottom:"1px solid rgba(255,255,255,0.06)"},children:[r.vorname&&(0,s.jsx)("p",{className:"text-[12px] font-semibold",style:{color:"#fff"},children:r.vorname}),(0,s.jsx)("p",{className:"text-[11px] truncate mt-0.5",style:{color:"rgba(255,255,255,0.35)"},children:r.email}),(0,s.jsxs)("div",{className:"flex items-center gap-1.5 mt-1.5",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 rounded-full",style:{background:"#3ecf8e"}}),(0,s.jsx)("span",{className:"text-[10px]",style:{color:"#3ecf8e"},children:"Online"})]})]}),(0,s.jsxs)(n(),{href:"/dashboard",onClick:()=>u(!1),className:"flex items-center gap-2.5 px-4 py-3 text-[13px] transition-colors hover:bg-white/[0.04]",style:{color:"rgba(255,255,255,0.75)"},children:[(0,s.jsx)(h,{size:14,style:{color:"#ff9900"}}),"Dashboard"]}),(0,s.jsxs)("button",{onClick:g,className:"flex items-center gap-2.5 w-full px-4 py-3 text-[13px] transition-colors hover:bg-white/[0.04] cursor-pointer",style:{color:"rgba(255,255,255,0.45)",borderTop:"1px solid rgba(255,255,255,0.05)"},children:[(0,s.jsx)(x,{size:14,style:{color:"rgba(255,255,255,0.25)"}}),"Abmelden"]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n(),{href:"/login",onClick:()=>u(!1),className:"flex items-center gap-2.5 px-4 py-3 text-[13px] transition-colors hover:bg-white/[0.04]",style:{color:"rgba(255,255,255,0.75)"},children:[(0,s.jsx)(m,{size:14,style:{color:"#ff9900"}}),"Einloggen"]}),(0,s.jsxs)(n(),{href:"/register",onClick:()=>u(!1),className:"flex items-center gap-2.5 px-4 py-3 text-[13px] transition-colors hover:bg-white/[0.04]",style:{color:"rgba(255,255,255,0.45)",borderTop:"1px solid rgba(255,255,255,0.05)"},children:[(0,s.jsx)(d.A,{size:14,style:{color:"rgba(255,255,255,0.25)"}}),"Registrieren"]})]})})]})}},56154:(e,r,t)=>{t.d(r,{A:()=>s});let s=(0,t(5121).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])}}]);
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.