PageSourceSearch

https://www.pubandgo.de/assets/admin.bewerbungen-C95G18-R.js

js pubandgo.de collected 2026-10-02 01:02:55 UTC 20,105 bytes, 1 lines download raw bytes

1import{c as ae,k as re,cy as ne,l as le,j as e,r as l,aB as de}from"./index-Bj6dd6Hz.js";import{u as y}from"./useServerFn-5evlmWYQ.js";import{listApplications as oe,updateLead as T,findDuplicates as ce,listStatusLog as ie,listWhatsappLog as me}from"./applications.functions-C9Zu2VNQ.js";import{H as ue}from"./HrAdminShell-Dg_CP4ul.js";import{T as xe,t as g}from"./sonner-hNryw7Rw.js";import{P as he}from"./pencil-zkydgpD8.js";import{T as pe,S as ge}from"./triangle-alert-DV9cDKN_.js";import{M as fe}from"./message-circle-BcSmV15Z.js";import{C as be}from"./clock-DzBj8PU8.js";import{E as R}from"./external-link-CJ1bYQgl.js";import{C as je}from"./copy-DK83yD6g.js";import"./roles.functions-CsmcZjWD.js";import"./shield-DSQ96Scg.js";import"./log-out-DySsYnnT.js";const Ne=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],we=ae("send",Ne),ye=re({method:"POST"}).middleware([ne]).handler(le("65276e6acb48970d1a589d99a3e44862d65ce35a4765613acbbc6662c3a980c4"));function M(n){if(!n)return"";const o=n.replace(/[\s()\-./]/g,"");if(!o)return"";if(o.startsWith("+")){const d=o.slice(1).replace(/\D/g,"");return d?"+"+d:""}if(o.startsWith("00")){const d=o.slice(2).replace(/\D/g,"");return d?"+"+d:""}const u=o.replace(/\D/g,"");return u?u.startsWith("0")?"+49"+u.slice(1):u.startsWith("49")?"+"+u:"+49"+u:""}const F=new Set(["hired","rejected","archived"]),A=[{v:"new",label:"Neu"},{v:"contacted",label:"Kontaktiert"},{v:"interview_scheduled",label:"Gesprächs-Termin"},{v:"interview",label:"Gespräch"},{v:"offer",label:"Angebot"},{v:"hired",label:"Eingestellt"},{v:"rejected",label:"Abgelehnt"},{v:"archived",label:"Archiviert"}],B=Object.fromEntries(A.map(n=>[n.v,n.label]));function I(n){const o=new Date(n);return`${o.toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit"})}, ${o.toLocaleTimeString("de-DE",{hour:"2-digit",minute:"2-digit"})}`}function O(n){const o=[n.utm_source,n.utm_medium].filter(Boolean).join(" / ");if(o)return o;if(n.referrer)try{return new URL(n.referrer).hostname}catch{return n.referrer}return"direct"}function _e({isAdmin:n}){const o=y(oe),u=y(T),[d,_]=l.useState([]),[t,f]=l.useState(!0),[x,N]=l.useState("all"),[b,k]=l.useState(null),D=async()=>{f(!0);try{const a=await o();_(a)}catch(a){g.error(String(a.message||a))}finally{f(!1)}};l.useEffect(()=>{D()},[]);const p=new Date().toISOString().slice(0,10),E=l.useMemo(()=>{const a={all:d.length,followup:0};for(const c of A)a[c.v]=0;for(const c of d)a[c.status]=(a[c.status]??0)+1,c.follow_up_at&&c.follow_up_at<=p&&!F.has(c.status)&&a.followup++;return a},[d,p]),v=l.useMemo(()=>x==="all"?d:x==="followup"?d.filter(a=>a.follow_up_at&&a.follow_up_at<=p&&!F.has(a.status)):d.filter(a=>a.status===x),[d,x,p]),m=l.useMemo(()=>{const a=new Map,c=new Map;for(const r of d){if(r.email){const i=r.email.toLowerCase();a.set(i,[...a.get(i)??[],r])}r.phone_normalized&&c.set(r.phone_normalized,[...c.get(r.phone_normalized)??[],r])}const w=new Map;for(const r of d){const i=[...r.email?a.get(r.email.toLowerCase())??[]:[],...r.phone_normalized?c.get(r.phone_normalized)??[]:[]].filter(h=>h.id!==r.id&&new Date(h.created_at)<new Date(r.created_at));i.length&&w.set(r.id,i)}return w},[d]),C=async(a,c,w)=>{const r=a.status;_(i=>i.map(h=>h.id===a.id?{...h,status:c}:h));try{await u({data:{id:a.id,patch:{status:c,...w??{}}}})}catch(i){_(h=>h.map(L=>L.id===a.id?{...L,status:r}:L)),g.error(String(i.message||i))}};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{}),e.jsx("div",{className:"mb-4 flex flex-wrap gap-1.5",children:[{v:"all",label:"Alle"},...A,{v:"followup",label:"Wiedervorlage fällig"}].map(a=>e.jsxs("button",{onClick:()=>N(a.v),className:`inline-flex items-center gap-2 rounded-full px-3 py-1 text-xs font-medium transition ${x===a.v?"bg-primary text-primary-foreground":"border border-border bg-card hover:bg-accent"}`,children:[a.label," ",e.jsx("span",{className:"rounded-full bg-black/10 px-1.5 py-0.5 text-[10px]",children:E[a.v]??0})]},a.v))}),e.jsx("div",{className:"overflow-x-auto rounded-lg border border-border bg-card",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{className:"bg-muted/50 text-left text-xs uppercase text-muted-foreground",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-3 py-2",children:"Eingang"}),e.jsx("th",{className:"px-3 py-2",children:"Name"}),e.jsx("th",{className:"px-3 py-2",children:"Typ"}),e.jsx("th",{className:"px-3 py-2",children:"Kontakt"}),e.jsx("th",{className:"px-3 py-2",children:"Wunsch-Stadt"}),e.jsx("th",{className:"px-3 py-2",children:"Erfahrung"}),e.jsx("th",{className:"px-3 py-2",children:"Quelle"}),e.jsx("th",{className:"px-3 py-2",children:"Status"}),e.jsx("th",{className:"px-3 py-2",children:"Details"})]})}),e.jsxs("tbody",{children:[t&&e.jsx("tr",{children:e.jsx("td",{colSpan:9,className:"px-3 py-8 text-center text-muted-foreground",children:"Lädt…"})}),!t&&v.length===0&&e.jsx("tr",{children:e.jsx("td",{colSpan:9,className:"px-3 py-8 text-center text-muted-foreground",children:"Keine Be
1werbungen."})}),v.map(a=>{const c=m.get(a.id),w=a.follow_up_at&&a.follow_up_at<=p&&!F.has(a.status);return e.jsxs("tr",{className:"border-t border-border",children:[e.jsxs("td",{className:"px-3 py-2 text-xs whitespace-nowrap",children:[I(a.created_at),a.follow_up_at&&e.jsxs("div",{className:`text-[10px] mt-0.5 ${w?"text-red-600":"text-muted-foreground"}`,children:["Wiedervorl. ",a.follow_up_at]})]}),e.jsxs("td",{className:"px-3 py-2 font-medium",children:[a.name,c&&c.length>0&&e.jsx("span",{className:"ml-2 rounded bg-amber-100 px-1.5 py-0.5 text-[10px] font-semibold text-amber-800",children:"Bereits beworben"})]}),e.jsx("td",{className:"px-3 py-2 whitespace-nowrap",children:(()=>{const r=(a.form_source??"").startsWith("karriere-aushilfe"),i=a.form_source==="karriere-aushilfe-old"?"Old":a.form_source==="karriere-aushilfe-low"?"Low":a.form_source==="karriere-aushilfe"?"Ohne":null,h=a.form_source==="karriere-koch-halle"?"Küche · Halle":a.form_source==="karriere-service-halle"?"Service · Halle":null;return e.jsx("span",{className:`inline-block rounded px-1.5 py-0.5 text-[10px] font-semibold ${h?"bg-emerald-100 text-emerald-800":r?"bg-amber-100 text-amber-800":"bg-sky-100 text-sky-800"}`,children:h??(r?`Aushilfe${i?" · "+i:""}`:"Manager")})})()}),e.jsxs("td",{className:"px-3 py-2 text-xs",children:[a.email&&e.jsx("a",{href:`mailto:${a.email}`,className:"block underline",children:a.email}),a.phone_normalized&&e.jsx("a",{href:`tel:${a.phone_normalized}`,className:"block text-muted-foreground",children:a.phone_normalized})]}),e.jsx("td",{className:"px-3 py-2 whitespace-nowrap",children:a.city}),e.jsx("td",{className:"px-3 py-2 text-xs",children:a.experience.map(r=>e.jsx("span",{className:`mr-1 inline-block rounded bg-muted px-1.5 py-0.5 ${/noch keine/i.test(r)?"opacity-50":""}`,children:r},r))}),e.jsxs("td",{className:"px-3 py-2 text-xs",children:[O(a),a.utm_campaign&&e.jsx("div",{className:"text-muted-foreground text-[10px]",children:a.utm_campaign})]}),e.jsx("td",{className:"px-3 py-2",children:e.jsx("select",{value:a.status,onChange:r=>C(a,r.target.value),className:"rounded border border-input bg-background px-2 py-1 text-xs",children:A.map(r=>e.jsx("option",{value:r.v,children:r.label},r.v))})}),e.jsx("td",{className:"px-3 py-2",children:e.jsx("button",{onClick:()=>k(a),className:"rounded border border-border px-2 py-1 text-xs hover:bg-accent",children:"Öffnen"})})]},a.id)})]})]})}),b&&e.jsx(ve,{lead:b,onClose:()=>k(null),onSaved:async()=>{await D()},isAdmin:n,allRows:d})]})}function ve({lead:n,onClose:o,onSaved:u,isAdmin:d,allRows:_}){const[t,f]=l.useState(n),[x,N]=l.useState(!1),[b,k]=l.useState(t.notes??""),[D,p]=l.useState(!1),[E,v]=l.useState(!1),[m,C]=l.useState([]),[a,c]=l.useState(!1),[w,r]=l.useState(!1),[i,h]=l.useState("Nicht erschienen"),[L,P]=l.useState(""),[K,H]=l.useState([]),G=y(T),U=y(ye),Q=y(ce),V=y(ie),q=y(me),[z,X]=l.useState([]);l.useEffect(()=>{(async()=>{try{const s=await Q({data:{id:t.id}});H(s)}catch{}try{const s=await V({data:{lead_id:t.id}});C(s)}catch{}if(d)try{const s=await q({data:{lead_id:t.id}});X(s)}catch{}})()},[t.id]);const S=async s=>{try{await G({data:{id:t.id,patch:s}}),f(j=>({...j,...s})),await u()}catch(j){g.error(String(j.message||j))}},J=async s=>{if(s==="rejected"&&t.status!=="rejected"){r(!0);return}await S({status:s})},Y=async()=>{const s=i==="Sonstiges"?`Sonstiges: ${L}`:i;await S({status:"rejected",rejection_reason:s}),r(!1)},Z=async()=>{if(t.whatsapp_sent_at){if(!confirm(`Bereits gesendet am ${new Date(t.whatsapp_sent_at).toLocaleString("de-DE")} – erneut senden?`))return}else if(!confirm("WhatsApp-Nachricht senden?"))return;v(!0);try{const s=await U({data:{lead_id:t.id,resend:!!t.whatsapp_sent_at}});s.ok?(g.success("WhatsApp gesendet."),f(j=>({...j,whatsapp_sent_at:new Date().toISOString(),status:"contacted"})),await u()):g.error(s.error||"Fehler beim Senden.")}finally{v(!1)}},ee=async()=>{p(!0);try{await S({notes:b}),g.success("Notizen gespeichert.")}finally{p(!1)}},W=!(t.phone_normalized??"").startsWith("+"),te=!W,$=K.filter(s=>new Date(s.created_at)<new Date(t.created_at));return e.jsxs("div",{className:"fixed inset-0 z-50 flex",children:[e.jsx("div",{className:"flex-1 bg-black/40",onClick:o}),e.jsxs("div",{className:"w-full max-w-xl overflow-y-auto bg-card p-6 shadow-2xl",children:[e.jsxs("div",{className:"mb-4 flex items-start justify-between gap-3",children:[e.jsxs("div",{children:[x?e.jsx(Se,{lead:t,onCancel:()=>N(!1),onSaved:s=>{f(s),N(!1),u()}}):e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h2",{className:"text-xl font-semibold",children:t.name}),e.jsx("button",{onClick:()=>N(!0),className:"text-muted-foreground hover:text-foreground",children:e.jsx(he,{className:"h-4 w-4"})})]}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Eingang ",I(t.created_at)," · ",t.form_source]}),$.length>0&&e.jsxs("p",{className:"mt-1 text-xs text-amber-700",children:[e.jsx(pe,{className:"inline h-3 w-3"})," Bereits beworben am"," ",$.map(s=>e.jsx("button",{className:"underline mx-1",onClick:()=>{const j=_.find(se=>se.id===s.id);j&&f(j)},children:new Date(s.created_at).toLocaleDateString("de-DE")},s.id))]})]}),e.jsx("button",{onClick:o,className:"text-muted-foreground",children:e.jsx(de,{className:"h-5 w-5"})})]}),e.jsxs("section",{className:"mb-4 rounded-lg border border-border p-3",children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[e.jsxs("div",{className:"text-sm font-semibold flex items-center gap-2",children:[e.jsx(fe,{className:"h-4 w-4"})," WhatsApp"]}),d?e.jsxs("button",{disabled:E||W,onClick:Z,className:"inline-flex items-center gap-1 rounded-md bg-emerald-600 px-3 py-1.5 text-xs font-semibold text-white disabled:opacity-50",children:[e.jsx(we,{className:"h-3 w-3"})," ",t.whatsapp_sent_at?"Erneut senden":"WhatsApp senden"]}):e.jsx("span",{className:"text-xs text-muted-foreground",children:"(nur Admin)"})]}),e.jsxs("p",{className:`text-xs ${W?"text-red-600":""}`,children:[t.phone_normalized??t.phone," ",W&&"(ungültig)"]}),t.whatsapp_sent_at&&e.jsxs("p",{className:"mt-1 text-xs text-muted-foreground",children:["gesendet am ",new Date(t.whatsapp_sent_at).toLocaleStr
1ing("de-DE")]}),te&&z.length>0&&e.jsxs("details",{className:"mt-2 text-xs",children:[e.jsxs("summary",{className:"cursor-pointer text-muted-foreground",children:["Log (",z.length,")"]}),e.jsx("ul",{className:"mt-1 space-y-1",children:z.map(s=>e.jsxs("li",{children:[new Date(s.created_at).toLocaleString("de-DE")," · ",s.status,s.error?` · ${s.error}`:""]},s.id))})]})]}),e.jsxs("section",{className:"mb-4 rounded-lg border border-border p-3",children:[e.jsx("div",{className:"mb-2 text-sm font-semibold",children:"Status"}),e.jsx("select",{value:t.status,onChange:s=>J(s.target.value),className:"w-full rounded border border-input bg-background px-2 py-1 text-sm",children:A.map(s=>e.jsx("option",{value:s.v,children:s.label},s.v))}),t.rejection_reason&&e.jsxs("p",{className:"mt-2 text-xs text-red-700",children:["Abgelehnt: ",t.rejection_reason]}),e.jsxs("div",{className:"mt-3 grid grid-cols-[1fr_auto_auto_auto] items-center gap-2",children:[e.jsx("input",{type:"date",value:t.follow_up_at??"",onChange:s=>S({follow_up_at:s.target.value||null}),className:"rounded border border-input bg-background px-2 py-1 text-xs"}),e.jsx("button",{className:"rounded border border-border px-2 py-1 text-xs",onClick:()=>{const s=new Date;s.setDate(s.getDate()+2),S({follow_up_at:s.toISOString().slice(0,10)})},children:"+2 Tage"}),e.jsx("button",{className:"rounded border border-border px-2 py-1 text-xs",onClick:()=>{const s=new Date;s.setDate(s.getDate()+7),S({follow_up_at:s.toISOString().slice(0,10)})},children:"+1 Woche"}),e.jsx("button",{className:"rounded border border-border px-2 py-1 text-xs",onClick:()=>S({follow_up_at:null}),children:"×"})]}),e.jsxs("button",{onClick:()=>c(s=>!s),className:"mt-3 text-xs text-muted-foreground underline",children:[e.jsx(be,{className:"inline h-3 w-3"})," Status-Verlauf (",m.length,")"]}),a&&e.jsx("ul",{className:"mt-2 space-y-1 text-xs",children:m.map(s=>e.jsxs("li",{children:[new Date(s.created_at).toLocaleString("de-DE"),": ",e.jsx("b",{children:B[s.old_status??""]??s.old_status??"—"})," → ",e.jsx("b",{children:B[s.new_status]??s.new_status}),s.changed_by?` · ${s.changed_by.slice(0,8)}`:" · system"]},s.id))})]}),e.jsxs("section",{className:"mb-4 rounded-lg border border-border p-3",children:[e.jsx("div",{className:"mb-2 text-sm font-semibold",children:"Interne Notizen"}),e.jsx("textarea",{value:b,onChange:s=>k(s.target.value),rows:4,className:"w-full rounded border border-input bg-background p-2 text-sm"}),e.jsxs("button",{onClick:ee,disabled:D,className:"mt-2 inline-flex items-center gap-1 rounded-md bg-primary px-3 py-1.5 text-xs font-semibold text-primary-foreground disabled:opacity-50",children:[e.jsx(ge,{className:"h-3 w-3"})," Notizen speichern"]})]}),e.jsxs("section",{className:"mb-4 rounded-lg border border-border p-3 text-sm",children:[e.jsx("div",{className:"mb-2 text-sm font-semibold",children:"Stammdaten"}),e.jsxs("dl",{className:"grid grid-cols-[110px_1fr] gap-y-1 text-xs",children:[e.jsx("dt",{className:"text-muted-foreground",children:"E-Mail"}),e.jsx("dd",{children:t.email?e.jsx("a",{className:"underline",href:`mailto:${t.email}`,children:t.email}):"—"}),e.jsx("dt",{className:"text-muted-foreground",children:"Telefon"}),e.jsx("dd",{children:e.jsx("a",{className:"underline",href:`tel:${t.phone_normalized??t.phone}`,children:t.phone_normalized??t.phone})}),e.jsx("dt",{className:"text-muted-foreground",children:"Wunsch-Stadt"}),e.jsx("dd",{children:t.city}),e.jsx("dt",{className:"text-muted-foreground",children:"Erfahrung"}),e.jsx("dd",{children:t.experience.join(", ")}),e.jsx("dt",{className:"text-muted-foreground",children:"Nachricht"}),e.jsx("dd",{className:"whitespace-pre-wrap",children:t.message??"—"}),e.jsx("dt",{className:"text-muted-foreground",children:"Formular"}),e.jsx("dd",{children:t.form_source})]})]}),e.jsxs("section",{className:"mb-4 rounded-lg border border-border p-3 text-xs",children:[e.jsx("div",{className:"mb-2 text-sm font-semibold",children:"Herkunft / Quelle"}),e.jsxs("dl",{className:"grid grid-cols-[110px_1fr] gap-y-1",children:[e.jsx("dt",{className:"text-muted-foreground",children:"Quelle"}),e.jsx("dd",{children:O(t)}),t.utm_campaign&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Kampagne"}),e.jsx("dd",{children:t.utm_campaign})]}),t.utm_term&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Term"}),e.jsx("dd",{children:t.utm_term})]}),t.utm_content&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Content"}),e.jsx("dd",{children:t.utm_content})]}),t.gclid&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"gclid"}),e.jsx("dd",{className:"break-all",children:t.gclid})]}),t.fbclid&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"fbclid"}),e.jsx("dd",{className:"break-all",children:t.fbclid})]}),t.msclkid&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"msclkid"}),e.jsx("dd",{className:"break-all",children:t.msclkid})]}),t.referrer&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Referrer"}),e.jsx("dd",{className:"break-all",children:e.jsxs("a",{className:"underline",href:t.referrer,target:"_blank",rel:"noreferrer",children:[t.referrer," ",e.jsx(R,{className:"inline h-3 w-3"})]})})]}),t.landing_page&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Landing"}),e.jsx("dd",{className:"break-all",children:e.jsxs("a",{className:"underline",href:t.landing_page,target:"_blank",rel:"noreferrer",children:[t.landing_page," ",e.jsx(R,{className:"inline h-3 w-3"})]})})]}),t.first_touch_at&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Erster Touch"}
1),e.jsx("dd",{children:new Date(t.first_touch_at).toLocaleString("de-DE")})]}),e.jsx("dt",{className:"text-muted-foreground",children:"Lead-ID"}),e.jsxs("dd",{className:"break-all flex items-center gap-1",children:[t.id," ",e.jsx("button",{onClick:()=>{navigator.clipboard.writeText(t.id),g.success("kopiert")},children:e.jsx(je,{className:"h-3 w-3"})})]})]})]}),w&&e.jsx("div",{className:"fixed inset-0 z-[60] grid place-items-center bg-black/50 p-4",children:e.jsxs("div",{className:"w-full max-w-sm rounded-lg bg-card p-5",children:[e.jsx("h3",{className:"font-semibold",children:"Warum abgelehnt?"}),e.jsx("select",{value:i,onChange:s=>h(s.target.value),className:"mt-3 w-full rounded border border-input bg-background px-2 py-1.5 text-sm",children:["Nicht erschienen","Keine/zu wenig Erfahrung","Stadt passt nicht","Gehaltsvorstellung","Kein Interesse mehr","Sonstiges"].map(s=>e.jsx("option",{value:s,children:s},s))}),i==="Sonstiges"&&e.jsx("textarea",{value:L,onChange:s=>P(s.target.value),className:"mt-2 w-full rounded border border-input bg-background p-2 text-sm",rows:3,placeholder:"Details…"}),e.jsxs("div",{className:"mt-4 flex justify-end gap-2",children:[e.jsx("button",{onClick:()=>r(!1),className:"rounded border border-border px-3 py-1.5 text-xs",children:"Abbrechen"}),e.jsx("button",{onClick:Y,className:"rounded bg-red-600 px-3 py-1.5 text-xs text-white",children:"Ablehnen"})]})]})})]})]})}function Se({lead:n,onCancel:o,onSaved:u}){const[d,_]=l.useState(n.name),[t,f]=l.useState(n.email??""),[x,N]=l.useState(n.phone),[b,k]=l.useState(n.city),[D,p]=l.useState(!1),E=y(T),v=async()=>{if(!d.trim()||t.trim()!==""&&!/.+@.+\..+/.test(t)){g.error("Ungültige Angaben");return}p(!0);try{const m=M(x),C=t.trim()||null;await E({data:{id:n.id,patch:{name:d,email:C,phone:x,city:b}}}),u({...n,name:d,email:C,phone:x,phone_normalized:m,city:b}),g.success("Gespeichert.")}catch(m){g.error(String(m.message||m))}finally{p(!1)}};return e.jsxs("div",{className:"grid gap-2",children:[e.jsx("input",{value:d,onChange:m=>_(m.target.value),className:"rounded border border-input bg-background px-2 py-1 text-sm"}),e.jsx("input",{value:t,onChange:m=>f(m.target.value),className:"rounded border border-input bg-background px-2 py-1 text-sm"}),e.jsx("input",{value:x,onChange:m=>N(m.target.value),onBlur:()=>N(M(x)),className:"rounded border border-input bg-background px-2 py-1 text-sm"}),e.jsx("input",{value:b,onChange:m=>k(m.target.value),className:"rounded border border-input bg-background px-2 py-1 text-sm"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("button",{onClick:v,disabled:D,className:"rounded bg-primary px-3 py-1 text-xs text-primary-foreground",children:"Speichern"}),e.jsx("button",{onClick:o,className:"rounded border border-border px-3 py-1 text-xs",children:"Abbrechen"})]})]})}const Ie=()=>e.jsx(ue,{active:"bewerbungen",children:n=>e.jsx(_e,{isAdmin:n.isAdmin})});export{Ie as component};

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.