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/8286.js
"use strict";exports.id=8286,exports.ids=[8286],exports.modules={5134:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(72386).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},5789:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(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"}]])},9741:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(72386).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},13838:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(72386).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},16383:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(72386).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},22554:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(72386).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},30703:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(72386).A)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},61779:(e,a,r)=>{r.r(a),r.d(a,{default:()=>s});var t=r(8732),i=r(82341);function s(){return(0,t.jsxs)(i.Html,{lang:"en",children:[(0,t.jsxs)(i.Head,{children:[(0,t.jsx)("meta",{charSet:"utf-8"}),(0,t.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,t.jsx)("link",{rel:"apple-touch-icon",href:"/logo192.png"}),(0,t.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,t.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,t.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,t.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",rel:"stylesheet"})]}),(0,t.jsxs)("body",{children:[(0,t.jsx)(i.Main,{}),(0,t.jsx)(i.NextScript,{})]})]})}},71335:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(72386).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},76409:(e,a,r)=>{r.a(e,async(e,t)=>{try{r.d(a,{A:()=>w});var i=r(8732),s=r(82015),l=r(63220),n=r(71335),o=r(13213),c=r(5134),d=r(66596),m=r(75974),u=r(30703),x=r(13838),h=r(22554),f=r(57341),p=r(5789),g=r(16383),b=r(9741),y=r(19918),v=r.n(y),j=r(4722),N=r(82405),k=e([l,N]);[l,N]=k.then?(await k)():k;let w=({language:e,onLanguageToggle:a,content:r})=>{let[t,y]=(0,s.useState)(1),[k,w]=(0,s.useState)([{id:"barreau-verification",title:r.steps.barreau,description:r.steps.barreauDesc,status:"pending"},{id:"profile-creation",title:r.steps.profile,description:r.steps.profileDesc,status:"pending"},{id:"firm-setup",title:r.steps.firm,description:r.steps.firmDesc,status:"pending"}]),[A,P]=(0,s.useState)({barNumber:"",name:"",email:"",address:"",phone:"",practiceArea:"",specializations:[],regions:[]}),[S,V]=(0,s.useState)({}),[z,B]=(0,s.useState)(null),[C,q]=(0,s.useState)(!1),[E,D]=(0,s.useState)(null),[I,M]=(0,s.useState)(!1),[T,R]=(0,s.useState)(!1),[Q,F]=(0,s.useState)(""),[G,L]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=sessionStorage.getItem("lawyerSignupData");if(e){let a=JSON.parse(e);B(a),P(e=>({...e,name:`${a.firstName} ${a.lastName}`,email:a.email}))}},[]);let O=["Civil","Commercial","Criminal","Family","Immigration","Administrative","Constitutional","International","Labour","Real Estate","Intellectual Property","Tax","Bankruptcy","Environmental","Health","Education","Technology"],H=(a,r)=>{switch(a){case"name":if(!r||r.trim().length<2)return"fr"===e?"Le nom doit contenir au moins 2 caract\xe8res":"Name must be at least 2 characters";if(!/^[a-zA-ZÀ-ÿ\s]+$/.test(r))return"fr"===e?"Le nom ne peut contenir que des lettres":"Name can only contain letters";break;case"email":if(!r||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r))return"fr"===e?"Adresse email invalide":"Invalid email address";break;case"phone":if(!r||r.replace(/[^\d]/g,"").length<10)return"fr"===e?"Num\xe9ro de t\xe9l\xe9phone invalide":"Invalid phone number";break;case"practiceArea":if(!r)return"fr"===e?"Veuillez s\xe9lectionner un domaine de pratique":"Please select a practice area";break;case"address":if(!r||r.trim().length<5)return"fr"===e?"Adresse de pratique requise":"Practice address required"}return""},J=()=>{let e={};return["name","email","phone","practiceArea","address"].forEach(a=>{let r=H(a,A[a]);r&&(e[a]=r)}),V(e),0===Object.keys(e).length},U=(e,a)=>{P(r=>({...r,[e]:a})),S[e]&&V(a=>({...a,[e]:""}))},W=e=>{P(a=>({...a,specializations:a.specializations.includes(e)?a.specializations.filter(a=>a!==e):[...a.specializations,e]}))},$=e=>{P(a=>({...a,regions:a.regions.includes(e)?a.regions.filter(a=>a!==e):[...a.regions,e]}))},_=e=>e.replace(/[^\d]/g,""),Z=async()=>{if(!J()){F("fr"===e?"Veuillez corriger les erreurs dans le formulaire":"Please correct the errors in the form"),R(!0);return}q(!0),y(2),R(!1),w(e=>e.map(e=>"barreau-verification"===e.id?{...e,status:"loading"}:e));try{let a={name:A.name.trim(),phone:_(A.phone),practiceArea:A.practiceArea},r=await fetch("/api/lawyer/barreau-verify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!r.ok)throw Error(`HTTP error! status: ${r.status}`);let t=await r.json();if(D(t),t.found&&t.matchedProfiles&&t.matchedProfiles.length>0)w(e=>e.map(e=>"barreau-verification"===e.id?{...e,status:"success"}:e)),R(!1),L(!0),z&&await K(),setTimeout(()=>{y(3),w(e=>e.map(e=>"profile-creation"===e.id?{...e,status:"success"}:e))},2e3);else{w(e=>e.map(e=>"barreau-verification"===e.id?{...e,status:"error"}:e));let a="";t.allProfiles&&t.allProfiles.length>0?(a="fr"===e?`Avocat trouv\xe9 dans le r\xe9pertoire mais les informations ne correspondent pas. V\xe9rifiez votre num\xe9ro de t\xe9l\xe9phone et domaine de pratique.`:"Lawyer found in directory but information does not match. Please verify your phone number and practice area.",L(!0)):a="fr"===e?"Aucun avocat correspondant trouv\xe9 dans le r\xe9pertoire du Barreau. V\xe9rifiez l'orthographe du nom ou contactez le Barreau du Qu\xe9bec.":"No matching lawyer found in the Barreau directory. Check the spelling of your name or contact the Barreau du Qu\xe9bec.",F(a),R(!0)}}catch(a){console.error("Verification error:",a),w(e=>e.map(e=>"barreau-verification"===e.id?{...e,status:"error"}:e)),F("fr"===e?"Erreur lors de la v\xe9rification. Veuillez r\xe9essayer ou utiliser la v\xe9rification manuelle.":"Verification error. Please try again or use manual verification."),R(!0)}finally{q(!1)}},K=async()=>{if(z)try{let e=await (0,j.signIn)("credentials",{email:z.email,password:z.password,redirect:!1});e?.ok&&sessionStorage.removeItem("lawyerSignupData")}catch(e){console.error("Registration completion error:",e)}},X=e=>{switch(e){case"loading":return(0,i.jsx)(n.A,{className:"h-6 w-6 animate-spin text-blue-500"});case"success":return(0,i.jsx)(o.A,{className:"h-6 w-6 text-green-500"});case"error":return(0,i.jsx)(c.A,{className:"h-6 w-6 text-red-500"});default:return(0,i.jsx)("div",{className:"h-6 w-6 rounded-full border-2 border-gray-300"})}},Y=(e,a,r,t="text",s,l=!1)=>(0,i.jsxs)("div",{children:[(0,i.jsxs)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:[a," ",l&&"*"]}),(0,i.jsxs)("div",{className:"relative",children:[s,(0,i.jsx)("input",{type:t,value:A[e],onChange:a=>U(e,a.target.value),placeholder:r,className:`w-full pl-10 pr-3 py-2 border rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:text-white ${S[e]?"border-red-500 focus:ring-red-500":"border-gray-300 dark:border-gray-600"}`})]}),S[e]&&(0,i.jsxs)("p",{className:"mt-1 text-sm text-red-600 dark:text-red-400 flex items-center",children:[(0,i.jsx)(c.A,{className:"h-4 w-4 mr-1"}),S[e]]})]});return(0,i.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-8",children:[(0,i.jsxs)(l.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-8",children:[(0,i.jsxs)("div",{className:"flex items-center justify-center mb-4",children:[(0,i.jsx)(d.A,{className:"h-12 w-12 text-blue-600 mr-3"}),(0,i.jsx)("h1",{className:"text-3xl font-bold text-gray-900 dark:text-white",children:"avocat.quebec"})]}),(0,i.jsx)("h2",{className:"text-2xl font-semibold text-gray-800 dark:text-gray-200 mb-2",children:r.header.title}),(0,i.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:r.header.subtitle})]}),(0,i.jsx)(l.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.1},className:"flex justify-end mb-6",children:(0,i.jsxs)("button",{onClick:a,className:"flex items-center space-x-2 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg px-3 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors",children:[(0,i.jsx)(m.A,{className:"h-4 w-4"}),(0,i.jsx)("span",{children:r.languageSwitch})]})}),1===t&&(0,i.jsx)(l.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"mb-8",children:(0,i.jsx)("div",{className:"flex items-center justify-between",children:k.map((e,a)=>(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsxs)("div",{className:"flex items-center",children:[X(e.status),(0,i.jsxs)("div",{className:"ml-3",children:[(0,i.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-white",children:e.title}),(0,i.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:e.description})]})]}),a<k.length-1&&(0,i.jsx)("div",{className:"mx-4 h-px w-16 bg-gray-300 dark:bg-gray-600"})]},e.id))})}),1===t&&(0,i.jsxs)(l.motion.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},className:"bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6",children:[(0,i.jsx)("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-6",children:"fr"===e?"Informations de l'avocat":"Lawyer Information"}),(0,i.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[Y("barNumber",r.form.barNumber,r.form.barNumberPlaceholder,"text",(0,i.jsx)(u.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"})),Y("name",r.form.fullName,r.form.fullNamePlaceholder,"text",(0,i.jsx)(x.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),!0),Y("email",r.form.email,r.form.emailPlaceholder,"email",(0,i.jsx)(h.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),!0),Y("address",r.form.address,r.form.addressPlaceholder,"text",(0,i.jsx)(f.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),!0),Y("phone",r.form.phone,r.form.phonePlaceholder,"tel",(0,i.jsx)(p.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),!0),(0,i.jsxs)("div",{children:[(0,i.jsxs)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:[r.form.practiceArea," *"]}),(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(u.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"}),(0,i.jsxs)("select",{value:A.practiceArea,onChange:e=>U("practiceArea",e.target.value),className:`w-full pl-10 pr-3 py-2 border rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:text-white ${S.practiceArea?"border-red-500 focus:ring-red-500":"border-gray-300 dark:border-gray-600"}`,children:[(0,i.jsx)("option",{value:"",children:r.form.practiceAreaPlaceholder}),O.map(e=>(0,i.jsx)("option",{value:e,children:e},e))]})]}),S.practiceArea&&(0,i.jsxs)("p",{className:"mt-1 text-sm text-red-600 dark:text-red-400 flex items-center",children:[(0,i.jsx)(c.A,{className:"h-4 w-4 mr-1"}),S.practiceArea]})]}),(0,i.jsxs)("div",{className:"md:col-span-2",children:[(0,i.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:r.form.specializations}),(0,i.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2 max-h-48 overflow-y-auto p-3 border border-gray-300 dark:border-gray-600 rounded-md",children:O.map(e=>(0,i.jsxs)("label",{className:"flex items-center p-2 hover:bg-gray-50 dark:hover:bg-gray-700 rounded",children:[(0,i.jsx)("input",{type:"checkbox",checked:A.specializations.includes(e),onChange:()=>W(e),className:"mr-2"}),(0,i.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:e})]},e))})]}),(0,i.jsxs)("div",{className:"md:col-span-2",children:[(0,i.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:r.form.regions}),(0,i.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2 max-h-48 overflow-y-auto p-3 border border-gray-300 dark:border-gray-600 rounded-md",children:["Montr\xe9al","Qu\xe9bec","Laval","Longueuil","Gatineau","Sherbrooke","Saguenay","Trois-Rivi\xe8res","Saint-Jean-sur-Richelieu","Drummondville","Saint-J\xe9r\xf4me","Granby","Saint-Hyacinthe"].map(e=>(0,i.jsxs)("label",{className:"flex items-center p-2 hover:bg-gray-50 dark:hover:bg-gray-700 rounded",children:[(0,i.jsx)("input",{type:"checkbox",checked:A.regions.includes(e),onChange:()=>$(e),className:"mr-2"}),(0,i.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-300",children:e})]},e))})]})]}),(0,i.jsx)("div",{className:"mt-6 flex justify-end",children:(0,i.jsx)("button",{onClick:Z,disabled:C,className:"bg-blue-600 hover:bg-blue-700 disabled:bg-gray-400 text-white px-6 py-2 rounded-md font-medium transition-colors flex items-center",children:C?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.A,{className:"h-4 w-4 animate-spin mr-2"}),r.form.verifying]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.A,{className:"h-4 w-4 mr-2"}),r.form.verifyButton]})})})]}),2===t&&(0,i.jsx)(l.motion.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},className:"bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6",children:(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)(n.A,{className:"h-16 w-16 animate-spin text-blue-500 mx-auto mb-4"}),(0,i.jsx)("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-2",children:r.verification.title}),(0,i.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:r.verification.subtitle})]})}),3===t&&E&&(0,i.jsxs)(l.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6",children:[E.found&&E.matchedProfiles&&E.matchedProfiles.length>0?(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)(o.A,{className:"h-16 w-16 text-green-500 mx-auto mb-4"}),(0,i.jsx)("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-2",children:r.verification.success.title}),(0,i.jsxs)("p",{className:"text-gray-600 dark:text-gray-400 mb-6",children:[r.verification.success.welcome," ",A.name,"!"]}),(0,i.jsxs)("div",{className:"bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4 mb-6",children:[(0,i.jsx)("h4",{className:"font-medium text-green-800 dark:text-green-200 mb-2",children:r.verification.success.nextSteps}),(0,i.jsx)("ul",{className:"text-sm text-green-700 dark:text-green-300 space-y-1",children:E.nextSteps?.map((e,a)=>(0,i.jsxs)("li",{className:"flex items-center",children:[(0,i.jsx)(o.A,{className:"h-4 w-4 mr-2"}),e]},a))})]}),(0,i.jsxs)("div",{className:"flex justify-center space-x-4",children:[(0,i.jsx)(v(),{href:"/lawyer/dashboard",className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-md font-medium transition-colors",children:r.verification.success.dashboard}),(0,i.jsx)(v(),{href:"/lawyer/profile-setup",className:"bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-md font-medium transition-colors",children:r.verification.success.completeProfile})]})]}):(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)(c.A,{className:"h-16 w-16 text-red-500 mx-auto mb-4"}),(0,i.jsx)("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-2",children:r.verification.error.title}),(0,i.jsx)("p",{className:"text-gray-600 dark:text-gray-400 mb-6",children:E.error||Q}),E.suggestions&&(0,i.jsxs)("div",{className:"bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4 mb-6",children:[(0,i.jsx)("h4",{className:"font-medium text-red-800 dark:text-red-200 mb-2",children:"fr"===e?"Suggestions :":"Suggestions:"}),(0,i.jsx)("ul",{className:"text-sm text-red-700 dark:text-red-300 space-y-1",children:E.suggestions.map((e,a)=>(0,i.jsxs)("li",{className:"flex items-center",children:[(0,i.jsx)(c.A,{className:"h-4 w-4 mr-2"}),e]},a))})]}),(0,i.jsx)("button",{onClick:()=>y(1),className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-md font-medium transition-colors",children:r.verification.error.tryAgain})]}),T&&(0,i.jsx)("div",{className:"mt-6 p-4 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg",children:(0,i.jsxs)("div",{className:"flex items-start",children:[(0,i.jsx)(g.A,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400 mr-2 mt-0.5 flex-shrink-0"}),(0,i.jsxs)("div",{className:"flex-1",children:[(0,i.jsx)("p",{className:"text-yellow-800 dark:text-yellow-200",children:Q}),(0,i.jsx)("button",{onClick:()=>M(!0),className:"mt-3 bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium transition-colors",children:"fr"===e?"Utiliser la v\xe9rification manuelle":"Use manual verification"})]}),(0,i.jsx)("button",{onClick:()=>R(!1),className:"ml-2 text-yellow-600 dark:text-yellow-400 hover:text-yellow-800 dark:hover:text-yellow-200",children:(0,i.jsx)(b.A,{className:"h-4 w-4"})})]})}),I&&(0,i.jsx)(N.A,{email:A.email,name:A.name,language:e,onClose:()=>M(!1)}),G&&E&&(E.matchedProfiles||E.allProfiles)&&(0,i.jsxs)("div",{className:"mt-6 p-4 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg",children:[(0,i.jsxs)("h4",{className:"font-medium text-blue-800 dark:text-blue-200 mb-3 flex items-center",children:[(0,i.jsx)(g.A,{className:"h-5 w-5 mr-2"}),"fr"===e?"R\xe9sultats de la recherche Barreau :":"Barreau search results:"]}),(0,i.jsx)("div",{className:"space-y-3",children:(E.matchedProfiles||E.allProfiles||[]).map((a,r)=>(0,i.jsx)("div",{className:"bg-white dark:bg-gray-700 p-3 rounded border",children:(0,i.jsxs)("div",{className:"flex items-start justify-between",children:[(0,i.jsxs)("div",{className:"flex-1",children:[(0,i.jsx)("h5",{className:"font-medium text-gray-900 dark:text-white",children:a.name}),a.employer&&(0,i.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-300",children:a.employer}),a.address&&(0,i.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-300",children:a.address}),a.phone&&(0,i.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-300",children:a.phone}),a.email&&(0,i.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-300",children:a.email}),a.practiceAreas&&a.practiceAreas.length>0&&(0,i.jsxs)("p",{className:"text-sm text-gray-600 dark:text-gray-300",children:[(0,i.jsx)("span",{className:"font-medium",children:"fr"===e?"Domaines :":"Practice areas:"})," ",a.practiceAreas.join(", ")]})]}),a.profileUrl&&(0,i.jsx)("a",{href:a.profileUrl,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-700 text-sm font-medium ml-4",children:"fr"===e?"Voir le profil":"View profile"})]})},r))})]})]}),(0,i.jsx)(l.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.3},className:"text-center mt-8",children:(0,i.jsxs)("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:[r.footer.alreadyAccount," ",(0,i.jsx)(v(),{href:"/auth/login",className:"text-blue-600 hover:text-blue-700",children:r.footer.signIn})]})})]})};t()}catch(e){t(e)}})},78362:(e,a,r)=>{r.d(a,{J4:()=>t});let t={fr:{title:"Inscription avocat v\xe9rifi\xe9 - avocat.quebec",description:"Rejoignez avocat.quebec en tant qu'avocat v\xe9rifi\xe9 du Qu\xe9bec",header:{title:"Inscription avocat v\xe9rifi\xe9",subtitle:"Rejoignez le r\xe9seau juridique principal du Qu\xe9bec avec v\xe9rification Barreau"},steps:{barreau:"V\xe9rification Barreau du Qu\xe9bec",barreauDesc:"V\xe9rification de votre adh\xe9sion au Barreau du Qu\xe9bec",profile:"Cr\xe9ation de profil",profileDesc:"Cr\xe9ation de votre profil d'avocat v\xe9rifi\xe9",firm:"Association de cabinet",firmDesc:"Configuration de votre cabinet ou association \xe0 un cabinet existant"},form:{barNumber:"Num\xe9ro de Barreau *",barNumberPlaceholder:"ex: 2016-ADW-001",fullName:"Nom complet *",fullNamePlaceholder:"ex: Justin Wee",email:"Adresse email *",emailPlaceholder:"ex: justin.wee@adwavocats.ca",address:"Adresse de pratique *",addressPlaceholder:"ex: Montr\xe9al, Qu\xe9bec",phone:"Num\xe9ro de t\xe9l\xe9phone *",phonePlaceholder:"ex: 514-555-0101",practiceArea:"Domaine de pratique principal *",practiceAreaPlaceholder:"S\xe9lectionnez un domaine",specializations:"Sp\xe9cialisations juridiques",regions:"R\xe9gions de pratique",verifyButton:"V\xe9rifier avec le Barreau",verifying:"V\xe9rification en cours..."},verification:{title:"V\xe9rification avec le Barreau du Qu\xe9bec",subtitle:"Veuillez patienter pendant que nous v\xe9rifions vos identifiants...",success:{title:"V\xe9rification r\xe9ussie !",welcome:"Bienvenue sur avocat.quebec,",nextSteps:"Prochaines \xe9tapes :",dashboard:"Aller au tableau de bord",completeProfile:"Compl\xe9ter le profil"},error:{title:"\xc9chec de la v\xe9rification",tryAgain:"R\xe9essayer"}},footer:{alreadyAccount:"Vous avez d\xe9j\xe0 un compte ?",signIn:"Se connecter"},languageSwitch:"EN",benefits:{title:"Avantages d'\xeatre un avocat v\xe9rifi\xe9",items:["Profil v\xe9rifi\xe9 avec badge officiel","Acc\xe8s prioritaire aux clients","Outils de collaboration avanc\xe9s","Support clientiel d\xe9di\xe9","Formation continue exclusive"]}},en:{title:"Verified Lawyer Registration - avocat.quebec",description:"Join avocat.quebec as a verified Qu\xe9bec lawyer",header:{title:"Verified Lawyer Registration",subtitle:"Join Qu\xe9bec's premier legal network with Barreau verification"},steps:{barreau:"Barreau du Qu\xe9bec Verification",barreauDesc:"Verifying your membership with the Barreau du Qu\xe9bec",profile:"Profile Creation",profileDesc:"Creating your verified lawyer profile",firm:"Firm Association",firmDesc:"Setting up your law firm or joining existing firm"},form:{barNumber:"Bar Number *",barNumberPlaceholder:"e.g., 2016-ADW-001",fullName:"Full Name *",fullNamePlaceholder:"e.g., Justin Wee",email:"Email Address *",emailPlaceholder:"e.g., justin.wee@adwavocats.ca",address:"Practice Address *",addressPlaceholder:"e.g., Montr\xe9al, Qu\xe9bec",phone:"Phone Number *",phonePlaceholder:"e.g., 514-555-0101",practiceArea:"Primary Practice Area *",practiceAreaPlaceholder:"Select a practice area",specializations:"Legal Specializations",regions:"Practice Regions",verifyButton:"Verify with Barreau",verifying:"Verifying..."},verification:{title:"Verifying with Barreau du Qu\xe9bec",subtitle:"Please wait while we verify your credentials...",success:{title:"Verification Successful!",welcome:"Welcome to avocat.quebec,",nextSteps:"Next Steps:",dashboard:"Go to Dashboard",completeProfile:"Complete Profile"},error:{title:"Verification Failed",tryAgain:"Try Again"}},footer:{alreadyAccount:"Already have an account?",signIn:"Sign in"},languageSwitch:"FR",benefits:{title:"Benefits of being a verified lawyer",items:["Verified profile with official badge","Priority access to clients","Advanced collaboration tools","Dedicated client support","Exclusive continuing education"]}}}},80237:(e,a)=>{Object.defineProperty(a,"A",{enumerable:!0,get:function(){return r}});var r=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,a)=>{Object.defineProperty(a,"M",{enumerable:!0,get:function(){return function e(a,r){return r in a?a[r]:"then"in a&&"function"==typeof a.then?a.then(a=>e(a,r)):"function"==typeof a&&"default"===r?a:void 0}}})},82405:(e,a,r)=>{r.a(e,async(e,t)=>{try{r.d(a,{A:()=>o});var i=r(8732),s=r(82015),l=r(9733),n=e([l]);function o({email:e,name:a,language:r,onClose:t}){let[n,o]=(0,s.useState)(null),[c,d]=(0,s.useState)(!1),[m,u]=(0,s.useState)(""),[x,h]=(0,s.useState)(""),f=async()=>{if(!n)return void h("Veuillez s\xe9lectionner un document.");d(!0),h(""),u("");let r=new FormData;r.append("file",n),r.append("email",e),r.append("name",a),(await fetch("/api/lawyer/manual-verification",{method:"POST",body:r})).ok?(u("Document envoy\xe9 avec succ\xe8s. Un administrateur va v\xe9rifier votre dossier."),o(null)):h("Erreur lors de l’envoi du document. Veuillez r\xe9essayer."),d(!1)};return(0,i.jsxs)(l.Box,{mt:6,p:4,borderWidth:1,borderRadius:"md",bg:"gray.50",children:[(0,i.jsx)(l.Text,{fontWeight:"bold",mb:2,children:"V\xe9rification manuelle"}),(0,i.jsx)(l.Text,{mb:2,children:"T\xe9l\xe9versez un document officiel prouvant votre appartenance au Barreau (PDF, image, etc.)."}),(0,i.jsx)(l.Input,{type:"file",accept:".pdf,.jpg,.jpeg,.png",onChange:e=>{o(e.target.files?.[0]||null),h(""),u("")},mb:2}),(0,i.jsx)(l.Button,{onClick:f,colorScheme:"blue",disabled:!n||c,children:c?"Envoi en cours...":"Envoyer le document"}),m&&(0,i.jsx)(l.Text,{color:"green.600",mt:2,children:m}),x&&(0,i.jsx)(l.Text,{color:"red.600",mt:2,children:x}),t&&(0,i.jsx)(l.Button,{onClick:t,mt:2,colorScheme:"gray",children:"Fermer"})]})}l=(n.then?(await n)():n)[0],t()}catch(e){t(e)}})}};

CasperSecurity Mini