PageSourceSearch

https://logonova-nw.de/_nuxt/CJCXhbSx.js

js logonova-nw.de collected 2026-10-07 05:38:22 UTC 3,159 bytes, 1 lines download raw bytes

1import{d as y,m as C,a as M,b as B,E as N,c as n,e as a,f as e,g as r,h as d,i as u,_ as P,j as l,t as c,k as _,F as h,C as v,a4 as V,V as $,r as F,l as S}from"./DfLTLBKk.js";import{_ as T}from"./DcaSB_P7.js";import{_ as j}from"./DlAUqK2U.js";const A={class:"min-h-screen bg-gray-50"},E={class:"bg-amber-900 text-white"},L={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex items-center justify-between h-14"},z={class:"flex items-center gap-3 sm:gap-6"},O={key:0,class:"text-xs text-amber-200 hidden sm:inline"},R={class:"hidden md:flex items-center gap-1"},q=["aria-label"],D={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},I={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},X={key:0,class:"md:hidden border-t border-amber-800 bg-amber-900"},G={class:"px-4 py-3 space-y-1"},H={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},J=y({__name:"vendor",setup(K){const x=C(),f=M(),o=F(!1),m=[{to:"/vendor/",label:"Übersicht"},{to:"/vendor/profile",label:"Profil"},{to:"/vendor/products",label:"Produkte"},{to:"/vendor/orders",label:"Bestellungen"},{to:"/vendor/inquiries",label:"Anfragen"},{to:"/vendor/earnings",label:"Einnahmen"}],{data:g}=B("/api/vendor/auth/me","$5XFelatmzz"),p=S(()=>g.value?.vendor?.name??null);N(()=>f.fullPath,()=>{o.value=!1});async function b(){o.value=!1,await $fetch("/api/vendor/auth/logout",{method:"POST"}).catch(()=>null),await x.push("/vendor/login")}return(w,t)=>{const i=P,k=T;return n(),a("div",A,[e("header",E,[e("div",L,[e("div",z,[r(i,{to:"/vendor/",class:"font-display font-bold text-lg tracking-tight"},{default:d(()=>[...t[2]||(t[2]=[u(" Maker-Portal ",-1)])]),_:1}),l(p)?(n(),a("span",O,c(l(p)),1)):_("",!0)]),e("nav",R,[(n(),a(h,null,v(m,s=>r(i,{key:s.to,to:s.to,class:"px-3 py-1.5 rounded text-sm hover:bg-amber-800/60","active-class":"bg-amber-800 font-semibold"},{default:d(()=>[u(c(s.label),1)]),_:2},1032,["to"])),64)),e("button",{type:"button",class:"ml-2 px-3 py-1.5 rounded text-sm hover:bg-amber-800/60",onClick:b}," Abmelden ")]),e("button",{class:"md:hidden text-white p-1","aria-label":l(o)?"Menü schließen":"Menü öffnen",onClick:t[0]||(t[0]=s=>o.value=!l(o))}
1,[l(o)?(n(),a("svg",I,[...t[4]||(t[4]=[e("path",{d:"M6 18 18 6M6 6l12 12","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):(n(),a("svg",D,[...t[3]||(t[3]=[e("path",{d:"M4 6h16M4 12h16M4 18h16","stroke-linecap":"round"},null,-1)])]))],8,q)]),r(V,{name:"mobile-nav"},{default:d(()=>[l(o)?(n(),a("nav",X,[e("ul",G,[(n(),a(h,null,v(m,s=>e("li",{key:s.to},[r(i,{to:s.to,class:"block px-3 py-2 rounded text-sm hover:bg-amber-800/60","active-class":"bg-amber-800 font-semibold",onClick:t[1]||(t[1]=Q=>o.value=!1)},{default:d(()=>[u(c(s.label),1)]),_:2},1032,["to"])])),64)),e("li",null,[e("button",{type:"button",class:"w-full text-left px-3 py-2 rounded text-sm hover:bg-amber-800/60",onClick:b}," Abmelden ")])])])):_("",!0)]),_:1})]),e("main",H,[$(w.$slots,"default",{},void 0,!0)]),r(k)])}}}),Z=j(J,[["__scopeId","data-v-573740dc"]]);export{Z as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.