1var e=Object.defineProperty,a=Object.defineProperties,t=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,r=(a,t,s)=>t in a?e(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s,n=(e,a)=>{for(var t in a||(a={}))l.call(a,t)&&r(e,t,a[t]);if(s)for(var t of s(a))i.call(a,t)&&r(e,t,a[t]);return e},c=(e,s)=>a(e,t(s)),o=(e,a,t)=>new Promise((s,l)=>{var i=e=>{try{n(t.next(e))}catch(a){l(a)}},r=e=>{try{n(t.throw(e))}catch(a){l(a)}},n=e=>e.done?s(e.value):Promise.resolve(e.value).then(i,r);n((t=t.apply(e,a)).next())});import{j as d,m,A as x}from"./animation-vendor-DyvsYe_K.js";import{r as p}from"./react-vendor-Cp73DXeI.js";import{c as u,u as h,d as g}from"./data-vendor-DCUz3pBm.js";import{c as b,a as f}from"./index-PaGZnfE-.js";import{g as j}from"./storage-Cxqzw0nS.js";import{I as v}from"./ImageUploader-B-a_kBNy.js";import{k as N,j as y,W as k,n as w,a1 as _,$ as C,a0 as S,X as L,a2 as I,_ as A}from"./ui-vendor-RrFQxWSr.js";const P=()=>{const e=u(),[a,t]=p.useState(!1),[s,l]=p.useState(!1),[i,r]=p.useState(null),[P,E]=p.useState(""),[O,D]=p.useState(!1),[q,F]=p.useState({title:"",title_hi:"",description:"",description_hi:"",tag:"Culture",tag_hi:"",images:[],order:0,isActive:!0}),[T,H]=p.useState({title:"Legacy of Landmarks",title_hi:"",subtitle:"Transforming Raipur with state-of-the-art infrastructure and cultural icons.",subtitle_hi:"",label:"Official Records",label_hi:""}),{data:R=[],isLoading:U,error:z}=h({queryKey:["landmarks"],queryFn:()=>o(null,null,function*(){return(yield f.get("/landmarks")).data||[]})}),{data:K}=h({queryKey:["landmarks_section_branding"],queryFn:()=>o(null,null,function*(){const e=yield f.get("/headers/landmarks_section");return e.data&&e.data.title&&H({title:e.data.title||"",title_hi:e.data.title_hi||"",subtitle:e.data.subtitle||"",subtitle_hi:e.data.subtitle_hi||"",label:e.data.label||"",label_hi:e.data.label_hi||""}),e.data})}),M=g({mutationFn:e=>f.post("/landmarks",e),onSuccess:()=>{e.invalidateQueries({queryKey:["landmarks"]}),t(!1),V()}}),Q=g({mutationFn:({id:e,data:a})=>f.put(`/landmarks/${e}`,a),onSuccess:()=>{e.invalidateQueries({queryKey:["landmarks"]}),t(!1),r(null),V()}}),$=g({mutationFn:e=>f.post("/headers/landmarks_section",e),onSuccess:()=>{e.invalidateQueries({queryKey:["landmarks_section"]}),l(!1),alert("Branding updated successfully!")}}),B=g({mutationFn:e=>f.delete(`/landmarks/${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:["landmarks"]})}}),V=()=>{F({title:"",title_hi:"",description:"",description_hi:"",tag:"Culture",tag_hi:"",images:[],order:0,isActive:!0})},G=[...R.filter(e=>{var a,t;return(null==(a=e.title)?void 0:a.toLowerCase().includes(P.toLowerCase()))||(null==(t=e.tag)?void 0:t.toLowerCase().includes(P.toLowerCase()))})].sort((e,a)=>e.order-a.order);return d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-6",children:[d.jsxs("div",{className:"flex items-center gap-4",children:[d.jsx("div",{className:"w-14 h-14 bg-orange-100 rounded-2xl flex items-center justify-center shadow-sm",children:d.jsx(N,{className:"w-7 h-7 text-orange-600","aria-hidden":"true"})}),d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx("h1",{className:"text-3xl font-black text-slate-900 uppercase tracking-tighter",children:"Landmarks Showcase"}),d.jsx("span",{className:"text-2xl font-hindi font-black text-slate-400",children:"/ पà¥à¤°à¤®à¥à¤ सà¥à¤¥à¤¾à¤¨"})]}),d.jsx("p",{className:"text-sm text-slate-500 font-medium italic",children:"Manage Raipur's iconic landmarks / रायपà¥à¤° à¤à¥ पà¥à¤°à¤¤à¤¿à¤·à¥à¤ ित सà¥à¤¥à¤²à¥à¤ à¤à¤¾ पà¥à¤°à¤¬à¤à¤§à¤¨ à¤à¤°à¥à¤"})]})]}),d.jsxs("div",{className:"flex flex-wrap gap-3",children:[d.jsxs("button",{onClick:()=>l(!0),className:"px-5 py-3 border border-slate-200 rounded-xl font-bold text-slate-600 hover:bg-slate-50 transition-all flex items-center gap-2 shadow-sm text-sm",children:[d.jsx(y,{className:"w-4 h-4"}
1),d.jsx("span",{children:"Branding / बà¥à¤°à¤¾à¤à¤¡à¤¿à¤à¤"})]}),d.jsxs("button",{onClick:()=>{V(),r(null),t(!0)},className:"flex items-center gap-2 bg-navy-deep text-white px-6 py-3 rounded-xl font-bold hover:shadow-lg transition-all shadow-md text-sm",children:[d.jsx(k,{className:"w-4 h-4","aria-hidden":"true"}),d.jsx("span",{children:"New Landmark / नया सà¥à¤¥à¤¾à¤¨"})]})]})]}),d.jsxs("div",{className:"relative",children:[d.jsx(w,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-slate-400","aria-hidden":"true"}),d.jsx("input",{type:"text",placeholder:"Search by title or tag...",value:P,onChange:e=>E(e.target.value),className:"form-input pl-12 w-full","aria-label":"Search landmarks"})]}),U?d.jsx("div",{className:"card card-elevated flex items-center justify-center py-12",children:d.jsx(_,{className:"w-8 h-8 text-saffron animate-spin"})}):0===G.length?d.jsxs("div",{className:"card card-elevated text-center py-12",children:[d.jsx(N,{className:"w-12 h-12 text-slate-300 mx-auto mb-4","aria-hidden":"true"}),d.jsx("p",{className:"text-slate-500 font-medium",children:"No iconic landmarks found yet"})]}):d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:G.map(e=>{var a,s;return d.jsxs(m.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"card card-elevated group overflow-hidden",children:[d.jsxs("div",{className:"relative h-48 bg-slate-100 overflow-hidden",children:[(null==(a=e.images)?void 0:a[0])?d.jsx("img",{src:j(e.images[0]),alt:e.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"}):d.jsx("div",{className:"w-full h-full flex items-center justify-center text-slate-300",children:d.jsx(y,{className:"w-10 h-10"})}),d.jsx("div",{className:"absolute top-4 left-4",children:d.jsx("span",{className:"px-3 py-1 bg-saffron text-white text-[10px] font-black uppercase rounded-full shadow-lg",children:e.tag})}),d.jsxs("div",{className:"absolute inset-x-0 bottom-0 p-4 bg-slate-50/80 backdrop-blur-sm border-t border-slate-100 flex items-center justify-between opacity-0 group-hover:opacity-100 transition-all duration-300 translate-y-2 group-hover:translate-y-0",children:[d.jsxs("button",{onClick:()=>(e=>{var a;r(e),F({title:e.title||"",title_hi:e.title_hi||"",description:e.description||"",description_hi:e.description_hi||"",tag:e.tag||"Culture",tag_hi:e.tag_hi||"",images:e.images||[],order:e.order||0,isActive:null==(a=e.isActive)||a}),t(!0)})(e),className:"flex items-center gap-2 px-4 py-2 hover:bg-white rounded-xl transition-all text-blue-600 font-bold text-xs uppercase tracking-widest",children:[d.jsx(C,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:"Edit / सà¤à¤ªà¤¾à¤¦à¤¨"})]}),d.jsxs("button",{onClick:()=>{return a=e.id,void(confirm("Are you sure you want to delete this landmark?")&&B.mutate(a));var a},className:"flex items-center gap-2 px-4 py-2 hover:bg-white rounded-xl transition-all text-red-600 font-bold text-xs uppercase tracking-widest",children:[d.jsx(S,{className:"w-3.5 h-3.5"}),d.jsx("span",{children:"Delete / हà¤à¤¾à¤à¤"})]})]}),(null==(s=e.images)?void 0:s.length)>1&&d.jsxs("div",{className:"absolute bottom-4 right-4 bg-black/50 backdrop-blur-md px-2 py-1 rounded text-[10px] text-white font-bold",children:["+",e.images.length-1," More"]})]}),d.jsxs("div",{className:"p-6",children:[d.jsx("h3",{className:"text-lg font-bold text-navy-deep line-clamp-1",children:e.title}),e.title_hi&&d.jsx("p",{className:"text-[10px] font-bold text-saffron mb-2 font-hindi",children:e.title_hi}),d.jsx("p",{className:"text-slate-500 text-sm line-clamp-2 min-h-[2.5rem]",children:e.description}),e.description_hi&&d.jsx("p",{className:"text-[10px] text-slate-400 line-clamp-1 mt-1 font-hindi",children:e.description_hi}),d.jsxs("div",{className:"mt-4 pt-4 border-t border-slate-100 flex items-center justify-between",children:[d.jsxs("span",{className:b("text-[10px] font-bold uppercase tracking-widest",e.isActive?"text-green-600":"text-slate-400"),children:["â ",e.isActive?"Visible":"Hidden"]}),d.jsxs("span",{className:"text-[10px] font-bold text-slate-400",children:["ORDER: ",e.order]})]})]})]},e.id)})}),d.jsx(x,{children:a&&d.jsx("div",{className:"fixed inset-0 bg-slate-900/80 backdrop-blur-sm flex items-center justify-center z-50 p-4",children:d.jsxs(m.div,{initial:{opacity:0,scale:.95,y:20}
1,animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},className:"bg-white rounded-[2rem] shadow-2xl max-w-4xl w-full max-h-[90vh] overflow-hidden flex flex-col",children:[d.jsxs("div",{className:"flex items-center justify-between p-8 border-b border-slate-100 shrink-0",children:[d.jsxs("div",{children:[d.jsx("h2",{className:"text-2xl font-black text-navy-deep uppercase tracking-tight",children:i?"Edit Landmark":"Add Landmark"}),d.jsx("p",{className:"text-sm text-slate-500 font-medium",children:"Details will be visible on the homepage"})]}),d.jsx("button",{onClick:()=>t(!1),className:"p-3 hover:bg-slate-100 rounded-full transition-colors",children:d.jsx(L,{className:"w-6 h-6 text-slate-400"})})]}),d.jsx("div",{className:"flex-1 overflow-y-auto p-8 custom-scrollbar",children:d.jsxs("form",{onSubmit:e=>o(null,null,function*(){e.preventDefault(),0!==q.images.length?i?Q.mutate({id:i.id,data:q}):M.mutate(q):alert("Please add at least one image")}),className:"space-y-8",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Title (EN) / शà¥à¤°à¥à¤·à¤ (à¤
à¤à¤à¥à¤°à¥à¤à¥) *"}),d.jsx("input",{type:"text",required:!0,value:q.title,onChange:e=>F(c(n({},q),{title:e.target.value})),className:"form-input",placeholder:"Swami Vivekananda Sarovar"})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-orange-400 mb-2 block",children:"Title (HI) / शà¥à¤°à¥à¤·à¤ (हिनà¥à¤¦à¥)"}),d.jsx("input",{type:"text",value:q.title_hi,onChange:e=>F(c(n({},q),{title_hi:e.target.value})),className:"form-input font-hindi",placeholder:"सà¥à¤µà¤¾à¤®à¥ विवà¥à¤à¤¾à¤¨à¤à¤¦ सरà¥à¤µà¤°"})]})]}),d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Tag (EN) / शà¥à¤°à¥à¤£à¥ (à¤
à¤à¤à¥à¤°à¥à¤à¥) *"}),d.jsxs("select",{value:q.tag,onChange:e=>F(c(n({},q),{tag:e.target.value})),className:"form-input",children:[d.jsx("option",{value:"Culture",children:"Culture"}),d.jsx("option",{value:"Tourism",children:"Tourism"}),d.jsx("option",{value:"Sports",children:"Sports"}),d.jsx("option",{value:"Development",children:"Development"}),d.jsx("option",{value:"Religion",children:"Religion"})]})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-orange-400 mb-2 block",children:"Tag (HI) / शà¥à¤°à¥à¤£à¥ (हिनà¥à¤¦à¥)"}),d.jsx("input",{type:"text",value:q.tag_hi,onChange:e=>F(c(n({},q),{tag_hi:e.target.value})),className:"form-input font-hindi",placeholder:"सà¤à¤¸à¥à¤à¥à¤¤à¤¿"})]})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Order Index"}),d.jsx("input",{type:"number",value:q.order,onChange:e=>F(c(n({},q),{order:parseInt(e.target.value)||0})),className:"form-input"})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Description (EN) / विवरण (à¤
à¤à¤à¥à¤°à¥à¤à¥) *"}),d.jsx("textarea",{required:!0,rows:3,value:q.description,onChange:e=>F(c(n({},q),{description:e.target.value})),className:"form-input resize-none",placeholder:"Tell the story of this landmark in English..."})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-orange-400 mb-2 block",children:"Description (HI) / विवरण (हिनà¥à¤¦à¥)"}),d.jsx("textarea",{rows:3,value:q.description_hi,onChange:e=>F(c(n({},q),{description_hi:e.target.value})),className:"form-input resize-none font-hindi",placeholder:"हिनà¥à¤¦à¥ मà¥à¤ विवरण लिà¤à¥à¤..."})]})]}),d.jsxs("div",{className:"space-y-6",children:[d.jsxs("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:["Slideshow Images (",q.
1images.length,")"]}),d.jsxs("div",{className:"bg-slate-50 border-2 border-dashed border-slate-200 rounded-2xl p-6 relative hover:border-saffron hover:bg-saffron/5 transition-all group",children:[d.jsx("input",{type:"file",multiple:!0,accept:"image/*",onChange:e=>o(null,null,function*(){const a=Array.from(e.target.files);if(0===a.length)return;D(!0);const t=new FormData;a.forEach(e=>{t.append("files",e)});try{const e=(yield f.post("/upload/multiple",t,{headers:{"Content-Type":"multipart/form-data"}})).data.files.map(e=>e.fullUrl);F(a=>c(n({},a),{images:[...a.images,...e]}))}catch(s){alert("Failed to upload images.")}finally{D(!1)}}),className:"absolute inset-0 opacity-0 cursor-pointer",disabled:O}),d.jsxs("div",{className:"text-center",children:[O?d.jsx(_,{className:"w-10 h-10 text-saffron animate-spin mx-auto mb-2"}):d.jsx(I,{className:"w-10 h-10 text-slate-300 group-hover:text-saffron transition-colors mx-auto mb-2"}),d.jsx("p",{className:"text-sm font-bold text-slate-500 uppercase tracking-wider",children:O?"Uploading...":"Click or drag images"})]})]}),q.images.length>0&&d.jsx("div",{className:"grid grid-cols-3 gap-3 max-h-[300px] overflow-y-auto pr-2 custom-scrollbar",children:q.images.map((e,a)=>d.jsxs("div",{className:"relative aspect-square rounded-xl overflow-hidden group",children:[d.jsx("img",{src:j(e),alt:"",className:"w-full h-full object-cover"}),d.jsx("button",{type:"button",onClick:()=>{return e=a,void F(a=>c(n({},a),{images:a.images.filter((a,t)=>t!==e)}));var e},className:"absolute top-2 right-2 p-1.5 bg-red-500 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-all scale-90 group-hover:scale-100",children:d.jsx(S,{className:"w-3 h-3"})}),d.jsx("div",{className:"absolute bottom-2 left-2 px-2 py-0.5 bg-black/60 backdrop-blur-md rounded text-[8px] text-white font-bold uppercase",children:0===a?"Cover":`IMG ${a+1}`})]},a))})]})]}),d.jsx("div",{className:"flex items-center gap-4 bg-slate-50 p-6 rounded-2xl border border-slate-100",children:d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx("input",{type:"checkbox",id:"isActive",checked:q.isActive,onChange:e=>F(c(n({},q),{isActive:e.target.checked})),className:"w-5 h-5 rounded border-slate-300 text-saffron"}),d.jsx("label",{htmlFor:"isActive",className:"text-sm font-black text-navy-deep uppercase tracking-widest",children:"Show on homepage"})]})}),d.jsxs("div",{className:"flex gap-4 sticky bottom-0 bg-white pt-6 border-t border-slate-100",children:[d.jsx("button",{type:"submit",disabled:M.isPending||Q.isPending||O,className:"flex-1 bg-gradient-to-r from-saffron to-orange-500 text-white py-4 rounded-xl font-black uppercase tracking-widest shadow-xl shadow-saffron/20 hover:shadow-saffron/40 hover:-translate-y-1 transition-all flex items-center justify-center gap-3",children:M.isPending||Q.isPending?d.jsx(_,{className:"w-6 h-6 animate-spin"}):d.jsxs(d.Fragment,{children:[d.jsx(A,{className:"w-6 h-6"}),i?"Update Landmark":"Save Landmark"]})}),d.jsx("button",{type:"button",onClick:()=>t(!1),className:"flex-1 bg-slate-100 text-slate-500 py-4 rounded-xl font-black uppercase tracking-widest hover:bg-slate-200 transition-all",children:"Cancel"})]})]})})]})})}),d.jsx(x,{children:s&&d.jsx("div",{className:"fixed inset-0 bg-slate-900/80 backdrop-blur-sm flex items-center justify-center z-50 p-4",children:d.jsxs(m.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},className:"bg-white rounded-[2rem] shadow-2xl max-w-xl w-full",children:[d.jsxs("div",{className:"flex items-center justify-between p-8 border-b border-slate-100",children:[d.jsxs("div",{children:[d.jsx("h2",{className:"text-2xl font-black text-navy-deep uppercase tracking-tight",children:"Section Branding"}),d.jsx("p",{className:"text-sm text-slate-500 font-medium",children:"Update the header and intro for this section"})]}),d.jsx("button",{onClick:()=>l(!1),className:"p-3 hover:bg-slate-100 rounded-full transition-colors",children:d.jsx(L,{className:"w-6 h-6 text-slate-400"})})]}),d.jsxs("form",{onSubmit:e=>{e.preventDefault(),$.mutate(T)},className:"p-8 space-y-6",children:[d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Small Label (EN)"}),d.jsx("input",{type:"text",value:T.label,onChange:e=>H(c(n({},T),{label:e.target.value})),className:"form-input",placeholder:"e.g. Official Records"})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-orange-400 mb-2 block",children:"Small Label (HI)"}),d.jsx("input",{type:"text",value:T.label_hi,onChange:e=>H(c(n({},T),{label_hi:e.target.value})),className:"form-input font-hindi",placeholder:"à¤à¥à¤¸à¥: à¤à¤§à¤¿à¤à¤¾à¤°à¤¿à¤ रिà¤à¥à¤°à¥à¤¡"})]})]}),d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Main Title (EN)"}),d.jsx("input",{type:"text",value:T.title,onChange:e=>H(c(n({},T),{title:e.target.value})),className:"form-input",placeholder:"e.g. Legacy of Landmarks"})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-orange-400 mb-2 block",children:"Main Title (HI)"}),d.jsx("input",{type:"text",value:T.title_hi,onChange:e=>H(c(n({},T),{title_hi:e.target.value})),className:"form-input font-hindi",placeholder:"à¤à¥à¤¸à¥: à¤à¤¤à¤¿à¤¹à¤¾à
1¤¸à¤¿à¤ सà¥à¤¥à¤²"})]})]}),d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Subtitle (EN)"}),d.jsx("textarea",{rows:3,value:T.subtitle,onChange:e=>H(c(n({},T),{subtitle:e.target.value})),className:"form-input resize-none text-sm",placeholder:"Description in English..."})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-orange-400 mb-2 block",children:"Subtitle (HI)"}),d.jsx("textarea",{rows:3,value:T.subtitle_hi,onChange:e=>H(c(n({},T),{subtitle_hi:e.target.value})),className:"form-input resize-none font-hindi text-sm",placeholder:"हिनà¥à¤¦à¥ मà¥à¤ विवरण..."})]})]}),d.jsxs("div",{className:"form-group",children:[d.jsx("label",{className:"text-xs font-black uppercase tracking-widest text-slate-400 mb-2 block",children:"Section Featured Image"}),d.jsx(v,{value:T.imageUrl,onChange:e=>H(c(n({},T),{imageUrl:e})),label:"Large Header Image"})]}),d.jsxs("div",{className:"flex gap-4 pt-4",children:[d.jsxs("button",{type:"submit",disabled:$.isPending,className:"flex-1 bg-navy-deep text-white py-4 rounded-xl font-black uppercase tracking-widest hover:bg-navy transition-all flex items-center justify-center gap-2",children:[$.isPending?d.jsx(_,{className:"w-5 h-5 animate-spin"}):d.jsx(A,{className:"w-5 h-5"}),"Save Changes"]}),d.jsx("button",{type:"button",onClick:()=>l(!1),className:"flex-1 bg-slate-100 text-slate-500 py-4 rounded-xl font-black uppercase tracking-widest hover:bg-slate-200 transition-all",children:"Cancel"})]})]})]})})})]})};export{P 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.