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.ca/private_html/.next/server/chunks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/lavocat.ca/private_html/.next/server/chunks/9904.js
"use strict";exports.id=9904,exports.ids=[9904],exports.modules={5789:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(72386).A)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]])},13213:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(72386).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},37139:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(72386).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},51898:(e,t,a)=>{a.d(t,{z:()=>s});var r=a(96330);let s=globalThis.prisma??new r.PrismaClient({log:["error"]})},57341:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(72386).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},61779:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var r=a(8732),s=a(82341);function l(){return(0,r.jsxs)(s.Html,{lang:"en",children:[(0,r.jsxs)(s.Head,{children:[(0,r.jsx)("meta",{charSet:"utf-8"}),(0,r.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,r.jsx)("link",{rel:"apple-touch-icon",href:"/logo192.png"}),(0,r.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",rel:"stylesheet"})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(s.Main,{}),(0,r.jsx)(s.NextScript,{})]})]})}},71410:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(72386).A)("building-2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},75974:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(72386).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},80237:(e,t)=>{Object.defineProperty(t,"A",{enumerable:!0,get:function(){return a}});var a=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE",e}({})},81413:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,a){return a in t?t[a]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,a)):"function"==typeof t&&"default"===a?t:void 0}}})},84904:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(72386).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},92839:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.d(t,{A:()=>w});var s=a(8732),l=a(82015),i=a(4722),n=a(44233),c=a(63220),o=a(93923),d=a(40128),x=a(5453),h=a(87637),m=a(37139),g=a(66596),p=a(82439),u=a(84904),y=a(13213),f=a(30703),b=a(5789),j=a(22554),v=a(57341),N=a(42893),k=e([c,N]);[c,N]=k.then?(await k)():k;let w=({lawyer:e,businessProfile:t,availableCases:a=[],className:r=""})=>{let{data:k}=(0,i.useSession)(),w=(0,n.useRouter)(),[A,C]=(0,l.useState)(!1),[P,M]=(0,l.useState)(""),[$,R]=(0,l.useState)(!1),E=[{id:"case-representation",title:"Case Representation",description:"Hire for a specific legal case",icon:o.A,color:"bg-blue-500",features:["Full case representation","Court appearances","Document preparation","Client communication","Case strategy development"],price:e.hourlyRate?`$${e.hourlyRate}/hour`:"Contact for pricing",duration:"Case duration",popular:!0},{id:"consultation",title:"Legal Consultation",description:"One-time legal advice session",icon:d.A,color:"bg-green-500",features:["1-hour consultation","Legal advice","Case evaluation","Strategy recommendations","Follow-up summary"],price:e.hourlyRate?`$${e.hourlyRate}/hour`:"Contact for pricing",duration:"1 hour",popular:!1},{id:"retainer",title:"Monthly Retainer",description:"Ongoing legal services",icon:x.A,color:"bg-purple-500",features:["Monthly legal services","Priority access","Regular check-ins","Document review","Legal strategy support"],price:e.hourlyRate?`$${Math.round(.8*e.hourlyRate*20)}/month`:"Contact for pricing",duration:"Monthly",popular:!1},{id:"case-offer",title:"Make Case Offer",description:"Propose collaboration on a case",icon:h.A,color:"bg-orange-500",features:["Case collaboration","Shared responsibilities","Split fees","Joint strategy","Team approach"],price:"Negotiable",duration:"Case duration",popular:!1}],S=async t=>{if(!k){N.default.error("Please log in to hire a lawyer"),w.push("/auth/login");return}R(!0),M(t);try{switch(t){case"case-representation":a.length>0?w.push(`/hire/case-selection?lawyerId=${e.id}`):w.push(`/hire/new-case?lawyerId=${e.id}`);break;case"consultation":w.push(`/hire/consultation?lawyerId=${e.id}`);break;case"retainer":w.push(`/hire/retainer?lawyerId=${e.id}`);break;case"case-offer":a.length>0?w.push(`/hire/case-offer?lawyerId=${e.id}`):N.default.error("No cases available for collaboration");break;default:N.default.error("Invalid hiring option")}}catch(e){console.error("Error processing hire request:",e),N.default.error("Error processing request")}finally{R(!1)}},I=(e=>e>=50?{color:"bg-purple-500",text:"Legendary"}:e>=30?{color:"bg-red-500",text:"Master"}:e>=20?{color:"bg-orange-500",text:"Expert"}:e>=10?{color:"bg-blue-500",text:"Advanced"}:{color:"bg-gray-500",text:"Beginner"})(e.level);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{onClick:()=>C(!0),className:`inline-flex items-center px-6 py-3 bg-gradient-to-r from-blue-600 to-purple-600 text-white font-semibold rounded-lg hover:from-blue-700 hover:to-purple-700 transition-all duration-200 shadow-lg hover:shadow-xl transform hover:-translate-y-0.5 ${r}`,children:[(0,s.jsx)(o.A,{className:"h-5 w-5 mr-2"}),"Hire ",e.name.split(" ")[0],(0,s.jsx)(m.A,{className:"h-4 w-4 ml-2"})]}),(0,s.jsx)(c.AnimatePresence,{children:A&&(0,s.jsx)(c.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",onClick:()=>C(!1),children:(0,s.jsxs)(c.motion.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},className:"bg-white dark:bg-gray-800 rounded-xl shadow-2xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",onClick:e=>e.stopPropagation(),children:[(0,s.jsxs)("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[e.profilePicture?(0,s.jsx)("img",{src:e.profilePicture,alt:e.name,className:"w-16 h-16 rounded-full object-cover"}):(0,s.jsx)("div",{className:"w-16 h-16 bg-gradient-to-br from-blue-400 to-purple-500 rounded-full flex items-center justify-center",children:(0,s.jsx)(h.A,{className:"h-8 w-8 text-white"})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 dark:text-white flex items-center",children:[e.name,e.isVerified&&(0,s.jsx)(g.A,{className:"h-6 w-6 ml-2 text-blue-600"})]}),(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:e.title}),(0,s.jsxs)("div",{className:"flex items-center space-x-2 mt-1",children:[(0,s.jsxs)("span",{className:`px-2 py-1 text-xs text-white rounded-full ${I.color}`,children:[I.text," (Lv.",e.level,")"]}),(0,s.jsxs)("div",{className:"flex items-center text-yellow-500",children:[(0,s.jsx)(p.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"text-sm ml-1",children:e.averageRating?e.averageRating.toFixed(1):"N/A"})]})]})]})]}),(0,s.jsx)("button",{onClick:()=>C(!1),className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",children:(0,s.jsx)(u.A,{className:"h-6 w-6"})})]}),(0,s.jsxs)("div",{className:"grid grid-cols-4 gap-4 mt-6",children:[(0,s.jsxs)("div",{className:"text-center p-3 bg-blue-50 dark:bg-blue-900/20 rounded-lg",children:[(0,s.jsx)("div",{className:"text-lg font-bold text-blue-600",children:e.totalCases}),(0,s.jsx)("div",{className:"text-xs text-gray-600 dark:text-gray-400",children:"Total Cases"})]}),(0,s.jsxs)("div",{className:"text-center p-3 bg-green-50 dark:bg-green-900/20 rounded-lg",children:[(0,s.jsx)("div",{className:"text-lg font-bold text-green-600",children:"number"==typeof e.winRate?`${e.winRate.toFixed(1)}%`:"N/A"}),(0,s.jsx)("div",{className:"text-xs text-gray-600 dark:text-gray-400",children:"Win Rate"})]}),(0,s.jsxs)("div",{className:"text-center p-3 bg-purple-50 dark:bg-purple-900/20 rounded-lg",children:[(0,s.jsx)("div",{className:"text-lg font-bold text-purple-600",children:e.yearsOfExperience||0}),(0,s.jsx)("div",{className:"text-xs text-gray-600 dark:text-gray-400",children:"Years Exp."})]}),(0,s.jsxs)("div",{className:"text-center p-3 bg-yellow-50 dark:bg-yellow-900/20 rounded-lg",children:[(0,s.jsx)("div",{className:"text-lg font-bold text-yellow-600",children:e.totalBadges}),(0,s.jsx)("div",{className:"text-xs text-gray-600 dark:text-gray-400",children:"Badges"})]})]})]}),(0,s.jsxs)("div",{className:"p-6",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-6",children:"Choose Your Hiring Option"}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:E.map(e=>(0,s.jsxs)(c.motion.div,{whileHover:{scale:1.02},className:`relative border-2 rounded-xl p-6 cursor-pointer transition-all duration-200 ${e.popular?"border-blue-500 bg-blue-50 dark:bg-blue-900/10":"border-gray-200 dark:border-gray-700 hover:border-blue-300"}`,onClick:()=>S(e.id),children:[e.popular&&(0,s.jsx)("div",{className:"absolute -top-3 left-1/2 transform -translate-x-1/2",children:(0,s.jsx)("span",{className:"bg-blue-500 text-white px-3 py-1 rounded-full text-xs font-semibold",children:"Most Popular"})}),(0,s.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,s.jsx)("div",{className:`p-3 rounded-lg ${e.color} text-white`,children:(0,s.jsx)(e.icon,{className:"h-6 w-6"})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:e.title}),(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-400 text-sm mb-4",children:e.description}),(0,s.jsx)("div",{className:"space-y-2 mb-4",children:e.features.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center text-sm text-gray-600 dark:text-gray-400",children:[(0,s.jsx)(y.A,{className:"h-4 w-4 text-green-500 mr-2 flex-shrink-0"}),e]},t))}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-lg font-bold text-gray-900 dark:text-white",children:e.price}),(0,s.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:e.duration})]}),(0,s.jsx)(m.A,{className:"h-5 w-5 text-blue-600"})]})]})]})]},e.id))}),a.length>0&&(0,s.jsxs)("div",{className:"mt-8 p-4 bg-gray-50 dark:bg-gray-700 rounded-lg",children:[(0,s.jsxs)("h4",{className:"font-semibold text-gray-900 dark:text-white mb-3 flex items-center",children:[(0,s.jsx)(f.A,{className:"h-5 w-5 mr-2"}),"Available Cases for Collaboration"]}),(0,s.jsx)("div",{className:"space-y-2",children:a.slice(0,3).map(e=>(0,s.jsxs)("div",{className:"flex items-center justify-between p-3 bg-white dark:bg-gray-600 rounded-lg",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-medium text-gray-900 dark:text-white",children:e.title}),(0,s.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:[e.caseType," • ",e.priority," priority"]})]}),(0,s.jsxs)("div",{className:"text-right",children:[(0,s.jsx)("div",{className:"text-sm font-medium text-gray-900 dark:text-white",children:e.budget?`$${e.budget.toLocaleString()}`:"Contact for budget"}),(0,s.jsx)("div",{className:"text-xs text-gray-600 dark:text-gray-400",children:e.status})]})]},e.id))})]}),(0,s.jsxs)("div",{className:"mt-6 p-4 bg-blue-50 dark:bg-blue-900/10 rounded-lg",children:[(0,s.jsx)("h4",{className:"font-semibold text-gray-900 dark:text-white mb-3",children:"Need to discuss first?"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center text-gray-600 dark:text-gray-400",children:[(0,s.jsx)(b.A,{className:"h-4 w-4 mr-2"}),(0,s.jsx)("span",{children:"Call for consultation"})]}),(0,s.jsxs)("div",{className:"flex items-center text-gray-600 dark:text-gray-400",children:[(0,s.jsx)(j.A,{className:"h-4 w-4 mr-2"}),(0,s.jsx)("span",{children:"Send message"})]}),(0,s.jsxs)("div",{className:"flex items-center text-gray-600 dark:text-gray-400",children:[(0,s.jsx)(v.A,{className:"h-4 w-4 mr-2"}),(0,s.jsx)("span",{children:e.officeLocation||"Office location"})]})]})]})]})]})})})]})};r()}catch(e){r(e)}})}};

CasperSecurity Mini