T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/lavocat.quebec/public_html/_next/static/chunks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/lavocat.quebec/public_html/_next/static/chunks/3682-e3add72b12746ac3.js
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3682],{45187:()=>{},62334:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var s=a(37876),r=a(14232),l=a(23042),i=a(67421),n=a(10553),c=a(97685);let d=e=>{var t;let{userId:a,isOpen:d,onClose:o,position:x="center",onStartDirectMessage:m}=e,{data:h}=(0,n.useSession)(),[u,g]=(0,r.useState)(null),[p,b]=(0,r.useState)(!1),[y,f]=(0,r.useState)(null);(0,r.useEffect)(()=>{d&&a&&j()},[d,a]);let j=async()=>{b(!0),f(null);try{let e=await fetch("/api/user/profile?userId=".concat(a));if(e.ok){let t=await e.json();g(t)}else 403===e.status?f("This profile is private"):f("Failed to load profile")}catch(e){f("Error loading profile")}finally{b(!1)}},v=e=>{switch(e){case"Available":return"bg-green-400";case"Busy":return"bg-yellow-400";case"Away":return"bg-orange-400";case"Do Not Disturb":return"bg-red-400";default:return"bg-gray-400"}},N=e=>!!e&&new Date(e)>new Date(Date.now()-3e5);return d?(0,s.jsx)(l.N,{children:(0,s.jsxs)(i.P.div,{initial:{opacity:0,scale:.9,y:10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:10},className:"absolute top-full mt-2 ".concat({left:"right-0",right:"left-0",center:"left-1/2 transform -translate-x-1/2"}[x]," bg-white dark:bg-gray-800 rounded-lg shadow-xl border border-gray-200 dark:border-gray-700 w-80 max-w-sm"),style:{zIndex:99999},children:[(0,s.jsxs)("div",{className:"flex justify-between items-start p-4 border-b border-gray-200 dark:border-gray-700",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:"User Profile"}),(0,s.jsx)("button",{onClick:o,className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors",children:(0,s.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,s.jsx)("div",{className:"p-4",children:p?(0,s.jsx)("div",{className:"flex items-center justify-center py-8",children:(0,s.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-blue-500"})}):y?(0,s.jsxs)("div",{className:"text-center py-8",children:[(0,s.jsx)("div",{className:"text-gray-400 text-4xl mb-2",children:"\uD83D\uDD12"}),(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:y})]}):u?(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"w-16 h-16 rounded-full overflow-hidden bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center",children:u.profilePicture?(0,s.jsx)("img",{src:u.profilePicture,alt:u.name,className:"w-full h-full object-cover"}):(0,s.jsx)("span",{className:"text-white font-semibold text-xl",children:u.name.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2)})}),(0,s.jsx)("div",{className:"absolute -bottom-1 -right-1",children:(0,s.jsx)("div",{className:"w-4 h-4 rounded-full border-2 border-white ".concat(N(u.lastActive)?"bg-green-400":v(u.availability))})})]}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)("h4",{className:"font-semibold text-gray-900 dark:text-white truncate",children:u.name}),(0,s.jsx)("span",{className:"text-lg",children:(e=>{switch(e){case"ADMIN":return"⚖️";case"LAWYER":return"\uD83D\uDC69‍⚖️";default:return"\uD83D\uDC64"}})(u.role)})]}),(0,s.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:(e=>{switch(e){case"ADMIN":return"Legal Team";case"LAWYER":return"Lawyer";default:return"Client"}})(u.role)}),u.title&&(0,s.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-500 truncate",children:u.title}),(0,s.jsxs)("div",{className:"flex items-center space-x-2 mt-1",children:[(0,s.jsx)("div",{className:"w-2 h-2 rounded-full ".concat(N(u.lastActive)?"bg-green-400":v(u.availability))}),(0,s.jsx)("span",{className:"text-xs text-gray-500 dark:text-gray-500",children:N(u.lastActive)?"Online":u.availability||(e=>{if(!e)return"Unknown";let t=new Date(e),a=Math.floor((new Date().getTime()-t.getTime())/6e4);return a<1?"Just now":a<60?"".concat(a,"m ago"):a<1440?"".concat(Math.floor(a/60),"h ago"):t.toLocaleDateString()})(u.lastActive)})]})]})]}),u.bio&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h5",{className:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1",children:"About"}),(0,s.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:u.bio})]}),(u.specialization||u.yearsOfExperience||u.education)&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h5",{className:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Professional"}),(0,s.jsxs)("div",{className:"space-y-1",children:[u.specialization&&(0,s.jsxs)("div",{className:"flex items-center text-sm",children:[(0,s.jsx)("span",{className:"text-gray-500 dark:text-gray-400 w-20",children:"Specialty:"}),(0,s.jsx)("span",{className:"text-gray-700 dark:text-gray-300",children:u.specialization})]}),u.yearsOfExperience&&(0,s.jsxs)("div",{className:"flex items-center text-sm",children:[(0,s.jsx)("span",{className:"text-gray-500 dark:text-gray-400 w-20",children:"Experience:"}),(0,s.jsxs)("span",{className:"text-gray-700 dark:text-gray-300",children:[u.yearsOfExperience," years"]})]}),u.officeLocation&&(0,s.jsxs)("div",{className:"flex items-center text-sm",children:[(0,s.jsx)("span",{className:"text-gray-500 dark:text-gray-400 w-20",children:"Location:"}),(0,s.jsx)("span",{className:"text-gray-700 dark:text-gray-300",children:u.officeLocation})]})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("div",{className:"flex items-center space-x-2",children:(0,s.jsxs)("button",{onClick:()=>{(null==u?void 0:u.email)&&(navigator.clipboard.writeText(u.email),c.Ay.success("Email copied to clipboard"))},className:"flex items-center space-x-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207"})}),(0,s.jsx)("span",{children:u.email})]})}),(0,s.jsxs)("div",{className:"flex items-center space-x-3",children:[u.linkedinUrl&&(0,s.jsx)("button",{onClick:()=>{(null==u?void 0:u.linkedinUrl)&&window.open(u.linkedinUrl,"_blank")},className:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300",title:"LinkedIn Profile",children:(0,s.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}),u.websiteUrl&&(0,s.jsx)("button",{onClick:()=>{(null==u?void 0:u.websiteUrl)&&window.open(u.websiteUrl,"_blank")},className:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300",title:"Website",children:(0,s.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9v-9m0-9v9m0 9c-5 0-9-4-9-9s4-9 9-9"})})})]})]}),(null==h||null==(t=h.user)?void 0:t.id)!==u.id&&(0,s.jsx)("div",{className:"pt-3 border-t border-gray-200 dark:border-gray-700",children:(0,s.jsxs)("button",{onClick:()=>{u&&m&&(m(u.id,u.name),o())},className:"w-full bg-blue-600 text-white py-2 px-4 rounded-lg hover:bg-blue-700 transition-colors text-sm font-medium flex items-center justify-center space-x-2",children:[(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})}),(0,s.jsx)("span",{children:"Send Message"})]})})]}):(0,s.jsx)("div",{className:"text-center py-8",children:(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:"No profile data available"})})})]})}):null}},87919:()=>{},94594:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(37876),r=a(14232),l=a(23042),i=a(67421);let n={xs:"w-6 h-6 text-xs",sm:"w-8 h-8 text-sm",md:"w-10 h-10 text-base",lg:"w-12 h-12 text-lg",xl:"w-16 h-16 text-xl"},c=e=>{let{user:t,size:a="md",showName:c=!1,showRole:d=!1,showTooltip:o=!1,showStatus:x=!1,clickable:m=!1,className:h="",onClick:u}=e,[g,p]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1),f=e=>{switch(e){case"ADMIN":return"⚖️";case"LAWYER":return"\uD83D\uDC69‍⚖️";default:return"\uD83D\uDC64"}},j=e=>{switch(e){case"Available":return"bg-green-400";case"Busy":return"bg-yellow-400";case"Away":return"bg-orange-400";case"Do Not Disturb":return"bg-red-400";default:return"bg-gray-400"}},v=e=>e.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2),N=e=>!!e&&new Date(e)>new Date(Date.now()-3e5),w=(0,s.jsxs)("div",{className:"relative ".concat(m?"cursor-pointer":""," ").concat(h),children:[(0,s.jsxs)("div",{className:"".concat(n[a]," rounded-full overflow-hidden bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center relative ").concat(m?"hover:scale-105 transition-transform":""),onClick:()=>{u?u():o&&p(!g)},children:[t.profilePicture&&!b?(0,s.jsx)("img",{src:t.profilePicture,alt:t.name,className:"w-full h-full object-cover",onError:()=>y(!0),onLoad:()=>y(!1)}):(0,s.jsx)("span",{className:"text-white font-semibold",children:v(t.name)}),x&&(0,s.jsx)("div",{className:"absolute -bottom-0.5 -right-0.5",children:(0,s.jsx)("div",{className:"w-3 h-3 rounded-full border-2 border-white ".concat(N(t.lastActive)?"bg-green-400":j(t.availability))})})]}),(0,s.jsx)(l.N,{children:g&&o&&(0,s.jsxs)(i.P.div,{initial:{opacity:0,scale:.9,y:10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:10},className:"absolute z-50 top-full mt-2 left-1/2 transform -translate-x-1/2 bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-200 dark:border-gray-700 p-4 w-64",children:[(0,s.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-full overflow-hidden bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center flex-shrink-0",children:t.profilePicture&&!b?(0,s.jsx)("img",{src:t.profilePicture,alt:t.name,className:"w-full h-full object-cover",onError:()=>y(!0),onLoad:()=>y(!1)}):(0,s.jsx)("span",{className:"text-white font-semibold",children:v(t.name)})}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)("h3",{className:"font-semibold text-gray-900 dark:text-white truncate",children:t.name}),(0,s.jsx)("span",{className:"text-sm",children:f(t.role)})]}),t.title&&(0,s.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400 truncate",children:t.title}),t.specialization&&(0,s.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-500 truncate",children:t.specialization}),(0,s.jsxs)("div",{className:"flex items-center space-x-2 mt-2",children:[(0,s.jsx)("div",{className:"w-2 h-2 rounded-full ".concat(N(t.lastActive)?"bg-green-400":j(t.availability))}),(0,s.jsx)("span",{className:"text-xs text-gray-500 dark:text-gray-500",children:N(t.lastActive)?"Online":t.availability||(e=>{if(!e)return"Unknown";let t=new Date(e),a=Math.floor((new Date().getTime()-t.getTime())/6e4);return a<1?"Just now":a<60?"".concat(a,"m ago"):a<1440?"".concat(Math.floor(a/60),"h ago"):t.toLocaleDateString()})(t.lastActive)})]}),t.bio&&(0,s.jsx)("p",{className:"text-xs text-gray-600 dark:text-gray-400 mt-2 line-clamp-2",children:t.bio})]})]}),(0,s.jsx)("button",{onClick:()=>p(!1),className:"absolute top-2 right-2 text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",children:(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})})]});return c||d?(0,s.jsxs)("div",{className:"flex items-center space-x-2 ".concat(h),children:[w,(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[c&&(0,s.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-white truncate",children:t.name}),d&&(0,s.jsxs)("p",{className:"text-xs text-gray-500 dark:text-gray-400 truncate",children:[f(t.role)," ",(e=>{switch(e){case"ADMIN":return"Legal Team";case"LAWYER":return"Lawyer";default:return"Client"}})(t.role)]})]})]}):w}},96488:(e,t,a)=>{"use strict";a.d(t,{A:()=>x});var s=a(37876),r=a(14232),l=a(23042),i=a(67421),n=a(18465),c=a(65390),d=a(41268),o=a(70672);let x=e=>{let{onFileSelect:t,onRemoveFile:a,selectedFile:x,uploading:m,acceptedTypes:h="image/jpeg,image/jpg,image/png,image/gif,image/webp,image/bmp,image/svg+xml,application/pdf,.doc,.docx,.txt",maxSizeMB:u=10,className:g=""}=e,[p,b]=(0,r.useState)(!1),[y,f]=(0,r.useState)(null),j=(0,r.useRef)(null),v=e=>{let t=1024*u*1024;if(e.size>t)return"File size must be less than ".concat(u,"MB");let a=["image/jpeg","image/jpg","image/png","image/gif","image/webp","image/bmp","image/svg+xml"].includes(e.type)||/\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i.test(e.name),s=["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/plain"].includes(e.type)||/\.(pdf|doc|docx|txt)$/i.test(e.name);return a||s?a&&e.size>5242880?"Images must be less than 5MB. Use image compression if needed.":null:"File type not supported. Please upload images (JPG, PNG, GIF, WebP, BMP, SVG) or documents (PDF, DOC, DOCX, TXT)"},N=(0,r.useCallback)(e=>{let a=v(e);if(a)return void f(a);f(null),t(e)},[t,u,h]),w=(0,r.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]),k=(0,r.useCallback)(e=>{var t;e.preventDefault(),e.stopPropagation(),(null==(t=e.dataTransfer)?void 0:t.items)&&e.dataTransfer.items.length>0&&b(!0)},[]),D=(0,r.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),b(!1)},[]),C=(0,r.useCallback)(e=>{var t;e.preventDefault(),e.stopPropagation(),b(!1),(null==(t=e.dataTransfer)?void 0:t.files)&&e.dataTransfer.files.length>0&&N(e.dataTransfer.files[0])},[N]),L=e=>{if(0===e)return"0 B";let t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(1))+" "+["B","KB","MB","GB"][t]};return(0,s.jsxs)("div",{className:"relative ".concat(g),children:[(0,s.jsx)("input",{ref:j,type:"file",accept:h,onChange:e=>{var t;let a=null==(t=e.target.files)?void 0:t[0];a&&N(a)},className:"hidden"}),!x&&(0,s.jsx)("button",{type:"button",onClick:()=>{var e;null==(e=j.current)||e.click()},disabled:m,className:"p-2 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",title:"Attach file",children:(0,s.jsx)(d.A,{className:"w-5 h-5"})}),(0,s.jsx)(l.N,{children:x&&(0,s.jsx)(i.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"absolute bottom-full right-0 mb-2 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg shadow-lg p-3 min-w-72",children:x.type.startsWith("image/")?(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("img",{src:URL.createObjectURL(x),alt:x.name,className:"w-full max-w-64 max-h-32 object-cover rounded-lg border border-gray-200 dark:border-gray-600",onLoad:e=>{let t=e.target;setTimeout(()=>URL.revokeObjectURL(t.src),1e3)}}),(0,s.jsx)("button",{onClick:a,disabled:m,className:"absolute -top-2 -right-2 p-1 bg-red-500 hover:bg-red-600 text-white rounded-full shadow-lg disabled:opacity-50 disabled:cursor-not-allowed transition-colors",title:"Remove image",children:(0,s.jsx)(o.A,{className:"w-3 h-3"})})]}),(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-white truncate",children:x.name}),(0,s.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:L(x.size)}),m&&(0,s.jsxs)("div",{className:"mt-2",children:[(0,s.jsx)("div",{className:"w-full bg-gray-200 dark:bg-gray-700 rounded-full h-1.5",children:(0,s.jsx)("div",{className:"bg-blue-500 h-1.5 rounded-full animate-pulse w-1/2"})}),(0,s.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-1",children:"Uploading..."})]})]})]}):(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("div",{className:"flex-shrink-0 text-gray-500 dark:text-gray-400",children:x.type.startsWith("image/")?(0,s.jsx)(n.A,{className:"w-5 h-5"}):(0,s.jsx)(c.A,{className:"w-5 h-5"})}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-white truncate",children:x.name}),(0,s.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:L(x.size)}),m&&(0,s.jsxs)("div",{className:"mt-2",children:[(0,s.jsx)("div",{className:"w-full bg-gray-200 dark:bg-gray-700 rounded-full h-1.5",children:(0,s.jsx)("div",{className:"bg-blue-500 h-1.5 rounded-full animate-pulse w-1/2"})}),(0,s.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-1",children:"Uploading..."})]})]}),(0,s.jsx)("button",{onClick:a,disabled:m,className:"flex-shrink-0 p-1 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 disabled:opacity-50 disabled:cursor-not-allowed",title:"Remove file",children:(0,s.jsx)(o.A,{className:"w-4 h-4"})})]})})}),(0,s.jsx)(l.N,{children:y&&(0,s.jsxs)(i.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"absolute bottom-full right-0 mb-2 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg shadow-lg p-3 min-w-72",children:[(0,s.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:y}),(0,s.jsx)("button",{onClick:()=>f(null),className:"absolute top-2 right-2 p-1 text-red-400 hover:text-red-600 dark:hover:text-red-200",children:(0,s.jsx)(o.A,{className:"w-4 h-4"})})]})}),(0,s.jsx)(l.N,{children:p&&(0,s.jsx)(i.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 bg-black/20 flex items-center justify-center",onDragEnter:k,onDragLeave:D,onDragOver:w,onDrop:C,children:(0,s.jsxs)("div",{className:"bg-white dark:bg-gray-800 border-2 border-dashed border-blue-400 rounded-xl p-8 text-center max-w-md",children:[(0,s.jsx)(n.A,{className:"w-12 h-12 text-blue-500 mx-auto mb-4"}),(0,s.jsx)("p",{className:"text-lg font-medium text-gray-900 dark:text-white",children:"Drop your file here"}),(0,s.jsxs)("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-2",children:[(0,s.jsx)("strong",{children:"Images:"})," JPG, PNG, GIF, WebP, BMP, SVG"]}),(0,s.jsxs)("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:[(0,s.jsx)("strong",{children:"Documents:"})," PDF, DOC, DOCX, TXT"]}),(0,s.jsxs)("p",{className:"text-xs text-gray-400 dark:text-gray-500 mt-2",children:["Maximum size: ",u,"MB"]})]})})})]})}}}]);

CasperSecurity Mini