PageSourceSearch

https://app.ambaram.ai/static/js/434.036c42b2.chunk.js

js ambaram.ai collected 2026-10-05 15:27:48 UTC 20,408 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkambram_frontend||=[]).push([[434],{18391(e,s,t){t(65043);const a=t.p+"static/media/ErrorIcon.ae4f578570537546f94cec05521a16f9.svg";t.d(s,["A",0,a])},53184(e,s,t){t(65043);const a=t.p+"static/media/deleteIcon.7bf6045bf16fc08cdd526b15b582aad7.svg";t.d(s,["A",0,a])},16841(e,s,t){t(65043);const a=t.p+"static/media/leftAngleIcon.f73bad289592be0d49550696af987047.svg";t.d(s,["A",0,a])},34288(e,s,t){t(65043);const a=t.p+"static/media/newUserWhite.2d1ebf998e7bf9796e89aff676fad1b0.svg";t.d(s,["A",0,a])},93861(e,s,t){t(65043);const a=t.p+"static/media/sorticon.1de398fa426b47702f042052bdcf2106.svg";t.d(s,["A",0,a])},10349(e,s,t){t(65043);const a=t.p+"static/media/statusGreen.e7fb69c9d4f08360a0d5ef0c3574fc71.svg";t.d(s,["A",0,a])},44443(e,s,t){t.d(s,{A:()=>c});t(65043);var a=t(72557),i=t(14282),l=t(85632),n=t(73216),r=t(59585),o=t(7517);var d=t(70579);const c=e=>{let{showDel:s,DelItem:t,DelClose:c,title:m,Desc:u}=e,p=(0,n.zy)();return(0,d.jsx)(d.Fragment,{children:"/teams"===p.pathname||"/teamusers"===p.pathname||"/teamslist"===p.pathname||"/wall"===p.pathname||"/wall/Reminders"===p.pathname||"/ColorLibrary/ColorGrid"===p.pathname?(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(a.A,{backdrop:"static",show:s,onHide:c,className:"/wall/Reminders"===p.pathname?"deletePopup ReminderPopup":"deletePopup",children:[(0,d.jsxs)(a.A.Header,{children:[(0,d.jsx)("span",{className:"ModalLogo",children:(0,d.jsx)("img",{src:o.A,alt:""})}),(0,d.jsx)(a.A.Title,{children:m}),(0,d.jsx)("closeButton",{className:"closebutton",onClick:c,children:(0,d.jsx)("img",{src:r.A,alt:""})})]}),(0,d.jsx)(a.A.Body,{children:(0,d.jsx)("p",{children:u})}),(0,d.jsxs)(a.A.Footer,{className:"",children:[(0,d.jsx)(i.A,{variant:"secondary",onClick:c,children:"Cancel"}),(0,d.jsx)(i.A,{variant:"primary",onClick:t,children:"Delete"})]})]})}):(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(a.A,{backdrop:"static",show:s,onHide:c,className:"AddteamPopup",children:[(0,d.jsxs)(a.A.Header,{children:[(0,d.jsx)("span",{className:"ModalLogo",children:(0,d.jsx)("img",{src:o.A,alt:""})}),(0,d.jsx)(a.A.Title,{children:m}),(0,d.jsx)(l.A,{className:"closebuttonbtn",onClick:c,children:(0,d.jsx)("img",{src:r.A,alt:""})})]}),"/pricing"===p.pathname?(0,d.jsxs)(a.A.Footer,{className:"justify-content-center",children:[(0,d.jsx)(i.A,{variant:"primary",onClick:t,children:"Yes"}),(0,d.jsx)(i.A,{variant:"secondary",onClick:c,children:"No"})]}):(0,d.jsxs)(a.A.Footer,{className:"justify-content-center",children:[(0,d.jsx)(i.A,{variant:"secondary",onClick:c,children:"cancel"}),(0,d.jsx)(i.A,{variant:"primary",onClick:t,children:"Delete"})]})]})})})}},40858(e,s,t){t.d(s,{A:()=>c});var a=t(65043),i=t(98139),l=t.n(i);const n="...",r=(e,s)=>{let t=s-e+1;return Array.from({length:t},(s,t)=>t+e)};var o=t(16841),d=t(70579);const c=e=>{const{onPageChange:s,totalCount:t,siblingCount:i=1,currentPage:c,pageSize:m,className:u}=e,p=(e=>{let{totalCount:s,pageSize:t,siblingCount:i=1,currentPage:l}=e;return(0,a.useMemo)(()=>{const e=Math.ceil(s/t);if(i+5>=e)return r(1,e);const a=Math.max(l-i,1),o=Math.min(l+i,e),d=a>2,c=o<e-2,m=e;if(!d&&c)return[...r(1,3+2*i),n,e];if(d&&!c){let s=r(e-(3+2*i)+1,e);return[1,n,...s]}if(d&&c){let e=r(a,o);return[1,n,...e,n,m]}},[s,t,i,l])})({currentPage:c,totalCount:t,siblingCount:i,pageSize:m});if(0===c||p.length<2)return null;let h=p[p.length-1];return(0,d.jsx)("div",{className:"paginationWrapper",children:(0,d.jsxs)("ul",{className:l()("pagination",{[u]:u}),children:[(0,d.jsx)("li",{className:l()("pagination-item",{disabled:1===c}),onClick:()=>{s(c-1)},children:(0,d.jsxs)("a",{className:"leftArrow",children:[" ",(0,d.jsx)("img",{src:o.A,alt:""}),"Prev"," "]})}),p.map(e=>"..."===e?(0,d.jsx)("li",{className:"pagination-item dots",children:"\u2026"}):(0,d.jsx)("div",{className:l()("pagination-item",{selected:e===c}),onClick:()=>s(e),children:(0,d.jsx)("li",{children:(0,d.jsxs)("a",{className:c===e?"active":"",children:[" ",e," "]})})},e)),(0,d.jsx)("li",{className:l()("pagination-item",{disabled:c===h}),onClick:()=>{s(c+1)},children:(0,d.jsxs)("a",{className:"rightArrow",children:[" ","Next",(0,d.jsx)("img",{src:o.A,alt:""})," "]})})]})})}},69e3(e,s,t){function a(e,s){var t;return(null===s||void 0===s||null===(t=s.typeArr)||void 0===t?void 0:t.findIndex(s=>s.value==e))>=0}t.d(s,{Z:()=>a})},82604(e,s,t){t.r(s),t.d(s,{default:()=>Z});var a=t(65043);var i=t(53184),l=t(64196),n=t(22009),r=t(10615),o=t(14282),d=t(86178),c=t.n(d),m=t(90660),u=t(34417),p=(t(92342),t(82388)),h=t(44443),x=t(70579);const v=function(e){let{inviteTeamList:s,onDelete:t,userId:d}=e;const[m,p]=(0,a.useState)(!1),[v,j]=(0,a.useState)(null),[f,g]=(0,a.useState)(s);return(0,a.useEffect)(()=>{g(s)},[s]),(0,x.jsx)(x.Fragment,{children:s.length>0?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(u.N9,{autoClose:1e3}),(0,x.jsxs)("div",{className:"",children:[(0,x.jsx)("div",{className:"TopBtn",children:(0,x.jsx)("div",{className:"d-flex justify-content-end"})}),(0,x.jsxs)("div",{className:"RoleWrap TeamWrap",style:{margin:"20px 0",fontSize:"14px"},children:[(0,x.jsx)("h3",{className:"mb-5",children:"Team Member Invitation Status"}),(0,x.jsxs)(l.A,{responsive:!0,children:[(0,x.jsx)("thead",{children:(0,x.jsxs)("tr",{children:[(0,x.jsx)("th",{children:"Email"}),(0,x.jsx)("th",{children:"Role"}),(0,x.jsx)("th",{children:"Invite Date"}),(0,x.jsx)("th",{children:"Status"}),(0,x.jsx)("th",{children:"Action"})]})}),(0,x.jsx)("tbody",{children:s.map((e,s)=>{let t=c().utc(new Date(e.createdAt)).format("MMM Do YY");return(0,x.jsxs)("tr",{children:[(0,x.jsx)("td",{children:e.email}),(0,x.jsx)("td",{children:e.role}),(0,x.jsx)("td",{className:"",children:(0,x.jsx)("div",{className:"d-flex justify-content-left",children:t})}),(0,x.jsx)("td",{className:"",children:1==e.status?(0,x.jsx)("p",{style:{color:"red"},children:"Declined"}):(0,x.jsx)("p",{style:{color:"orange"},children:"Pending"})}),(0,x.jsxs)("td",{children:[console.log(d+"============"+e.createdBy),d==e.createdBy?(0,x.jsx)(n.A,{placement:"top",overlay:(0,x.jsx)(r.A,{id:"tooltipd-top1",children:"Delete"}),children:(0,x.jsx)(o.A,{onClick:()=>(e=>{p(!0),j(e)})(e._id),children:(0,x.jsx)("img",{src:i.A,alt:""})})},"tooltipd-top1"):"N/A"]})]},s)})})]}),(0,x.jsx)(h.A,{showDel:m,DelItem:async()=>{await t(v),p(!1)},DelClose:()=>p(!1),title:"Do you want to delete team ?"})]})]})]}):""})};t(15897);var j=t(93861),f=t(10349),g=t(34288),A=t(68825);const N=t.p+"static/media/blockIconred.b96ba68855ed51efb493d5a2213a2b25.svg";var y=t(21467),b=t(61072),C=t(78602),S=t(53688),w=t(33637),D=t(42949),k=t(77627),I=t(59585),T=t(41126),R=t(43498),E=t(82509),P=t(51685),$=t(61577),F=t(27785),B=t(73216),U=t(73257),M=t(66332),O=t(53536),_=t.n(O),L=t(69168),V=t(40858),W=t(34211),z=t(69e3);const Z=function(){const e=(0,B.zy)(),[s,t]=(0,a.useState)(!1),[i,l]=(0,a.useState)(),{permissionStatus:d,setPermissionStatus:c}=(0,a.useContext)(W.B),[O,Z]=(0,a.useState)(JSON.parse(localStorage.getItem("userDetails"))),[J,H]=(0,a.useState)(e.state.teamDetails.createdBy),[q,G]=(0,a.useState)({preview:"",raw:""}),[K,Y]=(0,a.useState)([e.state.teamDetails.id]),[Q,X]=(0,a.useState)({preview:"",raw:""}),[ee,se]=(0,a.useState)(e.state.selectedTeamUser.data),[te,ae]=(0,a.useState)({x:0,y:0}),[ie,le]=(0,a.useState)(1),[ne,re]=(0,a.useState)(),[oe,de]=(0,a.useState)(),[ce,me]=(0,a.useState)("Add"),[ue,pe]=(0,a.useState)(),[he,xe]=(0,a.useState)(!1),[ve,je]=(0,a.useState)(),[fe,ge]=(0,a.useState)(e.state.teamList),[Ae,Ne]=(0,a.useState)(""),[ye,be]=(0,a.useState)(""),[Ce,Se]=(0,a.useState)(!1),[we,De]=(0,a.useState)(1),[ke,Ie]=(0,a.useState)(1),[Te,Re]=(0,a.useState)(!1),[Ee,Pe]=(0,a.useState)(""),[$e,Fe]=(0,a.useState)(!1),[Be,Ue]=(0,a.useState)([]),[Me,Oe]=(0,a.useState)({}),[_e,Le]=(0,a.useState)([]),[Ve,We]=(0,a.useState)([]),[ze,Ze]=(0,a.useState)(JSON.parse(localStorage.getItem("userDetails")).planPermission),[Je,He]=(0,a.useState)([]),qe=(0,B.Zp)(),Ge=(0,a.useCallback)((e,s)=>{l(s)},[]),Ke=async s=>{let t=s?s._id:e.state.teamDetails.id;Y([s?s._id:e.state.teamDetails.id]);let a=await(0,m.lx)(`${D.uW}/members/${t}`);200===a.status&&(se(a.data.data),Se(!0)),Ne(s?s.name:e.state.teamDetails.name)},Ye=async()=>{let e=await(0,m.lx)(`${D.R2}`);200===(null===e||void 0===e?void 0:e.status)&&Ue(e.data.data)}
1,Qe={firstName:"",lastName:"",email:"",phone:"",company:"",role:"",teams:[],permissions:[]},Xe=(0,k.Wx)({initialValues:Qe,validate:e=>{const s={};_().isEmpty(e.email)||(e.email=e.email.trim());const t=!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e.email);return _().isEmpty(e.email)&&(s.email="Email is required"),t&&!_().isEmpty(e.email)&&(s.email="Invalid Email"),s},onSubmit:async e=>{var s,a;let l=[];if(_e.length>0){for(let e of _e){e.typeArr.forEach(e=>{1==e.value&&l.push(e)})}e.permissions=l}let n=Be,r=[];0==_e.length&&Be.map(e=>{e.typeArr.map((e,s)=>{e.value=!1,r.push(e)})}),Fe(!0);let o="";null!==q&&void 0!==q&&q.preview&&i&&(o=await(0,U.nJ)(q.preview,i));let d="";if(Te){if(Te){var u;(o||null!==q&&void 0!==q&&null!==(u=q.raw)&&void 0!==u&&u.name)&&(d=new File([o],null===q||void 0===q?void 0:q.raw.name,{type:q.raw.type}))}}else d=null===q||void 0===q?void 0:q.raw;const h=new FormData;if(h.append("email",e.email.toLocaleLowerCase()),h.append("role",e.role.value?e.role.value:null!==e&&void 0!==e&&null!==(s=e.role)&&void 0!==s&&s.customOption?null===e||void 0===e||null===(a=e.role)||void 0===a?void 0:a.label:e.role),0==_e.length?(h.append("permissions",[]),h.append("permissionsClone",JSON.stringify(n))):(h.append("permissions",JSON.stringify(e.permissions)),h.append("permissionsClone",JSON.stringify(_e))),h.append("teams",JSON.stringify(K)),"Add"===ce){let e=await(0,m.ZE)(`${D.m3}`,h);var x;if(200===(null===e||void 0===e?void 0:e.data.responseCode))Fe(!1),c(!0),(0,p.mO)(L.Uq),(0,m.kk)(),t(!1),Ke();else(0,p.xN)(null===e||void 0===e||null===(x=e.data)||void 0===x?void 0:x.responseMessage),Fe(!1),c(!0),t(!1),Xe.setErrors({},!1),je(""),Pe(""),Re(!1),(0,m.kk)()}if("Edit"===ce){let e=await(0,m.zA)(`${D.m3}/updateUser/${oe}`,h);var v;if(200===e.status)(0,p.mO)(L.oe),Fe(!0),t(!1),(0,m.kk)(),Ke();else(0,p.xN)(null===e||void 0===e||null===(v=e.data)||void 0===v?void 0:v.responseMessage),t(!1),Xe.setErrors({},!1),je(""),Pe(""),Re(!1)}}}),es=async()=>{let s=e.state.teamDetails.id,t=await(0,m.lx)(`${D.m3}/getInvitePendings/${s}`);var a;200===(null===t||void 0===t?void 0:t.status)&&He(null===t||void 0===t||null===(a=t.data)||void 0===a?void 0:a.data)},ss=s=>s.find(s=>s===e.state.teamDetails.id),ts=e=>{if(be(e),"A-Z"===e){let e=ee.sort((e,s)=>e.firstName<s.firstName?-1:e.firstName>s.firstName?1:0);se(s=>[...e])}if("Z-A"===e){let e=ee.sort((e,s)=>e.firstName<s.firstName?1:e.firstName>s.firstName?-1:0);se(s=>[...e])}},as=(0,a.useMemo)(()=>{const e=2e5*(ke-1),s=e+2e5;return ee.slice(e,s)},[ee,ke]),[is,ls]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{es()},[]),(0,a.useEffect)(()=>{var s;(()=>{let s=e.state.teamDetails.id;if(s){var t,a;let e=null===O||void 0===O||null===(t=O.teamRolePermissions)||void 0===t?void 0:t.findIndex(e=>e.teamId===s);-1!=e&&Oe(null===(a=O.teamRolePermissions[e])||void 0===a?void 0:a.permissionArr),c(!1)}})();let t=fe.find(s=>
1s._id===e.state.teamDetails.id);null===(s=O.userDeactivateBy)||void 0===s||s.filter(s=>{s==e.state.teamDetails.id?ls(!0):ls(!1)});Ne(null===t||void 0===t?void 0:t.name),Ke(),(async()=>{let e=await(0,m.lx)(`${D.z7}`);if(200===(null===e||void 0===e?void 0:e.status)){let s=e.data.data.map(e=>({value:e,label:e[0].toUpperCase()+e.slice(1).toLowerCase()}));re(s)}})(),Ye()},[d,Me]),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(u.N9,{autoClose:1e3}),(0,x.jsx)("div",{className:"CreateTeamWrap TeamUsersWrap",children:is?(0,x.jsx)("div",{className:"deactivateMessage",children:(0,x.jsx)("h5",{children:L.H})}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{className:"TopWrap d-flex align-items-center justify-content-between",children:[(0,x.jsx)("div",{className:"SearchWrap"}),(0,x.jsxs)("div",{className:"SortNewUser d-flex align-items-center",children:[(0,x.jsxs)("div",{className:"sortWrap",children:[(0,x.jsxs)("span",{className:"SortIcon",children:[(0,x.jsx)("img",{src:j.A,alt:"sort icon"})," Sort:"]}),(0,x.jsxs)(y.A,{className:"DropdownWrap m-0",children:[(0,x.jsx)(y.A.Toggle,{variant:"default",id:"timeFormat",children:ye||"Sort"}),(0,x.jsxs)(y.A.Menu,{style:{margin:0},children:[(0,x.jsx)(y.A.Item,{onClick:()=>ts("A-Z"),children:"A - Z"}),(0,x.jsx)(y.A.Item,{onClick:()=>ts("Z-A"),children:"Z - A"})]})]})]}),(Me&&Me[M.hR.CAN_ADD_USER]||O._id===J)&&(0,x.jsxs)("button",{className:"NewUserWrap secondaryBtn",onClick:()=>{Xe.setErrors({},!1),Xe.setFieldValue("image",""),Xe.setFieldValue("firstName",""),Xe.setFieldValue("image",""),Xe.setFieldValue("lastName",""),Xe.setFieldValue("email",""),Xe.setFieldValue("phone",""),Xe.setFieldValue("company",""),Xe.setFieldValue("role",""),Xe.setFieldValue("teams",[...K]),G(),t(!0),Xe.resetForm(),me("Add")},children:[(0,x.jsx)("img",{src:g.A,alt:""})," Add Team Member"]})]})]}),(0,x.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"position-absolute tooltipnotf"}),(0,x.jsxs)("div",{className:"TeamInnerContent",children:[(0,x.jsx)("h3",{className:"mb-5",children:Ae}),as.length>0?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(b.A,{children:as?as.map((s,t)=>{const a=s.teamRolePermissions?s.teamRolePermissions.filter(e=>e.teamId===K[0]):[];return(0,x.jsx)(C.A,{className:"mb-5",lg:4,xl:3,md:6,sm:6,children:(0,x.jsxs)("div",{className:"TeamCard",children:[(0,x.jsx)("div",{children:ss(s.blockedBy)?(0,x.jsx)("img",{className:"blockUserIcon",src:N,alt:"BlockUser"}):""}),(0,x.jsxs)("div",{className:"TeamCardInner",children:[(O._id===e.state.teamDetails.createdBy&&e.state.teamDetails.createdBy!=s._id||Me&&(Me[M.hR.DELETE_USER]||Me[M.hR.BLOCK_USER])&&"Owner"!==s.roleForTeam&&O._id!==s._id)&&O.email!==(null===s||void 0===s?void 0:s.email)&&(0,x.jsxs)(S.A,{className:"dotsOptions m-0",id:"dropdown-basic-button",children:[(O._id===e.state.teamDetails.createdBy&&e.state.teamDetails.createdBy!=s._id||Me&&Me[M.hR.DELETE_USER])&&(0,x.jsxs)(y.A.Item,{onClick:()=>{return e=s._id,de(e),void xe(!0);var e},style:{margin:0},className:"freeTrial"==O.planType||(0,z.Z)(M.hk,ze)?"DeleteIcon":"disable",children:[(0,x.jsx)("span",{className:"DeleteIcon"}),"Delete"]}),(O._id===e.state.teamDetails.createdBy&&e.state.teamDetails.createdBy!=s._id||Me&&Me[M.hR.BLOCK_USER])&&(0,x.jsxs)(y.A.Item,{style:{margin:0},href:"#",onClick:()=>{(async(s,t)=>{let a={userStatus:!t.find(s=>s===e.state.teamDetails.id)},i=await(0,m.zA)(`${D.m3}/blockTeamUser/?teamId=${e.state.teamDetails.id}&userId=${s}`,a);200===i.data.responseCode&&(Ke(),(0,p.mO)(i.data.responseMessage),setTimeout(()=>{u.oR.dismiss()},3500))})(s._id,s.blockedBy)},className:"freeTrial"==O.planType||(0,z.Z)(M.qK,ze)?"DeleteIcon":"disable",children:[(0,x.jsx)("span",{className:"blockIcon"}),ss(s.blockedBy)?"Unblock":"Block"]})]}),(0,x.jsx)("div",{className:"UserImageWrap",children:(0,x.jsxs)("span",{className:"d-inline img",style:{position:"relative"},children:[(0,x.jsx)(w.A,{src:s.profilePicture?`${D.vn}${s.profilePicture}`:A.A,alt:"",roundedCircle:!0}),(0,x.jsx)("span",{className:"onlineIconWrap",children:(0,x.jsx)("img",{src:f.A,className:"onlineicon",alt:"Online"})})]})}),(0,x.jsx)("h3",{children:s.firstName}),s.roleForTeam?(0,x.jsx)("h3",{className:"teamOnwer",children:s.roleForTeam}):"",a.length>0?(0,x.jsx)("p",{children:a[0].role}):"",(0,x.jsxs)("div",{className:"emailaddress",children:[(0,x.jsx)("p",{children:s.email}),(0,x.jsx)("p",{children:s.phone})]})]}),(0,x.jsxs)("div",{className:"d-flex contactBtns",children:[(0,x.jsx)(o.A,{className:"emailBtn",type:"button",children:(0,x.jsx)(n.A,{placement:"top",overlay:(0,x.jsx)(r.A,{id:"tooltip-top",children:"Email Functionality is not available yet"}),children:(0,x.jsxs)("div",{children:[(0,x.jsx)("span",{className:"emailIcon"})," Email"]})},"top")}),(0,x.jsx)(o.A,{className:"chatBtn",type:"button",children:(0,x.jsx)(n.A,{placement:"top",overlay:(0,x.jsx)(r.A,{id:"tooltip-top",children:"Chat Functionality is not available yet"}),children:(0,x.jsxs)("div",{children:[(0,x.jsx)("span",{className:"chatIcon"})," Chat"]})},"top")})," "]})]})},t)}):""}),(0,x.jsx)(V.A,{className:"pagination-bar",currentPage:ke,totalCount:ee.length,pageSize:2e5,onPageChange:e=>Ie(e)})]}):(0,x.jsxs)("div",{className:"noUsers",children:[(0,x.jsx)("h3",{children:"No Users"}),(0,x.jsx)(o.A,{type:"button",className:"backBtn",onClick:()=>{qe("/teams")},children:"Go Back"})]}),(0,x.jsx)(v,{inviteTeamList:Je,onDelete:async e=>{let s=await(0,m.wu)(`${D.m3}/inviteMember/${e}`);var t;200===(null===s||void 0===s?void 0:s.status)?((0,p.mO)(L.lB),es(),setTimeout(()=>{u.oR.dismiss()},1e3)):((0,p.xN)(null===s||void 0===s||null===(t=s.data)||void 0===t?void 0:t.responseMessage),setTimeout(()=>{u.oR.dismiss()},1e3))},userId:JSON.parse(localStorage.getItem("userDetails"))._id})]})]})}),(0,x.jsx)(h.A,{showDel:he,DelItem:async()=>{let s=await(0,m.lx)(`${D.uW}/deleteTeamUser/?teamId=${e.state.teamDetails.id}&userId=${oe}`);var t;200===(null===s||void 0===s?void 0:s.status)?(ee.splice(oe,1),Ke(),(0,p.mO)("User has been deleted seccessfully."),setTimeout(()=>{u.oR.dismiss()},3500),xe(!1)):((0,p.xN)(null===s||void 0===s||null===(t=s.data)||void 0===t?void 0:t.responseMessage),setTimeout(()=>{u.oR.dismiss()},3500))},DelClose:()=>xe(!1),title:"Do you want to delete user?",Desc:"This will delete your user, Are you sure?"}),(0,x.jsx)(F.A,{show:s,handleClose:()=>{t(!1),Xe.setErrors({},!1),je(""),Pe(""),Re(!1)},addnewuser:T.A,closeicon:I.A,uploadIcon:R.A,selectarrow:E.A,checkIcon:P.A,crossuncheck:$.A,title:"Add team member",onSubmit:Xe.handleSubmit,onChange:Xe.handleChange,role:ne,roleValue:Xe.values.role,onRoleChange:(e,s)=>{"keyUp"===s?e&&e.length>4&&Xe.setFieldValue("role",e):Xe.setFieldValue("role",e[0])},selectTeam:e=>
1{Y(e),Qe.teams=[...K]},formik:Xe,profilePic:q,profilePicRaw:q,profilePicCrop:Q,crop:te,zoom:ie,logoValue:Xe.values.profilePicture,onCropChange:ae,onCropComplete:Ge,onZoomChange:le,handleChangeTeamLogo:async e=>{Xe.setFieldValue("profilePicture",""),Pe(URL.createObjectURL(e.target.files[0])),e.target.files.length&&(G({preview:URL.createObjectURL(e.target.files[0]),raw:e.target.files[0]}),e.preventDefault())},teamId:K.length>0?K:[],getTeamArr:ue,profilePicture:ve,sentImage:Ee,cropper:Te,handleCrop:()=>{Re(!Te)},allCheckArr:e=>{Y(e)},handleMouseUp:()=>{De(we+.0650000000000001),le(we+.0650000000000001)},handleMouseDown:()=>{De(we-.0650000000000001),le(we-.0650000000000001)},loaderStatus:$e,permissions:Be,permissionsList:Ye,selectPermission:e=>{let s=[...Be];if(e.length>0)for(let t of Be)for(let e of s)t==e&&(e.typeArr=t.typeArr);Le(s)},permissionStatus:d,selectedPermissionClone:e=>{}})]})}},53688(e,s,t){t.d(s,{A:()=>h});var a=t(65043),i=t(65173),l=t.n(i),n=t(21467),r=t(80723),o=t(51748);const d=l().oneOf(["start","end"]),c=l().oneOfType([d,l().shape({sm:d}),l().shape({md:d}),l().shape({lg:d}),l().shape({xl:d}),l().shape({xxl:d}),l().object]);var m=t(70579);const u={id:l().string,href:l().string,onClick:l().func,title:l().node.isRequired,disabled:l().bool,align:c,menuRole:l().string,renderMenuOnMount:l().bool,rootCloseEvent:l().string,menuVariant:l().oneOf(["dark"]),flip:l().bool,bsPrefix:l().string,variant:l().string,size:l().string},p=a.forwardRef((e,s)=>{let{title:t,children:a,bsPrefix:i,rootCloseEvent:l,variant:d,size:c,menuRole:u,renderMenuOnMount:p,disabled:h,href:x,id:v,menuVariant:j,flip:f,...g}=e;return(0,m.jsxs)(n.A,{ref:s,...g,children:[(0,m.jsx)(r.A,{id:v,href:x,size:c,variant:d,disabled:h,childBsPrefix:i,children:t}),(0,m.jsx)(o.A,{role:u,renderOnMount:p,rootCloseEvent:l,variant:j,flip:f,children:a})]})});p.displayName="DropdownButton",p.propTypes=u;const h=p},64196(e,s,t){var a=t(98139),i=t.n(a),l=t(65043),n=t(67852),r=t(70579);const o=l.forwardRef((e,s)=>{let{bsPrefix:t,className:a,striped:l,bordered:o,borderless:d,hover:c,size:m,variant:u,responsive:p,...h}=e;const x=(0,n.oU)(t,"table"),v=i()(a,x,u&&`${x}-${u}`,m&&`${x}-${m}`,l&&`${x}-${"string"===typeof l?`striped-${l}`:"striped"}`,o&&`${x}-bordered`,d&&`${x}-borderless`,c&&`${x}-hover`),j=(0,r.jsx)("table",{...h,className:v,ref:s});if(p){let e=`${x}-responsive`;return"string"===typeof p&&(e=`${e}-${p}`),(0,r.jsx)("div",{className:e,children:j})}return j});o.displayName="Table";const d=o;t.d(s,["A",0,d])}}]);
2//# sourceMappingURL=434.036c42b2.chunk.js.map

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.