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KAEjBnpB,EAAAA,EAAAA,KAAA,OAAAG,SAAMA,GAAe,C,gJCF9B,MAoCA,EApC+BxB,IAAmB,IAAlB,SAAEwB,GAAUxB,EAC1C,MAAMyqB,GAAYzb,EAAAA,EAAAA,KAAawJ,GAAUA,EAAMiS,YAEzCC,GAAgBC,EAAAA,EAAAA,GAAWC,+GAC3BC,EAAe,IAAIC,EAAAA,GAAwBC,EAAAA,IAEjD,OACE1pB,EAAAA,EAAAA,KAAC2pB,EAAAA,GAAY,CAACC,SAAUJ,EAAarpB,UACnCC,EAAAA,EAAAA,MAACypB,EAAAA,SAAQ,CACPC,OAAQT,EACRU,QAAS,CACPC,MAAO,CACL,CACEC,OACE,sHAGN9pB,SAAA,CAEDA,GACDH,EAAAA,EAAAA,KAACkqB,EAAAA,EAAc,CACbC,KACEf,EAAUgB,kBAA2C,iBAAvBhB,aAAS,EAATA,EAAWrjB,SAE3CskB,UAAWjB,EAAUkB,iBACrBC,UAAWnB,EAAUrjB,QACrBykB,QAASpB,EAAUoB,QACnBC,eAAgBrB,EAAUqB,eAC1BC,eAAgBtB,EAAUsB,eAC1BC,WAAYvB,EAAUuB,iBAGb,C","sources":["Components/user-sections/pages/profile/components/AddDomain.js","Components/user-sections/pages/profile/components/ChangeEmail.js","Components/user-sections/pages/profile/components/ChangePasswordForm.jsx","Components/user-sections/pages/profile/components/ConfirmMyProfile.js","Components/user-sections/pages/profile/components/ConfirmWorkspace.js","Components/user-sections/pages/profile/components/ConfirmationDeleteWorkSpace.js","Components/user-sections/pages/profile/components/CreateNewBoard.js","Components/user-sections/pages/profile/components/CreateNewSpace.js","Components/user-sections/pages/profile/components/CreateNewTeam.js","Components/user-sections/pages/profile/components/DeleteAccountModal.js","Components/user-sections/pages/profile/components/DeleteBrandColor.js","Components/user-sections/pages/profile/components/DeleteDomain.js","Components/user-sections/pages/profile/components/DeleteFont.js","Components/user-sections/pages/profile/components/DeleteProfile.js","Components/user-sections/pages/profile/components/DeleteTeam.js","Components/user-sections/pages/profile/components/DeleteWorkSpace.js","Components/user-sections/pages/profile/components/ForgotPasswordModel.js","Components/user-sections/pages/profile/components/RemoveInvitationModal.js","Components/user-sections/pages/profile/components/Invitations.js","Components/user-sections/pages/profile/components/InviteUserTeamsShared.jsx","Components/user-sections/pages/profile/components/InviteUserTeamsOwned.jsx","Components/user-sections/pages/profile/components/InviteUserTeams.jsx","Components/user-sections/pages/profile/components/LeaveTeam.js","Components/user-sections/pages/profile/components/ManageCookiesModal.js","Components/user-sections/pages/profile/components/DeleteTeamPermanently.js","Components/user-sections/pages/profile/components/RestoreTeamModal.js","Components/user-sections/pages/profile/components/ManageTeams.js","Components/user-sections/pages/profile/components/NotificationModal.js","Components/user-sections/pages/profile/components/ProfilesTabs.js","Components/user-sections/pages/profile/components/ProfileLayout.jsx","Components/user-sections/pages/profile/components/SSOModal.js","Components/user-sections/pages/profile/components/SelectedTeamUser.js","Components/user-sections/pages/profile/components/SetNewPasswordModal.js","Components/user-sections/pages/profile/components/SignOutAllDeviceModal.js","Components/user-sections/pages/profile/components/SuccessDeleteTeam.js","Components/user-sections/pages/profile/components/SuccessDeleteWorkSpace.js","Components/user-sections/pages/profile/components/VerifyCodeModal.js","HOC/ModelContext.jsx","HOC/OtherOperations.jsx","HOC/ThirdPartyIntegrations.jsx"],"sourcesContent":["import {\r\n  Box,\r\n  IconButton,\r\n  Modal,\r\n  Typography,\r\n  useMediaQuery,\r\n  useTheme,\r\n} from \"@mui/material\";\r\nimport React from \"react\";\r\nimport useCustomNavigation from \"../../../../../Utils/hooks/useCustomeNavigation\";\r\nimport { commonStyles } from \"../../../../../Utils/style/common/commonStyles\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\n\r\nfunction AddDomain({ open, handleCloseAddDomainModal }) {\r\n  // const { params, deleteSingleAndMultipleParams } = useCustomNavigation();\r\n  const theme = useTheme();\r\n  const matchDown950 = useMediaQuery(theme.breakpoints.down(950));\r\n  const Modelstyle = {\r\n    position: \"absolute\",\r\n    top: \"50%\",\r\n    left: \"50%\",\r\n    transform: \"translate(-50%, -50%)\",\r\n    width: 500,\r\n    bgcolor: \"background.paper\",\r\n    border: \"none\",\r\n    borderRadius: commonStyles.borderRadiusMD,\r\n    p: 3,\r\n  };\r\n  return (\r\n    <Modal open={open} onClose={handleCloseAddDomainModal}>\r\n      <Box sx={Modelstyle}>\r\n        <Box>\r\n          <Typography\r\n            fontWeight={fontWeight.weight600}\r\n            fontSize={fontSizes.modelTitle}\r\n          >\r\n            Add Domain\r\n          </Typography>\r\n          <IconButton\r\n            sx={{\r\n              position: \"absolute\",\r\n              top: {\r\n                xs: \"15px\",\r\n                lg: \"15px\",\r\n                xl: \"30px\",\r\n              },\r\n              right: {\r\n                xs: \"15px\",\r\n                lg: \"15px\",\r\n                xl: \"30px\",\r\n              },\r\n              width: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              height: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => {\r\n              handleCloseAddDomainModal(false);\r\n            }}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Box>\r\n\r\n        <LargeSimpleInput\r\n          fullWidth\r\n          label={\"Domain Name\"}\r\n          placeholder={\"e.g cloudairy.com\"}\r\n          height={44}\r\n          mainSx={{\r\n            minWidth: matchDown950 ? \"100%\" : \"calc(50% - 18px)\",\r\n          }}\r\n        />\r\n\r\n        <Box display={\"flex\"} gap={\"10px\"} mt={\"1rem\"} justifyContent={\"end\"}>\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"24px\",\r\n              transition: \"all 0.2s\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={() => {\r\n              handleCloseAddDomainModal(false);\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              height={fontSizes.btnTextHeight}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n          <BtnGradient>Add Domain</BtnGradient>\r\n        </Box>\r\n      </Box>\r\n    </Modal>\r\n  );\r\n}\r\n\r\nexport default AddDomain;\r\n","import { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport Loader from \"../../../../../CommanUI/Loader/loader\";\r\nimport { useChangeEmailMutation } from \"../../../../../Redux/api/usersApi\";\r\nimport { errorToast, successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  // maxWidth: \"615px\",\r\n  width: \"500px\",\r\n  // width: {\r\n  //   xs: \"90%\",\r\n  //   md: \"35%\",\r\n  //   xl: \"35%\",\r\n  // },\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px 10px\",\r\n    md: \"20px 16px\",\r\n    xl: \"28px 24px \",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst ChangeEmail = ({ open, onClose, profileData }) => {\r\n  const initialValue = {\r\n    old_email_id: profileData.email || \"\",\r\n    new_email_id: \"\",\r\n  };\r\n  const {\r\n    register,\r\n    handleSubmit,\r\n    control,\r\n    reset,\r\n    setError,\r\n    clearErrors,\r\n    formState: { errors },\r\n  } = useForm({\r\n    mode: \"onChange\",\r\n    defaultValues: initialValue,\r\n  });\r\n  const [loading, setLoading] = useState(false);\r\n  const dispatch = useDispatch();\r\n  const [submittedData, setSubmittedData] = useState(null);\r\n\r\n  const [\r\n    changeEmail,\r\n    { data: emailChanges, isLoading: changingInProgress, error: errorInChange },\r\n  ] = useChangeEmailMutation();\r\n\r\n  const onSubmit = (data) => {\r\n    if (\r\n      !/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$/.test(\r\n        data.new_email_id\r\n      )\r\n    ) {\r\n      setError(\"new_email_id\", {\r\n        type: \"manual\",\r\n        message: \"Invalid email address\",\r\n      });\r\n      return;\r\n    }\r\n    setSubmittedData(data);\r\n    changeEmail(data)\r\n      .then((result) => {\r\n        if (result?.error) {\r\n          dispatch(\r\n            errorToast({\r\n              message: result?.error?.data?.message,\r\n            })\r\n          );\r\n        } else if (result?.data?.status) {\r\n          result.data?.message &&\r\n            dispatch(successToast({ message: result.data?.message }));\r\n          // dispatch(\r\n          //   successToast({\r\n          //     // message: `We've sent you an email to confirm your new address: ${submittedData?.new_email_id}`,\r\n          //     message: `We've sent you an email to confirm your new address: ${data.new_email_id}`,\r\n          //   })\r\n          // );\r\n          onClose();\r\n        }\r\n      })\r\n      .catch((error) => {\r\n        console.error({ error }, \"error\");\r\n      });\r\n  };\r\n\r\n  useEffect(() => {\r\n    if (open) {\r\n      reset({\r\n        old_email_id: profileData.email || \"\",\r\n        new_email_id: \"\",\r\n      });\r\n    }\r\n  }, [open, reset, profileData.email]);\r\n\r\n  // useEffect(() => {\r\n  //   if (emailChanges) {\r\n  //     dispatch(\r\n  //       successToast({\r\n  //         message: `We've sent you an email to confirm your new address: ${submittedData?.new_email_id}`,\r\n  //       })\r\n  //     );\r\n  //     onClose();\r\n  //   }\r\n  // }, [emailChanges, dispatch, submittedData, onClose]);\r\n\r\n  return (\r\n    <>\r\n      <CustomModal open={open} handleClose={loading ? () => {} : onClose}>\r\n        <form onSubmit={handleSubmit(onSubmit)}>\r\n          <Box sx={style}>\r\n            {loading && <Loader />}\r\n            <Stack gap={\"15px\"} width={\"100%\"}>\r\n              <Box display={\"flex\"} justifyContent={\"space-between\"}>\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.titleFont,\r\n                    md: fontSizes.modelTitle,\r\n                    xl: fontSizes.modelTitle1,\r\n                  }}\r\n                  fontWeight={fontWeight.weight800}\r\n                  color={color.titleDark}\r\n                >\r\n                  Change Email Address\r\n                </Typography>\r\n                <IconButton\r\n                  sx={{\r\n                    width: {\r\n                      xs: \"28px !important\",\r\n                      xl: \"36px !important\",\r\n                    },\r\n                    height: {\r\n                      xs: \"28px !important\",\r\n                      xl: \"36px !important\",\r\n                    },\r\n                    borderRadius: \"50%\",\r\n                    bgcolor: \"#EFF0F3\",\r\n                    transition: \"all 0.3s ease\",\r\n                    \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n                  }}\r\n                  onClick={onClose}\r\n                >\r\n                  <IcCloseThin fill=\"#18181B\" />\r\n                </IconButton>\r\n              </Box>\r\n              <Controller\r\n                name=\"old_email_id\"\r\n                defaultValue={profileData.email}\r\n                rules={{\r\n                  required: \"Email is required\",\r\n                  pattern: {\r\n                    value: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$/,\r\n                    message: \"Invalid email address\",\r\n                  },\r\n                }}\r\n                control={control}\r\n                render={({ field }) => (\r\n                  <LargeSimpleInput\r\n                    disabled={true}\r\n                    label={\"Your email\"}\r\n                    name=\"old_email_id\"\r\n                    height={40}\r\n                    {...field}\r\n                  />\r\n                )}\r\n              />\r\n              <Controller\r\n                name=\"new_email_id\"\r\n                rules={{\r\n                  required: \"Email is required\",\r\n                  pattern: {\r\n                    value: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$/,\r\n                    message: \"Invalid email address\",\r\n                  },\r\n                }}\r\n                control={control}\r\n                render={({ field }) => (\r\n                  <LargeSimpleInput\r\n                    label={\"New email\"}\r\n                    required\r\n                    placeholder=\"Enter your email address\"\r\n                    name=\"new_email_id\"\r\n                    height={40}\r\n                    errorMessage={errors.new_email_id?.message}\r\n                    // helperText={errors.new_email_id?.message}\r\n                    onChange={(e) => {\r\n                      field.onChange(e);\r\n                      if (errors.new_email_id) clearErrors(\"new_email_id\");\r\n                    }}\r\n                    {...field}\r\n                  />\r\n                )}\r\n              />\r\n              <Stack\r\n                direction={\"row\"}\r\n                alignItems={\"center\"}\r\n                justifyContent={\"flex-end\"}\r\n                gap={\"20px\"}\r\n                mt={1}\r\n              >\r\n                <BtnColoredOutlined\r\n                  bgcolor={color.greyHover}\r\n                  borderColor={color.commonBorderColor}\r\n                  sx={{\r\n                    px: \"16px\",\r\n                    transition: \"all 0.2s\",\r\n                  }}\r\n                  hoverSx={{\r\n                    bgcolor: color.darkGray,\r\n                  }}\r\n                  onClick={onClose}\r\n                >\r\n                  <Typography\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    Cancel\r\n                  </Typography>\r\n                </BtnColoredOutlined>\r\n                <BtnGradient\r\n                  sx={{\r\n                    px: \"24px\",\r\n                  }}\r\n                  type=\"submit\"\r\n                  loading={changingInProgress}\r\n                >\r\n                  <Typography\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    fontWeight={500}\r\n                  >\r\n                    Update\r\n                  </Typography>\r\n                </BtnGradient>\r\n              </Stack>\r\n            </Stack>\r\n          </Box>\r\n        </form>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default ChangeEmail;\r\n","import { Box, Stack, Typography } from \"@mui/material\";\r\nimport React, { useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport commanService from \"../../../../../CommanFunctions/commanService\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport {\r\n  errorToast,\r\n  successToast,\r\n  warningToast,\r\n} from \"../../../../../Redux/toastSlice\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport AuthInput from \"../../../../Auth/components/AuthInput\";\r\nimport { IcRight, IcWrong } from \"../../../../../assets/icon-components\";\r\n\r\nconst ChangePasswordForm = () => {\r\n  const navigate = useNavigate();\r\n  const dispatch = useDispatch();\r\n\r\n  const [loading, setLoading] = useState(false);\r\n  const [showCurrentPassword, setShowCurrentPassword] = useState(false);\r\n  const [showPassword, setShowPassword] = useState(false);\r\n  const [showConfirmPassword, setShowConfirmPassword] = useState(false);\r\n  const [newPasswordData, setNewPasswordData] = useState({\r\n    currentPassword: \"\",\r\n    newPassword: \"\",\r\n    confirmPassword: \"\",\r\n  });\r\n  const [errors, setErrors] = useState({\r\n    currentPassword: \"\",\r\n    newPassword: \"\",\r\n    confirmPassword: \"\",\r\n  });\r\n  const digits = newPasswordData.newPassword?.replace(/\\D/g, \"\");\r\n\r\n  const validateField = (fieldName, value) => {\r\n    switch (fieldName) {\r\n      case \"currentPassword\":\r\n        if (value.length === 0) {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            currentPassword: \"Current password is required\",\r\n          }));\r\n        } else if (value.length < 8) {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            currentPassword: \"Password must be at least 8 characters long\",\r\n          }));\r\n        } else {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            currentPassword: \"\",\r\n          }));\r\n        }\r\n        break;\r\n      case \"newPassword\": {\r\n        if (value.length === 0) {\r\n          setErrors((prev) => ({ ...prev, newPassword: \"Password required\" }));\r\n        } else if (value.length < 8) {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            newPassword: \"Password must be at least 8 characters long\",\r\n          }));\r\n        } else if (\r\n          !/(?=.*[a-z])(?=.*[A-Z])/.test(value) ||\r\n          !/\\d/.test(value) ||\r\n          !/[@$!%*?&#]/.test(value)\r\n        ) {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            newPassword: \"Password must meet the specified criteria\",\r\n          }));\r\n        } else {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            newPassword: \"\",\r\n          }));\r\n        }\r\n        break;\r\n      }\r\n      case \"confirmPassword\": {\r\n        if (value.length === 0) {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            confirmPassword: \"Confirm Password Required\",\r\n          }));\r\n        } else if (value !== newPasswordData.newPassword) {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            confirmPassword: \"Passwords do not match\",\r\n          }));\r\n        } else {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            confirmPassword: \"\",\r\n          }));\r\n        }\r\n        break;\r\n      }\r\n      default:\r\n        break;\r\n    }\r\n  };\r\n\r\n  const handleUpdatePassword = async () => {\r\n    const { currentPassword, newPassword, confirmPassword } = newPasswordData;\r\n\r\n    // Reset errors\r\n    setErrors({\r\n      currentPassword: \"\",\r\n      newPassword: \"\",\r\n      confirmPassword: \"\",\r\n    });\r\n\r\n    let isValid = true;\r\n\r\n    // Validate current password\r\n    if (!currentPassword) {\r\n      setErrors((prev) => ({\r\n        ...prev,\r\n        currentPassword: \"Current password is required\",\r\n      }));\r\n      isValid = false;\r\n    } else if (currentPassword.length < 8) {\r\n      setErrors((prev) => ({\r\n        ...prev,\r\n        currentPassword: \"Password must be at least 8 characters long\",\r\n      }));\r\n      isValid = false;\r\n    }\r\n\r\n    // Validate new password\r\n    if (!newPassword) {\r\n      setErrors((prev) => ({\r\n        ...prev,\r\n        newPassword: \"New password is required\",\r\n      }));\r\n      isValid = false;\r\n    } else if (newPassword.length < 8) {\r\n      setErrors((prev) => ({\r\n        ...prev,\r\n        newPassword: \"Password must be at least 8 characters long\",\r\n      }));\r\n      isValid = false;\r\n    } else if (\r\n      !/(?=.*[a-z])(?=.*[A-Z])/.test(newPassword) ||\r\n      !/\\d/.test(newPassword) ||\r\n      !/[@$!%*?&#]/.test(newPassword)\r\n    ) {\r\n      setErrors((prev) => ({\r\n        ...prev,\r\n        newPassword: \"Password must meet the specified criteria\",\r\n      }));\r\n      isValid = false;\r\n    }\r\n\r\n    // Validate confirm password\r\n    if (!confirmPassword) {\r\n      setErrors((prev) => ({\r\n        ...prev,\r\n        confirmPassword: \"Confirm password is required\",\r\n      }));\r\n      isValid = false;\r\n    } else if (confirmPassword !== newPassword) {\r\n      setErrors((prev) => ({\r\n        ...prev,\r\n        confirmPassword: \"Passwords do not match\",\r\n      }));\r\n      isValid = false;\r\n    }\r\n\r\n    // If validation fails, stop execution\r\n    if (!isValid) return;\r\n\r\n    // If validation passes, proceed with password update\r\n    setLoading(true);\r\n    try {\r\n      const response = await commanService.postApi(\"user\", \"change-password\", {\r\n        oldpassword: currentPassword,\r\n        newpassword: newPassword,\r\n      });\r\n\r\n      dispatch(successToast({ message: response.data.message }));\r\n      setNewPasswordData({\r\n        currentPassword: \"\",\r\n        newPassword: \"\",\r\n        confirmPassword: \"\",\r\n      });\r\n\r\n      setErrors({\r\n        currentPassword: \"\",\r\n        newPassword: \"\",\r\n        confirmPassword: \"\",\r\n      });\r\n    } catch (error) {\r\n      if (error.response.status !== 401) {\r\n        const message =\r\n          error.response?.data?.message ||\r\n          error.response?.data?.error?.[0] ||\r\n          error.message;\r\n        if (error.response.status < 500) {\r\n          dispatch(warningToast({ message }));\r\n        } else {\r\n          dispatch(errorToast({ message: \"Oops! Something went wrong\" }));\r\n        }\r\n      }\r\n    } finally {\r\n      setLoading(false);\r\n    }\r\n  };\r\n\r\n  const renderValidationIcon = (condition) => {\r\n    return newPasswordData?.newPassword?.trim().length === 0 ? (\r\n      <Box\r\n        height={\"4px\"}\r\n        width={\"4px\"}\r\n        bgcolor={color.subTitle}\r\n        borderRadius={\"50%\"}\r\n      ></Box>\r\n    ) : condition ? (\r\n      <IcRight />\r\n    ) : (\r\n      <IcWrong />\r\n    );\r\n  };\r\n\r\n  const eightCharacterIcon = renderValidationIcon(\r\n    newPasswordData.newPassword.length >= 8\r\n  );\r\n  const upperAndLowerCaseIcon = renderValidationIcon(\r\n    /(?=.*[a-z])(?=.*[A-Z])/.test(newPasswordData.newPassword)\r\n  );\r\n  const oneNumberIcon = renderValidationIcon(\r\n    /\\d/.test(newPasswordData.newPassword)\r\n  );\r\n  const specialCharacterIcon = renderValidationIcon(\r\n    /[@$!%*?&#]/.test(newPasswordData.newPassword)\r\n  );\r\n\r\n  const findSpecialCharacters = (password) => {\r\n    return password.split(\"\").some((char) => !char.match(/[a-zA-Z0-9]/));\r\n  };\r\n  const hasUpperAndLowerCase = (password) => {\r\n    let hasUpper = false;\r\n    let hasLower = false;\r\n\r\n    for (let i = 0; i < password.length; i++) {\r\n      let char = password[i];\r\n\r\n      if (char >= \"A\" && char <= \"Z\") {\r\n        hasUpper = true;\r\n      }\r\n      if (char >= \"a\" && char <= \"z\") {\r\n        hasLower = true;\r\n      }\r\n      if (hasUpper && hasLower) {\r\n        return true;\r\n      }\r\n    }\r\n\r\n    return false;\r\n  };\r\n\r\n  const eightCharacter =\r\n    newPasswordData.newPassword?.trim().length === 0\r\n      ? color.subTitle\r\n      : newPasswordData.newPassword?.length >= 8\r\n      ? \"#06A05A\"\r\n      : newPasswordData.newPassword?.length <= 8\r\n      ? \"#FF5030\"\r\n      : \"\";\r\n\r\n  const upperAndLowerCase =\r\n    newPasswordData.newPassword?.trim().length === 0\r\n      ? color.subTitle\r\n      : hasUpperAndLowerCase(newPasswordData.newPassword)\r\n      ? \"#06A05A\"\r\n      : \"#FF5030\";\r\n\r\n  const oneNumber =\r\n    digits.length >= 1\r\n      ? \"#06A05A\"\r\n      : newPasswordData.newPassword?.length === 0\r\n      ? color.subTitle\r\n      : \"#FF5030\";\r\n\r\n  const specialCharacter =\r\n    newPasswordData.newPassword?.trim().length === 0\r\n      ? color.subTitle\r\n      : findSpecialCharacters(newPasswordData.newPassword)\r\n      ? \"#06A05A\"\r\n      : \"#FF5030\";\r\n\r\n  return (\r\n    <Stack\r\n      sx={{\r\n        width: \"100%\",\r\n        position: \"relative\",\r\n        height: \"100%\",\r\n      }}\r\n    >\r\n      <Box\r\n        width={{\r\n          xs: \"100% !important\",\r\n          md: \"100% !important\",\r\n          xl: \"100% !important\",\r\n        }}\r\n        maxHeight={{ xs: \"100% !important\", md: \"100% !important\" }}\r\n      >\r\n        <Stack width={\"100%\"} gap={\"0.5rem\"}>\r\n          <Stack\r\n            // maxWidth={\"793px\"}\r\n            sx={{\r\n              width: {\r\n                sm: \"100%\",\r\n                md: \"calc(50% - 22px)\",\r\n                xl: \"calc(50% - 22px)\",\r\n              },\r\n            }}\r\n          >\r\n            <AuthInput\r\n              height={42}\r\n              lgHeight={42}\r\n              mdHeight={42}\r\n              xsHeight={42}\r\n              label={\"Current password\"}\r\n              placeholder={\"Enter your current password\"}\r\n              sx={{ mb: { xs: \"08px\", md: \"10px\" } }}\r\n              endAdornment={true}\r\n              type={showCurrentPassword ? \"text\" : \"password\"}\r\n              bgColor=\"white\"\r\n              defaultBorderColor=\"#E1E1E1\"\r\n              handleClickShowPassword={() =>\r\n                setShowCurrentPassword(!showCurrentPassword)\r\n              }\r\n              showPassword={showCurrentPassword}\r\n              value={newPasswordData.currentPassword}\r\n              onChange={(e) => {\r\n                setNewPasswordData({\r\n                  ...newPasswordData,\r\n                  currentPassword: e.target.value,\r\n                });\r\n                // validateField(\"currentPassword\", e.target.value);\r\n              }}\r\n              errorMessage={errors.currentPassword}\r\n              // onBlur={() =>\r\n              //   validateField(\r\n              //     \"currentPassword\",\r\n              //     newPasswordData.currentPassword\r\n              //   )\r\n              // }\r\n            />\r\n          </Stack>\r\n          <Stack\r\n            display={\"flex\"}\r\n            flexDirection={{\r\n              sm: \"column\",\r\n              md: \"row\",\r\n            }}\r\n            columnGap={5}\r\n          >\r\n            <Box width={\"100%\"}>\r\n              <AuthInput\r\n                height={42}\r\n                lgHeight={42}\r\n                mdHeight={42}\r\n                xsHeight={42}\r\n                label={\"New password\"}\r\n                placeholder={\"Enter your new password\"}\r\n                sx={{ mb: { xs: \"08px\", md: \"10px\" } }}\r\n                endAdornment={true}\r\n                type={showPassword ? \"text\" : \"password\"}\r\n                bgColor=\"white\"\r\n                defaultBorderColor=\"#E1E1E1\"\r\n                handleClickShowPassword={() => setShowPassword(!showPassword)}\r\n                showPassword={showPassword}\r\n                value={newPasswordData.newPassword}\r\n                onChange={(e) => {\r\n                  setNewPasswordData({\r\n                    ...newPasswordData,\r\n                    newPassword: e.target.value,\r\n                  });\r\n                }}\r\n                errorMessage={errors.newPassword}\r\n              />\r\n              <Stack padding={\"8px\"} direction={\"row\"} gap={\"48px\"} mt={-1}>\r\n                <Stack gap={\"4px\"}>\r\n                  <Stack direction={\"row\"} gap={\"8px\"} alignItems={\"center\"}>\r\n                    <Stack>{eightCharacterIcon}</Stack>\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight400}\r\n                      fontSize={fontSizes.mediumFont}\r\n                      color={eightCharacter}\r\n                    >\r\n                      At least 8 characters\r\n                    </Typography>\r\n                  </Stack>\r\n                  <Stack direction={\"row\"} gap={\"8px\"} alignItems={\"center\"}>\r\n                    <Stack>{upperAndLowerCaseIcon}</Stack>\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight400}\r\n                      fontSize={fontSizes.mediumFont}\r\n                      color={upperAndLowerCase}\r\n                    >\r\n                      Uppercase and lowercase letters\r\n                    </Typography>\r\n                  </Stack>\r\n                </Stack>\r\n                <Stack gap={\"4px\"}>\r\n                  <Stack direction={\"row\"} gap={\"8px\"} alignItems={\"center\"}>\r\n                    <Stack>{oneNumberIcon}</Stack>\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight400}\r\n                      fontSize={fontSizes.mediumFont}\r\n                      color={oneNumber}\r\n                    >\r\n                      One number\r\n                    </Typography>\r\n                  </Stack>\r\n                  <Stack direction={\"row\"} gap={\"8px\"} alignItems={\"center\"}>\r\n                    <Stack>{specialCharacterIcon}</Stack>\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight400}\r\n                      fontSize={fontSizes.mediumFont}\r\n                      color={specialCharacter}\r\n                    >\r\n                      Special character\r\n                    </Typography>\r\n                  </Stack>\r\n                </Stack>\r\n              </Stack>\r\n            </Box>\r\n            <AuthInput\r\n              height={42}\r\n              lgHeight={42}\r\n              mdHeight={42}\r\n              xsHeight={42}\r\n              label={\"Confirm password\"}\r\n              placeholder={\"Confirm your new password\"}\r\n              endAdornment={true}\r\n              bgColor=\"white\"\r\n              defaultBorderColor=\"#E1E1E1\"\r\n              type={showConfirmPassword ? \"text\" : \"password\"}\r\n              handleClickShowPassword={() =>\r\n                setShowConfirmPassword(!showConfirmPassword)\r\n              }\r\n              showPassword={showConfirmPassword}\r\n              value={newPasswordData.confirmPassword}\r\n              onChange={(e) => {\r\n                setNewPasswordData({\r\n                  ...newPasswordData,\r\n                  confirmPassword: e.target.value,\r\n                });\r\n                // validateField(\"confirmPassword\", e.target.value);\r\n              }}\r\n              errorMessage={errors.confirmPassword}\r\n              // onBlur={() =>\r\n              //   validateField(\r\n              //     \"confirmPassword\",\r\n              //     newPasswordData.confirmPassword\r\n              //   )\r\n              // }\r\n            />\r\n          </Stack>\r\n        </Stack>\r\n      </Box>\r\n      <Stack\r\n        sx={{\r\n          mt: {\r\n            xs: \"10px\",\r\n            md: \"15px\",\r\n            xl: \"20px\",\r\n          },\r\n        }}\r\n        direction={\"row\"}\r\n        alignItems={\"center\"}\r\n        justifyContent={\"flex-start\"}\r\n        gap={\"20px\"}\r\n      >\r\n        {(newPasswordData.currentPassword ||\r\n          newPasswordData.newPassword ||\r\n          newPasswordData.confirmPassword) && (\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={() => {\r\n              setNewPasswordData({\r\n                currentPassword: \"\",\r\n                newPassword: \"\",\r\n                confirmPassword: \"\",\r\n              });\r\n              setErrors({\r\n                currentPassword: \"\",\r\n                newPassword: \"\",\r\n                confirmPassword: \"\",\r\n              });\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n        )}\r\n\r\n        <BtnGradient\r\n          sx={{\r\n            px: \"24px\",\r\n          }}\r\n          onClick={handleUpdatePassword}\r\n          disabled={\r\n            // !(\r\n            //   newPasswordData.newPassword.length >= 8 &&\r\n            //   /(?=.*[a-z])(?=.*[A-Z])/.test(newPasswordData.newPassword) &&\r\n            //   /\\d/.test(newPasswordData.newPassword) &&\r\n            //   /[@$!%*?&#]/.test(newPasswordData.newPassword) &&\r\n            //   newPasswordData.newPassword === newPasswordData.confirmPassword\r\n            // )\r\n            !newPasswordData.currentPassword &&\r\n            !newPasswordData.newPassword &&\r\n            !newPasswordData.confirmPassword\r\n          }\r\n          loading={loading}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.fontSize13,\r\n              md: fontSizes.fontSize14,\r\n            }}\r\n            fontWeight={500}\r\n          >\r\n            Save Changes\r\n          </Typography>\r\n        </BtnGradient>\r\n      </Stack>\r\n    </Stack>\r\n  );\r\n};\r\n\r\nexport default ChangePasswordForm;\r\n","import { Avatar, Box, Stack, Typography } from \"@mui/material\";\r\nimport React, { useState } from \"react\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport SimpleCheckBox from \"../../../../../common-components/SimpleCheckBox\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { IcInfoOutlined } from \"../../../../../assets/icon-components\";\r\nimport SimpleInput from \"../../../../../common-components/SimpleInput\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { useDeleteProfileConfirmationMutation } from \"../../../../../Redux/api/usersApi\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { errorToast, successToast } from \"../../../../../Redux/toastSlice\";\r\nimport Header from \"../../../../../CommanUI/Header/header\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nfunction ConfirmMyProfile() {\r\n  const [deleteOpt, setDeleteOpt] = useState([]);\r\n  const [ownReason, setOwnReason] = useState(\"\");\r\n  const [error, setError] = useState(\"\");\r\n\r\n  const dispatch = useDispatch();\r\n  const location = useLocation();\r\n  const queryParams = new URLSearchParams(location?.search);\r\n  const token = queryParams.get(\"token\");\r\n\r\n  const userData = useSelector((store) => {\r\n    return store.common.userData;\r\n  });\r\n\r\n  const [\r\n    deleteProfileConfirmation,\r\n    {\r\n      data: deletedAccount,\r\n      isLoading: deletionInProgress,\r\n      error: errorInDeletion,\r\n    },\r\n  ] = useDeleteProfileConfirmationMutation();\r\n\r\n  const toggleReasons = (value) => {\r\n    if (deleteOpt.includes(value)) {\r\n      setDeleteOpt(deleteOpt.filter((res) => res !== value));\r\n    } else {\r\n      setDeleteOpt([...deleteOpt, value]);\r\n    }\r\n    setError(\"\");\r\n  };\r\n\r\n  const navigate = useNavigate();\r\n  const navigateToDashboard = () => {\r\n    navigate(\"/\");\r\n  };\r\n\r\n  const handleProfileDelete = async () => {\r\n    if (deleteOpt.length === 0) {\r\n      setError(\r\n        \"Please select at least one reason before deleting the workspace.\"\r\n      );\r\n      return;\r\n    }\r\n\r\n    if (deleteOpt.includes(\"Other\") && !ownReason) {\r\n      setError(\"Please specify your own reason for selecting 'Other'.\");\r\n      return;\r\n    }\r\n\r\n    setError(\"\"); // Clear any existing errors\r\n\r\n    const payload = {\r\n      token: token,\r\n      reasons: {\r\n        default_reason: deleteOpt.filter((item) => item !== \"Other\"),\r\n        own_reason: ownReason || \"\",\r\n      },\r\n    };\r\n\r\n    await deleteProfileConfirmation(payload)\r\n      .then((result) => {\r\n        if (result?.error) {\r\n          dispatch(\r\n            errorToast({\r\n              message: result?.error?.data?.message,\r\n            })\r\n          );\r\n        } else if (result?.data?.status) {\r\n          dispatch(\r\n            successToast({\r\n              message: result?.data?.message,\r\n            })\r\n          );\r\n          localStorage.clear();\r\n          navigate(\"/\");\r\n        }\r\n      })\r\n      .catch((error) => {\r\n        console.error({ error }, \"error\");\r\n      });\r\n  };\r\n\r\n  return (\r\n    <div>\r\n      <section id=\"auth_container\">\r\n        <Header />\r\n        <Stack\r\n          sx={{\r\n            bgcolor: color.commonHoverColor,\r\n            height: \"calc(100vh - 65px)\",\r\n            \"& .headerSecondPart\": {\r\n              margin: \"40px\",\r\n            },\r\n          }}\r\n        >\r\n          {/* <Stack className=\"workspaceHeader\">\r\n            <img\r\n              src={cloudDairyColoredLogo}\r\n              alt=\"cloudDairyColoredLogo\"\r\n              className=\"cloudDairyColoredLogo\"\r\n            />\r\n\r\n            <Stack>\r\n              <BtnGradient\r\n                sx={{\r\n                  px: \"18px\",\r\n                  width: \"fit-content\",\r\n                }}\r\n              >\r\n                <Typography fontSize={fontSizes.mediumFont} height={\"18px\"} fontWeight={600}>\r\n                  Go to the Dashboard\r\n                </Typography>\r\n              </BtnGradient>\r\n            </Stack>\r\n          </Stack> */}\r\n\r\n          <Stack\r\n            direction={\"row\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"center\"}\r\n            height={\"100%\"}\r\n          >\r\n            <Box\r\n              width={{\r\n                xs: \"65% !important\",\r\n                md: \"43% !important\",\r\n                xl: \"733px !important\",\r\n              }}\r\n              className=\"login-form\"\r\n              border={`1px solid ${color.commonBorderColor}`}\r\n            >\r\n              <Stack justifyContent={\"space-between\"}>\r\n                <Typography\r\n                  fontWeight={fontWeight.weight600}\r\n                  fontSize={\"24px\"}\r\n                  mb={\"5px\"}\r\n                  color={color.titleDark}\r\n                >\r\n                  Sorry to See You Leave Cloudairy\r\n                </Typography>\r\n              </Stack>\r\n\r\n              <Stack direction={\"row\"} gap={\"10px\"} mb={0.5}>\r\n                <CommonBulletPoint />\r\n                <Typography\r\n                  fontWeight={fontWeight.weight400}\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  color={color.subTitle}\r\n                >\r\n                  We’ve received your request to delete your profile.\r\n                </Typography>\r\n              </Stack>\r\n\r\n              <Stack direction={\"row\"} gap={\"10px\"}>\r\n                <CommonBulletPoint />\r\n                <Typography\r\n                  fontWeight={fontWeight.weight400}\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  color={color.subTitle}\r\n                >\r\n                  Before proceeding, could you share why you're leaving? Your\r\n                  feedback helps us improve.\r\n                </Typography>\r\n              </Stack>\r\n              {/* <Typography mt={\"-15px\"} fontSize={fontSizes.mediumFont}>\r\n                    To permanently delete your workspace{\" \"}\r\n                    <Typography\r\n                      variant=\"captions\"\r\n                      fontWeight={fontWeight.weight600}\r\n                      color={color.titleDark}\r\n                    >\r\n                      {\" \"}\r\n                      [Workspace Name]{\" \"}\r\n                    </Typography>\r\n                    , please click the{\" \"}\r\n                    <Typography\r\n                      variant=\"captions\"\r\n                      fontWeight={fontWeight.weight600}\r\n                      color={color.titleDark}\r\n                    >\r\n                      {\" \"}\r\n                      Delete Workspace{\" \"}\r\n                    </Typography>{\" \"}\r\n                    button below.\r\n                  </Typography>\r\n\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight600}\r\n                    fontSize={fontSizes.mediumFont}\r\n                    color={color.titleDark}\r\n                    mt={\"4px\"}\r\n                  >\r\n                    Important Notes:\r\n                  </Typography>\r\n\r\n                  <Stack mt={\"4px\"}>\r\n                    <Stack direction={\"row\"} alignItems={\"center\"} gap={\"10px\"}>\r\n                      <Box\r\n                        height={\"4px\"}\r\n                        width={\"4px\"}\r\n                        bgcolor={color.subTitle}\r\n                      ></Box>\r\n                      <Typography\r\n                        fontWeight={fontWeight.weight400}\r\n                        fontSize={fontSizes.mediumFont}\r\n                        color={color.subTitle}\r\n                      >\r\n                        This action will{\" \"}\r\n                        <Typography\r\n                          variant=\"captions\"\r\n                          fontWeight={fontWeight.weight600}\r\n                          color={color.titleDark}\r\n                        >\r\n                          {\" \"}\r\n                          permanently remove all boards and data{\" \"}\r\n                        </Typography>\r\n                        associated with this workspace.\r\n                      </Typography>\r\n                    </Stack>\r\n\r\n                    <Stack direction={\"row\"} alignItems={\"center\"} gap={\"10px\"}>\r\n                      <Box\r\n                        height={\"4px\"}\r\n                        width={\"4px\"}\r\n                        bgcolor={color.subTitle}\r\n                      ></Box>\r\n                      <Typography\r\n                        fontWeight={fontWeight.weight400}\r\n                        fontSize={fontSizes.mediumFont}\r\n                        color={color.subTitle}\r\n                      >\r\n                        Once deleted, this\r\n                        <Typography\r\n                          variant=\"captions\"\r\n                          fontWeight={fontWeight.weight600}\r\n                          color={color.titleDark}\r\n                        >\r\n                          {\" \"}\r\n                          cannot be undone.\r\n                        </Typography>\r\n                      </Typography>\r\n                    </Stack>\r\n\r\n                    <Stack direction={\"row\"} alignItems={\"center\"} gap={\"10px\"}>\r\n                      <Box\r\n                        height={\"4px\"}\r\n                        width={\"4px\"}\r\n                        bgcolor={color.subTitle}\r\n                      ></Box>\r\n                      <Typography\r\n                        fontWeight={fontWeight.weight400}\r\n                        fontSize={fontSizes.mediumFont}\r\n                        color={color.subTitle}\r\n                      >\r\n                        Your subscription will remain active, and you will\r\n                        continue to be charged until you cancel it or update\r\n                        your payment method.\r\n                      </Typography>\r\n                    </Stack>\r\n                  </Stack> */}\r\n\r\n              <Stack\r\n                mt={{\r\n                  xl: \"24px\",\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontWeight={fontWeight.weight500}\r\n                  fontSize={\"18px\"}\r\n                  color={color.titleDark}\r\n                >\r\n                  {/* We're really sorry that you wish to leave Cloudairy. */}\r\n                  What’s the main reason for leaving Cloudairy?\r\n                </Typography>\r\n                {/* <Typography\r\n                      fontWeight={fontWeight.weight400}\r\n                      fontSize={fontSizes.mediumFont}\r\n                      color={color.subTitle}\r\n                    >\r\n                      Please, let us know what it was about the service, that\r\n                      you didn't like:\r\n                    </Typography> */}\r\n              </Stack>\r\n\r\n              <Stack\r\n                mt={{\r\n                  xl: \"10px\",\r\n                }}\r\n                gap={\"15px\"}\r\n              >\r\n                {/* <SimpleCheckBox\r\n                      label=\"I found it too complicated to start working\"\r\n                      checked={deleteOpt.includes(\"found\")}\r\n                      mainSx={{\r\n                        fontWeight: fontWeight.weight400,\r\n                        fontSize: fontSizes.mediumFont,\r\n                        color: color.titleDark,\r\n                      }}\r\n                      onChange={() => {\r\n                        toggleReasons(\"found\");\r\n                      }}\r\n                    /> */}\r\n\r\n                <SimpleCheckBox\r\n                  label=\"I no longer need it\"\r\n                  checked={deleteOpt.includes(\"longer\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                    width: \"fit-content\",\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"longer\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Found an alternative platform\"\r\n                  checked={deleteOpt.includes(\"alternative\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                    width: \"fit-content\",\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"alternative\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Missing features I need\"\r\n                  checked={deleteOpt.includes(\"features\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                    width: \"fit-content\",\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"features\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Too expensive\"\r\n                  checked={deleteOpt.includes(\"expensive\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                    width: \"fit-content\",\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"expensive\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Difficult to use\"\r\n                  checked={deleteOpt.includes(\"Difficult\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                    width: \"fit-content\",\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"Difficult\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Other\"\r\n                  checked={deleteOpt.includes(\"Other\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                    width: \"fit-content\",\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"Other\");\r\n                  }}\r\n                />\r\n              </Stack>\r\n\r\n              {deleteOpt.includes(\"Other\") && (\r\n                <>\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight600}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.titleDark}\r\n                    mt={\"16px\"}\r\n                    mb={\"8px\"}\r\n                  >\r\n                    Specify your own reason\r\n                  </Typography>\r\n\r\n                  <SimpleInput\r\n                    multiline={true}\r\n                    rows={2}\r\n                    simpleBorderColor=\"#E1E1E1\"\r\n                    sx={{\r\n                      width: \"100%\",\r\n                    }}\r\n                    value={ownReason}\r\n                    onChange={(e) => {\r\n                      setOwnReason(e.target.value);\r\n                      if (!e?.target?.value) {\r\n                        setError(\r\n                          \"Please specify your own reason for selecting 'Other'.\"\r\n                        );\r\n                      } else {\r\n                        setError(\"\");\r\n                      }\r\n                    }}\r\n                  />\r\n                </>\r\n              )}\r\n\r\n              {/* Error message */}\r\n              {error && (\r\n                <Typography\r\n                  fontSize={fontSizes.mediumFont}\r\n                  color={\"#E03F34\"}\r\n                  mt={1}\r\n                  mb={1}\r\n                >\r\n                  {error}\r\n                </Typography>\r\n              )}\r\n\r\n              <Typography\r\n                fontWeight={fontWeight.weight600}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                mt={2}\r\n              >\r\n                Important Notes:\r\n              </Typography>\r\n\r\n              <Stack mt={\"4px\"} ml={1} maxWidth={\"685px\"}>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  alignItems={\"flex-start\"}\r\n                  gap={\"10px\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    All your personal data, account information, and associated\r\n                    content will be permanently removed.\r\n                  </Typography>\r\n                </Stack>\r\n\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  alignItems={\"flex-start\"}\r\n                  gap={\"10px\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    This action\r\n                    <Typography\r\n                      variant=\"captions\"\r\n                      fontWeight={fontWeight.weight600}\r\n                      color={color.titleDark}\r\n                    >\r\n                      {\" \"}\r\n                      does not cancel your subscription{\" \"}\r\n                    </Typography>\r\n                    or stop payments. If you are part of a workspace, your\r\n                    subscription will remain active, and charges will continue\r\n                    unless canceled or payment details are updated.\r\n                  </Typography>\r\n                </Stack>\r\n\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  alignItems={\"flex-start\"}\r\n                  gap={\"10px\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    Once deleted, this action\r\n                    <Typography\r\n                      variant=\"captions\"\r\n                      fontWeight={fontWeight.weight600}\r\n                      color={color.titleDark}\r\n                    >\r\n                      {\" \"}\r\n                      cannot be undone.\r\n                    </Typography>\r\n                  </Typography>\r\n                </Stack>\r\n              </Stack>\r\n              <Typography\r\n                fontWeight={fontWeight.weight400}\r\n                fontSize={fontSizes.mediumFont}\r\n                color={color.subTitle}\r\n                mt={1}\r\n              >\r\n                Make sure to export any important data or boards you wish to\r\n                keep before proceeding.\r\n              </Typography>\r\n\r\n              <Stack\r\n                direction={\"row\"}\r\n                alignItems={\"center\"}\r\n                justifyContent={\"flex-end\"}\r\n                gap={\"14px\"}\r\n              >\r\n                <BtnColoredOutlined\r\n                  bgcolor={color.greyHover}\r\n                  borderColor={color.commonBorderColor}\r\n                  sx={{\r\n                    px: \"16px\",\r\n                    transition: \"all 0.2s\",\r\n                    mt: {\r\n                      xl: \"24px\",\r\n                    },\r\n                  }}\r\n                  hoverSx={{\r\n                    bgcolor: color.darkGray,\r\n                  }}\r\n                  onClick={() => navigate(\"/\")}\r\n                >\r\n                  <Typography\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    Cancel\r\n                  </Typography>\r\n                </BtnColoredOutlined>\r\n                <BtnGradient\r\n                  sx={{\r\n                    px: \"26px\",\r\n                    width: \"fit-content\",\r\n                    mt: {\r\n                      xl: \"24px\",\r\n                    },\r\n                  }}\r\n                  // btnColor=\"#E03F34\"\r\n                  loading={deletionInProgress}\r\n                  onClick={() => {\r\n                    handleProfileDelete();\r\n                  }}\r\n                  btnColor={color.errorColor}\r\n                  hoverSx={{\r\n                    bgcolor: `${color.errorDarkColor} !important`,\r\n                  }}\r\n                >\r\n                  <Typography\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    fontWeight={fontWeight.weight600}\r\n                  >\r\n                    Delete My Profile\r\n                  </Typography>\r\n                </BtnGradient>\r\n              </Stack>\r\n            </Box>\r\n          </Stack>\r\n        </Stack>\r\n      </section>\r\n    </div>\r\n  );\r\n}\r\n\r\nexport default ConfirmMyProfile;\r\n","import { Box, Stack, Typography } from \"@mui/material\";\r\nimport React, { useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport { useDeleteWorkSpaceConfirmationMutation } from \"../../../../../Redux/api/usersApi\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport SimpleCheckBox from \"../../../../../common-components/SimpleCheckBox\";\r\nimport SimpleInput from \"../../../../../common-components/SimpleInput\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { errorToast, successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport Header from \"../../../../../CommanUI/Header/header\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nfunction ConfirmWorkspace() {\r\n  const [deleteOpt, setDeleteOpt] = useState([]);\r\n  const [ownReason, setOwnReason] = useState(\"\");\r\n  const [error, setError] = useState(\"\"); // State to store error messages\r\n\r\n  const dispatch = useDispatch();\r\n  const location = useLocation();\r\n  const queryParams = new URLSearchParams(location?.search);\r\n  const token = queryParams.get(\"token\");\r\n  const workspaceName = queryParams.get(\"workspace_name\");\r\n\r\n  const [deleteWorkSpaceConfirmation, { isLoading: deletionInProgress }] =\r\n    useDeleteWorkSpaceConfirmationMutation();\r\n\r\n  const toggleReasons = (value) => {\r\n    if (deleteOpt.includes(value)) {\r\n      setDeleteOpt(deleteOpt.filter((res) => res !== value));\r\n    } else {\r\n      setDeleteOpt([...deleteOpt, value]);\r\n    }\r\n    setError(\"\");\r\n  };\r\n\r\n  const navigate = useNavigate();\r\n\r\n  const handleWpDelete = async () => {\r\n    if (deleteOpt.length === 0) {\r\n      setError(\r\n        \"Please select at least one reason before deleting the workspace.\"\r\n      );\r\n      return;\r\n    }\r\n\r\n    if (deleteOpt.includes(\"Other\") && !ownReason) {\r\n      setError(\"Please specify your own reason for selecting 'Other'.\");\r\n      return;\r\n    }\r\n\r\n    setError(\"\"); // Clear any existing errors\r\n\r\n    const payload = {\r\n      token: token,\r\n      reasons: {\r\n        default_reason: deleteOpt.filter((item) => item !== \"Other\"),\r\n        own_reason: ownReason || \"\",\r\n      },\r\n    };\r\n\r\n    try {\r\n      const result = await deleteWorkSpaceConfirmation(payload);\r\n      if (result?.error) {\r\n        dispatch(errorToast({ message: result?.error?.data?.message }));\r\n      } else if (result?.data?.status) {\r\n        dispatch(successToast({ message: result?.data?.message }));\r\n        localStorage.clear();\r\n        navigate(\"/\");\r\n      }\r\n    } catch (error) {\r\n      console.error({ error }, \"Error in deletion\");\r\n    }\r\n  };\r\n\r\n  return (\r\n    <div>\r\n      <section id=\"auth_container\">\r\n        <Header />\r\n        <Stack\r\n          // className=\"auth-bg\"\r\n          sx={{\r\n            bgcolor: color.commonHoverColor,\r\n            height: \"calc(100vh - 65px)\",\r\n            \"& .headerSecondPart\": {\r\n              margin: \"40px\",\r\n            },\r\n          }}\r\n        >\r\n          {/* <Stack\r\n            width={\"100%\"}\r\n            height={\"75px\"}\r\n            justifyContent={\"space-between\"}\r\n            alignItems={\"center\"}\r\n            direction={\"row\"}\r\n          >\r\n            <img\r\n              src={cloudDairyColoredLogo}\r\n              alt=\"cloudDairyColoredLogo\"\r\n              className=\"cloudDairyColoredLogo\"\r\n            />\r\n          </Stack> */}\r\n\r\n          <Stack\r\n            direction={\"row\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"center\"}\r\n            height={\"100%\"}\r\n          >\r\n            <Box\r\n              width={{\r\n                xs: \"65% !important\",\r\n                md: \"43% !important\",\r\n                xl: \"820px !important\",\r\n              }}\r\n              className=\"login-form\"\r\n            >\r\n              <Stack\r\n                justifyContent={\"space-between\"}\r\n                mb={{ xs: \"20px\", xl: \"30px\" }}\r\n              >\r\n                <Typography\r\n                  fontWeight={fontWeight.weight600}\r\n                  fontSize={fontSizes.modelTitle1}\r\n                  color={color.titleDark}\r\n                >\r\n                  Confirm Workspace Deletion\r\n                </Typography>\r\n              </Stack>\r\n\r\n              <Typography\r\n                mt={\"-15px\"}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                To permanently delete your workspace{\" \"}\r\n                <Typography\r\n                  variant=\"captions\"\r\n                  fontWeight={fontWeight.weight600}\r\n                  color={color.titleDark}\r\n                >\r\n                  {\" \"}\r\n                  {workspaceName && workspaceName},{\" \"}\r\n                </Typography>\r\n                please click the{\" \"}\r\n                <Typography\r\n                  variant=\"captions\"\r\n                  fontWeight={fontWeight.weight600}\r\n                  color={color.titleDark}\r\n                >\r\n                  {\" \"}\r\n                  Delete Workspace{\" \"}\r\n                </Typography>{\" \"}\r\n                button below.\r\n              </Typography>\r\n\r\n              <Typography\r\n                fontWeight={fontWeight.weight600}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                mt={\"4px\"}\r\n              >\r\n                Important Notes:\r\n              </Typography>\r\n\r\n              <Stack mt={\"4px\"} ml={1}>\r\n                <Stack direction={\"row\"} gap={\"10px\"}>\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    This action will{\" \"}\r\n                    <Typography\r\n                      variant=\"captions\"\r\n                      fontWeight={fontWeight.weight600}\r\n                      color={color.titleDark}\r\n                    >\r\n                      {\" \"}\r\n                      permanently remove all boards and data{\" \"}\r\n                    </Typography>\r\n                    associated with this workspace.\r\n                  </Typography>\r\n                </Stack>\r\n\r\n                <Stack direction={\"row\"} gap={\"10px\"}>\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    Once deleted, this\r\n                    <Typography\r\n                      variant=\"captions\"\r\n                      fontWeight={fontWeight.weight600}\r\n                      color={color.titleDark}\r\n                    >\r\n                      {\" \"}\r\n                      cannot be undone.\r\n                    </Typography>\r\n                  </Typography>\r\n                </Stack>\r\n\r\n                <Stack direction={\"row\"} gap={\"10px\"}>\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    Your subscription will remain active, and you will continue\r\n                    to be charged until you cancel it or update your payment\r\n                    method.\r\n                  </Typography>\r\n                </Stack>\r\n              </Stack>\r\n\r\n              <Stack mt={{ xl: \"24px\" }}>\r\n                <Typography\r\n                  fontWeight={fontWeight.weight500}\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  color={color.titleDark}\r\n                >\r\n                  Before you proceed, we'd love to know why you're deleting your\r\n                  workspace:\r\n                </Typography>\r\n              </Stack>\r\n\r\n              <Stack mt={{ xl: \"10px\" }} gap={\"15px\"}>\r\n                <SimpleCheckBox\r\n                  label=\"I no longer need it\"\r\n                  checked={deleteOpt.includes(\"longer\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"longer\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Too expensive\"\r\n                  checked={deleteOpt.includes(\"expensive\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"expensive\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Missing features I need\"\r\n                  checked={deleteOpt.includes(\"features\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"features\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Found an alternative tool\"\r\n                  checked={deleteOpt.includes(\"alternative\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"alternative\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Difficult to use\"\r\n                  checked={deleteOpt.includes(\"Difficult\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"Difficult\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Other\"\r\n                  checked={deleteOpt.includes(\"Other\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.fontSize14,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"Other\");\r\n                  }}\r\n                />\r\n              </Stack>\r\n\r\n              {deleteOpt.includes(\"Other\") && (\r\n                <>\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight600}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.titleDark}\r\n                    mt={\"16px\"}\r\n                    mb={\"8px\"}\r\n                  >\r\n                    Specify your own reason\r\n                  </Typography>\r\n\r\n                  <SimpleInput\r\n                    multiline={true}\r\n                    rows={2}\r\n                    simpleBorderColor=\"#E1E1E1\"\r\n                    sx={{\r\n                      width: \"80%\",\r\n                    }}\r\n                    value={ownReason}\r\n                    onChange={(e) => {\r\n                      setOwnReason(e.target.value);\r\n                      if (!e?.target?.value) {\r\n                        setError(\r\n                          \"Please specify your own reason for selecting 'Other'.\"\r\n                        );\r\n                      } else {\r\n                        setError(\"\");\r\n                      }\r\n                    }}\r\n                  />\r\n                </>\r\n              )}\r\n\r\n              {/* Error message */}\r\n              {error && (\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  color={\"#E03F34\"}\r\n                  mt={2}\r\n                >\r\n                  {error}\r\n                </Typography>\r\n              )}\r\n\r\n              <Stack\r\n                direction={\"row\"}\r\n                alignItems={\"center\"}\r\n                justifyContent={\"flex-end\"}\r\n                gap={\"14px\"}\r\n              >\r\n                <BtnColoredOutlined\r\n                  bgcolor={color.greyHover}\r\n                  borderColor={color.commonBorderColor}\r\n                  sx={{\r\n                    px: \"16px\",\r\n                    transition: \"all 0.2s\",\r\n                    mt: {\r\n                      xl: \"24px\",\r\n                    },\r\n                  }}\r\n                  hoverSx={{\r\n                    bgcolor: color.darkGray,\r\n                  }}\r\n                  onClick={() => navigate(\"/\")}\r\n                >\r\n                  <Typography\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                  >\r\n                    Cancel\r\n                  </Typography>\r\n                </BtnColoredOutlined>\r\n                <BtnGradient\r\n                  sx={{\r\n                    px: \"24px\",\r\n                    width: \"fit-content\",\r\n                    mt: {\r\n                      xl: \"24px\",\r\n                    },\r\n                  }}\r\n                  // btnColor=\"#E03F34\"\r\n                  loading={deletionInProgress}\r\n                  onClick={() => {\r\n                    handleWpDelete();\r\n                  }}\r\n                  // hoverSx={{\r\n                  //   bgcolor: \"#E03F34 !important\",\r\n                  // }}\r\n                  btnColor={color.errorColor}\r\n                  hoverSx={{\r\n                    bgcolor: `${color.errorDarkColor} !important`,\r\n                  }}\r\n                >\r\n                  <Typography\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    fontWeight={600}\r\n                  >\r\n                    Delete Workspace\r\n                  </Typography>\r\n                </BtnGradient>\r\n              </Stack>\r\n            </Box>\r\n          </Stack>\r\n        </Stack>\r\n      </section>\r\n    </div>\r\n  );\r\n}\r\n\r\nexport default ConfirmWorkspace;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { s3AssetsUrl } from \"../../../../DrawBoard/const\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"570px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"38px 40px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction ConfirmationDeleteWorkSpace({\r\n  open,\r\n  handleClose,\r\n  resendEmail,\r\n  isWorkSpace,\r\n  loading,\r\n}) {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack alignItems={\"end\"}>\r\n          <IconButton\r\n            sx={{\r\n              width: \"36px !important\",\r\n              height: \"36px !important\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              position: \"absolute\",\r\n              top: \"20px\",\r\n              right: \"20px\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Stack>\r\n          <Box\r\n            height={{\r\n              xs: \"90px\",\r\n              md: \"160px\",\r\n            }}\r\n            mb={{\r\n              xs: \"15px\",\r\n              md: \"28px\",\r\n            }}\r\n            display={\"flex\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"center\"}\r\n            sx={{\r\n              \"& img\": {\r\n                height: \"160px\",\r\n                width: \"168px\",\r\n                objectFit: \"contain\",\r\n              },\r\n            }}\r\n          >\r\n            <img\r\n              src={\r\n                isWorkSpace\r\n                  ? `${s3AssetsUrl}/delete_bucket.svg`\r\n                  : `${s3AssetsUrl}/verification_completed.gif`\r\n              }\r\n              alt=\"verification_completed\"\r\n            />\r\n          </Box>\r\n        </Stack>\r\n\r\n        <Stack alignItems={\"center\"}>\r\n          <Typography\r\n            fontWeight={fontWeight.weight600}\r\n            fontSize={\"20px\"}\r\n            color={color.titleDark}\r\n            textAlign={\"center\"}\r\n            mb={\"12px\"}\r\n          >\r\n            Check your email to confirm workspace deletion\r\n          </Typography>\r\n\r\n          <Typography\r\n            fontWeight={fontWeight.weight400}\r\n            fontSize={\"14px\"}\r\n            color={color.subTitle}\r\n            textAlign={\"center\"}\r\n            lineHeight={\"24px\"}\r\n            px={\"30px\"}\r\n            sx={{\r\n              maxWidth: \"430px\",\r\n              textAlign: \"center\",\r\n            }}\r\n          >\r\n            An email has been sent to your registered address. Please follow the\r\n            instructions in the email to confirm and complete the deletion of\r\n            your workspace\r\n          </Typography>\r\n        </Stack>\r\n\r\n        <Stack justifyContent={\"center\"} alignItems={\"center\"} mt={\"28px\"}>\r\n          <BtnGradient\r\n            sx={{\r\n              px: \"24px\",\r\n              width: \"fit-content\",\r\n            }}\r\n            onClick={() => resendEmail()}\r\n            loading={loading}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              height={fontSizes.btnTextHeight}\r\n              fontWeight={600}\r\n            >\r\n              Resend Email\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default ConfirmationDeleteWorkSpace;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport {\r\n  Box,\r\n  IconButton,\r\n  Stack,\r\n  Typography,\r\n  useMediaQuery,\r\n  useTheme,\r\n} from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport CustomAutoSelect from \"../../../../../common-components/CustomAutoSelect\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"500px\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"0px 4px 10px rgba(0, 0, 0, 0.1)\",\r\n  p: \"24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction CreateNewBoard({ open, handleClose }) {\r\n  const theme = useTheme();\r\n  const matchDown950 = useMediaQuery(theme.breakpoints.down(950));\r\n  return (\r\n    <div>\r\n      <CustomModal open={open}>\r\n        <Box sx={style}>\r\n          <Stack\r\n            direction={\"row\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"space-between\"}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.titleFont,\r\n                md: fontSizes.modelTitle,\r\n                xl: fontSizes.modelTitle1,\r\n              }}\r\n              fontWeight={fontWeight.weight800}\r\n              color={color.titleDark}\r\n            >\r\n              Create New Board\r\n            </Typography>\r\n            <IconButton\r\n              sx={{\r\n                width: \"36px\",\r\n                height: \"36px\",\r\n                borderRadius: \"50%\",\r\n                bgcolor: \"#EFF0F3\",\r\n                transition: \"all 0.3s ease\",\r\n                \"&:hover\": { bgcolor: \"#EDEFF1\" },\r\n              }}\r\n              onClick={handleClose}\r\n            >\r\n              <IcCloseThin fill=\"#18181B\" />\r\n            </IconButton>\r\n          </Stack>\r\n\r\n          <LargeSimpleInput\r\n            disabled\r\n            fullWidth\r\n            label={\"Board Name\"}\r\n            placeholder={\"Name\"}\r\n            height={44}\r\n            mainSx={{\r\n              minWidth: matchDown950 ? \"100%\" : \"calc(50% - 18px)\",\r\n              \"& input\": {\r\n                backgroundColor: \"#F2F3F5\",\r\n              },\r\n            }}\r\n          />\r\n\r\n          <CustomAutoSelect\r\n            label={\"Category\"}\r\n            height={44}\r\n            noOptionsText={\"No Category\"}\r\n            fullWidth\r\n            mainSx={{\r\n              minWidth: matchDown950 ? \"100%\" : \"calc(50% - 18px)\",\r\n            }}\r\n          />\r\n\r\n          <CustomAutoSelect\r\n            label={\"Select Space\"}\r\n            height={44}\r\n            noOptionsText={\"No Select Space\"}\r\n            fullWidth\r\n            mainSx={{\r\n              minWidth: matchDown950 ? \"100%\" : \"calc(50% - 18px)\",\r\n            }}\r\n          />\r\n\r\n          <Stack\r\n            direction=\"row\"\r\n            justifyContent=\"flex-end\"\r\n            spacing={2}\r\n            mt={\"20px\"}\r\n          >\r\n            <BtnColoredOutlined\r\n              bgcolor={color.greyHover}\r\n              borderColor={color.commonBorderColor}\r\n              sx={{\r\n                px: \"16px\",\r\n                transition: \"all 0.2s\",\r\n                borderRadius: \"8px\",\r\n              }}\r\n              hoverSx={{\r\n                bgcolor: color.darkGray,\r\n              }}\r\n              onClick={handleClose}\r\n            >\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                Cancel\r\n              </Typography>\r\n            </BtnColoredOutlined>\r\n\r\n            <BtnGradient\r\n              btnColor={color.primaryColor}\r\n              sx={{\r\n                borderRadius: \"8px\",\r\n                px: \"16px\",\r\n              }}\r\n            >\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color=\"#FFF\"\r\n                fontWeight={500}\r\n              >\r\n                Create Board\r\n              </Typography>\r\n            </BtnGradient>\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </div>\r\n  );\r\n}\r\n\r\nexport default CreateNewBoard;\r\n","import {\r\n  Box,\r\n  IconButton,\r\n  Stack,\r\n  Typography,\r\n  useMediaQuery,\r\n  useTheme,\r\n} from \"@mui/material\";\r\nimport React from \"react\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: {\r\n    xl: \"900px\",\r\n  },\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"0px 4px 10px rgba(0, 0, 0, 0.1)\",\r\n  p: \"24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction CreateNewSpace({ open, handleClose }) {\r\n  const theme = useTheme();\r\n  const matchDown950 = useMediaQuery(theme.breakpoints.down(950));\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.titleFont,\r\n              md: fontSizes.modelTitle,\r\n              xl: fontSizes.modelTitle1,\r\n            }}\r\n            fontWeight={fontWeight.weight800}\r\n            color={color.titleDark}\r\n          >\r\n            Create New Space\r\n          </Typography>\r\n          <IconButton\r\n            sx={{\r\n              width: \"36px\",\r\n              height: \"36px\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EDEFF1\" },\r\n            }}\r\n            onClick={handleClose}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        {/* <Typography\r\n          fontWeight={fontWeight.weight400}\r\n          fontSize={\"14px\"}\r\n          color={color.titleDark}\r\n          width={\"70%\"}\r\n          mb={\"24px\"}\r\n        >\r\n          Organize your boards and projects by creating a dedicated space.\r\n          Spaces allow your team to focus on specific goals or workflows,\r\n          keeping everything structured and accessible.\r\n        </Typography> */}\r\n\r\n        <LargeSimpleInput\r\n          disabled\r\n          fullWidth\r\n          label={\"Space Name\"}\r\n          placeholder={\"Enter space name\"}\r\n          height={44}\r\n          mainSx={{\r\n            minWidth: matchDown950 ? \"100%\" : \"calc(50% - 18px)\",\r\n            \"& input\": {\r\n              backgroundColor: \"#F2F3F5\",\r\n            },\r\n          }}\r\n        />\r\n\r\n        <Stack\r\n          direction=\"row\"\r\n          justifyContent=\"flex-end\"\r\n          spacing={2}\r\n          mt={\"10px\"}\r\n        >\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n              borderRadius: \"8px\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={handleClose}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n\r\n          <BtnGradient\r\n            btnColor={color.primaryColor}\r\n            sx={{\r\n              borderRadius: \"8px\",\r\n              px: \"24px\",\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color=\"#FFF\"\r\n              fontWeight={500}\r\n            >\r\n              Create Space\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default CreateNewSpace;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport {\r\n  Box,\r\n  IconButton,\r\n  Stack,\r\n  Typography,\r\n  useMediaQuery,\r\n  useTheme,\r\n} from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport { useCreateTeamMutation } from \"../../../../../Redux/api/teamsApi\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { errorToast, successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { subscriptionDataSelect } from \"../../../../../Redux/common-reducer\";\r\nimport UpgradeModel from \"../../../components/UpgradeModel\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"554px\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"0px 4px 10px rgba(0, 0, 0, 0.1)\",\r\n  p: \"28px 24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction CreateNewTeam({\r\n  open,\r\n  handleClose,\r\n  setOpen,\r\n  selectedRecordIds,\r\n  getTeamListWithExistingValues,\r\n  modalTitle = \"\",\r\n  handleOpenInvite,\r\n  setCreatedTeamInfo,\r\n  handleOpenInviteModal,\r\n}) {\r\n  const theme = useTheme();\r\n  const matchDown950 = useMediaQuery(theme.breakpoints.down(950));\r\n  const [teamName, setTeamName] = useState(null);\r\n  const dispatch = useDispatch();\r\n  const currentSubscription = subscriptionDataSelect();\r\n  const [formErrors, setFormErrors] = useState({\r\n    teamName: \"\",\r\n  });\r\n\r\n  const [\r\n    createTeam,\r\n    {\r\n      error: errorInCreating,\r\n      isLoading: creationInprogress,\r\n      isSuccess,\r\n      isError,\r\n    },\r\n  ] = useCreateTeamMutation();\r\n\r\n  const validateTeamName = (fieldName, value) => {\r\n    let valid = true;\r\n    if (fieldName === \"team_name\") {\r\n      if (!value || value?.trim()?.length <= 0) {\r\n        setFormErrors((prev) => ({\r\n          ...prev,\r\n          teamName: \"Please enter a team name\",\r\n        }));\r\n        valid = false;\r\n      } else {\r\n        setFormErrors((prev) => ({\r\n          ...prev,\r\n          teamName: \"\",\r\n        }));\r\n        valid = true;\r\n      }\r\n    }\r\n    return valid;\r\n  };\r\n\r\n  const createTemSubmit = async () => {\r\n    const validateNewTeam = validateTeamName(\"team_name\", teamName);\r\n\r\n    if (!validateNewTeam) {\r\n      return;\r\n    } else {\r\n      await createTeam({\r\n        name: teamName,\r\n        members: selectedRecordIds ? selectedRecordIds : [],\r\n      })\r\n        .then((data) => {\r\n          if (data?.data?.message) {\r\n            dispatch(\r\n              successToast({\r\n                message: data?.data?.message,\r\n              })\r\n            );\r\n          }\r\n          if (data?.data?.status) {\r\n            handleClose();\r\n            setTeamName(null);\r\n            getTeamListWithExistingValues();\r\n            setTimeout(() => {\r\n              setCreatedTeamInfo(data?.data?.data);\r\n              if (handleOpenInvite) {\r\n                handleOpenInviteModal();\r\n              }\r\n            }, 500);\r\n          }\r\n        })\r\n        .catch((error) => {\r\n          dispatch(\r\n            errorToast({\r\n              message: errorInCreating?.data?.message,\r\n            })\r\n          );\r\n          setTeamName(null);\r\n        });\r\n    }\r\n  };\r\n\r\n  useEffect(() => {\r\n    if (isError) {\r\n      dispatch(\r\n        errorToast({\r\n          message: errorInCreating?.data?.message,\r\n        })\r\n      );\r\n    }\r\n  }, [isSuccess, isError]);\r\n\r\n  if (\r\n    (currentSubscription?.package === \"Free\" ||\r\n      currentSubscription?.package?.includes(\"Professional\")) &&\r\n    open\r\n  ) {\r\n    return (\r\n      <Box\r\n        mt={{\r\n          xs: \"15px\",\r\n          xl: \"24px\",\r\n        }}\r\n        sx={{\r\n          \"&::-webkit-scrollbar\": {\r\n            display: \"none\",\r\n          },\r\n          position: \"relative\",\r\n          height: {\r\n            xs: \"calc(100svh - 188px)\",\r\n          },\r\n          overflow: \"auto\",\r\n          msOverflowStyle: \"none\",\r\n          scrollbarWidth: \"none\",\r\n        }}\r\n      >\r\n        <UpgradeModel\r\n          open={open}\r\n          setOpen={setOpen}\r\n          isNavigateOnClose={false}\r\n          title={\"Upgrade to Create Teams\"}\r\n          subtitle={\r\n            \"Team creation is available on paid plans. Upgrade to collaborate efficiently with your team.\"\r\n          }\r\n        />\r\n      </Box>\r\n    );\r\n  }\r\n\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"flex-start\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Box\r\n            sx={{\r\n              maxWidth: \"90%\",\r\n              whiteSpace: \"normal\",\r\n              overflow: \"hidden\",\r\n              textOverflow: \"ellipsis\",\r\n              wordBreak: \"break-word\",\r\n            }}\r\n          >\r\n            <Typography\r\n              fontWeight={fontWeight.weight600}\r\n              fontSize={{\r\n                xs: fontSizes.titleFont,\r\n                md: fontSizes.modelTitle,\r\n                xl: fontSizes.modelTitle1,\r\n              }}\r\n              color={color?.titleDark}\r\n            >\r\n              Create a New Team\r\n            </Typography>\r\n          </Box>\r\n          <IconButton\r\n            sx={{\r\n              position: \"absolute\",\r\n              right: \"24px\",\r\n              width: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              height: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={handleClose}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Typography\r\n          fontSize=\"14px\"\r\n          color={color.subTitle}\r\n          fontWeight={400}\r\n          mt=\"12px\"\r\n          mb=\"12px\"\r\n          width={\"480px\"}\r\n        >\r\n          {modalTitle\r\n            ? modalTitle\r\n            : \"Name your team before choosing a new plan subscription.\"}\r\n        </Typography>\r\n\r\n        <LargeSimpleInput\r\n          fullWidth\r\n          value={teamName}\r\n          defaultValue={teamName}\r\n          label={\"Team Name\"}\r\n          placeholder={\"Enter Team Name\"}\r\n          onChange={(e) => {\r\n            setTeamName(e.target.value);\r\n            validateTeamName(\"team_name\", e.target.value);\r\n          }}\r\n          errorMessage={formErrors.teamName}\r\n          height={40}\r\n          mainSx={{\r\n            minWidth: matchDown950 ? \"100%\" : \"calc(50% - 18px)\",\r\n            \"& input\": {\r\n              backgroundColor: \"#FFFFFF\",\r\n            },\r\n          }}\r\n        />\r\n\r\n        {/* <Typography>Team Name</Typography>\r\n        <AuthInput\r\n          placeholder={\"Enter Team Name 123\"}\r\n          // sx={{\r\n          //   mt: \"-12px\",\r\n          // }}\r\n          value={teamName}\r\n          errorMessage={formErrors.teamName}\r\n          bgColor=\"white\"\r\n          border=\"1px solid #E1E1E1\"\r\n          borderLeft=\"1px solid #E1E1E1\"\r\n          borderRight=\"1px solid #E1E1E1\"\r\n          borderRadius=\"8px\"\r\n          type={\"text\"}\r\n          onChange={(e) => setTeamName(e.target.value)}\r\n        /> */}\r\n\r\n        {selectedRecordIds && (\r\n          <Typography\r\n            fontWeight={400}\r\n            fontSize=\"16px\"\r\n            color=\"#18181B\"\r\n            mt=\"12px\"\r\n            mb=\"24px\"\r\n          >\r\n            {selectedRecordIds?.length} User will be invited to this team as a\r\n            member\r\n          </Typography>\r\n        )}\r\n\r\n        <Stack\r\n          direction=\"row\"\r\n          justifyContent=\"flex-end\"\r\n          // spacing={2}\r\n          mt={\"24px\"}\r\n          gap={\"14px\"}\r\n          alignItems={\"center\"}\r\n        >\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n              borderRadius: \"8px\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={handleClose}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n\r\n          <BtnGradient\r\n            sx={{\r\n              px: \"24px\",\r\n            }}\r\n            onClick={createTemSubmit}\r\n            loading={creationInprogress}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={600}\r\n            >\r\n              Create Team\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default CreateNewTeam;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Box, colors, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport Loader from \"../../../../../CommanUI/Loader/loader\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport {\r\n  useDeleteMyAccountMutation,\r\n  useDeleteProfileMutation,\r\n} from \"../../../../../Redux/api/usersApi\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { local } from \"d3-selection\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  maxWidth: \"570px\",\r\n  width: {\r\n    xs: \"90%\",\r\n    md: \"40%\",\r\n    // xl: \"100%\",\r\n  },\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px 10px\",\r\n    md: \"20px 16px\",\r\n    xl: \"30px 24px\",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst DeleteAccountModal = ({ open, onClose, profileData }) => {\r\n  const [loading, setLoading] = useState(false);\r\n  const navigate = useNavigate();\r\n  const dispatch = useDispatch();\r\n  const [\r\n    deleteMyAccount,\r\n    {\r\n      data: deletedAccount,\r\n      isLoading: deletionInProgress,\r\n      error: errorInDeletion,\r\n    },\r\n  ] = useDeleteProfileMutation();\r\n\r\n  const handleDeleteProfile = () => {};\r\n\r\n  useEffect(() => {\r\n    if (deletedAccount) {\r\n      dispatch(\r\n        successToast({\r\n          message: deletedAccount?.message,\r\n        })\r\n      );\r\n      if (deletedAccount?.message) {\r\n        onClose();\r\n      }\r\n      // navigate(\"/login\");\r\n      // localStorage.removeItem(\"user_data\");\r\n    }\r\n  }, [deletedAccount]);\r\n  return (\r\n    <>\r\n      <CustomModal open={open} handleClose={loading ? () => {} : onClose}>\r\n        <Box sx={style}>\r\n          {loading && <Loader />}\r\n          <Stack width={\"100%\"}>\r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"flex-start\"}\r\n              justifyContent={\"space-between\"}\r\n            >\r\n              <Box\r\n                sx={{\r\n                  maxWidth: \"90%\",\r\n                  whiteSpace: \"normal\",\r\n                  overflow: \"hidden\",\r\n                  textOverflow: \"ellipsis\",\r\n                  wordBreak: \"break-word\",\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontWeight={fontWeight.weight600}\r\n                  fontSize={{\r\n                    xs: fontSizes.titleFont,\r\n                    md: fontSizes.modelTitle,\r\n                    xl: fontSizes.modelTitle1,\r\n                  }}\r\n                  color={color?.titleDark}\r\n                >\r\n                  {/* Delete Account */}\r\n                  Confirm Profile Deletion\r\n                </Typography>\r\n              </Box>\r\n              <IconButton\r\n                sx={{\r\n                  position: \"absolute\",\r\n                  right: \"24px\",\r\n                  width: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  height: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  borderRadius: \"50%\",\r\n                  bgcolor: \"#EFF0F3\",\r\n                  transition: \"all 0.3s ease\",\r\n                  \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n                }}\r\n                onClick={onClose}\r\n              >\r\n                <IcCloseThin fill=\"#18181B\" />\r\n              </IconButton>\r\n            </Stack>\r\n\r\n            <Box\r\n              sx={{\r\n                maxWidth: \"94%\",\r\n                whiteSpace: \"normal\",\r\n                overflow: \"hidden\",\r\n                textOverflow: \"ellipsis\",\r\n                wordBreak: \"break-word\",\r\n              }}\r\n            >\r\n              <Typography\r\n                color={color.subTitle}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                fontWeight={fontWeight.weight400}\r\n                mt=\"12px\"\r\n                mb=\"12px\"\r\n              >\r\n                {/* Are you sure want to delete your account? */}\r\n                Are you sure you want to permanently delete your profile?\r\n              </Typography>\r\n              {/* <Typography\r\n              color={\"#848382\"}\r\n              fontSize={fontSizes.mediumFont}\r\n              fontWeight={fontWeight.weight400}\r\n              mt={\"4px\"}\r\n            >\r\n              Once you delete account all of your documents and boards,\r\n              including those shared with other users will be permanently\r\n              deleted.\r\n            </Typography> */}\r\n              <Stack>\r\n                <Typography\r\n                  fontWeight={fontWeight.weight600}\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  color={\"#18181B\"}\r\n                >\r\n                  Important Notes:\r\n                </Typography>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  gap={\"8px\"}\r\n                  alignItems={\"flex-start\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    color={color.subTitle}\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    }}\r\n                  >\r\n                    Your account, personal data, and all associated content will\r\n                    be permanently removed.\r\n                  </Typography>\r\n                </Stack>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  gap={\"8px\"}\r\n                  alignItems={\"flex-start\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    color={color.subTitle}\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    }}\r\n                  >\r\n                    This action{\" \"}\r\n                    <Typography\r\n                      component=\"span\"\r\n                      sx={{\r\n                        color: color.titleDark,\r\n                        fontWeight: fontWeight.weight600,\r\n                        fontSize: {\r\n                          xs: fontSizes.mediumFont,\r\n                          md: fontSizes.fontSize13,\r\n                          xl: fontSizes.fontSize14,\r\n                        },\r\n                      }}\r\n                    >\r\n                      does not cancel your subscription\r\n                    </Typography>{\" \"}\r\n                    or stop payments. If you are part of a workspace, your\r\n                    subscription will remain active, and charges will continue\r\n                    unless canceled or payment details are updated.\r\n                  </Typography>\r\n                </Stack>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  gap={\"8px\"}\r\n                  alignItems={\"flex-start\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    color={color.subTitle}\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    }}\r\n                  >\r\n                    Once deleted, this action{\" \"}\r\n                    <Typography\r\n                      component=\"span\"\r\n                      sx={{\r\n                        color: color.titleDark,\r\n                        fontWeight: fontWeight.weight600,\r\n                        fontSize: {\r\n                          xs: fontSizes.mediumFont,\r\n                          md: fontSizes.fontSize13,\r\n                          xl: fontSizes.fontSize14,\r\n                        },\r\n                      }}\r\n                    >\r\n                      cannot be undone.\r\n                    </Typography>\r\n                  </Typography>\r\n                </Stack>\r\n              </Stack>\r\n              <Typography\r\n                color={color.subTitle}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                fontWeight={fontWeight.weight400}\r\n                mt={\"16px\"}\r\n              >\r\n                {/* Before deleting account you can take{\" \"}\r\n              <Typography\r\n                component=\"span\"\r\n                color={\"#007AFF\"}\r\n                fontSize={\"13px\"}\r\n                fontWeight={500}\r\n              >\r\n                backups\r\n              </Typography>{\" \"}\r\n              or{\" \"}\r\n              <Typography\r\n                component=\"span\"\r\n                color={\"#007AFF\"}\r\n                fontSize={\"13px\"}\r\n                fontWeight={500}\r\n              >\r\n                Export\r\n              </Typography>{\" \"}\r\n              them if you want to keep them. */}\r\n                Make sure to export any important data or boards you wish to\r\n                keep before proceeding.\r\n              </Typography>\r\n            </Box>\r\n            \r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"center\"}\r\n              justifyContent={\"flex-end\"}\r\n              gap={\"20px\"}\r\n              mt={\"24px\"}\r\n            >\r\n              <BtnColoredOutlined\r\n                bgcolor={color.greyHover}\r\n                borderColor={color.commonBorderColor}\r\n                sx={{\r\n                  px: \"16px\",\r\n                  transition: \"all 0.2s\",\r\n                }}\r\n                hoverSx={{\r\n                  bgcolor: color.darkGray,\r\n                }}\r\n                onClick={onClose}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  color={color.subTitle}\r\n                >\r\n                  Cancel\r\n                </Typography>\r\n              </BtnColoredOutlined>\r\n              <BtnGradient\r\n                btnColor={color.errorColor}\r\n                sx={{\r\n                  px: \"24px\",\r\n                }}\r\n                hoverSx={{\r\n                  bgcolor: `${color.errorDarkColor} !important`,\r\n                }}\r\n                loading={deletionInProgress}\r\n                onClick={() => deleteMyAccount()}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  fontWeight={500}\r\n                >\r\n                  {/* Delete Account */}\r\n                  Delete My Profile\r\n                </Typography>\r\n              </BtnGradient>\r\n            </Stack>\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default DeleteAccountModal;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"500px\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"0px 4px 10px rgba(0, 0, 0, 0.1)\",\r\n  p: \"24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction DeleteBrandColor({\r\n  open,\r\n  handleClose,\r\n  handleClickDelete,\r\n  hexCode,\r\n  colorName,\r\n}) {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        {/* Header */}\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.titleFont,\r\n              md: fontSizes.modelTitle,\r\n              xl: fontSizes.modelTitle1,\r\n            }}\r\n            fontWeight={fontWeight.weight800}\r\n            color={color.titleDark}\r\n          >\r\n            Delete Your Brand Color\r\n          </Typography>\r\n          <IconButton\r\n            sx={{\r\n              width: \"36px\",\r\n              height: \"36px !important\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EDEFF1\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill={color.titleDark} />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        {/* Description */}\r\n        <Typography\r\n          fontSize={fontSizes.fontSize14}\r\n          color={color.subTitle}\r\n          mt=\"12px\"\r\n          mb=\"24px\"\r\n        >\r\n          This color will be removed for you and all team members.\r\n        </Typography>\r\n\r\n        {/* Color Preview */}\r\n        <Stack direction=\"row\" alignItems=\"center\" gap=\"12px\" sx={{}}>\r\n          <Box\r\n            sx={{\r\n              width: \"48px\",\r\n              height: \"48px\",\r\n              borderRadius: \"12px\",\r\n              bgcolor: `#${hexCode}`,\r\n            }}\r\n          />\r\n          <Typography\r\n            fontSize={fontSizes.fontSize14}\r\n            fontWeight={500}\r\n            color={color.titleDark}\r\n          >\r\n            {colorName}\r\n          </Typography>\r\n        </Stack>\r\n\r\n        {/* Buttons */}\r\n        <Stack direction=\"row\" justifyContent=\"flex-end\" spacing={2}>\r\n          {/* Cancel Button */}\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n              borderRadius: \"8px\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={handleClose}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color=\"#848382\"\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n\r\n          {/* Remove Button */}\r\n          <BtnGradient\r\n            btnColor={color.errorColor}\r\n            sx={{\r\n              borderRadius: \"8px\",\r\n              px: \"24px\",\r\n            }}\r\n            onClick={handleClickDelete}\r\n            hoverSx={{\r\n              backgroundColor: `${color.errorColorDark} !important`,\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color=\"#FFF\"\r\n              fontWeight={500}\r\n            >\r\n              Remove\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default DeleteBrandColor;\r\n","import React from \"react\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"550px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"30px 24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst DeleteDomain = ({\r\n  open,\r\n  handleClose,\r\n  handleClickDelete,\r\n  domainName,\r\n  deleteDomainLoading,\r\n}) => {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.titleFont,\r\n              md: fontSizes.modelTitle,\r\n              xl: fontSizes.modelTitle1,\r\n            }}\r\n            fontWeight={fontWeight.weight800}\r\n            color={color.titleDark}\r\n            height={{\r\n              xs: \"24px\",\r\n              xl: \"30px\",\r\n            }}\r\n          >\r\n            Delete Domain\r\n          </Typography>\r\n          <IconButton\r\n            sx={{\r\n              width: \"36px !important\",\r\n              height: \"36px !important\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Typography\r\n          fontWeight={fontWeight.weight400}\r\n          fontSize={fontSizes.largeFont}\r\n        >\r\n          You will no longer see and control usage within the\r\n          <Typography\r\n            variant=\"captions\"\r\n            fontSize={fontSizes.largeFont}\r\n            fontWeight={fontWeight.weight600}\r\n          >\r\n            {\" \"}\r\n            {domainName} &nbsp;\r\n          </Typography>\r\n          domain\r\n        </Typography>\r\n\r\n        <Stack\r\n          mt={{\r\n            xs: \"18px\",\r\n            xl: \"24px\",\r\n          }}\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"flex-end\"}\r\n          gap={\"14px\"}\r\n        >\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"24px\",\r\n              transition: \"all 0.2s\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              height={fontSizes.btnTextHeight}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n          <BtnGradient\r\n            // btnColor=\"#E03F34\"\r\n            loading={deleteDomainLoading}\r\n            sx={{ px: \"24px\" }}\r\n            onClick={() => {\r\n              handleClickDelete();\r\n            }}\r\n            btnColor={color.errorColor}\r\n            hoverSx={{\r\n              bgcolor: `${color.errorDarkColor} !important`,\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              height={fontSizes.btnTextHeight}\r\n              fontWeight={500}\r\n            >\r\n              Delete\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n};\r\n\r\nexport default DeleteDomain;\r\n","import { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport React from \"react\";\r\nimport { IcCloseThin, IcFont } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"500px\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"0px 4px 10px rgba(0, 0, 0, 0.1)\",\r\n  p: \"24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction DeleteFont({\r\n  handleClose,\r\n  handleClickDelete,\r\n  open,\r\n  fontTypeToDelete,\r\n  boldItalicFontFile,\r\n  boldItalicFontName,\r\n  italicFontName,\r\n  italicFontFile,\r\n  boldFontName,\r\n  boldFontFile,\r\n  regularFontName,\r\n  regularFontFile,\r\n}) {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        {/* Header */}\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.titleFont,\r\n              md: fontSizes.modelTitle,\r\n              xl: fontSizes.modelTitle1,\r\n            }}\r\n            fontWeight={fontWeight.weight800}\r\n            color={color.titleDark}\r\n          >\r\n            Remove Font\r\n          </Typography>\r\n          <IconButton\r\n            sx={{\r\n              width: \"36px\",\r\n              height: \"36px\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EDEFF1\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        {/* Description */}\r\n        <Typography fontSize=\"14px\" color=\"#52525B\" mt=\"12px\" mb=\"24px\">\r\n          This font will be removed for you and all members of your team.\r\n        </Typography>\r\n\r\n        {/* Preview */}\r\n        <Stack\r\n          direction=\"row\"\r\n          alignItems=\"center\"\r\n          gap=\"12px\"\r\n          sx={{\r\n            padding: \"12px\",\r\n            mb: \"24px\",\r\n          }}\r\n          bgcolor={color.cardLiteBgColor}\r\n        >\r\n          <Stack\r\n            direction={\"row\"}\r\n            alignItems={\"center\"}\r\n            gap={\"10px\"}\r\n            padding={\"8px\"}\r\n          >\r\n            <IcFont height={30} width={30} />\r\n            <Stack>\r\n              <Typography\r\n                color={color.titleDark}\r\n                fontSize={fontSizes.mediumFont}\r\n                fontWeight={fontWeight.weight600}\r\n              >\r\n                {fontTypeToDelete}\r\n              </Typography>\r\n              <Typography\r\n                color={color.titleDark}\r\n                fontSize={fontSizes.mediumFont}\r\n                fontWeight={fontWeight.weight400}\r\n              >\r\n                {fontTypeToDelete === \"Regular\" && regularFontName}\r\n                {fontTypeToDelete === \"Bold\" && boldFontName}\r\n                {fontTypeToDelete === \"Italic\" && italicFontName}\r\n                {fontTypeToDelete === \"BoldItalic\" && boldItalicFontName}\r\n              </Typography>\r\n            </Stack>\r\n          </Stack>\r\n        </Stack>\r\n\r\n        {/* Buttons */}\r\n        <Stack direction=\"row\" justifyContent=\"flex-end\" spacing={2}>\r\n          {/* Cancel Button */}\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n              borderRadius: \"8px\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={handleClose}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n\r\n          {/* Remove Button */}\r\n          <BtnGradient\r\n            // btnColor=\"#E03F34\"\r\n            btnColor={color.errorColor}\r\n            hoverSx={{\r\n              bgcolor: `${color.errorDarkColor} !important`,\r\n            }}\r\n            sx={{\r\n              px: \"24px\",\r\n              borderRadius: \"8px\",\r\n            }}\r\n            onClick={handleClickDelete}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color=\"#FFF\"\r\n              fontWeight={500}\r\n            >\r\n              Remove\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default DeleteFont;\r\n","import { Box, Stack, Typography } from \"@mui/material\";\r\nimport React, { useState } from \"react\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport SimpleCheckBox from \"../../../../../common-components/SimpleCheckBox\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport SimpleInput from \"../../../../../common-components/SimpleInput\";\r\nimport { s3AssetsUrl } from \"../../../../DrawBoard/const\";\r\n\r\nfunction DeleteProfile() {\r\n  const [deleteOpt, setDeleteOpt] = useState([]);\r\n\r\n  const toggleReasons = (value) => {\r\n    if (deleteOpt.includes(value)) {\r\n      setDeleteOpt(deleteOpt.filter((res) => res !== value));\r\n    } else {\r\n      setDeleteOpt([...deleteOpt, value]);\r\n    }\r\n  };\r\n  return (\r\n    <div>\r\n      <section id=\"auth_container\">\r\n        <Stack className=\"auth-bg\">\r\n          <img\r\n            src={s3AssetsUrl + \"/images/cloud_dairy_colored_logo.svg\"}\r\n            alt=\"cloudDairyColoredLogo\"\r\n            className=\"cloudDairyColoredLogo\"\r\n          />\r\n\r\n          <Stack\r\n            direction={\"row\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"center\"}\r\n            height={\"100svh\"}\r\n          >\r\n            <Box\r\n              width={{\r\n                xs: \"65% !important\",\r\n                md: \"43% !important\",\r\n                xl: \"34.5% !important\",\r\n              }}\r\n              className=\"login-form\"\r\n            >\r\n              <Stack>\r\n                <Stack\r\n                  justifyContent={\"space-between\"}\r\n                  mb={{\r\n                    xs: \"20px\",\r\n                    xl: \"30px\",\r\n                  }}\r\n                >\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight600}\r\n                    fontSize={fontSizes.modelTitle}\r\n                    color={color.titleDark}\r\n                  >\r\n                    Delete My Profile\r\n                  </Typography>\r\n                </Stack>\r\n\r\n                <Stack mt={\"-20px\"}>\r\n                  <Stack direction={\"row\"} alignItems={\"center\"} gap={\"10px\"}>\r\n                    <Box\r\n                      height={\"4px\"}\r\n                      width={\"4px\"}\r\n                      bgcolor={color.subTitle}\r\n                    ></Box>\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight400}\r\n                      fontSize={fontSizes.mediumFont}\r\n                      color={color.subTitle}\r\n                    >\r\n                      All boards that you created will be permanently erased.\r\n                    </Typography>\r\n                  </Stack>\r\n\r\n                  <Stack direction={\"row\"} alignItems={\"center\"} gap={\"10px\"}>\r\n                    <Box\r\n                      height={\"4px\"}\r\n                      width={\"4px\"}\r\n                      bgcolor={color.subTitle}\r\n                    ></Box>\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight400}\r\n                      fontSize={fontSizes.mediumFont}\r\n                      color={color.subTitle}\r\n                    >\r\n                      You may want to save backups of these boards, or export\r\n                      them before deletion.\r\n                    </Typography>\r\n                  </Stack>\r\n                </Stack>\r\n              </Stack>\r\n\r\n              <Stack\r\n                mt={{\r\n                  xl: \"24px\",\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontWeight={fontWeight.weight500}\r\n                  fontSize={\"18px\"}\r\n                  color={color.titleDark}\r\n                >\r\n                  We're really sorry that you wish to leave Cloudairy.\r\n                </Typography>\r\n                <Typography\r\n                  fontWeight={fontWeight.weight400}\r\n                  fontSize={fontSizes.mediumFont}\r\n                  color={color.subTitle}\r\n                >\r\n                  Please, let us know what it was about the service, that you\r\n                  didn't like:\r\n                </Typography>\r\n              </Stack>\r\n\r\n              <Stack\r\n                mt={{\r\n                  xl: \"10px\",\r\n                }}\r\n                gap={\"15px\"}\r\n              >\r\n                <SimpleCheckBox\r\n                  label=\"I found it too complicated to start working\"\r\n                  checked={deleteOpt.includes(\"found\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.mediumFont,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"found\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"The tool didn't load properly\"\r\n                  checked={deleteOpt.includes(\"tool\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.mediumFont,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"tool\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"I didn't understand why I should use Miro\"\r\n                  checked={deleteOpt.includes(\"understand\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.mediumFont,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"understand\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"Something went wrong while I was working on my board\"\r\n                  checked={deleteOpt.includes(\"wrong\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.mediumFont,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"wrong\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"The service is not supported on my device\"\r\n                  checked={deleteOpt.includes(\"service\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.mediumFont,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"service\");\r\n                  }}\r\n                />\r\n\r\n                <SimpleCheckBox\r\n                  label=\"My colleagues didn't get thrilled\"\r\n                  checked={deleteOpt.includes(\"colleagues\")}\r\n                  mainSx={{\r\n                    fontWeight: fontWeight.weight400,\r\n                    fontSize: fontSizes.mediumFont,\r\n                    color: color.titleDark,\r\n                  }}\r\n                  onChange={() => {\r\n                    toggleReasons(\"colleagues\");\r\n                  }}\r\n                />\r\n              </Stack>\r\n\r\n              <Typography\r\n                fontWeight={fontWeight.weight400}\r\n                fontSize={fontSizes.mediumFont}\r\n                color={color.titleDark}\r\n                mt={\"16px\"}\r\n                mb={\"8px\"}\r\n              >\r\n                Or text your own reason\r\n              </Typography>\r\n\r\n              <SimpleInput\r\n                multiline={true}\r\n                rows={2}\r\n                simpleBorderColor=\"#E1E1E1\"\r\n                sx={{\r\n                  width: \"90%\",\r\n                }}\r\n              />\r\n\r\n              <BtnGradient\r\n                sx={{\r\n                  px: \"18px\",\r\n                  width: \"fit-content\",\r\n                  mt: {\r\n                    xl: \"24px\",\r\n                  },\r\n                }}\r\n                // btnColor=\"#E03F34\"\r\n                btnColor={color.errorColor}\r\n                hoverSx={{\r\n                  bgcolor: `${color.errorDarkColor} !important`,\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  height={fontSizes.btnTextHeight}\r\n                  fontWeight={600}\r\n                >\r\n                  Delete My Profile\r\n                </Typography>\r\n              </BtnGradient>\r\n            </Box>\r\n          </Stack>\r\n        </Stack>\r\n      </section>\r\n    </div>\r\n  );\r\n}\r\n\r\nexport default DeleteProfile;\r\n","import React, { useState } from \"react\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  // width: \"700px\",\r\n  // width: \"550px\",\r\n  width: \"600px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"30px 24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst DeleteTeam = ({\r\n  open,\r\n  handleClose,\r\n  handleClickDelete,\r\n  loading,\r\n  isDeleteTeam,\r\n  teamName,\r\n  isLeaveWp = false,\r\n}) => {\r\n  if (isDeleteTeam) {\r\n    return (\r\n      <>\r\n        <CustomModal open={open} handleClose={handleClose}>\r\n          <Box sx={style}>\r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"flex-start\"}\r\n              justifyContent={\"space-between\"}\r\n            >\r\n              <Box\r\n                sx={{\r\n                  maxWidth: \"90%\",\r\n                  whiteSpace: \"normal\",\r\n                  overflow: \"hidden\",\r\n                  textOverflow: \"ellipsis\",\r\n                  wordBreak: \"break-word\",\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontWeight={fontWeight.weight600}\r\n                  fontSize={{\r\n                    xs: fontSizes.titleFont,\r\n                    md: fontSizes.modelTitle,\r\n                    xl: fontSizes.modelTitle1,\r\n                  }}\r\n                  color={color?.titleDark}\r\n                >\r\n                  Delete Team {teamName}?\r\n                </Typography>\r\n              </Box>\r\n              <IconButton\r\n                sx={{\r\n                  position: \"absolute\",\r\n                  right: \"24px\",\r\n                  width: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  height: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  borderRadius: \"50%\",\r\n                  bgcolor: \"#EFF0F3\",\r\n                  transition: \"all 0.3s ease\",\r\n                  \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n                }}\r\n                onClick={() => handleClose()}\r\n              >\r\n                <IcCloseThin fill=\"#18181B\" />\r\n              </IconButton>\r\n            </Stack>\r\n\r\n            <Box\r\n              sx={{\r\n                maxWidth: \"94%\",\r\n                whiteSpace: \"normal\",\r\n                overflow: \"hidden\",\r\n                textOverflow: \"ellipsis\",\r\n                wordBreak: \"break-word\",\r\n              }}\r\n            >\r\n              <Typography\r\n                fontWeight={fontWeight.weight400}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n                mt=\"12px\"\r\n                mb=\"12px\"\r\n              >\r\n                Are you sure you want to permanently delete the team{\" \"}\r\n                <Typography\r\n                  component=\"span\"\r\n                  sx={{\r\n                    fontWeight: fontWeight.weight600,\r\n                    fontSize: {\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    },\r\n                    color: color.titleDark,\r\n                  }}\r\n                >\r\n                  {teamName}?\r\n                </Typography>\r\n              </Typography>\r\n\r\n              <Stack gap={\"32px\"}>\r\n                <Stack>\r\n                  <Typography\r\n                    fontWeight={\"600\"}\r\n                    fontSize={{\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    }}\r\n                    color={\"#18181B\"}\r\n                    mb={1}\r\n                  >\r\n                    Important Notes:\r\n                  </Typography>\r\n                  <Stack\r\n                    direction={\"row\"}\r\n                    gap={\"8px\"}\r\n                    alignItems={\"flex-start\"}\r\n                    ml={1}\r\n                  >\r\n                    <CommonBulletPoint />\r\n                    <Typography\r\n                      color={color.subTitle}\r\n                      fontWeight={\"400\"}\r\n                      fontSize={{\r\n                        xs: fontSizes.fontSize13,\r\n                        md: fontSizes.fontSize14,\r\n                      }}\r\n                    >\r\n                      All boards, spaces, and data associated with this team\r\n                      will be permanently deleted.\r\n                    </Typography>\r\n                  </Stack>\r\n                  <Stack\r\n                    direction={\"row\"}\r\n                    gap={\"8px\"}\r\n                    alignItems={\"flex-start\"}\r\n                    ml={1}\r\n                  >\r\n                    <CommonBulletPoint />\r\n                    <Typography\r\n                      color={color.subTitle}\r\n                      fontWeight={\"400\"}\r\n                      fontSize={{\r\n                        xs: fontSizes.fontSize13,\r\n                        md: fontSizes.fontSize14,\r\n                      }}\r\n                    >\r\n                      This action{\" \"}\r\n                      <Typography\r\n                        component=\"span\"\r\n                        sx={{\r\n                          fontWeight: fontWeight.weight600,\r\n                          fontSize: {\r\n                            xs: fontSizes.mediumFont,\r\n                            md: fontSizes.fontSize13,\r\n                            xl: fontSizes.fontSize14,\r\n                          },\r\n                          color: color.titleDark,\r\n                        }}\r\n                      >\r\n                        cannot be undone.\r\n                      </Typography>\r\n                    </Typography>\r\n                  </Stack>\r\n\r\n                  <Stack\r\n                    direction={\"row\"}\r\n                    gap={\"8px\"}\r\n                    alignItems={\"flex-start\"}\r\n                    ml={1}\r\n                  >\r\n                    <CommonBulletPoint />\r\n                    <Typography\r\n                      color={color.subTitle}\r\n                      fontWeight={\"400\"}\r\n                      fontSize={{\r\n                        xs: fontSizes.fontSize13,\r\n                        md: fontSizes.fontSize14,\r\n                      }}\r\n                    >\r\n                      Team members will lose access to this team and its\r\n                      content.\r\n                    </Typography>\r\n                  </Stack>\r\n                </Stack>\r\n              </Stack>\r\n\r\n              <Typography\r\n                fontWeight={fontWeight.weight400}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n                mt=\"12px\"\r\n                mb=\"12px\"\r\n              >\r\n                If you're sure, click{\" \"}\r\n                <Typography\r\n                  component=\"span\"\r\n                  sx={{\r\n                    fontWeight: fontWeight.weight600,\r\n                    fontSize: {\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    },\r\n                    color: color.titleDark,\r\n                  }}\r\n                >\r\n                  Delete Team{\" \"}\r\n                </Typography>\r\n                below.\r\n              </Typography>\r\n            </Box>\r\n\r\n            <Stack\r\n              mt={\"24px\"}\r\n              direction={\"row\"}\r\n              alignItems={\"center\"}\r\n              justifyContent={\"flex-end\"}\r\n              gap={\"14px\"}\r\n            >\r\n              <BtnColoredOutlined\r\n                bgcolor={color.greyHover}\r\n                borderColor={color.commonBorderColor}\r\n                sx={{\r\n                  px: \"16px\",\r\n                  transition: \"all 0.2s\",\r\n                }}\r\n                hoverSx={{\r\n                  bgcolor: color.darkGray,\r\n                }}\r\n                onClick={() => handleClose()}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  color={color.subTitle}\r\n                >\r\n                  Cancel\r\n                </Typography>\r\n              </BtnColoredOutlined>\r\n              <BtnGradient\r\n                sx={{ px: \"24px\" }}\r\n                onClick={() => {\r\n                  handleClickDelete();\r\n                }}\r\n                loading={loading}\r\n                btnColor={color.errorColor}\r\n                hoverSx={{\r\n                  bgcolor: `${color.errorDarkColor} !important`,\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  fontWeight={500}\r\n                >\r\n                  Delete Team\r\n                </Typography>\r\n              </BtnGradient>\r\n            </Stack>\r\n          </Box>\r\n        </CustomModal>\r\n      </>\r\n    );\r\n  } else {\r\n    return (\r\n      <>\r\n        {isLeaveWp ? (\r\n          <>\r\n            <CustomModal open={open} handleClose={handleClose}>\r\n              <Box sx={style}>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  alignItems={\"flex-start\"}\r\n                  justifyContent={\"space-between\"}\r\n                >\r\n                  <Box\r\n                    sx={{\r\n                      maxWidth: \"90%\",\r\n                      whiteSpace: \"normal\",\r\n                      overflow: \"hidden\",\r\n                      textOverflow: \"ellipsis\",\r\n                      wordBreak: \"break-word\",\r\n                    }}\r\n                  >\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight600}\r\n                      fontSize={{\r\n                        xs: fontSizes.titleFont,\r\n                        md: fontSizes.modelTitle,\r\n                        xl: fontSizes.modelTitle1,\r\n                      }}\r\n                      color={color?.titleDark}\r\n                    >\r\n                      Are you sure you want to leave this workspace?\r\n                    </Typography>\r\n                  </Box>\r\n                  <IconButton\r\n                    sx={{\r\n                      position: \"absolute\",\r\n                      right: \"24px\",\r\n                      width: {\r\n                        xs: \"30px !important\",\r\n                        lg: \"30px !important\",\r\n                        xl: \"36px !important\",\r\n                      },\r\n                      height: {\r\n                        xs: \"30px !important\",\r\n                        lg: \"30px !important\",\r\n                        xl: \"36px !important\",\r\n                      },\r\n                      borderRadius: \"50%\",\r\n                      bgcolor: \"#EFF0F3\",\r\n                      transition: \"all 0.3s ease\",\r\n                      \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n                    }}\r\n                    onClick={() => handleClose()}\r\n                  >\r\n                    <IcCloseThin fill=\"#18181B\" />\r\n                  </IconButton>\r\n                </Stack>\r\n\r\n                <Box\r\n                  sx={{\r\n                    maxWidth: \"94%\",\r\n                    whiteSpace: \"normal\",\r\n                    overflow: \"hidden\",\r\n                    textOverflow: \"ellipsis\",\r\n                    wordBreak: \"break-word\",\r\n                  }}\r\n                >\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                    mt=\"12px\"\r\n                    mb=\"12px\"\r\n                  >\r\n                    Leaving this workspace will permanently remove all boards\r\n                    and data associated with it.\r\n                  </Typography>\r\n\r\n                  <Stack gap={\"32px\"}>\r\n                    <Stack>\r\n                      <Stack\r\n                        direction={\"row\"}\r\n                        gap={\"8px\"}\r\n                        alignItems={\"flex-start\"}\r\n                        ml={1}\r\n                      >\r\n                        <CommonBulletPoint />\r\n                        <Typography\r\n                          color={color.subTitle}\r\n                          fontWeight={\"400\"}\r\n                          fontSize={{\r\n                            xs: fontSizes.fontSize13,\r\n                            md: fontSizes.fontSize14,\r\n                          }}\r\n                        >\r\n                          This action{\" \"}\r\n                          <Typography\r\n                            variant=\"caption\"\r\n                            color={color.titleDark}\r\n                            fontWeight={fontWeight.weight600}\r\n                            fontSize={{\r\n                              xs: fontSizes.mediumFont,\r\n                              md: fontSizes.fontSize13,\r\n                              xl: fontSizes.fontSize14,\r\n                            }}\r\n                          >\r\n                            cannot be undone.\r\n                          </Typography>\r\n                        </Typography>\r\n                      </Stack>\r\n\r\n                      <Stack\r\n                        direction={\"row\"}\r\n                        gap={\"8px\"}\r\n                        alignItems={\"flex-start\"}\r\n                        ml={1}\r\n                      >\r\n                        <CommonBulletPoint />\r\n                        <Typography\r\n                          color={color.subTitle}\r\n                          fontWeight={\"400\"}\r\n                          fontSize={{\r\n                            xs: fontSizes.fontSize13,\r\n                            md: fontSizes.fontSize14,\r\n                          }}\r\n                        >\r\n                          This will{\" \"}\r\n                          <Typography\r\n                            variant=\"caption\"\r\n                            color={color.titleDark}\r\n                            fontWeight={fontWeight.weight600}\r\n                            fontSize={{\r\n                              xs: fontSizes.mediumFont,\r\n                              md: fontSizes.fontSize13,\r\n                              xl: fontSizes.fontSize14,\r\n                            }}\r\n                          >\r\n                            not cancel your subscription\r\n                          </Typography>{\" \"}\r\n                          or stop ongoing payments. You will continue to be\r\n                          charged until you cancel your subscription or update\r\n                          your payment method.\r\n                        </Typography>\r\n                      </Stack>\r\n                    </Stack>\r\n                  </Stack>\r\n\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                    mt={1}\r\n                  >\r\n                    To keep your data, please export your boards in PNG or other\r\n                    image formats before proceeding.\r\n                  </Typography>\r\n                </Box>\r\n\r\n                <Stack\r\n                  mt={\"24px\"}\r\n                  direction={\"row\"}\r\n                  alignItems={\"center\"}\r\n                  justifyContent={\"flex-end\"}\r\n                  gap={\"14px\"}\r\n                >\r\n                  <BtnColoredOutlined\r\n                    bgcolor={color.greyHover}\r\n                    borderColor={color.commonBorderColor}\r\n                    sx={{\r\n                      px: \"16px\",\r\n                      transition: \"all 0.2s\",\r\n                    }}\r\n                    hoverSx={{\r\n                      bgcolor: color.darkGray,\r\n                    }}\r\n                    onClick={() => handleClose()}\r\n                  >\r\n                    <Typography\r\n                      fontSize={{\r\n                        xs: fontSizes.mediumFont,\r\n                        md: fontSizes.fontSize13,\r\n                        xl: fontSizes.fontSize14,\r\n                      }}\r\n                      color={color.subTitle}\r\n                    >\r\n                      Cancel\r\n                    </Typography>\r\n                  </BtnColoredOutlined>\r\n                  <BtnGradient\r\n                    btnColor={color.errorColor}\r\n                    sx={{ px: \"24px\", transition: \"all 0.3s\" }}\r\n                    onClick={() => {\r\n                      handleClickDelete();\r\n                    }}\r\n                    loading={loading}\r\n                    hoverSx={{\r\n                      bgcolor: `${color.errorDarkColor} !important`,\r\n                    }}\r\n                  >\r\n                    <Typography\r\n                      fontSize={{\r\n                        xs: fontSizes.mediumFont,\r\n                        md: fontSizes.fontSize13,\r\n                        xl: fontSizes.fontSize14,\r\n                      }}\r\n                      fontWeight={500}\r\n                    >\r\n                      Leave workspace\r\n                    </Typography>\r\n                  </BtnGradient>\r\n                </Stack>\r\n              </Box>\r\n            </CustomModal>\r\n          </>\r\n        ) : (\r\n          <>\r\n            <CustomModal open={open} handleClose={handleClose}>\r\n              <Box sx={style}>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  alignItems={\"flex-start\"}\r\n                  justifyContent={\"space-between\"}\r\n                >\r\n                  <Box\r\n                    sx={{\r\n                      maxWidth: \"90%\",\r\n                      whiteSpace: \"normal\",\r\n                      overflow: \"hidden\",\r\n                      textOverflow: \"ellipsis\",\r\n                      wordBreak: \"break-word\",\r\n                    }}\r\n                  >\r\n                    <Typography\r\n                      fontWeight={fontWeight.weight600}\r\n                      fontSize={{\r\n                        xs: fontSizes.titleFont,\r\n                        md: fontSizes.modelTitle,\r\n                        xl: fontSizes.modelTitle1,\r\n                      }}\r\n                      color={color?.titleDark}\r\n                    >\r\n                      Are you sure you want to delete this workspace?\r\n                    </Typography>\r\n                  </Box>\r\n                  <IconButton\r\n                    sx={{\r\n                      position: \"absolute\",\r\n                      right: \"24px\",\r\n                      width: {\r\n                        xs: \"30px !important\",\r\n                        lg: \"30px !important\",\r\n                        xl: \"36px !important\",\r\n                      },\r\n                      height: {\r\n                        xs: \"30px !important\",\r\n                        lg: \"30px !important\",\r\n                        xl: \"36px !important\",\r\n                      },\r\n                      borderRadius: \"50%\",\r\n                      bgcolor: \"#EFF0F3\",\r\n                      transition: \"all 0.3s ease\",\r\n                      \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n                    }}\r\n                    onClick={() => handleClose()}\r\n                  >\r\n                    <IcCloseThin fill=\"#18181B\" />\r\n                  </IconButton>\r\n                </Stack>\r\n\r\n                <Box\r\n                  sx={{\r\n                    maxWidth: \"94%\",\r\n                    whiteSpace: \"normal\",\r\n                    overflow: \"hidden\",\r\n                    textOverflow: \"ellipsis\",\r\n                    wordBreak: \"break-word\",\r\n                  }}\r\n                >\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                    mt=\"12px\"\r\n                    mb=\"12px\"\r\n                  >\r\n                    Deleting this workspace will permanently remove all boards\r\n                    and data associated with it.\r\n                  </Typography>\r\n\r\n                  <Stack gap={\"32px\"}>\r\n                    <Stack>\r\n                      <Stack\r\n                        direction={\"row\"}\r\n                        gap={\"8px\"}\r\n                        alignItems={\"flex-start\"}\r\n                        ml={1}\r\n                      >\r\n                        <CommonBulletPoint />\r\n                        <Typography\r\n                          color={color.subTitle}\r\n                          fontWeight={\"400\"}\r\n                          fontSize={{\r\n                            xs: fontSizes.fontSize13,\r\n                            md: fontSizes.fontSize14,\r\n                          }}\r\n                        >\r\n                          This action{\" \"}\r\n                          <Typography\r\n                            variant=\"caption\"\r\n                            color={color.titleDark}\r\n                            fontWeight={fontWeight.weight600}\r\n                            fontSize={{\r\n                              xs: fontSizes.mediumFont,\r\n                              md: fontSizes.fontSize13,\r\n                              xl: fontSizes.fontSize14,\r\n                            }}\r\n                          >\r\n                            cannot be undone.\r\n                          </Typography>\r\n                        </Typography>\r\n                      </Stack>\r\n                      <Stack\r\n                        direction={\"row\"}\r\n                        gap={\"8px\"}\r\n                        alignItems={\"flex-start\"}\r\n                        ml={1}\r\n                      >\r\n                        <CommonBulletPoint />\r\n                        <Typography\r\n                          color={color.subTitle}\r\n                          fontWeight={\"400\"}\r\n                          fontSize={{\r\n                            xs: fontSizes.fontSize13,\r\n                            md: fontSizes.fontSize14,\r\n                          }}\r\n                        >\r\n                          An email confirmation will be sent to your registered\r\n                          address.\r\n                        </Typography>\r\n                      </Stack>\r\n\r\n                      <Stack\r\n                        direction={\"row\"}\r\n                        gap={\"8px\"}\r\n                        alignItems={\"flex-start\"}\r\n                        ml={1}\r\n                      >\r\n                        <CommonBulletPoint />\r\n                        <Typography\r\n                          color={color.subTitle}\r\n                          fontWeight={\"400\"}\r\n                          fontSize={{\r\n                            xs: fontSizes.fontSize13,\r\n                            md: fontSizes.fontSize14,\r\n                          }}\r\n                        >\r\n                          This will{\" \"}\r\n                          <Typography\r\n                            variant=\"caption\"\r\n                            color={color.titleDark}\r\n                            fontWeight={fontWeight.weight600}\r\n                            fontSize={{\r\n                              xs: fontSizes.mediumFont,\r\n                              md: fontSizes.fontSize13,\r\n                              xl: fontSizes.fontSize14,\r\n                            }}\r\n                          >\r\n                            not cancel your subscription\r\n                          </Typography>{\" \"}\r\n                          or stop ongoing payments. You will continue to be\r\n                          charged until you cancel your subscription or update\r\n                          your payment method.\r\n                        </Typography>\r\n                      </Stack>\r\n                    </Stack>\r\n                  </Stack>\r\n\r\n                  <Typography\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    color={color.subTitle}\r\n                    mt={1}\r\n                  >\r\n                    To keep your data, please export your boards in PNG or other\r\n                    image formats before proceeding.\r\n                  </Typography>\r\n                </Box>\r\n\r\n                <Stack\r\n                  mt={\"24px\"}\r\n                  direction={\"row\"}\r\n                  alignItems={\"center\"}\r\n                  justifyContent={\"flex-end\"}\r\n                  gap={\"14px\"}\r\n                >\r\n                  <BtnColoredOutlined\r\n                    bgcolor={color.greyHover}\r\n                    borderColor={color.commonBorderColor}\r\n                    sx={{\r\n                      px: \"16px\",\r\n                      transition: \"all 0.2s\",\r\n                    }}\r\n                    hoverSx={{\r\n                      bgcolor: color.darkGray,\r\n                    }}\r\n                    onClick={() => handleClose()}\r\n                  >\r\n                    <Typography\r\n                      fontSize={{\r\n                        xs: fontSizes.mediumFont,\r\n                        md: fontSizes.fontSize13,\r\n                        xl: fontSizes.fontSize14,\r\n                      }}\r\n                      color={color.subTitle}\r\n                    >\r\n                      Cancel\r\n                    </Typography>\r\n                  </BtnColoredOutlined>\r\n                  <BtnGradient\r\n                    btnColor={color.errorColor}\r\n                    sx={{ px: \"24px\", transition: \"all 0.3s\" }}\r\n                    onClick={() => {\r\n                      handleClickDelete();\r\n                    }}\r\n                    loading={loading}\r\n                    hoverSx={{\r\n                      bgcolor: `${color.errorDarkColor} !important`,\r\n                    }}\r\n                  >\r\n                    <Typography\r\n                      fontSize={{\r\n                        xs: fontSizes.mediumFont,\r\n                        md: fontSizes.fontSize13,\r\n                        xl: fontSizes.fontSize14,\r\n                      }}\r\n                      fontWeight={500}\r\n                    >\r\n                      Delete workspace\r\n                    </Typography>\r\n                  </BtnGradient>\r\n                </Stack>\r\n              </Box>\r\n            </CustomModal>\r\n          </>\r\n        )}\r\n      </>\r\n    );\r\n  }\r\n};\r\n\r\nexport default DeleteTeam;\r\n","import { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport React from \"react\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"550px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"30px 24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst DeleteWorkSpace = ({ open, handleClose, handleClickDelete }) => {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.titleFont,\r\n              md: fontSizes.modelTitle,\r\n              xl: fontSizes.modelTitle1,\r\n            }}\r\n            fontWeight={fontWeight.weight800}\r\n            color={color.titleDark}\r\n            height={{\r\n              xs: \"24px\",\r\n              xl: \"30px\",\r\n            }}\r\n          >\r\n            Delete Workspace?\r\n          </Typography>\r\n          <IconButton\r\n            sx={{\r\n              width: \"36px !important\",\r\n              height: \"36px !important\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Box\r\n          sx={{\r\n            \"& ul\": {\r\n              listStyleType: \"square\",\r\n              mt: \"16px\",\r\n              fontSize: 14,\r\n              color: \"#848382\",\r\n              display: \"flex\",\r\n              flexDirection: \"column\",\r\n              gap: \"16px\",\r\n\r\n              \"& li:last-child\": {\r\n                color: \"#18181B\",\r\n              },\r\n            },\r\n          }}\r\n        >\r\n          <ul>\r\n            <li>\r\n              <Typography variant=\"captions\" fontWeight={600} color={\"black\"}>\r\n                4 boards\r\n              </Typography>\r\n              &nbsp; and &nbsp;\r\n              <Typography variant=\"captions\" fontWeight={600} color={\"black\"}>\r\n                <Typography variant=\"captions\" fontWeight={600} color={\"black\"}>\r\n                  2 teams\r\n                </Typography>\r\n              </Typography>\r\n              created with this company will be permanently deleted.\r\n            </li>\r\n            <li>\r\n              You can save backups or export them before deleting company\r\n              profile\r\n            </li>\r\n            <li>\r\n              We will email you a link shortly. Follow this link to delete your\r\n              team.\r\n            </li>\r\n          </ul>\r\n        </Box>\r\n\r\n        <Stack\r\n          mt={{\r\n            xs: \"18px\",\r\n            xl: \"24px\",\r\n          }}\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"flex-end\"}\r\n          gap={\"14px\"}\r\n        >\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n          <BtnGradient\r\n            // btnColor=\"#E03F34\"\r\n            btnColor={color.errorColor}\r\n            hoverSx={{\r\n              bgcolor: `${color.errorDarkColor} !important`,\r\n            }}\r\n            sx={{ px: \"24px\" }}\r\n            onClick={handleClickDelete}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={500}\r\n            >\r\n              Delete Team\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n};\r\n\r\nexport default DeleteWorkSpace;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport Loader from \"../../../../../CommanUI/Loader/loader\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport commanService from \"../../../../../CommanFunctions/commanService\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n  errorToast,\r\n  successToast,\r\n  warningToast,\r\n} from \"../../../../../Redux/toastSlice\";\r\nimport { validateEmail } from \"../../../../../CommanFunctions/commanFunctions\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"500px\",\r\n  // width: {\r\n  //   xs: \"90%\",\r\n  //   md: \"40%\",\r\n  //   xl: \"40%\",\r\n  // },\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px\",\r\n    md: \"25px\",\r\n    // xl: \"30px\",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst ForgotPasswordModel = ({\r\n  open,\r\n  onClose,\r\n  profileData,\r\n  showTheVerifyOptModal,\r\n}) => {\r\n  const [loading, setLoading] = useState(false);\r\n  const navigate = useNavigate();\r\n  const dispatch = useDispatch();\r\n  const [email, setEmail] = useState(\"\");\r\n  const [errors, setErrors] = useState({ email_id: \"\" });\r\n\r\n  useEffect(() => {\r\n    if (profileData?.email) {\r\n      setEmail(profileData?.email);\r\n    }\r\n  }, [profileData?.email]);\r\n\r\n  const validateField = (fieldName, value) => {\r\n    switch (fieldName) {\r\n      case \"email_id\": {\r\n        if (validateEmail(value)) {\r\n          setErrors((prev) => ({ ...prev, email_id: \"\" }));\r\n        } else if (value.length === 0) {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            email_id: \"Email Address Is Required\",\r\n          }));\r\n        } else {\r\n          setErrors((prev) => ({\r\n            ...prev,\r\n            email_id: \"Email Address Is Invalid\",\r\n          }));\r\n        }\r\n        break;\r\n      }\r\n\r\n      default:\r\n        break;\r\n    }\r\n  };\r\n\r\n  const handleSubmitForgotPassword = async () => {\r\n    if (errors.email_id.trim().length <= 0 && email.trim().length > 0) {\r\n      setLoading(true);\r\n      try {\r\n        const { data } = await commanService.postApi(\"user\", \"check-email\", {\r\n          email_id: email,\r\n        });\r\n\r\n        localStorage.setItem(\"userEmail\", email);\r\n        data?.message && dispatch(successToast({ message: data?.message }));\r\n        // dispatch(\r\n        //   successToast({\r\n        //     message: \"Verification sent to your email\",\r\n        //   })\r\n        // );\r\n        // navigate(\"/verify-email\");\r\n        showTheVerifyOptModal();\r\n        onClose();\r\n      } catch (error) {\r\n        if (error.response.status !== 401) {\r\n          if (error.response.status < 500) {\r\n            dispatch(\r\n              warningToast({\r\n                message:\r\n                  error.response?.data?.message ||\r\n                  error.response.data?.error[0] ||\r\n                  error.message,\r\n              })\r\n            );\r\n          } else {\r\n            dispatch(\r\n              errorToast({\r\n                message: \"Oops! Something went wrong\",\r\n              })\r\n            );\r\n          }\r\n        }\r\n      } finally {\r\n        setLoading(false);\r\n      }\r\n    }\r\n  };\r\n\r\n  return (\r\n    <>\r\n      <CustomModal open={open} handleClose={loading ? () => {} : onClose}>\r\n        <Box sx={style}>\r\n          {/* {loading && <Loader />} */}\r\n          <Stack width={\"100%\"}>\r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"center\"}\r\n              justifyContent={\"space-between\"}\r\n              mb={1}\r\n            >\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.titleFont,\r\n                  md: fontSizes.modelTitle,\r\n                  xl: fontSizes.modelTitle1,\r\n                }}\r\n                fontWeight={fontWeight.weight800}\r\n                color={color.titleDark}\r\n              >\r\n                {/* Forgot password? */}\r\n                Forgot Your Password?\r\n              </Typography>\r\n              <IconButton\r\n                sx={{\r\n                  width: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  height: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  borderRadius: \"50%\",\r\n                  bgcolor: \"#EFF0F3\",\r\n                  transition: \"all 0.3s ease\",\r\n                  \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n                }}\r\n                onClick={() => {\r\n                  onClose();\r\n                }}\r\n              >\r\n                <IcCloseThin fill=\"#18181B\" />\r\n              </IconButton>\r\n            </Stack>\r\n            <Typography\r\n              mb={\"16px\"}\r\n              fontSize={fontSizes.fontSize14}\r\n              fontWeight={fontWeight.weight400}\r\n              color={color.subTitle}\r\n              width={\"400px\"}\r\n            >\r\n              Enter your email address to reset your password. We'll send you a\r\n              OTP to create a new password.\r\n            </Typography>\r\n            <LargeSimpleInput\r\n              label={\"Your email\"}\r\n              placeholder={\"Enter your email address\"}\r\n              height={40}\r\n              value={email}\r\n              onChange={(e) => {\r\n                setEmail(e.target.value);\r\n                validateField(\"email_id\", e.target.value);\r\n              }}\r\n              name=\"email_address\"\r\n              mainSx={{\r\n                mb: {\r\n                  xs: \"12px\",\r\n                  md: \"15px\",\r\n                  xl: \"16px\",\r\n                },\r\n                mt: {\r\n                  // xl: \"-6px\",\r\n                  xl: \"5pxx\",\r\n                },\r\n                width: \"100%\",\r\n              }}\r\n              disabled={true}\r\n            />\r\n            {/* <BtnColoredOutlined\r\n                bgcolor=\"#F7F7F7\"\r\n                borderColor=\"#E1E1E1\"\r\n                sx={{\r\n                  px: \"16px\",\r\n                  transition: \"all 0.2s\",\r\n                }}\r\n                hoverSx={{\r\n                  bgcolor: \"#EEEEEE\",\r\n                }}\r\n                onClick={onclose}\r\n              >\r\n                <Typography fontSize={13.5} height={\"18px\"} color={\"#848382\"}>\r\n                  Cancel\r\n                </Typography>\r\n              </BtnColoredOutlined> */}\r\n            <BtnGradient\r\n              sx={{\r\n                width: \"100%\",\r\n              }}\r\n              onClick={handleSubmitForgotPassword}\r\n              loading={loading}\r\n            >\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                fontWeight={fontWeight.weight500}\r\n              >\r\n                {/* Send Reset Link */}\r\n                Send OTP\r\n              </Typography>\r\n            </BtnGradient>\r\n            {/* <Typography\r\n              mt={\"24px\"}\r\n              fontSize={13.5}\r\n              height={\"18px\"}\r\n              color={\"#007AFF\"}\r\n              sx={{\r\n                cursor: \"pointer\",\r\n                borderBottom: \"1px solid #007AFF\",\r\n              }}\r\n              onClick={onClose}\r\n            >\r\n              Go Back\r\n            </Typography> */}\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default ForgotPasswordModel;\r\n","import { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport Loader from \"../../../../../CommanUI/Loader/loader\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { useDeleteInvitationByIdMutation } from \"../../../../../Redux/api/usersApi\";\r\nimport { successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  maxWidth: \"600px\",\r\n  width: {\r\n    xs: \"90%\",\r\n    md: \"40%\",\r\n    // xl: \"100%\",\r\n  },\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px 10px\",\r\n    md: \"20px 16px\",\r\n    xl: \"30px 24px\",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst RemoveInvitationModal = ({\r\n  open,\r\n  onClose,\r\n  selectedInvitation,\r\n  fetchApiCall,\r\n}) => {\r\n  const [loading, setLoading] = useState(false);\r\n  const navigate = useNavigate();\r\n  const dispatch = useDispatch();\r\n  const [\r\n    deleteInvitationById,\r\n    {\r\n      data: deletedAccount,\r\n      isLoading: deletionInProgress,\r\n      error: errorInDeletion,\r\n    },\r\n  ] = useDeleteInvitationByIdMutation();\r\n\r\n  useEffect(() => {\r\n    if (deletedAccount) {\r\n      dispatch(\r\n        successToast({\r\n          message: deletedAccount?.message,\r\n        })\r\n      );\r\n      if (deletedAccount?.message) {\r\n        onClose();\r\n        fetchApiCall();\r\n      }\r\n    }\r\n  }, [deletedAccount]);\r\n\r\n  return (\r\n    <>\r\n      <CustomModal open={open} handleClose={loading ? () => {} : onClose}>\r\n        <Box sx={style}>\r\n          {loading && <Loader />}\r\n          <Stack width={\"100%\"}>\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.titleFont,\r\n                md: fontSizes.modelTitle,\r\n                xl: fontSizes.modelTitle1,\r\n              }}\r\n              fontWeight={fontWeight.weight800}\r\n              color={color.titleDark}\r\n            >\r\n              Remove Pending Invitation for {selectedInvitation?.email_id}\r\n            </Typography>\r\n            <IconButton\r\n              sx={{\r\n                position: \"absolute\",\r\n                top: {\r\n                  xs: \"20px\",\r\n                  xl: \"30px\",\r\n                },\r\n                right: {\r\n                  xs: \"20px\",\r\n                  xl: \"30px\",\r\n                },\r\n                width: {\r\n                  xs: \"28px !important\",\r\n                  xl: \"36px !important\",\r\n                },\r\n                height: {\r\n                  xs: \"28px !important\",\r\n                  xl: \"36px !important\",\r\n                },\r\n                borderRadius: \"50%\",\r\n                bgcolor: \"#EFF0F3\",\r\n                transition: \"all 0.3s ease\",\r\n                \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n              }}\r\n              onClick={onClose}\r\n            >\r\n              <IcCloseThin fill=\"#18181B\" />\r\n            </IconButton>\r\n\r\n            <Box\r\n              sx={{\r\n                maxWidth: \"94%\",\r\n                whiteSpace: \"normal\",\r\n                overflow: \"hidden\",\r\n                textOverflow: \"ellipsis\",\r\n                wordBreak: \"break-word\",\r\n              }}\r\n            >\r\n              <Typography\r\n                color={color.subTitle}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                fontWeight={fontWeight.weight400}\r\n                mt={\"16px\"}\r\n                mb={\"10px\"}\r\n              >\r\n                Are you sure you want to remove the pending invitation sent to{\" \"}\r\n                <Typography\r\n                  component=\"span\"\r\n                  sx={{\r\n                    color: color.titleDark,\r\n                    fontWeight: fontWeight.weight600,\r\n                    fontSize: {\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    },\r\n                  }}\r\n                >\r\n                  {selectedInvitation?.email_id}?\r\n                </Typography>\r\n              </Typography>\r\n\r\n              <Stack>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  gap={\"8px\"}\r\n                  alignItems={\"flex-start\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    color={color.subTitle}\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    }}\r\n                  >\r\n                    The user will no longer be able to accept the invitation.\r\n                  </Typography>\r\n                </Stack>\r\n\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  gap={\"8px\"}\r\n                  alignItems={\"flex-start\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    color={color.subTitle}\r\n                    fontWeight={fontWeight.weight400}\r\n                    fontSize={{\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    }}\r\n                  >\r\n                    You can send a new invitation at any time if needed.\r\n                  </Typography>\r\n                </Stack>\r\n              </Stack>\r\n\r\n              <Typography\r\n                color={color.subTitle}\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                fontWeight={fontWeight.weight400}\r\n                mt={\"16px\"}\r\n              >\r\n                <Typography\r\n                  component=\"span\"\r\n                  sx={{\r\n                    color: color.titleDark,\r\n                    fontWeight: fontWeight.weight600,\r\n                    fontSize: {\r\n                      xs: fontSizes.mediumFont,\r\n                      md: fontSizes.fontSize13,\r\n                      xl: fontSizes.fontSize14,\r\n                    },\r\n                  }}\r\n                >\r\n                  Note:\r\n                </Typography>{\" \"}\r\n                This action does not impact any active users or workspace\r\n                settings.\r\n              </Typography>\r\n            </Box>\r\n\r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"center\"}\r\n              justifyContent={\"flex-end\"}\r\n              gap={\"20px\"}\r\n              mt={\"24px\"}\r\n            >\r\n              <BtnColoredOutlined\r\n                bgcolor={color.greyHover}\r\n                borderColor={color.commonBorderColor}\r\n                sx={{\r\n                  px: \"16px\",\r\n                  transition: \"all 0.2s\",\r\n                }}\r\n                hoverSx={{\r\n                  bgcolor: color.darkGray,\r\n                }}\r\n                onClick={onClose}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  color={color.subTitle}\r\n                >\r\n                  Cancel\r\n                </Typography>\r\n              </BtnColoredOutlined>\r\n              <BtnGradient\r\n                btnColor={color.errorColor}\r\n                sx={{\r\n                  px: \"24px\",\r\n                }}\r\n                loading={deletionInProgress}\r\n                onClick={() =>\r\n                  deleteInvitationById(selectedInvitation?.user_id)\r\n                }\r\n                hoverSx={{\r\n                  bgcolor: `${color.errorDarkColor} !important`,\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  fontWeight={500}\r\n                >\r\n                  Remove Invitation\r\n                </Typography>\r\n              </BtnGradient>\r\n            </Stack>\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default RemoveInvitationModal;\r\n","import { Avatar, Box, Popover, Stack, Typography } from \"@mui/material\";\r\nimport React, { useContext, useEffect, useMemo, useState } from \"react\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport {\r\n  debounce,\r\n  localDateFormat,\r\n} from \"../../../../../CommanFunctions/commanFunctions\";\r\nimport BtnWhiteBordered from \"../../../../../common-components/buttons/BtnWhiteBordered\";\r\nimport SearchInput from \"../../../../../common-components/SearchInput\";\r\nimport { ModelContext } from \"../../../../../HOC/ModelContext\";\r\nimport { useGetInvitedUsersListMutation } from \"../../../../../Redux/api/teamsApi\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport InviteMultipleUserModel from \"../../../../Invite-User/components/InviteMultipleUserModel\";\r\nimport TableComponent from \"../../../components/TableComponent\";\r\nimport RemoveInvitationModal from \"./RemoveInvitationModal\";\r\nimport { useSelector } from \"react-redux\";\r\n\r\nfunction Invitations() {\r\n  const [anchorEl, setAnchorEl] = useState(null);\r\n  const popoverId = Boolean(anchorEl) ? \"simple-popover\" : undefined;\r\n  const [tableData, setTableData] = useState(null);\r\n  const [searchValue, setSearchValue] = useState(\"\");\r\n  const [showRemoveInvitation, setShowRemoveInvitation] = useState(false);\r\n  const [selectedInvitation, setSelectedInvitation] = useState(\"\");\r\n  const userData = useSelector((state) => state.common.userData);\r\n  const isAccountOwnerAccess = userData.role;\r\n\r\n  // const [showMakeAdminModal, setShowMakeAdminModal] = useState(false);\r\n  const navigate = useNavigate();\r\n  const { inviteNewMembers, setInviteNewMembers } = useContext(ModelContext);\r\n  const [\r\n    getInvitedUsersList,\r\n    { data: invitationsData = [], isLoading: invitationsIsLoading },\r\n  ] = useGetInvitedUsersListMutation();\r\n\r\n  const workSpaceName = JSON.parse(\r\n    localStorage.getItem(\"user_data\")\r\n  )?.company_name;\r\n\r\n  useEffect(() => {\r\n    getInvitedUsersList();\r\n  }, []);\r\n\r\n  const handleCloseInviteUserModal = () => {\r\n    setInviteNewMembers(false);\r\n  };\r\n\r\n  const handleClick = (event, data) => {\r\n    setAnchorEl(event.currentTarget);\r\n  };\r\n\r\n  const handleCloseMoreMenu = () => {\r\n    setAnchorEl(null);\r\n  };\r\n\r\n  const columns = useMemo(\r\n    () => [\r\n      {\r\n        accessorKey: \"name\",\r\n        header: \"Name\",\r\n        minWidth: 150,\r\n        maxWidth: 200,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack flexDirection={\"row\"} alignItems={\"center\"} gap={\"12px\"}>\r\n              <Avatar\r\n                alt={row?.name}\r\n                src={row?.profile_picture}\r\n                sx={{\r\n                  height: \"36px !important\",\r\n                  width: \"36px !important\",\r\n                  fontSize: {\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  },\r\n                  boxSizing: \"border-box !important\",\r\n                  // pt: \"2px\",\r\n                  ...(!row?.profile_picture &&\r\n                    row?.profile_color && {\r\n                      backgroundColor: row?.profile_color,\r\n                    }),\r\n                }}\r\n              >\r\n                {row?.name &&\r\n                  row?.name\r\n                    .split(\" \")\r\n                    .map((word) => word[0]?.toUpperCase())\r\n                    .slice(0, 2)\r\n                    .join(\"\")}\r\n              </Avatar>\r\n\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                color={\"#18181B\"}\r\n                height={\"18px\"}\r\n              >\r\n                {row?.name ?? \"-\"}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"email_id\",\r\n        header: \"Email\",\r\n        minWidth: 150,\r\n        maxWidth: 200,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={\"#18181B\"}\r\n              height={\"18px\"}\r\n              sx={{\r\n                cursor: \"pointer\",\r\n              }}\r\n            >\r\n              {row?.email_id ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"invited_by\",\r\n        header: \"Invited by\",\r\n        minWidth: 150,\r\n        maxWidth: 150,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={\"#18181B\"}\r\n              height={\"18px\"}\r\n              sx={{\r\n                cursor: \"pointer\",\r\n              }}\r\n            >\r\n              {row?.invited_by ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"status\",\r\n        header: \"License\",\r\n        minWidth: 150,\r\n        maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={\"#18181B\"}\r\n              height={\"18px\"}\r\n              sx={{\r\n                cursor: \"pointer\",\r\n              }}\r\n            >\r\n              {row?.status === 5\r\n                ? \"Free User\"\r\n                : row?.status === 1\r\n                ? \"Full License\"\r\n                : row?.status === 4\r\n                ? \"Pending\"\r\n                : row?.status === 45\r\n                ? \"Pending\"\r\n                : \"N/A\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      // {\r\n      //   accessorKey: \"teams\",\r\n      //   header: \"Teams\",\r\n      //   enableResizing: false,\r\n      //   enableSorting: false,\r\n      //   minSize: 180,\r\n      //   maxSize: 600,\r\n      //   Cell: ({ cell, row }) => {\r\n      //     return (\r\n      //       <Typography\r\n      //         fontSize={fontSizes.fontSize14}\r\n      //         color={\"#18181B\"}\r\n      //         height={\"18px\"}\r\n      //         sx={{\r\n      //           cursor: \"pointer\",\r\n      //         }}\r\n      //         // onClick={() => {\r\n      //         //   addParamValue(\"userId\", row?.original?.user_id);\r\n      //         // }}\r\n      //       >\r\n      //         {row?.original?.team ?? \"-\"}\r\n      //       </Typography>\r\n      //     );\r\n      //   },\r\n      // },\r\n      {\r\n        accessorKey: \"invited_on\",\r\n        header: \"Invitation date\",\r\n        minWidth: 150,\r\n        maxWidth: 150,\r\n        // enableSorting: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={\"#18181B\"}\r\n              height={\"18px\"}\r\n              sx={{\r\n                cursor: \"pointer\",\r\n              }}\r\n            >\r\n              {localDateFormat(row?.invited_on)}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"team_id\",\r\n        header: \"Actions\",\r\n        minWidth: 150,\r\n        maxWidth: 150,\r\n        // enableSorting: true,\r\n        textCenter: true,\r\n        Cell: (row) => {\r\n          if (isAccountOwnerAccess === \"Account Owner\") {\r\n            return (\r\n              <Box\r\n                sx={{\r\n                  display: \"flex\",\r\n                  alignItems: \"center\",\r\n                  gap: \"0\",\r\n                  justifyContent: \"center\",\r\n                }}\r\n                ml={3}\r\n              >\r\n                <BtnWhiteBordered\r\n                  height={34}\r\n                  mdHeight={42}\r\n                  lgHeight={42}\r\n                  sx={{\r\n                    // border: `1px solid ${color.errorColor} !important`,\r\n                    transition: \"all 0.3s\",\r\n                    color: color.subTitle,\r\n                  }}\r\n                  hoverSx={\r\n                    {\r\n                      // border: `1px solid ${color.errorColor} !important`,\r\n                      // bgcolor: color.commonBorderColor,\r\n                      // fontWeight: fontWeight.weight500,\r\n                    }\r\n                  }\r\n                  onClick={() => {\r\n                    setShowRemoveInvitation(true);\r\n                    setSelectedInvitation(row);\r\n                  }}\r\n                >\r\n                  <Typography\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                    sx={{\r\n                      width: \"100%\",\r\n                      textWrap: \"wrap\",\r\n                    }}\r\n                  >\r\n                    Remove Invitation\r\n                  </Typography>\r\n                </BtnWhiteBordered>\r\n              </Box>\r\n            );\r\n          } else {\r\n            return <Typography>-</Typography>;\r\n          }\r\n        },\r\n      },\r\n    ],\r\n    // [resendInvitation]\r\n    []\r\n  );\r\n\r\n  const handleUserInfoClick = () => {\r\n    handleCloseMoreMenu();\r\n    localStorage.setItem(\"team_user_profile\", JSON.stringify(tableData));\r\n    navigate(\"/team-user-detail\");\r\n  };\r\n\r\n  const debouncedSearch = useMemo(\r\n    () =>\r\n      debounce((TakeSearchValue) => {\r\n        getInvitedUsersList({ searchValue: TakeSearchValue });\r\n      }, 750),\r\n    [getInvitedUsersList]\r\n  );\r\n\r\n  const handleSearchChange = (e) => {\r\n    const { value } = e.target;\r\n    setSearchValue(value);\r\n    debouncedSearch(value);\r\n  };\r\n\r\n  return (\r\n    <Box\r\n      position={\"relative\"}\r\n      sx={{\r\n        height: {\r\n          // xs: \"calc(100svh - 170px)\",\r\n          // lg: \"calc(100svh - 170px)\",\r\n          // xl: \"calc(100svh - 210px)\",\r\n          xs: \"calc(100svh - 188px)\",\r\n        },\r\n        overflowY: \"auto\",\r\n        \"&::-webkit-scrollbar\": {\r\n          width: \"0 !important\",\r\n          height: \"0 !important\",\r\n        },\r\n      }}\r\n    >\r\n      <Stack\r\n        borderRadius={\"6px 6px 0px 0px\"}\r\n        bgcolor={\"#FFFFFF\"}\r\n        direction={\"row\"}\r\n        alignItems={\"center\"}\r\n        justifyContent={\"space-between\"}\r\n        sx={{\r\n          flexWrap: \"wrap\",\r\n        }}\r\n        py={\"14px\"}\r\n        // p={{\r\n        //   xs: \"12px 32px 12px 24px\",\r\n        //   xl: \"19px 32px 19px 24px\",\r\n        // }}\r\n      >\r\n        {/* {(Number(totalRow) > 0 || searchValue?.trim()?.length > 0) && ( */}\r\n        <SearchInput\r\n          height={40}\r\n          width={{\r\n            xs: \"250px\",\r\n            md: \"350\",\r\n            xl: \"450px\",\r\n          }}\r\n          border=\"none !important\"\r\n          placeholder={\"Search by name, email\"}\r\n          formControlSx={{\r\n            width: {\r\n              xs: \"250px\",\r\n              md: \"350\",\r\n              xl: \"450px\",\r\n            },\r\n            \"& .MuiInputBase-root\": {\r\n              borderRadius: \"8px !important\",\r\n              backgroundColor: \"#FFF\",\r\n            },\r\n            \"& input\": {\r\n              mt: \"0px!important\",\r\n            },\r\n          }}\r\n          onChange={handleSearchChange}\r\n          value={searchValue}\r\n        />\r\n      </Stack>\r\n      <Box\r\n        sx={{\r\n          mt: \"12px\",\r\n        }}\r\n      >\r\n        <TableComponent\r\n          columns={columns}\r\n          data={invitationsData?.data?.resData ?? []}\r\n          isTableLoading={invitationsIsLoading}\r\n          // maxHeight={\"560px\"}\r\n          maxWidth=\"100%\"\r\n          placeholder={{\r\n            title: \"No Invitations Sent\",\r\n            desc: \"You haven’t sent any invitations yet. Invite users to join your team or workspace.\",\r\n          }}\r\n          showSortingIconOnHover={false}\r\n          maxHeight={{\r\n            xs: \"calc(100vh - 188px)\",\r\n            sm: \"calc(100vh - 220px)\",\r\n            md: \"calc(100vh - 250px)\",\r\n            lg: \"calc(100vh - 270px)\",\r\n            xl: \"calc(100vh - 290px)\",\r\n          }}\r\n          emptyBoxHeight={{\r\n            xs: \"calc(100vh - 300px)\",\r\n            sm: \"calc(100vh - 340px)\",\r\n            md: \"calc(100vh - 340px)\",\r\n            lg: \"calc(100vh - 340px)\",\r\n            xl: \"calc(100vh - 360px)\",\r\n          }}\r\n        />\r\n      </Box>\r\n      {/* <Stack\r\n        sx={{\r\n          // mr: \"32px\",\r\n          // ml: \"24px\",\r\n          display: \"grow\",\r\n          flexDirection: \"row\",\r\n          alignItems: \"center\",\r\n          justifyContent: \"space-between\",\r\n          alignItems: \"center\",\r\n          borderBottom: \"1px solid #0000001A\",\r\n          borderLeft: \"1px solid #0000001A\",\r\n          borderRight: \"1px solid #0000001A\",\r\n          bgcolor: \"#fff\",\r\n          px: \"20px\",\r\n          borderRadius: \"0px 0px 12px 12px\",\r\n          height: \"65px\",\r\n        }}\r\n      >\r\n        <Typography fontSize={13.5} color={\"#7E899F\"} height={\"18px\"}>\r\n          Showing 1 to 10 of 25 entries\r\n        </Typography>\r\n      </Stack> */}\r\n\r\n      {/* {inviteNewMembers && (\r\n        <InviteMultipleUserModel\r\n          open={inviteNewMembers}\r\n          handleCloseInviteUserModal={handleCloseInviteUserModal}\r\n          modalTitle={`Invite Users to ${workSpaceName}`}\r\n          modalSubTitle=\"Expand your team and collaborate effectively by inviting members to your workspace. Assign roles to control access and permissions.\"\r\n          hidePermissions={true}\r\n          fetchApiCall={() => getInvitedUsersList()}\r\n        />\r\n      )} */}\r\n\r\n      {showRemoveInvitation && (\r\n        <RemoveInvitationModal\r\n          open={showRemoveInvitation}\r\n          onClose={() => setShowRemoveInvitation(false)}\r\n          selectedInvitation={selectedInvitation}\r\n          fetchApiCall={() => getInvitedUsersList()}\r\n        />\r\n      )}\r\n      <Popover\r\n        id={popoverId}\r\n        open={Boolean(anchorEl)}\r\n        anchorEl={anchorEl}\r\n        onClose={handleCloseMoreMenu}\r\n        anchorOrigin={{\r\n          vertical: \"bottom\",\r\n          horizontal: \"left\",\r\n        }}\r\n        sx={{\r\n          \"& .MuiPaper-root\": {\r\n            boxShadow: \"0px 3px 8px 0px rgba(3, 11, 22, 0.08)\",\r\n            border: \"1px solid #EFF0F3\",\r\n            borderRadius: \"6px\",\r\n            Width: \"257px\",\r\n          },\r\n        }}\r\n      >\r\n        <Stack\r\n          sx={{\r\n            display: \"flex\",\r\n            flexDirection: \"column\",\r\n            p: \"8px\",\r\n            gap: \"4px\",\r\n            bgcolor: \"#FFF\",\r\n            borderRadius: \"6px\",\r\n          }}\r\n        >\r\n          {/* User Info */}\r\n          {/* <Stack\r\n            direction=\"row\"\r\n            alignItems=\"center\"\r\n            gap=\"8px\"\r\n            px=\"8px\"\r\n            height=\"34px\"\r\n            sx={{\r\n              cursor: \"pointer\",\r\n              bgcolor: \"transparent\",\r\n              transition: \"all 0.3s ease\",\r\n              color: \"#18181B\",\r\n              borderRadius: \"8px\",\r\n              \"&:hover\": {\r\n                color: \"#007AFF\",\r\n                bgcolor: \"rgba(0, 122, 255, 0.1)\",\r\n                fontWeight: 600,\r\n              },\r\n            }}\r\n            onClick={() => {\r\n              handleUserInfoClick();\r\n            }}\r\n          >\r\n            <Typography fontSize={fontSizes.mediumFont} height=\"18px\">\r\n              User Info\r\n            </Typography>\r\n          </Stack> */}\r\n\r\n          {/* Revoke Invitation */}\r\n          <Stack\r\n            direction=\"row\"\r\n            alignItems=\"center\"\r\n            gap=\"8px\"\r\n            px=\"8px\"\r\n            height=\"34px\"\r\n            sx={{\r\n              cursor: \"pointer\",\r\n              bgcolor: \"transparent\",\r\n              transition: \"all 0.3s ease\",\r\n              color: color.errorColor,\r\n              borderRadius: \"8px\",\r\n              \"&:hover\": {\r\n                color: color.primaryColor,\r\n                bgcolor: \"rgba(0, 122, 255, 0.1)\",\r\n                fontWeight: 600,\r\n              },\r\n            }}\r\n            onClick={() => {\r\n              handleCloseMoreMenu();\r\n            }}\r\n          >\r\n            <Typography fontSize={fontSizes.mediumFont} height=\"18px\">\r\n              Revoke Invitation\r\n            </Typography>\r\n          </Stack>\r\n        </Stack>\r\n      </Popover>\r\n    </Box>\r\n  );\r\n}\r\n\r\nexport default Invitations;\r\n","import React, { useEffect, useMemo, useState } from \"react\";\r\nimport {\r\n  useGetTeamListWithSearchMutation,\r\n  useLeaveTeamMutation,\r\n} from \"../../../../../Redux/api/teamsApi\";\r\nimport { Avatar, Box, Stack, Typography } from \"@mui/material\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { localDateFormat } from \"../../../../../CommanFunctions/commanFunctions\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { commonStyles } from \"../../../../../Utils/style/common/commonStyles\";\r\nimport { IcMenuDotsVertical, IcSortingTableAse, IcSortingTableDes } from \"../../../../../assets/icon-components\";\r\nimport TableComponent from \"../../../components/TableComponent\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport LeaveTeam from \"./LeaveTeam\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { errorToast, successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { updateTeamIdInLocalStorage } from \"../../../../../Utils/functions/updateTeamIdInLocalStorage\";\r\n\r\nconst InviteUserTeamsShared = () => {\r\n  const [leaveId, setLeaveId] = useState(null);\r\n  const dispatch = useDispatch();\r\n  const [\r\n    getTeamListByStatus,\r\n    { data: teamsList, isLoading: loadingSharedTeam },\r\n  ] = useGetTeamListWithSearchMutation();\r\n\r\n  const [\r\n    leaveFromTeam,\r\n    { data: leaveData, isLoading: leaving, error: errorInLeaving },\r\n  ] = useLeaveTeamMutation();\r\n\r\n  useEffect(() => {\r\n    fetchTeamsList();\r\n  }, []);\r\n  const fetchTeamsList = () => {\r\n    getTeamListByStatus({ status: \"shared\" }).then((data) => {\r\n      const activeTeam = localStorage.getItem(\"active_team\");\r\n      if (\r\n        !data?.data?.data?.resData?.find((item) => item?.team_id === activeTeam)\r\n      ) {\r\n        updateTeamIdInLocalStorage(data?.data?.data?.resData?.[0]?.team_id);\r\n      }\r\n      // updateTeamIdInLocalStorage(data?.data?.data?.resData?.[0]?.team_id);\r\n    });\r\n  };\r\n\r\n  const columns = useMemo(\r\n    () => [\r\n      {\r\n        accessorKey: \"team_name\",\r\n        header: \"Team Name\",\r\n        // minWidth: 150,\r\n        // maxWidth: 200,\r\n        enableSorting: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack flexDirection={\"row\"} alignItems={\"center\"} gap={\"12px\"}>\r\n              <Avatar\r\n                alt={row?.team_name}\r\n                src={row?.logo}\r\n                sx={{\r\n                  height: \"36px !important\",\r\n                  width: \"36px !important\",\r\n                  fontSize: {\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  },\r\n                  boxSizing: \"border-box !important\",\r\n                  // pt: \"2px\",\r\n                  ...(!row?.logo && row?.profile_color && {\r\n                    backgroundColor: row?.profile_color,\r\n                  }),\r\n                }}\r\n              >\r\n                {row?.team_name &&\r\n                  row?.team_name\r\n                    .split(\" \")\r\n                    .map((word) => word[0]?.toUpperCase())\r\n                    .slice(0, 2)\r\n                    .join(\"\")}\r\n              </Avatar>\r\n\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                height={\"18px\"}\r\n              >\r\n                {row?.team_name ?? \"-\"}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"members\",\r\n        header: \"Member\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"27px\",\r\n              }}\r\n            >\r\n              {row?.members?.length ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"boards_count\",\r\n        header: \"Boards\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"20px\",\r\n              }}\r\n            >\r\n              {row?.boards_count ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n\r\n      {\r\n        accessorKey: \"updated_at\",\r\n        header: \"Deleted on\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack>\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                height={\"18px\"}\r\n                sx={{\r\n                  marginLeft: \"30px\",\r\n                }}\r\n              >\r\n                {`${localDateFormat(row?.updated_at) ?? \"-\"}`}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"team_id\",\r\n        header: \"Actions\",\r\n        enableSorting: false,\r\n        minWidth: 100,\r\n        maxWidth: 100,\r\n        // enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <BtnColoredOutlined\r\n              height={36}\r\n              bgcolor={color.whiteColor}\r\n              borderColor={color.errorColor}\r\n              sx={{\r\n                color: color.errorColor,\r\n              }}\r\n              hoverSx={{\r\n                bgcolor: color.lightErrorColor,\r\n              }}\r\n              onClick={() => {\r\n                setLeaveId(row);\r\n              }}\r\n            >\r\n              Leave\r\n            </BtnColoredOutlined>\r\n          );\r\n        },\r\n      },\r\n    ],\r\n    []\r\n  );\r\n\r\n  const handleLeaveTeam = () => {\r\n    const activeTeam = localStorage.getItem(\"active_team\");\r\n    // const firstTeam = teamsList?.data?.resData[0];\r\n    leaveFromTeam(leaveId?.team_id).then((res) => {\r\n      if (res?.data?.status) {\r\n        dispatch(\r\n          successToast({\r\n            message: res?.data?.message,\r\n          })\r\n        );\r\n        fetchTeamsList();\r\n        setLeaveId(null);\r\n      }\r\n      if (res?.error) {\r\n        dispatch(\r\n          errorToast({\r\n            message: res?.error?.message,\r\n          })\r\n        );\r\n      }\r\n    });\r\n  };\r\n\r\n  return (\r\n    <Box\r\n      sx={{\r\n        mt: \"12px\",\r\n      }}\r\n    >\r\n      <TableComponent\r\n        columns={columns}\r\n        data={teamsList?.data?.resData || []}\r\n        isTableLoading={loadingSharedTeam}\r\n        // maxHeight={\"560px\"}\r\n        // maxWidth=\"100%\"\r\n        placeholder={{\r\n          title: \"No Shared Teams\",\r\n          desc: \"Create a team to collaborate on projects and manage tasks together.\",\r\n        }}\r\n        customSortIcons={{\r\n          ascending: <IcSortingTableAse />,\r\n          descending: <IcSortingTableDes />,\r\n        }}\r\n        showSortingIconOnHover={false}\r\n        // maxHeight={{\r\n        //   xs: \"calc(100vh - 188px)\",\r\n        //   sm: \"calc(100vh - 220px)\",\r\n        //   md: \"calc(100vh - 260px)\",\r\n        //   lg: \"calc(100vh - 300px)\",\r\n        //   xl: \"calc(100vh - 345px)\",\r\n        // }}\r\n        // emptyBoxHeight={{\r\n        //   xs: \"calc(100vh - 300px)\",\r\n        //   sm: \"calc(100vh - 340px)\",\r\n        //   md: \"calc(100vh - 380px)\",\r\n        //   lg: \"calc(100vh - 370px)\",\r\n        //   // xl: \"calc(100vh - 410px)\",\r\n        //   xl: \"calc(100vh - 395px)\",\r\n        // }}\r\n      />\r\n      <LeaveTeam\r\n        loading={leaving}\r\n        teamName={leaveId?.team_name}\r\n        open={leaveId}\r\n        handleOK={handleLeaveTeam}\r\n        handleClose={() => setLeaveId(null)}\r\n      />\r\n    </Box>\r\n  );\r\n};\r\n\r\nexport default InviteUserTeamsShared;\r\n","import React, { useEffect, useMemo, useState } from \"react\";\r\nimport {\r\n  useDeleteTeamByIdMutation,\r\n  useGetTeamListWithSearchMutation,\r\n} from \"../../../../../Redux/api/teamsApi\";\r\nimport { Avatar, Box, Stack, Typography } from \"@mui/material\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { localDateFormat } from \"../../../../../CommanFunctions/commanFunctions\";\r\nimport {\r\n  IcSortingTableAse,\r\n  IcSortingTableDes,\r\n  IcTrash,\r\n} from \"../../../../../assets/icon-components\";\r\nimport TableComponent from \"../../../components/TableComponent\";\r\nimport DeleteTeam from \"./DeleteTeam\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { errorToast, successToast } from \"../../../../../Redux/toastSlice\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { useNavigate } from \"react-router-dom\";\r\n\r\nconst InviteUserTeamsOwned = () => {\r\n  const dispatch = useDispatch();\r\n  const navigate = useNavigate();\r\n  const [selectedTeamInfo, setSelectedTeamInfo] = useState(null);\r\n  const [\r\n    getTeamListByStatus,\r\n    { data: teamsList, isLoading: loadingSharedTeam },\r\n  ] = useGetTeamListWithSearchMutation();\r\n  const [\r\n    deleteTeam,\r\n    { isLoading: deletingInprogress, error: errorInCreating },\r\n  ] = useDeleteTeamByIdMutation();\r\n\r\n  useEffect(() => {\r\n    fetchTeamsList();\r\n  }, []);\r\n\r\n  const fetchTeamsList = () => {\r\n    getTeamListByStatus({ status: \"owned\" });\r\n  };\r\n\r\n  const columns = useMemo(\r\n    () => [\r\n      {\r\n        accessorKey: \"team_name\",\r\n        header: \"Team Name\",\r\n        // minWidth: 150,\r\n        // maxWidth: 200,\r\n        enableSorting: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack flexDirection={\"row\"} alignItems={\"center\"} gap={\"12px\"}>\r\n              <Avatar\r\n                alt={row?.team_name}\r\n                src={row?.logo}\r\n                sx={{\r\n                  height: \"36px !important\",\r\n                  width: \"36px !important\",\r\n                  fontSize: {\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  },\r\n                  boxSizing: \"border-box !important\",\r\n                  // pt: \"2px\",\r\n                  ...(!row?.logo &&\r\n                    row?.profile_color && {\r\n                      backgroundColor: row?.profile_color,\r\n                    }),\r\n                }}\r\n              >\r\n                {row?.team_name &&\r\n                  row?.team_name\r\n                    .split(\" \")\r\n                    .map((word) => word[0]?.toUpperCase())\r\n                    .slice(0, 2)\r\n                    .join(\"\")}\r\n              </Avatar>\r\n\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                height={\"18px\"}\r\n                sx={{\r\n                  cursor: \"pointer\",\r\n                  color: color.titleDark,\r\n                  fontWeight: fontWeight.weight600,\r\n                  \":hover\": {\r\n                    color: color.primaryColor,\r\n                    textDecoration: \"underline\",\r\n                  },\r\n                }}\r\n                onClick={() => {\r\n                  sessionStorage.setItem(\r\n                    \"firstTeam\",\r\n                    teamsList?.data?.resData?.[0]?.team_id\r\n                  );\r\n                  sessionStorage.setItem(\r\n                    \"selectedTeam\",\r\n                    JSON.stringify({\r\n                      selectedTeamId: row?.team_id,\r\n                      selectedTeamName: row?.team_name,\r\n                      createdById: row?.created_by_id,\r\n                    })\r\n                  );\r\n                  navigate(`/user/manage-teams/team-profile/team-user`);\r\n                }}\r\n              >\r\n                {row?.team_name ?? \"-\"}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"members\",\r\n        header: \"Member\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"27px\",\r\n              }}\r\n            >\r\n              {row?.members?.length ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"boards_count\",\r\n        header: \"Boards\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"20px\",\r\n              }}\r\n            >\r\n              {row?.boards_count ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"deleted_by\",\r\n        header: \"Deleted by\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: row?.deleted_by ? \"\" : \"30px\",\r\n              }}\r\n            >\r\n              {row?.deleted_by ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"updated_at\",\r\n        header: \"Deleted on\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack>\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                height={\"18px\"}\r\n                sx={{\r\n                  marginLeft: row?.updated_at ? \"\" : \"30px\",\r\n                }}\r\n              >\r\n                {`${localDateFormat(row?.updated_at) ?? \"-\"}`}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"team_id\",\r\n        header: \"Actions\",\r\n        enableSorting: false,\r\n        minWidth: 100,\r\n        maxWidth: 100,\r\n        // enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <BtnGradient\r\n              onClick={(e) => setSelectedTeamInfo(row)}\r\n              btnColor=\"white\"\r\n              sx={{\r\n                color: color.errorColor,\r\n                fontWeight: fontWeight.weight600,\r\n                // minWidth: \"40px\",\r\n                minWidth: \"36px\",\r\n                height: \"36px\",\r\n                fontSize: {\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                },\r\n                borderRadius: \"8px\",\r\n                background: \"#FFFFFF\",\r\n                \"& path\": {\r\n                  transitionDuration: \"300ms\",\r\n                },\r\n                \"&:hover\": {\r\n                  backgroundColor: \"#FF503029\",\r\n\r\n                  \"& path\": {\r\n                    stroke: \"#FF5030\",\r\n                  },\r\n                },\r\n              }}\r\n            >\r\n              <IcTrash height=\"22\" width=\"22\" stroke={\"#848382\"} />\r\n            </BtnGradient>\r\n          );\r\n        },\r\n      },\r\n    ],\r\n    []\r\n  );\r\n\r\n  const handleDeleteTeam = () => {\r\n    deleteTeam(selectedTeamInfo?.team_id)\r\n      .then((data) => {\r\n        if (data?.error) {\r\n          dispatch(\r\n            errorToast({\r\n              message: data?.error?.data?.message,\r\n            })\r\n          );\r\n        } else {\r\n          dispatch(\r\n            successToast({\r\n              message: data?.data?.message,\r\n            })\r\n          );\r\n          fetchTeamsList();\r\n          setSelectedTeamInfo(null);\r\n        }\r\n      })\r\n      .catch((error) => {\r\n        dispatch(\r\n          errorToast({\r\n            message: errorInCreating?.data?.message,\r\n          })\r\n        );\r\n      });\r\n  };\r\n\r\n  return (\r\n    <Box\r\n      sx={{\r\n        mt: \"12px\",\r\n      }}\r\n    >\r\n      <TableComponent\r\n        columns={columns}\r\n        data={teamsList?.data?.resData || []}\r\n        isTableLoading={loadingSharedTeam}\r\n        // maxHeight={\"560px\"}\r\n        // maxWidth=\"100%\"\r\n        placeholder={{\r\n          title: \"No Teams Created\",\r\n          desc: \"Create a team to collaborate on projects and manage tasks together.\",\r\n        }}\r\n        customSortIcons={{\r\n          ascending: <IcSortingTableAse />,\r\n          descending: <IcSortingTableDes />,\r\n        }}\r\n        showSortingIconOnHover={false}\r\n        // maxHeight={{\r\n        //   xs: \"calc(100vh - 188px)\",\r\n        //   sm: \"calc(100vh - 220px)\",\r\n        //   md: \"calc(100vh - 260px)\",\r\n        //   lg: \"calc(100vh - 300px)\",\r\n        //   xl: \"calc(100vh - 345px)\",\r\n        // }}\r\n        // emptyBoxHeight={{\r\n        //   xs: \"calc(100vh - 300px)\",\r\n        //   sm: \"calc(100vh - 340px)\",\r\n        //   md: \"calc(100vh - 380px)\",\r\n        //   lg: \"calc(100vh - 370px)\",\r\n        //   // xl: \"calc(100vh - 410px)\",\r\n        //   xl: \"calc(100vh - 395px)\",\r\n        // }}\r\n      />\r\n      <DeleteTeam\r\n        handleClose={() => setSelectedTeamInfo(null)}\r\n        open={selectedTeamInfo}\r\n        loading={deletingInprogress}\r\n        handleClickDelete={handleDeleteTeam}\r\n        teamName={selectedTeamInfo?.team_name}\r\n        isDeleteTeam\r\n      />\r\n    </Box>\r\n  );\r\n};\r\n\r\nexport default InviteUserTeamsOwned;\r\n","import React, { useState } from \"react\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { commonStyles } from \"../../../../../Utils/style/common/commonStyles\";\r\nimport { Box, Tab, Tabs } from \"@mui/material\";\r\nimport CommonDivider from \"../../../../../common-components/CommonDivider\";\r\nimport InviteUserTeamsShared from \"./InviteUserTeamsShared\";\r\nimport InviteUserTeamsOwned from \"./InviteUserTeamsOwned\";\r\n\r\nconst InviteUserTeams = () => {\r\n  const [tabValue, setTabValue] = useState(0);\r\n  const handleTabChange = (event, newValue) => {\r\n    setTabValue(newValue);\r\n  };\r\n\r\n  function a11yProps(index) {\r\n    return {\r\n      id: `simple-tab-${index}`,\r\n      \"aria-controls\": `simple-tabpanel-${index}`,\r\n    };\r\n  }\r\n  return (\r\n    <Box>\r\n      <Tabs\r\n        value={tabValue}\r\n        onChange={handleTabChange}\r\n        aria-label=\"basic tabs example\"\r\n        sx={{\r\n          minHeight: \"40px !important\",\r\n          \"& .MuiTab-root\": {\r\n            color: color.subTitle,\r\n            textTransform: \"capitalize\",\r\n            // fontSize: fontSizes.mediumFont,\r\n            fontSize: {\r\n              xs: fontSizes.mediumFont,\r\n              md: fontSizes.fontSize13,\r\n              xl: fontSizes.fontSize14,\r\n            },\r\n            fontWeight: fontWeight.weight500,\r\n          },\r\n          \"& .MuiTab-textColorPrimary\": {\r\n            background: \"#FFF\",\r\n            borderRadius: commonStyles.borderRadiusMD,\r\n            \"&:hover\": {\r\n              bgcolor: color.greyHover,\r\n              fontWeight: fontWeight.weight500,\r\n              color: color.titleDark,\r\n            },\r\n          },\r\n          \"& .MuiTab-textColorPrimary.Mui-selected\": {\r\n            color: color.primaryColor,\r\n            // background: \"#007AFF1A\",\r\n            // background: \"#6762FE1A\",\r\n            background: color.lightPrimary,\r\n            borderRadius: commonStyles.borderRadiusMD,\r\n            fontWeight: fontWeight.weight600,\r\n\r\n            // \"&:hover\": {\r\n            //   bgcolor: color.greyHover,\r\n            //   color: color.titleDark,\r\n            //   fontWeight: fontWeight.weight600,\r\n            // },\r\n          },\r\n          \"& .MuiTabs-indicator\": {\r\n            display: \"none\",\r\n          },\r\n          \"& .MuiButtonBase-root\": {\r\n            padding: \"11px 16px\",\r\n            minHeight: \"32px\",\r\n            lineHeight: \"18px\",\r\n          },\r\n        }}\r\n      >\r\n        <Tab\r\n          label=\"Shared team\"\r\n          {...a11yProps(0)}\r\n          sx={{ alignItems: \"center\" }}\r\n        />\r\n        <Tab\r\n          label=\"Create by you\"\r\n          {...a11yProps(1)}\r\n          sx={{ alignItems: \"center\", ml: 1 }}\r\n        />\r\n      </Tabs>\r\n      <CommonDivider\r\n        my={\"0px\"}\r\n        border={`1px solid ${color.darkGray}`}\r\n        sx={{\r\n          mb: \"20px\",\r\n          mt: \"20px\",\r\n          opacity: 1,\r\n        }}\r\n      />\r\n\r\n      {tabValue === 0 && <InviteUserTeamsShared />}\r\n\r\n      {tabValue === 1 && <InviteUserTeamsOwned />}\r\n    </Box>\r\n  );\r\n};\r\n\r\nexport default InviteUserTeams;\r\n","import React from \"react\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"550px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"30px 24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst LeaveTeam = ({ open, handleClose, handleOK, loading, teamName }) => {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.titleFont,\r\n              md: fontSizes.modelTitle,\r\n              xl: fontSizes.modelTitle1,\r\n            }}\r\n            fontWeight={fontWeight.weight800}\r\n            color={color.titleDark}\r\n            height={{\r\n              xs: \"24px\",\r\n              xl: \"30px\",\r\n            }}\r\n          >\r\n            {/* Leave team? */}\r\n            Leave Team {teamName}?\r\n          </Typography>\r\n          <IconButton\r\n            sx={{\r\n              width: \"36px !important\",\r\n              height: \"36px !important\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Typography\r\n          variant=\"subtitle1\"\r\n          sx={{\r\n            fontWeight: 400,\r\n            fontSize: {\r\n              xs: fontSizes.mediumFont,\r\n              md: fontSizes.fontSize13,\r\n              xl: fontSizes.fontSize14,\r\n            },\r\n            color: color.subTitle,\r\n          }}\r\n          mt={1.5}\r\n        >\r\n          Are you sure you want to leave the team{\" \"}\r\n          <Typography\r\n            component=\"span\"\r\n            sx={{\r\n              color: color.titleDark,\r\n              fontWeight: fontWeight.weight600,\r\n              fontSize: {\r\n                xs: fontSizes.mediumFont,\r\n                md: fontSizes.fontSize13,\r\n                xl: fontSizes.fontSize14,\r\n              },\r\n            }}\r\n          >\r\n            {teamName}?\r\n          </Typography>\r\n          ?\r\n        </Typography>\r\n\r\n        <Stack gap={\"32px\"} mt={2}>\r\n          <Stack gap={\"8px\"}>\r\n            <Stack\r\n              direction={\"row\"}\r\n              gap={\"8px\"}\r\n              alignItems={\"flex-start\"}\r\n              ml={1}\r\n            >\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                color={color.subTitle}\r\n                fontWeight={fontWeight.weight400}\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n              >\r\n                You will lose access to all boards, spaces, and data within this\r\n                team.\r\n              </Typography>\r\n            </Stack>\r\n            <Stack\r\n              direction={\"row\"}\r\n              gap={\"8px\"}\r\n              alignItems={\"flex-start\"}\r\n              ml={1}\r\n            >\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                color={color.subTitle}\r\n                fontWeight={fontWeight.weight400}\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n              >\r\n                You can rejoin later if invited back by a team admin.\r\n              </Typography>\r\n            </Stack>\r\n          </Stack>\r\n        </Stack>\r\n\r\n        <Typography\r\n          color={color.subTitle}\r\n          fontWeight={fontWeight.weight400}\r\n          fontSize={{\r\n            xs: fontSizes.fontSize13,\r\n            md: fontSizes.fontSize14,\r\n          }}\r\n          mt={2}\r\n        >\r\n          <Typography\r\n            component=\"span\"\r\n            sx={{\r\n              color: color.titleDark,\r\n              fontWeight: fontWeight.weight600,\r\n              fontSize: {\r\n                xs: fontSizes.mediumFont,\r\n                md: fontSizes.fontSize13,\r\n                xl: fontSizes.fontSize14,\r\n              },\r\n            }}\r\n          >\r\n            Note:\r\n          </Typography>{\" \"}\r\n          This action will not affect other team members or the team's content.\r\n        </Typography>\r\n\r\n        <Stack\r\n          mt={{\r\n            xs: \"20px\",\r\n            xl: \"35px\",\r\n          }}\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"flex-end\"}\r\n          gap={\"14px\"}\r\n        >\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n          <BtnColoredOutlined\r\n            onClick={() => handleOK()}\r\n            loading={loading}\r\n            borderColor=\"#E03F34\"\r\n            bgcolor=\"#E03F34\"\r\n            sx={{\r\n              px: \"24px\",\r\n              \"& p\": {\r\n                color: \"#FFFFFF\",\r\n              },\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.errorDarkColor,\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={500}\r\n            >\r\n              Leave\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n};\r\n\r\nexport default LeaveTeam;\r\n","import React, { useState } from \"react\";\r\nimport {\r\n  Box,\r\n  FormControlLabel,\r\n  IconButton,\r\n  Stack,\r\n  styled,\r\n  Switch,\r\n  Typography,\r\n} from \"@mui/material\";\r\nimport Loader from \"../../../../../CommanUI/Loader/loader\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport LargeSimpleInput from \"../../../../../common-components/LargeSimpleInput\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  maxWidth: \"570px\",\r\n  width: {\r\n    xs: \"90%\",\r\n    md: \"70%\",\r\n    xl: \"100%\",\r\n  },\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px 10px\",\r\n    md: \"20px 16px\",\r\n    xl: \"30px 24px\",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst ManageCookiesModal = ({ open, onClose, profileData }) => {\r\n  const [loading, setLoading] = useState(false);\r\n\r\n  const SwitchBox = styled((props) => (\r\n    <Switch\r\n      focusVisibleClassName=\".Mui-focusVisible\"\r\n      disableRipple\r\n      {...props}\r\n    />\r\n  ))(({ theme }) => ({\r\n    width: 44,\r\n    height: 24,\r\n    padding: 0,\r\n    \"& .MuiSwitch-switchBase\": {\r\n      padding: 0,\r\n      margin: 2,\r\n      transitionDuration: \"300ms\",\r\n      \"&.Mui-checked\": {\r\n        transform: \"translateX(20px)\",\r\n        color: \"#fff\",\r\n        \"& + .MuiSwitch-track\": {\r\n          backgroundColor: color.primaryColor,\r\n          opacity: 1,\r\n          border: 0,\r\n          ...theme.applyStyles(\"dark\", {\r\n            backgroundColor: \"#2ECA45\",\r\n          }),\r\n        },\r\n        \"&.Mui-disabled + .MuiSwitch-track\": {\r\n          opacity: 0.5,\r\n        },\r\n      },\r\n      \"&.Mui-focusVisible .MuiSwitch-thumb\": {\r\n        color: \"#33cf4d\",\r\n        border: \"6px solid #fff\",\r\n      },\r\n      \"&.Mui-disabled .MuiSwitch-thumb\": {\r\n        color: theme.palette.grey[100],\r\n        ...theme.applyStyles(\"dark\", {\r\n          color: theme.palette.grey[600],\r\n        }),\r\n      },\r\n      \"&.Mui-disabled + .MuiSwitch-track\": {\r\n        opacity: 0.7,\r\n        ...theme.applyStyles(\"dark\", {\r\n          opacity: 0.3,\r\n        }),\r\n      },\r\n    },\r\n    \"& .MuiSwitch-thumb\": {\r\n      boxSizing: \"border-box\",\r\n      width: 20,\r\n      height: 20,\r\n    },\r\n    \"& .MuiSwitch-track\": {\r\n      borderRadius: 24 / 2,\r\n      backgroundColor: \"#E9E9EA\",\r\n      opacity: 1,\r\n      transition: theme.transitions.create([\"background-color\"], {\r\n        duration: 500,\r\n      }),\r\n      ...theme.applyStyles(\"dark\", {\r\n        backgroundColor: \"#39393D\",\r\n      }),\r\n    },\r\n  }));\r\n\r\n  return (\r\n    <>\r\n      <CustomModal open={open} handleClose={loading ? () => {} : onClose}>\r\n        <Box sx={style}>\r\n          {loading && <Loader />}\r\n          <Stack width={\"100%\"}>\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.titleFont,\r\n                md: fontSizes.modelTitle,\r\n                xl: fontSizes.modelTitle1,\r\n              }}\r\n              fontWeight={fontWeight.weight800}\r\n              color={color.titleDark}\r\n            >\r\n              Cookie Management\r\n            </Typography>\r\n            <IconButton\r\n              sx={{\r\n                position: \"absolute\",\r\n                top: {\r\n                  xs: \"20px\",\r\n                  xl: \"30px\",\r\n                },\r\n                right: {\r\n                  xs: \"20px\",\r\n                  xl: \"30px\",\r\n                },\r\n                width: {\r\n                  xs: \"28px !important\",\r\n                  xl: \"36px !important\",\r\n                },\r\n                height: {\r\n                  xs: \"28px !important\",\r\n                  xl: \"36px !important\",\r\n                },\r\n                borderRadius: \"50%\",\r\n                bgcolor: \"#EFF0F3\",\r\n                transition: \"all 0.3s ease\",\r\n                \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n              }}\r\n              onClick={onClose}\r\n            >\r\n              <IcCloseThin fill=\"#18181B\" />\r\n            </IconButton>\r\n            <Typography\r\n              color={\"#848382\"}\r\n              fontSize={\"14px\"}\r\n              fontWeight={400}\r\n              mt={\"16px\"}\r\n            >\r\n              When you visit websites, they may store or retrieve data about you\r\n              using cookies and similar technologies (\"cookies\"). Cookies may be\r\n              necessary for the basic functionality of the website as well as\r\n              other purposes. You have the option of disabling certain types of\r\n              cookies, though doing so may impact your experience on the website\r\n            </Typography>\r\n\r\n            <Stack gap={\"24px\"} mt={\"24px\"}>\r\n              <Box>\r\n                <Stack\r\n                  flexDirection={\"row\"}\r\n                  justifyContent={\"space-between\"}\r\n                  alignItems={\"center\"}\r\n                >\r\n                  <Typography\r\n                    color={\"#18181B\"}\r\n                    fontSize={\"16px\"}\r\n                    fontWeight={500}\r\n                  >\r\n                    Performance Cookies\r\n                  </Typography>\r\n                  <SwitchBox defaultChecked />\r\n                </Stack>\r\n                <Typography\r\n                  color={\"#848382\"}\r\n                  fontSize={\"14px\"}\r\n                  fontWeight={400}\r\n                  mt={\"4px\"}\r\n                >\r\n                  These cookies help us measure and improve site performance by\r\n                  tracking visits and page popularity. The data is anonymous and\r\n                  aggregated. Disabling them means we won't be able to monitor\r\n                  site activity.\r\n                </Typography>\r\n              </Box>\r\n              <Box>\r\n                <Stack\r\n                  flexDirection={\"row\"}\r\n                  justifyContent={\"space-between\"}\r\n                  alignItems={\"center\"}\r\n                >\r\n                  <Typography\r\n                    color={\"#18181B\"}\r\n                    fontSize={\"16px\"}\r\n                    fontWeight={500}\r\n                  >\r\n                    Functionality Cookies\r\n                  </Typography>\r\n                  <SwitchBox defaultChecked />\r\n                </Stack>\r\n                <Typography\r\n                  color={\"#848382\"}\r\n                  fontSize={\"14px\"}\r\n                  fontWeight={400}\r\n                  mt={\"4px\"}\r\n                >\r\n                  These cookies enhance functionality and personalization. They\r\n                  may come from us or third parties. Disabling them could affect\r\n                  the performance of some services.\r\n                </Typography>\r\n              </Box>\r\n              <Box>\r\n                <Stack\r\n                  flexDirection={\"row\"}\r\n                  justifyContent={\"space-between\"}\r\n                  alignItems={\"center\"}\r\n                >\r\n                  <Typography\r\n                    color={\"#18181B\"}\r\n                    fontSize={\"16px\"}\r\n                    fontWeight={500}\r\n                  >\r\n                    Advertising Cookies\r\n                  </Typography>\r\n                  <SwitchBox />\r\n                </Stack>\r\n                <Typography\r\n                  color={\"#848382\"}\r\n                  fontSize={\"14px\"}\r\n                  fontWeight={400}\r\n                  mt={\"4px\"}\r\n                >\r\n                  May be set by our partners to build a profile of your\r\n                  interests and show relevant ads on other sites. They don’t\r\n                  store personal info but identify your browser and device.\r\n                  Disabling them may reduce targeted ads.\r\n                </Typography>\r\n              </Box>\r\n            </Stack>\r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"center\"}\r\n              justifyContent={\"flex-end\"}\r\n              gap={\"20px\"}\r\n              mt={\"24px\"}\r\n            >\r\n              <BtnColoredOutlined\r\n                bgcolor={color.greyHover}\r\n                borderColor={color.commonBorderColor}\r\n                sx={{\r\n                  px: \"24px\",\r\n                  transition: \"all 0.2s\",\r\n                }}\r\n                hoverSx={{\r\n                  bgcolor: color.darkGray,\r\n                }}\r\n                onClick={onClose}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  height={\"19px\"}\r\n                  color={color.subTitle}\r\n                >\r\n                  Cancel\r\n                </Typography>\r\n              </BtnColoredOutlined>\r\n              <BtnGradient\r\n                sx={{\r\n                  px: \"24px\",\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  fontWeight={500}\r\n                >\r\n                  Save\r\n                </Typography>\r\n              </BtnGradient>\r\n            </Stack>\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default ManageCookiesModal;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport SimpleCheckBox from \"../../../../../common-components/SimpleCheckBox\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"600px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"30px 24px\",\r\n  gap: \"12px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction DeleteTeamPermanently({\r\n  open,\r\n  handleClose,\r\n  teamDetails,\r\n  handleDelete,\r\n  deleteTeamPermanentlyLoading,\r\n}) {\r\n  const [isDeleteTeam, setIsDeleteTeam] = useState(false);\r\n\r\n  const handleCheckboxChange = () => {\r\n    setIsDeleteTeam(!isDeleteTeam);\r\n  };\r\n\r\n  useEffect(() => {\r\n    if (open) {\r\n      setIsDeleteTeam(false);\r\n    }\r\n  }, [open]);\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"flex-start\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Box\r\n            sx={{\r\n              maxWidth: \"90%\",\r\n              whiteSpace: \"normal\",\r\n              overflow: \"hidden\",\r\n              textOverflow: \"ellipsis\",\r\n              wordBreak: \"break-word\",\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.titleFont,\r\n                md: fontSizes.modelTitle,\r\n                xl: fontSizes.modelTitle1,\r\n              }}\r\n              fontWeight={fontWeight.weight800}\r\n              color={color.titleDark}\r\n            >\r\n              Delete Permanently Team “{teamDetails?.team_name}” ?\r\n            </Typography>\r\n          </Box>\r\n          <IconButton\r\n            sx={{\r\n              position: \"absolute\",\r\n              right: \"24px\",\r\n              width: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              height: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => {\r\n              handleClose();\r\n              setIsDeleteTeam(false);\r\n            }}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Box\r\n          sx={{\r\n            maxWidth: \"94%\",\r\n            whiteSpace: \"normal\",\r\n            overflow: \"hidden\",\r\n            textOverflow: \"ellipsis\",\r\n            wordBreak: \"break-word\",\r\n          }}\r\n        >\r\n          <Typography\r\n            fontWeight={fontWeight.weight400}\r\n            fontSize={{\r\n              xs: fontSizes.fontSize13,\r\n              md: fontSizes.fontSize14,\r\n            }}\r\n            color={color.subTitle}\r\n            mt=\"12px\"\r\n            mb=\"12px\"\r\n          >\r\n            Are you sure you want to permanently delete the team{\" \"}\r\n            <Typography\r\n              display={\"inline\"}\r\n              fontWeight={fontWeight.weight600}\r\n              color={color.titleDark}\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n            >\r\n              {teamDetails?.team_name}\r\n            </Typography>{\" \"}\r\n            ?\r\n          </Typography>\r\n\r\n          <Box mb={0.5}>\r\n            <Typography\r\n              color={color.titleDark}\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={fontWeight.weight600}\r\n            >\r\n              Important Notes:\r\n            </Typography>\r\n            <Box display={\"flex\"} gap={1} alignItems={\"flex-start\"}>\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                This action{\" \"}\r\n                <Typography\r\n                  display={\"inline\"}\r\n                  color={color.titleDark}\r\n                  fontWeight={fontWeight.weight600}\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                >\r\n                  cannot be undone\r\n                </Typography>\r\n              </Typography>\r\n            </Box>\r\n            <Box display={\"flex\"} gap={1} alignItems={\"flex-start\"}>\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                All boards, spaces, and data associated with this team will be\r\n                permanently removed\r\n              </Typography>\r\n            </Box>\r\n            <Box display={\"flex\"} gap={1} alignItems={\"flex-start\"}>\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                Team members will lose access to all content, and it cannot be\r\n                recovered.\r\n              </Typography>\r\n            </Box>\r\n          </Box>\r\n          <Typography\r\n            mt=\"12px\"\r\n            mb=\"12px\"\r\n            fontSize={{\r\n              xs: fontSizes.fontSize13,\r\n              md: fontSizes.fontSize14,\r\n            }}\r\n            color={color.subTitle}\r\n          >\r\n            If you're sure, click{\" \"}\r\n            <Typography\r\n              display={\"inline\"}\r\n              color={color.titleDark}\r\n              fontWeight={fontWeight.weight600}\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n            >\r\n              Delete Permanently\r\n            </Typography>{\" \"}\r\n            below.\r\n          </Typography>\r\n          <SimpleCheckBox\r\n            label=\"Delete Team Developer\"\r\n            checked={isDeleteTeam}\r\n            mainSx={{\r\n              borderColor: \"#848382\",\r\n              color: \"#848382\",\r\n            }}\r\n            labelStyle={{\r\n              color: color.titleDark,\r\n            }}\r\n            onChange={() => {\r\n              handleCheckboxChange();\r\n            }}\r\n          />\r\n        </Box>\r\n\r\n        <Stack\r\n          mt={{\r\n            xs: \"18px\",\r\n            xl: \"24px\",\r\n          }}\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"flex-end\"}\r\n          gap={\"14px\"}\r\n        >\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={() => {\r\n              handleClose();\r\n              setIsDeleteTeam(false);\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n          <BtnGradient\r\n            sx={{ px: \"24px\" }}\r\n            btnColor={color.errorColor}\r\n            disabled={!isDeleteTeam}\r\n            loading={deleteTeamPermanentlyLoading}\r\n            onClick={() => handleDelete()}\r\n            hoverSx={{\r\n              bgcolor: `${color.errorDarkColor} !important`,\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={500}\r\n            >\r\n              Delete Permanently\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default DeleteTeamPermanently;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"550px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"30px 24px\",\r\n  gap: \"12px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction RestoreTeamModal({\r\n  open,\r\n  handleClose,\r\n  teamDetails,\r\n  handleRestore,\r\n  confirmRestoreTeamLoading,\r\n}) {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"flex-start\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Box\r\n            sx={{\r\n              maxWidth: \"90%\",\r\n              whiteSpace: \"normal\",\r\n              overflow: \"hidden\",\r\n              textOverflow: \"ellipsis\",\r\n              wordBreak: \"break-word\",\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.titleFont,\r\n                md: fontSizes.modelTitle,\r\n                xl: fontSizes.modelTitle1,\r\n              }}\r\n              fontWeight={fontWeight.weight600}\r\n              color={color.titleDark}\r\n            >\r\n              Restore Team “{teamDetails?.team_name}” ?\r\n            </Typography>\r\n          </Box>\r\n          <IconButton\r\n            sx={{\r\n              position: \"absolute\",\r\n              right: \"24px\",\r\n              width: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              height: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Box\r\n          sx={{\r\n            maxWidth: \"94%\",\r\n            whiteSpace: \"normal\",\r\n            overflow: \"hidden\",\r\n            textOverflow: \"ellipsis\",\r\n            wordBreak: \"break-word\",\r\n          }}\r\n        >\r\n          <Typography\r\n            fontWeight={fontWeight.weight400}\r\n            fontSize={{\r\n              xs: fontSizes.fontSize13,\r\n              md: fontSizes.fontSize14,\r\n            }}\r\n            color={color.subTitle}\r\n            mt=\"12px\"\r\n            mb=\"12px\"\r\n          >\r\n            Restoring the team{\" \"}\r\n            <Typography\r\n              display={\"inline\"}\r\n              fontWeight={fontWeight.weight600}\r\n              color={color.titleDark}\r\n              fontSize={{\r\n                xs: fontSizes.mediumFont,\r\n                md: fontSizes.fontSize13,\r\n                xl: fontSizes.fontSize14,\r\n              }}\r\n            >\r\n              {teamDetails?.team_name}\r\n            </Typography>{\" \"}\r\n            will:\r\n          </Typography>\r\n\r\n          <Box my={2}>\r\n            <Box display={\"flex\"} gap={1} alignItems={\"flex-start\"}>\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                Recover all associated boards, spaces, and data.\r\n              </Typography>\r\n            </Box>\r\n            <Box display={\"flex\"} gap={1} alignItems={\"flex-start\"}>\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                Reinstate all team members and their roles.\r\n              </Typography>\r\n            </Box>\r\n            <Box display={\"flex\"} gap={1} alignItems={\"flex-start\"}>\r\n              <CommonBulletPoint />\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                color={color.subTitle}\r\n              >\r\n                Allow the team to resume as it was before deletion.\r\n              </Typography>\r\n            </Box>\r\n          </Box>\r\n          <Box\r\n            my={2}\r\n            fontSize={{\r\n              xs: fontSizes.fontSize13,\r\n              md: fontSizes.fontSize14,\r\n            }}\r\n            color={color.subTitle}\r\n          >\r\n            This action may take a few moments to process, and all team members\r\n            will be notified once the restoration is complete.\r\n          </Box>\r\n        </Box>\r\n\r\n        <Stack\r\n          mt={\"24px\"}\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"flex-end\"}\r\n          gap={\"14px\"}\r\n        >\r\n          <BtnColoredOutlined\r\n            bgcolor={color.greyHover}\r\n            borderColor={color.commonBorderColor}\r\n            sx={{\r\n              px: \"16px\",\r\n              transition: \"all 0.2s\",\r\n            }}\r\n            hoverSx={{\r\n              bgcolor: color.darkGray,\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnColoredOutlined>\r\n          <BtnGradient\r\n            sx={{ px: \"24px\" }}\r\n            onClick={() => handleRestore()}\r\n            loading={confirmRestoreTeamLoading}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={500}\r\n            >\r\n              Confirm Restore\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default RestoreTeamModal;\r\n","import {\r\n  Avatar,\r\n  Box,\r\n  Popover,\r\n  Stack,\r\n  Tab,\r\n  Tabs,\r\n  Typography,\r\n} from \"@mui/material\";\r\nimport React, {\r\n  useCallback,\r\n  useContext,\r\n  useEffect,\r\n  useMemo,\r\n  useState,\r\n} from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport {\r\n  IcMenuDotsVertical,\r\n  IcSortingTableAse,\r\n  IcSortingTableDes,\r\n  IcTrash,\r\n} from \"../../../../../assets/icon-components\";\r\nimport {\r\n  debounce,\r\n  localDateFormat,\r\n} from \"../../../../../CommanFunctions/commanFunctions\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport SearchInput from \"../../../../../common-components/SearchInput\";\r\nimport { ModelContext } from \"../../../../../HOC/ModelContext\";\r\nimport {\r\n  useDeleteTeamByIdMutation,\r\n  useGetDeleteTeamListMutation,\r\n  useGetTeamListWithSearchMutation,\r\n  usePermanentlyDeleteTeamByIdMutation,\r\n  useRestoreDeletedTeamMutation,\r\n} from \"../../../../../Redux/api/teamsApi\";\r\nimport { subscriptionDataSelect } from \"../../../../../Redux/common-reducer\";\r\nimport { errorToast, successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { commonStyles } from \"../../../../../Utils/style/common/commonStyles\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport TableComponent from \"../../../components/TableComponent\";\r\nimport UpgradeModel from \"../../../components/UpgradeModel\";\r\nimport CreateNewTeam from \"./CreateNewTeam\";\r\nimport DeleteTeam from \"./DeleteTeam\";\r\nimport DeleteTeamPermanently from \"./DeleteTeamPermanently\";\r\nimport RestoreTeamModal from \"./RestoreTeamModal\";\r\nimport CommonDivider from \"../../../../../common-components/CommonDivider\";\r\nimport { updateTeamIdInLocalStorage } from \"../../../../../Utils/functions/updateTeamIdInLocalStorage\";\r\nimport { CustomNameTooltip } from \"../../../../DrawBoard/top-toolbar/components/CustomTooltip\";\r\nfunction a11yProps(index) {\r\n  return {\r\n    id: `simple-tab-${index}`,\r\n    \"aria-controls\": `simple-tabpanel-${index}`,\r\n  };\r\n}\r\n\r\nfunction ManageTeams() {\r\n  const [value, setValue] = useState(0);\r\n  const [anchorEl, setAnchorEl] = useState(null);\r\n  const [open, setOpen] = useState(false);\r\n  const currentSubscription = subscriptionDataSelect();\r\n\r\n  const [restoreTeamModal, setRestoreTeamModal] = useState(false);\r\n  const [deleteTeamPermanently, setDeleteTeamPermanently] = useState(false);\r\n  const [showDeleteTeam, setShowDeleteTeam] = useState(false);\r\n\r\n  const [sortOption, setSortOption] = useState(\"30\");\r\n  const [selectedTeamRow, setSelectedTeamRow] = useState(null);\r\n  const [selectedTeamInfo, setSelectedTeamInfo] = useState(null);\r\n  const [searchValues, setSearchValue] = useState(\"\");\r\n  const [deletedSearchValue, setDeletedSearchValue] = useState(\"\");\r\n  const [createdTeamInfo, setCreatedTeamInfo] = useState(\"\");\r\n  const navigate = useNavigate();\r\n  const dispatch = useDispatch();\r\n  const { userData } = useSelector((state) => state.common);\r\n  const isAccountOwner = userData?.role;\r\n\r\n  const { createNewTeamModal, setCreateNewTeamModal } =\r\n    useContext(ModelContext);\r\n  const { /*inviteNewMembers,*/ setInviteNewMembers } =\r\n    useContext(ModelContext);\r\n\r\n  const [\r\n    getTeamListWithSearch,\r\n    { data: teamsList, isLoading: teamsIsLoading },\r\n  ] = useGetTeamListWithSearchMutation();\r\n\r\n  const [\r\n    getDeleteTeamList,\r\n    { data: deletedTeamsList, isLoading: deleteTeamsIsLoading },\r\n  ] = useGetDeleteTeamListMutation();\r\n\r\n  const [restoreDeletedTeam, { isLoading: confirmRestoreTeamLoading }] =\r\n    useRestoreDeletedTeamMutation();\r\n\r\n  const [\r\n    permanentlyDeleteTeamById,\r\n    { isLoading: deleteTeamPermanentlyLoading },\r\n  ] = usePermanentlyDeleteTeamByIdMutation();\r\n\r\n  const [\r\n    deleteTeam,\r\n    {\r\n      // data: deletedTeam,\r\n      isLoading: deletingInprogress,\r\n      error: errorInCreating,\r\n      // isSuccess: isDeletedSuccessFully,\r\n    },\r\n  ] = useDeleteTeamByIdMutation();\r\n\r\n  const getTeamListWithExistingValues = () => {\r\n    if (currentSubscription?.package?.includes(\"Business\")) {\r\n      getTeamListWithSearch({\r\n        searchValues,\r\n        sortOption,\r\n      });\r\n    }\r\n  };\r\n\r\n  useEffect(() => {\r\n    if (value === 0) {\r\n      getTeamListWithExistingValues();\r\n    }\r\n    if (value === 1) {\r\n      getDeleteTeamList({ deletedSearchValue });\r\n    }\r\n  }, [value]);\r\n\r\n  const handleChange = (event, newValue) => {\r\n    setValue(newValue);\r\n  };\r\n\r\n  const handleClick = (event, selectedRow) => {\r\n    setSelectedTeamRow(selectedRow);\r\n    setAnchorEl(event.currentTarget);\r\n    setOpen(!open);\r\n  };\r\n\r\n  const handleCloseMoreMenu = () => {\r\n    setAnchorEl(null);\r\n  };\r\n\r\n  const popoverId = Boolean(anchorEl) ? \"simple-popover\" : undefined;\r\n\r\n  const handleTeamDelete = (takeRecord) => {\r\n    setShowDeleteTeam(true);\r\n    setSelectedTeamInfo(takeRecord);\r\n  };\r\n\r\n  const handleClickDeleteTeam = () => {\r\n    let active_team = localStorage.getItem(\"active_team\");\r\n    deleteTeam(selectedTeamInfo?.team_id)\r\n      .then((data) => {\r\n        dispatch(\r\n          successToast({\r\n            message: data?.data?.message,\r\n          })\r\n        );\r\n\r\n        setShowDeleteTeam(false);\r\n        getTeamListWithExistingValues();\r\n        if (active_team === selectedTeamInfo?.team_id) {\r\n          updateTeamIdInLocalStorage(teamsList?.data?.resData?.[0]?.team_id);\r\n        }\r\n      })\r\n      .catch((error) => {\r\n        dispatch(\r\n          errorToast({\r\n            message: errorInCreating?.data?.message,\r\n          })\r\n        );\r\n      });\r\n    userData?.role === \"Account Owner\" || userData?.is_admin === true\r\n      ? navigate(\"/user/manage-teams\")\r\n      : navigate(\"/user/invited-users-team\");\r\n  };\r\n\r\n  const columnsAllTeam = useMemo(\r\n    () => [\r\n      {\r\n        accessorKey: \"team_name\",\r\n        header: \"Team Name\",\r\n        // minWidth: 150,\r\n        // maxWidth: 200,\r\n        enableSorting: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack flexDirection={\"row\"} alignItems={\"center\"} gap={\"12px\"}>\r\n              <Avatar\r\n                alt={row?.team_name}\r\n                src={row?.logo}\r\n                sx={{\r\n                  height: \"36px !important\",\r\n                  width: \"36px !important\",\r\n                  fontSize: {\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  },\r\n                  boxSizing: \"border-box !important\",\r\n                  // pt: \"2px\",\r\n                  ...(!row?.profile_picture &&\r\n                    row?.profile_color && {\r\n                      backgroundColor: row?.profile_color,\r\n                    }),\r\n                }}\r\n              >\r\n                {row?.team_name &&\r\n                  row?.team_name\r\n                    .split(\" \")\r\n                    .map((word) => word[0]?.toUpperCase())\r\n                    .slice(0, 2)\r\n                    .join(\"\")}\r\n              </Avatar>\r\n\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                // color={\"#007AFF\"}\r\n                height={\"18px\"}\r\n                sx={{\r\n                  cursor: \"pointer\",\r\n                  color: color.titleDark,\r\n                  fontWeight: fontWeight.weight600,\r\n                  // textDecoration: \"underline\",\r\n                  // \":hover\": {\r\n                  //   color: color.primaryColor,\r\n                  // },\r\n                  \":hover\": {\r\n                    color: color.primaryColor,\r\n                    textDecoration: \"underline\",\r\n                  },\r\n                }}\r\n                onClick={() => {\r\n                  sessionStorage.setItem(\r\n                    \"firstTeam\",\r\n                    teamsList?.data?.resData?.[0]?.team_id\r\n                  );\r\n                  sessionStorage.setItem(\r\n                    \"selectedTeam\",\r\n                    JSON.stringify({\r\n                      selectedTeamId: row?.team_id,\r\n                      selectedTeamName: row?.team_name,\r\n                      createdById: row?.created_by_id,\r\n                    })\r\n                  );\r\n                  navigate(`team-profile`);\r\n                }}\r\n              >\r\n                {row?.team_name}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"members\",\r\n        header: \"Member\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"30px\",\r\n              }}\r\n            >\r\n              {`${row?.members_count}`}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"space\",\r\n        header: \"Space\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                // cursor: \"pointer\",\r\n                marginLeft: \"20px\",\r\n              }}\r\n            >\r\n              {row?.space_count ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"boards_count\",\r\n        header: \"Boards\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"20px\",\r\n              }}\r\n            >\r\n              {`${row?.boards_count}`}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"created_by\",\r\n        header: \"Created by\",\r\n        // minWidth: 150,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing:\r\n          isAccountOwner === \"Account Owner\" || userData?.is_admin\r\n            ? true\r\n            : false,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack>\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                height={\"18px\"}\r\n                sx={{\r\n                  cursor: \"pointer\",\r\n                  // textAlign: \"center\",\r\n                }}\r\n              >\r\n                {row?.created_by ?? \"-\"}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      ...(isAccountOwner === \"Account Owner\" || userData?.is_admin\r\n        ? [\r\n            {\r\n              accessorKey: \"team_id\",\r\n              minWidth: 100,\r\n              maxWidth: 100,\r\n              // enableSorting: true,\r\n              // textCenter: true,\r\n              // enableResizing: true,\r\n              header: (\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  }}\r\n                  color={color.subTitle}\r\n                  height={\"18px\"}\r\n                  // ml={4}\r\n                >\r\n                  Action\r\n                </Typography>\r\n              ),\r\n              Cell: (row) => {\r\n                return (\r\n                  <Box\r\n                    sx={{\r\n                      display: \"flex\",\r\n                      alignItems: \"center\",\r\n                      gap: \"0\",\r\n                      // justifyContent: \"center\",\r\n                    }}\r\n                    ml={1}\r\n                  >\r\n                    {/* {isAccountOwner === \"Account Owner\" ? ( */}\r\n                    {teamsList?.data?.resData?.length === 1 ? (\r\n                      <CustomNameTooltip\r\n                        title={\"You can't delete the last remaining team\"}\r\n                        arrow\r\n                      >\r\n                        <Typography\r\n                          sx={{\r\n                            display: \"inline-block\",\r\n                            background: color.commonHoverColor,\r\n                            borderRadius: \"8px\",\r\n                          }}\r\n                        >\r\n                          <BtnGradient\r\n                            disabled={true}\r\n                            onClick={(e) => handleTeamDelete(row)}\r\n                            sx={{\r\n                              color: color.disableText,\r\n                              fontWeight: fontWeight.weight600,\r\n                              minWidth: \"36px\",\r\n                              height: \"36px\",\r\n                              fontSize: {\r\n                                xs: fontSizes.mediumFont,\r\n                                md: fontSizes.fontSize13,\r\n                                xl: fontSizes.fontSize14,\r\n                              },\r\n                              borderRadius: \"8px\",\r\n                              background: \"#FFFFFF\",\r\n                              \"& path\": {\r\n                                transitionDuration: \"300ms\",\r\n                              },\r\n                              \"&:hover\": {\r\n                                \"& path\": {\r\n                                  stroke: \"#FF5030\",\r\n                                },\r\n                              },\r\n                            }}\r\n                          >\r\n                            <IcTrash\r\n                              height=\"22\"\r\n                              width=\"22\"\r\n                              stroke={\"#848382\"}\r\n                            />\r\n                          </BtnGradient>\r\n                        </Typography>\r\n                      </CustomNameTooltip>\r\n                    ) : (\r\n                      <BtnGradient\r\n                        onClick={(e) => handleTeamDelete(row)}\r\n                        btnColor=\"white\"\r\n                        sx={{\r\n                          color: color.errorColor,\r\n                          fontWeight: fontWeight.weight600,\r\n                          // minWidth: \"40px\",\r\n                          minWidth: \"36px\",\r\n                          height: \"36px\",\r\n                          fontSize: {\r\n                            xs: fontSizes.mediumFont,\r\n                            md: fontSizes.fontSize13,\r\n                            xl: fontSizes.fontSize14,\r\n                          },\r\n                          borderRadius: \"8px\",\r\n                          background: \"#FFFFFF\",\r\n                          \"& path\": {\r\n                            transitionDuration: \"300ms\",\r\n                          },\r\n                          \"&:hover\": {\r\n                            backgroundColor: \"#FF503029\",\r\n\r\n                            \"& path\": {\r\n                              stroke: \"#FF5030\",\r\n                            },\r\n                          },\r\n                        }}\r\n                      >\r\n                        <IcTrash height=\"22\" width=\"22\" stroke={\"#848382\"} />\r\n                      </BtnGradient>\r\n                    )}\r\n\r\n                    {/* ) : (\r\n                <Stack alignItems={\"center\"} justifyContent={\"center\"}>\r\n                  <Typography>-</Typography>\r\n                </Stack>\r\n              )} */}\r\n                  </Box>\r\n                );\r\n              },\r\n            },\r\n          ]\r\n        : []),\r\n    ],\r\n    [sortOption, isAccountOwner, userData, teamsList]\r\n  );\r\n\r\n  const columns = useMemo(\r\n    () => [\r\n      {\r\n        accessorKey: \"team_name\",\r\n        header: \"Team Name\",\r\n        // minWidth: 300,\r\n        // maxWidth: 200,\r\n        enableSorting: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack flexDirection={\"row\"} alignItems={\"center\"} gap={\"12px\"}>\r\n              <Avatar\r\n                alt={row?.team_name}\r\n                src={row?.profile_picture}\r\n                sx={{\r\n                  height: \"36px !important\",\r\n                  width: \"36px !important\",\r\n                  fontSize: {\r\n                    xs: fontSizes.mediumFont,\r\n                    md: fontSizes.fontSize13,\r\n                    xl: fontSizes.fontSize14,\r\n                  },\r\n                  boxSizing: \"border-box !important\",\r\n                  // pt: \"2px\",\r\n                  ...(!row?.profile_picture &&\r\n                    row?.profile_color && {\r\n                      backgroundColor: row?.profile_color,\r\n                    }),\r\n                }}\r\n              />\r\n\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                height={\"18px\"}\r\n              >\r\n                {row?.team_name ?? \"-\"}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"members\",\r\n        header: \"Member\",\r\n        // minWidth: 200,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"30px\",\r\n              }}\r\n            >\r\n              {row?.members?.length ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"boards_count\",\r\n        header: \"Boards\",\r\n        // minWidth: 200,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                marginLeft: \"20px\",\r\n              }}\r\n            >\r\n              {row?.boards_count ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"deleted_by\",\r\n        header: \"Deleted by\",\r\n        // minWidth: 300,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color={color.titleDark}\r\n              height={\"18px\"}\r\n              sx={{\r\n                cursor: \"pointer\",\r\n              }}\r\n            >\r\n              {row?.deleted_by ?? \"-\"}\r\n            </Typography>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"updated_at\",\r\n        header: \"Deleted on\",\r\n        // minWidth: 300,\r\n        // maxWidth: 150,\r\n        // enableSorting: true,\r\n        // textCenter: true,\r\n        enableResizing: true,\r\n        Cell: (row) => {\r\n          return (\r\n            <Stack>\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                color={color.titleDark}\r\n                height={\"18px\"}\r\n                sx={{\r\n                  cursor: \"pointer\",\r\n                }}\r\n              >\r\n                {`${localDateFormat(row?.updated_at) ?? \"-\"}`}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        },\r\n      },\r\n      {\r\n        accessorKey: \"team_id\",\r\n        header: \"Actions\",\r\n        enableSorting: false,\r\n        minWidth: 100,\r\n        maxWidth: 100,\r\n        // enableResizing: true,\r\n        Cell: (row) => {\r\n          if (isAccountOwner === \"Account Owner\") {\r\n            return (\r\n              <Box\r\n                sx={{\r\n                  // width: \"50%\",\r\n                  display: \"grow\",\r\n                  alignItems: \"center\",\r\n                  gap: \"0\",\r\n                  // justifyContent: \"center\",\r\n                }}\r\n              >\r\n                <Stack\r\n                  width={\"36px\"}\r\n                  height={\"36px\"}\r\n                  alignItems={\"center\"}\r\n                  justifyContent={\"center\"}\r\n                  borderRadius={commonStyles.borderRadiusMD}\r\n                  sx={{\r\n                    cursor: \"pointer\",\r\n                    \"&:hover\": {\r\n                      bgcolor: \"#F7F7F7\",\r\n                    },\r\n                  }}\r\n                  ml={\"8px\"}\r\n                  onClick={(e) => handleClick(e, row)}\r\n                >\r\n                  <IcMenuDotsVertical />\r\n                </Stack>\r\n              </Box>\r\n            );\r\n          } else {\r\n            return <Typography ml={\"20px\"}>-</Typography>;\r\n          }\r\n        },\r\n      },\r\n    ],\r\n    []\r\n  );\r\n\r\n  const restoreTeam = () => {\r\n    setRestoreTeamModal(true);\r\n  };\r\n\r\n  const handleDeleteTeamPermanent = () => {\r\n    setDeleteTeamPermanently(true);\r\n  };\r\n\r\n  const handleClose = () => {\r\n    setCreateNewTeamModal(false);\r\n  };\r\n\r\n  const handleRestore = () => {\r\n    const payload = {\r\n      teams: [selectedTeamRow?.team_id],\r\n    };\r\n\r\n    restoreDeletedTeam(payload)\r\n      .then((result) => {\r\n        if (result?.error) {\r\n          dispatch(\r\n            errorToast({\r\n              message: result?.error?.data?.message,\r\n            })\r\n          );\r\n        } else if (result?.data?.status) {\r\n          dispatch(\r\n            successToast({\r\n              message: result?.data?.message,\r\n            })\r\n          );\r\n          getDeleteTeamList({ deletedSearchValue });\r\n          setRestoreTeamModal(false);\r\n          handleCloseMoreMenu();\r\n        }\r\n      })\r\n      .catch((error) => {});\r\n  };\r\n\r\n  const handleDelete = () => {\r\n    const payload = {\r\n      teamIds: [selectedTeamRow?.team_id],\r\n    };\r\n\r\n    permanentlyDeleteTeamById(payload)\r\n      .then((result) => {\r\n        if (result?.error) {\r\n          dispatch(\r\n            errorToast({\r\n              message: result?.error?.data?.message,\r\n            })\r\n          );\r\n        } else if (result?.data?.status) {\r\n          dispatch(\r\n            successToast({\r\n              message: result?.data?.message,\r\n            })\r\n          );\r\n          getDeleteTeamList({ deletedSearchValue });\r\n          setDeleteTeamPermanently(false);\r\n          handleCloseMoreMenu();\r\n        }\r\n      })\r\n      .catch((error) => {});\r\n  };\r\n\r\n  const getTeamsListData = useCallback(\r\n    async ({ searchValue, filters }) => {\r\n      try {\r\n        const result = await getTeamListWithSearch({\r\n          searchValue,\r\n          filters,\r\n        }).unwrap();\r\n        if (result?.status) {\r\n          // dispatch(successToast({ message: result.message }));\r\n        } else if (result?.error) {\r\n          dispatch(errorToast({ message: result.error.message }));\r\n        }\r\n      } catch (error) {\r\n        dispatch(errorToast({ message: \"Failed to fetch data\" }));\r\n      }\r\n    },\r\n    [dispatch]\r\n  );\r\n\r\n  // Debounced search function\r\n  const debouncedSearch = useMemo(\r\n    () =>\r\n      debounce((searchValue, sortOption) => {\r\n        getTeamsListData({ searchValue, filters: sortOption });\r\n      }, 750),\r\n    [getTeamsListData]\r\n  );\r\n\r\n  // Handle search input change\r\n  const handleSearchChange = (e) => {\r\n    const { value } = e.target;\r\n    setSearchValue(value);\r\n    debouncedSearch(value, sortOption);\r\n  };\r\n\r\n  // for deleted search\r\n  const getDeletedTeamsListData = useCallback(\r\n    async (searchValue) => {\r\n      try {\r\n        const result = await getDeleteTeamList({\r\n          searchValue,\r\n        }).unwrap();\r\n        if (result?.status) {\r\n          // dispatch(successToast({ message: result.message }));\r\n        } else if (result?.error) {\r\n          dispatch(errorToast({ message: result.error.message }));\r\n        }\r\n      } catch (error) {\r\n        dispatch(errorToast({ message: \"Failed to fetch data\" }));\r\n      }\r\n    },\r\n    [dispatch]\r\n  );\r\n\r\n  const debouncedDeletedSearch = useMemo(\r\n    () =>\r\n      debounce((deleteSearchValue) => {\r\n        getDeletedTeamsListData(deleteSearchValue);\r\n      }, 750),\r\n    [getDeletedTeamsListData]\r\n  );\r\n\r\n  const handleDeletedSearchChange = (e) => {\r\n    const { value } = e.target;\r\n    setDeletedSearchValue(value);\r\n    debouncedDeletedSearch(value);\r\n  };\r\n\r\n  // if (\r\n  //   currentSubscription?.package === \"Free\" ||\r\n  //   currentSubscription?.package?.includes(\"Professional\")\r\n  // ) {\r\n  //   return (\r\n  //     <Box\r\n  //       mt={{\r\n  //         xs: \"15px\",\r\n  //         xl: \"24px\",\r\n  //       }}\r\n  //       // pl={\"24px\"}\r\n  //       // pr={\"32px\"}\r\n  //       sx={{\r\n  //         \"&::-webkit-scrollbar\": {\r\n  //           display: \"none\",\r\n  //         },\r\n  //         position: \"relative\",\r\n  //         height: {\r\n  //           xs: \"calc(100svh - 188px)\",\r\n  //           // xl: \"calc(100svh - 250px)\",\r\n  //         },\r\n  //         overflow: \"auto\",\r\n  //         msOverflowStyle: \"none\",\r\n  //         scrollbarWidth: \"none\",\r\n  //       }}\r\n  //     >\r\n  //       <UpgradeModel\r\n  //         title={\"Upgrading Team Capabilities Building a Stronger Workforce\"}\r\n  //         subtitle={\r\n  //           \"The team upgrade focuses on boosting skills, improving collaboration, and adopting new tools for better efficiency and performance\"\r\n  //         }\r\n  //       />\r\n  //     </Box>\r\n  //   );\r\n  // }\r\n\r\n  return (\r\n    <Box\r\n      // position={\"relative\"}\r\n      // sx={{\r\n      //   height: {\r\n      //     // xs: \"calc(100svh - 170px)\",\r\n      //     // lg: \"calc(100svh - 170px)\",\r\n      //     // xl: \"calc(100svh - 210px)\",\r\n      //     xs: \"calc(100svh - 188px)\",\r\n      //   },\r\n      //   overflowY: \"auto\",\r\n      //   \"&::-webkit-scrollbar\": {\r\n      //     width: \"0 !important\",\r\n      //     height: \"0 !important\",\r\n      //   },\r\n      // }}\r\n      sx={{\r\n        overflowY: \"auto\",\r\n        \"&::-webkit-scrollbar\": {\r\n          width: \"0 !important\",\r\n          height: \"0 !important\",\r\n        },\r\n      }}\r\n      height={\"100%\"}\r\n    >\r\n      <Tabs\r\n        value={value}\r\n        onChange={handleChange}\r\n        aria-label=\"basic tabs example\"\r\n        sx={{\r\n          minHeight: \"40px !important\",\r\n          \"& .MuiTab-root\": {\r\n            color: color.subTitle,\r\n            textTransform: \"capitalize\",\r\n            // fontSize: fontSizes.mediumFont,\r\n            fontSize: {\r\n              xs: fontSizes.mediumFont,\r\n              md: fontSizes.fontSize13,\r\n              xl: fontSizes.fontSize14,\r\n            },\r\n            fontWeight: fontWeight.weight500,\r\n          },\r\n          \"& .MuiTab-textColorPrimary\": {\r\n            background: \"#FFF\",\r\n            borderRadius: commonStyles.borderRadiusMD,\r\n            \"&:hover\": {\r\n              bgcolor: color.greyHover,\r\n              fontWeight: fontWeight.weight500,\r\n              color: color.titleDark,\r\n            },\r\n          },\r\n          \"& .MuiTab-textColorPrimary.Mui-selected\": {\r\n            color: color.primaryColor,\r\n            // background: \"#007AFF1A\",\r\n            // background: \"#6762FE1A\",\r\n            background: color.lightPrimary,\r\n            borderRadius: commonStyles.borderRadiusMD,\r\n            fontWeight: fontWeight.weight600,\r\n\r\n            // \"&:hover\": {\r\n            //   bgcolor: color.greyHover,\r\n            //   color: color.titleDark,\r\n            //   fontWeight: fontWeight.weight600,\r\n            // },\r\n          },\r\n          \"& .MuiTabs-indicator\": {\r\n            display: \"none\",\r\n          },\r\n          \"& .MuiButtonBase-root\": {\r\n            padding: \"11px 16px\",\r\n            minHeight: \"32px\",\r\n            lineHeight: \"18px\",\r\n          },\r\n        }}\r\n      >\r\n        <Tab\r\n          label=\"All Teams\"\r\n          {...a11yProps(0)}\r\n          sx={{ alignItems: \"center\" }}\r\n        />\r\n        <Tab\r\n          label=\"Deleted\"\r\n          {...a11yProps(1)}\r\n          sx={{ alignItems: \"center\", ml: 1 }}\r\n        />\r\n      </Tabs>\r\n\r\n      <CommonDivider\r\n        my={\"0px\"}\r\n        border={`1px solid ${color.darkGray}`}\r\n        sx={{\r\n          mb: \"20px\",\r\n          mt: \"20px\",\r\n          opacity: 1,\r\n        }}\r\n      />\r\n\r\n      <div\r\n        role=\"tabpanel\"\r\n        hidden={value !== 0}\r\n        id={`simple-tabpanel-${0}`}\r\n        aria-labelledby={`simple-tab-${0}`}\r\n      >\r\n        <SearchInput\r\n          height={40}\r\n          xsHeight={40}\r\n          isdoubleborder={true}\r\n          width={450}\r\n          placeholder={\"Search by team name\"}\r\n          showBorder={true}\r\n          formControlSx={{\r\n            \"& .MuiInputBase-root\": {\r\n              borderRadius: \"8px !important\",\r\n              backgroundColor: \"#FFF !important\",\r\n              width: \"450px\",\r\n            },\r\n            \"& input\": {\r\n              mt: \"0px !important\",\r\n              fontSize: fontSizes.fontSize14,\r\n            },\r\n            \"& input::placeholder\": {\r\n              fontSize: fontSizes.fontSize14,\r\n            },\r\n          }}\r\n          onChange={handleSearchChange}\r\n          value={searchValues}\r\n        />\r\n\r\n        <Box\r\n          sx={{\r\n            mt: \"12px\",\r\n          }}\r\n        >\r\n          <TableComponent\r\n            columns={columnsAllTeam}\r\n            data={teamsList?.data?.resData || []}\r\n            isTableLoading={teamsIsLoading || deleteTeamsIsLoading}\r\n            placeholder={{\r\n              title: \"No Teams Created\",\r\n              desc: \"Create a team to collaborate on projects and manage tasks together.\",\r\n            }}\r\n            customSortIcons={{\r\n              ascending: <IcSortingTableAse />,\r\n              descending: <IcSortingTableDes />,\r\n            }}\r\n            showSortingIconOnHover={false}\r\n            // maxHeight={{\r\n            //   xs: \"calc(100vh - 188px)\",\r\n            //   sm: \"calc(100vh - 220px)\",\r\n            //   md: \"calc(100vh - 260px)\",\r\n            //   lg: \"calc(100vh - 300px)\",\r\n            //   xl: \"calc(100vh - 345px)\",\r\n            // }}\r\n            // emptyBoxHeight={{\r\n            //   xs: \"calc(100vh - 300px)\",\r\n            //   sm: \"calc(100vh - 340px)\",\r\n            //   md: \"calc(100vh - 380px)\",\r\n            //   lg: \"calc(100vh - 370px)\",\r\n            //   // xl: \"calc(100vh - 410px)\",\r\n            //   xl: \"calc(100vh - 395px)\",\r\n            // }}\r\n          />\r\n        </Box>\r\n\r\n        {(currentSubscription?.package === \"Free\" ||\r\n          currentSubscription?.package?.includes(\"Professional\")) && (\r\n          <Box\r\n            mt={{\r\n              xs: \"15px\",\r\n              xl: \"24px\",\r\n            }}\r\n            // pl={\"24px\"}\r\n            // pr={\"32px\"}\r\n            sx={{\r\n              \"&::-webkit-scrollbar\": {\r\n                display: \"none\",\r\n              },\r\n              position: \"relative\",\r\n              height: {\r\n                xs: \"calc(100svh - 188px)\",\r\n                // xl: \"calc(100svh - 250px)\",\r\n              },\r\n              overflow: \"auto\",\r\n              msOverflowStyle: \"none\",\r\n              scrollbarWidth: \"none\",\r\n            }}\r\n          >\r\n            <UpgradeModel\r\n              isNavigateOnClose\r\n              title={\"Upgrade to Create Teams\"}\r\n              subtitle={\r\n                \"Team creation is available on paid plans. Upgrade to collaborate efficiently with your team.\"\r\n              }\r\n            />\r\n          </Box>\r\n        )}\r\n      </div>\r\n\r\n      <div\r\n        role=\"tabpanel\"\r\n        hidden={value !== 1}\r\n        id={`simple-tabpanel-${1}`}\r\n        aria-labelledby={`simple-tab-${1}`}\r\n      >\r\n        <SearchInput\r\n          height={40}\r\n          xsHeight={40}\r\n          isdoubleborder={true}\r\n          width={450}\r\n          placeholder={\"Search by team by name\"}\r\n          formControlSx={{\r\n            \"& .MuiInputBase-root\": {\r\n              borderRadius: \"8px !important\",\r\n              backgroundColor: \"#FFF !important\",\r\n\r\n              width: \"450px\",\r\n            },\r\n            \"& input\": {\r\n              mt: \"0px !important\",\r\n              fontSize: fontSizes.fontSize14,\r\n            },\r\n            \"& input::placeholder\": {\r\n              fontSize: fontSizes.fontSize14,\r\n            },\r\n          }}\r\n          value={deletedSearchValue}\r\n          onChange={handleDeletedSearchChange}\r\n        />\r\n\r\n        <Box\r\n          sx={{\r\n            mt: \"12px\",\r\n          }}\r\n        >\r\n          <TableComponent\r\n            columns={columns}\r\n            data={deletedTeamsList?.data?.resData || []}\r\n            isTableLoading={teamsIsLoading || deleteTeamsIsLoading}\r\n            placeholder={{\r\n              title: \"No Deleted Teams\",\r\n              desc: \"There are no deleted teams to restore. Deleted teams will appear here for recovery.\",\r\n            }}\r\n            customSortIcons={{\r\n              ascending: <IcSortingTableAse />,\r\n              descending: <IcSortingTableDes />,\r\n            }}\r\n            showSortingIconOnHover={false}\r\n            // maxHeight={{\r\n            //   xs: \"calc(100vh - 188px)\",\r\n            //   sm: \"calc(100vh - 220px)\",\r\n            //   md: \"calc(100vh - 260px)\",\r\n            //   lg: \"calc(100vh - 300px)\",\r\n            //   xl: \"calc(100vh - 345px)\",\r\n            // }}\r\n            // emptyBoxHeight={{\r\n            //   xs: \"calc(100vh - 300px)\",\r\n            //   sm: \"calc(100vh - 340px)\",\r\n            //   md: \"calc(100vh - 380px)\",\r\n            //   lg: \"calc(100vh - 370px)\",\r\n            //   // xl: \"calc(100vh - 410px)\",\r\n            //   xl: \"calc(100vh - 395px)\",\r\n            // }}\r\n          />\r\n        </Box>\r\n\r\n        <RestoreTeamModal\r\n          open={restoreTeamModal}\r\n          handleClose={() => setRestoreTeamModal(false)}\r\n          teamDetails={selectedTeamRow}\r\n          handleRestore={handleRestore}\r\n          confirmRestoreTeamLoading={confirmRestoreTeamLoading}\r\n        />\r\n\r\n        <DeleteTeamPermanently\r\n          open={deleteTeamPermanently}\r\n          handleClose={() => setDeleteTeamPermanently(false)}\r\n          teamDetails={selectedTeamRow}\r\n          handleDelete={handleDelete}\r\n          deleteTeamPermanentlyLoading={deleteTeamPermanentlyLoading}\r\n        />\r\n      </div>\r\n\r\n      {/* <CreateNewTeamModal\r\n          open={createNewTeamModal}\r\n          handleClose={handleClose}\r\n        /> */}\r\n      <CreateNewTeam\r\n        open={createNewTeamModal}\r\n        setOpen={setCreateNewTeamModal}\r\n        handleClose={handleClose}\r\n        getTeamListWithExistingValues={getTeamListWithExistingValues}\r\n        modalTitle=\"Set up a new team to collaborate effectively. Teams allow you to organize your workspace, assign roles, and manage projects efficiently.\"\r\n        handleOpenInvite={true}\r\n        setCreatedTeamInfo={setCreatedTeamInfo}\r\n        handleOpenInviteModal={() => setInviteNewMembers(true)}\r\n      />\r\n\r\n      {showDeleteTeam && (\r\n        <DeleteTeam\r\n          open={showDeleteTeam}\r\n          handleClose={() => setShowDeleteTeam(false)}\r\n          handleClickDelete={handleClickDeleteTeam}\r\n          loading={deletingInprogress}\r\n          isDeleteTeam={true}\r\n          teamName={selectedTeamInfo?.team_name}\r\n        />\r\n      )}\r\n\r\n      <Popover\r\n        id={popoverId}\r\n        open={Boolean(anchorEl)}\r\n        anchorEl={anchorEl}\r\n        onClose={handleCloseMoreMenu}\r\n        anchorOrigin={{\r\n          vertical: \"bottom\",\r\n          horizontal: \"right\",\r\n        }}\r\n        transformOrigin={{\r\n          vertical: \"top\",\r\n          horizontal: \"right\",\r\n        }}\r\n        sx={{\r\n          \"& .MuiPaper-root\": {\r\n            p: \"10px\",\r\n            // ml: \"10px\",\r\n            boxShadow: \"0px 5px 24px 8px #10182814\",\r\n            bgcolor: color.whiteColor,\r\n            borderRadius: \"12px\",\r\n          },\r\n        }}\r\n      >\r\n        <Stack\r\n          sx={{\r\n            // border: \"1px solid #EFF0F3\",\r\n            display: \"flex\",\r\n            flexDirection: \"column\",\r\n\r\n            gap: \"6px\",\r\n            minWidth: \"145px\",\r\n          }}\r\n        >\r\n          <Stack\r\n            direction=\"row\"\r\n            alignItems=\"center\"\r\n            gap=\"8px\"\r\n            px=\"8px\"\r\n            height=\"34px\"\r\n            sx={{\r\n              cursor: \"pointer\",\r\n              bgcolor: \"transparent\",\r\n              transition: \"all 0.3s ease\",\r\n              color: color.titleDark,\r\n              borderRadius: \"8px\",\r\n              \"&:hover\": {\r\n                bgcolor: color.commonHoverColor,\r\n                fontWeight: 600,\r\n              },\r\n            }}\r\n            onClick={() => {\r\n              restoreTeam();\r\n            }}\r\n          >\r\n            <Typography\r\n              fontSize={fontSizes.mediumFont}\r\n              fontWeight={fontWeight.weight400}\r\n              color={color.titleDark}\r\n              height=\"18px\"\r\n            >\r\n              Restore Team\r\n            </Typography>\r\n          </Stack>\r\n\r\n          <Stack\r\n            direction=\"row\"\r\n            alignItems=\"center\"\r\n            gap=\"8px\"\r\n            px=\"8px\"\r\n            height=\"34px\"\r\n            sx={{\r\n              cursor: \"pointer\",\r\n              bgcolor: \"transparent\",\r\n              transition: \"all 0.3s ease\",\r\n              color: color.errorColor,\r\n              borderRadius: \"8px\",\r\n              \"&:hover\": {\r\n                color: color.errorColor,\r\n                bgcolor: color.lightErrorColor,\r\n                fontWeight: 600,\r\n              },\r\n            }}\r\n            onClick={() => {\r\n              handleDeleteTeamPermanent();\r\n            }}\r\n          >\r\n            <Typography fontSize={fontSizes.mediumFont} height=\"18px\">\r\n              Delete Permanently\r\n            </Typography>\r\n          </Stack>\r\n        </Stack>\r\n      </Popover>\r\n\r\n      {/* <InviteMultipleUserModel\r\n        open={inviteNewMembers}\r\n        handleCloseInviteUserModal={() => setInviteNewMembers(false)}\r\n        // fetchApiCall={() => getMembersByTeamWithSearch(queryArgs)}\r\n        modalTitle={`Invite New Member to ${createdTeamInfo?.team_name}`}\r\n        modalSubTitle=\"Collaborate seamlessly by inviting new members to your team. Assign roles and set permissions to get started.\"\r\n        hidePermissions={true}\r\n        selectedTeamId={createdTeamInfo?.team_id}\r\n        selectedTeamName={createdTeamInfo?.team_name}\r\n        addUserFromWp=\"Add user from workspace\"\r\n        hideTeams={true}\r\n      /> */}\r\n    </Box>\r\n  );\r\n}\r\n\r\nexport default ManageTeams;\r\n","import { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport React from \"react\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { s3AssetsUrl } from \"../../../../DrawBoard/const\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  //   width: \"550px\",\r\n  width: 480,\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"0px 4px 10px rgba(0, 0, 0, 0.1)\",\r\n  p: \"24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst NotificationModal = ({\r\n  open,\r\n  handleClose,\r\n  handleClickDone,\r\n  isLoading,\r\n}) => {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Box display={\"flex\"} justifyContent={\"center\"} my={2}>\r\n          <img src={s3AssetsUrl + \"/images/subscribe-envelop.png\"} alt=\"subscribed\" />\r\n        </Box>\r\n        <Stack\r\n          direction={\"row\"}\r\n          alignItems={\"center\"}\r\n          justifyContent={\"space-between\"}\r\n        >\r\n          <Typography\r\n            fontSize={{\r\n              xs: fontSizes.fontSize12px,\r\n              xl: fontSizes.fontSize14,\r\n            }}\r\n            fontWeight={fontWeight.weight400}\r\n            color={color.subTitle}\r\n            maxWidth={\"500px\"}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize12px,\r\n                xl: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={fontWeight.weight600}\r\n              color={color.titleDark}\r\n              component={\"span\"}\r\n            >\r\n              Thank you for subscribing\r\n            </Typography>{\" \"}\r\n            {\"\"}\r\n            to Cloudairy updates! You’ll receive the latest news, tips, and\r\n            feature announcements in your inbox.\r\n          </Typography>\r\n          {/* <IconButton\r\n            sx={{\r\n              width: \"36px\",\r\n              height: \"36px\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EDEFF1\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill={color.titleDark} />\r\n          </IconButton> */}\r\n          <IconButton\r\n            sx={{\r\n              position: \"absolute\",\r\n              top: {\r\n                xs: \"15px\",\r\n                lg: \"15px\",\r\n                xl: \"19px\",\r\n              },\r\n              right: {\r\n                xs: \"15px\",\r\n                lg: \"15px\",\r\n                xl: \"19px\",\r\n              },\r\n              width: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              height: {\r\n                xs: \"30px !important\",\r\n                lg: \"30px !important\",\r\n                xl: \"36px !important\",\r\n              },\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={() => handleClose()}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n        </Stack>\r\n\r\n        <Typography\r\n          fontSize={fontSizes.fontSize14}\r\n          color={color.subTitle}\r\n          mt=\"12px\"\r\n          mb=\"24px\"\r\n        >\r\n          <Typography\r\n            display={\"inline\"}\r\n            fontSize={{\r\n              xs: fontSizes.fontSize12px,\r\n              xl: fontSizes.fontSize14,\r\n            }}\r\n            fontWeight={fontWeight.weight600}\r\n            color={color.titleDark}\r\n          >\r\n            Unsubscribe note{\" \"}\r\n          </Typography>\r\n          You can unsubscribe from these emails at any time via your account\r\n          settings.\r\n        </Typography>\r\n\r\n        <Stack direction=\"row\" justifyContent=\"center\" spacing={2}>\r\n          <BtnGradient\r\n            btnColor={color.primaryColor}\r\n            sx={{\r\n              borderRadius: \"8px\",\r\n              px: \"30px\",\r\n            }}\r\n            onClick={handleClickDone}\r\n            loading={isLoading}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              color=\"#FFF\"\r\n              fontWeight={500}\r\n            >\r\n              Done\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n};\r\n\r\nexport default NotificationModal;\r\n","import { Stack, Typography } from \"@mui/material\";\r\nimport React from \"react\";\r\nimport { useLocation, useNavigate, useParams } from \"react-router-dom\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\n\r\nconst ProfilesTabs = () => {\r\n  const navigate = useNavigate();\r\n  const { pathname } = useLocation();\r\n  const params = useParams();\r\n  const profileTabes = [\r\n    {\r\n      // label: \"User Profile\",\r\n      label: \"Profile details\",\r\n      onClick: () => {\r\n        navigate(\"/user/profile\");\r\n      },\r\n      isTabActive: pathname === \"/user/profile\",\r\n    },\r\n    {\r\n      label: \"User info\",\r\n      onClick: () => {\r\n        navigate(\"/user/profile/user-info\");\r\n      },\r\n      isTabActive: pathname === \"/user/profile/user-info\",\r\n    },\r\n    {\r\n      label: \"Notifications\",\r\n      onClick: () => {\r\n        navigate(\"/user/profile/notifications\");\r\n      },\r\n      isTabActive: pathname === \"/user/profile/notifications\",\r\n    },\r\n\r\n    // {\r\n    //   label: \"Integrations\",\r\n    //   onClick: () => {\r\n    //     navigate(\"/user/profile/integrations\");\r\n    //   },\r\n    //   isTabActive:\r\n    //     pathname ===\r\n    //     `/${params.workSpaceId}/${params.teamId}` +\r\n    //       \"/user/profile/integrations\",\r\n    // },\r\n  ];\r\n\r\n  return (\r\n    <Stack\r\n      width={\"100%\"}\r\n      flexDirection={\"row\"}\r\n      justifyContent={\"flex-start\"}\r\n      alignItems={\"center\"}\r\n      gap={\"8px\"}\r\n    >\r\n      {profileTabes.map(({ isTabActive, label, onClick }, i) => {\r\n        return (\r\n          <Stack\r\n            key={i + 1}\r\n            height={{\r\n              xs: \"30px\",\r\n              md: \"35px\",\r\n              xl: \"40px\",\r\n            }}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"center\"}\r\n            px={{\r\n              xs: \"8px\",\r\n              md: \"15px\",\r\n              xl: \"20px\",\r\n            }}\r\n            borderRadius={{\r\n              xs: \"6px\",\r\n              sm: \"8px\",\r\n            }}\r\n            bgcolor={isTabActive ? color.lightPrimary : \"#FFF\"}\r\n            sx={{\r\n              cursor: \"pointer\",\r\n              \"&:hover\": {\r\n                bgcolor: !isTabActive && color.greyHover,\r\n                \"& p\": {\r\n                  color: !isTabActive && color.titleDark,\r\n                },\r\n              },\r\n            }}\r\n            onClick={onClick}\r\n          >\r\n            <Typography\r\n              color={isTabActive ? color.primaryColor : color.subTitle}\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={\r\n                isTabActive ? fontWeight.weight600 : fontWeight.weight500\r\n              }\r\n            >\r\n              {label}\r\n            </Typography>\r\n          </Stack>\r\n        );\r\n      })}\r\n    </Stack>\r\n  );\r\n};\r\n\r\nexport default ProfilesTabs;\r\n","import React from \"react\";\r\nimport ProfilesTabs from \"./ProfilesTabs\";\r\nimport { Outlet } from \"react-router-dom\";\r\nimport { Box, Typography } from \"@mui/material\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport CommonDivider from \"../../../../../common-components/CommonDivider\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\n\r\nconst ProfileLayout = () => {\r\n  return (\r\n    <Box>\r\n      <Typography\r\n        fontSize={fontSizes.fontSize22}\r\n        fontWeight={fontWeight.weight600}\r\n        color={color.titleDark}\r\n        mb={\"1rem\"}\r\n      >\r\n        Profile Settings\r\n      </Typography>\r\n      <ProfilesTabs />\r\n\r\n      <CommonDivider\r\n        my={\"20px\"}\r\n        border={`1px solid ${color.darkGray}`}\r\n        sx={{\r\n          opacity: 1,\r\n        }}\r\n      />\r\n      <Box\r\n        sx={{\r\n          position: \"relative\",\r\n          height: {\r\n            xs: \"calc(100svh - 240px)\",\r\n            // xl: \"calc(100svh - 250px)\",\r\n            xl: \"calc(100svh - 270px)\",\r\n          },\r\n          overflow: \"auto\",\r\n          \"&::-webkit-scrollbar\": {\r\n            width: \"0px !important\",\r\n            height: \"0px !important\",\r\n          },\r\n        }}\r\n      >\r\n        <Outlet />\r\n      </Box>\r\n    </Box>\r\n  );\r\n};\r\n\r\nexport default ProfileLayout;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { Box, Button, Stack, Typography } from \"@mui/material\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"550px\",\r\n  height: \"auto\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  boxShadow: \"none\",\r\n  p: \"30px 24px\",\r\n  borderRadius: \"12px\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nfunction SSOModal({\r\n  open,\r\n  handleClose,\r\n  handleConfirm,\r\n  title,\r\n  description,\r\n  confirmLabel,\r\n}) {\r\n  return (\r\n    <CustomModal open={open} handleClose={handleClose}>\r\n      <Box sx={style}>\r\n        <Typography id=\"modal-modal-title\" variant=\"h6\" component=\"h2\" mb={2}>\r\n          {title}\r\n        </Typography>\r\n        <Typography id=\"modal-modal-description\" mb={3}>\r\n          {description}\r\n        </Typography>\r\n        <Stack direction=\"row\" spacing={2} justifyContent=\"flex-end\">\r\n          <BtnGradient\r\n            sx={{\r\n              px: \"18px\",\r\n              width: \"fit-content\",\r\n              color: \"#848382\",\r\n              border: \"1px solid #e1e1e1\",\r\n            }}\r\n            btnColor=\"white\"\r\n            onClick={handleClose}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              height={fontSizes.btnTextHeight}\r\n              color={color.subTitle}\r\n            >\r\n              Cancel\r\n            </Typography>\r\n          </BtnGradient>\r\n          <BtnGradient\r\n            sx={{\r\n              px: \"18px\",\r\n              width: \"fit-content\",\r\n            }}\r\n            onClick={handleConfirm}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              height={fontSizes.btnTextHeight}\r\n              fontWeight={600}\r\n            >\r\n              {confirmLabel}\r\n            </Typography>\r\n          </BtnGradient>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n}\r\n\r\nexport default SSOModal;\r\n","import { Box, Stack, Typography } from \"@mui/material\";\r\nimport React, { useContext } from \"react\";\r\nimport { Outlet, useLocation, useNavigate } from \"react-router-dom\";\r\nimport { ModelContext } from \"../../../../../HOC/ModelContext\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport CommonDivider from \"../../../../../common-components/CommonDivider\";\r\n\r\n// function a11yProps(index) {\r\n//   return {\r\n//     id: `simple-tab-${index}`,\r\n//     \"aria-controls\": `simple-tabpanel-${index}`,\r\n//   };\r\n// }\r\n\r\nexport const SelectedTeamUser = () => {\r\n  const { pathname } = useLocation();\r\n  const navigate = useNavigate();\r\n\r\n  const { inviteNewMembers, setInviteNewMembers } = useContext(ModelContext);\r\n  // const selectedTeam = sessionStorage.getItem(\"selectedTeam\");\r\n  // const { selectedTeamId, selectedTeamName } = selectedTeam\r\n  //   ? JSON.parse(selectedTeam)\r\n  //   : {};\r\n\r\n  const teamsTabes = [\r\n    {\r\n      label: \"Team Profile\",\r\n      onClick: () => {\r\n        navigate(\"/user/manage-teams/team-profile\");\r\n      },\r\n      isTabActive: pathname === \"/user/manage-teams/team-profile\",\r\n    },\r\n    {\r\n      label: \"Team User\",\r\n      onClick: () => {\r\n        navigate(\"/user/manage-teams/team-profile/team-user\");\r\n      },\r\n      isTabActive: pathname === \"/user/manage-teams/team-profile/team-user\",\r\n    },\r\n    {\r\n      label: \"Permissions\",\r\n      onClick: () => {\r\n        navigate(\"/user/manage-teams/team-profile/team-permissions\");\r\n      },\r\n      isTabActive:\r\n        pathname === \"/user/manage-teams/team-profile/team-permissions\",\r\n    },\r\n  ];\r\n\r\n  const handleCloseInviteUserModal = () => {\r\n    setInviteNewMembers(false);\r\n  };\r\n\r\n  return (\r\n    <Box\r\n      sx={{\r\n        position: \"relative\",\r\n        overflow: \"auto\",\r\n      }}\r\n    >\r\n      <Stack\r\n        width={\"100%\"}\r\n        flexDirection={\"row\"}\r\n        justifyContent={\"flex-start\"}\r\n        alignItems={\"center\"}\r\n        gap={\"8px\"}\r\n      >\r\n        {teamsTabes.map(({ isTabActive, label, onClick }, i) => {\r\n          return (\r\n            <Stack\r\n              key={i + 1}\r\n              height={{\r\n                xs: \"30px\",\r\n                md: \"35px\",\r\n                xl: \"40px\",\r\n              }}\r\n              alignItems={\"center\"}\r\n              justifyContent={\"center\"}\r\n              px={{\r\n                xs: \"8px\",\r\n                md: \"15px\",\r\n                xl: \"20px\",\r\n              }}\r\n              borderRadius={{\r\n                xs: \"6px\",\r\n                sm: \"8px\",\r\n              }}\r\n              bgcolor={isTabActive ? color.lightPrimary : \"#FFF\"}\r\n              sx={{\r\n                cursor: \"pointer\",\r\n                \"&:hover\": {\r\n                  bgcolor: !isTabActive && color.greyHover,\r\n                  \"& p\": {\r\n                    color: !isTabActive && color.titleDark,\r\n                  },\r\n                },\r\n              }}\r\n              onClick={onClick}\r\n            >\r\n              <Typography\r\n                color={isTabActive ? color.primaryColor : color.subTitle}\r\n                fontSize={{\r\n                  xs: fontSizes.mediumFont,\r\n                  md: fontSizes.fontSize13,\r\n                  xl: fontSizes.fontSize14,\r\n                }}\r\n                fontWeight={\r\n                  isTabActive ? fontWeight.weight600 : fontWeight.weight500\r\n                }\r\n              >\r\n                {label}\r\n              </Typography>\r\n            </Stack>\r\n          );\r\n        })}\r\n      </Stack>\r\n      {/* <InviteMultipleUserModel\r\n        open={inviteNewMembers}\r\n        handleCloseInviteUserModal={handleCloseInviteUserModal}\r\n        // fetchApiCall={() => getMembersByTeamWithSearch(queryArgs)}\r\n        modalTitle={`Invite New Member to ${selectedTeamName}`}\r\n        modalSubTitle=\"Collaborate seamlessly by inviting new members to your team. Assign roles and set permissions to get started.\"\r\n        hidePermissions={true}\r\n        selectedTeamId={selectedTeamId}\r\n        selectedTeamName={selectedTeamName}\r\n        addUserFromWp=\"Add user from workspace\"\r\n      /> */}\r\n    </Box>\r\n  );\r\n};\r\n\r\n// export default SelectedTeamUser;\r\n\r\nconst TeamsLayout = () => {\r\n  return (\r\n    <Box\r\n    // sx={{\r\n    //   \"&::-webkit-scrollbar\": {\r\n    //     display: \"none\",\r\n    //   },\r\n    //   height: {\r\n    //     // xs: \"calc(100svh - 170px)\",\r\n    //     // xl: \"calc(100svh - 150px)\",\r\n    //     xs: \"calc(100svh - 170px)\",\r\n    //     lg: \"calc(100svh - 170px)\",\r\n    //     xl: \"calc(100svh - 210px)\",\r\n    //   },\r\n    //   overflow: \"auto\",\r\n    // }}\r\n    >\r\n      <SelectedTeamUser />\r\n      <CommonDivider\r\n        my={\"20px\"}\r\n        border={`1px solid ${color.darkGray}`}\r\n        sx={{\r\n          opacity: 1,\r\n        }}\r\n      />\r\n\r\n      <Box\r\n        sx={{\r\n          position: \"relative\",\r\n          height: {\r\n            // xs: \"calc(100svh - 230px)\",\r\n            xs: \"calc(100svh - 245px)\",\r\n            // xl: \"calc(100svh - 250px)\",\r\n            // xl: \"calc(100svh - 280px)\",\r\n            xl: \"calc(100svh - 260px)\",\r\n          },\r\n          overflow: \"auto\",\r\n          \"&::-webkit-scrollbar\": {\r\n            width: \"0px !important\",\r\n            height: \"0px !important\",\r\n          },\r\n        }}\r\n      >\r\n        <Outlet />\r\n      </Box>\r\n    </Box>\r\n  );\r\n};\r\n\r\nexport default TeamsLayout;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport VerifyEmail from \"../../../../Auth/forgotPassword/VerifyEmail\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport SetNewPassword from \"../../../../Auth/setnewpassword/SetNewPassword\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  //   maxWidth: \"600px\",\r\n  width: \"598px\",\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px\",\r\n    md: \"25px\",\r\n    // xl: \"30px\",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  //   maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\nconst SetNewPasswordModal = ({ open, onClose }) => {\r\n  return (\r\n    <CustomModal open={open} handleClose={onClose}>\r\n      <Box sx={{ ...style }}>\r\n        <Stack width={\"100%\"}>\r\n          <Stack\r\n            direction={\"row\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"space-between\"}\r\n            mb={\"6px\"}\r\n          >\r\n            <Typography\r\n              fontSize={{\r\n                xs: fontSizes.titleFont,\r\n                md: fontSizes.modelTitle,\r\n                xl: fontSizes.modelTitle1,\r\n              }}\r\n              fontWeight={fontWeight.weight800}\r\n              color={color.titleDark}\r\n            >\r\n              {/* Create a new password */}\r\n              Reset Your Password\r\n            </Typography>\r\n            <IconButton\r\n              sx={{\r\n                width: {\r\n                  xs: \"30px !important\",\r\n                  lg: \"30px !important\",\r\n                  xl: \"36px !important\",\r\n                },\r\n                height: {\r\n                  xs: \"30px !important\",\r\n                  lg: \"30px !important\",\r\n                  xl: \"36px !important\",\r\n                },\r\n                borderRadius: \"50%\",\r\n                bgcolor: \"#EFF0F3\",\r\n                transition: \"all 0.3s ease\",\r\n                \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n              }}\r\n              onClick={() => {\r\n                onClose();\r\n              }}\r\n            >\r\n              <IcCloseThin fill=\"#18181B\" />\r\n            </IconButton>\r\n          </Stack>\r\n          <Typography\r\n            fontSize={fontSizes.largeFont}\r\n            fontWeight={fontWeight.weight400}\r\n            color={\"#848382\"}\r\n            mb={\"1rem\"}\r\n          >\r\n            {/* Type your new password. */}\r\n            Enter your new password below. Make sure it’s strong and secure.\r\n          </Typography>\r\n          <Stack width={\"100%\"} justifyContent={\"flex-end\"} height={\"100%\"}>\r\n            <SetNewPassword isModalView={true} />\r\n          </Stack>\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n};\r\n\r\nexport default SetNewPasswordModal;\r\n","import { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport React, { useEffect } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnColoredOutlined from \"../../../../../common-components/buttons/BtnColoredOutlined\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { useSignOutFromAllDevicesMutation } from \"../../../../../Redux/api/usersApi\";\r\nimport { successToast } from \"../../../../../Redux/toastSlice\";\r\nimport { color } from \"../../../../../Utils/style/color/color\";\r\nimport { fontWeight } from \"../../../../../Utils/style/weight/fontWeight\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\nimport CommonBulletPoint from \"../../../../../CommanUI/CommonBulletPoint\";\r\nimport { logoutChannel } from \"../../../../../CommanFunctions/commanFunctions\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  maxWidth: \"570px\",\r\n  width: {\r\n    xs: \"90%\",\r\n    md: \"40%\",\r\n    // xl: \"100%\",\r\n  },\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px 10px\",\r\n    md: \"20px 16px\",\r\n    xl: \"30px 24px\",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst SignOutAllDeviceModal = ({ open, onClose, profileData }) => {\r\n  const dispatch = useDispatch();\r\n  const navigate = useNavigate();\r\n  const [\r\n    signoutFromAllDevices,\r\n    {\r\n      data: signedOutData,\r\n      isLoading: signOutInProgress,\r\n      error: errorInSignOut,\r\n    },\r\n  ] = useSignOutFromAllDevicesMutation();\r\n  useEffect(() => {\r\n    if (signedOutData) {\r\n      dispatch(\r\n        successToast({\r\n          message: signedOutData?.message,\r\n        })\r\n      );\r\n      logoutChannel.postMessage(\"logout\");\r\n      navigate(\"/login\");\r\n    }\r\n  }, [signedOutData, errorInSignOut]);\r\n  return (\r\n    <>\r\n      <CustomModal\r\n        open={open}\r\n        handleClose={signOutInProgress ? () => {} : onClose}\r\n      >\r\n        <Box sx={style}>\r\n          <Stack width={\"100%\"}>\r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"flex-start\"}\r\n              justifyContent={\"space-between\"}\r\n            >\r\n              <Box\r\n                sx={{\r\n                  maxWidth: \"90%\",\r\n                  whiteSpace: \"normal\",\r\n                  overflow: \"hidden\",\r\n                  textOverflow: \"ellipsis\",\r\n                  wordBreak: \"break-word\",\r\n                }}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.titleFont,\r\n                    md: fontSizes.modelTitle,\r\n                    xl: fontSizes.modelTitle1,\r\n                  }}\r\n                  fontWeight={fontWeight.weight800}\r\n                  color={color.titleDark}\r\n                >\r\n                  Sign Out from All Devices\r\n                </Typography>\r\n              </Box>\r\n              <IconButton\r\n                sx={{\r\n                  position: \"absolute\",\r\n                  right: \"24px\",\r\n                  width: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  height: {\r\n                    xs: \"30px !important\",\r\n                    lg: \"30px !important\",\r\n                    xl: \"36px !important\",\r\n                  },\r\n                  borderRadius: \"50%\",\r\n                  bgcolor: \"#EFF0F3\",\r\n                  transition: \"all 0.3s ease\",\r\n                  \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n                }}\r\n                onClick={onClose}\r\n              >\r\n                <IcCloseThin fill=\"#18181B\" />\r\n              </IconButton>\r\n            </Stack>\r\n            <Typography\r\n              color={color.subTitle}\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={fontWeight.weight400}\r\n              mt=\"12px\"\r\n              mb=\"12px\"\r\n            >\r\n              Are you sure you want to sign out from all devices?\r\n            </Typography>\r\n            <Stack gap={\"32px\"}>\r\n              <Stack>\r\n                <Typography\r\n                  fontWeight={\"600\"}\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  color={\"#18181B\"}\r\n                  mb={1}\r\n                >\r\n                  Important Notes:\r\n                </Typography>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  gap={\"8px\"}\r\n                  alignItems={\"flex-start\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    color={color.subTitle}\r\n                    fontWeight={\"400\"}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                  >\r\n                    This action will log you out of your account on all devices\r\n                    where you're currently signed in.\r\n                  </Typography>\r\n                </Stack>\r\n                <Stack\r\n                  direction={\"row\"}\r\n                  gap={\"8px\"}\r\n                  alignItems={\"flex-start\"}\r\n                  ml={1}\r\n                >\r\n                  <CommonBulletPoint />\r\n                  <Typography\r\n                    color={color.subTitle}\r\n                    fontWeight={\"400\"}\r\n                    fontSize={{\r\n                      xs: fontSizes.fontSize13,\r\n                      md: fontSizes.fontSize14,\r\n                    }}\r\n                  >\r\n                    To continue using Cloudairy, you will need to sign back in\r\n                    with your credentials.\r\n                  </Typography>\r\n                </Stack>\r\n              </Stack>\r\n            </Stack>\r\n            <Typography\r\n              color={color.subTitle}\r\n              fontSize={{\r\n                xs: fontSizes.fontSize13,\r\n                md: fontSizes.fontSize14,\r\n              }}\r\n              fontWeight={400}\r\n              mt={\"16px\"}\r\n            >\r\n              This is a recommended action if you suspect unauthorized access or\r\n              want to secure your account.\r\n            </Typography>\r\n            <Stack\r\n              direction={\"row\"}\r\n              alignItems={\"center\"}\r\n              justifyContent={\"flex-end\"}\r\n              gap={\"20px\"}\r\n              mt={\"24px\"}\r\n            >\r\n              <BtnColoredOutlined\r\n                bgcolor={color.greyHover}\r\n                borderColor={color.commonBorderColor}\r\n                sx={{\r\n                  px: \"16px\",\r\n                  transition: \"all 0.2s\",\r\n                }}\r\n                hoverSx={{\r\n                  bgcolor: color.darkGray,\r\n                }}\r\n                onClick={onClose}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  height={fontSizes.btnTextHeight}\r\n                  color={color.subTitle}\r\n                >\r\n                  Cancel\r\n                </Typography>\r\n              </BtnColoredOutlined>\r\n              <BtnGradient\r\n                loading={signOutInProgress}\r\n                sx={{\r\n                  px: \"24px\",\r\n                }}\r\n                onClick={() => signoutFromAllDevices()}\r\n              >\r\n                <Typography\r\n                  fontSize={{\r\n                    xs: fontSizes.fontSize13,\r\n                    md: fontSizes.fontSize14,\r\n                  }}\r\n                  height={fontSizes.btnTextHeight}\r\n                  fontWeight={500}\r\n                >\r\n                  Sign Out Everywhere\r\n                </Typography>\r\n              </BtnGradient>\r\n            </Stack>\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default SignOutAllDeviceModal;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"510px\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  p: {\r\n    xs: \"24px\",\r\n    md: \"32px 40px\",\r\n  },\r\n  borderRadius: \"12px\",\r\n  maxHeight: \"97%\",\r\n  boxShadow: \"none\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst SuccessDeleteTeam = ({ showSuccessModal, handleCloseSuccessModal }) => {\r\n  return (\r\n    <>\r\n      <CustomModal\r\n        open={showSuccessModal}\r\n        handleClose={handleCloseSuccessModal}\r\n      >\r\n        <Box sx={style}>\r\n          <IconButton\r\n            sx={{\r\n              position: \"absolute\",\r\n              top: \"20px\",\r\n              right: \"20px\",\r\n              width: \"36px !important\",\r\n              height: \"36px !important\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={handleCloseSuccessModal}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n          <Stack\r\n            direction={\"column\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"center\"}\r\n          >\r\n            <Box\r\n              width={\"160px\"}\r\n              height={\"160px\"}\r\n              sx={{\r\n                \"& img\": {\r\n                  height: \"100%\",\r\n                  width: \"100%\",\r\n                },\r\n              }}\r\n            >\r\n              <img\r\n                src={\r\n                  \"https://cloudairy-template-storage.s3.us-east-1.amazonaws.com/public/assets/verification_completed.gif\"\r\n                }\r\n                alt=\"verification_completed\"\r\n              />\r\n            </Box>\r\n            <Typography\r\n              fontSize={20}\r\n              fontWeight={600}\r\n              height={\"28px\"}\r\n              color={\"#18181B\"}\r\n              mb={\"15px\"}\r\n              textAlign={\"center\"}\r\n            >\r\n              Link has been sent to your email\r\n            </Typography>\r\n            <Typography\r\n              fontSize={14}\r\n              lineHeight={\"18px\"}\r\n              color={\"#848382\"}\r\n              textAlign={\"center\"}\r\n              mb={\"16px\"}\r\n            >\r\n              Your request has been successfully submitted for further review.\r\n              We will get back to you shortly with an email update.\r\n            </Typography>\r\n            <BtnGradient\r\n              sx={{\r\n                px: \"60px\",\r\n              }}\r\n              onClick={handleCloseSuccessModal}\r\n            >\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                height={fontSizes.btnTextHeight}\r\n                fontWeight={500}\r\n              >\r\n                Done\r\n              </Typography>\r\n            </BtnGradient>\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default SuccessDeleteTeam;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\nimport BtnGradient from \"../../../../../common-components/buttons/BtnGradient\";\r\nimport { fontSizes } from \"../../../../../Utils/style/font/fontsizes\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  width: \"510px\",\r\n  bgcolor: \"#FFF\",\r\n  border: \"none\",\r\n  p: {\r\n    xs: \"24px\",\r\n    md: \"32px 40px\",\r\n  },\r\n  borderRadius: \"12px\",\r\n  maxHeight: \"97%\",\r\n  boxShadow: \"none\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst SuccessDeleteWorkSpace = ({\r\n  showSuccessModal,\r\n  handleCloseSuccessModal,\r\n}) => {\r\n  return (\r\n    <>\r\n      <CustomModal\r\n        open={showSuccessModal}\r\n        handleClose={handleCloseSuccessModal}\r\n      >\r\n        <Box sx={style}>\r\n          <IconButton\r\n            sx={{\r\n              position: \"absolute\",\r\n              top: \"20px\",\r\n              right: \"20px\",\r\n              width: \"36px !important\",\r\n              height: \"36px !important\",\r\n              borderRadius: \"50%\",\r\n              bgcolor: \"#EFF0F3\",\r\n              transition: \"all 0.3s ease\",\r\n              \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            }}\r\n            onClick={handleCloseSuccessModal}\r\n          >\r\n            <IcCloseThin fill=\"#18181B\" />\r\n          </IconButton>\r\n          <Stack\r\n            direction={\"column\"}\r\n            alignItems={\"center\"}\r\n            justifyContent={\"center\"}\r\n          >\r\n            <Box\r\n              width={\"160px\"}\r\n              height={\"160px\"}\r\n              sx={{\r\n                \"& img\": {\r\n                  height: \"100%\",\r\n                  width: \"100%\",\r\n                },\r\n              }}\r\n            >\r\n              <img\r\n                src={\r\n                  \"https://cloudairy-template-storage.s3.us-east-1.amazonaws.com/public/assets/verification_completed.gif\"\r\n                }\r\n                alt=\"verification_completed\"\r\n              />\r\n            </Box>\r\n            <Typography\r\n              fontSize={20}\r\n              fontWeight={600}\r\n              height={\"28px\"}\r\n              color={\"#18181B\"}\r\n              mb={\"15px\"}\r\n              textAlign={\"center\"}\r\n            >\r\n              Link has been sent to your email\r\n            </Typography>\r\n            <Typography\r\n              fontSize={14}\r\n              lineHeight={\"18px\"}\r\n              color={\"#848382\"}\r\n              textAlign={\"center\"}\r\n              mb={\"16px\"}\r\n            >\r\n              Your request has been successfully submitted for further review.\r\n              We will get back to you shortly with an email update.\r\n            </Typography>\r\n            <BtnGradient\r\n              sx={{\r\n                px: \"60px\",\r\n              }}\r\n              onClick={handleCloseSuccessModal}\r\n            >\r\n              <Typography\r\n                fontSize={{\r\n                  xs: fontSizes.fontSize13,\r\n                  md: fontSizes.fontSize14,\r\n                }}\r\n                height={fontSizes.btnTextHeight}\r\n                fontWeight={500}\r\n              >\r\n                Done\r\n              </Typography>\r\n            </BtnGradient>\r\n          </Stack>\r\n        </Box>\r\n      </CustomModal>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default SuccessDeleteWorkSpace;\r\n","import React from \"react\";\r\nimport CustomModal from \"../../../../../common-components/CustomModal\";\r\nimport VerifyEmail from \"../../../../Auth/forgotPassword/VerifyEmail\";\r\nimport { Box, IconButton, Stack, Typography } from \"@mui/material\";\r\nimport { IcCloseThin } from \"../../../../../assets/icon-components\";\r\n\r\nconst style = {\r\n  position: \"absolute\",\r\n  top: \"50%\",\r\n  left: \"50%\",\r\n  transform: \"translate(-50%, -50%)\",\r\n  maxWidth: \"570px\",\r\n  width: {\r\n    xs: \"90%\",\r\n    md: \"70%\",\r\n    xl: \"100%\",\r\n  },\r\n  bgcolor: \"#fff\",\r\n  borderRadius: \"12px\",\r\n  boxShadow: \"0px 0px 8px 2px #1018280A\",\r\n  p: {\r\n    xs: \"15px 10px\",\r\n    md: \"20px 16px\",\r\n    xl: \"30px 24px\",\r\n  },\r\n  display: \"flex\",\r\n  gap: \"33px\",\r\n  maxHeight: \"97%\",\r\n  overflowY: \"auto\",\r\n  \"&::-webkit-scrollbar\": {\r\n    width: \"0 !important\",\r\n    height: \"0 !important\",\r\n  },\r\n  \"&:focus-visible\": { outline: \"none !important\" },\r\n};\r\n\r\nconst VerifyCodeModal = ({\r\n  open,\r\n  onClose,\r\n  handleShowNewPass,\r\n  handleCloseNewPass,\r\n}) => {\r\n  return (\r\n    <CustomModal open={open} handleClose={onClose}>\r\n      <Box sx={{ ...style }}>\r\n        <IconButton\r\n          sx={{\r\n            zIndex: 99,\r\n            position: \"absolute\",\r\n            top: {\r\n              xs: \"20px\",\r\n              xl: \"30px\",\r\n            },\r\n            right: {\r\n              xs: \"20px\",\r\n              xl: \"30px\",\r\n            },\r\n            width: {\r\n              xs: \"28px !important\",\r\n              xl: \"36px !important\",\r\n            },\r\n            height: {\r\n              xs: \"28px !important\",\r\n              xl: \"36px !important\",\r\n            },\r\n            borderRadius: \"50%\",\r\n            bgcolor: \"#EFF0F3\",\r\n            transition: \"all 0.3s ease\",\r\n            \"&:hover\": { bgcolor: \"#EFF0F3\" },\r\n            cursor: \"pointer\",\r\n          }}\r\n          onClick={onClose}\r\n        >\r\n          <IcCloseThin fill=\"#18181B\" />\r\n        </IconButton>\r\n        <Stack width={\"100%\"} justifyContent={\"flex-end\"} height={\"100%\"}>\r\n          <VerifyEmail\r\n            isModalView={true}\r\n            handleShowNewPass={handleShowNewPass}\r\n            onClose={onClose}\r\n          />\r\n        </Stack>\r\n      </Box>\r\n    </CustomModal>\r\n  );\r\n};\r\n\r\nexport default VerifyCodeModal;\r\n","import React, { createContext, useState } from \"react\";\r\n\r\nexport const ModelContext = createContext();\r\n\r\nconst ModelContextWrapper = ({ children }) => {\r\n  const [isOpenModelBlank, setIsOpenModelBlank] = useState(false);\r\n  const [createNewTeamModal, setCreateNewTeamModal] = useState(false);\r\n  const [addDomainModal, setAddDomainModal] = useState(false);\r\n  const [inviteNewMembers, setInviteNewMembers] = useState(false);\r\n  const [openCreateNewSpaceModel, setOpenCreateNewSpaceModel] = useState(false);\r\n  const [openCreateNewTeamModel, setOpenCreateNewTeamModel] = useState(false);\r\n  const [showPlanModel, setShowPlaneModel] = useState(false);\r\n  const [showReactiveModel, setShowReactivateModel] = useState(false);\r\n\r\n  const modelState = {\r\n    isOpenModelBlank: isOpenModelBlank,\r\n    setIsOpenModelBlank: setIsOpenModelBlank,\r\n    createNewTeamModal,\r\n    setCreateNewTeamModal,\r\n    setAddDomainModal,\r\n    addDomainModal,\r\n    inviteNewMembers,\r\n    setInviteNewMembers,\r\n    openCreateNewSpaceModel,\r\n    setOpenCreateNewSpaceModel,\r\n    openCreateNewTeamModel,\r\n    setOpenCreateNewTeamModel,\r\n    showPlanModel,\r\n    setShowPlaneModel,\r\n    showReactiveModel,\r\n    setShowReactivateModel,\r\n  };\r\n\r\n  return (\r\n    <ModelContext.Provider value={modelState}>{children}</ModelContext.Provider>\r\n  );\r\n};\r\n\r\nexport default ModelContextWrapper;\r\n","import { useMediaQuery, useTheme } from \"@mui/material\";\r\nimport React from \"react\";\r\nimport MobileNotFound from \"../Components/commonPages/MobileNotFound\";\r\n\r\nconst OtherOperations = ({ children }) => {\r\n  const theme = useTheme();\r\n\r\n  const matchDown760 = useMediaQuery(theme.breakpoints.down(760));\r\n  if (matchDown760) {\r\n    return <MobileNotFound />;\r\n  }\r\n  return <div>{children}</div>;\r\n};\r\n\r\nexport default OtherOperations;\r\n","import { PublicClientApplication } from \"@azure/msal-browser\";\r\nimport React from \"react\";\r\nimport { msalConfig } from \"../App\";\r\nimport { loadStripe } from \"@stripe/stripe-js\";\r\nimport { Elements } from \"@stripe/react-stripe-js\";\r\nimport { MsalProvider } from \"@azure/msal-react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport ToastComponent from \"../CommanUI/Toast/toast\";\r\n\r\nconst ThirdPartyIntegrations = ({ children }) => {\r\n  const toastData = useSelector((state) => state.toastData);\r\n\r\n  const stripePromise = loadStripe(process.env.REACT_APP_STRIPE_PUBLIC_KEY);\r\n  const msalInstance = new PublicClientApplication(msalConfig);\r\n\r\n  return (\r\n    <MsalProvider instance={msalInstance}>\r\n      <Elements\r\n        stripe={stripePromise}\r\n        options={{\r\n          fonts: [\r\n            {\r\n              cssSrc:\r\n                \"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap\",\r\n            },\r\n          ],\r\n        }}\r\n      >\r\n        {children}\r\n        <ToastComponent\r\n          show={\r\n            toastData.showNotification && toastData?.message !== \"jwt expired\"\r\n          }\r\n          toastType={toastData.notificationType}\r\n          toastBody={toastData.message}\r\n          toastBg={toastData.toastBg}\r\n          isCustomStyled={toastData.isCustomStyled}\r\n          isBottomCenter={toastData.isBottomCenter}\r\n          isAutoHide={toastData.isAutoHide}\r\n        />\r\n      </Elements>\r\n    </MsalProvider>\r\n  );\r\n};\r\n\r\nexport default ThirdPartyIntegrations;\r\n"],"names":["_ref","open","handleCloseAddDomainModal","theme","useTheme","matchDown950","useMediaQuery","breakpoints","down","Modelstyle","position","top","left","transform","width","bgcolor","border","borderRadius","commonStyles","borderRadiusMD","p","_jsx","Modal","onClose","children","_jsxs","Box","sx","Typography","fontWeight","weight600","fontSize","fontSizes","modelTitle","IconButton","xs","lg","xl","right","height","transition","onClick","IcCloseThin","fill","LargeSimpleInput","fullWidth","label","placeholder","mainSx","minWidth","display","gap","mt","justifyContent","BtnColoredOutlined","color","greyHover","borderColor","commonBorderColor","px","hoverSx","darkGray","fontSize13","md","fontSize14","btnTextHeight","subTitle","BtnGradient","style","boxShadow","maxHeight","overflowY","outline","profileData","initialValue","old_email_id","email","new_email_id","register","handleSubmit","control","reset","setError","clearErrors","formState","errors","useForm","mode","defaultValues","loading","setLoading","useState","dispatch","useDispatch","submittedData","setSubmittedData","changeEmail","data","emailChanges","isLoading","changingInProgress","error","errorInChange","useChangeEmailMutation","useEffect","_Fragment","CustomModal","handleClose","onSubmit","test","then","result","_result$data","_result$error","_result$error$data","errorToast","message","status","_result$data2","_result$data3","successToast","catch","console","type","Loader","Stack","titleFont","modelTitle1","weight800","titleDark","Controller","name","defaultValue","rules","required","pattern","value","render","_ref2","field","_objectSpread","disabled","_ref3","_errors$new_email_id","errorMessage","onChange","e","direction","alignItems","ChangePasswordForm","_newPasswordData$newP","_newPasswordData$newP3","_newPasswordData$newP4","_newPasswordData$newP5","_newPasswordData$newP6","_newPasswordData$newP7","_newPasswordData$newP8","useNavigate","showCurrentPassword","setShowCurrentPassword","showPassword","setShowPassword","showConfirmPassword","setShowConfirmPassword","newPasswordData","setNewPasswordData","currentPassword","newPassword","confirmPassword","setErrors","digits","replace","renderValidationIcon","condition","_newPasswordData$newP2","trim","length","IcRight","IcWrong","eightCharacterIcon","upperAndLowerCaseIcon","oneNumberIcon","specialCharacterIcon","eightCharacter","upperAndLowerCase","password","hasUpper","hasLower","i","char","hasUpperAndLowerCase","oneNumber","specialCharacter","split","some","match","sm","AuthInput","lgHeight","mdHeight","xsHeight","mb","endAdornment","bgColor","defaultBorderColor","handleClickShowPassword","target","flexDirection","columnGap","padding","weight400","mediumFont","async","isValid","prev","response","commanService","postApi","oldpassword","newpassword","_error$response","_error$response$data","_error$response2","_error$response2$data","_error$response2$data2","warningToast","deleteOpt","setDeleteOpt","ownReason","setOwnReason","location","useLocation","token","URLSearchParams","search","get","deleteProfileConfirmation","deletedAccount","deletionInProgress","errorInDeletion","useSelector","store","common","userData","useDeleteProfileConfirmationMutation","toggleReasons","includes","filter","res","navigate","id","Header","commonHoverColor","margin","className","concat","CommonBulletPoint","weight500","SimpleCheckBox","checked","SimpleInput","multiline","rows","simpleBorderColor","_e$target","ml","maxWidth","variant","payload","reasons","default_reason","item","own_reason","localStorage","clear","handleProfileDelete","btnColor","errorColor","errorDarkColor","queryParams","workspaceName","deleteWorkSpaceConfirmation","useDeleteWorkSpaceConfirmationMutation","handleWpDelete","resendEmail","isWorkSpace","objectFit","src","s3AssetsUrl","alt","textAlign","lineHeight","backgroundColor","CustomAutoSelect","noOptionsText","spacing","primaryColor","_currentSubscription$","setOpen","selectedRecordIds","getTeamListWithExistingValues","modalTitle","handleOpenInvite","setCreatedTeamInfo","handleOpenInviteModal","teamName","setTeamName","currentSubscription","subscriptionDataSelect","formErrors","setFormErrors","createTeam","errorInCreating","creationInprogress","isSuccess","isError","useCreateTeamMutation","validateTeamName","fieldName","valid","_value$trim","_errorInCreating$data2","package","overflow","msOverflowStyle","scrollbarWidth","UpgradeModel","isNavigateOnClose","title","subtitle","whiteSpace","textOverflow","wordBreak","members","_data$data","_data$data3","_data$data2","setTimeout","_data$data4","_errorInCreating$data","deleteMyAccount","useDeleteProfileMutation","component","handleClickDelete","hexCode","colorName","errorColorDark","domainName","deleteDomainLoading","largeFont","fontTypeToDelete","boldItalicFontFile","boldItalicFontName","italicFontName","italicFontFile","boldFontName","boldFontFile","regularFontName","regularFontFile","cardLiteBgColor","IcFont","isDeleteTeam","isLeaveWp","listStyleType","showTheVerifyOptModal","setEmail","email_id","validateField","validateEmail","setItem","_error$response$data2","selectedInvitation","fetchApiCall","deleteInvitationById","useDeleteInvitationByIdMutation","user_id","_JSON$parse","_invitationsData$data","_invitationsData$data2","anchorEl","setAnchorEl","popoverId","Boolean","undefined","tableData","setTableData","searchValue","setSearchValue","showRemoveInvitation","setShowRemoveInvitation","setSelectedInvitation","isAccountOwnerAccess","state","role","inviteNewMembers","setInviteNewMembers","useContext","ModelContext","getInvitedUsersList","invitationsData","invitationsIsLoading","useGetInvitedUsersListMutation","JSON","parse","getItem","company_name","handleCloseMoreMenu","columns","useMemo","accessorKey","header","Cell","row","_row$name","Avatar","profile_picture","boxSizing","profile_color","map","word","_word$","toUpperCase","slice","join","_row$email_id","cursor","_row$invited_by","invited_by","localDateFormat","invited_on","textCenter","BtnWhiteBordered","textWrap","debouncedSearch","debounce","TakeSearchValue","flexWrap","py","SearchInput","formControlSx","TableComponent","resData","isTableLoading","desc","showSortingIconOnHover","emptyBoxHeight","RemoveInvitationModal","Popover","anchorOrigin","vertical","horizontal","Width","InviteUserTeamsShared","_teamsList$data","leaveId","setLeaveId","getTeamListByStatus","teamsList","loadingSharedTeam","useGetTeamListWithSearchMutation","leaveFromTeam","leaveData","leaving","errorInLeaving","useLeaveTeamMutation","fetchTeamsList","_data$data$data","_data$data$data$resDa","activeTeam","_data$data2$data","_data$data2$data$resD","_data$data2$data$resD2","find","team_id","updateTeamIdInLocalStorage","enableSorting","enableResizing","_row$team_name","team_name","logo","_row$members$length","_row$members","marginLeft","_row$boards_count","boards_count","_localDateFormat","updated_at","whiteColor","lightErrorColor","customSortIcons","ascending","IcSortingTableAse","descending","IcSortingTableDes","LeaveTeam","handleOK","handleLeaveTeam","_res$data","_res$data2","_res$error","InviteUserTeamsOwned","_teamsList$data2","selectedTeamInfo","setSelectedTeamInfo","deleteTeam","deletingInprogress","useDeleteTeamByIdMutation","textDecoration","_teamsList$data$resDa","_teamsList$data$resDa2","sessionStorage","stringify","selectedTeamId","selectedTeamName","createdById","created_by_id","_row$deleted_by","deleted_by","background","transitionDuration","stroke","IcTrash","DeleteTeam","handleDeleteTeam","_data$error","_data$error$data","InviteUserTeams","tabValue","setTabValue","a11yProps","index","Tabs","handleTabChange","event","newValue","minHeight","textTransform","lightPrimary","Tab","CommonDivider","my","opacity","SwitchBox","styled","props","Switch","focusVisibleClassName","disableRipple","applyStyles","palette","grey","transitions","create","duration","defaultChecked","teamDetails","handleDelete","deleteTeamPermanentlyLoading","setIsDeleteTeam","labelStyle","handleRestore","confirmRestoreTeamLoading","_teamsList$data4","_currentSubscription$2","_deletedTeamsList$dat","setValue","restoreTeamModal","setRestoreTeamModal","deleteTeamPermanently","setDeleteTeamPermanently","showDeleteTeam","setShowDeleteTeam","sortOption","setSortOption","selectedTeamRow","setSelectedTeamRow","searchValues","deletedSearchValue","setDeletedSearchValue","createdTeamInfo","isAccountOwner","createNewTeamModal","setCreateNewTeamModal","getTeamListWithSearch","teamsIsLoading","getDeleteTeamList","deletedTeamsList","deleteTeamsIsLoading","useGetDeleteTeamListMutation","restoreDeletedTeam","useRestoreDeletedTeamMutation","permanentlyDeleteTeamById","usePermanentlyDeleteTeamByIdMutation","handleTeamDelete","takeRecord","columnsAllTeam","_teamsList$data2$resD","_teamsList$data2$resD2","members_count","_row$space_count","space_count","is_admin","_row$created_by","created_by","_teamsList$data3","_teamsList$data3$resD","CustomNameTooltip","arrow","disableText","handleClick","currentTarget","IcMenuDotsVertical","getTeamsListData","useCallback","filters","unwrap","getDeletedTeamsListData","debouncedDeletedSearch","deleteSearchValue","handleChange","hidden","isdoubleborder","showBorder","RestoreTeamModal","teams","DeleteTeamPermanently","teamIds","_result$error2","_result$error2$data","_result$data4","CreateNewTeam","handleClickDeleteTeam","active_team","transformOrigin","handleClickDone","fontSize12px","ProfilesTabs","pathname","profileTabes","useParams","isTabActive","ProfileLayout","fontSize22","Outlet","handleConfirm","description","confirmLabel","SelectedTeamUser","teamsTabes","TeamsLayout","SetNewPassword","isModalView","signoutFromAllDevices","signedOutData","signOutInProgress","errorInSignOut","useSignOutFromAllDevicesMutation","logoutChannel","postMessage","showSuccessModal","handleCloseSuccessModal","handleShowNewPass","handleCloseNewPass","zIndex","VerifyEmail","createContext","isOpenModelBlank","setIsOpenModelBlank","addDomainModal","setAddDomainModal","openCreateNewSpaceModel","setOpenCreateNewSpaceModel","openCreateNewTeamModel","setOpenCreateNewTeamModel","showPlanModel","setShowPlaneModel","showReactiveModel","setShowReactivateModel","modelState","Provider","MobileNotFound","toastData","stripePromise","loadStripe","process","msalInstance","PublicClientApplication","msalConfig","MsalProvider","instance","Elements","stripe","options","fonts","cssSrc","ToastComponent","show","showNotification","toastType","notificationType","toastBody","toastBg","isCustomStyled","isBottomCenter","isAutoHide"],"sourceRoot":""}