PageSourceSearch

https://fraudspy.com.bd/build/assets/Submit-DWEgX_D7.js

js fraudspy.com.bd collected 2026-10-01 12:13:05 UTC 21,810 bytes, 1 lines download raw bytes

1import{d as A,C,r as S,e as n,b as a,k as V,l as o,m as M,p as E,g as e,c as U,h as y,t as i,F as m,y as v,f as p,T as $,E as k,v as u,x as f,R,G as D,z as w}from"./app-D0fs7bu7.js";import{_ as q}from"./AppLayout.vue_vue_type_script_setup_true_lang-CLnk0tKS.js";/* empty css            */import"./Primitive-B-7kMMzx.js";import"./VisuallyHidden-OUinVFht.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./createLucideIcon-CAMkqPlT.js";const B={class:"mx-auto w-full max-w-5xl px-4 sm:px-6 lg:px-8 py-6 space-y-6"},I={class:"flex items-center justify-between"},L={class:"flex items-center gap-6 text-sm"},G={class:"flex items-center gap-2"},O={class:"font-bold text-[var(--foreground)]"},H={key:0,class:"space-y-3"},J={class:"flex items-start justify-between gap-4"},K={class:"flex-1 min-w-0"},Q={class:"flex items-center gap-3 mb-1.5"},W={class:"font-bold text-[var(--foreground)] text-[15px] truncate"},Y={key:0,class:"shrink-0 inline-flex items-center gap-1 text-amber-500 text-[10px] font-bold uppercase tracking-wide bg-amber-500/10 px-2 py-0.5 rounded-md"},Z={class:"flex items-center gap-3 text-xs text-[var(--muted-foreground)]"},ee={class:"font-mono"},te={class:"font-bold text-[var(--primary)]"},re={key:0,class:"font-mono opacity-60"},oe={class:"text-sm text-[var(--foreground)]/80 mt-2 line-clamp-2 leading-relaxed"},se={key:0,class:"flex flex-wrap gap-1.5 mt-2.5"},le={class:"flex items-center gap-1 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity"},ae=["onClick"],ne=["onClick"],ie={key:1,class:"text-center py-20"},de={class:"bg-[var(--card)] w-full max-w-md rounded-3xl shadow-2xl overflow-hidden flex flex-col max-h-[90vh]"},ue={class:"flex items-center justify-between px-5 pt-5 pb-4 shrink-0"},pe={class:"px-5 overflow-y-auto flex-1 min-h-0"},ce={class:"grid grid-cols-2 gap-2.5"},me={class:"relative"},fe={key:0,class:"text-red-500 text-[9px] mt-0.5"},xe={class:"relative"},ve={key:0,class:"text-red-500 text-[9px] mt-0.5"},ge={key:0,class:"text-red-500 text-[9px] mt-0.5"},be={class:"flex flex-wrap gap-1.5"},ye=["value"],ke={class:"px-2.5 py-1 rounded-full text-[11px] font-semibold bg-[var(--surface-2)] text-[var(--muted-foreground)] peer-checked:bg-[var(--primary)]/15 peer-checked:text-[var(--primary)] peer-checked:font-bold peer-checked:ring-1 peer-checked:ring-[var(--primary)]/40 transition-all select-none hover:bg-[var(--surface-2)]/80 active:scale-95"},we={class:"grid grid-cols-2 gap-2.5"},he=["value"],_e={class:"flex items-center gap-3"},Ce={class:"relative group flex-1"},Re={class:"text-xs font-semibold"},je={class:"flex items-center gap-2 cursor-pointer shrink-0"},Se={class:"px-5 py-4 flex gap-2.5 shrink-0"},Ve=["disabled"],Ue={key:0,class:"fa-solid fa-circle-notch fa-spin text-xs"},$e={key:1,class:"fa-solid fa-paper-plane text-xs"},De={class:"bg-[var(--card)] w-full max-w-lg rounded-3xl shadow-2xl overflow-hidden ring-1 ring-white/10"},Ne={class:"p-6 max-h-[80vh] overflow-y-auto"},Xe={class:"grid grid-cols-2 gap-3"},Fe={class:"relative"},Pe={class:"relative"},Te={class:"flex flex-wrap gap-2"},ze=["value"],Ae={class:"px-3 py-1.5 rounded-full text-[11px] font-bold bg-[var(--surface-2)] text-[var(--muted-foreground)] peer-checked:bg-[var(--primary)] peer-checked:text-white peer-checked:shadow-md peer-checked:shadow-[var(--primary)]/20 transition-all select-none hover:scale-[1.03] active:scale-95"},Me={class:"grid grid-cols-3 gap-3"},Ee=["value"],qe={class:"relative group"},Be={class:"w-full bg-[var(--surface-2)] rounded-2xl py-3 px-3 flex items-center justify-center gap-2 text-[var(--muted-foreground)] group-hover:text-[var(--primary)] group-hover:bg-[var(--primary)]/5 transition-all cursor-pointer"},Ie={class:"text-[11px] font-bold"},Le={class:"flex items-center gap-3 cursor-pointer group p-3 rounded-2xl hover:bg-[var(--surface-2)]/50 transition-colors -mx-1"},Ge={class:"flex gap-3 pt-1"},Oe=["disabled"],He={key:0,class:"fa-solid fa-circle-notch fa-spin"},Je={key:1},rt=A({__name:"Submit",props:{myReports:{}},setup(h){const j=["Pathao","RedX","Steadfast","eCourier","Paperfly","Delivery Tiger","Bahok","Parceldex","Shundorbon","SA Paribahan","Others"],_=[{id:"product_not_returned",label:"পণ্য ফেরত দেয়নি"},{id:"fake_address",label:"ভুয়া ঠিকানা"},{id:"cash_on_delivery_fraud",label:"পণ্য নিয়ে পালিয়েছে"},{id:"return_damaged_product",label:"নষ্ট জিনিস রিটার্ন"},{id:"refused_delivery",label:"ডেলিভারি নিতে অস্বীকার"},{id:"abusive_behavior",label:"খারাপ আচরণ"}],s=C({contact_number:"",contact_name:"",complain_details:"",categories:[],images:[],courier_name:"",parcel_id:"",is_anonymous:!1}),x=S(!1),g=S(null),l=C({contact_number:"",contact_name:"",complain_details:"",categories:[],images:[],courier_name:"",parcel_id:"",is_anonymous:!1}),N=()=>{s.post("/fraud-reports",{preserveScroll:!0,onSuccess:()=>{s.reset(),x.value=!1}})},X=d=>{g.value=d.id,l.contact_number=d.contact_number,l.contact_name=d.contact_name,l.complain_details=d.complain_details,l.categories=d.categories||[],l.images=[],l.courier_name=d.courier_name||"",l.parcel_id=d.parcel_id||"",l.is_anonymous=!!d.is_anonymous},b=()=>{g.value=null,l.reset()},F=()=>{g.value&&l.put(`/fraud-reports/${g.value}`,{preserveScroll:!0,onSuccess:()=>b()})},P=d=>{confirm("Are you sure you want to delete this report?")&&C({}).delete(`/fraud-reports/${d}`,{preserveScroll:!0})},T=d=>{const t=_.find(r=>r.id===d);return t?t.label:d},z=d=>d?new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"short",year:"numeric"}).format(new Date(d)):"";return(d,t)=>(a(),n(m,null,[V(o(M),{title:"My Reports"}),V(q,{breadcrumbs:[{title:"Fraud Reports",href:"/fraud-reports/browse"},{title:"My Reports",href:"/fraud-reports/submit"}]},{default:E(()=>[e("div",B,[e("div",I,[t[22]||(t[22]=e("div",null,[e("h1",{class:"text-xl font-bold text-[var(--foreground)]"},"My Reports"),e("p",{class:"text-xs text-[var(--muted-foreground)] mt-0.5"},"Reports you've submitted to the community database")],-1)),e("button",{onClick:t[0]||(t[0]=r=>x.value=!0),class:"inline-flex items-center gap-2 px-5 py-2.5 rounded-xl text-sm font-bold text-white bg-[var(--primary)] hover:opacity-90 transition-all active:scale-[0.97]"},[...t[21]||(t[21]=[e("i",{class:"fa-solid fa-plus text-xs"},null,-1),y(" New Report ",-1)])])]),e("div",L,[e("div",G,[t[23]||(t[23]=e("span",{class:"w-2 h-2 rounded-full bg-[var(--primary)]"},null,-1)),t[24]||(t[24]=e("span",{class:"text-[var(--muted-foreground)]"},"Total Reports",-1)),e("span",O,i(h.myReports.total),1)])]),h.myReports.data.length>0?(a(),n("div",H,[(a(!0),n(m,null,v(h.myReports.data,r=>(a(),n("div",{key:r.id,class:"group bg-[var(--card)] rounded-2xl p-5 hover:shadow-md transition-all duration-200 border border-transparent hover:border-[var(--border)]/50"},[e("div",J,[e("div",K,[e("div",Q,[e("h3",W,i(r.contact_name),1),r.is_anonymous?(a(),n("span",Y,[...t[25]||(t[25]=[e("i",{class:"fa-solid fa-user-secret text-[9px]"},null,-1),y(" Anon ",-1)])])):p("",!0)]),e("div",Z,[e("span",ee,i(r.contact_number),1),t[27]||(t[27]=e("span",{class:"opacity-30"},"·",-1)),e("span",null,i(z(r.created_at)),1),r.courier_name?(a(),n(m,{key:0},[t[26]||(t[26]=e("span",{class:"opacity-30"},"·",-1)),e("span",te,i(r.courier_name),1),r.parcel_id?(a(),n("span",re,"#"+i(r.parcel_id),1)):p("",!0)],64)):p("",!0)]),e("p",oe,i(r.complain_details),1),r.categories&&r.categories.length?(a(),n("div",se,[(a(!0),n(m,null,v(r.categories,c=>(a(),n("span",{key:c,class:"px-2 py-0.5 rounded-md text-[10px] font-bold bg-[var(--surface-2)] text-[var(--muted-foreground)]"},i(T(c)),1))),128))])):p("",!0)]),e("div",le,[e("button",{onClick:c=>X(r),class:"w-8 h-8 flex items-center justify-center rounded-lg text-[var(--muted-foreground)] hover:text-[var(--primary)] hover:bg-[var(--primary)]/10 transition-colors",title:"Edit"},[...t[28]||(t[28]=[e("i",{class:"fa-solid fa-pen text-xs"},null,-1)])],8,ae),e("button",{onClick:c=>P(r.id),class:"w-8 h-8 flex items-center justify-center rounded-lg text-[var(--muted-foreground)] hover:text-red-500 hover:bg-red-500/10 transition-colors",title:"Delete"}
1,[...t[29]||(t[29]=[e("i",{class:"fa-solid fa-trash text-xs"},null,-1)])],8,ne)])])]))),128))])):(a(),n("div",ie,[t[31]||(t[31]=e("div",{class:"inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-[var(--surface-2)] mb-4"},[e("i",{class:"fa-solid fa-folder-open text-2xl text-[var(--muted-foreground)] opacity-40"})],-1)),t[32]||(t[32]=e("p",{class:"font-bold text-[var(--foreground)]"},"No reports yet",-1)),t[33]||(t[33]=e("p",{class:"text-sm text-[var(--muted-foreground)] mt-1 mb-4"},"Submit your first fraud report to help the community.",-1)),e("button",{onClick:t[1]||(t[1]=r=>x.value=!0),class:"inline-flex items-center gap-2 px-5 py-2.5 rounded-xl text-sm font-bold text-white bg-[var(--primary)] hover:opacity-90 transition-all"},[...t[30]||(t[30]=[e("i",{class:"fa-solid fa-plus text-xs"},null,-1),y(" Submit Report ",-1)])])]))]),(a(),U($,{to:"body"},[x.value?(a(),n("div",{key:0,class:"fixed inset-0 z-[100] flex items-center justify-center bg-black/50 backdrop-blur-md p-4",onClick:t[12]||(t[12]=k(r=>x.value=!1,["self"]))},[e("div",de,[e("div",ue,[t[35]||(t[35]=e("div",{class:"flex items-center gap-3"},[e("div",{class:"w-9 h-9 rounded-2xl bg-gradient-to-br from-[var(--primary)] to-[var(--primary-600)] flex items-center justify-center shadow-md shadow-[var(--primary)]/30"},[e("i",{class:"fa-solid fa-flag text-white text-xs"})]),e("div",null,[e("h3",{class:"text-base font-bold text-[var(--foreground)] leading-tight"},"New Fraud Report"),e("p",{class:"text-[10px] text-[var(--muted-foreground)]"},"Help protect the merchant community")])],-1)),e("button",{onClick:t[2]||(t[2]=r=>x.value=!1),class:"w-7 h-7 flex items-center justify-center rounded-xl text-[var(--muted-foreground)] hover:text-[var(--foreground)] hover:bg-[var(--surface-2)] transition-all active:scale-90"},[...t[34]||(t[34]=[e("i",{class:"fa-solid fa-xmark text-sm"},null,-1)])])]),e("div",pe,[e("form",{id:"submitReportForm",onSubmit:k(N,["prevent"]),class:"space-y-4 pb-4"},[e("div",ce,[e("div",null,[t[37]||(t[37]=e("label",{class:"block text-[9px] font-black text-[var(--muted-foreground)] uppercase tracking-widest mb-1"},"Phone *",-1)),e("div",me,[t[36]||(t[36]=e("i",{class:"fa-solid fa-phone absolute left-3 top-1/2 -translate-y-1/2 text-[var(--muted-foreground)]/40 text-[10px]"},null,-1)),u(e("input",{"onUpdate:modelValue":t[3]||(t[3]=r=>o(s).contact_number=r),type:"text",required:"",class:"w-full bg-[var(--surface-2)] border-none rounded-xl py-2.5 pl-8 pr-3 text-sm font-bold focus:ring-2 focus:ring-[var(--primary)]/40 transition-all placeholder:text-[var(--muted-foreground)]/30 outline-none",placeholder:"01XXXXXXXXX"},null,512),[[f,o(s).contact_number]])]),o(s).errors.contact_number?(a(),n("div",fe,i(o(s).errors.contact_number),1)):p("",!0)]),e("div",null,[t[39]||(t[39]=e("label",{class:"block text-[9px] font-black text-[var(--muted-foreground)] uppercase tracking-widest mb-1"},"Name *",-1)),e("div",xe,[t[38]||(t[38]=e("i",{class:"fa-solid fa-user absolute left-3 top-1/2 -translate-y-1/2 text-[var(--muted-foreground)]/40 text-[10px]"},null,-1)),u(e("input",{"onUpdate:modelValue":t[4]||(t[4]=r=>o(s).contact_name=r),type:"text",required:"",class:"w-full bg-[var(--surface-2)] border-none rounded-xl py-2.5 pl-8 pr-3 text-sm font-bold focus:ring-2 focus:ring-[var(--primary)]/40 transition-all placeholder:text-[var(--muted-foreground)]/30 outline-none",placeholder:"Customer name"},null,512),[[f,o(s).contact_name]])]),o(s).errors.contact_name?(a(),n("div",ve,i(o(s).errors.contact_name),1)):p("",!0)])]),e("div",null,[t[40]||(t[40]=e("label",{class:"block text-[9px] font-black text-[var(--muted-foreground)] uppercase tracking-widest mb-1"},"Details *",-1)),u(e("textarea",{"onUpdate:modelValue":t[5]||(t[5]=r=>o(s).complain_details=r),required:"",rows:"2",class:"w-full bg-[var(--surface-2)] border-none rounded-xl py-2.5 px-3 text-sm focus:ring-2 focus:ring-[var(--primary)]/40 resize-none transition-all leading-relaxed placeholder:text-[var(--muted-foreground)]/30 outline-none",placeholder:"বিস্তারিত লিখুন…"},null,512),[[f,o(s).complain_details]]),o(s).errors.complain_details?(a(),n("div",ge,i(o(s).errors.complain_details),1)):p("",!0)]),e("div",null,[t[41]||(t[41]=e("label",{class:"block text-[9px] font-black text-[var(--muted-foreground)] uppercase tracking-widest mb-1.5"},"Problem Type",-1)),e("div",be,[(a(),n(m,null,v(_,r=>e("label",{key:r.id,class:"cursor-pointer"}
1,[u(e("input",{type:"checkbox",value:r.id,"onUpdate:modelValue":t[6]||(t[6]=c=>o(s).categories=c),class:"peer sr-only"},null,8,ye),[[R,o(s).categories]]),e("div",ke,i(r.label),1)])),64))])]),e("div",we,[e("div",null,[t[43]||(t[43]=e("label",{class:"block text-[9px] font-black text-[var(--muted-foreground)] uppercase tracking-widest mb-1"},"Courier",-1)),u(e("select",{"onUpdate:modelValue":t[7]||(t[7]=r=>o(s).courier_name=r),class:"w-full bg-[var(--surface-2)] border-none rounded-xl py-2.5 px-3 text-sm font-semibold focus:ring-2 focus:ring-[var(--primary)]/40 cursor-pointer transition-all outline-none text-[var(--foreground)]"},[t[42]||(t[42]=e("option",{value:""},"Select courier…",-1)),(a(),n(m,null,v(j,r=>e("option",{key:r,value:r},i(r),9,he)),64))],512),[[D,o(s).courier_name]])]),e("div",null,[t[44]||(t[44]=e("label",{class:"block text-[9px] font-black text-[var(--muted-foreground)] uppercase tracking-widest mb-1"},"Parcel ID",-1)),u(e("input",{"onUpdate:modelValue":t[8]||(t[8]=r=>o(s).parcel_id=r),type:"text",class:"w-full bg-[var(--surface-2)] border-none rounded-xl py-2.5 px-3 text-sm font-semibold focus:ring-2 focus:ring-[var(--primary)]/40 transition-all placeholder:text-[var(--muted-foreground)]/30 outline-none",placeholder:"Optional"},null,512),[[f,o(s).parcel_id]])])]),e("div",_e,[e("div",Ce,[e("input",{type:"file",multiple:"",accept:"image/jpeg,image/png,image/jpg,image/webp",onChange:t[9]||(t[9]=r=>{o(s).images=Array.from(r.target.files||[]).slice(0,5)}),class:"absolute inset-0 w-full h-full opacity-0 cursor-pointer z-10"},null,32),e("div",{class:w([o(s).images.length>0?"bg-emerald-500/8 text-emerald-600 dark:text-emerald-400 border-emerald-500/30":"bg-[var(--surface-2)]/50 text-[var(--muted-foreground)] border-[var(--border)]/40 group-hover:border-[var(--primary)]/40 group-hover:text-[var(--primary)]","rounded-xl py-2.5 px-3 flex items-center gap-2 border border-dashed transition-all cursor-pointer"])},[e("i",{class:w([o(s).images.length>0?"fa-solid fa-circle-check":"fa-solid fa-cloud-arrow-up","text-xs"])},null,2),e("span",Re,i(o(s).images.length>0?`${o(s).images.length} photo${o(s).images.length>1?"s":""} selected`:"Upload evidence"),1)],2)]),e("label",je,[e("div",{class:"relative",onClick:t[10]||(t[10]=r=>o(s).is_anonymous=!o(s).is_anonymous)},[e("div",{class:w([o(s).is_anonymous?"bg-amber-500":"bg-[var(--surface-2)]","w-9 h-5 rounded-full transition-colors duration-200 cursor-pointer"])},null,2),e("div",{class:w([o(s).is_anonymous?"translate-x-4 bg-white":"translate-x-0.5 bg-[var(--muted-foreground)]/50","absolute top-0.5 w-4 h-4 rounded-full transition-transform duration-200 shadow-sm"])},null,2)]),t[45]||(t[45]=e("span",{class:"text-xs font-semibold text-[var(--muted-foreground)]"},"Anonymous",-1))])])],32)]),e("div",Se,[e("button",{type:"button",onClick:t[11]||(t[11]=r=>x.value=!1),class:"flex-1 py-2.5 rounded-2xl font-bold text-sm text-[var(--muted-foreground)] bg-[var(--surface-2)] hover:bg-[var(--surface-2)]/70 transition-all active:scale-[0.97]"}," Cancel "),e("button",{type:"submit",form:"submitReportForm",disabled:o(s).processing,class:"flex-[2] py-2.5 rounded-2xl font-bold text-sm text-white bg-gradient-to-r from-[var(--primary)] to-[var(--primary-600)] hover:shadow-lg hover:shadow-[var(--primary)]/30 hover:-translate-y-px transition-all disabled:opacity-50 flex items-center justify-center gap-2 active:scale-[0.97]"},[o(s).processing?(a(),n("i",Ue)):(a(),n("i",$e)),y(" "+i(o(s).processing?"Submitting…":"Submit Report"),1)],8,Ve)])])])):p("",!0)])),(a(),U($,{to:"body"},[g.value?(a(),n("div",{key:0,class:"fixed inset-0 z-[100] flex items-center justify-center bg-black/40 backdrop-blur-md p-4",onClick:k(b,["self"])},[e("div",De,[e("div",Ne,[e("div",{class:"flex items-center justify-between mb-6"},[t[47]||(t[47]=e("div",{class:"flex items-center gap-3"},[e("div",{class:"w-10 h-10 rounded-2xl bg-gradient-to-br from-blue-500 to-blue-600 flex items-center justify-center shadow-lg shadow-blue-500/20"},[e("i",{class:"fa-solid fa-pen text-white text-sm"})]),e("div",null,[e("h3",{class:"text-lg font-bold text-[var(--foreground)]"},"Edit Report"),e("p",{class:"text-[11px] text-[var(--muted-foreground)]"},"Update your fraud report details")])],-1)),e("button",{onClick:b,class:"w-8 h-8 flex items-center justify-center rounded-xl text-[var(--muted-foreground)] hover:text-[var(--foreground)] hover:bg-[var(--surface-2)] transition-all active:scale-90"},[...t[46]||(t[46]=[e("i",{class:"fa-solid fa-xmark"},null,-1)])])]),e("form",{onSubmit:k(F,["prevent"]),class:"space-y-5"},[e("div",Xe,[e("div",null,[t[49]||(t[49]=e("label",{class:"block text-[10px] font-bold text-[var(--muted-foreground)] uppercase tracking-wider mb-1.5"},"Phone *",-1)),e("div",Fe,[t[48]||(t[48]=e("i",{class:"fa-solid fa-phone absolute left-3.5 to
1p-1/2 -translate-y-1/2 text-[var(--muted-foreground)]/50 text-[10px]"},null,-1)),u(e("input",{"onUpdate:modelValue":t[13]||(t[13]=r=>o(l).contact_number=r),required:"",class:"w-full bg-[var(--surface-2)] border-none rounded-2xl py-3 pl-9 pr-4 text-sm font-bold focus:ring-2 focus:ring-[var(--primary)]/40 transition-all"},null,512),[[f,o(l).contact_number]])])]),e("div",null,[t[51]||(t[51]=e("label",{class:"block text-[10px] font-bold text-[var(--muted-foreground)] uppercase tracking-wider mb-1.5"},"Name *",-1)),e("div",Pe,[t[50]||(t[50]=e("i",{class:"fa-solid fa-user absolute left-3.5 top-1/2 -translate-y-1/2 text-[var(--muted-foreground)]/50 text-[10px]"},null,-1)),u(e("input",{"onUpdate:modelValue":t[14]||(t[14]=r=>o(l).contact_name=r),required:"",class:"w-full bg-[var(--surface-2)] border-none rounded-2xl py-3 pl-9 pr-4 text-sm font-bold focus:ring-2 focus:ring-[var(--primary)]/40 transition-all"},null,512),[[f,o(l).contact_name]])])])]),e("div",null,[t[52]||(t[52]=e("label",{class:"block text-[10px] font-bold text-[var(--muted-foreground)] uppercase tracking-wider mb-1.5"},"Details *",-1)),u(e("textarea",{"onUpdate:modelValue":t[15]||(t[15]=r=>o(l).complain_details=r),required:"",rows:"3",class:"w-full bg-[var(--surface-2)] border-none rounded-2xl py-3 px-4 text-sm focus:ring-2 focus:ring-[var(--primary)]/40 resize-none transition-all"},null,512),[[f,o(l).complain_details]])]),e("div",null,[t[53]||(t[53]=e("label",{class:"block text-[10px] font-bold text-[var(--muted-foreground)] uppercase tracking-wider mb-2"},"Tags",-1)),e("div",Te,[(a(),n(m,null,v(_,r=>e("label",{key:r.id,class:"cursor-pointer"}
1,[u(e("input",{type:"checkbox",value:r.id,"onUpdate:modelValue":t[16]||(t[16]=c=>o(l).categories=c),class:"peer sr-only"},null,8,ze),[[R,o(l).categories]]),e("div",Ae,i(r.label),1)])),64))])]),e("div",Me,[e("div",null,[t[55]||(t[55]=e("label",{class:"block text-[10px] font-bold text-[var(--muted-foreground)] uppercase tracking-wider mb-1.5"},"Courier",-1)),u(e("select",{"onUpdate:modelValue":t[17]||(t[17]=r=>o(l).courier_name=r),class:"w-full bg-[var(--surface-2)] border-none rounded-2xl py-3 px-3 text-sm font-bold focus:ring-2 focus:ring-[var(--primary)]/40"},[t[54]||(t[54]=e("option",{value:""},"None",-1)),(a(),n(m,null,v(j,r=>e("option",{key:r,value:r},i(r),9,Ee)),64))],512),[[D,o(l).courier_name]])]),e("div",null,[t[56]||(t[56]=e("label",{class:"block text-[10px] font-bold text-[var(--muted-foreground)] uppercase tracking-wider mb-1.5"},"Parcel ID",-1)),u(e("input",{"onUpdate:modelValue":t[18]||(t[18]=r=>o(l).parcel_id=r),class:"w-full bg-[var(--surface-2)] border-none rounded-2xl py-3 px-3 text-sm font-bold focus:ring-2 focus:ring-[var(--primary)]/40 transition-all"},null,512),[[f,o(l).parcel_id]])]),e("div",null,[t[58]||(t[58]=e("label",{class:"block text-[10px] font-bold text-[var(--muted-foreground)] uppercase tracking-wider mb-1.5"},"Evidence",-1)),e("div",qe,[e("input",{type:"file",multiple:"",accept:"image/jpeg,image/png,image/jpg,image/webp",onChange:t[19]||(t[19]=r=>{o(l).images=Array.from(r.target.files||[]).slice(0,5)}),class:"absolute inset-0 w-full h-full opacity-0 cursor-pointer z-10"},null,32),e("div",Be,[t[57]||(t[57]=e("i",{class:"fa-solid fa-cloud-arrow-up text-xs"},null,-1)),e("span",Ie,i(o(l).images.length>0?`${o(l).images.length} files`:"Add"),1)])])])]),e("label",Le,[u(e("input",{"onUpdate:modelValue":t[20]||(t[20]=r=>o(l).is_anonymous=r),type:"checkbox",class:"w-4 h-4 rounded-md text-amber-500 border-[var(--border)] focus:ring-amber-500 bg-[var(--card)]"},null,512),[[R,o(l).is_anonymous]]),t[59]||(t[59]=e("span",{class:"text-xs font-bold text-[var(--foreground)]"},"Anonymous",-1))]),e("div",Ge,[e("button",{type:"button",onClick:b,class:"flex-1 py-3 rounded-2xl font-bold text-sm text-[var(--muted-foreground)] hover:text-[var(--foreground)] bg-[var(--surface-2)] transition-all active:scale-[0.97]"},"Cancel"),e("button",{type:"submit",disabled:o(l).processing,class:"flex-1 py-3 rounded-2xl font-bold text-sm text-white bg-gradient-to-r from-blue-500 to-blue-600 hover:shadow-lg hover:shadow-blue-500/25 hover:-translate-y-0.5 transition-all disabled:opacity-50 flex items-center justify-center gap-2 active:scale-[0.97]"},[o(l).processing?(a(),n("i",He)):(a(),n("span",Je,"Save Changes"))],8,Oe)])],32)])])])):p("",!0)]))]),_:1})],64))}});export{rt 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.