%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/public_html/startup-life/assets/
Upload File :
Create Path :
Current File : /home/opti/public_html/startup-life/assets/index-a28bb08a.js

import{j as e,r as j,b as I,d as L,e as y,u as w,Q as u,aJ as F,f as B,v as S}from"./index-5492fbe1.js";import{D as k}from"./dashboard-page-layout-2cec2413.js";import{a as A}from"./index.esm-eb7e820c.js";import{a as O}from"./index.esm-690e6bd0.js";import{a as z}from"./index.esm-41e7e6ec.js";import{G as D}from"./iconBase-4b2ba95c.js";import{C as c}from"./index-2c4b8b3c.js";import{u as E}from"./index.esm-1be9f6a3.js";import{C as v}from"./index-fdf728e2.js";import{I as o}from"./index-fbb310b5.js";import{B as P}from"./Box-263f925f.js";import{C as V}from"./Checkbox-5f253e47.js";import{D as M}from"./dashboard-footer-navigation-f658b457.js";import{u as R}from"./useQuery-0abbcf43.js";import{P as f}from"./index-4a4c2639.js";import{B as G}from"./Button-e32596e7.js";import{u as H}from"./get-current-user.api-b8701f5e.js";import"./motion-4a110d9b.js";import"./Menu-c26e62ae.js";import"./useFormControl-45c447f9.js";import"./useForkRef-ff55d5c8.js";import"./TransitionGroupContext-29effe25.js";import"./setPrototypeOf-0bb37fbe.js";import"./Modal-01a2ce69.js";import"./useTheme-0dfa0cbc.js";import"./useSlotProps-b42d44e4.js";import"./index-e5978b8b.js";import"./Paper-26f2abc8.js";import"./useControlled-967f9278.js";import"./createSvgIcon-6a373a0a.js";import"./isNativeReflectConstruct-061ae640.js";import"./assertThisInitialized-081f9914.js";import"./use-isomorphic-layout-effect.browser.esm-1e1530e9.js";import"./styled-components.browser.esm-ee37ee23.js";import"./tslib.es6-ace8e431.js";import"./joinClasses-adfcc520.js";import"./SwitchBase-f9d84931.js";import"./ButtonBase-0400401d.js";import"./createSvgIcon-b6337cf4.js";import"./InputAdornment-e7028781.js";import"./Typography-3c6a30bd.js";import"./IconButton-948b78dd.js";function Q(s){return D({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}},{tag:"polyline",attr:{points:"16 17 21 12 16 7"}},{tag:"line",attr:{x1:"21",y1:"12",x2:"9",y2:"12"}}]})(s)}const U=({control:s})=>{const n=r=>{console.log("val",r)};return e.jsxs("div",{className:"mt-[40px]",children:[e.jsxs("div",{className:"w-full grid grid-cols-3 gap-[20px] mb-[20px]",children:[e.jsx(v,{handleChange:n,options:[{label:"Individual investor",value:"Individual investor"},{value:"Corporate investor",label:"Corporate investor"},{label:"Finance firm",value:"Finance firm"},{label:"Equity listing",value:"Equity listing"}],name:"industryType",control:s,rules:{required:"Select your company industry"},label:"Industry Type"}),e.jsx(o,{control:s,label:"Town",rules:{required:"This field is required"},name:"town"}),e.jsx(o,{control:s,label:"State",rules:{required:"This field is required"},name:"state"})]}),e.jsxs("div",{className:"w-full grid-cols-3 grid gap-[20px] mb-[20px]",children:[e.jsx(o,{control:s,label:"Services",rules:{required:"This field is required"},name:"services"}),e.jsx(o,{control:s,label:"Phone Number",rules:{required:"This field is required"},name:"phoneNumber"})]})]})},_=({control:s})=>{const n=r=>{console.log("val",r)};return e.jsxs("div",{className:"mt-[40px]",children:[e.jsxs("div",{className:"w-full grid grid-cols-3 gap-[20px] mb-[20px]",children:[e.jsx(o,{control:s,label:"Investor Name",rules:{required:"This field is required"},name:"investorName"}),e.jsx(o,{control:s,label:"Investor Phone Number",rules:{required:"This field is required"},name:"phoneNumber"}),e.jsx(o,{control:s,label:"Business Address 1",rules:{required:"This field is required"},name:"businessAddress"})]}),e.jsxs("div",{className:"w-full grid-cols-3 grid gap-[20px] mb-[20px]",children:[e.jsx(o,{control:s,label:"Business Address 2",rules:{required:"This field is required"},name:"address"}),e.jsx(o,{control:s,label:"Interest",rules:{required:"This field is required"},name:"interest"}),e.jsx(v,{handleChange:n,options:[{label:"Individual investor",value:"Individual investor"},{value:"Corporate investor",label:"Corporate investor"},{label:"Bank or Financial Institute",value:"Bank or Financial Institute"},{label:"Venture Capital Firm",value:"Venture Capital Firm"}],name:"industryType",control:s,rules:{required:"Select your company industry"},label:"Industry Type"})]})]})},$=({control:s})=>e.jsxs("div",{className:"mt-[40px]",children:[e.jsxs("div",{className:"w-full grid grid-cols-3 gap-[20px] mb-[20px]",children:[e.jsx(o,{control:s,label:"Category",rules:{required:"This field is required"},name:"category"}),e.jsx(o,{control:s,label:"Business Name",rules:{required:"This field is required"},name:"businessName"}),e.jsx(o,{control:s,label:"Phone Number",rules:{required:"This field is required"},name:"phoneNumber"})]}),e.jsxs("div",{className:"w-full grid-cols-3 grid gap-[20px] mb-[20px]",children:[e.jsx(o,{control:s,label:"Services",rules:{required:"This field is required"},name:"services"}),e.jsx(o,{control:s,label:"Date Of Establisment",rules:{required:"This field is required"},name:"dateOfEstablishment"}),e.jsx(o,{control:s,label:"Business Address",rules:{required:"This field is required"},name:"businessAddress",textArea:!0})]}),e.jsx("div",{className:"w-full grid grid-cols-3 gap-[20px]",children:e.jsx(o,{control:s,label:"Business Size",rules:{required:"This field is required"},name:"businessSize"})})]}),J=({control:s,setValue:n})=>{const[r,t]=j.useState([{label:"",value:""}]),[a,d]=j.useState(""),[p,m]=j.useState(""),g=(l,x)=>{n(x,l),console.log(x,l)};j.useEffect(()=>{I.get("https://restcountries.com/v2/all").then(l=>{t(l.data)}).catch(l=>{console.error("Error fetching country data:",l)})},[]);const h=l=>{m(l),n("location",l)},i=r==null?void 0:r.filter(l=>{var x;return(x=l==null?void 0:l.name)==null?void 0:x.toLowerCase().includes(a==null?void 0:a.toLowerCase())});return e.jsxs("div",{className:"mt-[40px]",children:[e.jsxs("div",{className:"w-full grid grid-cols-3 gap-[20px] mb-[20px]",children:[e.jsx(v,{handleChange:g,options:[{label:"Law Firm",value:"Law Firm"},{label:"NGO",value:"NGO"},{label:"Entertainment",value:"Entertainemt"},{label:"Banking & Finance Firm",value:"Banking & Finance Firm"},{label:"Information Technology",value:"Information Technology"},{label:"Engineering",value:"Engineering"},{label:"Telecommunication",value:"Telecommunication"},{label:"Transportation",value:"Transportation"},{label:"Construction",value:"Construction"},{label:"Health Care",value:"Health Care"}],name:"industryType",control:s,rules:{required:"Select your company industry"},label:"Industry Type"}),e.jsx(o,{control:s,label:"Town",rules:{required:"This field is required"},name:"town"}),e.jsx(v,{handleChange:g,options:[{label:"Multi-National-Corporations-(MNCs)",value:"Multi-National-Corporations-(MNCs)"},{label:"Sole-Proprietorship",value:"Sole-Proprietorship"},{label:"Limited-liability-company-(LLC)",value:"Limited-liability-company-(LLC)"},{label:"Limited-Liability-Partnership-(LLP)",value:"Limited-Liability-Partnership-(LLP)"},{label:"Partnership",value:"Partnership"}],name:"businessType",control:s,rules:{required:"Select your company business type"},label:"Business Type"})]}),e.jsxs("div",{className:"w-full grid-cols-3 grid gap-[20px] mb-[20px]",children:[e.jsx(o,{control:s,label:"Business Name",rules:{required:"This field is required"},name:"businessName"}),e.jsx(o,{control:s,label:"Service",rules:{required:"This field is required"},name:"services"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"search",value:a,onChange:l=>d(l.target.value),className:"SearchInput w-full outline-none p-[10px]",placeholder:"Search Country"}),(r==null?void 0:r.length)>0&&e.jsxs(P,{sx:{maxHeight:"300px",background:"rgba(168, 207, 69, 0.14)",overflow:"scroll",width:"100%",padding:"20px 0 20px 20px",marginBottom:"20px"},children:[e.jsx("p",{className:"countriesLabel",children:"Select country of registration"}),e.jsx("ul",{className:"countryListing",children:i==null?void 0:i.map((l,x)=>{var b;return e.jsxs("li",{className:"flex justify-between",children:[e.jsxs(P,{sx:{display:"flex",gap:".37rem"},children:[e.jsx("div",{className:"h-[40px] w-[40px]",children:e.jsx("img",{src:(b=l==null?void 0:l.flags)==null?void 0:b.png,height:"100%",width:"100%",alt:"flag"})}),e.jsxs("p",{children:[l==null?void 0:l.name," "]})]}),e.jsx(V,{sx:{color:"#A8CF45","&.Mui-checked":{color:"#A8CF45"}},checked:p===(l==null?void 0:l.name),onChange:()=>h(l==null?void 0:l.name)})]},x)})})]})]})]})},K=({control:s,setValue:n,status:r})=>e.jsxs("div",{children:[e.jsx(c,{appear:r==="vendor",children:e.jsx($,{control:s})}),e.jsx(c,{appear:r==="creative",children:e.jsx(U,{control:s})}),e.jsx(c,{appear:r==="founder",children:e.jsx(J,{setValue:n,control:s})}),e.jsx(c,{appear:r==="investor",children:e.jsx(_,{control:s})})]}),W=({user:s})=>{const{industryType:n,town:r,state:t,services:a,phoneNumber:d}=s;return e.jsxs("div",{className:"profile-info-display mt-[40px]",children:[e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Industry Type"}),e.jsx("div",{className:"info",children:n??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Town"}),e.jsx("div",{className:"info",children:r??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"State"}),e.jsx("div",{className:"info",children:t??"null"})]})]}),e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Services"}),e.jsx("div",{className:"info",children:a??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Phone Number"}),e.jsx("div",{className:"info",children:d??"null"})]})]})]})},X=({user:s})=>{const{industryType:n,town:r,location:t,businessType:a,businessName:d,services:p}=s;return console.log(n),console.log(a),e.jsxs("div",{className:"profile-info-display mt-[40px]",children:[e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Industry Type"}),e.jsx("div",{className:"info",children:n??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Town"}),e.jsx("div",{className:"info",children:r??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Location"}),e.jsx("div",{className:"info",children:t??"null"})]})]}),e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Business Type"}),e.jsx("div",{className:"info",children:a??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Business Name"}),e.jsx("div",{className:"info",children:d??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Service"}),e.jsx("div",{className:"info",children:p??"null"})]})]})]})},Y=({user:s})=>{const{category:n,businessName:r,businessAddress:t,services:a,phoneNumber:d,dateOfEstablishment:p,businessSize:m}=s;return e.jsxs("div",{className:"profile-info-display mt-[40px]",children:[e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Category"}),e.jsx("div",{className:"info",children:n??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Business Name"}),e.jsx("div",{className:"info",children:r??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Phone Number"}),e.jsx("div",{className:"info",children:d??"null"})]})]}),e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Services"}),e.jsx("div",{className:"info",children:a??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Date Of Establishment"}),e.jsx("div",{className:"info",children:p??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Business Address"}),e.jsx("div",{className:"info",children:t??"null"})]})]}),e.jsx("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Business Size"}),e.jsx("div",{className:"info",children:m??"null"})]})})]})},Z=({user:s})=>{const{investorName:n,phoneNumber:r,businessAddress:t,interest:a,industryType:d}=s;return e.jsxs("div",{className:"profile-info-display mt-[40px]",children:[e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Investor Name"}),e.jsx("div",{className:"info",children:n??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Investor Phone Number"}),e.jsx("div",{className:"info",children:r??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Address"}),e.jsx("div",{className:"info",children:t??"null"})]})]}),e.jsxs("section",{className:"grid grid-cols-3 gap-[20px] mb-[10px]",children:[e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Interest"}),e.jsx("div",{className:"info",children:a??"null"})]}),e.jsxs("div",{className:"category p-[20px] rounded-[10px] border border-gray-500",children:[e.jsx("div",{className:"title",children:"Type Of Industry"}),e.jsx("div",{className:"info",children:d??"null"})]})]})]})},ee=({status:s,user:n})=>e.jsxs("div",{children:[e.jsx(c,{appear:s==="vendor",children:e.jsx(Y,{user:n})}),e.jsx(c,{appear:s==="creative",children:e.jsx(W,{user:n})}),e.jsx(c,{appear:s==="founder",children:e.jsx(X,{user:n})}),e.jsx(c,{appear:s==="investor",children:e.jsx(Z,{user:n})})]}),se=s=>L({mutationFn:async t=>{var a;try{return(await y.post(`/profile/${s}-profile`,t)).data}catch(d){return(a=d.response)==null?void 0:a.data}}}),re=s=>R({queryFn:async()=>{var t;try{return(await y.get("/profile",{params:{profileType:s}})).data}catch(a){return(t=a.response)==null?void 0:t.data}},queryKey:["get_profile"]}),ae=({user:s})=>{var b,T,C,q;const{mutateAsync:n}=se((b=s==null?void 0:s.accountType)==null?void 0:b.toLowerCase()),{data:r,isLoading:t,isError:a}=re((T=s==null?void 0:s.accountType)==null?void 0:T.toLowerCase()),[d,p]=j.useState(!1),m=w(),g={businessName:r==null?void 0:r.businessName,location:r==null?void 0:r.location,services:r==null?void 0:r.services,town:r==null?void 0:r.town,industryType:r==null?void 0:r.industryType,businessType:r==null?void 0:r.businessType,state:r==null?void 0:r.status,phoneNumber:r==null?void 0:r.phoneNumber,investorName:r==null?void 0:r.investorName,businessAddress:r==null?void 0:r.businessAddress,address:r==null?void 0:r.address,interest:r==null?void 0:r.interest,category:r==null?void 0:r.category,dateOfEstablishment:r==null?void 0:r.dateOfEstablishment,businessSize:r==null?void 0:r.businessSize},{control:h,getValues:i,setValue:l}=E({defaultValues:g,mode:"onBlur"}),x=()=>{n(i()).then(N=>{u.success(N.message),m({pathname:"/settings"})}).catch(N=>u.error(N.message))};return t?e.jsx("div",{children:"Loading..."}):a?e.jsx("div",{children:"ERROR: INTERNET_CONNECTION_REFUSED"}):e.jsxs("section",{className:"p-[40px] w-[80%]",children:[e.jsxs("div",{className:"w-full mb-[10px] flex justify-between items-center",children:[e.jsxs("div",{className:"profile-info-sec mb-[10px] flex gap-[20px] items-center",children:[e.jsx("div",{className:"profile-img h-[60px] w-[60px] bg-blue-700 rounded-full"}),e.jsxs("div",{className:"profile-info",children:[e.jsxs("h3",{className:"capitalize",children:[s==null?void 0:s.fistName," ",s==null?void 0:s.lastName]}),e.jsx("p",{children:s==null?void 0:s.email}),e.jsx("p",{children:s==null?void 0:s.accountType})]})]}),e.jsx("div",{className:"edit-profile cursor-pointer",onClick:()=>p(!0),children:"edit all"})]}),e.jsx("hr",{}),e.jsx(c,{appear:!d,children:e.jsx(ee,{user:r,status:(C=s==null?void 0:s.accountType)==null?void 0:C.toLowerCase()})}),e.jsx(c,{appear:d,children:e.jsx(K,{user:r,setValue:l,control:h,status:(q=s==null?void 0:s.accountType)==null?void 0:q.toLowerCase()})}),e.jsx(M,{backBtnText:"Cancel",continueBtnText:"Update Profile",hideContinueBtn:!d,continueEventHandler:()=>{if(console.log(i()),(s==null?void 0:s.accountType.toLowerCase())==="founder"&&(!i().industryType||!i().businessName||!i().businessType||!i().services||!i().location.length||!i().town)){u.error("Input fields cannot be empty!");return}if((s==null?void 0:s.accountType.toLowerCase())==="vendor"&&(!i().category||!i().businessName||!i().businessAddress||!i().services||!i().phoneNumber||!i().businessSize||!i().dateOfEstablishment)){u.error("Input fields cannot be empty!");return}if((s==null?void 0:s.accountType.toLowerCase())==="investor"&&(!i().investorName||!i().industryType||!i().businessAddress||!i().address||!i().interest||!i().phoneNumber)){u.error("Input fields cannot be empty!");return}if((s==null?void 0:s.accountType.toLowerCase())==="creative"&&(!i().state||!i().services||!i().town||!i().industryType||!i().phoneNumber)){u.error("Input fields cannot be emptyss!");return}x()},cancelEventHandler:()=>m(-1)})]})},ie=()=>L({mutationFn:async r=>{var t;try{return(await y.post("/auth/change-password",r)).data}catch(a){return(t=a.response)==null?void 0:t.data}}}),ne=()=>{const[s,n]=j.useState(!1),{mutateAsync:r}=ie(),t=()=>n(h=>!h),a={currentPassword:"",newPassword:"",confirmNewPassword:""},d=w(),{handleSubmit:p,control:m}=E({defaultValues:a}),g=h=>{console.log(h),r(h).then(i=>{if(console.log(i),i.statusCode===409||i.statusCode===400||i.statusCode===500){u.error(i.message);return}u.success(i.message),d("/profile")}).catch(i=>u.error(i.message))};return e.jsx("section",{className:"p-[40px] flex justify-center items-center w-full h-full",children:e.jsxs("form",{onSubmit:p(g),className:"container w-[400px] flex flex-col gap-[20px]",children:[e.jsx(f,{show:s,toggleVisibility:t,control:m,rules:{required:"Enter your current password"},label:"Current Password",name:"currentPassword"}),e.jsx(f,{show:s,toggleVisibility:t,control:m,rules:{required:"Enter your new password"},label:"New Password",name:"newPassword"}),e.jsx(f,{show:s,toggleVisibility:t,control:m,rules:{required:"Enter to confirm new password"},label:"Confirm New Password",name:"confirmNewPassword"}),e.jsx(G,{type:"submit",color:"success",variant:"standard",children:"submit"})]})})},Je=()=>{const s=w(),[n]=F(),r=n.get("profileScreenType"),{handleLogout:t}=B(),{data:a,isLoading:d,isError:p}=H();return console.log(a),e.jsxs(k,{children:[e.jsx(c,{appear:!r,children:e.jsxs("section",{className:"p-[40px] w-[400px]",children:[e.jsxs("div",{className:"profile-info-sec mb-[10px] flex gap-[20px] items-center",children:[e.jsxs(c,{appear:!d&&!p,children:[e.jsx("div",{className:"profile-img h-[60px] w-[60px] bg-blue-700 rounded-full"}),e.jsxs("div",{className:"profile-info",children:[e.jsxs("h3",{className:"capitalize",children:[a==null?void 0:a.firstName," ",a==null?void 0:a.lastName]}),e.jsx("p",{children:a==null?void 0:a.email}),e.jsx("p",{children:a==null?void 0:a.accountType})]})]}),e.jsx(c,{appear:!!d,children:e.jsx("div",{className:"profile-info",children:"Loading..."})}),e.jsx(c,{appear:!!p,children:e.jsx("div",{className:"profile-info",children:"ERROR: INTERNET_CONNECTION_REFUSED"})})]}),e.jsx("hr",{}),e.jsxs("div",{onClick:()=>{s({pathname:"/settings",search:`?${S({profileScreenType:"manage-profile"})}`})},className:"mange-profile text-blue-700 flex gap-[20px] items-center cursor-pointer py-[10px]",children:[e.jsx(A,{}),e.jsx("h3",{className:"capitalize",children:"manage profile"})]}),e.jsx("hr",{}),e.jsxs("div",{onClick:()=>{s({pathname:"/settings",search:`?${S({profileScreenType:"change-password"})}`})},className:"mange-profile text-blue-700 flex gap-[20px] items-center cursor-pointer py-[10px]",children:[e.jsx(O,{}),e.jsx("h3",{className:"capitalize",children:"change password"})]}),e.jsx("hr",{}),e.jsxs("div",{className:"mange-profile text-blue-700 flex gap-[20px] items-center cursor-pointer py-[10px]",children:[e.jsx(z,{}),e.jsx("h3",{className:"capitalize",children:"terms of use and privacy"})]}),e.jsx("hr",{}),e.jsxs("div",{onClick:t,className:"mange-profile text-blue-700 flex gap-[20px] items-center cursor-pointer py-[10px]",children:[e.jsx(Q,{}),e.jsx("h3",{className:"capitalize",children:"log out"})]})]})}),e.jsx(c,{appear:r==="manage-profile"&&a,children:e.jsx(ae,{user:a})}),e.jsx(c,{appear:r==="change-password",children:e.jsx(ne,{})})]})};export{Je as default};

Zerion Mini Shell 1.0