{"version":3,"sources":["utils/utils.js","utils/SessionHelper.js","utils/Constants.js","utils/UrlFormatter.js","utils/ApiHandler.js","assets/img/trash.svg","redux/apis/accountAPI.js","redux/slices/accountSlice.js","redux/apis/dashboardAPI.js","components/constants/constants.ts","redux/slices/dashboardSlice.js","assets/img/integrations/aws.svg","assets/img/icons/scanning-inheriting.svg","assets/img/icons/scanning-overriding.svg","assets/img/integrations/azure.svg","assets/img/integrations/google.svg","assets/img/half-circle-white.svg","components/common/Button.tsx","assets/img/icons/calendar-check-fill.svg","assets/img/aws-account_card.svg","webpack:///./src/assets/img/edit.svg?169a","assets/img/view.svg","assets/img/close-icon.svg","assets/img/new-theme/datastore-icons/ico-rds-score-low.svg","components/common/Box.tsx","components/common/Typography.tsx","assets/img/No_Search_illustration.svg","components/common/NoData.tsx","redux/slices/globalOperationSlice.js","utils/toaster.js","assets/img/icons/ico-blue-white-info.svg","assets/img/icons/ico-delete-grey.svg","components/modal/info-modal/InfoModal.jsx","assets/img/icons/ep-info-filled.svg","components/common/FormControl.tsx","components/common/TextField.tsx","components/common/Select.tsx","components/modal/accounts-modal/AccountDetailStep.jsx","utils/accountsHelper.js","components/modal/accounts-modal/SelectAccountStep.jsx","components/modal/accounts-modal/AddAccountModal.jsx","assets/img/icons/delete-account-icon.svg","assets/img/icons/popout-white.svg","mock-api/models/issue-list.ts","context/appContext.tsx","components/modal/accounts-modal/DeleteAccountModal.jsx","components/modal/accounts-modal/UpdateAccountModal.jsx","assets/img/loader.svg","components/common/TextButton.tsx","components/common/Loader.tsx","components/common/Snackbar.tsx","components/modal/accounts-modal/ViewAccountModal.jsx","components/cards/account/index.jsx","views/Account/index.jsx","components/cards/checklist/card.jsx","assets/img/icons/small/active.svg","assets/img/icons/small/bug.svg","assets/img/icons/small/server.svg","components/cards/checklist/index.jsx","components/cards/risk-score/index.jsx","components/checklist/index.jsx","views/CheckList/index.jsx","assets/img/icons/close-icon-grey.svg","utils/uppercase.js","assets/img/icons/hacker-icon.svg","assets/img/icons/score-icons/ico-mysql-score-low.svg","assets/img/icons/score-icons/ico-mysql-score-high.svg","assets/img/icons/score-icons/ico-mysql-score-moderate.svg","assets/img/icons/score-icons/ico-mysql-score-elevated.svg","assets/img/icons/score-icons/ico-doc-db-score-low.svg","assets/img/icons/score-icons/ico-doc-db-score-high.svg","assets/img/icons/score-icons/ico-doc-db-score-elevated.svg","assets/img/icons/score-icons/ico-elastic-cache-score-low.svg","assets/img/icons/score-icons/ico-elastic-cache-score-high.svg","assets/img/icons/score-icons/ico-elastic-cache-score-moderate.svg","assets/img/icons/score-icons/ico-elastic-cache-score-elevated.svg","assets/img/icons/score-icons/ico-mongodb-score-low.svg","assets/img/icons/score-icons/ico-mongodb-score-high.svg","assets/img/icons/score-icons/ico-mongodb-score-moderate.svg","assets/img/icons/score-icons/ico-mongodb-score-elevated.svg","assets/img/icons/score-icons/ico-neptune-db-score-low.svg","assets/img/icons/score-icons/ico-neptune-db-score-high.svg","assets/img/icons/score-icons/ico-neptune-db-score-moderate.svg","assets/img/icons/score-icons/ico-neptune-db-score-elevated.svg","assets/img/icons/score-icons/ico-postgress-score-low.svg","assets/img/icons/score-icons/ico-postgress-score-high.svg","assets/img/icons/score-icons/ico-postgress-score-moderate.svg","assets/img/icons/score-icons/ico-postgress-score-elevated.svg","assets/img/icons/score-icons/ico-rds-score-low.svg","assets/img/icons/score-icons/ico-rds-score-high.svg","assets/img/icons/score-icons/ico-rds-score-moderate.svg","assets/img/icons/score-icons/ico-rds-score-elevated.svg","assets/img/icons/score-icons/ico-s3-score-low.svg","assets/img/icons/score-icons/ico-s3-score-high.svg","assets/img/icons/score-icons/ico-s3-score-moderate.svg","assets/img/icons/score-icons/ico-s3-score-elevated.svg","assets/img/icons/score-icons/ico-bug-score-low.svg","assets/img/icons/score-icons/ico-bug-score-high.svg","assets/img/icons/score-icons/ico-bug-score-moderate.svg","assets/img/icons/score-icons/ico-bug-score-elevated.svg","assets/img/icons/score-icons/ico-generic-db-score-low.svg","assets/img/icons/score-icons/ico-generic-db-score-high.svg","assets/img/icons/score-icons/ico-generic-db-score-moderate.svg","assets/img/icons/score-icons/ico-generic-db-score-elevated.svg","assets/img/icons/score-icons/ico-aws-red-shift-score-low.svg","assets/img/icons/score-icons/ico-aws-red-shift-score-high.svg","assets/img/icons/score-icons/ico-aws-red-shift-score-moderate.svg","assets/img/icons/score-icons/ico-aws-red-shift-score-elevated.svg","assets/img/new-theme/datastore-icons/ico-mysql-score-low.svg","assets/img/new-theme/datastore-icons/ico-doc-db-score-low.svg","assets/img/new-theme/datastore-icons/ico-elastic-cache-score-low.svg","assets/img/new-theme/datastore-icons/ico-mongodb-score-low.svg","assets/img/new-theme/datastore-icons/ico-neptune-db-score-low.svg","assets/img/new-theme/datastore-icons/ico-postgress-score-low.svg","assets/img/new-theme/datastore-icons/ico-s3-score-low.svg","assets/img/new-theme/datastore-icons/ico-aws-red-shift-score-low.svg","assets/img/new-theme/datastore-icons/ico-generic-db-score-low.svg","assets/img/new-theme/filter.svg","assets/img/new-theme/DocDB.svg","assets/img/new-theme/ElasticCache.svg","assets/img/new-theme/NeptuneDb.svg","assets/img/icons/red-shift.svg","assets/img/new-theme/MongoDB.svg","assets/img/new-theme/MYSQL.svg","assets/img/new-theme/generic.svg","assets/img/new-theme/PostgreDB.svg","assets/img/new-theme/RDS.svg","assets/img/new-theme/S3.svg","assets/img/new-theme/inventory-icons-v1/DocDB.svg","assets/img/new-theme/inventory-icons-v1/ElasticCache.svg","assets/img/new-theme/inventory-icons-v1/NeptuneDb.svg","assets/img/new-theme/inventory-icons-v1/red-shift.svg","assets/img/new-theme/inventory-icons-v1/MongoDB.svg","assets/img/new-theme/inventory-icons-v1/MYSQL.svg","assets/img/new-theme/inventory-icons-v1/generic.svg","assets/img/new-theme/inventory-icons-v1/PostgreDB.svg","assets/img/new-theme/inventory-icons-v1/RDS.svg","assets/img/new-theme/inventory-icons-v1/S3.svg","utils/styles.js","components/charts/d3-flow-chart/CustomNodeComponent.js","assets/img/icons/google-kubernetes.png","components/charts/d3-flow-chart/attackPathConfig.js","utils/dataHandler.js","apis/index.js","assets/img/new-theme/attack-path-icons/external-cloud.svg","assets/img/new-theme/attack-path-icons/ico-aws-principal-circle-solid.svg","assets/img/new-theme/attack-path-icons/ico-aws-s-3-bucket-circle-solid.svg","assets/img/new-theme/attack-path-icons/ico-rds-circle.svg","assets/img/new-theme/attack-path-icons/aws-ec-2-image-circle-solid.svg","assets/img/new-theme/attack-path-icons/GenericDB.svg","assets/img/new-theme/attack-path-icons/NeptuneDB.svg","assets/img/new-theme/attack-path-icons/DocDB.svg","assets/img/new-theme/attack-path-icons/ElasticCache.svg","assets/img/new-theme/attack-path-icons/ico-aws-EC2Subnet-circle.svg","assets/img/new-theme/attack-path-icons/load-balancer.svg","assets/img/new-theme/attack-path-icons/AWSGroup.svg","assets/img/new-theme/attack-path-icons/AWSLambda.svg","assets/img/new-theme/attack-path-icons/ico-aws-apigateway-circle-solid.svg","assets/img/new-theme/attack-path-icons/ico-aws-policy-circle.svg","assets/img/new-theme/attack-path-icons/ico-aws-user-circle-solid.svg","assets/img/new-theme/attack-path-icons/ico-aws-internet-gateway-circle-solid.svg","assets/img/new-theme/attack-path-icons/ico-aws-vpc-circle-solid.svg","assets/img/new-theme/attack-path-icons/ico-aws-red-shift-circle-solid.svg","assets/img/v1-icons/langchain.svg","assets/img/v1-icons/vector-db.svg","components/charts/d3-flow-chart/flowChartHelper.js","assets/img/icons/risk-accept.svg","assets/img/icons/risk-accepted.svg","redux/apis/issuesAPI.js","redux/slices/issuesSlice.js","assets/img/icons/risk-accept-circle.svg","components/modal/risk-accept-modal/RiskAcceptModal.jsx","assets/img/icons/settings/integration.svg","redux/apis/integrationAPI.js","redux/slices/integrationSlice.js","redux/apis/ticketAPI.js","redux/slices/ticketSlice.js","components/vulnerabilities/AddTicketModal.jsx","assets/img/icons/small/task-yellow.svg","assets/img/v1-icons/create-ticket.svg","components/common/Table.tsx","components/common/StatusIndicator.tsx","components/vulnerabilities/table.jsx","components/pagination/Pagination.jsx","assets/img/no-data.svg","components/cards/no-data/index.jsx","components/datastore-issues/DatastoreIssues.jsx","assets/img/icons/attack-icon.svg","assets/img/icons/liveness-icon.svg","assets/img/icons/lock-icon.svg","assets/img/v1-icons/archive.svg","assets/img/v1-icons/notify.svg","assets/img/v1-icons/view-ticket.svg","redux/apis/policyAPI.js","redux/slices/policySlice.js","components/modal/datastore-ticket-modal/DatastoreTicketModal.jsx","components/modal/shared/DeleteConfirmationModal.jsx","components/datastore/table.jsx","components/impacted-datastores/ImpactedDatastore.jsx","components/modal/affected-datastore-and-issue-modal/AffectedDatastoresAndIssuesModal.jsx","components/charts/d3-flow-chart/DatastoreAttackPathGraph.jsx","components/modal/index.jsx","components/maps/aws_regions.js","assets/img/icons/compliance-violation.svg","components/tabs/index.jsx","components/datastore-details/BottomPanel/BottomPanelComponent.jsx","components/datastore-details/BottomPanel/BottomPanelContainer.jsx","assets/img/icons/tagImage.svg","redux/apis/dataStoreAPI.js","redux/slices/dataStoreSlice.js","assets/img/icons/close-icon.svg","components/modal/manage-tags-modal/ManageTagsModal.jsx","components/modal/sensitive-data/SensitiveDataModal.jsx","components/datastore-details/TopPanel/redCheck.svg","components/datastore-details/TopPanel/TopPanelComponent.jsx","components/datastore-details/TopPanel/TopPanelContainer.jsx","assets/img/logo.svg","components/maps/WorldMap.jsx","assets/img/edit-circle-icon.svg","components/charts/data-store/images/MongoDB.svg","components/charts/data-store/images/MYSQL.svg","components/charts/data-store/images/PostgreDB.svg","components/charts/data-store/images/RDS.svg","components/charts/data-store/images/S3.svg","webpack:///./src/assets/img/v1-icons/archive.svg?27c6","webpack:///./src/assets/img/v1-icons/create-ticket.svg?7976","webpack:///./src/assets/img/v1-icons/notify.svg?6917","assets/img/v1-icons/sensitive-data.svg","webpack:///./src/assets/img/v1-icons/view-ticket.svg?ed8a","components/datastore-details/TopPanel/TopPanelPolicyViolationComponent.jsx","components/datastore-details/DetailsComponent.jsx","components/charts/data-store/images/DocDB.svg","components/charts/data-store/images/ElasticCache.svg","components/charts/data-store/images/NeptuneDb.svg","components/datastore-details/DetailsContainer.jsx","views/Datastore/datastore-details.view.jsx","assets/img/curves/red.svg","assets/img/curves/sky.svg","assets/img/curves/yellow.svg","components/cards/CardWrapper.component.jsx","components/cards/risk-cards/card.jsx","assets/img/icons/check-circle.svg","assets/img/half-circle-loader.svg","components/cards/risk-cards/StepsCard.jsx","components/cards/risk-cards/index.jsx","components/datastore/cards.jsx","components/common/Pagination.tsx","components/datastore/policy/PolicyDetails.jsx","components/datastore/dataInventory/sensitive-data.jsx","components/datastore/dataInventory/icons/rds.svg","components/datastore/dataInventory/icons/size.svg","components/datastore/dataInventory/icons/radio.svg","components/datastore/dataInventory/icons/arrow.svg","components/datastore/dataInventory/icons/arrow-down.svg","components/datastore/dataInventory/icons/s3.svg","components/datastore/dataInventory/icons/elastic-cache.svg","components/common/Divider.tsx","components/datastore/dataInventory/data-overview.jsx","assets/img/v1-icons/llmIcon.svg","components/datastore/dataInventory/ShadowSensitiveData.jsx","components/datastore/dataInventory/ShadowDataOverview.jsx","assets/img/v1-icons/managed.svg","assets/img/v1-icons/shadow.svg","assets/img/v1-icons/resources.svg","components/datastore/dataInventory/ShadowDataPieChart.jsx","components/shadow-llm/training_data.js","components/datastore/dataInventory/MostUsedDataStores.jsx","routes/constants.ts","components/common/Search.tsx","components/common/CardWrapper.tsx","views/Datastore/datastore.view.jsx","components/home/v1/sharedCard/SharedCard.jsx","components/home/v1/card/Card.jsx","components/charts/data-store/images/bug.svg","assets/img/aws-logo.png","components/charts/data-store/images/Generic_DB.svg","components/home/impacted-datastores/ImpactedDatastores.jsx","components/home/trends/Trends.jsx","components/home/v1/inventory/PieChart.jsx","assets/img/tooltip-close-icon.svg","components/home/v1/inventory/WorldMap.jsx","components/home/v1/inventory/Inventory.jsx","components/home/v1/clound-env-issues/PieChart.jsx","assets/img/v1-icons/Kubernaties.svg","assets/img/v1-icons/aws-ec2.svg","assets/img/v1-icons/serverless_aws.svg","components/home/v1/clound-env-issues/CloudEnvIssues.jsx","assets/img/new-theme/up-red-arrow.svg","assets/img/new-theme/down-green-arrow.svg","assets/img/new-theme/managed.svg","assets/img/new-theme/shadow.svg","assets/img/new-theme/sensitive.svg","assets/img/new-theme/accounts.svg","assets/img/new-theme/resources.svg","assets/img/new-theme/users.svg","webpack:///./src/assets/img/icons/check-circle.svg?6775","assets/img/delete-icon.svg","components/common/MetricBlock.tsx","components/cards/account/SelectAccountStep.jsx","assets/img/icons/info-icon.svg","components/cards/account/AccountDetailStep.jsx","components/cards/account/FirstTimeLoginAccount.jsx","assets/img/v1-icons/database.svg","components/home/v1/sensitiveData/SensitiveData.jsx","assets/img/v1-icons/location.svg","assets/img/v1-icons/arrow.svg","assets/img/v1-icons/logging.svg","assets/img/v1-icons/data-access.svg","assets/img/v1-icons/lock.svg","assets/img/v1-icons/alert.svg","assets/img/v1-icons/right_arrow.svg","assets/img/v1-icons/cpu.svg","assets/img/v1-icons/left-arrow.svg","assets/img/v1-icons/llm.svg","assets/img/v1-icons/data-leakage.svg","assets/img/v1-icons/database-plain.svg","components/home/v1/dataPolicyViolation/DataPolicyViolation.jsx","components/home/HomeV1.jsx","assets/img/daxa-assets/daxa-icon.svg","assets/img/daxa-assets/daxa-title.svg","views/Login/complete-profile.view.jsx","views/Login/forgot-password.view.jsx","views/Login/login-callback.view.jsx","views/Login/login.view.jsx","views/Login/reset-password.view.jsx","views/Login/timeout.view.jsx","views/Login/verify-email.view.jsx","assets/img/email.svg","assets/img/google.svg","views/Register/Register.view.jsx","assets/img/new-theme/sidebar/report-white.svg","redux/apis/reportsAPI.js","redux/slices/reportsSlice.js","components/reports/DaySelector.jsx","components/reports/SchedulerModal.jsx","assets/img/pause.svg","assets/img/llm/star.svg","views/Reports/index.jsx","assets/img/integrations/jira.svg","assets/img/integrations/servicenow.svg","assets/img/integrations/splunk.svg","assets/img/integrations/okta.svg","assets/img/integrations/wiz-1.svg","assets/img/integrations/slack.svg","components/cards/integration-cards/card.jsx","components/cards/integration-cards/index.jsx","components/modal/integration-modal/OktaIntegrationModal.jsx","components/modal/integration-modal/updateJiraModal.jsx","components/modal/integration-modal/SlackIntegrationModal.jsx","components/modal/integration-modal/updateSlackModal.jsx","components/modal/integration-modal/WizIntegrationModal.jsx","components/modal/integration-modal/UpdateWizIntegrationModal.jsx","components/modal/integration-modal/JiraIntegrationModal.jsx","components/modal/integration-modal/wizStatusModal.jsx","components/settings/index.jsx","views/Settings/index.jsx","views/test/index.jsx","assets/img/icons/header/ticket.svg","components/modal/issue-modal/CreateIssue.jsx","components/tickets/index.jsx","views/Tickets/index.jsx","components/user-management/create-user.jsx","components/user-management/table.jsx","components/user-management/update-user.jsx","components/common/DeleteModal.tsx","views/UserManagement/index.jsx","components/charts/d3-flow-chart/IssuesPathGraph.jsx","components/vulnerabilities-details/BottomPanel/BottomPanelComponent.jsx","components/vulnerabilities-details/BottomPanel/BottomPanelContainer.jsx","assets/img/integrations/wiz2.png","assets/img/icons/external.svg","assets/img/new-theme/attack-path-icons/aws-ec-2-image-circle.svg","assets/img/v1-icons/darknet-icon.svg","components/modal/issue-instance-modal/IssueInstanceModal.jsx","components/custom-tooltip/CustomTooltip.jsx","components/vulnerabilities-details/TopPanel/TopPanelComponent.jsx","components/vulnerabilities-details/TopPanel/TopPanelContainer.jsx","components/vulnerabilities-details/VulnerabilitiesDetailsComponent.jsx","components/vulnerabilities-details/VulnerabilitiesDetailsContainer.jsx","views/Vulnerabilities/vulnerabilities-details.view.jsx","assets/img/llm/risk-score.svg","assets/img/llm/bias-score.svg","assets/img/edit.svg","assets/img/hugging.png","assets/img/v1-icons/llmIconRound.svg","components/common/Tooltip.tsx","components/charts/llm-charts/TrainingDataCustomNode.js","components/charts/llm-charts/training-data-graph/TrainingDataGraphConfig.js","components/charts/llm-charts/training-data-graph/TrainingDataGraphView.jsx","components/charts/llm-charts/training-data-linear-graph/TrainingDataGraphLinearConfig.js","assets/img/langchainIcon.svg","assets/img/pdf.svg","assets/img/rds.svg","assets/img/postgres.svg","assets/img/gptIcon.svg","assets/img/AWS_S3.svg","assets/img/chromaIcon.svg","assets/img/gcp.svg","assets/img/unstructured_logo.png","assets/img/xls-icon.svg","assets/img/csv-icon.svg","assets/img/json-icon.svg","assets/img/qdrant-icon.png","assets/img/google-drive-logo.png","assets/img/ollama-logo.png","assets/img/sharepoint.png","assets/img/text-icon.svg","assets/img/directory-icon.svg","assets/img/file-icon.svg","assets/img/snowflake.svg","assets/img/datavolo.png","assets/img/docx-icon.svg","assets/img/txt-icon.svg","assets/img/default-loader.svg","assets/img/pinecone.svg","assets/img/retriever-app-icon.svg","assets/img/confluence.png","utils/commonUtils.ts","assets/img/vespa.jpeg","components/charts/llm-charts/GraphSelectedDataCard.tsx","components/charts/llm-charts/training-data-linear-graph/TrainingDataGraphLineageView.jsx","components/charts/llm-charts/training-data-orchestrator/TrainingDataOrchestratorGraphConfig.js","components/charts/llm-charts/training-data-orchestrator/TrainingDataOrchestratorGraph.jsx","components/shadow-llm/ShadowLLMComponent.jsx","views/Vulnerabilities/shadow-llm.view.jsx","components/vulnerabilities/source-category/SourceCategory.jsx","components/vulnerabilities/cards.jsx","views/Vulnerabilities/vulnerabilities.view.jsx","components/cloud/identity/table.jsx","components/cloud/identity/cards.jsx","components/cloud/identity/index.jsx","views/Identity/index.jsx","components/cloud/assets/table.jsx","components/cloud/assets/cards.jsx","redux/apis/assetsAPI.js","redux/slices/assetsSlice.js","components/cloud/assets/index.jsx","views/Assets/index.jsx","components/modal/add-policy-modal/AddPolicyModal.jsx","components/modal/compliance-policy-modal/CompliancePolicyModal.jsx","components/settings/PolicySetting.jsx","components/common/Tabs.tsx","components/common/Dialog.tsx","redux/apis/topicAPI.ts","redux/slices/topicSlice.ts","components/policy/AddTopic.tsx","components/common/Chip.tsx","components/policy/AddEntity.tsx","components/common/DiscardChanges.tsx","components/common/Checkbox.tsx","redux/apis/userAPI.ts","redux/slices/userSlice.ts","components/policy/add-policy/SelectGroups.tsx","assets/img/starIcon.svg","components/policy/add-policy/SemanticGuardrailConfig.tsx","components/policy/add-policy/ExceptionConfig.tsx","components/policy/add-policy/PolicyName.tsx","components/common/Stepper.tsx","components/policy/AddPolicy.tsx","components/policy/DeletePolicy.tsx","components/common/Menu.tsx","components/common/AutoComplete.tsx","components/policy/ApplyTopicToAppsDialog.tsx","components/policy/DeleteTopic.tsx","components/policy/ViewPolicy.tsx","components/policy/PolicyPage.tsx","views/PolicySetting/PolicySetting.view.jsx","assets/img/new-theme/user-profile-icon.svg","assets/img/new-theme/Question.svg","assets/img/new-theme/settings.svg","assets/img/new-theme/down-arrow.svg","assets/img/new-theme/notification.svg","components/charts/RiskScoreChart.js","webpack:///./src/assets/img/daxa-assets/daxa-title.svg?84ae","components/layout/Header.jsx","assets/img/new-theme/sidebar/home.svg","assets/img/new-theme/sidebar/data.svg","assets/img/new-theme/sidebar/issues.svg","assets/img/new-theme/sidebar/cloud.svg","assets/img/new-theme/sidebar/report.svg","assets/img/new-theme/sidebar/accounts.svg","assets/img/new-theme/sidebar/integrations.svg","assets/img/new-theme/sidebar/policy.svg","assets/img/new-theme/sidebar/user_management.svg","assets/img/new-theme/left-circle-arrow.svg","assets/img/new-theme/right-circle-arrow.svg","assets/img/arrow-up.svg","components/layout/Sidebar.jsx","components/reports/report.jsx","assets/img/arrow-down.svg","components/modal/embeded-ui/accordions.jsx","components/modal/embeded-ui/EmbededUiModal.jsx","components/footer/index.jsx","components/apiKey/GenerateAPIKey.tsx","redux/apis/apiKeyAPI.ts","redux/slices/apiKeySlice.ts","components/apiKey/RevokeAPI.tsx","redux/slices/packageSlice.ts","redux/apis/packageAPI.ts","components/packageDownload/ViewHashes.tsx","components/common/Accordion.tsx","components/packageDownload/PackageDownload.tsx","assets/img/copy.svg","components/common/Popover.tsx","components/packageDownload/PackageInstallationInfo.tsx","components/apiKey/APIConfigDrawer.tsx","components/common/Header.tsx","components/common/Insights.tsx","components/common/Drawer.tsx","components/dashboard-widgets/InsightsDrawer.tsx","components/dashboard-widgets/HeroStat.tsx","components/dashboard-widgets/ImpactedDataStoresPanel.tsx","assets/img/awsIcon.svg","components/common/BarGraphBottomAxis.tsx","components/common/Bar.tsx","assets/img/slack.svg","assets/img/jira.svg","components/dashboard-widgets/CardWithAction.tsx","redux/apis/appAPI.ts","redux/slices/appSlice.ts","components/common/CustomTable.tsx","components/common/LogoWrapper.tsx","components/dashboard-widgets/ApplicationsCard.tsx","components/common/ColorBadge.tsx","redux/slices/documentSlice.ts","redux/apis/documentAPI.ts","components/dashboard-widgets/DocumentCard.tsx","components/common/CustomTreeMap.tsx","components/common/LegendWithColor.tsx","components/dashboard-widgets/treemap-tooltips/SnippetsByLabelsTooltip.tsx","components/dashboard-widgets/treemap-tooltips/DatasourcesTooltip.tsx","components/dashboard-widgets/SnippetsByLabels.tsx","components/dashboard-widgets/LLMCard.tsx","components/dashboard-widgets/UsersCard.tsx","components/dashboard-widgets/treemap-tooltips/RetrievalsByUserGroupsTooltip.tsx","components/dashboard-widgets/ActiveUsersByRetrievals.tsx","redux/apis/dataLoaderAPI.ts","redux/slices/dataLoaderSlice.ts","components/dashboard-widgets/DataLoaderWidget.tsx","components/home/NewHome.jsx","views/Docs/doc.view.jsx","assets/CD-Wiz-UserGuide.pdf","components/llm/CardWrapper.tsx","components/llm/LLMModel/InstanceDetailsCard.tsx","redux/apis/frameworkPageAPI.js","redux/slices/frameworkPageSlice.js","components/llm/LLMModel/PolicyViolationDetailsCard.tsx","components/llm/LLMModel/SensitiveDataDetailsCard.tsx","components/llm/LLMModel/LLMDetailsCard.tsx","components/common/Paper.tsx","components/common/ToggleButton.tsx","components/llm/LLMModel/LLMModelPage.tsx","components/common/Breadcrumbs.tsx","components/llm/LLMFramework/LLMTabs.tsx","components/common/KeyValueBlock.tsx","assets/img/desktopIcon.svg","components/llm/LLMFramework/DeleteApplicationDialog.tsx","components/llm/AddDescriptionDialog.tsx","components/common/ViewMoreBlock.tsx","assets/img/pebblo-logo.png","components/llm/LLMFramework/LLMFrameworkDetails.tsx","components/common/CollapsibleGraph.tsx","assets/img/chainIcon.svg","components/llm/graph/LangchainPopover.tsx","components/llm/graph/LangchainGraphNode.tsx","components/llm/graph/ChainGraph.tsx","components/llm/graph/LangchainGraph.tsx","components/common/CollapseIcon.tsx","assets/img/langchain.svg","components/llm/LLMFramework/AddAppPolicy.tsx","components/llm/LLMFramework/AppTreeMap.tsx","components/llm/LLMFramework/MultipleContextDetailsDialog.tsx","components/icons/JiraIcon.tsx","components/llm/MessageDetails.tsx","components/llm/SensitiveMessageTable.tsx","components/llm/LLMFramework/SensitiveMessagesDetails.tsx","assets/img/users.svg","components/llm/LLMFramework/SelectedNodeDetails.tsx","components/llm/LLMFramework/PromptSummaryPanel.tsx","components/llm/LLMFramework/SnippetDetails.tsx","components/llm/LLMFramework/DataSourceMessageDetails.tsx","components/llm/LLMFramework/DataSourceTab.tsx","components/llm/LLMFramework/LLMFrameworkPage.tsx","views/Login/signup-callback.view.jsx","components/llm/LLMFramework/Overview/AppDetails.tsx","components/llm/LLMFramework/Overview/DataLoaderOverview.tsx","components/llm/LLMFramework/Overview/EntityDetails/DataSourceDetailsItem.tsx","components/llm/LLMFramework/Overview/EntityDetails/DocumentDetailsItem.tsx","components/icons/SlackIcon.tsx","components/llm/LLMFramework/JiraSlackActionButtons.tsx","components/llm/LLMFramework/LoaderSnippetDetailsBlock.tsx","components/llm/LLMFramework/MessageDetailsBlock.tsx","components/llm/LLMFramework/Overview/SnippetDetailsDialog.tsx","components/llm/LLMFramework/Overview/EntityDetails/FindingRow.tsx","components/llm/LLMFramework/Overview/EntityDetails/FindingDetails.tsx","components/llm/LLMFramework/Overview/DetailsBlock.tsx","components/llm/LLMFramework/Overview/EntityDetails/UsersDetailsItem.tsx","components/llm/LLMFramework/Overview/EntityDetails/AuthorizedIdentities.tsx","components/llm/LLMFramework/Overview/SafeRetrievalDetails.tsx","components/llm/LLMFramework/Overview/LoaderOverviewPanel.tsx","components/data-loader/DataLoaderDetailsPage.tsx","components/data-loader/DataLoaderListingPage.tsx","components/apps/AppListingPage.tsx","components/common/PageBreadcrumbs.tsx","components/findings/PageTable.tsx","components/findings/AllFindingsPage.tsx","pages/CustomPage.tsx","pages/documents/DocumentListing.tsx","components/common/TooltipTruncatedText.tsx","components/common/LabelAndValue.tsx","components/custom/UserGroupsListing.tsx","pages/documents/document-details/DocumentInfo.tsx","pages/documents/CustomTab.tsx","pages/documents/document-details/Snippet.tsx","pages/documents/document-details/LabelWithSnippetCount.tsx","pages/documents/document-details/DocumentSnippets.tsx","pages/documents/document-details/DocumentDetails.tsx","assets/img/langchainHexagonIcon.svg","pages/users/UsersListing.tsx","components/common/SpectrumGraph.tsx","pages/users/user-details/UserInfo.tsx","pages/users/user-details/UserPromptsCard.tsx","assets/img/langchain_hexagon.svg","pages/users/user-details/PromptPolicyDetails.tsx","components/common/FileChip.tsx","pages/users/user-details/ContextDetails.tsx","pages/users/user-details/PromptDetailsCard.tsx","pages/users/user-details/UserRetrievals.tsx","pages/users/user-details/UserDetails.tsx","components/common/ScrollToTop.tsx","App.jsx","redux/apis/llmAPI.js","redux/slices/llmSlice.js","redux/store.ts","palette.ts","ThemeProvider.ts","index.js"],"names":["capitalizeFirstLetter","string","charAt","toUpperCase","slice","numberFormatter","val","sNum","Math","floor","length","sVal","parseFloat","pow","toPrecision","toFixed","isJsonEmpty","data","JSON","stringify","getUserId","localStorage","getItem","getCustomerName","getCustomerRef","getAuthToken","getAuthTokenExpiry","getRefreshToken","getCustomerId","setAuthToken","authToken","date","Date","setMinutes","getMinutes","setItem","getTime","getSelectedDatastoreAccount","parse","sessionStorage","getSelectedIssuesAccount","EVEREST_URL","process","ACCOUNT_TYPES","LOADER_CONFIG","WIZARD_STEPS","SELECT_ACCOUNT","ACCOUNT_DETAILS","VERIFICATION_ERROR","DATASTORE_TYPES","BaseURL","constants","FormatUrl","url","axiosPublic","axios","create","baseURL","urlFormatter","axiosPrivate","axiosDenaliPrivate","axiosAILabDenaliPrivate","interceptors","request","use","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","config","currentDate","authTokenExpiry","customerId","response","_response$data","_response$data$data","wrap","_context","prev","next","sessionHandler","headers","post","refreshToken","sent","IdToken","abrupt","stop","_x","apply","arguments","error","Promise","reject","_error$response","status","handleError","_ref2","_callee2","_response$data2","_response$data2$data","_context2","_x2","_error$response2","_ref3","_callee3","_response$data3","_response$data3$data","_context3","_x3","_error$response3","_path","_path2","_path3","_path4","clear","window","location","href","fetchAccountStatus","params","verifyAccount","launchStack","launchStackV2","addAccount","updateStack","deleteAccount","accountId","delete","concat","deleteStack","verifyDeleteStack","verifyUpdateStack","verifyLaunchStack","revertUpdateStack","verifyLaunchStackStaus","fetchAccountScanningStatus","createAccount","updateAccount","patch","id","listAccountsAsync","createAsyncThunk","get","getAccountStatus","launchStackV2Async","t0","_ref4","_callee4","_context4","_ref5","_callee5","_context5","_x4","createAccountAsync","_ref6","_callee6","_context6","_x5","addAccountAsync","_ref7","_callee7","_context7","_x6","generateExternalIdAsync","_callee8","_context8","getRegionListAsync","_callee9","_context9","deleteAccountAsync","_ref10","_callee10","_context10","_x7","deleteStackAsync","_ref11","_callee11","_context11","_x8","updateAccountGCPAsync","_ref12","_callee12","_context12","_x9","updateStackAsync","_ref13","_callee13","_context13","_x10","_ref14","_callee14","_context14","_x11","revertUpdateStackAsync","_ref15","_callee15","_context15","_x12","_ref16","_callee16","_context16","_x13","verifyDeleteStackAsync","_ref17","_callee17","_context17","_x14","accountScanningStatus","_ref18","_callee18","_context18","_x15","_ref19","_callee19","_context19","_x16","_ref20","_callee20","_context20","_x17","fetchAllUsersSlice","_callee21","_context21","deleteUserSlice","_ref22","_callee22","_context22","_x18","accountSlice","createSlice","name","initialState","accounts","accountAvailable","users","reducers","extraReducers","builder","addCase","fulfilled","state","action","_action$payload","payload","rejected","fetchDatastoreStats","fetchIssueUberScore","fetchIssuesStats","fetchAssetsStats","fetchIdentitiesStats","fetchRiskPlot","fetchFirstAccountStatStatus","fetchDashboardStats","fetchDataFlows","fetchAchievements","fetchTrends","fetchDataNewFlows","manageDashboardView","fetchDatastoreRegions","fetchAllRegionsData","fetchAIRegions","fetchFrameworkRegions","fetchCloudIssues","fetchPolicyViolationFilters","fetcAIPolicyViolationFilters","fetchPolicyViolations","fetchLLMPolicyViolations","fetchLLMListing","fetchTrainingData","fetchDatasourceFiles","fetchSensitiveData","fetchFrameworksData","fetchAITrainingData","fetchFrameworkData","fetchFindingOverview","fetchFindings","fetchUserAccessData","fetchDocAccessData","dataStoreTypes","label","filter","value","aiDataStoreTabs","accountType","DATA_LOADER_STR","TagColorMapping","harmful","valuable","sensitive","LabelColorsList","MessageTypeColorMapping","prompt","firstAccountStats","cdRiskLabel","cdRiskScore","description","first_acct_classification_complete","first_acct_risk_complete","datastoreStats","issuesStats","assetsStats","identitiesStats","riskPlot","dataflow","issueUberScore","promptFilter","sidebar","dashboardIssueView","firstAccountStatus","isDashboardView","policyCategories","policyViolationList","frameworkTopLabelListing","isFetching","listing","listDatastoreStats","listIssuesStats","listAssetsStats","listIdentitiesStats","listRiskPlot","firstAccountStatStatus","fetchDashboardStat","fetchDataFlowsSlice","_ref8","fetchLLMModelsListingSlice","_ref9","fetchIssueUberScoreSlice","manageDashboardViewSlice","fetchDatastoreRegionsSlice","fetchCloudIssuesSlice","_x19","_x20","_ref21","_x21","_x22","fetchFrameworksSlice","_ref23","_callee23","_context23","_x23","fetchPolicyViolationFiltersSlice","_ref24","_callee24","_context24","_x24","_ref25","_callee25","_context25","_x25","fetchAIPolicyViolationFiltersSlice","_ref26","_callee26","_context26","_x26","fetchPolicyViolationsSlice","_ref27","_callee27","_context27","_x27","fetchLLMPolicyViolationsSlice","_ref28","_callee28","_context28","_x28","fetchDatasourceFilesSlice","_ref29","_callee29","_context29","_x29","fetchFindingOverviewSlice","_ref30","_callee30","_context30","_x30","fetchFindingsSlice","_ref31","_callee31","_context31","_x31","dashboardSlice","_ref32","_callee32","_context32","_x32","_ref33","_callee33","_context33","_x33","expandSidebar","console","log","minimizeSidebar","isDataView","isAIView","setPromptTimeFilter","err","_action$payload2","_dashboardSlice$actio","actions","Button","props","_theme$palette","_theme$palette$primar","_theme$palette2","_theme$palette2$surfa","_theme$palette3","_theme$palette3$prima","_theme$palette4","_theme$palette4$prima","_theme$palette5","_theme$palette5$prima","_theme$palette6","_theme$palette6$criti","_theme$palette7","_theme$palette7$criti","theme","useTheme","styles","muiButton","textTransform","width","backgroundColor","palette","primaryBlue","main","color","surface100","boxShadow","cursor","border","critical","_jsx","MUIButton","_objectSpread","sx","_excluded","_extends","Object","assign","bind","target","i","source","key","prototype","hasOwnProperty","call","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgTrash","svgRef","title","titleId","height","viewBox","fill","xmlns","ref","fillRule","clipRule","d","ForwardRef","SvgEdit","SvgView","SvgCloseIcon","_g","_defs","Box","MUIBox","typographyVariant","tooltip","subHeader","Typography","_ref$color","_ref$variant","variant","_ref$isNumber","isNumber","_ref$sx","onClick","otherProps","defaultColor","surface80","variantMap","undefined","typographyText","lineHeight","fontSize","fontFamily","MUITypography","NoData","customText","_ref$height","container","display","justifyContent","alignItems","flexDirection","gap","spacing","noDataMsg","surface60","_jsxs","children","src","NoSearchIcon","alt","globalOperationSlice","loading","showLoading","hideLoading","_globalOperationSlice","TOASTER_TYPES","SUCCESS","ERROR","WARNING","INFO","Toaster","msg","toast","success","warning","info","InfoModal","handleModal","title1","sub_title1","services","values","title2","title3","title4","sub_title2","sub_title3","title5","title6","title7","title8","sub_title4","sub_title5","sub_title6","sub_title7","title9","title10","sub_title8","sub_title9","_defineProperty","className","tabIndex","role","infoIcon","deleteIcon","map","index","service","idx","FormControl","MUIFormControl","TextField","textField","borderBottom","surface40","marginX","MUITextField","InputProps","startAdornment","InputAdornment","position","Select","_ref$disabled","disabled","_ref$size","size","_ref$error","_ref$options","options","fullWidth","minWidth","formControl","paddingLeft","inputLabel","surface50","surface30","select","borderBottomStyle","background","surface10","icon","InputLabel","MUISelect","MenuItem","FormHelperText","helperText","MUIMenuItem","AccountDetailStep","accountDetails","selectedAccount","externalId","backStep","handleStepOneModal","refreshAccounts","dispatch","useDispatch","useSelector","dashboard","DATA_SCANNING_FREQUENCY","AI_SCANNING_FREQUENCY","_useState","useState","_useState2","_slicedToArray","enableBtn","setEnableBtn","_useState3","_useState4","lunchStackModal","setLunchStackModal","_useState5","_useState6","selectedRegion","setSelectedRegion","_useState7","_useState8","dataScanFrequency","setDataScanFrequency","_useState9","serviceAccountKey","scanScope","_useState10","gcpDetails","setGcpDetails","_useState11","accountIdMsg","apiKeyMsg","scanScopeMsg","_useState12","emptyValue","setEmptyValue","_useState13","_useState14","fileName","setFileName","gcpForm","padding","typography","caption","body2","fileUpload","marginTop","paddingTop","_useState15","_useState16","aiType","setAIType","formik","useFormik","initialValues","accountDescription","awsRoleARN","validationSchema","Yup","shape","max","min","matches","required","onSubmit","useEffect","createGCPAccount","resp","_resp$payload","_resp$payload$err","type","userId","message","VisuallyHiddenInput","styled","clip","clipPath","overflow","bottom","left","whiteSpace","zIndex","handleSubmit","placeholder","maxLength","minLength","onWheel","event","blur","onInput","document","getElementById","onKeyDown","keyCode","preventDefault","onChange","e","_e$target$value","setFieldValue","trim","onBlur","handleBlur","errors","_e$target$value2","touched","_Fragment","frequency","startIcon","CloudUploadIcon","component","accept","toBase64","file","resolve","reader","FileReader","readAsDataURL","onload","result","onerror","files","split","isValid","accountTypes","image","SelectAccountStep","handleSelected","selected","nextStep","getClassNameForSelection","account","style","opacity","AddAccountModal","setSelectedAccount","currentStep","setCurrentStep","setExternalId","regionList","setRegionList","scanFrequency","setAccountDetails","globalOperation","accessKey","region","open","generateExtId","_resp$payload2","_resp$payload3","ExternalId","getRegionList","_resp$payload4","_resp$payload5","respList","updatedRegionList","push","paddingRight","getRandomIssueList","noOfItem","riskLevels","ticketStatuses","getRandomElementFromArray","array","random","generateRandomDate","start","end","dataArray","risk","issueName","issueId","issueType","impactedDataStore","impactedDataStoreId","lastOccur","toISOString","ticketStatus","remediation","AppContext","createContext","AppContextProvider","dashboardViewLense","setDashboardViewLense","impactedDataStores","setImpactedDataStores","isFetchingImpactedStoresData","setIsFetchingImpactedStoresData","ticketStatusData","setTicketStatusData","isFetchingTicketStatusData","setIsFetchingTicketStatusData","resourcesData","setResourcesData","isFetchingResourcesData","setPolicyCategories","_useState17","_useState18","isFetchingPolicyCategories","setIsFetchingPolicyCategories","_useState19","_useState20","policyData","setPolicyData","_useState21","_useState22","isFetchingPolicyData","setIsFetchingPolicyData","_useState23","_useState24","dataStoreViolation","setDataStoreViolation","_useState25","_useState26","isFetchingStoreViolation","setIsFetchingStoreViolation","_useState27","_useState28","cloudRiskData","setCloudRiskData","_useState29","_useState30","isFetchingCloudRiskData","setIsFetchingCloudRiskData","_useState31","_useState32","riskScore","setRiskScore","_useState33","_useState34","isFetchingRiskScoreData","setIsFetchingRiskScoreData","_useState35","_useState36","openPolicyStoreDetailDrawer","setOpenPolicyStoreDetailDrawer","_useState37","_useState38","drawerData","setDrawerData","_useState39","_useState40","openCreateIssueDrawer","setOpenCreateIssueDrawer","_useState41","_useState42","currentSelectedIssue","setCurrentSelectedIssue","_useState43","_useState44","policyStoreDetails","setPolicyStoreDetails","_useState45","_useState46","isFetchingPolicyStoreDetails","setIsFetchingPolicyStoreDetails","_useState47","_useState48","issues","setIssues","_useState49","_useState50","isFetchingIssues","setIsFetchingIssues","_useState51","_useState52","selectedPolicy","setSelectedPolicy","_useState53","_useState54","allPolicies","setAllPolicies","_useState55","_useState56","isFetchingAllPolicies","setIsFetchingAllPolicies","_useState57","_useState58","selectedIssues","setSelectedIssues","_useState59","_useState60","riskTrends","setRiskTrends","_useState61","_useState62","isFetchingRiskTrends","setIsFetchingRiskTrends","_useState63","_useState64","achievements","setAchievements","_useState65","_useState66","isFetchingAchievements","setIsFetchingAchievements","_useState67","_useState68","geoDistribution","setGeoDistribution","_useState69","_useState70","isFetchingGeoDistribution","setIsFetchingGeoDistribution","_useState71","_useState72","openInsightsDrawer","setOpenInsightsDrawer","_useState73","_useState74","overviewAllRegions","setOverviewAllRegions","_useState75","_useState76","isFetchingAllRegionsOverview","setIsFetchingAllRegionsOverview","_useState77","_useState78","overviewForSelectedRegion","setOverviewForSelectedRegion","_useState79","_useState80","isFetchingSelectedRegionOverview","setIsFetchingSelectedRegionOverview","_useState81","_useState82","policyViolations","setPolicyViolations","_useState83","_useState84","isFetchingPolicyViolations","setIsFetchingPolicyViolations","_useState85","_useState86","sendNotificationOnSlack","setSendNotificationOnSlack","_useState87","_useState88","isSendingNotification","setIsSendingNotifcation","_useState89","_useState90","jiraTicketData","setJiraTicketData","_useState91","_useState92","isFetchingJiraTicket","setIsFetchingJiraTicket","_useState93","_useState94","singleJiraTicket","setSingleJiraTicket","_useState95","_useState96","isFetchingSingleJiraTicket","setIsFetchingSingleJiraTicket","_useState97","_useState98","modifyPolicyDetails","setModifyPolicyDetails","_useState99","_useState100","isFetchingModifyPolicyDetails","setIsFetchingModifyPolicyDetails","_useState101","_useState102","aiSummary","setAISummary","getDataStoreViolation","dataStoreStats","_iterator","_step","_loop","_createForOfIteratorHelper","item","datastoreType","then","res","_res$data2","_res$data2$datastores","datastores","types","catch","s","n","done","delegateYield","t1","f","finish","getAIDatastores","_iterator2","_step2","_loop2","llmStatus","_res$data3","Provider","getImpactedStoresData","getTicketStatusData","getViolatedPolicyCategory","getViolatedPolicyData","_res$data","policies","getCloudRiskData","getRiskScoreData","getPolicyDetails","_res$data4","sort","a","b","dsCount","getIssues","policyId","getRiskTrends","getAchievements","getGeoDistributionData","getSensitiveData","getRegionsOverview","getPolicyViolations","requestBody","limit","notifyOnSlackBulkAction","_res$data5","_res$data5$success","getBulkTicket","host","getJiraTicket","getModifyPolicyDetails","getAllPolicies","getAISummary","DeleteAccountModal","disableDelete","setDisableDelete","launchStackClicked","setLaunchStackClicked","useContext","verifyAccountTimer","useRef","removeSessionStorage","issuesAccountFilter","datastoreAccountFilter","removeItem","_resp$payload$err2","current","setInterval","RoleArn","clearInterval","BlockUi","tag","blocking","loader","Loader","active","deleteAccountIcon","popout","UpdateAccountModal","setEditDisabled","updateLaunchStack","stackId","setStackId","apiKey","modalFooter","marginLeft","update","scanType","updateGCPAccount","TextButton","_theme$palette2$secon","_theme$palette3$criti","_ref$hideText","hideText","_ref$link","link","_ref$onClick","history","useHistory","isSmallWidth","useMediaQuery","breakpoints","down","buttonText","secondaryBlue","marginRight","_ref$width","loaderContainer","minHeight","flex","MUICircularProgress","Snackbar","MUISnackbar","ViewAccountModal","_account$userId","_accountData$stats$de","_accountData$stats$de2","_accountData$stats$de3","_accountData$stats","_accountData$stats$ag","_accountData$stats$ag2","_accountData$stats$de4","_accountData$stats$de5","_accountData$stats$de6","_accountData$stats2","_accountData$stats2$a","_accountData$stats2$a2","isGCPAccount","defaultStat","setDefaultStat","accountData","setAccountData","filters","setFilters","isAIAccount","setIsAIAccount","isLoading","setIsLoading","showAPIKey","setShowAPIKey","copiedAPIKey","setCopiedAPIKey","viewAccount","cloudAccountId","stats","monthly","weekly","daily","hourly","_account$aiType","toLowerCase","MAPPINGS","onboardedOn","email","VisibilityOffRoundedIcon","VisibilityRoundedIcon","navigator","clipboard","writeText","ContentCopyRoundedIcon","lastHeartbeat","aggregate","totalExecutionTime","estimatedCost","scope","detailed","_item$totalExecutionT","_item$estimatedCost","funcName","_item$totalExecutionT2","_item$estimatedCost2","anchorOrigin","vertical","horizontal","autoHideDuration","onClose","Cards","isModal","setIsModal","deleteModal","setDeleteModal","updateModal","setUpdateModal","viewModal","setViewModal","editDisabled","setAccountsLoaded","setAccountList","lastInterval","accountStatus","setAccountStatus","statusMsgMapping","creating_stack","updating_stack","blockUI","accountsContainer","accountsGrid","accountRow","gridTemplateColumns","gridColumnGap","gridRowGap","accountsHeader","accountsBody","noData","getAccountTypeImage","Awsicon","Gcp","Azure","Aws","handleScanning","prevState","first_classification_complete","revert","_account$metadata","loaderWhite","ViewIcon","CloseIcon","EditIcon","DeleteIcon","CalendarIcon","Moment","format","metadata","createdAt","infoFilled","_id","Connect","setPath","pathname","Card","content","footer","_ref$active","class","ChecklistCards","vunerability","filterIssues","ActiveIcon","card","BugIcon","ServerIcon","RiskScore","_ref$small","small","tab","getDatastoreStats","getIssuesStats","CheckListComponent","_objectDestructuringEmpty","CheckList","formatHeader","replace","word","join","SvgIcoRdsScoreLow","stroke","strokeLinecap","strokeLinejoin","SvgIcoMysqlScoreLow","SvgIcoDocDbScoreLow","SvgIcoElasticCacheScoreLow","SvgIcoMongodbScoreLow","SvgIcoNeptuneDbScoreLow","SvgIcoPostgressScoreLow","SvgIcoS3ScoreLow","SvgIcoAwsRedShiftScoreLow","SvgIcoGenericDbScoreLow","getValueInBetween","num","first","last","getScoreColor","bg","Array","isArray","getScoreColorCode","getScoreBorder","getDatastoreNewIcon","score","scoreColor","scoreColorClass","MySqlIcon","RdsIcon","MongoDBIcon","PostgresDBIcon","S3Icon","DocDBIcon","NeptuneIcon","ECIcon","RedShiftIcon","GenericDBIcon","getV1DatastoreIcon","MYSQLV1","RDSV1","MongodbV1","PostgreDBV1","S3V1","DocDBV1","NeptuneDbV1","ElasticCacheV1","RedShiftV1","GenericV1","getDatastoreIcon","mysqlScoreLow","mysqlScoreModerate","mysqlScoreHigh","mysqlScoreElevated","rdsScoreLow","rdsScoreModerate","rdsScoreHigh","rdsScoreElevated","mongodbScoreLow","mongodbScoreModerate","mongodbScoreHigh","mongodbScoreElevated","postgressScoreLow","postgressScoreModerate","postgressScoreHigh","postgressScoreElevated","s3ScoreLow","s3ScoreModerate","s3ScoreHigh","s3ScoreElevated","docDbScoreLow","docDbScoreElevated","docDbScoreHigh","neptuneScoreLow","neptuneScoreModerate","neptuneScoreHigh","neptuneScoreElevated","ecScoreLow","ecScoreModerate","edScoreHigh","ecScoreElevated","redShiftScoreLow","redShiftScoreModerate","redShiftScoreHigh","redShiftScoreElevated","gDbScoreLow","gDbScoreModerate","gDbScoreHigh","gDbScoreElevated","getIssueIcon","bugScoreLow","bugScoreModerate","bugScoreHigh","bugScoreElevated","datastoreIcons","mysql","MYSQL","rds","RDS","mongodb","Mongodb","PostgreSQL","PostgreDB","s3","S3","docdb","DocDB","neptune","NeptuneDb","elasticache","ElasticCache","redshift","RedShift","generic","Generic","formatLine","CustomNodeComponent","node","_node$node4","_node$node5","_node$node6","_node$node7","_node$node8","_node$node9","_node$node9$name","setSelected","getNodeScoreColorClass","is_primary","iconName","_node$node$data","_node$node$data$image","_node$node$data2","_node$node$data2$imag","_node$node$data3","_node$node$data3$imag","_node$node","_node$node$data4","_node$node$data4$imag","margin","_node$node2","handleClick","getIcon","active_attack","hackerIcon","eks_enabled","textAlign","textOverflow","substring","automaticRearrangeAfterDropNode","collapsible","highlightDegree","highlightOpacity","linkHighlightBehavior","maxZoom","minZoom","nodeHighlightBehavior","panAndZoom","staticGraph","staticGraphWithDragAndDrop","d3","alphaTarget","gravity","linkLength","disableLinkForce","fontColor","fontWeight","highlightColor","highlightFontSize","highlightFontWeight","highlightStrokeColor","highlightStrokeWidth","labelProperty","mouseCursor","renderLabel","strokeColor","strokeWidth","svg","symbolType","viewGenerator","semanticStrokeWidth","removeEmpty","obj","fromEntries","entries","addIndex","_i","_keys","colorRiskData","x","x_directriskscore","y","y_indirectscore","circle","getDataStoresApiV2","getDataStoresApi","getDatastoresByFilterApi","getAssetsApi","getIssuesApiV2","getIssuesApi","getImpactedDatastores","issueDetailsApi","url_","getDataStoresStatsApi","getNodeIconByType","nodeType","rdsIcon","ec2Instance","LoadBalancer","externalCloud","s3Bucket","awsPrinciple","ec2Subnet","AWSGroup","AWSLambda","AWSRole","AWSApiGateway","AWSUser","AWSInternetGateway","AWSVpc","AWSRedShift","vectorDB","Langchain","GenericDB","fetchTopIssueTypes","updateSecurityIssueInstanceRisk","put","updateSecurityIssueRisk","updateSecurityIssueInstanceRiskAsync","updateSecurityIssueRiskAsync","IssuesSlice","RiskAcceptModal","securityIssueId","displayId","instanceLocation","riskAccepted","securityIssueInstanceId","allRiskAccepted","setLoader","instance","setInstance","handleInstance","checked","submitModal","risk_accepted","reload","RiskAccepted","RiskAcceptCircle","fetchIntegrations","user_id","fetchOktaIntegrations","fetchJiraProjects","fetchIssueTypes","addIntegration","updateIntegration","updateSlackIntegration","updateWizIntegration","wizIntegrationStatus","deleteIntegration","integrationId","addOktaIntegration","addSlackIntegration","addWizIntegration","listIntegrationsAsync","listOktaIntegrationsAsync","listSlackIntegrationsAsync","listJiraProjectsAsync","listIssueTypesAsync","addIntegrationAsync","updateIntegrationAsync","updateSlackIntegrationAsync","updateWizIntegrationAsync","client_id","client_secret","endpoint_url","auth_url","wizIntegrationStatusAsync","deleteIntegrationAsync","deleteOktaIntegrationAsync","deleteSlackIntegrationAsync","deleteWizIntegrationAsync","addOktaIntegrationAsync","addSlackIntegrationAsync","addWizIntegrationAsync","integrationSlice","integrations","oktaIntegrations","slackIntegrations","getTicket","getDatastoreTicket","addTicket","deleteTicket","listTicketsAsync","getTicketAsync","getBulkTicketAsync","getDatastoreTicketAsync","addTicketAsync","ticketSlice","tickets","AddTicketModal","refreshIntegrations","showLoader","setShowLoader","connectionFailed","setConnectionFailed","summary","issuetype","issue_id","instanceId","instance_id","integrationIcon","Table","MUITable","stickyHeader","TableContainer","MUITableContainer","TableBody","tableBody","surface0","MUITableBody","TableHead","tableHead","surface20","paddingY","MUITableHead","TableRow","noHover","tableRow","verticalAlign","borderLeft","MUITableRow","TableCell","_ref3$borderBottom","_excluded2","tableCell","paddingX","MUITableCell","StatusIndicator","_ref$severity","severity","borderRadius","high","VulnerabilityTable","currentPosts","sortData","pageName","isRiskAccepted","refreshIssues","_ref$isTicketColEnabl","isTicketColEnable","_ref$isActionColEnabl","isActionColEnable","_ref$impactedDatastor","impactedDatastoreEnable","_ref$instanceLocation","instanceLocationEnable","subFilter","selectedFilter","sortType","setIsRiskAccepted","sortField","isRiskAcceptModal","setIsRiskAcceptModal","setAllRiskAccepted","selectedSecurityInstance","setSelectedSecurityInstance","getPolicyNames","items","names","addTicketsModal","setAddTicketsModal","ticketModalData","table","sortIcon","ArrowUpwardRoundedIcon","ArrowDownwardRoundedIcon","cdIssueRiskScore","riskValue","vulnerabilityID","replaceAll","viewDetails","displaySeverityScore","lastIndexOf","impactedDatastoresCount","totalInstanceCount","stopPropagation","restoreRisk","riskAccept","accepted_all_risks","TicketIcon","TicketUnavailableIcon","AddTicketsModal","Pagination","page","setPage","totalCount","hasMore","offset","count","ceil","NoDataContainer","NoDataImg","SvgFilter","DatastoreIssues","assetIdValue","_ref$isAttackPath","isAttackPath","_ref$node","setLoading","selectedTab","noFilters","useParams","useLocation","dataStoreIssuesList","setDataStoreIssuesList","page_","assetId","isPolicyViolation","policyViolationId","includes","setSelectedFilter","parseInt","totalIssuesCount","setTotalIssuesCount","setSubFilter","subFiltersList","setSubFiltersList","getDataStoreIssues","isNode","datastore_node","CaretDownIcon","FilterIcon","DropdownIndicator","components","tooltip_content","contents","popupContents","dangerouslySetInnerHTML","__html","getAttackPathContents","classNamePrefix","defaultValue","isRtl","isSearchable","htmlFor","Toggle","defaultChecked","icons","fetchPolicies","getPolicies","addPolicy","updatePolicy","updatePolicyDetails","deletePolicy","getPolicyStats","acceptPolicyViolation","policyNotify","archivePolicy","policyViolationDetails","fetchAIPolicyViolations","fetchEntities","fetchTopics","listPoliciesAsync","getPolicyStatsAsync","addPolicyAsync","updatePolicyAsync","acceptPolicyViolationAsync","deletePolicyAsync","policyNotifyAsync","archivePolicyAsync","policyViolationDetailsAsync","fetchAIPolicyViolationsSlice","fetchEntitiesSlice","fetchTopicsSlice","updatePolicyDetailsSlice","resposne","policySlice","policyViolationInstances","entities","topics","_action$payload3","_action$payload4","DatastoreTicketModal","refreshDatastores","ticketDetail","datastoreId","_ref$type","getBulkTicketDetail","_ref$tags","tags","instanceID","managedTags","setManagedTags","setIssue","modalHeader","closeButton","dialogFooter","paddingBottom","_resp","_resp$payload$tags","tagList","_resp2","_resp2$payload","ticketName","_ticketDetail$tags","tags_","CloseRoundedIcon","loaderImage","DeleteConfirmationModal","deleteHandle","modalData","cassName","DatastoreTable","_ref$page","tablePadding","ticketModal","setTicketModal","ticketModalInfo","setTicketModalInfo","isPolicyViolationAccepted","setIsPolicyViolationAccepted","isPolicyArchive","setIsPolicyArchive","acceptedRiskPolicy","setAcceptedRiskPolicy","datastoreID","setDatastoreID","policy","getSensitiveAlias","formatedSensitiveInfo","labels","notifyPolicy","policyRule","_formatedSensitiveInf","_formatedSensitiveInf2","_formatedSensitiveInf3","_formatedSensitiveInf4","cdDatastoreRiskScore","_item$datastoreId","_item$assetId","_item$datastoreId2","_item$assetId2","path","moment","sensitiveInfo","Popup","trigger","on","arrow","indirectAttackStatus","AttackIcon","attackstatus","HackerIcon","livenessInfo","LivenessIcon","sensitiveScore","LockIcon","actionType","ticketIntegration","AcceptRisk","NotifyIcon","Archive","memo","ImpactedDataStoreModal","impactedDataStoreList","setImpactedDataStoreList","totalDatastoreCount","setTotalDatastoreCount","getImpactedDataStore","AffectedDatastoresAndIssuesModal","_ref$isSecurityIssueV","isSecurityIssueVisisble","_ref$isImpactedDatast","isImpactedDatastoreVisible","setLoadingStatus","userName","closeIconGray","ImpactedDatastore","DatastoreAttackPathGraph","_params$assetId","rowIndex","attackPaths","graphData","setGraphData","selectedNode","setSelectedNode","isAttackPathNodeClicked","setIsAttackPathNodeClicked","nodeClicked","graphDataset","_data$links$filter","nodes","nodeLine","nodeX","links","find","getGraphData","Graph","resetNodesPositions","CD_Asset_Id","Modal","createTicket","activeAttackPath","attackPathDesc","regions","latitude","longitude","full_name","code","public","zones","zone_limit","Tabs","setSelectedTab","accessTabClicked","isPolicyDetails","BottomPanelComponent","_params$id","_datastoreSources$ten6","_datastoreSources$ten7","RefreshChart","setCreateTicket","setDatastoreSources","selectedBar","datastoreSources","setIsDatastoreIssuesModal","isUSOnlyAccess","policyDetails","selectedDataFlow","handleRefresh","updatedDatastoreSources","setUpdatedDatastoreSources","checkComplianceViolationOnLiveness","_source$region","_source$region$toLowe","getSources","_policyDetails$instan","instanceDetails","getLatitudeAndLongitude","objRegion","r","_attackPaths$","pathName","_datastoreSources$ten","_datastoreSources$ten2","datasourceId","datasources","ten_minutes","sources","_sources$sourceIdenti","_sources$sourceIdenti2","sourceIdentity","sourceIPAddressLocations","_source$location","_source$location2","_sources$sourceIdenti3","_sources$sourceIdenti4","coordinates","sourceType","sourceIpAddress","sourceIPAddress","sourceAsset","city","radius","scale","isComplianceViolation","_datasources$selected","selectedAccessIndex","findIndex","_datastoreSources$ten3","_datastoreSources$ten4","_datastoreSources$ten5","_attackPaths$2","tabs","policyTabs","pathScore","pathAttackStatus","pathDescription","_item$sourceType","_item$sourceType2","_datastoreSources$ten8","_datastoreSources$ten9","complianceViolation","time_window_end","utc","toDate","local","fromNow","BottomPanelContainer","fetchDataStoreTags","updateDataStoreTags","updateDatastore","fetchDatastoreNames","fetchTicketDetail","fetchSensitiveInfo","fetchDatastoreDescription","fetchLineageGraphData","fetchLLMDetails","listDataStoreTagsAsync","updateDataStoreAsync","listDataStoreNames","updateDataStoreTagsAsync","listSensitiveData","fetchLLMDetailsSlice","fetchDatastoreDescriptionAsync","fetchLineageGraphDataSlice","dataStoreSlice","ManageTagsModal","refreshDataStoreTags","sensitiveTags","customTagErrors","setCustomTagError","tagsUpdated","setTagsUpdated","updateTags","some","_toConsumableArray","temp","objIndex","customTags","customerTags","customerSensTag","isDisabled","onKeyUp","closeIcon","tempTags","splice","removeTag","SensitiveDataModal","datastoreDescriptions","desc","records","PII","Automated","sensitiveDataSamples","sample","TopPanelComponent","_props$selectedBar2","_props$selectedBar3","_props$selectedBar4","_props$selectedBar5","_props$selectedBar6","_props$selectedBar7","_props$selectedBar8","_props$selectedBar9","_props$selectedBar10","_props$selectedBar11","_props$selectedBar12","_props$selectedBar13","_props$selectedBar14","_props$selectedBar15","_props$selectedBar18","_props$selectedBar19","_props$selectedBar20","setDatastoreDescriptions","setTags","moreTags","setMoreTags","isManageTagsModal","setIsManageTagsModal","isSensitiveDataModal","setIsSensitiveDataModal","_res","_res2","element","_props$selectedBar","_res$payload","_res$payload2","setIsUSOnlyAccess","updateDataStore","dsType","refreshDetails","toggle","engine","discoveredOn","lastModifiedAt","administrator","tagIcon","closeOnDocumentClick","_props$selectedBar16","_props$selectedBar17","redCheck","TopPanelContainer","am4core","_circle","WorldMap","markerClicked","setMarkerClicked","operationsInfo","operations","operation","_item$errorCodes","errorCodes","step","datastoreNode","updatedDatastoreSourceIds","am4themes_animated","chart","am4maps","interfaceColors","geodata","am4geodata_worldLow","projection","Mercator","_source$region2","_source$region2$toLow","_sources$sourceIdenti5","_sources$sourceIdenti6","_sources$sourceIdenti7","_sources$sourceIdenti8","toString","country","source_IP_Address","Number","destinations","zoomLevel","zoomLongitude","zoomLatitude","node_id","zoomControl","labelsContainer","createChild","isMeasured","layout","worldPolygonSeries","series","useGeodata","fillOpacity","exclude","worldPolygonTemplate","mapPolygons","template","originImageSeries","originImageTemplate","mapImages","marker","nonScaling","horizontalCenter","verticalCenter","propertyFields","events","_event$target","_event$target$dataIte","dataItem","dataContext","cursorOverStyle","pointer","tooltipText","setStateOnChildren","states","showLines","destinationImageSeries","destinationImageTemplate","_event$target2","_event$target2$dataIt","getFor","lineSeries","origin","line","mapLines","toBack","endDate","difference","diff","strokeDasharray","imagesToConnect","mapImage","setClassName","zoomToGeoPoint","strokeOpacity","nonScalingStroke","ev","dataItems","getIndex","loadChart","SvgEditCircleIcon","cx","cy","SvgArchive","SvgCreateTicket","SvgNotify","SvgSensitiveData","SvgViewTicket","_policyDetails$title","_policyDetails$title2","_policyDetails$instan2","_policyDetails$instan3","_policyDetails$instan4","_policyDetails$instan5","_policyDetails$instan6","_policyDetails$instan7","_policyDetails$instan8","_policyDetails$instan9","_policyDetails$instan10","_policyDetails$instan11","_policyDetails$instan12","_policyDetails$instan13","_policyDetails$instan14","_policyDetails$instan15","_policyDetails$instan16","_policyDetails$instan17","_policyDetails$instan18","_policyDetails$instan19","_policyDetails$instan20","_policyDetails$instan21","_policyDetails$instan22","_policyDetails$instan23","_policyDetails$instan24","_policyDetails$instan25","_policyDetails$instan26","_policyDetails$instan27","_policyDetails$instan28","_policyDetails$instan29","_policyDetails$instan30","_policyDetails$instan31","_policyDetails$instan32","_policyDetails$instan33","_policyDetails$instan34","_policyDetails$instan35","_policyDetails$instan36","_policyDetails$instan37","_policyDetails$instan38","_policyDetails$instan39","_policyDetails$instan40","_policyDetails$instan41","_policyDetails$instan42","_policyDetails$instan43","_policyDetails$instan44","_policyDetails$instan45","_policyDetails$instan46","_policyDetails$instan49","_policyDetails$instan50","_resp$payload$error","dsId","_resp$type","_resp$payload3$succes","_resp$payload4$error","last_occurred","dsInfo","datastore_type","individualTicketInfo","URL","rel","_policyDetails$instan47","_policyDetails$instan48","SensitiveDataIcon","sensitivityStats","DetailsComponent","_rowIndex$name","_rowIndex$name$replac","_rowIndex$name2","_rowIndex$name2$repla","setTicket","setRowIndex","setModalData","setSelectedBar","setCreateTicker","setAttackPaths","isDatastoreIssuesModal","policyViolationInstanceId","setWidth","setIsPolicyDetails","setPolicyDetails","_ref$current","offsetWidth","getPolicyViolationDetails","addEventListener","getWidth","_ref$current2","clientWidth","getDatastore","getAttackPaths","TopPanelPolicyViolationContainer","asset_id","innerHTML","DetailsContainer","Datastore","CardWrapper","CardWrapperSmall","curve","scoreClass","selectedSeverity","seperator","pictonBlue","surface70","StepsCard","stepNumberClass","stepNumber","stepCompleted","checkCircle","halfCircleLoader","RiskCards","assets","identities","_ref$accountId","showShadowAI","filterName","issuesCards","REDCURVE","YELLOWCURVE","SKYCURVE","assetsCards","stepCardsData","datastoreStatsKey","datastoresCards","llmDatastoresCards","stepCards","setStepCards","scoreCards","setScoreCards","getFirstAccountStats","getCloudAccountId","selectedAccountId","accountFromStorage","getStats","query","selectedDsAccount","selectedIssueAccount","URLSearchParams","search","firstAccountInterval","intervalCall","dStats","updatedDatastoreCard","iStats","aStats","_loop3","cardsContainer","inputText","setInputText","paginationContainer","MUIPagination","defaultPage","PolicyDetails","bulkNotify","ticketExist","SensitiveData","setSensitiveFilter","setData","cardHeader","align","Divider","MUIDivider","DataOverview","setMaxSize","setTotalSize","setTotalCount","maxSize","totalSize","dataCount","cardContainer","contentRow","numberText","shadowData","llms","tagType","LlmIcon","shadowOverviewData","ShadowDataPieChart","cloudEnvIssues","issueCount","Managed","Resources","Shadow","dummyData","am4charts","pieSeries","dataFields","category","slices","hiddenState","properties","endAngle","startAngle","text","innerRadius","ticks","alignLabels","adapter","add","_target$dataItem","_target$dataItem2","html","tooltipHTML","trainingDataList","FileName","Location","Source","sensitive_labels","training_date","policy_violation","DATASTORE","APPLICATION_DETAILS","Search","onClear","onSearch","input","ml","iconButton","top","right","Input","inputProps","IconButton","SearchIcon","_theme$palette$surfac","commonBox","setCurrentPosts","setSeverity","sensitiveFilter","setSortField","setSortType","totalDatastoresCount","setTotalDatastoresCount","setSearch","setTicketDetail","shadowAIFilter","setShadowAIFilter","queryParams","setQueryParams","locationPath","shadowDemoData","mountLocation","handleSensitiveFilter","handleSeverity","searchQuery","availableKeywords","getSearchField","keyword","field","getDatastores","search_","keyword_","severity_","ordering","q","dataset","exact","total_pages","getFilteredData","setSelectedDatastoreAccount","constructPathAndRedirect","pageContainer","breadcrumb","topCardPanel","sensitiveCardContainer","dataOverviewCard","cardTitle","fontWeightMedium","pageContent","marginBottom","tableCard","ShadowDataOverview","MosstUsedDataStores","ShadowSensitiveData","rowsPerPageOptions","siblingCount","SharedCard","_ref$custom","custom","_ref$subTitleComp","subTitleComp","subCount","PieChart","setDatastoreStats","colors","respDatastores","updatedDatastores","updatedStats","datastore","statObj","_tooltipContent$types","_tooltipContent$types2","_tooltipContent$tags","_tooltipContent$tags2","tooltipContent","setTooltipContent","updatedRegions","setUpdatedRegions","getRegions","regionResponse","regionObj","hasDataResidencyViolation","tooltipColor","updatedTags","sensitiveData","_tag$tag","updatedSensitiveData","Miller","polygonSeries","polygonTemplate","imageSeries","circle2","_ev$target$dataItem$d","dsTypes","Inventory","CloudEnvIssues","setCloudEnvIssues","getCloudEnvIssues","updatedCloudIssues","issue","cloudEnvClass","getCloudIssueIcons","getTotalIssues","total","AWSEC2","KubernatiesIcon","ServeslessAWS","viewIssues","MetricBlock","outOf","_ref$isCritical","isCritical","_ref$subText","subText","textColor","flexCol","valueText","manropeFont","scanningFrequency","setScanningFrequency","FirstTimeLoginAccount","selectedAccountType","setSelectedAccountType","_resp$payload4$err","customerRef","setTimeout","_resp$payload6","setSensitiveData","DatabaseIcon","DataPolicyViolation","policyViolationFilters","setPolicyViolationFilters","updatedPolicyViolationFilters","setUpdatedPolicyViolationFilters","filterIndex","setFilterIndex","getPolicyViolationFilters","updatedFilters","getIconByPolicyFilter","Lock","Arrow","DataAccess","Logging","Llm","DataLeak","updatePolicyFilter","getTotalViolatingPolicies","LeftArrow","RightArrow","viewDatastores","policyType","datastoreCategory","CPU","DBPlain","attackStatus","Alert","HomeV1","isIssueViewVisible","risktype","setBars","setStart","setEnd","showInfoModal","setShowInfoModal","infoModalData","dataStores","setDataRisks","datastoreIds","setDatastoresLoading","setRiskplotLoading","setFiltersDatastores","setPolicyFiltersDatastores","updateStats","clickable","dashboardCards","setDashboardCards","getDashboardStats","updateCards","_stats$inventory","_stats$inventory2","_stats$inventory2$pol","updatedstats","inventory","violatingPolicyCount","stores","getDatastoresByFilter","_payload","getDatastoresByPolicyFilter","_payload2","handleBarData","vunerabilityDataStores_","vulDatastores","data_","getDataRiskPlot","handleCardClick","CompleteProfile","setLoggendIn","phone","setPhone","setEmail","password","setPassword","confirmPassword","setConfirmPassword","setId","passwordNeeded","setPasswordNeeded","updateUser","number","match","test","password_created","updatePassword","_error$response$data","_error$response$data$","verifyEmail","url1","url2","googleOrOkta","oldPassword","newPassword","LoginPageLogo","LoginPageTitle","autocomplete","ForgotPassword","view","setView","_err$response","_err$response$data","_err$response$data$er","LoginCallback","loginCallback","_token$customer","_token$customer2","token","userInfo","id_token","refresh_token","username","first_name","last_name","customer","Login","setStep","redirectToHome","emailRegexMatch","mail","close","btoa","idToken","jwtToken","securityType","setContext","Link","to","ResetPassword","conformPasssword","setConformPasssword","otp","setOtp","setUserId","Timeout","VerifyEmail","Register","company","setCompany","setMessage","setDisableRegister","firstName","setFirstName","lastName","setLastName","setSecurityType","createTeam","createTenant","createCustomer","plan","billing","createContactUs","createUser","firstname","lastname","tenantRef","teamRef","alphaNumericRegexMatch","handleRegister","teamRes","customerRes","tenantRes","userRes","userRef","insertedId","validateEmail","MailIcon","GoogleIcon","SvgDeleteIcon","addReport","listReportsAsync","addReportAsync","deleteReportAsync","reportId","reportSlice","reports","DaySelector","selectedDays","setSelectedDaysValue","toggleDays","day","selectedDaysList","SchedulerModal","_report$reportName","_report$reportDescrip","refreshReports","chapters","reportName","reportDescription","repeat","repeatEvery","endRepeat","endRepeatValueOn","endRepeatValueAfter","daysOfWeek","report","setReport","recepients","setRecepients","setSelectedDays","checkedChapters","setCheckedChapters","invalidReport","setInvalidReport","endRepeatValue","recipient","chapter","emailValid","RadioButton","recepient","deleteEmail","handleChaptersChecked","SvgReportWhite","Reports","selectedReport","setSelectedReport","deleteReport","ReportIcon","str","TrashIcon","handleDelete","img","IntegrationCards","cards","setCards","cards_","Jira","Slack","OktaIntegrationModal","ProviderName","MetadataFile","AllowedDomains","UpdateJiraIntegrationModal","projects","setProjects","project","listJiraProjects","listIssueType","getProjects","SlackIntegrationModal","UpdateSlackIntegrationModal","WizIntegrationModal","masked","setMasked","UpdateWizIntegrationModal","edit","JiraIntegrationModal","_formik$values","_resp$payload2$err","autoComplete","WizStatusModal","wizStatus","setWizStaus","getWizStatus","authEndpointUrl","endpointUrl","lastVulnSyncStatus","lastVulnSyncAt","lastVulnSyncMessage","vulnSyncedCount","Index","IntegrationImages","splung","Splunk","jira","okta","Okta","servicenow","ServiceNow","slack","wiz","Wiz","isViewModal","setIsViewModal","isUpdateModal","setIsUpdateModal","integration","selectedIntegration","setSelectedIntegration","integrationType","setIntegrationType","setCard","setEdit","_card$metadata","handleUpdateIntegrationModal","Settings","setSetting","Test","CreateIssueModal","policyItem","setAccountsList","accountList","_ref$tablePadding","setTickets","createIssueModal","setCreateIssueModal","getTickets","ticket","Ticketogo","Tickets","setTicket2","CreateUser","getUsers","onboardUser","UserTable","deleteUser","setCreateUserModal","updateRole","updateStatus","tableContainer","loggedInUser","userIsAdmin","user","isLoggedInUser","Delete","UpdateUser","DeleteModal","onDelete","transform","bgcolor","modalBody","UserManagement","setUsers","createUserModal","updateUserModal","setUpdateUserModal","isDeleteModal","setIsDeleteModal","userTable","ConfirmDeleteUser","_response$payload","_error$response2$data","_error$response2$data2","IssuesPathGraph","wordBreak","IssueInstanceModal","instances","CustomTooltip","tooltipTitle","_ref$className","_props$vulnerability","_props$vulnerability2","_props$vulnerability3","_props$vulnerability4","_props$vulnerability5","_props$vulnerability6","_props$vulnerability7","_props$vulnerability8","_props$vulnerability9","_props$vulnerability10","isIssueInstanceModal","setIsIssueInstanceModal","resolveFactor","_state$dashboard","_state$dashboard$issu","lastScanned","isInteger","TaskYellow","EC2Image","DarkNet","issueDatastoreSaving","acceptRisk","idDisplay","vulnerability","externalUrl","additionalInfo","setVulnerability","isImpactedDataStoreModal","setIsImpactedDataStoreModal","apiFetched","setApiFetched","getSecurityIssue","_args","cvssScore","getAttackPath","impactedDatastores","VulnerabilitiesDetailsComponent","VulnerabilitiesDetailsContainer","SvgStar","Tooltip","_theme$palette3$surfa","_ref$arrow","MUITooltip","componentsProps","popper","TrainingDataCustomNode","_node$node3","_node$node4$name","directed","TrainingDataGraphView","llmInfo","trainingData","trainingDataFilter","policyViolationsMaliciousActivity","policyViolationsSensitiveData","evenCounter","oddCounter","getNodeXValue","getNodeYValue","getNodeLinkColor","formatTitle","arr","getRightPanel","startId","Name","heading","framework","Framework","owner","Owner","baseFamily","_trainingData$index","_trainingData$index2","sensitive_data","textAnchor","getDataSources","getDifferenceInDays","date1","date2","msPerMinute","msPerHour","msPerDay","msPerWeek","msPerMonth","msPerYear","elapsed","abs","minutes","round","hours","days","weeks","months","years","formatBytes","bytes","decimals","sizeValue","getSelectedAccountIds","selectedAccounts","accountIds","getDateTime","defaultIcons","FileIcon","vector_db","VectorDBIcon","llm","data_source","DefaultLoaderIcon","AppIcon","data_loader","iconsMap","pdf","PDFIcon","doc","DocIcon","docx","txt","TxtIcon","TextIcon","json","JSONIcon","csv","CSVIcon","xls","ExcelIcon","directory","DirectoryIcon","pinecone","PineconeIcon","vespa","pg","PostgresIcon","postgres","qdrant","QdrantIcon","ollama","OllamaIcon","openai","GPTIcon","langchain","LangchainIcon","google","GoogleDriveIcon","gcs","GCPIcon","gcp","sharepoint","SharepointIcon","snowflake","SnowflakeIcon","datavolo","DatavoloIcon","unstructured","UnstructuredIcon","confluence","ConfluenceIcon","getIconForKey","iconKey","getMaxValue","propName","arrItem","getFirstNValue","_newArr$splice","newArr","getSumOfValues","_Object$values2","reduce","acc","curr","convertUTCToLocal","getTruncatedString","showMore","getShortenedString","getJoinedString","delimiter","generateClassForBarGraph","newStr","getFileName","_name$split","at","convertYYYYMMDD","getPropertyTotalCount","prop","getFileExtension","GraphSelectedDataCard","_selectedNode$tooltip","_selectedNode$tooltip2","_selectedNode$tooltip3","_selectedNode$tooltip4","redirectionLink","toLocaleLowerCase","maxHeight","contentWrapper","overflowX","overflowY","fontSiz","cardTitleWithLink","linkIcon","propValue","rowGroup","row","endIcon","OpenInNewIcon","TrainingDataGraphLineageView","modelName","_llmInfo$","_llmInfo$2","modelPosition","_llmInfo$index","_llmInfo$3","modelNode","_trainingData$_index","trainingNode","sourceName","TrainingData","Version","install_location","github_link","license_type","documentation_site_link","pypi_link","sub_node","main_node","installed_via_package_manager","family","mainNodeX","mainNodeY","mainId","version","subNodeX","_TrainingData$_index","ShadowLLMComponent","_datastore$llmInfo","_datastore$llmInfo$Tr","_datastore$llmInfo2","_datastore$llmInfo3","_datastore$llmInfo4","_datastore$llmInfo5","_datastore$llmInfo6","_datastore$llmInfo7","_datastore$llmInfo8","_datastore$llmInfo9","_datastore$llmInfo9$P","_datastore$llmInfo10","_datastore$llmInfo10$","_datastore$llmInfo11","_datastore$llmInfo11$","_datastore$llmInfo11$2","_datastore$llmInfo12","_datastore$llmInfo12$","_datastore$llmInfo13","_datastore$llmInfo13$","_datastore$llmInfo14","_datastore$llmInfo14$","_datastore$llmInfo15","_datastore$llmInfo15$","_datastore$llmInfo16","_datastore$llmInfo17","_datastore$llmInfo17$","_datastore$llmInfo18","_datastore$llmInfo19","_datastorePolicy$poli","setTrainingData","launchButtonTitle","setLaunchButtonTitle","trainingDataGraphView","setTrainingDataGraphView","graphLineageView","setGraphLineageView","setDatastore","datastorePolicy","setDatastorePolicy","setDatastoreType","setTrainningDataFilter","setpolicyViolationsMaliciousActivity","setPolicyViolationsSensitiveData","_res$data$llmInfo","type_","llmInformation","HuggingFace","TrainingDataSets","BiasScore","InstallInformation","Account","PostTrained","is_different_hash","StarScore","duplicate_volume","launchObj","TranningDataOrchestratorGraph","policyViolationName","ViolationIcon","lastViolatedAt","ViewTicket","CreateTicket","ShadowLLM","sourceCategory","SourceCategory","routeAssetId","setAssetId","wrapper","setSelectedIssuesAccount","_ref$currentPosts","assetType","Identity","defaultAccount","getAssets","IdentityComponent","CloudTable","selectedAsset","setSelectedAsset","cdAssetRiskScore","asset_type","cloud_account_id","fetchAssetsSearch","fetchAssets","listAssetsSearchAsync","listAssetsAsync","assetsSlice","assetsSearch","Assets","asset","fetchData","AssetsComponent","AddPolicyModal","policyAction","accountsList","setDescription","isRiskUpgradeToCritical","setIsRiskUpgradeToCritical","isRiskUpgradeToHigh","setIsRiskUpgradeToHigh","isDirectAnomalyOnDatastore","setIsDirectAnomalyOnDatastore","isIndirectAnomalyViaCloudEnvironment","setIsIndirectAnomalyViaCloudEnvironmen","setSelectedAccounts","selectedAlertingAction","setSelectedAlertingAction","alertingActions","refreshPolicyDetails","cloudAccountIds","alerting_action","triggerCondition","getTriggerConditions","getTriggerConditionValue","triggerAction","triggerConditions","alertingAction","setAlertingActions","updatedAccounts","accountID","updateSelectedAccounts","isMulti","CompliancePolicyModal","policiesList","setSelectedAccountIDs","setDatastoreMappings","setDatastores","piiTags","selectedDatastores","setSelectedDatastores","selectedPiiTags","setSelectedPiiTags","selectedSensitiveTags","setSelectedSensitiveTags","selectedPolicies","setSelectedPolicies","customTag","setCustomTag","showUpdatePoliciesMessage","setShowUpdatePoliciesMessage","getUpdatedDatastores","updatedSelectedDatastores","getUpdatedPolicies","updatedSelectedPolicies","rule","getTagIds","ids","formattedTags","sensitivityTags","_getTagIds","_getTagIds2","getDatastorelabel","_step3","_iterator3","getPolicyDescription","_step4","_iterator4","_policyItem$target","_policyItem$target$cl","_policyItem$target2","_policyItem$target2$c","_policyItem$target3","_policyItem$target3$d","_policyItem$target4","_policyItem$target4$d","updateSelectedDatastores","_policyItem$sensitivi","_policyItem$sensitivi2","updateSensitivityTags","updatedPolicies","updatePolicies","datastoreList","colorStyles","control","option","multiValueLabel","singleValue","policyList","pl","plList","setPolicySelectHandler","PolicySetting","isAddPolicyModal","setIsAddPolicyModal","isAddCompliancePolicyModal","setIsAddCompliancePolicyModal","setPolicyAction","compliancePolicyAction","setCompliancePolicyAction","alertingPolicies","setAlertingPolicies","compliancePolicies","setCompliancePolicies","isDelete","setIsDelete","isComplianceDelete","setIsComplianceDelete","setPoliciesList","datastoreMappings","selectedAccountIDs","tableParent","marginY","actionsContainer","actionIcons","tableCellCenterAlign","getDatastoreNames","_i$target","_i$target2","j","getAllPolicieList","updatedCompliancePolicy","updatedAlertingPolicy","policyID","filterCompliancePolicies","getAlertingAction","getPredefinesPolicieList","_policy$target","_policy$target2","_policy$target3","_policy$target4","MUITabs","flexShrink","TabIndicatorProps","Tab","muiTab","MUITab","TabPanel","hidden","Dialog","dialog","MUIDialog","DialogTitle","handleClose","dialogHeader","dialogTitle","MUIDialogTitle","DialogContent","MuiDialogContent","DialogActions","dialogAction","MuiDialogActions","addTopic","deleteTopic","fetchTopicSlice","addTopicSlice","deleteTopicSlice","TOPIC_ERROR_CODES","TOPIC_FILE_UPLOAD_PROMPTS","maxDelay","minDelay","MessageString","uploadStatus","successCloseDialog","failCloseDialog","firstMessage","delay","messages","setMessages","timeoutIds","messageList","forEach","isError","timeoutId","newMessages","nextMessage","clearTimeout","_messages$","statusCode","AlertBox","alert","details","detailHeader","createdAtBox","WysiwygIcon","DescriptionIcon","AddTopic","_topicData$examples","_topicData$examples2","isOpen","topic","examples","topicData","setTopicData","emptyFields","setEmptyFields","fileStatus","setFileStatus","addedTopic","setAddedTopic","isAdding","setIsAdding","fileInputRef","dialogContent","textArea","addButton","dividerBody","divider","orText","uploadFileBox","exampleText","alertHeading","uploadFileText","messageBox","formData","_topicData$file","validateInputFields","FormData","append","status_code","fieldValidation","maxWidth","_fileInputRef$current","click","_event$target$files$","createdOn","multiple","dateString","getFullYear","getMonth","getDate","hoursAndMinutes","getHours","getSeconds","filteredData","onDeleteExample","Chip","chip","borderColor","MUIChip","sensitiveTag","AddEntity","_sensitiveTag$","_entityData$customEnt","customEntity","setCustomEntity","selectedSensitiveTag","entityData","setEntityData","chipContainer","_sensitiveTag$find","AddIcon","customEntities","DiscardChanges","CloseRounded","Checkbox","root","MUICheckbox","getActiveUsers","getUserGroups","getActiveUsersByRetrievals","getUserInfo","getUserDetails","fetchActiveUsersSlice","fetchUserGroupsSlice","getActiveUsersByRetrievalsSlice","getUserInfoSlice","getUserRetrievals","userSlice","selectedUserRetrievals","userList","identityProviders","groups","SelectGroups","_identityProviders$fi2","selectedGroups","setSelectedGroups","setIdentityProvider","identityProvider","isProviderEmpty","isIdentitiesEmpty","searchKeyword","setSearchKeyword","IDgroups","setIDGroups","userGroups","setUserGroups","width60","groupsBox","gap_4","availableGroup","listOfGroups","borderTop","checkbox","groupName","truncatedText","cancelIcon","checkIfChecked","group","fetchUserGroups","filteredGroups","_identityProviders$fi","SemanticGuardrailConfig","selectedLabels","isAIAssist","setTopics","setEntities","entitiesList","topicsList","cursour","width_50","labelName","aiChip","_selectedLabels$entit","_selectedLabels$topic","labelList","selectedLabelList","getCountOfSelectedLabels","_selectedLabels$entit3","_selectedLabels$topic3","list","entity","surface90","surface5","avatar","StarIcon","borderRight","_entity$labels","_selectedLabels$entit4","_selectedLabels$topic4","_selectedLabels$entit5","semanticGuardrail","_selectedLabels$topic5","_selectedLabels$entit2","_selectedLabels$topic2","getSelectedLabels","_labelList$find","_labelList$find2","_labelList$find2$labe","_selectedLabels$entit6","_selectedLabels$topic6","ExceptionConfig","setPolicyExceptionConfig","policyExceptionConfig","PolicyName","policyName","setPolicyName","isEmpty","Stepper","MUIStepper","Step","MUIStep","StepContent","MUIStepContent","StepLabel","MUIStepLabel","allTopics","CheckBoxOutlineBlankIcon","CheckBoxIcon","allEntities","AddPolicy","isEdit","setSelectedType","setShowTopicEntity","onEditShowDiscard","setOnEditShowDiscard","showDiscardDialog","setShowDiscardDialog","activeStep","setActiveStep","addedAIAssist","definedEntities","definedTopics","provider","isEmptyField","setIsEmptyField","isException","backIcon","dialogBody","formBox","form","formHeading","stepLabel","isActive","stepContent","getPolicyCategories","getAllEntities","getAllTopics","topicList","_policyDetails$config","_policyDetails$config2","_policyDetails$config3","_policyDetails$config4","_policyDetails$config5","_policyDetails$config6","_policyDetails$config7","_policyDetails$config8","_policyDetails$config9","_policyDetails$config10","userAndGroups","exception","grantFullAccess","steps","newIdentities","newProvider","activeSubTitle","newPolicyName","_policyData$identitie","validationFlags","clearStateAndCloseDialog","openDiscardChangesDialog","_policyData$identitie2","_policyData$semanticG","_policyData$semanticG2","_policyData$semanticG3","_policyData$semanticG4","editResponse","fullScreen","ChevronLeftIcon","orientation","handleStep","TransitionComponent","Collapse","transitionDuration","DeletePolicy","Menu","args","menu","MUIMenu","Autocomplete","MUIAutocomplete","paper","renderInput","ApplyTopicToAppsDialog","apps","isEmptyApp","setIsEmptyApp","selectedApp","setSelectedApp","onCloseDialog","newValue","DeleteTopic","topicName","ViewPolicy","_policyData$config","_policyData$config$us","_policyData$config4","_policyData$config4$e","_policyData$metadata","onEdit","_useSelector","manrope","policyCreate","violationBox","violationCount","violationText","groupRows","groupListing","entityBlock","_policyData$config2","_policyData$config2$s","_policyData$config2$s2","_policyData$config3","_policyData$config3$s","_policyData$config3$s2","exceptionConfig","subGroups","subGroup","TOPIC_STATUS","TOPIC_STATUS_VALUES","training","pending","evaluating","failed","aborted","cancelled","sample_count_check","variance_check","centroid_check","embedding_generation","load_data","queued","TOPIC_STATUS_CODES","DataTable","columns","dataList","isFetchingData","noDataContainer","col","colSpan","render","PolicyPage","_tabData$find","tabValue","setTabValue","isAddPolicy","setIsAddPolicy","isEditPolicy","setIsEditPolicy","modifyPolicyData","setModifyPolicyData","isOpenTopic","setIsOpenTopic","isOpenEntity","setIsOpenEntity","isDeletePolicy","setIsDeletePolicy","isFetchingPolicies","setIsFetchingPolicies","isFetchingTopics","setIsFetchingTopics","appList","setAppList","showDeleteTopic","setShowDeleteTopic","topicDelete","setTopicDelete","showApplyMsg","setShowApplyMsg","openApplyDialog","setOpenApplyDialog","menuAnchor","setMenuAnchor","policyActionsMenu","setPolicyActionsMenu","Boolean","selectedRow","setSelectedRow","viewPolicy","setViewPolicy","isViewPolicy","setIsViewPolicy","isMenuOpen","getAppsData","_res$payload$data","app","fetchTopic","fetchDefinedTopicsSlice","closeDeleteTopicDialog","lineheight","tableCellLast","tableCellAction","tableActionDivider","mainContent","tabPanel","statusIcon","menuItem","menuItemText","betaTag","topicId","FAIL","onDeletePolicy","_response$payload2","policyTableCols","_row$config","_row$config$semanticG","_row$config$semanticG2","_row$config2","_row$config2$semantic","_row$config2$semantic2","_row$config3","_row$config3$exceptio","_row$metadata","currentTarget","MoreVert","htmlColor","anchorEl","topicsCols","topic_name","topic_description","_row$metadata2","_row$metadata3","_row$model_info","_row$model_info2","model_info","errorMessage","CheckCircleOutlineIcon","AccessTimeIcon","ErrorOutlineIcon","getStatusIcon","displayStatus","flexItem","entityCols","_row$metadata4","_row$metadata5","ConstructionIcon","tabData","tableCol","disableAdd","iconPosition","handleAddDialog","getButtonText","appName","PolicySettings","showPolicySettings","RiskScoreChart","riskStats","populateText","Header","setInfoModal","setRiskStats","accountDropdownDisable","setAccountDrodpwonDisable","isIdle","scrollTo","getRiskScore","issueUberLabel","settings","downArrow","questionIcon","SvgDaxaTitle","SvgHome","SvgIntegrations","SvgPolicy","SvgUserManagement","SvgLeftCircleArrow","SvgRightCircleArrow","Sidebar","setTab","expandedSidebar","setExpandedSidebar","accountsAvailable","toggleSidebar","Logo","DaxaTitle","LeftArrowIcon","RightArrowIcon","Home","Policy","Integrations","ReportDoc","SvgArrowUp","Accordions","accordions","setAccordions","setTooltip","handleCopy","customTheme","accordion","_accordion$answer","_accordion$answer2","_accordion$answer2$li","_accordion$answer3","_accordion$answer3$li","_documentLoadingStep$","handleToggle","ArrowDownIcon","ArrowUpIcon","answer","listType","listStyle","documentLoadingStep","ThemeProvider","dracula","CopyBlock","language","showLineNumbers","onCopy","codeBlock","ReactTooltip","place","effect","EmbededUiModal","Footer","GenerateAPIKey","onAdd","setName","font12","addAPIKey","deleteAPIKey","fetchAllAPIKeysSlice","addNewAPIKeySlice","deleteAPIKeySlice","RevokeAPI","getAllPackagesSlice","downloadPackageSlice","packageId","packageID","responseType","ViewHashes","packageInfo","packageName","textBlock","hashText","copyIcon","sha","copyText","Accordion","MUIAccordion","AccordionSummary","_ref2$expandIcon","expandIcon","ExpandMoreIcon","accordionSummary","MUIAccordionSummary","AccordionDetails","MUIAccordionDetails","PackageDetails","packageDetails","openViewHashes","setOpenViewHashes","packageNameString","docIcon","fileIcon","downloadPackage","_link$parentNode","createObjectURL","Blob","createElement","setAttribute","body","appendChild","parentNode","removeChild","InsertDriveFileOutlinedIcon","uploadedOn","DownloadRoundedIcon","VisibilityOutlinedIcon","PackageDownload","isFetchingPackages","setIsFetchingPackages","latest","previous","packageList","setPackageList","packageContainer","font13","packagesList","viewHide","seeMoreText","getAllPackages","packageItem","Popover","popover","MUIPopover","PackageInstallationInfo","_installationData$ste","popoverBody","keyValue","popoverHeader","valueWithImage","codeBox","instruction","installationData","SvgCopy","APIConfigDrawer","apiKeys","setAPIKeys","isFetchingAPIKeys","setIsFetchingAPIKeys","isAddKey","setIsAddKey","showDeleteKeyDialog","setShowDeleteKeyDialog","setAnchorEl","isPopoverOpen","keyHeader","apiListBox","apiTableHeader","apiHeaderText","packageBox","apiKeyIcon","body1","apiKeyIconColor","apiKeyCell","wordWrap","apiKeyActions","keyTextField","drawerHeading","getAllAPIKeys","apiKeyDetails","getAPIKeyString","getAPIKeyVisibilityFlag","substr","apiKeyName","HelpOutlineIcon","placement","InfoOutlinedIcon","colspan","_apiKey$metadata","newState","toggleAPIKeyVisibility","VisibilityOffOutlinedIcon","copyAPIKey","CopyIcon","lastUsedAt","DeleteOutlineOutlinedIcon","openAPIConfigDrawer","setOpenAPIConfigDrawer","accountMenuAnchor","setAccountMenuAnchor","headerContainer","dividerStyles","alignSelf","noBottomBorder","accountSelectControl","menuItems","clickableIcons","menuAccountDetails","textBold","accountName","renderValue","_accountList$","AccountCircleIcon","handleOpenAccountMenu","NotificationsIcon","HelpRoundedIcon","transformOrigin","logoutUser","Insights","insights","surfaceMain","letterSpacing","ExpandLessIcon","Drawer","drawerStyle","boxSizing","backgroundImage","MUIDrawer","InsightsDrawer","anchor","drawerContent","drawerHeader","drawerBody","closeDrawer","HourglassBottomOutlinedIcon","HeroStat","suffix","ImpactedDataStoresPanel","findingOverview","setFindingOverview","donutCardContainer","donuts","allDataImpactedText","sensitiveDataText","fontWeightRegular","highlightDataText","legendContainer","legendGroup","totalDataStore","statGrid","toggleButton","metrics","useMemo","_findingOverview$docu","_findingOverview$docu2","_findingOverview$appl","_findingOverview$appl2","_findingOverview$user","_findingOverview$user2","documents","with_findings","applications","anamolous_users","stat","BarGraphBottomAxis","maxValue","xLabel","classForGraph","axisContainer","axisLabels","barLabel","labelText","textWrap","remove","xScale","domain","rangeRound","attr","tickValues","drawBottomAxis","Bar","barFaceColor","barBackColor","rectWidth","totalValue","_ref$isLastBar","isLastBar","barValue","barOuterRect","barInnerRect","transition","green","CardWithAction","_cardData$activeTab","cardData","buttonTitle","_ref$isLoading","hasTabs","activeTab","setActiveTab","titleCardData","_cardData$tab","KeyboardArrowRightIcon","fetchAppData","fetchAppOverview","fetchAppRetrievalsDetails","fetchAppRetrievalOverview","fetchAppsList","deleteApp","fetchAppRetreivalFindings","setAppDescription","setAppPolicy","fetchAppLoaderDetails","fetchAppDetailsSlice","fetchAppRetrievalOverviewSlice","fetchAppRetreivalsSlice","fetchAppsListSlice","deleteAppSlice","fetchAppRetreivalFindingsSlice","setAppDescriptionSlice","setAppPolicySlice","fetchAppLoaderDetailsSlice","appSlice","CustomTable","tableCols","tableData","tableHeight","_ref$onRowClick","onRowClick","LogoWrapper","bgColor","ApplicationsCard","setApplications","setIsFetchingData","noDataCell","appNameCell","appVersion","barCell","truncateText","redirectToAppDetailsPage","retrievals","lightMagenta","active_users","_data$labels","fetchAppList","ColorBadge","badge","fetchImpactedDocumentsSlice","fetchDocumentInfoSlice","fetchDocumentDetailsSlice","fetchDocumentBySourcesSlice","fetchSnippetsByLabelsSlice","documentSlice","docList","DocumentCard","impactedDocs","setImpactedDocs","docName","snippetCol","snippet","snippetCount","groupCount","loader_type","doc_size","_data$snippet_count","_data$snippet_count$s","_data$snippet_count2","_data$snippet_count2$","_data$snippet_count3","_data$snippet_count3$","_data$snippet_count4","_data$snippet_count4$","_data$snippet_count5","_data$snippet_count5$","_data$snippet_count6","_data$snippet_count6$","snippet_count","hamrful","_data$access_groups","_data$access_groups2","_data$access_groups3","access_groups","gotoDocument","_doc$id","docId","fetchImpactedDocs","gotoAllDocuments","CustomTreeMap","colorScale","_ref$noDataText","noDataText","_ref$graphHeight","graphHeight","graphWidth","coords","setCoords","parentId","parent","sum","NaN","_d3$extent","_d3$extent2","_document$getElements","selectAll","getElementsByClassName","adjustTooltipX","_document$querySelect","boundingCoords","querySelector","getBoundingClientRect","leaves","enter","xPos","pageX","yPos","pageY","x0","y0","x1","y1","violation","drawTreeMap","LegendWithColor","_ref$textColor","rowBadge","legendLabel","SnippetByLabelsTooltip","alignItemsCenter","DatasourcesTooltip","SnippetsByLabels","_Object$keys3","docBySources","setDocBySources","snippetsByLabels","setSnippetsByLabels","graphContainer","legends","fetchDocsBySourcese","_Object$keys","formattedList","fetchSnippetsByLabels","_Object$keys2","_response$payload$dat","_response$payload$dat2","LLMCard","models","setModels","columnGap","getModelsData","model","UsersCard","userData","setUserData","gotoUserDetails","_data$applications","fetchActiveUsers","RetrievalsByUserGroupsTooltip","breakWord","ActiveUsersByRetrievals","fetchUserByRetreivals","userGroupsList","_response$payload$key","activeUsers","fetchLoaderOverview","fetchAppDetails","fetchSnippets","fetchLoaderList","fetchLoaderGraph","deleteLoaderApp","setLoaderAppDescription","fetchLoaderOverviewSlice","fetchLoaderAppDetailsSlice","fetchLoaderGraphSlice","fetchSnippetsSlice","fetchLoaderListSlice","deleteLoaderAppSlice","setLoaderAppDescriptionSlice","dataLoaderSlice","dataLoaderApp","loaders","DataLoaderWidget","dataLoaders","setDataLoaders","loaderCount","imgBg","surfaceImgBg","lastRun","font20","emptyState","docSize","_loader$labels","dataLoader","last_updated","document_count","documents_size","getLoadersList","NewHome","pageParent","sideBar","homeContainer","contentPanel","contentRow1","usageRiskContainer","barContainer","barCard","cardBgColor","insightsBar","logo","geoCard","geoDetailsCard","frameworkList","dashboardRow2","dashboardRow30_70","cardBackground","stickyPanel","mixBlendMode","loaderCard","_useContext","Doc","cardWrapperStyle","InstanceDetailsCard","_instanceDetails$Post","_instanceDetails$Post2","_instanceDetails$Post3","_ref$instanceDetails","isManaged","isFineTuned","instanceDetailsCard","instanceDetailsCardHeading","instanceDetailsCardHeader","instanceDetailsCardDescription","fontWeightLight","instanceDetailsCardBody","instanceDetail","instanceDetailKey","instanceDetailValue","runtime","sagemaker","last_used","model_hash","fetchDataSourceSnippets","suggestClassificationLabelForPrompt","suggestClassificationLabelForDoc","fetchDataSourceSnippetsSlice","frameworkPageSlice","datasource","PolicyViolationDetailsCard","refreshPolicies","setPolicyViolationDetails","objectId","policyViolationDetailsCard","moreIcon","tableHeader","sensitiveMessageCount","lastViolated","ticket_exist","SensitiveDataDetailsCard","_ref$sensitiveDetails","sensitiveDetails","sensitiveDataDetailCard","sensitiveDataDetailsCardHeading","sensitiveDataDetailCardHeader","tableBodyRecords","noDataFound","LLMDetailsCard","_ref$llmDetails","llmDetails","_ref$moreTags","llmDetailsCard","llmDetailsCardHeader","llmDetailsCardHeading","llmDetailsCardDescription","llmDetailsCardBody","llmDetailsCardFooter","llmDetail","llmDetailKey","llmDetailValue","h6","llmFooterDetialsKey","fontWeightBold","llmFooterDetialsValue","manageButton","base_family","bias_score","Paper","MUIPaper","ToggleButton","toggleButtons","MUIToggleButton","ToggleButtonGroup","elevation","MUIToggleButtonGroup","LLMModelPage","_llmData$data","_datastore$llmInfo3$l","_ref$selectedAccount","lineageGraphData","setLineageGraphData","llmData","pageLayout","headerSection","headerSectionTitle","headerSectionTitleValue","headerSectionDescription","headerSectionDescriptionBody","pageDetailsSection","llmDetailsSection","cardContent","cardControls","graphFooter","graphCheckbox","greenCheckbox","purpleCheckbox","lightPurple","blueCheckbox","launchAIScanBtn","getLineageGraphData","_res$payload$","modelId","lineageGraph","_res$payload4","_res$payload3","InsertChartOutlinedIcon","TableRowsOutlinedIcon","widthValue","exclusive","trainingDataDetails","mapObj","Map","v","set","constructLineageGraphData","Breadcrumbs","MUIBreadcrumbs","MUILink","LLMTabs","onTabChange","_createElement","KeyValueBlock","_ref$valueIcon","valueIcon","block","tooltipChildren","DeleteApplicationDialog","AddDescriptionDialog","isDescription","setIsDescription","setError","handleDialogClose","multiline","rows","ViewMoreBlock","readMore","setReadMore","viewMoreBtn","LLMFrameworkDetails","_frameworkData$framew2","_frameworkData$framew3","_frameworkData$framew4","_frameworkData$models4","_frameworkData$provid2","_frameworkData$provid3","_frameworkData$provid4","_frameworkData$instan","_frameworkData$instan2","_frameworkData$instan3","_frameworkData$instan4","_frameworkData$instan5","_frameworkData$instan6","_frameworkData$framew5","frameworkData","onDeleteApp","showFrameworkDetails","setShowFrameworkDetails","isDeleteDialog","setIsDeleteDialog","isAddDescription","setIsAddDescription","frameworkDescription","setFrameworkDescription","langchainTitle","langchainDetails","langchainDetailsCard","detailsSection","frameworkDetails","summaryDetailsRow","instanceDetailsRow","gridGap","instanceDetailsHeader","borderWidth","miscDetails","flexGrow","useTimeStamp","lastUsedText","showHideDetails","frameworkDetailsHeader","deleteFramework","frameworkInitialDetail","frameworkHeader","summaryContainer","summaryText","menuIcon","descriptionText","appSubHeading","pebbloChip","surfaceFloatingWindow","pebbloClient","pebbloClientVersion","pebbloServer","pebbloServerVersion","handleAddDescriptionForFramework","_resp$payload2$error","_frameworkData$models","_frameworkData$models2","_frameworkData$models3","vendor","getModelName","_frameworkData$framew","frameworkSummary","React","Fragment","_frameworkData$provid","providerInfo","cloudType","AWSIcon","DesktopIcon","getCloudTypeIcon","PebbloIcon","lastused","lastUsedDate","convertedDate","getLastUsedDate","MoreVertIcon","DeleteOutlineOutlined","PostAddIcon","vectorDBVersion","vectorDBLocation","embeddingModel","ip","languageVersion","_frameworkData$framew6","CollapsibleGraph","_ref$graphData","_ref$classNameForGrap","classNameForGraph","setNewNode","_ref$isChild","isChild","_ref$nodeDepth","nodeDepth","_ref$nodeLength","nodeLength","openPopover","treeData","setTreeData","noOfClick","collapse","_children","_root","_root$children","duration","treemap","descendants","depth","nodeEnter","_d$data","_d$data2","_d$data3","_d$data4","_d$data5","_d$data6","_d$data7","_d$data8","_d$data9","_d$data10","ReactDOMServer","renderToStaticMarkup","_d$data11","_d$data12","merge","_d$data13","nodeExit","exit","diagonal","_d$data14","elem","innerText","insert","o","createGraph","LangchainPopover","popoverData","dataLabels","popoverHeaderBody","popoverHeaderBodyText","rowGap","lableWithValue","textEllipsis","_popoverData$packageI","labelAndValue","LangchainGraphNode","_ref$id","_ref$isNode","iconWrapper","ChainGraph","_treeData$children","_treeData$children$fi","_chainData$modelDetai","_chainData$modelDetai2","_chainData$modelDetai3","_ref$chainData","chainData","setPopoverData","popoverDataLabels","setPopoverDataLabels","childrenLength","chainGraphWrapper","chainGraph","chainIcon","chainText","modelDetail","_selectedElement$clas","selectedElement","classList","querySelectorAll","loaderPopoverLabels","vectorDBPopoverLabels","plotGraph","ChainIcon","HuggingFaceIcon","LangchainGraph","nodeHeight","newNode","setElem","langchainGraphWrapper","_treeData$children2","_treeData$children2$f","elementName","interval","el","childNode","chainNumber","_treeData$children$","_treeData$children$$c","_treeData$children$$c2","_treeData$children3","_treeData$children4","hydrate","CollapseIconComponent","collapseWrapper","collapseIcon","AddAppPolicy","appId","policyJson","setPolicyJson","AppTreeMap","maxTwoValue","graphFooterContainer","minMax","colorIndicator","range","_document$getElementB","clientX","clientY","MultipleContextDetailsDialog","_selectedID$data","_selectedID$data2","selectedID","setSelectedID","isCopied","setIsCopied","dialogDetails","contextBtns","visibleContext","contextAndFile","context","contextItem","retrievedFrom","_selectedID$data3","JiraIcon","x2","y2","gradientUnits","MessageDetailBlock","_data$context","_data$context2","_data$context$","messageContainer","messageCard","messageFontSize","dateText","messageData","pointerEvents","originChain","policyChip","finalContext","initalContext","openSnippetsDialog","setOpenSnippetsDialog","snippetsData","setSnippetsData","retrievedOn","timeString","isMultipleSnippet","MessageDetails","_ref2$messagesList","messagesList","_ref2$frameworkData","_ref2$selectedUser","selectedSensitiveLabel","selectedUser","setGlobalTicketModal","ticketTitle","setOpenSuggestLabelDialog","setIsDiscardLabelDialog","setMessageList","setAddedFeedback","messagePanel","checkboxCell","bulkActions","actionImg","actionsCell","dividerHeight","thumbsIcon","thumbsIconBox","modalContent","filteredMessages","_msg$retrievedBy","retrievedBy","_selectedUser$split","_msg$sourceFile","sourceFile","SlackIcon","isReported","handleAddFeedbackDialog","FlagOutlinedIcon","minRows","CollapsableRow","_Object$values","rowData","setOpen","imageWithLabel","findingsCount","KeyboardArrowUpRounded","KeyboardArrowDownRounded","in","timeout","unmountOnExit","rowItem","_rowData$rowItem","_rowData$rowItem2","SensitiveMessageTable","labelsExist","SensitiveMessagesDetails","setSelectedSensitiveLabel","summaryContent","childKeys","setInitialLabel","_messageData$selected","SelectedNodeDetails","nodeDetails","isUser","showUserDetails","setShowUserDetails","displayedLabels","setDisplayedLabels","userDetailsBox","restrictedLabelsHeader","sectionBox","labelChip","flexWrap","restrictedLabels","documentGroups","defaultExpanded","designation","GroupsIcon","PromptSummaryPanel","_treeMapViews$treeMap","_treeMapViews$treeMap2","retrievalOverview","setRetrievalOverview","retrievalData","setRetrievalData","treeMapView","setTreeMapView","isLoadingRetrievalData","setIsLoadingRetrievalData","documentsList","usersList","treeMapContainer","messageBlock","sensitiveMessages","messageCount","formControls","checkboxLabel","promptCheckbox","peach","responseCheckbox","paleBlue","contextCheckbox","laurelGreen","promptSummary","summaryHeader","sortByText","messageDetailsHeader","sortByBox","treeMapLense","treeMapViews","_retrievalOverview$us","_retrievalOverview$do","retrievalCount","treeMapData","retrieval_count","documents_accessed","source_path","fetchTreeMapData","fetchRetrievalsData","fetchDocsList","fetchUsersList","_treeMapViews$find","getSelectedNodeDetails","retrieved_from","SnippetDetails","isMessageLoading","setLabelList","dFlex","_message$label_feedba","_message$label_feedba2","suggestedLabel","label_feedback","suggested_label","otherLabel","FlagIcon","DataSourceMessageDetails","findings","DataSourceTab","_selectedLoader$summa2","_selectedLoader$summa3","_selectedLoader$summa4","setIsMessageLoading","datasourceDetails","setDataSourceDetails","selectedLoader","setSelectedLoader","summaryCard","fontWeight700","fontLight","alignEnd","bottom4","gap4","summaryTab","summaryToggle","textButton","gap56","snippetDetails","snippetHeader","gap24","getLoaderDetails","entity_findings","topic_findings","_item$summary","_selectedLoader$summa","_item$summary3","_item$summary4","_item$summary2","source_type","last_modified","LLMFrameworkPage","setFrameworkData","setNodeHeight","collapsibleTreeData","setCollapsibleTreeData","langchainFramework","breadCrumbLink","activeLink","blueLink","langchainHeader","tabLabel","promptSummaryPanel","getFrameworkDetails","_resp$payload$chains","structuredTreeData","chains","buildCollapsibleGraphData","getEntitiesTopicsList","frameworkPageData","frameworkTabs","unstructuredData","_item$vectorDbs","vectorDbs","getLangchainChildren","constructChainData","_unstructuredData$buc","_frameworkDetails$loa","_unstructuredData$buc2","_frameworkDetails$loa2","bucket","getVectorDbChildren","addNullObject","newArray","collapsibleNodeHeight","db","_db$bucket","_db$bucket2","_db$bucket3","_db$bucket4","_frameworkDetails$loa3","_db$bucket5","_db$bucket6","_db$bucket7","_db$bucket8","goBack","underline","_frameworkData$chains","_chainObj$vectorDbs$","_chainObj$vectorDbs$2","_chainObj$vectorDbs$3","_chainObj$vectorDbs$4","chainObj","lastUsed","getInstanceDetails","SignUpCallback","signUpCallback","AppDetails","overview","panel","overviewColumns","users_count","isDivider","topics_count","entities_count","DataLoaderOverview","fontWeight300","metricsList","topic_count","entity_count","documents_with_findings","total_documents","total_datasource","metric","DataSourceDetailsItem","_ref$isSelected","isSelected","_ref$name","_ref$total","_ref$count","userNameRole","accessDetails","labelBox","blueGrey","DocumentDetailsItem","topicSum","entitySum","JiraSlackActionButtons","cardActions","LoaderSnippetDetailsBlock","_data$metadata","retrievedOnText","rowActions","snippetTextBlock","retrievalDate","OutlinedFlagIcon","FinalContext","_context$displayBtnId","btnContainer","btnText","displayBtnId","setDisplayBtnId","contextButton","MessageDetailsBlock","_data$metadata2","_data$prompt","_data$response","aiAssistedChip","SnippetDetailsDialog","snippets","isDataLoader","checkBox","colActionsCell","truncateFileName","snippetItem","FindingRow","accordionContent","snippetValue","TOPIC","ENTITY","FindingsDetails","selectedFirstValue","selectedSecondValue","showSnippetDialog","setShowSnippetDialog","setSnippets","selectedFinding","setSelectedFinding","surfaceCard","accordionContentWrapper","commonPayload","_response","dataLoaderId","dataSourceId","data_source_id","documentId","finding","DetailsBlock","userHeader","userBox","isTab","titleStr","UserDetailsItem","AuthorizedIdentities","identity","SafeRetrievalDetails","_Object$keys4","_Object$keys5","_ref$data","selectedFirstColValue","setSelectedFirstColVal","selectedSecondColValue","setSelectedSecondColValue","authorizedIdentities","setAuthorizedIdentities","safeRetrievalCard","_data$firstItem","firstItem","secondTableList","loaderDetails","_result$","user_identities","findingsList","_data$selectedFirstCo","_data$dataItem","_data$dataItem2","_Object$keys6","_data$dataItem3","_data$dataItem4","document_with_findings","column","LoaderOverviewPanel","getCardData","setCardData","overviewContainer","fetchAPIDetails","DataLoaderDetailsPage","getDataLoaderAppDetails","getLoaderData","DataLoaderListingPage","setLoaders","pageHeader","searchOptions","loaderType","fetchAllDataLoaders","updatedAtDate","loaderID","AppListingPage","setApps","fetchAllApps","policyViolated","PageBreadcrumbs","_ref$breadcrumbs","breadcrumbs","isLink","route","PageTable","tableKeys","pageTitle","_tableCols$","AllFindingsPage","setFindings","findingTableCols","docsTableCols","tabName","fetchAllFindings","findingsKeys","docsKeys","CustomPage","DocumentsListing","setDocuments","documentList","setDocumentList","tableTitle","userApps","alignBaseline","tableBg","fetchAllDocuments","filteredList","_doc$name","_data$retrievals","_data$retrievals2","sensitive_count","TitlePath","entityKey","nameSubtext","ExcessItemsTooltip","justifySelf","LabelAndValue","_labels$slice","tooltipContainer","UserGroupsListing","groupTitle","groupList","DocumentInfo","_document$database","_document$harmful_lab","_document$sensitive_l","setDocument","docTitle","docDetails","cardFirstRow","labelSubtext","jiraBtn","docGroupsInfo","justifyItems","groupFirstChild","labelGraph","docFullName","getDocumentInfo","documentName","harmful_labels","database","updatedAt","CustomTab","selectedValue","outOfText","Snippet","LabelCard","isHarmful","LabelWithSnippetCount","ListOfSnippets","retrieved_on","DocumentSnippets","_filteredSnippets$sel","documentSnippets","setDocumentSnippets","filteredSnippets","setFilteredSnippets","selectedLabel","setSelectedLabel","filterByApp","setFilterByApp","pageBody","snippetsCard","promptSelector","gridTitle","column1","column2","snippetList","fetchSnippetLabels","getKeyItemsFromObject","snippets_with_harmful_data","total_snippets","snippets_with_sensitive_content","fetchDocumentSnippets","_data$apps","_data$apps2","allLabels","filteredObj","_allLabels$selectedTa","filteredArray","app_name","filterTabsWithSnippets","DocumentDetails","docs","UserListing","_data$groups","_data$applications2","_data$sensitiveRespon","sensitiveResponse","anamolous","sensitive_data_responses","sensitive_data_prompts","SpectrumGraph","bar","segment","UserInfo","_userDetails$applicat","_userDetails$applicat2","_userDetails$retrieva","userDetails","setUserDetails","userRetrievalFindings","setUserRetrievalFindings","userRetrievals","userIcon","userContent","retrievalDetails","retrievalContent","groupContent","fetchUserInfoDetails","retrieval_findings","AccountBoxIcon","RefreshIcon","LangchainApp","retrieval","UserPromptsCard","_prompt$prompt","onSelect","wrapText","selectedChip","chips","time","PromptPolicyDetails","promptDetails","FileChip","gotoLink","ContextDetails","_initialContext$selec","_initialContext$selec2","_initialContext$selec3","initialContext","noOfContexts","selectedContext","setSelectedContext","contextBtn","contextFile","showContextSelector","_","PromptDetailsCard","_promptDetails$prompt","_promptDetails$respon","onCreateTicket","header","UserRetrievals","userPrompts","setUserPrompts","filteredPrompts","setFilteredPrompts","selectedPrompt","setSelectedPrompt","selectedAppFilter","setSelectedAppFilter","labelKey","purple","total_retrievals","promptsPanel","prompts","promptList","fetchUserRetrievals","getKeyFromObject","getLabels","labelChips","findLabelsWithin","retrievedLabels","keyItem","_userPrompts$selected","filteredPrompt","_userPrompts$tab$valu","UserDetails","ScrollToTop","App","loggendIn","infoModal","checkAccounts","getElementsByTagName","contentParent","routesContainer","widthFull","Router","Switch","NewHeader","Route","DataStore","UsersListing","DocumentListing","DataStoreDetails","Vulnerabilities","VulnerabilitiesDetails","ToastContainer","autoClose","hideProgressBar","newestOnTop","closeOnClick","rtl","pauseOnFocusLoss","draggable","pauseOnHover","getAllPromptsSummary","getMessageDetails","addDescriptionForFramework","llmSlice","messageDetails","frameworks","store","configureStore","reducer","accountReducer","integrationReducer","assetReducer","globalOperationReducer","reportsReducer","dashboardReducer","dataStoreReducer","issueReducer","ticketReducer","policyReducer","llmReducer","dataLoaderReducer","appReducer","primaryPalette","lightBlue","indigo","lavender","dataVisualisationPalette","purpleStroke","redStroke","yellowRed","mistyMoss","lightPalette","mode","darkPalette","ThemeObject","light","createTheme","dark","ReactDOM","GoogleOAuthProvider","clientId","StrictMode"],"mappings":"22gPAYO,SAASA,EAAsBC,GACpC,OAAOA,EAASA,EAAOC,OAAO,GAAGC,cAAgBF,EAAOG,MAAM,GAAK,GACrE,CAEO,IAAMC,EAAkB,SAACC,GAE9B,IAGIC,EAAOC,KAAKC,OAAO,GAAKH,GAAKI,OAAS,GAGtCC,EAAOC,YACA,GAARL,EAAYD,EAAME,KAAKK,IAAI,IAAMN,GAAQD,GAAKQ,YAAY,IAQ7D,OALIH,EAAO,GAAK,IACdA,EAAOA,EAAKI,QAAQ,IAIfJ,EAfC,CAAC,GAAI,IAAK,IAAK,IAAK,KAeZJ,EAClB,EAEaS,EAAc,SAACC,GAC1B,MAAgC,OAAzBC,KAAKC,UAAUF,EACxB,ECaO,SAASG,IACd,OAAOC,aAAaC,QAAQ,WAAa,EAC3C,CAMO,SAASC,IACd,OAAOF,aAAaC,QAAQ,kBAAoB,EAClD,CAEO,SAASE,IACd,OAAOH,aAAaC,QAAQ,gBAAkB,EAChD,CAEO,SAASG,IACd,OAAOJ,aAAaC,QAAQ,cAAgB,EAC9C,CAEO,SAASI,IACd,OAAOL,aAAaC,QAAQ,oBAAsB,EACpD,CAEO,SAASK,IACd,OAAON,aAAaC,QAAQ,iBAAmB,EACjD,CAEO,SAASM,IACd,OAAOP,aAAaC,QAAQ,eAAiB,EAC/C,CAUO,SAASO,EAAaC,GAC3B,IAAIC,EAAO,IAAIC,KACfD,EAAKE,WAAWF,EAAKG,aAAe,KACpCb,aAAac,QAAQ,kBAAmBJ,EAAKK,WAC7Cf,aAAac,QAAQ,YAAaL,EACpC,CASO,SAASO,IACd,OAAOnB,KAAKoB,MAAMC,eAAejB,QAAQ,0BAC3C,CASO,SAASkB,IACd,OAAOtB,KAAKoB,MAAMC,eAAejB,QAAQ,uBAC3C,CClHA,IAIamB,EAAcC,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,YACE,qNAIR,CACEoK,MAAO,SACP5b,KAAM,CACJ,CACEouB,MAAM,EACNxS,MAAO,oBACPpK,YACE,wRAEJ,CACE4c,MAAM,EACNxS,MAAO,gCACPpK,YAAa,QAEf,CACE4c,MAAM,EACNxS,MAAO,8BACPpK,YACE,qNAIR,CACEoK,MAAO,cACP5b,KAAM,CACJ,CACEouB,MAAM,EACNxS,MAAO,gCACPpK,YAAa,SAInB,CACEoK,MAAO,aACP5b,KAAM,CACJ,CACEouB,MAAM,EACNxS,MAAO,sBACPpK,YACE,kNAEJ,CACE4c,MAAM,EACNxS,MAAO,sDACPpK,YAAa,8BACby5G,OAAQ,CACNC,SAAU,KACVzU,KAAM,CACJ,kBACA,aACA,YACA,kBACA,eACA,cACA,6BACA,wBACA,yBACA,4BACA,0BACA,0BACA,gBACA,oBACA,uBACA,iBAIN,CACEroF,MAAM,EACNxS,MAAO,wBACPpK,YAAY,GACVy5G,OAAQ,CACRC,SAAU,KACVzU,KAAM,CACJ,2IACA,mHAIN,CACEroF,MAAM,EACNxS,MAAO,qCAIb,CACEA,MAAO,gBACP5b,KAAM,CACJ,CACEouB,MAAM,EACNxS,MAAO,yBACPpK,YAAa,GACby5G,OAAQ,CACNC,SAAU,KACVzU,KAAM,CACJ,ueACA,qVACA,0QAIN,CACEroF,MAAM,EACNxS,MAAO,2BACPpK,YAAa,WAEf,CACE4c,MAAM,EACNxS,MAAO,uEACPpK,YAAa,GACby5G,OAAQ,CACNC,SAAU,KACVzU,KAAM,CACJ,SACA,cAIN,CACEroF,MAAM,EACNxS,MAAO,yFACPpK,YACE,yXACFy5G,OAAQ,CACNC,SAAU,KACVzU,KAAM,CACJ,+IACA,gFACA,gLACA,kPACA,gKAMV,CACE76F,MAAO,WACP5b,KAAM,CACJ,CACEouB,MAAM,EACNxS,MAAO,4BACPpK,YACE,sHACFy5G,OAAQ,CACNC,SAAU,KACVzU,KAAM,CACJ,uCACA,wCACA,+DACA,kFACA,mDACA,uDACA,oCACA,0EACA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efghijklmnopqrstuvwxyz0123456789\";\nexport const generateRandomString = (length) => {\n  let result = \" \";\n  const charactersLength = characters.length;\n  for (let i = 0; i < length; i++) {\n    result += characters.charAt(Math.floor(Math.random() * charactersLength));\n  }\n\n  return result;\n};\n\nexport function capitalizeFirstLetter(string) {\n  return string ? string.charAt(0).toUpperCase() + string.slice(1) : \"-\";\n}\n\nexport const numberFormatter = (val) => {\n  // thousands, millions, billions etc..\n  var s = [\"\", \"k\", \"m\", \"b\", \"t\"];\n\n  // dividing the value by 3.\n  var sNum = Math.floor((\"\" + val).length / 3);\n\n  // calculating the precised value.\n  var sVal = parseFloat(\n    (sNum != 0 ? val / Math.pow(1000, sNum) : val).toPrecision(2)\n  );\n\n  if (sVal % 1 != 0) {\n    sVal = sVal.toFixed(1);\n  }\n\n  // appending the letter to precised val.\n  return sVal + s[sNum];\n};\n\nexport const isJsonEmpty = (data) => {\n  return JSON.stringify(data) === \"{}\";\n};\n","import { useDispatch } from \"react-redux\";\nimport { capitalizeFirstLetter } from \"./utils\";\n\n/**\n * Sets the current session context for the application.\n * @param data\n */\nexport function setContext(res) {\n  // localStorage.setItem(\"authToken\", true);\n  // if (data?.userInfo) {\n  //   localStorage.setItem(\"userFirstName\", data?.userInfo?.first_name || \"\");\n  //   localStorage.setItem(\"userLastName\", data?.userInfo?.last_name || \"\");\n  //   localStorage.setItem(\"userId\", data?.userInfo?._id || \"\");\n  // }\n  // localStorage.setItem(\"isLoggedIn\", true);\n  const token = res?.token;\n  const userInfo = token?.userInfo;\n  const username = userInfo?.username;\n  const customer = token.customer;\n  const idToken = token?.idToken;\n  const refreshToken = token?.refreshToken;\n  const jwtToken = idToken?.jwtToken;\n  const role = userInfo?.role;\n\n  setAuthToken(jwtToken);\n  localStorage.setItem(\"refreshToken\", refreshToken?.token);\n  localStorage.setItem(\"username\", username);\n\n  localStorage.setItem(\"first_name\", userInfo.first_name);\n  localStorage.setItem(\"last_name\", userInfo.last_name);\n  localStorage.setItem(\"last_name\", userInfo.username);\n\n  localStorage.setItem(\"customerRef\", customer._id);\n  localStorage.setItem(\"userId\", userInfo?._id || \"\");\n  localStorage.setItem(\"id\", userInfo?.id);\n  localStorage.setItem(\"customer_name\", customer?.name);\n  localStorage.setItem(\"customerId\", customer?.id);\n  localStorage.setItem(\"role\", role);\n  localStorage.setItem(\"showShadowAI\", true);\n  localStorage.setItem(\"accountType\", customer?.securityType);\n}\n\n/**\n * Removes the current session context of the application.\n * @param url\n */\nexport function removeContext() {\n  localStorage.clear();\n  sessionStorage.clear();\n}\n\nexport function getUserId() {\n  return localStorage.getItem(\"userId\") || \"\";\n}\n\nexport function getUserName() {\n  return localStorage.getItem(\"username\") || \"\";\n}\n\nexport function getCustomerName() {\n  return localStorage.getItem(\"customer_name\") || \"\";\n}\n\nexport function getCustomerRef() {\n  return localStorage.getItem(\"customerRef\") || \"\";\n}\n\nexport function getAuthToken() {\n  return localStorage.getItem(\"authToken\") || \"\";\n}\n\nexport function getAuthTokenExpiry() {\n  return localStorage.getItem(\"authTokenExpiry\") || \"\";\n}\n\nexport function getRefreshToken() {\n  return localStorage.getItem(\"refreshToken\") || \"\";\n}\n\nexport function getCustomerId() {\n  return localStorage.getItem(\"customerId\") || \"\";\n}\n\nexport function getID() {\n  return localStorage.getItem(\"id\") || \"\";\n}\n\nexport function getCustomerAccountType() {\n  return localStorage.getItem(\"accountType\");\n}\n\nexport function setAuthToken(authToken) {\n  let date = new Date();\n  date.setMinutes(date.getMinutes() + 119);\n  localStorage.setItem(\"authTokenExpiry\", date.getTime());\n  localStorage.setItem(\"authToken\", authToken);\n}\n\nexport function setSelectedDatastoreAccount(selectedAccount) {\n  return sessionStorage.setItem(\n    \"datastoreAccountFilter\",\n    JSON.stringify(selectedAccount)\n  );\n}\n\nexport function getSelectedDatastoreAccount() {\n  return JSON.parse(sessionStorage.getItem(\"datastoreAccountFilter\"));\n}\n\nexport function setSelectedIssuesAccount(selectedAccount) {\n  return sessionStorage.setItem(\n    \"issuesAccountFilter\",\n    JSON.stringify(selectedAccount)\n  );\n}\n\nexport function getSelectedIssuesAccount() {\n  return JSON.parse(sessionStorage.getItem(\"issuesAccountFilter\"));\n}\n\nexport function setSelectedDataFlow(selectedDataFlow) {\n  return sessionStorage.setItem(\n    \"selectedDataFlow\",\n    JSON.stringify(selectedDataFlow)\n  );\n}\n\nexport function getSelectedDataFlow() {\n  return JSON.parse(sessionStorage.getItem(\"selectedDataFlow\"));\n}\n\nexport function removeSelectedDataFlow() {\n  return sessionStorage.removeItem(\"selectedDataFlow\");\n}\n","// Create a .env file and keep env variables there\n\n// const LOCAL_IP = \"https://everest.dev.cnox.io\";\n\nconst EVEREST_DEV_URL = \"https://everest-dev.k8stest.smartorbis.com\";\n// const DENAL_DEV_URL = \"https://denali.dev.cnox.io\";\nconst DENAL_DEV_URL = \"https://denali-dev.k8stest.smartorbis.com\";\n\nexport const EVEREST_URL = process.env.REACT_APP_EVEREST_URL || EVEREST_DEV_URL;\nexport const DENATLI_URL = process.env.REACT_APP_DENATLI_URL || DENAL_DEV_URL;\nexport const EULA_URL = process.env.REACT_APP_EULA_URL || \"#\";\nexport const TIMEOUT_IN_MILLISECONDS =\n  process.env.REACT_APP_TIMEOUT_IN_MILLISECONDS || 1800000;\nexport const REACT_APP_DATASTORE_API =\n  process.env.REACT_APP_DATASTORE_API || \"MONGODB\";\nexport const REACT_APP_SECURITYISSUES_API =\n  process.env.REACT_APP_SECURITYISSUES_API || \"MONGODB\";\nexport const REACT_APP_ASSETS_API =\n  process.env.REACT_APP_ASSETS_API || \"MONGODB\";\nexport const REACT_APP_ISSUES_DETAILS_PAGE =\n  process.env.REACT_APP_ISSUES_DETAILS_PAGE || \"SEPARATED\";\nexport const REACT_APP_SHOW_WIZ_INTEGRATION = \"NO\";\n\nexport const ACCOUNT_TYPES = {\n  AWS: \"aws\",\n  GCP: \"gcp\",\n  AZURE: \"azure\",\n  ORACLE_CLOUD: \"oracleCloud\",\n};\n\nexport const FREQUENCY = {\n  DEFAULT: \"30m\",\n  CUSTOM: {\n    FRQ_12_HR: \"12hr\",\n    FRQ_24_HR: \"24hr\",\n    FRQ_2_DAYS: \"2d\",\n    FRQ_5_DAYS: \"5d\",\n  },\n};\n\nexport const LOADER_CONFIG = {\n  type: \"ball-grid-pulse\",\n  color: \"#6c83bb\",\n};\n\n// Wizard steps\nexport const WIZARD_STEPS = {\n  SELECT_ACCOUNT: 1,\n  ACCOUNT_DETAILS: 2,\n  VERIFICATION_ERROR: 3,\n};\n\n// Wizard steps\nexport const REPORT_WIZARD_STEPS = {\n  REPORT_DETAILS: 1,\n  SELECT_CHAPTERS: 2,\n  SCHEDULE_REPORT: 3,\n};\n\nexport const DATASTORE_TYPES = {\n  SHADOW: \"shadow\",\n  MANAGED: \"managed\",\n  SELF_MANAGED: \"self-managed\",\n};\n\nexport const COLOR_PALETTE = {\n  textInfo: \"#17a2b8\",\n  textWarning: \"#ffc107\",\n  textDanger: \"#dc3545\",\n  buttonDark: \"#191c2e\",\n};\n","import * as constants from \"./Constants\";\n\nconst FormatUrl = (url) => {\n  const api_url = constants.EVEREST_URL;\n  return api_url + url;\n};\n\nexport const BaseURL = () => {\n  return constants.EVEREST_URL;\n};\nexport default FormatUrl;\n","import axios from \"axios\";\nimport * as sessionHandler from \"./SessionHelper\";\nimport * as urlFormatter from \"./UrlFormatter\";\nimport { DENATLI_URL } from \"./Constants\";\n/**\n * We are using get for GET method, save for POST method, update for PUT method, remove for DELETE method.\n * As delete is keyword we are using method name as remove.\n */\nexport const axiosPublic = axios.create({\n  baseURL: urlFormatter.BaseURL(),\n});\nexport const axiosPrivate = axios.create({\n  baseURL: urlFormatter.BaseURL(),\n});\nexport const axiosDenaliPrivate = axios.create({\n  baseURL: DENATLI_URL,\n});\n\nexport const axiosAILabDenaliPrivate = axios.create({\n  baseURL: \"https://denali-ailab.dev2.cnox.io/\",\n});\n\n// Interceptor to to check if token is expired.\naxiosPrivate.interceptors.request.use(\n  async (config) => {\n    let currentDate = new Date();\n    let authTokenExpiry = sessionHandler.getAuthTokenExpiry();\n    let customerId = sessionHandler.getCustomerId();\n    // Checking the token expiry\n    if (currentDate.getTime() < authTokenExpiry) {\n      if (config?.headers) {\n        config.headers[\"Authorization\"] = sessionHandler.getAuthToken();\n        config.headers[\"clouddefense-customer-id\"] = customerId;\n      }\n    } else {\n      // Getting the new access token\n      let response = await axiosPublic.post(\"user/getTokenFromRefreshToken\", {\n        refreshToken: sessionHandler.getRefreshToken(),\n      });\n      if (response && response.data && response.data.data) {\n        sessionHandler.setAuthToken(response?.data?.data?.IdToken);\n        if (config?.headers) {\n          config.headers[\"Authorization\"] = sessionHandler.getAuthToken();\n          config.headers[\"clouddefense-customer-id\"] = customerId;\n        }\n      }\n    }\n    return config;\n  },\n  (error) => {\n    return Promise.reject(error);\n  }\n);\naxiosPrivate.interceptors.response.use(\n  (response) => {\n    return response;\n  },\n  (error) => {\n    if (error?.response?.status === 401) {\n      handleError();\n    }\n    return Promise.reject(error);\n  }\n);\n\n// Interceptor to to check if token is expired.\naxiosDenaliPrivate.interceptors.request.use(\n  async (config) => {\n    let currentDate = new Date();\n    let authTokenExpiry = sessionHandler.getAuthTokenExpiry();\n    let customerId = sessionHandler.getCustomerId();\n    // Checking the token expiry\n    if (currentDate.getTime() < authTokenExpiry) {\n      if (config?.headers) {\n        config.headers[\"Authorization\"] =\n          \"Bearer \" + sessionHandler.getAuthToken();\n        config.headers[\"clouddefense-customer-id\"] = customerId;\n      }\n    } else {\n      // Getting the new access token\n      let response = await axiosPublic.post(\"user/getTokenFromRefreshToken\", {\n        refreshToken: sessionHandler.getRefreshToken(),\n      });\n      if (response && response.data && response.data.data) {\n        sessionHandler.setAuthToken(response?.data?.data?.IdToken);\n        if (config?.headers) {\n          config.headers[\"Authorization\"] =\n            \"Bearer \" + sessionHandler.getAuthToken();\n          config.headers[\"clouddefense-customer-id\"] = customerId;\n        }\n      }\n    }\n    return config;\n  },\n  (error) => {\n    return Promise.reject(error);\n  }\n);\naxiosDenaliPrivate.interceptors.response.use(\n  (response) => {\n    return response;\n  },\n  (error) => {\n    if (error?.response?.status === 401) {\n      handleError();\n    }\n    return Promise.reject(error);\n  }\n);\n\n// Interceptor to to check if token is expired.\naxiosAILabDenaliPrivate.interceptors.request.use(\n  async (config) => {\n    let currentDate = new Date();\n    let authTokenExpiry = sessionHandler.getAuthTokenExpiry();\n    let customerId = sessionHandler.getCustomerId();\n    // Checking the token expiry\n    if (currentDate.getTime() < authTokenExpiry) {\n      if (config?.headers) {\n        config.headers[\"Authorization\"] =\n          \"Bearer \" + sessionHandler.getAuthToken();\n        config.headers[\"clouddefense-customer-id\"] = customerId;\n      }\n    } else {\n      // Getting the new access token\n      let response = await axiosPublic.post(\"user/getTokenFromRefreshToken\", {\n        refreshToken: sessionHandler.getRefreshToken(),\n      });\n      if (response && response.data && response.data.data) {\n        sessionHandler.setAuthToken(response?.data?.data?.IdToken);\n        if (config?.headers) {\n          config.headers[\"Authorization\"] =\n            \"Bearer \" + sessionHandler.getAuthToken();\n          config.headers[\"clouddefense-customer-id\"] = customerId;\n        }\n      }\n    }\n    return config;\n  },\n  (error) => {\n    return Promise.reject(error);\n  }\n);\naxiosAILabDenaliPrivate.interceptors.response.use(\n  (response) => {\n    return response;\n  },\n  (error) => {\n    if (error?.response?.status === 401) {\n      handleError();\n    }\n    return Promise.reject(error);\n  }\n);\nvar handleError = function () {\n  localStorage.clear();\n  window.location.href = \"/\";\n};\n","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgTrash(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 20,\n    viewBox: \"0 0 20 20\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M4.45837 5.56157C6.02798 5.40344 7.61153 5.31812 9.19676 5.31812C11.8478 5.31812 14.511 5.45127 17.1503 5.71762C17.5624 5.75921 17.8628 6.12701 17.8212 6.53913C17.7796 6.95125 17.4118 7.25163 16.9997 7.21004C14.4108 6.94877 11.7978 6.81812 9.19676 6.81812C7.66474 6.81812 6.13103 6.90061 4.60737 7.05416L4.60459 7.05444L2.99777 7.21032C2.58549 7.25032 2.21885 6.94853 2.17885 6.53625C2.13885 6.12397 2.44064 5.75733 2.85292 5.71733L4.45837 5.56157Z\",\n    fill: \"#9C9EA6\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M8.24622 4.33606C8.21573 4.43892 8.19407 4.56427 8.16247 4.76021L7.99442 5.79253C7.92787 6.20137 7.54249 6.47884 7.13366 6.41228C6.72483 6.34573 6.44735 5.96035 6.51391 5.55152L6.68161 4.52136C6.68158 4.52153 6.68164 4.52118 6.68161 4.52136C6.6845 4.50342 6.68754 4.48413 6.69062 4.46462C6.74142 4.14235 6.8244 3.61594 7.17776 3.21356C7.59559 2.73779 8.22335 2.58374 8.9689 2.58374H11.0314C11.7858 2.58374 12.411 2.74794 12.8256 3.22612C13.1733 3.62711 13.2577 4.14669 13.3085 4.45918C13.3118 4.47952 13.315 4.49899 13.3181 4.51748L13.3183 4.51889L13.4862 5.53816C13.5535 5.94686 13.2767 6.33276 12.868 6.40007C12.4593 6.46739 12.0734 6.19064 12.0061 5.78193L11.8385 4.76408C11.8384 4.76385 11.8385 4.76431 11.8385 4.76408C11.8067 4.57349 11.7851 4.45023 11.7545 4.34759C11.7264 4.25337 11.7023 4.22032 11.6923 4.20879C11.6871 4.20272 11.6643 4.17635 11.5796 4.14796C11.4831 4.11565 11.3143 4.08374 11.0314 4.08374H8.9689C8.68345 4.08374 8.51271 4.11468 8.41464 4.1466C8.32963 4.17426 8.30837 4.19923 8.3051 4.20306C8.305 4.20318 8.30517 4.20298 8.3051 4.20306C8.29768 4.21151 8.27415 4.24184 8.24622 4.33606Z\",\n    fill: \"#9C9EA6\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M10.7229 10.3045C10.7534 10.2017 10.7751 10.0763 10.8067 9.88037C10.8726 9.47144 11.2576 9.1934 11.6665 9.25936C12.0754 9.32531 12.3535 9.71029 12.2875 10.1192C12.2846 10.1373 12.2816 10.1563 12.2785 10.176C12.2277 10.4982 12.1447 11.0246 11.7914 11.427C11.3736 11.9028 10.7458 12.0568 10.0003 12.0568C9.24585 12.0568 8.62063 11.8926 8.20601 11.4144C7.85832 11.0135 7.77391 10.4939 7.72315 10.1814C7.71984 10.161 7.71668 10.1416 7.7136 10.1231C7.6455 9.71451 7.92152 9.32809 8.33009 9.25999C8.73867 9.1919 9.12509 9.46791 9.19319 9.87649C9.22502 10.0675 9.24647 10.1902 9.27716 10.293C9.30529 10.3872 9.32931 10.4203 9.33931 10.4318C9.33921 10.4317 9.33939 10.4319 9.33931 10.4318C9.34455 10.4379 9.36731 10.4642 9.45207 10.4926C9.54857 10.5249 9.71739 10.5568 10.0003 10.5568C10.2857 10.5568 10.4564 10.5259 10.5545 10.494C10.6395 10.4663 10.6608 10.4414 10.664 10.4375C10.664 10.4376 10.6641 10.4374 10.664 10.4375C10.6714 10.4291 10.695 10.3987 10.7229 10.3045Z\",\n    fill: \"#9C9EA6\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M4.55539 5.81015C4.96873 5.78322 5.32564 6.09647 5.35257 6.50981L5.86804 14.4219C5.86806 14.4223 5.86809 14.4226 5.86811 14.423C5.8898 14.742 5.90776 14.9826 5.9492 15.1893C5.98914 15.3886 6.04163 15.5025 6.09829 15.5763C6.18484 15.689 6.44825 15.9172 7.47006 15.9172H12.5184C13.5402 15.9172 13.8036 15.689 13.8901 15.5763C13.9468 15.5025 13.9993 15.3886 14.0392 15.1893C14.0807 14.9826 14.0986 14.742 14.1203 14.423C14.1203 14.4226 14.1203 14.4223 14.1204 14.4219L14.6359 6.50981C14.6628 6.09647 15.0197 5.78322 15.433 5.81015C15.8464 5.83708 16.1596 6.19399 16.1327 6.60733L15.6171 14.5215L15.6169 14.5236L15.6159 14.5388C15.5959 14.8331 15.5731 15.1692 15.51 15.4841C15.4442 15.812 15.3259 16.1695 15.0797 16.49C14.5607 17.1657 13.691 17.4172 12.5184 17.4172H7.47006C6.29747 17.4172 5.4277 17.1657 4.90869 16.49C4.66257 16.1695 4.54418 15.812 4.47845 15.4841C4.41534 15.1692 4.39252 14.8331 4.37252 14.5388L4.37149 14.5236L4.37135 14.5215L3.85574 6.60733C3.82881 6.19399 4.14206 5.83708 4.55539 5.81015Z\",\n    fill: \"#9C9EA6\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTrash);\nexport default __webpack_public_path__ + \"static/media/trash.e12efc54.svg\";\nexport { ForwardRef as ReactComponent };","import { axiosDenaliPrivate, axiosPrivate } from \"../../utils/ApiHandler\";\nimport { getCustomerId, getCustomerRef } from \"../../utils/SessionHelper\";\n\n/**\n * Provides the list of all accounts.\n * @returns -- Accounts list\n */\nexport const fetchAccounts = () => {\n  return axiosPrivate.get(\n    `/cloudAccount/getCloudAccountForSpecificUser/${getCustomerId()}`\n  );\n};\n\n/**\n * Provides the list of all accounts.\n * @returns -- Accounts list\n */\n\nexport const fetchAccountStatus = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/accounts/status`, params);\n};\n\n/**\n * Verify the selected account.\n * @param {object} params -- payload params.\n * @returns\n */\nexport const verifyAccount = (params) => {\n  return axiosPrivate.post(\n    `/cloudAccount/cloudAccount/verifyCloudAccount`,\n    params\n  );\n};\n\n/**\n * Provides the url for the stack details.\n * @returns The url for the stack.\n */\nexport const launchStack = (params) => {\n  return axiosPrivate.post(`/cloudAccount/cloudAccount/launchStack`, params);\n};\n\nexport const launchStackV2 = (params) => {\n  return axiosPrivate.post(`/cloudAccount/launchStack_v2`, params);\n};\n\n/**\n * Add the accounts with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const addAccount = (params) => {\n  return axiosPrivate.post(`/cloudAccount/cloudAccount_v2`, params);\n};\n\n/**\n * update the account with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const updateStack = (params) => {\n  return axiosPrivate.post(`/cloudAccount/cloudAccount/updateStack`, params);\n};\n\n/**\n * Provides the list of all accounts.\n * @returns -- Accounts list\n */\nexport const generateExternalId = () => {\n  return axiosPrivate.get(`/cloudAccount/generateExternalId`);\n};\n\n/**\n * Provides the list of all accounts.\n * @returns -- Accounts list\n */\nexport const getRegionList = () => {\n  return axiosPrivate.post(`/cloudAccount/cloudAccount/regionListing`);\n};\n\n/**\n * Delete the account with the specified account Id.\n * @param {object} accountId -- account Id to be deleted\n */\nexport const deleteAccount = (accountId) => {\n  return axiosPrivate.delete(`/cloudAccount/cloudAccount/${accountId}`);\n};\n\n/**\n *  Provides the url for the delete stack details.\n * @param {object} params -- payload params\n */\nexport const deleteStack = (params) => {\n  return axiosPrivate.post(`/cloudAccount/cloudAccount/deleteStack`, params);\n};\n\n/**\n * Verify delete stack for the selected account.\n * @param {object} params -- payload params.\n * @returns\n */\nexport const verifyDeleteStack = (params) => {\n  return axiosPrivate.post(\n    `/cloudAccount/cloudAccount/verifyDeleteStack`,\n    params\n  );\n};\n\n/**\n * Verify delete stack for the selected account.\n * @param {object} params -- payload params.\n * @returns\n */\nexport const verifyUpdateStack = (params) => {\n  return axiosPrivate.post(`/cloudAccount/verifyUpdateStack`, params);\n};\n\n/**\n * Verify delete stack for the selected account.\n * @param {object} params -- payload params.\n * @returns\n */\nexport const verifyLaunchStack = (params) => {\n  return axiosPrivate.post(`/cloudAccount/verifyLaunchStack`, params);\n};\n\n/**\n * Verify delete stack for the selected account.\n * @param {object} params -- payload params.\n * @returns\n */\nexport const revertUpdateStack = (params) => {\n  return axiosPrivate.post(`/cloudAccount/revertUpdateStack`, params);\n};\n\n/**\n * Verify delete stack for the selected account.\n * @param {object} params -- payload params.\n * @returns\n */\nexport const verifyLaunchStackStaus = (params) => {\n  return axiosPrivate.post(`/cloudAccount/launchStack_v2`, params);\n};\n\n/**\n * provide the account status.\n * @param {object} params -- payload params.\n * @returns\n */\nexport const fetchAccountScanningStatus = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/account/get`, params);\n};\n\n/**\n * create a new account\n * @param {object} params -- payload params.\n * @returns\n */\nexport const createAccount = (params) => {\n  return axiosPrivate.post(\"/cloudAccount/cloudAccount_v2\", params);\n};\n\n/**\n * update account\n * @param {object} params -- payload params.\n * @returns\n */\nexport const updateAccount = (params) => {\n  return axiosPrivate.patch(`/cloudAccount/cloudAccount/${params.id}`, params);\n};\n\n/**\n * Provides the list of all users.\n * @returns -- Users list\n */\nexport const fetchAllUsers = () => {\n  return axiosPrivate.get(\n    `/user/listUserUnderSameCustomer/${getCustomerRef()}`\n  );\n};\n\nexport const deleteUser = (id) => {\n  return axiosPrivate.delete(`/user/user/${id}`);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\n\nimport {\n  fetchAccounts,\n  launchStack,\n  verifyAccount,\n  addAccount,\n  generateExternalId,\n  deleteAccount,\n  getRegionList,\n  deleteStack,\n  updateStack,\n  verifyDeleteStack,\n  fetchAccountScanningStatus,\n  launchStackV2,\n  verifyLaunchStack,\n  fetchAccountStatus,\n  verifyLaunchStackStaus,\n  verifyUpdateStack,\n  revertUpdateStack,\n  createAccount,\n  updateAccount,\n  fetchAllUsers,\n  deleteUser,\n} from \"../apis/accountAPI\";\n\nconst initialState = {\n  accounts: [],\n  accountAvailable: null,\n  users: [],\n};\n\n// Async calls.\nexport const listAccountsAsync = createAsyncThunk(\"account/list\", async () => {\n  const response = await fetchAccounts();\n  return response.data;\n});\n\nexport const getAccountStatus = createAsyncThunk(\n  \"account/status\",\n  async (params) => {\n    const response = await fetchAccountStatus(params);\n    return response.data;\n  }\n);\n\nexport const verifyAccountAsync = createAsyncThunk(\n  \"account/verifyAccount\",\n  async (params) => {\n    try {\n      const response = await verifyAccount(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const launchStackAsync = createAsyncThunk(\n  \"account/launchStack\",\n  async (params) => {\n    try {\n      const response = await launchStack(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const launchStackV2Async = createAsyncThunk(\n  \"account/launchStack_v2\",\n  async (params) => {\n    try {\n      const response = await launchStackV2(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const createAccountAsync = createAsyncThunk(\n  \"account/createAccount\",\n  async (params) => {\n    try {\n      const response = await createAccount(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const addAccountAsync = createAsyncThunk(\n  \"account/addAccount\",\n  async (params) => {\n    try {\n      const response = await addAccount(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\nexport const generateExternalIdAsync = createAsyncThunk(\n  \"account/generateExternalId'\",\n  async () => {\n    const response = await generateExternalId();\n    return response.data;\n  }\n);\n\nexport const getRegionListAsync = createAsyncThunk(\n  \"account/regionListing'\",\n  async () => {\n    const response = await getRegionList();\n    return response.data;\n  }\n);\n\nexport const deleteAccountAsync = createAsyncThunk(\n  \"account/deleteAccount\",\n  async (params) => {\n    try {\n      const response = await deleteAccount(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const deleteStackAsync = createAsyncThunk(\n  \"account/deleteStack\",\n  async (params) => {\n    try {\n      const response = await deleteStack(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const updateAccountGCPAsync = createAsyncThunk(\n  \"account/updateGCPAccount\",\n  async (params) => {\n    try {\n      const response = await updateAccount(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const updateAccountAsync = createAsyncThunk(\n  \"account/deleteAccount\",\n  async (params) => {\n    try {\n      const response = await deleteAccount(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const updateStackAsync = createAsyncThunk(\n  \"account/updateStack\",\n  async (params) => {\n    try {\n      const response = await updateStack(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const verifyUpdateStackAsync = createAsyncThunk(\n  \"account/verifyUpdateStack\",\n  async (params) => {\n    const response = await verifyUpdateStack(params);\n    return response.data;\n  }\n);\n\nexport const revertUpdateStackAsync = createAsyncThunk(\n  \"account/revertUpdateStack\",\n  async (params) => {\n    const response = await revertUpdateStack(params);\n    return response.data;\n  }\n);\n\nexport const verifyDeleteStackAsync = createAsyncThunk(\n  \"account/verifyDeleteStack\",\n  async (params) => {\n    const response = await verifyDeleteStack(params);\n    return response.data;\n  }\n);\n\nexport const verifyLaunchStackAsync = createAsyncThunk(\n  \"account/verifyLaunchStack\",\n  async (params) => {\n    const response = await verifyLaunchStack(params);\n    return response.data;\n  }\n);\n\nexport const verifyLaunchStackStatusAsync = createAsyncThunk(\n  \"account/verifyLaunchStackStatus\",\n  async (params) => {\n    const response = await verifyLaunchStackStaus(params);\n    return response.data;\n  }\n);\n\nexport const accountScanningStatus = createAsyncThunk(\n  \"account/accountScanningStatus\",\n  async (params) => {\n    const response = await fetchAccountScanningStatus(params);\n    return response.data;\n  }\n);\n\nexport const fetchAllUsersSlice = createAsyncThunk(\n  \"account/users\",\n  async () => {\n    const response = await fetchAllUsers();\n    return response.data;\n  }\n);\n\nexport const deleteUserSlice = createAsyncThunk(\n  \"user/delete\",\n  async (params) => {\n    const response = await deleteUser(params);\n    return response.data;\n  }\n);\n\n// Account slice for configuring reducers and actions.\nexport const accountSlice = createSlice({\n  name: \"account\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(listAccountsAsync.fulfilled, (state, action) => {\n        state.accounts = action.payload;\n        state.accountAvailable = action?.payload?.length > 0;\n        // state.accounts = [];\n        // state.accountAvailable = false;\n      })\n      .addCase(listAccountsAsync.rejected, (state, action) => {\n        state.accounts = [];\n        state.accountAvailable = false;\n      });\n  },\n});\n\nexport default accountSlice.reducer;\n\n// Selectors will go here\nexport const accountById = (state, accountId) =>\n  state.accounts.find((account) => account.id === accountId);\n","import {\n  axiosDenaliPrivate,\n  axiosPrivate,\n  axiosAILabDenaliPrivate,\n} from \"../../utils/ApiHandler\";\n\n/**\n * Provides the list of all datastore stats.\n * @returns -- list of all datastore stats.\n */\nexport const fetchDatastoreStats = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/datastorestats`, params);\n};\n\n/**\n * Provides the list of all datastore stats.\n * @returns -- list of all datastore stats.\n */\nexport const fetchIssueUberScore = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/issues/uberscore/get`, params);\n};\n\n/**\n * Provides the list of all issues stats.\n * @returns -- list of all issues stats.\n */\nexport const fetchIssuesStats = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/issues/stats`, params);\n};\n\n/**\n * Provides the list of all assets stats.\n * @returns -- list of all assets stats.\n */\nexport const fetchAssetsStats = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/asset/stats`, params);\n};\n\n/**\n * Provides the list of all identities stats.\n * @returns -- list of all identities stats.\n */\nexport const fetchIdentitiesStats = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/identitystats`, params);\n};\n/**\n * Provides data-riskplot result.\n * @returns -- Datariskplot list\n */\nexport const fetchRiskPlot = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/dashboardplot`, params);\n};\n\n/**\n * Provides first account classification and risk complete status.\n * @returns -- Object with the status of classification and risk complete status.\n */\nexport const fetchFirstAccountStatStatus = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/customer/get`, params);\n};\n\n/**\n * @returns -- Object with the status of classification and risk complete status.\n */\nexport const fetchDashboardStats = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/customer/stats/inventory`, params);\n};\n\n/**\n * Provides the list of all data flows.\n * @returns -- list of all data flows.\n */\nexport const fetchDataFlows = (params) => {\n  return axiosDenaliPrivate.post(`/api/v2/datastores/flows`, params);\n};\n\n/**\n * Provides the list of all achievements .\n * @returns -- list of all achievements.\n */\nexport const fetchAchievements = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/customer/achievements`, params);\n};\n\n/**\n * Provides the trends data .\n * @returns -- trends data.\n */\nexport const fetchTrends = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/customer/trends`, params);\n};\n\n/**\n * Provides the list of all data new flows.\n * @returns -- list of all data new flows.\n */\nexport const fetchDataNewFlows = (params) => {\n  return axiosDenaliPrivate.post(`/api/v2/datastores/flows/new`, params);\n};\n\n/**\n * manage dashboard view.\n */\nexport const manageDashboardView = (params) => {\n  return axiosPrivate.post(`/user/manageDashboardView`, params);\n};\n\n/**\n * fetch datastore regions.\n */\nexport const fetchDatastoreRegions = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/customer/datastore/regions`, params);\n};\n\n/**\n * fetch datastore regions.\n */\nexport const fetchAllRegionsData = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/datastore/sensitiveinfo`, params);\n};\n\n/**\n * fetch datastore regions.\n */\nexport const fetchAIRegions = (params) => {\n  return axiosDenaliPrivate.post(`/api/vi/ai/models/regions`, params);\n};\n\n/**\n * fetch datastore regions.\n */\nexport const fetchFrameworkRegions = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/ai/apps/region`, params);\n};\n\n/**\n * fetch cloud issues.\n */\nexport const fetchCloudIssues = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/data/cloudissues`, params);\n};\n\n/**\n * fetch policy violations filters.\n */\nexport const fetchPolicyViolationFilters = (params) => {\n  return axiosDenaliPrivate.post(\n    `/api/v1/data/policyviolations/predefined`,\n    params\n  );\n};\n\n/**\n * fetch policy violations filters for ai dashboard.\n */\nexport const fetcAIPolicyViolationFilters = (params) => {\n  return axiosDenaliPrivate.post(\n    `/api/v1/ai/policyviolations/predefined`,\n    params\n  );\n};\n\n/**\n * fetch policy violations.\n */\nexport const fetchPolicyViolations = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/data/policyviolations`, params);\n};\n\n/**\n * fetch policy violations.\n */\nexport const fetchLLMPolicyViolations = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/ai/policyviolations`, params);\n};\n\n/**\n * fetch llm listing\n */\nexport const fetchLLMListing = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/models\", params);\n};\n\n/**\n * fetch training data\n */\nexport const fetchTrainingData = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/trainingdata\", params);\n};\n\n/**\n * fetch top datasource files data\n */\nexport const fetchDatasourceFiles = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps/docs\", params);\n};\n\n/**\n * fetch training data\n */\nexport const fetchSensitiveData = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/trainingdatastats\", params);\n};\n\n/**\n * fetch framework data\n */\nexport const fetchFrameworksData = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps\", params);\n};\n\n/**\n * fetch framework data\n */\nexport const fetchAITrainingData = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/trainingdsinfo\", params);\n};\n\n/**\n * fetch framework data\n */\n\nexport const fetchFrameworkData = (params) => {\n  return axiosAILabDenaliPrivate.post(\"/api/v1/ai/apps\", params);\n};\n\n/**\n * Fetch Findings Overview data for Dashboard Rings\n * @param {*} customerId\n * @returns\n */\nexport const fetchFindingOverview = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/overview\", params);\n};\n\n/**\n * Fetch findings data for bar chart\n * @param {*} customerId\n * @returns\n */\nexport const fetchFindings = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/findings/\", params);\n};\n\nexport const fetchUserAccessData = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/users/restricted/\", params);\n};\n\nexport const fetchDocAccessData = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/documents/accessed/\", params);\n};\n","export const dataStoreTypes = [\n  {\n    label: \"All\",\n    filter: \"\",\n    value: \"all\",\n  },\n  {\n    label: \"Managed\",\n    filter: \"managed\",\n    value: \"managed\",\n  },\n  {\n    label: \"AI\",\n    filter: \"shadow\",\n    value: \"ai\",\n  },\n  {\n    label: \"Shadow\",\n    filter: \"shadow\",\n    value: \"shadow\",\n  },\n];\n\nexport const aiDataStoreTabs = [\n  {\n    label: \"All LLMs\",\n    filter: \"\",\n    value: \"all\",\n  },\n  {\n    label: \"Deployed\",\n    filter: \"llm-deployed\",\n    value: \"deployed\",\n  },\n  {\n    label: \"Under Finetuning\",\n    filter: \"llm-under-fine-tuning\",\n    value: \"under_fine_tuning\",\n  },\n];\n\nexport const datastoreFilter = [\n  {\n    filter: \"\",\n    value: \"all\",\n  },\n  {\n    filter: \"MANAGED\",\n    value: \"managed\",\n  },\n  {\n    filter: \"SHADOW_AI\",\n    value: \"ai\",\n  },\n  {\n    filter: \"SHADOW\",\n    value: \"shadow\",\n  },\n];\n\nexport const non_SOC = [\n  \"data-residency\",\n  \"encryption\",\n  \"logging\",\n  \"public-access\",\n];\n\nexport const SOCStatusFilters = [\n  {\n    label: \"All\",\n    value: \"all\",\n  },\n  {\n    label: \"Active\",\n    value: \"active\",\n  },\n  {\n    label: \"Notified\",\n    value: \"notified\",\n  },\n  {\n    label: \"Archived\",\n    value: \"archived\",\n  },\n];\n\nexport const NonSOCStatusFilters = [\n  {\n    label: \"All\",\n    value: \"all\",\n  },\n  {\n    label: \"Active\",\n    value: \"active\",\n  },\n  {\n    label: \"Ticketed\",\n    value: \"ticketed\",\n  },\n  {\n    label: \"Resolved\",\n    value: \"resolved\",\n  },\n];\n\nexport const socActionType = \"notify/archive\";\nexport const nonSocActionType = \"ticket/accept\";\n\nexport const langchainData = [\n  {\n    name: \"Langchain 1\",\n    version: \"V0.0284\",\n  },\n];\n\nexport const accountType = {\n  AI: \"Gen-AI Security\",\n  Data: \"Data Security\",\n};\n\nexport const scanTypeAI = \"ai-scan\";\nexport const aiTypeGen = \"Gen-AI\";\nexport const aiTypeLangchain = \"Langchain-AI\";\n\nexport const promptTimestampFilter = [\n  { value: \"week\", label: \"Last 7 Days\" },\n  { value: \"day\", label: \"Last 1 day\" },\n  { value: \"hour\", label: \"Last 1 hour\" },\n];\n\nexport const promptSession = {\n  context: \"sensitiveContextCount\",\n  response: \"sensitiveResponseCount\",\n  prompt: \"sensitivePromptCount\",\n};\n\nexport const entityPolicy = [\"apSensitiveIdentifier\", \"apRestrictedEntities\"];\nexport const topicPolicy = [\"apRestrictedTopic\"];\n\nexport const sensitiveInfoTags = {\n  social_security_numbers: \"SSN\",\n  credit_cards: \"CC\",\n  drivers_licenses: \"DL\",\n  mobile_numbers: \"MN\",\n};\n\nexport const SNIPPET_COUNT_KEY = \"snippet_count\";\n\nexport const APPLICATION_STR = \"application\";\nexport const DATA_LOADER_STR = \"data-loader\";\n\nexport const TagColorMapping = {\n  harmful: \"#FF655B\",\n  valuable: \"#BF87D6\",\n  sensitive: \"#3F466D\",\n};\n\nexport const LabelColorMapping = {\n  Harmful: \"#BF87D6\",\n  \"US Drivers License\": \"#F2B485\",\n  \"us-drivers-license\": \"#F2B485\",\n  \"PII - SSN\": \"#85BDED\",\n  \"us-ssn\": \"#85BDED\",\n  Financial: \"#A76171\",\n  \"PII - CC\": \"#ACCA9F\",\n};\n\nexport const LabelColorsList = [\n  \"#BF87D6\",\n  \"#F2B485\",\n  \"#85BDED\",\n  \"#A76171\",\n  \"#ACCA9F\",\n  \"#F4BEB4\",\n  \"#96DFD8\",\n  \"#816DFF\",\n  \"#AC6AEE\",\n];\n\nexport const MessageTypeColorMapping = {\n  response: \"#F88D50\",\n  prompt: \"#6750A3\",\n};\n\nexport const DefinedLoaders = [\n  \"DirectoryLoader\",\n  \"FileLoader\",\n  \"JSONLoader\",\n  \"CSVLoader\",\n  \"DataFrameLoader\",\n  \"DatavoloLoader\",\n  \"S3FileLoader\",\n  \"S3DirLoader\",\n  \"UnstructuredMarkdownLoader\",\n  \"UnstructuredPDFLoader\",\n  \"UnstructuredFileLoader\",\n  \"UnstructuredAPIFileLoader\",\n  \"UnstructuredExcelLoader\",\n  \"AmazonTextractPDFLoader\",\n  \"GCSFileLoader\",\n  \"GoogleDriveLoader\",\n  \"PyPDFDirectoryLoader\",\n  \"PyPDFLoader\",\n  \"SharePointLoader\",\n  \"SnowflakeLoader\",\n  \"PebbloTextLoader\",\n]\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  fetchAssetsStats,\n  fetchIdentitiesStats,\n  fetchDatastoreStats,\n  fetchIssueUberScore,\n  fetchFirstAccountStatStatus,\n  fetchIssuesStats,\n  fetchRiskPlot,\n  fetchDashboardStats,\n  fetchDataFlows,\n  fetchAchievements,\n  fetchTrends,\n  fetchDataNewFlows,\n  manageDashboardView,\n  fetchDatastoreRegions,\n  fetchCloudIssues,\n  fetchPolicyViolationFilters,\n  fetchPolicyViolations,\n  fetchLLMListing,\n  fetchTrainingData,\n  fetchSensitiveData,\n  fetchAIRegions,\n  fetcAIPolicyViolationFilters,\n  fetchFrameworksData,\n  fetchFrameworkDetailsData,\n  fetchAITrainingData,\n  fetchAllRegionsData,\n  fetchFrameworkRegions,\n  fetchLLMPolicyViolations,\n  fetchFrameworkData,\n  fetchDatasourceFiles,\n  fetchFindingOverview,\n  fetchFindings,\n  fetchUserAccessData,\n  fetchDocAccessData,\n} from \"../apis/dashboardAPI\";\nimport { accountType } from \"../../components/constants/constants\";\nimport { getCustomerAccountType } from \"../../utils/SessionHelper\";\n\nconst firstAccountStats = {\n  cdRiskLabel: \"LOW\",\n  cdRiskScore: 0,\n  description: null,\n  first_acct_classification_complete: null,\n  first_acct_risk_complete: null,\n};\n\nconst initialState = {\n  datastoreStats: null,\n  issuesStats: null,\n  assetsStats: null,\n  identitiesStats: null,\n  riskPlot: null,\n  dataflow: null,\n  issueUberScore: null,\n  promptFilter: \"week\",\n  sidebar: JSON.parse(localStorage.getItem(\"sidebarExpand\")),\n  dashboardIssueView: JSON.parse(localStorage.getItem(\"dashboardIssueView\")),\n  firstAccountStatus: firstAccountStats,\n  // isIssueViewVisible: JSON.parse(localStorage.getItem(\"view\")),\n  isDashboardView: getCustomerAccountType() || null,\n  policyCategories: [],\n  policyViolationList: [],\n  frameworkTopLabelListing: {\n    isFetching: true,\n    listing: {},\n  },\n};\n\n// Async calls.\nexport const listDatastoreStats = createAsyncThunk(\n  \"dashboard/datastoreStats\",\n  async (params) => {\n    const response = await fetchDatastoreStats(params);\n    return response.data;\n  }\n);\n\nexport const listIssuesStats = createAsyncThunk(\n  \"dashboard/issuesStats\",\n  async (params) => {\n    const response = await fetchIssuesStats(params);\n    return response.data;\n  }\n);\n\nexport const listAssetsStats = createAsyncThunk(\n  \"dashboard/assetsStats\",\n  async (params) => {\n    const response = await fetchAssetsStats(params);\n    return response.data;\n  }\n);\n\nexport const listIdentitiesStats = createAsyncThunk(\n  \"dashboard/identitiesStats\",\n  async (params) => {\n    const response = await fetchIdentitiesStats(params);\n    return response.data;\n  }\n);\n\nexport const listRiskPlot = createAsyncThunk(\n  \"dashboard/riskplot\",\n  async (params) => {\n    const response = await fetchRiskPlot(params);\n    return response.data;\n  }\n);\n\nexport const firstAccountStatStatus = createAsyncThunk(\n  \"dashboard/firstAccountStatStatus\",\n  async (params) => {\n    const response = await fetchFirstAccountStatStatus(params);\n    return response.data;\n  }\n);\n\nexport const fetchDashboardStat = createAsyncThunk(\n  \"dashboard/fetchDashboardStat\",\n  async (params) => {\n    const response = await fetchDashboardStats(params);\n    return response.data;\n  }\n);\n\nexport const fetchDataFlowsSlice = createAsyncThunk(\n  \"dashboard/dataflow\",\n  async (params) => {\n    const response = await fetchDataFlows(params);\n    return response.data;\n  }\n);\n\nexport const fetchAchievementStats = createAsyncThunk(\n  \"dashboard/achievements\",\n  async (params) => {\n    const response = await fetchAchievements(params);\n    return response.data;\n  }\n);\n\nexport const fetchLLMModelsListingSlice = createAsyncThunk(\n  \"dashboard/llmmodels\",\n  async (params) => {\n    const response = await fetchLLMListing(params);\n    return response.data;\n  }\n);\n\nexport const fetchTrainingDataSlice = createAsyncThunk(\n  \"dashboard/trainingData\",\n  async (params) => {\n    const response = await fetchTrainingData(params);\n    return response.data;\n  }\n);\n\nexport const fetchAITrainingDataSlice = createAsyncThunk(\n  \"dashboard/trainingData\",\n  async (params) => {\n    const response = await fetchAITrainingData(params);\n    return response.data;\n  }\n);\n\nexport const fetchSensitiveDataSlice = createAsyncThunk(\n  \"dashboard/trainingData\",\n  async (params) => {\n    const response = await fetchSensitiveData(params);\n    return response.data;\n  }\n);\n\nexport const fetchTrendsStats = createAsyncThunk(\n  \"dashboard/achievements\",\n  async (params) => {\n    const response = await fetchTrends(params);\n    return response.data;\n  }\n);\n\nexport const fetchDataFlowsNewSlice = createAsyncThunk(\n  \"dashboard/dataflowNew\",\n  async (params) => {\n    const response = await fetchDataNewFlows(params);\n    return response.data;\n  }\n);\n\nexport const fetchIssueUberScoreSlice = createAsyncThunk(\n  \"dashboard/issueUberScore\",\n  async (params) => {\n    const response = await fetchIssueUberScore(params);\n    return response.data;\n  }\n);\n\nexport const manageDashboardViewSlice = createAsyncThunk(\n  \"dashboard/issueUberScore\",\n  async (params) => {\n    const response = await manageDashboardView(params);\n    return response.data;\n  }\n);\n\nexport const fetchDatastoreRegionsSlice = createAsyncThunk(\n  \"dashboard/regions\",\n  async (params) => {\n    const response = await fetchDatastoreRegions(params);\n    return response.data;\n  }\n);\n\nexport const fetchAllRegionsDataSlice = createAsyncThunk(\n  \"dashboard/regions\",\n  async (params) => {\n    const response = await fetchAllRegionsData(params);\n    return response.data;\n  }\n);\n\nexport const fetchAIRegionsSlice = createAsyncThunk(\n  \"dashboard/AI/regions\",\n  async (params) => {\n    const response = await fetchAIRegions(params);\n    return response.data;\n  }\n);\n\nexport const fetchFrameworkRegionsSlice = createAsyncThunk(\n  \"dashboard/Framework/regions\",\n  async (params) => {\n    const response = await fetchFrameworkRegions(params);\n    return response.data;\n  }\n);\n\nexport const fetchCloudIssuesSlice = createAsyncThunk(\n  \"dashboard/cloud\",\n  async (params) => {\n    const response = await fetchCloudIssues(params);\n    return response.data;\n  }\n);\n\nexport const fetchFrameworksSlice = createAsyncThunk(\n  \"dashboard/frameworks\",\n  async (params) => {\n    const response = await fetchFrameworksData(params);\n    return response.data;\n  }\n);\n\nexport const fetchFrameworkSlice = createAsyncThunk(\n  \"dashboard/frameworks\",\n  async (params) => {\n    const response = await fetchFrameworkData(params);\n    return response.data;\n  }\n);\n\nexport const fetchPolicyViolationFiltersSlice = createAsyncThunk(\n  \"dashboard/policyviolations/filter\",\n  async (params) => {\n    const response = await fetchPolicyViolationFilters(params);\n    return response.data;\n  }\n);\n\nexport const fetchAIPolicyViolationFiltersSlice = createAsyncThunk(\n  \"dashboard/policyviolations/filter\",\n  async (params) => {\n    const response = await fetcAIPolicyViolationFilters(params);\n    return response.data;\n  }\n);\n\nexport const fetchPolicyViolationsSlice = createAsyncThunk(\n  \"dashboard/policyviolations\",\n  async (params) => {\n    const response = await fetchPolicyViolations(params);\n    return response.data;\n  }\n);\n\nexport const fetchLLMPolicyViolationsSlice = createAsyncThunk(\n  \"dashboard/policyviolations\",\n  async (params) => {\n    const response = await fetchLLMPolicyViolations(params);\n    return response.data;\n  }\n);\n\nexport const fetchDatasourceFilesSlice = createAsyncThunk(\n  \"dashboard/frameworkTopLabelListing\",\n  async (params) => {\n    const response = await fetchDatasourceFiles(params);\n    return response.data;\n  }\n);\n\nexport const fetchFindingOverviewSlice = createAsyncThunk(\n  \"dashboard/findingOverview\",\n  async (params) => {\n    const response = await fetchFindingOverview(params);\n    return response.data;\n  }\n);\n\nexport const fetchFindingsSlice = createAsyncThunk(\n  \"dashboard/findings\",\n  async (params) => {\n    const response = await fetchFindings(params);\n    return response.data;\n  }\n);\n\nexport const fetchUserAccessDataSlice = createAsyncThunk(\n  \"dashboard/users\",\n  async (params) => {\n    const response = await fetchUserAccessData(params);\n    return response.data;\n  }\n);\n\nexport const fetchDocAccessDataSlice = createAsyncThunk(\n  \"dashboard/docs\",\n  async (params) => {\n    const response = await fetchDocAccessData(params);\n    return response.data;\n  }\n);\n\n// Account slice for configuring reducers and actions.\nexport const dashboardSlice = createSlice({\n  name: \"dashboard\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {\n    expandSidebar: (state) => {\n      state.sidebar = true;\n      localStorage.setItem(\"sidebarExpand\", true);\n      console.log(\"====== Showing sidebar =====\");\n    },\n    minimizeSidebar: (state) => {\n      state.sidebar = false;\n      localStorage.setItem(\"sidebarExpand\", false);\n    },\n    isDataView: (state) => {\n      state.isDashboardView = accountType.Data;\n      // localStorage.setItem(\"view\", true);\n    },\n    isAIView: (state) => {\n      state.isDashboardView = accountType.AI;\n      // localStorage.setItem(\"view\", false);\n    },\n    setPromptTimeFilter: (state, action) => {\n      console.log(action, state.promptFilter);\n      const filter = action.payload;\n      state.promptFilter = filter;\n    },\n  },\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(listDatastoreStats.fulfilled, (state, action) => {\n        state.datastoreStats = action.payload;\n      })\n      .addCase(listDatastoreStats.rejected, (state) => {\n        state.datastoreStats = {};\n      })\n      .addCase(listIssuesStats.fulfilled, (state, action) => {\n        state.issuesStats = action.payload;\n      })\n      .addCase(listIssuesStats.rejected, (state) => {\n        state.issuesStats = {};\n      })\n\n      .addCase(listAssetsStats.fulfilled, (state, action) => {\n        state.assetsStats = action.payload;\n      })\n      .addCase(listAssetsStats.rejected, (state) => {\n        state.assetsStats = {};\n      })\n\n      .addCase(listIdentitiesStats.fulfilled, (state, action) => {\n        state.identitiesStats = action.payload;\n      })\n      .addCase(listIdentitiesStats.rejected, (state) => {\n        state.identitiesStats = {};\n      })\n\n      .addCase(listRiskPlot.fulfilled, (state, action) => {\n        state.riskPlot = action.payload;\n      })\n      .addCase(listRiskPlot.rejected, (state) => {\n        state.riskPlot = {};\n      })\n      .addCase(fetchDataFlowsSlice.fulfilled, (state, action) => {\n        state.dataflow = action.payload;\n      })\n      .addCase(fetchDataFlowsSlice.rejected, (state) => {\n        state.dataflow = {};\n      })\n      .addCase(fetchIssueUberScoreSlice.fulfilled, (state, action) => {\n        state.issueUberScore = action.payload;\n      })\n      .addCase(fetchLLMPolicyViolationsSlice.rejected, (state, action) => {\n        state.policyViolationList = [];\n      })\n      .addCase(fetchLLMPolicyViolationsSlice.fulfilled, (state, action) => {\n        state.policyViolationList = action.payload;\n      })\n      .addCase(fetchIssueUberScoreSlice.rejected, (state) => {\n        state.issueUberScore = {};\n      })\n      .addCase(firstAccountStatStatus.fulfilled, (state, action) => {\n        // let test = { ...action.payload };\n        // test.first_acct_classification_complete =\n        //   action.payload.first_acct_classification_complete;\n        // test.first_acct_classification_complete = null;\n        // test.first_acct_risk_complete = null;\n        // state.firstAccountStatus = test;\n\n        state.firstAccountStatus = action?.payload?.err\n          ? firstAccountStats\n          : action.payload;\n      })\n      .addCase(firstAccountStatStatus.rejected, (state) => {\n        state.firstAccountStatus = firstAccountStats;\n      })\n      .addCase(\n        fetchAIPolicyViolationFiltersSlice.fulfilled,\n        (state, action) => {\n          state.policyCategories = action?.payload?.err ? [] : action.payload;\n        }\n      )\n      .addCase(fetchDatasourceFilesSlice.fulfilled, (state, action) => {\n        state.frameworkTopLabelListing = {\n          isFetching: false,\n          listing: action.payload,\n        };\n      })\n      .addCase(fetchDatasourceFilesSlice.rejected, (state) => {\n        state.frameworkTopLabelListing = {\n          isFetching: false,\n          listing: {},\n        };\n      });\n  },\n});\nexport const {\n  expandSidebar,\n  minimizeSidebar,\n  isDataView,\n  isAIView,\n  setPromptTimeFilter,\n} = dashboardSlice.actions;\n\nexport default dashboardSlice.reducer;\n","export default __webpack_public_path__ + \"static/media/aws.9b1bc77b.svg\";","export default __webpack_public_path__ + \"static/media/scanning-inheriting.8cfd6d3e.svg\";","export default __webpack_public_path__ + \"static/media/scanning-overriding.54051af5.svg\";","export default __webpack_public_path__ + \"static/media/azure.bf2db1e8.svg\";","export default __webpack_public_path__ + \"static/media/google.06a198a9.svg\";","export default __webpack_public_path__ + \"static/media/half-circle-white.3187cc35.svg\";","import { useTheme } from \"@mui/material\";\nimport type { ButtonProps } from \"@mui/material/Button\";\nimport MUIButton from \"@mui/material/Button\";\n\nconst Button = (props: ButtonProps) => {\n  const theme = useTheme();\n  const styles = {\n    muiButton: {\n      \"&.MuiButton-root\": {\n        textTransform: \"none\",\n        width: \"fit-content\",\n      },\n      \"&.MuiButton-containedPrimary\": {\n        backgroundColor: theme?.palette?.primaryBlue?.main || \"#2195FF\",\n        color: theme?.palette?.surface100?.main || \"#FFFFFF\",\n      },\n      \"&.MuiButton-containedPrimary:hover\": {\n        backgroundColor: \"#0074E0\",\n      },\n      \"&.MuiButton-containedPrimary:disabled\": {\n        backgroundColor: \"rgba(255, 255, 255, 0.5)\",\n        color: \"rgba(0, 0, 0, 0.26)\",\n        boxShadow: \"none\",\n        cursor: \"not-allowed\",\n      },\n      \"&.MuiButton-outlined\": {\n        border: `1px solid ${theme?.palette?.primaryBlue?.main || \"#2195FF\"}`,\n        color: theme?.palette?.primaryBlue?.main || \"#2195FF\",\n      },\n      \"&.MuiButton-outlined:hover\": {\n        backgroundColor: \"rgba(33, 149, 255, 0.1)\",\n        color: theme?.palette?.primaryBlue?.main || \"#2195FF\",\n      },\n      \"&.MuiButton-outlinedError\": {\n        color: theme.palette.critical.main,\n        border: `1px solid ${theme?.palette?.critical?.main}`,\n      },\n      \"&.MuiButton-outlinedError:hover\": {\n        backgroundColor: \"rgba(255, 101, 91, 0.1)\",\n        color: theme.palette.critical.main,\n        border: `1px solid ${theme?.palette?.critical?.main}`,\n      },\n    },\n  };\n  return <MUIButton sx={styles.muiButton} {...props} />;\n};\n\nexport default Button;\n","export default __webpack_public_path__ + \"static/media/calendar-check-fill.2e78cbe6.svg\";","export default __webpack_public_path__ + \"static/media/aws-account_card.dc492458.svg\";","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgEdit(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 16,\n    height: 16,\n    viewBox: \"0 0 16 16\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M2.167.5A1.66 1.66 0 0 0 .5 2.167v11.666c0 .92.746 1.667 1.667 1.667h11.666c.92 0 1.667-.746 1.667-1.667V8h-1.667v5.833H2.167V2.167H8V.5H2.167m10.65.833a.575.575 0 0 0-.4.167L11.4 2.508l2.083 2.084L14.5 3.583a.563.563 0 0 0 0-.791L13.208 1.5a.557.557 0 0 0-.391-.167M10.808 3.1 4.667 9.25v2.083H6.75l6.142-6.15L10.808 3.1z\",\n    fill: \"#9C9EA6\",\n    fillRule: \"nonzero\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEdit);\nexport default __webpack_public_path__ + \"static/media/edit.aa880ae8.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgView(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 27,\n    height: 27,\n    viewBox: \"0 0 27 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M3.61326 3.3347C5.04083 1.90712 7.17704 1.36133 9.93059 1.36133H16.3492C19.1027 1.36133 21.239 1.90712 22.6665 3.3347C24.0941 4.76227 24.6399 6.89847 24.6399 9.65203V16.0706C24.6399 18.8242 24.0941 20.9604 22.6665 22.388C21.239 23.8155 19.1027 24.3613 16.3492 24.3613H9.93059C7.17704 24.3613 5.04083 23.8155 3.61326 22.388C2.18569 20.9604 1.63989 18.8242 1.63989 16.0706V9.65203C1.63989 6.89847 2.18569 4.76227 3.61326 3.3347ZM4.74792 4.46936C3.76851 5.44876 3.24454 7.05674 3.24454 9.65203V16.0706C3.24454 18.6659 3.76851 20.2739 4.74792 21.2533C5.72733 22.2327 7.3353 22.7567 9.93059 22.7567H16.3492C18.9445 22.7567 20.5525 22.2327 21.5319 21.2533C22.5113 20.2739 23.0352 18.6659 23.0352 16.0706V9.65203C23.0352 7.05674 22.5113 5.44876 21.5319 4.46936C20.5525 3.48995 18.9445 2.96598 16.3492 2.96598H9.93059C7.3353 2.96598 5.72733 3.48995 4.74792 4.46936Z\",\n    fill: \"#858691\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M18.6271 9.5635C18.9773 9.83497 19.0412 10.339 18.7697 10.6892L16.2938 13.8832C15.6574 14.688 14.484 14.8348 13.6654 14.2023L13.6599 14.1979L11.7059 12.6603C11.5852 12.5687 11.4168 12.5915 11.3251 12.7097L8.77957 16.0146C8.50918 16.3657 8.0054 16.4311 7.65435 16.1607C7.30329 15.8903 7.23791 15.3865 7.50829 15.0355L10.0551 11.7289C10.6905 10.9067 11.8685 10.7581 12.6889 11.3921L12.6945 11.3964L14.6485 12.934C14.7705 13.0266 14.9424 13.0028 15.0334 12.8899L17.5014 9.70607C17.7729 9.35586 18.2769 9.29203 18.6271 9.5635Z\",\n    fill: \"#858691\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgView);\nexport default __webpack_public_path__ + \"static/media/view.fafb12b6.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCloseIcon(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 13,\n    height: 13,\n    viewBox: \"0 0 13 13\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M12.6026 0.386948C13.1327 0.902877 13.1327 1.73937 12.6026 2.2553L2.35993 12.2254C1.82989 12.7413 0.970534 12.7413 0.440497 12.2254C-0.0895406 11.7094 -0.0895406 10.8729 0.440497 10.357L10.6832 0.386948C11.2132 -0.128982 12.0726 -0.128982 12.6026 0.386948Z\",\n    fill: \"#B7B8BE\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M0.440497 0.386948C0.970534 -0.128982 1.82989 -0.128982 2.35993 0.386948L12.6026 10.357C13.1327 10.8729 13.1327 11.7094 12.6026 12.2254C12.0726 12.7413 11.2132 12.7413 10.6832 12.2254L0.440497 2.2553C-0.0895406 1.73937 -0.0895406 0.902877 0.440497 0.386948Z\",\n    fill: \"#B7B8BE\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCloseIcon);\nexport default __webpack_public_path__ + \"static/media/close-icon.e8be2662.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoRdsScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3355_10954)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\",\n    fill: \"#3260E6\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M10.2692 26.138L12.5479 28.8161L12.7527 28.5724V11.4403L12.5479 11.1814L10.2692 13.8586V26.138Z\",\n    stroke: \"white\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M12.5479 28.8169L16.9031 31L17.0841 30.7072L17.0867 9.22846L16.9056 9L12.5488 11.1763V28.8169M29.7308 13.8586L27.4512 11.1814L27.1974 11.2626L27.2481 28.5978L27.4512 28.8161L29.7308 26.138V13.8586Z\",\n    stroke: \"white\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M23.0978 31L27.4513 28.8169V11.1755L23.0953 9L22.8888 9.27923L22.8922 30.6818L23.0978 31Z\",\n    stroke: \"white\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M16.9047 9H23.0952V31H16.9047V9Z\",\n    stroke: \"white\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3355_10954\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoRdsScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-rds-score-low.8d67dc28.svg\";\nexport { ForwardRef as ReactComponent };","import type { BoxProps } from '@mui/material/Box';\nimport MUIBox from '@mui/material/Box';\n\nconst Box = (props: BoxProps) => {\n  return <MUIBox {...props} />;\n};\n\nexport default Box;\n","import { SxProps, useTheme } from \"@mui/material\";\nimport MUITypography from \"@mui/material/Typography\";\nimport { PropsWithChildren } from \"react\";\n\nconst typographyVariant = {\n  tooltip: \"10px\",\n  subHeader: \"28px\",\n} as const;\n\ntype variantTypes =\n  | \"caption\"\n  | \"h1\"\n  | \"h2\"\n  | \"h3\"\n  | \"h4\"\n  | \"h5\"\n  | \"h6\"\n  | \"subtitle1\"\n  | \"subtitle2\"\n  | \"body1\"\n  | \"body2\"\n  | \"button\"\n  | \"overline\"\n  | \"inherit\"\n  | \"tooltip\"\n  | \"subHeader\"\n  | undefined;\n\nexport interface Props {\n  color?: string;\n  variant?: variantTypes;\n  sx?: SxProps;\n  component?: string;\n  align?: \"inherit\" | \"left\" | \"right\" | \"center\" | \"justify\" | undefined;\n  id?: string;\n  onClick?: () => void;\n  isNumber?: boolean;\n  title?: string;\n}\n\nconst Typography = ({\n  color = \"\",\n  variant = \"subtitle1\",\n  isNumber = false,\n  sx = {},\n  id,\n  onClick,\n  title,\n  ...otherProps\n}: PropsWithChildren<Props>) => {\n  const theme = useTheme();\n  const defaultColor = color !== \"\" ? color : theme.palette.surface80.main;\n  const fontSize = (\n    variant === \"tooltip\" || variant === \"subHeader\"\n      ? typographyVariant[variant]\n      : null\n  ) as string;\n  const variantMap = (\n    variant !== \"tooltip\" && variant !== \"subHeader\" ? variant : undefined\n  ) as any;\n  const styles = {\n    typographyText: {\n      lineHeight: \"116.7%\",\n      fontSize,\n      fontFamily: isNumber ? \"Manrope\" : \"Inter\",\n    },\n  };\n\n  return (\n    <MUITypography\n      variant={variantMap || variant}\n      color={defaultColor}\n      id={id}\n      onClick={onClick}\n      sx={{ ...styles.typographyText, ...sx }}\n      title={title}\n      {...otherProps}\n    />\n  );\n};\n\nexport default Typography;\n","export default __webpack_public_path__ + \"static/media/No_Search_illustration.cefe31ec.svg\";","// No Search_illustration\n\nimport { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport Typography from \"./Typography\";\nimport NoSearchIcon from \"../../assets/img/No_Search_illustration.svg\";\n\nconst NoData = ({\n  customText,\n  height = \"100%\",\n}: {\n  customText: string;\n  height?: string;\n}) => {\n  const theme = useTheme();\n\n  const styles = {\n    container: {\n      display: \"flex\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      width: \"100%\",\n      height: height,\n    },\n    noDataMsg: {\n      fontSize: \"13px\",\n      color: theme.palette.surface60.main,\n    },\n  };\n  return (\n    <Box sx={styles.container}>\n      <img src={NoSearchIcon} alt=\"no data\" />\n      <Typography sx={styles.noDataMsg}>{customText}</Typography>\n    </Box>\n  );\n};\n\nexport default NoData;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n  loading: false,\n};\n\n// Account slice for configuring reducers and actions.\nexport const globalOperationSlice = createSlice({\n  name: \"globalOperation\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {\n    showLoading: (state) => {\n      state.loading = true;\n      console.log(\"====== Showing loader =====\");\n    },\n    hideLoading: (state) => {\n      state.loading = false;\n      console.log(\"====== Hiding loader =====\");\n    },\n  },\n});\n\n// Exporting the reducer actions\nexport const { showLoading, hideLoading } = globalOperationSlice.actions;\nexport default globalOperationSlice.reducer;\n","import { toast } from \"react-toastify\";\nimport { capitalizeFirstLetter } from \"./utils\";\n\nexport const TOASTER_TYPES = {\n  SUCCESS: 1,\n  ERROR: 2,\n  WARNING: 3,\n  INFO: 4,\n};\n\nexport const Toaster = (type = TOASTER_TYPES.SUCCESS, msg) => {\n  switch (type) {\n    case TOASTER_TYPES.SUCCESS:\n      toast.success(capitalizeFirstLetter(msg));\n      break;\n    case TOASTER_TYPES.ERROR:\n      toast.error(capitalizeFirstLetter(msg));\n      break;\n    case TOASTER_TYPES.WARNING:\n      toast.warning(capitalizeFirstLetter(msg));\n      break;\n    case TOASTER_TYPES.INFO:\n      toast.info(capitalizeFirstLetter(msg));\n      break;\n    default:\n      toast.success(capitalizeFirstLetter(msg));\n      break;\n  }\n  // if (type === 1) {\n  //   toast.success(capitalizeFirstLetter(msg));\n  // } else if (type === 2) {\n  //   toast.error(capitalizeFirstLetter(msg));\n  // } else if (type === 3) {\n  //   toast.warning(capitalizeFirstLetter(msg));\n  // } else if (type === 4) {\n  //   toast.info(capitalizeFirstLetter(msg));\n  // } else {\n  //   toast.success(capitalizeFirstLetter(msg));\n  // }\n};\n","export default __webpack_public_path__ + \"static/media/ico-blue-white-info.074b3933.svg\";","export default __webpack_public_path__ + \"static/media/ico-delete-grey.30294f9d.svg\";","import React from \"react\";\nimport infoIcon from \"../../../assets/img/icons/ico-blue-white-info.svg\";\nimport deleteIcon from \"../../../assets/img/icons/ico-delete-grey.svg\";\nimport \"./InfoModal.scss\";\n\nconst InfoModal = ({ handleModal, data }) => {\n  const info = [\n    {\n      title1: \"Cloud Defense User Onboarding Cloudformation Stack:\",\n      sub_title1:\n        \"As part of Cloud Defense user onboarding AWS Cloudformation templates are executed on users aws account to create the below aws resources\",\n      services: [\n        { title: \"AWS VPC\", values: [\"Public Subnet\", \"Private Subnet\"] },\n        {\n          title: \"AWS IAM Roles\",\n          values: [\n            \"CDCrossAccountRole\",\n            \"InternalRole\",\n            \"CDSCannerEnableInternalRole\",\n          ],\n        },\n        { title: \"AWS Ec2 Server\", values: [] },\n        {\n          title: \"AWS Lambda Functions\",\n          values: [\n            \"EnableCDAWSScanners\",\n            \"UpdateCDAWSScanners\",\n            \"CDScannerLambda\",\n            \"CDScannerV2Lambda\",\n            \"CDDataProfilerLambda\",\n            \"CDScannerDataAggregator\",\n            \"CDScannerDataAccessLambda\",\n          ],\n        },\n        {\n          title: \"AWS Events Rule\",\n          values: [\"Public Subnet\", \"Private Subnet\"],\n        },\n        {\n          title: \"AWS VPC\",\n          values: [\n            \"CDEventRuleSecurityHub(aws.securityhub)\",\n            \"CDEventRuleSecurityHubPastEvenets(cd.aws.securityhub)\",\n            \"CDEventRuleDataScannerLiveness(liveness)\",\n            \"CDEventRuleDataScanner(data-scanner)\",\n            \"CDScannerScheduledRule\",\n            \"CDScannerDataAccessScheduledRule\",\n            \"CDScannerScheduledClassificationFinish\",\n            \"CDScannerScheduledRuleReRun\",\n            \"CDScannerDataAccessStopLambdaRule\",\n          ],\n        },\n        {\n          title: \"AWS Step Functions\",\n          values: [\"CDStateMachine\"],\n        },\n        { title: \"AWS KMS Key\", values: [] },\n        {\n          title: \"AWS SQS Queue\",\n          values: [\n            \"CDExportToS3Queue\",\n            \"CDDBSnapshotQueue\",\n            \"CDS3ClassificationQueue\",\n            \"CDS3ClassificationAggregatorQueue\",\n          ],\n        },\n        {\n          title: \"AWS SNS Topic\",\n          values: [\n            \"CDDBSnapshotSNSTopic\",\n            \"CDExportFileToS3SNSTopic\",\n            \"CDAggregatorSNSTopic\",\n            \"CDRunDataProfilerSNSTopic\",\n          ],\n        },\n        { title: \"AWS S3 Bucket\", values: [] },\n        { title: \"AWS Event EventBusPolicy\", values: [\"CDEventBusPolicy\"] },\n      ],\n    },\n    {\n      title1: \"AWS VPC\",\n      sub_title1:\n        \"VPC is used for provisining the CD scanner EC2 instance. This vpc includes the public and private subnets - CD Scanner Ec2 server downloads the libs/packages from internet for this purpose it needs public subnet. CD services uses the AWS SSM service to run command on Scanner Ec2 remotely.\",\n    },\n    {\n      title1: \"AWS IAM Roles\",\n      title2: \"CDCrossAccountRole\",\n      title3: \"InternalRole\",\n      title4: \"CDSCannerEnableInternalRole\",\n      sub_title1:\n        \"This cross account role is assume by cloud defense side to access the cloudwatch logs and s3 lists etc. This role only having the read permission access for users resources.\",\n      sub_title2:\n        \"This role is internal to user aws account and not used outside. This role is attached to Scanner Lambda functions. These scanner lambda functions scans the resources in aws account and send the findings to event bus. This role having readonly access to RDS, DynamoDB and redshift services and readwrire access to EC2, S3, SQS and cloudwatch.\",\n      sub_title3:\n        \"This role used by custom resource which enables the security hub, inspector2 and gaurdduty services on users account. To enable this it needs the access to users security hub, inspector2 and gaurdduty. This role is also limited to user aws account and not used outside it.\",\n    },\n    {\n      title1: \"AWS Ec2 Server\",\n      sub_title1:\n        \"CD Scanner EC2 server used to scan the ebs volumes in users aws account. It takes the snapshot of exisitng ebs volume and create the new volumes to attach it to EC2 server.\",\n    },\n    {\n      title1: \"AWS Lambda Functions\",\n      title2: \"EnableCDAWSScanners\",\n      title3: \"UpdateCDAWSScanners\",\n      title4: \"CDScannerLambda\",\n      title5: \"CDScannerV2Lambda\",\n      title6: \"CDDataProfilerLambda\",\n      title7: \"CDScannerDataAggregator\",\n      title8: \"CDScannerDataAccessLambda\",\n      sub_title1:\n        \"This lambda functions enables the security hub, inspector2 and gaurdduty services for users account on all region as part of launch stack. It skips the already enabled services. On delete stack operation this lambda function rollback the services state. During rollback it skips those services which were already enabled before launch stack.\",\n      sub_title2:\n        \"This lambda function involve in upgrading the cfn templates. The addional features published by cloud defense.\",\n      sub_title3:\n        \"This lambda function does the data discovery and classification for self managed datastore like - MySQL, MongoDB running on ec2.\",\n      sub_title4:\n        \"This lambda function does the data discovery and classification for managed datastore like - RDS, DocumentDB etc.\",\n      sub_title5:\n        \"This lambda function handels the managed data store classification\",\n      sub_title6:\n        \"This is used to aggregate classification results about S3 and RDS scanning.\",\n      sub_title7: \"This is used to capture the Data Flows.\",\n    },\n    {\n      title1: \"AWS Events Rule\",\n      title2: \"CDEventRuleSecurityHub\",\n      title3: \"CDEventRuleSecurityHubPastEvenets\",\n      title4: \"CDEventRuleDataScannerLiveness\",\n      title5: \"CDEventRuleDataScanner\",\n      title6: \"CDScannerScheduledRule\",\n      title7: \"CDScannerDataAccessScheduledRule\",\n      title8: \"CDScannerScheduledClassificationFinish\",\n      title9: \"CDScannerScheduledRuleReRun\",\n      title10: \"CDScannerDataAccessStopLambdaRule\",\n      sub_title1:\n        \"This is used to send the security hub events to Cloud Defense side.\",\n      sub_title2:\n        \"This is used to send the old security hub events i.e before onboarding to Cloud Defense side.\",\n      sub_title3:\n        \"This is redirecting liveness i.e Data Flow events to Cloud Defense side.\",\n      sub_title4:\n        \"This is redirecting data scanner events to Cloud Defense side.\",\n      sub_title5:\n        \"This rule is initiated for checking the RDS data scanning status.\",\n      sub_title6:\n        \"This rule triggeres the Data Access Lambda at specified frequency.\",\n      sub_title7: \"This rule triggeres data scanning finish check.\",\n      sub_title8:\n        \"This rule is initiating the data scanning with defined frequency.\",\n      sub_title9: \"This rule is responsible for the cost control processes.\",\n    },\n    {\n      title1: \"AWS Step Functions\",\n      title2: \"CDStateMachine\",\n      sub_title1:\n        \"Starting point for managed and selfmanaged data store discovery and classifications. This defines the workflow for lambda function execution.\",\n    },\n    {\n      title1: \"AWS KMS Key\",\n      sub_title1: \"This is used while exporting the RDS to S3 bucket.\",\n    },\n    {\n      title1: \"AWS SQS Queue\",\n      title2: \"CDExportToS3Queue\",\n      title2: \"CDDBSnapshotQueue\",\n      title2: \"CDS3ClassificationQueue\",\n      title2: \"CDS3ClassificationAggregatorQueue\",\n      sub_title1:\n        \"This Queue is used for managed data store AWS RDS DB snapshot export\",\n      sub_title2:\n        \"This Queue is used for managed data store AWS RDS DB snapshot\",\n      sub_title3: \"This Queue is used for data scanning.\",\n      sub_title4: \"This Queue is used for data scanning.\",\n    },\n    {\n      title1: \"CDEventBusPolicy\",\n      sub_title1:\n        \"This policy added to put the events on event bus from Cloud Defesne side. This is needed for the cost control processes.\",\n    },\n    {\n      title1: \"AWS SNS Topic\",\n      title2: \"CDDBSnapshotSNSTopic\",\n      title3: \"CDExportFileToS3SNSTopic\",\n      title4: \"CDAggregatorSNSTopic\",\n      title5: \"CDRunDataProfilerSNSTopic\",\n      sub_title1:\n        \"AWS RDS DB Snapshot completion notification send to this Topic\",\n      sub_title2:\n        \"AWS RDS DB Snapshot export completion notification send to this Topic\",\n      sub_title3:\n        \"CD Datascanner lambda function uses this for classification purpose.\",\n      sub_title4: \"Used for Cloud Defense data discovery and classifications\",\n    },\n    {\n      title1: \"AWS S3 Bucket\",\n      sub_title1:\n        \"AWS S3 bucket is used to store the RDS DB snapshot export and other classification results.\",\n    },\n  ];\n\n  return (\n    <div id=\"info-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content\">\n            <div className=\"modal-header d-flex justify-content-start align-items-center\">\n              <img src={infoIcon} className=\"mr-3\" />\n              <span className=\"header-title\">{data?.title || \"\"}</span>\n              <img\n                src={deleteIcon}\n                className=\"mr-3 delete-icon\"\n                onClick={handleModal}\n              />\n            </div>\n            <div className=\"modal-body \">\n              {info.map((info, index) => (\n                <div key={index}>\n                  <h5 className=\"title-1\">{info.title1}</h5>\n                  <h6 className=\"sub-title-1\">{info.sub_title1}</h6>\n                  {info.services && (\n                    <ul>\n                      {info.services.map((service, index) => (\n                        <li key={index}>\n                          {service.title}\n                          <ol>\n                            {service.values.map((value, idx) => (\n                              <li key={idx}>{value}</li>\n                            ))}\n                          </ol>\n                        </li>\n                      ))}\n                    </ul>\n                  )}\n\n                  {info.title2 ? (\n                    <h5 className=\"title-2\">&#8226; {info.title2}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title2 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title2}</h6>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.title3 ? (\n                    <h5 className=\"title-2\">&#8226; {info.title3}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title3 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title3}</h6>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.title4 ? (\n                    <h5 className=\"title-2\">&#8226; {info.title4}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title4 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title4}</h6>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {info.title5 ? (\n                    <h5 className=\"title-2\"> &#8226; {info.title5}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title5 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title5}</h6>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {info.title6 ? (\n                    <h5 className=\"title-2\">&#8226; {info.title6}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title6 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title6}</h6>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {info.title7 ? (\n                    <h5 className=\"title-2\">&#8226; {info.title7}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title7 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title7}</h6>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {info.title8 ? (\n                    <h5 className=\"title-2\">&#8226; {info.title8}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title8 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title8}</h6>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {info.title9 ? (\n                    <h5 className=\"title-2\">&#8226; {info.title9}</h5>\n                  ) : (\n                    \"\"\n                  )}\n                  {info.sub_title9 ? (\n                    <h6 className=\"sub-title-2\">{info.sub_title9}</h6>\n                  ) : (\n                    \"\"\n                  )}\n                </div>\n              ))}\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default InfoModal;\n","export default __webpack_public_path__ + \"static/media/ep-info-filled.36bfda33.svg\";","import MUIFormControlLabel, {\n  FormControlLabelProps,\n} from \"@mui/material/FormControlLabel\";\nimport MUIFormControl, { FormControlProps } from \"@mui/material/FormControl\";\nimport MUIInputLabel, { InputLabelProps } from \"@mui/material/InputLabel\";\n\nexport const FormControl = (props: FormControlProps) => {\n  return <MUIFormControl {...props} />;\n};\n\nexport const InputLabel = (props: InputLabelProps) => {\n  return <MUIInputLabel {...props} />;\n};\n\nexport const FormControlLabel = (props: FormControlLabelProps) => {\n  return <MUIFormControlLabel {...props} />;\n};\n","import { InputAdornment, useTheme } from \"@mui/material\";\nimport MUITextField, { TextFieldProps } from \"@mui/material/TextField\";\n\nexport const TextField = (props: TextFieldProps) => {\n  const theme = useTheme();\n  const styles = {\n    textField: {\n      \"& .MuiInputLabel-root\": {\n        color: theme.palette.surface60.main,\n        fontFamily: \"Inter\",\n        \"&.Mui-focused\": {\n          color: theme.palette.primaryBlue.main,\n        },\n        \"&.Mui-error\": {\n          color: theme.palette.critical.main,\n        },\n      },\n      \"& .MuiInputAdornment-root\": {\n        display: \"none\",\n      },\n      \"& .MuiInputBase-root\": {\n        \":after\": {\n          borderBottom: `2px solid ${theme.palette.primaryBlue.main}`,\n        },\n        \"&.Mui-error:after\": {\n          borderBottom: `2px solid ${theme.palette.critical.main}`,\n        },\n        \"&.Mui-error:before\": {\n          borderBottom: `1px solid ${theme.palette.critical.main}`,\n        },\n      },\n      \"& .MuiInputBase-input\": {\n        fontSize: \"14px\",\n      },\n      \"& .MuiFormHelperText-root\": {\n        \"&.Mui-error\": {\n          color: theme.palette.critical.main,\n        },\n      },\n      \".MuiInputBase-root\": {\n        \"& .MuiOutlinedInput-notchedOutline\": {\n          border: `1px solid ${theme.palette.surface40.main}`,\n        },\n        \"&.Mui-focused\": {\n          \"& .MuiOutlinedInput-notchedOutline\": {\n            border: `1px solid ${theme.palette.primaryBlue.main}`,\n          },\n        },\n      },\n      \".MuiFormHelperText-root\": {\n        marginX: 0,\n      },\n      ...props.sx,\n    },\n  };\n  return (\n    <MUITextField\n      {...props}\n      sx={styles.textField}\n      InputProps={{\n        startAdornment: <InputAdornment position=\"start\" />,\n      }}\n    />\n  );\n};\n","import { FormHelperText, MenuItemProps, useTheme } from \"@mui/material\";\nimport MUIMenuItem from \"@mui/material/MenuItem\";\nimport MUISelect, { SelectProps } from \"@mui/material/Select\";\nimport InputLabel from \"@mui/material/InputLabel\";\nimport MUIFormControl from \"@mui/material/FormControl\";\nimport Typography from \"./Typography\";\nimport { useState } from \"react\";\n\ninterface CustomSelectProps extends SelectProps {\n  options?: Array<{\n    value: string;\n    label: string;\n  }>;\n  minWidth?: number;\n  helperText?: string;\n}\n\nexport const Select = ({\n  variant = \"standard\",\n  disabled = false,\n  size = \"medium\",\n  error = false,\n  options = [\n    {\n      value: \"\",\n      label: \"\",\n    },\n  ],\n  fullWidth,\n  children,\n  minWidth,\n  ...props\n}: CustomSelectProps) => {\n  const theme = useTheme();\n  const styles = {\n    formControl: {\n      paddingLeft: 0,\n      //marginLeft: \"auto\",\n      minWidth: minWidth || 120,\n    },\n    inputLabel: {\n      \"&.MuiFormLabel-colorPrimary\": {\n        color: theme.palette.surface50.main,\n        \"&.Mui-focused\": {\n          color: theme.palette.primaryBlue.main,\n        },\n      },\n      \"&.Mui-error, .Mui-error .Mui-focused\": {\n        color: theme.palette.critical.main,\n      },\n      \"&.Mui-disabled, .Mui-disabled .Mui-focused\": {\n        color: theme.palette.surface30.main,\n      },\n    },\n    select: {\n      \"&:before\": {\n        borderBottom: `2px solid ${theme.palette.surface50.main}`,\n      },\n      \"&:after\": {\n        borderBottom: `2px solid ${theme.palette.primaryBlue.main}`,\n      },\n      \"&.Mui-error:after, &.Mui-error:before\": {\n        borderBottom: `2px solid ${theme.palette.critical.main}`,\n      },\n      \"&.Mui-disabled:after, &.Mui-disabled:before\": {\n        borderBottomStyle: \"solid\",\n        borderBottom: `2px solid ${theme.palette.surface30.main}`,\n      },\n      \"&.Mui-disabled .MuiSelect-select\": {\n        \"-webkit-text-fill-color\": theme.palette.surface30.main,\n      },\n      \".MuiMenu-list\": {\n        background: theme.palette.surface10.main,\n      },\n    },\n    icon: {\n      color: theme.palette.surface40.main,\n      height: \"20px\",\n    },\n  };\n\n  return (\n    <MUIFormControl\n      variant={variant}\n      disabled={disabled}\n      size={size}\n      error={error}\n      fullWidth={fullWidth}\n      sx={styles.formControl}\n    >\n      {props?.label && props?.label !== \"\" && (\n        <InputLabel\n          id=\"demo-simple-select-standard-label\"\n          sx={styles.inputLabel}\n        >\n          {props?.label}\n        </InputLabel>\n      )}\n      <MUISelect {...props} sx={{ ...styles.select, ...props?.sx }}>\n        {options\n          ? options.map((filter) => (\n              <MenuItem value={filter?.value} key={filter?.value}>\n                <Typography variant=\"body2\">{filter?.label}</Typography>\n              </MenuItem>\n            ))\n          : children}\n      </MUISelect>\n      <FormHelperText>{props?.helperText}</FormHelperText>\n    </MUIFormControl>\n  );\n};\n\nexport const MenuItem = (props: MenuItemProps) => {\n  return <MUIMenuItem {...props} />;\n};\n","import { useFormik } from \"formik\";\nimport React, { useEffect, useState } from \"react\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport \"./AddAccountModal.scss\";\nimport InfoModal from \"../info-modal/InfoModal\";\nimport infoFilled from \"../../../assets/img/icons/ep-info-filled.svg\";\nimport Button from \"../../common/Button\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport { ACCOUNT_TYPES } from \"../../../utils/Constants\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { FormControl, InputLabel } from \"../../common/FormControl\";\nimport { TextField } from \"../../common/TextField\";\nimport { FormHelperText, styled, useTheme } from \"@mui/material\";\nimport CloudUploadIcon from \"@mui/icons-material/CloudUpload\";\nimport { createAccountAsync } from \"../../../redux/slices/accountSlice\";\nimport { MenuItem, Select } from \"../../common/Select\";\nimport { accountType } from \"../../constants/constants\";\n\nconst AccountDetailStep = ({\n  accountDetails,\n  selectedAccount,\n  externalId,\n  backStep,\n  addAccount,\n  handleStepOneModal,\n  loading,\n  refreshAccounts,\n}) => {\n  const dispatch = useDispatch();\n  const isDashboardView = useSelector(\n    (state) => state.dashboard.isDashboardView\n  );\n  const isDataView = isDashboardView === accountType.Data;\n\n  const DATA_SCANNING_FREQUENCY = [\n    { label: \"Daily\", value: \"rate(1 day)\" },\n    { label: \"Weekly\", value: \"rate(7 days)\" },\n    { label: \"Monthly\", value: \"rate(30 days)\" },\n  ];\n\n  const AI_SCANNING_FREQUENCY = [\n    { label: \"General AI Scan\", value: \"Gen-AI\" },\n    { label: \"AI Langchain\", value: \"Langchain-AI\" },\n  ];\n\n  const [enableBtn, setEnableBtn] = useState(false);\n  const [lunchStackModal, setLunchStackModal] = useState(false);\n  const [selectedRegion, setSelectedRegion] = useState(\"us-east-1\");\n  const [dataScanFrequency, setDataScanFrequency] = useState(\n    DATA_SCANNING_FREQUENCY[2].value\n  );\n  const [gcpDetails, setGcpDetails] = useState({\n    accountId: \"\",\n    serviceAccountKey: \"\",\n    scanScope: \"\",\n  });\n  const [emptyValue, setEmptyValue] = useState({\n    accountIdMsg: \"\",\n    apiKeyMsg: \"\",\n    scanScopeMsg: \"\",\n  });\n  const [fileName, setFileName] = useState(\"\");\n  const theme = useTheme();\n\n  const styles = {\n    gcpForm: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n    textField: {\n      \"& .MuiFormLabel-root\": {\n        fontSize: theme.typography.caption,\n      },\n      \"& .MuiInputBase-input\": {\n        fontSize: theme.typography.body2,\n      },\n    },\n    fileUpload: {\n      marginTop: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      paddingTop: theme.spacing(1),\n      gap: theme.spacing(1),\n      //  alignItems: \"left\",\n    },\n    fileName: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(2),\n    },\n  };\n  const [aiType, setAIType] = useState(AI_SCANNING_FREQUENCY[0].value);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      accountId: accountDetails.accountId,\n      accountDescription: accountDetails.accountDescription,\n      externalId: externalId,\n      awsRoleARN: accountDetails.awsRoleARN,\n      dataScanFrequency: dataScanFrequency,\n      aiType: aiType,\n    },\n\n    validationSchema: Yup.object().shape({\n      accountId: Yup.string()\n        .max(12, \"Account Id should be 12 digit\")\n        .min(12, \"Account Id should be 12 digit\")\n        .matches(\"^[0-9]\", \"Account Id should be numeric.\")\n        .required(\"Please enter valid Account Id\"),\n      externalId: Yup.string().required(\"Please enter External Id.\"),\n      // awsRoleARN: Yup.string().required(\"Please enter Role Arn.\"),\n    }),\n    onSubmit: (values) => {\n      if (isDataView) {\n        delete values.aiType;\n      } else {\n        delete values.dataScanFrequency;\n      }\n      addAccount(values);\n      // nextStep(false);\n    },\n  });\n\n  useEffect(() => {\n    setEnableBtn(accountDetails.accountId && accountDetails.externalId);\n  }, []);\n\n  const createGCPAccount = async () => {\n    if (\n      gcpDetails.accountId !== \"\" &&\n      gcpDetails.serviceAccountKey !== \"\" &&\n      gcpDetails.scanScope !== \"\"\n    ) {\n      const resp = await dispatch(\n        createAccountAsync({\n          id: gcpDetails.accountId,\n          type: selectedAccount,\n          accountDescription: \"Account desc\",\n          serviceAccountKey: gcpDetails.serviceAccountKey,\n          scanScope: gcpDetails.scanScope,\n          userId: getUserId(),\n        })\n      );\n      if (resp && resp.payload && !resp.payload.err) {\n        handleStepOneModal();\n        refreshAccounts();\n        Toaster(TOASTER_TYPES.SUCCESS, \"Account added successfully.\");\n      } else {\n        Toaster(\n          TOASTER_TYPES.ERROR,\n          resp.payload?.err?.message ||\n            \"Please enter a valid Account Id and try again\"\n        );\n      }\n      setEmptyValue({\n        accountIdMsg: \"\",\n        apiKeyMsg: \"\",\n        scanScopeMsg: \"\",\n      });\n    } else {\n      setEmptyValue({\n        accountIdMsg:\n          gcpDetails.accountId === \"\" ? \"Please enter Account ID\" : \"\",\n        apiKeyMsg:\n          gcpDetails.serviceAccountKey === \"\"\n            ? \"Please select a JSON File\"\n            : \"\",\n        scanScopeMsg:\n          gcpDetails.scanScope === \"\" ? \"Please select a value\" : \"\",\n      });\n    }\n  };\n\n  const VisuallyHiddenInput = styled(\"input\")({\n    clip: \"rect(0 0 0 0)\",\n    clipPath: \"inset(50%)\",\n    height: \"100%\",\n    overflow: \"hidden\",\n    position: \"absolute\",\n    bottom: 0,\n    left: 0,\n    whiteSpace: \"nowrap\",\n    width: \"100%\",\n    zIndex: 99,\n  });\n\n  const ScanScopeOptions = [\n    {\n      label: \"AI-only\",\n      value: \"ai-scan\",\n    },\n    {\n      label: \"Full Cloud\",\n      value: \"full-scan\",\n    },\n  ];\n\n  return (\n    <div>\n      <form onSubmit={formik.handleSubmit}>\n        {selectedAccount === ACCOUNT_TYPES.AWS ? (\n          <div className=\"modal-body\">\n            {loading && (\n              <img\n                alt=\"Modal loading\"\n                src=\"static/img/loader-circle.svg\"\n                className=\"modal-loading-img\"\n              ></img>\n            )}\n            <label className=\"label\">Account Id</label>\n            <span className=\"mandatory-icon\">*</span>\n            <div className=\"row\">\n              <div className=\"col col-lg-12\">\n                <input\n                  type=\"number\"\n                  id=\"accountId\"\n                  placeholder=\"12-Digit AWS Account Id\"\n                  name=\"accountId\"\n                  maxLength={\"12\"}\n                  minLength={\"12\"}\n                  className=\"form-control\"\n                  onWheel={(event) => {\n                    event.target.blur();\n                  }}\n                  onInput={(event) => {\n                    if (!event.target.value.length) {\n                      document.getElementById(\"accountId\").value = \"\";\n                    }\n                  }}\n                  onKeyDown={(event) => {\n                    if (\n                      event.keyCode === 38 ||\n                      event.keyCode === 40 ||\n                      event.keyCode === 69\n                    ) {\n                      event.preventDefault();\n                      return;\n                    }\n                  }}\n                  onChange={(e) => {\n                    if (e.target.value.length === 13) {\n                      return;\n                    }\n                    if (e.target.value === \"e\") {\n                      return;\n                    }\n                    formik.setFieldValue(\"accountId\", e.target.value?.trim());\n                    setEnableBtn(true);\n                  }}\n                  value={formik.values.accountId}\n                  onBlur={formik.handleBlur}\n                />\n                {formik.errors.accountId && (\n                  <div className=\"error-message\">{formik.errors.accountId}</div>\n                )}\n              </div>\n            </div>\n            <label className=\"label\">Account Description</label>\n            {/* <span className=\"mandatory-icon\">*</span> */}\n            <div className=\"row mt-2\">\n              <div className=\"col col-lg-12\">\n                <textarea\n                  className=\"form-control\"\n                  placeholder=\"Account Description\"\n                  name=\"accountDescription\"\n                  id=\"accountDescription\"\n                  onChange={(e) => {\n                    formik.setFieldValue(\"accountDescription\", e.target.value);\n                  }}\n                  value={formik.values.accountDescription}\n                ></textarea>\n              </div>\n            </div>\n            <label className=\"label\">External ID</label>\n            <span className=\"mandatory-icon\">*</span>\n            <div className=\"row\">\n              <div className=\"col col-lg-12\">\n                <input\n                  type=\"text\"\n                  id=\"externalId\"\n                  placeholder=\"External Id\"\n                  name=\"externalId\"\n                  className=\"form-control\"\n                  onChange={(e) => {\n                    formik.setFieldValue(\"externalId\", e.target.value?.trim());\n                    setEnableBtn(true);\n                  }}\n                  value={formik.values.externalId}\n                  onBlur={formik.handleBlur}\n                />\n                {formik.errors.externalId && formik.touched.externalId && (\n                  <div className=\"error-message\">\n                    {formik.errors.externalId}\n                  </div>\n                )}\n              </div>\n              <div className=\"col-lg-12\">\n                <label className=\"label\">\n                  The External ID has been auto generated for you. You can\n                  change the ID to a custom ID.\n                </label>\n              </div>\n            </div>\n            <label className=\"label\">Region</label>\n            <div className=\"row\">\n              <div className=\"col col-lg-12\">\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <select\n                      className=\"form-control\"\n                      value={selectedRegion}\n                      onChange={(value) => {\n                        setSelectedRegion(value.value);\n                      }}\n                    >\n                      <option disabled>Select Region</option>\n                      <option value={\"us-east-1\"}>us-east-1</option>\n                      {/* {regionList.map((region, index) => (\n                      <option key={index} value={region.value}>\n                        {region.value}\n                      </option>\n                    ))} */}\n                    </select>\n                  </div>\n                </div>\n              </div>\n            </div>\n            {isDataView ? (\n              <>\n                <label className=\"label mt-2\">Data Scanning Frequency</label>\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <div className=\"row\">\n                      <div className=\"col col-lg-12\">\n                        <select\n                          className=\"form-control\"\n                          value={formik.values.dataScanFrequency}\n                          onBlur={formik.handleBlur}\n                          onChange={(event) => {\n                            setDataScanFrequency(event.target.value);\n                            formik.setFieldValue(\n                              \"dataScanFrequency\",\n                              event.target.value\n                            );\n                          }}\n                        >\n                          <option disabled>\n                            Select Data Scanning Frequency\n                          </option>\n                          {DATA_SCANNING_FREQUENCY.map((frequency, index) => (\n                            <option key={index} value={frequency.value}>\n                              {frequency.label}\n                            </option>\n                          ))}\n                        </select>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n              </>\n            ) : (\n              <>\n                <label className=\"label mt-2\">AI Scan</label>\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <div className=\"row\">\n                      <div className=\"col col-lg-12\">\n                        <select\n                          className=\"form-control\"\n                          value={formik.values.aiType}\n                          onBlur={formik.handleBlur}\n                          onChange={(event) => {\n                            setAIType(event.target.value);\n                            formik.setFieldValue(\"aiType\", event.target.value);\n                          }}\n                        >\n                          <option disabled>Select AI Scan</option>\n                          {AI_SCANNING_FREQUENCY.map((frequency, index) => (\n                            <option key={index} value={frequency.value}>\n                              {frequency.label}\n                            </option>\n                          ))}\n                        </select>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n              </>\n            )}\n            <hr></hr>\n          </div>\n        ) : selectedAccount === ACCOUNT_TYPES.GCP ? (\n          <Box sx={styles.gcpForm}>\n            <Typography variant=\"caption\">Account Details</Typography>\n            <FormControl variant=\"standard\">\n              <TextField\n                error={emptyValue.accountIdMsg !== \"\"}\n                helperText={emptyValue.accountIdMsg}\n                label=\"Project ID\"\n                variant=\"standard\"\n                value={gcpDetails.accountId}\n                sx={styles.textField}\n                onChange={(event) => {\n                  setGcpDetails({\n                    ...gcpDetails,\n                    accountId: event.target.value,\n                  });\n                }}\n              />\n            </FormControl>\n            <FormControl variant=\"standard\">\n              {/*<TextField\n              error={emptyValue.apiKeyMsg !== \"\"}\n              helperText={emptyValue.apiKeyMsg}\n              label=\"API Key\"\n              variant=\"standard\"\n              sx={styles.textField}\n              onChange={(event) =>\n                setGcpDetails({\n                  ...gcpDetails,\n                  apiKey: event.target.value,\n                })\n              }\n            />*/}\n              <Box sx={styles.fileUpload}>\n                <Typography variant=\"caption\">Choose JSON File</Typography>\n                <Box sx={styles.fileName}>\n                  <Button\n                    size=\"small\"\n                    variant=\"outlined\"\n                    startIcon={<CloudUploadIcon />}\n                    component=\"label\"\n                  >\n                    Select File\n                    <VisuallyHiddenInput\n                      type=\"file\"\n                      accept=\".json\"\n                      onChange={async ({ target }) => {\n                        const toBase64 = async (file) =>\n                          new Promise((resolve, reject) => {\n                            const reader = new FileReader();\n                            reader.readAsDataURL(file);\n                            reader.onload = () => resolve(reader.result);\n                            reader.onerror = (error) => reject(error);\n                          });\n                        setFileName(target.files[0].name);\n                        const file = await toBase64(target.files[0]);\n                        setGcpDetails({\n                          ...gcpDetails,\n                          serviceAccountKey: file.split(\",\")[1],\n                        });\n                      }}\n                    />\n                  </Button>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    {fileName || \"No File Selected\"}\n                  </Typography>\n                </Box>\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.critical.main}\n                >\n                  {emptyValue?.apiKeyMsg}\n                </Typography>\n              </Box>\n            </FormControl>\n            <Select\n              label=\"Scan Scope\"\n              fullWidth={true}\n              variant=\"standard\"\n              value={gcpDetails?.scanScope}\n              options={ScanScopeOptions}\n              onChange={(event) =>\n                setGcpDetails({\n                  ...gcpDetails,\n                  scanScope: event.target.value,\n                })\n              }\n              sx={{\n                width: \"100%\",\n              }}\n            />\n          </Box>\n        ) : (\n          <></>\n        )}\n\n        <div className=\"modal-footer\">\n          <div className=\"row\">\n            <div className=\"col p-0\">\n              <div className=\"float-left\">\n                <Button\n                  onClick={() => {\n                    backStep(false);\n                  }}\n                  variant=\"contained\"\n                  type=\"submit\"\n                  disabled={loading}\n                >\n                  Back: Select Account\n                </Button>\n              </div>\n              <div className=\"float-right\">\n                {selectedAccount === ACCOUNT_TYPES.AWS ? (\n                  <Button\n                    variant=\"contained\"\n                    type=\"submit\"\n                    disabled={!formik.isValid || !enableBtn}\n                  >\n                    Onboard Account\n                  </Button>\n                ) : (\n                  <Button\n                    onClick={createGCPAccount}\n                    variant=\"contained\"\n                    disabled={loading}\n                  >\n                    Onboard Account\n                  </Button>\n                )}\n\n                <span className=\"separator mx-3\"></span>\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => {\n                    handleStepOneModal(false);\n                  }}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </div>\n        </div>\n      </form>\n\n      {lunchStackModal ? (\n        <InfoModal handleModal={() => setLunchStackModal(false)} />\n      ) : (\n        \"\"\n      )}\n    </div>\n  );\n};\n\nexport default AccountDetailStep;\n","import { ACCOUNT_TYPES } from \"./Constants\";\n\nexport const accountTypes = [\n  {\n    type: ACCOUNT_TYPES.GCP,\n    image: \"/static/img/connect/google-icon.svg\",\n    title: \"Google Cloud\",\n  },\n  {\n    type: ACCOUNT_TYPES.AWS,\n    image: \"/static/img/connect/amazon-icon.svg\",\n    title: \"Amazon AWS\",\n  },\n  {\n    type: ACCOUNT_TYPES.AZURE,\n    image: \"/static/img/connect/azure-icon.svg\",\n    title: \"Microsoft Azure\",\n  },\n];\n","import \"./AddAccountModal.scss\";\nimport React from \"react\";\nimport { accountTypes } from \"../../../utils/accountsHelper\";\nimport { ACCOUNT_TYPES } from \"../../../utils/Constants\";\nimport Button from \"../../common/Button\";\n\nconst SelectAccountStep = ({\n  handleStepOneModal,\n  handleSelected,\n  selected,\n  nextStep,\n}) => {\n  const getClassNameForSelection = (accountType) => {\n    return `${\n      selected === accountType ? \"modal-card-selected\" : \"modal-card\"\n    } text-center`;\n  };\n\n  return (\n    <>\n      <div className=\"modal-body\">\n        <div className=\"row mb-5\">\n          <div className=\"col d-flex justify-content-center align-items-center flex-wrap\">\n            {accountTypes.map((account, index) => (\n              <div\n                onClick={\n                  () => handleSelected(account.type)\n                  // account.type == ACCOUNT_TYPES.AWS\n                  //   ? handleSelected(account.type)\n                  //   : null\n                }\n                className={getClassNameForSelection(account.type)}\n                key={index}\n                style={\n                  account.type !== ACCOUNT_TYPES.AWS\n                    ? { opacity: 0.7, cursor: \"default\" }\n                    : {}\n                }\n              >\n                <img src={account.image} className=\"modal-card-img mt-4 mb-2\" />\n              </div>\n            ))}\n          </div>\n        </div>\n        <div className=\"float-right mt-5\">\n          <Button\n            variant=\"contained\"\n            type=\"submit\"\n            onClick={() => {\n              nextStep();\n            }}\n          >\n            Next: Account Info\n          </Button>\n          <span className=\"separator mx-3\"></span>\n\n          <Button\n            variant=\"outlined\"\n            type=\"button\"\n            onClick={() => {\n              handleStepOneModal(false);\n            }}\n          >\n            Cancel\n          </Button>\n        </div>\n      </div>\n    </>\n  );\n};\n\nexport default SelectAccountStep;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n  addAccountAsync,\n  generateExternalIdAsync,\n  getRegionListAsync,\n} from \"../../../redux/slices/accountSlice\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport {\n  ACCOUNT_TYPES,\n  FREQUENCY,\n  WIZARD_STEPS,\n} from \"../../../utils/Constants\";\nimport { getCustomerRef, getUserId } from \"../../../utils/SessionHelper\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport AccountDetailStep from \"./AccountDetailStep\";\nimport VerifyAccountStep from \"./AccountVerifyStep\";\nimport \"./AddAccountModal.scss\";\nimport SelectAccountStep from \"./SelectAccountStep\";\n\n/**\n * This function provides the header for current step.\n * @param {number} currentStep - Current step number\n * @returns - the header for current step.\n */\nconst getCurrentStepHeading = (currentStep) => {\n  switch (currentStep) {\n    case WIZARD_STEPS.SELECT_ACCOUNT:\n      return <b>Add Account</b>;\n    case WIZARD_STEPS.ACCOUNT_DETAILS:\n      return <b>Add AWS Account</b>;\n    case WIZARD_STEPS.VERIFY_ACCOUNT:\n      return <b>Add AWS Account</b>;\n    default:\n      return null;\n  }\n};\n\n/**\n * This function provides the title for current step.\n * @param {number} currentStep - Current step number\n * @returns - the title for current step.\n */\nconst getCurrentStepTitle = (currentStep) => {\n  switch (currentStep) {\n    case WIZARD_STEPS.SELECT_ACCOUNT:\n      return <b>Select the type of account to add</b>;\n    case WIZARD_STEPS.ACCOUNT_DETAILS:\n      return <b>Enter Account Details</b>;\n    case WIZARD_STEPS.VERIFY_ACCOUNT:\n      return <b>Verify Connection</b>;\n    default:\n      return null;\n  }\n};\n\n// Functional component for Add Account.\nconst AddAccountModal = ({ handleModal, refreshAccounts }) => {\n  const dispatch = useDispatch();\n  const [selectedAccount, setSelectedAccount] = useState(ACCOUNT_TYPES.AWS);\n  const [currentStep, setCurrentStep] = useState(WIZARD_STEPS.SELECT_ACCOUNT);\n  const [externalId, setExternalId] = useState(\"\");\n  const [regionList, setRegionList] = useState([]);\n  const [accountDetails, setAccountDetails] = useState({\n    accountId: \"\",\n    accountDescription: \"\",\n    externalId: \"\",\n    awsRoleARN: \"\",\n    scanFrequency: \"\",\n    dataScanFrequency: \"\",\n  });\n\n  const [showLoader, setShowLoader] = useState(false);\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  useEffect(() => {\n    if (selectedAccount === ACCOUNT_TYPES.GCP) {\n      setAccountDetails({\n        accountId: \"\",\n        accessKey: \"\",\n        scanScope: \"\",\n      });\n    }\n  }, [selectedAccount]);\n\n  const addAccount = async (accountDetails) => {\n    const payload = {\n      id: accountDetails.accountId,\n      scanFrequency: accountDetails.scanFrequency,\n      dataScanFrequency: accountDetails.dataScanFrequency,\n      region: accountDetails.selectedRegion,\n      externalId: accountDetails.externalId,\n      accountDescription: accountDetails.accountDescription,\n      userId: getUserId(),\n      type: selectedAccount,\n      aiType: accountDetails?.aiType,\n    };\n\n    dispatch(showLoading());\n    const resp = await dispatch(addAccountAsync(payload));\n    dispatch(hideLoading());\n    if (resp && resp.payload && !resp.payload.err) {\n      handleModal(false);\n      refreshAccounts();\n      Toaster(TOASTER_TYPES.SUCCESS, \"Account added successfully.\");\n      window.open(resp.payload.data);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message ||\n          \"Please enter a valid Account Id and try again\"\n      );\n    }\n  };\n\n  const generateExtId = async () => {\n    const resp = await dispatch(generateExternalIdAsync());\n    if (resp && resp.payload?.ExternalId) {\n      setExternalId(resp.payload?.ExternalId);\n    }\n  };\n  const getRegionList = async () => {\n    const resp = await dispatch(getRegionListAsync());\n    var respList = resp.payload?.msg;\n    var updatedRegionList = [];\n    respList.map((val) => {\n      updatedRegionList.push({ label: val, value: val });\n    });\n    if (resp && resp.payload?.msg) {\n      setRegionList(updatedRegionList);\n    }\n  };\n\n  useEffect(() => {\n    generateExtId();\n    getRegionList();\n  }, []);\n\n  return (\n    <div id=\"add-account\">\n      <div\n        className=\"modal fade show\"\n        id=\"exampleModalLong\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"exampleModalLongTitle\"\n        style={{\n          display: \"block\",\n          paddingRight: \"8px\",\n          background: \"rgba(0, 0, 0, 0.5)\",\n        }}\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content p-4\">\n            <div className=\"modal-header \">\n              <div className=\"header-text\">Add New Account</div>\n              <div className=\"row m-0 stepper mt-4\">\n                <div\n                  className={\n                    currentStep === WIZARD_STEPS.SELECT_ACCOUNT\n                      ? \"col-md-6 p-0 pl-3 col-lg-6 step\"\n                      : \"col-md-6 p-0 pl-3 col-lg-6 step-disable\"\n                  }\n                >\n                  <div className=\"step-number mb-3\">1</div>\n                  <div className=\"step-title mb-2\">\n                    Select the type of account{\" \"}\n                  </div>\n                </div>\n                <div\n                  className={\n                    currentStep === WIZARD_STEPS.ACCOUNT_DETAILS\n                      ? \"col-md-6 p-0 pl-3 col-lg-6 step\"\n                      : \"col-md-6 p-0 pl-3 col-lg-6 step-disable\"\n                  }\n                >\n                  <div\n                    className={\n                      currentStep === WIZARD_STEPS.ACCOUNT_DETAILS\n                        ? \"step-number mb-3\"\n                        : \"step-number-disable mb-3\"\n                    }\n                  >\n                    2\n                  </div>\n                  <div\n                    className={\n                      currentStep === WIZARD_STEPS.ACCOUNT_DETAILS\n                        ? \"step-title\"\n                        : \"step-title-disable\"\n                    }\n                  >\n                    Enter account details{\" \"}\n                  </div>\n                </div>\n              </div>\n            </div>\n            {currentStep === WIZARD_STEPS.SELECT_ACCOUNT ? (\n              <SelectAccountStep\n                selected={selectedAccount}\n                handleStepOneModal={() => {\n                  setSelectedAccount(\"\");\n                  handleModal(false);\n                }}\n                nextStep={() => {\n                  setCurrentStep(currentStep + 1);\n                }}\n                handleSelected={(val) => setSelectedAccount(val)}\n              />\n            ) : (\n              \"\"\n            )}\n\n            {currentStep === WIZARD_STEPS.ACCOUNT_DETAILS ? (\n              <AccountDetailStep\n                accountDetails={accountDetails}\n                selectedAccount={selectedAccount}\n                externalId={externalId}\n                regionList={regionList}\n                refreshAccounts={refreshAccounts}\n                addAccount={addAccount}\n                handleStepOneModal={() => {\n                  setSelectedAccount(\"\");\n                  handleModal(false);\n                }}\n                backStep={() => {\n                  setCurrentStep(currentStep - 1);\n                }}\n                loading={loading}\n              />\n            ) : (\n              \"\"\n            )}\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default AddAccountModal;\n","export default __webpack_public_path__ + \"static/media/delete-account-icon.e878e746.svg\";","export default __webpack_public_path__ + \"static/media/popout-white.7cb2a179.svg\";","const getRandomIssueList = (noOfItem: number) => {\n  const riskLevels = ['Critical', 'High', 'Low'];\n  const ticketStatuses = ['notCreated', 'created'];\n\n  function getRandomElementFromArray(array: any) {\n    return array[Math.floor(Math.random() * array.length)];\n  }\n\n  function generateRandomDate() {\n    const start = new Date(2023, 0, 1);\n    const end = new Date(2023, 11, 31);\n    return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));\n  }\n\n  function generateRandomIssueName() {\n    const randomStrings = [\n      'C&CActivity',\n      'SecurityBreach',\n      'DataLeak',\n      'UnauthorizedAccess',\n      'NetworkAttack'\n    ];\n    return `Backdoor:EC2-${getRandomElementFromArray(randomStrings)}`;\n  }\n\n  const dataArray: Array<{\n    id: number;\n    risk: string;\n    issueName: string;\n    issueId: string;\n    issueType: string;\n    impactedDataStore: string;\n    impactedDataStoreId: string;\n    lastOccur: string;\n    ticketStatus: string;\n    remediation?: string;\n  }> = [];\n\n  for (let i = 0; i < noOfItem; i++) {\n    const data = {\n      id: i,\n      risk: getRandomElementFromArray(riskLevels),\n      issueName: generateRandomIssueName(),\n      issueId: 'aws-fsbp-EC2.8',\n      issueType: 'Misconfigurations/aws',\n      impactedDataStore: 'Misconfigurations/aws RDS',\n      impactedDataStoreId: 'RDS.2.RDS',\n      lastOccur: generateRandomDate().toISOString(),\n      ticketStatus: getRandomElementFromArray(ticketStatuses),\n      remediation:\n        'Restrict Public Access : Ensure that the RDS instance is not publicly accessible and can only be accessed from trusted network sources or authorized IP addresses. '\n    };\n    dataArray.push(data);\n  }\n\n  return dataArray;\n};\n\nexport default getRandomIssueList;\n","import { createContext, useContext, useState } from \"react\";\nimport {\n  aiDataStoreTabs,\n  dataStoreTypes,\n} from \"../components/constants/constants\";\nimport getGeoDistribution from \"../mock-api/models/geo-distribution\";\nimport getRandomIssueList from \"../mock-api/models/issue-list\";\nimport { policyDetail } from \"../mock-api/models/policy-details\";\nimport { axiosGet, axiosPost } from \"../services/apiClient\";\nimport { axiosDenaliPrivate, axiosPrivate } from \"../utils/ApiHandler\";\nimport { Toaster, TOASTER_TYPES } from \"../utils/toaster\";\n\nexport const AppContext = createContext<any | null>(null);\n\nconst AppContextProvider = ({ children }: { children: JSX.Element }) => {\n  // Dashboard view state (Data/AI)\n  const [dashboardViewLense, setDashboardViewLense] = useState(\"AI\");\n\n  // Impacted data stores states\n  const [impactedDataStores, setImpactedDataStores] = useState({});\n  const [\n    isFetchingImpactedStoresData,\n    setIsFetchingImpactedStoresData,\n  ] = useState(false);\n\n  // Ticket status data states\n  const [ticketStatusData, setTicketStatusData] = useState({});\n  const [isFetchingTicketStatusData, setIsFetchingTicketStatusData] = useState(\n    false\n  );\n\n  // Resources data states\n  const [resourcesData, setResourcesData] = useState({});\n  const [isFetchingResourcesData, setIsFetchingResourcesData] = useState(false);\n\n  // Policies violated data states\n  const [policyCategories, setPolicyCategories] = useState({});\n  const [isFetchingPolicyCategories, setIsFetchingPolicyCategories] = useState(\n    false\n  );\n\n  const [policyData, setPolicyData] = useState({});\n  const [isFetchingPolicyData, setIsFetchingPolicyData] = useState(false);\n\n  // Data stores violation data states\n  const [dataStoreViolation, setDataStoreViolation] = useState<\n    Array<{ type: string; data: [] }>\n  >([]);\n  const [isFetchingStoreViolation, setIsFetchingStoreViolation] = useState(\n    false\n  );\n\n  // Cloud risk data states\n  const [cloudRiskData, setCloudRiskData] = useState([]);\n  const [isFetchingCloudRiskData, setIsFetchingCloudRiskData] = useState(false);\n\n  // Risk score data states\n  const [riskScore, setRiskScore] = useState({});\n  const [isFetchingRiskScoreData, setIsFetchingRiskScoreData] = useState(false);\n\n  // Details Drawer\n  const [\n    openPolicyStoreDetailDrawer,\n    setOpenPolicyStoreDetailDrawer,\n  ] = useState(false);\n  const [drawerData, setDrawerData] = useState();\n\n  // Create Issue Drawer\n  const [openCreateIssueDrawer, setOpenCreateIssueDrawer] = useState(false);\n  const [currentSelectedIssue, setCurrentSelectedIssue] = useState();\n\n  // Policy Store Details\n  const [policyStoreDetails, setPolicyStoreDetails] = useState();\n  const [\n    isFetchingPolicyStoreDetails,\n    setIsFetchingPolicyStoreDetails,\n  ] = useState(false);\n\n  // Issues List\n  const [issues, setIssues] = useState();\n  const [isFetchingIssues, setIsFetchingIssues] = useState(false);\n\n  // Selected policy-store for issueDetails\n  const [selectedPolicy, setSelectedPolicy] = useState();\n\n  // All policies\n  const [allPolicies, setAllPolicies] = useState([]);\n  const [isFetchingAllPolicies, setIsFetchingAllPolicies] = useState(false);\n\n  // Selected issues\n  const [selectedIssues, setSelectedIssues] = useState<Array<number>>([]);\n\n  // Risk trends\n  const [riskTrends, setRiskTrends] = useState([]);\n  const [isFetchingRiskTrends, setIsFetchingRiskTrends] = useState(false);\n\n  //Achievements\n  const [achievements, setAchievements] = useState({});\n  const [isFetchingAchievements, setIsFetchingAchievements] = useState(false);\n\n  //Geo Distribution\n  const [geoDistribution, setGeoDistribution] = useState([]);\n  const [isFetchingGeoDistribution, setIsFetchingGeoDistribution] = useState(\n    false\n  );\n\n  // Insights drawer\n  const [openInsightsDrawer, setOpenInsightsDrawer] = useState(false);\n\n  // Data Distribution All Regions Overview\n  const [overviewAllRegions, setOverviewAllRegions] = useState([]);\n  const [\n    isFetchingAllRegionsOverview,\n    setIsFetchingAllRegionsOverview,\n  ] = useState(false);\n\n  // Data Distribution for selected region\n  const [overviewForSelectedRegion, setOverviewForSelectedRegion] = useState(\n    []\n  );\n  const [\n    isFetchingSelectedRegionOverview,\n    setIsFetchingSelectedRegionOverview,\n  ] = useState(false);\n\n  // Policy violations from API\n  const [policyViolations, setPolicyViolations] = useState([]);\n  const [isFetchingPolicyViolations, setIsFetchingPolicyViolations] = useState(\n    false\n  );\n\n  // Response notify on slack bulk action\n  const [sendNotificationOnSlack, setSendNotificationOnSlack] = useState([]);\n  const [isSendingNotification, setIsSendingNotifcation] = useState(false);\n\n  // Create bulk ticket\n  const [jiraTicketData, setJiraTicketData] = useState({});\n  const [isFetchingJiraTicket, setIsFetchingJiraTicket] = useState(false);\n\n  const [singleJiraTicket, setSingleJiraTicket] = useState({});\n  const [isFetchingSingleJiraTicket, setIsFetchingSingleJiraTicket] = useState(\n    false\n  );\n\n  // Modify policy details\n  const [modifyPolicyDetails, setModifyPolicyDetails] = useState({});\n  const [\n    isFetchingModifyPolicyDetails,\n    setIsFetchingModifyPolicyDetails,\n  ] = useState(false);\n\n  // AI Summary data\n  const [aiSummary, setAISummary] = useState({});\n\n  /**\n   * @params none\n   * @returns impacted data stores data\n   */\n  const getImpactedStoresData = () => {\n    setIsFetchingImpactedStoresData(true);\n    axiosDenaliPrivate\n      .post(\"api/v1/datastore/summary\", {\n        customerId: localStorage.getItem(\"customerId\"),\n      })\n      .then((res) => {\n        setImpactedDataStores(res.data);\n        setResourcesData(res.data);\n        setIsFetchingImpactedStoresData(false);\n      })\n      .catch((error) => {\n        setIsFetchingImpactedStoresData(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * @params none\n   * @returns ticket status data\n   */\n  const getTicketStatusData = () => {\n    setIsFetchingTicketStatusData(true);\n    axiosDenaliPrivate\n      .post(\"api/v1/tickets/stats\", {\n        customerId: localStorage.getItem(\"customerId\"),\n      })\n      .then((res) => {\n        setTicketStatusData(res.data);\n        setIsFetchingTicketStatusData(false);\n      })\n      .catch((error) => {\n        setIsFetchingTicketStatusData(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * @params none\n   * @returns cloud resources data\n   */\n  // const getResourcesData = () => {\n  //   setIsFetchingResourcesData(true);\n  //   axiosGet('api/resources')\n  //     .then((res) => {\n  //       setResourcesData(res.data);\n  //       setIsFetchingResourcesData(false);\n  //     })\n  //     .catch((error) => {\n  //       setIsFetchingResourcesData(false);\n  //       console.log({ error });\n  //     });\n  // };\n\n  /**\n   * @params none\n   * @returns policy category\n   */\n  const getViolatedPolicyCategory = (payload) => {\n    setIsFetchingPolicyCategories(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/data/policyviolations/predefined\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setPolicyCategories(res.data);\n        setIsFetchingPolicyCategories(false);\n      })\n      .catch((error) => {\n        setIsFetchingPolicyCategories(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * get all policies\n   */\n  const getAllPolicies = (payload) => {\n    setIsFetchingAllPolicies(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/data/policyviolations\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setAllPolicies(res.data);\n        setIsFetchingAllPolicies(false);\n      })\n      .catch((error) => {\n        setIsFetchingAllPolicies(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * @params none\n   * @returns policy violation data\n   */\n  const getViolatedPolicyData = (payload) => {\n    setIsFetchingPolicyData(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/policy/filteredbrief\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setPolicyData(res.data?.policies);\n        setIsFetchingPolicyData(false);\n      })\n      .catch((error) => {\n        setIsFetchingPolicyData(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * @params none\n   * @returns data store violation data\n   */\n  const getDataStoreViolation = async () => {\n    setIsFetchingStoreViolation(true);\n    const dataStoreStats: { type: string; data: [] }[] = [];\n    for (const item of dataStoreTypes) {\n      await axiosDenaliPrivate\n        .post(\"/api/v1/customer/datastore/stats\", {\n          customerId: localStorage.getItem(\"customerId\"),\n          datastoreType: item.filter,\n        })\n        .then((res: any) => {\n          dataStoreStats.push({\n            type: item?.label,\n            data: res.data?.datastores?.types,\n          });\n        })\n        .catch((error) => {\n          setIsFetchingStoreViolation(false);\n          console.log({ error });\n        });\n    }\n    setIsFetchingStoreViolation(false);\n    setDataStoreViolation(dataStoreStats);\n  };\n\n  /**\n   * returns AI/LLM DS\n   */\n  const getAIDatastores = async () => {\n    setIsFetchingStoreViolation(true);\n    const dataStoreStats: { type: string; data: [] }[] = [];\n    for (const item of aiDataStoreTabs) {\n      await axiosDenaliPrivate\n        .post(\"/api/v1/datastores\", {\n          customerId: localStorage.getItem(\"customerId\"),\n          type: \"llm\",\n          llmStatus: item?.filter,\n        })\n        .then((res: any) => {\n          dataStoreStats.push({\n            type: item?.label,\n            data: res.data?.data,\n          });\n        })\n        .catch((error) => {\n          setIsFetchingStoreViolation(false);\n          console.log({ error });\n        });\n    }\n    setIsFetchingStoreViolation(false);\n    setDataStoreViolation(dataStoreStats);\n  };\n\n  /**\n   *\n   * @param noOfHops\n   * @returns cloud risk data on hop\n   */\n  const getCloudRiskData = () => {\n    setIsFetchingCloudRiskData(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/data/cloudissues\", {\n        customerId: localStorage.getItem(\"customerId\"),\n      })\n      .then((res) => {\n        setCloudRiskData(res.data);\n        setIsFetchingCloudRiskData(false);\n      })\n      .catch((error) => {\n        setIsFetchingCloudRiskData(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * @params none\n   * @returns risk score data\n   */\n  const getRiskScoreData = () => {\n    setIsFetchingRiskScoreData(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/issues/uberscore/get\", {\n        customerId: localStorage.getItem(\"customerId\"),\n      })\n      .then((res: any) => {\n        setRiskScore(res?.data);\n        setIsFetchingRiskScoreData(false);\n      })\n      .catch((error) => {\n        setIsFetchingRiskScoreData(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * @params none\n   * @returns policy details\n   */\n  const getPolicyDetails = (payload) => {\n    setIsFetchingPolicyStoreDetails(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/policy/filteredbrief\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setPolicyStoreDetails(\n          res?.data?.policies.sort((a, b) => b.dsCount - a.dsCount)\n        );\n        setIsFetchingPolicyStoreDetails(false);\n      })\n      .catch((error) => {\n        setIsFetchingPolicyStoreDetails(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   * @param policyDetail {policy-store-type, id}\n   * @returns policy-store-details\n   */\n  const getIssues = (data: any) => {\n    setIsFetchingIssues(true);\n    let res: any = [];\n    if (data.policyId !== undefined) {\n    }\n    res = getRandomIssueList(Math.floor(Math.random() * 41) + 10); //generate reandom number between 10-50\n    setIssues(res);\n    setIsFetchingIssues(false);\n  };\n\n  /**\n   *\n   * @param none\n   * @returns risk trends data\n   */\n  const getRiskTrends = () => {\n    setIsFetchingRiskTrends(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/customer/trends\", {\n        customerId: localStorage.getItem(\"customerId\"),\n      })\n      .then((res) => {\n        setRiskTrends(res.data);\n        setIsFetchingRiskTrends(false);\n      })\n      .catch((error) => {\n        setIsFetchingRiskTrends(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   *\n   * @params none\n   * @returns achievements data\n   */\n  const getAchievements = () => {\n    setIsFetchingAchievements(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/customer/achievements\", {\n        customerId: localStorage.getItem(\"customerId\"),\n      })\n      .then((res) => {\n        setAchievements(res.data);\n        setIsFetchingAchievements(false);\n      })\n      .catch((error) => {\n        setIsFetchingAchievements(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   *\n   * @params none\n   * @returns geo distribution data\n   */\n  const getGeoDistributionData = (payload) => {\n    setIsFetchingGeoDistribution(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/customer/datastore/regions\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setGeoDistribution(res.data);\n        setIsFetchingGeoDistribution(false);\n      })\n      .catch((error) => {\n        setIsFetchingGeoDistribution(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   *\n   * @params none\n   * @returns overview data for all regions\n   *\n   */\n  const getSensitiveData = (payload) => {\n    setIsFetchingAllRegionsOverview(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/datastore/sensitiveinfo\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setOverviewAllRegions(res.data);\n        setIsFetchingAllRegionsOverview(false);\n      })\n      .catch((error) => {\n        setIsFetchingAllRegionsOverview(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   *\n   * @params region\n   * @returns overview for selected region\n   *\n   */\n  const getRegionsOverview = (payload) => {\n    setIsFetchingSelectedRegionOverview(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/datastore/sensitiveinfo\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setOverviewForSelectedRegion(res.data);\n        setIsFetchingSelectedRegionOverview(false);\n      })\n      .catch((error) => {\n        setIsFetchingSelectedRegionOverview(false);\n        console.log({ error });\n      });\n  };\n\n  const getPolicyViolations = (requestBody: any) => {\n    setIsFetchingPolicyViolations(true);\n    const headers = {\n      ...requestBody,\n      customerId: localStorage.getItem(\"customerId\"),\n      limit: 10,\n    };\n    axiosDenaliPrivate\n      .post(\"/api/v1/policyviolationinstance\", headers)\n      .then((res) => {\n        setPolicyViolations(res.data);\n        setIsFetchingPolicyViolations(false);\n      })\n      .catch((error) => {\n        setIsFetchingPolicyViolations(false);\n        console.log({ error });\n      });\n  };\n\n  /**\n   *\n   * @params policy violation id\n   * @returns Notify on slack bulk action\n   *\n   */\n  const notifyOnSlackBulkAction = (payload) => {\n    setIsSendingNotifcation(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/policies/notification\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        ...payload,\n      })\n      .then((res) => {\n        setSendNotificationOnSlack(res?.data);\n        Toaster(TOASTER_TYPES.SUCCESS, res?.data?.success?.message);\n        setIsSendingNotifcation(false);\n      })\n      .catch((error) => {\n        setIsSendingNotifcation(false);\n        console.log({ error });\n      });\n  };\n\n  const getBulkTicket = (payload) => {\n    setIsFetchingJiraTicket(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/jira/bulk/get\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        host: window.location.host,\n        ...payload,\n      })\n      .then((res) => {\n        setJiraTicketData(res.data);\n        setIsFetchingJiraTicket(false);\n      })\n      .catch((error) => {\n        setIsFetchingJiraTicket(false);\n        console.log({ error });\n      });\n  };\n\n  const getJiraTicket = (payload) => {\n    setIsFetchingSingleJiraTicket(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/jira/datastore/get\", {\n        customerId: localStorage.getItem(\"customerId\"),\n        host: window.location.host,\n        ...payload,\n      })\n      .then((res) => {\n        setSingleJiraTicket(res.data);\n        setIsFetchingSingleJiraTicket(false);\n      })\n      .catch((error) => {\n        setIsFetchingSingleJiraTicket(false);\n        console.log({ error });\n      });\n  };\n\n  const getModifyPolicyDetails = (policyId) => {\n    setIsFetchingModifyPolicyDetails(true);\n    axiosPrivate\n      .get(`/policy/policy/${policyId}`)\n      .then((res) => {\n        setModifyPolicyDetails(res.data);\n        setIsFetchingModifyPolicyDetails(false);\n      })\n      .catch((error) => {\n        setIsFetchingModifyPolicyDetails(false);\n        console.log({ error });\n      });\n  };\n\n  const getAISummary = () => {\n    setIsFetchingImpactedStoresData(true);\n    axiosDenaliPrivate\n      .post(\"/api/v1/ai/summary\", {\n        customerId: localStorage.getItem(\"customerId\"),\n      })\n      .then((res) => {\n        setAISummary(res.data);\n        setIsFetchingImpactedStoresData(false);\n      })\n      .catch((error) => {\n        setIsFetchingImpactedStoresData(false);\n        console.log({ error });\n      });\n  };\n\n  return (\n    <AppContext.Provider\n      value={{\n        // Dashboard view lense state (Data/AI)\n        dashboardViewLense,\n        setDashboardViewLense,\n\n        // Impacted Data Stores data\n        impactedDataStores,\n        isFetchingImpactedStoresData,\n        getImpactedStoresData,\n\n        // Ticket Status data\n        ticketStatusData,\n        isFetchingTicketStatusData,\n        getTicketStatusData,\n\n        // Resources data\n        resourcesData,\n        isFetchingResourcesData,\n        // getResourcesData,\n\n        // Policy violation data\n        policyCategories,\n        isFetchingPolicyCategories,\n        policyData,\n        isFetchingPolicyData,\n        getViolatedPolicyCategory,\n        getViolatedPolicyData,\n\n        // Data store violation\n        dataStoreViolation,\n        isFetchingStoreViolation,\n        getDataStoreViolation,\n        getAIDatastores,\n\n        // Cloud risk data\n        cloudRiskData,\n        isFetchingCloudRiskData,\n        getCloudRiskData,\n\n        // Risk score data\n        riskScore,\n        isFetchingRiskScoreData,\n        getRiskScoreData,\n\n        // Details Drawer\n        openPolicyStoreDetailDrawer,\n        setOpenPolicyStoreDetailDrawer,\n        drawerData,\n        setDrawerData,\n        getPolicyDetails,\n        policyStoreDetails,\n        isFetchingPolicyStoreDetails,\n\n        // Policy/Data Store related issues\n        issues,\n        isFetchingIssues,\n        getIssues,\n\n        // Select policy\n        selectedPolicy,\n        setSelectedPolicy,\n\n        // Selected issues\n        selectedIssues,\n        setSelectedIssues,\n\n        // Issue Drawer\n        openCreateIssueDrawer,\n        setOpenCreateIssueDrawer,\n        currentSelectedIssue,\n        setCurrentSelectedIssue,\n\n        // Risk trends\n        riskTrends,\n        isFetchingRiskTrends,\n        getRiskTrends,\n\n        // Achievements\n        achievements,\n        isFetchingAchievements,\n        getAchievements,\n\n        // Geo Distribution data\n        geoDistribution,\n        isFetchingGeoDistribution,\n        getGeoDistributionData,\n\n        // Insights drawer\n        openInsightsDrawer,\n        setOpenInsightsDrawer,\n\n        // Overview All Regions\n        overviewAllRegions,\n        isFetchingAllRegionsOverview,\n        getSensitiveData,\n\n        // Overview Selected regions\n        overviewForSelectedRegion,\n        isFetchingSelectedRegionOverview,\n        getRegionsOverview,\n\n        // Get paginated policy violations\n        policyViolations,\n        isFetchingPolicyViolations,\n        getPolicyViolations,\n\n        // Notify on slack bulk action\n        notifyOnSlackBulkAction,\n        isSendingNotification,\n        sendNotificationOnSlack,\n\n        // Get bulk ticket data\n        jiraTicketData,\n        isFetchingJiraTicket,\n        getBulkTicket,\n\n        // Get single ticket data\n        singleJiraTicket,\n        setSingleJiraTicket,\n        isFetchingSingleJiraTicket,\n        getJiraTicket,\n\n        // Modify policy\n        modifyPolicyDetails,\n        isFetchingModifyPolicyDetails,\n        getModifyPolicyDetails,\n\n        // Get all policies\n        allPolicies,\n        isFetchingAllPolicies,\n        getAllPolicies,\n\n        // AI Summary\n        aiSummary,\n        getAISummary,\n      }}\n    >\n      {children}\n    </AppContext.Provider>\n  );\n};\n\nexport const useAppContext = () => {\n  return useContext(AppContext);\n};\n\nexport default AppContextProvider;\n","import \"./DeleteAccountModal.scss\";\nimport React, { useState, useEffect, useRef, useContext } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport deleteAccountIcon from \"../../../assets/img/icons/delete-account-icon.svg\";\nimport popout from \"../../../assets/img/icons/popout-white.svg\";\nimport {\n  deleteAccountAsync,\n  deleteStackAsync,\n  verifyDeleteStackAsync,\n} from \"../../../redux/slices/accountSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport {\n  showLoading,\n  hideLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport { AppContext } from \"../../../context/appContext\";\nimport { ACCOUNT_TYPES, LOADER_CONFIG } from \"../../../utils/Constants\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Account.\nconst DeleteAccountModal = ({ handleModal, refreshAccounts, account }) => {\n  const dispatch = useDispatch();\n  const [disableDelete, setDisableDelete] = useState(true);\n  const [launchStackClicked, setLaunchStackClicked] = useState(false);\n  const { getRiskScoreData } = useContext(AppContext);\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  const verifyAccountTimer = useRef();\n  const removeSessionStorage = (accountId) => {\n    let issuesAccountFilter = JSON.parse(\n      sessionStorage.getItem(\"issuesAccountFilter\")\n    );\n    let datastoreAccountFilter = JSON.parse(\n      sessionStorage.getItem(\"datastoreAccountFilter\")\n    );\n    if (\n      issuesAccountFilter &&\n      issuesAccountFilter !== null &&\n      issuesAccountFilter.value == accountId\n    ) {\n      sessionStorage.removeItem(\"issuesAccountFilter\");\n    }\n    if (\n      datastoreAccountFilter &&\n      datastoreAccountFilter !== null &&\n      datastoreAccountFilter.value == accountId\n    ) {\n      sessionStorage.removeItem(\"datastoreAccountFilter\");\n    }\n  };\n\n  const deleteAccount = async () => {\n    dispatch(showLoading());\n    const resp = await dispatch(deleteAccountAsync(account.id));\n    if (resp && resp.payload && !resp.payload.err) {\n      refreshAccounts();\n      dispatch(hideLoading());\n      Toaster(TOASTER_TYPES.SUCCESS, \"Account deleted successfully.\");\n      removeSessionStorage(account.id);\n      getRiskScoreData();\n    } else {\n      dispatch(hideLoading());\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message || \"Failed to delete account.\"\n      );\n    }\n  };\n\n  const deleteStack = async () => {\n    dispatch(showLoading());\n    const resp = await dispatch(deleteStackAsync({ id: account.id }));\n    if (resp && resp.payload?.url && !resp.payload.err) {\n      window.open(resp.payload?.url);\n      verifyAccountTimer.current = setInterval(() => {\n        verifyDeleteStack();\n      }, 5000);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload.err?.message || \"Failed to launch delete stack.\"\n      );\n    }\n  };\n\n  const handleLaunchStack = () => {\n    deleteStack();\n    setLaunchStackClicked(true);\n  };\n\n  const verifyDeleteStack = async () => {\n    const resp = await dispatch(\n      verifyDeleteStackAsync({\n        RoleArn: account.awsRoleARN,\n      })\n    );\n    // remove this line before commiting\n    if (account.type === ACCOUNT_TYPES.GCP) setDisableDelete(false);\n    if (resp && resp.payload) {\n      dispatch(hideLoading());\n      clearInterval(verifyAccountTimer?.current);\n      setDisableDelete(false);\n      setLaunchStackClicked(false);\n    } else {\n      if (verifyAccountTimer && launchStackClicked) {\n        dispatch(showLoading());\n      }\n    }\n  };\n\n  const handleCancel = () => {\n    clearInterval(verifyAccountTimer?.current);\n    handleModal(false);\n  };\n\n  useEffect(() => {\n    verifyDeleteStack();\n    return () => {\n      clearInterval(verifyAccountTimer?.current);\n    };\n  }, []);\n\n  return (\n    <div id=\"delete-account\">\n      <div\n        className=\"modal fade show\"\n        id=\"deleteModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"deleteModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <BlockUi\n            tag=\"div\"\n            blocking={loading}\n            loader={\n              <Loader\n                active\n                type={LOADER_CONFIG.type}\n                color={LOADER_CONFIG.color}\n              />\n            }\n          >\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <img src={deleteAccountIcon} className=\"mr-3\" />\n                <span>Delete Account</span>\n              </div>\n              <div className=\"modal-body\">\n                <div className=\"row\">\n                  <div className=\"col-md-3\"> Account Id:</div>\n                  <div className=\"col-md-8\">{account.id}</div>\n                </div>\n                {account?.type === ACCOUNT_TYPES.AWS && (\n                  <>\n                    <div className=\"row mt-3\">\n                      <div className=\"col-md-3\"> External ID:</div>\n                      <div className=\"col-md-8\">{account.externalId}</div>\n                    </div>\n                    <hr />\n                    <div className=\"row\">\n                      <div className=\"col-md-3\"> AWS Role ARN:</div>\n                      <div className=\"col-md-8\">{account.awsRoleARN}</div>\n                    </div>\n                    <hr />\n                    <div className=\"row\">\n                      <div className=\"col-md-12\">\n                        Delete stack is mandatory for deleting the account.\n                        Please click on launch delete stack button to delete the\n                        stack.\n                      </div>\n                    </div>\n                  </>\n                )}\n              </div>\n\n              <div className=\"modal-footer\">\n                {account?.type === ACCOUNT_TYPES.AWS && (\n                  <>\n                    <Button\n                      variant=\"contained\"\n                      type=\"button\"\n                      onClick={handleLaunchStack}\n                      disabled={account.status !== \"active\" ? true : false}\n                    >\n                      Delete launch stack{\" \"}\n                      <img src={popout} className=\"popout-img\" />\n                    </Button>\n\n                    <span className=\"separator mx-3\"></span>\n                  </>\n                )}\n\n                <Button\n                  variant=\"contained\"\n                  type=\"button\"\n                  disabled={disableDelete}\n                  onClick={deleteAccount}\n                >\n                  Delete account\n                </Button>\n\n                <span className=\"separator mx-3\"></span>\n\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => handleCancel()}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </BlockUi>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default DeleteAccountModal;\n","import \"./UpdateAccountModal.scss\";\nimport React, { useState, useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport {\n  updateStackAsync,\n  updateAccountGCPAsync,\n} from \"../../../redux/slices/accountSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport {\n  showLoading,\n  hideLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport { ACCOUNT_TYPES, LOADER_CONFIG } from \"../../../utils/Constants\";\nimport Button from \"../../common/Button\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport CloudUploadIcon from \"@mui/icons-material/CloudUpload\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { FormControl, InputLabel } from \"../../common/FormControl\";\nimport { TextField } from \"../../common/TextField\";\nimport { MenuItem, Select } from \"../../common/Select\";\nimport { FormHelperText, styled, useTheme } from \"@mui/material\";\n\n// Functional component for Add Account.\nconst UpdateAccountModal = ({\n  handleModal,\n  refreshAccounts,\n  account,\n  setEditDisabled,\n  updateLaunchStack,\n  selectedAccount,\n}) => {\n  const dispatch = useDispatch();\n  const theme = useTheme();\n  const [stackId, setStackId] = useState(null);\n  const [gcpDetails, setGcpDetails] = useState({\n    accountId: \"\",\n    apiKey: \"\",\n    scanScope: \"\",\n  });\n  const [emptyValue, setEmptyValue] = useState({\n    accountIdMsg: \"\",\n    apiKeyMsg: \"\",\n    scanScopeMsg: \"\",\n  });\n  const [fileName, setFileName] = useState(\"\");\n\n  const DATA_SCANNING_FREQUENCY = [\n    { label: \"Daily\", value: \"rate(1 day)\" },\n    { label: \"Weekly\", value: \"rate(7 days)\" },\n    { label: \"Monthly\", value: \"rate(30 days)\" },\n  ];\n\n  const [dataScanFrequency, setDataScanFrequency] = useState();\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  const styles = {\n    gcpForm: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n    accountId: {\n      display: \"flex\",\n      width: \"100%\",\n      gap: theme.spacing(2),\n      paddingTop: theme.spacing(2),\n    },\n    textField: {\n      \"& .MuiFormLabel-root\": {\n        fontSize: theme.typography.caption,\n      },\n      \"& .MuiInputBase-input\": {\n        fontSize: theme.typography.body2,\n      },\n    },\n    modalFooter: {\n      display: \"flex\",\n      marginLeft: \"auto\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n    fileUpload: {\n      marginTop: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      paddingTop: theme.spacing(1),\n      gap: theme.spacing(1),\n      //  alignItems: \"left\",\n    },\n    fileName: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(2),\n    },\n  };\n\n  const updateStack = async () => {\n    dispatch(showLoading());\n    const resp = await dispatch(\n      updateStackAsync({\n        id: account.id,\n        stackId: stackId,\n        dataScanFrequency: dataScanFrequency,\n      })\n    );\n    dispatch(hideLoading());\n    if (resp?.payload?.update && !resp?.payload?.err) {\n      setEditDisabled(true);\n      window.open(resp.payload?.update);\n      refreshAccounts(); // TODO: Refresh accounts page if need be.\n      handleModal(false);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload.err?.message || \"Failed to update account.\"\n      );\n    }\n  };\n\n  const handleLaunchStack = () => {\n    updateStack();\n  };\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const versions = [\n    { value: \"0.0.1\", label: \"0.0.1\" },\n    { value: \"0.0.2\", label: \"0.0.2\" },\n  ];\n\n  useEffect(() => {\n    if (selectedAccount?.id) {\n      setGcpDetails({\n        accountId: selectedAccount?.id,\n        scanScope: selectedAccount?.scanType,\n      });\n    }\n  }, [selectedAccount]);\n\n  useEffect(() => {\n    if (\n      account?.dataScanFrequency === \"Monthly\" ||\n      account?.dataScanFrequency === \"rate(30 days)\"\n    ) {\n      setDataScanFrequency(DATA_SCANNING_FREQUENCY[2].value);\n    } else if (\n      account?.dataScanFrequency === \"Weekly\" ||\n      account?.dataScanFrequency === \"rate(7 days)\"\n    ) {\n      setDataScanFrequency(DATA_SCANNING_FREQUENCY[1].value);\n    } else if (\n      account?.dataScanFrequency === \"Daily\" ||\n      account?.dataScanFrequency === \"rate(1 day)\"\n    ) {\n      setDataScanFrequency(DATA_SCANNING_FREQUENCY[0].value);\n    } else {\n      setDataScanFrequency(DATA_SCANNING_FREQUENCY[0].value);\n    }\n  }, [account]);\n\n  const updateGCPAccount = async () => {\n    if (\n      gcpDetails?.accountId &&\n      gcpDetails?.serviceAccountKey &&\n      gcpDetails?.serviceAccountKey !== \"\"\n    ) {\n      setEmptyValue({ accountIdMsg: \"\", apiKeyMsg: \"\", scanScopeMsg: \"\" });\n      let payload = {\n        id: gcpDetails?.accountId,\n        userId: getUserId(),\n        type: selectedAccount?.type,\n        scanScope: gcpDetails?.scanScope || selectedAccount?.scanScope,\n        serviceAccountKey: gcpDetails.serviceAccountKey,\n      };\n\n      const resp = await dispatch(updateAccountGCPAsync(payload));\n      dispatch(hideLoading());\n      if (resp) {\n        setEditDisabled(true);\n        refreshAccounts(); // TODO: Refresh accounts page if need be.\n        Toaster(TOASTER_TYPES.SUCCESS, \"Account updated successfully.\");\n        handleModal(false);\n      } else {\n        Toaster(\n          TOASTER_TYPES.ERROR,\n          resp.payload.err?.message || \"Failed to update account.\"\n        );\n      }\n    } else {\n      setEmptyValue({ ...emptyValue, apiKeyMsg: \"Please select a JSON File\" });\n    }\n  };\n\n  const VisuallyHiddenInput = styled(\"input\")({\n    clip: \"rect(0 0 0 0)\",\n    clipPath: \"inset(50%)\",\n    height: 1,\n    overflow: \"hidden\",\n    position: \"absolute\",\n    bottom: 0,\n    left: 0,\n    whiteSpace: \"nowrap\",\n    width: 1,\n  });\n\n  const ScanScopeOptions = [\n    {\n      label: \"AI-only\",\n      value: \"ai-scan\",\n    },\n    {\n      label: \"Full Cloud\",\n      value: \"full-scan\",\n    },\n  ];\n\n  return (\n    <div id=\"update-account\">\n      <div\n        className=\"modal fade show\"\n        id=\"updateModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"updateModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          {/* Global loader for any api calls inside update account */}\n          <BlockUi\n            tag=\"div\"\n            blocking={loading}\n            loader={\n              <Loader\n                active\n                type={LOADER_CONFIG.type}\n                color={LOADER_CONFIG.color}\n              />\n            }\n          >\n            <div className=\"modal-content\">\n              <div className=\"modal-header pl-0 d-flex justify-content-start align-items-center\">\n                {/* <img src={updateAccountIcon} className=\"mr-3\" /> */}\n                <span>Update Account Stack</span>\n              </div>\n              {selectedAccount?.type === ACCOUNT_TYPES.AWS ? (\n                <div className=\"modal-body\">\n                  <div className=\"row\">\n                    <div className=\"col-md-3 pl-0\"> Account ID:</div>\n                    <div className=\"col-md-5 modal-text\">{account.id}</div>\n                    <div className=\"col-md-4 modal-text\">\n                      {(account.status &&\n                        account.status === \"creating_stack\") ||\n                      account.status === \"24_hour_passed\" ? (\n                        <button\n                          className=\"btn btn-primary btn-sm\"\n                          onClick={updateLaunchStack}\n                        >\n                          Launch create-stack\n                        </button>\n                      ) : (\n                        \"\"\n                      )}\n                    </div>\n                  </div>\n                  <div className=\"row mt-3\">\n                    <div className=\"col-md-3 pl-0\"> External ID:</div>\n                    <div className=\"col-md-8 modal-text\">\n                      {account.externalId}\n                    </div>\n                  </div>\n                  <div className=\"row mt-3\">\n                    <div className=\"col-md-3 pl-0\"> AWS Role ARN:</div>\n                    <div className=\"col-md-8 modal-text\">\n                      {account.awsRoleARN}\n                    </div>\n                  </div>\n\n                  <div className=\"row mt-3\">\n                    <div className=\"col-md-3 pl-0\"> Stack Id:</div>\n                    <div className=\"col-md-9 pr-0\">\n                      <input\n                        type=\"text\"\n                        className=\"form-control\"\n                        value={stackId}\n                        onChange={(e) => setStackId(e.target.value)}\n                        disabled={account.status !== \"active\"}\n                      />\n                    </div>\n                  </div>\n\n                  <div className=\"row mt-3\">\n                    <div className=\"col-md-3 pl-0\">\n                      {\" \"}\n                      Data Scanning Frequency:\n                    </div>\n                    <div className=\"col-md-9 pr-0\">\n                      <select\n                        className=\"form-control\"\n                        value={dataScanFrequency}\n                        onChange={(event) => {\n                          setDataScanFrequency(event.target.value);\n                        }}\n                      >\n                        <option disabled>Select Data Scanning Frequency</option>\n                        {DATA_SCANNING_FREQUENCY.map((frequency, index) => (\n                          <option key={index} value={frequency.value}>\n                            {frequency.label}\n                          </option>\n                        ))}\n                      </select>\n                    </div>\n                  </div>\n                  <div className=\"row modal-message mt-4 pt-4\">\n                    <div className=\"col-md-12 pl-0\">\n                      Please click on update stack button to update the stack.\n                    </div>\n                  </div>\n                </div>\n              ) : selectedAccount?.type === ACCOUNT_TYPES.GCP ? (\n                <Box sx={styles.gcpForm}>\n                  <Box sx={styles.accountId}>\n                    <Typography variant=\"caption\">Account ID:</Typography>\n                    <Typography variant=\"caption\">\n                      {selectedAccount?.id}\n                    </Typography>\n                  </Box>\n                  <FormControl variant=\"standard\">\n                    {/*<TextField\n                      error={emptyValue.apiKeyMsg !== \"\"}\n                      helperText={emptyValue.apiKeyMsg}\n                      label=\"API Key\"\n                      value={gcpDetails?.apiKey}\n                      variant=\"standard\"\n                      sx={styles.textField}\n                      onChange={(event) =>\n                        setGcpDetails({\n                          ...gcpDetails,\n                          apiKey: event.target.value,\n                        })\n                      }\n                    />*/}\n                    <Box sx={styles.fileUpload}>\n                      <Typography variant=\"caption\">\n                        Choose JSON File\n                      </Typography>\n                      <Box sx={styles.fileName}>\n                        <Button\n                          size=\"small\"\n                          variant=\"outlined\"\n                          startIcon={<CloudUploadIcon />}\n                          component=\"label\"\n                        >\n                          Select File\n                          <VisuallyHiddenInput\n                            type=\"file\"\n                            accept=\".json\"\n                            onChange={async ({ target }) => {\n                              const toBase64 = async (file) =>\n                                new Promise((resolve, reject) => {\n                                  const reader = new FileReader();\n                                  reader.readAsDataURL(file);\n                                  reader.onload = () => resolve(reader.result);\n                                  reader.onerror = (error) => reject(error);\n                                });\n                              setEmptyValue({ ...emptyValue, apiKeyMsg: \"\" });\n                              setFileName(target.files[0].name);\n                              const file = await toBase64(target.files[0]);\n                              setGcpDetails({\n                                ...gcpDetails,\n                                serviceAccountKey: file.split(\",\")[1],\n                              });\n                            }}\n                          />\n                        </Button>\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface60.main}\n                        >\n                          {fileName || \"No File Selected\"}\n                        </Typography>\n                      </Box>\n                      <Typography\n                        variant=\"caption\"\n                        color={theme.palette.critical.main}\n                      >\n                        {emptyValue?.apiKeyMsg}\n                      </Typography>\n                    </Box>\n                  </FormControl>\n\n                  <Select\n                    label=\"Scan Scope\"\n                    fullWidth={true}\n                    variant=\"standard\"\n                    value={gcpDetails?.scanScope}\n                    options={ScanScopeOptions}\n                    onChange={(event) =>\n                      setGcpDetails({\n                        ...gcpDetails,\n                        scanScope: event.target.value,\n                      })\n                    }\n                    sx={{\n                      width: \"100%\",\n                    }}\n                  />\n                </Box>\n              ) : (\n                \"\"\n              )}\n              <div className=\"modal-footer pb-4 pt-0\">\n                {selectedAccount?.type === ACCOUNT_TYPES.AWS ? (\n                  <Button\n                    variant=\"contained\"\n                    type=\"button\"\n                    onClick={handleLaunchStack}\n                    disabled={\n                      loading || account.status !== \"active\" || !stackId\n                    }\n                  >\n                    Update Stack\n                  </Button>\n                ) : (\n                  <Button\n                    variant=\"contained\"\n                    type=\"button\"\n                    onClick={updateGCPAccount}\n                  >\n                    Update Stack\n                  </Button>\n                )}\n                <span className=\"separator mx-3\"></span>\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => handleCancel()}\n                  disabled={loading}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </BlockUi>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default UpdateAccountModal;\n","export default __webpack_public_path__ + \"static/media/loader.ed371782.svg\";","import { ButtonProps, SxProps, useMediaQuery, useTheme } from \"@mui/material\";\nimport Button from \"./Button\";\nimport { useHistory } from \"react-router-dom\";\n\ninterface TextButtonProps extends ButtonProps {\n  hideText?: boolean;\n  sx?: SxProps;\n  link?: string;\n  onClick?: (event?) => void;\n}\n\nconst TextButton = ({\n  hideText = false,\n  sx = {},\n  link = \"\",\n  onClick = () => {},\n  ...props\n}: TextButtonProps) => {\n  const theme = useTheme();\n  const history = useHistory();\n  const isSmallWidth = useMediaQuery(theme.breakpoints.down(\"lg\"));\n\n  const navigateTo = () => {\n    history.push(link);\n  };\n\n  const styles = {\n    buttonText: {\n      minWidth: \"unset\",\n      color: theme?.palette?.primaryBlue?.main || \"#0074E0\",\n      backgroundColor: \"none\",\n      textTransform: \"none\",\n      lineHeight: \"1\",\n      padding: 0,\n      position: \"unset\",\n      \":hover\": {\n        backgroundColor: \"transparent\",\n        color: theme?.palette?.secondaryBlue?.main || \"#5CB1FF\",\n      },\n      \"& .MuiTouchRipple-root\": {\n        display: \"none\",\n      },\n      \"& .MuiButton-endIcon\": {\n        marginLeft: \"2px\",\n      },\n      \"& .MuiButton-startIcon\": {\n        marginRight: \"4px\",\n      },\n      \"&.MuiButton-textError\": {\n        color: theme?.palette?.critical?.main || \"#FF655B\",\n      },\n    },\n  };\n  return (\n    <Button\n      variant=\"text\"\n      sx={{ ...styles.buttonText, ...sx } as SxProps}\n      onClick={link ? navigateTo : onClick}\n      {...props}>\n      {hideText && isSmallWidth ? \"\" : props.children}\n    </Button>\n  );\n};\n\nexport default TextButton;\n","import { useTheme } from \"@mui/material\";\nimport type { CircularProgressProps } from \"@mui/material/CircularProgress\";\nimport MUICircularProgress from \"@mui/material/CircularProgress\";\nimport Box from \"./Box\";\n\nexport interface LoaderProps extends CircularProgressProps {\n  height?: string;\n  width?: string;\n}\n\nconst Loader = ({ height = \"100%\", width = \"100%\", ...props }: LoaderProps) => {\n  const theme = useTheme();\n  const styles = {\n    loaderContainer: {\n      width,\n      height,\n      minHeight: height,\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"center\",\n      flex: 1,\n    },\n    loader: {\n      color: theme.palette.primaryBlue.main,\n    },\n  };\n  return (\n    <Box sx={styles.loaderContainer}>\n      <MUICircularProgress sx={styles.loader} {...props} />\n    </Box>\n  );\n};\n\nexport default Loader;\n","import MUISnackbar, { SnackbarProps } from \"@mui/material/Snackbar\";\n\nconst Snackbar = (props: SnackbarProps) => {\n  return <MUISnackbar {...props} />;\n};\n\nexport default Snackbar;\n","import \"./UpdateAccountModal.scss\";\nimport React, { useState, useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport loaderImage from \"../../../assets/img/loader.svg\";\nimport { getAccountStatus } from \"../../../redux/slices/accountSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { capitalizeFirstLetter } from \"../../../utils/utils\";\nimport TextButton from \"../../common/TextButton\";\nimport { aiTypeLangchain, scanTypeAI } from \"../../constants/constants\";\nimport Loader from \"../../common/Loader\";\nimport VisibilityRoundedIcon from \"@mui/icons-material/VisibilityRounded\";\nimport VisibilityOffRoundedIcon from \"@mui/icons-material/VisibilityOffRounded\";\nimport ContentCopyRoundedIcon from \"@mui/icons-material/ContentCopyRounded\";\nimport Box from \"../../common/Box\";\nimport Button from \"../../common/Button\";\nimport { useTheme } from \"@mui/material\";\nimport Snackbar from \"../../common/Snackbar\";\nimport { ACCOUNT_TYPES } from \"../../../utils/Constants\";\n\n// Functional component for Add Account.\nconst ViewAccountModal = ({ handleModal, account }) => {\n  const dispatch = useDispatch();\n  const theme = useTheme();\n  const isGCPAccount = ACCOUNT_TYPES.GCP;\n  const [defaultStat, setDefaultStat] = useState(\"monthly\");\n  const [accountData, setAccountData] = useState({});\n  const [filters, setFilters] = useState([]);\n  const [isAIAccount, setIsAIAccount] = useState(false);\n  const [isLoading, setIsLoading] = useState(false);\n  const [showAPIKey, setShowAPIKey] = useState(false);\n  const [copiedAPIKey, setCopiedAPIKey] = useState(false);\n\n  const viewAccount = async (account) => {\n    setIsLoading(true);\n    const resp = await dispatch(\n      getAccountStatus({\n        customerId: getCustomerId(),\n        cloudAccountId: account.id,\n      })\n    );\n    setAccountData(resp.payload ? resp.payload : {});\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    const filters = [];\n    if (accountData.stats) {\n      if (accountData.stats.monthly) {\n        filters.push(\"monthly\");\n      }\n      if (accountData.stats.weekly) {\n        filters.push(\"weekly\");\n      }\n      if (accountData.stats.daily) {\n        filters.push(\"daily\");\n      }\n      if (accountData.stats.hourly) {\n        filters.push(\"hourly\");\n      }\n    }\n\n    setFilters(filters);\n  }, [accountData]);\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  useEffect(() => {\n    if (account) {\n      viewAccount(account);\n      setIsAIAccount(\n        account?.aiType?.toLowerCase() === aiTypeLangchain.toLowerCase()\n      );\n    }\n  }, [account]);\n\n  const MAPPINGS = {\n    \"rate(1 day)\": \"Daily\",\n    \"rate(7 days)\": \"Weekly\",\n    \"rate(30 days)\": \"Monthly\",\n  };\n\n  const styles = {\n    apiKey: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(2),\n    },\n  };\n\n  const apiKey = MAPPINGS[accountData.apiKey]\n    ? MAPPINGS[accountData.apiKey]\n    : accountData.apiKey;\n\n  return (\n    <div id=\"update-account\">\n      <div\n        className=\"modal fade show\"\n        id=\"updateModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"updateModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content \">\n            <div className=\"modal-header pl-0 d-flex justify-content-start align-items-center\">\n              <span> Account Status</span>\n            </div>\n            {isLoading ? (\n              <Loader height=\"150px\" />\n            ) : (\n              <div className=\"modal-body\">\n                <div className=\"row\">\n                  <div className=\"col-md-4 pl-0\"> Account ID:</div>\n                  <div className=\"col-md-7 modal-text\">\n                    {accountData.cloudAccountId}\n                  </div>\n                </div>\n                {!isGCPAccount ? (\n                  <div className=\"row mt-1\">\n                    <div className=\"col-md-4 pl-0\"> CrossAccount Role ARN:</div>\n                    <div className=\"col-md-7 modal-text\">\n                      {accountData.awsRoleARN}\n                    </div>\n                  </div>\n                ) : (\n                  <>\n                    {/* <div className=\"row mt-1\">\n                      <div className=\"col-md-4 pl-0\"> Scan Scope:</div>\n                      <div className=\"col-md-7 modal-text\">\n                        {accountData.awsRoleARN}\n                      </div>\n                    </div> */}\n                    <div className=\"row mt-1\">\n                      <div className=\"col-md-4 pl-0\"> Scan Type:</div>\n                      <div className=\"col-md-7 modal-text\">\n                        {accountData.scanType}\n                      </div>\n                    </div>\n                  </>\n                )}\n                <div className=\"row mt-1\">\n                  <div className=\"col-md-4 pl-0\"> Onboarded On:</div>\n                  <div className=\"col-md-7 modal-text\">\n                    {accountData.onboardedOn}\n                  </div>\n                </div>\n\n                <div className=\"row mt-1\">\n                  <div className=\"col-md-4 pl-0\"> Onboarded By:</div>\n                  <div className=\"col-md-7 modal-text\">\n                    {account?.userId?.email}\n                  </div>\n                </div>\n\n                {isAIAccount ? (\n                  <div className=\"row mt-1\">\n                    <div className=\"col-md-4 pl-0\">API Key:</div>\n                    <div className=\"col-md-7 modal-text\">\n                      <Box sx={styles.apiKey}>\n                        {showAPIKey && apiKey\n                          ? apiKey\n                          : `${apiKey.slice(0, 1)}************${apiKey.slice(\n                              -4\n                            )}`}\n                        <TextButton onClick={() => setShowAPIKey(!showAPIKey)}>\n                          {showAPIKey ? (\n                            <VisibilityOffRoundedIcon />\n                          ) : (\n                            <VisibilityRoundedIcon />\n                          )}\n                        </TextButton>\n                        <TextButton\n                          onClick={() => {\n                            navigator.clipboard.writeText(apiKey);\n                            setCopiedAPIKey(true);\n                          }}\n                        >\n                          <ContentCopyRoundedIcon />\n                        </TextButton>\n                      </Box>\n                    </div>\n                  </div>\n                ) : !isGCPAccount ? (\n                  <>\n                    <div className=\"row mt-1\">\n                      <div className=\"col-md-4 pl-0\">\n                        Data Scanning Frequency:\n                      </div>\n                      <div className=\"col-md-7 modal-text\">\n                        {MAPPINGS[accountData.dataScanFrequency]\n                          ? MAPPINGS[accountData.dataScanFrequency]\n                          : accountData.dataScanFrequency}\n                      </div>\n                    </div>\n                    <div className=\"row mt-1\">\n                      <div className=\"col-md-4 pl-0\"> Last Heartbeat:</div>\n                      <div className=\"col-md-7 modal-text\">\n                        {accountData.lastHeartbeat}\n                      </div>\n                    </div>\n                    <div className=\"row mt-2\">\n                      <div className=\"col-sm-6\">\n                        <div className=\"mt-1 ml-15\">\n                          <span>\n                            Cloud Defense Lambda (\n                            {capitalizeFirstLetter(defaultStat)}\n                            ):\n                          </span>\n\n                          {accountData.stats ? (\n                            <div className=\"ml-4\">\n                              <span>\n                                Total Execution Runtime:\n                                {filters.length ? (\n                                  <span className=\"modal-text ml-2\">\n                                    {accountData.stats[\n                                      defaultStat\n                                    ]?.aggregate?.totalExecutionTime?.toFixed(\n                                      2\n                                    )}{\" \"}\n                                    ms\n                                  </span>\n                                ) : (\n                                  <span className=\"modal-text ml-2\">\n                                    {accountData.stats?.aggregate?.totalExecutionTime?.toFixed(\n                                      2\n                                    )}{\" \"}\n                                    ms\n                                  </span>\n                                )}\n                              </span>\n                              <br />\n                              <span>\n                                Total Estimated Cost:\n                                {filters.length ? (\n                                  <span className=\"modal-text ml-2\">\n                                    ${\" \"}\n                                    {accountData.stats[\n                                      defaultStat\n                                    ]?.aggregate?.estimatedCost?.toFixed(6)}\n                                  </span>\n                                ) : (\n                                  <span className=\"modal-text ml-2\">\n                                    ${\" \"}\n                                    {accountData.stats?.aggregate?.estimatedCost?.toFixed(\n                                      6\n                                    )}\n                                  </span>\n                                )}\n                              </span>\n                            </div>\n                          ) : (\n                            \"\"\n                          )}\n                        </div>\n                      </div>\n\n                      {filters.length ? (\n                        <div className=\"col-sm-6\">\n                          <select\n                            onChange={(e) => setDefaultStat(e.target.value)}\n                            className=\"form-control\"\n                            value={defaultStat}\n                          >\n                            {filters.map((filter, key) => (\n                              <option key={key} value={filter}>\n                                {filter}\n                              </option>\n                            ))}\n                          </select>\n                        </div>\n                      ) : (\n                        \"\"\n                      )}\n                    </div>\n                    <div className=\"row modal-message mt-2 pt-4\"></div>\n                    <div className=\"row\">\n                      <div className=\"col col-xl-12\">\n                        <div className=\"table-responsive view-account-table\">\n                          {filters.length ? (\n                            <table\n                              className={`mb-0 pb-3 table table-border-less table-hover`}\n                            >\n                              <thead>\n                                <tr className=\"vuls-row\">\n                                  <th scope=\"col\">Function</th>\n                                  <th scope=\"col\">Execution time</th>\n                                  <th scope=\"col\">Estimated cost</th>\n                                </tr>\n                              </thead>\n\n                              {accountData.stats &&\n                              accountData.stats.detailed ? (\n                                <tbody>\n                                  {accountData.stats[defaultStat].detailed.map(\n                                    function (item, idx) {\n                                      return (\n                                        <tr key={idx} className=\"vuls-row\">\n                                          <td className=\"data-store-name\">\n                                            {item.funcName}\n                                          </td>\n\n                                          <td className=\"data-store-name\">\n                                            {item?.totalExecutionTime?.toFixed(\n                                              2\n                                            ) || 0}{\" \"}\n                                            ms\n                                          </td>\n\n                                          <td className=\"data-store-name\">\n                                            $ {item?.estimatedCost?.toFixed(6)}\n                                          </td>\n                                        </tr>\n                                      );\n                                    }\n                                  )}\n                                </tbody>\n                              ) : (\n                                <tbody></tbody>\n                              )}\n                            </table>\n                          ) : (\n                            <table\n                              className={`mb-0 pb-3 table table-border-less table-hover`}\n                            >\n                              <thead>\n                                <tr className=\"vuls-row\">\n                                  <th scope=\"col\">Function</th>\n                                  <th scope=\"col\">Execution time</th>\n                                  <th scope=\"col\">Estimated cost</th>\n                                </tr>\n                              </thead>\n\n                              {accountData.stats &&\n                              accountData.stats.detailed ? (\n                                <tbody>\n                                  {accountData.stats.detailed.map(function (\n                                    item,\n                                    idx\n                                  ) {\n                                    return (\n                                      <tr key={idx} className=\"vuls-row\">\n                                        <td className=\"data-store-name\">\n                                          {item.funcName}\n                                        </td>\n\n                                        <td className=\"data-store-name\">\n                                          {item?.totalExecutionTime?.toFixed(\n                                            2\n                                          ) || 0}{\" \"}\n                                          ms\n                                        </td>\n\n                                        <td className=\"data-store-name\">\n                                          $ {item?.estimatedCost?.toFixed(6)}\n                                        </td>\n                                      </tr>\n                                    );\n                                  })}\n                                </tbody>\n                              ) : (\n                                <tbody></tbody>\n                              )}\n                            </table>\n                          )}\n                        </div>\n                      </div>\n                    </div>\n                  </>\n                ) : (\n                  \"\"\n                )}\n              </div>\n            )}\n            <div className=\"modal-footer pb-4 pt-0\">\n              <Button\n                variant=\"outlined\"\n                type=\"button\"\n                onClick={() => handleCancel()}\n              >\n                Cancel\n              </Button>\n            </div>\n          </div>\n        </div>\n      </div>\n      <Snackbar\n        anchorOrigin={{ vertical: \"top\", horizontal: \"center\" }}\n        autoHideDuration={2000}\n        open={copiedAPIKey}\n        onClose={() => setCopiedAPIKey(false)}\n        message=\"API Key copied to clipboard!\"\n      />\n    </div>\n  );\n};\n\nexport default ViewAccountModal;\n","import React, { useEffect, useState, useRef } from \"react\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport scanningInheriting from \"../../../assets/img/icons/scanning-inheriting.svg\";\nimport scanningOverriding from \"../../../assets/img/icons/scanning-overriding.svg\";\nimport Aws from \"../../../assets/img/integrations/aws.svg\";\nimport Azure from \"../../../assets/img/integrations/azure.svg\";\nimport Gcp from \"../../../assets/img/integrations/google.svg\";\nimport loaderWhite from \"../../../assets/img/half-circle-white.svg\";\nimport Moment from \"react-moment\";\nimport Button from \"../../common/Button\";\nimport CalendarIcon from \"../../../assets/img/icons/calendar-check-fill.svg\";\nimport Awsicon from \"../../../assets/img/aws-account_card.svg\";\nimport { ReactComponent as DeleteIcon } from \"../../../assets/img/trash.svg\";\nimport { ReactComponent as EditIcon } from \"../../../assets/img/edit.svg\";\nimport { ReactComponent as ViewIcon } from \"../../../assets/img/view.svg\";\nimport { ReactComponent as CloseIcon } from \"../../../assets/img/close-icon.svg\";\nimport Box from \"../../common/Box\";\nimport NoData from \"../../common/NoData\";\n\nimport {\n  launchStackV2Async,\n  listAccountsAsync,\n  accountScanningStatus,\n  verifyLaunchStackAsync,\n  verifyUpdateStackAsync,\n  revertUpdateStackAsync,\n} from \"../../../redux/slices/accountSlice\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport {\n  ACCOUNT_TYPES,\n  FREQUENCY,\n  LOADER_CONFIG,\n} from \"../../../utils/Constants\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport AddAccountModal from \"../../modal/accounts-modal/AddAccountModal\";\nimport DeleteAccountModal from \"../../modal/accounts-modal/DeleteAccountModal\";\nimport UpdateAccountModal from \"../../modal/accounts-modal/UpdateAccountModal\";\n\nimport \"./account.scss\";\nimport ViewAccountModal from \"../../modal/accounts-modal/ViewAccountModal\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport infoFilled from \"../../../assets/img/icons/ep-info-filled.svg\";\nimport Typography from \"../../common/Typography\";\nimport { useTheme } from \"@mui/material\";\nimport { scanTypeAI } from \"../../constants/constants\";\n\nconst Cards = () => {\n  const [isModal, setIsModal] = useState(false);\n  const [deleteModal, setDeleteModal] = useState(false);\n  const [updateModal, setUpdateModal] = useState(false);\n  const [viewModal, setViewModal] = useState(false);\n  const [editDisabled, setEditDisabled] = useState(false);\n\n  const [accountsLoaded, setAccountsLoaded] = useState(false);\n  const [selectedAccount, setSelectedAccount] = useState(null);\n  const [accountList, setAccountList] = useState([]);\n  const lastInterval = useRef();\n  const dispatch = useDispatch();\n  const theme = useTheme();\n  const accounts = useSelector((state) => state.account.accounts);\n\n  const [accountStatus, setAccountStatus] = useState({});\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  const statusMsgMapping = {\n    creating_stack: \"creation\",\n    updating_stack: \"update\",\n  };\n\n  const styles = {\n    blockUI: {\n      height: \"100%\",\n    },\n    accountsContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      height: \"100%\",\n    },\n    accountsGrid: {\n      width: \"100%\",\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    accountRow: {\n      width: \"100%\",\n      display: \"grid\",\n      gridTemplateColumns: \"1fr 1fr 1fr\",\n      gridColumnGap: theme.spacing(2),\n      gridRowGap: theme.spacing(2),\n    },\n    accountsHeader: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1.5),\n    },\n    accountsBody: {\n      display: \"flex\",\n      flex: 1,\n    },\n    noData: {\n      flex: 1,\n    },\n  };\n\n  const updateLaunchStack = async () => {\n    dispatch(showLoading());\n    const resp = await dispatch(\n      launchStackV2Async({\n        id: selectedAccount.id,\n      })\n    );\n    if (resp && resp.payload) {\n      window.open(resp.payload.data);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        `Failed to launch stack for account ${selectedAccount.id}. Please check the Account Id.`\n      );\n    }\n    dispatch(hideLoading());\n  };\n\n  const refreshAccounts = async () => {\n    dispatch(showLoading());\n    setAccountList([]);\n    await dispatch(listAccountsAsync());\n    setIsModal(false);\n    setAccountsLoaded(true);\n    setDeleteModal(false);\n    setUpdateModal(false);\n    dispatch(hideLoading());\n  };\n\n  const getAccountTypeImage = (type) => {\n    switch (type) {\n      case ACCOUNT_TYPES.AWS:\n        return Awsicon;\n      case ACCOUNT_TYPES.GCP:\n        return Gcp;\n      case ACCOUNT_TYPES.AZURE:\n        return Azure;\n      default:\n        return Aws;\n    }\n    return;\n  };\n\n  const getScanningFreq = (frequency) => {\n    switch (frequency) {\n      case FREQUENCY.DEFAULT:\n      case FREQUENCY.CUSTOM.FRQ_12_HR:\n      case FREQUENCY.CUSTOM.FRQ_24_HR:\n        return scanningInheriting;\n      case FREQUENCY.CUSTOM.FRQ_2_DAYS:\n      case FREQUENCY.CUSTOM.FRQ_5_DAYS:\n        return scanningOverriding;\n      default:\n        return scanningInheriting;\n    }\n    return;\n  };\n\n  const deleteAccount = (account) => {\n    setSelectedAccount(account);\n    setDeleteModal(true);\n  };\n\n  const updateAccount = (account) => {\n    setSelectedAccount(account);\n    setUpdateModal(true);\n  };\n\n  const viewAccount = (account) => {\n    setSelectedAccount(account);\n    setViewModal(true);\n  };\n\n  const handleScanning = async (id) => {\n    const resp = await dispatch(\n      accountScanningStatus({\n        customerId: getCustomerId(),\n        cloudAccountId: id,\n      })\n    );\n\n    if (resp && resp.payload && !resp.payload.err) {\n      setAccountStatus((prevState) => ({\n        ...prevState,\n        [id]: {\n          first_acct_risk_complete: resp.payload.first_acct_risk_complete,\n          first_classification_complete:\n            resp.payload.first_classification_complete,\n        },\n      }));\n    }\n  };\n\n  useEffect(async () => {\n    if (!accounts.length) return;\n    for (let account of accounts) {\n      handleScanning(account.id);\n    }\n  }, [accounts]);\n\n  const makePolling = async (id) => {\n    const resp = await dispatch(\n      verifyLaunchStackAsync({\n        id: id,\n      })\n    );\n    if (resp && resp.payload) {\n      // refreshAccounts();\n    }\n  };\n\n  const makeUpdatePolling = async (id) => {\n    const resp = await dispatch(\n      verifyUpdateStackAsync({\n        id: id,\n      })\n    );\n    if (resp && resp.payload) {\n      //refreshAccounts();\n      setEditDisabled(false);\n    }\n  };\n\n  const revertUpdateStack = async (id) => {\n    const resp = await dispatch(\n      revertUpdateStackAsync({\n        id: id,\n        revert: true,\n      })\n    );\n    if (resp && resp.payload) {\n      //refreshAccounts();\n      setEditDisabled(false);\n    }\n  };\n  useEffect(() => {\n    //const intervalCall = setInterval(async () => {\n    //  for (let i of accounts) {\n    //    if (i.status === \"creating_stack\") {\n    //      await makePolling(i.id);\n    //      dispatch(listAccountsAsync());\n    //    }\n    //    if (i.status === \"updating_stack\") {\n    //      makeUpdatePolling(i.id);\n    //    }\n    //    if (i.status === \"24_hour_passed\") {\n    //      await dispatch(listAccountsAsync());\n    //    }\n    //    if (i.status === \"active\") {\n    //      handleScanning(i.id);\n    //    }\n    //  }\n    //}, 30000);\n    //return () => {\n    //  // clean up\n    //  clearInterval(intervalCall);\n    //};\n  }, [accounts]);\n\n  useEffect(() => {\n    if (accounts.length === 0) {\n      refreshAccounts();\n    }\n    return () => {\n      // clean up\n      setAccountList([]);\n      clearInterval(lastInterval?.current);\n    };\n  }, []);\n\n  const getScanningStatusMsg = (scanType, id, status) => {\n    if (scanType === scanTypeAI && status === \"active\") {\n      return \"Connected\";\n    } else {\n      if (status === \"active\" && accountStatus[id]) {\n        if (!accountStatus[id].first_classification_complete) {\n          return \"Discovering & Analyzing data store contents...\";\n        } else if (!accountStatus[id].first_acct_risk_complete) {\n          return \"Identifying issues & attack paths...\";\n        } else {\n          return \"Scanning complete. No issues found\";\n        }\n      }\n    }\n  };\n\n  return (\n    <BlockUi\n      tag=\"div\"\n      blocking={loading}\n      loader={\n        <Loader active type={LOADER_CONFIG.type} color={LOADER_CONFIG.color} />\n      }\n      style={styles.blockUI}\n    >\n      <Box className=\"account-container\" sx={styles.accountsContainer}>\n        <Box sx={styles.accountsHeader}>\n          <Typography color={theme.palette.surface100.main} variant=\"body2\">\n            Accounts\n          </Typography>\n          <Button\n            variant=\"contained\"\n            type=\"button\"\n            onClick={() => setIsModal(true)}\n          >\n            <img\n              alt=\"\"\n              src=\"static/img/add-account.svg\"\n              className=\"add-account-svg mr-2\"\n            />\n            Add New Account\n          </Button>\n        </Box>\n        <Box className=\"account\" sx={styles.accountsBody}>\n          {accounts?.length > 0 ? (\n            <Box sx={styles.accountsGrid}>\n              <Box sx={styles.accountRow}>\n                {accounts.map((account, index) => (\n                  <div key={account._id} className=\"account-card p-0\">\n                    <div className=\"\">\n                      <div className=\"account-details iq-card iq-card-inner p-2\">\n                        <div className=\"m-0 row\">\n                          <div className=\"col-2 pt-1 text-center p-0 check \">\n                            {account.status === \"creating_stack\" ? (\n                              <img src={loaderWhite} width=\"24px\" />\n                            ) : account.status === \"24_hour_passed\" ? (\n                              <img src={loaderWhite} width=\"24px\" />\n                            ) : (\n                              <img\n                                src=\"static/img/mdi-check-circle.svg\"\n                                title=\"Onboarding successful\"\n                              />\n                            )}\n                          </div>\n                          <div className=\"col-10 card-heading\">\n                            <div className=\"row\">\n                              <div className=\"col-6\">\n                                <h6 className=\"card-title\">\n                                  {account?.id || \"\"}\n                                </h6>\n                              </div>\n                              <div className=\"col-6 d-flex justify-content-end align-items-center\">\n                                <ViewIcon\n                                  title=\"View\"\n                                  onClick={() => viewAccount(account)}\n                                  className=\"card-action-images\"\n                                />\n\n                                {account.status === \"creating_stack\" ||\n                                account.status === \"updating_stack\" ? (\n                                  <CloseIcon\n                                    title=\"Revert\"\n                                    onClick={() =>\n                                      revertUpdateStack(account.id)\n                                    }\n                                    className=\"card-action-images\"\n                                  />\n                                ) : (\n                                  <EditIcon\n                                    title=\"Edit\"\n                                    onClick={\n                                      editDisabled\n                                        ? \"\"\n                                        : () => updateAccount(account)\n                                    }\n                                    className={\n                                      editDisabled\n                                        ? \"card-action-images card-action-images-disabled\"\n                                        : \"card-action-images\"\n                                    }\n                                  />\n                                )}\n\n                                <DeleteIcon\n                                  title=\"Delete\"\n                                  onClick={() => deleteAccount(account)}\n                                  className={\"card-action-images\"}\n                                />\n                              </div>\n                            </div>\n                          </div>\n                        </div>\n                        <div className=\"card-body\">\n                          <div className=\"d-flex mx-3 mb-2 justify-content-between info\">\n                            <div>\n                              <img src={CalendarIcon} className=\"mr-1\"></img>\n                              <span className=\"mt-4\">\n                                <Moment format=\"YYYY-MM-DD\">\n                                  {account?.metadata?.createdAt}\n                                </Moment>\n                              </span>\n                              {account.status === \"24_hour_passed\" ? (\n                                <img\n                                  title={`Ensure AWS Cloudformation Stack ${\n                                    statusMsgMapping[account.status]\n                                      ? statusMsgMapping[account.status]\n                                      : \"creation\"\n                                  } is successfully completed`}\n                                  src={infoFilled}\n                                  className=\"pointer ml-2\"\n                                />\n                              ) : (\n                                \"\"\n                              )}\n                            </div>\n                          </div>\n                          <ul>\n                            <li className=\"d-flex justify-content-start align-items-center\">\n                              <i className=\"ri-checkbox-blank-circle-fill mr-2 account-icon\"></i>\n                              {account.status !== \"active\"\n                                ? `Waiting for stack ${\n                                    statusMsgMapping[account.status]\n                                      ? statusMsgMapping[account.status]\n                                      : \"creation\"\n                                  } to complete`\n                                : \"\"}\n\n                              {getScanningStatusMsg(\n                                account?.scanType,\n                                account.id,\n                                account.status\n                              )}\n                            </li>\n                          </ul>\n                        </div>\n                        <div className=\"footer mx-1\">\n                          <div className=\"text-center\">\n                            <img\n                              className={\"footer-icons my-2\"}\n                              src={getAccountTypeImage(account.type)}\n                            />\n                          </div>\n\n                          <div></div>\n                        </div>\n                      </div>\n                    </div>\n                  </div>\n                ))}\n              </Box>\n            </Box>\n          ) : (\n            <Box sx={styles.noData}>\n              <NoData customText=\"No accounts available.\" />\n            </Box>\n          )}\n        </Box>\n        {isModal && (\n          <AddAccountModal\n            handleModal={() => {\n              setIsModal(false);\n            }}\n            refreshAccounts={refreshAccounts}\n          />\n        )}\n\n        {deleteModal && selectedAccount && (\n          <DeleteAccountModal\n            handleModal={() => {\n              setDeleteModal(false);\n            }}\n            refreshAccounts={refreshAccounts}\n            account={selectedAccount}\n          />\n        )}\n        {updateModal && selectedAccount && (\n          <UpdateAccountModal\n            handleModal={() => {\n              setUpdateModal(false);\n            }}\n            refreshAccounts={refreshAccounts}\n            account={selectedAccount}\n            updateLaunchStack={updateLaunchStack}\n            setEditDisabled={setEditDisabled}\n            selectedAccount={selectedAccount}\n          />\n        )}\n\n        {viewModal && selectedAccount && (\n          <ViewAccountModal\n            handleModal={() => {\n              setViewModal(false);\n            }}\n            refreshAccounts={refreshAccounts}\n            account={selectedAccount}\n          />\n        )}\n      </Box>\n    </BlockUi>\n  );\n};\n\nexport default Cards;\n","import React, { useEffect } from \"react\";\nimport Cards from \"../../components/cards/account\";\n\nconst Connect = ({ setPath }) => {\n  useEffect(() => {\n    document.title = \"Daxa - Account\";\n\n    setPath(window.location.pathname);\n  }, []);\n\n  return (\n    <>\n      <Cards />\n    </>\n  );\n};\n\nexport default Connect;\n","const Card = ({ index, title, content, footer, type, active = false }) => {\n  return (\n    <div class=\"col-lg-3 pointer\">\n      <div class=\"card iq-mb-2 border-success header-risk-card\">\n        <div\n          className={`card-header ${\n            type === \"danger\" ? \"bg-red\" : \"bg-warning\"\n          }`}\n        >\n          <span>{index + 1}. </span>\n          {title}\n        </div>\n        <div className={`card-body ${active ? \"border-red\" : \"\"}`}>\n          The Data Store is misconfigured and on 7 Attack Paths. The Data Store\n          also contains sensitive data. Addressing this risk will reduce your\n          Enterprise Risk Score.\n        </div>\n        <div className={`card-footer ${active ? \"border-red\" : \"\"}`}>\n          1. LeapLabs:RegUsers\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Card;\n","export default __webpack_public_path__ + \"static/media/active.b1364092.svg\";","export default __webpack_public_path__ + \"static/media/bug.38b842d8.svg\";","export default __webpack_public_path__ + \"static/media/server.7a32953f.svg\";","import Card from \"./card\";\nimport ActiveIcon from \"../../../assets/img/icons/small/active.svg\";\nimport BugIcon from \"../../../assets/img/icons/small/bug.svg\";\nimport ServerIcon from \"../../../assets/img/icons/small/server.svg\";\n\nconst ChecklistCards = ({ vunerability, filterIssues }) => {\n  const activeCards = [\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"danger\",\n    },\n  ];\n  const riskCards = [\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"danger\",\n    },\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"danger\",\n    },\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"warning\",\n    },\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"warning\",\n    },\n  ];\n\n  const Softwares = [\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"danger\",\n    },\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"danger\",\n    },\n    {\n      title: \"LeapLabs:RegUsers\",\n      content:\n        \"The Data Store is misconfigured and on 7 Attack Paths. The Data Store also contains sensitive data. Addressing this risk will reduce your Enterprise Risk Score.\",\n      footer: \"- 10 Point ERS Reduction\",\n      type: \"warning\",\n    },\n  ];\n\n  return (\n    <>\n      <h6 className=\"card-title-danger mt-4\">\n        <img alt=\"\" src={ActiveIcon} />\n        ACTIVE ATTACKS\n      </h6>\n\n      <div class=\"row\">\n        {activeCards.map((card, index) => (\n          <Card\n            title={card.title}\n            content={card.content}\n            footer={card.footer}\n            type={card.type}\n            key={index}\n            active={true}\n            index={index}\n          />\n        ))}\n      </div>\n\n      <h6 className=\"card-title-primary mt-4\">\n        <img alt=\"\" src={BugIcon} />\n        REDUCE RISK IN DATA STORES\n      </h6>\n\n      <div class=\"row\">\n        {riskCards.map((card, index) => (\n          <Card\n            title={card.title}\n            content={card.content}\n            footer={card.footer}\n            type={card.type}\n            key={index}\n            index={index}\n          />\n        ))}\n      </div>\n\n      <h6 className=\"card-title-primary mt-4\">\n        <img alt=\"\" src={ServerIcon} />\n        ADDRESS SOFTWARE VULNERABILITIES\n      </h6>\n\n      <div class=\"row\">\n        {Softwares.map((card, index) => (\n          <Card\n            title={card.title}\n            content={card.content}\n            footer={card.footer}\n            type={card.type}\n            key={index}\n            index={index}\n          />\n        ))}\n      </div>\n    </>\n  );\n};\n\nexport default ChecklistCards;\n","import { getCustomerId } from \"../../../utils/SessionHelper\";\nimport {\n  listDatastoreStats,\n  listIssuesStats,\n} from \"../../../redux/slices/dashboardSlice\";\nimport { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nconst RiskScore = ({ small = false, tab }) => {\n  const dispatch = useDispatch();\n  const [riskScore, setRiskScore] = useState({\n    cdRiskScore: 0,\n    cdRiskLabel: \"LOW\",\n  });\n\n  const getDatastoreStats = async () => {\n    const res = await dispatch(\n      listDatastoreStats({\n        customerId: getCustomerId(),\n      })\n    );\n    if (\n      res &&\n      res.payload &&\n      res.payload.cdRiskLabel &&\n      res.payload.cdRiskScore\n    ) {\n      setRiskScore(res.payload);\n    }\n  };\n\n  const getIssuesStats = async () => {\n    const res = await dispatch(\n      listIssuesStats({\n        customerId: getCustomerId(),\n      })\n    );\n    if (\n      res &&\n      res.payload &&\n      res.payload.cdRiskLabel &&\n      res.payload.cdRiskScore\n    ) {\n      setRiskScore(res.payload);\n    }\n  };\n\n  useEffect(() => {\n    if (tab === 1) {\n      getDatastoreStats();\n    } else {\n      getIssuesStats();\n    }\n  }, [tab]);\n\n  return (\n    <div className={`risk-card ${small ? \"risk-card-sm\" : \"\"}`}>\n      <div\n        className={`score score-${riskScore.cdRiskLabel.toLowerCase()} d-flex align-items-center justify-content-center`}\n      >\n        <h6>{riskScore.cdRiskScore}%</h6>\n      </div>\n      {small ? (\n        \"\"\n      ) : (\n        <p className={`score-${riskScore.cdRiskLabel.toLowerCase()}-level`}>\n          RISK SCORE {riskScore.cdRiskLabel}\n        </p>\n      )}\n    </div>\n  );\n};\n\nexport default RiskScore;\n","import React, { useEffect, useState } from \"react\";\nimport ChecklistCards from \"../cards/checklist\";\nimport \"./style.scss\";\nimport RiskScore from \"../cards/risk-score/index\";\nimport ActiveIcon from \"../../assets/img/icons/small/active.svg\";\n\nconst CheckListComponent = ({}) => {\n  return (\n    <div className=\"checklist-container\">\n      <div className=\"row border-bottom-2\">\n        <div className=\"col-sm-10 d-flex align-items-center\">\n          <h6 className=\"text-sky mt-2\">RISK REDUCTION PUNCH LIST</h6>\n          {/* <p>\n            Nibh capio posuere consequat conventio torquent penatibus himenaeos\n            vel iusto. Mara transverbero multo imperdiet nullam nam. Abbas\n            gilvus dolore sollicitudin ulciscor transverbero praemitto mus elit.\n          </p> */}\n        </div>\n        <div className=\"col-sm-2 mt-1\">\n          <RiskScore small={true} />\n        </div>\n      </div>\n\n      <div className=\"row\">\n        <div className=\"col-sm-8 bg-light-grey\">\n          <ChecklistCards />\n        </div>\n        <div className=\"col-sm-4 bg-grey\">\n          <div className=\"flex-space-between\">\n            <div>\n              <h6 className=\"card-title-danger mt-4\">\n                <img src={ActiveIcon} />\n                ACTIVE ATTACKS\n              </h6>\n            </div>\n\n            <div>\n              <h6 className=\"card-title-danger mt-4\">\n                <span> -10</span>Reduction\n              </h6>\n            </div>\n          </div>\n          <p>\n            {/* Nibh capio posuere consequat conventio torquent penatibus himenaeos\n            vel iusto. Mara transverbero multo imperdiet nullam nam. Abbas\n            gilvus dolore sollicitudin ulciscor transverbero praemitto mus elit. */}\n          </p>\n\n          {/* <ReactFlowChart rowIndex={{ idx: 0, name: \"RDS-MYSQL-12\" }} /> */}\n\n          <div className=\"sky-card\">\n            <span>ACTIVE ATTACK from EC2-Private:</span> The external actor has\n            installed an API which is cloning RDS-mySql. The external location\n            of the attack is Turkey. You can take an action below to block the\n            Attack Path.\n          </div>\n\n          <h6 className=\"text-sky mt-2\">SUGGESTED REMEADIATION</h6>\n\n          <p className=\"title mt-4\">Remove Execive Permissions</p>\n          <p className=\"contents\">\n            {/* Nibh capio posuere consequat conventio torquent penatibus himenaeos\n            vel iusto. Mara transverbero multo imperdiet. */}\n          </p>\n          <div className=\"btn-container mt-2\">\n            <button className=\"btn btn-red mt-3\">BLOCK ACCESS</button>\n          </div>\n\n          <p className=\"title mt-4\">Remove Execive Permissions</p>\n          <p className=\"contents\">\n            {/* Nibh capio posuere consequat conventio torquent penatibus himenaeos\n            vel iusto. Mara transverbero multo imperdiet. */}\n          </p>\n          <div className=\"btn-container\">\n            <button className=\"btn btn-red mt-3\">BLOCK ACCESS</button>\n          </div>\n\n          <p className=\"title mt-4\">Remove Execive Permissions</p>\n          <p className=\"contents\">\n            {/* Nibh capio posuere consequat conventio torquent penatibus himenaeos\n            vel iusto. Mara transverbero multo imperdiet. */}\n          </p>\n          <div className=\"btn-container\">\n            <button className=\"btn btn-red mt-3\">BLOCK ACCESS</button>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default CheckListComponent;\n","import { useEffect } from \"react\";\nimport CheckListComponent from \"../../components/checklist/index\";\n\nconst CheckList = ({}) => {\n  useEffect(() => {\n    document.title = \"Cloud Defense - Checklist\";\n  }, []);\n  return (\n    <div>\n      <CheckListComponent />\n    </div>\n  );\n};\n\nexport default CheckList;\n","export default __webpack_public_path__ + \"static/media/close-icon-grey.f3a2dbf0.svg\";","export const capitalizeFirstLetter = (string) => {\n  if (!string) {\n    return string;\n  }\n  return string.charAt(0).toUpperCase() + string.slice(1);\n};\nexport const formatHeader = (string) => {\n  if (!string) {\n    return string;\n  }\n  var formatedString = string.replace(/[^a-zA-Z ]/g, \" \");\n  return formatedString\n    .toLowerCase()\n    .split(\" \")\n    .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n    .join(\" \");\n};\n","export default __webpack_public_path__ + \"static/media/hacker-icon.f4cd27ef.svg\";","export default __webpack_public_path__ + \"static/media/ico-mysql-score-low.4843b7a4.svg\";","export default __webpack_public_path__ + \"static/media/ico-mysql-score-high.629e6764.svg\";","export default __webpack_public_path__ + \"static/media/ico-mysql-score-moderate.dcb8eeb2.svg\";","export default __webpack_public_path__ + \"static/media/ico-mysql-score-elevated.728422f3.svg\";","export default __webpack_public_path__ + \"static/media/ico-doc-db-score-low.f1a6576c.svg\";","export default __webpack_public_path__ + \"static/media/ico-doc-db-score-high.61b5eefb.svg\";","export default __webpack_public_path__ + \"static/media/ico-doc-db-score-elevated.2319e2b8.svg\";","export default __webpack_public_path__ + \"static/media/ico-elastic-cache-score-low.f6e1680b.svg\";","export default __webpack_public_path__ + \"static/media/ico-elastic-cache-score-high.ef8b805a.svg\";","export default __webpack_public_path__ + \"static/media/ico-elastic-cache-score-moderate.8e1f39ca.svg\";","export default __webpack_public_path__ + \"static/media/ico-elastic-cache-score-elevated.26af358b.svg\";","export default __webpack_public_path__ + \"static/media/ico-mongodb-score-low.7e98f20c.svg\";","export default __webpack_public_path__ + \"static/media/ico-mongodb-score-high.319469c3.svg\";","export default __webpack_public_path__ + \"static/media/ico-mongodb-score-moderate.151eac3c.svg\";","export default __webpack_public_path__ + \"static/media/ico-mongodb-score-elevated.8d041584.svg\";","export default __webpack_public_path__ + \"static/media/ico-neptune-db-score-low.9e20a75c.svg\";","export default __webpack_public_path__ + \"static/media/ico-neptune-db-score-high.b56dbe31.svg\";","export default __webpack_public_path__ + \"static/media/ico-neptune-db-score-moderate.7f75a667.svg\";","export default __webpack_public_path__ + \"static/media/ico-neptune-db-score-elevated.e4582c91.svg\";","export default __webpack_public_path__ + \"static/media/ico-postgress-score-low.a3686d5b.svg\";","export default __webpack_public_path__ + \"static/media/ico-postgress-score-high.6f4c45c0.svg\";","export default __webpack_public_path__ + \"static/media/ico-postgress-score-moderate.08bf0d29.svg\";","export default __webpack_public_path__ + \"static/media/ico-postgress-score-elevated.2d07be9d.svg\";","export default __webpack_public_path__ + \"static/media/ico-rds-score-low.cf477934.svg\";","export default __webpack_public_path__ + \"static/media/ico-rds-score-high.406717a5.svg\";","export default __webpack_public_path__ + \"static/media/ico-rds-score-moderate.b890586d.svg\";","export default __webpack_public_path__ + \"static/media/ico-rds-score-elevated.75524f8b.svg\";","export default __webpack_public_path__ + \"static/media/ico-s3-score-low.188ff1dd.svg\";","export default __webpack_public_path__ + \"static/media/ico-s3-score-high.dca50113.svg\";","export default __webpack_public_path__ + \"static/media/ico-s3-score-moderate.99569d9f.svg\";","export default __webpack_public_path__ + \"static/media/ico-s3-score-elevated.b1ad5821.svg\";","export default __webpack_public_path__ + \"static/media/ico-bug-score-low.38b842d8.svg\";","export default __webpack_public_path__ + \"static/media/ico-bug-score-high.07b71d11.svg\";","export default __webpack_public_path__ + \"static/media/ico-bug-score-moderate.ebc2bd41.svg\";","export default __webpack_public_path__ + \"static/media/ico-bug-score-elevated.bb9eace3.svg\";","export default __webpack_public_path__ + \"static/media/ico-generic-db-score-low.afd14e46.svg\";","export default __webpack_public_path__ + \"static/media/ico-generic-db-score-high.cc42803a.svg\";","export default __webpack_public_path__ + \"static/media/ico-generic-db-score-moderate.e9d88ac7.svg\";","export default __webpack_public_path__ + \"static/media/ico-generic-db-score-elevated.c1826ecf.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-red-shift-score-low.50d2c010.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-red-shift-score-high.f110b081.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-red-shift-score-moderate.a6e1d392.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-red-shift-score-elevated.6a69fc62.svg\";","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoMysqlScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3355_10948)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\",\n    fill: \"#3260E6\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10.0901 10.7463C10.69 9.24765 12.7897 10.3824 13.6036 10.9063C13.8036 11.0373 14.0322 11.3137 14.2607 11.4155C14.6177 11.4302 14.9749 11.4592 15.3319 11.4738C16.0031 11.6338 16.6316 11.7648 17.1601 12.0703C19.6167 13.5399 21.2163 15.0386 22.6874 17.5121C23.0017 18.0358 23.1588 18.6033 23.4158 19.1709C23.7729 20.0147 24.1729 20.9022 24.587 21.7025C24.7726 22.0809 24.9155 22.5028 25.1727 22.8228C25.2726 22.9684 25.5583 23.0119 25.7296 23.0993C26.2009 23.3466 26.7723 23.5358 27.2151 23.8268C28.0434 24.3506 28.8433 24.9762 29.5717 25.6165C29.8431 25.8639 30.0288 26.2131 30.2858 26.475V26.6059C30.0573 26.6786 29.8288 26.7514 29.6003 26.8096C29.1004 26.9406 28.6576 26.9114 28.172 27.0424C27.872 27.1297 27.5007 27.2462 27.1865 27.2753C27.1912 27.2801 27.196 27.2849 27.2002 27.2892L27.2151 27.3043C27.4007 27.8427 28.4006 28.2792 28.8576 28.5993C29.4146 29.0067 29.9288 29.5014 30.3429 30.0688L30.7714 30.4908C30.8714 30.6363 30.8999 30.8254 31 30.9564V31C30.7999 30.9273 30.7 30.738 30.5429 30.6217C30.2286 30.4035 29.9146 30.1414 29.6003 29.9379C29.0576 29.5886 28.4291 29.385 27.872 29.0358C27.5579 28.832 27.2578 28.5993 26.958 28.3666C26.6866 28.1627 26.3868 27.7698 26.2153 27.4789C26.1153 27.3189 26.101 27.1297 25.9867 27.0133C26.0153 26.7368 26.3581 26.7368 26.5724 26.6495C27.3151 26.3295 28.2006 26.2131 29.3432 26.2421C29.3003 25.9511 28.5862 25.5873 28.3577 25.4127C27.9006 25.0782 27.415 24.7288 26.9294 24.4234C26.6724 24.2634 26.2295 24.1469 25.9439 24.016C25.5582 23.8559 24.7013 23.6958 24.487 23.3904C24.0585 22.8228 23.7729 22.1244 23.4729 21.4406C23.1731 20.7422 22.8018 20.0147 22.5018 19.3017C22.3446 18.9526 22.2733 18.6468 22.1019 18.3123C21.0591 16.2608 19.5167 14.5438 17.6457 13.3362C17.0314 12.9433 16.346 12.5795 15.5889 12.3322C15.1604 12.2013 14.6463 12.274 14.1892 12.1722H13.8892C13.6322 12.0995 13.4179 11.823 13.218 11.6775C12.7752 11.372 12.3325 11.1681 11.804 10.95C11.6184 10.8626 11.0899 10.6589 10.9042 10.8191C10.7899 10.8482 10.7328 10.8917 10.7043 11.0082C10.59 11.1828 10.69 11.4447 10.7614 11.6047C10.9757 12.0703 11.2756 12.3468 11.5469 12.7397C11.7899 13.0889 12.0897 13.4816 12.2611 13.86C12.6324 14.6748 12.8038 15.5769 13.1466 16.3917C13.2751 16.6974 13.4752 17.0465 13.6608 17.3229C13.8178 17.5411 14.1036 17.7012 14.1893 17.9777C14.3607 18.2687 13.9322 19.229 13.8322 19.5346C13.4607 20.7276 13.5321 22.3864 13.9607 23.4194C14.1322 23.8268 14.2893 24.3069 14.7462 24.4234C14.7748 24.3942 14.7463 24.4089 14.8034 24.3942C14.9034 23.594 14.9321 22.8228 15.2033 22.1972C15.3604 21.8044 15.6746 21.5279 15.8889 21.2078C16.0316 21.2951 16.0316 21.5568 16.1174 21.7316C16.303 22.1826 16.5031 22.6774 16.7316 23.1283C17.2029 24.0596 17.7315 24.9616 18.3312 25.7765C18.5311 26.0675 18.8169 26.3877 19.0739 26.6494C19.1881 26.7514 19.3167 26.8095 19.4024 26.9405H19.431V26.9842C19.0025 26.8242 18.7312 26.373 18.3883 26.1113C17.7456 25.6165 16.9744 24.8744 16.5316 24.1615C16.3459 23.7542 16.146 23.3612 15.946 22.9539V22.9247C15.8604 23.0411 15.889 23.1574 15.8459 23.3322C15.6604 24.0597 15.8032 24.889 15.1605 25.1509C14.432 25.4565 13.8892 24.656 13.6608 24.2924C12.9324 23.0848 12.7324 21.0478 13.2465 19.4036C13.3609 19.0399 13.3752 18.6033 13.5751 18.3123C13.5322 18.0505 13.3323 17.9776 13.218 17.8176C13.0181 17.5411 12.8467 17.2211 12.6896 16.9156C12.3895 16.319 12.1755 15.6058 11.9468 14.9658C11.8468 14.704 11.8183 14.4419 11.7184 14.1947C11.5469 13.8163 11.2329 13.4381 10.9899 13.1034C10.6615 12.6232 9.70443 11.692 10.0901 10.7463ZM14.7747 13.598C14.889 13.7145 15.0747 13.7871 15.1604 13.9327C15.2318 14.0346 15.2461 14.1365 15.3318 14.2382C15.3318 14.5875 15.2319 14.8202 15.0318 14.9658L15.017 14.9809L15.0033 14.9949C14.889 14.7621 14.7891 14.5292 14.6747 14.2964C14.6462 14.2557 14.6153 14.2167 14.5833 14.1786L14.3869 13.9518C14.3229 13.8745 14.2635 13.793 14.2178 13.6999H14.1892V13.6708C14.3606 13.6272 14.5319 13.598 14.7747 13.598Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3355_10948\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoMysqlScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-mysql-score-low.0ed8d3df.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoDocDbScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3039_9475)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M27.903 5.422L28.032 5.473L33.724 10.955V28.988C33.724 31.074 31.942 32.797 29.784 32.797H10.29C8.13498 32.797 6.34998 31.077 6.34998 28.988V9.23C6.34998 7.145 8.13198 5.422 10.29 5.422H27.903ZM26.554 8.035H10.29C9.58698 8.035 9.04498 8.558 9.04498 9.23V28.988C9.04498 29.66 9.58698 30.183 10.29 30.183H29.784C30.487 30.183 31.029 29.66 31.029 28.988L31.027 12.352H26.742L26.555 12.165L26.554 8.035ZM21.025 11.725C22.358 11.725 23.321 11.972 23.938 12.477C24.441 13.067 24.693 13.818 24.693 14.838V16.734C24.693 17.657 25.053 18.104 25.757 18.13L25.937 18.318V19.78L25.75 19.968C25.044 19.968 24.683 20.406 24.683 21.333V23.229C24.683 24.288 24.414 25.122 23.915 25.603C23.335 26.163 22.383 26.433 21.015 26.433L20.827 26.245V24.692L21.015 24.504C21.517 24.504 21.73 24.437 21.938 24.241C22.095 24.017 22.175 23.695 22.175 23.229V21.505C22.175 20.387 22.437 19.638 23.026 19.194L23.211 19.07L23.185 19.054C22.574 18.621 22.235 17.854 22.183 16.79L22.175 16.492V14.848C22.175 14.01 21.827 13.654 21.025 13.654L20.838 13.467V11.913L21.025 11.725ZM18.15 11.806L18.337 11.994V13.547L18.15 13.734C17.355 13.734 17 14.094 17 14.929V16.653C17 17.771 16.738 18.52 16.149 18.964L15.966 19.085L15.991 19.101C16.606 19.533 16.931 20.303 16.918 21.298L16.905 21.575V23.219C16.905 23.619 17.013 23.915 17.201 24.201C17.42 24.404 17.716 24.494 18.15 24.494L18.337 24.681V26.234L18.15 26.422C16.74 26.422 15.806 26.135 15.248 25.501C14.744 25.002 14.482 24.244 14.482 23.209V21.222C14.482 20.331 14.169 19.947 13.415 19.947L13.227 19.76V18.297L13.415 18.11C14.12 18.11 14.482 17.67 14.482 16.744V14.929C14.482 13.953 14.715 13.169 15.122 12.749L15.25 12.635C15.83 12.075 16.782 11.806 18.15 11.806Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3039_9475\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoDocDbScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-doc-db-score-low.1f80fcd6.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoElasticCacheScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3039_9491)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M19.9 4.009L19.96 4L20.058 4.002L20.149 4.022L20.221 4.05L33.221 10.435C33.305 10.4762 33.3758 10.5401 33.4253 10.6194C33.4748 10.6988 33.501 10.7905 33.501 10.884V14.499L33.497 14.553L33.484 14.627L33.472 14.664C33.4349 14.7789 33.3556 14.8754 33.25 14.934L33.18 14.966L33.123 14.984L26.5 16.67V23.705C26.5001 23.742 26.496 23.7789 26.488 23.815L33.063 24.646C33.425 24.692 33.57 25.049 33.469 25.324C33.489 25.377 33.5 25.436 33.5 25.498V29.113C33.5 29.2065 33.4737 29.2982 33.4243 29.3776C33.3748 29.4569 33.304 29.5208 33.22 29.562L20.212 35.95L20.158 35.972L20.1 35.989L20.02 35.999L19.944 35.995L19.901 35.988L19.828 35.968L19.781 35.947L6.78099 29.562C6.69684 29.5208 6.62597 29.4567 6.57646 29.3772C6.52695 29.2976 6.5008 29.2057 6.50099 29.112V25.5C6.50099 25.4399 6.51183 25.3803 6.53299 25.324C6.50547 25.2531 6.4945 25.1769 6.50093 25.1012C6.50736 25.0254 6.53102 24.9521 6.57009 24.8869C6.60916 24.8217 6.66262 24.7663 6.72638 24.7249C6.79014 24.6835 6.86252 24.6572 6.93799 24.648L13.515 23.823C13.5058 23.785 13.5011 23.7461 13.501 23.707V16.694L6.84299 14.974L6.75199 14.934L6.72499 14.917C6.65809 14.8757 6.60298 14.8178 6.56499 14.749L6.53299 14.679L6.51699 14.627L6.50499 14.567L6.50199 14.523L6.50099 10.885C6.50099 10.7915 6.52723 10.6998 6.57672 10.6204C6.62622 10.5411 6.69699 10.4772 6.78099 10.436L19.803 4.04L19.9 4.01V4.009ZM7.49999 26.167V28.802L19.5 34.696V29.703L7.49999 26.167ZM23.982 24.507L20.775 24.9L20.065 24.995C20.0368 24.9987 20.0084 25.0001 19.98 24.999L19.915 24.995L19.885 24.999L19.795 24.995L19.751 24.988L14.118 24.747L9.47899 25.333L20 28.349L30.52 25.333L23.982 24.507ZM19.5 16.06L14.501 16.742V23.268L19.487 23.942L19.5 16.06ZM20 11.189L8.87899 14.467L13.967 15.781L19.796 15.003C19.8401 14.9971 19.8849 14.9971 19.929 15.003L19.976 14.999L20.065 15.003L25.977 15.773L31.11 14.463L20 11.189ZM19.5 5.301L7.49999 11.194V13.83L19.5 10.293V5.301Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3039_9491\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoElasticCacheScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-elastic-cache-score-low.2807465b.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoMongodbScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3355_10943)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\",\n    fill: \"#3260E6\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M25.7863 18.7983C24.3786 12.4917 21.4424 10.8136 20.6938 9.62648C20.3848 9.10325 20.1113 8.55987 19.875 8C19.8354 8.56031 19.7634 8.91386 19.2935 9.33847C18.352 10.1905 14.3515 13.4997 14.0137 20.6647C13.7008 27.3451 18.8532 31.4649 19.5335 31.8895C20.0578 32.1516 20.6947 31.8959 21.0058 31.6559C23.4888 29.9261 26.8828 25.3134 25.789 18.7973\",\n    fill: \"white\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M25.7863 18.7983C24.3786 12.4917 21.4424 10.8136 20.6938 9.62648C20.3848 9.10325 20.1113 8.55987 19.875 8C19.8354 8.56031 19.7634 8.91386 19.2935 9.33847C18.352 10.1905 14.3515 13.4997 14.0137 20.6647C13.7008 27.3451 18.8532 31.4649 19.5335 31.8895C20.0578 32.1516 20.6947 31.8959 21.0058 31.6559C23.4888 29.9261 26.8828 25.3134 25.789 18.7973\",\n    stroke: \"white\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M21.0772 32C20.3812 31.6637 20.18 30.088 20.1495 28.6192C20.3212 26.1972 20.3711 23.7668 20.3 21.3392C20.2631 20.0655 20.3166 9.54036 20 8C20.2169 8.52212 20.4661 9.02845 20.7477 9.51434C21.4889 10.7277 24.3955 12.4427 25.7893 18.8819C26.8748 25.5246 23.5334 30.2218 21.0772 32Z\",\n    fill: \"#3260E6\",\n    stroke: \"white\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3355_10943\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoMongodbScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-mongodb-score-low.d0a901b9.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoNeptuneDbScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3355_10969)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\",\n    fill: \"#3260E6\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M28.8751 17.25C29.9106 17.25 30.7501 18.0895 30.7501 19.125C30.7501 20.1605 29.9106 21 28.8751 21L28.7364 20.995L27.6751 22.6938C28.2509 23.1144 28.6251 23.7948 28.6251 24.5625C28.6251 25.1671 28.3931 25.7175 28.0132 26.1295L29.1766 27.2923C29.2798 27.2647 29.3882 27.25 29.5001 27.25C30.1904 27.25 30.7501 27.8096 30.7501 28.5C30.7501 29.1904 30.1904 29.75 29.5001 29.75C28.8097 29.75 28.2501 29.1904 28.2501 28.5C28.2501 28.3881 28.2648 28.2797 28.2923 28.1765L26.9123 26.7965C26.721 26.8477 26.52 26.875 26.3126 26.875C25.8171 26.875 25.358 26.7192 24.9817 26.4539L23.2179 28.2171C23.239 28.308 23.2501 28.4027 23.2501 28.5C23.2501 29.1904 22.6904 29.75 22.0001 29.75C21.3097 29.75 20.7501 29.1904 20.7501 28.5C20.7501 27.8096 21.3097 27.25 22.0001 27.25C22.1256 27.25 22.2469 27.2685 22.3612 27.303L24.1881 25.4775C24.0671 25.1969 24.0001 24.8875 24.0001 24.5625C24.0001 24.3551 24.0274 24.1541 24.0786 23.9628L22.3235 22.2077C22.2204 22.2353 22.1119 22.25 22.0001 22.25C21.3097 22.25 20.7501 21.6904 20.7501 21C20.7501 20.3096 21.3097 19.75 22.0001 19.75C22.6904 19.75 23.2501 20.3096 23.2501 21C23.2501 21.1119 23.2354 21.2203 23.2078 21.3235L24.7456 22.8619C25.1576 22.482 25.708 22.25 26.3126 22.25L26.4746 22.2556L27.5821 20.4829C27.2235 20.1413 27.0001 19.6593 27.0001 19.125C27.0001 18.0895 27.8395 17.25 28.8751 17.25ZM9.91675 19.3333C9.91675 21.5779 13.4618 23.4065 17.9065 23.4965L18.3334 23.5C18.2813 23.8438 18.2501 24.1875 18.2501 24.5417C18.2548 25.2467 18.3564 25.9477 18.5522 26.625H18.2501C13.6459 26.625 9.91675 24.7604 9.91675 22.4583V19.3333ZM26.5834 14.125V17.3333C26.2397 17.2813 25.8959 17.25 25.5417 17.25C22.6459 17.25 20.1459 18.9479 18.9688 21.4167H18.2501C13.6459 21.4167 9.91675 19.5521 9.91675 17.25V14.125C9.91675 16.4271 13.6459 18.2917 18.2501 18.2917C22.8542 18.2917 26.5834 16.4271 26.5834 14.125ZM18.2501 7.875C22.8542 7.875 26.5834 9.73958 26.5834 12.0417C26.5834 14.3438 22.8542 16.2083 18.2501 16.2083C13.6459 16.2083 9.91675 14.3438 9.91675 12.0417C9.91675 9.73958 13.6459 7.875 18.2501 7.875Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3355_10969\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoNeptuneDbScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-neptune-db-score-low.e9d1b816.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoPostgressScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3039_9575)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M24.775 8.88101C25.779 8.87101 26.748 9.02401 27.649 9.37501C28.7491 9.80177 29.7096 10.5248 30.424 11.464C31.194 12.459 30.96 14.999 30.029 17.818L29.826 18.405C29.2376 20.0421 28.4781 21.6125 27.56 23.09L27.386 23.367C27.523 23.467 27.746 23.543 28.084 23.574C28.443 23.607 28.894 23.584 29.446 23.494L29.708 23.448L29.938 23.403C30.33 23.321 30.613 23.33 30.81 23.483C30.953 23.593 31.02 23.76 31.003 23.937C30.9867 24.0659 30.939 24.1889 30.864 24.295C30.621 24.666 30.047 25.099 29.387 25.409C28.83 25.671 27.945 25.84 27.157 25.849C26.75 25.853 26.393 25.815 26.12 25.729L26.11 25.724L26.02 26.519L25.842 27.979L25.725 28.873L25.625 29.595L25.545 30.1C25.247 31.852 24.491 32.647 22.694 33.037C21.674 33.257 20.878 33.082 20.289 32.58C19.949 32.29 19.732 31.967 19.529 31.517L19.399 31.207C19.331 31.032 19.271 30.741 19.222 30.357L19.166 29.829L19.134 29.409L19.103 28.879L19.075 28.156L19.055 27.206L19.053 26.789L19.056 26.015C18.6032 26.434 18.0375 26.7111 17.429 26.812C16.829 26.916 16.248 26.864 15.668 26.717C15.236 26.607 14.814 26.374 14.655 26.077C14.515 25.812 14.581 25.519 14.825 25.317C14.985 25.186 15.225 25.084 15.555 25.002L16.165 24.864L16.455 24.784L16.546 24.754C16.751 24.683 16.869 24.613 16.98 24.504L17.047 24.432L17.472 23.904L17.469 23.864C16.9777 23.8511 16.4966 23.7208 16.066 23.484L15.563 24.036C15.087 24.566 14.597 25.133 14.122 25.711C13.284 26.731 12.332 26.771 11.479 25.931C11.2525 25.7025 11.0507 25.4508 10.877 25.18L10.71 24.912L10.586 24.696L10.32 24.186L10.21 23.953L10.02 23.527L9.82497 23.047L9.63197 22.535C9.17397 21.275 8.75797 19.791 8.42397 18.299L8.26797 17.572L8.07797 16.57L7.98697 16.008L7.93497 15.618L7.90197 15.251C7.79597 13.093 8.26497 11.533 9.24597 10.528C10.078 9.67501 11.231 9.26501 12.61 9.21501C13.643 9.17701 14.74 9.34101 15.83 9.63701C16.043 9.69501 16.247 9.75701 16.438 9.81701L16.808 9.94201L16.974 10.003C17.804 9.43001 18.818 9.13401 20.022 9.15401C20.65 9.16401 21.244 9.24301 21.805 9.38201L21.888 9.34901L22.084 9.28501L22.402 9.19501L22.592 9.14901C23.3075 8.97926 24.0396 8.88938 24.775 8.88101ZM20.01 9.87101C18.79 9.85101 17.82 10.19 17.06 10.836C16.412 11.386 15.927 12.15 15.586 13.079C15.3359 13.777 15.1687 14.502 15.088 15.239C15.072 15.371 15.06 15.499 15.05 15.624L15.07 15.611C15.49 15.375 15.988 15.173 16.47 15.061C17.072 14.921 17.624 14.921 18.085 15.101C18.649 15.321 19.032 15.794 19.183 16.504C19.446 17.736 19.517 18.746 19.427 19.611C19.3746 20.1387 19.2494 20.6567 19.055 21.15L18.912 21.497L18.625 22.161L18.42 22.724L18.303 23.072L18.23 23.319C18.28 23.306 18.33 23.297 18.38 23.293C18.582 23.275 18.725 23.313 18.95 23.407C19.388 23.591 19.703 24.062 19.77 24.551C19.7828 24.5914 19.7885 24.6337 19.787 24.676L19.765 25.896L19.763 26.977L19.773 27.759L19.798 28.554L19.848 29.503L19.879 29.883L19.919 30.259L19.942 30.424L19.985 30.676C20 30.75 20.015 30.815 20.032 30.869L20.071 30.976L20.098 31.042C20.286 31.5 20.465 31.792 20.746 32.032C21.161 32.386 21.732 32.512 22.546 32.336C23.994 32.022 24.55 31.49 24.813 30.164L24.858 29.915L24.945 29.342L25.101 28.188L25.289 26.673L25.413 25.577L25.466 25.012L25.462 24.857C25.459 24.076 25.738 23.609 26.243 23.38L26.336 23.341L26.521 23.28L26.441 23.171L26.203 22.867C26.1157 22.7545 26.0326 22.6387 25.954 22.52C25.8569 22.3731 25.7688 22.2205 25.69 22.063L25.538 21.73L24.774 20.298L24.642 20.038C24.4482 19.6526 24.272 19.2585 24.114 18.857L23.984 18.5L23.933 18.347C23.9009 18.248 23.8709 18.1483 23.843 18.048L23.823 17.975C23.588 17.092 23.591 16.361 23.902 15.801C24.295 15.093 25.115 14.774 26.372 14.851L26.661 14.876L26.601 14.708L26.528 14.522C26.2463 13.85 25.8775 13.2179 25.431 12.642C24.123 10.949 22.321 9.90901 20.01 9.87101ZM18.442 24.007C18.381 24.012 18.309 24.047 18.22 24.132L18.14 24.217L17.902 24.503L17.559 24.928C17.3693 25.1439 17.1272 25.3071 16.856 25.402L16.693 25.459L16.478 25.522L16.121 25.61L15.761 25.689L15.651 25.717L15.514 25.757L15.436 25.787L15.368 25.816L15.459 25.872C15.573 25.935 15.713 25.99 15.839 26.022C16.332 26.146 16.82 26.191 17.309 26.106C17.974 25.991 18.546 25.645 19.003 24.998C19.172 24.758 19.02 24.288 18.754 24.11L18.679 24.07L18.559 24.024L18.539 24.018C18.5076 24.0083 18.4747 24.0046 18.442 24.007ZM12.636 9.93001C11.422 9.97401 10.44 10.324 9.74997 11.03C8.97597 11.823 8.56697 13.067 8.59697 14.837L8.61497 15.299L8.64497 15.596L8.68897 15.913L8.74697 16.28L8.84497 16.832L8.98897 17.557L9.09297 18.042C9.37024 19.3139 9.7154 20.57 10.127 21.805L10.387 22.531L10.533 22.906L10.717 23.347L10.827 23.597L11.014 23.985L11.239 24.407L11.408 24.69L11.521 24.863C11.6531 25.0618 11.8041 25.2473 11.972 25.417C12.459 25.895 12.879 25.943 13.356 25.493L13.492 25.351L13.577 25.252C14.059 24.665 14.556 24.091 15.039 23.552L15.476 23.072C14.605 22.316 14.086 21.097 14.246 19.78L14.254 19.71C14.377 18.825 14.392 18.005 14.345 17.073L14.315 16.514L14.311 16.303L14.316 16.058L14.319 15.97C14.3307 15.6976 14.3524 15.4258 14.384 15.155C14.477 14.36 14.649 13.57 14.922 12.828C15.256 11.92 15.719 11.143 16.332 10.535L16.542 10.606C16.272 10.512 15.972 10.416 15.646 10.328C14.62 10.049 13.589 9.89501 12.636 9.93001ZM26.933 23.917L26.919 23.907L26.675 23.98C26.619 23.997 26.575 24.014 26.533 24.032C26.305 24.136 26.177 24.33 26.17 24.778L26.173 24.972C26.198 24.989 26.224 25.003 26.258 25.018L26.33 25.044C26.522 25.104 26.81 25.135 27.15 25.132C27.844 25.124 28.632 24.973 29.089 24.758C29.425 24.6 29.733 24.406 29.959 24.222L30.099 24.1L29.673 24.182L29.333 24.235L29.132 24.26L28.901 24.283L28.611 24.301C28.425 24.308 28.252 24.306 28.092 24.294L28.032 24.29C27.647 24.256 27.339 24.168 27.102 24.032L26.932 23.917H26.933ZM16.629 15.758C16.215 15.855 15.779 16.031 15.415 16.236C15.3 16.301 15.198 16.366 15.119 16.423L15.023 16.499L15.048 16.949C15.102 17.959 15.089 18.844 14.956 19.809C14.719 21.525 15.891 23.029 17.372 23.141L17.546 23.147L17.592 22.971L17.63 22.838L17.717 22.578L18.015 21.777L18.279 21.172C18.523 20.602 18.659 20.137 18.723 19.534C18.783 18.964 18.764 18.314 18.654 17.557L18.582 17.114C18.555 16.964 18.525 16.812 18.492 16.654C18.302 15.771 17.655 15.519 16.629 15.758ZM24.782 9.59701C24.1817 9.60339 23.5836 9.66836 22.996 9.79101C24.175 10.316 25.173 11.144 25.989 12.199C26.502 12.862 26.908 13.579 27.182 14.246L27.278 14.493C27.341 14.664 27.388 14.82 27.42 14.951C27.444 15.049 27.458 15.132 27.462 15.203V15.281L27.447 15.364L27.452 15.497C27.455 15.79 27.431 16.073 27.382 16.427L27.256 17.311L27.233 17.558L27.216 17.962L27.221 18.173L27.239 18.433L27.289 18.905L27.366 19.596L27.389 19.856L27.409 20.226V20.537L27.392 20.821C27.3481 21.4282 27.1624 22.0166 26.85 22.539L26.97 22.693C28.224 20.694 29.204 18.393 29.747 16.266C29.817 15.992 29.878 15.725 29.931 15.466L29.955 15.348C30.283 13.678 30.245 12.393 29.866 11.904C28.599 10.266 26.829 9.57701 24.782 9.59701ZM24.519 16.151C24.332 16.487 24.319 16.989 24.467 17.626L24.541 17.911L24.628 18.191L24.678 18.336C24.787 18.644 24.92 18.966 25.078 19.306L25.283 19.734L25.483 20.118L26.148 21.366L26.209 21.49C26.265 21.627 26.328 21.757 26.397 21.881C26.5274 21.6018 26.616 21.305 26.66 21L26.693 20.694L26.703 20.468L26.698 20.135L26.675 19.808L26.639 19.449L26.539 18.546L26.513 18.176L26.509 17.994L26.524 17.561L26.554 17.223L26.618 16.753L26.687 16.286C26.722 16.028 26.741 15.816 26.744 15.606C25.489 15.447 24.791 15.665 24.52 16.153L24.519 16.151ZM17.434 16.077L17.611 16.098L17.701 16.117C17.986 16.185 18.191 16.329 18.166 16.512C18.135 16.736 17.782 16.978 17.465 16.933C17.177 16.893 16.888 16.612 16.855 16.396V16.326L16.869 16.224H16.897C16.991 16.108 17.196 16.062 17.434 16.077ZM26.063 16.036L26.083 16.084L26.086 16.096C26.111 16.28 25.815 16.595 25.526 16.636C25.239 16.676 24.916 16.455 24.89 16.265C24.874 16.142 25.011 16.03 25.218 15.962L25.345 15.928C25.379 15.921 25.415 15.914 25.451 15.909C25.734 15.869 25.986 15.915 26.063 16.036Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3039_9575\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoPostgressScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-postgress-score-low.0ba014a8.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoS3ScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3355_10917)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\",\n    fill: \"#3260E6\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M28.1991 12.0845L28.2178 12.0854L28.2667 12.0945L28.2996 12.1081L29.8756 12.8933C29.9054 12.9081 29.9315 12.9296 29.9521 12.9561C29.9728 12.9825 29.9873 13.0134 29.9947 13.0463L30 13.0971V26.8722C29.9999 26.9059 29.9925 26.9391 29.9782 26.9695C29.9639 26.9999 29.9431 27.0267 29.9173 27.0478L29.8756 27.075L28.2871 27.8657L28.2364 27.8802L28.2053 27.8829L28.1724 27.8811L23.7982 26.826V29.9922C23.7984 30.0259 23.7911 30.0593 23.777 30.0899C23.7628 30.1205 23.7421 30.1474 23.7164 30.1688L23.6747 30.1959L20.0791 31.9855L20.0382 31.9964L20.0062 32C19.9867 32 19.976 32 19.9653 31.9973L19.9022 31.9774L16.3253 30.1959C16.2955 30.1811 16.2694 30.1596 16.2487 30.1332C16.2281 30.1067 16.2136 30.0758 16.2062 30.0429L16.2009 29.9922L16.2 26.8405L11.848 27.8729L11.808 27.8783H11.7858L11.7556 27.8747C11.7365 27.8712 11.718 27.8651 11.7004 27.8566L10.1253 27.0759C10.0954 27.0612 10.069 27.0398 10.0482 27.0133C10.0275 26.9868 10.0128 26.9559 10.0053 26.9229L10 26.8722V13.0971C9.99994 13.0632 10.0073 13.0298 10.0216 12.9992C10.0359 12.9686 10.0568 12.9417 10.0827 12.9205L10.1244 12.8933L11.7173 12.1008L11.7636 12.0882L11.8151 12.0863L11.8471 12.0909L16.2009 13.1007V10.0078C16.201 9.97414 16.2084 9.94087 16.2227 9.91048C16.237 9.88008 16.2578 9.85332 16.2836 9.83215L16.3253 9.80498L19.9182 8.0163L19.9644 8.00272L20.0089 8L20.0533 8.00634L20.0978 8.02264L23.6747 9.80498C23.7044 9.81972 23.7305 9.84103 23.7511 9.86735C23.7717 9.89367 23.7863 9.92434 23.7938 9.95713L23.7991 10.0078V13.1405L28.1458 12.0927C28.1632 12.088 28.1811 12.0847 28.1991 12.0845ZM16.6436 25.2492L16.6444 29.85L19.7769 31.4104V26.1205L16.6436 25.2492ZM27.9787 12.5971L23.7991 13.606L23.7973 15.0768L23.7849 15.1285L23.7724 15.1556C23.7504 15.2001 23.7135 15.2351 23.6684 15.2543L23.616 15.2697L20.2204 15.8729V16.8365L23.6044 17.2595C23.649 17.265 23.6908 17.2842 23.7244 17.3144C23.758 17.3446 23.7819 17.3845 23.7929 17.4288L23.7991 17.4832V22.5232C23.7991 22.5689 23.7855 22.6135 23.7601 22.6511C23.7347 22.6888 23.6987 22.7177 23.6569 22.7342L23.6044 22.7478L20.2204 23.1762V24.109L23.6204 24.7312L23.6604 24.7439C23.7316 24.771 23.776 24.8299 23.792 24.8951L23.7973 24.9331L23.7982 26.3605L27.9787 27.3712V12.5971ZM11.5751 12.6741L10.4444 13.2374V26.7309L11.5751 27.2906V12.6732V12.6741ZM19.9991 24.5283L17.5013 24.9848L19.9991 25.6006L22.4978 24.9848L19.9991 24.5283ZM19.7769 17.2921L16.6453 17.6833V22.3212L19.7769 22.7188V17.2921ZM19.9991 14.3976L17.4942 15.0152L19.9609 15.4726L22.4942 15.0125L19.9991 14.3967V14.3976ZM19.7769 8.58777L16.6453 10.1482V14.7544L19.7769 13.9357V8.58777Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3355_10917\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoS3ScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-s3-score-low.afc0b11c.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoAwsRedShiftScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 42,\n    height: 42,\n    viewBox: \"0 0 42 42\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M21 41C32.0457 41 41 32.0457 41 21C41 9.9543 32.0457 1 21 1C9.9543 1 1 9.9543 1 21C1 32.0457 9.9543 41 21 41Z\",\n    fill: \"#3260E6\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M29.2908 13.2024L30.799 13.8951C30.859 13.9226 30.9098 13.9669 30.9455 14.0225C30.9811 14.0782 31 14.1429 31 14.2091V27.6623C31.0001 27.7257 30.9827 27.7879 30.9498 27.8421C30.9169 27.8963 30.8697 27.9403 30.8135 27.9693L29.2742 28.7594L29.2288 28.7739L29.1703 28.7829L29.1352 28.7836L29.098 28.7801L26.5655 28.1991L26.5662 30.0849C26.5661 30.1498 26.5478 30.2134 26.5134 30.2683C26.4789 30.3232 26.4297 30.3673 26.3714 30.3954L23.0995 31.9769L23.0527 31.9914L23.0238 31.9963L22.9756 31.9997H19.0581C19.0155 32.0015 18.973 31.9951 18.9328 31.9811L18.8881 31.9618L15.6424 30.2802C15.5864 30.2511 15.5394 30.2072 15.5066 30.1531C15.4739 30.0991 15.4565 30.0371 15.4565 29.9738V28.1895L12.8035 28.7808L12.7505 28.7836L12.7161 28.7808L12.6727 28.7725L12.6321 28.7587L11.2161 28.1901C11.1523 28.1645 11.0977 28.1203 11.0591 28.0633C11.0206 28.0062 11 27.9389 11 27.87V14.0849C10.9999 14.0159 11.0204 13.9484 11.0589 13.8912C11.0975 13.834 11.1522 13.7897 11.2161 13.764L12.6411 13.1927L12.6721 13.183L12.7271 13.1727L12.7774 13.1713L12.798 13.1734L15.4558 13.6695V11.9424C15.4559 11.8901 15.4679 11.8385 15.4908 11.7915C15.5137 11.7446 15.5469 11.7034 15.588 11.6712L15.641 11.6367L18.6919 10.0393L18.7346 10.0207L18.7917 10.0055C18.8103 10.0019 18.8292 10 18.8481 10H22.9853L23.0335 10.0048L23.0865 10.0186L23.1305 10.0366L26.3762 11.6685C26.4333 11.6971 26.4813 11.7412 26.5149 11.7956C26.5484 11.8501 26.5662 11.9129 26.5662 11.9769V13.6771L29.1015 13.1754L29.1469 13.172L29.2006 13.1761L29.2508 13.1879L29.2908 13.2024ZM22.6314 10.6907L19.1985 10.69L19.3865 31.3097H22.6314V10.6907ZM18.5108 10.9115L16.1442 12.1508V29.7634L18.6953 31.0848L18.5108 10.9115ZM28.8041 13.9358L26.5662 14.3788V27.4912L28.8041 28.0052V13.9358ZM12.4153 14.0255L11.6884 14.3174V27.6361L12.4153 27.9279V14.0255Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoAwsRedShiftScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-aws-red-shift-score-low.ac0607ef.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIcoGenericDbScoreLow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3355_10875)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z\",\n    fill: \"#3260E6\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M10.4998 25.2597C12.2874 26.9985 15.9028 28.0461 20.0007 28.0461C24.0973 28.0461 27.7118 26.9991 29.5 25.2613L29.4997 28.0461L29.4892 28.046C29.2532 30.2471 25.0953 32 20.0007 32C14.906 32 10.7482 30.2471 10.5122 28.046L10.5016 28.0461L10.4998 25.2597ZM10.4998 20.0406C12.2874 21.7794 15.9028 22.827 20.0007 22.827C24.0973 22.827 27.7118 21.78 29.5 20.0422L29.4997 22.827L29.4892 22.8269C29.2532 25.028 25.0953 26.7809 20.0007 26.7809C14.906 26.7809 10.7482 25.028 10.5122 22.8269L10.5016 22.827L10.4998 20.0406ZM10.4998 14.7029C12.2874 16.4417 15.9028 17.4893 20.0007 17.4893C24.0973 17.4893 27.7118 16.4423 29.5 14.7045L29.4997 17.4893L29.4892 17.4892C29.2532 19.6903 25.0953 21.4432 20.0007 21.4432C14.906 21.4432 10.7482 19.6903 10.5122 17.4892L10.5016 17.4893L10.4998 14.7029ZM20.0007 8C25.2469 8 29.4997 9.85872 29.4997 12.1516C29.4997 14.4444 25.2469 16.3031 20.0007 16.3031C14.7545 16.3031 10.5016 14.4444 10.5016 12.1516C10.5016 9.85872 14.7545 8 20.0007 8Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3355_10875\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 40,\n    height: 40,\n    fill: \"white\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIcoGenericDbScoreLow);\nexport default __webpack_public_path__ + \"static/media/ico-generic-db-score-low.d5da17f0.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgFilter(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 12,\n    height: 14,\n    viewBox: \"0 0 12 14\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M9.85037 1.22461C10.492 1.22461 11.017 1.74961 11.017 2.39128V3.67461C11.017 4.14128 10.7254 4.72461 10.4337 5.01628L7.92537 7.23294C7.57537 7.52461 7.34204 8.10794 7.34204 8.57461V11.0829C7.34204 11.4329 7.1087 11.8996 6.81704 12.0746L6.00037 12.5996C5.24204 13.0663 4.19204 12.5413 4.19204 11.6079V8.51628C4.19204 8.10794 3.9587 7.58294 3.72537 7.29128L1.5087 4.95794C1.21704 4.66628 0.983704 4.14128 0.983704 3.79128V2.44961C0.983704 1.74961 1.5087 1.22461 2.15037 1.22461H9.85037Z\",\n    stroke: \"#878993\",\n    strokeWidth: 0.875,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgFilter);\nexport default __webpack_public_path__ + \"static/media/filter.5a81a2bd.svg\";\nexport { ForwardRef as ReactComponent };","export default __webpack_public_path__ + \"static/media/DocDB.f52ee0a0.svg\";","export default __webpack_public_path__ + \"static/media/ElasticCache.9c35869a.svg\";","export default __webpack_public_path__ + \"static/media/NeptuneDb.e9d1b816.svg\";","export default __webpack_public_path__ + \"static/media/red-shift.3b117384.svg\";","export default __webpack_public_path__ + \"static/media/MongoDB.e7318c64.svg\";","export default __webpack_public_path__ + \"static/media/MYSQL.df85aefe.svg\";","export default __webpack_public_path__ + \"static/media/generic.23542322.svg\";","export default __webpack_public_path__ + \"static/media/PostgreDB.62c300d4.svg\";","export default __webpack_public_path__ + \"static/media/RDS.16ed38d7.svg\";","export default __webpack_public_path__ + \"static/media/S3.b66add5f.svg\";","export default __webpack_public_path__ + \"static/media/DocDB.98c831c6.svg\";","export default __webpack_public_path__ + \"static/media/ElasticCache.82f6329f.svg\";","export default __webpack_public_path__ + \"static/media/NeptuneDb.04bcb43a.svg\";","export default __webpack_public_path__ + \"static/media/red-shift.0cd389bf.svg\";","export default __webpack_public_path__ + \"static/media/MongoDB.c7bedc86.svg\";","export default __webpack_public_path__ + \"static/media/MYSQL.21fb711f.svg\";","export default __webpack_public_path__ + \"static/media/generic.23542322.svg\";","export default __webpack_public_path__ + \"static/media/PostgreDB.a22b5e57.svg\";","export default __webpack_public_path__ + \"static/media/RDS.aeaa1a81.svg\";","export default __webpack_public_path__ + \"static/media/S3.5fd5faf9.svg\";","import mysqlScoreLow from \"../assets/img/icons/score-icons/ico-mysql-score-low.svg\";\nimport mysqlScoreHigh from \"../assets/img/icons/score-icons/ico-mysql-score-high.svg\";\nimport mysqlScoreModerate from \"../assets/img/icons/score-icons/ico-mysql-score-moderate.svg\";\nimport mysqlScoreElevated from \"../assets/img/icons/score-icons/ico-mysql-score-elevated.svg\";\n\nimport docDbScoreLow from \"../assets/img/icons/score-icons/ico-doc-db-score-low.svg\";\nimport docDbScoreHigh from \"../assets/img/icons/score-icons/ico-doc-db-score-high.svg\";\nimport docDbScoreModerate from \"../assets/img/icons/score-icons/ico-doc-db-score-elevated.svg\";\nimport docDbScoreElevated from \"../assets/img/icons/score-icons/ico-doc-db-score-elevated.svg\";\n\nimport ecScoreLow from \"../assets/img/icons/score-icons/ico-elastic-cache-score-low.svg\";\nimport edScoreHigh from \"../assets/img/icons/score-icons/ico-elastic-cache-score-high.svg\";\nimport ecScoreModerate from \"../assets/img/icons/score-icons/ico-elastic-cache-score-moderate.svg\";\nimport ecScoreElevated from \"../assets/img/icons/score-icons/ico-elastic-cache-score-elevated.svg\";\n\nimport mongodbScoreLow from \"../assets/img/icons/score-icons/ico-mongodb-score-low.svg\";\nimport mongodbScoreHigh from \"../assets/img/icons/score-icons/ico-mongodb-score-high.svg\";\nimport mongodbScoreModerate from \"../assets/img/icons/score-icons/ico-mongodb-score-moderate.svg\";\nimport mongodbScoreElevated from \"../assets/img/icons/score-icons/ico-mongodb-score-elevated.svg\";\n\nimport neptuneScoreLow from \"../assets/img/icons/score-icons/ico-neptune-db-score-low.svg\";\nimport neptuneScoreHigh from \"../assets/img/icons/score-icons/ico-neptune-db-score-high.svg\";\nimport neptuneScoreModerate from \"../assets/img/icons/score-icons/ico-neptune-db-score-moderate.svg\";\nimport neptuneScoreElevated from \"../assets/img/icons/score-icons/ico-neptune-db-score-elevated.svg\";\n\nimport postgressScoreLow from \"../assets/img/icons/score-icons/ico-postgress-score-low.svg\";\nimport postgressScoreHigh from \"../assets/img/icons/score-icons/ico-postgress-score-high.svg\";\nimport postgressScoreModerate from \"../assets/img/icons/score-icons/ico-postgress-score-moderate.svg\";\nimport postgressScoreElevated from \"../assets/img/icons/score-icons/ico-postgress-score-elevated.svg\";\n\nimport rdsScoreLow from \"../assets/img/icons/score-icons/ico-rds-score-low.svg\";\nimport rdsScoreHigh from \"../assets/img/icons/score-icons/ico-rds-score-high.svg\";\nimport rdsScoreModerate from \"../assets/img/icons/score-icons/ico-rds-score-moderate.svg\";\nimport rdsScoreElevated from \"../assets/img/icons/score-icons/ico-rds-score-elevated.svg\";\n\nimport s3ScoreLow from \"../assets/img/icons/score-icons/ico-s3-score-low.svg\";\nimport s3ScoreHigh from \"../assets/img/icons/score-icons/ico-s3-score-high.svg\";\nimport s3ScoreModerate from \"../assets/img/icons/score-icons/ico-s3-score-moderate.svg\";\nimport s3ScoreElevated from \"../assets/img/icons/score-icons/ico-s3-score-elevated.svg\";\n\nimport bugScoreLow from \"../assets/img/icons/score-icons/ico-bug-score-low.svg\";\nimport bugScoreHigh from \"../assets/img/icons/score-icons/ico-bug-score-high.svg\";\nimport bugScoreModerate from \"../assets/img/icons/score-icons/ico-bug-score-moderate.svg\";\nimport bugScoreElevated from \"../assets/img/icons/score-icons/ico-bug-score-elevated.svg\";\n\nimport gDbScoreLow from \"../assets/img/icons/score-icons/ico-generic-db-score-low.svg\";\nimport gDbScoreHigh from \"../assets/img/icons/score-icons/ico-generic-db-score-high.svg\";\nimport gDbScoreModerate from \"../assets/img/icons/score-icons/ico-generic-db-score-moderate.svg\";\nimport gDbScoreElevated from \"../assets/img/icons/score-icons/ico-generic-db-score-elevated.svg\";\n\nimport redShiftScoreLow from \"../assets/img/icons/score-icons/ico-aws-red-shift-score-low.svg\";\nimport redShiftScoreHigh from \"../assets/img/icons/score-icons/ico-aws-red-shift-score-high.svg\";\nimport redShiftScoreModerate from \"../assets/img/icons/score-icons/ico-aws-red-shift-score-moderate.svg\";\nimport redShiftScoreElevated from \"../assets/img/icons/score-icons/ico-aws-red-shift-score-elevated.svg\";\n\n//new icons\n\nimport { ReactComponent as RdsIcon } from \"../assets/img/new-theme/datastore-icons/ico-rds-score-low.svg\";\nimport { ReactComponent as MySqlIcon } from \"../assets/img/new-theme/datastore-icons/ico-mysql-score-low.svg\";\nimport { ReactComponent as DocDBIcon } from \"../assets/img/new-theme/datastore-icons/ico-doc-db-score-low.svg\";\nimport { ReactComponent as ECIcon } from \"../assets/img/new-theme/datastore-icons/ico-elastic-cache-score-low.svg\";\nimport { ReactComponent as MongoDBIcon } from \"../assets/img/new-theme/datastore-icons/ico-mongodb-score-low.svg\";\nimport { ReactComponent as NeptuneIcon } from \"../assets/img/new-theme/datastore-icons/ico-neptune-db-score-low.svg\";\nimport { ReactComponent as PostgresDBIcon } from \"../assets/img/new-theme/datastore-icons/ico-postgress-score-low.svg\";\nimport { ReactComponent as S3Icon } from \"../assets/img/new-theme/datastore-icons/ico-s3-score-low.svg\";\nimport { ReactComponent as RedShiftIcon } from \"../assets/img/new-theme/datastore-icons/ico-aws-red-shift-score-low.svg\";\nimport { ReactComponent as GenericDBIcon } from \"../assets/img/new-theme/datastore-icons/ico-generic-db-score-low.svg\";\n\nimport DocDB from \"../assets/img/new-theme/DocDB.svg\";\nimport ElasticCache from \"../assets/img/new-theme/ElasticCache.svg\";\nimport NeptuneDb from \"../assets/img/new-theme/NeptuneDb.svg\";\nimport RedShift from \"../assets/img/icons/red-shift.svg\";\nimport Mongodb from \"../assets/img/new-theme/MongoDB.svg\";\nimport MYSQL from \"../assets/img/new-theme/MYSQL.svg\";\nimport Generic from \"../assets/img/new-theme/generic.svg\";\nimport PostgreDB from \"../assets/img/new-theme/PostgreDB.svg\";\nimport RDS from \"../assets/img/new-theme/RDS.svg\";\nimport S3 from \"../assets/img/new-theme/S3.svg\";\n\nimport DocDBV1 from \"../assets/img/new-theme/inventory-icons-v1/DocDB.svg\";\nimport ElasticCacheV1 from \"../assets/img/new-theme/inventory-icons-v1/ElasticCache.svg\";\nimport NeptuneDbV1 from \"../assets/img/new-theme/inventory-icons-v1/NeptuneDb.svg\";\nimport RedShiftV1 from \"../assets/img/new-theme/inventory-icons-v1/red-shift.svg\";\nimport MongodbV1 from \"../assets/img/new-theme/inventory-icons-v1/MongoDB.svg\";\nimport MYSQLV1 from \"../assets/img/new-theme/inventory-icons-v1/MYSQL.svg\";\nimport GenericV1 from \"../assets/img/new-theme/inventory-icons-v1/generic.svg\";\nimport PostgreDBV1 from \"../assets/img/new-theme/inventory-icons-v1/PostgreDB.svg\";\nimport RDSV1 from \"../assets/img/new-theme/inventory-icons-v1/RDS.svg\";\nimport S3V1 from \"../assets/img/new-theme/inventory-icons-v1/S3.svg\";\n\nexport const RND_STYLE = {\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  background: \"#fff\",\n  boxShadow: \"0px 0px 12px 0px rgba(55, 73, 72, 0.06)\",\n  borderRadius: \"10px\",\n  border: \"none\",\n};\n\nexport const getValueInBetween = (num, first, last) => {\n  if (num) {\n    num = num.toFixed();\n  }\n  if (num >= first && num <= last) {\n    return true;\n  } else if (num >= first && !last) {\n    return true;\n  }\n  return false;\n};\n\nexport const getScoreColor = (num, bg) => {\n  if (Array.isArray(num)) {\n    return \"\";\n  }\n  let color = \"\";\n  if (getValueInBetween(num, 0, 59)) {\n    color = \"score-low\";\n  } else if (getValueInBetween(num, 60, 79)) {\n    color = \"score-moderate\";\n  } else if (getValueInBetween(num, 80, 89)) {\n    color = \"score-high\";\n  } else if (getValueInBetween(num, 90)) {\n    color = \"score-elevated\";\n  } else {\n    color = \"score-low\";\n  }\n  if (bg) {\n    color = color + \"-level\";\n  }\n  return color;\n};\n\nexport const getScoreColorCode = (num) => {\n  if (Array.isArray(num)) {\n    return \"\";\n  }\n  let color = \"\";\n  if (getValueInBetween(num, 0, 59)) {\n    color = \"#3260e5\";\n  } else if (getValueInBetween(num, 60, 79)) {\n    color = \"#fecf1c\";\n  } else if (getValueInBetween(num, 80, 89)) {\n    color = \"#dc6e30\";\n  } else if (getValueInBetween(num, 90)) {\n    color = \"#e32b2a\";\n  } else {\n    color = \"#3260e5\";\n  }\n  return color;\n};\n\nexport const getScoreBorder = (num, bg) => {\n  let color = \"\";\n  if (getValueInBetween(num, 0, 59)) {\n    color = \"leaplabs-low\";\n  } else if (getValueInBetween(num, 60, 79)) {\n    color = \"leaplabs-moderate\";\n  } else if (getValueInBetween(num, 80, 89)) {\n    color = \"leaplabs-high\";\n  } else if (getValueInBetween(num, 90)) {\n    color = \"leaplabs-elevated\";\n  } else {\n    color = \"leaplabs-low\";\n  }\n  return color;\n};\nexport const getDatastoreNewIcon = (type, score) => {\n  const scoreColor = getScoreColorCode(score);\n  const scoreColorClass = getScoreColor(score);\n  switch (type) {\n    case \"mysql\":\n      return (\n        <MySqlIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />\n      );\n    case \"rds\":\n    case \"RDS-Postgres\":\n      return <RdsIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />;\n    case \"mongodb\":\n      return (\n        <MongoDBIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />\n      );\n    case \"PostgreSQL\":\n      return (\n        <PostgresDBIcon\n          className={`${scoreColorClass}-svg`}\n          fill={scoreColor}\n        />\n      );\n    case \"s3\":\n      return <S3Icon className={`${scoreColorClass}-svg`} fill={scoreColor} />;\n    case \"docdb\":\n      return (\n        <DocDBIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />\n      );\n    case \"neptune\":\n      return (\n        <NeptuneIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />\n      );\n    case \"elasticache\":\n      return <ECIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />;\n    case \"redshift\":\n      return (\n        <RedShiftIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />\n      );\n    default:\n      return (\n        <GenericDBIcon className={`${scoreColorClass}-svg`} fill={scoreColor} />\n      );\n  }\n};\n\nexport const getV1DatastoreIcon = (type) => {\n  switch (type) {\n    case \"mysql\":\n      return MYSQLV1;\n    case \"rds\":\n    case \"RDS-Postgres\":\n      return RDSV1;\n    case \"mongodb\":\n      return MongodbV1;\n    case \"PostgreSQL\":\n      return PostgreDBV1;\n    case \"s3\":\n      return S3V1;\n    case \"docdb\":\n      return DocDBV1;\n    case \"neptune\":\n      return NeptuneDbV1;\n    case \"elasticache\":\n      return ElasticCacheV1;\n    case \"redshift\":\n      return RedShiftV1;\n    default:\n      return GenericV1;\n  }\n};\n\nexport const getDatastoreIcon = (type, score) => {\n  const scoreColor = getScoreColor(score);\n  switch (type) {\n    case \"mysql\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return mysqlScoreLow;\n        case \"score-moderate\":\n          return mysqlScoreModerate;\n        case \"score-high\":\n          return mysqlScoreHigh;\n        case \"score-elevated\":\n          return mysqlScoreElevated;\n        default:\n          return mysqlScoreLow;\n      }\n    case \"rds\":\n    case \"RDS-Postgres\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return rdsScoreLow;\n        case \"score-moderate\":\n          return rdsScoreModerate;\n        case \"score-high\":\n          return rdsScoreHigh;\n        case \"score-elevated\":\n          return rdsScoreElevated;\n        default:\n          return rdsScoreLow;\n      }\n    case \"mongodb\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return mongodbScoreLow;\n        case \"score-moderate\":\n          return mongodbScoreModerate;\n        case \"score-high\":\n          return mongodbScoreHigh;\n        case \"score-elevated\":\n          return mongodbScoreElevated;\n        default:\n          return mongodbScoreLow;\n      }\n    case \"PostgreSQL\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return postgressScoreLow;\n        case \"score-moderate\":\n          return postgressScoreModerate;\n        case \"score-high\":\n          return postgressScoreHigh;\n        case \"score-elevated\":\n          return postgressScoreElevated;\n        default:\n          return postgressScoreLow;\n      }\n    case \"s3\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return s3ScoreLow;\n        case \"score-moderate\":\n          return s3ScoreModerate;\n        case \"score-high\":\n          return s3ScoreHigh;\n        case \"score-elevated\":\n          return s3ScoreElevated;\n        default:\n          return s3ScoreLow;\n      }\n    case \"docdb\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return docDbScoreLow;\n        case \"score-moderate\":\n          return docDbScoreModerate;\n        case \"score-high\":\n          return docDbScoreHigh;\n        case \"score-elevated\":\n          return docDbScoreElevated;\n        default:\n          return docDbScoreLow;\n      }\n    case \"neptune\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return neptuneScoreLow;\n        case \"score-moderate\":\n          return neptuneScoreModerate;\n        case \"score-high\":\n          return neptuneScoreHigh;\n        case \"score-elevated\":\n          return neptuneScoreElevated;\n        default:\n          return neptuneScoreLow;\n      }\n    case \"elasticache\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return ecScoreLow;\n        case \"score-moderate\":\n          return ecScoreModerate;\n        case \"score-high\":\n          return edScoreHigh;\n        case \"score-elevated\":\n          return ecScoreElevated;\n        default:\n          return ecScoreLow;\n      }\n    case \"redshift\":\n      switch (scoreColor) {\n        case \"score-low\":\n          return redShiftScoreLow;\n        case \"score-moderate\":\n          return redShiftScoreModerate;\n        case \"score-high\":\n          return redShiftScoreHigh;\n        case \"score-elevated\":\n          return redShiftScoreElevated;\n        default:\n          return redShiftScoreLow;\n      }\n    default:\n      switch (scoreColor) {\n        case \"score-low\":\n          return gDbScoreLow;\n        case \"score-moderate\":\n          return gDbScoreModerate;\n        case \"score-high\":\n          return gDbScoreHigh;\n        case \"score-elevated\":\n          return gDbScoreElevated;\n        default:\n          return gDbScoreLow;\n      }\n  }\n};\n\nexport const getIssueIcon = (type, score) => {\n  const scoreColor = getScoreColor(score);\n  // switch (type) {\n  //   case \"mysql\":\n  switch (scoreColor) {\n    case \"score-low\":\n      return bugScoreLow;\n    case \"score-moderate\":\n      return bugScoreModerate;\n    case \"score-high\":\n      return bugScoreHigh;\n    case \"score-elevated\":\n      return bugScoreElevated;\n    default:\n      return bugScoreLow;\n  }\n  //   default:\n  //     return null;\n  // }\n};\n\nexport const datastoreIcons = {\n  mysql: MYSQL,\n  rds: RDS,\n  \"RDS-Postgres\": RDS,\n  mongodb: Mongodb,\n  PostgreSQL: PostgreDB,\n  s3: S3,\n  docdb: DocDB,\n  neptune: NeptuneDb,\n  elasticache: ElasticCache,\n  redshift: RedShift,\n  generic: Generic,\n};\n\nexport const formatLine = (content, num) => {\n  if (!content) return content;\n  return content.length > num ? content.slice(0, num) + \"...\" : content;\n};\n","import React, { useState } from \"react\";\nimport Popup from \"reactjs-popup\";\nimport \"./DatastoreAttackPathGraph.scss\";\nimport hackerIcon from \"../../../assets/img/icons/hacker-icon.svg\";\nimport kubernetesIcon from \"../../../assets/img/icons/google-kubernetes.png\";\nimport { getScoreColor } from \"../../../utils/styles\";\nconst CustomNodeComponent = (node) => {\n  const [selected, setSelected] = useState(false);\n  const getIcon = () => {\n    return (\n      <img\n        src={node?.node.data?.image?.src}\n        height={node?.node.data?.image?.height}\n        width={node?.node.data?.image?.width}\n        id={node?.node?.id}\n        className={`node-image ${getNodeScoreColorClass(node?.node)}`}\n        alt=\"\"\n        style={{\n          display: \"block\",\n          margin: node?.node.data?.image?.margin,\n        }}\n        onClick={(e) => {\n          setSelected(e.target.id === node?.node?.id);\n          node?.node.data.handleClick\n            ? node?.node.data.handleClick(node?.node)\n            : console.log(\"node?.node clicked\");\n        }}\n      />\n    );\n  };\n\n  const getNodeScoreColorClass = (node) => {\n    return node?.is_primary ? `node-${getScoreColor(node?.score || 0)}` : \"\";\n  };\n\n  const getTooltip = () => {\n    if (\n      node?.node.data.tooltipContents &&\n      node?.node.data.tooltipContents.length > 0\n    ) {\n      let popupContents = [];\n      for (\n        let index = 0;\n        index < node?.node.data.tooltipContents.length;\n        index++\n      ) {\n        let dataContent = node?.node.data.tooltipContents[index];\n        popupContents.push(\n          <div className=\"card\" key={index}>\n            <div class=\"card-header\">{dataContent.name}</div>\n            <div\n              className=\"card-body\"\n              dangerouslySetInnerHTML={{ __html: dataContent.content }}\n            ></div>\n          </div>\n        );\n      }\n      return (\n        <div className=\"tooltip-style\">\n          <p className=\"header m-0\">{node?.node.data.heading}</p>\n          <div className=\"tooltip-content \">{popupContents}</div>\n        </div>\n      );\n    } else {\n      return <div className=\"p-2\">{node?.node?.data.heading}</div>;\n    }\n  };\n\n  return (\n    <div\n      style={{\n        height: 64,\n        width: 64,\n      }}\n      title={node?.node?.name}\n    >\n      {/* {node?.node.data?.tooltipRequired ? (\n        <Popup\n          trigger={\n            <div>{node?.node.iconName !== \"\" && getIcon(node?.node)}</div>\n          }\n          on={[\"hover\", \"focus\"]}\n          position=\"top center\"\n        >\n          {getTooltip()}\n        </Popup>\n      ) : ( */}\n      <div>\n        {node?.node?.iconName !== \"\" && getIcon(node?.node)}\n        {node?.node?.active_attack && (\n          <img\n            src={hackerIcon}\n            className={`${\n              node?.node.data.is_primary\n                ? \"attack-image-primary\"\n                : \"attack-image\"\n            }`}\n          />\n        )}\n        {node?.node?.eks_enabled && (\n          <img\n            src={kubernetesIcon}\n            className={`${\n              node?.node.data.is_primary ? \"eks-image-primary\" : \"eks-image\"\n            }`}\n          />\n        )}\n      </div>\n      {/* )} */}\n      <div\n        style={{\n          whiteSpace: \"nowrap\",\n          fontSize: 10,\n          textAlign: \"center\",\n          color: \"#6c83bb\",\n          textOverflow: \"ellipsis\",\n        }}\n        className=\"mt-1\"\n        title={node?.node?.name}\n      >\n        {/* {node?.node.name} */}\n        {node?.node?.name?.length > 17\n          ? node.node.name.substring(0, 17) + \"...\"\n          : node.node.name}\n      </div>\n    </div>\n  );\n};\n\nexport default CustomNodeComponent;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSU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/g7NZFl0fsAW3eEucbaW3t/foiIiI0/XdV9+KYfejvHLhwoUb2traLH1GBIG/wVsnyoDMFxkwgJOfOAHaGEi/c4AcDLmYMuCgEZwtElcgPDx86fz580NUGYNKhkFDXl5eIyIiIvDWBqOeCJdTNuUqPd6O5Y+TDEgUIRLBdzQGiCaRPmZkbsRnJRpFp0nRB+SGvfNbSKoNly9fjh00aNDkJnstR3oiO3bsWOrt7R3MfYaDygt3K3fGGKCwUqyqNQWQ7GlrkdLoCD8EZw32Dbx48SLFwcFhYGZmpsoHllVeMdWT4l26dClm4MCBbtwkG1LgagoDKWsDpydwigKAjDBgwIBeKSkpGer0q65hyMrKqtnVq1ev2tjY9EBHcMZLfsxjL3P9GwB+tNlL7GxFIlHZ5MmTv4qNjb2i7tjUNgw66N69u/X169dv6OnpsdooSB+UP0UHjtUdVEOvx/H7qIUtJO8lrV27dlZAQIDMMVVV226QYdC4m5vbwP379yfw+XymDWRkVTAN50O8a6TKZODLkI0j/QBOnz4dMWLECPaiSEPQYMOgs6CgoJnLli1j50mAlKfltDQqT6W38BsyWEX3QPcJnmIieaMkLS3tapcuXZxqH4NXp89GGYZ7MsOHD2cHAgCQL/y/DXeel5OwYTmnyuNHXQqVSxwy5ASnvLy8jH79+vXGiQWVG5JzYaMNQ0Q6Dx48ONalSxdWtPsnIRAI3o8dO3ZwQkJCg19E58bfFIZBWzpxcXEh48ePny39v378nUbKysp66u7u7nru3LnbTdFvUxmGjWXIkCFdp02bNr1Pnz4DdXV1m0aAUT7L0levXqUdPXo0PjY2dv/Lly+bjDM0qWGa4kn9W9r4fzcF+CcAEdGRAAAAAElFTkSuQmCC\"","import CustomNodeComponent from \"./CustomNodeComponent\";\n\nexport const config = {\n  automaticRearrangeAfterDropNode: false,\n  collapsible: false,\n  height: 328,\n  highlightDegree: 1,\n  highlightOpacity: 0.2,\n  linkHighlightBehavior: false,\n  maxZoom: 8,\n  minZoom: 0.1,\n  nodeHighlightBehavior: false,\n  panAndZoom: false,\n  staticGraph: false,\n  staticGraphWithDragAndDrop: true,\n  width: \"100%\",\n  d3: {\n    alphaTarget: 0.05,\n    gravity: -400,\n    linkLength: 300,\n    // linkStrength: 1,\n    disableLinkForce: false,\n  },\n  node: {\n    color: \"#d3d3d3\",\n    fontColor: \"black\",\n    fontSize: 12,\n    fontWeight: \"normal\",\n    highlightColor: \"red\",\n    highlightFontSize: 12,\n    highlightFontWeight: \"bold\",\n    highlightStrokeColor: \"SAME\",\n    highlightStrokeWidth: 1.5,\n    labelProperty: \"name\",\n    mouseCursor: \"pointer\",\n    opacity: 1,\n    renderLabel: false,\n    size: {\n      width: 950,\n      height: 900,\n    },\n    strokeColor: \"none\",\n    strokeWidth: 1.5,\n    svg: \"\",\n    symbolType: \"circle\",\n    viewGenerator: (node) => <CustomNodeComponent node={node} />,\n  },\n  link: {\n    color: \"#31477d\",\n    opacity: 1,\n    semanticStrokeWidth: false,\n    strokeWidth: 2,\n  },\n};\n\nexport const attackPathData = [\n  {\n    nodes: [\n      {\n        id: \"161\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"162\",\n        type: \"EC2Instance\",\n        node_id: \"i-0f71eac5064474b5a\",\n        name: \"i-0f71eac5064474b5a\",\n        data: {\n          heading: \"i-0f71eac5064474b5a\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"i-0f71eac5064474b5a\",\n          type: \"EC2Instance\",\n          id: \"i-0f71eac5064474b5a\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#228#161\",\n        target: \"161\",\n        source: \"162\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-1\",\n  },\n  {\n    nodes: [\n      {\n        id: \"163\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"164\",\n        type: \"EC2Instance\",\n        node_id: \"i-0f71eac5064474b5a\",\n        name: \"i-0f71eac5064474b5a\",\n        data: {\n          heading: \"i-0f71eac5064474b5a\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"i-0f71eac5064474b5a\",\n          type: \"EC2Instance\",\n          id: \"i-0f71eac5064474b5a\",\n        },\n      },\n      {\n        id: \"165\",\n        type: \"EC2Instance\",\n        node_id: \"i-049726e3ab6bb54c7\",\n        name: \"i-049726e3ab6bb54c7\",\n        data: {\n          heading: \"i-049726e3ab6bb54c7\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"i-049726e3ab6bb54c7\",\n          type: \"EC2Instance\",\n          id: \"i-049726e3ab6bb54c7\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#228#161\",\n        target: \"163\",\n        source: \"164\",\n      },\n      {\n        id: \"e#266#228\",\n        target: \"164\",\n        source: \"165\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-2\",\n  },\n  {\n    nodes: [\n      {\n        id: \"166\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"167\",\n        type: \"EC2Instance\",\n        node_id: \"i-0f71eac5064474b5a\",\n        name: \"i-0f71eac5064474b5a\",\n        data: {\n          heading: \"i-0f71eac5064474b5a\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"i-0f71eac5064474b5a\",\n          type: \"EC2Instance\",\n          id: \"i-0f71eac5064474b5a\",\n        },\n      },\n      {\n        id: \"168\",\n        type: \"EC2Instance\",\n        node_id: \"i-049726e3ab6bb54c7\",\n        name: \"i-049726e3ab6bb54c7\",\n        data: {\n          heading: \"i-049726e3ab6bb54c7\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"i-049726e3ab6bb54c7\",\n          type: \"EC2Instance\",\n          id: \"i-049726e3ab6bb54c7\",\n        },\n      },\n      {\n        id: \"169\",\n        type: \"CDExternal\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"CDExternal\",\n          id: \"XCVf1234\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#228#161\",\n        target: \"166\",\n        source: \"167\",\n      },\n      {\n        id: \"e#266#228\",\n        target: \"167\",\n        source: \"168\",\n      },\n      {\n        id: \"e#250#266\",\n        target: \"168\",\n        source: \"169\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-3\",\n  },\n  {\n    nodes: [\n      {\n        id: \"161\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"253\",\n        type: \"CDExternal\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"CDExternal\",\n          id: \"XCVf1234\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#253#161\",\n        target: \"161\",\n        source: \"253\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-4\",\n  },\n  {\n    nodes: [\n      {\n        id: \"161\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"304\",\n        type: \"EC2Instance\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"EC2Instance\",\n          id: \"XCVf1234\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#304#161\",\n        target: \"161\",\n        source: \"304\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-5\",\n  },\n  {\n    nodes: [\n      {\n        id: \"161\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"304\",\n        type: \"EC2Instance\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"EC2Instance\",\n          id: \"XCVf1234\",\n        },\n      },\n      {\n        id: \"303\",\n        type: \"CDExternal\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"CDExternal\",\n          id: \"XCVf1234\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#304#161\",\n        target: \"161\",\n        source: \"304\",\n      },\n      {\n        id: \"e#303#304\",\n        target: \"304\",\n        source: \"303\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-6\",\n  },\n  {\n    nodes: [\n      {\n        id: \"161\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"255\",\n        type: \"EC2Instance\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"EC2Instance\",\n          id: \"XCVf1234\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#255#161\",\n        target: \"161\",\n        source: \"255\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-7\",\n  },\n  {\n    nodes: [\n      {\n        id: \"161\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"255\",\n        type: \"EC2Instance\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"EC2Instance\",\n          id: \"XCVf1234\",\n        },\n      },\n      {\n        id: \"254\",\n        type: \"CDExternal\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"CDExternal\",\n          id: \"XCVf1234\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#255#161\",\n        target: \"161\",\n        source: \"255\",\n      },\n      {\n        id: \"e#254#255\",\n        target: \"255\",\n        source: \"254\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-8\",\n  },\n  {\n    nodes: [\n      {\n        id: \"161\",\n        type: \"RDSInstance\",\n        node_id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        name: \"1\",\n        data: {\n          heading: \"1\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"1\",\n          type: \"RDSInstance\",\n          id: \"arn:aws:rds:us-east-1:77777777:db:1\",\n        },\n      },\n      {\n        id: \"286\",\n        type: \"CDExternal\",\n        node_id: \"XCVf1234\",\n        name: \"XCVf1234\",\n        data: {\n          heading: \"XCVf1234\",\n          value: 40,\n          tooltipRequired: true,\n        },\n        tooltip_content: {\n          name: \"XCVf1234\",\n          type: \"CDExternal\",\n          id: \"XCVf1234\",\n        },\n      },\n    ],\n    links: [\n      {\n        id: \"e#286#161\",\n        target: \"161\",\n        source: \"286\",\n      },\n    ],\n    path: \"ap-rds:crm-database-1-9\",\n  },\n];\n","import { getValueInBetween } from \"./styles\";\nimport moment from \"moment\";\n\nexport const removeEmpty = (obj) => {\n  return Object.fromEntries(Object.entries(obj).filter(([_, v]) => v != null));\n};\n\nexport const matchObject = (obj1, obj2) => {\n  return JSON.stringify(obj1) === JSON.stringify(obj2);\n};\n\nexport const addIndex = (data) => {\n  let index = 0;\n  const res = [];\n  for (let i of data) {\n    index += 1;\n    let keys = Object.keys(i);\n    let obj = {};\n    for (let key of keys) {\n      obj[key] = i[key];\n    }\n    obj[\"rank\"] = index;\n    res.push(obj);\n  }\n  return res;\n};\n\nexport const colorRiskData = (data) => {\n  for (let i of data) {\n    const x = i.x_directriskscore;\n    const y = i.y_indirectscore;\n    if (getValueInBetween(x, 0, 50) && getValueInBetween(y, 0, 50)) {\n      i.color = \"#3260E5\";\n      i.border = \"#3260E5\";\n    } else if (getValueInBetween(x, 50, 100) && getValueInBetween(y, 0, 50)) {\n      i.color = \"#e0a44c80\";\n      i.border = \"#e0a44c\";\n    } else if (getValueInBetween(x, 0, 50) && getValueInBetween(y, 50, 100)) {\n      i.color = \"#DC6E30\";\n      i.border = \"#DC6E30\";\n    } else {\n      i.color = \"#E32B2A\";\n      i.border = \"#E32B2A\";\n    }\n    i.circle = 2;\n  }\n\n  return data;\n};\n\nexport const createRank = (num) => {\n  const array = Array.from(Array(num).keys());\n};\n\nexport const dateFormatter = (date) => {\n  return moment(date).format(\"DD/MM/YYYY HH:mm:ss\");\n};\n","import { axiosDenaliPrivate } from \"../utils/ApiHandler\";\nimport { removeEmpty, matchObject } from \"../utils/dataHandler\";\n\nexport const getDatastoreDetailsApi = async (payload) => {\n  payload = removeEmpty(payload);\n  const url = \"/datastore/instance/detail\";\n  let res = await axiosDenaliPrivate.post(url, payload);\n  return res.data;\n};\n\nlet dataStoresData = null;\nlet dataStoresPayload = null;\n\nexport const getDataStoresApiV2 = async (payload) => {\n  payload = removeEmpty(payload);\n  let url = `/api/v1/datastores`;\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    dataStoresData = res.data;\n    dataStoresPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n\nexport const getDataStoresApi = async (payload) => {\n  payload = removeEmpty(payload);\n  // if (dataStoresData && matchObject(dataStoresPayload, payload)) return dataStoresData;\n  const url = \"/datastore/instance\";\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    dataStoresData = res.data;\n    dataStoresPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n\nexport const getDatastoresByFilterApi = async (payload) => {\n  payload = removeEmpty(payload);\n  // if (dataStoresData && matchObject(dataStoresPayload, payload)) return dataStoresData;\n  const url = \"/api/v2/datastores\";\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    dataStoresData = res.data;\n    dataStoresPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n\nexport const getAssetsApi = async (payload) => {\n  payload = removeEmpty(payload);\n  // if (dataStoresData && matchObject(dataStoresPayload, payload)) return dataStoresData;\n  const url = \"/api/v1/assets/search\";\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    dataStoresData = res.data;\n    dataStoresPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n\nexport const getAssetStatsApi = async (payload) => {\n  payload = removeEmpty(payload);\n  // if (dataStoresData && matchObject(dataStoresPayload, payload)) return dataStoresData;\n  const url = \"/api/v1/asset/stats\";\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    dataStoresData = res.data;\n    dataStoresPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n\nlet dataRiskPlotData = null;\nlet dataRiskPlotPayload = null;\nexport const getDataRiskPlotApi = async (payload) => {\n  payload = removeEmpty(payload);\n  if (dataRiskPlotData && matchObject(dataRiskPlotPayload, payload))\n    return dataRiskPlotData;\n  const url = \"/api/v1/dashboardplot\";\n  let res = await axiosDenaliPrivate.post(url, payload);\n  dataRiskPlotData = res.data;\n  dataRiskPlotPayload = payload;\n  return res.data;\n};\n\nlet issuesData = null;\nlet issuesPayload = null;\n\nexport const getIssuesApiV2 = async (payload) => {\n  payload = removeEmpty(payload);\n  let url = `/api/v1/issues`;\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    issuesData = res.data;\n    issuesPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n\nexport const getIssuesApi = async (payload) => {\n  payload = removeEmpty(payload);\n  const url = \"/securityissue/instance\";\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    issuesData = res.data;\n    issuesPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\nlet impactedDatastore = null;\nlet impactedDatastorePayload = null;\nexport const getImpactedDatastores = async (payload) => {\n  payload = removeEmpty(payload);\n  const url = \"/api/v1/impacted/datastores\";\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    impactedDatastore = res.data;\n    impactedDatastorePayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n\nexport const issueDetailsApi = async (payload, url_) => {\n  payload = removeEmpty(payload);\n  const url = url_ ? url_ : \"/securityissue/instance/detail\";\n  let res = await axiosDenaliPrivate.post(url, payload);\n  return res.data;\n};\n\nexport const getDataStoresStatsApi = async (payload) => {\n  payload = removeEmpty(payload);\n  const url = \"/api/v1/customer/datastore/stats\";\n  try {\n    let res = await axiosDenaliPrivate.post(url, payload);\n    dataStoresData = res.data;\n    dataStoresPayload = payload;\n    return res.data;\n  } catch (err) {\n    return {\n      err: \"Failed to get result\",\n    };\n  }\n};\n","export default __webpack_public_path__ + \"static/media/external-cloud.260842be.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-principal-circle-solid.36b8c0d7.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-s-3-bucket-circle-solid.afc0b11c.svg\";","export default __webpack_public_path__ + \"static/media/ico-rds-circle.8d67dc28.svg\";","export default __webpack_public_path__ + \"static/media/aws-ec-2-image-circle-solid.c48ffc3b.svg\";","export default __webpack_public_path__ + \"static/media/GenericDB.d5da17f0.svg\";","export default __webpack_public_path__ + \"static/media/NeptuneDB.e9d1b816.svg\";","export default __webpack_public_path__ + \"static/media/DocDB.78fe5bac.svg\";","export default __webpack_public_path__ + \"static/media/ElasticCache.cf24c1ff.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-EC2Subnet-circle.8a6bcca3.svg\";","export default __webpack_public_path__ + \"static/media/load-balancer.12962bf0.svg\";","export default __webpack_public_path__ + \"static/media/AWSGroup.bd66022e.svg\";","export default __webpack_public_path__ + \"static/media/AWSLambda.c0861ba6.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-apigateway-circle-solid.a9ebbac1.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-policy-circle.20d447fe.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-user-circle-solid.efe3c26d.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-internet-gateway-circle-solid.51bc9306.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-vpc-circle-solid.bea221ce.svg\";","export default __webpack_public_path__ + \"static/media/ico-aws-red-shift-circle-solid.ac0607ef.svg\";","export default __webpack_public_path__ + \"static/media/langchain.626a1bf3.svg\";","export default __webpack_public_path__ + \"static/media/vector-db.cb2db621.svg\";","import externalCloud from \"../../../assets/img/new-theme/attack-path-icons/external-cloud.svg\";\nimport awsPrinciple from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-principal-circle-solid.svg\";\nimport s3Bucket from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-s-3-bucket-circle-solid.svg\";\nimport rdsIcon from \"../../../assets/img/new-theme/attack-path-icons/ico-rds-circle.svg\";\nimport ec2Instance from \"../../../assets/img/new-theme/attack-path-icons/aws-ec-2-image-circle-solid.svg\";\nimport GenericDB from \"../../../assets/img/new-theme/attack-path-icons/GenericDB.svg\";\nimport NeptuneDb from \"../../../assets/img/new-theme/attack-path-icons/NeptuneDB.svg\";\nimport DocDB from \"../../../assets/img/new-theme/attack-path-icons/DocDB.svg\";\nimport ElasticCache from \"../../../assets/img/new-theme/attack-path-icons/ElasticCache.svg\";\nimport ec2Subnet from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-EC2Subnet-circle.svg\";\nimport LoadBalancer from \"../../../assets/img/new-theme/attack-path-icons/load-balancer.svg\";\nimport AWSGroup from \"../../../assets/img/new-theme/attack-path-icons/AWSGroup.svg\";\nimport AWSLambda from \"../../../assets/img/new-theme/attack-path-icons/AWSLambda.svg\";\nimport AWSApiGateway from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-apigateway-circle-solid.svg\";\nimport AWSRole from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-policy-circle.svg\";\nimport AWSUser from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-user-circle-solid.svg\";\nimport AWSInternetGateway from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-internet-gateway-circle-solid.svg\";\nimport AWSVpc from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-vpc-circle-solid.svg\";\nimport AWSRedShift from \"../../../assets/img/new-theme/attack-path-icons/ico-aws-red-shift-circle-solid.svg\";\nimport Langchain from \"../../../assets/img/v1-icons/langchain.svg\";\nimport vectorDB from \"../../../assets/img/v1-icons/vector-db.svg\";\n\nexport const getNodeIconByType = (nodeType) => {\n  switch (nodeType) {\n    case \"RDSInstance\":\n      return rdsIcon;\n    case \"EC2Instance\":\n    case \"AssumedRole\":\n      return ec2Instance;\n    case \"LoadBalancer\":\n    case \"LoadBalancerV2\":\n      return LoadBalancer;\n    case \"Cloud\":\n    case \"CD_External\":\n      return externalCloud;\n    case \"S3Bucket\":\n      return s3Bucket;\n    case \"AWSPrincipal\":\n      return awsPrinciple;\n    case \"CD_DataStore\":\n      return rdsIcon;\n    case \"docdb\":\n      return DocDB;\n    case \"neptune\":\n      return NeptuneDb;\n    case \"elasticache\":\n      return ElasticCache;\n    case \"EC2Subnet\":\n      return ec2Subnet;\n    case \"DBSubnetGroup\":\n      return ec2Subnet;\n    case \"AWSGroup\":\n      return AWSGroup;\n    case \"AWSLambda\":\n      return AWSLambda;\n    case \"AWSRole\":\n      return AWSRole;\n    case \"APIGatewayRestAPI\":\n      return AWSApiGateway;\n    case \"AWSUser\":\n      return AWSUser;\n    case \"AWSInternetGateway\":\n      return AWSInternetGateway;\n    case \"AWSVpc\":\n      return AWSVpc;\n    case \"RedshiftCluster\":\n      return AWSRedShift;\n    case \"IAMUser\":\n      return AWSUser;\n    case \"llmRound\":\n      return AWSUser;\n    case \"vectorDB\":\n      return vectorDB;\n    case \"langchain\":\n      return Langchain;\n\n    default:\n      return GenericDB;\n  }\n};\n","export default __webpack_public_path__ + \"static/media/risk-accept.59a2a60e.svg\";","export default __webpack_public_path__ + \"static/media/risk-accepted.867207c6.svg\";","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Provides the list of all top issue types.\n * @returns -- issue list\n */\nexport const fetchTopIssueTypes = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/issues/top`, params);\n};\n\n/**\n * Provides the list of all dataStores.\n * @returns -- Accounts list\n */\nexport const updateSecurityIssueInstanceRisk = (params) => {\n  return axiosDenaliPrivate.put(\n    `/api/v1/securityissueinstance/acceptrisk/update`,\n    params\n  );\n};\n\n/**\n * Add the tag with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const updateSecurityIssueRisk = (params) => {\n  return axiosDenaliPrivate.put(\n    `/api/v1/securityissue/acceptrisk/update`,\n    params\n  );\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\n\nimport {\n  updateSecurityIssueInstanceRisk,\n  updateSecurityIssueRisk,\n  fetchTopIssueTypes,\n} from \"../apis/issuesAPI\";\n\nconst initialState = {\n  issues: null,\n};\n\n// Async calls.\n\nexport const listTopIssueTypesAsync = createAsyncThunk(\n  \"issues/top\",\n  async (params) => {\n    const response = await fetchTopIssueTypes(params);\n    return response.data;\n  }\n);\n\nexport const updateSecurityIssueInstanceRiskAsync = createAsyncThunk(\n  \"issueInstance/update\",\n  async (params) => {\n    const response = await updateSecurityIssueInstanceRisk(params);\n    return response.data;\n  }\n);\n\nexport const updateSecurityIssueRiskAsync = createAsyncThunk(\n  \"issue/update\",\n  async (params) => {\n    const response = await updateSecurityIssueRisk(params);\n    return response.data;\n  }\n);\n\n// Issues slice for configuring reducers and actions.\nexport const IssuesSlice = createSlice({\n  name: \"issues\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n});\n\nexport default IssuesSlice.reducer;\n\n// Selectors will go here\n","export default __webpack_public_path__ + \"static/media/risk-accept-circle.7f9a16f9.svg\";","import React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  updateSecurityIssueInstanceRiskAsync,\n  updateSecurityIssueRiskAsync,\n} from \"../../../redux/slices/issuesSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport \"./../modal.scss\";\nimport \"./RiskAcceptModal.scss\";\nimport RiskAcceptCircle from \"../../../assets/img/icons/risk-accept-circle.svg\";\nimport RiskAccepted from \"../../../assets/img/icons/risk-accepted.svg\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\n\nconst RiskAcceptModal = ({\n  handleModal,\n  securityIssueId,\n  displayId,\n  instanceLocation,\n  riskAccepted,\n  allRiskAccepted,\n  securityIssueInstanceId,\n  // refreshIssues,\n}) => {\n  const dispatch = useDispatch();\n\n  const [loader, setLoader] = useState(false);\n  const [instance, setInstance] = useState(\"default\");\n\n  const handleInstance = (checked, value) => {\n    setInstance(value);\n  };\n\n  const refreshIssues = () => {\n    window.location.reload();\n  };\n\n  // Submit handler\n  const submitModal = async () => {\n    setLoader(true);\n    const resp = await dispatch(\n      instance === \"default\"\n        ? updateSecurityIssueInstanceRiskAsync({\n            customerId: getCustomerId(),\n            securityIssueInstanceId: securityIssueInstanceId,\n            risk_accepted: !riskAccepted,\n          })\n        : updateSecurityIssueRiskAsync({\n            customerId: getCustomerId(),\n            securityIssueId: securityIssueId,\n            risk_accepted: !riskAccepted,\n          })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      // Toaster(\n      //   TOASTER_TYPES.SUCCESS,\n      //   `${riskAccepted ? \"Restored risk\" : \"Risk accepted\"} successfully.`\n      // );\n      setLoader(false);\n      refreshIssues();\n      handleModal(false);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        `Failed to ${riskAccepted ? \"restore\" : \"accept\"} risk.`\n      );\n      setLoader(false);\n    }\n  };\n\n  return (\n    <div id=\"risk-accept-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content\">\n            {loader && (\n              <img\n                src=\"/static/img/loader-circle.svg\"\n                className=\"modal-loading-img mt-2\"\n              ></img>\n            )}\n            <div className=\"modal-header d-flex justify-content-start align-items-center\">\n              {riskAccepted === true ? (\n                <div className=\"row\">\n                  <div className=\"col col-md-auto\">\n                    <img src={RiskAccepted} width=\"40\" className=\"\" />\n                  </div>\n                  <div className=\"col d-flex pl-0 align-items-center\">\n                    <span className=\"header-title risk-modal-title-accepted\">\n                      Restore Risk\n                    </span>\n                  </div>\n                </div>\n              ) : (\n                <span>\n                  <div className=\"row\">\n                    <div className=\"col col-md-auto\">\n                      <img src={RiskAcceptCircle} className=\"\" />\n                    </div>\n                    <div className=\"col d-flex pl-0 align-items-center\">\n                      <span className=\"header-title risk-modal-title-accept\">\n                        Accept Risk for {displayId}\n                      </span>\n                    </div>\n                  </div>\n                </span>\n              )}\n            </div>\n            <div className=\"modal-body mb-2\">\n              <div className=\"row p-3\">\n                <div className=\"col col-sm-12 p-2 d-flex flex-row justify-content-start align-items-top accept-risk-body\">\n                  <label className=\"radio-label\">\n                    <input\n                      type=\"radio\"\n                      checked={instance === \"default\"}\n                      onChange={(e) =>\n                        handleInstance(e.target.checked, \"default\")\n                      }\n                      className=\"mr-3 ml-2 custom-radio-button\"\n                    />\n                    <span className=\"radio-button-text\">\n                      <span className=\"subvalue-bold\">\n                        Security Instance: {instanceLocation}\n                      </span>\n                    </span>\n                  </label>\n                </div>\n                <div className=\"col col-sm-12 p-2 d-flex flex-row justify-content-start align-items-top accept-risk-body\">\n                  <div className=\"row\">\n                    <div className=\"col col-md-auto justify-content-top mt-1 align-items-top\">\n                      <label className=\"radio-label\">\n                        <input\n                          type=\"radio\"\n                          checked={instance === \"all\"}\n                          onChange={(e) =>\n                            handleInstance(e.target.checked, \"all\")\n                          }\n                          className=\"ml-2 custom-radio-button\"\n                        />\n                        <span className=\"radio-button-text ml-3\">\n                          <span className=\"subvalue-bold\">\n                            Do you want to{\" \"}\n                            {riskAccepted ? \"restore \" : \"accept \"}\n                            risk for all the instances?\n                          </span>\n                          <p className=\"risk-modal-description\">\n                            All existing and future issues will be{\" \"}\n                            {riskAccepted ? \"restored\" : \"accepted\"}\n                          </p>\n                        </span>\n                      </label>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div className=\"modal-footer p-2\">\n              <button\n                type=\"button\"\n                className=\"btn btn-primary mr-2\"\n                onClick={() => submitModal()}\n                disabled={loader}\n                id=\"risk-accept-submit\"\n              >\n                Submit\n              </button>\n\n              <button\n                type=\"button\"\n                className=\"btn btn-secondary\"\n                onClick={handleModal}\n                id=\"risk-accept-cancel\"\n              >\n                Cancel\n              </button>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default RiskAcceptModal;\n","export default __webpack_public_path__ + \"static/media/integration.ded892ba.svg\";","import { axiosPrivate, axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Provides the list of all accounts.\n * @returns -- Accounts list\n */\nexport const fetchIntegrations = (user_id) => {\n  return axiosPrivate.get(`/user/getAllIntegrations/${user_id}`);\n};\n\n/**\n * Provides the list of all accounts.\n * @returns -- Octa list\n */\nexport const fetchOktaIntegrations = (user_id) => {\n  return axiosPrivate.get(`/user/cognitoOktaIntegration/${user_id}`);\n};\n\n/**\n * Provides the list of all accounts.\n * @returns -- Octa list\n */\nexport const fetchSlackIntegrations = () => {\n  return axiosPrivate.get(`/slack/connectSlack`);\n};\n\n/**\n * Provides the list of all accounts.\n * @returns -- Octa list\n */\nexport const fetchJiraProjects = async (params) => {\n  return await axiosPrivate.post(`/jira/saasConnector/project/get`, params);\n};\n\n/**\n * Provides the list of all accounts.\n * @returns -- Octa list\n */\nexport const fetchIssueTypes = async (params) => {\n  return await axiosPrivate.post(`/jira/saasConnector/issueTypes/get`, params);\n};\n\n/**\n * Add the accounts with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const addIntegration = (params) => {\n  return axiosPrivate.post(`/jira/saasConnector`, params);\n};\n\nexport const updateIntegration = (id, params) => {\n  return axiosPrivate.patch(`/jira/saasConnector/${id}`, params);\n};\n\nexport const updateSlackIntegration = (id, params) => {\n  return axiosPrivate.patch(`/slack/connectSlack/${id}`, params);\n};\n\nexport const updateWizIntegration = (id, params) => {\n  return axiosPrivate.patch(`/api/v1/integrations/cnapp/wiz/${id}`, params);\n};\n\nexport const wizIntegrationStatus = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/integrations/wiz/status`, params);\n};\n\n/**\n * Delete the account with the specified account Id.\n * @param {object} accountId -- account Id to be deleted\n */\nexport const deleteIntegration = (integrationId) => {\n  return axiosPrivate.delete(`/jira/saasConnector/${integrationId}`);\n};\n\n/**\n * Delete the account with the specified account Id.\n * @param {object} accountId -- account Id to be deleted\n */\nexport const deleteOktaIntegration = (integrationId) => {\n  return axiosPrivate.delete(`/user/cognitoOktaIntegration/${integrationId}`);\n};\n\n/**\n * Delete the account with the specified account Id.\n * @param {object} accountId -- account Id to be deleted\n */\nexport const deleteSlackIntegration = (integrationId) => {\n  return axiosPrivate.delete(`/slack/connectSlack/${integrationId}`);\n};\n\nexport const deleteWizIntegration = (integrationId) => {\n  return axiosPrivate.delete(`/api/v1/integrations/cnapp/wiz/${integrationId}`);\n};\n\n/**\n *\n * Add the okta accounts with the specified account details.\n * @param {object} params -- payload params\n * @returns the okta account details added.\n */\nexport const addOktaIntegration = (params) => {\n  return axiosPrivate.post(`/user/cognitoOktaIntegration`, params);\n};\n\n/**\n *\n * Add the okta accounts with the specified account details.\n * @param {object} params -- payload params\n * @returns the okta account details added.\n */\nexport const addSlackIntegration = (params) => {\n  return axiosPrivate.post(`/slack/connectSlack`, params);\n};\n\nexport const addWizIntegration = (params) => {\n  return axiosPrivate.post(`/api/v1/integrations/cnapp/wiz`, params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\n\nimport {\n  fetchIntegrations,\n  addIntegration,\n  updateIntegration,\n  deleteIntegration,\n  addOktaIntegration,\n  fetchOktaIntegrations,\n  addSlackIntegration,\n  fetchSlackIntegrations,\n  deleteSlackIntegration,\n  updateJiraIntegration,\n  updateSlackIntegration,\n  addWizIntegration,\n  updateWizIntegration,\n  deleteWizIntegration,\n  wizIntegrationStatus,\n  fetchJiraProjects,\n  fetchIssueTypes,\n} from \"../apis/integrationAPI\";\n\nconst initialState = {\n  integrations: {},\n  oktaIntegrations: [],\n  slackIntegrations: [],\n};\n\n// Async calls.\nexport const listIntegrationsAsync = createAsyncThunk(\n  \"integration/list\",\n  async (user_id) => {\n    const response = await fetchIntegrations(user_id);\n    return response.data;\n  }\n);\n\n// Async calls.\nexport const listOktaIntegrationsAsync = createAsyncThunk(\n  \"cognitoOktaIntegration\",\n  async (user_id) => {\n    const response = await fetchOktaIntegrations(user_id);\n    return response.data;\n  }\n);\n\n// Async calls.\nexport const listSlackIntegrationsAsync = createAsyncThunk(\n  \"slackIntegration\",\n  async () => {\n    const response = await fetchSlackIntegrations();\n    return response.data;\n  }\n);\n\n// Async calls.\nexport const listJiraProjectsAsync = createAsyncThunk(\n  \"listJiraProjects\",\n  async (params) => {\n    try {\n      const response = await fetchJiraProjects(params);\n      return response.data;\n    } catch (error) {\n      return error.response.data;\n    }\n  }\n);\n\n// Async calls.\nexport const listIssueTypesAsync = createAsyncThunk(\n  \"listIssueTypes\",\n  async (params) => {\n    try {\n      const response = await fetchIssueTypes(params);\n      return response.data;\n    } catch (error) {\n      return error.response.data;\n    }\n  }\n);\n\nexport const addIntegrationAsync = createAsyncThunk(\n  \"integration/addIntegration\",\n  async (params) => {\n    try {\n      const response = await addIntegration(params);\n      return response.data;\n    } catch (error) {\n      return error.response.data;\n    }\n  }\n);\n\nexport const updateIntegrationAsync = createAsyncThunk(\n  \"integration/updateIntegration\",\n  async (params) => {\n    const response = await updateIntegration(params.id, params);\n    return response.data;\n  }\n);\n\nexport const updateSlackIntegrationAsync = createAsyncThunk(\n  \"integration/updateSlackIntegration\",\n  async (params) => {\n    const response = await updateSlackIntegration(params.id, {\n      name: params.name,\n    });\n    return response.data;\n  }\n);\n\nexport const updateWizIntegrationAsync = createAsyncThunk(\n  \"integration/updateWizIntegration\",\n  async (params) => {\n    const response = await updateWizIntegration(params.id, {\n      client_id: params.client_id,\n      client_secret: params.client_secret,\n      endpoint_url: params.endpoint_url,\n      auth_url: params.auth_url,\n      userId: params.userId,\n    });\n    return response.data;\n  }\n);\n\nexport const wizIntegrationStatusAsync = createAsyncThunk(\n  \"integration/WizIntegrationStatus\",\n  async (params) => {\n    const response = await wizIntegrationStatus({\n      customerId: params.customerId,\n    });\n    return response.data;\n  }\n);\n\nexport const deleteIntegrationAsync = createAsyncThunk(\n  \"integration/deleteIntegration\",\n  async (params) => {\n    const response = await deleteIntegration(params);\n    return response.data;\n  }\n);\n\nexport const deleteOktaIntegrationAsync = createAsyncThunk(\n  \"integration/cognitoOktaIntegration\",\n  async (params) => {\n    const response = await deleteIntegration(params);\n    return response.data;\n  }\n);\n\nexport const deleteSlackIntegrationAsync = createAsyncThunk(\n  \"integration/slackIntegration\",\n  async (params) => {\n    const response = await deleteSlackIntegration(params);\n    return response.data;\n  }\n);\nexport const deleteWizIntegrationAsync = createAsyncThunk(\n  \"integration/wizIntegration\",\n  async (params) => {\n    const response = await deleteWizIntegration(params);\n    return response.data;\n  }\n);\n\nexport const addOktaIntegrationAsync = createAsyncThunk(\n  \"integration/addOktaIntegration\",\n  async (params) => {\n    const response = await addOktaIntegration(params);\n    return response.data;\n  }\n);\n\nexport const addSlackIntegrationAsync = createAsyncThunk(\n  \"integration/addSlackIntegration\",\n  async (params) => {\n    const response = await addSlackIntegration(params);\n    return response.data;\n  }\n);\n\nexport const addWizIntegrationAsync = createAsyncThunk(\n  \"integration/addWizIntegration\",\n  async (params) => {\n    const response = await addWizIntegration(params);\n    return response.data;\n  }\n);\n\n// Account slice for configuring reducers and actions.\nexport const integrationSlice = createSlice({\n  name: \"integration\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(listIntegrationsAsync.fulfilled, (state, action) => {\n        state.integrations = action.payload;\n      })\n      .addCase(listIntegrationsAsync.rejected, (state, action) => {\n        state.integrations = [];\n      })\n      .addCase(listOktaIntegrationsAsync.fulfilled, (state, action) => {\n        state.oktaIntegrations = action.payload.data;\n      })\n      .addCase(listOktaIntegrationsAsync.rejected, (state, action) => {\n        state.oktaIntegrations = [];\n      })\n      .addCase(listSlackIntegrationsAsync.fulfilled, (state, action) => {\n        state.slackIntegrations = action.payload.data;\n      })\n      .addCase(listSlackIntegrationsAsync.rejected, (state, action) => {\n        state.slackIntegrations = [];\n      });\n  },\n});\n\nexport default integrationSlice.reducer;\n\n// Selectors will go here\nexport const integrationById = (state, integrationId) =>\n  state.integrations.find((integration) => integration.id === integrationId);\n","import { axiosDenaliPrivate, axiosPrivate } from \"../../utils/ApiHandler\";\nimport { getUserId } from \"../../utils/SessionHelper\";\n\nexport const fetchTickets = () => {\n  return axiosDenaliPrivate.get(`/api/v1/jira/get/issues`);\n};\n\nexport const getTicket = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/jira/get`, params);\n};\nexport const getBulkTicket = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/jira/bulk/get`, params);\n};\n\nexport const getDatastoreTicket = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/jira/datastore/get`, params);\n};\n\n/**\n * Add the accounts with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const addTicket = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/jira/create`, params);\n};\n\nexport const deleteTicket = (params) => {\n  return axiosDenaliPrivate.post(`api/v1/integrations/jira/delete`, params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\n\nimport {\n  addTicket,\n  fetchTickets,\n  getTicket,\n  getBulkTicket,\n  getDatastoreTicket,\n  deleteTicket,\n} from \"../apis/ticketAPI\";\n\nconst initialState = {\n  tickets: [],\n};\n\n// Async calls.\n\nexport const listTicketsAsync = createAsyncThunk(\"tickets/get\", async () => {\n  const response = await fetchTickets();\n  return response.data;\n});\n\nexport const getTicketAsync = createAsyncThunk(\"ticket/get\", async (params) => {\n  const response = await getTicket(params);\n  return response.data;\n});\n\nexport const getBulkTicketAsync = createAsyncThunk(\n  \"ticket/get\",\n  async (params) => {\n    const response = await getBulkTicket(params);\n    return response.data;\n  }\n);\n\nexport const getDatastoreTicketAsync = createAsyncThunk(\n  \"ticket/datastore/get\",\n  async (params) => {\n    const response = await getDatastoreTicket(params);\n    return response.data;\n  }\n);\n\nexport const addTicketAsync = createAsyncThunk(\n  \"tickets/addTicket\",\n  async (params) => {\n    const response = await addTicket(params);\n    return response.data;\n  }\n);\n\nexport const deleteTicketAsync = createAsyncThunk(\n  \"tickets/deleteTicket\",\n  async (params) => {\n    const response = await deleteTicket(params);\n    return response.data;\n  }\n);\n\n// Account slice for configuring reducers and actions.\nexport const ticketSlice = createSlice({\n  name: \"tickets\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(listTicketsAsync.fulfilled, (state, action) => {\n        state.tickets = action.payload;\n      })\n      .addCase(listTicketsAsync.rejected, (state, action) => {\n        state.tickets = [];\n      });\n  },\n});\n\nexport default ticketSlice.reducer;\n\n// Selectors will go here\nexport const integrationById = (state, integrationId) =>\n  state.integrations.find((integration) => integration.id === integrationId);\n","import { useFormik } from \"formik\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport integrationIcon from \"../../assets/img/icons/settings/integration.svg\";\nimport { addIntegrationAsync } from \"../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../utils/toaster\";\nimport \"./addTicketModal.scss\";\nimport { getUserId } from \"../../utils/SessionHelper\";\nimport { addTicketAsync } from \"../../redux/slices/ticketSlice\";\n\n// Functional component for Add Integration.\nconst AddTicketModal = ({ handleModal, refreshIntegrations, data }) => {\n  const dispatch = useDispatch();\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      summary: \"\",\n      description: \"\",\n      issueType: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      summary: Yup.string().required(\"Please enter summary.\"),\n      description: Yup.string().required(\"Please enter description.\"),\n      issueType: Yup.string().required(\"Please enter issue type.\"),\n    }),\n    onSubmit: (values) => {\n      console.log(\"Values: \", values);\n      addIntegration({ ...values });\n    },\n  });\n\n  const handleCancel = () => {\n    handleModal();\n  };\n\n  const addIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      addTicketAsync({\n        // name: values.integrationName,\n        // host: values.host,\n        // username: values.userName,\n        // password: values.password,\n\n        userId: getUserId(),\n        summary: values.summary,\n        description: values.description,\n        key: \"CLOUD\",\n        issuetype: values.issueType,\n        issueId: data.issue_id,\n        instanceId: data.instance_id,\n      })\n    );\n    if (resp && resp.payload) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Ticket added successfully.\");\n      setShowLoader(false);\n      refreshIntegrations();\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, \"Failed to add ticket.\");\n      setShowLoader(false);\n      setConnectionFailed(true);\n    }\n  };\n\n  useEffect(() => {}, []);\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <img src={integrationIcon} className=\"mr-3\" />\n                <span>Add Ticket</span>\n              </div>\n              <div className=\"modal-body\">\n                {showLoader && (\n                  <img\n                    src=\"static/img/loader-circle.svg\"\n                    className=\"modal-loading-img\"\n                  />\n                )}\n                <div className=\"row\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Summary</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-8\">\n                    <input\n                      type=\"text\"\n                      id=\"summary\"\n                      placeholder=\"Summary\"\n                      name=\"summary\"\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"summary\", e.target.value);\n                      }}\n                      value={formik.values.summary}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.summary && formik.touched.summary && (\n                      <div className=\"error-message\">\n                        {formik.errors.summary}\n                      </div>\n                    )}\n                  </div>\n                </div>\n\n                <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Description</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-8\">\n                    <textarea\n                      id=\"description\"\n                      placeholder=\"Description\"\n                      name=\"description\"\n                      className=\"modal-input-style modal-input-area px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"description\", e.target.value);\n                      }}\n                      value={formik.values.description}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.description &&\n                      formik.touched.description && (\n                        <div className=\"error-message\">\n                          {formik.errors.description}\n                        </div>\n                      )}\n                  </div>\n                </div>\n\n                <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Issue Type</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-8\">\n                    <input\n                      type=\"text\"\n                      id=\"issueType\"\n                      placeholder=\"Issue Type\"\n                      name=\"issueType\"\n                      maxLength={50}\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"issueType\", e.target.value);\n                      }}\n                      value={formik.values.issueType}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.issueType && formik.touched.issueType && (\n                      <div className=\"error-message\">\n                        {formik.errors.issueType}\n                      </div>\n                    )}\n                  </div>\n                </div>\n\n                <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <label>Add Tags</label>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-8\">\n                    <input\n                      type=\"text\"\n                      id=\"recipient\"\n                      placeholder=\"Tags\"\n                      name=\"recipient\"\n                      className=\"modal-input-style px-2\"\n                      // onKeyDown={handleEmailEnter}\n                      onBlur={formik.handleBlur}\n                    />\n                    {/* {formik.touched.recipient && recepients.length === 0 && (\n                      <div className=\"error-message\">\n                        {\"Please enter recipient.\"}\n                      </div>\n                    )} */}\n                    {/* <div className=\"d-flex flex-wrap\">\n                      {recepients &&\n                        recepients.map((recepient, index) => (\n                          <div key={index} className=\"email-chip mr-2 my-1\">\n                            {\" \"}\n                            {recepient}{\" \"}\n                            <img\n                              src={deleteIcon}\n                              onClick={() => deleteEmail(index)}\n                            />\n                          </div>\n                        ))}\n                    </div> */}\n                  </div>\n                </div>\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 offset-md-3 pl-0 text-danger\">\n                      Connection failed, please check the details and try again.\n                    </div>\n                  </div>\n                )}\n              </div>\n              <div className=\"modal-footer\">\n                <button\n                  className=\"btn btn-primary\"\n                  type=\"submit\"\n                  disabled={!formik.isValid}\n                >\n                  Create Ticket\n                </button>\n                <span className=\"separator mx-3\"></span>\n                <button\n                  type=\"button\"\n                  className=\"btn btn-secondary\"\n                  onClick={() => handleCancel()}\n                >\n                  Cancel\n                </button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default AddTicketModal;\n","export default __webpack_public_path__ + \"static/media/task-yellow.52214f64.svg\";","export default __webpack_public_path__ + \"static/media/create-ticket.a232ee03.svg\";","import { useTheme } from \"@mui/material\";\nimport MUITable, { TableProps } from \"@mui/material/Table\";\nimport MUITableBody, { TableBodyProps } from \"@mui/material/TableBody\";\nimport MUITableCell, { TableCellProps } from \"@mui/material/TableCell\";\nimport MUITableContainer, {\n  TableContainerProps,\n} from \"@mui/material/TableContainer\";\nimport MUITableHead, { TableHeadProps } from \"@mui/material/TableHead\";\nimport MUITableRow, { TableRowProps } from \"@mui/material/TableRow\";\n\ninterface TableContainerCustomProps extends TableContainerProps {\n  sx?: {};\n}\n\nexport const Table = (props: TableProps) => {\n  return <MUITable {...props} stickyHeader />;\n};\nexport const TableContainer = (props: TableContainerCustomProps) => {\n  const styles = {\n    tableContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      justifyContent: \"space-between\",\n      overflow: \"auto\",\n    },\n  };\n  return (\n    <MUITableContainer\n      {...props}\n      sx={{ ...styles.tableContainer, ...props?.sx }}\n    />\n  );\n};\n\nexport const TableBody = (props: TableBodyProps) => {\n  const theme = useTheme();\n  const styles = {\n    tableBody: {\n      \"&.MuiTableBody-root .MuiTableRow-root:hover\": {\n        backgroundColor: theme.palette.surface0.main,\n      },\n      ...props?.sx,\n    },\n  };\n  return <MUITableBody sx={styles.tableBody} {...props} />;\n};\n\nexport const TableHead = (props, { sx }: TableHeadProps) => {\n  const theme = useTheme();\n  const styles = {\n    tableHead: {\n      zIndex: 1,\n      position: \"relative\",\n      \"& .MuiTableCell-head\": {\n        color: theme.palette.surface50.main,\n        fontSize: \"13px\",\n        lineHeight: \"1.125rem\",\n        background: theme.palette.surface10.main,\n        borderBottom: `1px solid ${theme.palette.surface20.main} !important`,\n        paddingY: theme.spacing(1.25),\n        zIndex: 0,\n      },\n    },\n    ...sx,\n  };\n  return <MUITableHead sx={styles.tableHead} {...props} />;\n};\n\ninterface TableRowProp extends TableRowProps {\n  selected?: boolean;\n  noHover?: boolean;\n}\n\nexport const TableRow = ({ selected, noHover, ...props }: TableRowProp) => {\n  const theme = useTheme();\n  const styles = {\n    tableRow: {\n      \"&.MuiTableRow-root\": {\n        backgroundColor: selected ? theme.palette.surface0.main : null,\n        verticalAlign: \"top\",\n      },\n      \"&.MuiTableRow-root:hover\": {\n        backgroundColor: noHover ? \"transparent !important\" : null,\n        cursor: noHover ? \"default\" : \"pointer\",\n      },\n      \"&.MuiTableRow-root .MuiTableCell-root:first-child\": {\n        borderLeft: `1px solid ${\n          selected ? theme.palette.primaryBlue.main : \"transparent\"\n        }`,\n      },\n      ...props.sx,\n    },\n  };\n\n  return <MUITableRow sx={styles.tableRow} {...props} />;\n};\n\ninterface TDProps extends TableCellProps {\n  colspan?: string;\n  borderBottom?: boolean;\n}\n\nexport const TableCell = ({ sx, borderBottom = true, ...props }: TDProps) => {\n  const theme = useTheme();\n\n  const styles = {\n    tableCell: {\n      fontSize: \"13px\",\n      padding: theme.spacing(2),\n      verticalAlign: \"middle\",\n      minHeight: theme.spacing(6.5),\n      \"&.MuiTableCell-root\": {\n        paddingX: theme.spacing(2),\n        border: \"none\",\n        borderBottom: !borderBottom\n          ? \"\"\n          : `1px solid ${theme.palette.surface20.main}`,\n      },\n      ...sx,\n    },\n  };\n  return <MUITableCell sx={styles.tableCell} {...props} />;\n};\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\n\nexport const StatusIndicator = ({ severity = \"low\" }) => {\n  const theme = useTheme();\n  const styles = {\n    indicator: (severity) => ({\n      height: \"15px\",\n      width: \"15px\",\n      borderRadius: \"50%\",\n      background:\n        severity === \"low\"\n          ? theme.palette.primaryBlue.main\n          : severity === \"high\"\n          ? theme.palette.high.main\n          : severity === \"moderate\"\n          ? theme.palette.warning.main\n          : theme.palette.critical.main,\n    }),\n  };\n  return <Box sx={styles.indicator(severity)}></Box>;\n};\n","import React, { useState } from \"react\";\nimport \"../vulnerabilities/vulnerabilities.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { getScoreColor } from \"../../utils/styles\";\nimport riskAccept from \"../../assets/img/icons/risk-accept.svg\";\nimport restoreRisk from \"../../assets/img/icons/risk-accepted.svg\";\nimport RiskAcceptModal from \"../modal/risk-accept-modal/RiskAcceptModal\";\nimport AddTicketsModal from \"./AddTicketModal\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../redux/slices/globalOperationSlice\";\nimport { listTicketsAsync } from \"../../redux/slices/ticketSlice\";\nimport TicketIcon from \"../../assets/img/icons/small/task-yellow.svg\";\nimport TicketUnavailableIcon from \"../../assets/img/v1-icons/create-ticket.svg\";\nimport ArrowUpwardRoundedIcon from \"@mui/icons-material/ArrowUpwardRounded\";\nimport ArrowDownwardRoundedIcon from \"@mui/icons-material/ArrowDownwardRounded\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport { useTheme } from \"@mui/material\";\nimport TextButton from \"../common/TextButton\";\nimport { StatusIndicator } from \"../common/StatusIndicator\";\n\nconst VulnerabilityTable = ({\n  currentPosts,\n  severity,\n  sortData,\n  pageName,\n  isRiskAccepted,\n  refreshIssues,\n  isTicketColEnable = true,\n  isActionColEnable = true,\n  impactedDatastoreEnable = true,\n  instanceLocationEnable = true,\n  subFilter,\n  selectedFilter,\n  setIsRiskAccepted,\n  sortType,\n  sortField,\n}) => {\n  const dispatch = useDispatch();\n  const history = useHistory();\n  const theme = useTheme();\n\n  const [ticketModal, setTicketModal] = useState(false);\n  const [isRiskAcceptModal, setIsRiskAcceptModal] = useState(null);\n  const [allRiskAccepted, setAllRiskAccepted] = useState(null);\n  const [sortingField, setSortingField] = useState([]);\n\n  const [selectedSecurityInstance, setSelectedSecurityInstance] = useState({\n    instanceId: \"\",\n    issueId: \"\",\n    instanceLocation: \"\",\n    displayId: \"\",\n  });\n\n  const getPolicyNames = (items) => {\n    if (!items) return;\n\n    const names = [];\n    for (let i of items) {\n      names.push(i.name);\n    }\n\n    return names.join(\", \");\n  };\n\n  const viewDetails = (item) => {\n    history.push(\n      `/vulnerabilities-details/${item.vulnerabilityID.replaceAll(\n        \"/\",\n        \"_\"\n      )}/${item.instanceLocation.replaceAll(\"/\", \"_\")}/${\n        item.securityIssueInstanceId\n      }/`\n    );\n  };\n\n  const [addTicketsModal, setAddTicketsModal] = useState(false);\n  const [ticketModalData, setTicketModalData] = useState({\n    issue_id: \"\",\n    instance_id: \"\",\n  });\n\n  const refreshIntegrations = async () => {\n    dispatch(showLoading());\n    dispatch(listTicketsAsync());\n    setAddTicketsModal(false);\n    dispatch(hideLoading());\n  };\n\n  const styles = {\n    table: {\n      minWidth: \"max-content\",\n    },\n    sortIcon: {\n      fontSize: theme.typography.body2,\n      color: theme.palette.surface50.main,\n    },\n    link: {\n      fontSize: theme.typography.caption,\n    },\n  };\n\n  return (\n    <TableContainer>\n      <Table sx={styles.table}>\n        <TableHead>\n          <TableRow>\n            <TableCell\n              scope=\"col\"\n              style={{ minWidth: \"100px\" }}\n              onClick={() => sortData(\"cdIssueRiskScore\")}\n            >\n              Data Risk\n              {sortType === \"asc\" && sortField === \"cdIssueRiskScore\" ? (\n                <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n              ) : (\n                <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n              )}\n            </TableCell>\n            <TableCell\n              scope=\"col\"\n              style={\n                pageName === \"datastore-info\"\n                  ? { minWidth: \"100px\" }\n                  : { minWidth: \"100px\" }\n              }\n              onClick={() => sortData(\"vulnerabilityId.keyword\")}\n            >\n              Issue ID\n              {sortType === \"asc\" && sortField === \"vulnerabilityId.keyword\" ? (\n                <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n              ) : (\n                <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n              )}\n            </TableCell>\n            <TableCell\n              scope=\"col\"\n              style={\n                pageName === \"datastore-info\"\n                  ? { minWidth: \"170px\" }\n                  : { minWidth: \"200px\" }\n              }\n              // style={{ minWidth: \"220px\" }}\n              onClick={() => sortData(\"name.keyword\")}\n            >\n              Name\n              {sortType === \"asc\" && sortField === \"name.keyword\" ? (\n                <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n              ) : (\n                <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n              )}\n            </TableCell>\n\n            {selectedFilter === \"policy-violation\" ? (\n              <TableCell\n                scope=\"col\"\n                style={\n                  pageName === \"datastore-info\"\n                    ? { minWidth: \"170px\" }\n                    : { minWidth: \"200px\" }\n                }\n                onClick={() => sortData(\"name.keyword\")}\n              >\n                Policy Names\n              </TableCell>\n            ) : (\n              \"\"\n            )}\n\n            <TableCell\n              scope=\"col\"\n              style={{ minWidth: \"160px\" }}\n              onClick={() => sortData(\"issueType.keyword\")}\n            >\n              Type\n              {sortType === \"asc\" && sortField === \"issueType.keyword\" ? (\n                <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n              ) : (\n                <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n              )}\n            </TableCell>\n            <TableCell\n              scope=\"col\"\n              style={{ minWidth: \"100px\" }}\n              onClick={() => sortData(\"displaySeverityScore.keyword\")}\n            >\n              Severity\n              {sortType === \"asc\" &&\n              sortField === \"displaySeverityScore.keyword\" ? (\n                <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n              ) : (\n                <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n              )}\n            </TableCell>\n            {instanceLocationEnable && (\n              <TableCell\n                scope=\"col\"\n                style={{ minWidth: \"220px\" }}\n                onClick={() => sortData(\"instanceLocation.keyword\")}\n              >\n                Instance Location\n                {sortType === \"asc\" &&\n                sortField === \"instanceLocation.keyword\" ? (\n                  <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                ) : (\n                  <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                )}\n              </TableCell>\n            )}\n            {impactedDatastoreEnable && (\n              <TableCell\n                scope=\"col\"\n                style={{ minWidth: \"100px\" }}\n                onClick={() => sortData(\"impactedDatastoresCount\")}\n              >\n                Impacted Datastores\n                {sortType === \"asc\" &&\n                sortField === \"impactedDatastoresCount\" ? (\n                  <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                ) : (\n                  <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                )}\n              </TableCell>\n            )}\n\n            <TableCell\n              scope=\"col\"\n              style={{ minWidth: \"150px\" }}\n              onClick={() => sortData(\"totalInstanceCount\")}\n            >\n              Total Instances\n              {sortType === \"asc\" && sortField === \"totalInstanceCount\" ? (\n                <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n              ) : (\n                <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n              )}\n            </TableCell>\n\n            {isActionColEnable &&\n            isTicketColEnable &&\n            subFilter?.value !== \"Resolved\" ? (\n              <TableCell scope=\"col\" style={{ minWidth: \"100px\" }}>\n                Actions\n              </TableCell>\n            ) : (\n              \"\"\n            )}\n          </TableRow>\n        </TableHead>\n        <TableBody>\n          {currentPosts.map(function (item, idx) {\n            const riskScore = getScoreColor(item.cdIssueRiskScore);\n            const riskValue =\n              riskScore === \"score-elevated\"\n                ? \"crtitical\"\n                : riskScore === \"score-low\"\n                ? \"low\"\n                : riskScore === \"score-moderate\"\n                ? \"moderate\"\n                : \"high\";\n            return (\n              <TableRow key={idx} onClick={() => viewDetails(item)}>\n                <TableCell>\n                  {/* {pageName === \"datastore\" &&\n                    item?.issueType === \"MaliciousActivity\" && (\n                      <img src={AttackIcon} width=\"20px\" />\n                    )}\n                  <div\n                    className={`${getScoreColor(item.cdIssueRiskScore)} hello`}\n                  ></div> */}\n                  <StatusIndicator severity={riskValue} />\n                </TableCell>\n                <TableCell>\n                  <div\n                    className={\n                      pageName === \"datastore-info\"\n                        ? \"wrap-title-datastore-info\"\n                        : \"wrap-title\"\n                    }\n                    title={item?.vulnerabilityID}\n                  >\n                    {pageName === \"datastore-info\"\n                      ? item?.displayId.length > 17\n                        ? item?.displayId.slice(0, 17) + \" ...\"\n                        : item?.displayId\n                      : item?.displayId}\n                  </div>\n                </TableCell>\n                <TableCell>\n                  <div title={item?.name}>\n                    <TextButton sx={styles.link}>\n                      {pageName === \"datastore-info\"\n                        ? item.name.length > 16\n                          ? item.name.slice(0, 16) + \" ...\"\n                          : item?.name\n                        : item.name.length > 40\n                        ? item.name.slice(0, 40) + \" ...\"\n                        : item?.name}\n                    </TextButton>\n                  </div>\n                </TableCell>\n\n                {selectedFilter === \"policy-violation\" ? (\n                  <TableCell>\n                    <div>{getPolicyNames(item.policyViolations)}</div>\n                  </TableCell>\n                ) : (\n                  \"\"\n                )}\n\n                <TableCell title={item?.issueType}>\n                  {item?.issueType.length > 22\n                    ? item.issueType.slice(0, 22) + \"...\"\n                    : item.issueType}\n                </TableCell>\n                <TableCell>\n                  <i class=\"icon fa fa-circle text-danger red-dot\"></i>{\" \"}\n                  <span>\n                    {item?.displaySeverityScore\n                      ? item?.displaySeverityScore.split(\" \")[0]\n                      : \"\"}\n                  </span>\n                </TableCell>\n                {instanceLocationEnable && (\n                  <TableCell title={item?.instanceLocation}>\n                    <div className=\"wrap-with-ellipsis\">\n                      {item.instanceLocation\n                        ? item.instanceLocation.substring(\n                            item.instanceLocation.lastIndexOf(\":\") + 1\n                          )\n                        : null}\n                    </div>\n                  </TableCell>\n                )}\n                {impactedDatastoreEnable && (\n                  <TableCell>{item?.impactedDatastoresCount}</TableCell>\n                )}\n                <TableCell>{item?.totalInstanceCount}</TableCell>\n                {/* {isTicketColEnable ? <TableCell title=\"Ticket\"></TableCell> : \"\"} */}\n                {isActionColEnable && subFilter?.value !== \"Resolved\" ? (\n                  <TableCell onClick={(e) => e.stopPropagation()}>\n                    <div className=\"row\">\n                      {/* <div className=\"col pr-2\">\n                            {item?.tickets === 0 || item?.tickets === 1 ? (\n                              <img\n                                src={ticketUnavailable}\n                                className=\"ticket-image\"\n                                title=\"Create Ticket\"\n                              />\n                            ) : (\n                              <img src={ticketAvailable} />\n                            )}\n                            \n                          </div> */}\n                      <div className=\"col justify-content-center\">\n                        <img\n                          src={isRiskAccepted ? restoreRisk : riskAccept}\n                          alt=\"\"\n                          className=\"mb-1 \"\n                          onClick={(e) => {\n                            e.stopPropagation();\n                            setSelectedSecurityInstance({\n                              instanceId: item.securityIssueInstanceId,\n                              displayId: item?.displayId,\n                              issueId: item.vulnerabilityID,\n                              instanceLocation: item?.instanceLocation\n                                ? item?.instanceLocation.substring(\n                                    item?.instanceLocation.lastIndexOf(\":\") + 1\n                                  )\n                                : null,\n                            });\n                            setAllRiskAccepted(item.accepted_all_risks);\n                            setIsRiskAcceptModal(true);\n                          }}\n                          width=\"25px\"\n                          title={\n                            isRiskAccepted ? \"Restore Risk\" : \"Accept Risk\"\n                          }\n                        />\n                        <img\n                          src={item.url ? TicketIcon : TicketUnavailableIcon}\n                          alt=\"\"\n                          className=\"ticket-icon ml-3 mb-1\"\n                          onClick={item.url ? () => window.open(item.url) : \"\"}\n                        />\n                      </div>\n                    </div>\n                  </TableCell>\n                ) : (\n                  \"\"\n                )}\n              </TableRow>\n            );\n          })}\n        </TableBody>\n        {/* </table> */}\n      </Table>\n      {/* </div>\n      </div> */}\n\n\n      {isRiskAcceptModal ? (\n        <RiskAcceptModal\n          securityIssueInstanceId={selectedSecurityInstance.instanceId}\n          securityIssueId={selectedSecurityInstance.issueId}\n          instanceLocation={selectedSecurityInstance.instanceLocation}\n          displayId={selectedSecurityInstance.displayId}\n          riskAccepted={isRiskAccepted}\n          allRiskAccepted={allRiskAccepted}\n          handleModal={() => setIsRiskAcceptModal(false)}\n          refreshIssues={refreshIssues}\n        />\n      ) : (\n        \"\"\n      )}\n\n      \n      {addTicketsModal && (\n        <AddTicketsModal\n          data={ticketModalData}\n          handleModal={() => setAddTicketsModal(false)}\n          refreshIntegrations={refreshIntegrations}\n        />\n      )}\n    </TableContainer>\n  );\n};\n\nexport default VulnerabilityTable;\n","import \"./Pagination.scss\";\n\nconst Pagination = ({ page, setPage, limit, totalCount }) => {\n  const previousPage = () => {\n    if (page === 1) return;\n    setPage(page - 1);\n  };\n\n  const hasMore = (offset, count) => {\n    if (offset >= count) {\n      return false;\n    } else {\n      return true;\n    }\n  };\n\n  const nextPage = () => {\n    setPage(page + 1);\n  };\n\n  return (\n    <>\n      <div className=\"pagination\">\n        <span\n          className={page == 1 ? \"pagination-btn-disable\" : \"pagination-btn\"}\n          onClick={page === 1 ? \"\" : () => setPage(1)}\n        >\n          <i class=\"ri-arrow-left-s-line pagination-icon-first\"></i>\n\n          <i class=\"ri-arrow-left-s-line pagination-icon\"></i>\n        </span>\n\n        <span\n          className={page == 1 ? \"pagination-btn-disable\" : \"pagination-btn\"}\n          onClick={previousPage}\n        >\n          <i class=\"ri-arrow-left-s-line pagination-icon\"></i>\n        </span>\n        <span>\n          {`${totalCount ? page * limit - limit + 1 : 0} - ${\n            hasMore(page * limit, totalCount) ? page * limit : totalCount\n          }`}{\" \"}\n          of {totalCount}\n        </span>\n        <span\n          className={\n            hasMore(page * limit, totalCount)\n              ? \"pagination-btn\"\n              : \"pagination-btn-disable\"\n          }\n          onClick={hasMore(page * limit, totalCount) ? nextPage : \"\"}\n        >\n          <i class=\"ri-arrow-right-s-line pagination-icon\"></i>\n        </span>\n\n        <span\n          className={\n            page === Math.ceil(totalCount / limit)\n              ? \"pagination-btn-disable\"\n              : \"pagination-btn\"\n          }\n          onClick={\n            page === Math.ceil(totalCount / limit)\n              ? \"\"\n              : () => setPage(Math.ceil(totalCount / limit))\n          }\n        >\n          <i class=\"ri-arrow-right-s-line pagination-icon\"></i>\n          <i class=\"ri-arrow-right-s-line pagination-icon-last\"></i>\n        </span>\n      </div>\n    </>\n  );\n};\n\nexport default Pagination;\n","export default __webpack_public_path__ + \"static/media/no-data.b1597308.svg\";","import NoDataImg from \"../../../assets/img/no-data.svg\";\nimport \"./style.scss\";\n\nconst NoDataContainer = ({ message }) => {\n  return (\n    <div className=\"nodata-container\">\n      <img src={NoDataImg} />\n      <h4>{message}</h4>\n    </div>\n  );\n};\n\nexport default NoDataContainer;\n","import React, { useState } from \"react\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useParams, useLocation } from \"react-router-dom\";\nimport Table from \"../../components/vulnerabilities/table\";\nimport { getIssuesApi } from \"../../apis\";\nimport { addIndex } from \"../../utils/dataHandler\";\nimport { useEffect } from \"react\";\nimport Pagination from \"../pagination/Pagination\";\nimport Toggle from \"react-toggle\";\nimport \"react-toggle/style.css\"; // for ES6 modules\nimport NoDataContainer from \"../../components/cards/no-data\";\nimport \"./DatastoreIssues.scss\";\nimport { formatHeader } from \"../../utils/uppercase\";\nimport Select, { components } from \"react-select\";\nimport { ReactComponent as FilterIcon } from \"../../assets/img/new-theme/filter.svg\";\nconst DatastoreIssues = ({\n  assetIdValue,\n  isAttackPath = false,\n  node = null,\n  setLoading,\n  selectedTab,\n  pageName,\n  loading,\n  noFilters,\n}) => {\n  const params = useParams();\n  const location = useLocation();\n  const [severity, setSeverity] = useState(null);\n  const [dataStoreIssuesList, setDataStoreIssuesList] = useState([]);\n  const page_ = sessionStorage.getItem(\"page\");\n  const assetId = assetIdValue?.replaceAll(\"_\", \"/\");\n  const [isRiskAccepted, setIsRiskAccepted] = useState(false);\n  const policyViolationId = params.policyViolationId;\n  const isPolicyViolation = location.pathname.includes(\"/policy-details\");\n\n  const [selectedFilter, setSelectedFilter] = useState(\"all\");\n\n  const [page, setPage] = useState(!assetId && page_ ? parseInt(page_) : 1);\n  const [totalIssuesCount, setTotalIssuesCount] = useState(0);\n  const [subFilter, setSubFilter] = useState({\n    value: \"Active\",\n    label: \"Active\",\n  });\n  const [subFiltersList, setSubFiltersList] = useState([\n    {\n      value: \"Active\",\n      label: \"Active\",\n    },\n    {\n      value: \"Risk Accepted\",\n      label: \"Risk Accepted\",\n    },\n    {\n      value: \"Resolved\",\n      label: \"Resolved\",\n    },\n  ]);\n\n  let limit = 5;\n\n  const getDataStoreIssues = async (isNode) => {\n    setLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      page: page,\n      limit: limit,\n      assetId: assetId,\n    };\n    if (isNode) {\n      if (node.datastore_node && isPolicyViolation) {\n        payload.policyViolations = true;\n      } else {\n        if (isRiskAccepted) {\n          payload.risk_accepted = true;\n        } else {\n          payload.risk_accepted = false;\n        }\n      }\n    } else {\n      if (selectedFilter === \"all\") {\n        if (subFilter.value === \"Active\") {\n          payload.risk_accepted = false;\n        }\n        if (subFilter.value === \"Risk Accepted\") {\n          payload.risk_accepted = true;\n        }\n        if (subFilter.value === \"Resolved\") {\n          payload.status = \"resolved\";\n        }\n      } else if (selectedFilter === \"policy-violation\") {\n        if (subFilter.value === \"Active\") {\n          payload.policyViolations = true;\n        }\n        if (subFilter.value === \"Resolved\") {\n          payload.policyViolations = true;\n          payload.status = \"resolved\";\n        }\n      }\n    }\n\n    let res = await getIssuesApi(payload);\n\n    if (res && !res.err) {\n      if (!res.data) {\n        setDataStoreIssuesList([]);\n        setTotalIssuesCount(0);\n        setLoading(false);\n        return;\n      }\n\n      setTotalIssuesCount(res.count);\n      res = addIndex(res.data);\n      setDataStoreIssuesList(res);\n      setLoading(false);\n    } else {\n      setLoading(false);\n      setDataStoreIssuesList([]);\n      setTotalIssuesCount(0);\n    }\n  };\n  const handleRiskToggle = () => {\n    setIsRiskAccepted(!isRiskAccepted);\n  };\n\n  useEffect(() => {\n    if (page === 1) {\n      if (!isAttackPath) {\n        getDataStoreIssues();\n      }\n    } else {\n      setPage(1);\n    }\n  }, [subFilter, selectedFilter]);\n\n  useEffect(() => {\n    if (isAttackPath && node && node?.is_primary) {\n      getDataStoreIssues(true);\n    } else if (isAttackPath && selectedTab === \"access\") {\n      getDataStoreIssues(true);\n    } else if (!isAttackPath) {\n      getDataStoreIssues();\n    }\n  }, [page, isRiskAccepted, severity, node]);\n\n  useEffect(() => {\n    if (selectedFilter === \"all\") {\n      setSubFiltersList([\n        {\n          value: \"Active\",\n          label: \"Active\",\n        },\n        {\n          value: \"Risk Accepted\",\n          label: \"Risk Accepted\",\n        },\n        {\n          value: \"Resolved\",\n          label: \"Resolved\",\n        },\n      ]);\n    } else if (selectedFilter === \"policy-violation\") {\n      setSubFiltersList([\n        {\n          value: \"Active\",\n          label: \"Active\",\n        },\n\n        {\n          value: \"Resolved\",\n          label: \"Resolved\",\n        },\n      ]);\n    }\n  }, [selectedFilter]);\n\n  const getAttackPathContents = () => {\n    if (node && node?.tooltip_content) {\n      const contents = node?.tooltip_content;\n      let popupContents = [];\n      let index = 1;\n      for (var key in contents) {\n        index++;\n        if (contents.hasOwnProperty(key)) {\n          var val = contents[key];\n          if (val) {\n            if (\n              (key === \"eks_cluster\" || key === \"EKS Cluster\") &&\n              node?.eks_enabled === false\n            ) {\n              continue;\n            } else {\n              popupContents.push(\n                <div className=\" pr-4\" key={index}>\n                  <div className=\"node-title\">{formatHeader(key)}</div>\n                  <div\n                    dangerouslySetInnerHTML={{ __html: val }}\n                    className=\"node-description\"\n                  ></div>\n                </div>\n              );\n            }\n          }\n        }\n      }\n      return (\n        <div>\n          <div className=\"d-flex flex-wrap m-1 mx-2\">{popupContents}</div>\n        </div>\n      );\n    } else {\n      return (\n        <div className=\"right-panel\">\n          <p className=\"header m-0\">{node?.name || \"\"}</p>\n        </div>\n      );\n    }\n  };\n  const CaretDownIcon = () => {\n    return <FilterIcon />;\n  };\n\n  const DropdownIndicator = (props) => {\n    return (\n      <components.DropdownIndicator {...props}>\n        <CaretDownIcon />\n      </components.DropdownIndicator>\n    );\n  };\n\n  return (\n    <div className=\"datastore-details-issues\">\n      <div\n        className={isAttackPath && node ? \"attack-path-section ml-2\" : \"ml-2\"}\n      >\n        {isAttackPath && node && getAttackPathContents()}\n      </div>\n\n      {isAttackPath && selectedTab !== \"access\" && node?.is_primary ? (\n        <div>\n          <div className=\"d-flex justify-content-between\">\n            {/* {isAttackPath && node && ( */}\n            <div className=\"d-flex justify-content-start\">\n              <span className=\"body-title mt-3 ml-3\">Security Issues</span>\n            </div>\n            {/* )} */}\n\n            <div\n              className={\n                isAttackPath && node\n                  ? \"d-flex justify-content-end mt-3\"\n                  : \"d-flex justify-content-end \"\n              }\n            >\n              <span className=\"mx-4\">\n                {noFilters ? (\n                  \"\"\n                ) : (\n                  <Select\n                    options={subFiltersList}\n                    classNamePrefix=\"accounts-dropdown\"\n                    placeholder=\"Filters\"\n                    defaultValue={\n                      subFiltersList.length > 0 && subFiltersList[0]\n                    }\n                    components={{ DropdownIndicator }}\n                    isRtl\n                    onChange={(value) => setSubFilter(value)}\n                    isSearchable={false}\n                    className=\"accounts-dropdown\"\n                  />\n                )}\n              </span>\n              <div className=\"mr-4\">\n                <Pagination\n                  page={page}\n                  setPage={(val) => setPage(val)}\n                  limit={limit}\n                  totalCount={totalIssuesCount}\n                />\n              </div>\n            </div>\n          </div>\n          {dataStoreIssuesList.length ? (\n            <Table\n              pageName={pageName}\n              severity={severity}\n              currentPosts={dataStoreIssuesList}\n              // sortData={sortData}\n              isTicketColEnable={false}\n              isActionColEnable={false}\n              isRiskAccepted={\n                subFilter.value === \"Risk Accepted\" ? true : false\n              }\n              // refreshIssues={getIssues}\n              impactedDatastoreEnable={false}\n              instanceLocationEnable={false}\n            />\n          ) : !loading ? (\n            <NoDataContainer message={\"No Issues Available\"} />\n          ) : (\n            \"\"\n          )}\n        </div>\n      ) : (\n        \"\"\n      )}\n\n      {isAttackPath && selectedTab === \"access\" ? (\n        <div>\n          <div className=\"d-flex justify-content-between\">\n            {/* {isAttackPath && node && ( */}\n            <div className=\"d-flex justify-content-start\">\n              <span className=\"body-title mt-3 ml-3\">Security Issues</span>\n            </div>\n            {/* )} */}\n\n            <div\n              className={\n                isAttackPath && node\n                  ? \"d-flex justify-content-end mt-3\"\n                  : \"d-flex justify-content-end \"\n              }\n            >\n              {!node.datastore_node && selectedFilter === \"policy-violation\" && (\n                <span className=\"mx-4\">\n                  <label\n                    htmlFor=\"risk-accept-toggle\"\n                    className=\"toggle-label mr-2\"\n                  >\n                    Risk Accepted\n                  </label>\n                  <Toggle\n                    defaultChecked={isRiskAccepted}\n                    onChange={handleRiskToggle}\n                    className=\"risk-accept-toggle\"\n                    icons={false}\n                    id=\"risk-accept-toggle\"\n                  />\n                </span>\n              )}\n\n              <div className=\"mr-4\">\n                <Pagination\n                  page={page}\n                  setPage={(val) => setPage(val)}\n                  limit={limit}\n                  totalCount={totalIssuesCount}\n                />\n              </div>\n            </div>\n          </div>\n          {dataStoreIssuesList.length ? (\n            <Table\n              pageName={pageName}\n              severity={severity}\n              currentPosts={dataStoreIssuesList}\n              // sortData={sortData}\n              isTicketColEnable={false}\n              isActionColEnable={false}\n              isRiskAccepted={isRiskAccepted}\n              // refreshIssues={getIssues}\n              impactedDatastoreEnable={false}\n              instanceLocationEnable={false}\n            />\n          ) : !loading ? (\n            <NoDataContainer message={\"No Issues Available\"} />\n          ) : (\n            \"\"\n          )}\n        </div>\n      ) : (\n        \"\"\n      )}\n\n      {!isAttackPath && (\n        <div className=\"datastore-issues\">\n          <div\n            className={\n              isAttackPath && node\n                ? \"d-flex justify-content-between mt-3\"\n                : \"d-flex justify-content-between \"\n            }\n          >\n            <div className=\"pt-2\">\n              <span className=\"body-title\"> Datastore Security Issues</span>\n            </div>\n            {/* <div className=\"d-flex pt-1\">\n              <span className=\"mx-4\">\n                <label\n                  htmlFor=\"risk-accept-toggle\"\n                  className=\"toggle-label mr-2\"\n                >\n                  Risk Accepted\n                </label>\n                <Toggle\n                  defaultChecked={isRiskAccepted}\n                  onChange={handleRiskToggle}\n                  className=\"risk-accept-toggle\"\n                  icons={false}\n                  id=\"risk-accept-toggle\"\n                />\n              </span>\n              <div className=\"mr-4\">\n                <Pagination\n                  page={page}\n                  setPage={(val) => setPage(val)}\n                  limit={limit}\n                  totalCount={totalIssuesCount}\n                />\n              </div>\n            </div> */}\n          </div>{\" \"}\n          <ul class=\"nav nav-pills mb-1\" id=\"pills-tab\" role=\"tablist\">\n            <li class=\"nav-item\" onClick={() => setSelectedFilter(\"all\")}>\n              <a\n                class={\n                  selectedFilter === \"all\" ? \"nav-link active\" : \"nav-link\"\n                }\n                id=\"all-tab\"\n                data-toggle=\"pill\"\n                href=\"#all\"\n                role=\"tab\"\n                aria-selected=\"false\"\n              >\n                Risk\n              </a>\n            </li>\n            <li\n              class=\"nav-item\"\n              onClick={() => setSelectedFilter(\"policy-violation\")}\n            >\n              <a\n                class={\n                  selectedFilter === \"policy-violation\"\n                    ? \"nav-link active\"\n                    : \"nav-link\"\n                }\n                id=\"policy-violation-tab\"\n                data-toggle=\"pill\"\n                href=\"#policy-violation\"\n                role=\"tab\"\n                aria-controls=\"high-risk\"\n                aria-selected=\"false\"\n              >\n                Policy Violation\n              </a>\n            </li>{\" \"}\n            <li className=\" d-flex align-items-center ml-auto\">\n              <Select\n                options={subFiltersList}\n                classNamePrefix=\"accounts-dropdown\"\n                placeholder=\"Filters\"\n                defaultValue={subFiltersList.length > 0 && subFiltersList[0]}\n                components={{ DropdownIndicator }}\n                isRtl\n                onChange={(value) => setSubFilter(value)}\n                isSearchable={false}\n                className=\"accounts-dropdown\"\n              />\n            </li>\n            <div className=\"d-flex  align-items-center view-all\">\n              <Pagination\n                page={page}\n                setPage={(val) => setPage(val)}\n                limit={limit}\n                totalCount={totalIssuesCount}\n              />{\" \"}\n            </div>\n          </ul>\n          <div class=\"tab-content\" id=\"pills-tabContent\">\n            <div\n              class=\"tab-pane fade show active\"\n              id=\"all\"\n              role=\"tabpanel\"\n              aria-labelledby=\"high-risk-tab\"\n            >\n              {dataStoreIssuesList.length ? (\n                <Table\n                  pageName={pageName}\n                  severity={severity}\n                  currentPosts={dataStoreIssuesList}\n                  // sortData={sortData}\n                  isTicketColEnable={false}\n                  isActionColEnable={false}\n                  isRiskAccepted={isRiskAccepted}\n                  // refreshIssues={getIssues}\n                  impactedDatastoreEnable={false}\n                  instanceLocationEnable={false}\n                  selectedFilter={selectedFilter}\n                />\n              ) : !loading && pageName !== \"datastore-info\" ? (\n                <NoDataContainer message={\"No Issues Available\"} />\n              ) : (\n                <div className=\"d-flex justify-content-center\">\n                  <div>No Issues Detected Yet</div>\n                </div>\n              )}\n            </div>\n          </div>\n        </div>\n      )}\n    </div>\n  );\n};\n\nexport default DatastoreIssues;\n","export default __webpack_public_path__ + \"static/media/attack-icon.f5ebc295.svg\";","export default __webpack_public_path__ + \"static/media/liveness-icon.3c410b27.svg\";","export default __webpack_public_path__ + \"static/media/lock-icon.ce3ad0cc.svg\";","export default __webpack_public_path__ + \"static/media/archive.aac32829.svg\";","export default __webpack_public_path__ + \"static/media/notify.4f643149.svg\";","export default __webpack_public_path__ + \"static/media/view-ticket.61e23196.svg\";","import { axiosPrivate } from \"../../utils/ApiHandler\";\nimport { getCustomerId, getUserId } from \"../../utils/SessionHelper\";\nimport { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Provides the list of all Policys.\n * @returns -- Accounts list\n */\nexport const fetchPolicies = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/policy/get\", params);\n};\n\n/**\n * Provides the list of all Policys.\n * @returns -- Accounts list\n */\nexport const getPolicies = (params) => {\n  return axiosPrivate.post(`/policy/predefined`, params);\n};\n\n/**\n * Add the Policy with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const addPolicy = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/policy\", params);\n};\n\nexport const updatePolicy = (id, params) => {\n  return axiosPrivate.patch(`/policy/policy/${id}`, params);\n};\n\nexport const updatePolicyDetails = (params) => {\n  return axiosDenaliPrivate.put(\"/api/v1/ai/policy\", params);\n};\n\n/**\n * Delete the Policy with the specified account Id.\n * @param {object} accountId -- account Id to be deleted\n */\nexport const deletePolicy = (params) => {\n  return axiosDenaliPrivate.delete(\"/api/v1/ai/policy\", { data: params });\n};\n\n/**\n * Provides the list of all Policy stats.\n * @returns -- Policy stats list\n */\nexport const getPolicyStats = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/datastore/policystats`, params);\n};\n\n/**\n * Accept the policy violation.\n * @returns -- Policy stats list\n */\nexport const acceptPolicyViolation = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/policies/acceptviolation`, params);\n};\n\n/**\n * Accept the policy violation.\n * @returns -- Policy stats list\n */\nexport const policyNotify = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/policies/notification`, params);\n};\n\n/**\n * Accept the policy violation.\n * @returns -- Policy stats list\n */\nexport const archivePolicy = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/policy/archive`, params);\n};\n\n/**\n * Accept the policy violation.\n * @returns -- Policy stats list\n */\nexport const policyViolationDetails = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/policyviolation/details`, params);\n};\n\n/**\n * Accept the policy violation.\n * @returns -- Policy violations list\n */\nexport const fetchPolicyViolations = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/policyviolationinstance`, params);\n};\n\n/**\n * Accept the ai policy violation.\n * @returns -- Policy violations list for ai view\n */\nexport const fetchAIPolicyViolations = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/ai/policyviolationinstance`, params);\n};\n\n/**\n * Fetch list of entities\n * @param {*} params\n * @returns - List of entities\n */\nexport const fetchEntities = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/entity/groups/predefined\", params);\n};\n\n/**\n * Fetch list of topics\n * @param {*} params\n * @returns - List of topics\n */\nexport const fetchTopics = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/topic/groups/predefined\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  fetchPolicies,\n  addPolicy,\n  deletePolicy,\n  updatePolicy,\n  getPolicies,\n  getPolicyStats,\n  acceptPolicyViolation,\n  policyNotify,\n  archivePolicy,\n  policyViolationDetails,\n  fetchPolicyViolations,\n  fetchAIPolicyViolations,\n  fetchEntities,\n  fetchTopics,\n  updatePolicyDetails,\n} from \"../apis/policyAPI\";\n\nconst initialState = {\n  policies: [],\n  policyViolationInstances: 0,\n  entities: [],\n  topics: [],\n};\n\n// Async calls.\nexport const listPoliciesAsync = createAsyncThunk(\n  \"policy/list\",\n  async (params) => {\n    const response = await fetchPolicies(params);\n    return response.data;\n  }\n);\n\nexport const getAllPolicies = createAsyncThunk(\"policy/all\", async (params) => {\n  const response = await getPolicies(params);\n  return response.data;\n});\n\nexport const getPolicyStatsAsync = createAsyncThunk(\n  \"policy/stats\",\n  async (params) => {\n    const response = await getPolicyStats(params);\n    return response.data;\n  }\n);\n\nexport const addPolicyAsync = createAsyncThunk(\n  \"policy/addPolicy\",\n  async (params) => {\n    try {\n      const response = await addPolicy(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const updatePolicyAsync = createAsyncThunk(\n  \"integration/updatePolicy\",\n  async (params) => {\n    const response = await updatePolicy(params.id, params);\n    return response.data;\n  }\n);\n\nexport const acceptPolicyViolationAsync = createAsyncThunk(\n  \"policy/acceptViolation\",\n  async (params) => {\n    const response = await acceptPolicyViolation(params);\n    return response.data;\n  }\n);\n\nexport const deletePolicyAsync = createAsyncThunk(\n  \"policy/deletePolicy\",\n  async (params) => {\n    try {\n      const response = await deletePolicy(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const policyNotifyAsync = createAsyncThunk(\n  \"policy/notify\",\n  async (params) => {\n    try {\n      const response = await policyNotify(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const archivePolicyAsync = createAsyncThunk(\n  \"policy/notify\",\n  async (params) => {\n    try {\n      const response = await archivePolicy(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const policyViolationDetailsAsync = createAsyncThunk(\n  \"policy/detail\",\n  async (params) => {\n    try {\n      const response = await policyViolationDetails(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const fetchPolicyViolationsSlice = createAsyncThunk(\n  \"policy/policyViolations\",\n  async (params) => {\n    try {\n      const response = await fetchPolicyViolations(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const fetchAIPolicyViolationsSlice = createAsyncThunk(\n  \"policy/policyViolations\",\n  async (params) => {\n    try {\n      const response = await fetchAIPolicyViolations(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const fetchEntitiesSlice = createAsyncThunk(\n  \"policy/entities\",\n  async (params) => {\n    try {\n      const response = await fetchEntities(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const fetchTopicsSlice = createAsyncThunk(\n  \"policy/topics\",\n  async (params) => {\n    try {\n      const response = await fetchTopics(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const updatePolicyDetailsSlice = createAsyncThunk(\n  \"policy/update\",\n  async (params) => {\n    try {\n      const resposne = await updatePolicyDetails(params);\n      return resposne.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\n// Account slice for configuring reducers and actions.\nexport const policySlice = createSlice({\n  name: \"policy\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(listPoliciesAsync.fulfilled, (state, action) => {\n        state.policies = action.payload;\n      })\n      .addCase(listPoliciesAsync.rejected, (state, action) => {\n        state.policies = [];\n      })\n      .addCase(fetchAIPolicyViolationsSlice.fulfilled, (state, action) => {\n        state.policyViolationInstances = action?.payload?.err\n          ? 0\n          : action?.payload?.count;\n      })\n      .addCase(fetchEntitiesSlice.fulfilled, (state, action) => {\n        state.entities = action?.payload?.error ? [] : action?.payload;\n      })\n      .addCase(fetchTopicsSlice.fulfilled, (state, action) => {\n        state.topics = action?.payload?.error ? [] : action?.payload;\n      });\n  },\n});\n\nexport default policySlice.reducer;\n\n// Selectors will go here\nexport const policyById = (state, policyId) =>\n  state.integrations.find((policy) => policy.id === policyId);\n","import CloseRoundedIcon from \"@mui/icons-material/CloseRounded\";\nimport { useTheme } from \"@mui/material\";\nimport { useFormik } from \"formik\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport loaderImage from \"../../../assets/img/loader.svg\";\nimport {\n  addTicketAsync,\n  getDatastoreTicketAsync,\n} from \"../../../redux/slices/ticketSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport Box from \"../../common/Box\";\nimport Button from \"../../common/Button\";\nimport TextButton from \"../../common/TextButton\";\nimport Typography from \"../../common/Typography\";\nimport \"./DatastoreTicketModal.scss\";\n\nconst DatastoreTicketModal = ({\n  handleModal,\n  refreshDatastores,\n  ticketDetail,\n  datastoreId,\n  type = \"bulk\",\n  getBulkTicketDetail,\n  tags = [],\n  policyViolationId,\n  issueId,\n  instanceID,\n  children,\n}) => {\n  const theme = useTheme();\n  const dispatch = useDispatch();\n  const [loading, setLoading] = useState();\n  const [managedTags, setManagedTags] = useState(tags);\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const [issue, setIssue] = useState({});\n\n  const styles = {\n    modalHeader: {\n      display: \"flex\",\n      width: \"100%\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    closeButton: {\n      color: theme.palette.surface80.main,\n    },\n    dialogFooter: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      paddingX: theme.spacing(2),\n      paddingBottom: theme.spacing(2),\n    },\n  };\n\n  const getTicket = async () => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    let resp = {};\n    let payload = {};\n\n    payload = {\n      customerId: getCustomerId(),\n      datastoreId: datastoreId ? datastoreId : null,\n      policyViolationId: policyViolationId ? policyViolationId : null,\n      host: window.location.host,\n    };\n    // if (type === \"liveness\") {\n    //   payload.liveness = true;\n    // }\n    resp = await dispatch(getDatastoreTicketAsync(payload));\n\n    if (resp && resp.payload) {\n      setShowLoader(false);\n      setIssue(resp.payload);\n      formik.setFieldValue(\"name\", resp.payload.ticketName);\n      formik.setFieldValue(\"description\", resp.payload.description);\n      const tagList = [];\n      if (resp?.payload?.tags?.length > 0) {\n        resp?.payload?.tags.map((id) => {\n          tagList.push({ label: id, value: id });\n        });\n      }\n\n      setManagedTags(tagList);\n    } else {\n      setShowLoader(false);\n    }\n  };\n\n  useEffect(() => {\n    if (type === \"datastore\" || type === \"liveness\" || type === \"policy\") {\n      getTicket();\n    }\n  }, [type]);\n\n  useEffect(() => {\n    if (ticketDetail && type !== \"datastore\") {\n      formik.setFieldValue(\"name\", ticketDetail.ticketName);\n      formik.setFieldValue(\"description\", ticketDetail.description);\n      const tagList = [];\n      if (ticketDetail?.tags?.length > 0) {\n        ticketDetail.tags.map((id) => {\n          tagList.push({ label: id, value: id });\n        });\n      }\n\n      setManagedTags(tagList);\n    }\n  }, [ticketDetail]);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      name: \"\",\n      description: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      name: Yup.string().required(\"Please enter name.\"),\n      description: Yup.string().required(\"Please enter description.\"),\n    }),\n    onSubmit: (values) => {\n      addIntegration({ ...values });\n    },\n  });\n\n  const addIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n\n    const tags_ = [];\n    for (let i of managedTags) {\n      tags_.push(i.value);\n    }\n\n    let payload = {\n      customerId: getCustomerId(),\n      ticketName: values.name,\n      description: values.description,\n      tags: tags_,\n    };\n    if (type === \"bulk\") {\n      payload.policyViolationId = policyViolationId;\n    } else if (type === \"datastore\" || type === \"policy\") {\n      payload.datastoreId = datastoreId;\n      payload.policyViolationId = policyViolationId;\n    } else {\n      payload.datastoreId = datastoreId;\n      payload.policyViolationId = policyViolationId;\n    }\n\n    const resp = await dispatch(addTicketAsync(payload));\n\n    if (resp.payload && resp.payload.success) {\n      setShowLoader(false);\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.success.message);\n      handleModal(false);\n      if (type === \"bulk\") {\n        getBulkTicketDetail();\n      } else {\n        refreshDatastores();\n      }\n    } else {\n      setShowLoader(false);\n      handleModal(false);\n      Toaster(TOASTER_TYPES.ERROR, \"Failed to create ticket.\");\n    }\n  };\n\n  return (\n    <div id=\"datastore-ticket-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\">\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <Box sx={styles.modalHeader}>\n                  <Typography\n                    color={theme.palette.surface80.main}\n                    variant=\"body2\">\n                    Create Ticket\n                  </Typography>\n                  <TextButton onClick={handleModal}>\n                    <CloseRoundedIcon sx={styles.closeButton} />\n                  </TextButton>\n                </Box>\n                {/*<img\n                  src={deleteIcon}\n                  className=\"mr-3 delete-icon\"\n                  onClick={handleModal}\n                />*/}\n              </div>\n              {children ? (\n                children\n              ) : (\n                <div className=\"modal-body \">\n                  {showLoader && (\n                    <img src={loaderImage} className=\"modal-loading-img\" />\n                  )}\n                  <label className=\"label\">\n                    <Typography\n                      variant=\"caption\"\n                      color={theme.palette.surface60.main}>\n                      Ticket Name: <span className=\"mandatory-icon\">*</span>\n                    </Typography>\n                  </label>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        class=\"form-control\"\n                        type=\"text\"\n                        placeholder=\"Enter Policy Name\"\n                        onBlur={formik.handleBlur}\n                        onChange={(e) => {\n                          formik.setFieldValue(\"name\", e.target.value);\n                        }}\n                        value={formik.values.name}></input>\n                      {formik.errors.name && formik.touched.name && (\n                        <div className=\"error-message\">\n                          {formik.errors.name}\n                        </div>\n                      )}\n                    </div>\n                  </div>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}>\n                    Description:\n                  </Typography>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <textarea\n                        className=\"form-control modal-textarea py-2 px-2\"\n                        placeholder=\"Account Description\"\n                        type=\"text\"\n                        onBlur={formik.handleBlur}\n                        value={formik.values.description}\n                        onChange={(e) => {\n                          formik.setFieldValue(\"description\", e.target.value);\n                        }}\n                      />\n                    </div>\n                  </div>\n                </div>\n              )}\n              {/*<div className=\"modal-footer p-2\">*/}\n              {/*<button className=\"btn btn-sm btn-primary mr-2\" type=\"submit\">\n                  Create Ticket\n                </button>*/}\n              <Box sx={styles.dialogFooter}>\n                <Button variant=\"contained\" type=\"submit\">\n                  Create Ticket\n                </Button>\n                <Button\n                  variant=\"outlined\"\n                  onClick={() => {\n                    handleModal();\n                  }}>\n                  Cancel\n                </Button>\n              </Box>\n              {/*<button\n                  type=\"button\"\n                  className=\"btn btn-sm btn-secondary\"\n                  onClick={() => {\n                    handleModal();\n                  }}\n                >\n                  Cancel\n                </button>*/}\n              {/*</div>*/}\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default DatastoreTicketModal;\n","import React from \"react\";\nimport deleteAccountIcon from \"../../../assets/img/icons/delete-account-icon.svg\";\nimport \"./DeleteConfirmationModal.scss\";\nimport loaderImage from \"../../../assets/img/loader.svg\";\nimport AcceptRisk from \"../../../assets/img/icons/risk-accept.svg\";\nimport Button from \"../../common/Button\";\nimport Box from \"../../common/Box\";\nimport { useTheme } from \"@mui/material\";\nimport Typography from \"../../common/Typography\";\n// Functional component for delete integration.\nconst DeleteConfirmationModal = ({\n  handleModal,\n  deleteHandle,\n  showLoader,\n  modalData,\n  image,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    modalHeader: {\n      // padding: theme.spacing(2),\n      display: \"flex\",\n      width: \"100%\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    modalFooter: {\n      display: \"flex\",\n      width: \"100%\",\n      marginLeft: \"auto\",\n      justifyContent: \"end\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n  };\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  return (\n    <div id=\"delete-integration\">\n      <div\n        className=\"modal fade show\"\n        id=\"deleteIntegration\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"deleteIntegrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content\">\n            <div\n              className={\n                modalData.type === \"accept\"\n                  ? \"modal-header-accept d-flex justify-content-start align-items-center\"\n                  : \"modal-header d-flex justify-content-start align-items-center\"\n              }\n            >\n              <Box sx={styles.modalHeader}>\n                {/*<img\n                src={\n                  modalData?.type === \"accept\" ? AcceptRisk : deleteAccountIcon\n                }\n                width=\"40px\"\n                className=\"mr-3\"\n              />*/}\n                <Typography\n                  color={theme.palette.surface80.main}\n                  variant=\"body2\"\n                >\n                  {modalData?.title || \"Delete \"}\n                </Typography>\n              </Box>\n            </div>\n            <div className=\"modal-body\">\n              {showLoader && (\n                <img src={loaderImage} className=\"modal-loading-img\" />\n              )}\n              <div cassName=\"row\">\n                <Typography variant=\"body2\">\n                  {modalData?.message || \"Are you sure, you want to delete?\"}\n                </Typography>\n              </div>\n            </div>\n            <Box sx={styles.modalFooter}>\n              <Button variant=\"contained\" onClick={deleteHandle}>\n                {modalData.type === \"accept\"\n                  ? \"Accept\"\n                  : modalData.type === \"archive\"\n                  ? \"Archive\"\n                  : \"Delete\"}\n              </Button>\n              <Button\n                variant=\"outlined\"\n                disabled={showLoader}\n                onClick={() => handleCancel()}\n              >\n                Cancel\n              </Button>\n            </Box>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default DeleteConfirmationModal;\n","import React, { memo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { useHistory } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport AttackIcon from \"../../assets/img/icons/attack-icon.svg\";\nimport HackerIcon from \"../../assets/img/icons/hacker-icon.svg\";\nimport LivenessIcon from \"../../assets/img/icons/liveness-icon.svg\";\nimport LockIcon from \"../../assets/img/icons/lock-icon.svg\";\nimport AcceptRisk from \"../../assets/img/icons/risk-accept.svg\";\nimport Archive from \"../../assets/img/v1-icons/archive.svg\";\nimport TicketUnavailableIcon from \"../../assets/img/v1-icons/create-ticket.svg\";\nimport NotifyIcon from \"../../assets/img/v1-icons/notify.svg\";\nimport TicketIcon from \"../../assets/img/v1-icons/view-ticket.svg\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { getScoreColor } from \"../../utils/styles\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport \"../datastore/datastore.scss\";\nimport ArrowUpwardRoundedIcon from \"@mui/icons-material/ArrowUpwardRounded\";\nimport ArrowDownwardRoundedIcon from \"@mui/icons-material/ArrowDownwardRounded\";\n\nimport {\n  acceptPolicyViolationAsync,\n  archivePolicyAsync,\n  policyNotifyAsync,\n} from \"../../redux/slices/policySlice\";\nimport { deleteTicketAsync } from \"../../redux/slices/ticketSlice\";\nimport { dateFormatter } from \"../../utils/dataHandler\";\nimport DatastoreTicketModal from \"../modal/datastore-ticket-modal/DatastoreTicketModal\";\nimport DeleteConfirmationModal from \"../modal/shared/DeleteConfirmationModal\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport { useTheme } from \"@mui/material\";\nimport TextButton from \"../common/TextButton\";\nimport { StatusIndicator } from \"../common/StatusIndicator\";\n\nconst DatastoreTable = ({\n  currentPosts,\n  refreshDatastores,\n  policyViolationId,\n  severity,\n  setLoading,\n  page = \"datastore-details\",\n  sortData,\n  ticketDetail,\n  tablePadding = \"px-3\",\n  sortType,\n  sortField,\n}) => {\n  const history = useHistory();\n  const theme = useTheme();\n  const [ticketModal, setTicketModal] = useState(false);\n  const [ticketModalInfo, setTicketModalInfo] = useState(false);\n  const [isPolicyViolationAccepted, setIsPolicyViolationAccepted] = useState(\n    false\n  );\n  const [isPolicyArchive, setIsPolicyArchive] = useState(false);\n  const [acceptedRiskPolicy, setAcceptedRiskPolicy] = useState();\n  const [datastoreID, setDatastoreID] = useState(\"\");\n  const dispatch = useDispatch();\n  const policy = JSON.parse(sessionStorage.getItem(\"policy\"));\n  const viewDetails = (item) => {\n    sessionStorage.setItem(\"selected_bar\", JSON.stringify(item));\n    const path = item.type === \"llm\" ? \"llm\" : \"datastore-details\";\n    if (policyViolationId) {\n      history.push(\n        `/${path}/${item.datastoreId?.replaceAll(\n          \"/\",\n          \"_\"\n        )}/${item.assetId?.replaceAll(\"/\", \"_\")}/${policyViolationId}`\n      );\n    } else {\n      history.push(\n        `/${path}/${item.datastoreId?.replaceAll(\n          \"/\",\n          \"_\"\n        )}/${item.assetId?.replaceAll(\"/\", \"_\")}`\n      );\n    }\n  };\n\n  const getSensitiveAlias = (name) => {\n    const names = name.split(\"_\");\n    return names.length > 2\n      ? `${names[0].charAt(0)}${names[1].charAt(0)}${names[2].charAt(0)}`\n      : names.length > 1\n      ? `${names[0].charAt(0)}${names[1].charAt(0)}`\n      : `${names[0].charAt(0)}`;\n  };\n\n  const formatedSensitiveInfo = (info) => {\n    const names = [];\n    const labels = [];\n    if (info && info?.length > 0) {\n      for (let i of info) {\n        if (names.length < 3) {\n          names.push({\n            name: getSensitiveAlias(i.name).toUpperCase(),\n            count: i.count,\n          });\n          labels.push(getSensitiveAlias(i.name).toUpperCase());\n        }\n      }\n      const result = { label: labels.join(\", \"), values: names };\n      return result;\n    }\n    return [];\n  };\n\n  const getCount = (info) => {\n    console.log(info);\n  };\n\n  const deleteTicket = async (item) => {\n    setLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationId: policyViolationId ? policyViolationId : null,\n      datastoreId: item.datastoreId,\n    };\n\n    let resp = await dispatch(deleteTicketAsync(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      setLoading(false);\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.success.message);\n      refreshDatastores();\n    }\n  };\n\n  const notifyPolicy = async (item) => {\n    setLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationId: policy?.id ? policy?.id : null,\n      datastoreId: item.datastoreId,\n    };\n    let resp = await dispatch(policyNotifyAsync(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.success.message);\n      setLoading(false);\n    } else {\n      setLoading(false);\n    }\n  };\n\n  const archivePolicy = async (item) => {\n    setLoading(true);\n    setIsPolicyArchive(false);\n    const payload = {\n      customerId: getCustomerId(),\n      policyId: policy?.policyRule ? policy?.policyRule : null,\n      datastoreId: [datastoreID],\n    };\n    let resp = await dispatch(archivePolicyAsync(payload));\n    if (resp || resp === null) {\n      setLoading(false);\n      refreshDatastores();\n    }\n  };\n\n  const acceptPolicyViolation = async () => {\n    setLoading(true);\n    setIsPolicyViolationAccepted(false);\n\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationId: policyViolationId ? policyViolationId : null,\n      datastoreId: acceptedRiskPolicy.datastoreId,\n    };\n\n    let resp = await dispatch(acceptPolicyViolationAsync(payload));\n    if (resp) {\n      setLoading(false);\n      refreshDatastores();\n    }\n  };\n\n  const styles = {\n    sortIcon: {\n      fontSize: theme.typography.body2,\n      color: theme.palette.surface50.main,\n    },\n  };\n\n  return (\n    <div className=\"row\">\n      <div className=\"col col-xl-12\">\n        {/* <div className=\"table-responsive\"> */}\n        <TableContainer>\n          <Table sx={styles.table}>\n            <TableHead>\n              <TableRow>\n                <TableCell\n                  scope=\"col\"\n                  onClick={() => sortData(\"cdDatastoreRiskScore\")}\n                >\n                  Data Risk\n                  {sortType === \"asc\" &&\n                  sortField === \"cdDatastoreRiskScore\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                <TableCell scope=\"col\" onClick={() => sortData(\"name.keyword\")}>\n                  Name\n                  {sortType === \"asc\" && sortField === \"name.keyword\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                <TableCell\n                  scope=\"col\"\n                  onClick={() => sortData(\"metadata.cloudAccountId.keyword\")}\n                >\n                  Account Id\n                  {sortType === \"asc\" &&\n                  sortField === \"metadata.cloudAccountId.keyword\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                <TableCell\n                  scope=\"col\"\n                  onClick={() => sortData(\"metadata.cloudAccountId.keyword\")}\n                >\n                  Category\n                  {sortType === \"asc\" &&\n                  sortField === \"metadata.cloudAccountId.keyword\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                <TableCell scope=\"col\" onClick={() => sortData(\"type.keyword\")}>\n                  Type\n                  {sortType === \"asc\" && sortField === \"type.keyword\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                <TableCell\n                  scope=\"col\"\n                  onClick={() => sortData(\"metadata.createdAt.keyword\")}\n                >\n                  Discovered On\n                  {sortType === \"asc\" &&\n                  sortField === \"metadata.createdAt.keyword\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                <TableCell scope=\"col\" onClick={() => sortData(\"size.keyword\")}>\n                  Size\n                  {sortType === \"asc\" && sortField === \"size.keyword\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                <TableCell\n                  scope=\"col\"\n                  onClick={() => sortData(\"mountLocation.keyword\")}\n                >\n                  Sensitive\n                  {sortType === \"asc\" &&\n                  sortField === \"mountLocation.keyword\" ? (\n                    <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                  ) : (\n                    <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                  )}\n                </TableCell>\n                {policyViolationId && (\n                  <TableCell scope=\"col\" style={{ minWidth: \"100px\" }}>\n                    Actions\n                  </TableCell>\n                )}\n\n                {page === \"datastore-details\" && (\n                  <TableCell scope=\"col\"></TableCell>\n                )}\n              </TableRow>\n            </TableHead>\n\n            <TableBody>\n              {currentPosts.map(function (item, idx) {\n                const riskScore = getScoreColor(item.cdDatastoreRiskScore);\n                const riskValue =\n                  riskScore === \"score-elevated\"\n                    ? \"crtitical\"\n                    : riskScore === \"score-low\"\n                    ? \"low\"\n                    : riskScore === \"score-moderate\"\n                    ? \"moderate\"\n                    : \"high\";\n                return (\n                  <TableRow\n                    key={idx}\n                    onClick={() => viewDetails(item)}\n                    className=\"vuls-row\"\n                  >\n                    <TableCell>\n                      {/* <div\n                        className={`${getScoreColor(\n                          item.cdDatastoreRiskScore\n                        )}`}\n                      ></div> */}\n                      <StatusIndicator severity={riskValue} />\n                    </TableCell>\n                    <TableCell>\n                      <div className=\"wrap-with-ellipsis\" title={item?.name}>\n                        {item?.name}\n                      </div>\n                    </TableCell>\n                    <TableCell>\n                      <div\n                        className=\"wrap-with-ellipsis\"\n                        title={item?.[\"metadata.cloudAccountId\"]}\n                      >\n                        {item?.[\"metadata.cloudAccountId\"]}\n                      </div>\n                    </TableCell>\n                    <TableCell>{item.datastoreType}</TableCell>\n\n                    <TableCell>{item.type}</TableCell>\n                    <TableCell>\n                      {item[\"metadata.createdAt\"]\n                        ? dateFormatter(item[\"metadata.createdAt\"])\n                        : \"-\"}\n                    </TableCell>\n                    <TableCell>{item.size}</TableCell>\n                    <TableCell>\n                      {formatedSensitiveInfo(item.sensitiveInfo)?.label\n                        ?.length > 9 ? (\n                        <Popup\n                          trigger={\n                            <a href=\"#\" className=\"data-store-name\">\n                              {formatedSensitiveInfo(\n                                item.sensitiveInfo\n                              ).label.slice(0, 9)}\n                            </a>\n                          }\n                          on={[\"hover\"]}\n                          position=\"bottom center\"\n                          arrow={true}\n                          className=\"senstitive-tags-popup\"\n                        >\n                          <div className=\"popup-item\">\n                            {formatedSensitiveInfo(item.sensitiveInfo)?.label}\n                          </div>\n                        </Popup>\n                      ) : (\n                        <a href=\"#\" className=\"data-store-name\">\n                          {formatedSensitiveInfo(item.sensitiveInfo)?.label}\n                        </a>\n                      )}\n                    </TableCell>\n                    {page === \"datastore-details\" && (\n                      <TableCell>\n                        {item?.indirectAttackStatus && (\n                          <img\n                            alt=\"Attack Icon\"\n                            src={AttackIcon}\n                            width=\"25px\"\n                            title=\"Indirect Anomaly\"\n                          />\n                        )}\n                        {item?.attackstatus && (\n                          <img\n                            alt=\"Hacker Icon\"\n                            src={HackerIcon}\n                            width=\"21px\"\n                            title=\"Direct Anomaly\"\n                            className=\"mr-1\"\n                          />\n                        )}\n                        {item?.livenessInfo && (\n                          <img\n                            alt=\"Liveness Icon\"\n                            src={LivenessIcon}\n                            width=\"20px\"\n                            className=\"mr-1\"\n                            title=\"Live Traffic\"\n                          />\n                        )}\n                        {item?.sensitiveScore >= 80 && (\n                          <img\n                            alt=\"Lock Icon\"\n                            src={LockIcon}\n                            width=\"20px\"\n                            title=\"Highly Sensitive\"\n                          />\n                        )}\n                      </TableCell>\n                    )}\n                    {policy?.actionType === \"ticket/accept\" &&\n                      policyViolationId &&\n                      item.tickets === 0 && (\n                        <TableCell\n                          onClick={(e) => e.stopPropagation()}\n                          className={\n                            !item.ticketIntegration && \"cursor-default\"\n                          }\n                        >\n                          <img\n                            alt=\"Create ticket icon\"\n                            title=\"Create Ticket\"\n                            src={TicketUnavailableIcon}\n                            className={\n                              item.ticketIntegration\n                                ? \"ticket-icon mr-3  cursor-pointer\"\n                                : \"ticket-icon-disable mr-3 \"\n                            }\n                            onClick={(e) => {\n                              e.stopPropagation();\n                              if (item.ticketIntegration) {\n                                setTicketModal(true);\n                                setTicketModalInfo({\n                                  datastoreId: item.datastoreId,\n                                  policyViolationId: policyViolationId,\n                                });\n                              }\n                            }}\n                          />\n                          <img\n                            alt=\"Accept risk icon\"\n                            src={AcceptRisk}\n                            title=\"Accept Policy Violation\"\n                            width=\"25px\"\n                            onClick={(e) => {\n                              e.stopPropagation();\n                              setIsPolicyViolationAccepted(true);\n                              setAcceptedRiskPolicy(item);\n                            }}\n                          />\n                        </TableCell>\n                      )}\n                    {policy?.actionType === \"ticket/accept\" &&\n                      policyViolationId &&\n                      item.tickets > 0 && (\n                        <TableCell onClick={(e) => e.stopPropagation()}>\n                          <img\n                            alt=\"Ticket details icon\"\n                            title=\"Ticket Details\"\n                            src={TicketIcon}\n                            className=\"ticket-icon mr-1 mr-3  cursor-pointer\"\n                            onClick={(e) => {\n                              e.stopPropagation();\n                              window.open(item?.url ? item?.url : \"#\");\n                            }}\n                          />\n                          <img\n                            alt=\"Accept risk icon\"\n                            src={AcceptRisk}\n                            title=\"Accept Policy Violation\"\n                            width=\"25px\"\n                            onClick={(e) => {\n                              e.stopPropagation();\n                              setIsPolicyViolationAccepted(true);\n                              setAcceptedRiskPolicy(item);\n                            }}\n                          />\n\n                          {/* <img\n                          title=\"Delete Ticket\"\n                          src={DeleteTicketIcon}\n                          className=\"ticket-icon ml-1 mb-1 cursor-pointer\"\n                          onClick={(e) => {\n                            e.stopPropagation();\n\n                            deleteTicket(item);\n                          }}\n                        /> */}\n                        </TableCell>\n                      )}\n                    {policyViolationId &&\n                      policy?.actionType === \"notify/archive\" && (\n                        <TableCell onClick={(e) => e.stopPropagation()}>\n                          <img\n                            alt=\"Notify icon\"\n                            title=\"Notify\"\n                            src={NotifyIcon}\n                            className=\"ticket-icon mr-1 mr-3  cursor-pointer\"\n                            onClick={(e) => {\n                              e.stopPropagation();\n                              notifyPolicy(item);\n                            }}\n                          />\n                          <img\n                            alt=\"Archive icon\"\n                            title=\"Archive\"\n                            src={Archive}\n                            width=\"25px\"\n                            onClick={(e) => {\n                              e.stopPropagation();\n                              setDatastoreID(item.datastoreId);\n                              setIsPolicyArchive(true);\n                              // archivePolicy(item);\n                              // setIsPolicyViolationAccepted(true);\n                              // setAcceptedRiskPolicy(item);\n                            }}\n                          />\n                        </TableCell>\n                      )}\n                  </TableRow>\n                );\n              })}\n              {ticketModal && (\n                <DatastoreTicketModal\n                  type=\"datastore\"\n                  refreshDatastores={refreshDatastores}\n                  datastoreId={ticketModalInfo.datastoreId}\n                  policyViolationId={ticketModalInfo.policyViolationId}\n                  handleModal={() => {\n                    setTicketModal(false);\n                  }}\n                />\n              )}\n              {isPolicyArchive && (\n                <DeleteConfirmationModal\n                  handleModal={() => setIsPolicyArchive(false)}\n                  deleteHandle={archivePolicy}\n                  modalData={{\n                    title: \"Archive Policy\",\n                    message: \"Are you sure, you want to archive this policy ?\",\n                    type: \"archive\",\n                  }}\n                />\n              )}\n              {isPolicyViolationAccepted && (\n                <DeleteConfirmationModal\n                  handleModal={() => setIsPolicyViolationAccepted(false)}\n                  deleteHandle={acceptPolicyViolation}\n                  modalData={{\n                    title: \"Accept Policy\",\n                    message:\n                      \"Are you sure, you want to accept this policy violation ?\",\n                    type: \"accept\",\n                  }}\n                />\n              )}\n            </TableBody>\n          </Table>\n        </TableContainer>\n        {/* </div> */}\n      </div>\n    </div>\n  );\n};\n\nexport default memo(DatastoreTable);\n","import React, { useState } from \"react\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport DatastoreTable from \"../../components/datastore/table\";\nimport { getImpactedDatastores } from \"../../apis\";\nimport { addIndex } from \"../../utils/dataHandler\";\nimport { useEffect } from \"react\";\nimport Pagination from \"../pagination/Pagination\";\nimport \"react-toggle/style.css\"; // for ES6 modules\nimport NoDataContainer from \"../../components/cards/no-data\";\nimport { formatHeader } from \"../../utils/uppercase\";\n\nconst ImpactedDataStoreModal = ({\n  isAttackPath = false,\n  node = null,\n  assetIdValue,\n  loading,\n  setLoading,\n}) => {\n  const [severity, setSeverity] = useState(null);\n  const [impactedDataStoreList, setImpactedDataStoreList] = useState([]);\n  const page_ = sessionStorage.getItem(\"page\");\n  const assetId = assetIdValue?.replaceAll(\"_\", \"/\");\n\n  const [page, setPage] = useState(!assetId && page_ ? parseInt(page_) : 1);\n  const [totalDatastoreCount, setTotalDatastoreCount] = useState(0);\n\n  let limit = 5;\n\n  const getImpactedDataStore = async () => {\n    setLoading(true);\n\n    const payload = {\n      customerId: getCustomerId(),\n      page: page,\n      limit: limit,\n      assetId: assetId,\n    };\n\n    let res = await getImpactedDatastores(payload);\n\n    if (res && !res.err) {\n      setTotalDatastoreCount(res.count);\n      res = addIndex(res.data);\n      setImpactedDataStoreList(res);\n      setLoading(false);\n    } else {\n      setLoading(false);\n      setImpactedDataStoreList([]);\n      setTotalDatastoreCount(0);\n    }\n  };\n\n  useEffect(() => {\n    if (isAttackPath && node && node.is_primary && !node.datastore_node) {\n      getImpactedDataStore();\n    } else if (!isAttackPath) {\n      getImpactedDataStore();\n    }\n  }, [page, severity]);\n\n  useEffect(() => {\n    sessionStorage.setItem(\"page\", page);\n  }, [page]);\n\n  const getAttackPathContents = () => {\n    if (node && node?.tooltip_content) {\n      const contents = node?.tooltip_content;\n      let popupContents = [];\n      let index = 1;\n      for (var key in contents) {\n        index++;\n        if (contents.hasOwnProperty(key)) {\n          var val = contents[key];\n          if (\n            (key === \"eks_cluster\" || key === \"EKS Cluster\") &&\n            node?.eks_enabled === false\n          ) {\n            continue;\n          } else {\n            popupContents.push(\n              <div className=\" pr-4\" key={index}>\n                <div className=\"node-title\">{formatHeader(key)}</div>\n                <div\n                  dangerouslySetInnerHTML={{ __html: val }}\n                  className=\"node-description\"\n                ></div>\n              </div>\n            );\n          }\n        }\n      }\n      return (\n        <div>\n          <div className=\"d-flex flex-wrap m-1 mx-2\">{popupContents}</div>\n        </div>\n      );\n    } else {\n      return (\n        <div className=\"right-panel\">\n          <p className=\"header m-0\">{node?.name || \"\"}</p>\n        </div>\n      );\n    }\n  };\n\n  return (\n    <div>\n      <div className={isAttackPath && node ? \"attack-path-section\" : \"\"}>\n        {isAttackPath && node && getAttackPathContents()}\n      </div>\n      {node && node.is_primary && !node.datastore_node ? (\n        <div>\n          <div\n            className={\n              isAttackPath && node\n                ? \"d-flex justify-content-between mt-3\"\n                : \"d-flex justify-content-between \"\n            }\n          >\n            <div className=\"d-flex justify-content-start\">\n              <span className=\"body-title \">Impacted Datastores</span>\n            </div>\n            <div className=\"mr-4\">\n              <Pagination\n                page={page}\n                setPage={(val) => setPage(val)}\n                limit={limit}\n                totalCount={totalDatastoreCount}\n              />\n            </div>\n          </div>\n          {impactedDataStoreList.length ? (\n            <DatastoreTable\n              severity={severity}\n              currentPosts={impactedDataStoreList}\n              isTicketColEnable={false}\n              isActionColEnable={false}\n              tablePadding=\"px-0\"\n              page=\"impacted-datastore\"\n            />\n          ) : !loading ? (\n            <NoDataContainer message={\"No Datastores Available\"} />\n          ) : (\n            \"\"\n          )}\n        </div>\n      ) : (\n        \"\"\n      )}\n      {!isAttackPath && (\n        <div>\n          <div\n            className={\n              isAttackPath && node\n                ? \"d-flex justify-content-end mt-3\"\n                : \"d-flex justify-content-end \"\n            }\n          >\n            <div className=\"mr-4\">\n              <Pagination\n                page={page}\n                setPage={(val) => setPage(val)}\n                limit={limit}\n                totalCount={totalDatastoreCount}\n              />\n            </div>\n          </div>\n          {impactedDataStoreList.length ? (\n            <DatastoreTable\n              severity={severity}\n              currentPosts={impactedDataStoreList}\n              isTicketColEnable={false}\n              isActionColEnable={false}\n              page=\"impacted-datastore\"\n            />\n          ) : !loading ? (\n            <NoDataContainer message={\"No Datastores Available\"} />\n          ) : (\n            \"\"\n          )}\n        </div>\n      )}\n    </div>\n  );\n};\n\nexport default ImpactedDataStoreModal;\n","import React, { useState } from \"react\";\nimport \"./../modal.scss\";\nimport \"./AffectedDatastoresAndIssuesModal.scss\";\nimport \"react-toggle/style.css\"; // for ES6 modules\nimport { LOADER_CONFIG } from \"../../../utils/Constants\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport closeIconGray from \"../../../assets/img/icons/close-icon-grey.svg\";\nimport DatastoreIssues from \"../../datastore-issues/DatastoreIssues\";\nimport ImpactedDatastore from \"../../impacted-datastores/ImpactedDatastore\";\nconst AffectedDatastoresAndIssuesModal = ({\n  handleModal,\n  assetIdValue,\n  isAttackPath,\n  node,\n  page = \"\",\n  selectedTab,\n  isSecurityIssueVisisble = false,\n  isImpactedDatastoreVisible = false,\n}) => {\n  const [loading, setLoadingStatus] = useState(false);\n\n  return (\n    <div id=\"affected-datastore-and-issue-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <BlockUi\n            tag=\"div\"\n            blocking={loading}\n            loader={\n              <Loader\n                active\n                type={LOADER_CONFIG.type}\n                color={LOADER_CONFIG.color}\n              />\n            }\n          >\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-between align-items-center\">\n                <span className=\"header-title\">\n                  {isSecurityIssueVisisble\n                    ? isAttackPath && node\n                      ? selectedTab === \"access\"\n                        ? node?.userName\n                        : node?.name\n                      : \"Security Issues\"\n                    : \"\"}\n                  {isImpactedDatastoreVisible\n                    ? isAttackPath && node\n                      ? node?.name\n                      : \"Impacted Datastores\"\n                    : \"\"}\n                </span>\n                <img\n                  className=\"close-icon cursor-pointer\"\n                  src={closeIconGray}\n                  title=\"Close\"\n                  onClick={handleModal}\n                  width=\"25px\"\n                />\n              </div>\n              <div className=\"modal-body mb-2\">\n                {isSecurityIssueVisisble && (\n                  <DatastoreIssues\n                    assetIdValue={assetIdValue}\n                    isAttackPath={isAttackPath}\n                    node={node}\n                    loading={loading}\n                    pageName={page}\n                    selectedTab={selectedTab}\n                    setLoading={(val) => setLoadingStatus(val)}\n                    noFilters={true}\n                  />\n                )}\n                {isImpactedDatastoreVisible && (\n                  <ImpactedDatastore\n                    assetIdValue={assetIdValue}\n                    isAttackPath={isAttackPath}\n                    node={node}\n                    loading={loading}\n                    setLoading={(val) => setLoadingStatus(val)}\n                  />\n                )}\n              </div>\n            </div>\n          </BlockUi>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default AffectedDatastoresAndIssuesModal;\n","import React, { useEffect, useState, useRef, useCallback } from \"react\";\nimport closeIcon from \"../../../assets/img/icons/close-icon-grey.svg\";\nimport { formatHeader } from \"../../../utils/uppercase\";\nimport \"./DatastoreAttackPathGraph.scss\";\nimport { config } from \"./attackPathConfig\";\nimport { useHistory } from \"react-router-dom\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { getIssuesApi } from \"../../../apis\";\nimport { useParams } from \"react-router-dom\";\nimport { Graph } from \"react-d3-graph\";\nimport { getNodeIconByType } from \"./flowChartHelper\";\nimport AffectedDatastoresAndIssuesModal from \"../../modal/affected-datastore-and-issue-modal/AffectedDatastoresAndIssuesModal\";\n\nconst DatastoreAttackPathGraph = ({\n  rowIndex,\n  handleClick,\n  attackPaths,\n  width,\n}) => {\n  const [graphData, setGraphData] = useState(null);\n  const [selectedNode, setSelectedNode] = useState(null);\n  const [dataStoreIssueCount, setDataStoreIssueCount] = useState(0);\n  const [isAttackPathNodeClicked, setIsAttackPathNodeClicked] = useState(false);\n  const history = useHistory();\n  const params = useParams();\n\n  const assetId = params.assetId?.replaceAll(\"_\", \"/\");\n\n  const handleRefChange = (ref) => {\n    if (ref) ref.resetNodesPositions();\n  };\n  const getDataStoreIssueCount = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      assetId: assetId,\n    };\n\n    let res = await getIssuesApi(payload);\n    if (res.err || !res.data) {\n      return;\n    }\n    setDataStoreIssueCount(res.total_count);\n  };\n  const nodeClicked = (data) => {\n    setSelectedNode(data);\n    setIsAttackPathNodeClicked(true);\n  };\n\n  const viewIssuesByAssetId = (item) => {\n    history.push({\n      pathname: `/vulnerabilities/${item.CD_Asset_Id?.replaceAll(\"/\", \"_\")}`,\n    });\n  };\n\n  const getGraphData = (data) => {\n    if (data) {\n      let nodes = data.nodes.length;\n      let nodeLine = (width - 150) / (nodes - 1);\n      let nodeX = 0;\n      data.nodes.map((node, index) => {\n        node.height = \"2rem\";\n        node.width = \"2rem\";\n        nodeX = index == 0 ? 70 : nodeX + nodeLine;\n        node.x = nodeX;\n        node.y = 150;\n        node.data = {};\n        node.data.image = {\n          width: node.is_primary ? 50 : 40,\n          height: node.is_primary ? 50 : 40,\n          src: getNodeIconByType(node.type),\n          margin: node.is_primary ? \"20px auto 0 auto\" : \"26px auto 0 auto\",\n        };\n        node.data.handleClick = nodeClicked;\n        node.selected = false;\n      });\n    }\n\n    data.links = data.links\n      .filter((x) => data.nodes.find((y) => y.id === x.source))\n      ?.filter((x) => data.nodes.find((y) => y.id === x.target));\n\n    return data;\n  };\n\n  const getRightPanelContents = () => {\n    if (selectedNode && selectedNode?.tooltip_content) {\n      const contents = selectedNode?.tooltip_content;\n      let popupContents = [];\n      let index = 1;\n      for (var key in contents) {\n        index++;\n        if (contents.hasOwnProperty(key)) {\n          var val = contents[key];\n          if (\n            (key === \"eks_cluster\" || key === \"EKS Cluster\") &&\n            selectedNode?.eks_enabled === false\n          ) {\n            continue;\n          } else {\n            popupContents.push(\n              <div className=\"contents\" key={index}>\n                <div class=\"content-header\">{formatHeader(key)}:</div>\n                <div\n                  className=\"content-body\"\n                  dangerouslySetInnerHTML={{ __html: val }}\n                ></div>\n                <hr />\n              </div>\n            );\n          }\n        }\n      }\n      return (\n        <div className=\"right-panel\">\n          <div className=\"header m-0 d-flex justify-content-between\">\n            <span>{selectedNode?.name || \"\"}</span>\n            <img\n              className=\"close-icon\"\n              src={closeIcon}\n              title=\"Close\"\n              onClick={() => setSelectedNode(null)}\n            />\n          </div>\n          <div>{popupContents}</div>\n          {selectedNode?.is_primary ? (\n            <div className=\"security-issue-button\">\n              <button\n                onClick={() => viewIssuesByAssetId(selectedNode)}\n                className=\"btn btn-primary\"\n                disabled={!dataStoreIssueCount > 0}\n              >\n                View Security Issue\n              </button>\n            </div>\n          ) : (\n            \"\"\n          )}\n        </div>\n      );\n    } else {\n      return (\n        <div className=\"right-panel\">\n          <p className=\"header m-0\">{selectedNode?.name || \"\"}</p>\n        </div>\n      );\n    }\n  };\n\n  useEffect(() => {\n    setSelectedNode(null);\n    if (rowIndex.index >= 0 && attackPaths.length > 0 && width) {\n      const graphDataset = getGraphData(attackPaths[rowIndex.index]);\n      setGraphData({ nodes: graphDataset.nodes, links: graphDataset.links });\n    } else {\n      setGraphData({ nodes: [], links: [] });\n    }\n  }, [rowIndex, width]);\n\n  return (\n    <div>\n      {graphData && (\n        <Graph\n          id=\"attack-graph-id\"\n          data={graphData}\n          config={config}\n          ref={handleRefChange}\n        />\n      )}\n      {isAttackPathNodeClicked && (\n        <AffectedDatastoresAndIssuesModal\n          handleModal={() => setIsAttackPathNodeClicked(false)}\n          isRiskAccepted={false}\n          assetIdValue={selectedNode.CD_Asset_Id}\n          node={selectedNode}\n          isAttackPath={true}\n          isSecurityIssueVisisble={true}\n          page={\"datastore\"}\n        />\n      )}\n    </div>\n  );\n};\n\nexport default DatastoreAttackPathGraph;\n","import \"./modal.scss\";\n\nconst Modal = ({ handleModal, data, createTicket }) => {\n  return (\n    <div\n      className=\"new-modal modal fade show\"\n      id=\"exampleModalLong\"\n      tabIndex={-1}\n      role=\"dialog\"\n      aria-labelledby=\"exampleModalLongTitle\"\n      style={{\n        display: \"block\",\n        paddingRight: \"8px\",\n        background: \"rgba(0, 0, 0, 0.5)\",\n      }}\n      aria-modal=\"true\"\n    >\n      <div className=\"modal-dialog modal-lg\" role=\"document\">\n        <div className=\"modal-content\">\n          <div className=\"modal-header\">\n            <div className=\"row\">\n              <div className=\"col p-0\">\n                {\" \"}\n                <h5 className=\"modal-title text-center\">\n                  <div className=\"row\">\n                    <div className=\"col p-0 col-lg-auto\">\n                      {\" \"}\n                      <div className=\"count-circle\">\n                        <img src=\"static/img/ticket-unavailable.svg\" />\n                      </div>\n                    </div>\n                    <div className=\"col text-danger ml-2 p-0 col-lg-auto d-flex justify-content-center align-items-center\">\n                      {\" \"}\n                      <b>{data?.title || \"Block Access\"}</b>\n                    </div>\n                  </div>\n                </h5>\n              </div>\n              <div className=\"col col-lg-auto d-flex justify-content-center align-items-center \">\n                <div class=\"float-right \"></div>\n              </div>\n            </div>\n          </div>\n          <div className=\"modal-body\">\n            <div className=\"row\">\n              <div className=\"col col-lg-auto\">\n                <b>Active Attack:</b>\n              </div>\n              <div className=\"col col-lg-auto modal-text\">\n                <p\n                  dangerouslySetInnerHTML={{\n                    __html:\n                      data?.activeAttackPath ||\n                      \"Anomalous API executed to perform Cloning on RDS-Mysql\",\n                  }}\n                ></p>\n              </div>\n            </div>\n            <div className=\"row \">\n              <div className=\"col col-lg-2\">\n                <b>Attack Path Description:</b>\n              </div>\n              <div className=\"col col-lg-10 modal-text\">\n                <p\n                  dangerouslySetInnerHTML={{\n                    __html:\n                      data?.attackPathDesc ||\n                      \"1. Attacker exploits log4j vulnerability found in OS package to take control of EC-Public<br></br>2. EC2-Public has path to EC-Private, and able to launch privileged mode pods, by exploiting Anonymous Auth API on Kubelet<br></br>3. (Active Attack Detected) EC2-Private has excessive unused permissions to perform operations like Cloning on the RDS-Mysql DB\",\n                  }}\n                ></p>\n              </div>\n            </div>\n          </div>\n          <div className=\"modal-body\">\n            <div className=\"row mt-3\">\n              <div className=\"col col-lg-2\">\n                <b>Name:</b>\n              </div>\n              <div className=\"col col-lg-4 p-0\">\n                <input\n                  type=\"text\"\n                  id=\"fname\"\n                  placeholder=\"TK001001\"\n                  name=\"fname\"\n                  className=\"modal-input-style px-2\"\n                />\n              </div>\n              <div className=\"col col-lg-2\">\n                <b>Assigned By</b>\n              </div>\n              <div className=\"col col-lg-4 p-0\">\n                {\" \"}\n                <input\n                  type=\"text\"\n                  placeholder=\"Chris G\"\n                  id=\"fname\"\n                  name=\"fname\"\n                  className=\"modal-input-style px-2\"\n                />\n              </div>\n            </div>\n            <div className=\"row mt-3\">\n              <div className=\"col col-lg-2\">\n                <b>Priority :</b>\n              </div>\n              <div className=\"col col-lg-4 p-0\">\n                <select\n                  name=\"priority\"\n                  id=\"priority\"\n                  className=\"modal-input p-0 px-2\"\n                >\n                  <option value=\"high\">HIGH</option>\n                </select>{\" \"}\n              </div>\n              <div className=\"col col-lg-2\">\n                <b>Assigned To</b>\n              </div>\n              <div className=\"col col-lg-4 p-0\">\n                {\" \"}\n                <input\n                  type=\"text\"\n                  placeholder=\"Cloud-ENG\"\n                  id=\"fname\"\n                  name=\"fname\"\n                  className=\"modal-input p-0 px-2\"\n                />\n              </div>\n            </div>\n            <div className=\"row mt-3\">\n              <div className=\"col col-lg-2\">\n                <b>Remediation:</b>\n              </div>\n              <div className=\"col col-lg-10 p-0 \">\n                <textarea\n                  className=\"modal-textarea py-2 px-2\"\n                  value={\n                    data?.remediation ||\n                    \"Block Access to RDS-Mysql API from EC2-Private (i-28h66556899) by removing excessive, unused permissions for actions like Cloning.\"\n                  }\n                ></textarea>\n              </div>\n            </div>\n            <div className=\"row\">\n              <div className=\"col\">\n                <div className=\"float-right\">\n                  <button\n                    type=\"button\"\n                    className=\"modal-button mr-2\"\n                    onClick={createTicket}\n                  >\n                    Create Ticket{\" \"}\n                  </button>\n                  <button\n                    type=\"button\"\n                    className=\"modal-button-cancel\"\n                    onClick={() => handleModal(false)}\n                  >\n                    Cancel{\" \"}\n                  </button>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Modal;\n","export const regions = [\n  {\n    name: \"N. Virginia\",\n    latitude: 38.13,\n    longitude: -78.45,\n    full_name: \"US East (N. Virginia)\",\n    code: \"us-east-1\",\n    public: true,\n    zones: [\n      \"us-east-1a\",\n      \"us-east-1b\",\n      \"us-east-1c\",\n      \"us-east-1d\",\n      \"us-east-1e\",\n      \"us-east-1f\",\n    ],\n  },\n  {\n    name: \"Ohio\",\n    latitude: 40.4173,\n    longitude: -82.996216,\n    full_name: \"US East (Ohio)\",\n    code: \"us-east-2\",\n    public: true,\n    zones: [\"us-east-2a\", \"us-east-2b\", \"us-east-2c\"],\n  },\n  {\n    name: \"N. California\",\n    latitude: 40.0,\n    longitude: -120.0,\n    full_name: \"US West (N. California)\",\n    code: \"us-west-1\",\n    public: true,\n    zone_limit: 2,\n    zones: [\"us-west-1a\", \"us-west-1b\", \"us-west-1c\"],\n  },\n  {\n    name: \"Oregon\",\n    latitude: 46.15,\n    longitude: -123.88,\n    full_name: \"US West (Oregon)\",\n    code: \"us-west-2\",\n    public: true,\n    zones: [\"us-west-2a\", \"us-west-2b\", \"us-west-2c\", \"us-west-2d\"],\n  },\n  {\n    name: \"GovCloud West\",\n    full_name: \"AWS GovCloud (US)\",\n    code: \"us-gov-west-1\",\n    public: false,\n    zones: [\"us-gov-west-1a\", \"us-gov-west-1b\", \"us-gov-west-1c\"],\n  },\n  {\n    name: \"GovCloud East\",\n    full_name: \"AWS GovCloud (US-East)\",\n    code: \"us-gov-east-1\",\n    public: false,\n    zones: [\"us-gov-east-1a\", \"us-gov-east-1b\", \"us-gov-east-1c\"],\n  },\n  {\n    name: \"Canada\",\n    latitude: 55.5333312,\n    longitude: -106.583331,\n    full_name: \"Canada (Central)\",\n    code: \"ca-central-1\",\n    public: true,\n    zones: [\"ca-central-1a\", \"ca-central-1b\"],\n  },\n  {\n    name: \"Stockholm\",\n    latitude: 59.3293,\n    longitude: 18.0686,\n    full_name: \"EU (Stockholm)\",\n    code: \"eu-north-1\",\n    public: true,\n    zones: [\"eu-north-1a\", \"eu-north-1b\", \"eu-north-1c\"],\n  },\n  {\n    name: \"Ireland\",\n    full_name: \"EU (Ireland)\",\n    code: \"eu-west-1\",\n    public: true,\n    zones: [\"eu-west-1a\", \"eu-west-1b\", \"eu-west-1c\"],\n    latitude: 53.34778,\n    longitude: -6.25972,\n  },\n  {\n    name: \"London\",\n    latitude: 51,\n    longitude: -0.1,\n    full_name: \"EU (London)\",\n    code: \"eu-west-2\",\n    public: true,\n    zones: [\"eu-west-2a\", \"eu-west-2b\", \"eu-west-2c\"],\n  },\n  {\n    name: \"Paris\",\n    latitude: 48.86,\n    longitude: 2.35,\n    full_name: \"EU (Paris)\",\n    code: \"eu-west-3\",\n    public: true,\n    zones: [\"eu-west-3a\", \"eu-west-3b\", \"eu-west-3c\"],\n  },\n  {\n    name: \"Frankfurt\",\n    latitude: 50.0,\n    longitude: 8.0,\n    full_name: \"EU (Frankfurt)\",\n    code: \"eu-central-1\",\n    public: true,\n    zones: [\"eu-central-1a\", \"eu-central-1b\", \"eu-central-1c\"],\n  },\n  {\n    name: \"Tokyo\",\n    latitude: 35.41,\n    longitude: 139.42,\n    full_name: \"Asia Pacific (Tokyo)\",\n    code: \"ap-northeast-1\",\n    public: true,\n    zone_limit: 3,\n    zones: [\n      \"ap-northeast-1a\",\n      \"ap-northeast-1b\",\n      \"ap-northeast-1c\",\n      \"ap-northeast-1d\",\n    ],\n  },\n  {\n    name: \"Seoul\",\n    latitude: 37.56,\n    longitude: 126.98,\n    full_name: \"Asia Pacific (Seoul)\",\n    code: \"ap-northeast-2\",\n    public: true,\n    zones: [\"ap-northeast-2a\", \"ap-northeast-2c\"],\n  },\n  {\n    name: \"Osaka\",\n    latitude: 34.6937,\n    longitude: 135.5023,\n    full_name: \"Asia Pacific (Osaka-Local)\",\n    code: \"ap-northeast-3\",\n    public: false,\n    zones: [\"ap-northeast-3a\"],\n  },\n  {\n    name: \"Singapore\",\n    latitude: 1.37,\n    longitude: 103.8,\n    full_name: \"Asia Pacific (Singapore)\",\n    code: \"ap-southeast-1\",\n    public: true,\n    zones: [\"ap-southeast-1a\", \"ap-southeast-1b\", \"ap-southeast-1c\"],\n  },\n  {\n    name: \"Sydney\",\n    latitude: -33.8,\n    longitude: 151.2,\n    full_name: \"Asia Pacific (Sydney)\",\n    code: \"ap-southeast-2\",\n    public: true,\n    zones: [\"ap-southeast-2a\", \"ap-southeast-2b\", \"ap-southeast-2c\"],\n  },\n  {\n    name: \"Mumbai\",\n    latitude: 19.08,\n    longitude: 72.88,\n    full_name: \"Asia Pacific (Mumbai)\",\n    code: \"ap-south-1\",\n    public: true,\n    zones: [\"ap-south-1a\", \"ap-south-1b\"],\n  },\n  {\n    name: \"São Paulo\",\n    full_name: \"South America (São Paulo)\",\n    code: \"sa-east-1\",\n    public: true,\n    latitude: -23.533773,\n    longitude: -46.62529,\n    zone_limit: 2,\n    zones: [\"sa-east-1a\", \"sa-east-1b\", \"sa-east-1c\"],\n  },\n  {\n    name: \"Beijing\",\n    full_name: \"China (Beijing)\",\n    code: \"cn-north-1\",\n    latitude: 39.9042,\n    longitude: 116.4074,\n    public: false,\n    zones: [\"cn-north-1a\", \"cn-north-1b\"],\n  },\n  {\n    name: \"Ningxia\",\n    full_name: \"China (Ningxia)\",\n    latitude: 38.4712,\n    longitude: 106.2587,\n    code: \"cn-northwest-1\",\n    public: false,\n    zones: [\"cn-northwest-1a\", \"cn-northwest-1b\", \"cn-northwest-1c\"],\n  },\n];\n","export default __webpack_public_path__ + \"static/media/compliance-violation.1d9a24dd.svg\";","import \"./style.scss\";\n\nconst Tabs = ({\n  data,\n  setSelectedTab,\n  accessTabClicked,\n  policyViolationId,\n  isPolicyDetails,\n  selectedTab,\n}) => (\n  <div className=\"tabs\">\n    <ul>\n      {data.map((d, index) => (\n        <li>\n          {d.title === \"ACCESS\" ? (\n            <a class={\"nav-link-disable\"}>{d.title}</a>\n          ) : (\n            <a\n              class={\n                (index === 0 && selectedTab === \"attack-path\") ||\n                (index === 1 && selectedTab === \"access\")\n                  ? `custom-nav-link active`\n                  : \"custom-nav-link\"\n              }\n              onClick={\n                !isPolicyDetails && index === 0\n                  ? () => setSelectedTab(\"attack-path\")\n                  : () => accessTabClicked()\n              }\n              data-toggle=\"tab\"\n              href=\"#home\"\n            >\n              {d.title}\n            </a>\n          )}\n        </li>\n      ))}\n    </ul>\n  </div>\n);\nexport default Tabs;\n","import React, { memo, useEffect, useState } from \"react\";\nimport { axiosDenaliPrivate } from \"../../../utils/ApiHandler\";\nimport TicketIcon from \"../../../assets/img/v1-icons/view-ticket.svg\";\nimport TicketUnavailableIcon from \"../../../assets/img/v1-icons/create-ticket.svg\";\nimport {\n  getCustomerId,\n  getSelectedDataFlow,\n} from \"../../../utils/SessionHelper\";\nimport {\n  formatLine,\n  getScoreColor,\n  getScoreBorder,\n} from \"../../../utils/styles\";\nimport \"./BottomPanelComponent.scss\";\nimport moment from \"moment\";\nimport { regions } from \"../../maps/aws_regions\";\n\nimport { ACCESS_SOURCES } from \"./data\";\n// import { items } from \"./data\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport AttackIcon from \"../../../assets/img/icons/attack-icon.svg\";\nimport complianceViolation from \"../../../assets/img/icons/compliance-violation.svg\";\nimport Tabs from \"../../tabs\";\nimport DatastoreTicketModal from \"../../modal/datastore-ticket-modal/DatastoreTicketModal\";\n\nconst BottomPanelComponent = ({\n  RefreshChart,\n  createTicket,\n  setCreateTicket,\n  attackPaths,\n  setSelectedTab,\n  selectedBar,\n  setDatastoreSources,\n  setIsDatastoreIssuesModal,\n  datastoreSources,\n  selectedTab,\n  setSelectedNode,\n  isUSOnlyAccess,\n  isPolicyDetails,\n  policyDetails,\n}) => {\n  const [selected, setSelected] = useState(0);\n  const history = useHistory();\n  const params = useParams();\n  const selectedDataFlow = getSelectedDataFlow();\n  const datastoreId = params.id?.replaceAll(\"_\", \"/\");\n  const handleRefresh = (idx, name) => {\n    setSelected(idx);\n    RefreshChart(idx, name);\n    setCreateTicket(false);\n  };\n  const policyViolationId = params.policyViolationId;\n  const [updatedDatastoreSources, setUpdatedDatastoreSources] = useState([]);\n  const [ticketModal, setTicketModal] = useState(false);\n  const [ticketModalInfo, setTicketModalInfo] = useState(false);\n  const checkComplianceViolationOnLiveness = (source) => {\n    return (\n      source &&\n      source.region !== \"North America\" &&\n      !source.region?.toLowerCase()?.includes(\"us\") &&\n      isUSOnlyAccess\n    );\n  };\n\n  const getSources = async () => {\n    if (isPolicyDetails) {\n      setDatastoreSources(policyDetails?.instanceDetails?.livenessInfo);\n    } else if (isPolicyDetails === false) {\n      let url = `/api/v1/liveness`;\n      const payload = {\n        id: datastoreId,\n        customerId: getCustomerId(),\n      };\n      if (policyViolationId) {\n        payload.policyViolationId = policyViolationId;\n      }\n      let res = await axiosDenaliPrivate.post(url, payload);\n      // setDatastoreSources(ACCESS_SOURCES);\n\n      if (res && !res.err && res.data) {\n        setDatastoreSources(res.data);\n      } else {\n        setDatastoreSources(null);\n      }\n    } else {\n    }\n  };\n\n  const accessTabClicked = () => {\n    setSelectedTab(\"access\");\n    getSources();\n  };\n\n  const getLatitudeAndLongitude = (value, region) => {\n    if (value === \"latitude\") {\n      let objRegion = regions.find((r) => r.code === region);\n      return objRegion?.latitude || \"\";\n    }\n    if (value === \"longitude\") {\n      let objRegion = regions.find((r) => r.code === region);\n      return objRegion?.longitude || \"\";\n    }\n  };\n\n  useEffect(() => {\n    RefreshChart(0, attackPaths[0]?.pathName);\n  }, [attackPaths]);\n\n  useEffect(() => {\n    if (datastoreSources) {\n      let datasourceId = 0;\n      let datasources = [];\n\n      datastoreSources?.ten_minutes?.sources?.map((sources) => {\n        sources?.sourceIdentity?.sourceIPAddressLocations?.map((source) => {\n          datasourceId = datasourceId + 1;\n          let latitude = source?.location?.coordinates[0];\n          let longitude = source?.location?.coordinates[1];\n\n          datasources.push({\n            id: datasourceId,\n            userName: sources.sourceIdentity?.userName,\n            sourceType: sources.sourceIdentity?.sourceType,\n            title: source.region,\n            sourceIpAddress: source.sourceIPAddress,\n            sourceAsset: source.sourceAsset,\n            latitude: latitude\n              ? latitude\n              : getLatitudeAndLongitude(\"latitude\", source.region),\n            longitude: longitude\n              ? longitude\n              : getLatitudeAndLongitude(\"longitude\", source.region),\n            color: \"#000\",\n            name: source.city,\n            radius: 7,\n            scale: 0.7,\n            isComplianceViolation: checkComplianceViolationOnLiveness(source),\n          });\n        });\n      });\n\n      if (selectedDataFlow) {\n        const selectedAccessIndex = datasources.findIndex(\n          (x) => x.sourceAsset === selectedDataFlow.source.assetId\n        );\n        if (selectedAccessIndex > -1) {\n          handleRefresh(\n            selectedAccessIndex,\n            datasources[selectedAccessIndex]?.userName || \"\"\n          );\n        }\n      }\n\n      setUpdatedDatastoreSources(datasources);\n    }\n  }, [datastoreSources, isUSOnlyAccess]);\n\n  useEffect(() => {\n    if (selectedTab === \"access\") {\n      handleRefresh(\n        0,\n        datastoreSources?.ten_minutes?.sources[0]?.sourceIdentity?.userName ||\n          \"\"\n      );\n    } else if (selectedTab === \"attack-path\") {\n      handleRefresh(0, attackPaths[0]?.pathName);\n    }\n  }, [selectedTab]);\n\n  useEffect(() => {\n    if (policyViolationId && updatedDatastoreSources.length > 0) {\n      setSelectedTab(\"access\");\n    }\n  }, [policyViolationId, updatedDatastoreSources]);\n\n  useEffect(() => {\n    if (selectedDataFlow) {\n      accessTabClicked();\n    } else {\n      getSources();\n    }\n  }, [isPolicyDetails, policyDetails]);\n\n  const tabs = [\n    {\n      title: `ATTACK PATHS - ${attackPaths.length}`,\n      active: true,\n    },\n    {\n      title: updatedDatastoreSources?.length\n        ? `ACCESS - ${datastoreSources?.ten_minutes?.sources.length || 0}`\n        : `ACCESS`,\n      active: false,\n    },\n  ];\n  const policyTabs = [\n    {\n      title: updatedDatastoreSources?.length\n        ? `ACCESS - ${datastoreSources?.ten_minutes?.sources.length || 0}`\n        : `ACCESS`,\n      active: true,\n    },\n  ];\n\n  return (\n    <div id=\"bottom-panel-main-container\">\n      <div className=\"row\">\n        <div className=\"col\">\n          <div className=\" d-flex justify-content-between\">\n            <div>\n              {\" \"}\n              <Tabs\n                isPolicyDetails={isPolicyDetails}\n                data={isPolicyDetails ? policyTabs : tabs}\n                setSelectedTab={setSelectedTab}\n                accessTabClicked={accessTabClicked}\n                selectedTab={selectedTab}\n                policyViolationId={policyViolationId}\n              />\n            </div>\n            {/* <div className=\"d-flex justify-content-center align-items-center\">\n              {\" \"}\n              <div\n                className=\"col-lg-auto\"\n                onClick={() => {\n                  selectedBar?.numSecurityIssues > 0 &&\n                    setIsDatastoreIssuesModal(true);\n                }}\n                // onClick={() => viewIssues()}\n              >\n                <span\n                  className={\n                    selectedBar?.numSecurityIssues > 0\n                      ? \"card-tabs cursor-pointer\"\n                      : \"card-tabs-disabled\"\n                  }\n                >\n                  <b className=\"p-2\"> SECURITY ISSUES </b>\n                </span>\n              </div>\n            </div> */}\n          </div>\n          {/* <p>Attack Paths listed by Severity</p> */}\n\n          <div class=\"tab-content\">\n            <div id=\"home\" class=\"container tab-pane active\">\n              {selectedTab !== \"access\" && (\n                <div className=\"attack-path-table\">\n                  <div className=\"table-responsive\">\n                    <table className=\"table table-border-partial table-hover\">\n                      <tbody>\n                        {attackPaths.map(function (item, idx) {\n                          return (\n                            <tr\n                              key={idx}\n                              className={\n                                selected === idx\n                                  ? \"vuls-row active-path-row\"\n                                  : \"vuls-row\"\n                              }\n                              onClick={() => handleRefresh(idx, item.pathName)}\n                            >\n                              <td\n                                className={`${getScoreBorder(item.pathScore)}`}\n                              >\n                                {/* <span className=\"\">\n                                <div\n                                  className={`numberCircle ${getScoreColor(\n                                    item.pathScore\n                                  )}`}\n                                >\n                                  {\" \"}\n                                  {parseInt(item.pathScore)}\n                                </div>\n                              </span> */}\n                                {item?.pathAttackStatus && (\n                                  <img src={AttackIcon} width=\"25px\" />\n                                )}\n                              </td>\n                              <td\n                                className=\"data-store-name\"\n                                title={item.pathName}\n                              >\n                                {formatLine(item.pathName, 50)}\n                              </td>\n                              <td className=\"\">\n                                <div className=\"d-flex bd-highlight\">\n                                  {/* <div class=\"flex-fill bd-highlight d-flex align-items-center justify-content-center\">\n                              {item.info.title ? (\n                                <i class=\"icon fa fa-circle text-danger incognito-icon\"></i>\n                              ) : (\n                                \"\"\n                              )}{\" \"}\n                            </div> */}\n                                  <div className=\" d-flex align-items-center\">\n                                    <div className=\"d-flex flex-column bd-highlight \">\n                                      {/* <div class=\"bd-highlight\">\n                                  {\" \"}\n                                  {item.info.title ? (\n                                    <div className=\"col p-0 pl-2 left-panel-title d-flex align-items-start justify-content-start \">\n                                      {item.info.title}\n                                    </div>\n                                  ) : (\n                                    \"\"\n                                  )}\n                                </div> */}\n                                      <div\n                                        className=\"bd-highlight\"\n                                        title={item.pathDescription}\n                                      >\n                                        <span className=\"col p-0 pl-2 col-lg-12 col-md-12 left-panel-subtitle d-flex align-items-start justify-content-start\">\n                                          {item.pathDescription.length > 50\n                                            ? item.pathDescription.slice(\n                                                0,\n                                                50\n                                              ) + \"...\"\n                                            : item.pathDescription}\n                                        </span>\n                                      </div>\n                                    </div>\n                                  </div>\n                                </div>{\" \"}\n                                {/* <div\n                            className=\"col col-lg-auto d-flex align-items-center justify-content-center p-1\"\n                            align=\"center\"\n                          >\n                          \n                          </div> */}\n                              </td>\n\n                              {/* <td>\n                          <img src=\"/static/img/ticket-unavailable.svg\" /> */}\n                              {/* {item.ticket || createTicket ? (\n                          <img src=\"static/img/ticket-available.svg\" />\n                        ) : (\n                          <img src=\"static/img/ticket-unavailable.svg\" />\n                        )}\n                        {selected === idx ? (\n                          <span className=\"pl-2 data-store-name\">\n                            {createTicket ? item.ticket + 1 : item.ticket}{\" \"}\n                          </span>\n                        ) : (\n                          <span className=\"pl-2 data-store-name\">\n                            {item.ticket}\n                          </span>\n                        )} */}\n                              {/* </td> */}\n                            </tr>\n                          );\n                        })}\n                      </tbody>\n                    </table>\n                  </div>\n                </div>\n              )}\n            </div>\n            <div id=\"menu1\" class=\"container tab-pane active p-0\">\n              {selectedTab === \"access\" && (\n                <div className=\"attack-path-table\">\n                  <div className=\"table-responsive\">\n                    <table className=\"table table-border-partial table-hover\">\n                      <tbody>\n                        {updatedDatastoreSources.length > 0 &&\n                          updatedDatastoreSources.map(function (item, idx) {\n                            return (\n                              <tr\n                                key={idx}\n                                className={\n                                  selected === idx\n                                    ? \"vuls-row active-path-row\"\n                                    : \"vuls-row cursor-default\"\n                                }\n                                onClick={() =>\n                                  handleRefresh(idx, item?.userName || \"\")\n                                }\n                              >\n                                <td>\n                                  {item.isComplianceViolation && (\n                                    <img\n                                      src={complianceViolation}\n                                      title=\"Compliance Violation\"\n                                    />\n                                  )}\n                                </td>\n                                <td\n                                  className=\"data-store-name\"\n                                  title={item?.userName || \"\"}\n                                >\n                                  {formatLine(item?.userName || \"\", 50)}\n                                </td>\n                                <td className=\"\">\n                                  <div className=\"d-flex bd-highlight jusity\">\n                                    <div className=\" d-flex align-items-center\">\n                                      <div className=\"d-flex flex-column bd-highlight \">\n                                        <div\n                                          className=\"bd-highlight\"\n                                          title={item?.sourceType || \"\"}\n                                        >\n                                          <span className=\"col p-0 pl-2 col-lg-12 col-md-12 left-panel-subtitle d-flex align-items-start justify-content-start\">\n                                            {item?.sourceType?.length > 50\n                                              ? item?.sourceType?.slice(0, 50) +\n                                                \"...\"\n                                              : item?.sourceType || \"\"}\n                                          </span>\n                                        </div>\n                                      </div>\n                                    </div>\n                                  </div>\n                                </td>\n                                <td className=\"\">\n                                  <div className=\"d-flex bd-highlight\">\n                                    <span className=\"left-panel-subtitle\">\n                                      {item.sourceIpAddress}\n                                    </span>\n                                  </div>\n                                </td>\n                                <td className=\"\">\n                                  <div className=\"d-flex bd-highlight\">\n                                    <span className=\"left-panel-subtitle\">\n                                      {datastoreSources?.ten_minutes\n                                        ?.time_window_end\n                                        ? moment(\n                                            moment\n                                              .utc(\n                                                datastoreSources?.ten_minutes\n                                                  ?.time_window_end\n                                              )\n                                              .toDate()\n                                          )\n                                            .local()\n                                            .fromNow()\n                                        : \"N/A\"}\n                                    </span>\n                                  </div>\n                                </td>\n                                {policyViolationId &&\n                                  datastoreSources.tickets === 0 && (\n                                    <td\n                                      onClick={(e) => e.stopPropagation()}\n                                      className={\n                                        !datastoreSources.ticketIntegration &&\n                                        \"cursor-default\"\n                                      }\n                                    >\n                                      <img\n                                        alt=\"icon\"\n                                        title=\"Create Ticket\"\n                                        src={TicketUnavailableIcon}\n                                        className={\n                                          datastoreSources.ticketIntegration\n                                            ? \"ticket-icon  mb-1 cursor-pointer\"\n                                            : \"ticket-icon-disable mb-1\"\n                                        }\n                                        onClick={(e) => {\n                                          e.stopPropagation();\n                                          if (\n                                            datastoreSources.ticketIntegration\n                                          ) {\n                                            setTicketModal(true);\n                                            setTicketModalInfo({\n                                              datastoreId: datastoreId,\n                                              policyViolationId: policyViolationId,\n                                            });\n                                          }\n                                        }}\n                                      />\n                                    </td>\n                                  )}\n                                {policyViolationId &&\n                                  datastoreSources.tickets > 0 && (\n                                    <td onClick={(e) => e.stopPropagation()}>\n                                      <img\n                                        alt=\"icon\"\n                                        title=\"Ticket Details\"\n                                        src={TicketIcon}\n                                        className=\"ticket-icon  mb-1 cursor-pointer\"\n                                        onClick={(e) => {\n                                          e.stopPropagation();\n                                          window.open(\n                                            datastoreSources?.url\n                                              ? datastoreSources?.url\n                                              : \"#\"\n                                          );\n                                        }}\n                                      />\n                                    </td>\n                                  )}\n                              </tr>\n                            );\n                          })}\n                        {ticketModal && (\n                          <DatastoreTicketModal\n                            type=\"liveness\"\n                            refreshDatastores={getSources}\n                            datastoreId={ticketModalInfo.datastoreId}\n                            policyViolationId={\n                              ticketModalInfo.policyViolationId\n                            }\n                            handleModal={() => {\n                              setTicketModal(false);\n                            }}\n                          />\n                        )}\n                      </tbody>\n                    </table>\n                  </div>\n                </div>\n              )}\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default memo(BottomPanelComponent);\n","import React from \"react\";\nimport BottomPanelComponent from \"./BottomPanelComponent\";\n\nconst BottomPanelContainer = ({\n  RefreshChart,\n  createTicket,\n  setCreateTicket,\n  setSelectedTab,\n  setDatastoreSources,\n  attackPaths,\n  setIsDatastoreIssuesModal,\n  selectedBar,\n  datastoreSources,\n  selectedTab,\n  setSelectedNode,\n  isUSOnlyAccess,\n  isPolicyDetails,\n  policyDetails,\n}) => {\n  return (\n    <BottomPanelComponent\n      isPolicyDetails={isPolicyDetails}\n      policyDetails={policyDetails}\n      RefreshChart={RefreshChart}\n      createTicket={createTicket}\n      setCreateTicket={setCreateTicket}\n      attackPaths={attackPaths}\n      setSelectedTab={setSelectedTab}\n      selectedBar={selectedBar}\n      setDatastoreSources={setDatastoreSources}\n      datastoreSources={datastoreSources}\n      selectedTab={selectedTab}\n      setIsDatastoreIssuesModal={setIsDatastoreIssuesModal}\n      setSelectedNode={setSelectedNode}\n      isUSOnlyAccess={isUSOnlyAccess}\n    />\n  );\n};\n\nexport default BottomPanelContainer;\n","export default __webpack_public_path__ + \"static/media/tagImage.a24d62ca.svg\";","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Provides the list of all dataStores.\n * @returns -- Accounts list\n */\nexport const fetchDataStoreTags = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/tags/get`, params);\n};\n\n/**\n * Add the tag with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const updateDataStoreTags = (params) => {\n  return axiosDenaliPrivate.put(`/api/v1/tags/set`, params);\n};\n\nexport const updateDatastore = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/datastoretype/update`, params);\n};\n\nexport const fetchDatastoresSearch = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/datastores`, params);\n};\n\nexport const fetchDatastoreNames = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/datastores/names`, params);\n};\n\nexport const fetchTicketDetail = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/jira/bulk/get`, params);\n};\n\nexport const fetchSensitiveInfo = (params) => {\n  return axiosDenaliPrivate.post(\n    `/api/v1/data/classification/overview`,\n    params\n  );\n};\n\nexport const fetchDatastoreDescription = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/datastoredescription`, params);\n};\n\n/**\n * Provides the list of llms.\n * @returns -- lineage graph data\n */\nexport const fetchLineageGraphData = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/ai/lineage`, params);\n};\n\n/**\n * fetch training data\n */\nexport const fetchLLMDetails = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/models/details\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\n\nimport {\n  fetchDataStoreTags,\n  fetchDatastoreNames,\n  fetchSensitiveInfo,\n  updateDataStoreTags,\n  fetchTicketDetail,\n  updateDatastore,\n  fetchDatastoreDescription,\n  fetchLineageGraphData,\n  fetchLLMDetails,\n} from \"../apis/dataStoreAPI\";\n\nconst initialState = {\n  tags: null,\n};\n\n// Async calls.\nexport const listDataStoreTagsAsync = createAsyncThunk(\n  \"dataStore/tags/get\",\n  async (params) => {\n    const response = await fetchDataStoreTags(params);\n    return response.data;\n  }\n);\n\n// Async calls.\nexport const updateDataStoreAsync = createAsyncThunk(\n  \"dataStore/update/\",\n  async (params) => {\n    const response = await updateDatastore(params);\n    return response.data;\n  }\n);\n\nexport const listDataStoreNames = createAsyncThunk(\n  \"dataStore/names/get\",\n  async (params) => {\n    const response = await fetchDatastoreNames(params);\n    return response.data;\n  }\n);\n\nexport const updateDataStoreTagsAsync = createAsyncThunk(\n  \"dataStore/tags/set\",\n  async (params) => {\n    const response = await updateDataStoreTags(params);\n    return response.data;\n  }\n);\n\nexport const listSensitiveData = createAsyncThunk(\n  \"sensitive/info/get\",\n  async (params) => {\n    const response = await fetchSensitiveInfo(params);\n    return response.data;\n  }\n);\n\nexport const fetchLLMDetailsSlice = createAsyncThunk(\n  \"dashboard/LLM/Details\",\n  async (params) => {\n    const response = await fetchLLMDetails(params);\n    return response.data;\n  }\n);\n\nexport const fetchDatastoreDescriptionAsync = createAsyncThunk(\n  \"datastore/description\",\n  async (params) => {\n    const response = await fetchDatastoreDescription(params);\n    return response.data;\n  }\n);\n\nexport const fetchLineageGraphDataSlice = createAsyncThunk(\n  \"datastore/lineageGraph\",\n  async (params) => {\n    const response = await fetchLineageGraphData(params);\n    return response.data;\n  }\n);\n\nexport const fetchTicketDetailSlice = createAsyncThunk(\n  \"bulk/get\",\n  async (params) => {\n    const response = await fetchTicketDetail(params);\n    return response.data;\n  }\n);\n\n// Datastore slice for configuring reducers and actions.\nexport const dataStoreSlice = createSlice({\n  name: \"report\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n});\n\nexport default dataStoreSlice.reducer;\n\n// Selectors will go here\n","export default __webpack_public_path__ + \"static/media/close-icon.6a1d9621.svg\";","import React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Select from \"react-select\";\nimport closeIcon from \"../../../assets/img/icons/close-icon.svg\";\nimport deleteIcon from \"../../../assets/img/icons/ico-delete-grey.svg\";\nimport { updateDataStoreTagsAsync } from \"../../../redux/slices/dataStoreSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport \"./../modal.scss\";\nimport \"./ManageTagsModal.scss\";\nimport Button from \"../../common/Button\";\nconst ManageTagsModal = ({\n  handleModal,\n  tags,\n  refreshDataStoreTags,\n  datastoreId,\n  cloudAccountId,\n}) => {\n  const dispatch = useDispatch();\n\n  // Defining sensitive tags\n  const [sensitiveTags, setSensetiveTags] = useState([\n    { value: \"low\", label: \"Low\", type: \"sensitive\" },\n    { value: \"medium\", label: \"Medium\", type: \"sensitive\" },\n    { value: \"high\", label: \"High\", type: \"sensitive\" },\n    { value: \"critical\", label: \"Critical\", type: \"sensitive\" },\n  ]);\n\n  const [managedTags, setManagedTags] = useState(tags);\n  const [customTagErrors, setCustomTagError] = useState(\"\");\n  const [loader, setLoader] = useState(false);\n  const [tagsUpdated, setTagsUpdated] = useState(false);\n\n  // Update the tags list\n  const updateTags = (tag) => {\n    // updating custom tags\n    if (tag.type === \"custom\") {\n      if (tags.some((obj) => obj.label === tag.label)) {\n        setCustomTagError(\"Duplicate custom tags are not allowed\");\n      } else if (tag.type === \"custom\") {\n        tag.label = tag.label.trim();\n        setCustomTagError(\"\");\n        setManagedTags([...managedTags, tag]);\n      }\n    } else {\n      // updating sensitive tags\n      let temp = [...managedTags];\n      let objIndex = temp.findIndex((obj) => obj.type == \"sensitive\");\n      if (objIndex !== -1) {\n        temp[objIndex] = tag;\n        setManagedTags(temp);\n      } else {\n        setManagedTags([...managedTags, tag]);\n      }\n    }\n    setTagsUpdated(true);\n  };\n\n  // Remove tag handler\n  const removeTag = (tag) => {\n    const tempTags = [...managedTags];\n    tempTags.splice(\n      tempTags.findIndex((a) => a.value === tag.value),\n      1\n    );\n    setTagsUpdated(true);\n    setManagedTags(tempTags);\n  };\n\n  // Submit manage tag handler\n\n  const submitModal = async () => {\n    setLoader(true);\n    let customTags = managedTags\n      .filter((tag) => tag.type === \"custom\")\n      .map((tag) => {\n        return tag.label;\n      });\n    let sensitiveTags = managedTags\n      .filter((tag) => tag.type === \"sensitive\")\n      .map((tag) => {\n        return tag.label;\n      });\n    const resp = await dispatch(\n      updateDataStoreTagsAsync({\n        customerTags: customTags,\n        customerSensTag: sensitiveTags[0],\n        customerId: getCustomerId(),\n        cloudAccountId: cloudAccountId || \"\",\n        datastoreId: datastoreId,\n      })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      handleModal(false);\n      setLoader(false);\n      refreshDataStoreTags();\n    } else {\n      setLoader(false);\n    }\n  };\n\n  return (\n    <div id=\"manage-tags-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content\">\n            {loader && (\n              <img\n                src=\"/static/img/loader-circle.svg\"\n                className=\"modal-loading-img mt-2\"\n              ></img>\n            )}\n            <div className=\"modal-header d-flex justify-content-start align-items-center\">\n              {/* <img src={infoIcon} className=\"mr-3\" /> */}\n              <span className=\"header-title\">Manage Tags</span>\n              <img\n                src={deleteIcon}\n                className=\"mr-3 delete-icon\"\n                onClick={handleModal}\n              />\n            </div>\n            <div className=\"modal-body mb-2\">\n              <div className=\"row py-2\">\n                <div className=\"col col-sm-4 d-flex flex-row justify-content-start align-items-center workday-subheading\">\n                  Sensitive Tag:\n                </div>\n                <div className=\"col col-sm-8 workday-subheading-value\">\n                  <Select\n                    options={sensitiveTags}\n                    classNamePrefix=\"sensitive-tags-dropdown\"\n                    placeholder=\"Select Sensitive Tag\"\n                    onChange={(value) => {\n                      updateTags(value);\n                    }}\n                    isDisabled={loader}\n                  />\n                </div>\n              </div>\n              <div className=\"row py-2\">\n                <div className=\"col col-sm-4 d-flex flex-row justify-content-start align-items-center workday-subheading\">\n                  Custom Tag:\n                </div>\n                <div className=\"col col-sm-8 workday-subheading-value\">\n                  <input\n                    class=\"form-control form-control-sm \"\n                    type=\"text\"\n                    placeholder=\"Enter Custom Tag\"\n                    onKeyUp={(e) => {\n                      if (e.key === \"Enter\" && e.target.value !== \"\") {\n                        updateTags({\n                          value: e.target.value,\n                          label: e.target.value,\n                          type: \"custom\",\n                        });\n                        e.target.value = \"\";\n                        setTagsUpdated(true);\n                      }\n                    }}\n                    disabled={loader}\n                  ></input>\n                  <div className=\"error-message\">{customTagErrors} </div>\n                </div>\n              </div>\n              <div className=\"row py-1\">\n                <div className=\"col col-sm-8 col-xs-6 ml-auto  workday-subheading-value\">\n                  <div class=\"d-flex flex-wrap chip-container\">\n                    {managedTags.map((tag, i) => (\n                      <div class=\"chip m-1\" key={i}>\n                        <span className=\"mr-2\" title={tag?.label}>\n                          {\" \"}\n                          {tag?.label.length > 25\n                            ? tag?.label.slice(0, 25) + \"...\"\n                            : tag.label || \"\"}\n                        </span>\n                        <img\n                          className=\"close-icon\"\n                          src={closeIcon}\n                          title=\"Close\"\n                          onClick={() => (loader ? null : removeTag(tag))}\n                        />\n                      </div>\n                    ))}\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div className=\"modal-footer p-2\">\n              <Button\n                variant=\"contained\"\n                type=\"button\"\n                className=\"mr-2\"\n                onClick={() => submitModal()}\n                disabled={loader || !tagsUpdated}\n              >\n                Submit\n              </Button>\n              {/* <button\n                type=\"button\"\n                className=\"btn btn-primary mr-2\"\n                onClick={() => submitModal()}\n                disabled={loader || !tagsUpdated}\n              >\n                Submit\n              </button> */}\n\n              <Button\n                variant=\"outlined\"\n                type=\"button\"\n                className=\" \"\n                onClick={handleModal}\n              >\n                Cancel\n              </Button>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default ManageTagsModal;\n","import React, { useState } from \"react\";\nimport closeIconGray from \"../../../assets/img/icons/close-icon-grey.svg\";\n\nimport \"./../modal.scss\";\nimport \"./SensitiveDataModal.scss\";\n\nconst SensitiveDataModal = ({\n  handleModal,\n  datastoreDescriptions,\n  sensitiveScore,\n  type = \"datastore\",\n}) => {\n  const [loader, setLoader] = useState(false);\n\n  return (\n    <div id=\"sensitive-data-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content\">\n            {loader && (\n              <img\n                src=\"/static/img/loader-circle.svg\"\n                className=\"modal-loading-img mt-2\"\n              ></img>\n            )}\n            <div className=\"modal-header d-flex justify-content-between align-items-center\">\n              <span className=\"header-title\">Sensitive Data</span>\n              <img\n                className=\"close-icon cursor-pointer\"\n                src={closeIconGray}\n                title=\"Close\"\n                onClick={handleModal}\n                width=\"25px\"\n              />\n            </div>\n            <div className=\"modal-body mb-2\">\n              {\" \"}\n              <div className=\"sensitive-data-block \">\n                <div className=\"row mt-1\">\n                  <div className=\"col col-sm-12 sensitive-data-heading\">\n                    SENSITIVE DATA\n                    {datastoreDescriptions &&\n                    datastoreDescriptions.length &&\n                    type === \"datastore\" ? (\n                      <span>:&nbsp;(score - {sensitiveScore})</span>\n                    ) : (\n                      \"\"\n                    )}\n                  </div>\n                </div>\n\n                <div className=\"row mb-2\">\n                  {datastoreDescriptions && datastoreDescriptions.length ? (\n                    <div className=\"col col-sm-12 sensitive-data-subheading\">\n                      The following Sensitive Data Types have been detected\n                      within the Data Store.\n                    </div>\n                  ) : (\n                    <div className=\"col col-sm-12 sensitive-data-subheading\">\n                      Sensitive datatypes have not been discovered by automated\n                      scanner\n                    </div>\n                  )}\n                </div>\n\n                <div class={\"table-responsive\"}>\n                  <table class={\"table table-border-less table-hover \"}>\n                    {type === \"policyViolation\" ? (\n                      <tbody>\n                        {datastoreDescriptions.length > 0 &&\n                          datastoreDescriptions.map(function (desc, idx) {\n                            return (\n                              <tr key={idx} className=\"vuls-row\">\n                                <td>\n                                  <img src=\"/static/media/redCheck.0615bab8.svg\" />\n                                </td>\n                                <td>\n                                  {desc?.tag.replaceAll(\"_\", \" \").toUpperCase()}\n                                </td>\n\n                                <td className=\"text-danger font-weight-bold\">\n                                  {desc?.records}\n                                </td>\n                              </tr>\n                            );\n                          })}\n                      </tbody>\n                    ) : (\n                      <tbody>\n                        {datastoreDescriptions.length > 0 &&\n                          datastoreDescriptions.map(function (desc, idx) {\n                            return (\n                              <tr key={idx} className=\"vuls-row\">\n                                <td>\n                                  <img src=\"/static/media/redCheck.0615bab8.svg\" />\n                                </td>\n                                <td>PII - {desc.PII}</td>\n                                <td>{desc.Automated}</td>\n                                <td>\n                                  {desc.sensitiveDataSamples.length ? (\n                                    <div className=\"col col-sm-6 p-0 sensitive-data-title font-weight-normal text-nowrap overflow-hidden font-color-glaucous\">\n                                      {desc.sensitiveDataSamples.map(\n                                        (sample, index) => (\n                                          <span key={index}>{`${sample} ${\n                                            desc.sensitiveDataSamples.length -\n                                              1 ===\n                                            index\n                                              ? \"\"\n                                              : \", \"\n                                          }`}</span>\n                                        )\n                                      )}\n                                    </div>\n                                  ) : (\n                                    \"\"\n                                  )}\n                                </td>\n                                <td className=\"text-danger font-weight-bold\">\n                                  {desc.count}\n                                </td>\n                              </tr>\n                            );\n                          })}\n                      </tbody>\n                    )}\n                  </table>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default SensitiveDataModal;\n","export default __webpack_public_path__ + \"static/media/redCheck.0615bab8.svg\";","import React, { memo, useEffect, useState } from \"react\";\nimport Moment from \"react-moment\";\nimport { useDispatch } from \"react-redux\";\nimport Popup from \"reactjs-popup\";\nimport \"reactjs-popup/dist/index.css\";\nimport tagIcon from \"../../../assets/img/icons/tagImage.svg\";\nimport {\n  listDataStoreTagsAsync,\n  updateDataStoreAsync,\n} from \"../../../redux/slices/dataStoreSlice\";\nimport { axiosDenaliPrivate } from \"../../../utils/ApiHandler\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { formatLine } from \"../../../utils/styles\";\nimport ManageTagsModal from \"../../modal/manage-tags-modal/ManageTagsModal\";\nimport SensitiveDataModal from \"../../modal/sensitive-data/SensitiveDataModal\";\nimport redCheck from \"./redCheck.svg\";\nimport \"./TopPanelComponent.scss\";\nimport DatastoreIssues from \"../../datastore-issues/DatastoreIssues\";\nimport AttackIcon from \"../../../assets/img/icons/attack-icon.svg\";\nimport HackerIcon from \"../../../assets/img/icons/hacker-icon.svg\";\nimport LivenessIcon from \"../../../assets/img/icons/liveness-icon.svg\";\nimport LockIcon from \"../../../assets/img/icons/lock-icon.svg\";\nimport { getDatastoreNewIcon } from \"../../../utils/styles\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport { DATASTORE_TYPES } from \"../../../utils/Constants\";\nimport Button from \"../../common/Button\";\n\nconst TopPanelComponent = ({ props }) => {\n  const dispatch = useDispatch();\n  const [datastoreDescriptions, setDatastoreDescriptions] = useState([]);\n  const [tags, setTags] = useState([]);\n\n  const [moreTags, setMoreTags] = useState([]);\n  const [isManageTagsModal, setIsManageTagsModal] = useState(false);\n  const [isSensitiveDataModal, setIsSensitiveDataModal] = useState(false);\n  const [loading, setLoadingStatus] = useState(false);\n\n  const getSensitiveData = async () => {\n    let url = `/api/v1/datastoredescription`;\n    const payload = {\n      id: props.datastoreId,\n      customerId: getCustomerId(),\n    };\n    let res = await axiosDenaliPrivate.post(url, payload);\n    res = res?.data;\n    if (res) {\n      setDatastoreDescriptions(\n        res?.filter((element) => element?.Automated !== \"Manual\")\n      );\n    }\n  };\n\n  /**\n   * Refresh the tags\n   */\n  const refreshDataStoreTags = async () => {\n    const res = await dispatch(\n      listDataStoreTagsAsync({\n        customerId: getCustomerId(),\n        cloudAccountId: props.selectedBar?.cloudAccountId || \"\",\n        datastoreId: props.datastoreId,\n      })\n    );\n    let tagList = [];\n    if (res && res.payload && !res.payload.err) {\n      // Adding sensitive tag\n      if (res.payload?.customerSensTag) {\n        tagList.push({\n          value: res.payload.customerSensTag,\n          label: res.payload.customerSensTag,\n          type: \"sensitive\",\n        });\n      }\n      if (res.payload?.customerTags) {\n        // Adding custom tag\n        res.payload.customerTags.map((tag) => {\n          if (\n            tag.toLowerCase() === \"us_access_only\" ||\n            tag.includes(\"us access only\") ||\n            tag.includes(\"us-access-only\")\n          ) {\n            props.setIsUSOnlyAccess(true);\n          }\n\n          tagList.push({\n            value: tag,\n            label: tag,\n            type: \"custom\",\n          });\n        });\n      }\n    }\n    setTags(tagList);\n  };\n\n  /**\n   * Update the datastore type.\n   * @param {string} dsType - Datastore type to be updated\n   */\n  const updateDataStore = async (dsType) => {\n    if (!dsType) return;\n\n    const resp = await dispatch(\n      updateDataStoreAsync({\n        datastoreType: dsType,\n        customerId: getCustomerId(),\n        datastoreId: props.datastoreId,\n      })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      props.refreshDetails();\n      Toaster(\n        TOASTER_TYPES.SUCCESS,\n        `Datastore converted to  ${\n          dsType === DATASTORE_TYPES.SELF_MANAGED ? \"sanctioned\" : \" shadow\"\n        } successfully.`\n      );\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        `Failed to marked as ${\n          dsType === DATASTORE_TYPES.SELF_MANAGED ? \"sanctioned\" : \"shadow\"\n        }.`\n      );\n    }\n  };\n\n  useEffect(() => {\n    getSensitiveData();\n  }, []);\n\n  useEffect(() => {\n    if (props.selectedBar) {\n      refreshDataStoreTags();\n    }\n  }, [props.selectedBar]);\n\n  useEffect(() => {\n    // Setting more tags list\n    if (tags && tags.length > 3) {\n      let tagList = [];\n      tags.map((tag, index) => {\n        if (index > 2) {\n          tagList.push(tag);\n        }\n      });\n      setMoreTags(tagList);\n    }\n  }, [tags]);\n\n  return (\n    <div>\n      {props.toggle ? (\n        <div id=\"top-panel-main-container\" className=\"container-fluid\">\n          <div className=\"row\">\n            <div className=\"col-md-5 col-lg-5\">\n              <div className=\"workday-block\">\n                <div className=\"row\">\n                  <div className=\"col col-sm-12\">\n                    <div className=\"d-flex align-items-start\">\n                      <div className=\"\">\n                        <div className=\"col-md-12\">\n                          <span className=\"datastore-logo\">\n                            {getDatastoreNewIcon(\n                              props.selectedBar.type,\n                              props.selectedBar.score\n                            )}\n                          </span>\n\n                          {/* <img src={props.logo}  /> */}\n                        </div>\n                        <div className=\"col-md-12 mt-2 align-items-center justify-content-center\">\n                          {props?.selectedBar?.indirectAttackStatus && (\n                            <img\n                              src={AttackIcon}\n                              width=\"25px\"\n                              title=\"Indirect Anomaly\"\n                            />\n                          )}{\" \"}\n                        </div>\n                        <div className=\"col-md-12 mt-2 align-items-center justify-content-center\">\n                          {props?.selectedBar?.attackstatus && (\n                            <img\n                              src={HackerIcon}\n                              width=\"21px\"\n                              title=\"Direct Anomaly\"\n                            />\n                          )}{\" \"}\n                        </div>\n                        <div className=\"col-md-12  align-items-center justify-content-center\">\n                          {props?.selectedBar?.livenessInfo && (\n                            <img\n                              src={LivenessIcon}\n                              width=\"20px\"\n                              title=\"Live Traffic\"\n                            />\n                          )}{\" \"}\n                        </div>\n                        <div className=\"col-md-12 mt-2 align-items-center justify-content-center\">\n                          {props?.selectedBar?.sensitiveScore >= 80 && (\n                            <img\n                              src={LockIcon}\n                              width=\"20px\"\n                              title=\"Highly Sensitive\"\n                            />\n                          )}{\" \"}\n                        </div>\n                      </div>\n\n                      <div className=\"pl-3 w-100\">\n                        <div className=\"row workday-heading\">\n                          <div\n                            className=\"col col-sm-12\"\n                            title={props.selectedBar.name}\n                          >\n                            {formatLine(props.selectedBar.name, 42)}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Account:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.cloudAccountId}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Type:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.type}\n                          </div>\n                        </div>\n                        {props?.selectedBar?.engine &&\n                          props?.selectedBar?.engine !== null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 workday-subheading\">\n                                Engine:\n                              </div>\n\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                {props.selectedBar.engine}\n                              </div>\n                            </div>\n                          )}{\" \"}\n                        {props?.selectedBar?.region &&\n                          props?.selectedBar?.region !== null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 workday-subheading\">\n                                Region:\n                              </div>\n\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                {props.selectedBar.region}\n                              </div>\n                            </div>\n                          )}\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Discovered On:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            <Moment format=\"YYYY-MM-DD HH:MM:SS\">\n                              {props.selectedBar.discoveredOn}\n                            </Moment>\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Size:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.size}\n                          </div>\n                        </div>\n                        {props?.selectedBar?.host &&\n                          props?.selectedBar?.host !== null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 workday-subheading\">\n                                Host:\n                              </div>\n\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                {props.selectedBar.host}\n                              </div>\n                            </div>\n                          )}\n                        {!props.selectedBar.location ||\n                        props.selectedBar.location === \"-\" ? (\n                          <div className=\"row\"></div>\n                        ) : (\n                          <div className=\"row\">\n                            <div className=\"col col-sm-4 workday-subheading\">\n                              Location:\n                            </div>\n\n                            <div className=\"col col-sm-8 workday-subheading-value subvalue-bold text-decoration-underline\">\n                              {props.selectedBar.location}\n                            </div>\n                          </div>\n                        )}{\" \"}\n                        {props?.selectedBar?.lastModifiedAt &&\n                          props?.selectedBar?.lastModifiedAt !== null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 workday-subheading\">\n                                Last Modified:\n                              </div>\n\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                <Moment format=\"YYYY-MM-DD HH:MM:SS\">\n                                  {props.selectedBar.lastModifiedAt}\n                                </Moment>\n                              </div>\n                            </div>\n                          )}{\" \"}\n                        {!props.selectedBar.administrator ||\n                        props.selectedBar.administrator !== null ? (\n                          <div className=\"row\"></div>\n                        ) : (\n                          <div className=\"row\">\n                            <div className=\"col col-sm-4 workday-subheading\">\n                              Owner:\n                            </div>\n\n                            <div className=\"col col-sm-8 workday-subheading-value subvalue-bold text-decoration-underline\">\n                              {props.selectedBar.administrator}\n                            </div>\n                          </div>\n                        )}{\" \"}\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Tags:\n                          </div>\n                          <div className=\"col col-sm-8 d-flex  workday-subheading-value\">\n                            <div class=\"row \">\n                              {tags.length === 0 ? (\n                                <div class=\"col-md-auto pl-3 p-0\"> N/A </div>\n                              ) : (\n                                tags.map((tag, index) => (\n                                  <div key={index}>\n                                    {index < 3 ? (\n                                      <div class=\"col-md-auto pl-3 p-0\">\n                                        <span className=\"subvalue-bold data-store-tag\">\n                                          <img\n                                            className=\"mr-1\"\n                                            src={tagIcon}\n                                          ></img>\n                                          <span\n                                            title={\n                                              tag?.label.length > 12\n                                                ? tag?.label\n                                                : \"\"\n                                            }\n                                          >\n                                            {tag?.label.length > 12\n                                              ? tag?.label.slice(0, 12) + \"...\"\n                                              : tag.label || \"\"}\n                                          </span>\n                                        </span>\n                                      </div>\n                                    ) : (\n                                      \"\"\n                                    )}\n                                    {/* Adding more tags link */}\n                                    {index == 3 && (\n                                      <Popup\n                                        trigger={(open) => (\n                                          <div class=\"col-md-auto pl-3 p-0\">\n                                            <span className=\"subvalue-bold more-tags\">\n                                              <b>\n                                                <u>more...</u>\n                                              </b>\n                                            </span>\n                                          </div>\n                                        )}\n                                        position=\"right top\"\n                                        closeOnDocumentClick\n                                        className=\"top-panel-tags\"\n                                      >\n                                        <div className=\"header\">Tags</div>\n                                        <div class=\"row\">\n                                          {moreTags.map((tag, index) => (\n                                            <div\n                                              key={index}\n                                              class=\"col-md-auto\"\n                                            >\n                                              <div className=\"subvalue-bold data-store-tag m-2\">\n                                                <img\n                                                  className=\"mr-2\"\n                                                  src={tagIcon}\n                                                ></img>\n                                                <span\n                                                  className=\"subvalue-bold\"\n                                                  title={tag.label}\n                                                >\n                                                  {tag?.label.length > 25\n                                                    ? tag?.label.slice(0, 25) +\n                                                      \"...\"\n                                                    : tag.label || \"\"}\n                                                </span>\n                                              </div>\n                                            </div>\n                                          ))}\n                                        </div>\n                                      </Popup>\n                                    )}\n                                  </div>\n                                ))\n                              )}\n                            </div>\n                          </div>\n                        </div>\n                        <div className=\"row action-buttons\">\n                          <div className=\"col col-sm-12 workday-subheading px-0\">\n                            <Button\n                              variant=\"contained\"\n                              type=\"button\"\n                              onClick={() => setIsManageTagsModal(true)}\n                              disabled={!props.selectedBar?.cloudAccountId}\n                              className=\" float-left mr-3  btn-sm my-1 \"\n                            >\n                              Manage Tags\n                            </Button>\n                            {/* <button\n                              type=\"button\"\n                              onClick={() => setIsManageTagsModal(true)}\n                              className=\"btn float-left mr-3 btn-primary btn-sm my-1 p-2\"\n                              disabled={!props.selectedBar?.cloudAccountId}\n                            >\n                              Manage Tags\n                            </button> */}\n                            <Button\n                              variant=\"contained\"\n                              type=\"button\"\n                              onClick={() => setIsSensitiveDataModal(true)}\n                              className=\"btn-sm my-1\"\n                              disabled={!datastoreDescriptions.length}\n                            >\n                              {\" \"}\n                              Sensitive Data\n                            </Button>\n                            {/* <button\n                              type=\"button\"\n                              onClick={() => setIsSensitiveDataModal(true)}\n                              className=\"btn btn-primary btn-sm my-1 p-2\"\n                              disabled={\n                                datastoreDescriptions &&\n                                datastoreDescriptions.length === 0\n                              }\n                            >\n                              Sensitive Data\n                            </button> */}\n                            {props?.selectedBar?.datastoreType !==\n                            DATASTORE_TYPES.MANAGED ? (\n                              <Button\n                                variant=\"contained\"\n                                type=\"button\"\n                                onClick={() =>\n                                  updateDataStore(\n                                    props?.selectedBar?.datastoreType ===\n                                      DATASTORE_TYPES.SHADOW\n                                      ? DATASTORE_TYPES.SELF_MANAGED\n                                      : props?.selectedBar?.datastoreType ===\n                                        DATASTORE_TYPES.SELF_MANAGED\n                                      ? DATASTORE_TYPES.SHADOW\n                                      : null\n                                  )\n                                }\n                                className=\" btn-sm my-1 ml-3 \"\n                              >\n                                {props?.selectedBar?.datastoreType ===\n                                DATASTORE_TYPES.SHADOW\n                                  ? \"Sanctioned\"\n                                  : \"Shadow\"}\n                              </Button>\n                            ) : (\n                              // <button\n                              //   type=\"button\"\n                              //   onClick={() =>\n                              //     updateDataStore(\n                              //       props?.selectedBar?.datastoreType ===\n                              //         DATASTORE_TYPES.SHADOW\n                              //         ? DATASTORE_TYPES.SELF_MANAGED\n                              //         : props?.selectedBar?.datastoreType ===\n                              //           DATASTORE_TYPES.SELF_MANAGED\n                              //         ? DATASTORE_TYPES.SHADOW\n                              //         : null\n                              //     )\n                              //   }\n                              //   className=\"btn btn-primary btn-sm my-1 ml-3 p-2\"\n                              // >\n                              //   {props?.selectedBar?.datastoreType ===\n                              //   DATASTORE_TYPES.SHADOW\n                              //     ? \"Sanctioned\"\n                              //     : \"Shadow\"}\n                              // </button>\n                              \"\"\n                            )}\n                          </div>\n                          {isManageTagsModal ? (\n                            <ManageTagsModal\n                              tags={tags}\n                              refreshDataStoreTags={refreshDataStoreTags}\n                              handleModal={() => setIsManageTagsModal(false)}\n                              datastoreId={props.datastoreId}\n                              cloudAccountId={props.selectedBar?.cloudAccountId}\n                            />\n                          ) : (\n                            \"\"\n                          )}\n\n                          {isSensitiveDataModal && (\n                            <SensitiveDataModal\n                              handleModal={() => setIsSensitiveDataModal(false)}\n                              datastoreDescriptions={datastoreDescriptions}\n                              sensitiveScore={props.selectedBar?.sensitiveScore}\n                            />\n                          )}\n                        </div>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div className=\"col-md-7 col-lg-7 pl-md-0\">\n              <DatastoreIssues\n                assetIdValue={props.assetId}\n                isAttackPath={false}\n                pageName=\"datastore-info\"\n                setLoading={(val) => setLoadingStatus(val)}\n              />\n            </div>\n          </div>\n        </div>\n      ) : (\n        <div className=\"top-panel-2\">\n          <div id=\"top-panel-main-container\" className=\"container-fluid px-2\">\n            <div className=\"row\">\n              <div className=\"col col-sm-1 col-lg-1\">\n                <div className=\"number-circle\"> 99</div>\n              </div>\n              <div className=\"col col-sm-3 col-md-3 col-lg-3 text-info\">\n                <b>CD Labs: Workday HR</b>\n              </div>\n              <div className=\"col col-sm-8 col-md-8 col-lg-8\">\n                <div className=\"row\">\n                  <div className=\"col col-md-3 col-lg-3 p-0\">\n                    <span className=\"card-text text-info\">SENSITIVE DATA:</span>\n                  </div>\n                  <div className=\"col col-md-3 col-lg-3 p-0\">\n                    <span className=\"card-text\">\n                      <img src={redCheck} className=\"pr-1\" />\n                      <span className=\"card-subtext\">PII - DL Number:</span>\n                    </span>\n                  </div>\n                  <div className=\"col col-md-3 col-lg-3 p-0\">\n                    <span className=\"card-text\">\n                      <img src={redCheck} className=\"pr-1\" />\n                      PII-Login Info\n                    </span>\n                  </div>\n                  <div className=\"col col-md-3 col-lg-3 p-0\">\n                    <span className=\"card-text\">\n                      <img src={redCheck} className=\"pr-1\" />\n                      PII-DL Number\n                    </span>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      )}\n    </div>\n  );\n};\n\nexport default memo(TopPanelComponent);\n","import React from \"react\";\nimport TopPanelComponent from \"./TopPanelComponent\";\n\nconst TopPanelContainer = (props) => {\n  return (\n    <>\n      <TopPanelComponent props={props} />\n    </>\n  );\n};\n\nexport default TopPanelContainer;\n","export default __webpack_public_path__ + \"static/media/logo.bbf62641.svg\";","import React, { useEffect, useState } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4maps from \"@amcharts/amcharts4/maps\";\nimport am4geodata_worldLow from \"@amcharts/amcharts4-geodata/worldLow\";\nimport am4themes_animated from \"@amcharts/amcharts4/themes/animated\";\nimport { regions } from \"./aws_regions.js\";\nimport moment from \"moment\";\nimport \"./WorldMap.jsx\";\nimport logo from \"../../assets/img/logo.svg\";\nimport { getNodeIconByType } from \"../../components/charts/d3-flow-chart/flowChartHelper\";\nimport AffectedDatastoresAndIssuesModal from \"../modal/affected-datastore-and-issue-modal/AffectedDatastoresAndIssuesModal.jsx\";\nimport { getDatastoreIcon } from \"../../utils/styles.js\";\n\nam4core.addLicense(\"ch-custom-attribution\");\n\nconst WorldMap = ({\n  selectedBar,\n  datastoreSources,\n  assetId,\n  datastoreId,\n  selectedTab,\n  isUSOnlyAccess,\n  rowIndex,\n  isPolicyDetails,\n}) => {\n  const [selectedDatastoreSource, setSelectedDatastoreSource] = useState();\n\n  const [markerClicked, setMarkerClicked] = useState(false);\n  const [selectedNode, setSelectedNode] = useState(null);\n\n  const operationsInfo = (operations) => {\n    // let operation = \"<table><tr><td></td><td></td><td>Errors</td></tr>\";\n\n    // operations.map((item) => {\n    //   operation += \"<tbody><tr>\";\n    //   operation += `<td>${item.operation}(${item.count})</td> ${\n    //     item?.errorCodes.length > 0 ? \"<td>-<td>\" : \"\"\n    //   }`;\n    //   item?.errorCodes?.map((error, step) => {\n    //     operation += `<td>${error.code}(${error.count})</td>${\n    //       step !== item.errorCodes.length - 1 ? \", \" : \"\"\n    //     }`;\n    //   });\n    //   operation += \"</tr>\";\n    // });\n    // operation += \"</tbody></table>\";\n\n    let operation = \"<div>\";\n\n    operations.map((item, index) => {\n      operation += `<div class=\"d-flex\">`;\n      operation += `<div>${item.operation}(${item.count})</div> ${\n        item?.errorCodes.length > 0\n          ? \"<div>&nbsp;&nbsp;-&nbsp;&nbsp;</div>\" +\n            (index === 0\n              ? '<span class=\"node-title\" style=\"margin-top: -25px\">Errors<br/></span>'\n              : \"\")\n          : \"\"\n      }`;\n      item?.errorCodes?.map((error, step) => {\n        operation += `<div style=\"${\n          index === 0 ? \"margin-left: -40px\" : \"\"\n        }\"> ${error.code}(${error.count})</div>${\n          step !== item.errorCodes.length - 1 ? \", \" : \"\"\n        }`;\n      });\n      operation += \"</div>\";\n    });\n    operation += \"<div>\";\n\n    // operations.map((item, index) => {\n    //   operation += `${item.operation}(${item.count})${\n    //     index !== operations.length - 1 ? \", \" : \"\"\n    //   }`;\n    // });\n    console.log(\"Operation: \", operation);\n    return operation;\n  };\n\n  const loadChart = () => {\n    let datastoreNode = [];\n    let updatedDatastoreSources = [];\n    let updatedDatastoreSourceIds = [];\n    let selectedDestinations = [];\n\n    am4core.useTheme(am4themes_animated);\n\n    let chart = am4core.create(\"world-map\", am4maps.MapChart);\n    chart.fill = am4core.color(\"#ffee00\");\n    let interfaceColors = new am4core.InterfaceColorSet();\n\n    // Set map definition\n    chart.geodata = am4geodata_worldLow;\n\n    // Set projection\n    chart.projection = new am4maps.projections.Mercator();\n    // Export\n\n    const checkComplianceViolationOnLiveness = (source) => {\n      if (isPolicyDetails) {\n        return (\n          source &&\n          source.region !== \"North America\" &&\n          !source.region?.toLowerCase()?.includes(\"us\")\n        );\n      } else {\n        return (\n          source &&\n          source.region !== \"North America\" &&\n          !source.region?.toLowerCase()?.includes(\"us\") &&\n          isUSOnlyAccess\n        );\n      }\n    };\n\n    const getLatitudeAndLongitude = (value, region) => {\n      if (value === \"latitude\") {\n        let obj = regions.find((r) => r.code === region);\n        return obj?.latitude || regions[0].latitude;\n      }\n      if (value === \"longitude\") {\n        let obj = regions.find((r) => r.code === region);\n        return obj?.longitude || regions[0].longitude;\n      }\n    };\n\n    const setDatastoreSources = () => {\n      let datasourceId = 0;\n\n      datastoreSources?.ten_minutes?.sources?.map((sources) => {\n        sources?.sourceIdentity?.sourceIPAddressLocations?.map((source) => {\n          datasourceId = datasourceId + 1;\n          let latitude = source?.location?.coordinates[0];\n          let longitude = source?.location?.coordinates[1];\n          updatedDatastoreSourceIds.push(datasourceId.toString());\n\n          updatedDatastoreSources.push({\n            id: datasourceId.toString(),\n            userName: sources.sourceIdentity?.userName,\n            sourceType: sources.sourceIdentity?.sourceType,\n            title: source.city,\n            sourceIpAddress: source.sourceIPAddress,\n            latitude: latitude\n              ? latitude\n              : getLatitudeAndLongitude(\"latitude\", source.region),\n            longitude: longitude\n              ? longitude\n              : getLatitudeAndLongitude(\"longitude\", source.region),\n            color: \"#000\",\n            name: source.sourceIPAddress,\n            radius: 7,\n            scale: 0.7,\n            isComplianceViolation: checkComplianceViolationOnLiveness(source),\n            href: getNodeIconByType(sources?.sourceIdentity?.sourceType),\n            datastore_node: false,\n            type: sources.sourceIdentity?.sourceType,\n            is_primary: false,\n            CD_Asset_Id: source.sourceAsset || undefined,\n            eks_enabled: false,\n            tooltip_content: {\n              name: sources.sourceIdentity?.userName,\n              type: sources.sourceIdentity?.sourceType || undefined,\n              country: source.country || undefined,\n              state: source.state || undefined,\n              city: source.city || undefined,\n              region: source.region || undefined,\n              source_IP_Address: source.sourceIPAddress,\n              id: source.sourceAsset || undefined,\n              operations: operationsInfo(sources?.operations || []),\n            },\n          });\n        });\n      });\n    };\n    setDatastoreSources();\n\n    const setDatastoreData = () => {\n      regions.map((region) => {\n        if (region.code === selectedBar.region) {\n          datastoreNode.push({\n            id: region.name,\n            title: selectedBar?.name,\n            name: region.code,\n            latitude: Number(region.latitude),\n            longitude: Number(region.longitude),\n            full_name: region.full_name,\n            code: region.code,\n            destinations: updatedDatastoreSourceIds,\n            scale: 1.5,\n            zoomLevel: 1.5,\n            zoomLongitude: 0.1341,\n            zoomLatitude: 29.1712,\n            color: \"#000\",\n            href: getDatastoreIcon(selectedBar?.type),\n            datastore_node: true,\n            type: selectedBar?.type,\n            is_primary: true,\n            node_id: selectedBar?.name,\n            CD_Asset_Id: assetId,\n            datastoreId: datastoreId,\n            eks_enabled: false,\n            tooltip_content: {\n              name: selectedBar?.name,\n              type: selectedBar?.type,\n              id: assetId,\n            },\n          });\n        }\n      });\n    };\n    setDatastoreData();\n\n    let sourceSVG =\n      \"M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z\";\n\n    let targetSVG =\n      \"M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z\";\n\n    chart.zoomControl = new am4maps.ZoomControl();\n    // Texts\n    let labelsContainer = chart.createChild(am4core.Container);\n    labelsContainer.isMeasured = false;\n    labelsContainer.x = 80;\n    labelsContainer.y = 27;\n    labelsContainer.layout = \"horizontal\";\n    labelsContainer.zIndex = 10;\n\n    // The world\n    let worldPolygonSeries = chart.series.push(new am4maps.MapPolygonSeries());\n    worldPolygonSeries.useGeodata = true;\n    worldPolygonSeries.fillOpacity = 0.6;\n    worldPolygonSeries.exclude = [\"AQ\"];\n\n    let worldPolygonTemplate = worldPolygonSeries.mapPolygons.template;\n    worldPolygonTemplate.fill = am4core.color(\"#323547\");\n    worldPolygonTemplate.stroke = am4core.color(\"#323547\");\n\n    // Origin series (big targets, London and Vilnius)\n    let originImageSeries = chart.series.push(new am4maps.MapImageSeries());\n    let originImageTemplate = originImageSeries.mapImages.template;\n\n    var marker = originImageTemplate.createChild(am4core.Image);\n    marker.width = 35;\n    marker.height = 35;\n    marker.nonScaling = true;\n    // marker.tooltipText = \"Name: {title}\";\n    marker.horizontalCenter = \"middle\";\n    marker.verticalCenter = \"middle\";\n    marker.propertyFields.href = \"href\";\n    // Setting datastore marker click\n    marker.events.on(\"hit\", function (event) {\n      setSelectedNode(event?.target?.dataItem?.dataContext);\n      setMarkerClicked(true);\n    });\n\n    originImageTemplate.propertyFields.latitude = \"latitude\";\n    originImageTemplate.propertyFields.longitude = \"longitude\";\n    originImageTemplate.propertyFields.id = \"id\";\n\n    originImageTemplate.cursorOverStyle = am4core.MouseCursorStyle.pointer;\n    originImageTemplate.nonScaling = true;\n    originImageTemplate.tooltipText =\n      \"Name: {title} \\n Type: {type} \\n Region: {name}\";\n\n    originImageTemplate.setStateOnChildren = true;\n    originImageTemplate.states.create(\"hover\");\n\n    originImageTemplate.horizontalCenter = \"middle\";\n    originImageTemplate.verticalCenter = \"middle\";\n\n    // when hit on city, change lines\n    originImageTemplate.events.on(\"hit\", function (event) {\n      showLines(event.target.dataItem);\n    });\n\n    // destination series (small targets)\n    let destinationImageSeries = chart.series.push(\n      new am4maps.MapImageSeries()\n    );\n\n    let destinationImageTemplate = destinationImageSeries.mapImages.template;\n\n    var marker = destinationImageTemplate.createChild(am4core.Image);\n    marker.width = 28;\n    marker.height = 28;\n    marker.nonScaling = true;\n    marker.tooltipText = \"{title}\";\n    marker.horizontalCenter = \"middle\";\n    marker.verticalCenter = \"middle\";\n    marker.propertyFields.href = \"href\";\n    // Setting sources marker click\n    marker.events.on(\"hit\", function (event) {\n      setSelectedNode(event?.target?.dataItem?.dataContext);\n      setMarkerClicked(true);\n    });\n\n    destinationImageTemplate.nonScaling = true;\n    destinationImageTemplate.tooltipText =\n      \"Name: {userName} \\n Source IP Address: {sourceIpAddress} \\n {city}\";\n    destinationImageTemplate.fill = interfaceColors.getFor(\n      \"alternativeBackground\"\n    );\n    destinationImageTemplate.setStateOnChildren = true;\n    destinationImageTemplate.states.create(\"hover\");\n\n    destinationImageTemplate.propertyFields.latitude = \"latitude\";\n    destinationImageTemplate.propertyFields.longitude = \"longitude\";\n    destinationImageTemplate.propertyFields.id = \"id\";\n    destinationImageTemplate.propertyFields.fill = \"color\";\n    destinationImageTemplate.propertyFields.href = \"href\";\n\n    originImageSeries.data = datastoreNode;\n    destinationImageSeries.data = updatedDatastoreSources;\n\n    // Line series\n    let lineSeries = chart.series.push(new am4maps.MapSplineSeries());\n    lineSeries.mapLines.template.strokeWidth = 1;\n    lineSeries.mapLines.template.line.strokeOpacity = 1;\n    lineSeries.mapLines.template.line.strokeDasharray = \"\";\n    lineSeries.mapLines.template.propertyFields.fill = \"color\";\n    lineSeries.mapLines.template.nonScalingStroke = true;\n    lineSeries.mapLines.template.line.stroke = am4core.color(\"#D3D3D3\");\n\n    chart.events.on(\"ready\", function (ev) {\n      showLines(originImageSeries.dataItems.getIndex(0));\n    });\n\n    let currentOrigin;\n\n    function showLines(origin) {\n      let dataContext = origin.dataContext;\n      let destinations = dataContext.destinations;\n      // clear old\n      lineSeries.mapLines.clear();\n      lineSeries.toBack();\n      worldPolygonSeries.toBack();\n\n      currentOrigin = origin;\n      let line;\n\n      var endDate = moment.utc(datastoreSources?.ten_minutes?.time_window_end); //now\n      var currentDate = moment(new Date());\n      const difference = currentDate.diff(endDate, \"minutes\");\n      if (destinations) {\n        for (var i = 0; i < destinations.length; i++) {\n          // Checking live data for last 10mins\n          if (difference < 10) {\n            lineSeries.mapLines.template.line.strokeDasharray = \"5,6\";\n          } else {\n            lineSeries.mapLines.template.line.strokeDasharray = \"0,0\";\n          }\n          // For highlighting with colors\n          if (\n            updatedDatastoreSources[destinations[i] - 1]\n              .isComplianceViolation === true\n          ) {\n            if (rowIndex.index === destinations[i] - 1) {\n              lineSeries.mapLines.template.line.stroke = am4core.color(\n                \"#FC4C02\"\n              );\n              lineSeries.mapLines.template.line.strokeWidth = 2;\n            } else {\n              lineSeries.mapLines.template.line.stroke = am4core.color(\n                \"#F89880\"\n              );\n              lineSeries.mapLines.template.line.strokeWidth = 1;\n            }\n          } else {\n            if (rowIndex.index === destinations[i] - 1) {\n              lineSeries.mapLines.template.line.stroke = am4core.color(\n                \"#3260e5\"\n              );\n              lineSeries.mapLines.template.line.strokeWidth = 2;\n            } else {\n              lineSeries.mapLines.template.line.stroke = am4core.color(\n                \"#C0C0C0\"\n              );\n              lineSeries.mapLines.template.line.strokeWidth = 1;\n            }\n          }\n          line = lineSeries.mapLines.create();\n          line.imagesToConnect = [origin.mapImage.id, destinations[i]];\n        }\n      }\n\n      line.id = \"myline\";\n      line.setClassName();\n      // title.text = \"Flights from \" + dataContext.title;\n\n      chart.zoomToGeoPoint(\n        {\n          latitude: dataContext.zoomLatitude,\n          longitude: dataContext.zoomLongitude,\n        },\n        dataContext.zoomLevel,\n        true\n      );\n    }\n\n    let graticuleSeries = chart.series.push(new am4maps.GraticuleSeries());\n    graticuleSeries.mapLines.template.line.strokeOpacity = 0.05;\n  };\n\n  useEffect(() => {\n    if (selectedBar?.cloudAccountId && datastoreSources) {\n      loadChart();\n    }\n  }, [rowIndex, selectedTab, isUSOnlyAccess, datastoreSources, selectedBar]);\n\n  // useEffect(() => {\n  //   if (selectedBar?.cloudAccountId && datastoreSources) {\n  //     loadChart();\n  //   }\n  // }, [datastoreSources, selectedBar]);\n\n  return (\n    <>\n      <div\n        id=\"world-map\"\n        className=\"mt-1\"\n        style={{ height: \"340px\", width: \"100%\" }}\n      ></div>\n      {markerClicked && (\n        <AffectedDatastoresAndIssuesModal\n          handleModal={() => setMarkerClicked(false)}\n          isRiskAccepted={false}\n          assetIdValue={selectedNode.CD_Asset_Id}\n          node={selectedNode}\n          isAttackPath={true}\n          selectedTab={selectedTab}\n          isSecurityIssueVisisble={true}\n        />\n      )}\n    </>\n  );\n};\n\nexport default WorldMap;\n","var _circle, _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgEditCircleIcon(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 20,\n    cy: 20,\n    r: 20,\n    fill: \"#DEB000\"\n  })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M21.2688 12.5612L19.9874 13.8429C19.8815 13.9488 19.8391 14.1183 19.8815 14.2666C20.6863 17.0736 22.9315 19.3193 25.7379 20.1243C25.7803 20.1349 25.8227 20.1455 25.865 20.1455C25.9815 20.1455 26.0874 20.1031 26.1721 20.0184L27.443 18.7367C28.4914 17.6986 28.9998 16.6923 28.9998 15.6754C29.0104 14.6267 28.502 13.6098 27.443 12.5612C25.3885 10.5062 23.3763 10.4532 21.2688 12.5612Z\",\n    fill: \"white\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M22.9419 20.6212C22.7089 20.4835 22.4865 20.3352 22.2641 20.1763C22.0841 20.0598 21.8723 19.8903 21.671 19.7208C21.6499 19.7102 21.5757 19.6466 21.491 19.5619C21.1415 19.2653 20.7497 18.884 20.4002 18.4603C20.3684 18.4391 20.3155 18.3649 20.2413 18.2696C20.1354 18.1425 19.9554 17.9306 19.7965 17.687C19.6695 17.5281 19.5212 17.2951 19.3835 17.062C19.2141 16.776 19.0658 16.49 18.9175 16.1934C18.8951 16.1454 18.8734 16.0975 18.8524 16.05C18.6961 15.6969 18.2358 15.5937 17.9628 15.8667L11.8961 21.9347C11.7585 22.0724 11.6314 22.3372 11.5996 22.5173L11.0277 26.5742C10.9218 27.2945 11.123 27.9725 11.5678 28.4279C11.9491 28.7987 12.4786 29 13.0505 29C13.1776 29 13.3047 28.9894 13.4317 28.9682L17.4984 28.3962C17.6891 28.3644 17.9538 28.2373 18.0809 28.0996L24.14 22.0392C24.4149 21.7643 24.3112 21.2924 23.9536 21.1398C23.9134 21.1226 23.8727 21.1051 23.8315 21.0872C23.5244 20.9389 23.2278 20.7907 22.9419 20.6212Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEditCircleIcon);\nexport default __webpack_public_path__ + \"static/media/edit-circle-icon.d89cfcdd.svg\";\nexport { ForwardRef as ReactComponent };","export default __webpack_public_path__ + \"static/media/MongoDB.694e8309.svg\";","export default __webpack_public_path__ + \"static/media/MYSQL.2a49a619.svg\";","export default __webpack_public_path__ + \"static/media/PostgreDB.bf965d10.svg\";","export default __webpack_public_path__ + \"static/media/RDS.4fefdbad.svg\";","export default __webpack_public_path__ + \"static/media/S3.ce61036f.svg\";","var _circle, _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgArchive(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 20,\n    cy: 20,\n    r: 20,\n    fill: \"#DEB000\"\n  })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M13.1095 13.8783C11.3998 13.8783 10 15.2781 10 16.9878V28.3458C10 29.7955 11.0398 30.4154 12.3096 29.7055L16.2389 27.5159C16.6588 27.286 17.3387 27.286 17.7487 27.5159L21.678 29.7055C22.9577 30.4054 23.9976 29.7955 23.9976 28.3458V16.9878C23.9976 15.2781 22.5978 13.8783 20.8881 13.8783H13.1095Z\",\n    fill: \"white\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M29.9962 24.4675C29.9962 25.9172 28.9564 26.5271 27.6866 25.8272L25.757 24.7474C25.597 24.6575 25.497 24.4875 25.497 24.3075V16.9888C25.497 14.4492 23.4274 12.3796 20.8878 12.3796H16.8185C16.4486 12.3796 16.1886 11.9897 16.3586 11.6697C16.8785 10.6799 17.9183 10 19.1081 10H26.8868C28.5965 10 29.9962 11.3998 29.9962 13.1095V24.4675Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArchive);\nexport default __webpack_public_path__ + \"static/media/archive.aac32829.svg\";\nexport { ForwardRef as ReactComponent };","var _circle, _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCreateTicket(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 20,\n    cy: 20,\n    r: 19.5,\n    stroke: \"#DEB000\"\n  })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M10.4697 12.4697C11.4582 11.4812 13.0054 11.25 15 11.25H25C26.9946 11.25 28.5418 11.4812 29.5303 12.4697C30.5188 13.4582 30.75 15.0054 30.75 17V18C30.75 18.4142 30.4142 18.75 30 18.75C29.0342 18.75 28.25 19.5342 28.25 20.5C28.25 21.4658 29.0342 22.25 30 22.25C30.4142 22.25 30.75 22.5858 30.75 23C30.75 24.9946 30.5188 26.5418 29.5303 27.5303C28.5418 28.5188 26.9946 28.75 25 28.75H15C13.0054 28.75 11.4582 28.5188 10.4697 27.5303C9.48116 26.5418 9.25 24.9946 9.25 23V22.5C9.25 22.0858 9.58579 21.75 10 21.75C10.9658 21.75 11.75 20.9658 11.75 20C11.75 19.0342 10.9658 18.25 10 18.25C9.58579 18.25 9.25 17.9142 9.25 17.5V17C9.25 15.0054 9.48116 13.4582 10.4697 12.4697ZM10.7506 16.8372C12.1832 17.1762 13.25 18.4641 13.25 20C13.25 21.5359 12.1832 22.8238 10.7506 23.1628C10.7649 25.0573 11.0329 25.9722 11.5303 26.4697C12.0418 26.9812 12.9946 27.25 15 27.25H25C27.0054 27.25 27.9582 26.9812 28.4697 26.4697C28.9214 26.0179 29.1839 25.2218 29.239 23.6603C27.8116 23.3176 26.75 22.0322 26.75 20.5C26.75 18.9639 27.8171 17.6759 29.25 17.3371V17C29.25 14.9946 28.9812 14.0418 28.4697 13.5303C27.9582 13.0188 27.0054 12.75 25 12.75H15C12.9946 12.75 12.0418 13.0188 11.5303 13.5303C11.0329 14.0278 10.7649 14.9427 10.7506 16.8372Z\",\n    fill: \"#DEB000\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M18 11.25C18.4142 11.25 18.75 11.5858 18.75 12V14C18.75 14.4142 18.4142 14.75 18 14.75C17.5858 14.75 17.25 14.4142 17.25 14V12C17.25 11.5858 17.5858 11.25 18 11.25ZM18 17.25C18.4142 17.25 18.75 17.5858 18.75 18V22C18.75 22.4142 18.4142 22.75 18 22.75C17.5858 22.75 17.25 22.4142 17.25 22V18C17.25 17.5858 17.5858 17.25 18 17.25ZM18 25.25C18.4142 25.25 18.75 25.5858 18.75 26V28C18.75 28.4142 18.4142 28.75 18 28.75C17.5858 28.75 17.25 28.4142 17.25 28V26C17.25 25.5858 17.5858 25.25 18 25.25Z\",\n    fill: \"#DEB000\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCreateTicket);\nexport default __webpack_public_path__ + \"static/media/create-ticket.a232ee03.svg\";\nexport { ForwardRef as ReactComponent };","var _circle, _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgNotify(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 20,\n    cy: 20,\n    r: 20,\n    fill: \"#DEB000\"\n  })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M27.5367 21.5375C27.2742 21.075 27.0367 20.2 27.0367 19.6875V16.525C27.0367 13.5875 25.3117 11.05 22.8242 9.8625C22.1742 8.7125 20.9742 8 19.5992 8C18.2367 8 17.0117 8.7375 16.3617 9.9C13.9242 11.1125 12.2367 13.625 12.2367 16.525V19.6875C12.2367 20.2 11.9992 21.075 11.7367 21.525L10.4742 23.6125C9.97425 24.45 9.86174 25.375 10.1742 26.225C10.4742 27.0625 11.1867 27.7125 12.1117 28.025C14.5367 28.85 17.0867 29.25 19.6367 29.25C22.1867 29.25 24.7367 28.85 27.1617 28.0375C28.0367 27.75 28.7117 27.0875 29.0367 26.225C29.3617 25.3625 29.2742 24.4125 28.7867 23.6125L27.5367 21.5375Z\",\n    fill: \"white\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M19.6114 33C18.6239 33 17.6489 32.6 16.9614 31.8875C16.5614 31.5125 16.2614 31.0125 16.0864 30.5C16.2489 30.525 16.4114 30.5375 16.5864 30.5625C16.8739 30.6 17.1739 30.6375 17.4739 30.6625C18.1864 30.725 18.9114 30.7625 19.6364 30.7625C20.3489 30.7625 21.0614 30.725 21.7614 30.6625C22.0239 30.6375 22.2864 30.625 22.5364 30.5875C22.7364 30.5625 22.9364 30.5375 23.1489 30.5125C22.6239 31.9625 21.2364 33 19.6114 33Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgNotify);\nexport default __webpack_public_path__ + \"static/media/notify.4f643149.svg\";\nexport { ForwardRef as ReactComponent };","var _circle, _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgSensitiveData(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 20,\n    cy: 20,\n    r: 20,\n    fill: \"#DEB000\"\n  })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M20.0011 25.3498C19.1009 25.3498 18.3711 24.6201 18.3711 23.7198C18.3711 22.8196 19.1009 22.0898 20.0011 22.0898C20.9013 22.0898 21.6311 22.8196 21.6311 23.7198C21.6311 24.6201 20.9013 25.3498 20.0011 25.3498Z\",\n    fill: \"white\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M26.28 16.28C26.28 13.58 25.63 10 20 10C14.37 10 13.72 13.58 13.72 16.28V17.53C10.92 17.88 10 19.3 10 22.79V24.65C10 28.75 11.25 30 15.35 30H24.65C28.75 30 30 28.75 30 24.65V22.79C30 19.3 29.08 17.88 26.28 17.53V16.28ZM16.98 23.72C16.98 22.05 18.34 20.7 20 20.7C21.66 20.7 23.02 22.06 23.02 23.72C23.02 25.39 21.67 26.74 20 26.74C18.33 26.74 16.98 25.38 16.98 23.72ZM15.12 17.44V16.28C15.12 13.35 15.95 11.4 20 11.4C24.05 11.4 24.88 13.35 24.88 16.28V17.45C24.8 17.45 24.73 17.45 24.65 17.45H15.35V17.44C15.27 17.44 15.2 17.44 15.12 17.44Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSensitiveData);\nexport default __webpack_public_path__ + \"static/media/sensitive-data.ea39a413.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgViewTicket(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 40,\n    height: 40,\n    viewBox: \"0 0 40 40\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457 0 40 8.9543 40 20Z\",\n    fill: \"#DEB000\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M29.7083 18.1875V17.2708C29.7083 13.2283 28.48 12 24.4375 12H18.7083V14.0625C18.7083 14.4383 18.3967 14.75 18.0208 14.75C17.645 14.75 17.3333 14.4383 17.3333 14.0625V12H15.2708C11.2283 12 10 13.2283 10 17.2708V17.7292C10 18.105 10.3117 18.4167 10.6875 18.4167C11.5675 18.4167 12.2917 19.1408 12.2917 20.0208C12.2917 20.9008 11.5675 21.625 10.6875 21.625C10.3117 21.625 10 21.9367 10 22.3125V22.7708C10 26.8133 11.2283 28.0417 15.2708 28.0417H17.3333V25.9792C17.3333 25.6033 17.645 25.2917 18.0208 25.2917C18.3967 25.2917 18.7083 25.6033 18.7083 25.9792V28.0417H24.4375C28.48 28.0417 29.7083 26.8133 29.7083 22.7708C29.7083 22.395 29.3967 22.0833 29.0208 22.0833C28.1408 22.0833 27.4167 21.3592 27.4167 20.4792C27.4167 19.5992 28.1408 18.875 29.0208 18.875C29.3967 18.875 29.7083 18.5633 29.7083 18.1875ZM18.0208 22.6975C17.645 22.6975 17.3333 22.3858 17.3333 22.01V18.0317C17.3333 17.6558 17.645 17.3442 18.0208 17.3442C18.3967 17.3442 18.7083 17.6558 18.7083 18.0317V22.01C18.7083 22.3858 18.3967 22.6975 18.0208 22.6975Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgViewTicket);\nexport default __webpack_public_path__ + \"static/media/view-ticket.61e23196.svg\";\nexport { ForwardRef as ReactComponent };","import React, { memo, useState } from \"react\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport Moment from \"react-moment\";\nimport { useDispatch } from \"react-redux\";\nimport \"reactjs-popup/dist/index.css\";\nimport { LOADER_CONFIG } from \"../../../utils/Constants\";\n\nimport { useHistory } from \"react-router-dom\";\nimport { ReactComponent as EditIcon } from \"../../../assets/img/edit-circle-icon.svg\";\nimport { ReactComponent as Archive } from \"../../../assets/img/v1-icons/archive.svg\";\nimport { ReactComponent as TicketUnavailableIcon } from \"../../../assets/img/v1-icons/create-ticket.svg\";\nimport { ReactComponent as NotifyIcon } from \"../../../assets/img/v1-icons/notify.svg\";\nimport { ReactComponent as SensitiveDataIcon } from \"../../../assets/img/v1-icons/sensitive-data.svg\";\nimport { ReactComponent as TicketIcon } from \"../../../assets/img/v1-icons/view-ticket.svg\";\nimport {\n  archivePolicyAsync,\n  policyNotifyAsync,\n} from \"../../../redux/slices/policySlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport DatastoreTicketModal from \"../../modal/datastore-ticket-modal/DatastoreTicketModal\";\nimport SensitiveDataModal from \"../../modal/sensitive-data/SensitiveDataModal\";\nimport DeleteConfirmationModal from \"../../modal/shared/DeleteConfirmationModal\";\nimport \"./TopPanelComponent.scss\";\nimport Typography from \"../../common/Typography\";\n\nconst TopPanelComponent = ({\n  datastoreId,\n  policyViolationId,\n  policyDetails,\n  refreshDetails,\n}) => {\n  const dispatch = useDispatch();\n  const history = useHistory();\n  const [isPolicyArchive, setIsPolicyArchive] = useState(false);\n  const [ticketModal, setTicketModal] = useState(false);\n  const [loading, setLoading] = useState(false);\n  const policy = JSON.parse(sessionStorage.getItem(\"policy\"));\n  const [isPolicyViolationAccepted, setIsPolicyViolationAccepted] = useState(\n    false\n  );\n  const [isSensitiveDataModal, setIsSensitiveDataModal] = useState(false);\n\n  const notifyPolicy = async (item) => {\n    setLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationId: policyViolationId ? policyViolationId : null,\n      datastoreId: policyDetails?.dsId,\n    };\n    let resp = await dispatch(policyNotifyAsync(payload));\n    if (resp && resp.payload && !resp.payload.error) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.success.message);\n      setLoading(false);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.error?.message || \"Failed to notify on slack.\"\n      );\n      setLoading(false);\n    }\n  };\n\n  const archivePolicy = async (item) => {\n    setLoading(true);\n    setIsPolicyArchive(false);\n    const payload = {\n      customerId: getCustomerId(),\n      policyId: policyDetails?.policyId ? policyDetails?.policyId : null,\n      datastoreId: [policyDetails?.dsId],\n    };\n    let resp = await dispatch(archivePolicyAsync(payload));\n\n    if (resp && !resp?.payload?.error && resp?.type?.includes(\"fulfilled\")) {\n      setLoading(false);\n      Toaster(\n        TOASTER_TYPES.SUCCESS,\n        resp?.payload?.success?.message || \"Policy archived succesfully\"\n      );\n      history.push(\"/\");\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp?.payload?.error?.message || \"Failed to archive.\"\n      );\n      setLoading(false);\n    }\n  };\n\n  const updatePolicy = (policy) => {\n    history.push(\"/settings/policy-settings/\" + policyDetails?.policyId);\n  };\n\n  return (\n    <div>\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }\n      >\n        <div id=\"top-panel-main-container\" className=\"container-fluid\">\n          <div className=\"row\">\n            <div className=\"col-md-5 col-lg-5\">\n              <div className=\"workday-block\">\n                <div className=\"row\">\n                  <div className=\"col col-sm-12\">\n                    <div className=\"d-flex align-items-start\">\n                      <div className=\"pl-3 w-100\">\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 pb-2\">\n                            <Typography\n                              variant=\"body2\"\n                              className=\"workday-subheading\"\n                            >\n                              Title:\n                            </Typography>\n                          </div>\n                          <div\n                            className=\"col col-sm-8 workday-subheading-value\"\n                            title={policyDetails?.title}\n                          >\n                            <Typography variant=\"body2\">\n                              {policyDetails?.title?.length > 40\n                                ? policyDetails?.title?.slice(0, 40) + \"...\"\n                                : policyDetails?.title || \"\"}\n                            </Typography>\n                          </div>\n                        </div>\n                        {policyDetails?.last_occurred &&\n                          policyDetails?.last_occurred !== null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4\">Last Occurred:</div>\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                <Typography variant=\"body2\">\n                                  <Moment format=\"YYYY-MM-DD HH:MM:SS\">\n                                    {policyDetails?.last_occurred}\n                                  </Moment>{\" \"}\n                                </Typography>\n                              </div>\n                            </div>\n                          )}\n\n                        {policyDetails?.instanceDetails?.metadata\n                          ?.cloudAccountId &&\n                          policyDetails?.instanceDetails?.metadata\n                            ?.cloudAccountId !== null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 pb-2 \">\n                                <Typography\n                                  variant=\"body2\"\n                                  className=\"workday-subheading\"\n                                >\n                                  Account:\n                                </Typography>\n                              </div>\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                <Typography variant=\"body2\">\n                                  {\n                                    policyDetails?.instanceDetails?.metadata\n                                      ?.cloudAccountId\n                                  }\n                                </Typography>\n                              </div>\n                            </div>\n                          )}\n\n                        {policyDetails?.instanceDetails?.dsInfo?.type &&\n                          policyDetails?.instanceDetails?.dsInfo?.type !==\n                            null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 pb-2\">\n                                <Typography\n                                  variant=\"body2\"\n                                  className=\"workday-subheading\"\n                                >\n                                  Type:\n                                </Typography>\n                              </div>\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                <Typography variant=\"body2\">\n                                  {policyDetails?.instanceDetails?.dsInfo?.type}\n                                </Typography>\n                              </div>\n                            </div>\n                          )}\n\n                        {policyDetails?.instanceDetails?.dsInfo?.region &&\n                          policyDetails?.instanceDetails?.dsInfo?.region !==\n                            null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 pb-2\">\n                                <Typography\n                                  variant=\"body2\"\n                                  className=\"workday-subheading\"\n                                >\n                                  Region:\n                                </Typography>\n                              </div>\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                <Typography variant=\"body2\">\n                                  {\n                                    policyDetails?.instanceDetails?.dsInfo\n                                      ?.region\n                                  }\n                                </Typography>\n                              </div>\n                            </div>\n                          )}\n                        {policyDetails?.instanceDetails?.dsInfo?.name &&\n                          policyDetails?.instanceDetails?.dsInfo?.name !==\n                            null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 pb-2\">\n                                <Typography\n                                  variant=\"body2\"\n                                  className=\"workday-subheading\"\n                                >\n                                  Datastore Name:\n                                </Typography>\n                              </div>\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                <Typography variant=\"body2\">\n                                  {policyDetails?.instanceDetails?.dsInfo?.name}\n                                </Typography>\n                              </div>\n                            </div>\n                          )}\n                        {policyDetails?.instanceDetails?.dsInfo\n                          ?.datastore_type &&\n                          policyDetails?.instanceDetails?.dsInfo\n                            ?.datastore_type !== null && (\n                            <div className=\"row pb-2\">\n                              <div className=\"col col-sm-4 pb-2\">\n                                <Typography\n                                  variant=\"body2\"\n                                  className=\"workday-subheading\"\n                                >\n                                  Datastore Type:\n                                </Typography>\n                              </div>\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                <Typography variant=\"body2\">\n                                  {\n                                    policyDetails?.instanceDetails?.dsInfo\n                                      ?.datastore_type\n                                  }\n                                </Typography>\n                              </div>\n                            </div>\n                          )}\n\n                        {policyDetails?.instanceDetails?.individualTicketInfo &&\n                          policyDetails?.instanceDetails?.individualTicketInfo\n                            ?.URL !== null && (\n                            <div className=\"row\">\n                              <div className=\"col col-sm-4 pb-2\">\n                                <Typography\n                                  variant=\"body2\"\n                                  className=\"workday-subheading\"\n                                >\n                                  Ticket Link:\n                                </Typography>\n                              </div>\n                              <div\n                                className=\"col col-sm-8 workday-subheading-value\"\n                                title={\n                                  policyDetails?.instanceDetails\n                                    ?.individualTicketInfo?.URL\n                                }\n                              >\n                                <Typography variant=\"body2\">\n                                  <a\n                                    href={\n                                      policyDetails?.instanceDetails\n                                        ?.individualTicketInfo?.URL\n                                    }\n                                    target=\"_blank\"\n                                    rel=\"noreferrer\"\n                                  >\n                                    {policyDetails?.instanceDetails\n                                      ?.individualTicketInfo?.URL?.length > 35\n                                      ? policyDetails?.instanceDetails?.individualTicketInfo?.URL?.slice(\n                                          0,\n                                          35\n                                        ) + \"...\"\n                                      : policyDetails?.instanceDetails\n                                          ?.individualTicketInfo?.URL || \"\"}\n                                  </a>\n                                </Typography>\n                              </div>\n                            </div>\n                          )}\n\n                        <div className=\"row  action-buttons\">\n                          <div className=\"col col-sm-12 workday-subheading\">\n                            <div className=\"row\">\n                              {policyDetails?.actionType && (\n                                <div className=\"col-3 d-flex justify-content-center\">\n                                  <EditIcon\n                                    title=\"Edit Policy\"\n                                    className=\"policy-details-action-icons   cursor-pointer\"\n                                    onClick={(e) => {\n                                      updatePolicy(policyDetails);\n                                    }}\n                                  />\n                                </div>\n                              )}\n\n                              {policyDetails?.actionType ===\n                                \"notify/archive\" && (\n                                <>\n                                  <div className=\"col-3 d-flex justify-content-center\">\n                                    <NotifyIcon\n                                      title=\"Notify\"\n                                      className=\"policy-details-action-icons    cursor-pointer\"\n                                      onClick={(e) => {\n                                        notifyPolicy();\n                                      }}\n                                    />\n                                  </div>\n                                  <div className=\"col-3 d-flex justify-content-center\">\n                                    <Archive\n                                      title=\"Archive\"\n                                      className=\"policy-details-action-icons   cursor-pointer\"\n                                      onClick={(e) => {\n                                        setIsPolicyArchive(true);\n                                      }}\n                                    />\n                                  </div>\n                                </>\n                              )}\n                              {policyDetails?.actionType ===\n                                \"ticket/accept\" && (\n                                <>\n                                  {policyDetails?.instanceDetails\n                                    ?.individualTicketInfo !== null ? (\n                                    <div className=\"col-3 d-flex justify-content-center\">\n                                      <TicketIcon\n                                        title=\"Ticket Details\"\n                                        className=\"policy-details-action-icons mr-1 mr-3  cursor-pointer\"\n                                        onClick={(e) => {\n                                          window.open(\n                                            policyDetails?.instanceDetails\n                                              ?.individualTicketInfo?.URL\n                                          );\n                                        }}\n                                      />\n                                    </div>\n                                  ) : (\n                                    <div className=\"col-3 d-flex justify-content-center\">\n                                      <TicketUnavailableIcon\n                                        title=\"Create Ticket\"\n                                        className=\"policy-detail-create-ticket mr-1 mr-3  cursor-pointer\"\n                                        onClick={() => setTicketModal(true)}\n                                        disabled={\n                                          policyDetails?.ticketIntegration !==\n                                          false\n                                            ? false\n                                            : true\n                                        }\n                                      />\n                                    </div>\n                                  )}\n                                </>\n                              )}\n                              {policyDetails?.actionType && (\n                                <div className=\"col-3 d-flex justify-content-center\">\n                                  <SensitiveDataIcon\n                                    title=\"Sensitive Data\"\n                                    className=\"policy-details-action-icons mr-1 mr-3  cursor-pointer\"\n                                    onClick={() =>\n                                      setIsSensitiveDataModal(true)\n                                    }\n                                  />\n                                </div>\n                              )}\n                            </div>\n                          </div>\n                          {ticketModal && (\n                            <DatastoreTicketModal\n                              type=\"datastore\"\n                              refreshDatastores={refreshDetails}\n                              datastoreId={policyDetails?.dsId}\n                              policyViolationId={policyViolationId}\n                              handleModal={() => {\n                                setTicketModal(false);\n                              }}\n                            />\n                          )}\n                          {isPolicyArchive && (\n                            <DeleteConfirmationModal\n                              handleModal={() => setIsPolicyArchive(false)}\n                              deleteHandle={archivePolicy}\n                              modalData={{\n                                title: \"Archive Policy\",\n                                message:\n                                  \"Are you sure, you want to archive this policy ?\",\n                                type: \"archive\",\n                              }}\n                            />\n                          )}\n                        </div>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div className=\"col-md-7 col-lg-7 pl-md-0 mt-2\">\n              <div className=\"row mt-4\">\n                {policyDetails?.description &&\n                  policyDetails?.description !== \"null\" && (\n                    <div className=\"col col-md-12 col-lg-12  mb-2\">\n                      <div className=\"policy-details-title\">Description</div>\n                      <div className=\"policy-details-description\">\n                        {policyDetails?.description}\n                      </div>\n                    </div>\n                  )}\n                {policyDetails?.remediation &&\n                  policyDetails?.remediation !== \"null\" && (\n                    <div className=\"col col-md-12 col-lg-12  mb-2\">\n                      <span className=\"policy-details-title\">Remediation</span>\n                      <br></br>\n                      <span className=\"policy-details-description\">\n                        {policyDetails?.remediation}\n                      </span>\n                    </div>\n                  )}\n              </div>\n            </div>{\" \"}\n            {isSensitiveDataModal && (\n              <SensitiveDataModal\n                handleModal={() => setIsSensitiveDataModal(false)}\n                datastoreDescriptions={\n                  policyDetails?.instanceDetails?.dsInfo?.sensitivityStats\n                }\n                // sensitiveScore={props.selectedBar?.sensitiveScore}\n                type=\"policyViolation\"\n              />\n            )}\n          </div>\n        </div>\n      </BlockUi>\n    </div>\n  );\n};\n\nexport default memo(TopPanelComponent);\n","import React, { useEffect, useRef, useState } from \"react\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../redux/slices/globalOperationSlice\";\nimport { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport {\n  getCustomerId,\n  removeSelectedDataFlow,\n} from \"../../utils/SessionHelper\";\nimport DatastoreAccessGraph from \"../charts/d3-flow-chart/DatastoreAccessGraph\";\nimport DatastoreAttackPathGraph from \"../charts/d3-flow-chart/DatastoreAttackPathGraph\";\nimport Modal from \"../modal/index\";\nimport BottomPanelContainer from \"./BottomPanel/BottomPanelContainer\";\nimport \"./DetailsComponent.scss\";\nimport TopPanelContainer from \"./TopPanel/TopPanelContainer\";\nimport WorldMap from \"../maps/WorldMap\";\nimport Mongodb from \"../../components/charts/data-store/images/MongoDB.svg\";\nimport MYSQL from \"../../components/charts/data-store/images/MYSQL.svg\";\nimport PostgreDB from \"../../components/charts/data-store/images/PostgreDB.svg\";\nimport RDS from \"../../components/charts/data-store/images/RDS.svg\";\nimport S3 from \"../../components/charts/data-store/images/S3.svg\";\nimport TopPanelPolicyViolationContainer from \"./TopPanel/TopPanelPolicyViolationComponent\";\nimport DocDB from \"../../components/charts/data-store/images/DocDB.svg\";\nimport ElasticCache from \"../../components/charts/data-store/images/ElasticCache.svg\";\nimport NeptuneDb from \"../../components/charts/data-store/images/NeptuneDb.svg\";\nimport { getDatastoreNewIcon } from \"../../utils/styles\";\nimport AffectedDatastoresAndIssuesModal from \"../modal/affected-datastore-and-issue-modal/AffectedDatastoresAndIssuesModal\";\nimport moment from \"moment\";\n\nimport { useLocation } from \"react-router-dom\";\nimport { policyViolationDetailsAsync } from \"../../redux/slices/policySlice\";\nconst datastoreIcons = {\n  mysql: MYSQL,\n  rds: RDS,\n  \"RDS-Postgres\": RDS,\n  mongodb: Mongodb,\n  PostgreSQL: PostgreDB,\n  s3: S3,\n  docdb: DocDB,\n  neptune: NeptuneDb,\n  elasticache: ElasticCache,\n};\nconst DetailsComponent = ({ setTicket, selectedAccount }) => {\n  const [toggle, setToggle] = useState(true);\n  const [isModal, setIsModal] = useState(false);\n  const [rowIndex, setRowIndex] = useState({});\n  const [modalData, setModalData] = useState({});\n  const [selectedBar, setSelectedBar] = useState({});\n  const [createTicket, setCreateTicker] = useState(false);\n  const [attackPaths, setAttackPaths] = useState([]);\n  const dispatch = useDispatch();\n  const loading = useSelector((state) => state.globalOperation.loading);\n  const [isDatastoreIssuesModal, setIsDatastoreIssuesModal] = useState();\n  const params = useParams();\n  const history = useHistory();\n  const datastoreId = params.id?.replaceAll(\"_\", \"/\");\n  const assetId = params.assetId?.replaceAll(\"_\", \"/\");\n  const policyViolationId = params.policyViolationId;\n  const policyViolationInstanceId = params.policyViolationInstanceId;\n  const location = useLocation();\n\n  const [selectedTab, setSelectedTab] = useState(\"attack-path\");\n  const ref = useRef();\n  const [datastoreSources, setDatastoreSources] = useState();\n  const [selectedNode, setSelectedNode] = useState();\n  const [isUSOnlyAccess, setIsUSOnlyAccess] = useState(false);\n  const policy = JSON.parse(sessionStorage.getItem(\"policy\"));\n  const [width, setWidth] = useState(0);\n  const [isPolicyDetails, setIsPolicyDetails] = useState();\n  const [policyDetails, setPolicyDetails] = useState({});\n\n  useEffect(() => {\n    if (location.pathname.includes(\"/policy-details\")) {\n      setIsPolicyDetails(true);\n      setSelectedTab(\"access\");\n    } else {\n      setIsPolicyDetails(false);\n    }\n  }, [location]);\n\n  useEffect(() => {\n    setWidth(ref?.current?.offsetWidth);\n  }, []);\n\n  useEffect(() => {\n    if (isPolicyDetails) {\n      getPolicyViolationDetails();\n    }\n  }, [isPolicyDetails]);\n\n  useEffect(() => {\n    window.addEventListener(\"resize\", getWidth);\n    return () => {\n      removeSelectedDataFlow();\n    };\n  }, []);\n\n  const getWidth = () => {\n    setWidth(ref?.current?.clientWidth);\n  };\n  const handleClick = (data) => {\n    setModalData(data);\n    setIsModal(true);\n  };\n\n  const refreshDetails = () => {\n    getPolicyViolationDetails();\n  };\n\n  const getPolicyViolationDetails = async () => {\n    dispatch(showLoading());\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationInstanceId: policyViolationInstanceId,\n    };\n    let resp = await dispatch(policyViolationDetailsAsync(payload));\n\n    if (resp || resp === null) {\n      setPolicyDetails(resp?.payload);\n      dispatch(hideLoading());\n    }\n  };\n\n  const handleCreateTicket = () => {\n    setCreateTicker(true);\n    setIsModal(false);\n    document.getElementById(\"tickets\").innerHTML = \"9\";\n    setTicket(true);\n  };\n\n  const getDatastore = async () => {\n    if (isPolicyDetails) {\n      setSelectedBar({\n        cloudAccountId:\n          policyDetails?.instanceDetails?.metadata?.cloudAccountId,\n        name: policyDetails?.instanceDetails?.dsInfo.name,\n        type: policyDetails?.instanceDetails?.dsInfo.type,\n        region: policyDetails?.instanceDetails?.dsInfo.region,\n      });\n    } else if (isPolicyDetails === false) {\n      dispatch(showLoading());\n      let url = `/datastore/instance/detail`;\n      const payload = {\n        id: datastoreId,\n        assetId: assetId,\n        customerId: getCustomerId(),\n      };\n      let res = await axiosDenaliPrivate.post(url, payload);\n      res = res?.data;\n      setSelectedBar(res);\n      dispatch(hideLoading());\n    }\n  };\n\n  const getAttackPaths = async () => {\n    try {\n      let url = `/getattackpath`;\n      dispatch(showLoading());\n      const payload = {\n        datastoreId: datastoreId, //selectedBar.name,\n        customerId: getCustomerId(),\n      };\n      let res = await axiosDenaliPrivate.post(url, payload);\n      res = res?.data;\n      setAttackPaths(res ? (Object.keys(res).length === 0 ? [] : res) : []);\n    } catch (e) {\n      setAttackPaths([]);\n      dispatch(hideLoading());\n    } finally {\n      dispatch(hideLoading());\n    }\n  };\n\n  const viewIssues = () => {\n    history.push({\n      pathname: `/vulnerabilities/${params.assetId?.replaceAll(\"/\", \"_\")}`,\n    });\n  };\n\n  useEffect(() => {\n    getDatastore();\n\n    if (isPolicyDetails === false) {\n      getAttackPaths();\n    }\n  }, [isPolicyDetails, policyDetails]);\n\n  return (\n    <BlockUi\n      tag=\"div\"\n      blocking={loading}\n      loader={\n        <Loader active type={LOADER_CONFIG.type} color={LOADER_CONFIG.color} />\n      }\n    >\n      <div id=\"details-component-main-container\" className=\"container-fluid\">\n        <div className=\"pl-3 pr-3\">\n          <div className=\"row\">\n            <div className=\"col col-sm-11 page-heading mb-2\">\n              {isPolicyDetails ? \"Policy Violations > \" : \"Data Stores > \"}\n              <span>\n                {isPolicyDetails\n                  ? policyDetails?.title\n                  : selectedBar?.name || \"\"}\n              </span>\n            </div>\n            <div className=\"col col-sm-1 top-bar-toggle-button\">\n              {/* <div className=\"float-right\">\n                <div onClick={() => setToggle(!toggle)}>\n                  <img src={arrowDown} />\n                </div>\n              </div> */}\n            </div>\n          </div>\n\n          <div className=\"row\">\n            <div className=\"col col-sm-12\">\n              {isPolicyDetails && (\n                <TopPanelPolicyViolationContainer\n                  refreshDetails={refreshDetails}\n                  policyDetails={policyDetails}\n                  policy={policy}\n                  toggle={toggle}\n                  assetId={assetId}\n                  selectedBar={selectedBar}\n                  datastoreId={datastoreId}\n                  policyViolationId={policyViolationId}\n                  setIsDatastoreIssuesModal={(val) =>\n                    setIsDatastoreIssuesModal(val)\n                  }\n                  setIsUSOnlyAccess={setIsUSOnlyAccess}\n                  selectedAccount={selectedAccount}\n                ></TopPanelPolicyViolationContainer>\n              )}\n              {isPolicyDetails === false && (\n                <TopPanelContainer\n                  toggle={toggle}\n                  assetId={assetId}\n                  selectedBar={selectedBar}\n                  datastoreId={datastoreId}\n                  // logo={getDatastoreNewIcon(selectedBar.type, selectedBar.score)}\n                  // {datastoreIcons[selectedBar.type]}\n                  setIsDatastoreIssuesModal={(val) =>\n                    setIsDatastoreIssuesModal(val)\n                  }\n                  setIsUSOnlyAccess={setIsUSOnlyAccess}\n                  refreshDetails={getDatastore}\n                ></TopPanelContainer>\n              )}\n            </div>\n          </div>\n          <div className=\"row pb-2\">\n            <div className=\"col align-self-start\">\n              <div className=\"row my-2\">\n                {/* <div className=\"col-lg-auto d-flex\">\n                  <span className=\"card-tabs\">\n                    <b className=\"p-2\">ATTACK PATHS - {attackPaths.length} </b>\n                  </span>\n                </div> */}\n\n                {/* <div\n                  className=\"col-lg-auto d-flex\"\n                  onClick={() => {\n                    selectedBar.numSecurityIssues > 0 &&\n                      setIsDatastoreIssuesModal(true);\n                  }}\n                  // onClick={() => viewIssues()}\n                >\n                  <span\n                    className={\n                      selectedBar.numSecurityIssues > 0\n                        ? \"card-tabs cursor-pointer\"\n                        : \"card-tabs-disabled\"\n                    }\n                  >\n                    <b className=\"p-2\"> SECURITY ISSUES </b>\n                  </span>\n                </div> */}\n\n                {isDatastoreIssuesModal ? (\n                  <AffectedDatastoresAndIssuesModal\n                    handleModal={() => setIsDatastoreIssuesModal(false)}\n                    assetIdValue={assetId}\n                    isSecurityIssueVisisble={true}\n                    page={\"datastore\"}\n                  />\n                ) : (\n                  \"\"\n                )}\n                {/* <div className=\"col-lg-auto p-1 mr-2\">\n                <span className=\"text-info\">\n                  <b>ISSUES - {selectedBar.num2}</b>\n                </span>{\" \"}\n              </div>\n              <div className=\"col-lg-auto p-1 mr-2\">\n                <span className=\"text-info\">\n                  <b>TICKET HISTORY - 4</b>\n                </span>{\" \"}\n              </div> */}\n              </div>\n            </div>\n            <div className=\"col align-self-end\">\n              {\" \"}\n              {/* <div className=\"float-right\">\n                {\" \"}\n                <div className=\"col-lg-auto p-1\">\n                  {\" \"}\n                  <div className=\"dropdown\">\n                    <button\n                      className=\"btn btn-light dropdown-toggle table-dropdown btn-custom\"\n                      type=\"button\"\n                      id=\"dropdownMenuButton\"\n                      data-toggle=\"dropdown\"\n                      aria-expanded=\"false\"\n                    >\n                      <span className=\"dropdown-title\">EXACT PATH</span>\n                    </button>\n                    <div\n                      className=\"dropdown-menu\"\n                      aria-labelledby=\"dropdownMenuButton\"\n                    >\n                      <a className=\"dropdown-item\" href=\"#\">\n                        Action\n                      </a>\n                    </div>\n                  </div>\n                </div>\n              </div> */}\n            </div>\n          </div>\n          {isPolicyDetails ? (\n            <>\n              {policyDetails?.instanceDetails?.livenessInfo ? (\n                <div className=\"row\">\n                  <div className=\"col-xl-5 left-panel\">\n                    <BottomPanelContainer\n                      isPolicyDetails={isPolicyDetails}\n                      policyDetails={policyDetails}\n                      createTicket={createTicket}\n                      selectedBar={selectedBar}\n                      RefreshChart={(idx, name) =>\n                        setRowIndex({ index: idx, name: name })\n                      }\n                      setCreateTicket={() => setCreateTicker(false)}\n                      attackPaths={attackPaths}\n                      datastoreSources={datastoreSources}\n                      setSelectedTab={(value) => setSelectedTab(value)}\n                      setDatastoreSources={(value) =>\n                        setDatastoreSources(value)\n                      }\n                      selectedTab={selectedTab}\n                      setIsDatastoreIssuesModal={(val) =>\n                        setIsDatastoreIssuesModal(val)\n                      }\n                      setSelectedNode={(value) => setSelectedNode(value)}\n                      isUSOnlyAccess={isUSOnlyAccess}\n                    />\n                  </div>\n                  <div className=\"col-xl-7\" ref={ref}>\n                    <div className=\"graph\">\n                      {selectedTab === \"attack-path\" ? (\n                        <>\n                          <p className=\"pl-3 pt-2\">\n                            {rowIndex.name?.replace(\"AP-\", \"\")?.toUpperCase()}\n                          </p>\n                          <DatastoreAttackPathGraph\n                            width={width}\n                            rowIndex={rowIndex}\n                            handleClick={handleClick}\n                            attackPaths={attackPaths}\n                          />\n                        </>\n                      ) : (\n                        <>\n                          <div className=\"d-flex justify-content-between\">\n                            <p className=\"pl-3 pt-2\">{rowIndex.name}</p>\n                            <div className=\"pr-3 pt-2\">\n                              Last Access On:&nbsp;\n                              {datastoreSources?.ten_minutes?.time_window_end\n                                ? moment(\n                                    moment\n                                      .utc(\n                                        datastoreSources?.ten_minutes\n                                          ?.time_window_end\n                                      )\n                                      .toDate()\n                                  )\n                                    .local()\n                                    .format(\"YYYY-MM-DD HH:mm:ss\")\n                                : \"N/A\"}\n                            </div>\n                          </div>\n                          <WorldMap\n                            isPolicyDetails={isPolicyDetails}\n                            isUSOnlyAccess={isUSOnlyAccess}\n                            selectedBar={selectedBar}\n                            assetId={\n                              isPolicyDetails\n                                ? policyDetails?.instanceDetails?.dsInfo\n                                    ?.asset_id\n                                : assetId\n                            }\n                            datastoreId={\n                              isPolicyDetails\n                                ? policyDetails?.dsId\n                                : datastoreId\n                            }\n                            selectedTab={selectedTab}\n                            datastoreSources={datastoreSources}\n                            rowIndex={rowIndex}\n                          />\n                        </>\n                      )}\n                    </div>\n                  </div>\n                </div>\n              ) : (\n                \"\"\n              )}\n            </>\n          ) : (\n            <div className=\"row\">\n              <div className=\"col-xl-5 left-panel\">\n                <BottomPanelContainer\n                  isPolicyDetails={isPolicyDetails}\n                  policyDetails={policyDetails}\n                  createTicket={createTicket}\n                  selectedBar={selectedBar}\n                  RefreshChart={(idx, name) =>\n                    setRowIndex({ index: idx, name: name })\n                  }\n                  setCreateTicket={() => setCreateTicker(false)}\n                  attackPaths={attackPaths}\n                  datastoreSources={datastoreSources}\n                  setSelectedTab={(value) => setSelectedTab(value)}\n                  setDatastoreSources={(value) => setDatastoreSources(value)}\n                  selectedTab={selectedTab}\n                  setIsDatastoreIssuesModal={(val) =>\n                    setIsDatastoreIssuesModal(val)\n                  }\n                  setSelectedNode={(value) => setSelectedNode(value)}\n                  isUSOnlyAccess={isUSOnlyAccess}\n                />\n              </div>\n              <div className=\"col-xl-7\" ref={ref}>\n                <div className=\"graph\">\n                  {selectedTab === \"attack-path\" ? (\n                    <>\n                      <p className=\"pl-3 pt-2\">\n                        {rowIndex.name?.replace(\"AP-\", \"\")?.toUpperCase()}\n                      </p>\n                      <DatastoreAttackPathGraph\n                        width={width}\n                        rowIndex={rowIndex}\n                        handleClick={handleClick}\n                        attackPaths={attackPaths}\n                      />\n                    </>\n                  ) : (\n                    <>\n                      <div className=\"d-flex justify-content-between\">\n                        <p className=\"pl-3 pt-2\">{rowIndex.name}</p>\n                        <div className=\"pr-3 pt-2\">\n                          Last Access On:&nbsp;\n                          {datastoreSources?.ten_minutes?.time_window_end\n                            ? moment(\n                                moment\n                                  .utc(\n                                    datastoreSources?.ten_minutes\n                                      ?.time_window_end\n                                  )\n                                  .toDate()\n                              )\n                                .local()\n                                .format(\"YYYY-MM-DD HH:mm:ss\")\n                            : \"N/A\"}\n                        </div>\n                      </div>\n                      <WorldMap\n                        isPolicyDetails={isPolicyDetails}\n                        isUSOnlyAccess={isUSOnlyAccess}\n                        selectedBar={selectedBar}\n                        assetId={\n                          isPolicyDetails\n                            ? policyDetails?.instanceDetails?.dsInfo?.asset_id\n                            : assetId\n                        }\n                        datastoreId={\n                          isPolicyDetails ? policyDetails?.dsId : datastoreId\n                        }\n                        selectedTab={selectedTab}\n                        datastoreSources={datastoreSources}\n                        rowIndex={rowIndex}\n                      />\n                      {/* <DatastoreAccessGraph\n                      width={width}\n                      rowIndex={rowIndex}\n                      selectedBar={selectedBar}\n                      handleClick={handleClick}\n                      datastoreSources={datastoreSources}\n                      attackPaths={attackPaths}\n                      assetId={assetId}\n                      datastoreId={datastoreId}\n                      selectedTab={selectedTab}\n                    /> */}\n                    </>\n                  )}\n\n                  {/* <p className=\"note\">\n                Click on the appropriate link to open a ticket\n              </p> */}\n                  {/* <button className=\"btn btn-light\" onClick={() => setIsModal(true)}>\n                BLOCK ACCESS\n              </button>\n              <button className=\"btn btn-light\" onClick={() => setIsModal(true)}>\n                RECONFIGURE\n              </button>\n              <button className=\"btn btn-light\" onClick={() => setIsModal(true)}>\n                PATCH ACCESS\n              </button> */}\n                </div>\n              </div>\n            </div>\n          )}\n        </div>\n        {isModal ? (\n          <Modal\n            data={modalData}\n            handleModal={() => setIsModal(false)}\n            createTicket={handleCreateTicket}\n          />\n        ) : (\n          \"\"\n        )}\n      </div>\n    </BlockUi>\n  );\n};\n\nexport default DetailsComponent;\n","export default __webpack_public_path__ + \"static/media/DocDB.82e8aa98.svg\";","export default __webpack_public_path__ + \"static/media/ElasticCache.3925bb9f.svg\";","export default __webpack_public_path__ + \"static/media/NeptuneDb.8869320e.svg\";","import React from \"react\";\nimport DetailsComponent from \"./DetailsComponent\";\n\nconst DetailsContainer = ({ setTicket, selectedAccount }) => {\n  return (\n    <DetailsComponent setTicket={setTicket} selectedAccount={selectedAccount} />\n  );\n};\n\nexport default DetailsContainer;\n","import React, { useEffect } from \"react\";\nimport DetailsContainer from \"../../components/datastore-details/DetailsContainer\";\n\n// import Resources from \"../../components/connect/resources\";\n\nconst Datastore = ({ setPath, setTicket, selectedAccount }) => {\n  useEffect(() => {\n    document.title = \"Cloud Defense - Datastore Details\";\n    setPath(window.location.pathname);\n  }, []);\n\n  return (\n    <>\n      <DetailsContainer\n        setTicket={setTicket}\n        selectedAccount={selectedAccount}\n      />\n    </>\n  );\n};\n\nexport default Datastore;\n","export default __webpack_public_path__ + \"static/media/red.942bbbf2.svg\";","export default __webpack_public_path__ + \"static/media/sky.cb9a4e26.svg\";","export default __webpack_public_path__ + \"static/media/yellow.88a53c30.svg\";","import \"./style.scss\";\n\nexport const CardWrapper = (props) => {\n  return <div className=\"card-wrapper\">{props.children}</div>;\n};\n\nexport const CardWrapperSmall = (props) => {\n  return <div className=\"card-wrapper-small\">{props.children}</div>;\n};\n","import { useTheme } from \"@mui/material\";\nimport { memo, useEffect } from \"react\";\nimport { useEdges } from \"react-flow-renderer\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { CardWrapper, CardWrapperSmall } from \"../CardWrapper.component\";\n\nconst Card = ({\n  title,\n  curve,\n  arrow,\n  score,\n  scoreClass,\n  severity,\n  selectedSeverity,\n  filterIssues,\n  seperator,\n  label,\n  disabled,\n  length,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    card: (disabled, selectedSeverity) => ({\n      cursor: disabled ? \"\" : \"pointer\",\n      height: \"100%\",\n      width: \"100%\",\n      padding: theme.spacing(1),\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      border: `1px solid ${\n        selectedSeverity\n          ? theme.palette.pictonBlue.main\n          : theme.palette.surface10.main\n      }`,\n    }),\n  };\n\n  return (\n    <>\n      {length === 5 ? (\n        <CardWrapperSmall>\n          <Box\n            sx={styles.card(disabled, selectedSeverity === severity)}\n            onClick={disabled ? () => \"\" : () => filterIssues(severity)}\n          >\n            <div\n              class={\n                severity === selectedSeverity\n                  ? \"card-body text-primary card-body-small selected-card\"\n                  : \"card-body text-primary card-body-small \"\n              }\n            >\n              <Typography color={theme.palette.surface70.main}>\n                {label}\n              </Typography>\n              <h2\n                class={\n                  severity === selectedSeverity\n                    ? `card-number ${scoreClass} risk-card-score selected-card-text`\n                    : `card-number ${scoreClass} risk-card-score `\n                }\n              >\n                {score}\n              </h2>\n            </div>\n          </Box>\n        </CardWrapperSmall>\n      ) : (\n        <CardWrapper>\n          <Box\n            sx={styles.card(disabled, selectedSeverity === severity)}\n            onClick={disabled ? () => \"\" : () => filterIssues(title)}\n          >\n            <div class=\"card border-success header-risk-card\">\n              <div class=\"card-body text-primary card-body-small\">\n                <Typography color={theme.palette.surface70.main}>\n                  {label}\n                </Typography>\n                <h2 class={`card-number ${scoreClass} risk-card-score`}>\n                  {score}\n                </h2>\n                {/* <img alt=\"\" src={curve} className=\"curve-line\" /> */}\n              </div>\n            </div>\n          </Box>\n          {/* {seperator ? <span class=\"vertical-line\"></span> : \"\"} */}\n        </CardWrapper>\n      )}\n    </>\n  );\n};\n\nexport default memo(Card);\n","export default __webpack_public_path__ + \"static/media/check-circle.6ecefe4e.svg\";","export default __webpack_public_path__ + \"static/media/half-circle-loader.bda90766.svg\";","import React, { useEffect, useState } from \"react\";\nimport checkCircle from \"../../../assets/img/icons/check-circle.svg\";\nimport halfCircleLoader from \"../../../assets/img/half-circle-loader.svg\";\n\nconst StepsCard = ({\n  title,\n  score,\n  state,\n  scoreClass,\n  stepNumberClass,\n  stepNumber,\n  key,\n  stepCompleted,\n}) => {\n  return (\n    <>\n      <div class=\"col pa-r-0 pointer d-inline-flex pb-3\" key={key}>\n        <span class={`steps-count-${state} ${stepNumberClass} text-white`}>\n          {stepNumber}\n        </span>\n\n        <div\n          class={`card iq-mb-2 card-${state} border-success header-risk-card`}\n        >\n          <div class=\"card-body text-primary card-body-small\">\n            <h6 class=\"card-title risk-card-title mb-1\">{title}</h6>\n            <h2 class={`card-number ${scoreClass} risk-card-score`}>{score}</h2>\n          </div>\n          {stepCompleted ? (\n            <img className=\"card-icon\" src={checkCircle} alt={title} />\n          ) : (\n            <img src={halfCircleLoader} className=\"card-loading-icon\" />\n          )}\n        </div>\n      </div>\n    </>\n  );\n};\n\nexport default StepsCard;\n","import REDCURVE from \"../../../assets/img/curves/red.svg\";\nimport SKYCURVE from \"../../../assets/img/curves/sky.svg\";\nimport YELLOWCURVE from \"../../../assets/img/curves/yellow.svg\";\nimport infoFilled from \"../../../assets/img/icons/ep-info-filled.svg\";\nimport Card from \"./card\";\nimport StepsCard from \"./StepsCard\";\nimport { useParams } from \"react-router-dom\";\n\nimport \"./risk-card.scss\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n  listDatastoreStats,\n  listIssuesStats,\n  firstAccountStatStatus,\n  listAssetsStats,\n  listIdentitiesStats,\n} from \"../../../redux/slices/dashboardSlice\";\nimport {\n  showLoading,\n  hideLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport {\n  getCustomerId,\n  getSelectedDatastoreAccount,\n  getSelectedIssuesAccount,\n} from \"../../../utils/SessionHelper\";\nimport Box from \"../../common/Box\";\nimport { useTheme } from \"@mui/material\";\n\nconst RiskCards = ({\n  assets,\n  identities,\n  vunerability,\n  severity,\n  filterIssues,\n  setRiskScore,\n  accountId = undefined,\n}) => {\n  const dispatch = useDispatch();\n  const theme = useTheme();\n  const firstAccountStatus = useSelector(\n    (state) => state.dashboard.firstAccountStatus\n  );\n\n  const accounts = useSelector((state) => state.account.accounts);\n  const showShadowAI = localStorage.getItem(\"showShadowAI\");\n  const params = useParams();\n  const filterName = params.filterName;\n  const userCards = [\n    {\n      id: \"TotalUsers\",\n      title: \"TOTAL USERS\",\n      label: \"USERS\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-danger\",\n      severity: \"High\",\n    },\n    {\n      id: \"TotalRoles\",\n      title: \"TOTAL ROLES\",\n      label: \"TOTAL ROLES\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: YELLOWCURVE,\n      score: 0,\n      scoreClass: \"score-moderate-level\",\n      severity: \"Medium\",\n    },\n    {\n      id: \"crossAccessUsers\",\n      title: \"CROSS ACCESS USERS\",\n      label: \"CROSS ACCESS USERS\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: \"Low\",\n    },\n    {\n      id: \"crossAccessRoles\",\n      title: \"CROSS ACCESS ROLES\",\n      label: \"CROSS ACCESS ROLES\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: SKYCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: null,\n    },\n  ];\n  const issuesCards = [\n    {\n      id: \"urgentIssues\",\n      title: \"URGENT ISSUES\",\n      label: \"URGENT\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-danger\",\n      severity: \"URGENT ISSUES\",\n    },\n    {\n      id: \"importantIssues\",\n      title: \"IMPORTANT ISSUES\",\n      label: \"IMPORTANT\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: YELLOWCURVE,\n      score: 0,\n      scoreClass: \"score-high-level\",\n      severity: \"IMPORTANT ISSUES\",\n    },\n    {\n      id: \"newIssues\",\n      title: \"NEW ISSUES\",\n      label: \"NEW\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: \"NEW ISSUES\",\n    },\n    {\n      id: \"TotalIssues\",\n      title: \"TOTAL ISSUES\",\n      label: \"TOTAL\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: SKYCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: \"TOTAL ISSUES\",\n    },\n  ];\n  const assetsCards = [\n    {\n      id: \"UrgentRisk\",\n      title: \"URGENT RISKS\",\n      label: \"URGENT RISKS\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-danger\",\n      severity: \"URGENT RISKS\",\n    },\n    {\n      id: \"Types\",\n      title: \"ASSET TYPES\",\n      label: \"ASSET TYPES\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: YELLOWCURVE,\n      score: 0,\n      scoreClass: \"score-moderate-level\",\n      severity: \"ASSET TYPES\",\n      disabled: true,\n    },\n    {\n      id: \"Location\",\n      title: \"REGIONS\",\n      label: \"REGIONS\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: \"REGIONS\",\n      disabled: true,\n    },\n    {\n      id: \"Total\",\n      title: \"TOTAL ASSETS\",\n      label: \"TOTAL ASSETS\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: SKYCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: \"TOTAL ASSETS\",\n    },\n  ];\n  const stepCardsData = [\n    {\n      id: \"TotalDataStores\",\n      stepNumber: 1,\n      stepNumberClass: \"card-number-info\",\n      title: \"TOTAL DATA STORES\",\n      label: \"TOTAL DATA STORES\",\n      score: 0,\n      state: \"enable\",\n      scoreClass: \"text-info\",\n      datastoreStatsKey: \"TotalDataStores\",\n      stepCompleted:\n        firstAccountStatus &&\n        firstAccountStatus.first_acct_classification_complete,\n    },\n    {\n      id: \"sensitiveData\",\n      stepNumber: 2,\n      stepNumberClass: \"card-number-warning\",\n      title: \"SENSITIVE DATA\",\n      label: \"SENSITIVE DATA\",\n      score: 0,\n      state: \"enable\",\n      scoreClass: \"score-moderate-level\",\n      datastoreStatsKey: \"importantRisk\",\n      stepCompleted:\n        firstAccountStatus &&\n        firstAccountStatus.first_acct_classification_complete,\n    },\n    {\n      id: \"highRiskStore\",\n      stepNumber: 3,\n      stepNumberClass: \"card-number-danger\",\n      title: \"HIGH RISK STORES\",\n      label: \"HIGH RISK STORES\",\n      score: 0,\n      state: `${\n        firstAccountStatus &&\n        firstAccountStatus.first_acct_classification_complete\n          ? \"enable\"\n          : \"disable\"\n      }`,\n      scoreClass: \"text-danger\",\n      datastoreStatsKey: \"urgentRisk\",\n      stepCompleted:\n        firstAccountStatus && firstAccountStatus.first_acct_risk_complete,\n    },\n  ];\n  const datastoresCards = [\n    {\n      id: \"sensitive\",\n      title: \"SENSITIVE\",\n      label: \"SENSITIVE DATA\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-danger\",\n      severity: \"sensitive\",\n      seperator: true,\n    },\n    {\n      id: \"shadow\",\n      title: \"SHADOW\",\n      label: \"SHADOW DATASTORES\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: SKYCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: \"SHADOW\",\n      seperator: false,\n    },\n    {\n      id: \"shadowAI\",\n      title: \"SHADOW AI\",\n      label: \"SHADOW AI\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: YELLOWCURVE,\n      score: 0,\n      scoreClass: \"score-moderate-level\",\n      severity: \"SHADOW_AI\",\n      seperator: true,\n    },\n    {\n      id: \"urgentRisk\",\n      title: \"URGENT RISK\",\n      label: \"URGENT RISK\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 0,\n      scoreClass: \"text-danger\",\n      severity: \"URGENT_RISK\",\n      seperator: false,\n    },\n    {\n      id: \"managed\",\n      title: \"MANAGED\",\n      label: \"MANAGED\",\n      arrow: \"ri-arrow-up-line text-info mr-1\",\n      curve: SKYCURVE,\n      score: 0,\n      scoreClass: \"text-info\",\n      severity: \"MANAGED\",\n      seperator: false,\n    },\n  ];\n  const llmDatastoresCards = [\n    {\n      id: \"llms\",\n      title: \"MANAGED\",\n      label: \"MANAGED\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 3,\n      scoreClass: \"text-danger\",\n      severity: \"LLMs\",\n      seperator: true,\n    },\n    {\n      id: \"sensitive_data\",\n      title: \"SENSITIVE\",\n      label: \"SENSITIVE DATA\",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: SKYCURVE,\n      score: 4,\n      scoreClass: \"text-info\",\n      severity: \"sensitive_data\",\n      seperator: false,\n    },\n    {\n      id: \"shadowAI\",\n      title: \"SHADOW \",\n      label: \"SHADOW \",\n      arrow: \"ri-arrow-down-line text-info mr-1\",\n      curve: YELLOWCURVE,\n      score: 1,\n      scoreClass: \"score-moderate-level\",\n      severity: \"SHADOW_AI\",\n      seperator: true,\n    },\n    {\n      id: \"vectorDBs\",\n      title: \"VECTOR DB\",\n      label: \"VECTOR DB\",\n      arrow: \"ri-arrow-up-line text-danger mr-1\",\n      curve: REDCURVE,\n      score: 1,\n      scoreClass: \"text-danger\",\n      severity: \"VECTOR_DB\",\n      seperator: false,\n    },\n    {\n      id: \"policy-violations\",\n      title: \"POLICY VIOLATIONS\",\n      label: \"POLICY VIOLATIONS\",\n      arrow: \"ri-arrow-up-line text-info mr-1\",\n      curve: SKYCURVE,\n      score: 4,\n      scoreClass: \"text-info\",\n      severity: \"POLICY_VIOLATIONS\",\n      seperator: false,\n    },\n  ];\n  const [stepCards, setStepCards] = useState(stepCardsData);\n  const [scoreCards, setScoreCards] = useState(\n    filterName ? datastoresCards : llmDatastoresCards\n  );\n  const datastoreStats = useSelector((state) => state.dashboard.datastoreStats);\n  const issuesStats = useSelector((state) => state.dashboard.issuesStats);\n  const assetsStats = useSelector((state) => state.dashboard.assetsStats);\n  const identitiesStats = useSelector(\n    (state) => state.dashboard.identitiesStats\n  );\n\n  const getFirstAccountStats = () => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n\n    dispatch(firstAccountStatStatus(payload));\n  };\n\n  const getCloudAccountId = (selectedAccountId, accountFromStorage) => {\n    if (accountId) {\n      return selectedAccountId\n        ? selectedAccountId === \"all\"\n          ? null\n          : selectedAccountId\n        : accountFromStorage\n        ? accountFromStorage.value === \"all\"\n          ? null\n          : accountFromStorage.value\n        : accountId === \"all\"\n        ? null\n        : accountId;\n    } else {\n      return null;\n    }\n  };\n\n  const getStats = async (selectedAccountId) => {\n    const query = new URLSearchParams(window.location.search);\n    const location = query.get(\"region\");\n\n    dispatch(showLoading());\n    const selectedDsAccount = getSelectedDatastoreAccount();\n    const selectedIssueAccount = getSelectedIssuesAccount();\n\n    if (assets) {\n      await dispatch(\n        listAssetsStats({\n          customerId: getCustomerId(),\n          cloudAccountId: getCloudAccountId(\n            selectedAccountId,\n            selectedIssueAccount\n          ),\n        })\n      );\n    } else if (identities) {\n      await dispatch(\n        listIdentitiesStats({\n          customerId: getCustomerId(),\n          cloudAccountId: getCloudAccountId(\n            selectedAccountId,\n            selectedIssueAccount\n          ),\n        })\n      );\n    } else if (vunerability) {\n      await dispatch(\n        listIssuesStats({\n          customerId: getCustomerId(),\n          cloudAccountId: getCloudAccountId(\n            selectedAccountId,\n            selectedIssueAccount\n          ),\n        })\n      );\n    } else {\n      await dispatch(\n        listDatastoreStats({\n          customerId: getCustomerId(),\n          location: location,\n          cloudAccountId: getCloudAccountId(\n            selectedAccountId,\n            selectedDsAccount\n          ),\n        })\n      );\n    }\n    dispatch(hideLoading());\n  };\n\n  const getAccountName = () => {\n    if (accounts && accounts.length > 0) {\n      return accounts[0].id;\n    }\n    return \"\";\n  };\n\n  // useEffect(async () => {\n  //   if (!datastoreStats || !issuesStats) getStats();\n  // }, [vunerability]);\n\n  useEffect(() => {\n    let firstAccountInterval = null;\n    if (!firstAccountStatus?.first_acct_risk_complete && !accountId) {\n      getFirstAccountStats();\n      firstAccountInterval = setInterval(() => {\n        getFirstAccountStats();\n      }, 30000);\n    }\n    const intervalCall = setInterval(() => {\n      getStats();\n    }, 30000);\n    return () => {\n      // clean up\n      clearInterval(intervalCall);\n      if (firstAccountInterval) {\n        clearInterval(firstAccountInterval);\n      }\n    };\n  }, []);\n\n  useEffect(() => {\n    if (accountId) {\n      getStats(accountId);\n    }\n  }, [accountId]);\n\n  useEffect(() => {\n    console.log(scoreCards, \"scoreCards\");\n  }, [scoreCards]);\n\n  const dStats = () => {\n    if (datastoreStats && !vunerability) {\n      for (let key in datastoreStats) {\n        if (datastoreStats.hasOwnProperty(key)) {\n          let val = datastoreStats[key];\n          let index = datastoresCards.findIndex((item) => item.id === key);\n          if (datastoresCards[index]) {\n            datastoresCards[index].score = val;\n          }\n\n          if (\n            firstAccountStatus &&\n            !firstAccountStatus.first_acct_risk_complete\n          ) {\n            let index = stepCardsData.findIndex(\n              (item) => item.datastoreStatsKey === key\n            );\n            if (stepCardsData[index]) {\n              stepCardsData[index].score = val;\n            }\n          }\n        }\n      }\n\n      let updatedDatastoreCard = [...datastoresCards];\n      if (showShadowAI == \"false\") {\n        updatedDatastoreCard = updatedDatastoreCard.filter(\n          (card) => card.id !== \"shadowAI\"\n        );\n      }\n      setScoreCards([...updatedDatastoreCard]);\n      setStepCards([...stepCardsData]);\n    }\n  };\n\n  const iStats = () => {\n    if (issuesStats && vunerability) {\n      for (let key in issuesStats) {\n        if (issuesStats.hasOwnProperty(key)) {\n          let val = issuesStats[key];\n          let index = issuesCards.findIndex((item) => item.id === key);\n          issuesCards[index].score = val;\n        }\n      }\n      setScoreCards([...issuesCards]);\n    }\n  };\n\n  const aStats = () => {\n    for (let key in assetsStats) {\n      if (assetsStats.hasOwnProperty(key)) {\n        let val = assetsStats[key];\n        let index = assetsCards.findIndex((item) => item.id === key);\n        assetsCards[index].score = val;\n      }\n    }\n    setScoreCards([...assetsCards]);\n  };\n\n  const uStats = () => {\n    for (let key in identitiesStats) {\n      if (identitiesStats.hasOwnProperty(key)) {\n        let val = identitiesStats[key];\n        let index = userCards.findIndex((item) => item.id === key);\n\n        if (userCards[index]) {\n          userCards[index].score = val;\n        }\n      }\n    }\n    setScoreCards(userCards);\n  };\n\n  useEffect(() => {\n    if (filterName && filterName === \"SHADOW_AI\") {\n      setScoreCards(llmDatastoresCards);\n    } else {\n      dStats();\n    }\n  }, [datastoreStats]);\n\n  useEffect(() => {\n    iStats();\n  }, [issuesStats]);\n\n  useEffect(() => {\n    aStats();\n  }, [assetsStats]);\n\n  useEffect(() => {\n    if (assets) {\n      aStats();\n    } else if (vunerability) {\n      iStats();\n    } else {\n      dStats();\n    }\n  }, [vunerability, assets]);\n\n  const styles = {\n    cardsContainer: {\n      display: \"flex\",\n      width: \"100%\",\n      gap: theme.spacing(2),\n    },\n  };\n\n  return (\n    <div class=\"row\">\n      {firstAccountStatus?._id && accounts.length > 0 ? (\n        <div class=\"col-lg-12\">\n          {firstAccountStatus &&\n          !firstAccountStatus?.first_acct_risk_complete &&\n          !accountId ? (\n            <div class=\"row risk-card-container\">\n              {stepCards.map((card, index) => (\n                <StepsCard\n                  title={card.title}\n                  curve={card.curve}\n                  score={card.score}\n                  state={card.state}\n                  scoreClass={card.scoreClass}\n                  stepNumberClass={card.stepNumberClass}\n                  stepNumber={card.stepNumber}\n                  key={index}\n                  stepCompleted={card.stepCompleted}\n                  label={card.label}\n                />\n              ))}\n\n              <div class=\"col-lg-5 pb-3\">\n                <div className=\"discovering-text d-inline-flex\">\n                  {/* <div className=\"ml-3 vr-line\" /> */}\n                  <img src={infoFilled} className=\"align-self-start\" />\n                  <div>\n                    {firstAccountStatus?.first_acct_classification_complete ? (\n                      <p className=\" \">\n                        We are discovering Issues Attack Paths to your Topology.\n                        Based on our discoveries, Cloud Defense ranks each Data\n                        Store’s Risk by the Sensitivity of Data, Risk of Issues\n                        and how many Attack Paths lead to the Data Store.\n                      </p>\n                    ) : (\n                      <p className=\" \">\n                        {`Cloud Defense is discovering Data Stores in the Account:\n                      ${getAccountName()}. The Data Stores will be displayed below in\n                      the order of discovery. We discover the Store Name, Type,\n                      Location and other meta data.`}\n                      </p>\n                    )}\n                    {/* <button type=\"button\" class=\"btn btn-primary\">\n                    NOTIFY ME WHEN DONE\n                  </button> */}\n                  </div>\n                </div>\n              </div>\n            </div>\n          ) : (\n            <Box sx={styles.cardsContainer}>\n              {scoreCards.map((card, index) => (\n                <Card\n                  title={card.title}\n                  curve={card.curve}\n                  score={card.score}\n                  arrow={card.arrow}\n                  seperator={card.seperator}\n                  scoreClass={card.scoreClass}\n                  key={index}\n                  selectedSeverity={severity}\n                  severity={card.severity}\n                  filterIssues={filterIssues}\n                  label={card.label}\n                  disabled={card.disabled}\n                  length={scoreCards.length}\n                />\n              ))}\n            </Box>\n          )}\n        </div>\n      ) : (\n        <div></div>\n      )}\n    </div>\n  );\n};\n\nexport default RiskCards;\n","import React, { useEffect, useState } from \"react\";\nimport RiskCards from \"../../components/cards/risk-cards\";\nimport Select from \"react-select\";\nimport { useSelector } from \"react-redux\";\nimport Box from \"../common/Box\";\n\nconst Cards = ({\n  filterIssues,\n  selectedAccount,\n  setSelectedAccount,\n  inputText,\n  severity,\n  setInputText,\n}) => {\n  const [accountList, setAccountList] = useState([\n    { value: \"all\", label: \"All\" },\n  ]);\n  const accounts = useSelector((state) => state.account.accounts);\n\n  useEffect(() => {\n    if (accounts && accounts.length > 0) {\n      setAccountList([\n        { value: \"all\", label: \"All\" },\n        ...accounts.map((account) => {\n          return { value: account.id, label: account.id };\n        }),\n      ]);\n    }\n  }, [accounts]);\n\n  return (\n    <Box>\n      <Box className=\"row align-items-center\">\n        {/*<div className=\"col-12 col-md-12 col-xl-4 mb-2 page-heading\">*/}\n        {/* {\"DATA STORES > \"} */}\n        {/* <span className=\"text-info\">{\"DATA STORE OVERVIEW\"}</span> */}\n        {/*</div>*/}\n        {/* <div className=\"col-12 col-md-12 col-xl-8 mb-2\">\n          <div className=\"row justify-content-xl-end\">\n            <div className=\"col-auto\">\n              <b className=\"page-heading align-middle fs-14\">\n                ACCOUNT FILTER :\n              </b>\n            </div>\n            <div className=\"col-auto\">\n              <Select\n                options={accountList}\n                classNamePrefix=\"accounts-dropdown\"\n                placeholder=\"Select Account\"\n                defaultValue={accountList.length > 0 && accountList[0]}\n                value={\n                  accountList.find(\n                    (element) => element.value === selectedAccount.value\n                  )\n                    ? selectedAccount\n                    : accountList[0]\n                }\n                onChange={(value) => setSelectedAccount(value)}\n                isSearchable={false}\n              />\n            </div>\n           \n          </div>\n        </div> */}\n      </Box>\n\n      <div className=\"row\">\n        <div className=\"col-sm-12\">\n          <RiskCards\n            severity={severity}\n            filterIssues={filterIssues}\n            accountId={selectedAccount ? selectedAccount.value : undefined}\n          />\n        </div>\n      </div>\n    </Box>\n  );\n};\n\nexport default Cards;\n","import { useTheme } from \"@mui/material\";\nimport MUIPagination from \"@mui/material/Pagination\";\nimport Box from \"./Box\";\n\nexport const Pagination = (props) => {\n  const theme = useTheme();\n  const styles = {\n    paginationContainer: {\n      display: \"flex\",\n      justifyContent: \"end\",\n      marginTop: theme.spacing(1.5),\n    },\n  };\n  return (\n    <Box sx={styles.paginationContainer}>\n      <MUIPagination {...props} defaultPage={1} />\n    </Box>\n  );\n};\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport DatastoreTicketModal from \"../../modal/datastore-ticket-modal/DatastoreTicketModal\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport { deleteTicketAsync } from \"../../../redux/slices/ticketSlice\";\nimport { policyNotifyAsync } from \"../../../redux/slices/policySlice\";\n\nimport {\n  LOADER_CONFIG,\n  REACT_APP_DATASTORE_API,\n} from \"../../../utils/Constants\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nconst PolicyDetails = ({ currentPosts, ticketDetail, getBulkTicketDetail }) => {\n  const policy = JSON.parse(sessionStorage.getItem(\"policy\"));\n  const [ticketModal, setTicketModal] = useState(false);\n  const [loading, setLoading] = useState(false);\n  const history = useHistory();\n  const dispatch = useDispatch();\n\n  const updatePolicy = (policy) => {\n    sessionStorage.setItem(\"policy\", JSON.stringify(policy));\n    history.push(\"/settings/policy-settings/\" + policy.id);\n  };\n\n  const deleteTicket = async (selectedAccount) => {\n    setLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationId: policy?.id ? policy?.id : null,\n    };\n    let resp = await dispatch(deleteTicketAsync(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.success.message);\n      getBulkTicketDetail();\n      setLoading(false);\n    } else {\n      setLoading(false);\n    }\n  };\n\n  const bulkNotify = async () => {\n    setLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationId: policy?.id ? policy?.id : null,\n    };\n    let resp = await dispatch(policyNotifyAsync(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.success.message);\n      // getBulkTicketDetail();\n      setLoading(false);\n    } else {\n      setLoading(false);\n    }\n  };\n\n  return (\n    <BlockUi\n      tag=\"div\"\n      blocking={loading}\n      loader={\n        <Loader active type={LOADER_CONFIG.type} color={LOADER_CONFIG.color} />\n      }\n    >\n      <div className=\"policy-details mb-4 p-3\">\n        <div className=\"row\">\n          <div className=\"col-4\">\n            <div className=\"row policy-details-section align-items-center\">\n              <div className=\"col col-md-12 col-lg-12  mb-2\">\n                <span className=\"policy-details-title\">Policy Name</span>\n                <br></br>\n                <span className=\"policy-details-description\">\n                  {policy?.title}\n                </span>\n              </div>\n              <div className=\"col col-md-12 col-lg-12 mt-2\">\n                <button\n                  type=\"button\"\n                  className=\"btn modal-button-simple btn-primary m-1 mr-3\"\n                  onClick={() => {\n                    updatePolicy(policy);\n                  }}\n                >\n                  Edit Policy\n                </button>\n                {ticketDetail && ticketDetail?.ticketExist && (\n                  <button\n                    type=\"button\"\n                    onClick={() => {\n                      window.open(ticketDetail.url);\n                    }}\n                    className=\"btn modal-button-simple btn-primary \"\n                  >\n                    Ticket Details\n                  </button>\n                )}\n                {ticketDetail && !ticketDetail?.ticketExist && (\n                  <>\n                    {policy?.actionType === \"notify/archive\" ? (\n                      <button\n                        type=\"button\"\n                        onClick={() => {\n                          bulkNotify();\n                        }}\n                        disabled={\n                          currentPosts.length > 0 &&\n                          ticketDetail?.ticketIntegration !== false\n                            ? false\n                            : true\n                        }\n                        className=\"btn modal-button-simple btn-primary\"\n                      >\n                        Bulk Notify\n                      </button>\n                    ) : (\n                      <button\n                        type=\"button\"\n                        onClick={() => {\n                          setTicketModal(true);\n                        }}\n                        disabled={\n                          currentPosts.length > 0 &&\n                          ticketDetail?.ticketIntegration !== false\n                            ? false\n                            : true\n                        }\n                        className=\"btn modal-button-simple btn-primary\"\n                      >\n                        Create Bulk Ticket\n                      </button>\n                    )}\n                  </>\n                )}\n              </div>\n            </div>\n          </div>\n          <div className=\"col-8\">\n            <div className=\"row\">\n              {policy?.description && policy?.description !== \"null\" && (\n                <div className=\"col col-md-12 col-lg-12  mb-2\">\n                  <span className=\"policy-details-title\">Description</span>\n                  <br></br>\n                  <span className=\"policy-details-description\">\n                    {policy?.description}\n                  </span>\n                </div>\n              )}\n              {policy?.remediation && policy?.remediation !== \"null\" && (\n                <div className=\"col col-md-12 col-lg-12  mb-2\">\n                  <span className=\"policy-details-title\">Remediation</span>\n                  <br></br>\n                  <span className=\"policy-details-description\">\n                    {policy?.remediation}\n                  </span>\n                </div>\n              )}\n            </div>\n          </div>\n        </div>\n\n        {ticketModal && (\n          <DatastoreTicketModal\n            type=\"bulk\"\n            ticketDetail={ticketDetail}\n            getBulkTicketDetail={getBulkTicketDetail}\n            policyViolationId={policy.id}\n            handleModal={() => setTicketModal(false)}\n          />\n        )}\n      </div>\n    </BlockUi>\n  );\n};\n\nexport default PolicyDetails;\n","import React, { useEffect, useState } from \"react\";\nimport \"./style.scss\";\nimport { useDispatch } from \"react-redux\";\nimport { listSensitiveData } from \"../../../redux/slices/dataStoreSlice.js\";\n\nimport { datastoreIcons } from \"../../../utils/styles\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../../common/Table\";\nimport Typography from \"../../common/Typography\";\nimport { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\n\nconst SensitiveData = ({ selectedAccount, setSensitiveFilter, region }) => {\n  const dispatch = useDispatch();\n  const theme = useTheme();\n\n  const [data, setData] = useState([]);\n\n  const getDatastoreStats = async () => {\n    const resp = await dispatch(\n      listSensitiveData({\n        customerId: getCustomerId(),\n        cloudAccountId:\n          selectedAccount.value === \"all\" ? null : selectedAccount.value,\n        region: region ? region : undefined,\n      })\n    );\n    if (resp && resp.payload) {\n      setData(resp.payload);\n    }\n  };\n\n  useEffect(() => {\n    getDatastoreStats();\n  }, [selectedAccount]);\n\n  const styles = {\n    card: {\n      borderRadius: theme.spacing(0.5),\n      backgroundColor: theme.palette.surface10.main,\n    },\n    cardHeader: {\n      padding: theme.spacing(2),\n    },\n  };\n\n  const tags = {\n    \"PII-SSN\": \"Social Security Numbers\",\n    \"PII-CC\": \"Credit Cards\",\n    \"PII-MN\": \"Mobile Numbers\",\n    \"PII-PHONE\": \"Mobile Numbers\",\n    \"PII-ADDRESS\": \"Street Addresses\",\n    \"PII-IP\": \"IP Addresses\",\n    \"PII-EMAILS\": \"Emails\",\n    \"PII-EMAIL\": \"Email\",\n    \"PII-DL\": \"Drivers Licenses\",\n    \"PII-NAMES\": \"Names\",\n    \"PII-NAME\": \"Name\",\n    \"PII-AADHAR\": \"Aadhar Card Numbers\",\n    \"PII-EUA\": \"EU Street Addresses\",\n    \"PII-NIH\": \"NIH Numbers\",\n  };\n\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.cardHeader}>\n        <Typography color={theme.palette.surface60.main} variant=\"caption\">\n          Sensitive Data\n        </Typography>\n      </Box>\n\n      <TableContainer>\n        <Table>\n          <table className={`mb-0 pb-3 table table-border-less table-hover`}>\n            {/*<thead>\n                  <tr className=\"vuls-row\">\n                    <th scope=\"col\">Tag</th>\n                    <th scope=\"col\">Count</th>\n                    <th scope=\"col\" className=\"table-header\">\n                      Datastores\n                    </th>\n                  </tr>\n                </thead>*/}\n            <TableHead>\n              <TableRow>\n                <TableCell>Tag</TableCell>\n                <TableCell>Count</TableCell>\n                <TableCell align=\"right\">Datastores</TableCell>\n              </TableRow>\n            </TableHead>\n\n            {data && data.length ? (\n              <TableBody>\n                {data.map(function (item, idx) {\n                  return (\n                    <TableRow\n                      key={idx}\n                      onClick={() => setSensitiveFilter(item.tag)}\n                    >\n                      <TableCell>\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface60.main}\n                        >\n                          {tags[item.tag]}\n                        </Typography>\n                      </TableCell>\n                      <TableCell>\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface60.main}\n                        >\n                          {item.count}\n                        </Typography>\n                      </TableCell>\n                      <TableCell align=\"right\">\n                        <span className=\"mr-4\">{item.datastores}</span>\n                        <img src={datastoreIcons[\"generic\"]} />\n                      </TableCell>\n                    </TableRow>\n                  );\n                })}\n              </TableBody>\n            ) : (\n              \"\"\n            )}\n          </table>\n        </Table>\n      </TableContainer>\n    </Box>\n  );\n};\n\nexport default SensitiveData;\n","var _path, _path2, _path3, _path4, _path5;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgRds(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 21,\n    height: 24,\n    viewBox: \"0 0 21 24\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M-0.000244141 18.6971L2.4584 21.619L2.67947 21.3527V2.66328L2.4584 2.38086L-0.000244141 5.30175V18.6971Z\",\n    fill: \"#132762\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M2.45898 21.6178L7.15691 23.9997L7.35231 23.6808L7.35551 0.249563L7.1602 0L2.45898 2.37426V21.6178Z\",\n    fill: \"#2646A0\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M21.0002 5.30175L18.5409 2.38086L18.2659 2.4692L18.3205 21.3805L18.5409 21.619L21.0002 18.6974V5.30175Z\",\n    fill: \"#3260E5\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M13.8425 23.9997L18.5405 21.6178V2.37426L13.8392 0L13.6169 0.30505L13.6201 23.653L13.8425 23.9997Z\",\n    fill: \"#4474FB\"\n  })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M7.15991 0H13.8392V24H7.15991V0Z\",\n    fill: \"#3260E5\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgRds);\nexport default __webpack_public_path__ + \"static/media/rds.057fb2d9.svg\";\nexport { ForwardRef as ReactComponent };","var _line, _circle;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgSize(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 6,\n    height: 9,\n    viewBox: \"0 0 6 9\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _line || (_line = /*#__PURE__*/React.createElement(\"line\", {\n    x1: 3,\n    y1: 0.5,\n    x2: 3,\n    y2: 8.5,\n    stroke: \"#6F717D\",\n    strokeLinecap: \"round\"\n  })), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 3,\n    cy: 4.5,\n    r: 2,\n    fill: \"#6F717D\",\n    stroke: \"#6F717D\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSize);\nexport default __webpack_public_path__ + \"static/media/size.737b03f8.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgRadio(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 16,\n    height: 16,\n    viewBox: \"0 0 16 16\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M8 1.23077C4.26146 1.23077 1.23077 4.26146 1.23077 8C1.23077 11.7385 4.26146 14.7692 8 14.7692C11.7385 14.7692 14.7692 11.7385 14.7692 8C14.7692 4.26146 11.7385 1.23077 8 1.23077ZM0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8Z\",\n    fill: \"#E0C2FF\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M8 11.5556C6.03632 11.5556 4.44444 9.96368 4.44444 8C4.44444 6.03632 6.03632 4.44444 8 4.44444C9.96368 4.44444 11.5556 6.03632 11.5556 8C11.5556 9.96368 9.96368 11.5556 8 11.5556Z\",\n    fill: \"#E0C2FF\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgRadio);\nexport default __webpack_public_path__ + \"static/media/radio.62a0a95e.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgArrow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 11,\n    height: 12,\n    viewBox: \"0 0 11 12\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_3191_11600)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M2.54108 11.3114C2.29588 11.06 2.29588 10.6524 2.54108 10.4009L6.43997 6.40317C6.65521 6.18247 6.65521 5.81753 6.43997 5.59683L2.54108 1.59906C2.29588 1.34763 2.29588 0.939992 2.54108 0.688568C2.78629 0.437143 3.18384 0.437143 3.42905 0.688568L7.32794 4.68634C8.03359 5.40989 8.03359 6.59011 7.32794 7.31366L3.42905 11.3114C3.18384 11.5629 2.78629 11.5629 2.54108 11.3114Z\",\n    fill: \"#3D61FF\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_3191_11600\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 11,\n    height: 11,\n    fill: \"white\",\n    transform: \"translate(11 0.5) rotate(90)\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrow);\nexport default __webpack_public_path__ + \"static/media/arrow.24fd6e94.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgArrowDown(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 15,\n    height: 8,\n    viewBox: \"0 0 15 8\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    opacity: 0.7,\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M0.257139 0.464646C0.59999 0.130274 1.15586 0.130275 1.49871 0.464646L6.95022 5.78131C7.25118 6.07483 7.74882 6.07483 8.04978 5.78131L13.5013 0.464648C13.8441 0.130277 14.4 0.130277 14.7429 0.464648C15.0857 0.799019 15.0857 1.34114 14.7429 1.67551L9.29135 6.99217C8.30469 7.95443 6.69531 7.95443 5.70864 6.99217L0.257138 1.67551C-0.0857131 1.34114 -0.085713 0.799017 0.257139 0.464646Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowDown);\nexport default __webpack_public_path__ + \"static/media/arrow-down.95a721a0.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgS3(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 24,\n    height: 24,\n    viewBox: \"0 0 24 24\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M3.03601 3.89001V20.11L6.34801 19.372V4.50802L3.03601 3.89001Z\",\n    fill: \"#6484E0\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M14.167 0.44397H9.672L9.884 23.606H14.167V0.44397Z\",\n    fill: \"#3260E5\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M9.67204 0.44397L6.34804 2.17997V21.778L9.88404 23.606L9.67204 0.44397ZM1.49304 4.50797V19.492L3.03604 20.11V3.88997L1.49304 4.50797Z\",\n    fill: \"#2646A0\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M14.167 23.606V0.44397L17.703 2.21697V21.899L14.167 23.606Z\",\n    fill: \"#507BF7\"\n  })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M17.703 4.52002V19.38L20.892 20.11V3.89001L17.703 4.52002Z\",\n    fill: \"#2646A0\"\n  })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M20.892 3.89001V20.11L22.534 19.266V4.64301L20.892 3.89001Z\",\n    fill: \"#3260E5\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgS3);\nexport default __webpack_public_path__ + \"static/media/s3.9bd328ed.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgElasticCache(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 24,\n    viewBox: \"0 0 20 24\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M0.064209 16.2191L9.99999 24L19.9359 16.2191L9.99968 14.9838L0.064209 16.2191Z\",\n    fill: \"#94ACF1\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10 0L0 7.78055L9.93555 9.01594L20 7.78094L10 0Z\",\n    fill: \"#132762\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10 0L0 4.96805V7.78094L10 4.80008V0Z\",\n    fill: \"#3260E5\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M0 19.0319L10 24V19.1998L0 16.2194V19.0319Z\",\n    fill: \"#3260E5\"\n  })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10.0001 15.6292L5.66675 14.9944V9.05402L10.0001 8.42902L10.1024 8.62683L10.0916 15.4314L10.0001 15.6292Z\",\n    fill: \"#3260E5\"\n  })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10 0V4.80008L20 7.78094V4.96805L10 0Z\",\n    fill: \"#6484E0\"\n  })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10 19.1998V24L20 19.0319V16.2194L10 19.1998Z\",\n    fill: \"#6484E0\"\n  })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10 15.6292L14.3334 14.9944V9.05402L10 8.42902V15.6292Z\",\n    fill: \"#6484E0\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgElasticCache);\nexport default __webpack_public_path__ + \"static/media/elastic-cache.afd665f7.svg\";\nexport { ForwardRef as ReactComponent };","import MUIDivider, { DividerProps } from '@mui/material/Divider';\n\nconst Divider = (props: DividerProps) => {\n  return <MUIDivider {...props} />;\n};\n\nexport default Divider;\n","import React, { useEffect, useState } from \"react\";\nimport \"./style.scss\";\nimport { ReactComponent as RDSIcon } from \"./icons/rds.svg\";\nimport { ReactComponent as SizeIcon } from \"./icons/size.svg\";\nimport { ReactComponent as RadioIcon } from \"./icons/radio.svg\";\nimport { ReactComponent as ArrowIcon } from \"./icons/arrow.svg\";\nimport { ReactComponent as ArrowDownIcon } from \"./icons/arrow-down.svg\";\n\nimport { ReactComponent as S3Icon } from \"./icons/s3.svg\";\nimport { ReactComponent as ElasticCacheIcon } from \"./icons/elastic-cache.svg\";\n\nimport { getDataStoresStatsApi } from \"../../../apis/index.js\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { datastoreIcons } from \"../../../utils/styles\";\nimport { useTheme } from \"@mui/material\";\nimport Typography from \"../../common/Typography\";\nimport Box from \"../../common/Box\";\nimport Divider from \"../../common/Divider\";\n\nconst DataOverview = ({ selectedAccount, region }) => {\n  const [data, setData] = useState([]);\n  const [maxSize, setMaxSize] = useState(0);\n  const [totalSize, setTotalSize] = useState(0);\n  const [totalCount, setTotalCount] = useState(0);\n  const theme = useTheme();\n\n  const getDatastoreStats = async () => {\n    let payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n      location: region ? region : null,\n    };\n\n    let res = await getDataStoresStatsApi(payload);\n    console.log(res);\n    if (!res.datastores) return;\n    const types = res.datastores.types;\n    setData(types);\n\n    let count = 0;\n    let maxSize = 0;\n    let totalSize = 0;\n    let totalCount = 0;\n\n    for (let i of types) {\n      count += 1;\n      maxSize =\n        maxSize < parseInt(i.size.split(\" \")[0])\n          ? parseInt(i.size.split(\" \")[0])\n          : maxSize;\n\n      totalSize += parseInt(i.size.split(\" \")[0]);\n      totalCount += parseInt(i.count);\n    }\n    setMaxSize(maxSize);\n    setTotalSize(totalSize);\n    setTotalCount(totalCount);\n  };\n\n  useEffect(() => {\n    getDatastoreStats();\n  }, [selectedAccount]);\n\n  const styles = {\n    card: {\n      backgroundColor: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      borderRadius: theme.spacing(0.5),\n    },\n    dataCount: { fontFamily: \"Manrope\", fontSize: \"28px\" },\n    cardContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    contentRow: {\n      //display: \"flex\",\n      //flexDirection: \"column\",\n      //gap: theme.spacing(2),\n      display: \"grid\",\n      gridTemplateColumns: \"50% 50%\",\n      gridColumnGap: theme.spacing(2),\n      gridRowGap: theme.spacing(2),\n    },\n    numberText: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(0.5),\n    },\n  };\n\n  return (\n    <Box sx={styles.card}>\n      <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n        Data Overview\n      </Typography>\n      <Box sx={styles.cardContainer}>\n        <Typography color={theme.palette.surface70.main} sx={styles.dataCount}>\n          {totalCount}\n        </Typography>\n        <Divider />\n        <Box sx={styles.contentRow}>\n          {data &&\n            data.map((d, index) => (\n              <Box sx={styles.numberText}>\n                <img\n                  className=\"icon\"\n                  src={\n                    datastoreIcons[d.datastoreType]\n                      ? datastoreIcons[d.datastoreType]\n                      : datastoreIcons[\"generic\"]\n                  }\n                />\n                <Typography variant=\"body2\">{d?.count}</Typography>\n                <Typography variant=\"caption\">{d?.datastoreType}</Typography>\n              </Box>\n            ))}\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default DataOverview;\n","export default __webpack_public_path__ + \"static/media/llmIcon.1f6cbf08.svg\";","import React, { useEffect, useState } from \"react\";\nimport \"./style.scss\";\nimport { useDispatch } from \"react-redux\";\nimport { listSensitiveData } from \"../../../redux/slices/dataStoreSlice.js\";\nimport LlmIcon from \"../../../assets/img/v1-icons/llmIcon.svg\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\n\nconst SensitiveData = ({ selectedAccount, setSensitiveFilter, region }) => {\n  const dispatch = useDispatch();\n\n  const [data, setData] = useState([]);\n\n  const shadowData = [\n    {\n      count: 39234,\n      llms: 4,\n      tag: \"PII-SSN\",\n      tagType: \"scanner\",\n    },\n    {\n      count: 63313,\n      llms: 4,\n      tag: \"PII-CC\",\n      tagType: \"scanner\",\n    },\n    {\n      count: 143644,\n      llms: 4,\n      tag: \"PII-DL\",\n      tagType: \"scanner\",\n    },\n  ];\n\n  const getDatastoreStats = async () => {\n    // const resp = await dispatch(\n    //   listSensitiveData({\n    //     customerId: getCustomerId(),\n    //     cloudAccountId:\n    //       selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    //     region: region ? region : undefined,\n    //   })\n    // );\n    // if (resp && resp.payload) {\n    //   //   setData(resp.payload);\n    // }\n    setData(shadowData);\n  };\n\n  useEffect(() => {\n    getDatastoreStats();\n  }, [selectedAccount]);\n\n  const tags = {\n    \"PII-SSN\": \"Social Security Numbers\",\n    \"PII-CC\": \"Credit Cards\",\n    \"PII-MN\": \"Mobile Numbers\",\n    \"PII-PHONE\": \"Mobile Numbers\",\n    \"PII-ADDRESS\": \"Street Addresses\",\n    \"PII-IP\": \"IP Addresses\",\n    \"PII-EMAILS\": \"Emails\",\n    \"PII-EMAIL\": \"Email\",\n    \"PII-DL\": \"Drivers Licenses\",\n    \"PII-NAMES\": \"Names\",\n    \"PII-AADHAR\": \"Aadhar Card Numbers\",\n    \"PII-EUA\": \"EU Street Addresses\",\n    \"PII-NIH\": \"NIH Numbers\",\n  };\n\n  return (\n    <div className=\"llm-sensitive-data-container\">\n      <h6>Sensitive Data </h6>\n      <div className=\"sensitive-table\">\n        <div className=\"table-responsive\">\n          <table className={`mb-0  table table-border-less table-hover`}>\n            <thead>\n              <tr className=\"vuls-row\">\n                <th scope=\"col\">Tag</th>\n                <th scope=\"col\">Count</th>\n                <th scope=\"col\" className=\"table-header\">\n                  Llms\n                </th>\n              </tr>\n            </thead>\n\n            {data && data.length ? (\n              <tbody>\n                {data.map(function (item, idx) {\n                  return (\n                    <tr\n                      key={idx}\n                      className=\"datastores-row\"\n                      onClick={() => setSensitiveFilter(item.tag)}\n                    >\n                      <td className=\"tag\">\n                        <div className=\"wrap-with-ellipsis\">\n                          {tags[item.tag]}\n                        </div>\n                      </td>\n                      <td className=\"count\">{item.count}</td>\n                      <td className=\"datastores\">\n                        <span className=\"mr-2\">{item.llms}</span>\n                        <img src={LlmIcon} width=\"25\" />\n                      </td>\n                    </tr>\n                  );\n                })}\n              </tbody>\n            ) : (\n              \"\"\n            )}\n          </table>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default SensitiveData;\n","import React, { useEffect, useState } from \"react\";\nimport \"./style.scss\";\nimport { getDataStoresStatsApi } from \"../../../apis/index.js\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport {\n  TableContainer,\n  Table,\n  TableHead,\n  TableBody,\n  TableRow,\n  TableCell,\n} from \"../../common/Table\";\n\nconst DataOverview = ({ selectedAccount, region }) => {\n  const [data, setData] = useState([]);\n\n  const shadowOverviewData = [\n    {\n      name: \"gpt2\",\n      count: 2,\n    },\n    { name: \"cerebras/Cerebras-GPT-590M\", count: 1 },\n    { name: \"falcon-7b-bf16\", count: 1 },\n  ];\n\n  const getDatastoreStats = async () => {\n    let payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n      location: region ? region : null,\n    };\n\n    let res = await getDataStoresStatsApi(payload);\n    if (!res.datastores) return;\n    const types = res.datastores.types;\n    setData(types);\n  };\n\n  useEffect(() => {\n    getDatastoreStats();\n  }, [selectedAccount]);\n\n  return (\n    <div className=\"llm-data-container\">\n      <div className=\"sensitive-table\">\n        <div className=\"sensitive-table\">\n          <div className=\"table-responsive\">\n            {/*<table className={`mb-0 table table-border-less table-hover`}>\n              <thead>\n                <tr className=\"vuls-row\">\n                  <th scope=\"col\">Name</th>\n                  <th scope=\"col\" className=\"table-header\">\n                    Count\n                  </th>\n                </tr>\n              </thead>*/}\n            <TableContainer>\n              <Table>\n                <TableHead>\n                  <TableCell>Name</TableCell>\n                  <TableCell>Count</TableCell>\n                </TableHead>\n\n                {shadowOverviewData && shadowOverviewData.length ? (\n                  <TableBody>\n                    {shadowOverviewData.map(function (item, idx) {\n                      return (\n                        <TableRow key={idx}>\n                          <TableCell> {item.name}</TableCell>\n                          <TableCell>{item.count}</TableCell>\n                        </TableRow>\n                      );\n                    })}\n                  </TableBody>\n                ) : (\n                  \"\"\n                )}\n              </Table>\n            </TableContainer>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default DataOverview;\n","export default __webpack_public_path__ + \"static/media/managed.e16a643a.svg\";","export default __webpack_public_path__ + \"static/media/shadow.6acc1ea2.svg\";","export default __webpack_public_path__ + \"static/media/resources.cae94536.svg\";","import React, { useEffect } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4charts from \"@amcharts/amcharts4/charts\";\nimport Managed from \"../../../assets/img/v1-icons/managed.svg\";\nimport Shadow from \"../../../assets/img/v1-icons/shadow.svg\";\nimport Resources from \"../../../assets/img/v1-icons/resources.svg\";\n\nam4core.addLicense(\"ch-custom-attribution\");\n\nconst ShadowDataPieChart = ({ cloudEnvIssues }) => {\n  const shadowData = [\n    {\n      title: \"managed\",\n      issueCount: 1,\n      src: Managed,\n    },\n    {\n      title: \"self-managed\",\n      issueCount: 2,\n      src: Resources,\n    },\n    {\n      title: \"shadow\",\n      issueCount: 1,\n      src: Shadow,\n    },\n  ];\n  const loadChart = (barId = null) => {\n    const dummyData = [\n      {\n        title: \"Dummy\",\n\n        issueCount: 100,\n        disabled: true,\n        count: 100,\n        color: am4core.color(\"#ffffff14\"),\n        opacity: 0.3,\n        strokeDasharray: \"4,4\",\n        tooltip: \"\",\n      },\n    ];\n    // Create chart instance\n    var chart = am4core.create(\"pie-chart-2\", am4charts.PieChart);\n    chart.paddingTop = 20;\n    chart.paddingBottom = 20;\n    chart.paddingLeft = 20;\n    chart.paddingRight = 20;\n\n    var pieSeries = chart.series.push(new am4charts.PieSeries());\n    pieSeries.dataFields.value = \"issueCount\";\n    pieSeries.dataFields.category = \"title\";\n\n    pieSeries.slices.template.propertyFields.fill = \"color\";\n\n    // Disable tooltips\n    pieSeries.slices.template.strokeWidth = 1;\n    pieSeries.hiddenState.properties.opacity = 1;\n    pieSeries.hiddenState.properties.endAngle = -90;\n    pieSeries.hiddenState.properties.startAngle = -90;\n\n    let label = pieSeries.createChild(am4core.Label);\n    label.text = \"Data\";\n\n    // label\n    label.fill = am4core.color(\"white\");\n    label.horizontalCenter = \"middle\";\n    label.verticalCenter = \"middle\";\n    label.fontSize = 14;\n\n    // Let's cut a hole in our Pie chart the size of 40% the radius\n    chart.innerRadius = am4core.percent(40);\n    chart.radius = am4core.percent(100);\n    chart.fill = am4core.color(\"#A955FF\");\n\n    pieSeries.slices.template.propertyFields.fill = \"color\";\n\n    pieSeries.ticks.template.disabled = true;\n    pieSeries.alignLabels = false;\n    pieSeries.labels.template.adapter.add(\"html\", function (disabled, target) {\n      if (target.dataItem?.dataContext.issueCount > 0) {\n        return `<img width=\"20px\" height=\"20px\" src=\"{src}\" />`;\n      }\n    });\n\n    pieSeries.labels.template.adapter.add(\n      \"disabled\",\n      function (disabled, target) {\n        if (target.dataItem?.dataContext.issueCount === 0) {\n          return true;\n        }\n      }\n    );\n\n    pieSeries.labels.template.html = `<img width=\"20px\" height=\"20px\" src=\"{src}\" />`;\n    pieSeries.labels.template.radius = am4core.percent(-20);\n    pieSeries.labels.template.fill = am4core.color(\"white\");\n    pieSeries.slices.template.tooltipHTML = \"<b>{title}</b> ({issueCount})\";\n\n    // Disable tooltips\n    pieSeries.slices.template.strokeWidth = 1;\n\n    // Add a legend\n    const checkIssueCount = () => {\n      const issue = (value) => value.issueCount > 0;\n      return cloudEnvIssues.some(issue);\n    };\n\n    // Add data\n\n    if (shadowData && shadowData.length > 0) {\n      chart.data = shadowData;\n    } else {\n      chart.data = dummyData;\n      // pieSeries.labels.template.html = \"\";\n      // pieSeries.slices.template.tooltipText = \"\";\n      // pieSeries.slices.template.tooltipHTML = \"\";\n      // pieSeries.labels.template.disabled = true;\n    }\n  };\n\n  useEffect(() => {\n    loadChart();\n  }, [cloudEnvIssues]);\n\n  return (\n    <div>\n      <div id=\"pie-chart-2\" style={{ height: \"275px\", width: \"100%\" }}></div>\n    </div>\n  );\n};\n\nexport default ShadowDataPieChart;\n","export const trainingDataList = [\n  {\n    FileName: \"training.json\",\n    Location: \"s3://sagemaker-us-east-1-099873896856/training.json\",\n    Source: \"Configured\",\n    sensitive_labels: \"SSN, PII, ADDRESS\",\n    size: \"4.16 GB\",\n    type: \"s3\",\n    training_date: \"2023-05-10T04:32:36.491000\",\n    policy_violation: true,\n    account: \"099873896856\",\n    count: 4,\n  },\n  {\n    FileName: \"training_2.json\",\n    Location: \"s3://sagemaker-us-east-1-099873896856/training_2.json\",\n    Source: \"Configured\",\n    sensitive_labels: \"SSN, PII, ADDRESS\",\n    size: \"2.45 GB\",\n    type: \"s3\",\n    training_date: \"2023-05-15T04:32:36.491000\",\n    policy_violation: true,\n    account: \"099873896856\",\n    count: 3,\n  },\n  {\n    FileName: \"training_3.json\",\n    Location: \"s3://sagemaker-us-east-1-099873896856/training_3.json\",\n    Source: \"Configured\",\n    sensitive_labels: \"SSN, PII, ADDRESS\",\n    size: \"6.34 GB\",\n    type: \"s3\",\n    training_date: \"2023-06-10T04:32:36.491000\",\n    policy_violation: true,\n    account: \"099873896856\",\n    count: 3,\n  },\n  // {\n  //   FileName: \"training_4.json\",\n  //   Location: \"s3://sagemaker-us-east-1-099873896856/training_4.json\",\n  //   Source: \"Live Access\",\n  //   sensitive_labels: \"SSN, PII, ADDRESS\",\n  //   size: \"5.3 GB\",\n  //   type: \"s3\",\n  //   training_date: \"2023-06-09T04:32:36.491000\", account: \"099873896856\",\n  // },\n  // {\n  //   FileName: \"training_5.json\",\n  //   Location: \"s3://sagemaker-us-east-1-099873896856/training_5.json\",\n  //   Source: \"Live Access\",\n  //   sensitive_labels: \"SSN, PII, ADDRESS\",\n  //   size: \"1.12 GB\",\n  //   type: \"s3\",\n  //   training_date: \"2023-07-04T04:32:36.491000\", account: \"099873896856\",\n  // },\n  {\n    FileName: \"training_6.json\",\n    Location: \"s3://sagemaker-us-east-1-099873896856/training_6.json\",\n    Source: \"Access Path\",\n    sensitive_labels: \"SSN, PII, ADDRESS\",\n    size: \"2.16 GB\",\n    type: \"s3\",\n    training_date: \"2023-07-05T04:32:36.491000\",\n    account: \"099873896856\",\n    count: 1,\n  },\n];\n\nexport const newTrainingData = [\n  {\n    modelName: \"falcon-1b-bf16\",\n    modelId: \"613b3494-83be-4e32-a242-ae0f59d9249f\",\n    version: \"V.0.0.1\",\n    trainingDataDetails: [\n      {\n        sourceName: \"training.json\",\n        location: \"\",\n        source: \"\",\n        account: \"\",\n        cloud: \"\",\n        count: \"\",\n        redirectTo:\n          \"/datastore-details/3f672f44-f1ab-4923-a1b3-3d25c327a0fe/arn:aws:s3:::role-data-bucket\",\n        sensitive_labels: \"SSN, PII, ADDRESS\",\n        size: \"4.16 GB\",\n        training_date: \"2023-05-10T04:32:36.491000\",\n        type: \"s3\",\n      },\n    ],\n  },\n  {\n    modelName: \"falcon-1b-bf16 v1\",\n    modelId: \"613b3494-83be-4e32-a242-ae0f59d9249f\",\n    version: \"V.0.0.1\",\n    trainingDataDetails: [\n      {\n        sourceName: \"training.json\",\n        location: \"s3://sagemaker-us-east-1-099873896856/training.json\",\n        source: \"Configured\",\n        account: \"099873896856\",\n        cloud: \"\",\n        count: 3,\n        redirectTo:\n          \"/datastore-details/3f672f44-f1ab-4923-a1b3-3d25c327a0fe/arn:aws:s3:::role-data-bucket\",\n        sensitive_labels: \"SSN, PII, ADDRESS\",\n        size: \"4.16 GB\",\n        training_date: \"2023-05-10T04:32:36.491000\",\n        type: \"s3\",\n      },\n      {\n        sourceName: \"training1.json\",\n        location: \"s3://sagemaker-us-east-1-099873896856/training.json\",\n        source: \"Configured\",\n        account: \"099873896856\",\n        cloud: \"\",\n        count: 3,\n        redirectTo:\n          \"/datastore-details/3f672f44-f1ab-4923-a1b3-3d25c327a0fe/arn:aws:s3:::role-data-bucket\",\n        sensitive_labels: \"SSN, PII, ADDRESS\",\n        size: \"4.16 GB\",\n        training_date: \"2023-05-10T04:32:36.491000\",\n        type: \"s3\",\n      },\n    ],\n  },\n  {\n    modelName: \"falcon-1b-bf16 final\",\n    modelId: \"613b3494-83be-4e32-a242-ae0f59d9249f\",\n    version: \"V.0.0.1\",\n    trainingDataDetails: [\n      {\n        sourceName: \"training.json\",\n        location: \"\",\n        source: \"\",\n        account: \"\",\n        cloud: \"\",\n        count: \"\",\n        redirectTo:\n          \"/datastore-details/3f672f44-f1ab-4923-a1b3-3d25c327a0fe/arn:aws:s3:::role-data-bucket\",\n        sensitive_labels: \"SSN, PII, ADDRESS\",\n        size: \"4.16 GB\",\n        training_date: \"2023-05-10T04:32:36.491000\",\n        type: \"s3\",\n      },\n    ],\n  },\n];\n","import React, { useEffect, useState } from \"react\";\nimport \"./style.scss\";\nimport { useDispatch } from \"react-redux\";\nimport { listSensitiveData } from \"../../../redux/slices/dataStoreSlice.js\";\nimport LlmIcon from \"../../../assets/img/v1-icons/llmIcon.svg\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { trainingDataList } from \"../../../components/shadow-llm/training_data\";\n\nconst SensitiveData = ({ selectedAccount, setSensitiveFilter, region }) => {\n  const dispatch = useDispatch();\n\n  const [data, setData] = useState([]);\n\n  const getDatastoreStats = async () => {\n    // const resp = await dispatch(\n    //   listSensitiveData({\n    //     customerId: getCustomerId(),\n    //     cloudAccountId:\n    //       selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    //     region: region ? region : undefined,\n    //   })\n    // );\n    // if (resp && resp.payload) {\n    //     setData(resp.payload);\n    // }\n    setData(trainingDataList);\n  };\n\n  useEffect(() => {\n    getDatastoreStats();\n  }, [selectedAccount]);\n\n  return (\n    <div className=\"llm-sensitive-data-container\">\n      <h6>Most Used Datastores </h6>\n      <div className=\"sensitive-table\">\n        <div className=\"table-responsive\">\n          <table className={`mb-0  table table-border-less table-hover`}>\n            <thead>\n              <tr className=\"vuls-row\">\n                <th scope=\"col\">Datastore</th>\n                <th scope=\"col\">Account</th>\n                <th scope=\"col\" className=\"table-header\">\n                  Llm\n                </th>\n              </tr>\n            </thead>\n\n            {data && data.length ? (\n              <tbody>\n                {data.map(function (item, idx) {\n                  return (\n                    <tr\n                      key={idx}\n                      className=\"datastores-row\"\n                      onClick={() => setSensitiveFilter(item.tag)}\n                    >\n                      <td className=\"tag\">\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item.Location}\n                        >\n                          {item.FileName}\n                        </div>\n                      </td>\n                      <td className=\"count\">{item.account}</td>\n                      <td className=\"datastores\">\n                        <span className=\"mr-2\">{item.count}</span>\n                        <img src={LlmIcon} width=\"25\" />\n                      </td>\n                    </tr>\n                  );\n                })}\n              </tbody>\n            ) : (\n              \"\"\n            )}\n          </table>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default SensitiveData;\n","export const CLOUD_ENV = \"/vulnerabilities/cloud-env/\";\nexport const DATASTORE_DETAILS = \"/datastore-details/\";\nexport const POLICY_SETTINGS = \"/settings/policy-settings/\";\nexport const POLICY_DETAILS = \"/policy-details/\";\nexport const DATASTORE = \"/datastore\";\nexport const DATA_LOADER_DETAILS = \"/data-loader/\";\nexport const APPLICATION_DETAILS = \"/application/\";\nexport const ALL_DATA_LOADERS_PAGE = \"/data-loaders/\";\nexport const ALL_APPLICATIONS_PAGE = \"/applications/\";\nexport const ALL_FINDINGS_PAGE = \"/findings\";\nexport const ALL_USERS_PAGE = \"/users\";\n","import SearchIcon from \"@mui/icons-material/Search\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport { IconButton, Input, useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\n\nconst Search = ({\n  placeholder,\n  value,\n  onClear,\n  onChange,\n  onKeyDown,\n  onSearch,\n  width,\n}: {\n  placeholder: string;\n  value: string;\n  onChange?: (e) => void;\n  onClear?: (e) => void;\n  onKeyDown?: (e) => void;\n  onSearch?: (e) => void;\n  width?: string;\n}) => {\n  const theme = useTheme();\n\n  const styles = {\n    container: { width: width || \"250px\", position: \"relative\" },\n    input: {\n      ml: 1,\n      flex: 1,\n      width: \"100%\",\n      fontSize: \"12px\",\n      \"&.MuiInputBase-root\": {\n        color: theme.palette.surface70.main,\n        marginLeft: 0,\n      },\n      \"&.MuiInput-underline\": {\n        borderBottom: `1px solid ${theme.palette.surface20.main}`,\n      },\n    },\n    iconButton: {\n      position: \"absolute\",\n      top: 0,\n      right: \"-8px\",\n      height: \"100%\",\n    },\n    search: {\n      color: theme.palette.surface80.main,\n      height: \"20px\",\n      width: \"20px\",\n    },\n  };\n\n  return (\n    <Box sx={styles.container}>\n      <Input\n        sx={styles.input}\n        value={value}\n        placeholder={placeholder}\n        inputProps={{ \"aria-label\": placeholder }}\n        onChange={onChange}\n        onKeyDown={onKeyDown}\n      />\n      <IconButton type=\"button\" sx={styles.iconButton} aria-label=\"search\">\n        {!value ? (\n          <SearchIcon sx={styles.search} />\n        ) : (\n          <CloseIcon sx={styles.search} onClick={onClear} />\n        )}\n      </IconButton>\n    </Box>\n  );\n};\n\nexport default Search;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\n\nexport const CardWrapper = ({ children, sx }, props) => {\n  const theme = useTheme();\n  const styles = {\n    commonBox: {\n      backgroundColor: theme.palette.surface10?.main,\n      padding: theme.spacing(2.5),\n      borderRadius: 1,\n      width: \"100%\",\n    },\n  };\n\n  return <Box sx={{ ...sx, ...styles?.commonBox }}>{children}</Box>;\n};\n","import React, { useEffect, useState } from \"react\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { getDataStoresApi, getDataStoresApiV2 } from \"../../apis/index.js\";\nimport Cards from \"../../components/datastore/cards\";\nimport DatastoreTable from \"../../components/datastore/table\";\nimport { Pagination } from \"../../components/common/Pagination\";\nimport { LOADER_CONFIG, REACT_APP_DATASTORE_API } from \"../../utils/Constants\";\nimport { addIndex } from \"../../utils/dataHandler.js\";\nimport { useLocation, useParams } from \"react-router-dom\";\nimport PolicyDetails from \"../../components/datastore/policy/PolicyDetails.jsx\";\nimport { useDispatch } from \"react-redux\";\nimport { getBulkTicketAsync } from \"../../redux/slices/ticketSlice\";\nimport Toggle from \"react-toggle\";\nimport \"react-toggle/style.css\"; // for ES6 modules\nimport {\n  getCustomerId,\n  getSelectedDatastoreAccount,\n  setSelectedDatastoreAccount,\n} from \"../../utils/SessionHelper\";\nimport \"./datastoreView.scss\";\nimport SensitiveData from \"../../components/datastore/dataInventory/sensitive-data.jsx\";\nimport DataOverview from \"../../components/datastore/dataInventory/data-overview.jsx\";\nimport ShadowSensitiveData from \"../../components/datastore/dataInventory/ShadowSensitiveData.jsx\";\nimport ShadowDataOverview from \"../../components/datastore/dataInventory/ShadowDataOverview.jsx\";\nimport ShadowDataPieChart from \"../../components/datastore/dataInventory/ShadowDataPieChart.jsx\";\nimport MosstUsedDataStores from \"../../components/datastore/dataInventory/MostUsedDataStores.jsx\";\nimport { DATASTORE } from \"../../routes/constants\";\nimport { useHistory } from \"react-router-dom\";\nimport Typography from \"../../components/common/Typography\";\nimport Box from \"../../components/common/Box\";\nimport { useTheme } from \"@mui/material\";\nimport Search from \"../../components/common/Search\";\nimport { CardWrapper } from \"../../components/common/CardWrapper\";\nimport NoData from \"../../components/common/NoData\";\n\nconst Datastore = ({ setPath, tab, selectedAccount }) => {\n  const defaultAccount = getSelectedDatastoreAccount() || {\n    value: \"all\",\n    label: \"All\",\n  };\n  const limit = 10;\n  const params = useParams();\n  const filterName = params.filterName;\n  const history = useHistory();\n  const [page, setPage] = useState(1);\n  const [inputText, setInputText] = useState(\"\");\n  const [currentPosts, setCurrentPosts] = useState([]);\n  const [severity, setSeverity] = useState(filterName ? filterName : null);\n  const [sensitiveFilter, setSensitiveFilter] = useState(null);\n  const [loading, setLoading] = useState(false);\n  const [sortField, setSortField] = useState(\"cdDatastoreRiskScore\");\n  const [sortType, setSortType] = useState(\"desc\");\n  const [totalDatastoresCount, setTotalDatastoresCount] = useState(0);\n  const [search, setSearch] = useState(null);\n  const [ticketDetail, setTicketDetail] = useState();\n  const policyViolationId = params.policyViolationId;\n  const dispatch = useDispatch();\n  const [shadowAIFilter, setShadowAIFilter] = useState(false);\n  const query = new URLSearchParams(window.location.search);\n  const location = query.get(\"region\");\n  const [queryParams, setQueryParams] = useState({});\n  const locationPath = useLocation();\n  const theme = useTheme();\n\n  const shadowDemoData = [\n    {\n      cdDatastoreRiskScore: 0,\n      name: \"cerebras/Cerebras-GPT-590M\",\n      administrator: null,\n      type: \"llm\",\n      \"metadata.cloudAccountId\": \"099873896856\",\n      \"metadata.createdAt\": \"2023-07-28 11:02:30.720000\",\n      size: \"4.5389 GB\",\n      mountLocation: \"/data/home/model_data\",\n      datastoreId: \"c562a45a-4ec5-4ed0-8f44-c1e467cb4d3a\",\n      assetId:\n        \"arn:aws:ec2:us-east-1:099873896856:instance/i-081f271c3fdd6a72e\",\n      attackstatus: false,\n      indirectAttackStatus: false,\n      sensitiveInfo: [\n        { count: 2079, name: \"social_security_numbers\" },\n        { count: 10012, name: \"credit_cards\" },\n        { count: 16349, name: \"drivers_licenses\" },\n        { count: 27250, name: \"mobile_numbers\" },\n      ],\n      datastoreType: \"shadow\",\n    },\n    {\n      cdDatastoreRiskScore: 0.0,\n      name: \"falcon-7b-bf16\",\n      administrator: null,\n      type: \"llm\",\n      \"metadata.cloudAccountId\": \"099873896856\",\n      \"metadata.createdAt\": \"2023-07-13 16:15:06.168000\",\n      size: \"14.69 GB\",\n      mountLocation: \"\",\n      datastoreId: \"25c33b99-7719-4444-5555-ba4ee28539e3\",\n      assetId:\n        \"arn:aws:ec2:ap-northeast-2:099873896856:instance/i-03dfaeb24d515251f\",\n      attackstatus: false,\n      indirectAttackStatus: false,\n      sensitiveInfo: [\n        { count: 2079.0, name: \"social_security_numbers\" },\n        { count: 10012.0, name: \"credit_cards\" },\n        { count: 16349.0, name: \"drivers_licenses\" },\n        { count: 27250.0, name: \"mobile_numbers\" },\n      ],\n      datastoreType: \"managed\",\n    },\n    {\n      cdDatastoreRiskScore: 0,\n      name: \"gpt2\",\n      administrator: null,\n      type: \"llm\",\n      \"metadata.cloudAccountId\": \"099873896856\",\n      \"metadata.createdAt\": \"2023-07-28 11:11:53.400000\",\n      size: \"1.021 GB\",\n      mountLocation: \"/data/home/model_data\",\n      datastoreId: \"7cd5c0fa-4321-4f89-bd9b-e9979b823c30\",\n      assetId:\n        \"arn:aws:ec2:us-east-1:099873896856:instance/i-05f66db16bae61bb0\",\n      attackstatus: false,\n      indirectAttackStatus: false,\n      sensitiveInfo: [\n        { count: 1526, name: \"social_security_numbers\" },\n        { count: 28081, name: \"credit_cards\" },\n        { count: 27566, name: \"drivers_licenses\" },\n        { count: 25019, name: \"mobile_numbers\" },\n      ],\n      datastoreType: \"self-managed\",\n    },\n    {\n      cdDatastoreRiskScore: 0,\n      name: \"gpt2\",\n      administrator: null,\n      type: \"llm\",\n      \"metadata.cloudAccountId\": \"099873896856\",\n      \"metadata.createdAt\": \"2023-07-13 16:18:20.576000\",\n      size: \"1.021 GB\",\n      mountLocation: \"/data/home/model_data\",\n      datastoreId: \"ff4cda8a-8662-4d1f-b064-01175974f84a\",\n      assetId:\n        \"arn:aws:ec2:us-east-1:099873896856:instance/i-04b488e9f94a0d175\",\n      attackstatus: false,\n      indirectAttackStatus: false,\n      sensitiveInfo: [\n        { count: 1204, name: \"social_security_numbers\" },\n        { count: 35049, name: \"credit_cards\" },\n        { count: 63818, name: \"drivers_licenses\" },\n        { count: 3351, name: \"mobile_numbers\" },\n      ],\n      datastoreType: \"self-managed\",\n    },\n  ];\n\n  const handleSensitiveFilter = (val) => {\n    setSensitiveFilter(val);\n    setSeverity(\"sensitive\");\n  };\n\n  const handleSeverity = (type) => {\n    if (type === severity) {\n      if (filterName === \"SHADOW_AI\") {\n        setSeverity(\"AI\");\n      } else {\n        setSeverity(\"all\");\n      }\n    } else {\n      setSensitiveFilter(null);\n      if (shadowAIFilter && type === \"SHADOW_AI\") {\n        setSeverity(\"AI\");\n      } else {\n        setSeverity(type);\n      }\n    }\n    setPage(1);\n  };\n\n  useEffect(() => {\n    const params = new URLSearchParams(window.location.search);\n    const tab = params.get(\"tab\");\n    const searchQuery = params.get(\"search\");\n    if (searchQuery) {\n      setSearch(searchQuery);\n    }\n    if (tab) {\n      setSeverity(tab);\n    }\n    setQueryParams({ tab, searchQuery });\n  }, [locationPath]);\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Datastores\";\n    setPath(window.location.pathname);\n  }, []);\n\n  const availableKeywords = [\n    \"cddatastoreriskscore\",\n    \"score\",\n    \"riskScore\",\n    \"name\",\n    \"type\",\n    \"mountlocation\",\n    \"location\",\n    \"size\",\n  ];\n  const getSearchField = (keyword, field, search) => {\n    if (availableKeywords.includes(keyword.toLowerCase())) {\n      return field;\n    } else {\n      return search;\n    }\n  };\n  const getKeywordField = (keyword) => {\n    if (availableKeywords.includes(keyword.toLowerCase())) {\n      return keyword;\n    } else {\n      return null;\n    }\n  };\n\n  const getDatastores = async () => {\n    const params = new URLSearchParams(window.location.search);\n    const tab = params.get(\"tab\");\n    const searchQuery = params.get(\"search\");\n    setLoading(true);\n    const cloudAccountId =\n      selectedAccount.value === \"all\" ? null : selectedAccount.value;\n\n    let payload = {\n      customerId: getCustomerId(),\n      limit: limit,\n      page: page,\n      cloudAccountId: cloudAccountId,\n      ordering: sortField,\n      severity:\n        tab ||\n        queryParams.tab ||\n        (!severity ||\n        severity.includes(\"TOTAL DATA STORES\") ||\n        severity === \"all\"\n          ? null\n          : severity.replaceAll(\" \", \"_\")),\n      policyViolationId: policyViolationId ? policyViolationId : null,\n    };\n    if (location) {\n      payload.location = location;\n    }\n    const search_ =\n      search && search.includes(\":\")\n        ? getSearchField(search.split(\":\")[0], search.split(\":\")[1], search)\n        : search;\n    const keyword_ =\n      search && search.includes(\":\")\n        ? getKeywordField(search.split(\":\")[0])\n        : null;\n\n    if (REACT_APP_DATASTORE_API === \"OPENSEARCH\") {\n      let severity_ =\n        !severity ||\n        severity.includes(\"TOTAL DATA STORES\") ||\n        severity === \"all\"\n          ? null\n          : severity.includes(\"SENSITIVE\")\n          ? \"sensitive\"\n          : severity.replaceAll(\" \", \"_\");\n      payload = {\n        customerId: getCustomerId(),\n        q: searchQuery || queryParams.searchQuery || search_,\n        dataset: \"datastores\",\n        exact: false,\n        page: page,\n        limit: limit,\n        ordering: sortField,\n        sortType: sortType,\n        cloudAccountId: cloudAccountId,\n        severity: severity_ || tab || queryParams.tab,\n        sensitiveFilter: sensitiveFilter,\n        policyViolationId: policyViolationId ? policyViolationId : null,\n      };\n\n      if (location) {\n        payload.location = location;\n      }\n      if (keyword_) {\n        payload.keyword = keyword_;\n      }\n    }\n\n    let res =\n      REACT_APP_DATASTORE_API === \"OPENSEARCH\"\n        ? await getDataStoresApiV2(payload)\n        : await getDataStoresApi(payload);\n\n    if (res.err) {\n      setLoading(false);\n      return;\n    }\n\n    if (!res.data) {\n      setLoading(false);\n    } else {\n      setTotalDatastoresCount(res.total_pages);\n      res = addIndex(res.data);\n      if (filterName === \"SHADOW_AI\" && severity !== \"SHADOW_AI\") {\n        //custom frontend filter function\n        getFilteredData(res);\n      } else {\n        setCurrentPosts(res);\n      }\n      setLoading(false);\n    }\n  };\n\n  const getFilteredData = () => {\n    switch (severity) {\n      case \"VECTOR_DB\":\n        setCurrentPosts([]);\n        setTotalDatastoresCount(0);\n\n        break;\n      case \"LLMs\":\n        setCurrentPosts(\n          shadowDemoData.filter(\n            (data) =>\n              data.datastoreType === \"managed\" ||\n              data.datastoreType === \"self-managed\"\n          )\n        );\n        setTotalDatastoresCount(3);\n        break;\n      case \"sensitive_data\":\n        setCurrentPosts(shadowDemoData);\n        setTotalDatastoresCount(shadowDemoData?.length);\n        break;\n      default:\n        setTotalDatastoresCount(shadowDemoData?.length);\n        setCurrentPosts(shadowDemoData);\n    }\n  };\n\n  const sortData = (field) => {\n    if (field === sortField && sortType === \"asc\") {\n      setSortType(\"desc\");\n    } else if (field === sortField && sortType === \"desc\") {\n      setSortType(\"asc\");\n    } else {\n      setSortType(\"desc\");\n    }\n\n    setSortField(field);\n    setPage(1);\n  };\n\n  const getBulkTicketDetail = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      policyViolationId: policyViolationId ? policyViolationId : null,\n      host: window.location.host,\n    };\n    const resp = await dispatch(getBulkTicketAsync(payload));\n    if (resp && resp.payload) {\n      setTicketDetail(resp.payload);\n    } else {\n      setTicketDetail();\n    }\n  };\n\n  useEffect(() => {\n    setPage(1);\n    setSelectedDatastoreAccount(selectedAccount);\n  }, [selectedAccount]);\n\n  useEffect(() => {\n    if (\n      page ||\n      selectedAccount ||\n      sortField ||\n      severity ||\n      sortType ||\n      sensitiveFilter ||\n      queryParams.tab ||\n      queryParams.searchQuery\n    )\n      getDatastores();\n  }, [\n    page,\n    selectedAccount,\n    sortField,\n    severity,\n    sortType,\n    sensitiveFilter,\n    queryParams,\n  ]);\n\n  useEffect(() => {\n    sessionStorage.setItem(\"page\", page);\n  }, [page]);\n\n  const constructPathAndRedirect = () => {\n    let baseURL = `${DATASTORE}?`;\n    if (severity && severity !== \"all\") {\n      baseURL += `tab=${severity}&`;\n    }\n    if (search) {\n      baseURL += `search=${search}`;\n    }\n    history.push(baseURL);\n  };\n\n  const makeSearch = (ev) => {\n    ev.preventDefault();\n    constructPathAndRedirect();\n    getDatastores();\n  };\n\n  useEffect(() => {\n    if (severity) {\n      constructPathAndRedirect();\n    }\n  }, [severity]);\n\n  const refreshDatastores = () => {\n    getDatastores();\n  };\n\n  // useEffect(() => {\n  //   return () => {\n  //     sessionStorage.removeItem(\"policy name\");\n  //     sessionStorage.removeItem(\"policy id\");\n  //   };\n  // }, []);\n\n  useEffect(() => {\n    if (policyViolationId) {\n      getBulkTicketDetail();\n    }\n  }, [policyViolationId]);\n\n  const toggleShadowAIFilter = () => {\n    if (!shadowAIFilter) {\n      setShadowAIFilter(true);\n      setSeverity(\"AI\");\n    }\n    if (shadowAIFilter) {\n      setShadowAIFilter(false);\n      setSeverity(\"SHADOW_AI\");\n    }\n  };\n\n  const onClear = () => setSearch(\"\");\n\n  const styles = {\n    pageContainer: {},\n    breadcrumb: {\n      padding: theme.spacing(2),\n      paddingTop: 0,\n    },\n    cardHeader: {\n      paddingBottom: theme.spacing(1),\n    },\n    topCardPanel: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    sensitiveCardContainer: {\n      width: \"60%\",\n    },\n    dataOverviewCard: {\n      width: \"40%\",\n    },\n    cardTitle: {\n      fontSize: \"13px\",\n      fontWeight: theme.typography.fontWeightMedium,\n    },\n    pageContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      marginBottom: theme.spacing(2),\n    },\n    tableCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: 3,\n    },\n  };\n\n  return (\n    <div id=\"datastores\">\n      <div className=\"row align-items-center\">\n        <Typography\n          color={theme.palette.surface100.main}\n          variant=\"body2\"\n          sx={styles.breadcrumb}\n        >\n          {!policyViolationId\n            ? filterName === \"SHADOW_AI\"\n              ? \"AI > \"\n              : \"Data Stores > \"\n            : \"Policy Violations > \"}\n          <span className=\"text-info\">Overview</span>\n        </Typography>\n      </div>\n      {!policyViolationId ? (\n        <>\n          {filterName === \"SHADOW_AI\" ? (\n            <>\n              <Cards\n                severity={severity}\n                filterIssues={(type) => {\n                  setPage(1);\n\n                  handleSeverity(type);\n                }}\n                selectedAccount={selectedAccount}\n                inputText={inputText}\n                setInputText={setInputText}\n              />\n              <div className=\"modal-inventory mt-3\">\n                <Box sx={styles.cardHeader}>\n                  <Typography\n                    variant=\"body1\"\n                    color={theme.palette.surface0.main}\n                  >\n                    {filterName === \"SHADOW_AI\"\n                      ? \"Model Inventory\"\n                      : \"Data Inventory\"}\n                    {`${location ? \"(\" + location + \")\" : \"\"}`}\n                  </Typography>\n                </Box>\n\n                <div className=\"row\">\n                  <div className=\"col-sm-12\">\n                    <div className=\"row\">\n                      <div className=\"col m-0 col-md-6 col-lg-6 pb-4\">\n                        <ShadowDataOverview\n                          region={location}\n                          selectedAccount={selectedAccount}\n                        />\n                      </div>\n                      <div className=\"col m-0 col-md-6 col-lg-6 d-flex justify-content-center align-items-center\">\n                        <ShadowDataPieChart />\n                      </div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n              <div className=\"training-data\">\n                <div className=\"inventroy-title-container\">\n                  <h6 className=\"text-white\">\n                    Training Data\n                    {`${location ? \"(\" + location + \")\" : \"\"}`}\n                  </h6>\n                </div>\n                <div className=\"row\">\n                  <div className=\"col m-0 col-md-6 col-lg-6 pb-4\">\n                    <MosstUsedDataStores\n                      selectedAccount={selectedAccount}\n                      setSensitiveFilter={handleSensitiveFilter}\n                      region={location}\n                    />\n                  </div>\n                  <div className=\"col m-0 col-md-6 col-lg-6 pb-4\">\n                    <ShadowSensitiveData\n                      selectedAccount={selectedAccount}\n                      setSensitiveFilter={handleSensitiveFilter}\n                      region={location}\n                    />\n                  </div>\n                </div>\n              </div>\n            </>\n          ) : (\n            <Box sx={styles.pageContent}>\n              <Box sx={styles.pageContainer}>\n                <Box sx={styles.cardHeader}>\n                  <Typography variant=\"caption\" sx={styles.cardTitle}>\n                    {filterName === \"SHADOW_AI\" &&\n                    (severity === \"SHADOW_AI\" || severity === \"AI\")\n                      ? \"Modal Inventory\"\n                      : \"Data Inventory\"}{\" \"}\n                    {`${location ? \"(\" + location + \")\" : \"\"}`}\n                  </Typography>\n                </Box>\n                <Box sx={styles.topCardPanel}>\n                  <Box sx={styles.sensitiveCardContainer}>\n                    <SensitiveData\n                      selectedAccount={selectedAccount}\n                      setSensitiveFilter={handleSensitiveFilter}\n                      region={location}\n                    />\n                  </Box>\n                  <Box sx={styles.dataOverviewCard}>\n                    <DataOverview\n                      region={location}\n                      selectedAccount={selectedAccount}\n                    />\n                  </Box>\n                </Box>\n              </Box>\n              <Cards\n                severity={severity}\n                filterIssues={(type) => {\n                  setPage(1);\n\n                  handleSeverity(type);\n                }}\n                selectedAccount={selectedAccount}\n                inputText={inputText}\n                setInputText={setInputText}\n              />\n            </Box>\n          )}\n        </>\n      ) : (\n        <PolicyDetails\n          ticketDetail={ticketDetail}\n          currentPosts={currentPosts}\n          getBulkTicketDetail={getBulkTicketDetail}\n        />\n      )}\n\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }\n      >\n        <div id=\"datastores\">\n          <CardWrapper sx={styles.tableCard}>\n            {/* <div className=\"table-main\"> */}\n            <div class=\"row\">\n              <div class=\"col col-xl-4 align-self-end\">\n                <Search\n                  placeholder=\"Search..\"\n                  value={search}\n                  onChange={(e) => setSearch(e.target.value)}\n                  onKeyDown={(e) => e.key === \"Enter\" && makeSearch(e)}\n                  onClear={onClear}\n                />\n              </div>\n\n              <div class=\"col col-xl-8 align-self-end\">\n                <div class=\"p-2 text-right\">\n                  {filterName === \"SHADOW_AI\" &&\n                    (severity === \"SHADOW_AI\" || severity === \"AI\") && (\n                      <span>\n                        <span className=\"mr-2\">Show All</span>\n                        <Toggle\n                          defaultChecked={shadowAIFilter}\n                          onChange={() => toggleShadowAIFilter()}\n                          className=\"risk-accept-toggle\"\n                          icons={false}\n                          id=\"risk-accept-toggle\"\n                        />\n                      </span>\n                    )}\n                </div>\n              </div>\n            </div>\n\n            {currentPosts.length ? (\n              <Box>\n                <DatastoreTable\n                  policyViolationId={policyViolationId}\n                  severity={severity}\n                  setLoading={setLoading}\n                  currentPosts={currentPosts}\n                  sortData={sortData}\n                  ticketDetail={ticketDetail}\n                  page={\"datastore-listing\"}\n                  refreshDatastores={refreshDatastores}\n                  sortType={sortType}\n                  sortField={sortField}\n                />\n                <Pagination\n                  page={page}\n                  rowsPerPageOptions={10}\n                  disabled={totalDatastoresCount <= 1}\n                  count={totalDatastoresCount}\n                  siblingCount={0}\n                  onChange={(e, value) => setPage(value)}\n                />\n              </Box>\n            ) : (\n              !loading && <NoData customText=\"No Datastores Available\" />\n            )}\n            {/* <WorldMap /> */}\n            {/* </div> */}\n          </CardWrapper>\n        </div>\n      </BlockUi>\n    </div>\n  );\n};\n\nexport default Datastore;\n","import \"./SharedCard.scss\";\n\nconst SharedCard = ({ title, custom = \"\", children, subTitleComp = null }) => {\n  return (\n    <div id={custom ? `card-layout ${custom}` : \"card-layout\"}>\n      {title && (\n        <h5 className=\"text-white title mb-2\">\n          {title} {subTitleComp ? subTitleComp : null}\n        </h5>\n      )}\n\n      <div className=\"\">{children}</div>\n    </div>\n  );\n};\n\nexport default SharedCard;\n","import \"./Card.scss\";\nconst Card = ({ title, count, subCount }) => {\n  return (\n    <div className=\"d-flex justify-content-between align-items-center dashboard-card\">\n      <div className=\"dashboard-card-title\">{title}</div>\n      <div className=\"d-flex\">\n        <div className=\"mr-2 dashboard-card-count d-flex align-items-center justify-content-between\">\n          {count}\n        </div>\n        {/* {subCount && (\n          <div className=\"dashboard-card-sub-count d-flex align-items-center justify-content-between\">\n            <span className=\"dashboard-card-count-chip\">{subCount}</span>\n          </div>\n        )} */}\n      </div>\n    </div>\n  );\n};\n\nexport default Card;\n","export default __webpack_public_path__ + \"static/media/bug.8eff26ad.svg\";","export default __webpack_public_path__ + \"static/media/aws-logo.316da603.png\";","export default __webpack_public_path__ + \"static/media/Generic_DB.e4b200f2.svg\";","import React, { useEffect } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4charts from \"@amcharts/amcharts4/charts\";\nimport \"./ImpactedDatastores.scss\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { LOADER_CONFIG } from \"../../../utils/Constants\";\n\nam4core.addLicense(\"ch-custom-attribution\");\n\nconst ScatterPlot = ({\n  vunerability,\n  hoveredDatastoreIds,\n  data,\n  selectedBar,\n  bars,\n  filterBars,\n  loading,\n}) => {\n  const loadChart = (barId = null) => {\n    // Create chart instance\n\n    let chart = am4core.create(\"impacteddatastores\", am4charts.XYChart);\n\n    let valueAxisX = chart.xAxes.push(new am4charts.ValueAxis());\n    valueAxisX.renderer.ticks.template.disabled = true;\n    valueAxisX.renderer.axisFills.template.disabled = true;\n\n    valueAxisX.renderer.grid.template.stroke = \"#8f8c8c\";\n    valueAxisX.renderer.grid.template.strokeWidth = 0;\n    // valueAxisX.renderer.grid.template.disabled = true;\n    valueAxisX.renderer.grid.fill = am4core.color(\"#e0a44c\");\n\n    valueAxisX.renderer.cellStartLocation = 0.2;\n    valueAxisX.renderer.cellEndLocation = 0.8;\n    valueAxisX.title.text = \"DIRECT\";\n\n    valueAxisX.title.fontWeight = \"bold\";\n    valueAxisX.title.fontSize = 14;\n    valueAxisX.title.fill = am4core.color(\"#797979\");\n    valueAxisX.renderer.labels.template.fill = am4core.color(\"#797979\");\n    valueAxisX.renderer.labels.template.fontSize = 13;\n    valueAxisX.renderer.minGridDistance = 40;\n    valueAxisX.min = 0;\n    valueAxisX.max = 100;\n    valueAxisX.renderer.grid.template.disabled = true;\n    valueAxisX.renderer.labels.template.disabled = true;\n    let valueAxisY = chart.yAxes.push(new am4charts.ValueAxis());\n\n    valueAxisY.renderer.ticks.template.disabled = true;\n    valueAxisY.renderer.axisFills.template.disabled = true;\n\n    valueAxisY.renderer.grid.template.stroke = \"#8f8c8c\";\n    valueAxisY.renderer.grid.template.strokeWidth = 1;\n    valueAxisY.renderer.minGridDistance = 16;\n    valueAxisY.renderer.grid.template.disabled = true;\n    valueAxisY.renderer.labels.template.disabled = true;\n    valueAxisY.title.fontWeight = \"bold\";\n    valueAxisY.title.fill = am4core.color(\"#797979\");\n    valueAxisY.renderer.labels.template.fill = am4core.color(\"#797979\");\n    valueAxisY.renderer.labels.template.fontSize = 13;\n    valueAxisY.title.fontSize = 14;\n    valueAxisY.title.text = \"INDIRECT\";\n\n    valueAxisY.renderer.cellStartLocation = 0.2;\n    valueAxisY.renderer.cellEndLocation = 0.8;\n\n    valueAxisY.min = 0;\n    valueAxisY.max = 100;\n\n    function createGrid1(value) {\n      var range = valueAxisX.axisRanges.create();\n      range.value = value;\n      range.label.text = \"{value}\";\n    }\n\n    function createGrid2(value) {\n      var range = valueAxisY.axisRanges.create();\n      range.value = value;\n      range.label.text = \"{value}\";\n    }\n\n    function colourQuadrantX(start, end) {\n      var range = valueAxisX.axisRanges.create();\n      range.value = start;\n      range.endValue = end;\n      range.axisFill.fill = am4core.color(\"#396478\");\n      range.axisFill.fillOpacity = 0.2;\n      range.grid.strokeOpacity = 0;\n    }\n\n    function colourQuadrantY(start, end) {\n      var range = valueAxisY.axisRanges.create();\n      range.value = start;\n      range.endValue = end;\n      range.axisFill.fill = am4core.color(\"#fff\");\n      range.axisFill.fillOpacity = 0.2;\n      range.grid.strokeOpacity = 0;\n    }\n\n    // function colourQuadrantY(start, end) {\n    //   var range = valueAxisY.axisRanges.create();\n    //   range.value = start;\n    //   range.endValue = end;\n    //   range.axisFill.fill = am4core.color(\"#fff\");\n    //   range.axisFill.fillOpacity = 0.2;\n    //   range.grid.strokeOpacity = 0;\n    // }\n\n    // colourQuadrantX(0, 50)\n    // colourQuadrantY(50, 100)\n    // colourQuadrantY(50, 100)\n\n    createGrid1(0);\n    createGrid1(50);\n    createGrid1(100);\n\n    createGrid2(0);\n    createGrid2(20);\n    createGrid2(40);\n    createGrid2(60);\n    createGrid2(80);\n    createGrid2(100);\n\n    let series = chart.series.push(new am4charts.LineSeries());\n    series.dataFields.valueX = \"x_directriskscore\";\n    series.dataFields.valueY = \"y_indirectscore\";\n    series.dataFields.value = \"cdSensitivityScore\";\n    series.strokeOpacity = 0;\n    series.sequencedInterpolation = true;\n    series.tooltip.pointerOrientation = \"vertical\";\n    series.tooltip.label.fontFamily = \"system-ui\";\n\n    chart.cursorOverStyle = am4core.MouseCursorStyle.pointer;\n\n    series.tooltip.label.fontSize = 12;\n\n    let bullet = series.bullets.push(new am4core.Circle());\n    bullet.fill = am4core.color(\"#ff0000\");\n    bullet.propertyFields.fill = \"color\";\n    bullet.strokeOpacity = 1;\n    bullet.strokeWidth = 2;\n    bullet.fillOpacity = 1;\n    bullet.stroke = am4core.color(\"#0099ff\");\n    bullet.propertyFields.stroke = \"border\";\n    bullet.hiddenState.properties.opacity = 0;\n    bullet.tooltipText = \"[bold]{name}:[/] \\n Type: {type}\";\n\n    // bullet.tooltip.label.fontSize = 5;\n\n    series.tooltip.getFillFromObject = false;\n    series.tooltip.background.fill = am4core.color(\"#181D36\");\n    series.tooltip.label.fill = am4core.color(\"#ffffff\");\n\n    if (vunerability) {\n      bullet.adapter.add(\"fill\", function (fillOpacity, target) {\n        const dataContext = target._dataItem._dataContext;\n        const datastoreId = target._dataItem._dataContext.datastoreId;\n        if (barId) {\n          for (let i of barId) {\n            if (i === datastoreId) {\n              return dataContext.border;\n            } else {\n              return dataContext.color;\n            }\n          }\n        } else {\n          return dataContext.color;\n        }\n      });\n    } else {\n      bullet.events.on(\"inited\", function (event) {\n        const datastoreId = event.target._dataItem._dataContext.datastoreId;\n        const cdSensitivityScore =\n          event.target._dataItem._dataContext.cdSensitivityScore;\n\n        const datastoreIds = bars.map(function (el) {\n          return el.datastoreId;\n        });\n        // if (datastoreIds.includes(datastoreId)) {\n        //   if (selectedBar && selectedBar.datastoreId === datastoreId) {\n        //     event.target.tooltipHTML = `<div id=\"initial-tooltip\" style=\"font-size:10px;\">${selectedBar.name}</div>`;\n        //     event.target.showTooltipOn = \"always\";\n        //   }\n        // }\n      });\n\n      bullet.adapter.add(\"fill\", function (fillOpacity, target) {\n        const dataContext = target._dataItem._dataContext;\n        const datastoreId = target._dataItem._dataContext.datastoreId;\n        const datastoreIds = bars.map(function (el) {\n          return el.datastoreId;\n        });\n\n        if (datastoreIds.includes(datastoreId)) {\n          if (selectedBar && selectedBar.datastoreId === datastoreId) {\n            return dataContext.border;\n          } else {\n            return dataContext.color;\n          }\n        } else {\n          return dataContext.color;\n        }\n      });\n\n      if (hoveredDatastoreIds.length > 0) {\n        bullet.adapter.add(\"fillOpacity\", function (fillOpacity, target) {\n          const dataContext = target._dataItem._dataContext;\n          const datastoreId = target._dataItem._dataContext.datastoreId;\n          if (hoveredDatastoreIds.includes(datastoreId)) {\n            return 1;\n          } else {\n            return 0.3;\n          }\n        });\n      }\n    }\n\n    let outline = chart.plotContainer.createChild(am4core.Circle);\n    outline.fillOpacity = 0;\n    outline.strokeOpacity = 0.8;\n    outline.stroke = am4core.color(\"#ff0000\");\n    outline.strokeWidth = 2;\n    outline.hide(0);\n\n    let blurFilter = new am4core.BlurFilter();\n    outline.filters.push(blurFilter);\n\n    bullet.events.on(\"over\", function (event) {\n      let target = event.target;\n      outline.radius = target.pixelRadius + 2;\n      outline.x = target.pixelX;\n      outline.y = target.pixelY;\n\n      // Work around for Hiding initial tooltip, we may change it if we found proper\n      let initialTooltip = document.getElementById(\"initial-tooltip\");\n      if (initialTooltip) {\n        try {\n          initialTooltip.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display =\n            \"none\";\n        } catch (e) {\n          console.log(\"Initial Tooltip not found.\");\n        }\n      }\n    });\n\n    bullet.events.on(\"out\", function (event) {\n      outline.hide();\n    });\n\n    let scoreValue = 0;\n    for (let i of data) {\n      scoreValue += i.cdSensitivityScore;\n    }\n\n    if (scoreValue) {\n      series.heatRules.push({\n        target: bullet,\n        min: 10,\n        max: 25,\n        property: \"radius\",\n      });\n    } else {\n      bullet.radius = 5;\n    }\n\n    bullet.adapter.add(\"tooltipY\", function (tooltipY, target) {\n      return -target.radius;\n    });\n\n    chart.cursor = new am4charts.XYCursor();\n    chart.cursor.lineY.disabled = true;\n    chart.cursor.lineX.disabled = true;\n\n    var cursorPosition = {\n      x: null,\n      y: null,\n    };\n    chart.cursor.events.on(\"cursorpositionchanged\", function (ev) {\n      var xAxis = ev.target.chart.xAxes.getIndex(0);\n      var yAxis = ev.target.chart.yAxes.getIndex(0);\n      cursorPosition.x = Math.round(\n        xAxis.positionToValue(xAxis.toAxisPosition(ev.target.xPosition))\n      );\n      cursorPosition.y = Math.round(\n        yAxis.positionToValue(yAxis.toAxisPosition(ev.target.yPosition))\n      );\n    });\n\n    const handleRisktype = (minX, maxX, minY, maxY) => {\n      if (vunerability) return;\n      const datastoreIds = [];\n      for (let i of data) {\n        if (i.x >= minX && i.x <= maxX && i.y >= minY && i.y <= maxY) {\n          datastoreIds.push(i.datastoreId);\n        }\n      }\n      filterBars(datastoreIds);\n    };\n\n    chart.plotContainer.events.on(\"hit\", function (ev) {\n      return;\n      if (\n        cursorPosition.x >= 0 &&\n        cursorPosition.x <= 50 &&\n        cursorPosition.y >= 50 &&\n        cursorPosition.y <= 100\n      ) {\n        handleRisktype(0, 50, 50, 100);\n      } else if (\n        cursorPosition.x >= 50 &&\n        cursorPosition.x <= 100 &&\n        cursorPosition.y >= 50 &&\n        cursorPosition.y <= 100\n      ) {\n        handleRisktype(50, 100, 50, 100);\n      } else if (\n        cursorPosition.x >= 0 &&\n        cursorPosition.x <= 50 &&\n        cursorPosition.y >= 0 &&\n        cursorPosition.y <= 50\n      ) {\n        handleRisktype(0, 50, 0, 50);\n      } else if (\n        cursorPosition.x >= 50 &&\n        cursorPosition.x <= 100 &&\n        cursorPosition.y >= 0 &&\n        cursorPosition.y <= 50\n      ) {\n        handleRisktype(50, 100, 0, 50);\n      }\n    });\n\n    // chart.scrollbarX = new am4core.Scrollbar();\n    // chart.scrollbarY = new am4core.Scrollbar();\n\n    chart.data = data;\n  };\n\n  useEffect(() => {\n    if (\n      selectedBar.impactedDatastoreList &&\n      selectedBar.impactedDatastoreList.length\n    ) {\n      let datastoreIds = selectedBar.impactedDatastoreList.map(\n        ({ datastoreId }) => datastoreId\n      );\n      loadChart(datastoreIds);\n    } else {\n      loadChart();\n    }\n  }, [selectedBar, hoveredDatastoreIds, data]);\n\n  useEffect(() => {\n    if (!vunerability && selectedBar && selectedBar.id) {\n      loadChart(selectedBar.impacts);\n    }\n  }, [vunerability]);\n\n  useEffect(() => {\n    if (!vunerability && selectedBar && selectedBar.id) {\n      loadChart(selectedBar.impacts);\n    }\n  }, [bars]);\n\n  return (\n    <BlockUi\n      tag=\"div\"\n      blocking={loading}\n      loader={\n        <Loader active type={LOADER_CONFIG.type} color={LOADER_CONFIG.color} />\n      }\n    >\n      <div\n        id=\"impacteddatastores\"\n        style={{ height: \"375px\", width: \"100%\" }}\n      ></div>\n    </BlockUi>\n  );\n};\n\nexport default ScatterPlot;\n","import React, { useEffect, useState } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4charts from \"@amcharts/amcharts4/charts\";\nimport am4themes_animated from \"@amcharts/amcharts4/themes/animated\";\nimport \"./Trends.scss\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { LOADER_CONFIG } from \"../../../utils/Constants\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { fetchTrendsStats } from \"../../../redux/slices/dashboardSlice\";\nimport { useDispatch } from \"react-redux\";\n\nam4core.addLicense(\"ch-custom-attribution\");\nam4core.useTheme(am4themes_animated);\n\nconst Trend = ({ loading, selectedAccount }) => {\n  const dispatch = useDispatch();\n  const [trends, setTrends] = useState(null);\n  const [selectedFilter, setSelectedFilter] = useState(\"data\");\n\n  const updateTrendsData = (stats) => {};\n\n  const getTrends = async (selectedAccount) => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    };\n    let resp = await dispatch(fetchTrendsStats(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      setTrends(resp.payload.reverse());\n    }\n  };\n\n  const loadChart = () => {\n    let chart = am4core.create(\"trends\", am4charts.XYChart);\n    chart.paddingRight = 20;\n\n    chart.data = trends;\n\n    // Create axes\n    let dateAxis = chart.xAxes.push(new am4charts.DateAxis());\n    dateAxis.dataFields.category = \"at\";\n    dateAxis.renderer.minGridDistance = 50;\n    dateAxis.renderer.grid.template.location = 0.5;\n    dateAxis.startLocation = 0.5;\n    dateAxis.endLocation = 0.5;\n    dateAxis.renderer.baseGrid.stroke = \"#141432\";\n    dateAxis.renderer.labels.template.fill = am4core.color(\"#797979\");\n    dateAxis.renderer.labels.template.fontSize = 12;\n    let dateAxislabel = dateAxis.renderer.labels.template;\n    dateAxislabel.maxWidth = 120;\n\n    dateAxis.renderer.axisFills.template.disabled = false;\n    dateAxis.renderer.axisFills.template.fill = am4core.color(\"#D2D68D\");\n    dateAxis.renderer.axisFills.template.fillOpacity = 0.2;\n\n    dateAxis.fillRule = function (dataItem) {\n      var date = new Date(dataItem.value);\n      if (\n        (date.getDay() == 0 || date.getDay() == 6) &&\n        dateAxis.gridInterval.timeUnit == \"day\" &&\n        dateAxis.gridInterval.count == 1\n      ) {\n        dataItem.axisFill.visible = true;\n      } else {\n        dataItem.axisFill.visible = false;\n      }\n    };\n\n    // Create value axis\n    let valueAxis = chart.yAxes.push(new am4charts.ValueAxis());\n    valueAxis.min = 0;\n    valueAxis.maxPrecision = 0;\n    valueAxis.baseValue = 0;\n    valueAxis.renderer.grid.template.stroke = \"#8f8c8c\";\n    valueAxis.renderer.labels.template.fill = am4core.color(\"#797979\");\n    valueAxis.renderer.labels.template.fontSize = 12;\n    // Create series\n    let series = chart.series.push(new am4charts.LineSeries());\n    series.name = \"Policy Violation\";\n    series.dataFields.valueY = \"dsNonCompliant\";\n    series.dataFields.dateX = \"at\";\n    series.strokeWidth = 2;\n    series.tensionX = 0.77;\n    series.strokeDasharray = \"3,3\";\n    series.stroke = am4core.color(\"#FECF1C\");\n\n    dateAxis.events.on(\"sizechanged\", function (ev) {\n      let axis = ev.target;\n      axis.renderer.labels.template.rotation = -45;\n      axis.renderer.labels.template.horizontalCenter = \"right\";\n      axis.renderer.labels.template.verticalCenter = \"middle\";\n\n      var cellWidth = axis.pixelWidth / (axis.endIndex - axis.startIndex);\n\n      if (cellWidth < axis.renderer.labels.template.maxWidth) {\n        axis.renderer.labels.template.rotation = -45;\n        axis.renderer.labels.template.horizontalCenter = \"right\";\n        axis.renderer.labels.template.verticalCenter = \"middle\";\n      } else {\n        axis.renderer.labels.template.rotation = 0;\n        axis.renderer.labels.template.horizontalCenter = \"middle\";\n        axis.renderer.labels.template.verticalCenter = \"top\";\n      }\n    });\n\n    chart.legend = new am4charts.Legend();\n    chart.legend.labels.template.fill = am4core.color(\"#777D74\");\n    chart.legend.labels.template.fontSize = 12;\n\n    let series2 = chart.series.push(new am4charts.LineSeries());\n    series2.name = \"At risk\";\n    series2.dataFields.valueY = \"dsAtRisk\";\n    series2.dataFields.dateX = \"at\";\n    series2.strokeWidth = 2;\n    series2.tensionX = 0.77;\n    series2.stroke = am4core.color(\"#E32B2A\");\n\n    let series3 = chart.series.push(new am4charts.LineSeries());\n    series3.name = \"Cloud Anomaly\";\n    series3.fontSize = 12;\n    series3.dataFields.valueY = \"dsActiveAnomaly\";\n    series3.dataFields.dateX = \"at\";\n    series3.strokeWidth = 2;\n    series3.tensionX = 0.77;\n\n    // green fill\n\n    // let range = valueAxis.createSeriesRange(series);\n    // range.value = 0;\n    // range.endValue = -1000;\n    // range.contents.stroke = am4core.color(\"#3260E5\");\n    // range.contents.fill = range.contents.stroke;\n\n    // Add scrollbar\n    // let scrollbarX = new am4charts.XYChartScrollbar();\n    // scrollbarX.series.push(series);\n    // chart.scrollbarX = scrollbarX;\n\n    chart.cursor = new am4charts.XYCursor();\n  };\n\n  useEffect(() => {\n    if (trends) {\n      loadChart();\n    }\n  }, [trends, selectedFilter]);\n\n  useEffect(() => {\n    getTrends(selectedAccount);\n  }, [selectedAccount]);\n\n  return (\n    <div>\n      <ul class=\"nav nav-pills mb-1\" id=\"pills-tab\" role=\"tablist\">\n        <li class=\"nav-item\" onClick={() => setSelectedFilter(\"data\")}>\n          <a\n            class=\"nav-link active\"\n            id=\"data\"\n            data-toggle=\"pill\"\n            href=\"#data\"\n            role=\"tab\"\n            aria-controls=\"data\"\n            aria-selected=\"false\"\n          >\n            Data\n          </a>\n        </li>{\" \"}\n        {/* <li class=\"nav-item\" onClick={() => setSelectedFilter(\"issues\")}>\n          <a\n            class=\"nav-link\"\n            id=\"issues\"\n            data-toggle=\"pill\"\n            href=\"#issues\"\n            role=\"tab\"\n            aria-controls=\"issues\"\n            aria-selected=\"false\"\n          >\n            Issues\n          </a>\n        </li> */}\n      </ul>\n      <div class=\"tab-content\" id=\"pills-tabContent\">\n        <div\n          class=\"tab-pane fade show active\"\n          id=\"data\"\n          data-toggle=\"pill\"\n          role=\"tabpanel\"\n          aria-labelledby=\"high-risk-tab\"\n        >\n          <BlockUi\n            tag=\"div\"\n            blocking={loading}\n            loader={\n              <Loader\n                active\n                type={LOADER_CONFIG.type}\n                color={LOADER_CONFIG.color}\n              />\n            }\n          >\n            <div id=\"trends\" style={{ height: \"375px\", width: \"100%\" }}></div>\n          </BlockUi>\n        </div>\n        <div\n          class=\"tab-pane fade show\"\n          id=\"issues\"\n          data-toggle=\"pill\"\n          role=\"tabpanel\"\n          aria-labelledby=\"high-risk-tab\"\n        >\n          <BlockUi\n            tag=\"div\"\n            blocking={loading}\n            loader={\n              <Loader\n                active\n                type={LOADER_CONFIG.type}\n                color={LOADER_CONFIG.color}\n              />\n            }\n          >\n            <div id=\"trends\" style={{ height: \"375px\", width: \"100%\" }}></div>\n          </BlockUi>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Trend;\n","import React, { useEffect, useState } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4charts from \"@amcharts/amcharts4/charts\";\nimport { getCustomerId } from \"../../../../utils/SessionHelper\";\nimport { getDataStoresStatsApi } from \"../../../../apis/index.js\";\nimport { getV1DatastoreIcon } from \"../../../../utils/styles\";\nam4core.addLicense(\"ch-custom-attribution\");\n\nconst PieChart = ({ selectedAccount }) => {\n  const [datastoreStats, setDatastoreStats] = useState([]);\n  const colors = [\"#062DFF\", \"#AC5AFF\", \"#627BFF\", \"#C68EFF\"];\n\n  const dummyData = [\n    {\n      datastoreType: \"Dummy\",\n      disabled: true,\n      count: 100,\n      color: am4core.color(\"#ffffff14\"),\n      opacity: 0.3,\n      strokeDasharray: \"4,4\",\n      tooltip: \"\",\n    },\n  ];\n  const getDatastoreStats = async (selectedAccount) => {\n    let payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    };\n    let resp = await getDataStoresStatsApi(payload);\n    // if (resp && resp.payload && !resp.payload.err)\n    if (resp && resp.datastores) {\n      let respDatastores = resp.datastores.types;\n      let updatedDatastores = [];\n\n      respDatastores.map((datastore) => {\n        datastore.src = getV1DatastoreIcon(datastore.datastoreType);\n        updatedDatastores.push(datastore);\n      });\n\n      setDatastoreStats(updatedDatastores);\n\n      const stats = resp.datastores.types;\n      const updatedStats = [];\n      let index = 0;\n      stats.map((statObj) => {\n        statObj.color = colors[index];\n        index = index + 1;\n        updatedStats.push(statObj);\n      });\n    }\n  };\n\n  const loadChart = (barId = null) => {\n    // Create chart instance\n\n    var chart = am4core.create(\"pie-chart\", am4charts.PieChart);\n    chart.paddingTop = 20;\n    chart.paddingBottom = 20;\n    chart.paddingLeft = 20;\n    chart.paddingRight = 20;\n    // Add data\n\n    // Add and configure Series\n    var pieSeries = chart.series.push(new am4charts.PieSeries());\n    pieSeries.dataFields.value = \"count\";\n    pieSeries.dataFields.category = \"datastoreType\";\n    pieSeries.slices.template.propertyFields.fill = \"color\";\n    pieSeries.slices.template.tooltipHTML = \"<b>{datastoreType}</b> ({count})\";\n    pieSeries.labels.template.adapter.add(\"html\", function (disabled, target) {\n      if (target.dataItem?.dataContext.count > 0) {\n        return `<img width=\"20px\" height=\"20px\" src=\"{src}\" />`;\n      }\n    });\n\n    pieSeries.labels.template.adapter.add(\n      \"disabled\",\n      function (disabled, target) {\n        if (target.dataItem?.dataContext.count === 0) {\n          return true;\n        }\n      }\n    );\n\n    pieSeries.labels.template.html = `<img width=\"20px\" height=\"20px\" src=\"{src}\" />`;\n    pieSeries.labels.template.radius = am4core.percent(-15);\n    pieSeries.labels.template.fill = am4core.color(\"white\");\n    pieSeries.alignLabels = false;\n\n    // // Disable ticks and labels\n    // pieSeries.labels.template.disabled = true;\n    pieSeries.ticks.template.disabled = true;\n\n    // Set up slices\n\n    // Disable tooltips\n    pieSeries.slices.template.strokeWidth = 1;\n    pieSeries.hiddenState.properties.opacity = 1;\n    pieSeries.hiddenState.properties.endAngle = -90;\n    pieSeries.hiddenState.properties.startAngle = -90;\n\n    chart.innerRadius = am4core.percent(70);\n    chart.radius = am4core.percent(100);\n    if (datastoreStats.length > 0) {\n      chart.data = datastoreStats;\n    } else {\n      chart.data = dummyData;\n      pieSeries.slices.template.tooltipText = \"\";\n    }\n  };\n\n  useEffect(() => {\n    getDatastoreStats(selectedAccount);\n  }, []);\n\n  useEffect(() => {\n    loadChart();\n  }, [datastoreStats]);\n\n  return (\n    <div>\n      <div id=\"pie-chart\" style={{ height: \"275px\", width: \"100%\" }}></div>\n    </div>\n  );\n};\n\nexport default PieChart;\n","export default __webpack_public_path__ + \"static/media/tooltip-close-icon.ac2cea64.svg\";","import React, { useEffect, useState } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4maps from \"@amcharts/amcharts4/maps\";\nimport am4geodata_worldLow from \"@amcharts/amcharts4-geodata/worldLow\";\nimport { regions } from \"../../../maps/aws_regions\";\nimport { getCustomerId } from \"../../../../utils/SessionHelper\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { fetchDatastoreRegionsSlice } from \"../../../../redux/slices/dashboardSlice\";\nimport closeIcon from \"../../../../assets/img/tooltip-close-icon.svg\";\nimport { useHistory } from \"react-router-dom\";\n\nam4core.addLicense(\"ch-custom-attribution\");\n\nconst WorldMap = ({ selectedAccount, setSelectedRegion }) => {\n  const dispatch = useDispatch();\n  const history = useHistory();\n\n  const [tooltipContent, setTooltipContent] = useState();\n  const [updatedRegions, setUpdatedRegions] = useState();\n  const formatAmount = (n) => {\n    if (n < 1e3) return n;\n    if (n >= 1e3) return +(n / 1e3).toFixed(1) + \"K\";\n  };\n  const getRegions = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    };\n    let resp = await dispatch(fetchDatastoreRegionsSlice(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      let regionResponse = resp.payload;\n      regionResponse.map((regionObj) => {\n        regions.find((region) => {\n          if (region.code === regionObj.region) {\n            regionObj.title = region.name;\n            regionObj.latitude = region.latitude;\n            regionObj.longitude = region.longitude;\n            // regionObj.color = [\n            //   \"ap-northeast-2\",\n            //   \"ap-southeast-2\",\n            //   \"sa-east-1\",\n            // ].includes(region.code)\n            //   ? am4core.color(\"#FC4C02\")\n            //   : am4core.color(\"#ffffff\");\n            regionObj.color = regionObj?.hasDataResidencyViolation\n              ? am4core.color(\"#FC4C02\")\n              : am4core.color(\"#ffffff\");\n            regionObj.tooltipColor = am4core.color(\"#ffffff\");\n            let updatedTags = [];\n            regionObj.sensitiveData.map((tag) => {\n              updatedTags.push({\n                title: tag?.tag?.split(\"-\")[1],\n                count: formatAmount(tag.records),\n              });\n              regionObj.updatedSensitiveData = updatedTags;\n            });\n          }\n        });\n      });\n\n      setUpdatedRegions(regionResponse);\n    }\n  };\n\n  const viewDatastores = () => {\n    history.push(`/datastore?region=${tooltipContent.location}`);\n  };\n\n  useEffect(() => {\n    loadChart();\n  }, [updatedRegions]);\n\n  const loadChart = () => {\n    // Create map instance\n    var chart = am4core.create(\"world-map\", am4maps.MapChart);\n    chart.paddingTop = 0;\n    chart.paddingBottom = 0;\n    chart.paddingLeft = 0;\n    chart.paddingRight = 0;\n    // Set map definition\n    chart.geodata = am4geodata_worldLow;\n\n    // Set projection\n    chart.projection = new am4maps.projections.Miller();\n\n    // Create map polygon series\n    var polygonSeries = chart.series.push(new am4maps.MapPolygonSeries());\n\n    // Make map load polygon (like country names) data from GeoJSON\n    polygonSeries.useGeodata = true;\n\n    // Configure series\n    var polygonTemplate = polygonSeries.mapPolygons.template;\n    polygonTemplate.tooltipText = \"{value}\";\n    polygonTemplate.fill = am4core.color(\"#ffffff14\");\n    polygonTemplate.stroke = am4core.color(\"#ffffff14\");\n    // Create hover state and set alternative fill color\n    var hs = polygonTemplate.states.create(\"hover\");\n    // hs.properties.fill = am4core.color(\"#ffffff\");\n    hs.properties.stroke = am4core.color(\"#ffffff\");\n    // Remove Antarctica\n    polygonSeries.exclude = [\"AQ\"];\n\n    // Add image series\n    let imageSeries = chart.series.push(new am4maps.MapImageSeries());\n\n    let circle = imageSeries.mapImages.template.createChild(am4core.Circle);\n    circle.radius = 7;\n    circle.propertyFields.fill = \"color\";\n    circle.nonScaling = true;\n\n    let circle2 = imageSeries.mapImages.template.createChild(am4core.Circle);\n    circle2.radius = 7;\n    circle2.propertyFields.fill = \"color\";\n    circle2.cursorOverStyle = am4core.MouseCursorStyle.pointer;\n\n    circle2.events.on(\"hit\", function (ev) {\n      setTooltipContent({\n        location: ev.target.dataItem.dataContext.region,\n        region: ev.target.dataItem.dataContext.title,\n        types: ev.target.dataItem.dataContext?.dsTypes,\n        tags: ev.target.dataItem.dataContext.updatedSensitiveData,\n      });\n    });\n\n    let destinationImageTemplate = imageSeries.mapImages.template;\n    destinationImageTemplate.nonScaling = true;\n\n    destinationImageTemplate.setStateOnChildren = true;\n    destinationImageTemplate.states.create(\"hover\");\n\n    destinationImageTemplate.propertyFields.latitude = \"latitude\";\n    destinationImageTemplate.propertyFields.longitude = \"longitude\";\n    destinationImageTemplate.propertyFields.id = \"id\";\n    destinationImageTemplate.propertyFields.fill = \"tooltipColor\";\n    destinationImageTemplate.propertyFields.href = \"href\";\n\n    let colorSet = new am4core.ColorSet();\n    imageSeries.data = updatedRegions;\n    imageSeries.mapImages.template.propertyFields.longitude = \"longitude\";\n    imageSeries.mapImages.template.propertyFields.latitude = \"latitude\";\n  };\n\n  useEffect(() => {\n    getRegions();\n  }, []);\n\n  useEffect(() => {\n    loadChart();\n  }, [regions]);\n\n  return (\n    <>\n      {tooltipContent && (\n        <div className=\"world-map-tooltip\">\n          <div className=\"world-map-tooltip-top\">\n            <div>\n              <span className=\"world-map-tooltip-header\">\n                {tooltipContent?.region.length > 12\n                  ? tooltipContent?.region.slice(0, 12) + \"..\"\n                  : tooltipContent?.region}\n              </span>\n              <img\n                src={closeIcon}\n                className=\"tooltip-close-icon\"\n                onClick={() => {\n                  setTooltipContent();\n                }}\n              />\n            </div>\n          </div>\n          <div className=\"world-map-tooltip-bottom\">\n            {tooltipContent?.types?.length > 0 && (\n              <div className=\"world-map-tooltip-title mb-1\">Type</div>\n            )}\n\n            {tooltipContent &&\n              tooltipContent?.types?.slice(0, 5).map((tag) => {\n                return (\n                  <div className=\"world-map-tooltip-content row\">\n                    <div className=\"world-map-tooltip-subtitle col\">\n                      {tag.type}\n                    </div>\n                    <div className=\"world-map-tooltip-description col\">\n                      {tag.count}\n                    </div>\n                  </div>\n                );\n              })}\n            {tooltipContent?.tags?.length > 0 && (\n              <div className=\"world-map-tooltip-title mb-1 mt-1\">\n                Sensitive Data\n              </div>\n            )}\n            {tooltipContent &&\n              tooltipContent?.tags?.slice(0, 5).map((tag) => {\n                return (\n                  <div className=\"world-map-tooltip-content row\">\n                    <div className=\"world-map-tooltip-subtitle col\">\n                      {tag.title}\n                    </div>\n                    <div className=\"world-map-tooltip-description col\">\n                      {tag.count}\n                    </div>\n                  </div>\n                );\n              })}\n            <div\n              className=\"world-map-tooltip-more\"\n              onClick={() => {\n                viewDatastores();\n              }}\n            >\n              <span>Details</span>\n            </div>\n          </div>\n        </div>\n      )}\n\n      <div\n        id=\"world-map\"\n        className=\"\"\n        style={{ height: \"270px\", width: \"100%\" }}\n      ></div>\n    </>\n  );\n};\n\nexport default WorldMap;\n","import \"./Inventory.scss\";\nimport React, { useEffect, useState } from \"react\";\nimport PieChart from \"./PieChart\";\nimport WorldMap from \"./WorldMap\";\nconst Inventory = ({ selectedAccount }) => {\n  const [Inventory, setInventory] = useState([]);\n  const [selectedRegion, setSelectedRegion] = useState();\n  return (\n    <div id=\"inventory\">\n      <div className=\"title \">Inventory </div>\n      <div className=\"row\">\n        <div className=\"col-md-4 col-lg-4 p-2 d-flex dashboard-divider\">\n          <PieChart selectedAccount={selectedAccount} />\n          {/* <span className=\"divider\"></span> */}\n        </div>\n        <div className=\"col-md-8 col-lg-8\">\n          <WorldMap\n            selectedAccount={selectedAccount}\n            setSelectedRegion={setSelectedRegion}\n          />\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Inventory;\n","import React, { useEffect } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4charts from \"@amcharts/amcharts4/charts\";\nam4core.addLicense(\"ch-custom-attribution\");\n\nconst PieChart = ({ cloudEnvIssues }) => {\n  const loadChart = (barId = null) => {\n    const dummyData = [\n      {\n        title: \"Dummy\",\n        disabled: true,\n        issueCount: 100,\n        color: am4core.color(\"#ffffff14\"),\n        opacity: 0.3,\n        strokeDasharray: \"4,4\",\n        tooltip: \"\",\n      },\n    ];\n    // Create chart instance\n    var chart = am4core.create(\"pie-chart-2\", am4charts.PieChart);\n    chart.paddingTop = 0;\n    chart.paddingBottom = 0;\n    chart.paddingLeft = 20;\n    chart.paddingRight = 20;\n\n    var pieSeries = chart.series.push(new am4charts.PieSeries());\n    pieSeries.dataFields.value = \"issueCount\";\n    pieSeries.dataFields.category = \"title\";\n\n    pieSeries.slices.template.propertyFields.fill = \"color\";\n\n    // Disable tooltips\n    pieSeries.slices.template.strokeWidth = 1;\n    pieSeries.hiddenState.properties.opacity = 1;\n    pieSeries.hiddenState.properties.endAngle = -90;\n    pieSeries.hiddenState.properties.startAngle = -90;\n\n    let label = pieSeries.createChild(am4core.Label);\n    label.text = \"Data\";\n\n    // label\n    label.fill = am4core.color(\"white\");\n    label.horizontalCenter = \"middle\";\n    label.verticalCenter = \"middle\";\n    label.fontSize = 14;\n\n    // Let's cut a hole in our Pie chart the size of 40% the radius\n    chart.innerRadius = am4core.percent(40);\n    chart.radius = am4core.percent(100);\n    chart.fill = am4core.color(\"#A955FF\");\n\n    pieSeries.slices.template.propertyFields.fill = \"color\";\n\n    pieSeries.ticks.template.disabled = true;\n    pieSeries.alignLabels = false;\n    pieSeries.labels.template.adapter.add(\"html\", function (disabled, target) {\n      if (target.dataItem?.dataContext.issueCount > 0) {\n        return `<img width=\"20px\" height=\"20px\" src=\"{src}\" />`;\n      }\n    });\n\n    pieSeries.labels.template.adapter.add(\n      \"disabled\",\n      function (disabled, target) {\n        if (target.dataItem?.dataContext.issueCount === 0) {\n          return true;\n        }\n      }\n    );\n\n    pieSeries.labels.template.html = `<img width=\"20px\" height=\"20px\" src=\"{src}\" />`;\n    pieSeries.labels.template.radius = am4core.percent(-20);\n    pieSeries.labels.template.fill = am4core.color(\"white\");\n    pieSeries.slices.template.tooltipHTML = \"<b>{title}</b> ({issueCount})\";\n\n    // Disable tooltips\n    pieSeries.slices.template.strokeWidth = 1;\n\n    // Add a legend\n    const checkIssueCount = () => {\n      const issue = (value) => value.issueCount > 0;\n      return cloudEnvIssues.some(issue);\n    };\n\n    // Add data\n\n    if (cloudEnvIssues.length > 0 && checkIssueCount()) {\n      chart.data = cloudEnvIssues;\n    } else {\n      chart.data = dummyData;\n      pieSeries.labels.template.html = \"\";\n      pieSeries.slices.template.tooltipText = \"\";\n      pieSeries.slices.template.tooltipHTML = \"\";\n      pieSeries.labels.template.disabled = true;\n    }\n  };\n\n  useEffect(() => {\n    loadChart();\n  }, [cloudEnvIssues]);\n\n  return (\n    <div>\n      <div id=\"pie-chart-2\" style={{ height: \"275px\", width: \"100%\" }}></div>\n    </div>\n  );\n};\n\nexport default PieChart;\n","export default __webpack_public_path__ + \"static/media/Kubernaties.0e4a8830.svg\";","export default __webpack_public_path__ + \"static/media/aws-ec2.a4b07562.svg\";","export default __webpack_public_path__ + \"static/media/serverless_aws.379816c6.svg\";","import \"./CloudEnvIssues.scss\";\nimport React, { useEffect, useState } from \"react\";\nimport PieChart from \"./PieChart\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { getCustomerId } from \"../../../../utils/SessionHelper\";\nimport { fetchCloudIssuesSlice } from \"../../../../redux/slices/dashboardSlice\";\nimport KubernatiesIcon from \"../../../../assets/img/v1-icons/Kubernaties.svg\";\nimport AWSEC2 from \"../../../../assets/img/v1-icons/aws-ec2.svg\";\nimport ServeslessAWS from \"../../../../assets/img/v1-icons/serverless_aws.svg\";\nimport { useHistory } from \"react-router-dom\";\n\nconst CloudEnvIssues = ({ selectedAccount }) => {\n  const dispatch = useDispatch();\n  const history = useHistory();\n\n  const colorCodes = [\"#4260FF\", \"#A955FF\", \"#8F21FF\"];\n\n  const [cloudEnvIssues, setCloudEnvIssues] = useState([]);\n\n  const getCloudEnvIssues = async (selectedAccount) => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    };\n\n    let resp = await dispatch(fetchCloudIssuesSlice(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      let updatedCloudIssues = [];\n      let respCloudIssues = resp.payload;\n      respCloudIssues.map((issue) => {\n        if (issue.cloudEnvClass === \"vulnerable-ec2-compute\") {\n          issue.color = \"#4260FF\";\n        }\n        if (issue.cloudEnvClass === \"vulnerable-k8s-cluster\") {\n          issue.color = \"#8F21FF\";\n        }\n        if (issue.cloudEnvClass === \"serverless-misconfig\") {\n          issue.color = \"#A955FF\";\n        }\n        issue.src = getCloudIssueIcons(issue.cloudEnvClass);\n        updatedCloudIssues.push(issue);\n      });\n      setCloudEnvIssues(updatedCloudIssues);\n    }\n  };\n\n  const getTotalIssues = () => {\n    let total = 0;\n    cloudEnvIssues.map((issue) => {\n      total = total + issue.issueCount;\n    });\n    return total;\n  };\n\n  const getCloudIssueIcons = (type) => {\n    switch (type) {\n      case \"vulnerable-ec2-compute\":\n        return AWSEC2;\n        break;\n      case \"vulnerable-k8s-cluster\":\n        return KubernatiesIcon;\n        break;\n      case \"serverless-misconfig\":\n        return ServeslessAWS;\n        break;\n      default:\n        return null;\n    }\n  };\n\n  useEffect(() => {\n    getCloudEnvIssues(selectedAccount);\n  }, [selectedAccount]);\n\n  const viewIssues = (data) => {\n    if (data !== \"all\") {\n      sessionStorage.setItem(\"source_category\", data.title);\n      history.push(\"/vulnerabilities/cloud-env/\" + data.cloudEnvClass);\n    } else {\n      sessionStorage.setItem(\"source_category\", \"all\");\n      history.push(\"/vulnerabilities/cloud-env/all\");\n    }\n  };\n\n  return (\n    <div id=\"cloud-env-issues\">\n      <div className=\"row\">\n        <div className=\"col-md-4 col-lg-4 p-0\">\n          <PieChart cloudEnvIssues={cloudEnvIssues} />\n        </div>\n        <div className=\"col-md-8 col-lg-8\">\n          <div className=\"title d-flex justify-content-between\">\n            <div>Cloud Data Risk ({getTotalIssues()})</div>\n            {getTotalIssues() > 0 && (\n              <div\n                className=\"title-all\"\n                onClick={() => {\n                  viewIssues(\"all\");\n                }}\n              >\n                <u>All</u>\n              </div>\n            )}\n          </div>\n          {/* <div className=\"table-heading mt-4 d-flex justify-content-between\">\n            <div className=\"table-heading-title p-1 pl-2\">Issue Category</div>\n            <div className=\"table-heading-title p-1 pr-2\">\n              Impacted Datastores\n            </div>\n          </div> */}\n          <table class=\"table table-sm\">\n            <thead className=\"table-heading\">\n              <tr>\n                <th></th>\n                <th className=\"table-heading-title\">Source Category</th>\n                <th className=\"table-heading-title\">\n                  Impacted&nbsp;<br></br>Datastore\n                </th>\n              </tr>\n            </thead>\n            <tbody>\n              {cloudEnvIssues &&\n                cloudEnvIssues.map((data, index) => {\n                  return (\n                    <tr>\n                      <td>\n                        {\" \"}\n                        <div className={`circle-${data.cloudEnvClass}`}></div>\n                      </td>\n\n                      <td\n                        className=\"cloud-env-title\"\n                        onClick={() => {\n                          viewIssues(data);\n                        }}\n                      >\n                        {data.title}\n                        <span className=\"issue-count\">\n                          {\" \"}\n                          ({data.issueCount})\n                        </span>\n                      </td>\n                      <td className=\"sensitivity-count \">{data.dsCount}</td>\n                    </tr>\n                  );\n                })}\n            </tbody>\n          </table>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default CloudEnvIssues;\n","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgUpRedArrow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 27,\n    height: 27,\n    viewBox: \"0 0 27 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M19.8258 10.1836C19.2609 10.7484 18.3451 10.7484 17.7802 10.1836L13.0173 5.42064L8.25436 10.1836C7.6895 10.7484 6.77367 10.7484 6.20881 10.1836C5.64394 9.6187 5.64394 8.70288 6.20881 8.13801L11.9945 2.3523C12.5594 1.78743 13.4752 1.78743 14.0401 2.3523L19.8258 8.13801C20.3907 8.70288 20.3907 9.61871 19.8258 10.1836Z\",\n    fill: \"#B42120\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M13.0173 25.0817C12.2185 25.0817 11.5709 24.4341 11.5709 23.6353V6.16508C11.5709 5.36624 12.2185 4.71865 13.0173 4.71865C13.8161 4.71865 14.4637 5.36624 14.4637 6.16508V23.6353C14.4637 24.4341 13.8161 25.0817 13.0173 25.0817Z\",\n    fill: \"#B42120\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgUpRedArrow);\nexport default __webpack_public_path__ + \"static/media/up-red-arrow.4c5e1282.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgDownGreenArrow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 14,\n    height: 14,\n    viewBox: \"0 0 14 14\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M3.71967 8.71967C4.01256 8.42678 4.48744 8.42678 4.78033 8.71967L7.25 11.1893L9.71967 8.71967C10.0126 8.42678 10.4874 8.42678 10.7803 8.71967C11.0732 9.01256 11.0732 9.48744 10.7803 9.78033L7.78033 12.7803C7.48744 13.0732 7.01256 13.0732 6.71967 12.7803L3.71967 9.78033C3.42678 9.48744 3.42678 9.01256 3.71967 8.71967Z\",\n    fill: \"#0BAA50\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M7.25 0.994706C7.66421 0.994706 8 1.33049 8 1.74471L8 10.8033C8 11.2175 7.66421 11.5533 7.25 11.5533C6.83579 11.5533 6.5 11.2175 6.5 10.8033L6.5 1.74471C6.5 1.33049 6.83579 0.994706 7.25 0.994706Z\",\n    fill: \"#0BAA50\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDownGreenArrow);\nexport default __webpack_public_path__ + \"static/media/down-green-arrow.8129bb1b.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgManaged(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 20,\n    viewBox: \"0 0 20 20\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.5665 1.51411L11.5681 1.51504L16.1485 4.16334C16.1612 4.17064 16.1735 4.17839 16.1856 4.18655L16.206 4.20027C16.6054 4.46985 16.9346 4.69207 17.1879 4.89276C17.4497 5.10015 17.6756 5.31857 17.8368 5.5975C18.0017 5.88273 18.0695 6.17973 18.1006 6.49605C18.1297 6.79193 18.1297 7.14796 18.1297 7.56295V12.4373C18.1297 12.8523 18.1297 13.2083 18.1006 13.5042C18.0695 13.8205 18.0017 14.1175 17.8368 14.4027C17.6756 14.6817 17.4497 14.9001 17.1879 15.1075C16.9346 15.3082 16.6054 15.5304 16.206 15.7999L16.1856 15.8137C16.1735 15.8218 16.1612 15.8296 16.1485 15.8369L11.5681 18.4852L11.5665 18.4861C11.105 18.7558 10.5365 18.8714 10.0032 18.8714C9.46883 18.8714 8.8991 18.7554 8.4348 18.4869L3.85152 15.8369C3.83889 15.8296 3.82651 15.8218 3.81441 15.8137L3.79399 15.7999C3.39468 15.5304 3.06539 15.3081 2.81198 15.1072C2.55 14.8995 2.32402 14.6807 2.16282 14.401C1.99812 14.1152 1.93045 13.8176 1.8994 13.5004C1.87033 13.2035 1.87035 12.846 1.87036 12.4289V7.56293C1.87035 7.14795 1.87033 6.79193 1.89943 6.49605C1.93053 6.17973 1.99834 5.88273 2.16322 5.5975C2.32445 5.31857 2.55036 5.10015 2.81215 4.89276C3.06548 4.69207 3.39469 4.46985 3.79408 4.20028L3.81441 4.18655C3.82651 4.17839 3.83889 4.17064 3.85152 4.16334L8.4348 1.51337C8.89909 1.24488 9.46886 1.12878 10.0032 1.12878C10.5365 1.12878 11.105 1.24446 11.5665 1.51411ZM10.0032 2.38811C9.63122 2.38811 9.29262 2.47204 9.06525 2.60353L4.50083 5.24259C4.08595 5.52266 3.80227 5.71499 3.59415 5.87986C3.38719 6.04383 3.3006 6.14625 3.2535 6.22773C3.21004 6.30291 3.17369 6.40592 3.15271 6.61928C3.13039 6.84626 3.12969 7.13997 3.12969 7.59178V12.4001C3.12969 12.854 3.13039 13.1494 3.15274 13.3777C3.17377 13.5926 3.21027 13.6964 3.2539 13.7721C3.30103 13.8539 3.38755 13.9564 3.59432 14.1204C3.80234 14.2853 4.08592 14.4776 4.50083 14.7576L9.0652 17.3967C9.29256 17.5282 9.63122 17.6121 10.0032 17.6121C10.3755 17.6121 10.7104 17.5281 10.9319 17.3984L10.9349 17.3967L15.4992 14.7576C15.9141 14.4776 16.1978 14.2852 16.4059 14.1204C16.6129 13.9564 16.6995 13.854 16.7465 13.7725C16.79 13.6973 16.8264 13.5943 16.8473 13.3809C16.8697 13.154 16.8704 12.8603 16.8704 12.4084V7.59178C16.8704 7.13997 16.8697 6.84626 16.8473 6.61928C16.8264 6.40592 16.79 6.30291 16.7465 6.22773C16.6995 6.14625 16.6129 6.04383 16.4059 5.87986C16.1978 5.71499 15.9141 5.52266 15.4992 5.2426L10.9319 2.60187C10.7104 2.47218 10.3755 2.38811 10.0032 2.38811Z\",\n    fill: \"#878993\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M10 8.12968C8.96707 8.12968 8.12969 8.96706 8.12969 10C8.12969 11.033 8.96707 11.8703 10 11.8703C11.033 11.8703 11.8704 11.033 11.8704 10C11.8704 8.96706 11.033 8.12968 10 8.12968ZM6.87036 10C6.87036 8.27155 8.27156 6.87035 10 6.87035C11.7285 6.87035 13.1297 8.27155 13.1297 10C13.1297 11.7285 11.7285 13.1297 10 13.1297C8.27156 13.1297 6.87036 11.7285 6.87036 10Z\",\n    fill: \"#878993\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgManaged);\nexport default __webpack_public_path__ + \"static/media/managed.90b0fdc4.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgShadow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 20,\n    viewBox: \"0 0 20 20\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M3.05993 8.05981C2.57954 8.5402 2.29644 9.35375 2.29644 10.75V14.25C2.29644 15.6462 2.57954 16.4598 3.05993 16.9402C3.54032 17.4206 4.35388 17.7037 5.75011 17.7037H9.25011C10.6463 17.7037 11.4599 17.4206 11.9403 16.9402C12.4207 16.4598 12.7038 15.6462 12.7038 14.25V10.75C12.7038 9.35375 12.4207 8.5402 11.9403 8.05981C11.4599 7.57942 10.6463 7.29632 9.25011 7.29632H5.75011C4.35388 7.29632 3.54032 7.57942 3.05993 8.05981ZM2.16945 7.16933C3.00156 6.33722 4.22967 6.03699 5.75011 6.03699H9.25011C10.7705 6.03699 11.9987 6.33722 12.8308 7.16933C13.6629 8.00144 13.9631 9.22955 13.9631 10.75V14.25C13.9631 15.7704 13.6629 16.9985 12.8308 17.8306C11.9987 18.6628 10.7705 18.963 9.25011 18.963H5.75011C4.22967 18.963 3.00156 18.6628 2.16945 17.8306C1.33734 16.9985 1.03711 15.7704 1.03711 14.25V10.75C1.03711 9.22955 1.33734 8.00144 2.16945 7.16933Z\",\n    fill: \"#878993\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M8.05993 3.05981C7.57954 3.5402 7.29644 4.35375 7.29644 5.74998V6.03699H9.25011C10.7705 6.03699 11.9987 6.33722 12.8308 7.16933C13.6629 8.00144 13.9631 9.22955 13.9631 10.75L13.9631 12.7037H14.2501C15.6463 12.7037 16.4599 12.4206 16.9403 11.9402C17.4207 11.4598 17.7038 10.6462 17.7038 9.24999V5.74998C17.7038 4.35375 17.4207 3.5402 16.9403 3.05981C16.4599 2.57942 15.6463 2.29632 14.2501 2.29632H10.7501C9.35388 2.29632 8.54032 2.57942 8.05993 3.05981ZM7.16945 2.16933C8.00156 1.33722 9.22967 1.03699 10.7501 1.03699H14.2501C15.7705 1.03699 16.9987 1.33722 17.8308 2.16933C18.6629 3.00144 18.9631 4.22955 18.9631 5.74998V9.24999C18.9631 10.7704 18.6629 11.9985 17.8308 12.8306C16.9987 13.6628 15.7705 13.963 14.2501 13.963H13.3334C12.9857 13.963 12.7038 13.6811 12.7038 13.3333L12.7038 10.75C12.7038 9.35375 12.4207 8.5402 11.9403 8.05981C11.4599 7.57942 10.6463 7.29632 9.25011 7.29632H6.66677C6.31902 7.29632 6.03711 7.01441 6.03711 6.66665V5.74998C6.03711 4.22955 6.33734 3.00144 7.16945 2.16933Z\",\n    fill: \"#878993\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgShadow);\nexport default __webpack_public_path__ + \"static/media/shadow.c4bff910.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgSensitive(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 20,\n    viewBox: \"0 0 20 20\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M6.42797 3.52727C5.83836 4.25923 5.62977 5.32515 5.62977 6.66665V8.33332C5.62977 8.68107 5.34786 8.96298 5.00011 8.96298C4.65235 8.96298 4.37044 8.68107 4.37044 8.33332V6.66665C4.37044 5.24982 4.57852 3.81574 5.44725 2.73728C6.33967 1.6294 7.80901 1.03699 10.0001 1.03699C12.1912 1.03699 13.6605 1.6294 14.553 2.73728C15.4217 3.81574 15.6298 5.24982 15.6298 6.66665V8.33332C15.6298 8.68107 15.3479 8.96298 15.0001 8.96298C14.6524 8.96298 14.3704 8.68107 14.3704 8.33332V6.66665C14.3704 5.32515 14.1619 4.25923 13.5722 3.52727C13.0063 2.82473 11.9757 2.29632 10.0001 2.29632C8.02454 2.29632 6.99388 2.82473 6.42797 3.52727Z\",\n    fill: \"#878993\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M10.0001 11.8796C9.19727 11.8796 8.54644 12.5305 8.54644 13.3333C8.54644 14.1362 9.19727 14.787 10.0001 14.787C10.8029 14.787 11.4538 14.1362 11.4538 13.3333C11.4538 12.5305 10.8029 11.8796 10.0001 11.8796ZM7.28711 13.3333C7.28711 11.835 8.50176 10.6203 10.0001 10.6203C11.4985 10.6203 12.7131 11.835 12.7131 13.3333C12.7131 14.8317 11.4985 16.0463 10.0001 16.0463C8.50176 16.0463 7.28711 14.8317 7.28711 13.3333Z\",\n    fill: \"#878993\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M2.94535 9.61189C2.52058 10.0367 2.29644 10.8288 2.29644 12.5V14.1667C2.29644 15.8378 2.52058 16.63 2.94535 17.0547C3.37011 17.4795 4.16227 17.7037 5.83344 17.7037H14.1668C15.8379 17.7037 16.6301 17.4795 17.0549 17.0547C17.4796 16.63 17.7038 15.8378 17.7038 14.1667V12.5C17.7038 10.8288 17.4796 10.0367 17.0549 9.61189C16.6301 9.18713 15.8379 8.96298 14.1668 8.96298H5.83344C4.16227 8.96298 3.37011 9.18713 2.94535 9.61189ZM2.05487 8.72141C2.8801 7.89617 4.17127 7.70365 5.83344 7.70365H14.1668C15.8289 7.70365 17.1201 7.89617 17.9453 8.72141C18.7706 9.54665 18.9631 10.8378 18.9631 12.5V14.1667C18.9631 15.8288 18.7706 17.12 17.9453 17.9452C17.1201 18.7705 15.8289 18.963 14.1668 18.963H5.83344C4.17127 18.963 2.8801 18.7705 2.05487 17.9452C1.22963 17.12 1.03711 15.8288 1.03711 14.1667V12.5C1.03711 10.8378 1.22963 9.54665 2.05487 8.72141Z\",\n    fill: \"#878993\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSensitive);\nexport default __webpack_public_path__ + \"static/media/sensitive.3b5f2c8c.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6, _path7;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgAccounts(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 20,\n    viewBox: \"0 0 20 20\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M2.73424 7.73406C2.47624 7.99206 2.29244 8.42987 2.29244 9.16679V15.8335C2.29244 16.5704 2.47624 17.0082 2.73424 17.2662C2.99224 17.5242 3.43005 17.708 4.16697 17.708H8.16642C7.84454 17.1876 7.70817 16.545 7.70817 15.8335V7.29225H4.16697C3.43005 7.29225 2.99224 7.47606 2.73424 7.73406ZM10.8336 17.708C10.0967 17.708 9.65891 17.5242 9.40091 17.2662C9.14291 17.0082 8.9591 16.5704 8.9591 15.8335V6.66679C8.9591 6.32135 8.67907 6.04132 8.33364 6.04132H4.16697C3.23722 6.04132 2.42503 6.27418 1.8497 6.84952C1.27436 7.42485 1.0415 8.23704 1.0415 9.16679V15.8335C1.0415 16.7632 1.27436 17.5754 1.8497 18.1507C2.42503 18.7261 3.23722 18.9589 4.16697 18.9589H10.8336C11.1791 18.9589 11.4591 18.6789 11.4591 18.3335C11.4591 17.988 11.1791 17.708 10.8336 17.708Z\",\n    fill: \"#878993\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M5.83364 3.95872C5.26241 3.95872 4.79244 4.42869 4.79244 4.99992V6.04112H7.70817V4.16658C7.70817 4.09705 7.70931 4.02774 7.71186 3.95872H5.83364ZM3.5415 4.99992C3.5415 3.73782 4.57153 2.70778 5.83364 2.70778H8.42529C8.61961 2.70778 8.80289 2.7981 8.92128 2.95219C9.03967 3.10629 9.07971 3.30665 9.02964 3.49441C8.98197 3.67317 8.9591 3.88918 8.9591 4.16658V6.66679C8.9591 7.01222 8.67907 7.29205 8.33364 7.29205L4.16697 7.29225C3.82153 7.29225 3.5415 7.01202 3.5415 6.66658V4.99992Z\",\n    fill: \"#878993\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.667 6.04132C12.0124 6.04132 12.2924 6.32135 12.2924 6.66679V10.8335C12.2924 11.1789 12.0124 11.4589 11.667 11.4589C11.3215 11.4589 11.0415 11.1789 11.0415 10.8335V6.66679C11.0415 6.32135 11.3215 6.04132 11.667 6.04132Z\",\n    fill: \"#878993\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M14.9998 6.04132C15.3452 6.04132 15.6252 6.32135 15.6252 6.66679V10.8335C15.6252 11.1789 15.3452 11.4589 14.9998 11.4589C14.6543 11.4589 14.3743 11.1789 14.3743 10.8335V6.66679C14.3743 6.32135 14.6543 6.04132 14.9998 6.04132Z\",\n    fill: \"#878993\"\n  })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.0415 15.0001C11.0415 14.1964 11.6965 13.5413 12.5003 13.5413H14.167C14.9707 13.5413 15.6258 14.1964 15.6258 15.0001V18.3335C15.6258 18.6789 15.3457 18.9589 15.0003 18.9589H11.667C11.3215 18.9589 11.0415 18.6789 11.0415 18.3335V15.0001ZM12.5003 14.7923C12.3874 14.7923 12.2924 14.8872 12.2924 15.0001V17.708H14.3748V15.0001C14.3748 14.8872 14.2799 14.7923 14.167 14.7923H12.5003Z\",\n    fill: \"#878993\"\n  })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M4.99976 10.2078C5.3452 10.2078 5.62523 10.4878 5.62523 10.8333V14.1666C5.62523 14.512 5.3452 14.7921 4.99976 14.7921C4.65433 14.7921 4.37429 14.512 4.37429 14.1666V10.8333C4.37429 10.4878 4.65433 10.2078 4.99976 10.2078Z\",\n    fill: \"#878993\"\n  })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M9.39982 2.73406C9.14182 2.99206 8.95802 3.42987 8.95802 4.16679V15.8335C8.95802 16.5704 9.14182 17.0082 9.39982 17.2662C9.65782 17.5242 10.0956 17.708 10.8326 17.708H15.8326C16.5695 17.708 17.0073 17.5242 17.2653 17.2662C17.5233 17.0082 17.7071 16.5704 17.7071 15.8335V4.16679C17.7071 3.42987 17.5233 2.99206 17.2653 2.73406C17.0073 2.47606 16.5695 2.29225 15.8326 2.29225H10.8326C10.0956 2.29225 9.65782 2.47606 9.39982 2.73406ZM8.51528 1.84952C9.09062 1.27418 9.90281 1.04132 10.8326 1.04132H15.8326C16.7623 1.04132 17.5745 1.27418 18.1498 1.84952C18.7252 2.42485 18.958 3.23704 18.958 4.16679V15.8335C18.958 16.7632 18.7252 17.5754 18.1498 18.1507C17.5745 18.7261 16.7623 18.9589 15.8326 18.9589H10.8326C9.90281 18.9589 9.09062 18.7261 8.51528 18.1507C7.93995 17.5754 7.70709 16.7632 7.70709 15.8335V4.16679C7.70709 3.23704 7.93995 2.42485 8.51528 1.84952Z\",\n    fill: \"#878993\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAccounts);\nexport default __webpack_public_path__ + \"static/media/accounts.f9345d3f.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgResources(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 20,\n    viewBox: \"0 0 20 20\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.0413 16.6666C11.0413 16.0916 10.5751 15.6254 10.0001 15.6254C9.42502 15.6254 8.95886 16.0916 8.95886 16.6666C8.95886 17.2417 9.42502 17.7078 10.0001 17.7078C10.5751 17.7078 11.0413 17.2417 11.0413 16.6666ZM10.0001 14.3745C11.266 14.3745 12.2922 15.4007 12.2922 16.6666C12.2922 17.9325 11.266 18.9588 10.0001 18.9588C8.73415 18.9588 7.70793 17.9325 7.70793 16.6666C7.70793 15.4007 8.73415 14.3745 10.0001 14.3745Z\",\n    fill: \"#878993\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M17.7079 16.6666C17.7079 16.0916 17.2418 15.6254 16.6667 15.6254C16.0917 15.6254 15.6255 16.0916 15.6255 16.6666C15.6255 17.2417 16.0917 17.7078 16.6667 17.7078C17.2418 17.7078 17.7079 17.2417 17.7079 16.6666ZM16.6667 14.3745C17.9326 14.3745 18.9589 15.4007 18.9589 16.6666C18.9589 17.9325 17.9326 18.9588 16.6667 18.9588C15.4008 18.9588 14.3746 17.9325 14.3746 16.6666C14.3746 15.4007 15.4008 14.3745 16.6667 14.3745Z\",\n    fill: \"#878993\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M4.37459 16.6666C4.37459 16.0916 3.90843 15.6254 3.33339 15.6254C2.75835 15.6254 2.29219 16.0916 2.29219 16.6666C2.29219 17.2417 2.75835 17.7078 3.33339 17.7078C3.90843 17.7078 4.37459 17.2417 4.37459 16.6666ZM3.33339 14.3745C4.5993 14.3745 5.62553 15.4007 5.62553 16.6666C5.62553 17.9325 4.5993 18.9588 3.33339 18.9588C2.06748 18.9588 1.04126 17.9325 1.04126 16.6666C1.04126 15.4007 2.06748 14.3745 3.33339 14.3745Z\",\n    fill: \"#878993\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.0413 3.33327C11.0413 2.75823 10.5751 2.29207 10.0001 2.29207C9.42502 2.29207 8.95886 2.75823 8.95886 3.33327C8.95886 3.90831 9.42502 4.37447 10.0001 4.37447C10.5751 4.37447 11.0413 3.90831 11.0413 3.33327ZM10.0001 1.04114C11.266 1.04114 12.2922 2.06736 12.2922 3.33327C12.2922 4.59918 11.266 5.6254 10.0001 5.6254C8.73415 5.6254 7.70793 4.59918 7.70793 3.33327C7.70793 2.06736 8.73415 1.04114 10.0001 1.04114Z\",\n    fill: \"#878993\"\n  })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M10.0001 4.37447C10.3455 4.37447 10.6255 4.65454 10.6255 4.99997V15C10.6255 15.3454 10.3455 15.6254 10.0001 15.6254C9.65462 15.6254 9.37459 15.3454 9.37459 15L9.37459 4.99997C9.37459 4.65454 9.65462 4.37447 10.0001 4.37447Z\",\n    fill: \"#878993\"\n  })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M16.484 9.34933C17.0593 9.92467 17.2922 10.7369 17.2922 11.6666V14.9999C17.2922 15.3454 17.0122 15.6254 16.6667 15.6254C16.3213 15.6254 16.0413 15.3454 16.0413 14.9999V11.6666C16.0413 10.9297 15.8575 10.4919 15.5995 10.2339C15.3415 9.97588 14.9036 9.79207 14.1667 9.79207H5.83339C5.09647 9.79207 4.65866 9.97588 4.40066 10.2339C4.14267 10.4919 3.95886 10.9297 3.95886 11.6666L3.95886 14.9999C3.95886 15.3454 3.67883 15.6254 3.33339 15.6254C2.98796 15.6254 2.70793 15.3454 2.70793 14.9999L2.70793 11.6666C2.70793 10.7369 2.94079 9.92467 3.51612 9.34933C4.09146 8.774 4.90365 8.54114 5.83339 8.54114L14.1667 8.54114C15.0965 8.54114 15.9087 8.774 16.484 9.34933Z\",\n    fill: \"#878993\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgResources);\nexport default __webpack_public_path__ + \"static/media/resources.97581f21.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgUsers(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 20,\n    height: 20,\n    viewBox: \"0 0 20 20\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M9.99993 2.29213C8.04418 2.29213 6.45873 3.87758 6.45873 5.83333C6.45873 7.78908 8.04418 9.37453 9.99993 9.37453C11.9557 9.37453 13.5411 7.78908 13.5411 5.83333C13.5411 3.87758 11.9557 2.29213 9.99993 2.29213ZM5.2078 5.83333C5.2078 3.18671 7.35331 1.0412 9.99993 1.0412C12.6466 1.0412 14.7921 3.18671 14.7921 5.83333C14.7921 8.47995 12.6466 10.6255 9.99993 10.6255C7.35331 10.6255 5.2078 8.47995 5.2078 5.83333Z\",\n    fill: \"#878993\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M2.21606 18.3333C2.21606 14.6489 5.83064 11.8745 9.99986 11.8745C14.1691 11.8745 17.7837 14.6489 17.7837 18.3333C17.7837 18.6788 17.5036 18.9588 17.1582 18.9588C16.8128 18.9588 16.5327 18.6788 16.5327 18.3333C16.5327 15.5677 13.7306 13.1255 9.99986 13.1255C6.26909 13.1255 3.467 15.5677 3.467 18.3333C3.467 18.6788 3.18697 18.9588 2.84153 18.9588C2.4961 18.9588 2.21606 18.6788 2.21606 18.3333Z\",\n    fill: \"#878993\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgUsers);\nexport default __webpack_public_path__ + \"static/media/users.8f4d24ba.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCheckCircle(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 22,\n    height: 22,\n    viewBox: \"0 0 22 22\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M22 11C22 17.0751 17.0751 22 11 22C4.92487 22 0 17.0751 0 11C0 4.92487 4.92487 0 11 0C17.0751 0 22 4.92487 22 11Z\",\n    fill: \"#5134DF\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M15.7794 8.34292C16.116 8.74708 16.0613 9.3476 15.6571 9.68421L9.93946 14.4461C9.74533 14.6078 9.49489 14.6857 9.24329 14.6627C8.99169 14.6397 8.75953 14.5177 8.59792 14.3235L6.22034 11.4663C5.8839 11.062 5.93891 10.4615 6.34321 10.1251C6.74752 9.78865 7.34801 9.84366 7.68446 10.248L9.4526 12.3727L14.4381 8.22059C14.8423 7.88398 15.4428 7.93875 15.7794 8.34292Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCheckCircle);\nexport default __webpack_public_path__ + \"static/media/check-circle.6ecefe4e.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgDeleteIcon(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 21,\n    height: 21,\n    viewBox: \"0 0 21 21\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M3.19602 4.62997C5.23653 4.4244 7.29513 4.31348 9.35593 4.31348C12.8023 4.31348 16.2645 4.48658 19.6955 4.83283C20.2313 4.8869 20.6218 5.36504 20.5677 5.9008C20.5136 6.43656 20.0355 6.82704 19.4997 6.77298C16.1342 6.43333 12.7374 6.26348 9.35593 6.26348C7.36431 6.26348 5.37049 6.37072 3.38973 6.57033L3.38612 6.57069L1.29725 6.77335C0.761287 6.82535 0.284652 6.43302 0.232653 5.89705C0.180655 5.36109 0.572984 4.88446 1.10895 4.83246L3.19602 4.62997Z\",\n    fill: \"#9FA1A9\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M8.12024 3.03681C8.0806 3.17052 8.05244 3.33347 8.01136 3.58819L7.79289 4.93022C7.70637 5.4617 7.20538 5.82242 6.6739 5.7359C6.14242 5.64938 5.78171 5.14839 5.86823 4.61691L6.08624 3.27769C6.0862 3.27792 6.08628 3.27746 6.08624 3.27769C6.09 3.25437 6.09395 3.22929 6.09795 3.20393C6.16399 2.78498 6.27186 2.10065 6.73124 1.57756C7.27442 0.959048 8.0905 0.758789 9.05972 0.758789H11.741C12.7217 0.758789 13.5345 0.972251 14.0735 1.59389C14.5255 2.11517 14.6352 2.79063 14.7012 3.19686C14.7055 3.22331 14.7096 3.24861 14.7136 3.27265L14.7139 3.27449L14.9322 4.59953C15.0197 5.13085 14.6599 5.63251 14.1286 5.72002C13.5973 5.80753 13.0956 5.44775 13.0081 4.91643L12.7901 3.59323C12.7901 3.59294 12.7902 3.59353 12.7901 3.59323C12.7488 3.34546 12.7208 3.18523 12.681 3.05179C12.6444 2.9293 12.6132 2.88634 12.6002 2.87135C12.5934 2.86346 12.5638 2.82919 12.4536 2.79228C12.3282 2.75027 12.1087 2.70879 11.741 2.70879H9.05972C8.68863 2.70879 8.46667 2.74901 8.33918 2.7905C8.22867 2.82647 8.20102 2.85892 8.19678 2.8639C8.19664 2.86406 8.19687 2.8638 8.19678 2.8639C8.18713 2.87489 8.15655 2.91432 8.12024 3.03681Z\",\n    fill: \"#9FA1A9\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.3399 10.7958C11.3796 10.6621 11.4077 10.4991 11.4488 10.2444C11.5345 9.7128 12.035 9.35135 12.5666 9.43709C13.0982 9.52284 13.4597 10.0233 13.3739 10.5549C13.3701 10.5784 13.3662 10.6031 13.3622 10.6287C13.2962 11.0476 13.1883 11.7319 12.7289 12.255C12.1858 12.8735 11.3697 13.0738 10.4005 13.0738C9.41975 13.0738 8.60697 12.8603 8.06796 12.2387C7.61596 11.7174 7.50623 11.042 7.44024 10.6357C7.43594 10.6093 7.43183 10.584 7.42782 10.5599C7.3393 10.0288 7.69812 9.52644 8.22927 9.43792C8.76042 9.34939 9.26277 9.70821 9.35129 10.2394C9.39267 10.4876 9.42056 10.6472 9.46045 10.7808C9.49702 10.9033 9.52825 10.9463 9.54124 10.9612C9.54112 10.9611 9.54136 10.9614 9.54124 10.9612C9.54806 10.9691 9.57764 11.0034 9.68784 11.0403C9.81328 11.0823 10.0328 11.1238 10.4005 11.1238C10.7716 11.1238 10.9935 11.0836 11.121 11.0421C11.2315 11.0061 11.2591 10.9737 11.2634 10.9687C11.2633 10.9688 11.2635 10.9685 11.2634 10.9687C11.273 10.9577 11.3036 10.9183 11.3399 10.7958Z\",\n    fill: \"#9FA1A9\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M3.32216 4.95313C3.8595 4.91812 4.32347 5.32534 4.35848 5.86268L5.0286 16.1484C5.02863 16.1489 5.02866 16.1493 5.02869 16.1498C5.05688 16.5646 5.08024 16.8773 5.13411 17.146C5.18603 17.4051 5.25426 17.5532 5.32793 17.6491C5.44044 17.7956 5.78287 18.0922 7.11122 18.0922H13.674C15.0024 18.0922 15.3448 17.7956 15.4573 17.6491C15.531 17.5532 15.5992 17.4051 15.6511 17.146C15.705 16.8773 15.7283 16.5646 15.7565 16.1498C15.7566 16.1493 15.7566 16.1489 15.7566 16.1484L16.4268 5.86267C16.4618 5.32534 16.9258 4.91812 17.4631 4.95313C18.0004 4.98814 18.4077 5.45212 18.3727 5.98945L17.7023 16.2779L17.7021 16.2806L17.7008 16.3003C17.6748 16.683 17.6451 17.1199 17.5631 17.5292C17.4777 17.9556 17.3238 18.4203 17.0038 18.8369C16.3291 19.7154 15.1984 20.0422 13.674 20.0422H7.11122C5.58686 20.0422 4.45616 19.7154 3.78144 18.8369C3.46149 18.4203 3.30758 17.9556 3.22213 17.5292C3.14009 17.1199 3.11042 16.683 3.08442 16.3003L3.08309 16.2806L3.08291 16.2779L2.41261 5.98945C2.3776 5.45211 2.78482 4.98813 3.32216 4.95313Z\",\n    fill: \"#9FA1A9\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDeleteIcon);\nexport default __webpack_public_path__ + \"static/media/delete-icon.9ad8aa31.svg\";\nexport { ForwardRef as ReactComponent };","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport Typography from \"./Typography\";\n\ninterface Props {\n  value: number;\n  outOf: number;\n  isCritical: boolean;\n  label: string;\n  subText?: string;\n  textColor?: string;\n}\n\nconst MetricBlock = ({\n  value,\n  outOf,\n  isCritical = false,\n  label,\n  subText = \"\",\n  textColor,\n}: Props) => {\n  const theme = useTheme();\n  const styles = {\n    flexCol: { display: \"flex\", flexDirection: \"column\" },\n    container: {\n      gap: theme.spacing(1),\n    },\n    count: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n      alignItems: \"end\",\n    },\n    text: {\n      gap: theme.spacing(0.25),\n    },\n    valueText: {\n      fontSize: \"32px\",\n      lineHeight: \"1.75rem\",\n      fontWeight: \"300\",\n    },\n    manropeFont: {\n      fontFamily: \"Manrope\",\n    },\n  };\n  return (\n    <Box sx={{ ...styles.flexCol, ...styles.container }}>\n      <Box sx={styles.count}>\n        <Typography\n          component=\"span\"\n          color={\n            isCritical\n              ? theme.palette.critical.main\n              : theme.palette.surface80.main\n          }\n          sx={{ ...styles.valueText, ...styles.manropeFont }}\n        >\n          {value || 0}\n        </Typography>\n        {outOf > 0 && (\n          <Typography\n            component=\"span\"\n            color={theme.palette.surface60.main}\n            variant=\"body1\"\n            sx={styles.manropeFont}\n          >\n            /{outOf || 0}\n          </Typography>\n        )}\n      </Box>\n      <Box sx={{ ...styles.flexCol, ...styles.text }}>\n        <Typography\n          color={textColor || theme.palette.surface80.main}\n          variant=\"caption\"\n        >\n          {label}\n        </Typography>\n        <Typography color={theme.palette.surface50.main} variant=\"caption\">\n          {subText}\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default MetricBlock;\n","import React from \"react\";\nimport { accountTypes } from \"../../../utils/accountsHelper\";\nimport { ACCOUNT_TYPES } from \"../../../utils/Constants\";\n\nconst SelectAccountStep = ({ handleSelected, selected, currentStep }) => {\n  const getClassNameForSelection = (accountType) => {\n    return `${selected === accountType ? \"types types\" : \"types\"} text-center`;\n  };\n\n  return (\n    <div className=\"select-account\">\n      <div className=\"account-list\">\n        <div className=\"row\">\n          <div className=\"col font-weight-bold mb-3\">Account Types</div>\n        </div>\n        <div className=\"row\">\n          {/* <div className=\"col d-flex align-items-center flex-wrap\"> */}\n          {accountTypes.map((account, index) => (\n            <div\n              className={\"modal-card col-sm-4\"}\n              key={index}\n              style={\n                account.type !== ACCOUNT_TYPES.AWS\n                  ? { opacity: 0.7, cursor: \"default\" }\n                  : {}\n              }\n            >\n              <div\n                className={getClassNameForSelection(account.type)}\n                onClick={() =>\n                  account.type == ACCOUNT_TYPES.AWS\n                    ? handleSelected(account.type)\n                    : null\n                }\n              >\n                <img src={account.image} className=\"modal-card-img\" />\n              </div>\n              {/* <h4 className=\"modal-card-title mt-1 \">{account.title}</h4> */}\n            </div>\n          ))}\n          {/* </div> */}\n        </div>\n      </div>\n\n      {/* <div className=\"d-flex step-margin\">\n        <div>\n          <div className=\"count-circle\">{currentStep}</div>\n        </div>\n        <div className=\"d-flex flex-column justify-content-center pl-3\">\n          {\" \"}\n          <div className=\"step-header mb-2 text-center\">\n            Select the type of account to add\n          </div>\n          <div className=\"step-sub-header\"></div>\n        </div>\n      </div> */}\n    </div>\n  );\n};\n\nexport default SelectAccountStep;\n","export default __webpack_public_path__ + \"static/media/info-icon.3081c73a.svg\";","import React, { useState, useEffect } from \"react\";\nimport \"./account.scss\";\nimport \"../../modal/accounts-modal/AddAccountModal.scss\";\nimport * as Yup from \"yup\";\nimport { useFormik } from \"formik\";\nimport { useDispatch } from \"react-redux\";\nimport { launchStackAsync } from \"../../../redux/slices/accountSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\n\nconst AccountDetailStep = ({\n  accountDetails,\n  setAccountDetails,\n  externalId,\n  backStep,\n  currentStep,\n  addAccount,\n  regionList,\n  setShowLoader,\n  showLoader,\n}) => {\n  const dispatch = useDispatch();\n\n  const DATA_SCANNING_FREQUENCY = [\n    { label: \"Daily\", value: \"rate(1 day)\" },\n    { label: \"Weekly\", value: \"rate(7 days)\" },\n    { label: \"Monthly\", value: \"rate(30 days)\" },\n  ];\n\n  const [enableBtn, setEnableBtn] = useState(false);\n  const [selectedRegion, setSelectedRegion] = useState(\"us-east-1\");\n  const [scanningFrequency, setScanningFrequency] = useState(\n    DATA_SCANNING_FREQUENCY[2].value\n  );\n\n  // Formik\n\n  const formik = useFormik({\n    initialValues: {\n      accountId: accountDetails.accountId,\n      accountDescription: accountDetails.accountDescription,\n      externalId: externalId,\n      awsRoleARN: accountDetails.awsRoleARN,\n      dataScanFrequency: scanningFrequency,\n    },\n\n    validationSchema: Yup.object().shape({\n      accountId: Yup.string()\n        .max(12, \"Account Id should be 12 digit\")\n        .min(12, \"Account Id should be 12 digit\")\n        .matches(\"^[0-9]\", \"Account Id should be numeric.\")\n        .required(\"Please enter valid Account Id\"),\n      externalId: Yup.string().required(\"Please enter External Id.\"),\n      // awsRoleARN: Yup.string().required(\"Please enter Role Arn.\"),\n    }),\n    onSubmit: (values) => {\n      setAccountDetails({ ...values });\n      addAccount(values);\n    },\n  });\n\n  const launchStackHandler = async () => {\n    setShowLoader(true);\n    const resp = await dispatch(\n      launchStackAsync({\n        id: formik.values.accountId,\n        region: selectedRegion,\n        dataScanFrequency: scanningFrequency,\n      })\n    );\n    if (resp && resp.payload?.data) {\n      window.open(resp.payload?.data);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        `Failed to launch stack for account ${formik.values.accountId}. Please check the Account Id.`\n      );\n    }\n    setShowLoader(false);\n  };\n\n  useEffect(() => {\n    setEnableBtn(\n      accountDetails.accountId &&\n        accountDetails.externalId &&\n        accountDetails.awsRoleARN\n    );\n  }, []);\n\n  useEffect(() => {\n    formik.setFieldValue(\"externalId\", externalId);\n  }, [externalId]);\n\n  return (\n    <div id=\"add-account\">\n      {showLoader && (\n        <img\n          src=\"static/img/loader-circle.svg\"\n          className=\"account-loading-img\"\n        ></img>\n      )}\n      <form onSubmit={formik.handleSubmit}>\n        <div className=\"modal-body p-0\">\n          <div className=\"row\">\n            <div className=\"col font-weight-bold form-field-title mb-3\">\n              Enter details\n            </div>\n          </div>\n          <div className=\"row\">\n            <div className=\"col-12\">\n              <b className=\"form-field-name \">Account Id</b>\n              <span className=\"mandatory-icon\">*</span>\n            </div>\n            <div className=\"col-12\">\n              <input\n                type=\"text\"\n                id=\"accountId\"\n                placeholder=\"12-Digit AWS Account Id\"\n                name=\"accountId\"\n                maxLength={12}\n                minLength={12}\n                className=\"modal-input-style px-2\"\n                onChange={(e) => {\n                  if (e.target.value.length === 13) {\n                    return;\n                  }\n                  formik.setFieldValue(\"accountId\", e.target.value?.trim());\n                  setEnableBtn(true);\n                }}\n                value={formik.values.accountId}\n                onBlur={formik.handleBlur}\n              />\n              {formik.errors.accountId && formik.touched.accountId && (\n                <div className=\"error-message\">{formik.errors.accountId}</div>\n              )}\n            </div>\n          </div>\n          <div className=\"row mt-2\">\n            <div className=\"col-12\">\n              <b className=\"form-field-name \">Account Description</b>\n            </div>\n            <div className=\"col-12\">\n              <textarea\n                className=\"modal-textarea py-2 px-2\"\n                placeholder=\"Account Description\"\n                name=\"accountDescription\"\n                id=\"accountDescription\"\n                onChange={(e) => {\n                  formik.setFieldValue(\"accountDescription\", e.target.value);\n                }}\n                value={formik.values.accountDescription}\n              ></textarea>\n            </div>\n          </div>\n          <div className=\"row\">\n            <div className=\"col-12\">\n              <b className=\"form-field-name \">External ID</b>\n              <span className=\"mandatory-icon\">*</span>\n            </div>\n            <div className=\"col-12\">\n              <div className=\"row\">\n                <div className=\"col-12 mb-1\">\n                  <input\n                    type=\"text\"\n                    id=\"externalId\"\n                    placeholder=\"External Id\"\n                    name=\"externalId\"\n                    className=\"modal-input-style-2 px-2\"\n                    onChange={(e) => {\n                      formik.setFieldValue(\n                        \"externalId\",\n                        e.target.value?.trim()\n                      );\n                      setEnableBtn(true);\n                    }}\n                    value={formik.values.externalId}\n                    onBlur={formik.handleBlur}\n                  />\n                  {formik.errors.externalId && formik.touched.externalId && (\n                    <div className=\"error-message\">\n                      {formik.errors.externalId}\n                    </div>\n                  )}\n                </div>\n                <div className=\"col-12\">\n                  <span className=\"modal-subtext\">\n                    The External ID has been auto generated for you. You can\n                    change the ID to a custom ID.\n                  </span>\n                </div>\n              </div>\n            </div>\n          </div>\n          <div className=\"row mt-2  mb-4\">\n            <div className=\"col-12\">\n              <b className=\"form-field-name \">Region</b>\n              <span className=\"mandatory-icon\">*</span>\n            </div>\n            <div className=\"col-12\">\n              <div className=\"row\">\n                <div className=\"col col-lg-12\">\n                  <select\n                    className=\"form-control\"\n                    value={selectedRegion}\n                    onChange={(event) => {\n                      setSelectedRegion(event.target.value);\n                    }}\n                  >\n                    <option disabled>Select+ Region</option>\n                    {regionList.map((region, index) => (\n                      <option key={index} value={region.value}>\n                        {region.value}\n                      </option>\n                    ))}\n                  </select>\n                </div>\n              </div>\n            </div>\n          </div>\n          <div className=\"row mt-2  mb-4\">\n            <div className=\"col-12\">\n              <b className=\"form-field-name \">Data Scanning Frequency</b>\n            </div>\n            <div className=\"col-12\">\n              <div className=\"row\">\n                <div className=\"col col-lg-12\">\n                  <select\n                    className=\"form-control\"\n                    value={scanningFrequency}\n                    onChange={(event) => {\n                      setScanningFrequency(event.target.value);\n                      formik.setFieldValue(\n                        \"dataScanFrequency\",\n                        event.target.value\n                      );\n                    }}\n                  >\n                    <option disabled>Select Data Scanning Frequency</option>\n                    {DATA_SCANNING_FREQUENCY.map((frequency, index) => (\n                      <option key={index} value={frequency.value}>\n                        {frequency.label}\n                      </option>\n                    ))}\n                  </select>\n                </div>\n              </div>\n            </div>\n          </div>\n\n          {/* <hr></hr> */}\n          {/* <div className=\"row \">\n            <div className=\"col col-lg-3 d-flex justify-content-start align-items-center\">\n              <b className=\"form-field-name \">Scan Frequency </b>\n            </div>\n            <div className=\"col col-lg-9 p-0 d-flex justify-content-start align-items-center\">\n              <div className=\"row\">\n                <div className=\"col col-lg-3 p-0 d-flex justify-content-start align-items-center\">\n                  <span className=\"mr-4 radio-button-title\">Default</span>{\" \"}\n                  <input\n                    type=\"radio\"\n                    value={FREQUENCY.DEFAULT}\n                    name=\"frequency\"\n                    className=\"m-1 mr-3 default-radio-button\"\n                    onChange={(e) =>\n                      formik.setFieldValue(\"scanFrequency\", FREQUENCY.DEFAULT)\n                    }\n                    checked={formik.values.scanFrequency === FREQUENCY.DEFAULT}\n                  />\n                  <span className=\"radio-button-text\">6hr</span>\n                </div>\n              </div>\n            </div>\n          </div> */}\n          {/* <div className=\"row mt-3\">\n            <div className=\"col col-lg-3 d-flex justify-content-start align-items-center\"></div>\n            <div className=\"col col-lg-9 p-0\">\n              <div className=\"row\">\n                <div className=\"col col-lg-12 p-0 d-flex justify-content-start align-items-start\">\n                  <span className=\"mr-4 radio-button-title\">Custom</span>{\" \"}\n                  <span className=\"mr-4 mt-n1\">\n                    <input\n                      type=\"radio\"\n                      value={FREQUENCY.CUSTOM.FRQ_12_HR}\n                      name=\"frequency\"\n                      onChange={(e) =>\n                        formik.setFieldValue(\n                          \"scanFrequency\",\n                          FREQUENCY.CUSTOM.FRQ_12_HR\n                        )\n                      }\n                      checked={\n                        formik.values.scanFrequency ===\n                        FREQUENCY.CUSTOM.FRQ_12_HR\n                      }\n                      className=\"mr-3  custom-radio-button\"\n                    />{\" \"}\n                    <br></br>\n                    <span className=\"radio-button-text ml-n2\"> 12hr</span>\n                  </span>\n                  <span className=\"mr-4 mt-n1\">\n                    <input\n                      type=\"radio\"\n                      value={FREQUENCY.CUSTOM.FRQ_24_HR}\n                      onChange={(e) =>\n                        formik.setFieldValue(\n                          \"scanFrequency\",\n                          FREQUENCY.CUSTOM.FRQ_24_HR\n                        )\n                      }\n                      checked={\n                        formik.values.scanFrequency ===\n                        FREQUENCY.CUSTOM.FRQ_24_HR\n                      }\n                      name=\"frequency\"\n                      className=\"mr-3 ml-2 custom-radio-button\"\n                    />{\" \"}\n                    <br></br>\n                    <span className=\"radio-button-text\"> 24hr</span>\n                  </span>\n                  <span className=\"mr-4 mt-n1\">\n                    <input\n                      type=\"radio\"\n                      value={FREQUENCY.CUSTOM.FRQ_2_DAYS}\n                      onChange={(e) =>\n                        formik.setFieldValue(\n                          \"scanFrequency\",\n                          FREQUENCY.CUSTOM.FRQ_2_DAYS\n                        )\n                      }\n                      checked={\n                        formik.values.scanFrequency ===\n                        FREQUENCY.CUSTOM.FRQ_2_DAYS\n                      }\n                      name=\"frequency\"\n                      className=\"mr-3 ml-2 custom-radio-button\"\n                    />{\" \"}\n                    <br></br>\n                    <span className=\"radio-button-text\"> 2days</span>\n                  </span>\n                  <span className=\"mr-4 mt-n1\">\n                    <input\n                      type=\"radio\"\n                      value={FREQUENCY.CUSTOM.FRQ_5_DAYS}\n                      onChange={(e) =>\n                        formik.setFieldValue(\n                          \"scanFrequency\",\n                          FREQUENCY.CUSTOM.FRQ_5_DAYS\n                        )\n                      }\n                      checked={\n                        formik.values.scanFrequency ===\n                        FREQUENCY.CUSTOM.FRQ_5_DAYS\n                      }\n                      name=\"frequency\"\n                      className=\"mr-3 ml-2 last-custom-radio-button\"\n                    />{\" \"}\n                    <br></br>\n                    <span className=\"ml-n1 radio-button-text\"> 5days</span>\n                  </span>\n                </div>\n              </div>\n            </div>\n          </div> */}\n        </div>\n        <div className=\"row\">\n          <div className=\"col mt-2\">\n            <div className=\"float-left\">\n              <button\n                type=\"button\"\n                onClick={() => backStep(false)}\n                className=\"btn btn-primary\"\n              >\n                Back: Select Account\n              </button>\n            </div>\n            <div className=\"float-right\">\n              <button\n                type=\"submit\"\n                className={\n                  formik.isValid & enableBtn\n                    ? \"btn btn-primary mr-2\"\n                    : '\"btn btn-secondary mr-2\"'\n                }\n                disabled={!formik.isValid || !enableBtn}\n              >\n                Add Account\n              </button>\n            </div>\n          </div>\n        </div>\n      </form>\n    </div>\n  );\n};\n\nexport default AccountDetailStep;\n","import \"./account.scss\";\nimport React, { useState, useEffect } from \"react\";\nimport {\n  ACCOUNT_TYPES,\n  WIZARD_STEPS,\n  FREQUENCY,\n} from \"../../../utils/Constants\";\nimport SelectAccountStep from \"./SelectAccountStep\";\nimport AccountDetailStep from \"./AccountDetailStep\";\nimport {\n  addAccountAsync,\n  generateExternalIdAsync,\n  verifyAccountAsync,\n  getRegionListAsync,\n} from \"../../../redux/slices/accountSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport {\n  showLoading,\n  hideLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport { getUserId, getCustomerRef } from \"../../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { useHistory } from \"react-router-dom\";\n\nconst DATA_SCANNING_FREQUENCY = [\n  { label: \"Daily\", value: \"rate(1 day)\" },\n  { label: \"Weekly\", value: \"rate(7 days)\" },\n  { label: \"Monthly\", value: \"rate(30 days)\" },\n];\n\n\n\nconst FirstTimeLoginAccount = ({}) => {\n  const [selectedAccountType, setSelectedAccountType] = useState();\n  const [currentStep, setCurrentStep] = useState(WIZARD_STEPS.SELECT_ACCOUNT);\n  const [externalId, setExternalId] = useState(\"\");\n  const [accountDetails, setAccountDetails] = useState({\n    accountId: \"\",\n    accountDescription: \"\",\n    externalId: \"\",\n    awsRoleARN: \"\",\n    dataScanFrequency: DATA_SCANNING_FREQUENCY[2].value,\n  });\n  const [showLoader, setShowLoader] = useState(false);\n\n  const [regionList, setRegionList] = useState([]);\n  let history = useHistory();\n\n  const dispatch = useDispatch();\n\n  const generateExtId = async () => {\n    const resp = await dispatch(generateExternalIdAsync());\n    if (resp && resp.payload?.ExternalId) {\n      setExternalId(resp.payload?.ExternalId);\n    }\n  };\n\n  const verifyAccount = async (values) => {\n    setShowLoader(true);\n    const resp = await dispatch(\n      verifyAccountAsync({\n        RoleArn: values.awsRoleARN,\n        id: values.accountId,\n      })\n    );\n    setShowLoader(false);\n    if (resp && resp.payload && !resp.payload.err) {\n      addAccount(values);\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp?.payload?.err?.message ||\n          \"Failed to verify account. Please check the details and try again.\"\n      );\n    }\n  };\n\n\n  const redirectToAccounts =  () => {\n    setTimeout(\n      function() {\n        history.push(\"/account\");\n        Toaster(TOASTER_TYPES.SUCCESS, \"Account added successfully.\");\n      }, 2000);\n  }\n\n\n  const addAccount = async (values) => {\n    setShowLoader(true);\n    const resp = await dispatch(\n      addAccountAsync({\n        id: values.accountId,\n        accountDescription: values.accountDescription,\n        awsRoleARN: values.awsRoleARN,\n        dataScanFrequency: values.dataScanFrequency,\n        scanFrequency: values.scanFrequency,\n        externalId: values.externalId,\n        userId: getUserId(),\n        type: selectedAccountType,\n        customerRef: getCustomerRef(),\n      })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      setShowLoader(false);\n      redirectToAccounts();\n      window.open(resp.payload.data);\n    } else {\n      setShowLoader(false);\n\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp?.payload?.err?.message ||\n          \"Failed to add account. Please check the details and try again\"\n      );\n    }\n  };\n\n  const getRegionList = async () => {\n    const resp = await dispatch(getRegionListAsync());\n    var respList = resp.payload?.msg;\n    var updatedRegionList = [];\n    respList.map((val) => {\n      updatedRegionList.push({ label: val, value: val });\n    });\n    if (resp && resp.payload?.msg) {\n      setRegionList(updatedRegionList);\n    }\n  };\n\n  useEffect(() => {\n    generateExtId();\n    getRegionList();\n  }, []);\n\n  return (\n    <div className=\"add-account-container\">\n      <div className=\"header\">Welcome to Cloud Defense</div>\n      <div className=\"sub-header-text\">\n        {/* Vestibulum iusto nonummy nostra diam ullamcorper. Diam usitas dolore\n        sociis paratus reprobo rhoncus. Ultrices eros luptatum exerci erat\n        accumsan consequat nullam. Porta ymo letalis eligo camur class eum fere.\n        Sodales macto luctus capio epulae saepius molior. Vehicula et plaga\n        iusto vero. */}\n      </div>\n      <div className=\"row justify-content-center\">\n        <div className=\"col-lg-7\">\n          <div className=\"add-account-content mx-3\">\n            <div className=\"content-header d-flex align-items-center mb-4\">\n              Add new account\n            </div>\n            <div className=\"steps-header mb-4\">\n              <ul>\n                <li className={currentStep == 1 ? \"activestep\" : \"\"}>\n                  <div className=\"step-number\">1</div>\n                  <div className=\"step-text\">Select the type of account</div>\n                </li>\n                <li className={currentStep == 2 ? \"activestep\" : \"\"}>\n                  <div className=\"step-number\">2</div>\n                  <div className=\"step-text\">Enter account details</div>\n                </li>\n              </ul>\n            </div>\n            {currentStep === WIZARD_STEPS.SELECT_ACCOUNT && (\n              <SelectAccountStep\n                selected={selectedAccountType}\n                handleSelected={(val) => {\n                  setSelectedAccountType(val);\n                  setCurrentStep(currentStep + 1);\n                }}\n                currentStep={currentStep}\n              />\n            )}\n\n            {currentStep === WIZARD_STEPS.ACCOUNT_DETAILS && (\n              <AccountDetailStep\n                accountDetails={accountDetails}\n                setAccountDetails={setAccountDetails}\n                externalId={externalId}\n                backStep={() => {\n                  setCurrentStep(currentStep - 1);\n                }}\n                addAccount={addAccount}\n                currentStep={currentStep}\n                regionList={regionList}\n                showLoader={showLoader}\n                setShowLoader={setShowLoader}\n              />\n            )}\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default FirstTimeLoginAccount;\n","export default __webpack_public_path__ + \"static/media/database.580ea27d.svg\";","import \"./SensitiveData.scss\";\nimport { useDispatch } from \"react-redux\";\nimport { listSensitiveData } from \"../../../../redux/slices/dataStoreSlice.js\";\nimport React, { useEffect, useState } from \"react\";\nimport DatabaseIcon from \"../../../../assets/img/v1-icons/database.svg\";\nimport { getCustomerId } from \"../../../../utils/SessionHelper\";\n\nconst SensitiveData = ({ selectedAccount }) => {\n  const [sensitiveData, setSensitiveData] = useState([]);\n\n  const dispatch = useDispatch();\n\n  const tags = {\n    \"PII-SSN\": \"Social Security Numbers\",\n    \"PII-CC\": \"Credit Cards\",\n    \"PII-MN\": \"Mobile Numbers\",\n    \"PII-ADDRESS\": \"Street Addresses\",\n    \"PII-IP\": \"IP Addresses\",\n    \"PII-EMAILS\": \"Emails\",\n    \"PII-EMAIL\": \"Email\",\n    \"PII-DL\": \"Drivers Licenses\",\n    \"PII-NAMES\": \"Names\",\n    \"PII-PHONE\": \"Mobile Numbers\",\n    \"PII-AADHAR\": \"Aadhar Card Numbers\",\n    \"PII-EUA\": \"EU Street Addresses\",\n    \"PII-NIH\": \"NIH Numbers\",\n  };\n\n  const getDatastoreStats = async () => {\n    const resp = await dispatch(\n      listSensitiveData({\n        customerId: getCustomerId(),\n        cloudAccountId:\n          selectedAccount.value === \"all\" ? null : selectedAccount.value,\n      })\n    );\n    if (resp && resp.payload) {\n      setSensitiveData(resp.payload);\n    }\n  };\n  const formatCount = (n) => {\n    if (n < 1e3) return n;\n    if (n >= 1e3) return +(n / 1e3).toFixed(1) + \"K\";\n  };\n  useEffect(() => {\n    getDatastoreStats();\n  }, [selectedAccount]);\n\n  return (\n    <div id=\"sensitive-data\">\n      <table class=\"table table-sm\">\n        <tbody>\n          {sensitiveData &&\n            sensitiveData.map((data, index) => {\n              return (\n                <tr>\n                  <td> {tags[data.tag]}</td>\n                  <td className=\"sensitivity-count\">\n                    {formatCount(data.count)}\n                  </td>\n                  <td className=\"sensitivity-count\">\n                    {data.datastores}{\" \"}\n                    <img className=\"icon\" src={DatabaseIcon} />\n                  </td>\n                </tr>\n              );\n            })}\n        </tbody>\n      </table>\n    </div>\n  );\n};\n\nexport default SensitiveData;\n","export default __webpack_public_path__ + \"static/media/location.4140aa78.svg\";","export default __webpack_public_path__ + \"static/media/arrow.78d13163.svg\";","export default __webpack_public_path__ + \"static/media/logging.8777da21.svg\";","export default __webpack_public_path__ + \"static/media/data-access.f64a2c23.svg\";","export default __webpack_public_path__ + \"static/media/lock.0a6498de.svg\";","export default __webpack_public_path__ + \"static/media/alert.7ce2f74c.svg\";","export default __webpack_public_path__ + \"static/media/right_arrow.0074ba88.svg\";","export default __webpack_public_path__ + \"static/media/cpu.d9a5b0cf.svg\";","export default __webpack_public_path__ + \"static/media/left-arrow.9e43f735.svg\";","export default __webpack_public_path__ + \"static/media/llm.5a7a0a9a.svg\";","export default __webpack_public_path__ + \"static/media/data-leakage.269de881.svg\";","export default __webpack_public_path__ + \"static/media/database-plain.2fa94ce1.svg\";","import \"./DataPolicyViolation.scss\";\nimport React, { useEffect, useState } from \"react\";\nimport DatabaseIcon from \"../../../../assets/img/v1-icons/database.svg\";\nimport Location from \"../../../../assets/img/v1-icons/location.svg\";\nimport Arrow from \"../../../../assets/img/v1-icons/arrow.svg\";\nimport Logging from \"../../../../assets/img/v1-icons/logging.svg\";\nimport DataAccess from \"../../../../assets/img/v1-icons/data-access.svg\";\nimport Lock from \"../../../../assets/img/v1-icons/lock.svg\";\nimport Alert from \"../../../../assets/img/v1-icons/alert.svg\";\nimport RightArrow from \"../../../../assets/img/v1-icons/right_arrow.svg\";\nimport CPU from \"../../../../assets/img/v1-icons/cpu.svg\";\nimport { useHistory } from \"react-router-dom\";\nimport LeftArrow from \"../../../../assets/img/v1-icons/left-arrow.svg\";\nimport Llm from \"../../../../assets/img/v1-icons/llm.svg\";\nimport DataLeak from \"../../../../assets/img/v1-icons/data-leakage.svg\";\n\nimport {\n  fetchPolicyViolationFiltersSlice,\n  fetchPolicyViolationsSlice,\n} from \"../../../../redux/slices/dashboardSlice\";\n\nimport DBPlain from \"../../../../assets/img/v1-icons/database-plain.svg\";\nimport { useDispatch } from \"react-redux\";\nimport { getCustomerId } from \"../../../../utils/SessionHelper\";\n\nconst DataPolicyViolation = ({ selectedAccount }) => {\n  const dispatch = useDispatch();\n  const history = useHistory();\n\n  const [policyViolationFilters, setPolicyViolationFilters] = useState([]);\n  const [\n    updatedPolicyViolationFilters,\n    setUpdatedPolicyViolationFilters,\n  ] = useState();\n  const [filterIndex, setFilterIndex] = useState(0);\n  const [selectedFilter, setSelectedFilter] = useState(\"\");\n  const [policyViolations, setPolicyViolations] = useState([]);\n\n  const getPolicyViolationFilters = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    };\n    let resp = await dispatch(fetchPolicyViolationFiltersSlice(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      setPolicyViolationFilters(resp.payload);\n      let filters = resp.payload;\n      let updatedFilters = filters.slice(0, 3);\n      setUpdatedPolicyViolationFilters([...updatedFilters]);\n    }\n  };\n\n  const getPolicyViolations = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n      filters: selectedFilter,\n    };\n    let resp = await dispatch(fetchPolicyViolationsSlice(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      setPolicyViolations(resp.payload);\n    }\n  };\n\n  const getIconByPolicyFilter = (type) => {\n    if (type === \"encryption\") {\n      return Lock;\n    }\n    if (type === \"public-access\") {\n      return Arrow;\n    }\n    if (type === \"data-residency\") {\n      return Location;\n    }\n    if (type === \"data-access\") {\n      return DataAccess;\n    }\n    if (type === \"logging\") {\n      return Logging;\n    }\n    if (type === \"llm\") {\n      return Llm;\n    }\n    if (type === \"data-leakage\") {\n      return DataLeak;\n    }\n  };\n\n  const updatePolicyFilter = (type) => {\n    if (\n      policyViolationFilters.length > 3 &&\n      policyViolationFilters.length - filterIndex >= 3\n    ) {\n      let updatedFilters = [];\n      for (let index = filterIndex; index < 3 + filterIndex; index++) {\n        updatedFilters.push(policyViolationFilters[index]);\n      }\n\n      setUpdatedPolicyViolationFilters([...updatedFilters]);\n    }\n  };\n\n  const getTotalViolatingPolicies = () => {\n    let total = 0;\n    if (policyViolations.length > 0) {\n      policyViolations.map((issue) => {\n        total = total + issue.dsCount;\n      });\n    }\n    return total;\n  };\n\n  const viewIssues = (data) => {\n    history.push(\"/vulnerabilities/policy-violation/\" + data.id);\n  };\n\n  const viewDatastores = (data) => {\n    if (!data.actionType) {\n      data.actionType = \"ticket/accept\";\n    }\n    sessionStorage.setItem(\"policy\", JSON.stringify(data));\n    history.push(\"/datastore/policy-violation/\" + data.id);\n  };\n\n  useEffect(() => {\n    getPolicyViolationFilters();\n  }, []);\n\n  useEffect(() => {\n    getPolicyViolations();\n  }, [selectedFilter]);\n\n  useEffect(() => {\n    updatePolicyFilter();\n  }, [filterIndex]);\n\n  return (\n    <div id=\"data-policy-violation\">\n      <h3 className=\"title mb-3\">\n        Data Policy Violation ({getTotalViolatingPolicies()})\n      </h3>\n      <ul className=\"nav nav-pills mb-1 d-flex\" id=\"pills-tab\" role=\"tablist\">\n        <li className=\"nav-item nav-item-all\">\n          <a\n            className={`nav-link ${selectedFilter === \"\" ? \"active\" : \"\"}`}\n            id=\"filter-tab\"\n            data-toggle=\"pill\"\n            href=\"#filter-types\"\n            role=\"tab\"\n            aria-selected=\"false\"\n            onClick={() => {\n              setSelectedFilter(\"\");\n            }}\n          >\n            All{\" \"}\n          </a>\n        </li>\n        {updatedPolicyViolationFilters &&\n          updatedPolicyViolationFilters.map((filter) => {\n            return (\n              <li className=\"nav-item nav-filters\">\n                <a\n                  className={`nav-link ${\n                    selectedFilter === filter.type ? \"active\" : \"\"\n                  }`}\n                  id=\"filter-types\"\n                  data-toggle=\"pill\"\n                  href=\"#filter-types-tab\"\n                  role=\"tab\"\n                  aria-controls=\"filter-types\"\n                  aria-selected=\"false\"\n                  onClick={() => {\n                    setSelectedFilter(filter?.type);\n                  }}\n                >\n                  <img\n                    height=\"18px\"\n                    alt=\"icon\"\n                    className=\"filter-icon pl-3 pr-2\"\n                    src={getIconByPolicyFilter(filter?.type)}\n                  />\n\n                  {filter.name}\n                </a>\n              </li>\n            );\n          })}\n\n        <div className=\"p-1 d-flex align-items-center nav-actions\">\n          {/* {filterIndex > 0 && ( */}\n          <img\n            className={`${\n              filterIndex <= 0 ? \"filter-icon-disabled\" : \"\"\n            } pl-3 pr-1`}\n            alt=\"right-arrow\"\n            title=\"Previous\"\n            onClick={() => {\n              if (filterIndex > 0) {\n                setFilterIndex(filterIndex - 1);\n              }\n            }}\n            src={LeftArrow}\n          />\n          {/* )} */}\n\n          {/* {policyViolationFilters.length - filterIndex > 3 && ( */}\n          <img\n            alt=\"left-arrow\"\n            className={`${\n              policyViolationFilters.length - filterIndex > 3\n                ? \"\"\n                : \"filter-icon-disabled\"\n            }  pl-1 pr-2`}\n            onClick={() => {\n              if (policyViolationFilters.length - filterIndex > 3) {\n                setFilterIndex(filterIndex + 1);\n              }\n            }}\n            src={RightArrow}\n            title=\"Next\"\n          />\n          {/* )} */}\n        </div>\n      </ul>\n\n      <div className=\"tab-content\" id=\"pills-tabContent\">\n        <div\n          className=\"tab-pane fade show active\"\n          id=\"top-issues\"\n          role=\"tabpanel\"\n          aria-labelledby=\"high-risk-tab\"\n        >\n          <div className=\"mt-2 top-issues table-responsive\">\n            <table className=\"table table-sm\">\n              <tbody>\n                {policyViolations &&\n                  policyViolations.map((data, index) => {\n                    return (\n                      <tr\n                        className=\"cursor-pointer\"\n                        onClick={() => {\n                          viewDatastores(data);\n                        }}\n                      >\n                        <td>\n                          <img\n                            className=\"icon\"\n                            width=\"20px\"\n                            src={getIconByPolicyFilter(data.policyType)}\n                          />\n                        </td>\n\n                        <td title={data.title.length > 55 ? data.title : \"\"}>\n                          {data.title.length > 55\n                            ? data.title.slice(0, 55) + \"..\"\n                            : data.title}\n                          {data.datastoreCategory === \"shadow-ai\" && (\n                            <span className=\"beta ml-1\">Beta</span>\n                          )}\n                        </td>\n                        <td className=\"sensitivity-count\">\n                          {data.dsCount}\n                          {data.datastoreCategory &&\n                          data.datastoreCategory === \"shadow-ai\" ? (\n                            <img className=\"icon \" src={CPU} />\n                          ) : (\n                            <img className=\"icon \" src={DBPlain} />\n                          )}\n                        </td>\n                        <td>\n                          {data.attackStatus && (\n                            <img className=\"icon\" src={Alert} />\n                          )}\n                        </td>\n                      </tr>\n                    );\n                  })}\n              </tbody>\n            </table>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default DataPolicyViolation;\n","import './HomeV1.scss';\nimport SharedCard from './v1/sharedCard/SharedCard';\nimport Card from './v1/card/Card';\nimport { fetchDashboardStat } from '../../redux/slices/dashboardSlice';\n\nimport React, { useEffect, useState } from 'react';\nimport InfoModal from '../../components/modal/info-modal/InfoModal';\nimport DataStores from '../../components/home/datastores/Datastores';\nimport DataFlows from '../../components/home/data-flows/DataFlow';\nimport SecurityIssues from '../../components/home/security-issues/SecurityIssues';\nimport Achievements from '../../components/home/achievements/Achievements';\nimport ImpactedDatastores from '../../components/home/impacted-datastores/ImpactedDatastores';\nimport Trend from '../../components/home/trends/Trends';\nimport { getDatastoresByFilterApi } from '../../apis';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { getCustomerId } from '../../utils/SessionHelper';\nimport { addIndex, colorRiskData } from '../../utils/dataHandler';\nimport Inventory from './v1/inventory/Inventory';\nimport CloudEnvIssues from './v1/clound-env-issues/CloudEnvIssues';\nimport {\n  firstAccountStatStatus,\n  listRiskPlot,\n} from '../../redux/slices/dashboardSlice';\nimport { useHistory } from 'react-router-dom';\nimport DashboardStats from './dashboard-stats/DashboardStats';\nimport { isJsonEmpty, numberFormatter } from '../../utils/utils';\nimport FirstAccountStats from './dashboard-stats/FirstAccountStats';\nimport FirstTimeLoginAccount from '../cards/account/FirstTimeLoginAccount';\nimport SensitiveData from './v1/sensitiveData/SensitiveData';\nimport DataPolicyViolation from './v1/dataPolicyViolation/DataPolicyViolation';\nconst HomeV1 = ({ setPath, tab, selectedAccount, isIssueViewVisible }) => {\n  const dispatch = useDispatch();\n  const history = useHistory();\n\n  const limit = 10;\n  const [risktype, setRisktype] = useState('high');\n  const [severity, setSeverity] = useState(null);\n  const [selectedFilter, setSelectedFilter] = useState('all');\n  const [page, setPage] = useState(1);\n  const [bars, setBars] = useState([]);\n  const [selectedBar, setSelectedBar] = useState({});\n  const [isBarClicked, setIsBarClicked] = useState(false);\n  const [start, setStart] = useState(1);\n  const [end, setEnd] = useState(10);\n  const [showInfoModal, setShowInfoModal] = useState(false);\n  const [infoModalData, setInfoModalData] = useState(false);\n  const [dataStores, setDatastores] = useState([]);\n  const [issues, setIssues] = useState([]);\n  const [dataRisks, setDataRisks] = useState([]);\n  const [totalDatastoresCount, setTotalDatastoresCount] = useState(0);\n  const [issuesCount, setIssuesCount] = useState(0);\n  const [datastoreIds, setDatastoreIds] = useState([]);\n  const [hoveredDatastoreIds, setHoveredDatastoreIds] = useState([]);\n  const [datastore, setDatastore] = useState({});\n  const [loading, setLoading] = useState(false);\n  const [datastoresLoading, setDatastoresLoading] = useState(false);\n  const [riskplotLoading, setRiskplotLoading] = useState(false);\n  const [filteredDatastores, setFiltersDatastores] = useState([]);\n  const [filteredPolicyDatastores, setPolicyFiltersDatastores] = useState([]);\n  const [stats, updateStats] = useState([]);\n  const showShadowAI = localStorage.getItem('showShadowAI');\n  const [dashboardCards, setDashboardCards] = useState([\n    {\n      id: 'sensitive',\n      title: 'Sensitive Data',\n      count: 0,\n      clickable: true,\n    },\n    {\n      id: 'SHADOW',\n      title: 'Shadow Data Store',\n      count: 0,\n      clickable: true,\n    },\n    {\n      id: 'SHADOW_AI',\n      title: 'Shadow AI',\n      count: 0,\n      clickable: true,\n    },\n    {\n      id: 'violatingPolicies',\n      title: 'Violating Policies',\n      count: 0,\n    },\n    {\n      id: 'cloudEnvIssues',\n      title: 'Cloud Risk Exposures',\n      count: 0,\n    },\n  ]);\n\n  const riskPlot = useSelector((state) => state.dashboard.riskPlot);\n  const [breachCost, setBreachCost] = useState(0);\n\n  const firstAccountStatus = useSelector(\n    (state) => state.dashboard.firstAccountStatus\n  );\n  const accountAvailable = useSelector(\n    (state) => state.account.accountAvailable\n  );\n\n  const nextPage = () => {\n    setPage(page + 1);\n  };\n\n  const prevPage = () => {\n    setPage(page - 1);\n  };\n\n  const getDashboardStats = async (selectedAccount) => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === 'all' ? null : selectedAccount.value,\n    };\n    let resp = await dispatch(fetchDashboardStat(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      updateStats(resp.payload);\n    }\n  };\n\n  useEffect(() => {\n    getDashboardStats(selectedAccount);\n  }, [selectedAccount]);\n\n  useEffect(() => {\n    updateCards();\n  }, [stats]);\n\n  const updateCards = () => {\n    let updatedstats = [...dashboardCards];\n\n    const data = stats?.inventory?.data;\n    const violatingPolicyCount = stats?.inventory?.policy?.stores;\n    if (data) {\n      updatedstats.map((card) => {\n        switch (card.id) {\n          case 'sensitive':\n            card.count = data[card.id] ? data[card.id] : 0;\n            break;\n          case 'SHADOW':\n            card.count = data['shadow'] ? data['shadow'] : 0;\n            break;\n          case 'SHADOW_AI':\n            card.count = data['shadowAI'] ? data['shadowAI'] : 0;\n            break;\n          case 'cloudEnvIssues':\n            card.count = data[card.id] ? data[card.id] : 0;\n            break;\n          case 'violatingPolicies':\n            card.count = violatingPolicyCount;\n\n            break;\n          default:\n        }\n      });\n    }\n    if (showShadowAI == 'false') {\n      updatedstats = updatedstats.filter((card) => card.title !== 'Shadow AI');\n    }\n    setDashboardCards([...updatedstats]);\n  };\n\n  // const getDataStores = async () => {\n  //   setDatastoresLoading(true);\n  //   const payload = {\n  //     customerId: getCustomerId(),\n  //     limit: limit,\n  //     page: page,\n  //     datastoreIds: datastoreIds,\n  //     severity:\n  //       !severity || severity.includes(\"TOTAL DATA STORES\")\n  //         ? null\n  //         : severity.replaceAll(\" \", \"_\"),\n  //   };\n  //   let res = await getDataStoresApi(payload);\n  //   if (!res.data) return;\n  //   setTotalDatastoresCount(res.count);\n  //   res = addIndex(res.data);\n  //   // res[0].numSecurityIssues = 100;\n  //   // res[0].numAttackPath = 100;\n  //   setDatastores(res);\n  //   setFiltersDatastores(res);\n  //   if (res.length) {\n  //     setSelectedBar(res[0]);\n  //   }\n  //   setDatastoresLoading(false);\n  // };\n\n  const getFirstAccountStats = () => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n\n    dispatch(firstAccountStatStatus(payload));\n  };\n\n  const getDatastoresByFilter = async () => {\n    setDatastoresLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      limit: limit,\n      page: page,\n      datastoreIds: datastoreIds,\n      filters: 'all',\n      limit: 10,\n      page: 1,\n      severity:\n        !severity || severity.includes('TOTAL DATA STORES')\n          ? null\n          : severity.replaceAll(' ', '_'),\n      cloudAccountId:\n        selectedAccount.value === 'all' ? null : selectedAccount.value,\n    };\n    let res = await getDatastoresByFilterApi(payload);\n    if (res.err) {\n      setFiltersDatastores([]);\n      setDatastoresLoading(false);\n    } else {\n      if (res.data) {\n        setFiltersDatastores(res.data);\n      } else {\n        setFiltersDatastores(res);\n      }\n\n      if (res.length) {\n        setSelectedBar(res[0]);\n      }\n      setDatastoresLoading(false);\n    }\n  };\n\n  const getDatastoresByPolicyFilter = async () => {\n    setDatastoresLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      limit: limit,\n      page: page,\n      datastoreIds: datastoreIds,\n      filters: 'non-compliant',\n      limit: 10,\n      page: 1,\n      severity:\n        !severity || severity.includes('TOTAL DATA STORES')\n          ? null\n          : severity.replaceAll(' ', '_'),\n      cloudAccountId:\n        selectedAccount.value === 'all' ? null : selectedAccount.value,\n    };\n    let res = await getDatastoresByFilterApi(payload);\n    if (res.err) {\n      setFiltersDatastores([]);\n      setDatastoresLoading(false);\n    } else {\n      if (res.data) {\n        setPolicyFiltersDatastores(res.data);\n      } else {\n        setPolicyFiltersDatastores(res);\n      }\n      if (res.length) {\n        setSelectedBar(res[0]);\n      }\n      setDatastoresLoading(false);\n    }\n  };\n\n  const filterBars = (ids) => {\n    setDatastoreIds(ids);\n  };\n\n  useEffect(() => {\n    if (riskPlot) {\n      let data = riskPlot;\n      if (!data || isJsonEmpty(data)) return;\n      data = colorRiskData(addIndex(data));\n      setDataRisks(data);\n    }\n  }, [riskPlot]);\n\n  // const getIssues = async () => {\n  //   setDatastoresLoading(true);\n  //   const payload = {\n  //     customerId: getCustomerId(),\n  //     limit: limit,\n  //     page: page,\n  //     severity:\n  //       !severity || severity.includes(\"TOTAL ISSUES\")\n  //         ? null\n  //         : severity.replaceAll(\" \", \"_\"),\n  //   };\n  //   let res = await getIssuesApi(payload);\n  //   if (!res.data) return;\n  //   setIssuesCount(res.count);\n  //   res = addIndex(res.data);\n  //   setIssues(res);\n  //   if (res.length) {\n  //     setSelectedBar(res[0]);\n  //   }\n  //   setDatastoresLoading(false);\n  // };\n\n  const getDataRiskPlot = () => {\n    setRiskplotLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      severity:\n        !severity || severity.includes('TOTAL DATA STORES')\n          ? null\n          : severity.replaceAll(' ', '_'),\n      cloudAccountId:\n        selectedAccount.value === 'all' ? null : selectedAccount.value,\n    };\n    dispatch(listRiskPlot(payload));\n    setRiskplotLoading(false);\n  };\n\n  const vulDatastores = () => {\n    let vunerabilityDataStores_ = issues;\n    if (severity) {\n      vunerabilityDataStores_ = issues.filter((i) => severity === i.severity);\n    }\n    const data = vunerabilityDataStores_.slice(start - 1, end);\n    return data;\n  };\n\n  const datastores = () => {\n    let data_ = dataStores;\n    if (severity) {\n      data_ = dataStores.filter((i) => severity === i.severity);\n    }\n    const data = data_.slice(start - 1, end);\n    return data;\n  };\n\n  const handleBarData = () => {\n    const data = tab === 2 ? vulDatastores() : datastores();\n    setBars(data);\n    sessionStorage.setItem('selected_bar', JSON.stringify(data[0]));\n  };\n\n  const handleInfoModal = (visible, data) => {\n    setInfoModalData(data);\n    setShowInfoModal(visible);\n  };\n\n  useEffect(() => {\n    getDatastoresByFilter();\n    getDatastoresByPolicyFilter();\n    // if (\n    //   selectedFilter === \"non-compliant\" ||\n    //   selectedFilter === \"active-anomaly\"\n    // ) {\n    //   getDatastoresByFilter();\n    // } else {\n    //   getDataStores();\n    // }\n  }, [selectedFilter, selectedAccount]);\n\n  useEffect(() => {\n    handleBarData();\n  }, [page, risktype]);\n\n  useEffect(() => {\n    setStart(1);\n    setEnd(10);\n    setPage(1);\n    handleBarData();\n  }, [severity]);\n\n  useEffect(() => {\n    setSeverity(null);\n    setStart(1);\n    setEnd(10);\n    setPage(1);\n\n    handleBarData();\n  }, [tab]);\n\n  useEffect(() => {\n    getDataRiskPlot();\n\n    // if (tab === 1) {\n    //   getDatastoresByFilter();\n    //   // getDataStores();\n    // } else {\n    //   getIssues();\n    // }\n  }, [page, tab, selectedAccount, severity, datastoreIds]);\n\n  useEffect(() => {\n    setPath(window.location.pathname);\n    document.title = 'Cloud Defense - Dashboard';\n    getFirstAccountStats();\n  }, []);\n\n  const handleCardClick = (card) => {\n    history.push('/datastore/filter/' + card.id);\n  };\n\n  return (\n    <div>\n      {accountAvailable === false ? (\n        <FirstTimeLoginAccount />\n      ) : (\n        <div id=\"home-layout\">\n          <div>\n            <div className=\"pr-3\">\n              <div className=\"d-flex flex-wrap\">\n                {dashboardCards &&\n                  dashboardCards.map((card) => {\n                    return (\n                      <div\n                        className={`${\n                          card.id === 'cloudEnvIssues' ? 'pb-3' : 'pb-3 pr-3'\n                        } ${\n                          showShadowAI === 'false'\n                            ? 'hero-stat-updated'\n                            : 'hero-stat'\n                        }`}\n                      >\n                        <div\n                          onClick={() => {\n                            if (card.clickable && card.count > 0) {\n                              handleCardClick(card);\n                            }\n                          }}\n                          className={\n                            card.clickable && card.count > 0\n                              ? 'cursor-pointer'\n                              : ''\n                          }\n                        >\n                          <SharedCard>\n                            {card.title === 'Shadow AI' && (\n                              <div class=\"credit top-right\">Beta</div>\n                            )}\n                            <Card\n                              title={card.title}\n                              count={card.count}\n                              subCount=\"15\"\n                            />\n                          </SharedCard>\n                        </div>\n                      </div>\n                    );\n                  })}\n              </div>\n              {/* <div className=\"row mb-4\">\n                <div class=\"col-lg-3 col-md-3\">\n                  <SharedCard>\n                    <Card title=\"Sensitive Data\" count=\"5\" subCount=\"15\" />\n                  </SharedCard>\n                </div>\n                <div class=\"col-lg-3 col-md-3\">\n                  <SharedCard>\n                    <Card title=\"Shadow Data Store\" count=\"10\" />\n                  </SharedCard>\n                </div>{\" \"}\n                <div class=\"col-lg-3 col-md-3\">\n                  <SharedCard>\n                    <Card title=\"Violating Policies\" count=\"2\" />\n                  </SharedCard>\n                </div>{\" \"}\n                <div class=\"col-lg-3 col-md-3\">\n                  <SharedCard>\n                    <Card title=\"Exposed due to cloud issues\" count=\"10\" />\n                  </SharedCard>\n                </div>\n              </div> */}\n              <div className=\"row mb-2 mt-1\">\n                <div class=\"col-lg-8 col-md-8 pr-2\">\n                  <SharedCard>\n                    <Inventory selectedAccount={selectedAccount} />\n                  </SharedCard>\n                </div>\n                <div class=\"col-lg-4 col-md-4\">\n                  <SharedCard title=\"Sensitive Data\">\n                    <SensitiveData selectedAccount={selectedAccount} />\n                  </SharedCard>\n                </div>\n              </div>\n              <div className=\"row mb-2 mt-4\">\n                <div class=\"col-lg-12 col-md-12\">\n                  <SharedCard>\n                    <div className=\"row mb-2 \">\n                      <div class=\"col-lg-6 col-md-6 dashboard-divider\">\n                        <DataPolicyViolation\n                          selectedAccount={selectedAccount}\n                        />\n                      </div>\n                      <div class=\"col-lg-6 col-md-6\">\n                        <CloudEnvIssues selectedAccount={selectedAccount} />\n                      </div>\n                    </div>\n                  </SharedCard>\n                </div>\n              </div>\n            </div>\n            {showInfoModal && (\n              <InfoModal\n                handleModal={() => setShowInfoModal(false)}\n                data={infoModalData}\n              />\n            )}\n          </div>\n        </div>\n      )}\n    </div>\n  );\n};\n\nexport default HomeV1;\n","export default __webpack_public_path__ + \"static/media/daxa-icon.d98de915.svg\";","export default __webpack_public_path__ + \"static/media/daxa-title.55ab22bd.svg\";","import React, { useState, useEffect } from \"react\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport { Toaster } from \"../../utils/toaster\";\nimport axios from \"axios\";\nimport LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\nimport { getUserId } from \"../../utils/SessionHelper\";\n\nconst CompleteProfile = ({ setLoggendIn }) => {\n  const [phone, setPhone] = useState(null);\n  const [email, setEmail] = useState(null);\n  const [password, setPassword] = useState(null);\n  const [confirmPassword, setConfirmPassword] = useState(null);\n  const [id, setId] = useState(null);\n  const [passwordNeeded, setPasswordNeeded] = useState(true);\n\n  useEffect(() => {\n    setLoggendIn(false);\n    document.title = \"Cloud Defense - Complete Profile\";\n  }, []);\n\n  const validatePhone = (number) => {\n    let numberFormat =\n      /^[+]?(1\\-|1\\s|1|\\d{3}\\-|\\d{3}\\s|)?((\\(\\d{3}\\))|\\d{3})(\\-|\\s)?(\\d{3})(\\-|\\s)?(\\d{4})$/g;\n    if (number.match(numberFormat) && number.length >= 10) {\n      return true;\n    } else {\n      return false;\n    }\n  };\n\n  const updateUser = (ev) => {\n    var passwordRegex =\n      /^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*-_<>{}(),.#?&])[A-Za-z\\d@$!%*-_<>{}(),.#?&]{5,}$/;\n    ev.preventDefault();\n\n    if (!phone) {\n      Toaster(3, \"Phone required\");\n      return;\n    }\n\n    if (!validatePhone(phone)) {\n      Toaster(3, \"Invalid phone number\");\n      return;\n    }\n\n    if (passwordNeeded) {\n      if (password && password.length >= 9) {\n        if (password === confirmPassword) {\n          if (!passwordRegex.test(password)) {\n            Toaster(\n              3,\n              \"password should contain atleast one uppercase letter, one number and one special character\"\n            );\n            return;\n          }\n        } else {\n          Toaster(3, \"password and confirm password should be same\");\n          return;\n        }\n      } else {\n        Toaster(3, \"password should be greater than 8 character\");\n        return;\n      }\n    }\n\n    let url = FormatUrl(`/user/user/${id}`);\n\n    axios\n      .patch(url, {\n        email: email,\n        password_created: passwordNeeded,\n        phone: phone,\n        status: \"ACTIVE\",\n      })\n      .then(function (response, error) {\n        let email = response.data.email;\n        if (passwordNeeded) {\n          updatePassword(email);\n        } else {\n          if (localStorage.getItem(\"customerId\")) {\n            Toaster(1, \"Profile created\");\n            const userId = getUserId();\n            localStorage.clear();\n            sessionStorage.clear();\n            const url = FormatUrl(`/user/logout/${userId}`);\n            window.location = url;\n          } else {\n            Toaster(1, \"Profile created\");\n            window.location = \"/\";\n          }\n        }\n      })\n\n      .catch(function (error) {\n        if (error.response) {\n          Toaster(\n            2,\n            error.response?.data?.err?.message || \"Failed to update profile\"\n          );\n        } else {\n          Toaster(2, \"Failed to update profile\");\n        }\n      });\n  };\n\n  const verifyEmail = async (id) => {\n    let url1 = FormatUrl(`/user/user/${id}`);\n    let res = await axios.get(url1);\n    res = res.data;\n\n    if (res.googleOrOkta === \"google\") {\n      setPasswordNeeded(false);\n    }\n    setEmail(res.email);\n    let url2 = FormatUrl(`/user/confirmEmail`);\n    await axios.post(url2, {\n      email: res.email,\n    });\n  };\n\n  const updatePassword = (email) => {\n    // for google login no password needed\n    if (!passwordNeeded) {\n      window.location = \"/\";\n      return;\n    }\n\n    if (!password) {\n      Toaster(3, \"password required\");\n      return;\n    }\n    if (!confirmPassword) {\n      Toaster(3, \"confirmPassword required\");\n      return;\n    }\n    if (password !== confirmPassword) {\n      Toaster(3, \"password should match\");\n      return;\n    }\n    let url = FormatUrl(`/user/changePassword`);\n\n    axios\n      .post(url, {\n        email: email,\n        oldPassword: \"Abcd@1234\",\n        newPassword: password,\n      })\n      .then(function (response, error) {\n        // let data = response.data;\n        if (localStorage.getItem(\"customerId\")) {\n          Toaster(1, \"Profile created\");\n          const userId = getUserId();\n          localStorage.clear();\n          sessionStorage.clear();\n          const url = FormatUrl(`/user/logout/${userId}`);\n          window.location = url;\n        } else {\n          Toaster(1, \"Profile created\");\n          window.location = \"/\";\n        }\n      })\n\n      .catch(function (error) {\n        console.log(error);\n        Toaster(1, \"Failed to update profile\");\n      });\n  };\n\n  useEffect(() => {\n    let id = window.location.pathname.split(\"/\")[2];\n    setId(id);\n    verifyEmail(id);\n  }, []);\n\n  return (\n    <>\n      <section className=\"sign-in-page\">\n        <div className=\"container p-0\">\n          <div className=\"logo-container\">\n            <div>\n              <img\n                src={LoginPageLogo}\n                alt=\"\"\n                className=\"login-from-logo\"\n                height={48}\n              />\n            </div>\n            <div>\n              <img\n                src={LoginPageTitle}\n                alt=\"\"\n                className=\"login-from-logo\"\n                width={88}\n              />\n            </div>\n          </div>\n\n          <div className=\"row no-gutters\">\n            <div className=\"col-sm-12 align-self-center\">\n              <div className=\"sign-in-from\">\n                <form onSubmit={updateUser} autocomplete=\"off\">\n                  <div className=\"form-group\">\n                    <label htmlFor=\"email\">Email</label>\n                    <input\n                      type=\"text\"\n                      className=\"form-control\"\n                      placeholder=\"Email\"\n                      disabled\n                      value={email}\n                    />\n                  </div>\n                  <div className=\"form-group\">\n                    <label htmlFor=\"email\">Phone</label>\n                    <input\n                      type=\"number\"\n                      onChange={(ev) => setPhone(ev.target.value)}\n                      className=\"form-control\"\n                      placeholder=\"Phone\"\n                    />\n                  </div>\n                  {passwordNeeded ? (\n                    <div className=\"form-group\">\n                      <label htmlFor=\"email\">Password</label>\n                      <input\n                        type=\"password\"\n                        onChange={(ev) => setPassword(ev.target.value)}\n                        className=\"form-control\"\n                        placeholder=\"*******\"\n                      />\n                    </div>\n                  ) : (\n                    \"\"\n                  )}\n                  {passwordNeeded ? (\n                    <div className=\"form-group\">\n                      <label htmlFor=\"email\">Confirm password</label>\n                      <input\n                        type=\"password\"\n                        onChange={(ev) => setConfirmPassword(ev.target.value)}\n                        className=\"form-control\"\n                        placeholder=\"*******\"\n                      />\n                    </div>\n                  ) : (\n                    \"\"\n                  )}\n\n                  <div className=\"d-inline-block w-100\">\n                    <button\n                      type=\"submit\"\n                      className=\"btn btn-primary\"\n                      onClick={updateUser}>\n                      SUBMIT\n                    </button>\n                  </div>\n                </form>\n              </div>\n            </div>\n          </div>\n        </div>\n      </section>\n    </>\n  );\n};\n\nexport default CompleteProfile;\n","import React, { useState, useEffect } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport { Toaster } from \"../../utils/toaster\";\nimport axios from \"axios\";\nimport Logo from \"../../assets/img/logo.png\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\n\nconst ForgotPassword = () => {\n  const [view, setView] = useState(1);\n  const [email, setEmail] = useState(null);\n  const [loading, setLoading] = useState(false);\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Forgot Password\";\n  }, []);\n\n  const verifyEmail = (ev) => {\n    ev.preventDefault();\n\n    if (!email) {\n      Toaster(4, \"email required !\");\n      return;\n    }\n\n    setLoading(true);\n    let url = FormatUrl(`/user/forgotPassword`);\n\n    axios\n      .post(url, {\n        email: email,\n      })\n      .then((res) => {\n        setLoading(false);\n        sessionStorage.setItem(\"email\", email);\n        setView(2);\n      })\n      .catch((err) => {\n        setLoading(false);\n        Toaster(\n          2,\n          err.response?.data?.err?.message || \"Failed to verify email\"\n        );\n      });\n  };\n\n  return (\n    <>\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }>\n        <section className=\"sign-in-page\">\n          <div className=\"container p-0\">\n            <div className=\"logo-container\">\n              <div>\n                <img\n                  src={LoginPageLogo}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  height={48}\n                />\n              </div>\n              <div>\n                <img\n                  src={LoginPageTitle}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  width={88}\n                />\n              </div>\n            </div>\n\n            {view === 1 ? (\n              <div className=\"row no-gutters\">\n                <div className=\"col-sm-12 align-self-center\">\n                  <div className=\"sign-in-from\">\n                    <form className=\"mt-4\" onSubmit={verifyEmail}>\n                      <div className=\"form-group\">\n                        <input\n                          type=\"email\"\n                          className=\"form-control mb-0\"\n                          id=\"exampleInputEmail1\"\n                          placeholder=\"Enter email\"\n                          onChange={(e) => setEmail(e.target.value)}\n                        />\n                      </div>\n                      <div className=\"d-inline-block w-100\">\n                        <button type=\"submit\" className=\"btn btn-primary\">\n                          SUBMIT\n                        </button>\n                      </div>\n                    </form>\n                  </div>\n                </div>\n              </div>\n            ) : (\n              <div className=\"row no-gutters\">\n                <div className=\"col-sm-12 align-self-center\">\n                  <h3 className=\"text-center text-primary mt-5\">\n                    Please check your email to reset your password..\n                  </h3>\n                </div>\n              </div>\n            )}\n          </div>\n        </section>\n      </BlockUi>\n    </>\n  );\n};\n\nexport default ForgotPassword;\n","import React, { useEffect } from \"react\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport { setAuthToken } from \"../../utils/SessionHelper\";\nimport axios from \"axios\";\n\nconst LoginCallback = () => {\n  const loginCallback = async () => {\n    let url = FormatUrl(\n      `/user/serviceProviderCallback${window.location.search}&login=true`\n    );\n    let res = await axios.get(url);\n    res = res.data;\n\n    const token = res.token;\n    const userInfo = token.userInfo;\n\n    setAuthToken(token.id_token);\n    localStorage.setItem(\"refreshToken\", token.refresh_token);\n    localStorage.setItem(\"username\", userInfo.username);\n    localStorage.setItem(\"first_name\", userInfo.first_name);\n    localStorage.setItem(\"last_name\", userInfo.last_name);\n    localStorage.setItem(\"customerRef\", userInfo.customerRef);\n    localStorage.setItem(\"userId\", userInfo._id ? userInfo._id : userInfo.id);\n    localStorage.setItem(\"customerId\", userInfo.metadata.customerId);\n    localStorage.setItem(\"id\", userInfo?.id);\n    localStorage.setItem(\n      \"customer_name\",\n      token?.customer && token?.customer?.name ? token?.customer?.name : \"CD\"\n    );\n    window.location = \"/\";\n  };\n  useEffect(() => {\n    loginCallback();\n  }, []);\n\n  return <></>;\n};\n\nexport default LoginCallback;\n","import axios from \"axios\";\nimport React, { useState, useEffect } from \"react\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { useDispatch } from \"react-redux\";\nimport { Link, useHistory } from \"react-router-dom\";\n// import LoginPageLogo from \"../../assets/img/login-page-logo-dark.svg\";\nimport LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\nimport { listAccountsAsync } from \"../../redux/slices/accountSlice\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport { setContext } from \"../../utils/SessionHelper\";\nimport { Toaster } from \"../../utils/toaster\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport {\n  expandSidebar,\n  isAIView,\n  isDataView,\n  // issueViewDisable,\n  // issueViewVisible,\n} from \"../../redux/slices/dashboardSlice\";\nimport { accountType } from \"../../components/constants/constants\";\nconst Login = ({ setLoggendIn }) => {\n  const [email, setEmail] = useState(null);\n  const [password, setPassword] = useState(null);\n  const [loading, setLoading] = useState(false);\n  const [step, setStep] = useState(1);\n\n  const dispatch = useDispatch();\n  let history = useHistory();\n\n  useEffect(() => {\n    document.title = \"Daxa - Login\";\n  }, []);\n\n  const redirectToHome = async () => {\n    setLoggendIn(true);\n    history.push(\"/\");\n  };\n\n  const emailVerification = (ev) => {\n    ev.preventDefault();\n    if (!emailRegexMatch(email)) {\n      Toaster(4, \"Invalid email format!\");\n      return;\n    }\n\n    if (!email.includes(\".\")) {\n      Toaster(4, \"Invalid email format!\");\n      return;\n    }\n    setLoading(true);\n    let url = FormatUrl(`/user/emailVerification`);\n    axios\n      .post(url, {\n        email: email,\n      })\n      .then((res) => {\n        const resp = res.data;\n        setLoading(false);\n        if (resp.message === \"Okta true\") {\n          window.location = FormatUrl(`/user/loginToOkta`);\n          window.close();\n        } else if (resp.message === \"Login with google\") {\n          window.location = FormatUrl(`/user/loginToGoogle`);\n          console.log(FormatUrl(`/user/loginToGoogle`));\n          // window.close();\n        } else {\n          setStep(2);\n        }\n      })\n      .catch((error) => {\n        Toaster(2, error?.response?.data?.err?.message);\n        setLoading(false);\n      });\n  };\n\n  const emailRegexMatch = (mail) => {\n    var mailformat =\n      /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/;\n    if (mail.match(mailformat)) {\n      return true;\n    }\n    return false;\n  };\n\n  const handleLogin = (ev) => {\n    ev.preventDefault();\n    if (!email) {\n      Toaster(4, \"email required !\");\n      return;\n    }\n    if (!emailRegexMatch(email)) {\n      Toaster(4, \"Invalid email format!\");\n      return;\n    }\n\n    if (!email.includes(\".\")) {\n      Toaster(4, \"Invalid email format!\");\n      return;\n    }\n    if (!password) {\n      Toaster(4, \"password required !\");\n      return;\n    }\n\n    setLoading(true);\n    let url = FormatUrl(`/user/login`);\n\n    axios\n      .post(url, {\n        password: window.btoa(password),\n        email: email,\n      })\n      .then((res) => {\n        dispatch(expandSidebar());\n\n        setContext(res.data);\n        res.data.token.customer.securityType === accountType.Data\n          ? dispatch(isDataView())\n          : dispatch(isAIView());\n\n        redirectToHome();\n        setLoading(false);\n      })\n      .catch((err) => {\n        setLoading(false);\n        Toaster(2, err.response?.data?.err?.message || \"Invalid credentials\");\n      });\n  };\n\n  return (\n    <>\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }\n      >\n        <section className=\"sign-in-page\">\n          <div className=\"container p-0\">\n            <div className=\"logo-container\">\n              <div>\n                <img\n                  src={LoginPageLogo}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  height={48}\n                />\n              </div>\n              <div>\n                <img\n                  src={LoginPageTitle}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  width={88}\n                />\n              </div>\n            </div>\n\n            <div className=\"row no-gutters\">\n              <div className=\"col-sm-12 align-self-center\">\n                <div className=\"sign-in-from\">\n                  <form\n                    className=\"mt-4\"\n                    onSubmit={step === 1 ? emailVerification : handleLogin}\n                  >\n                    <div className=\"form-group\">\n                      {/* <label className=\"form-label\">Email ID</label> */}\n                      <input\n                        type=\"text\"\n                        className=\"form-control mb-0\"\n                        id=\"exampleInputEmail1\"\n                        placeholder=\"Email ID\"\n                        onChange={(e) => setEmail(e.target.value)}\n                        // onBlur={emailVerification}\n                      />\n                    </div>\n\n                    {step === 2 ? (\n                      <div className=\"form-group\">\n                        <input\n                          type=\"password\"\n                          className=\"form-control mb-0\"\n                          id=\"exampleInputPassword1\"\n                          placeholder=\"Password\"\n                          onChange={(e) => setPassword(e.target.value)}\n                        />\n                      </div>\n                    ) : (\n                      \"\"\n                    )}\n\n                    <div className=\"d-inline-block w-100\">\n                      <button type=\"submit\" className=\"btn btn-primary\">\n                        {step === 1 ? \"Next\" : \"Login\"}\n                      </button>\n                    </div>\n\n                    {step === 2 ? (\n                      <p className=\"text-center\">\n                        <Link to=\"/forgot-password\">Forgot password ?</Link>\n                      </p>\n                    ) : (\n                      \"\"\n                    )}\n                  </form>\n                </div>\n              </div>\n            </div>\n\n            <p className=\"text-center\">\n              Don't have an account yet ? <Link to=\"/register\">SIGN UP</Link>\n            </p>\n          </div>\n        </section>\n      </BlockUi>\n    </>\n  );\n};\n\nexport default Login;\n","import React, { useState, useEffect } from \"react\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport { Toaster } from \"../../utils/toaster\";\nimport axios from \"axios\";\nimport LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\n\nconst ResetPassword = () => {\n  const [conformPasssword, setConformPasssword] = useState(null);\n  const [password, setPassword] = useState(null);\n  const [otp, setOtp] = useState(null);\n  const [userId, setUserId] = useState(null);\n  const [loading, setLoading] = useState(false);\n\n  const query = new URLSearchParams(window.location.search);\n\n  useEffect(() => {\n    setOtp(query.get(\"confirmationCode\"));\n    setUserId(query.get(\"userId\"));\n  }, [query]);\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Reset Password\";\n  }, []);\n\n  const handleResetPassword = (ev) => {\n    ev.preventDefault();\n\n    if (!otp) {\n      Toaster(4, \"Otp required !\");\n      return;\n    }\n    if (!password) {\n      Toaster(4, \"Password required !\");\n      return;\n    }\n    if (!conformPasssword) {\n      Toaster(4, \"ConformPasssword required !\");\n      return;\n    }\n    if (password !== conformPasssword) {\n      Toaster(4, \"Password should match !\");\n      return;\n    }\n\n    setLoading(true);\n    let url = FormatUrl(\n      `/user/resetPassword?confirmationCode=${otp}&userId=${userId}`\n    );\n\n    axios\n      .post(url, {\n        password: password,\n        confirmPassword: conformPasssword,\n      })\n      .then((res) => {\n        setLoading(false);\n        Toaster(1, \"Password reset successfully!\");\n        window.location = \"/\";\n      })\n      .catch((err) => {\n        setLoading(false);\n        Toaster(\n          2,\n          err.response?.data?.err?.message || \"Failed to reset password!\"\n        );\n      });\n  };\n\n  return (\n    <>\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }>\n        <section className=\"sign-in-page\">\n          <div className=\"container p-0\">\n            <div className=\"logo-container\">\n              <div>\n                <img\n                  src={LoginPageLogo}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  height={48}\n                />\n              </div>\n              <div>\n                <img\n                  src={LoginPageTitle}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  width={88}\n                />\n              </div>\n            </div>\n            <div className=\"row no-gutters\">\n              <div className=\"col-sm-12 align-self-center\">\n                <div className=\"sign-in-from\">\n                  <form className=\"mt-4\" onSubmit={handleResetPassword}>\n                    <div className=\"form-group\">\n                      <input\n                        type=\"password\"\n                        className=\"form-control mb-0\"\n                        id=\"exampleInputEmail1\"\n                        placeholder=\"Enter password\"\n                        onChange={(e) => setPassword(e.target.value)}\n                      />\n                    </div>\n                    <div className=\"form-group\">\n                      <input\n                        type=\"password\"\n                        className=\"form-control mb-0\"\n                        id=\"exampleInputEmail1\"\n                        placeholder=\"Confirm password\"\n                        onChange={(e) => setConformPasssword(e.target.value)}\n                      />\n                    </div>\n                    <div className=\"d-inline-block w-100\">\n                      <button\n                        type=\"submit\"\n                        className=\"btn btn-block btn-primary\">\n                        SUBMIT\n                      </button>\n                    </div>\n                  </form>\n                </div>\n              </div>\n            </div>\n          </div>\n        </section>\n      </BlockUi>\n    </>\n  );\n};\n\nexport default ResetPassword;\n","import LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\nimport { Link } from \"react-router-dom\";\n\nconst Timeout = () => {\n  return (\n    <>\n      <section className=\"sign-in-page\">\n        <div className=\"container p-0\">\n          <div className=\"logo-container\">\n            <div>\n              <img\n                src={LoginPageLogo}\n                alt=\"\"\n                className=\"login-from-logo\"\n                height={48}\n              />\n            </div>\n            <div>\n              <img\n                src={LoginPageTitle}\n                alt=\"\"\n                className=\"login-from-logo\"\n                width={88}\n              />\n            </div>\n          </div>\n\n          <div className=\"row no-gutters\">\n            <div className=\"col-sm-12 align-self-center\">\n              <div className=\"sign-in-from\">\n                <h3 className=\"text-center text-danger mb-5\">\n                  Session timeout <br />\n                  Please{\" \"}\n                  <Link to=\"/\">\n                    <u>\n                      <b>login</b>\n                    </u>\n                  </Link>{\" \"}\n                  again to access the demo\n                </h3>\n              </div>\n            </div>\n          </div>\n        </div>\n      </section>\n    </>\n  );\n};\n\nexport default Timeout;\n","import { useEffect } from \"react\";\nimport LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\n\nconst VerifyEmail = () => {\n  useEffect(() => {\n    document.title = \"Cloud Defense - Registration Complete\";\n  }, []);\n  return (\n    <>\n      <section className=\"sign-in-page\">\n        <div className=\"container p-0\">\n          <div className=\"logo-container\">\n            <div>\n              <img\n                src={LoginPageLogo}\n                alt=\"\"\n                className=\"login-from-logo\"\n                height={48}\n              />\n            </div>\n            <div>\n              <img\n                src={LoginPageTitle}\n                alt=\"\"\n                className=\"login-from-logo\"\n                width={88}\n              />\n            </div>\n          </div>\n        </div>\n        <h1 className=\"text-center text-primary mb-5\">\n          Thanks for your request. <br />\n          We will notify you over email once your account is ready to use.\n        </h1>\n      </section>\n    </>\n  );\n};\n\nexport default VerifyEmail;\n","export default __webpack_public_path__ + \"static/media/email.ed4239ed.svg\";","export default __webpack_public_path__ + \"static/media/google.0d7a12ee.svg\";","import React, { useState, useEffect } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport axios from \"axios\";\nimport { Toaster } from \"../../utils/toaster\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { EULA_URL, LOADER_CONFIG } from \"../../utils/Constants\";\nimport LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\nimport MailIcon from \"../../assets/img/email.svg\";\nimport GoogleIcon from \"../../assets/img/google.svg\";\nimport { useHistory } from \"react-router-dom\";\n\nconst Register = () => {\n  const [name, setName] = useState(null);\n  const [email, setEmail] = useState(null);\n  const [company, setCompany] = useState(null);\n  const [message, setMessage] = useState(\"\");\n  const [loading, setLoading] = useState(false);\n  const [googleOrOkta, setGoogleOrOkta] = useState(null);\n  const [disableRegister, setDisableRegister] = useState(false);\n  const [firstName, setFirstName] = useState(null);\n  const [lastName, setLastName] = useState(null);\n  const [step, setStep] = useState(1);\n  const [securityType, setSecurityType] = useState(\"Gen-AI Security\");\n  const securityTypes = [\"Data Security\", \"Gen-AI Security\"];\n\n  const history = useHistory();\n\n  useEffect(() => {\n    document.title = \"Daxa - Register\";\n  }, []);\n\n  const createTeam = (name) => {\n    let url = FormatUrl(`/team/teams`);\n\n    return axios.post(url, {\n      name: name,\n    });\n  };\n\n  const createTenant = (name, customerRef) => {\n    let url = FormatUrl(`/tenant/tenants`);\n\n    return axios.post(url, {\n      name: \"default\",\n      customerRef: customerRef,\n    });\n  };\n\n  const validateGoogleLoginEmail = (email) => {\n    let url = FormatUrl(`/user/getUserfromDbAndCognito`);\n    return axios\n      .post(url, {\n        email: email,\n      })\n      .catch(function (error) {\n        Toaster(2, \"Account already exist!\");\n      });\n  };\n\n  const createCustomer = (name, plan, billing) => {\n    let url = FormatUrl(`/customer/customer`);\n\n    return axios.post(url, {\n      securityType: securityType,\n      name: company,\n      plan: plan,\n      billing: billing,\n    });\n  };\n\n  const createContactUs = (name, email, company, message) => {\n    let url = FormatUrl(`/email/contactUse`);\n\n    return axios.post(url, {\n      name: name,\n      email: email,\n      company: company,\n      message: message,\n    });\n  };\n\n  const createUser = async (\n    firstname,\n    lastname,\n    email,\n    customerRef,\n    tenantRef,\n    teamRef,\n    googleOrOkta\n  ) => {\n    let url = FormatUrl(`/user/register`);\n    return axios\n      .post(url, {\n        first_name: firstname,\n        last_name: lastname,\n        email: email,\n        customerRef: customerRef,\n        tenantRef: tenantRef,\n        teamRef: teamRef,\n        googleOrOkta: googleOrOkta,\n      })\n      .catch(function (error) {\n        if (error.response) {\n          setLoading(false);\n          Toaster(\n            2,\n            error.response?.data?.err?.message || \"Failed to register user\"\n          );\n        } else {\n          Toaster(2, \"Failed to register user\");\n        }\n      });\n  };\n\n  const emailRegexMatch = (mail) => {\n    var mailformat =\n      /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/;\n    if (mail.match(mailformat)) {\n      return true;\n    }\n    return false;\n  };\n\n  const alphaNumericRegexMatch = (text) => {\n    let textFormat = \"^[a-zA-Z0-9 ]+$\";\n    if (text.match(textFormat)) {\n      return true;\n    } else {\n      return false;\n    }\n  };\n\n  const validateCompanyName = (text) => {\n    let textFormat = \"^[a-zA-Z0-9 _-]+$\";\n    if (text.match(textFormat)) {\n      return true;\n    } else {\n      return false;\n    }\n  };\n\n  const handleRegister = async (ev) => {\n    ev.preventDefault();\n    if (!firstName) {\n      Toaster(4, \"First name required!\");\n      return;\n    }\n    if (firstName && !alphaNumericRegexMatch(firstName)) {\n      Toaster(4, \"Invalid first name!\");\n      return;\n    }\n\n    if (lastName && !alphaNumericRegexMatch(lastName)) {\n      Toaster(4, \"Invalid last name!\");\n      return;\n    }\n\n    if (company && !validateCompanyName(company)) {\n      Toaster(4, \"Invalid company name!\");\n      return;\n    }\n\n    if (!lastName) {\n      Toaster(4, \"Last name required!\");\n      return;\n    }\n    if (!email) {\n      Toaster(4, \"email required!\");\n      return;\n    }\n    if (!emailRegexMatch(email)) {\n      Toaster(4, \"Invalid email format!\");\n      return;\n    }\n    if (!email.includes(\".\")) {\n      Toaster(4, \"Invalid email format!\");\n      return;\n    }\n\n    if (!company) {\n      Toaster(4, \"company required!\");\n      return;\n    }\n\n    const teamRes = await createTeam(company);\n    const teamRef = teamRes.data.insertedId;\n\n    const customerRes = await createCustomer(firstName, \"TRIAL\", \"TRIAL\");\n    const customerRef = customerRes.data.insertedId;\n\n    const tenantRes = await createTenant(company, customerRef);\n    const tenantRef = tenantRes.data.insertedId;\n\n    setLoading(true);\n    const userRes = await createUser(\n      firstName,\n      lastName,\n      email,\n      customerRef,\n      tenantRef,\n      teamRef,\n      googleOrOkta\n    );\n\n    const userRef = userRes.data;\n\n    setLoading(false);\n\n    if (userRef.status) {\n      await createContactUs(name, email, company, message);\n      Toaster(1, \"Profile created. We will notify over email !\");\n      history.push(\"/verify-email\");\n      return;\n    } else {\n      Toaster(1, \"Profile created. We will notify over email !\");\n      return;\n    }\n  };\n\n  const validateEmail = async () => {\n    if (!email) return;\n    let url = FormatUrl(`/user/getUserfromDbAndCognito`);\n\n    await axios\n      .post(url, {\n        email: email,\n      })\n      .catch(function (error) {\n        setDisableRegister(true);\n        Toaster(2, \"Account already exist!\");\n      });\n  };\n\n  const googleLogin = () => {\n    window.location = FormatUrl(`/user/signupToGoogle`);\n  };\n\n  return (\n    <>\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }>\n        <section className=\"sign-in-page\">\n          <div className=\"container p-0\">\n            <div className=\"logo-container\">\n              <div>\n                <img\n                  src={LoginPageLogo}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  height={48}\n                />\n              </div>\n              <div>\n                <img\n                  src={LoginPageTitle}\n                  alt=\"\"\n                  className=\"login-from-logo\"\n                  width={88}\n                />\n              </div>\n            </div>\n\n            <div className=\"row no-gutters\">\n              <div className=\"col-sm-12 align-self-center\">\n                <div className=\"sign-in-from\">\n                  <form onSubmit={handleRegister} autocomplete=\"off\">\n                    {step === 2 && (\n                      <div className=\"flex\">\n                        <div className=\"form-group\">\n                          <input\n                            type=\"text\"\n                            className=\"form-control mb-0\"\n                            id=\"exampleInputEmail1\"\n                            placeholder=\"* First name\"\n                            onChange={(e) => setFirstName(e.target.value)}\n                          />\n                        </div>\n                        <div className=\"form-group ml-3\">\n                          <input\n                            type=\"text\"\n                            className=\"form-control mb-0\"\n                            id=\"exampleInputEmail1\"\n                            placeholder=\"* Last Name\"\n                            onChange={(e) => setLastName(e.target.value)}\n                          />\n                        </div>\n                      </div>\n                    )}\n\n                    {step === 2 && (\n                      <div className=\"form-group\">\n                        <input\n                          type=\"text\"\n                          className=\"form-control mb-0\"\n                          id=\"exampleInputEmail1\"\n                          placeholder=\"* Email\"\n                          onChange={(e) => setEmail(e.target.value)}\n                          onBlur={validateEmail}\n                        />\n                      </div>\n                    )}\n\n                    {step === 2 && (\n                      <div className=\"form-group\">\n                        <input\n                          type=\"text\"\n                          className=\"form-control mb-0\"\n                          id=\"exampleInputEmail1\"\n                          placeholder=\"* Company\"\n                          onChange={(e) => setCompany(e.target.value)}\n                        />\n                      </div>\n                    )}\n\n                    {step === 2 && (\n                      <div className=\"form-group\">\n                        <select\n                          className=\"form-control mb-0\"\n                          value={securityType}\n                          onChange={(e) => setSecurityType(e.target.value)}>\n                          {securityTypes.map((item, index) => (\n                            <option key={index} value={item}>\n                              {item}\n                            </option>\n                          ))}\n                        </select>\n                      </div>\n                    )}\n\n                    {step === 2 && (\n                      <div className=\"form-group\">\n                        <textarea\n                          className=\"form-control mb-0\"\n                          placeholder=\"Message\"\n                          onChange={(e) =>\n                            setMessage(e.target.value)\n                          }></textarea>\n                      </div>\n                    )}\n\n                    {step === 1 && (\n                      <div\n                        onClick={() => setStep(2)}\n                        className=\"d-inline-block w-100 login-button\">\n                        <img src={MailIcon} className=\"mail-icon\" />\n                        Sign up with Email\n                      </div>\n                    )}\n\n                    {step === 1 && (\n                      <div\n                        onClick={googleLogin}\n                        className=\"d-inline-block w-100 mt-3 mb-3 login-button\">\n                        <img src={GoogleIcon} className=\"google-icon\" />\n                        Sign up with Google\n                      </div>\n                    )}\n\n                    {step === 1 && (\n                      <div className=\"form-group mt-3 mb-5\">\n                        <h6>\n                          <label\n                            htmlFor=\"terms\"\n                            className=\"mb-0 mt-0 position-absolute terms\">\n                            By Clicking signing up, you acknowledge that you\n                            have <br />\n                            read and agree to our{\" \"}\n                            <a\n                              href={EULA_URL}\n                              target=\"_blank\"\n                              className=\"eula-url\">\n                              EULA\n                            </a>\n                          </label>\n                        </h6>\n                      </div>\n                    )}\n\n                    {step === 2 && (\n                      <div className=\"d-inline-block w-100\">\n                        <button type=\"submit\" className=\"btn btn-primary\">\n                          FREE TRIAL\n                        </button>\n                      </div>\n                    )}\n                  </form>\n                </div>\n              </div>\n            </div>\n            <p className=\"text-center\">\n              Already a customer ? <Link to=\"/\">LOGIN</Link>\n            </p>\n          </div>\n\n          <br />\n        </section>\n      </BlockUi>\n    </>\n  );\n};\n\nexport default Register;\n","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgReportWhite(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 26,\n    height: 27,\n    viewBox: \"0 0 26 27\",\n    fill: \"#fff\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M6.12339 6.43739C5.59058 6.86807 5.14957 7.66592 5.14957 9.26041V19.6906C5.14957 21.131 5.57938 21.9501 6.13913 22.4264C6.7212 22.9217 7.58468 23.1674 8.67814 23.1674H17.3639C18.4573 23.1674 19.3208 22.9217 19.9029 22.4264C20.4626 21.9501 20.8924 21.131 20.8924 19.6906V9.26041C20.8924 7.66592 20.4514 6.86807 19.9186 6.43739C19.4759 6.07951 18.8586 5.88168 18.0674 5.81236C17.6949 7.18046 16.4254 8.19064 14.921 8.19064H11.121C10.2229 8.19064 9.4103 7.83231 8.81889 7.24959C8.41959 6.85615 8.12412 6.36336 7.9743 5.81238C7.18327 5.88173 6.56608 6.07955 6.12339 6.43739ZM5.09046 5.19679C6.09564 4.38428 7.41502 4.17901 8.67814 4.17901C9.12786 4.17901 9.49242 4.53822 9.49242 4.98134C9.49242 5.423 9.6716 5.82045 9.97047 6.11493C10.2694 6.40942 10.6728 6.58599 11.121 6.58599H14.921C15.8176 6.58599 16.5496 5.86474 16.5496 4.98134C16.5496 4.53822 16.9141 4.17901 17.3639 4.17901C18.627 4.17901 19.9464 4.38428 20.9515 5.19679C21.9903 6.03646 22.521 7.37815 22.521 9.26041V19.6906C22.521 21.4595 21.9791 22.78 20.9673 23.6409C19.9778 24.4828 18.6698 24.772 17.3639 24.772H8.67814C7.37217 24.772 6.06422 24.4828 5.07472 23.6409C4.0629 22.78 3.521 21.4595 3.521 19.6906V9.26041C3.521 7.37815 4.0517 6.03646 5.09046 5.19679Z\",\n    fill: \"#fff\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.121 3.37668C10.2244 3.37668 9.49242 4.09794 9.49242 4.98134C9.49242 5.423 9.6716 5.82045 9.97047 6.11493C10.2694 6.40942 10.6728 6.58599 11.121 6.58599H14.921C15.8176 6.58599 16.5496 5.86474 16.5496 4.98134C16.5496 4.53967 16.3704 4.14222 16.0715 3.84774C15.7726 3.55325 15.3692 3.37668 14.921 3.37668H11.121ZM7.86385 4.98134C7.86385 3.21171 9.32499 1.77203 11.121 1.77203H14.921C15.8191 1.77203 16.6317 2.13036 17.2231 2.71308C17.8145 3.29581 18.1781 4.09649 18.1781 4.98134C18.1781 6.75096 16.717 8.19064 14.921 8.19064H11.121C10.2229 8.19064 9.4103 7.83231 8.81889 7.24959C8.22748 6.66686 7.86385 5.86618 7.86385 4.98134Z\",\n    fill: \"#fff\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M7.86385 14.3418C7.86385 13.8987 8.22842 13.5395 8.67814 13.5395H13.021C13.4707 13.5395 13.8353 13.8987 13.8353 14.3418C13.8353 14.7849 13.4707 15.1441 13.021 15.1441H8.67814C8.22842 15.1441 7.86385 14.7849 7.86385 14.3418Z\",\n    fill: \"#fff\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M7.86385 18.6209C7.86385 18.1778 8.22842 17.8185 8.67814 17.8185H17.3639C17.8136 17.8185 18.1781 18.1778 18.1781 18.6209C18.1781 19.064 17.8136 19.4232 17.3639 19.4232H8.67814C8.22842 19.4232 7.86385 19.064 7.86385 18.6209Z\",\n    fill: \"#fff\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgReportWhite);\nexport default __webpack_public_path__ + \"static/media/report-white.73c380e0.svg\";\nexport { ForwardRef as ReactComponent };","import { axiosPrivate } from \"../../utils/ApiHandler\";\nimport { getUserId } from \"../../utils/SessionHelper\";\n\n/**\n * Provides the list of all reports.\n * @returns -- Accounts list\n */\nexport const fetchReports = () => {\n  return axiosPrivate.get(`/emailScheduler/emailScheduler/${getUserId()}`);\n};\n\n/**\n * Add the report with the specified account details.\n * @param {object} params -- payload params\n * @returns the account details added.\n */\nexport const addReport = (params) => {\n  return axiosPrivate.post(`/emailScheduler/emailScheduler`, params);\n};\n\n/**\n * Delete the report with the specified account Id.\n * @param {object} accountId -- account Id to be deleted\n */\nexport const deleteReport = (reportId) => {\n  return axiosPrivate.delete(`/emailScheduler/emailScheduler/${reportId}`);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\n\nimport { fetchReports, addReport, deleteReport } from \"../apis/reportsAPI\";\n\nconst initialState = {\n  reports: [],\n};\n\n// Async calls.\nexport const listReportsAsync = createAsyncThunk(\"report/list\", async () => {\n  const response = await fetchReports();\n  return response.data;\n});\n\nexport const addReportAsync = createAsyncThunk(\n  \"report/addReport\",\n  async (params) => {\n    try {\n      const response = await addReport(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const deleteReportAsync = createAsyncThunk(\n  \"report/deleteReport\",\n  async (params) => {\n    try {\n      const response = await deleteReport(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\n// Account slice for configuring reducers and actions.\nexport const reportSlice = createSlice({\n  name: \"report\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(listReportsAsync.fulfilled, (state, action) => {\n        state.reports = action.payload;\n      })\n      .addCase(listReportsAsync.rejected, (state, action) => {\n        state.reports = [];\n      });\n  },\n});\n\nexport default reportSlice.reducer;\n\n// Selectors will go here\nexport const reportById = (state, reportId) =>\n  state.integrations.find((report) => report.id === reportId);\n","import \"./DaySelector.scss\";\nimport { useState, useEffect } from \"react\";\n\nconst DaySelector = ({ selectedDays, setSelectedDaysValue }) => {\n  const toggleDays = (day) => {\n    if (selectedDays.includes(day)) {\n      var selectedDaysList = selectedDays.filter((val) => val !== day);\n      setSelectedDaysValue(selectedDaysList);\n    } else {\n      setSelectedDaysValue([...selectedDays, day]);\n    }\n  };\n\n  return (\n    <>\n      <div className=\"weeks\">\n        <div\n          className={\n            selectedDays.includes(\"MON\")\n              ? \"day week-active cursor-pointer week\"\n              : \"day cursor-pointer week\"\n          }\n          onClick={() => {\n            toggleDays(\"MON\");\n          }}\n        >\n          MON\n        </div>\n        <div\n          className={\n            selectedDays.includes(\"TUE\")\n              ? \"day week-active cursor-pointer week\"\n              : \"day cursor-pointer week\"\n          }\n          onClick={() => {\n            toggleDays(\"TUE\");\n          }}\n        >\n          TUE\n        </div>\n        <div\n          className={\n            selectedDays.includes(\"WED\")\n              ? \"day week-active cursor-pointer week\"\n              : \"day cursor-pointer week\"\n          }\n          onClick={() => {\n            toggleDays(\"WED\");\n          }}\n        >\n          WED\n        </div>\n        <div\n          className={\n            selectedDays.includes(\"THU\")\n              ? \"day week-active cursor-pointer week\"\n              : \"day cursor-pointer week\"\n          }\n          onClick={() => {\n            toggleDays(\"THU\");\n          }}\n        >\n          THU\n        </div>\n        <div\n          className={\n            selectedDays.includes(\"FRI\")\n              ? \"day week-active cursor-pointer week\"\n              : \"day cursor-pointer week\"\n          }\n          onClick={() => {\n            toggleDays(\"FRI\");\n          }}\n        >\n          FRI\n        </div>\n        <div\n          className={\n            selectedDays.includes(\"SAT\")\n              ? \"day week-active cursor-pointer week\"\n              : \"day cursor-pointer week\"\n          }\n          onClick={() => {\n            toggleDays(\"SAT\");\n          }}\n        >\n          SAT\n        </div>\n        <div\n          className={\n            selectedDays.includes(\"SUN\")\n              ? \"day week-active cursor-pointer week\"\n              : \"day cursor-pointer week\"\n          }\n          onClick={() => {\n            toggleDays(\"SUN\");\n          }}\n        >\n          SUN\n        </div>\n      </div>\n    </>\n  );\n};\n\nexport default DaySelector;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport { useFormik } from \"formik\";\nimport { ReactComponent as DeleteIcon } from \"../../assets/img/delete-icon.svg\";\n\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../redux/slices/globalOperationSlice\";\nimport { addReportAsync } from \"../../redux/slices/reportsSlice\";\nimport { getUserId } from \"../../utils/SessionHelper\";\n\nimport { Toaster, TOASTER_TYPES } from \"../../utils/toaster\";\nimport \"./style.scss\";\nimport DaySelector from \"../reports/DaySelector\";\nimport Button from \"../common/Button\";\n\n// Functional component for Add Account.\nconst SchedulerModal = ({ handleModal, refreshReports }) => {\n  const [radioValue, setRadioValue] = useState(\"never\");\n  const chapters = [\n    {\n      name: \"Enterprise Risk Summary\",\n      description:\n        \"Hendrerit nec sociis vindico himenaeos convallis eleifend iustum. Ulciscor ille voco appellatio inceptos.\",\n      disabled: true,\n    },\n    {\n      name: \"Data Store Report\",\n      description: \"Egestas donec fatua saluto libero nisl incassum esse.\",\n      disabled: true,\n    },\n    {\n      name: \"Data Store List\",\n      description: \"Egestas donec fatua saluto libero nisl incassum esse.\",\n      disabled: true,\n    },\n    {\n      name: \"Issues Report\",\n      description: \"Macto commoveo suspendisse quidne quisque roto natoque.\",\n      disabled: true,\n    },\n    {\n      name: \"Issues List\",\n      description: \"Macto commoveo suspendisse quidne quisque roto natoque.\",\n      disabled: false,\n    },\n    {\n      name: \"Ticketing Report\",\n      description:\n        \"Delenit quisque venio verto gravida tristique bibendum tempus.\",\n      disabled: true,\n    },\n  ];\n\n  const [step, setStep] = useState(1);\n  const dispatch = useDispatch();\n  const [report, setReport] = useState({\n    reportName: \"\",\n    reportDescription: \"\",\n    repeat: \"WEEKLY\",\n    repeatEvery: \"1\",\n    endRepeat: \"Never\",\n    endRepeatValueOn: null,\n    endRepeatValueAfter: null,\n    daysOfWeek: [],\n  });\n\n  const [recepients, setRecepients] = useState([]);\n  const [selectedDays, setSelectedDays] = useState([]);\n\n  const [checkedChapters, setCheckedChapters] = useState([chapters[4].name]);\n  const [invalidReport, setInvalidReport] = useState(false);\n\n  const validateInput = (e) => {\n    if (!e.target.value) {\n      setInvalidReport(true);\n    }\n  };\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      reportName: report.reportName?.trim(),\n      reportDescription: report.reportDescription?.trim(),\n      repeat: report.repeat,\n      repeatEvery: report.repeatEvery,\n      endRepeat: report.endRepeat,\n      endRepeatValueOn: report.endRepeatValueOn,\n      endRepeatValueAfter: report.endRepeatValueAfter,\n      daysOfWeek: report.daysOfWeek,\n    },\n    validationSchema: Yup.object().shape({\n      reportName: Yup.string().required(\"Please enter report name.\"),\n      repeat: Yup.string().required(\"Please enter repeat interval.\"),\n      repeatEvery: Yup.string().required(\"Please enter report every.\"),\n      endRepeat: Yup.string().required(\"Please enter end repeat value.\"),\n    }),\n    onSubmit: (values) => {\n      addReport(values);\n    },\n  });\n\n  const addReport = async (values) => {\n    dispatch(showLoading());\n    let endRepeatValue = null;\n    if (values.endRepeat === \"On\") {\n      if (!values.endRepeatValueOn) {\n        Toaster(TOASTER_TYPES.ERROR, \"On value required\");\n        return;\n      }\n      endRepeatValue = values.endRepeatValueOn;\n    } else if (values.endRepeat === \"After\") {\n      if (!values.endRepeatValueAfter) {\n        Toaster(TOASTER_TYPES.ERROR, \"After value required\");\n        return;\n      }\n      endRepeatValue = values.endRepeatValueAfter;\n    } else {\n      endRepeatValue = \"Never\";\n    }\n    const resp = await dispatch(\n      addReportAsync({\n        reportName: values.reportName,\n        id: \"\",\n        reportDescription: values.reportDescription,\n        recipient: recepients,\n        chapter: checkedChapters,\n        repeat: values.repeat,\n        daysOfWeek: selectedDays,\n        repeatEvery: values.repeatEvery,\n        endRepeat: endRepeatValue,\n        userId: getUserId(),\n      })\n    );\n    dispatch(hideLoading());\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Report added successfully.\");\n      refreshReports();\n    } else {\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message || \"Failed to add report.\"\n      );\n    }\n  };\n\n  /**\n   * This function provides the header for current step.\n   * @returns - the header for current step.\n   */\n  const getCurrentStepHeading = () => {\n    switch (step) {\n      case 1:\n        return <b>New Report</b>;\n      case 2:\n        return <b>New Report</b>;\n      case 3:\n        return <b>New Report</b>;\n      default:\n        return null;\n    }\n  };\n\n  /**\n   * This function provides the title for current step.\n   * @returns - the title for current step.\n   */\n  const getCurrentStepTitle = () => {\n    switch (step) {\n      case 1:\n        return <b>Enter report details and recipients</b>;\n      case 2:\n        return <b>Select chapters</b>;\n      case 3:\n        return <b>Schedule Report</b>;\n      default:\n        return null;\n    }\n  };\n\n  const handleEmailEnter = (event) => {\n    if (event.key === \"Enter\" && !emailValid(event.target.value)) {\n      Toaster(TOASTER_TYPES.ERROR, \"Invalid email!\");\n      return;\n    }\n    if (\n      event.key === \"Enter\" &&\n      emailValid(event.target.value) &&\n      !recepients.includes(event.target.value)\n    ) {\n      setRecepients([...recepients, event.target.value]);\n      event.target.value = \"\";\n    }\n  };\n\n  const emailValid = (val) =>\n    /^[a-z0-9][a-z0-9-_\\.]+@([a-z]|[a-z0-9]?[a-z0-9-]+[a-z0-9])\\.[a-z0-9]{2,10}(?:\\.[a-z]{2,10})?$/.test(\n      val\n    );\n\n  const deleteEmail = (index) => {\n    recepients.splice(index, 1);\n    setRecepients([...recepients]);\n  };\n\n  const handleChaptersChecked = (position) => {\n    let chapter = chapters[position].name;\n    if (checkedChapters.includes(chapter)) {\n      setCheckedChapters(checkedChapters.filter((item) => item !== chapter));\n    } else {\n      setCheckedChapters([...checkedChapters, chapters[position].name]);\n    }\n  };\n\n  const RadioButton = ({ name, id, value, onChange, checked, text }) => {\n    return (\n      <label htmlFor={id} className=\"radio-label\">\n        <input\n          className=\"radio-input\"\n          type=\"radio\"\n          name={name}\n          id={id}\n          value={value}\n          onChange={onChange}\n          checked={checked}\n        />\n        <span className=\"custom-radio\" />\n        {text}\n      </label>\n    );\n  };\n\n  return (\n    <div id=\"add-account\">\n      <div\n        className=\"modal fade show\"\n        id=\"exampleModalLong\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"exampleModalLongTitle\"\n        style={{\n          display: \"block\",\n          paddingRight: \"8px\",\n          background: \"rgba(0, 0, 0, 0.5)\",\n        }}\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content p-4\">\n            <div className=\"modal-header \">\n              <div className=\"header-text\">New Report</div>\n              <div className=\"row m-0 stepper mt-4\">\n                <div\n                  className={`col-md-4 p-0 col-lg-4 text-center ${\n                    step >= 1 ? \"step-active\" : \"\"\n                  } `}\n                >\n                  <div\n                    className={`margin-auto ${\n                      step === 1 ? \"step-number\" : \"step-number-disable\"\n                    } mb-3`}\n                  >\n                    1\n                  </div>\n\n                  <div\n                    className={`${\n                      step === 1 ? \"step-title\" : \"step-title-disable\"\n                    } mb-3`}\n                  >\n                    Enter report details\n                  </div>\n                </div>\n                <div\n                  className={`col-md-4 p-0 col-lg-4  text-center ${\n                    step >= 2 ? \"step-active\" : \"\"\n                  } `}\n                >\n                  <div\n                    className={`margin-auto ${\n                      step === 2 ? \"step-number\" : \"step-number-disable\"\n                    } mb-3`}\n                  >\n                    2\n                  </div>\n                  <div\n                    className={`${\n                      step === 2\n                        ? \"step-title margin-auto\"\n                        : \"step-title-disable\"\n                    } mb-3`}\n                  >\n                    Select chapters\n                  </div>\n                </div>\n                <div\n                  className={`col-md-4 p-0 col-lg-4  text-center ${\n                    step >= 3 ? \"step-active\" : \"\"\n                  } `}\n                >\n                  <div\n                    className={`margin-auto ${\n                      step === 3 ? \"step-number\" : \"step-number-disable\"\n                    } mb-3`}\n                  >\n                    3\n                  </div>\n                  <div\n                    className={`${\n                      step === 3 ? \"step-title\" : \"step-title-disable\"\n                    } mb-3`}\n                  >\n                    Schedule report\n                  </div>\n                </div>\n              </div>\n            </div>\n\n            <form onSubmit={formik.handleSubmit}>\n              <div className=\"modal-body\">\n                {step === 1 ? (\n                  <div className=\"input-containers\">\n                    <div className=\"row mt-2\">\n                      <div className=\"col col-lg-12\">\n                        <label className=\"label\">Report Name</label>\n                        <span className=\"mandatory-icon\">*</span>\n                      </div>\n\n                      <div className=\"col col-lg-12\">\n                        <input\n                          type=\"text\"\n                          placeholder=\"Enter Report Name\"\n                          className=\"form-control\"\n                          onChange={(e) => {\n                            formik.setFieldValue(\"reportName\", e.target.value);\n                          }}\n                          value={formik.values.reportName}\n                          onBlur={validateInput}\n                        />\n                        {invalidReport && (\n                          <div className=\"error-message\">\n                            Please enter report name.\n                          </div>\n                        )}\n                        {formik.errors.reportName &&\n                          formik.touched.reportName && (\n                            <div className=\"error-message\">\n                              {formik.errors.reportName}\n                            </div>\n                          )}\n                      </div>\n                    </div>\n\n                    <div className=\"row mt-2\">\n                      <div className=\"col col-lg-12\">\n                        <label className=\"label\">Report Description</label>\n                      </div>\n                      <div className=\"col col-lg-12\">\n                        <textarea\n                          className=\"form-control\"\n                          placeholder=\"Enter Description\"\n                          name=\"reportDescription\"\n                          id=\"reportDescription\"\n                          onChange={(e) => {\n                            formik.setFieldValue(\n                              \"reportDescription\",\n                              e.target.value\n                            );\n                          }}\n                          value={formik.values.reportDescription}\n                        ></textarea>\n                      </div>\n                    </div>\n\n                    <div className=\"row mt-2\">\n                      <div className=\"col col-lg-12\">\n                        <label className=\"label\">Add Recepients</label>\n                        <span className=\"mandatory-icon\">*</span>\n                      </div>\n\n                      <div className=\"col col-lg-12\">\n                        <div className=\"row\">\n                          <div className=\"col col-lg-12\">\n                            <div className=\"d-flex flex-wrap email-input-box\">\n                              {recepients &&\n                                recepients.map((recepient, index) => (\n                                  <div\n                                    key={index}\n                                    className=\"email-chip pr-2 align-items-center justify-content-center label\"\n                                  >\n                                    <span className=\"pr-2\"> {recepient}</span>\n                                    <DeleteIcon\n                                      height=\"15\"\n                                      className=\"delete-icon cursor-pointer\"\n                                      onClick={() => deleteEmail(index)}\n                                    />\n                                  </div>\n                                ))}\n                              <div className=\"d-flex email-input width-full\">\n                                <input\n                                  type=\"text\"\n                                  // placeholder=\"Enter email address and press enter key\"\n                                  className=\"form-control email-input-field\"\n                                  onKeyDown={handleEmailEnter}\n                                  onBlur={formik.handleBlur}\n                                />{\" \"}\n                              </div>\n                            </div>\n                            {/* <input\n                              type=\"text\"\n                              hidden\n                              placeholder=\"Enter email address and press enter key\"\n                              className=\"form-control\"\n                              onKeyDown={handleEmailEnter}\n                              onBlur={formik.handleBlur}\n                            /> */}\n                            {/* <div contentEditable className=\"email-input\"></div> */}\n\n                            {formik.touched.recipient &&\n                              recepients.length === 0 && (\n                                <div className=\"error-message\">\n                                  {\"Please enter recipient.\"}\n                                </div>\n                              )}\n                          </div>\n                        </div>\n                      </div>\n                    </div>\n\n                    <div className=\"row mt-2\">\n                      <div className=\"col col-lg-12\">\n                        <label className=\"label\">\n                          Please enter the email address and press enter key to\n                          add the recipient. You can add multiple recipients\n                        </label>\n                      </div>\n                    </div>\n                  </div>\n                ) : step === 2 ? (\n                  <div className=\"input-containers\">\n                    <div className=\"checkbox-container\">\n                      {chapters.map((chapter, index) => (\n                        <div class=\"new\" key={index}>\n                          <form>\n                            <div class=\"form-group\">\n                              <input\n                                type={\"checkbox\"}\n                                className=\"mr-1\"\n                                id={`chapter-${index}`}\n                                defaultChecked={checkedChapters.includes(\n                                  chapter.name\n                                )}\n                                onChange={() => handleChaptersChecked(index)}\n                                disabled={chapter.disabled}\n                              />\n                              <label\n                                htmlFor={`chapter-${index}`}\n                                className=\"mb-0 mt-0 position-absolute chapter-label\"\n                              >\n                                {chapter.name}\n                              </label>\n                            </div>\n                          </form>\n                        </div>\n                      ))}\n                    </div>\n                  </div>\n                ) : (\n                  <div className=\"input-containers\">\n                    <div className=\"row\">\n                      <div className=\"col col-lg-12\">\n                        <label className=\"label\">Repeat</label>\n                      </div>\n                      <div className=\"col col-lg-12\">\n                        <select\n                          className=\"form-control\"\n                          value={formik.values.repeat}\n                          onChange={(event) =>\n                            formik.setFieldValue(\"repeat\", event.target.value)\n                          }\n                        >\n                          <option value=\"DAILY\">Daily</option>\n                          <option value=\"WEEKLY\">Weekly</option>\n                          <option value=\"MONTHLY\">Monthly</option>\n                        </select>\n                        {formik.errors.repeat && formik.touched.repeat && (\n                          <div className=\"error-message\">\n                            {formik.errors.repeat}\n                          </div>\n                        )}\n                      </div>\n                    </div>\n                    <div className=\"row mt-2\">\n                      <div className=\"col col-lg-12\">\n                        <label className=\"label\">Repeat every</label>\n                      </div>\n                      <div className=\"col col-lg-12\">\n                        <select\n                          className=\"form-control\"\n                          value={formik.values.repeatEvery}\n                          onChange={(event) =>\n                            formik.setFieldValue(\n                              \"repeatEvery\",\n                              event.target.value\n                            )\n                          }\n                          onBlur={formik.handleBlur}\n                        >\n                          <option value=\"1\">1</option>\n                          <option value=\"2\">2</option>\n                          <option value=\"4\">4</option>\n                        </select>\n\n                        {formik.errors.repeatEvery &&\n                          formik.touched.repeatEvery && (\n                            <div className=\"error-message\">\n                              {formik.errors.repeatEvery}\n                            </div>\n                          )}\n                      </div>\n                    </div>\n\n                    <div className=\"row mt-4\">\n                      <div className=\"col col-lg-12\">\n                        <DaySelector\n                          selectedDays={selectedDays}\n                          setSelectedDaysValue={(value) => {\n                            setSelectedDays(value);\n                          }}\n                        />\n                      </div>\n                    </div>\n\n                    <div className=\"occurance-container\">\n                      <div className=\"row mt-4\">\n                        <div className=\"col col-lg-4 mt-2\">\n                          <RadioButton\n                            name=\"never\"\n                            id=\"never\"\n                            text=\"Never\"\n                            value={formik.values.endRepeat}\n                            onChange={() => {\n                              formik.setFieldValue(\"endRepeat\", \"Never\");\n                            }}\n                            checked={\n                              formik.values.endRepeat === \"Never\" ? true : false\n                            }\n                          />\n                        </div>\n                      </div>\n                      <div className=\"row mt-2\">\n                        <div className=\"col col-lg-2 mt-2\">\n                          <RadioButton\n                            name=\"on\"\n                            id=\"on\"\n                            value=\"On\"\n                            text=\"On\"\n                            onChange={(event) =>\n                              formik.setFieldValue(\"endRepeat\", \"On\")\n                            }\n                            checked={\n                              formik.values.endRepeat === \"On\" ? true : false\n                            }\n                          />\n                        </div>\n                        <div className=\"col col-lg-8\">\n                          <input\n                            type={\"text\"}\n                            placeholder=\"1 Occurrence\"\n                            className=\"form-control\"\n                            onChange={(event) => {\n                              formik.setFieldValue(\n                                \"endRepeatValueOn\",\n                                event.target.value\n                              );\n                            }}\n                            value={formik.values.endRepeatValueOn}\n                          />\n                        </div>\n                      </div>\n                      <div className=\"row mt-2\">\n                        <div className=\"col col-lg-2 mt-2\">\n                          <RadioButton\n                            id=\"customRadio8\"\n                            name=\"endRepeat\"\n                            value=\"After\"\n                            text=\"After\"\n                            onChange={(event) =>\n                              formik.setFieldValue(\"endRepeat\", \"After\")\n                            }\n                            checked={\n                              formik.values.endRepeat === \"After\" ? true : false\n                            }\n                          />{\" \"}\n                        </div>\n                        <div className=\"col col-lg-8\">\n                          <input\n                            type={\"date\"}\n                            className=\"form-control\"\n                            value={formik.values.endRepeatValueAfter}\n                            onChange={(event) =>\n                              formik.setFieldValue(\n                                \"endRepeatValueAfter\",\n                                event.target.value\n                              )\n                            }\n                          />\n                          {formik.errors.endRepeat &&\n                            formik.touched.endRepeat && (\n                              <div className=\"error-message\">\n                                {formik.errors.endRepeat}\n                              </div>\n                            )}\n                        </div>\n                      </div>\n                    </div>\n                  </div>\n                )}\n\n                {/* <div className=\"row mt-4\">\n                <div className=\"col mt-2\">\n                  <div className=\"float-left\">\n                    {step !== 1 ? (\n                      <button\n                        type=\"button\"\n                        className=\"btn btn-primary\"\n                        onClick={() => setStep(step - 1)}\n                      >\n                        {step === 2\n                          ? \"Back: Report Details\"\n                          : \"Back: Select Chapter\"}\n                      </button>\n                    ) : (\n                      \"\"\n                    )}\n                  </div>\n                  <div className=\"float-right\">\n                    <button\n                      type=\"submit\"\n                      className=\"btn btn-primary mr-4\"\n                      onClick={() => setStep(step + 1)}\n                    >\n                      {step === 1\n                        ? \"Next: Chapters\"\n                        : step === 2\n                        ? \"Next: Schedule\"\n                        : \"Schedule Report\"}\n                    </button>\n                    <button\n                      type=\"button\"\n                      onClick={() => handleModal(false)}\n                      className=\"btn btn-secondary\"\n                    >\n                      Cancel\n                    </button>\n                  </div>\n                </div>\n              </div> */}\n\n                <div className=\"row mt-5 mb-5\">\n                  <div className=\"col-sm-5\">\n                    {step == 2 && (\n                      <Button\n                        variant=\"contained\"\n                        type=\"button\"\n                        onClick={() => setStep(1)}\n                      >\n                        Back: Report Details\n                      </Button>\n                    )}\n                    {step === 3 && (\n                      <Button\n                        variant=\"contained\"\n                        type=\"button\"\n                        onClick={() => setStep(2)}\n                      >\n                        Back: Select Chapter\n                      </Button>\n                    )}\n                  </div>\n                  <div className=\"col-sm-7\">\n                    <div className=\"float-right\">\n                      {step === 1 && (\n                        <Button\n                          variant=\"contained\"\n                          type=\"button\"\n                          onClick={() => {\n                            setReport({ ...formik.values });\n                            setStep(2);\n                          }}\n                          disabled={\n                            !formik.values.reportName || recepients.length === 0\n                          }\n                        >\n                          Next: Chapters\n                        </Button>\n                      )}\n                      {step === 2 && (\n                        <Button\n                          variant=\"contained\"\n                          type=\"button\"\n                          disabled={checkedChapters.length === 0}\n                          onClick={() => {\n                            setReport({ ...formik.values });\n                            setStep(3);\n                          }}\n                        >\n                          Next: Schedule\n                        </Button>\n                      )}\n                      {step === 3 && (\n                        <Button\n                          variant=\"contained\"\n                          type=\"submit\"\n                          disabled={!formik.isValid}\n                        >\n                          Schedule Report\n                        </Button>\n                      )}\n                      <span className=\"separator mx-1\"></span>\n                      <Button\n                        variant=\"outlined\"\n                        type=\"button\"\n                        onClick={() => handleModal(false)}\n                      >\n                        Cancel\n                      </Button>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </form>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default SchedulerModal;\n","var _path, _path2, _path3;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgPause(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 16,\n    height: 16,\n    viewBox: \"0 0 16 16\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M8.14648 2.03038C4.75746 2.03038 2.01012 4.77773 2.01012 8.16675C2.01012 11.5558 4.75746 14.3031 8.14648 14.3031C11.5355 14.3031 14.2828 11.5558 14.2828 8.16675C14.2828 4.77773 11.5355 2.03038 8.14648 2.03038ZM0.646484 8.16675C0.646484 4.02461 4.00435 0.666748 8.14648 0.666748C12.2886 0.666748 15.6465 4.02461 15.6465 8.16675C15.6465 12.3089 12.2886 15.6667 8.14648 15.6667C4.00435 15.6667 0.646484 12.3089 0.646484 8.16675Z\",\n    fill: \"#3260E6\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M5.08302 5.59511C5.35224 5.34068 5.69277 5.30314 5.92378 5.30314H6.81014C7.04115 5.30314 7.38168 5.34068 7.6509 5.59511C7.93002 5.8589 7.97605 6.20497 7.97605 6.44178V9.89178C7.97605 10.1286 7.93002 10.4768 7.64733 10.741C7.37672 10.994 7.03493 11.0304 6.80332 11.0304H5.92378C5.69277 11.0304 5.35224 10.9929 5.08302 10.7385C4.80389 10.4747 4.75787 10.1286 4.75787 9.89178V6.44178C4.75787 6.20497 4.80389 5.8589 5.08302 5.59511ZM6.1215 6.66678V9.66678H6.61241V6.66678H6.1215Z\",\n    fill: \"#3260E6\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M8.68987 5.59511C8.95908 5.34068 9.29962 5.30314 9.53062 5.30314H10.4102C10.6412 5.30314 10.9817 5.34068 11.2509 5.59511C11.5301 5.8589 11.5761 6.20497 11.5761 6.44178V9.89178C11.5761 10.1286 11.5301 10.4747 11.2509 10.7385C10.9817 10.9929 10.6412 11.0304 10.4102 11.0304H9.53062C9.29962 11.0304 8.95908 10.9929 8.68987 10.7385C8.41074 10.4747 8.36471 10.1286 8.36471 9.89178V6.44178C8.36471 6.20497 8.41074 5.8589 8.68987 5.59511ZM9.72835 6.66678V9.66678H10.2124V6.66678H9.72835Z\",\n    fill: \"#3260E6\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgPause);\nexport default __webpack_public_path__ + \"static/media/pause.ef87934f.svg\";\nexport { ForwardRef as ReactComponent };","var _circle, _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgStar(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 50,\n    height: 50,\n    viewBox: \"0 0 50 50\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 25,\n    cy: 25,\n    r: 25,\n    fill: \"#2B1E68\"\n  })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M28.1667 20.2142C28.4164 20.7268 29.0866 21.213 29.6518 21.3182L33.0031 21.8701C35.1453 22.225 35.6447 23.7758 34.107 25.3266L31.4917 27.9419C31.058 28.3756 30.8083 29.2298 30.9529 29.8475L31.702 33.0806C32.2934 35.6302 30.9266 36.629 28.6792 35.2885L25.5382 33.4223C24.9731 33.0806 24.0269 33.0806 23.4617 33.4223L20.3207 35.2885C18.0734 36.6158 16.7066 35.6302 17.298 33.0806L18.0471 29.8475C18.1917 29.243 17.942 28.3887 17.5083 27.9419L14.893 25.3266C13.3553 23.7889 13.8547 22.2381 15.9969 21.8701L19.3482 21.3182C19.9133 21.2262 20.5836 20.7268 20.8333 20.2142L22.6864 16.5081C23.672 14.4973 25.3017 14.4973 26.3136 16.5081L28.1667 20.2142Z\",\n    stroke: \"#836AFF\",\n    strokeWidth: 1.97135,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStar);\nexport default __webpack_public_path__ + \"static/media/star.0c28ff59.svg\";\nexport { ForwardRef as ReactComponent };","import React, { useState, useEffect } from \"react\";\nimport \"./style.scss\";\nimport SchedulerModal from \"../../components/reports/SchedulerModal\";\nimport {\n  listReportsAsync,\n  deleteReportAsync,\n} from \"../../redux/slices/reportsSlice\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../redux/slices/globalOperationSlice\";\nimport moment from \"moment\";\nimport DeleteConfirmationModal from \"../../components/modal/shared/DeleteConfirmationModal\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport infoFilled from \"../../assets/img/icons/ep-info-filled.svg\";\nimport { INFO_MODAL_DATA } from \"../../components/modal/info-modal/InfoModalData\";\nimport InfoModal from \"../../components/modal/info-modal/InfoModal\";\nimport { ReactComponent as ReportIcon } from \"../../assets/img/new-theme/sidebar/report-white.svg\";\nimport { ReactComponent as PauseIcon } from \"../../assets/img/pause.svg\";\nimport { ReactComponent as TrashIcon } from \"../../assets/img/trash.svg\";\nimport Button from \"../../components/common/Button\";\nimport Typography from \"../../components/common/Typography\";\nimport { useTheme } from \"@mui/material\";\n\nconst Reports = ({ setPath }) => {\n  const [isModal, setIsModal] = useState(false);\n  const dispatch = useDispatch();\n  const reports = useSelector((state) => state.report.reports);\n  const loading = useSelector((state) => state.globalOperation.loading);\n  const [deleteModal, setDeleteModal] = useState(false);\n  const [selectedReport, setSelectedReport] = useState(null);\n  const [showLoader, setShowLoader] = useState(false);\n  const [showInfoModal, setShowInfoModal] = useState(false);\n  const [infoModalData, setInfoModalData] = useState(false);\n  const theme = useTheme();\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Reports\";\n\n    refreshReports();\n    setPath(window.location.pathname);\n  }, []);\n\n  const refreshReports = async () => {\n    dispatch(showLoading());\n    await dispatch(listReportsAsync());\n    setIsModal(false);\n    setDeleteModal(false);\n    dispatch(hideLoading());\n  };\n\n  const deleteReport = async () => {\n    setShowLoader(true);\n    const resp = await dispatch(deleteReportAsync(selectedReport._id));\n    if (resp && resp.payload && !resp.payload.err) {\n      setShowLoader(false);\n      Toaster(TOASTER_TYPES.SUCCESS, \"Report deleted successfully.\");\n      refreshReports();\n    } else {\n      setShowLoader(false);\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message || \"Failed to delete report.\"\n      );\n    }\n  };\n\n  const handleDelete = (report) => {\n    setSelectedReport(report);\n    setDeleteModal(true);\n  };\n\n\n  const getSchedule = (report) => {\n    return `Occurs: ${report?.repeat} Stops: ${\n      moment(report.endRepeat).format(\"DD-MM-YYYY\") !== \"Invalid date\"\n        ? report.endRepeat.length === 1 || report.endRepeat.length === 2\n          ? `${report.endRepeat} Occurrence`\n          : moment(report.endRepeat).format(\"DD-MM-YYYY\")\n        : report.endRepeat\n    } Status: Running`;\n  };\n\n  const handleInfoModal = (visible, data) => {\n    setInfoModalData(data);\n    setShowInfoModal(visible);\n  };\n\n  return (\n    <div className=\"reports-container\">\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }\n      >\n        {/* Hiding this as it is not in work at the moment */}\n        {/* <div className=\"row pb-2 border-bottom bg-white\">\n          <div className=\"col align-self-start\">\n            <div className=\"px-3\">\n              <div className=\"row mt-2\">\n                <div className=\"col-auto d-flex justify-content-center\">\n                  <b>SEARCH &amp; FILTERS :</b>\n                </div>\n                <div className=\"col-auto\">\n                  <div className=\"dropdown\">\n                    <button\n                      className=\"btn btn-light dropdown-toggle table-dropdown\"\n                      type=\"button\"\n                      id=\"dropdownMenuButton\"\n                      data-toggle=\"dropdown\"\n                      aria-expanded=\"false\"\n                    >\n                      <span className=\"dropdown-title\">Keyword</span>\n                    </button>\n                    <div\n                      className=\"dropdown-menu\"\n                      aria-labelledby=\"dropdownMenuButton\"\n                    >\n                      <a className=\"dropdown-item\" href=\"#\">\n                        Action\n                      </a>\n                    </div>\n                  </div>\n                </div>\n                <div className=\"col-auto\">\n                  <input\n                    className=\"form-control form-control-sm\"\n                    type=\"text\"\n                    placeholder=\"Enter Keyword\"\n                  />\n                </div>\n              </div>\n            </div>\n          </div>\n        </div> */}\n        <div className=\"report-title row pb-3\">\n          <div className=\"col\">\n            <Typography color={theme.palette.surface100.main} variant=\"body2\">\n              Reports\n            </Typography>\n          </div>\n        </div>\n\n        <div className=\"reports-body\">\n          {/* <h5>\n            <span>TICKETS - 8</span>\n            {\"   \"}\n            <span>FILTERED TO: 0</span>\n          </h5> */}\n          <Button\n            variant=\"contained\"\n            type=\"button\"\n            onClick={() => setIsModal(true)}\n          >\n            <ReportIcon />\n            <span className=\"btn-sm\">Schedule New Report</span>\n          </Button>\n\n          <h6 className=\"mt-4\">\n            Scheduled Report\n            {reports && reports.length > 0 ? \" - \" + reports.length : \"\"}\n          </h6>\n          <hr />\n\n          <div className=\"table-responsive\">\n            <table className=\"table\">\n              <thead className=\"vuls-row\">\n                <tr className=\"head vuls-row\">\n                  <th scope=\"col\">Report Name</th>\n                  {/* <th scope=\"col\">Control</th> */}\n                  <th scope=\"col\">Schedule</th>\n                  <th scope=\"col\">Description</th>\n                  <th scope=\"col\">Recipients</th>\n                  <th scope=\"col\">Actions</th>\n                </tr>\n              </thead>\n              <tbody>\n                {reports &&\n                  reports.map((data, index) => (\n                    <tr className=\"vuls-row\" key={index}>\n                      <td scope=\"col\">{data.reportName}</td>\n                      {/* <td scope=\"col\">\n                        <span className=\"mr-1\">PAUSE</span> <PauseIcon />\n                      </td> */}\n                      <td scope=\"col\">{getSchedule(data)}</td>\n                      <td scope=\"col\">{data.reportDescription}</td>\n                      <td scope=\"col\">\n                        {data.recipient.map(\n                          (str, index) =>\n                            `${\n                              index < data.recipient.length - 1\n                                ? str + \", \"\n                                : str\n                            }`\n                        )}\n                      </td>\n                      <td scope=\"col\">\n                        <span>\n                          <TrashIcon onClick={() => handleDelete(data)} />\n                        </span>\n                      </td>\n                    </tr>\n                  ))}\n              </tbody>\n            </table>\n          </div>\n        </div>\n\n        {isModal && (\n          <SchedulerModal\n            handleModal={() => setIsModal(false)}\n            refreshReports={refreshReports}\n          />\n        )}\n        {deleteModal && (\n          <DeleteConfirmationModal\n            handleModal={() => setDeleteModal(false)}\n            deleteHandle={deleteReport}\n            showLoader={showLoader}\n            modalData={{\n              title: \"Delete Report\",\n              message: \"Are you sure, you want to delete this report?\",\n            }}\n          />\n        )}\n        {showInfoModal && (\n          <InfoModal\n            handleModal={() => setShowInfoModal(false)}\n            data={infoModalData}\n          />\n        )}\n      </BlockUi>\n    </div>\n  );\n};\n\nexport default Reports;\n","export default __webpack_public_path__ + \"static/media/jira.ecf50591.svg\";","export default __webpack_public_path__ + \"static/media/servicenow.842939e1.svg\";","export default __webpack_public_path__ + \"static/media/splunk.50507a10.svg\";","export default __webpack_public_path__ + \"static/media/okta.228b0f95.svg\";","export default __webpack_public_path__ + \"static/media/wiz-1.9f68ff78.svg\";","export default __webpack_public_path__ + \"static/media/slack.48a20a75.svg\";","const Card = ({ img, type, className, handleModal }) => {\n  return (\n    <div\n      className={`card-item col-6 col-sm-4 col-md-3 col-lg-2 ${className}`}\n      onClick={() =>\n        className.includes(\"pointer\") ? handleModal(true, type) : null\n      }\n    >\n      <div\n        class={`card iq-mb-2 border-success header-risk-card ${\n          type === \"wiz\" ? \"wiz-background\" : \"\"\n        }`}\n      >\n        <div class=\"card-body text-primary card-body-small\">\n          <img alt=\"\" src={img} />\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Card;\n","import Jira from \"../../../assets/img/integrations/jira.svg\";\nimport Okta from \"../../../assets/img/integrations/okta.svg\";\nimport ServiceNow from \"../../../assets/img/integrations/servicenow.svg\";\nimport Wiz from \"../../../assets/img/integrations/wiz-1.svg\";\nimport * as constants from \"../../../utils/Constants\";\nimport Slack from \"../../../assets/img/integrations/slack.svg\";\nimport Splunk from \"../../../assets/img/integrations/splunk.svg\";\nimport Card from \"./card\";\nimport \"./style.scss\";\nimport { useEffect, useState } from \"react\";\n\nconst IntegrationCards = ({ handleModal, oktaIntegrations }) => {\n  const [cards, setCards] = useState([]);\n\n  useEffect(() => {\n    const cards_ = [\n      {\n        img: Jira,\n        className: \"cursor-pointer\",\n        type: \"jira\",\n      },\n      {\n        img: Slack,\n        className: \"cursor-pointer\",\n        type: \"slack\",\n      },\n    ];\n    if (constants.REACT_APP_SHOW_WIZ_INTEGRATION === \"YES\") {\n      cards_.push({\n        img: Wiz,\n        className: \"cursor-pointer\",\n        type: \"wiz\",\n      });\n      setCards(cards_);\n    } else {\n      setCards(cards_);\n    }\n  }, []);\n\n  return (\n    <div class=\"row integration-cards\">\n      <div class=\"col-lg-12\">\n        <div class=\"row\">\n          {cards.map((card, index) => (\n            <Card\n              img={card.img}\n              type={card.type}\n              key={index}\n              className={card.className}\n              handleModal={handleModal}\n            />\n          ))}\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default IntegrationCards;\n","import { useFormik } from \"formik\";\nimport React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport integrationIcon from \"../../../assets/img/icons/settings/integration.svg\";\nimport { addOktaIntegrationAsync } from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Integration.\nconst OktaIntegrationModal = ({ handleModal, refreshIntegrations }) => {\n  const dispatch = useDispatch();\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const [domains, setDomains] = useState([]);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      ProviderName: \"\",\n      MetadataFile: \"\",\n      key: \"\",\n      value: \"\",\n      AllowedDomains: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      ProviderName: Yup.string().required(\"Please enter integration name.\"),\n      MetadataFile: Yup.string().required(\"Please enter Metadata File Url.\"),\n    }),\n    onSubmit: (values) => {\n      addIntegration({ ...values });\n    },\n  });\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const addIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      addOktaIntegrationAsync({\n        ProviderName: values.ProviderName,\n        MetadataFile: values.MetadataFile,\n        key: [\"email\"],\n        value: [\"email\"],\n        userId: getUserId(),\n      })\n    );\n\n    if (resp && resp.payload && resp.payload.msg) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.msg);\n      setShowLoader(false);\n      refreshIntegrations();\n      handleModal(false);\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, resp.payload.err.message);\n      setShowLoader(false);\n      setConnectionFailed(true);\n    }\n  };\n\n  const handleDomainEnter = (event) => {\n    if (\n      event.key === \"Enter\" &&\n      event.target.value &&\n      !domains.includes(event.target.value)\n    ) {\n      setDomains([...domains, event.target.value]);\n      event.target.value = \"\";\n    }\n  };\n\n  const deleteDomain = (index) => {\n    domains.splice(index, 1);\n    setDomains([...domains]);\n  };\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <img src={integrationIcon} className=\"mr-3\" />\n                <span>Add Okta Integration</span>\n              </div>\n              <div className=\"modal-body\">\n                {showLoader && (\n                  <img\n                    src=\"static/img/loader-circle.svg\"\n                    className=\"modal-loading-img\"\n                  />\n                )}\n                <label className=\"label\">\n                  Name <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"ProviderName\"\n                      placeholder=\"Integration Name\"\n                      name=\"ProviderName\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"ProviderName\", e.target.value);\n                      }}\n                      value={formik.values.ProviderName}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.ProviderName &&\n                      formik.touched.ProviderName && (\n                        <div className=\"error-message\">\n                          {formik.errors.ProviderName}\n                        </div>\n                      )}\n                  </div>\n                </div>\n\n                <label className=\"label\">\n                  Metadata File Url <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"MetadataFile\"\n                      placeholder=\"Metadata File Url\"\n                      name=\"MetadataFile\"\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"MetadataFile\", e.target.value);\n                      }}\n                      value={formik.values.MetadataFile}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.MetadataFile &&\n                      formik.touched.MetadataFile && (\n                        <div className=\"error-message\">\n                          {formik.errors.MetadataFile}\n                        </div>\n                      )}\n                  </div>\n                </div>\n\n                {/* <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Key</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-6\">\n                    <input\n                      type=\"text\"\n                      id=\"key\"\n                      placeholder=\"Key\"\n                      name=\"key\"\n                      maxLength={50}\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"key\", e.target.value);\n                      }}\n                      value={formik.values.userName}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.key && formik.touched.key && (\n                      <div className=\"error-message\">{formik.errors.key}</div>\n                    )}\n                  </div>\n                </div>\n\n                <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Value</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-6\">\n                    <input\n                      type=\"text\"\n                      id=\"value\"\n                      placeholder=\"Value\"\n                      name=\"value\"\n                      maxLength={50}\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"value\", e.target.value);\n                      }}\n                      value={formik.values.accountId}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.value && formik.touched.value && (\n                      <div className=\"error-message\">{formik.errors.value}</div>\n                    )}\n                  </div>\n                </div> */}\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 offset-md-3 pl-0 text-danger\">\n                      Connection failed, please check the details and try again.\n                    </div>\n                  </div>\n                )}\n              </div>\n              <div className=\"modal-footer\">\n                <Button\n                  variant=\"contained\"\n                  type=\"submit\"\n                  disabled={!formik.isValid}\n                >\n                  Add Integration\n                </Button>\n                <span className=\"separator mx-3\"></span>\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => handleCancel()}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default OktaIntegrationModal;\n","import { useFormik } from \"formik\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport * as Yup from \"yup\";\nimport integrationIcon from \"../../../assets/img/icons/settings/integration.svg\";\nimport {\n  listIssueTypesAsync,\n  listJiraProjectsAsync,\n  updateIntegrationAsync,\n} from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport { LOADER_CONFIG } from \"../../../utils/Constants\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Integration.\nconst UpdateJiraIntegrationModal = ({\n  handleModal,\n  refreshIntegrations,\n  card,\n}) => {\n  const dispatch = useDispatch();\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const [projects, setProjects] = useState([]);\n  const [issues, setIssues] = useState([]);\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      username: \"\",\n      password: \"\",\n      host: \"\",\n      project: \"\",\n      issue: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      username: Yup.string().required(\"Please enter username.\"),\n      password: Yup.string().required(\"Please enter password.\"),\n      host: Yup.string().required(\"Please enter host.\"),\n    }),\n    onSubmit: (values) => {\n      updateIntegration({ ...values });\n    },\n  });\n\n  const listJiraProjects = async (values) => {\n    dispatch(showLoading());\n    const resp = await dispatch(\n      listJiraProjectsAsync({\n        host: values.host,\n        username: values.username,\n        password: values.password,\n      })\n    );\n    if (resp && resp.payload) {\n      dispatch(hideLoading());\n      setProjects(resp.payload.projects);\n    } else {\n      dispatch(hideLoading());\n    }\n  };\n\n  const listIssueType = async (values) => {\n    dispatch(showLoading());\n    const resp = await dispatch(\n      listIssueTypesAsync({\n        host: values.host,\n        username: values.username,\n        password: values.password,\n        project: values.project,\n      })\n    );\n\n    if (resp && resp.payload && !resp.payload.err) {\n      dispatch(hideLoading());\n      setIssues(resp.payload.issues);\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, resp?.payload?.err?.message);\n      dispatch(hideLoading());\n    }\n  };\n\n  useEffect(() => {\n    if (card) {\n      formik.setFieldValue(\"username\", card.username);\n      formik.setFieldValue(\"password\", card.password);\n      formik.setFieldValue(\"host\", card.host);\n      formik.setFieldValue(\"project\", card.project.id);\n      formik.setFieldValue(\"issue\", card.issueType[0]);\n      if (!projects.length) {\n        listJiraProjects(card);\n        listIssueType(card);\n      }\n    }\n  }, [card]);\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const getProjects = (id) => {\n    return projects.find((project) => project.id === id);\n  };\n\n  const updateIntegration = async (values) => {\n    dispatch(showLoading());\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      updateIntegrationAsync({\n        username: values.username,\n        password: values.password,\n        host: values.host,\n        project: getProjects(values.project.trim()),\n        issue: [values.issue],\n        id: card._id,\n        userId: getUserId(),\n      })\n    );\n    if (resp && resp.payload) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Integration updated successfully.\");\n      dispatch(hideLoading());\n      refreshIntegrations();\n      handleModal(false);\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, resp.payload.err.message);\n      dispatch(hideLoading());\n      setConnectionFailed(true);\n    }\n  };\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <BlockUi\n            tag=\"div\"\n            blocking={loading}\n            loader={\n              <Loader\n                active\n                type={LOADER_CONFIG.type}\n                color={LOADER_CONFIG.color}\n              />\n            }\n          >\n            <form onSubmit={formik.handleSubmit}>\n              <div className=\"modal-content overflow-y\">\n                <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                  <img src={integrationIcon} className=\"mr-3\" />\n                  <span>Update Integration</span>\n                </div>\n                <div className=\"modal-body\">\n                  <label className=\"label\">\n                    Username: <span className=\"mandatory-icon\">*</span>\n                  </label>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        type=\"text\"\n                        id=\"name\"\n                        placeholder=\"Enter Username\"\n                        name=\"name\"\n                        maxLength={50}\n                        className=\"form-control\"\n                        onChange={(e) => {\n                          formik.setFieldValue(\"username\", e.target.value);\n                        }}\n                        value={formik.values.username}\n                        onBlur={formik.handleBlur}\n                      />\n                      {formik.errors.username && formik.touched.username && (\n                        <div className=\"error-message\">\n                          {formik.errors.username}\n                        </div>\n                      )}\n                    </div>\n                  </div>\n                  <label className=\"label\">\n                    Password: <span className=\"mandatory-icon\">*</span>\n                  </label>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        type=\"password\"\n                        id=\"name\"\n                        placeholder=\"**********\"\n                        name=\"name\"\n                        className=\"form-control\"\n                        onChange={(e) => {\n                          formik.setFieldValue(\"password\", e.target.value);\n                        }}\n                        value={formik.values.password}\n                        onBlur={formik.handleBlur}\n                      />\n                      {formik.errors.password && formik.touched.password && (\n                        <div className=\"error-message\">\n                          {formik.errors.password}\n                        </div>\n                      )}\n                    </div>\n                  </div>\n                  <label className=\"label\">\n                    Host: <span className=\"mandatory-icon\">*</span>\n                  </label>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        type=\"text\"\n                        id=\"host\"\n                        placeholder=\"Enter Host\"\n                        name=\"host\"\n                        maxLength={50}\n                        className=\"form-control\"\n                        onChange={(e) => {\n                          formik.setFieldValue(\"host\", e.target.value);\n                        }}\n                        value={formik.values.host}\n                        onBlur={formik.handleBlur}\n                      />\n                      {formik.errors.host && formik.touched.host && (\n                        <div className=\"error-message\">\n                          {formik.errors.host}\n                        </div>\n                      )}\n                    </div>\n                  </div>\n\n                  {projects.length ? (\n                    <>\n                      <label className=\"label\">\n                        Project: <span className=\"mandatory-icon\">*</span>\n                      </label>\n                      <div className=\"row py-2\">\n                        <div className=\"col col-sm-12 workday-subheading-value\">\n                          <select\n                            onChange={(e) => {\n                              formik.setFieldValue(\"project\", e.target.value);\n                            }}\n                            value={formik.values.project.id}\n                            onBlur={formik.handleBlur}\n                            className=\"form-control\"\n                          >\n                            {projects.map((item, index) => (\n                              <option value={item.id} key={index}>\n                                {item.name}\n                              </option>\n                            ))}\n                          </select>\n                        </div>\n                      </div>\n                    </>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {issues.length ? (\n                    <>\n                      <label className=\"label\">\n                        Issue Type: <span className=\"mandatory-icon\">*</span>\n                      </label>\n\n                      <div className=\"row py-2\">\n                        <div className=\"col col-sm-12 workday-subheading-value\">\n                          <select\n                            onChange={(e) => {\n                              formik.setFieldValue(\"issue\", e.target.value);\n                            }}\n                            value={formik.values.issue}\n                            onBlur={formik.handleBlur}\n                            className=\"form-control\"\n                          >\n                            {issues.map((item, index) => (\n                              <option value={item} key={index}>\n                                {item}\n                              </option>\n                            ))}\n                          </select>\n                        </div>\n                      </div>\n                    </>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {connectionFailed && (\n                    <div className=\"row mt-2\">\n                      <div className=\"col-9 offset-md-3 pl-0 text-danger\">\n                        Something went wrong. Please try again.\n                      </div>\n                    </div>\n                  )}\n                </div>\n                <div className=\"modal-footer\">\n                  <Button variant=\"contained\" type=\"submit\">\n                    Submit\n                  </Button>\n\n                  <span className=\"separator mx-3\"></span>\n\n                  <Button\n                    variant=\"outlined\"\n                    type=\"button\"\n                    onClick={() => handleCancel()}\n                  >\n                    Cancel\n                  </Button>\n                </div>\n              </div>\n            </form>\n          </BlockUi>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default UpdateJiraIntegrationModal;\n","import { useFormik } from \"formik\";\nimport React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport { addSlackIntegrationAsync } from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Integration.\nconst SlackIntegrationModal = ({ handleModal, refreshIntegrations }) => {\n  const dispatch = useDispatch();\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      name: \"\",\n      token: \"\",\n      userId: getUserId(),\n    },\n    validationSchema: Yup.object().shape({\n      name: Yup.string().required(\"Please enter name.\"),\n      token: Yup.string().required(\"Please enter token.\"),\n    }),\n    onSubmit: (values) => {\n      addIntegration({ ...values });\n    },\n  });\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const addIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      addSlackIntegrationAsync({\n        name: values.name,\n        token: values.token,\n        userId: values.userId,\n      })\n    );\n\n    if (resp && resp.payload && resp.payload.msg) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.msg);\n      setShowLoader(false);\n      refreshIntegrations();\n      handleModal(false);\n    } else {\n      if (!resp.payload) {\n        Toaster(TOASTER_TYPES.ERROR, \"Slack integration unsuccessful!\");\n        setShowLoader(false);\n        setConnectionFailed(true);\n      } else {\n        Toaster(TOASTER_TYPES.ERROR, resp.payload.err.message);\n        setShowLoader(false);\n        setConnectionFailed(true);\n      }\n    }\n  };\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <span>Add Slack Integration</span>\n              </div>\n              <div className=\"modal-body\">\n                {showLoader && (\n                  <img\n                    src=\"static/img/loader-circle.svg\"\n                    className=\"modal-loading-img\"\n                  />\n                )}\n\n                <label className=\"label\">\n                  Name <span className=\"mandatory-icon\">*</span>\n                </label>\n\n                <div className=\"row py-2\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"Name\"\n                      placeholder=\"Name\"\n                      name=\"Name\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"name\", e.target.value);\n                      }}\n                      value={formik.values.name}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.name && formik.touched.name && (\n                      <div className=\"error-message\">{formik.errors.name}</div>\n                    )}\n                  </div>\n                </div>\n\n                <label className=\"label \">\n                  Token <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"Token\"\n                      placeholder=\"Token\"\n                      name=\"Token\"\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"token\", e.target.value);\n                      }}\n                      value={formik.values.token}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.MetadataFile &&\n                      formik.touched.MetadataFile && (\n                        <div className=\"error-message\">\n                          {formik.errors.MetadataFile}\n                        </div>\n                      )}\n                  </div>\n                </div>\n\n                {/* <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Key</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-6\">\n                    <input\n                      type=\"text\"\n                      id=\"key\"\n                      placeholder=\"Key\"\n                      name=\"key\"\n                      maxLength={50}\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"key\", e.target.value);\n                      }}\n                      value={formik.values.userName}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.key && formik.touched.key && (\n                      <div className=\"error-message\">{formik.errors.key}</div>\n                    )}\n                  </div>\n                </div>\n\n                <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Value</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-6\">\n                    <input\n                      type=\"text\"\n                      id=\"value\"\n                      placeholder=\"Value\"\n                      name=\"value\"\n                      maxLength={50}\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"value\", e.target.value);\n                      }}\n                      value={formik.values.accountId}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.value && formik.touched.value && (\n                      <div className=\"error-message\">{formik.errors.value}</div>\n                    )}\n                  </div>\n                </div> */}\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 offset-md-3 pl-0 text-danger\">\n                      Connection failed, please check the details and try again.\n                    </div>\n                  </div>\n                )}\n\n                <div className=\"mt-4\">\n                  <Button\n                    variant=\"contained\"\n                    type=\"submit\"\n                    disabled={!formik.isValid}\n                  >\n                    Add Integration\n                  </Button>\n\n                  <span className=\"separator mx-3\"></span>\n\n                  <Button\n                    variant=\"outlined\"\n                    type=\"button\"\n                    onClick={() => handleCancel()}\n                  >\n                    Cancel\n                  </Button>\n                </div>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default SlackIntegrationModal;\n","import { useFormik } from \"formik\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport integrationIcon from \"../../../assets/img/icons/settings/integration.svg\";\nimport { updateSlackIntegrationAsync } from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Integration.\nconst UpdateSlackIntegrationModal = ({\n  handleModal,\n  refreshIntegrations,\n  card,\n}) => {\n  const dispatch = useDispatch();\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      name: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      name: Yup.string().required(\"Please enter name.\"),\n    }),\n    onSubmit: (values) => {\n      updateIntegration({ ...values });\n    },\n  });\n\n  useEffect(() => {\n    if (card) {\n      formik.setFieldValue(\"name\", card.name);\n    }\n  }, [card]);\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const updateIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      updateSlackIntegrationAsync({\n        name: values.name,\n        id: card._id,\n      })\n    );\n    if (resp && resp.payload) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Integration updated successfully.\");\n      setShowLoader(false);\n      refreshIntegrations();\n      handleModal(false);\n    } else {\n      // Toaster(TOASTER_TYPES.ERROR, \"Failed to add Integration.\");\n      setShowLoader(false);\n      setConnectionFailed(true);\n    }\n  };\n\n  useEffect(() => {}, []);\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <img src={integrationIcon} className=\"mr-3\" />\n                <span>Update Slack Integration</span>\n              </div>\n              <div className=\"modal-body\">\n                {showLoader && (\n                  <img\n                    src=\"static/img/loader-circle.svg\"\n                    className=\"modal-loading-img\"\n                  />\n                )}\n                <div className=\"row\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"label\">Name</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-6\">\n                    <input\n                      type=\"text\"\n                      id=\"name\"\n                      placeholder=\"Enter Name\"\n                      name=\"name\"\n                      maxLength={50}\n                      className=\"form-control px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"name\", e.target.value);\n                      }}\n                      value={formik.values.name}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.name && formik.touched.name && (\n                      <div className=\"error-message\">{formik.errors.name}</div>\n                    )}\n                  </div>\n                </div>\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 offset-md-3 pl-0 text-danger\">\n                      Something went wrong. Please try again.\n                    </div>\n                  </div>\n                )}\n              </div>\n              <div className=\"modal-footer\">\n                <Button\n                  variant=\"contained\"\n                  type=\"submit\"\n                  disabled={!formik.isValid}\n                >\n                  Submit\n                </Button>\n\n                <span className=\"separator mx-3\"></span>\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => handleCancel()}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default UpdateSlackIntegrationModal;\n","import { useFormik } from \"formik\";\nimport React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport { addWizIntegrationAsync } from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport Button from \"../../common/Button\";\n\nconst WizIntegrationModal = ({ handleModal, refreshIntegrations }) => {\n  const dispatch = useDispatch();\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const [masked, setMasked] = useState(true);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      client_id: \"\",\n      client_secret: \"\",\n      endpoint_url: \"\",\n      auth_url: \"https://auth.app.wiz.io/oauth/token\",\n      userId: getUserId(),\n    },\n    validationSchema: Yup.object().shape({\n      endpoint_url: Yup.string().required(\"Please enter Endpoint URL.\"),\n      client_id: Yup.string().required(\"Please enter Client Id.\"),\n      client_secret: Yup.string().required(\"Please enter Client Secret.\"),\n      auth_url: Yup.string().required(\"Please enter Authentication URL.\"),\n    }),\n    onSubmit: (values) => {\n      addIntegration({ ...values });\n    },\n  });\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const addIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      addWizIntegrationAsync({\n        endpoint_url: values.endpoint_url,\n        client_id: values.client_id,\n        client_secret: values.client_secret,\n        userId: values.userId,\n        auth_url: values.auth_url,\n      })\n    );\n\n    if (resp && resp.payload && resp.payload.msg) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.msg);\n      setShowLoader(false);\n      refreshIntegrations();\n      handleModal(false);\n    } else {\n      if (!resp.payload) {\n        Toaster(\n          TOASTER_TYPES.ERROR,\n          \"Invalid credentials. Please check and try again.\"\n        );\n        setShowLoader(false);\n        setConnectionFailed(true);\n      } else {\n        Toaster(TOASTER_TYPES.ERROR, resp.payload.err.message);\n        setShowLoader(false);\n        setConnectionFailed(true);\n      }\n    }\n  };\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <span>Add Wiz Integration</span>\n              </div>\n              <div className=\"modal-body\">\n                <label className=\"form-field-name\">\n                  Authentication Endpoint{\" \"}\n                  <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"Name\"\n                      placeholder=\"Auth URL\"\n                      name=\"Name\"\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"auth_url\", e.target.value);\n                      }}\n                      value={formik.values.auth_url}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.auth_url && formik.touched.auth_url && (\n                      <div className=\"error-message\">\n                        {formik.errors.auth_url}\n                      </div>\n                    )}\n                  </div>\n                </div>\n\n                <label className=\"form-field-name\">\n                  API Endpoint <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"Name\"\n                      placeholder=\"API Endpoint URL\"\n                      name=\"Name\"\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"endpoint_url\", e.target.value);\n                      }}\n                      value={formik.values.endpoint_url}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.endpoint_url &&\n                      formik.touched.endpoint_url && (\n                        <div className=\"error-message\">\n                          {formik.errors.endpoint_url}\n                        </div>\n                      )}\n                  </div>\n                </div>\n\n                <label className=\"form-field-name \">\n                  Client ID <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"Name\"\n                      placeholder=\"Client ID\"\n                      name=\"Name\"\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"client_id\", e.target.value);\n                      }}\n                      value={formik.values.client_id}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.client_id && formik.touched.client_id && (\n                      <div className=\"error-message\">\n                        {formik.errors.client_id}\n                      </div>\n                    )}\n                  </div>\n                </div>\n\n                <label className=\"form-field-name \">\n                  Client Secret <span className=\"mandatory-icon\">*</span>\n                  <i\n                    class={masked ? \"las la-eye-slash ml-2\" : \"las la-eye ml-2\"}\n                    onClick={() => setMasked(!masked)}\n                  ></i>\n                </label>\n                <div className=\"row mt-2\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type={masked ? \"password\" : \"text\"}\n                      id=\"Token\"\n                      placeholder=\"Client Secret\"\n                      name=\"Token\"\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"client_secret\", e.target.value);\n                      }}\n                      value={formik.values.client_secret}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.client_secret &&\n                      formik.touched.client_secret && (\n                        <div className=\"error-message\">\n                          {formik.errors.client_secret}\n                        </div>\n                      )}\n                  </div>\n                </div>\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 text-danger\">\n                      Invalid credentials. Please check and try again.\n                    </div>\n                  </div>\n                )}\n\n                <div className=\"mt-4\">\n                  <Button\n                    variant=\"contained\"\n                    type=\"submit\"\n                    disabled={!formik.isValid}\n                  >\n                    Add Integration\n                  </Button>\n                  <span className=\"separator mx-3\"></span>\n                  <Button\n                    variant=\"outlined\"\n                    type=\"button\"\n                    onClick={() => handleCancel()}\n                  >\n                    Cancel\n                  </Button>\n                </div>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default WizIntegrationModal;\n","import { useFormik } from \"formik\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport * as Yup from \"yup\";\nimport integrationIcon from \"../../../assets/img/icons/settings/integration.svg\";\nimport { updateWizIntegrationAsync } from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Integration.\nconst UpdateWizIntegrationModal = ({\n  handleModal,\n  refreshIntegrations,\n  card,\n  edit,\n}) => {\n  const dispatch = useDispatch();\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const [masked, setMasked] = useState(true);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      client_id: \"\",\n      client_secret: \"\",\n      endpoint_url: \"\",\n      auth_url: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      client_id: Yup.string().required(\"Please enter Client ID.\"),\n      client_secret: Yup.string().required(\"Please enter client secret.\"),\n      endpoint_url: Yup.string().required(\"Please elient endpoint url.\"),\n      auth_url: Yup.string().required(\"Please enter Authentication URL.\"),\n    }),\n    onSubmit: (values) => {\n      updateIntegration({ ...values });\n    },\n  });\n\n  useEffect(() => {\n    if (card) {\n      formik.setFieldValue(\"client_id\", card.client_id);\n      formik.setFieldValue(\"client_secret\", card.client_secret);\n      formik.setFieldValue(\"endpoint_url\", card.endpoint_url);\n      formik.setFieldValue(\"auth_url\", card.auth_url);\n    }\n  }, [card]);\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const updateIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      updateWizIntegrationAsync({\n        endpoint_url: values.endpoint_url,\n        client_id: values.client_id,\n        client_secret: values.client_secret,\n        id: card._id,\n        auth_url: values.auth_url,\n        userId: getUserId(),\n      })\n    );\n    if (resp && resp.payload) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Integration updated successfully.\");\n      setShowLoader(false);\n      refreshIntegrations();\n      handleModal(false);\n    } else {\n      // Toaster(TOASTER_TYPES.ERROR, \"Failed to add Integration.\");\n      setShowLoader(false);\n      setConnectionFailed(true);\n    }\n  };\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <span>Update Wiz Integration</span>\n              </div>\n              <div className=\"modal-body\">\n                <label className=\"form-field-name \">\n                  Authentication Endpoint{\" \"}\n                  <span className=\"mandatory-icon\">*</span>\n                </label>\n\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"name\"\n                      placeholder=\"Auth URL\"\n                      name=\"name\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"auth_url\", e.target.value);\n                      }}\n                      value={formik.values.auth_url}\n                      onBlur={formik.handleBlur}\n                      disabled={!edit}\n                    />\n\n                    {formik.errors.auth_url && formik.touched.auth_url && (\n                      <div className=\"error-message\">\n                        {formik.errors.auth_url}\n                      </div>\n                    )}\n                  </div>\n                </div>\n\n                <label className=\"form-field-name \">\n                  API Endpoint <span className=\"mandatory-icon\">*</span>\n                </label>\n\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"name\"\n                      placeholder=\"API Endpoint URL\"\n                      name=\"name\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"endpoint_url\", e.target.value);\n                      }}\n                      value={formik.values.endpoint_url}\n                      onBlur={formik.handleBlur}\n                      disabled={!edit}\n                    />\n\n                    {formik.errors.endpoint_url &&\n                      formik.touched.endpoint_url && (\n                        <div className=\"error-message\">\n                          {formik.errors.endpoint_url}\n                        </div>\n                      )}\n                  </div>\n                </div>\n\n                <label className=\"form-field-name \">\n                  Client ID <span className=\"mandatory-icon\">*</span>\n                </label>\n\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"name\"\n                      placeholder=\"Enter Client ID\"\n                      name=\"name\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"client_id\", e.target.value);\n                      }}\n                      value={formik.values.client_id}\n                      onBlur={formik.handleBlur}\n                      disabled={!edit}\n                    />\n                    {formik.errors.client_id && formik.touched.client_id && (\n                      <div className=\"error-message\">\n                        {formik.errors.client_id}\n                      </div>\n                    )}\n                  </div>\n                </div>\n\n                <label className=\"form-field-name mt-3\">\n                  Client Secret <span className=\"mandatory-icon\">*</span>\n                  <i\n                    class={masked ? \"las la-eye-slash ml-2\" : \"las la-eye ml-2\"}\n                    onClick={() => setMasked(!masked)}\n                  ></i>\n                </label>\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type={masked ? \"password\" : \"text\"}\n                      id=\"name\"\n                      placeholder=\"Enter Client Secret\"\n                      name=\"name\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"client_secret\", e.target.value);\n                      }}\n                      value={formik.values.client_secret}\n                      onBlur={formik.handleBlur}\n                      disabled={!edit}\n                    />\n                    {formik.errors.name && formik.touched.name && (\n                      <div className=\"error-message\">{formik.errors.name}</div>\n                    )}\n                  </div>\n                </div>\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 text-danger\">\n                      Invalid credentials. Please check and try again.\n                    </div>\n                  </div>\n                )}\n              </div>\n              <div className=\"modal-footer\">\n                <Button\n                  variant=\"contained\"\n                  type=\"submit\"\n                  disabled={!formik.isValid}\n                >\n                  Submit\n                </Button>\n                <span className=\"separator mx-3\"></span>\n\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => handleCancel()}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default UpdateWizIntegrationModal;\n","import { useFormik } from \"formik\";\nimport React, { useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport * as Yup from \"yup\";\nimport integrationIcon from \"../../../assets/img/icons/settings/integration.svg\";\nimport {\n  addIntegrationAsync,\n  listJiraProjectsAsync,\n  listIssueTypesAsync,\n} from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport { getUserId } from \"../../../utils/SessionHelper\";\nimport { LOADER_CONFIG } from \"../../../utils/Constants\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Integration.\nconst JiraIntegrationModal = ({ handleModal, refreshIntegrations, card }) => {\n  const dispatch = useDispatch();\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const [projects, setProjects] = useState([]);\n  const [issues, setIssues] = useState([]);\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      username: \"\",\n      password: \"\",\n      host: \"\",\n      project: \"\",\n      issue: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      username: Yup.string().required(\"Please enter username.\"),\n      password: Yup.string().required(\"Please enter password.\"),\n      host: Yup.string().required(\"Please enter host.\"),\n    }),\n    onSubmit: (values) => {\n      listJiraProjects({ ...values });\n    },\n  });\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const getProjects = (id) => {\n    return projects.find((project) => project.id === id);\n  };\n\n  const listJiraProjects = async (values) => {\n    if (!projects.length) {\n      dispatch(showLoading());\n      const resp = await dispatch(\n        listJiraProjectsAsync({\n          host: values.host,\n          username: values.username,\n          password: values.password,\n        })\n      );\n\n      if (resp && resp.payload && !resp.payload.err) {\n        dispatch(hideLoading());\n        setProjects(resp.payload.projects);\n      } else {\n        Toaster(TOASTER_TYPES.ERROR, resp?.payload?.err?.message);\n        dispatch(hideLoading());\n      }\n    } else {\n      dispatch(showLoading());\n      const resp = await dispatch(\n        listIssueTypesAsync({\n          host: values.host,\n          username: values.username,\n          password: values.password,\n          project: getProjects(values.project),\n        })\n      );\n\n      if (resp && resp.payload && !resp.payload.err) {\n        dispatch(hideLoading());\n        setIssues(resp.payload.issues);\n      } else {\n        Toaster(TOASTER_TYPES.ERROR, resp?.payload?.err?.message);\n        dispatch(hideLoading());\n      }\n    }\n  };\n\n  const addIntegration = async (values) => {\n    dispatch(showLoading());\n    setConnectionFailed(false);\n\n    const resp = await dispatch(\n      addIntegrationAsync({\n        username: formik.values.username.trim(),\n        password: formik.values.password.trim(),\n        host: formik.values.host.trim(),\n        project: getProjects(formik.values.project.trim()),\n        userId: getUserId(),\n        issueType: [formik.values.issue],\n      })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp?.payload?.message);\n      refreshIntegrations();\n      handleModal(false);\n      dispatch(hideLoading());\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, resp?.payload?.err?.message);\n      setConnectionFailed(true);\n      dispatch(hideLoading());\n    }\n  };\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <BlockUi\n            tag=\"div\"\n            blocking={loading}\n            loader={\n              <Loader\n                active\n                type={LOADER_CONFIG.type}\n                color={LOADER_CONFIG.color}\n              />\n            }\n          >\n            <form onSubmit={formik.handleSubmit} autoComplete=\"new-password\">\n              <div className=\"modal-content overflow-y\">\n                <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                  <img src={integrationIcon} className=\"mr-3\" />\n                  <span>Add Integration</span>\n                </div>\n\n                <div className=\"modal-body\">\n                  <label className=\"label\">\n                    Username: <span className=\"mandatory-icon\">*</span>\n                  </label>\n\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        type=\"text\"\n                        id=\"name\"\n                        autocomplete=\"off\"\n                        placeholder=\"Enter Username\"\n                        name=\"name\"\n                        maxLength={50}\n                        className=\"form-control\"\n                        onChange={(e) => {\n                          formik.setFieldValue(\"username\", e.target.value);\n                        }}\n                        value={formik.values.username}\n                        onBlur={formik.handleBlur}\n                      />\n                      {formik.errors.username && formik.touched.username && (\n                        <div className=\"error-message\">\n                          {formik.errors.username}\n                        </div>\n                      )}\n                    </div>\n                  </div>\n\n                  <label className=\"label\">\n                    Password: <span className=\"mandatory-icon\">*</span>\n                  </label>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        type=\"password\"\n                        autoComplete=\"new-password\"\n                        id=\"name\"\n                        placeholder=\"**********\"\n                        name=\"name\"\n                        className=\"form-control\"\n                        onChange={(e) => {\n                          formik.setFieldValue(\"password\", e.target.value);\n                        }}\n                        value={formik.values.password}\n                        onBlur={formik.handleBlur}\n                      />\n                      {formik.errors.password && formik.touched.password && (\n                        <div className=\"error-message\">\n                          {formik.errors.password}\n                        </div>\n                      )}\n                    </div>\n                  </div>\n                  <label className=\"label\">\n                    Host: <span className=\"mandatory-icon\">*</span>\n                  </label>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        type=\"text\"\n                        id=\"host\"\n                        placeholder=\"Enter Host\"\n                        name=\"host\"\n                        maxLength={50}\n                        className=\"form-control\"\n                        onChange={(e) => {\n                          formik.setFieldValue(\"host\", e.target.value);\n                        }}\n                        value={formik.values.host}\n                        onBlur={formik.handleBlur}\n                      />\n                      {formik.errors.host && formik.touched.host && (\n                        <div className=\"error-message\">\n                          {formik.errors.host}\n                        </div>\n                      )}\n                    </div>\n                  </div>\n                  {projects.length ? (\n                    <>\n                      <label className=\"label\">\n                        Project: <span className=\"mandatory-icon\">*</span>\n                      </label>\n\n                      <div className=\"row py-2\">\n                        <div className=\"col col-sm-12 workday-subheading-value\">\n                          <select\n                            onChange={(e) => {\n                              formik.setFieldValue(\"project\", e.target.value);\n                            }}\n                            value={formik.values.project.id}\n                            onBlur={formik.handleBlur}\n                            className=\"form-control\"\n                          >\n                            <option>Select project</option>\n                            {projects.map((item, index) => (\n                              <option value={item.id} key={index}>\n                                {item.name}\n                              </option>\n                            ))}\n                          </select>\n                        </div>\n                      </div>\n                    </>\n                  ) : (\n                    \"\"\n                  )}\n\n                  {issues.length ? (\n                    <>\n                      <label className=\"label\">\n                        Issue Type: <span className=\"mandatory-icon\">*</span>\n                      </label>\n\n                      <div className=\"row py-2\">\n                        <div className=\"col col-sm-12 workday-subheading-value\">\n                          <select\n                            onChange={(e) => {\n                              formik.setFieldValue(\"issue\", e.target.value);\n                            }}\n                            value={formik.values.issue}\n                            onBlur={formik.handleBlur}\n                            className=\"form-control\"\n                          >\n                            <option>Select Issue Type</option>\n                            {issues.map((item, index) => (\n                              <option value={item} key={index}>\n                                {item}\n                              </option>\n                            ))}\n                          </select>\n                        </div>\n                      </div>\n                    </>\n                  ) : (\n                    \"\"\n                  )}\n                </div>\n                <div className=\"modal-footer\">\n                  {projects.length && issues.length ? (\n                    <Button\n                      variant=\"contained\"\n                      type=\"button\"\n                      disabled={!formik.isValid || !formik?.values?.project}\n                      onClick={addIntegration}\n                    >\n                      Submit\n                    </Button>\n                  ) : (\n                    <Button\n                      variant=\"contained\"\n                      type=\"submit\"\n                      disabled={!formik.isValid}\n                    >\n                      Next\n                    </Button>\n                  )}\n\n                  <span className=\"separator mx-3\"></span>\n\n                  <Button\n                    variant=\"outlined\"\n                    type=\"button\"\n                    onClick={() => handleCancel()}\n                  >\n                    Cancel\n                  </Button>\n                </div>\n              </div>\n            </form>\n          </BlockUi>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default JiraIntegrationModal;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  updateWizIntegrationAsync,\n  wizIntegrationStatusAsync,\n} from \"../../../redux/slices/integrationSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport \"./IntegrationModal.scss\";\nimport { getCustomerId, getUserId } from \"../../../utils/SessionHelper\";\nimport Button from \"../../common/Button\";\n\n// Functional component for Add Integration.\nconst WizStatusModal = ({ handleModal, refreshIntegrations, card, edit }) => {\n  const dispatch = useDispatch();\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n\n  const [wizStatus, setWizStaus] = useState([]);\n  const getWizStatus = async () => {\n    const resp = await dispatch(\n      wizIntegrationStatusAsync({\n        customerId: getCustomerId(),\n        // customerId: \"60f45284-a1e9-4076-ae85-eba4f5b31903\",\n      })\n    );\n    if (resp && resp.payload) {\n      setWizStaus(resp.payload);\n    }\n  };\n\n  useEffect(() => {\n    getWizStatus();\n  }, []);\n\n  const handleCancel = () => {\n    handleModal(false);\n  };\n\n  const updateIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      updateWizIntegrationAsync({\n        endpoint_url: values.endpoint_url,\n        client_id: values.client_id,\n        client_secret: values.client_secret,\n        id: card._id,\n        userId: getUserId(),\n      })\n    );\n    if (resp && resp.payload) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Integration updated successfully.\");\n      setShowLoader(false);\n      refreshIntegrations();\n      handleModal(false);\n    } else {\n      // Toaster(TOASTER_TYPES.ERROR, \"Failed to add Integration.\");\n      setShowLoader(false);\n      setConnectionFailed(true);\n    }\n  };\n\n  return (\n    <div id=\"integration-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"integrationModal\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"integrationModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <span>View Wiz Integration</span>\n              </div>\n              {wizStatus.status ? (\n                <div className=\"modal-body\">\n                  {showLoader && (\n                    <img\n                      src=\"static/img/loader-circle.svg\"\n                      className=\"modal-loading-img\"\n                    />\n                  )}\n\n                  <h6>\n                    Status:\n                    <span className=\"text-white ml-3\">{wizStatus.status}</span>\n                  </h6>\n                  <h6>\n                    Message:\n                    <span className=\"text-white ml-3\">{wizStatus.message}</span>\n                  </h6>\n                </div>\n              ) : (\n                <div className=\"modal-body\">\n                  {showLoader && (\n                    <img\n                      src=\"static/img/loader-circle.svg\"\n                      className=\"modal-loading-img\"\n                    />\n                  )}\n\n                  <h6 className=\"text-light-white\">\n                    Auth Endpoint:\n                    <span className=\"text-white ml-3 font-weight-bold\">\n                      {wizStatus.authEndpointUrl}\n                    </span>\n                  </h6>\n                  <h6 className=\"text-light-white\">\n                    API Endpoint:\n                    <span className=\"text-white ml-3 font-weight-bold\">\n                      {wizStatus.endpointUrl}\n                    </span>\n                  </h6>\n                  <h6 className=\"text-light-white\">\n                    Status:\n                    <span className=\"text-white ml-3 font-weight-bold\">\n                      {wizStatus.lastVulnSyncStatus}\n                    </span>\n                  </h6>\n                  <h6 className=\"text-light-white\">\n                    Synced At:\n                    {wizStatus.lastVulnSyncAt ? (\n                      <span className=\"text-white ml-3 font-weight-bold\">\n                        {`${wizStatus.lastVulnSyncAt.split(\"T\")[0]}, ${\n                          wizStatus.lastVulnSyncAt.split(\"T\")[1].split(\".\")[0]\n                        }`}{\" \"}\n                        UTC\n                      </span>\n                    ) : (\n                      \"\"\n                    )}\n                  </h6>\n                  {wizStatus.lastVulnSyncMessage ? (\n                    <h6 className=\"text-light-white\">\n                      Message:\n                      <span className=\"text-white ml-3 font-weight-bold\">\n                        {wizStatus.lastVulnSyncMessage}\n                      </span>\n                    </h6>\n                  ) : (\n                    \"\"\n                  )}\n\n                  <h6 className=\"text-light-white\">\n                    Vulnerabilities Synced :\n                    <span className=\"text-white ml-3 font-weight-bold\">\n                      {wizStatus.vulnSyncedCount}\n                    </span>\n                  </h6>\n                </div>\n              )}\n\n              <div className=\"modal-footer\">\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => handleCancel()}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default WizStatusModal;\n","import { useState, useEffect } from \"react\";\nimport Jira from \"../../assets/img/integrations/jira.svg\";\nimport ServiceNow from \"../../assets/img/integrations/servicenow.svg\";\nimport Splunk from \"../../assets/img/integrations/splunk.svg\";\nimport IntegrationCards from \"../cards/integration-cards\";\nimport Slack from \"../../assets/img/integrations/slack.svg\";\nimport Wiz from \"../../assets/img/integrations/wiz-1.svg\";\n\nimport IntegrationModal from \"../modal/integration-modal/IntegrationModal\";\nimport \"./style.scss\";\nimport {\n  showLoading,\n  hideLoading,\n} from \"../../redux/slices/globalOperationSlice\";\nimport Okta from \"../../assets/img/integrations/okta.svg\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport {\n  wizIntegrationStatusAsync,\n  listIntegrationsAsync,\n  deleteIntegrationAsync,\n  listOktaIntegrationsAsync,\n  deleteOktaIntegrationAsync,\n  listSlackIntegrationsAsync,\n  deleteSlackIntegrationAsync,\n  deleteWizIntegrationAsync,\n} from \"../../redux/slices/integrationSlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Moment from \"react-moment\";\nimport DeleteConfirmationModal from \"../modal/shared/DeleteConfirmationModal\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport OktaIntegrationModal from \"../modal/integration-modal/OktaIntegrationModal\";\nimport { getCustomerId, getUserId } from \"../../utils/SessionHelper\";\nimport UpdateJiraIntegrationModal from \"../modal/integration-modal/updateJiraModal\";\nimport SlackIntegrationModal from \"../modal/integration-modal/SlackIntegrationModal\";\nimport UpdateSlackIntegrationModal from \"../modal/integration-modal/updateSlackModal\";\nimport WizIntegrationModal from \"../modal/integration-modal/WizIntegrationModal\";\nimport UpdateWizIntegrationModal from \"../modal/integration-modal/UpdateWizIntegrationModal\";\nimport JiraIntegrationModal from \"../modal/integration-modal/JiraIntegrationModal\";\nimport WizStatusModal from \"../modal/integration-modal/wizStatusModal\";\n\nimport { ReactComponent as DeleteIcon } from \"../../assets/img/trash.svg\";\nimport { ReactComponent as EditIcon } from \"../../assets/img/edit.svg\";\nimport { ReactComponent as ViewIcon } from \"../../assets/img/view.svg\";\nimport Typography from \"../common/Typography\";\nimport { useTheme } from \"@emotion/react\";\n\nconst Index = () => {\n  const IntegrationImages = {\n    splung: Splunk,\n    jira: Jira,\n    okta: Okta,\n    servicenow: ServiceNow,\n    slack: Slack,\n    wiz: Wiz,\n  };\n  const internal = [\n    {\n      heading: \"SOC Group\",\n      title: \"Security operation center in Cloud Defense\",\n      images: [\n        \"/static/img/connect/aws.png\",\n        \"/static/img/connect/google-kubernetes.png\",\n      ],\n      footer: \"Running from 14-12-22\",\n    },\n    {\n      heading: \"Malav\",\n      title: \"UX team in Cloud Defense\",\n      images: [\n        \"/static/img/connect/aws.png\",\n        \"/static/img/connect/google-kubernetes.png\",\n      ],\n      footer: \"Running from 14-12-22\",\n    },\n    {\n      heading: \"Dev\",\n      title: \"Develop team in Cloud Defense\",\n      images: [\n        \"/static/img/connect/aws.png\",\n        \"/static/img/connect/google-kubernetes.png\",\n      ],\n      footer: \"Running from 14-12-22\",\n    },\n  ];\n\n  const external = [\n    {\n      heading: \"Directory name here\",\n      title: \"Staging account\",\n      images: [\n        \"/static/img/connect/aws.png\",\n        \"/static/img/connect/google-kubernetes.png\",\n      ],\n      icon: \"las la-check-circle\",\n      status: \"primary\",\n      footer: \"Running from 14-12-22\",\n      logo: Splunk,\n    },\n    {\n      heading: \"Not connected...\",\n      title: \"Dev test account\",\n      images: [\n        \"/static/img/connect/aws.png\",\n        \"/static/img/connect/google-kubernetes.png\",\n      ],\n      icon: \"las la-minus-circle\",\n      status: \"secondary\",\n      footer: \"Click to add jira connection\",\n      logo: ServiceNow,\n    },\n    {\n      heading: \"Directory name here\",\n      title: \"Data science account\",\n      images: [\n        \"/static/img/connect/aws.png\",\n        \"/static/img/connect/google-kubernetes.png\",\n      ],\n      icon: \"las la-exclamation-circle\",\n      status: \"danger\",\n      footer: \"Lost connection 14-12-22\",\n      logo: Jira,\n    },\n  ];\n\n  const [isViewModal, setIsViewModal] = useState(false);\n  const [isModal, setIsModal] = useState(false);\n  const [isUpdateModal, setIsUpdateModal] = useState(false);\n  const dispatch = useDispatch();\n  const integrations = useSelector((state) => state.integration.integrations);\n  const oktaIntegrations = useSelector(\n    (state) => state.integration.oktaIntegrations\n  );\n  const slackIntegrations = useSelector(\n    (state) => state.integration.slackIntegrations\n  );\n  const loading = useSelector((state) => state.globalOperation.loading);\n  const [deleteModal, setDeleteModal] = useState(false);\n  const [selectedIntegration, setSelectedIntegration] = useState(null);\n  const [showLoader, setShowLoader] = useState(false);\n  const [integrationType, setIntegrationType] = useState(false);\n  const [card, setCard] = useState(null);\n  const [edit, setEdit] = useState(false);\n  const theme = useTheme();\n\n  const handleUpdateIntegrationModal = (\n    status,\n    integrationType,\n    card = null,\n    type = false\n  ) => {\n    setIsUpdateModal(status);\n    setCard(card);\n    setIntegrationType(integrationType.type);\n    setEdit(type);\n  };\n\n  const handleIntegrationModal = (status, integrationType) => {\n    setIsModal(status);\n    setIntegrationType(integrationType);\n  };\n\n  useEffect(() => {\n    refreshIntegrations();\n  }, []);\n\n  const refreshIntegrations = async () => {\n    dispatch(showLoading());\n    dispatch(listIntegrationsAsync(getCustomerId()));\n    // dispatch(listOktaIntegrationsAsync(getUserId()));\n    // dispatch(listSlackIntegrationsAsync());\n    setIsModal(false);\n    setDeleteModal(false);\n    dispatch(hideLoading());\n    setIsUpdateModal(false);\n  };\n\n  const handleDelete = (integration) => {\n    setSelectedIntegration(integration);\n    setDeleteModal(true);\n  };\n\n  const deleteIntegration = async () => {\n    const resp = await dispatch(\n      selectedIntegration.type === \"Okta\"\n        ? deleteOktaIntegrationAsync(selectedIntegration._id)\n        : selectedIntegration.type === \"Slack\"\n        ? deleteSlackIntegrationAsync(selectedIntegration._id)\n        : selectedIntegration.type === \"Wiz\"\n        ? deleteWizIntegrationAsync(selectedIntegration._id)\n        : deleteIntegrationAsync(selectedIntegration._id)\n    );\n    if (resp && resp.payload) {\n      setShowLoader(false);\n      Toaster(TOASTER_TYPES.SUCCESS, \"Integration deleted successfully.\");\n      refreshIntegrations();\n    } else {\n      setShowLoader(false);\n      Toaster(TOASTER_TYPES.ERROR, \"Failed to delete integration.\");\n    }\n  };\n\n  return (\n    <>\n      <div className=\"settings-container\">\n        <div className=\"px-3\">\n          <div class=\"row pb-3 integration-title\">\n            <div class=\"col col-xl-12 align-self-end p-0\">\n              <Typography color={theme.palette.surface100.main} variant=\"body2\">\n                {\" \"}\n                Integrations\n              </Typography>\n            </div>\n          </div>\n        </div>\n\n        {/* <div className=\"ml-4 mt-2\">\n            <p> External integration</p>\n            <hr />\n          </div> */}\n        <div className=\"row\">\n          {/* <div className=\"col-auto\">\n              <b className=\"page-heading align-middle fs-14\">SEARCH & FILTERS</b>\n            </div>\n\n            <div className=\"col-auto\">\n              <div className=\"form-group\">\n                <select className=\"form-control form-control-sm\">\n                  <option>KEYWORK</option>\n                </select>\n              </div>\n            </div>\n\n            <div className=\"col-auto\">\n              <div className=\"form-group\">\n                <input\n                  className=\"form-control form-control-sm\"\n                  placeholder=\"Enter Keyword\"\n                  type={\"text\"}\n                />\n              </div>\n            </div> */}\n\n          {/* <div className=\"col-sm-4 mb-1\">\n              <span class=\"badge badge-primary\">\n                Primary\n                <i class=\"las la-times-circle\"></i>\n              </span>\n              <span class=\"badge badge-primary\">\n                Primary\n                <i class=\"las la-times-circle\"></i>\n              </span>\n              <span class=\"badge badge-primary\">\n                Primary\n                <i class=\"las la-times-circle\"></i>\n              </span>\n              <span class=\"badge badge-primary\">\n                Primary\n                <i class=\"las la-times-circle\"></i>\n              </span>\n            </div> */}\n        </div>\n        <BlockUi\n          tag=\"div\"\n          blocking={loading}\n          loader={\n            <Loader\n              active\n              type={LOADER_CONFIG.type}\n              color={LOADER_CONFIG.color}\n            />\n          }\n        >\n          <IntegrationCards\n            oktaIntegrations={oktaIntegrations}\n            handleModal={handleIntegrationModal}\n          />\n        </BlockUi>\n\n        <div className=\"account mt-2\">\n          <div className=\"row\">\n            {integrations &&\n              Object.keys(integrations).map((card, index) => (\n                <>\n                  {card && integrations[card] ? (\n                    <div className=\"col-6 col-md-4 col-lg-3\" key={index}>\n                      <div\n                        className={`iq-card iq-card-inner account-card ${\n                          card === \"wiz\" ? \"wiz-background\" : \"\"\n                        }`}\n                      >\n                        <div className=\"row m-0\">\n                          <div className={`col-sm-2 check check-primary`}>\n                            <i class=\"las la-check-circle\"></i>\n                          </div>\n                          <div className=\"col-sm-10\">\n                            <h6 className={`card-title-primary`}>\n                              {card.ProviderName}\n                            </h6>\n                          </div>\n                        </div>\n                        <div\n                          className=\"card-body\"\n                          style={\n                            card === \"wiz\"\n                              ? {\n                                  padding: 0,\n                                }\n                              : {}\n                          }\n                        >\n                          <img\n                            src={IntegrationImages[card]}\n                            style={\n                              card === \"wiz\"\n                                ? {\n                                    height: \"60px\",\n                                  }\n                                : {}\n                            }\n                          />\n                        </div>\n                        <div className=\"footer\">\n                          <h6 className=\"primary mb-2\">\n                            {`Running from `}\n                            <Moment format=\"MM/DD/YY\">\n                              {card?.metadata?.createdAt}\n                            </Moment>\n                          </h6>\n                          <div>\n                            {card === \"wiz\" ? (\n                              <ViewIcon\n                                className=\"card-action-images\"\n                                onClick={() => setIsViewModal(true)}\n                              />\n                            ) : (\n                              \"\"\n                            )}\n\n                            <EditIcon\n                              className=\"card-action-images\"\n                              onClick={() =>\n                                handleUpdateIntegrationModal(\n                                  true,\n                                  integrations[card],\n                                  integrations[card],\n                                  true\n                                )\n                              }\n                            />\n                            <DeleteIcon\n                              className=\"card-action-images\"\n                              onClick={() => handleDelete(integrations[card])}\n                            />\n                          </div>\n                        </div>\n                      </div>\n                    </div>\n                  ) : (\n                    \"\"\n                  )}\n                </>\n              ))}\n          </div>\n        </div>\n        {/* <div className=\"account mt-2\">\n            <div className=\"row\">\n              {integrations &&\n                integrations.map((card, index) => (\n                  <div className=\"col-6 col-md-4 col-lg-3\" key={index}>\n                    <div className=\"iq-card iq-card-inner account-card\">\n                      <div className=\"row m-0\">\n                        <div className={`col-sm-2 check check-primary`}>\n                          <i class=\"las la-check-circle\"></i>\n                        </div>\n                        <div className=\"col-sm-10\">\n                          <h6 className={`card-title-primary`}>{card.name}</h6>\n                        </div>\n                      </div>\n                      <div className=\"card-body\">\n                        <img src={Jira} />\n                      </div>\n                      <div className=\"footer\">\n                        <h6 className=\"primary\">\n                          {`Running from `}\n                          <Moment format=\"DD/MM/YY\">\n                            {card?.metadata?.createdAt}\n                          </Moment>\n                        </h6>\n                        <div>\n                          <i\n                            class=\"las la-edit\"\n                            onClick={() =>\n                              handleUpdateIntegrationModal(true, \"jira\", card)\n                            }\n                          ></i>\n                          <i\n                            class=\"las la-trash-alt\"\n                            onClick={() => handleDelete(card)}\n                          ></i>\n                        </div>\n                      </div>\n                    </div>\n                  </div>\n                ))}\n\n              {slackIntegrations &&\n                slackIntegrations.map((card, index) => (\n                  <div className=\"col-6 col-md-4 col-lg-3\" key={index}>\n                    <div className=\"iq-card iq-card-inner account-card\">\n                      <div className=\"row m-0\">\n                        <div className={`col-sm-2 check check-primary`}>\n                          <i class=\"las la-check-circle\"></i>\n                        </div>\n                        <div className=\"col-sm-10\">\n                          <h6 className={`card-title-primary`}>{card.name}</h6>\n                        </div>\n                      </div>\n                      <div className=\"card-body\">\n                        <img src={Jira} />\n                      </div>\n                      <div className=\"footer\">\n                        <h6 className=\"primary\">\n                          {`Running from `}\n                          <Moment format=\"DD/MM/YY\">\n                            {card?.metadata?.createdAt}\n                          </Moment>\n                        </h6>\n                        <div>\n                          <i\n                            class=\"las la-edit\"\n                            onClick={() =>\n                              handleUpdateIntegrationModal(true, \"jira\", card)\n                            }\n                          ></i>\n                          <i\n                            class=\"las la-trash-alt\"\n                            onClick={() => handleDelete(card)}\n                          ></i>\n                        </div>\n                      </div>\n                    </div>\n                  </div>\n                ))}\n\n              {oktaIntegrations && oktaIntegrations.ProviderName ? (\n                <>\n                  {oktaIntegrations &&\n                    [oktaIntegrations].map((card, index) => (\n                      <div className=\"col-6 col-md-4 col-lg-3\" key={index}>\n                        <div className=\"iq-card iq-card-inner account-card\">\n                          <div className=\"row m-0\">\n                            <div className={`col-sm-2 check check-primary`}>\n                              <i class=\"las la-check-circle\"></i>\n                            </div>\n                            <div className=\"col-sm-10\">\n                              <h6 className={`card-title-primary`}>\n                                {card.ProviderName}\n                              </h6>\n                            </div>\n                          </div>\n                          <div className=\"card-body\">\n                            <img src={Okta} />\n                          </div>\n                          <div className=\"footer\">\n                            <h6 className=\"primary\">\n                              {`Running from `}\n                              <Moment format=\"DD/MM/YY\">\n                                {card?.metadata?.createdAt}\n                              </Moment>\n                            </h6>\n                            <div>\n                              <i\n                                class=\"las la-trash-alt\"\n                                onClick={() => handleDelete(card)}\n                              ></i>\n                            </div>\n                          </div>\n                        </div>\n                      </div>\n                    ))}\n                </>\n              ) : (\n                \"\"\n              )}\n            </div>\n          </div> */}\n        {/* <button\n            className=\"btn btn-info btn-sm create-btn\"\n            onClick={() => setIsModal(!isModal)}\n          >\n            <img src={CrossIcon} />\n            ADD NEW ACTIVE DIRECTORY\n          </button> */}\n        {/* <div className=\"ml-4 mt-2\">\n            <p> Internal active directory</p>\n            <hr />\n          </div> */}\n        {/* <div className=\"account\">\n            {internal.map((card, index) => (\n              <div className=\"iq-card iq-card-inner account-card\" key={index}>\n                <div className=\"row\">\n                  <div className=\"col-sm-2 check\">\n                    <i class=\"las la-check-circle\"></i>\n                  </div>\n                  <div className=\"col-sm-8\">\n                    <h6 className={`card-title-primary`}>{card.heading}</h6>\n                  </div>\n                </div>\n                <div className=\"card-body\">\n                  <h6>\n                    {\" \"}\n                    <i class=\"lab la-first-order-alt\"></i>\n                    {card.title}\n                  </h6>\n                </div>\n                <div className=\"footer\">\n                  <h6 className=\"primary\">{card.footer}</h6>\n\n                  <div>\n                    <i class=\"las la-edit\"></i>\n                    <i class=\"las la-trash-alt\"></i>\n                  </div>\n                </div>\n              </div>\n            ))}\n          </div> */}\n      </div>\n      {isModal ? (\n        <>\n          {integrationType === \"okta\" ? (\n            <OktaIntegrationModal\n              handleModal={() => setIsModal(false)}\n              refreshIntegrations={refreshIntegrations}\n            />\n          ) : integrationType === \"slack\" ? (\n            <SlackIntegrationModal\n              handleModal={() => setIsModal(false)}\n              refreshIntegrations={refreshIntegrations}\n              card={card}\n            />\n          ) : integrationType === \"wiz\" ? (\n            <WizIntegrationModal\n              handleModal={() => setIsModal(false)}\n              refreshIntegrations={refreshIntegrations}\n              card={card}\n            />\n          ) : integrationType === \"jira\" ? (\n            <JiraIntegrationModal\n              handleModal={() => setIsModal(false)}\n              refreshIntegrations={refreshIntegrations}\n            />\n          ) : (\n            \"\"\n          )}\n        </>\n      ) : (\n        \"\"\n      )}\n\n      {isViewModal ? (\n        <WizStatusModal handleModal={() => setIsViewModal(false)} />\n      ) : (\n        \"\"\n      )}\n      {isUpdateModal ? (\n        <>\n          {integrationType === \"Jira\" ? (\n            <UpdateJiraIntegrationModal\n              card={card}\n              handleModal={() => setIsUpdateModal(false)}\n              refreshIntegrations={refreshIntegrations}\n            />\n          ) : integrationType === \"Slack\" ? (\n            <UpdateSlackIntegrationModal\n              card={card}\n              handleModal={() => setIsUpdateModal(false)}\n              refreshIntegrations={refreshIntegrations}\n            />\n          ) : integrationType === \"Wiz\" ? (\n            <UpdateWizIntegrationModal\n              handleModal={() => setIsUpdateModal(false)}\n              refreshIntegrations={refreshIntegrations}\n              card={card}\n              edit={edit}\n            />\n          ) : (\n            \"\"\n          )}\n        </>\n      ) : (\n        \"\"\n      )}\n      {deleteModal && (\n        <DeleteConfirmationModal\n          handleModal={() => setDeleteModal(false)}\n          deleteHandle={deleteIntegration}\n          showLoader={showLoader}\n          modalData={{\n            title: \"Delete Integration\",\n            message: \"Are you sure, you want to delete this integration?\",\n          }}\n        />\n      )}\n    </>\n  );\n};\n\nexport default Index;\n","import { useEffect } from \"react\";\nimport Index from \"../../components/settings/index\";\n\nconst Settings = ({ setSetting, setPath }) => {\n  setSetting(false);\n\n  useEffect(() => {\n    document.title = \"Daxa - Settings\";\n\n    setPath(window.location.pathname);\n  }, []);\n\n  return (\n    <>\n      <Index />\n    </>\n  );\n};\n\nexport default Settings;\n","const Test = () => {\n  return <div></div>;\n};\n\nexport default Test;\n","export default __webpack_public_path__ + \"static/media/ticket.c6c83803.svg\";","import React, { useState, useEffect } from \"react\";\nimport \"./../modal.scss\";\nimport \"./CreateIssue.scss\";\nimport Select from \"react-select\";\nimport { useFormik } from \"formik\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport loaderImage from \"../../../assets/img/loader.svg\";\nimport closeIcon from \"../../../assets/img/icons/close-icon.svg\";\nimport deleteIcon from \"../../../assets/img/icons/ico-delete-grey.svg\";\nimport * as Yup from \"yup\";\nimport { getCustomerId, getUserId } from \"../../../utils/SessionHelper\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n  addTicketAsync,\n  getTicketAsync,\n} from \"../../../redux/slices/ticketSlice\";\n\nconst CreateIssueModal = ({\n  handleModal,\n  policyItem,\n  tags = [],\n  data = [],\n  issueId,\n  instanceID,\n}) => {\n  const dispatch = useDispatch();\n  const [accountsList, setAccountsList] = useState();\n  const accounts = useSelector((state) => state.account.accounts);\n  const [loading, setLoading] = useState();\n  const [tagsUpdated, setTagsUpdated] = useState(false);\n  const [customTagErrors, setCustomTagError] = useState(\"\");\n  const [managedTags, setManagedTags] = useState(tags);\n  const [loader, setLoader] = useState(false);\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const [issue, setIssue] = useState({});\n\n  const updateTags = (tag) => {\n    // updating custom tags\n    if (tag.type === \"custom\") {\n      if (tags.some((obj) => obj.label === tag.label)) {\n        setCustomTagError(\"Duplicate custom tags are not allowed\");\n      } else if (tag.type === \"custom\") {\n        tag.label = tag.label.trim();\n        setCustomTagError(\"\");\n        setManagedTags([...managedTags, tag]);\n      }\n    } else {\n      // updating sensitive tags\n      let temp = [...managedTags];\n      let objIndex = temp.findIndex((obj) => obj.type == \"sensitive\");\n      if (objIndex !== -1) {\n        temp[objIndex] = tag;\n        setManagedTags(temp);\n      } else {\n        setManagedTags([...managedTags, tag]);\n      }\n    }\n    setTagsUpdated(true);\n  };\n\n  const removeTag = (tag) => {\n    const tempTags = [...managedTags];\n    tempTags.splice(\n      tempTags.findIndex((a) => a.value === tag.value),\n      1\n    );\n    setTagsUpdated(true);\n    setManagedTags(tempTags);\n  };\n\n  const getTicket = async () => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n    const resp = await dispatch(\n      getTicketAsync({\n        customerId: getCustomerId(),\n        id: issueId,\n        securityIssueInstanceId: instanceID,\n      })\n    );\n\n    if (resp && resp.payload) {\n      setIssue(resp.payload);\n      formik.setFieldValue(\"name\", resp.payload.ticketName);\n      formik.setFieldValue(\"description\", resp.payload.description);\n      const tagList = [];\n      resp.payload.tags.map((id) => {\n        tagList.push({ label: id, value: id });\n      });\n\n      setManagedTags(tagList);\n    }\n  };\n\n  useEffect(() => {\n    if (issueId && instanceID) {\n      getTicket();\n    }\n  }, [instanceID, issueId]);\n\n  useEffect(() => {\n    const accountList = [];\n    accounts.map((account) => {\n      accountList.push({ label: account.id, value: account.id });\n    });\n    setAccountsList(accountList);\n  }, [accounts]);\n\n  // Formik\n  const formik = useFormik({\n    initialValues: {\n      name: \"\",\n      description: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      name: Yup.string().required(\"Please enter name.\"),\n      description: Yup.string().required(\"Please enter description.\"),\n    }),\n    onSubmit: (values) => {\n      addIntegration({ ...values });\n    },\n  });\n\n  const addIntegration = async (values) => {\n    setShowLoader(true);\n    setConnectionFailed(false);\n\n    const tags_ = [];\n    for (let i of managedTags) {\n      tags_.push(i.value);\n    }\n    const resp = await dispatch(\n      addTicketAsync({\n        customerId: getCustomerId(),\n        id: issueId,\n        securityIssueInstanceId: instanceID,\n        ticketName: values.name,\n        description: values.description,\n        tags: tags_,\n      })\n    );\n    if (resp.payload && resp.payload.success) {\n      Toaster(TOASTER_TYPES.SUCCESS, resp.payload.success.message);\n      window.open(resp.payload?.url);\n      handleModal(false);\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, \"Failed to create ticket.\");\n    }\n  };\n\n  return (\n    <div id=\"add-policy-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <span className=\"header-title\">Create Ticket</span>\n                <img\n                  src={deleteIcon}\n                  className=\"mr-3 delete-icon\"\n                  onClick={handleModal}\n                />\n              </div>\n              <div className=\"modal-body mb-2\">\n                {loading && (\n                  <img src={loaderImage} className=\"modal-loading-img\" />\n                )}\n                {/* <div className=\"row py-2 text-center justify-content-start\">\n                  <div className=\"col col-sm-3 d-flex flex-row modal-subtitle justify-content-start align-items-center workday-subheading\">\n                    <input\n                      type=\"radio\"\n                      id=\"default\"\n                      checked={policyType === \"alerting\"}\n                      value={policyType}\n                      onClick={() => setPolicyType(\"alerting\")}\n                      name=\"frequency\"\n                      className=\"mr-3  custom-radio-button\"\n                    />{\" \"}\n                    Alerting Policies\n                  </div>\n                  <div className=\"col col-sm-6 modal-subtitle workday-subheading-value\">\n                    <input\n                      type=\"radio\"\n                      id=\"default\"\n                      checked={policyType === \"automation\"}\n                      value={policyType}\n                      onClick={() => setPolicyType(\"automation\")}\n                      name=\"frequency\"\n                      className=\"mr-3 ml-2 custom-radio-button\"\n                    />{\" \"}\n                    Custom Automation Policies\n                  </div>\n                </div> */}\n                <label className=\"label\">\n                  Ticket Name: <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <input\n                      class=\"form-control\"\n                      type=\"text\"\n                      placeholder=\"Enter Policy Name\"\n                      onBlur={formik.handleBlur}\n                      onChange={(e) => {\n                        formik.setFieldValue(\"name\", e.target.value);\n                      }}\n                      value={formik.values.name}\n                    ></input>\n                    {formik.errors.name && formik.touched.name && (\n                      <div className=\"error-message\">{formik.errors.name}</div>\n                    )}\n                  </div>\n                </div>{\" \"}\n                <label className=\"label\">Description:</label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <textarea\n                      className=\"modal-textarea form-control py-2 px-2\"\n                      placeholder=\"Account Description\"\n                      type=\"text\"\n                      onBlur={formik.handleBlur}\n                      value={formik.values.description}\n                      onChange={(e) => {\n                        formik.setFieldValue(\"description\", e.target.value);\n                      }}\n                    />\n                  </div>\n                </div>{\" \"}\n                {/* <label className=\"label\">Recepient:</label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <Select\n                      isMulti\n                      name=\"colors\"\n                      value={selectedAccounts}\n                      options={accountsList}\n                      className=\"basic-multi-select\"\n                      classNamePrefix=\"select\"\n                      onBlur={formik.handleBlur}\n                      onChange={(value) => {\n                        setSelectedAccounts(value);\n                        formik.setFieldValue(\"accounts\", value);\n                      }}\n                    />\n                    {formik.touched.accounts &&\n                      selectedAccounts.length === 0 && (\n                        <div className=\"error-message\">\n                          {\"Please select account.\"}\n                        </div>\n                      )}\n                  </div>\n                </div> */}\n                {/* <label className=\"label\">Tags:</label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <input\n                      className=\"form-control\"\n                      type=\"text\"\n                      placeholder=\"Enter Custom Tag\"\n                      onKeyUp={(e) => {\n                        if (e.key === \"Enter\" && e.target.value !== \"\") {\n                          updateTags({\n                            value: e.target.value,\n                            label: e.target.value,\n                            type: \"custom\",\n                          });\n                          e.target.value = \"\";\n                          setTagsUpdated(true);\n                        }\n                      }}\n                      disabled={loader}\n                    ></input>\n                    <div className=\"error-message\">{customTagErrors} </div>\n                  </div>\n                </div> */}\n                {/* <div className=\"row py-1\">\n                  <div className=\"col col-sm-8 col-xs-6 workday-subheading-value\">\n                    <div class=\"d-flex flex-wrap chip-container\">\n                      {managedTags.map((tag, i) => (\n                        <div class=\"chip m-1\" key={i}>\n                          <span className=\"mr-2\"> {tag.label}</span>\n                          <img\n                            className=\"close-icon\"\n                            src={closeIcon}\n                            title=\"Close\"\n                            onClick={() => (loader ? null : removeTag(tag))}\n                          />\n                        </div>\n                      ))}\n                    </div>\n                  </div>\n                </div> */}\n              </div>\n              <div className=\"modal-footer p-2\">\n                <button\n                  className=\"btn btn-sm btn-primary mr-2\"\n                  disabled={!formik.isValid}\n                  type=\"submit\"\n                >\n                  Create Ticket\n                </button>\n\n                <button\n                  type=\"button\"\n                  className=\"btn btn-sm btn-secondary\"\n                  onClick={() => {\n                    handleModal();\n                  }}\n                >\n                  Cancel\n                </button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default CreateIssueModal;\n","import { useState, useEffect } from \"react\";\nimport \"./style.scss\";\nimport Ticketogo from \"../../assets/img/icons/header/ticket.svg\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport NoDataContainer from \"../cards/no-data\";\nimport Pagination from \"../pagination/Pagination\";\nimport CreateIssueModal from \"../modal/issue-modal/CreateIssue\";\nimport { listTicketsAsync } from \"../../redux/slices/ticketSlice\";\nimport Typography from \"../common/Typography\";\nimport { useTheme } from \"@mui/material\";\n\nconst Index = ({ tablePadding = \"px-3\" }) => {\n  const [btn, setBtn] = useState(1);\n  const [tickets, setTickets] = useState([]);\n\n  const page_ = sessionStorage.getItem(\"page\");\n  const [page, setPage] = useState(page_ ? parseInt(page_) : 1);\n  const [sortType, setSortType] = useState(\"desc\");\n  const [sortField, setSortField] = useState(\"cdDatastoreRiskScore\");\n  const [loading, setLoading] = useState(false);\n  const [createIssueModal, setCreateIssueModal] = useState(false);\n  const theme = useTheme();\n\n  const limit = 10;\n\n  const dispatch = useDispatch();\n\n  const getTickets = async () => {\n    const resp = await dispatch(listTicketsAsync());\n    setTickets(resp.payload);\n  };\n\n  useEffect(() => {\n    getTickets();\n  }, []);\n\n  const hasMore = (offset, count) => {\n    if (offset >= count) {\n      return false;\n    } else {\n      return true;\n    }\n  };\n\n  const makeSearch = (ev) => {\n    ev.preventDefault();\n  };\n\n  const [totalIssuesCount, setTotalIssuesCount] = useState(0);\n\n  const previousPage = () => {\n    if (page === 1) return;\n    setPage(page - 1);\n  };\n\n  const nextPage = () => {\n    setPage(page + 1);\n  };\n\n  const sortData = (field) => {\n    if (field === sortField && sortType === \"asc\") {\n      setSortType(\"desc\");\n    } else if (field === sortField && sortType === \"desc\") {\n      setSortType(\"asc\");\n    } else {\n      setSortType(\"desc\");\n    }\n\n    setSortField(field);\n    setPage(1);\n  };\n\n  return (\n    <>\n      <div className=\"tickets\">\n        <div className=\"row align-items-center\">\n          <Typography color={theme.palette.surface100.main} variant=\"body2\">\n            TICKET OVERVIEW\n          </Typography>\n        </div>\n        <BlockUi\n          tag=\"div\"\n          blocking={loading}\n          loader={\n            <Loader\n              active\n              type={LOADER_CONFIG.type}\n              color={LOADER_CONFIG.color}\n            />\n          }\n        >\n          <div id=\"datastores\">\n            <div className=\"table-main\">\n              <div class=\"row\">\n                <div className=\"col-12 col-md-12 col-xl-4 page-heading\">\n                  TICKETS - 0 | FILTERED TO - 0\n                </div>\n\n                <div class=\"col col-xl-8 align-self-end\">\n                  <div class=\"p-2 text-right\">\n                    <Pagination\n                      page={page}\n                      setPage={(val) => setPage(val)}\n                      limit={limit}\n                      totalCount={0}\n                    />\n                  </div>\n                </div>\n              </div>\n\n              <button className=\"btn btn-primary mr-2 ml-3\">\n                OPEN TICKETS - 0\n              </button>\n              <button className=\"btn btn-primary\">EXCEPTIONS - 4</button>\n\n              <div className=\"row\">\n                <div className=\"col col-xl-12\">\n                  <div className=\"table-responsive\">\n                    <table\n                      className={`mb-0 pb-3 table table-border-less table-hover ${tablePadding}`}\n                    >\n                      <thead>\n                        <tr className=\"vuls-row\">\n                          <th scope=\"col\"></th>\n                          <th scope=\"col\">Name</th>\n                          <th scope=\"col\">Created On</th>\n                          <th scope=\"col\">Created By</th>\n                          <th scope=\"col\">Assigned To</th>\n                          <th scope=\"col\">Description</th>\n                          <th scope=\"col\">Actions</th>\n                        </tr>\n                      </thead>\n\n                      {tickets && tickets.length ? (\n                        <tbody>\n                          {tickets.map((ticket, index) => (\n                            <tr key={index}>\n                              <td>\n                                <img src={Ticketogo} />\n                              </td>\n                              <td>{ticket.summary}</td>\n                              <td>-</td>\n\n                              <td>-</td>\n                              <td>-</td>\n                              <td>{ticket.description.slice(0, 30)}</td>\n                              <td>\n                                <i class=\"ri-search-line\"></i>\n                                <i\n                                  class=\"ri-focus-2-line\"\n                                  onClick={() => setCreateIssueModal(true)}\n                                ></i>\n                                <i class=\"ri-delete-bin-2-fill\"></i>\n                              </td>\n                            </tr>\n                          ))}\n                        </tbody>\n                      ) : (\n                        \"\"\n                      )}\n                    </table>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </BlockUi>\n\n        {createIssueModal ? (\n          <CreateIssueModal handleModal={() => setCreateIssueModal(false)} />\n        ) : (\n          \"\"\n        )}\n      </div>\n    </>\n  );\n};\n\nexport default Index;\n","import { useEffect } from \"react\";\nimport Index from \"../../components/tickets/index\";\n\nconst Tickets = ({ setTicket2 }) => {\n  setTicket2(false);\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Tickets\";\n  }, []);\n\n  return (\n    <>\n      <Index />\n    </>\n  );\n};\n\nexport default Tickets;\n","import { useState } from \"react\";\nimport { useFormik } from \"formik\";\nimport * as Yup from \"yup\";\nimport \"./style.scss\";\nimport { Toaster } from \"../../utils/toaster\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport axios from \"axios\";\nimport Button from \"../common/Button\";\nimport Box from \"../common/Box\";\nimport { useTheme } from \"@mui/material\";\nimport Typography from \"../common/Typography\";\n\nconst CreateUser = ({ handleModal, getUsers }) => {\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n  const theme = useTheme();\n  const styles = {\n    modalFooter: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      marginTop: theme.spacing(2),\n    },\n  };\n\n  const onboardUser = (user_id, email) => {\n    let url = FormatUrl(`/email/onboarding`);\n    axios\n      .post(url, {\n        user_id: user_id,\n        email: email,\n      })\n      .then(function (response, error) {\n        let data = response.data;\n      })\n      .catch(function (error) {\n        console.log(error);\n      });\n  };\n\n  const createUser = async (values) => {\n    let url = FormatUrl(`/user/register`);\n\n    const customerRef = localStorage.getItem(\"customerRef\");\n    const tenantRef = localStorage.getItem(\"tenantRef\");\n    const teamRef = localStorage.getItem(\"teamRef\");\n\n    axios\n      .post(url, {\n        username: values.username.trim(),\n        first_name: \"\",\n        last_name: \"\",\n        email: values.email.trim(),\n        phone: \"\",\n        customerRef: customerRef,\n        tenantRef: tenantRef,\n        teamRef: teamRef,\n        role: values.role,\n      })\n      .then((res) => {\n        onboardUser(res.data.id, values.email);\n        getUsers();\n        handleModal(false);\n      })\n      .catch(function (error) {\n        if (error.response) {\n          Toaster(\n            2,\n            error.response?.data?.err?.message || \"Failed to invite user\"\n          );\n        } else {\n          Toaster(2, \"Failed to invite user\");\n        }\n      });\n  };\n\n  const formik = useFormik({\n    initialValues: {\n      username: \"\",\n      email: \"\",\n      role: \"OPERATOR\",\n    },\n    validationSchema: Yup.object().shape({\n      email: Yup.string().required(\"Please enter email.\"),\n      role: Yup.string().required(\"Please enter role.\"),\n    }),\n    onSubmit: (values) => {\n      createUser({ ...values });\n    },\n  });\n\n  return (\n    <div id=\"user-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <Typography\n                  color={theme.palette.surface80.main}\n                  variant=\"body2\"\n                >\n                  Invite User\n                </Typography>\n              </div>\n              <div className=\"modal-body\">\n                {showLoader && (\n                  <img\n                    src=\"static/img/loader-circle.svg\"\n                    className=\"modal-loading-img\"\n                  />\n                )}\n\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface60.main}\n                >\n                  Email <span className=\"mandatory-icon\">*</span>\n                </Typography>\n\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <input\n                      type=\"text\"\n                      id=\"host\"\n                      placeholder=\"Email\"\n                      name=\"host\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"email\", e.target.value);\n                      }}\n                      value={formik.values.email}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.email && formik.touched.email && (\n                      <div className=\"error-message\">{formik.errors.email}</div>\n                    )}\n                  </div>\n                </div>\n\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface60.main}\n                >\n                  Role <span className=\"mandatory-icon\">*</span>\n                </Typography>\n                <div className=\"row\">\n                  <div className=\"col col-lg-12\">\n                    <select\n                      type=\"text\"\n                      id=\"host\"\n                      placeholder=\"Role\"\n                      name=\"host\"\n                      maxLength={50}\n                      className=\"form-control\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"role\", e.target.value);\n                      }}\n                      value={formik.values.role}\n                      onBlur={formik.handleBlur}\n                    >\n                      <option value={\"ADMIN\"}>ADMIN</option>\n                      <option value={\"OPERATOR\"}>OPERATOR</option>\n                    </select>\n                    {formik.errors.role && formik.touched.role && (\n                      <div className=\"error-message\">{formik.errors.role}</div>\n                    )}\n                  </div>\n                </div>\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 offset-md-3 pl-0 text-danger\">\n                      Connection failed, please check the details and try again.\n                    </div>\n                  </div>\n                )}\n\n                <Box sx={styles.modalFooter}>\n                  <Button\n                    variant=\"contained\"\n                    type=\"submit\"\n                    disabled={!formik.isValid}\n                  >\n                    Invite user\n                  </Button>\n                  <Button\n                    variant=\"outlined\"\n                    type=\"button\"\n                    onClick={() => handleModal(false)}\n                  >\n                    Cancel\n                  </Button>\n                </Box>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default CreateUser;\n","import { getUserId } from \"../../utils/SessionHelper\";\nimport {\n  TableBody,\n  TableCell,\n  TableContainer,\n  Table,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\nimport { useTheme } from \"@mui/material\";\nimport NoData from \"../common/NoData\";\nimport TextButton from \"../common/TextButton\";\nimport { Delete } from \"@mui/icons-material\";\n\nconst UserTable = ({\n  users,\n  setCreateUserModal,\n  deleteUser,\n  updateRole,\n  updateStatus,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    tableContainer: {\n      flex: 1,\n    },\n    tableCard: {\n      width: \"100%\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      display: \"flex\",\n    },\n  };\n\n  const loggedInUser = localStorage.getItem(\"userId\");\n  const userIsAdmin = localStorage.getItem(\"role\") === \"ADMIN\";\n\n  return (\n    <Box sx={styles.tableCard}>\n      <TableContainer sx={styles.tableContainer}>\n        <Table>\n          <TableHead>\n            <TableRow>\n              <TableCell>Email</TableCell>\n              <TableCell>First Name</TableCell>\n              <TableCell>Last Name</TableCell>\n              <TableCell>Status</TableCell>\n              <TableCell>Role</TableCell>\n              <TableCell>Action</TableCell>\n            </TableRow>\n          </TableHead>\n          <TableBody>\n            {users?.length > 0 &&\n              users.map((user, index) => {\n                const isLoggedInUser = loggedInUser === user?._id;\n                return (\n                  <TableRow key={index} noHover={true}>\n                    <TableCell>\n                      <Typography\n                        variant=\"caption\"\n                        color={theme.palette.surface60.main}\n                      >\n                        {user.email}\n                      </Typography>\n                    </TableCell>\n                    <TableCell>\n                      <Typography\n                        variant=\"caption\"\n                        color={theme.palette.surface60.main}\n                      >\n                        {user.first_name}\n                      </Typography>\n                    </TableCell>\n                    <TableCell>\n                      <Typography\n                        variant=\"caption\"\n                        color={theme.palette.surface60.main}\n                      >\n                        {user.last_name}\n                      </Typography>\n                    </TableCell>\n                    <TableCell>\n                      <select\n                        className=\"form-control user-dropdown\"\n                        value={user.status}\n                        disabled={isLoggedInUser || !userIsAdmin}\n                        onChange={(e) =>\n                          updateStatus(user._id, e.target.value, user.email)\n                        }\n                      >\n                        <option value={\"IN-ACTIVE\"}>PENDING</option>\n                        <option value={\"ACTIVE\"}>ACTIVE</option>\n                      </select>\n                    </TableCell>\n                    <TableCell>\n                      <select\n                        className=\"form-control user-dropdown\"\n                        value={user.role}\n                        disabled={isLoggedInUser || !userIsAdmin}\n                        onChange={(e) => updateRole(user._id, e.target.value)}\n                      >\n                        <option value={\"ADMIN\"}>ADMIN</option>\n                        <option value={\"OPERATOR\"}>OPERATOR</option>\n                      </select>\n                    </TableCell>\n                    <TableCell align=\"center\">\n                      {user._id === getUserId() ? \"\" : () => user._id}\n                      <TextButton\n                        startIcon={<Delete />}\n                        disabled={isLoggedInUser || !userIsAdmin}\n                        onClick={\n                          user._id === getUserId()\n                            ? () => {}\n                            : () => deleteUser(user._id)\n                        }\n                      ></TextButton>\n                    </TableCell>\n                  </TableRow>\n                );\n              })}\n          </TableBody>\n        </Table>\n        {users?.length === 0 && <NoData customText=\"No users found\" />}\n      </TableContainer>\n    </Box>\n  );\n};\n\nexport default UserTable;\n","import { useState } from \"react\";\nimport { useFormik } from \"formik\";\nimport deleteIcon from \"../../assets/img/icons/ico-delete-grey.svg\";\nimport * as Yup from \"yup\";\nimport \"./style.scss\";\nimport { Toaster } from \"../../utils/toaster\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport axios from \"axios\";\nimport Button from \"../common/Button\";\nimport { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\n\nconst UpdateUser = ({ handleModal, user }) => {\n  const [showLoader, setShowLoader] = useState(false);\n  const [connectionFailed, setConnectionFailed] = useState(false);\n\n  const theme = useTheme();\n  const styles = {\n    modalFooter: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      marginTop: theme.spacing(2),\n    },\n  };\n\n  const createUser = async (values) => {\n    let url = FormatUrl(`/user/`);\n\n    handleModal(false);\n    return axios\n      .post(url, {\n        username: values.username,\n        email: values.email,\n      })\n      .catch(function (error) {\n        if (error.response) {\n          Toaster(\n            2,\n            error.response?.data?.err?.message || \"Failed to create user\"\n          );\n        } else {\n          Toaster(2, \"Failed to create user\");\n        }\n      });\n  };\n\n  const formik = useFormik({\n    initialValues: {\n      username: user.username,\n      email: user.email,\n    },\n    validationSchema: Yup.object().shape({\n      username: Yup.string().required(\"Please enter usernamme.\"),\n      email: Yup.string().required(\"Please enter email.\"),\n    }),\n    onSubmit: (values) => {\n      console.log(values);\n      createUser({ ...values });\n    },\n  });\n\n  return (\n    <div id=\"user-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <span className=\"header-title\">{\"Update User\"}</span>\n                <img\n                  src={deleteIcon}\n                  className=\"mr-3 delete-icon\"\n                  onClick={handleModal}\n                />\n              </div>\n              <div className=\"modal-body\">\n                {showLoader && (\n                  <img\n                    src=\"static/img/loader-circle.svg\"\n                    className=\"modal-loading-img\"\n                  />\n                )}\n                <div className=\"row\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Username</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-6\">\n                    <input\n                      type=\"text\"\n                      id=\"Username\"\n                      placeholder=\"Username\"\n                      name=\"Username\"\n                      maxLength={50}\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"username\", e.target.value);\n                      }}\n                      onBlur={formik.handleBlur}\n                      value={formik.values.username}\n                    />\n                    {formik.errors.username && formik.touched.username && (\n                      <div className=\"error-message\">\n                        {formik.errors.username}\n                      </div>\n                    )}\n                  </div>\n                </div>\n\n                <div className=\"row mt-2\">\n                  <div className=\"col col-md-4 col-lg-3 d-flex justify-content-start align-items-center\">\n                    <b className=\"form-field-name \">Email</b>\n                    <span className=\"mandatory-icon\">*</span>\n                  </div>\n                  <div className=\"col col-lg-6\">\n                    <input\n                      type=\"text\"\n                      id=\"host\"\n                      placeholder=\"Email\"\n                      name=\"host\"\n                      maxLength={50}\n                      className=\"modal-input-style px-2\"\n                      onChange={(e) => {\n                        formik.setFieldValue(\"email\", e.target.value);\n                      }}\n                      value={formik.values.email}\n                      onBlur={formik.handleBlur}\n                    />\n                    {formik.errors.email && formik.touched.host && (\n                      <div className=\"error-message\">{formik.errors.host}</div>\n                    )}\n                  </div>\n                </div>\n\n                {connectionFailed && (\n                  <div className=\"row mt-2\">\n                    <div className=\"col-9 offset-md-3 pl-0 text-danger\">\n                      Connection failed, please check the details and try again.\n                    </div>\n                  </div>\n                )}\n              </div>\n              <Box sx={styles.modalFooter}>\n                <Button\n                  variant=\"contained\"\n                  type=\"submit\"\n                  disabled={!formik.isValid}\n                >\n                  Create user\n                </Button>\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  onClick={() => handleModal(false)}\n                >\n                  Cancel\n                </Button>\n              </Box>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default UpdateUser;\n","import { Modal, useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport Typography from \"./Typography\";\nimport Button from \"./Button\";\n\nexport const DeleteModal = ({\n  open,\n  onClose,\n  title,\n  description,\n  onDelete,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    position: \"absolute\" as \"absolute\",\n    top: \"50%\",\n    left: \"50%\",\n    transform: \"translate(-50%, -50%)\",\n    minWidth: 400,\n    bgcolor: theme.palette.surface10.main,\n    border: \"1px solid rgba(0,0,0,0.1)\",\n    modalHeader: {\n      padding: theme.spacing(2),\n      borderBottom: \"1px solid #333647\",\n    },\n    modalBody: {\n      padding: theme.spacing(2),\n    },\n    modalFooter: {\n      padding: theme.spacing(2),\n      display: \"flex\",\n      justifyContent: \"end\",\n      gap: theme.spacing(2),\n    },\n  };\n\n  return (\n    <Modal\n      open={open}\n      onClose={onClose}\n      aria-labelledby=\"modal-modal-title\"\n      aria-describedby=\"modal-modal-description\"\n    >\n      <Box sx={styles}>\n        <Box sx={styles.modalHeader}>\n          <Typography color={theme.palette.surface100.main} variant=\"body2\">\n            {title}\n          </Typography>\n        </Box>\n        <Box sx={styles.modalBody}>\n          <Typography variant=\"body2\">{description}</Typography>\n        </Box>\n        <Box sx={styles.modalFooter}>\n          <Button variant=\"contained\" type=\"submit\" onClick={onDelete}>\n            Delete\n          </Button>\n          <Button variant=\"outlined\" type=\"button\" onClick={onClose}>\n            Cancel\n          </Button>\n        </Box>\n      </Box>\n    </Modal>\n  );\n};\n","import axios from \"axios\";\nimport React, { useState, useEffect } from \"react\";\nimport CreateUser from \"../../components/user-management/create-user\";\nimport Table from \"../../components/user-management/table\";\nimport UpdateUser from \"../../components/user-management/update-user\";\nimport {\n  getCustomerId,\n  getCustomerRef,\n  getUserId,\n} from \"../../utils/SessionHelper\";\nimport { Toaster } from \"../../utils/toaster\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport \"./style.scss\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport Button from \"../../components/common/Button\";\nimport UserTable from \"../../components/user-management/table\";\nimport Box from \"../../components/common/Box\";\nimport { useTheme } from \"@mui/material\";\nimport Typography from \"../../components/common/Typography\";\nimport { DeleteModal } from \"../../components/common/DeleteModal\";\nimport {\n  deleteUserSlice,\n  fetchAllUsersSlice,\n} from \"../../redux/slices/accountSlice\";\nimport { useDispatch } from \"react-redux\";\n\nconst UserManagement = ({ setPath }) => {\n  const [users, setUsers] = useState([]);\n  const [createUserModal, setCreateUserModal] = useState(false);\n  const [updateUserModal, setUpdateUserModal] = useState(false);\n  const [isDeleteModal, setIsDeleteModal] = useState(false);\n  const [user, setUser] = useState({});\n  const theme = useTheme();\n  const dispatch = useDispatch();\n\n  const styles = {\n    cardContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      height: \"calc(100vh - 182px)\",\n      overflow: \"hidden\",\n    },\n    cardHeader: {\n      display: \"flex\",\n      alignItems: \"flex-start\",\n      justifyContent: \"space-between\",\n    },\n    userTable: {\n      display: \"flex\",\n      overflow: \"hidden\",\n      flex: 1,\n    },\n  };\n\n  const getUsers = async () => {\n    try {\n      const resp = await dispatch(fetchAllUsersSlice());\n      if (resp?.payload) {\n        setUsers(resp?.payload?.data);\n      }\n    } catch (error) {\n      setUsers([]);\n    }\n  };\n\n  const ConfirmDeleteUser = async (id) => {\n    //let url = FormatUrl(`/user/user/${id}`);\n    const response = await dispatch(deleteUserSlice(id));\n    if (response?.payload?.msg) {\n      let data = response.data;\n      getUsers();\n      Toaster(1, \"User deleted\");\n      setIsDeleteModal(null);\n    }\n    //axios\n    //  .delete(url)\n    //  .then(function (response, error) {\n    //    let data = response.data;\n    //    getUsers();\n    //    Toaster(1, \"User deleted\");\n    //    setIsDeleteModal(null);\n    //  })\n    //  .catch(function (error) {\n    //    Toaster(2, \"Failed to delete user\");\n    //    setIsDeleteModal(null);\n    //  });\n  };\n\n  const deleteUser = (id) => {\n    confirmAlert({\n      title: `Confirm to delete`,\n      message: `Are you sure you wants to delete this user`,\n      buttons: [\n        {\n          label: \"Yes\",\n          onClick: () => ConfirmDeleteUser(id),\n        },\n        {\n          label: \"No\",\n        },\n      ],\n    });\n  };\n\n  const updateRole = async (id, role) => {\n    let url = FormatUrl(`/user/user/${id}`);\n\n    axios\n      .patch(url, {\n        role: role,\n      })\n      .then(function (response, error) {\n        let data = response.data;\n        getUsers();\n        Toaster(1, \"Role updated\");\n      })\n      .catch(function (error) {\n        if (error.response) {\n          Toaster(\n            2,\n            error.response?.data?.err?.message || \"Failed to update user\"\n          );\n        } else {\n          Toaster(2, \"Failed to update user\");\n        }\n      });\n  };\n\n  const onboardUser = (user_id, email) => {\n    let url = FormatUrl(`/email/onboarding`);\n    axios\n      .post(url, {\n        user_id: user_id,\n        email: email,\n      })\n      .then(function (response, error) {\n        let data = response.data;\n      })\n      .catch(function (error) {\n        console.log(error);\n      });\n  };\n\n  const updateStatus = async (id, status, email) => {\n    let url = FormatUrl(`/user/user/${id}`);\n    axios\n      .patch(url, {\n        status: status,\n      })\n      .then(function (response, error) {\n        let data = response.data;\n        getUsers();\n        Toaster(1, \"Status updated\");\n        if (status === \"ACTIVE\") {\n          onboardUser(id, email);\n        }\n      })\n      .catch(function (error) {\n        if (error.response) {\n          Toaster(\n            2,\n            error.response?.data?.err?.message || \"Failed to update user\"\n          );\n        } else {\n          Toaster(2, \"Failed to update user\");\n        }\n      });\n  };\n\n  useEffect(() => {\n    document.title = \"Daxa - User Management\";\n    setPath(window.location.pathname);\n    getUsers();\n  }, []);\n\n  return (\n    <Box sx={styles.cardContainer}>\n      <Box sx={styles.cardHeader}>\n        <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n          User Management\n        </Typography>\n\n        <Button\n          variant=\"contained\"\n          type=\"button\"\n          onClick={() => setCreateUserModal(true)}\n        >\n          Create User\n        </Button>\n      </Box>\n      <Box sx={styles.userTable}>\n        <UserTable\n          users={users}\n          setCreateUserModal={setCreateUserModal}\n          setUpdateUserModal={setUpdateUserModal}\n          deleteUser={(id) => setIsDeleteModal(id)}\n          updateRole={updateRole}\n          updateStatus={updateStatus}\n        />\n        <DeleteModal\n          open={isDeleteModal}\n          title=\"Confirm to delete\"\n          description=\"Are you sure you wants to delete this user\"\n          onClose={() => setIsDeleteModal(null)}\n          onDelete={() => ConfirmDeleteUser(isDeleteModal)}\n        />\n      </Box>\n\n      {createUserModal ? (\n        <CreateUser getUsers={getUsers} handleModal={setCreateUserModal} />\n      ) : (\n        \"\"\n      )}\n      {updateUserModal ? (\n        <UpdateUser\n          getUsers={getUsers}\n          handleModal={setUpdateUserModal}\n          user={user}\n        />\n      ) : (\n        \"\"\n      )}\n    </Box>\n  );\n};\n\nexport default UserManagement;\n","import React, { useEffect, useState } from \"react\";\nimport { Graph } from \"react-d3-graph\";\nimport closeIcon from \"../../../assets/img/icons/close-icon.svg\";\nimport { capitalizeFirstLetter } from \"../../../utils/uppercase\";\nimport { config } from \"./attackPathConfig\";\nimport \"./DatastoreAttackPathGraph.scss\";\nimport { getNodeIconByType } from \"./flowChartHelper\";\nimport AffectedDatastoresAndIssuesModal from \"../../modal/affected-datastore-and-issue-modal/AffectedDatastoresAndIssuesModal\";\nconst IssuesPathGraph = ({ rowIndex, attackPaths, width }) => {\n  const [graphData, setGraphData] = useState(null);\n  const [selectedNode, setSelectedNode] = useState(null);\n  const [isAttackPathNodeClicked, setIsAttackPathNodeClicked] = useState(false);\n\n  // const data1 = {\n  //   nodes: [\n  //     {\n  //       id: \"#1\",\n  //       type: \"customNode\",\n  //       name: \"External\",\n  //       data: {\n  //         heading: \"External\",\n  //         height: \"2rem\",\n  //         width: \"2rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: externalCloud,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 30,\n  //         tooltipRequired: false,\n  //       },\n  //       x: 70,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#2\",\n  //       type: \"customNode\",\n  //       name: \"Load balancer\",\n  //       data: {\n  //         heading: \"Load balancer\",\n  //         height: \"3rem\",\n  //         width: \"3rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: LoadBalancerImg,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: false,\n  //       },\n  //       x: 200,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#3\",\n  //       type: \"customNode\",\n  //       name: \"EC2-Public\",\n  //       data: {\n  //         heading: \"EC2-Public\",\n  //         height: \"4rem\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: awsEc2,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 300,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#4\",\n  //       type: \"customNode\",\n  //       name: \"EC2-Private\",\n  //       data: {\n  //         heading: \"EC2-Private\",\n  //         height: \"4rem\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: awsPrivate,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 450,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#5\",\n  //       type: \"customNode\",\n  //       name: \"CD Labs:CRM\",\n  //       data: {\n  //         heading: \"CD Labs:CRM\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 700,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#6\",\n  //       type: \"customNode\",\n  //       name: \"cd-webdev\",\n  //       data: {\n  //         heading: \"cd-webdev\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 400,\n  //       y: 230,\n  //     },\n  //     {\n  //       id: \"#7\",\n  //       type: \"customNode\",\n  //       name: \"cd-dev-temp\",\n  //       data: {\n  //         heading: \"cd-dev-temp\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 600,\n  //       y: 25,\n  //     },\n  //     {\n  //       id: \"#8\",\n  //       name: \"cd-labs:CRM\",\n  //       type: \"customNode\",\n  //       data: {\n  //         heading: \"cd-labs:CRM\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 600,\n  //       y: 230,\n  //     },\n  //   ],\n  //   links: [\n  //     {\n  //       id: \"e#1#2\",\n  //       type: \"floating\",\n  //       target: \"#2\",\n  //       source: \"#1\",\n  //     },\n  //     {\n  //       id: \"e#2#3\",\n  //       target: \"#3\",\n  //       source: \"#2\",\n  //     },\n  //     {\n  //       id: \"e#3#4\",\n  //       target: \"#4\",\n  //       source: \"#3\",\n  //     },\n  //     {\n  //       id: \"e#4#5\",\n  //       target: \"#5\",\n  //       source: \"#4\",\n  //     },\n  //     {\n  //       id: \"e#3#6\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#3\",\n  //       source: \"#6\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //     {\n  //       id: \"e#4#7\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#7\",\n  //       source: \"#4\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //     {\n  //       id: \"e#4#8\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#4\",\n  //       source: \"#8\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //   ],\n  // };\n\n  // const data2 = {\n  //   nodes: [\n  //     {\n  //       id: \"#21\",\n  //       type: \"customNode\",\n  //       name: \"External\",\n  //       data: {\n  //         heading: \"External\",\n  //         height: \"2rem\",\n  //         width: \"2rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: externalCloud,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 30,\n  //         tooltipRequired: false,\n  //       },\n  //       x: 70,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#22\",\n  //       type: \"customNode\",\n  //       name: \"Load balancer\",\n  //       data: {\n  //         heading: \"Load balancer\",\n  //         height: \"3rem\",\n  //         width: \"3rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: LoadBalancerImg,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: false,\n  //       },\n  //       x: 200,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#23\",\n  //       type: \"customNode\",\n  //       name: \"EC2-Public\",\n  //       data: {\n  //         heading: \"EC2-Public\",\n  //         height: \"4rem\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: awsEc2,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 300,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#24\",\n  //       type: \"customNode\",\n  //       name: \"EC2-Private\",\n  //       data: {\n  //         heading: \"EC2-Private\",\n  //         height: \"4rem\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: awsPrivate,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 450,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#25\",\n  //       type: \"customNode\",\n  //       name: \"CD Labs:CRM\",\n  //       data: {\n  //         heading: \"CD Labs:CRM\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 700,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#26\",\n  //       type: \"customNode\",\n  //       name: \"cd-webdev\",\n  //       data: {\n  //         heading: \"cd-webdev\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 400,\n  //       y: 230,\n  //     },\n  //     {\n  //       id: \"#27\",\n  //       type: \"customNode\",\n  //       name: \"cd-dev-temp\",\n  //       data: {\n  //         heading: \"cd-dev-temp\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 600,\n  //       y: 25,\n  //     },\n  //     {\n  //       id: \"#28\",\n  //       name: \"cd-labs:CRM\",\n  //       type: \"customNode\",\n  //       data: {\n  //         heading: \"cd-labs:CRM\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 600,\n  //       y: 230,\n  //     },\n  //   ],\n  //   links: [\n  //     {\n  //       id: \"e#21#22\",\n  //       type: \"floating\",\n  //       target: \"#22\",\n  //       source: \"#21\",\n  //     },\n  //     {\n  //       id: \"e#22#23\",\n  //       target: \"#23\",\n  //       source: \"#22\",\n  //     },\n  //     {\n  //       id: \"e#23#24\",\n  //       target: \"#24\",\n  //       source: \"#23\",\n  //     },\n  //     {\n  //       id: \"e#24#25\",\n  //       target: \"#25\",\n  //       source: \"#24\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //     {\n  //       id: \"e#23#26\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#23\",\n  //       source: \"#26\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //     {\n  //       id: \"e#24#27\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#27\",\n  //       source: \"#24\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //     {\n  //       id: \"e#24#28\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#24\",\n  //       source: \"#28\",\n  //     },\n  //   ],\n  // };\n\n  // const data3 = {\n  //   nodes: [\n  //     {\n  //       id: \"#31\",\n  //       type: \"customNode\",\n  //       name: \"External\",\n  //       data: {\n  //         heading: \"External\",\n  //         height: \"2rem\",\n  //         width: \"2rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: externalCloud,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 30,\n  //         tooltipRequired: false,\n  //       },\n  //       x: 70,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#32\",\n  //       type: \"customNode\",\n  //       name: \"Load balancer\",\n  //       data: {\n  //         heading: \"Load balancer\",\n  //         height: \"3rem\",\n  //         width: \"3rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: LoadBalancerImg,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: false,\n  //       },\n  //       x: 200,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#33\",\n  //       type: \"customNode\",\n  //       name: \"EC2-Public\",\n  //       data: {\n  //         heading: \"EC2-Public\",\n  //         height: \"4rem\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: awsEc2,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 300,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#34\",\n  //       type: \"customNode\",\n  //       name: \"EC2-Private\",\n  //       data: {\n  //         heading: \"EC2-Private\",\n  //         height: \"4rem\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: awsPrivate,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 450,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#35\",\n  //       type: \"customNode\",\n  //       name: \"CD Labs:CRM\",\n  //       data: {\n  //         heading: \"CD Labs:CRM\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 700,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#36\",\n  //       type: \"customNode\",\n  //       name: \"cd-webdev\",\n  //       data: {\n  //         heading: \"cd-webdev\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 400,\n  //       y: 230,\n  //     },\n  //     {\n  //       id: \"#37\",\n  //       type: \"customNode\",\n  //       name: \"cd-dev-temp\",\n  //       data: {\n  //         heading: \"cd-dev-temp\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 600,\n  //       y: 25,\n  //     },\n  //     {\n  //       id: \"#38\",\n  //       name: \"cd-labs:CRM\",\n  //       type: \"customNode\",\n  //       data: {\n  //         heading: \"cd-labs:CRM\",\n  //         height: \"5rem\",\n  //         width: \"5rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: mysqlIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 60,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 600,\n  //       y: 230,\n  //     },\n  //   ],\n  //   links: [\n  //     {\n  //       id: \"e#31#32\",\n  //       type: \"floating\",\n  //       target: \"#32\",\n  //       source: \"#31\",\n  //     },\n  //     {\n  //       id: \"e#32#33\",\n  //       target: \"#33\",\n  //       source: \"#32\",\n  //     },\n  //     {\n  //       id: \"e#33#34\",\n  //       target: \"#34\",\n  //       source: \"#33\",\n  //     },\n  //     {\n  //       id: \"e#34#35\",\n  //       target: \"#35\",\n  //       source: \"#34\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //     {\n  //       id: \"e#33#36\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#33\",\n  //       source: \"#36\",\n  //     },\n  //     {\n  //       id: \"e#34#37\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#37\",\n  //       source: \"#34\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //     {\n  //       id: \"e#34#38\",\n  //       type: \"CURVE_SMOOTH\",\n  //       target: \"#34\",\n  //       source: \"#38\",\n  //       strokeWidth: 1.5,\n  //       color: \"#d3d3d3\",\n  //     },\n  //   ],\n  // };\n\n  const nodeClicked = (data) => {\n    setSelectedNode(data);\n    setIsAttackPathNodeClicked(true);\n  };\n  const handleRefChange = (ref) => {\n    if (ref) ref.resetNodesPositions();\n  };\n  const getGraphData = (data) => {\n    if (data) {\n      let nodes = data.nodes.length;\n      let nodeLine = (width - 150) / (nodes - 1);\n      let nodeX = 0;\n      data.nodes.map((node, index) => {\n        node.height = \"2rem\";\n        node.width = \"2rem\";\n        nodeX = index == 0 ? 70 : nodeX + nodeLine;\n        node.x = nodeX;\n        node.y = 100;\n        node.data = {};\n        node.data.image = {\n          width: node.is_primary ? 50 : 40,\n          height: node.is_primary ? 50 : 40,\n          src: getNodeIconByType(node.type),\n          margin: node.is_primary ? \"20px auto 0 auto\" : \"26px auto 0 auto\",\n        };\n        node.data.handleClick = nodeClicked;\n        node.selected = false;\n      });\n    }\n    return data;\n  };\n\n  const getRightPanelContents = () => {\n    if (selectedNode && selectedNode?.tooltip_content) {\n      const contents = selectedNode?.tooltip_content;\n      let popupContents = [];\n      let index = 1;\n      for (var key in contents) {\n        index++;\n        if (contents.hasOwnProperty(key)) {\n          var val = contents[key];\n          if (\n            (key === \"eks_cluster\" || key === \"EKS Cluster\") &&\n            selectedNode?.eks_enabled === false\n          ) {\n            continue;\n          } else {\n            popupContents.push(\n              <div className=\"contents\" key={index}>\n                <div class=\"content-header\">{capitalizeFirstLetter(key)}:</div>\n                <div\n                  className=\"content-body\"\n                  dangerouslySetInnerHTML={{ __html: val }}\n                ></div>\n                <hr />\n              </div>\n            );\n          }\n        }\n      }\n      return (\n        <div className=\"right-panel\">\n          <div className=\"header m-0 d-flex justify-content-between\">\n            <span>{selectedNode?.name || \"\"}</span>\n            <img\n              className=\"close-icon\"\n              src={closeIcon}\n              title=\"Close\"\n              onClick={() => setSelectedNode(null)}\n            />\n          </div>\n          <div>{popupContents}</div>\n        </div>\n      );\n    } else {\n      return (\n        <div className=\"right-panel\">\n          <p className=\"header m-0\">{selectedNode?.name || \"\"}</p>\n        </div>\n      );\n    }\n  };\n\n  useEffect(() => {\n    if (rowIndex.index >= 0 && attackPaths.length > 0) {\n      const graphDataset = getGraphData(attackPaths[rowIndex.index]);\n      setGraphData({ nodes: graphDataset.nodes, links: graphDataset.links });\n    } else {\n      setGraphData({ nodes: [], links: [] });\n    }\n  }, [rowIndex, width]);\n\n  return (\n    <div>\n      {graphData && (\n        <Graph\n          id=\"issues-graph-id\"\n          ref={handleRefChange}\n          data={graphData}\n          config={config}\n        />\n      )}\n      {isAttackPathNodeClicked && (\n        <AffectedDatastoresAndIssuesModal\n          handleModal={() => setIsAttackPathNodeClicked(false)}\n          isRiskAccepted={false}\n          assetIdValue={selectedNode?.CD_Asset_Id}\n          node={selectedNode}\n          isAttackPath={true}\n          isSecurityIssueVisisble={true}\n        />\n      )}\n    </div>\n  );\n};\n\nexport default IssuesPathGraph;\n","import React, { useState, useEffect } from \"react\";\nimport { memo } from \"react\";\nimport {\n  getScoreColor,\n  getScoreBorder,\n  formatLine,\n} from \"../../../utils/styles\";\nimport \"./BottomPanelComponent.scss\";\nconst BottomPanelComponent = ({ RefreshChart, attackPaths }) => {\n  const [selected, setSelected] = useState(0);\n\n  const handleRefresh = (idx, name) => {\n    setSelected(idx);\n    RefreshChart(idx, name);\n  };\n\n  useEffect(() => {\n    RefreshChart(0, attackPaths[0]?.pathName);\n  }, [attackPaths]);\n\n  return (\n    <div id=\"bottom-panel-main-container\">\n      <div className=\"row\">\n        <div className=\"col\">\n          <p>Attack Paths listed by Severity</p>\n          <div className=\"attack-path-table\">\n            <div className=\"table-responsive\">\n              <table className=\"table table-border-partial table-hover\">\n                {/* <thead>\n                <th></th>\n                <th style={{ width: \"50px\" }}></th>\n                <th style={{ width: \"50px\" }}></th>\n              </thead> */}\n                <tbody>\n                  {attackPaths.map(function (item, idx) {\n                    return (\n                      <tr\n                        key={idx}\n                        onClick={() => handleRefresh(idx, item.pathName)}\n                        className={\n                          selected === idx ? \"active-row vuls-row\" : \"vuls-row\"\n                        }\n                      >\n                        <td\n                          className={`${getScoreBorder(item.pathScore)}`}\n                        ></td>\n                        <td\n                          className=\"data-store-name\"\n                          style={{ wordBreak: \"break-all\", width: \"45%\" }}\n                        >\n                          <div\n                            className=\"d-flex align-items-start justify-content-start mr-2\"\n                            title={item?.pathName}\n                          >\n                            {formatLine(item.pathName, 50)}\n                          </div>\n                          {/* <div className=\"d-flex align-items-start justify-content-start\">\n                        {\" \"}\n                        {item.code}\n                      </div> */}\n                        </td>\n                        <td\n                          className=\"\"\n                          style={{ wordBreak: \"break-all\", width: \"45%\" }}\n                        >\n                          <div\n                            className=\"d-flex align-items-start justify-content-start left-panel-subtitle\"\n                            title={item?.pathDescription}\n                          >\n                            {item.pathDescription.length > 50\n                              ? item.pathDescription.slice(0, 50) + \"...\"\n                              : item.pathDescription}\n                          </div>\n                        </td>\n\n                        <td>\n                          <img src=\"/static/img/ticket-unavailable.svg\" />\n                          {/* {item.ticket === 0 ? (\n                        <img src=\"static/img/ticket-unavailable.svg\" />\n                      ) : (\n                        <img src=\"static/img/ticket-available.svg\" />\n                      )}\n                      <span className=\"pl-2 data-store-name\">{item.ticket}</span> */}\n                        </td>\n                      </tr>\n                    );\n                  })}\n                </tbody>\n              </table>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default memo(BottomPanelComponent);\n","import React from \"react\";\nimport BottomPanelComponent from \"./BottomPanelComponent\";\n\nconst BottomPanelContainer = ({ RefreshChart, attackPaths }) => {\n  return (\n    <BottomPanelComponent\n      RefreshChart={RefreshChart}\n      attackPaths={attackPaths}\n    />\n  );\n};\n\nexport default BottomPanelContainer;\n","export default __webpack_public_path__ + \"static/media/wiz2.48958982.png\";","export default __webpack_public_path__ + \"static/media/external.251ae874.svg\";","export default __webpack_public_path__ + \"static/media/aws-ec-2-image-circle.1810ae66.svg\";","export default __webpack_public_path__ + \"static/media/darknet-icon.d40a499e.svg\";","import React, { useState, useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport deleteIcon from \"../../../assets/img/icons/ico-delete-grey.svg\";\nimport \"./../modal.scss\";\nimport \"./IssueInstanceModal.scss\";\nimport { formatLine, getIssueIcon } from \"../../../utils/styles\";\n\nconst IssueInstanceModal = ({ handleModal, instances }) => {\n  return (\n    <div id=\"issue-instance-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-lg\" role=\"document\">\n          <div className=\"modal-content\">\n            <div className=\"modal-header d-flex justify-content-start align-items-center\">\n              <span className=\"header-title\">Instances</span>\n              <img\n                src={deleteIcon}\n                className=\"mr-3 delete-icon\"\n                onClick={handleModal}\n              />\n            </div>\n            <div className=\"modal-body mb-2\">\n              <div className=\"row py-2 chip-container\">\n                {instances &&\n                  instances.map((tag, i) => (\n                    <div className=\"col col-sm-6 workday-subheading\" key={i}>\n                      <div className=\"chip mb-2\" title={tag}>\n                        <span className=\"mr-2\">\n                          {tag\n                            ? formatLine(\n                                tag.substring(tag.lastIndexOf(\":\") + 1),\n                                36\n                              )\n                            : null}\n                        </span>\n                      </div>\n                    </div>\n                  ))}\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default IssueInstanceModal;\n","import React from \"react\";\nimport Popup from \"reactjs-popup\";\nimport \"reactjs-popup/dist/index.css\";\nconst CustomTooltip = ({\n  component,\n  tooltipTitle,\n  className = \"title-popup\",\n}) => {\n  return (\n    <Popup\n      trigger={(open) => component}\n      position=\"right top\"\n      closeOnDocumentClick\n      className={className}\n      arrow={false}\n      on={[\"hover\", \"focus\"]}\n    >\n      <div className=\"title-popup-body p-1 text-white\">{tooltipTitle}</div>\n    </Popup>\n  );\n};\n\nexport default CustomTooltip;\n","import React, { memo, useEffect, useState } from \"react\";\nimport ExternalIcon from \"../../../assets/img/icons/external.svg\";\nimport acceptRisk from \"../../../assets/img/icons/risk-accept.svg\";\nimport restoreRisk from \"../../../assets/img/icons/risk-accepted.svg\";\nimport Bug from \"../../../assets/img/icons/small/bug.svg\";\nimport TaskYellow from \"../../../assets/img/icons/small/task-yellow.svg\";\nimport Wiz from \"../../../assets/img/integrations/wiz2.png\";\nimport { formatLine, getIssueIcon } from \"../../../utils/styles\";\nimport RiskAcceptModal from \"../../modal/risk-accept-modal/RiskAcceptModal\";\nimport \"./TopPanelComponent.scss\";\nimport EC2Image from \"../../../assets/img/new-theme/attack-path-icons/aws-ec-2-image-circle.svg\";\nimport DarkNet from \"../../../assets/img/v1-icons/darknet-icon.svg\";\nimport IssueInstanceModal from \"../../modal/issue-instance-modal/IssueInstanceModal\";\nimport CreateIssueModal from \"../../modal/issue-modal/CreateIssue\";\nimport Popup from \"reactjs-popup\";\nimport \"reactjs-popup/dist/index.css\";\nimport CustomTooltip from \"../../custom-tooltip/CustomTooltip\";\nimport { useSelector } from \"react-redux\";\nimport { isJsonEmpty, numberFormatter } from \"../../../utils/utils\";\n\nconst TopPanelComponent = ({ props }) => {\n  const [isRiskAcceptModal, setIsRiskAcceptModal] = useState();\n  const [isIssueInstanceModal, setIsIssueInstanceModal] = useState();\n  const [createIssueModal, setCreateIssueModal] = useState(false);\n  const resolveFactor = useSelector(\n    (state) => state?.dashboard?.issueUberScore?.resolveFactor\n  );\n\n  const formatResolveFactor = () => {\n    return Number.isInteger(resolveFactor)\n      ? resolveFactor\n      : resolveFactor?.toFixed(2);\n  };\n  return (\n    <div>\n      {props.toggle ? (\n        <div id=\"top-panel-main-container\" className=\"container-fluid\">\n          <div className=\"row\">\n            <div className=\"col-md-5 col-lg-5\">\n              <div className=\"workday-block\">\n                <div className=\"row\">\n                  <div className=\"col col-sm-12\">\n                    <img\n                      src={getIssueIcon(\n                        props.selectedBar.type,\n                        props.selectedBar.score\n                      )}\n                      className=\"datastore-logo ml-2 mb-2\"\n                    />\n\n                    {props &&\n                    props.selectedBar &&\n                    props.selectedBar.name &&\n                    props.selectedBar.name.toLowerCase().includes(\"wiz\") ? (\n                      <img src={Wiz} className=\"wiz-logo\" />\n                    ) : (\n                      \"\"\n                    )}\n                  </div>\n                  <div className=\"col col-sm-12\">\n                    <div className=\"d-flex align-items-start\">\n                      <div className=\"pl-3 w-100\">\n                        <div className=\"row\">\n                          <div\n                            className=\"col col-lg-12 align-item-end col-sm-12 workday-heading\"\n                            title={props.selectedBar.name}\n                          >\n                            {formatLine(props.selectedBar.displayId, 42)}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Title:\n                          </div>\n                          <CustomTooltip\n                            component={\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                {formatLine(props.selectedBar.title, 34)}\n                              </div>\n                            }\n                            tooltipTitle={props.selectedBar.title}\n                            className=\"sub-title-popup\"\n                          />\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Type:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.type}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Instance:\n                          </div>\n                          <CustomTooltip\n                            component={\n                              <div className=\"col col-sm-8 workday-subheading-value\">\n                                {props.assetId\n                                  ? formatLine(\n                                      props.assetId.substring(\n                                        props.assetId.lastIndexOf(\":\") + 1\n                                      ),\n                                      36\n                                    )\n                                  : null}\n                              </div>\n                            }\n                            tooltipTitle={props.assetId}\n                            className=\"sub-title-popup\"\n                          />\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Severity:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.severity}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Account:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.cloudAccountId}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Discovered On:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.discoveredOn}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Last Scanned:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {props.selectedBar.lastScanned}\n                          </div>\n                        </div>\n                        <div className=\"row\">\n                          <div className=\"col col-sm-4 workday-subheading\">\n                            Resolve Factor:\n                          </div>\n                          <div className=\"col col-sm-8 workday-subheading-value\">\n                            {formatResolveFactor()}\n                          </div>\n                        </div>\n                        <div class=\"row mt-4\">\n                          <div class=\"col-lg-3 col-md-3 col-sm-6\">\n                            <div className=\"d-flex align-items-center justify-content-center\">\n                              <div className=\"card-circle\" title=\"Ticket\">\n                                <img\n                                  src={TaskYellow}\n                                  className=\"mb-1 pointer\"\n                                  onClick={() => setCreateIssueModal(true)}\n                                />\n                              </div>\n                            </div>\n                            <div className=\"d-flex align-items-center justify-content-center m-1 mb-0\">\n                              <p>\n                                <b>\n                                  {props.selectedBar.tickets\n                                    ? props.selectedBar.tickets\n                                    : 0}\n                                </b>\n                              </p>\n                            </div>\n                          </div>\n                          <div class=\"col-lg-3 col-md-3 col-sm-6\">\n                            <div className=\"d-flex align-items-center justify-content-center\">\n                              <div\n                                className={\n                                  props.selectedBar.instances &&\n                                  props.selectedBar.instances.length > 0\n                                    ? \"card-circle cursor-pointer\"\n                                    : \"card-circle  disable-button\"\n                                }\n                                onClick={() => {\n                                  props.selectedBar.instances &&\n                                    props.selectedBar.instances.length > 0 &&\n                                    setIsIssueInstanceModal(true);\n                                }}\n                              >\n                                <img\n                                  src={EC2Image}\n                                  className=\"mb-1\"\n                                  title=\"Other Instances of same Issue\"\n                                />\n                              </div>\n                            </div>\n                            <div className=\"d-flex align-items-center justify-content-center m-1 mb-0\">\n                              <p>\n                                <b>\n                                  {props.selectedBar.instances\n                                    ? props.selectedBar.instances.length\n                                    : 0}\n                                </b>\n                              </p>\n                            </div>\n                          </div>\n                          <div\n                            class=\"col-lg-3 col-md-3 col-sm-6\"\n                            title=\"Estimated Darknet Value\"\n                          >\n                            <div className=\"d-flex align-items-center justify-content-center\">\n                              <div className=\"card-circle\">\n                                <img\n                                  src={DarkNet}\n                                  className=\"mb-1 \"\n                                  width=\"40px\"\n                                />\n                              </div>\n                            </div>\n                            <div className=\"d-flex align-items-center justify-content-center m-1 mb-0\">\n                              <p>\n                                <b className={` pe-auto`}>\n                                  $\n                                  {numberFormatter(\n                                    props?.selectedBar?.issueDatastoreSaving ||\n                                      0\n                                  )}\n                                </b>\n                              </p>\n                            </div>\n                          </div>\n                          <div class=\"col-lg-3 col-md-3 col-sm-6\">\n                            <div\n                              onClick={() => setIsRiskAcceptModal(true)}\n                              className=\"d-flex align-items-center justify-content-center\"\n                            >\n                              <div className=\"card-circle cursor-pointer\">\n                                <img\n                                  src={\n                                    props.selectedBar.risk_accepted\n                                      ? restoreRisk\n                                      : acceptRisk\n                                  }\n                                  className=\"mb-1 \"\n                                  width=\"40px\"\n                                  title={\n                                    props.selectedBar.risk_accepted\n                                      ? \"Click to Restore Risk from this Issue\"\n                                      : \"Click to Accept Risk from this Issue\"\n                                  }\n                                />\n                              </div>\n                            </div>\n                            <div className=\"d-flex align-items-center justify-content-center m-1 mb-0\">\n                              <p>\n                                <b\n                                  className={`${\n                                    props.selectedBar.risk_accepted\n                                      ? \"risk-title-accepted\"\n                                      : \"risk-title-accept\"\n                                  } pe-auto`}\n                                >\n                                  {props.selectedBar.risk_accepted\n                                    ? \"Accepted\"\n                                    : \"Accept\"}\n                                </b>\n                              </p>\n                            </div>\n                          </div>{\" \"}\n                          {isRiskAcceptModal ? (\n                            <RiskAcceptModal\n                              securityIssueInstanceId={\n                                props.selectedBar.securityIssueInstanceId\n                              }\n                              securityIssueId={props.selectedBar.name}\n                              instanceLocation={\n                                props?.assetId\n                                  ? formatLine(\n                                      props?.assetId.substring(\n                                        props?.assetId.lastIndexOf(\":\") + 1\n                                      ),\n                                      36\n                                    )\n                                  : null\n                              }\n                              displayId={props?.selectedBar?.idDisplay}\n                              riskAccepted={props.selectedBar.risk_accepted}\n                              allRiskAccepted={\n                                props.selectedBar.accepted_all_risks\n                              }\n                              handleModal={() => setIsRiskAcceptModal(false)}\n                              refreshIssues={props.refreshIssues}\n                            />\n                          ) : (\n                            \"\"\n                          )}\n                          {isIssueInstanceModal ? (\n                            <IssueInstanceModal\n                              instances={props.selectedBar.instances}\n                              handleModal={() => setIsIssueInstanceModal(false)}\n                            />\n                          ) : (\n                            \"\"\n                          )}\n                        </div>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div className=\"col-md-7 col-lg-7 pl-md-0\">\n              <div className=\"sensitive-data-block p-2\">\n                <div className=\"row mt-1\">\n                  <div className=\"col col-sm-12 sensitive-data-heading\">\n                    Title\n                  </div>\n                </div>\n                <div className=\"row\">\n                  <div className=\"col col-sm-12 title-style\">\n                    {props.selectedBar.title}\n                  </div>\n                </div>\n                <div className=\"row mt-2\">\n                  <div className=\"col col-sm-12 sensitive-data-heading\">\n                    Description\n                  </div>\n                </div>\n                <div className=\"row vulns-data\">\n                  <div className=\"col col-sm-12\">\n                    {props.vulnerability.description}\n                  </div>\n                </div>\n                {props?.vulnerability?.remediation ||\n                props?.vulnerability?.externalUrl ? (\n                  <div className=\"row mt-2\">\n                    <div className=\"col col-sm-12 sensitive-data-heading\">\n                      Remediation\n                    </div>\n                  </div>\n                ) : (\n                  \"\"\n                )}\n\n                <div className=\"row vulns-data\">\n                  {props?.vulnerability?.remediation &&\n                    props?.vulnerability?.remediation !== null &&\n                    props?.vulnerability?.remediation !== \"None Provided\" && (\n                      <div className=\"col col-sm-12\">\n                        {props.vulnerability.remediation}\n                      </div>\n                    )}\n\n                  {props?.vulnerability?.externalUrl &&\n                    props?.vulnerability?.externalUrl !== null && (\n                      <div className=\"col col-sm-12\">\n                        <a\n                          href={props.vulnerability.externalUrl}\n                          className={`text-info active-link`}\n                          target={\"_blank\"}\n                          rel=\"noreferrer\"\n                        >\n                          <i className=\"icon fa fa-external-link \"></i>\n                          {props.vulnerability.externalUrl}\n                        </a>\n                      </div>\n                    )}\n                </div>\n                {props?.vulnerability?.additionalInfo ? (\n                  <div className=\"row mt-2\">\n                    <div className=\"col col-sm-12 sensitive-data-heading\">\n                      Additional Information\n                    </div>\n                  </div>\n                ) : (\n                  \"\"\n                )}\n                <div className=\"row vulns-data\">\n                  {props?.vulnerability?.additionalInfo &&\n                    props?.vulnerability?.additionalInfo !== null && (\n                      <div className=\"col col-sm-12\">\n                        {props.vulnerability.additionalInfo}\n                      </div>\n                    )}\n                </div>\n                <div className=\"py-2\"></div>\n              </div>\n            </div>\n          </div>\n        </div>\n      ) : (\n        <div className=\"top-panel-2\">\n          {\" \"}\n          <div id=\"top-panel-main-container\" className=\"container-fluid px-2\">\n            <div className=\"row\">\n              <div className=\"col col-sm-1 col-lg-1\">\n                <div className=\"number-circle\">99</div>{\" \"}\n              </div>\n              <div className=\"col col-sm-3 col-md-3 col-lg-3 text-info\">\n                <b>CVE-2021-44228</b>\n              </div>\n              <div className=\"col col-sm-3 col-md-3 col-lg-3 text-info\">\n                <b>Instance: 00737</b>\n              </div>\n              <div class=\"col align-self-center\">\n                {\" \"}\n                <div class=\"float-right\">\n                  {\" \"}\n                  <i class=\"icon fa fa-circle text-danger red-dot\"></i> 9.8 -\n                  Critical\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      )}\n      {createIssueModal ? (\n        <CreateIssueModal\n          handleModal={() => setCreateIssueModal(false)}\n          issueId={props.selectedBar.vulnerabilityID}\n          instanceID={props.selectedBar.securityIssueInstanceId}\n        />\n      ) : (\n        \"\"\n      )}\n    </div>\n  );\n};\n\nexport default memo(TopPanelComponent);\n","import React from \"react\";\nimport TopPanelComponent from \"./TopPanelComponent\";\n\nconst TopPanelContainer = (props) => {\n  return <TopPanelComponent props={props} />;\n};\n\nexport default TopPanelContainer;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useParams } from \"react-router-dom\";\nimport { issueDetailsApi } from \"../../apis\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../redux/slices/globalOperationSlice\";\nimport { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\nimport {\n  LOADER_CONFIG,\n  REACT_APP_ISSUES_DETAILS_PAGE,\n} from \"../../utils/Constants\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport IssuesPathGraph from \"../charts/d3-flow-chart/IssuesPathGraph\";\nimport BottomPanelContainer from \"./BottomPanel/BottomPanelContainer\";\nimport TopPanelContainer from \"./TopPanel/TopPanelContainer\";\nimport \"./VulnerabilitiesDetailsComponent.scss\";\nimport ImpactedDataStoreModal from \"../modal/impacted-datastore-modal/ImpactedDataStoreModal\";\nimport AffectedDatastoresAndIssuesModal from \"../modal/affected-datastore-and-issue-modal/AffectedDatastoresAndIssuesModal\";\n\nconst DetailsComponent = () => {\n  const [toggle, setToggle] = useState(true);\n  const [rowIndex, setRowIndex] = useState({});\n  const [selectedBar, setSelectedBar] = useState({});\n  const [vulnerability, setVulnerability] = useState({});\n  const params = useParams();\n\n  const dispatch = useDispatch();\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  const issueId = params.id?.replaceAll(\"_\", \"/\");\n  const [attackPaths, setAttackPaths] = useState([]);\n  const [assetId, setAssetId] = useState(params.assetId?.replaceAll(\"_\", \"/\"));\n  const ref = useRef();\n  const [width, setWidth] = useState(0);\n  const [isImpactedDataStoreModal, setIsImpactedDataStoreModal] = useState();\n  const [apiFetched, setApiFetched] = useState(false);\n\n  useEffect(() => {\n    setWidth(ref?.current?.offsetWidth);\n  }, []);\n\n  useEffect(() => {\n    window.addEventListener(\"resize\", getWidth);\n  }, []);\n\n  const getWidth = () => {\n    setWidth(ref?.current?.clientWidth);\n  };\n\n  const getSecurityIssue = async (url = null) => {\n    if (REACT_APP_ISSUES_DETAILS_PAGE === \"COMBINED\") {\n      url = \"/api/v1/issues/detail\";\n    }\n\n    const payload = {\n      id: issueId,\n      assetId: assetId,\n      customerId: getCustomerId(),\n      securityIssueInstanceId: params.securityIssueInstanceId,\n    };\n    let res = await issueDetailsApi(payload, url);\n    if (!res) return;\n    setSelectedBar(res);\n    if (REACT_APP_ISSUES_DETAILS_PAGE === \"COMBINED\") {\n      const obj = {\n        vulnerabilityID: res.vulnerabilityID,\n        label: res.label,\n        cvssScore: res.cvssScore,\n        externalUrl: res.externalUrl,\n        description: res.description,\n        remediation: res.remediation,\n        additionalInfo: res.additionalInfo,\n      };\n      setVulnerability(obj);\n    }\n  };\n\n  const getAttackPath = async () => {\n    try {\n      const url = `/getattackpath`;\n      dispatch(showLoading());\n      let res = await axiosDenaliPrivate.post(url, {\n        customerId: getCustomerId(),\n        assetId: assetId,\n      });\n      res = res.data;\n      setAttackPaths(res ? (Object.keys(res).length === 0 ? [] : res) : []);\n    } catch (e) {\n      setAttackPaths([]);\n      dispatch(hideLoading());\n    } finally {\n      dispatch(hideLoading());\n    }\n  };\n\n  const getVulnerabilityDescription = async () => {\n    const url = `/api/v1/vulnerabilitydescription`;\n    let res = await axiosDenaliPrivate.post(url, {\n      customerId: getCustomerId(),\n      assetId: assetId,\n      id: issueId,\n      securityIssueInstanceId: params.securityIssueInstanceId,\n    });\n    res = res.data;\n    if (!res) return;\n    setVulnerability(res);\n  };\n\n  useEffect(() => {\n    if (assetId && params && params.securityIssueInstanceId) {\n      if (apiFetched) {\n        return;\n      }\n      if (REACT_APP_ISSUES_DETAILS_PAGE === \"COMBINED\") {\n        getSecurityIssue();\n        setApiFetched(true);\n      } else {\n        getSecurityIssue();\n        getVulnerabilityDescription();\n        setApiFetched(true);\n      }\n\n      getAttackPath();\n    }\n  }, [assetId, params]);\n\n  return (\n    <BlockUi\n      tag=\"div\"\n      blocking={loading}\n      loader={\n        <Loader active type={LOADER_CONFIG.type} color={LOADER_CONFIG.color} />\n      }\n    >\n      <div id=\"details-component-main-container\" className=\"container-fluid\">\n        <div className=\"pl-3 pr-3\">\n          <div className=\"row \">\n            <div className=\"col col-sm-11 page-heading mb-2\">\n              {\"ISSUES > \"}\n              <span>{`${selectedBar?.idDisplay || \"\"}  `}</span>\n            </div>\n            <div class=\"col col-sm-1 top-bar-toggle-button\">\n              {/* <div class=\"float-right\">\n                <div onClick={() => setToggle(!toggle)}>\n                  <img src={arrowDown} />\n                </div>\n              </div> */}\n            </div>\n          </div>\n          <div className=\"row\">\n            <div className=\"col col-sm-12\">\n              <TopPanelContainer\n                assetId={assetId}\n                toggle={toggle}\n                selectedBar={selectedBar}\n                vulnerability={vulnerability}\n                refreshIssues={getSecurityIssue}\n              ></TopPanelContainer>\n            </div>\n          </div>\n          <div class=\"row pb-2 mt-2\">\n            <div class=\"col align-self-start\">\n              <div className=\"row my-2\">\n                <div className=\"col-lg-auto d-flex\">\n                  {/* <b className=\"p-2\"> </b> */}\n                  <button className=\"btn-primary btn-primary-curved btn-sm\">\n                    ATTACK PATHS - {attackPaths.length}\n                  </button>\n                </div>\n                <div\n                  className=\"col-lg-auto d-flex\"\n                  onClick={() => {\n                    selectedBar.impactedDatastores > 0 &&\n                      setIsImpactedDataStoreModal(true);\n                  }}\n                >\n                  {/* <span\n                    // className={\n                    //   selectedBar.impactedDatastores > 0\n                    //     ? \"card-tabs cursor-pointer px-2\"\n                    //     : \"card-tabs-disabled px-2\"\n                    // }\n                  >\n                    <b>IMPACTED DATASTORES </b>\n                  </span> */}\n\n                  <button\n                    disabled={selectedBar.impactedDatastores > 0 ? false : true}\n                    className=\"btn-primary btn-primary-curved btn-sm\"\n                  >\n                    IMPACTED DATASTORES - {selectedBar?.impactedDatastores || 0}\n                  </button>\n                </div>\n                {isImpactedDataStoreModal ? (\n                  <AffectedDatastoresAndIssuesModal\n                    handleModal={() => setIsImpactedDataStoreModal(false)}\n                    isRiskAccepted={false}\n                    assetIdValue={assetId}\n                    isImpactedDatastoreVisible={true}\n                  />\n                ) : (\n                  \"\"\n                )}\n                {/* <div className=\"col-lg-auto p-1 mr-2\">\n                <span className=\"text-info\">\n                  <b>DIRECT DATASTORE IMPACT - {selectedBar.impacts ? selectedBar.impacts.length : \"\"} </b>\n                </span>{\" \"}\n              </div>\n              <div className=\"col-lg-auto p-1 mr-2\">\n                <span className=\"text-info\">\n                  <b>INDIRECT DATASTORE IMPACT - 17</b>\n                </span>{\" \"}\n              </div> */}\n              </div>\n            </div>\n            <div class=\"col align-self-end\">\n              {\" \"}\n              {/* Hiding this as it is not in work at the moment */}\n              {/* <div class=\"float-right\">\n                <div className=\"col-lg-auto p-1\">\n                  {\" \"}\n                  <div class=\"dropdown\">\n                    <button\n                      class=\"btn btn-light dropdown-toggle table-dropdown btn-custom\"\n                      type=\"button\"\n                      id=\"dropdownMenuButton\"\n                      data-toggle=\"dropdown\"\n                      aria-expanded=\"false\"\n                    >\n                      <span className=\"dropdown-title\">EXACT PATH</span>\n                    </button>\n                    <div\n                      class=\"dropdown-menu\"\n                      aria-labelledby=\"dropdownMenuButton\"\n                    >\n                      <a class=\"dropdown-item\" href=\"#\">\n                        Action\n                      </a>\n                    </div>\n                  </div>\n                </div>\n              </div> */}\n            </div>\n          </div>\n          <div className=\"row\">\n            <div className=\"col-lg-5 left-panel\">\n              <BottomPanelContainer\n                RefreshChart={(idx, name) =>\n                  setRowIndex({ index: idx, name: name })\n                }\n                attackPaths={attackPaths}\n              />\n            </div>\n            <div class=\"col-lg-7 \" ref={ref}>\n              <div className=\"graph\">\n                <p className=\"pl-3 pt-2\">\n                  {rowIndex.name\n                    ? rowIndex.name.replace(\"BR-AP-\", \"\")\n                    : rowIndex.name}\n                </p>\n\n                {/* <NetworkChart rowIndex={rowIndex} /> */}\n                <IssuesPathGraph\n                  width={width}\n                  rowIndex={rowIndex}\n                  attackPaths={attackPaths}\n                />\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </BlockUi>\n  );\n};\n\nexport default DetailsComponent;\n","import React from \"react\";\nimport VulnerabilitiesDetailsComponent from \"./VulnerabilitiesDetailsComponent\";\n\nconst DetailsContainer = () => {\n  return <VulnerabilitiesDetailsComponent />;\n};\n\nexport default DetailsContainer;\n","import { useEffect } from \"react\";\nimport VulnerabilitiesDetailsContainer from \"../../components/vulnerabilities-details/VulnerabilitiesDetailsContainer\";\n\nconst Datastore = ({ setPath }) => {\n  setPath(window.location.pathname);\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Vulnerabily Details\";\n  }, []);\n\n  return (\n    <>\n      <VulnerabilitiesDetailsContainer />\n    </>\n  );\n};\n\nexport default Datastore;\n","export default __webpack_public_path__ + \"static/media/risk-score.73d0fee7.svg\";","export default __webpack_public_path__ + \"static/media/bias-score.ec1f9900.svg\";","export default __webpack_public_path__ + \"static/media/edit.aa880ae8.svg\";","export default __webpack_public_path__ + \"static/media/hugging.680c5d04.png\";","export default __webpack_public_path__ + \"static/media/llmIconRound.3151e7e6.svg\";","import { useTheme } from \"@mui/material\";\nimport MUITooltip, { TooltipProps } from \"@mui/material/Tooltip\";\n\nconst Tooltip = ({ arrow = true, sx, ...props }: TooltipProps) => {\n  const theme = useTheme();\n  const styles = {\n    tooltip: {\n      \"& .MuiTooltip-tooltip\": {\n        backgroundColor: theme?.palette?.surface80?.main || \"#E6E7ED\",\n        color: theme?.palette?.surface10?.main || \"#191C2E\",\n      },\n      \"& .MuiTooltip-arrow:before\": {\n        backgroundColor: theme?.palette?.surface80?.main || \"#E6E7ED\",\n      },\n      ...sx,\n    },\n  };\n\n  return (\n    <MUITooltip\n      arrow={arrow}\n      componentsProps={{\n        popper: {\n          sx: styles.tooltip,\n        },\n      }}\n      {...props}\n    />\n  );\n};\n\nexport default Tooltip;\n","import React, { useEffect, useState } from \"react\";\nimport Popup from \"reactjs-popup\";\nimport \"../d3-flow-chart/DatastoreAttackPathGraph.scss\";\nimport LlmIcon from \"../../../assets/img/v1-icons/llmIconRound.svg\";\nimport { getScoreColor } from \"../../../utils/styles\";\nimport Tooltip from \"../../common/Tooltip\";\n\nconst TrainingDataCustomNode = (node) => {\n  const [selected, setSelected] = useState(false);\n  const getIcon = () => {\n    return (\n      <img\n        src={node?.node.datastore_node ? LlmIcon : node?.node.data?.image?.src}\n        height={node?.node.data?.image?.height}\n        width={node?.node.datastore_node ? 40 : node?.node.data?.image?.width}\n        id={node?.node?.id}\n        className={`node-image`}\n        alt=\"\"\n        style={{\n          display: \"block\",\n          margin: node?.node.data?.image?.margin,\n        }}\n        onClick={(e) => {\n          setSelected(e.target.id === node?.node?.id);\n          node?.node.data.handleClick\n            ? node?.node.data.handleClick(node?.node)\n            : console.log(\"node?.node clicked\");\n        }}\n      />\n    );\n  };\n\n  const getNodeScoreColorClass = (node) => {\n    return node?.is_primary ? `node-${getScoreColor(node?.score || 0)}` : \"\";\n  };\n\n  return (\n    <div\n      style={{\n        height: 64,\n        width: 140,\n      }}\n    >\n      {node?.node?.iconName !== \"\" && getIcon(node?.node)}\n      {/* )} */}\n      <Tooltip title={node.node.name}>\n        <div\n          style={{\n            fontSize: 12,\n            textAlign: \"center\",\n            color: \"#a2a2af\", // \"#6c83bb\",\n          }}\n          // title={node?.node?.name}\n        >\n          {node?.node?.name?.length > 30\n            ? node.node.name.substring(0, 30) + \"...\"\n            : node.node.name}\n        </div>\n      </Tooltip>\n    </div>\n  );\n};\n\nexport default TrainingDataCustomNode;\n","import TrainingDataCustomLink from \"../../d3-flow-chart/TrainingDataCustomLink\";\nimport TrainingDataCustomNode from \"../TrainingDataCustomNode\";\n\nexport const config = {\n  automaticRearrangeAfterDropNode: false,\n  collapsible: false,\n  height: 328,\n  highlightDegree: 1,\n  highlightOpacity: 0.2,\n  linkHighlightBehavior: false,\n  maxZoom: 8,\n  minZoom: 0.1,\n  directed: true,\n  nodeHighlightBehavior: false,\n  panAndZoom: false,\n  staticGraph: false,\n  staticGraphWithDragAndDrop: true,\n  width: \"100%\",\n  d3: {\n    alphaTarget: 0.05,\n    gravity: -400,\n    linkLength: 300,\n    // linkStrength: 1,\n    disableLinkForce: false,\n  },\n  node: {\n    color: \"#d3d3d3\",\n    fontColor: \"black\",\n    fontSize: 12,\n    fontWeight: \"normal\",\n    highlightColor: \"red\",\n    highlightFontSize: 12,\n    highlightFontWeight: \"bold\",\n    highlightStrokeColor: \"SAME\",\n    highlightStrokeWidth: 1.5,\n    labelProperty: \"name\",\n    mouseCursor: \"pointer\",\n    opacity: 1,\n    renderLabel: false,\n    size: {\n      width: 950,\n      height: 900,\n    },\n    strokeColor: \"none\",\n    strokeWidth: 1.5,\n    svg: \"\",\n    symbolType: \"circle\",\n    viewGenerator: (node) => <TrainingDataCustomNode node={node} />,\n  },\n  link: {\n    color: \"#31477d\",\n    opacity: 1,\n    semanticStrokeWidth: false,\n    strokeWidth: 2,\n    labelProperty: \"linkLabel\",\n    // renderLabel: true,\n    // viewGenerator: (link) => <TrainingDataCustomLink node={link} />,\n  },\n};\n","import moment from \"moment\";\nimport React, { useEffect, useState } from \"react\";\nimport { Graph } from \"react-d3-graph\";\nimport closeIcon from \"../../../../assets/img/icons/close-icon-grey.svg\";\nimport { config } from \"./TrainingDataGraphConfig\";\nimport \"../TrainingDataGraphView.scss\";\nimport { getNodeIconByType } from \"../../d3-flow-chart/flowChartHelper\";\nconst TrainingDataGraphView = ({\n  llmInfo,\n  width,\n  datastoreId,\n  trainingData,\n  trainingDataFilter,\n  policyViolationsMaliciousActivity,\n  policyViolationsSensitiveData,\n}) => {\n  const [graphData, setGraphData] = useState(null);\n  const [selectedNode, setSelectedNode] = useState(null);\n\n  // const TrainingData = [\n  //   {\n  //     FileName: \"training.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training.json\",\n  //     Source: \"Configured\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"4.16 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-08-01T04:32:36.491000\",\n  //   },\n  //   {\n  //     FileName: \"training_2.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training_2.json\",\n  //     Source: \"Configured\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"2.45 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-05-15T04:32:36.491000\",\n  //   },\n  //   {\n  //     FileName: \"training_3.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training_3.json\",\n  //     Source: \"Configured\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"6.34 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-06-10T04:32:36.491000\",\n  //   },\n  //   {\n  //     FileName: \"training_4.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training_4.json\",\n  //     Source: \"Live Access\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"5.3 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-06-09T04:32:36.491000\",\n  //   },\n  //   {\n  //     FileName: \"training_5.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training_5.json\",\n  //     Source: \"Live Access\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"1.12 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-07-04T04:32:36.491000\",\n  //   },\n  //   {\n  //     FileName: \"training_6.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training_6.json\",\n  //     Source: \"Access Path\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"2.16 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-07-05T04:32:36.491000\",\n  //   },\n  // ];\n\n  const handleRefChange = (ref) => {\n    if (ref) ref.resetNodesPositions();\n  };\n\n  const nodeClicked = (data) => {\n    setSelectedNode(data);\n  };\n\n  var evenCounter = 0;\n  var oddCounter = 0;\n\n  const getNodeXValue = (width, node) => {\n    if (node.datastore_node) {\n      return width / 2.5;\n    } else if (node.id % 2 == 0 && node.id !== 0) {\n      evenCounter = evenCounter + 90;\n      return width / 2.5 - 300;\n    } else if (node.id % 2 !== 0) {\n      oddCounter = oddCounter - 90;\n      return width / 2.5 + 300;\n    }\n  };\n  const getNodeYValue = (width, node) => {\n    if (node.datastore_node) {\n      return 170;\n    } else if (node.id % 2 == 0) {\n      if (evenCounter === 40) {\n        return 60;\n      } else {\n        return 10 + evenCounter;\n      }\n    } else if (node.id % 2 !== 0) {\n      if (oddCounter === -25) {\n        return 170;\n      } else {\n        return 300 + oddCounter;\n      }\n    }\n  };\n\n  const getGraphData = (data) => {\n    if (data) {\n      data.nodes.map((node) => {\n        node.height = \"2rem\";\n        node.width = \"2rem\";\n        node.x = getNodeXValue(width, node);\n        node.y = getNodeYValue(width, node);\n        node.data = {};\n        node.data.image = {\n          width: node.is_primary ? 50 : 40,\n          height: node.is_primary ? 50 : 40,\n          src: getNodeIconByType(node.type),\n          margin: node.is_primary ? \"20px auto 0 auto\" : \"26px auto 0 auto\",\n        };\n        node.data.handleClick = nodeClicked;\n        node.selected = false;\n      });\n    }\n\n    data.links = data.links\n      .filter((x) => data.nodes.find((y) => y.id === x.source))\n      ?.filter((x) => data.nodes.find((y) => y.id === x.target));\n\n    return data;\n  };\n\n  const getNodeLinkColor = (node) => {\n    switch (node.source) {\n      case \"Configured\":\n        return \"#3d61ff\";\n      case \"Access Path\":\n        return \"#C68EFF\";\n      case \"Live Access\":\n        return \"#AC5AFF\";\n      default:\n        return \"#3d61ff\";\n    }\n  };\n\n  const getDataSources = () => {\n    let startId = 1;\n    const data = { nodes: [], links: [] };\n    let datastoreNode = {\n      id: startId++,\n      datastore_node: true,\n      is_primary: true,\n      name: llmInfo?.Name,\n      source: \"\",\n      heading: llmInfo?.Name,\n      datastoreId: datastoreId,\n      tooltip_content: {\n        name: llmInfo?.Name,\n        framework: llmInfo?.Framework,\n        owner: llmInfo?.Owner,\n        baseFamily: llmInfo?.[\"Base Family\"],\n      },\n    };\n\n    data.nodes.push(datastoreNode);\n\n    for (let index = 0; index < trainingData.length; index++) {\n      let node = {\n        id: startId++,\n        datastore_node: false,\n        is_primary: false,\n        name: trainingData[index].FileName,\n        policy_violation: trainingData[index]?.policy_violation,\n        datastoreId: datastoreId,\n        source: trainingData[index].Source,\n        type: \"S3Bucket\",\n        tooltip_content: {\n          type: trainingData[index].type,\n          location: trainingData[index].Location,\n          training_date: moment(\n            moment.utc(trainingData[index]?.training_date).toDate()\n          )\n            .local()\n            .format(\"YYYY-MM-DD HH:mm:ss\"),\n          source: trainingData[index].Source,\n          sensitive_data: trainingData[index].sensitive_labels,\n          size: trainingData[index].size,\n        },\n      };\n      if (trainingDataFilter === node.source || trainingDataFilter === \"all\") {\n        data.nodes.push(node);\n      }\n\n      let link = {\n        id: new Date().toISOString(),\n        source: node.id,\n        target: datastoreNode.id,\n        fontColor: getNodeLinkColor(node),\n        fontSize: \"12\",\n        strokeWidth: 3,\n        color:\n          policyViolationsMaliciousActivity &&\n          node.policy_violation &&\n          node.name === \"training_2.json\"\n            ? \"#FC4C02\"\n            : policyViolationsSensitiveData &&\n              node.policy_violation &&\n              (node.name === \"training.json\" || node.name === \"training_3.json\")\n            ? \"#FC4C02\"\n            : getNodeLinkColor(node),\n        textAnchor: \"middle\",\n        highlightColor: getNodeLinkColor(node),\n      };\n      if (trainingDataFilter === node.source || trainingDataFilter === \"all\") {\n        data.links.push(link);\n      }\n    }\n\n    return data;\n  };\n  // const data = {\n  //   nodes: [\n  //     {\n  //       id: \"#1\",\n  //       type: \"customNode\",\n  //       name: \"gpt2\",\n  //       data: {\n  //         heading: \"External\",\n  //         height: \"2rem\",\n  //         handleClick: nodeClicked,\n  //         width: \"2rem\",\n  //         source: \"\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: LlmIcon,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 30,\n  //         tooltipRequired: false,\n  //         datastore_node: true,\n  //       },\n  //       x: 700,\n  //       y: 130,\n  //     },\n  //     {\n  //       id: \"#2\",\n  //       type: \"customNode\",\n  //       name: \"S3 Bucket\",\n  //       data: {\n  //         heading: \"Load balancer\",\n  //         height: \"3rem\",\n  //         width: \"3rem\",\n  //         source: \"Configured\",\n  //         sensitive_data: [\n  //           { title: \"PII-SSN\", count: \"5.2k\" },\n  //           { title: \"PCI-Credit Card\", count: \"8.2k\" },\n  //         ],\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: S3,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         tooltipRequired: true,\n  //         datastore_node: false,\n  //       },\n  //       x: 300,\n  //       y: 30,\n  //     },\n  //     {\n  //       id: \"#3\",\n  //       type: \"customNode\",\n  //       name: \"S3 Bucket\",\n  //       data: {\n  //         heading: \"EC2-Public\",\n  //         height: \"4rem\",\n  //         sensitive_data: [\n  //           { title: \"PII-PHONE\", count: \"2.3k\" },\n  //           { title: \"PCI-ADDRESS\", count: \"4.2k\" },\n  //         ],\n  //         source: \"LiveAccess\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: S3,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         datastore_node: false,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 300,\n  //       y: 150,\n  //     },\n  //     {\n  //       id: \"#4\",\n  //       type: \"customNode\",\n  //       name: \"S3 Bucket\",\n  //       data: {\n  //         heading: \"EC2-Public\",\n  //         height: \"4rem\",\n  //         sensitive_data: [\n  //           { title: \"PII-PHONE\", count: \"2.3k\" },\n  //           { title: \"PCI-ADDRESS\", count: \"4.2k\" },\n  //         ],\n  //         source: \"AccessPath\",\n  //         width: \"4rem\",\n  //         image: {\n  //           width: 50,\n  //           height: 50,\n  //           src: S3,\n  //           margin: \"20px auto 0 auto\",\n  //         },\n  //         value: 40,\n  //         datastore_node: false,\n  //         tooltipRequired: true,\n  //       },\n  //       x: 300,\n  //       y: 250,\n  //     },\n  //   ],\n  //   links: [\n  //     {\n  //       id: \"e#1#2\",\n  //       type: \"floating\",\n  //       target: \"#2\",\n  //       source: \"#1\",\n  //       filter: \"Configured\",\n  //     },\n  //     {\n  //       id: \"e#2#3\",\n  //       target: \"#3\",\n  //       source: \"#1\",\n  //       filter: \"LiveAccess\",\n  //     },\n  //     {\n  //       id: \"e#3#4\",\n  //       target: \"#4\",\n  //       source: \"#1\",\n  //       filter: \"AccessPath\",\n  //     },\n  //   ],\n  // };\n\n  const formatTitle = (title) => {\n    let formatedTitle = title.replace(\"_\", \" \");\n    const arr = formatedTitle.split(\" \");\n    for (var index = 0; index < arr.length; index++) {\n      arr[index] = arr[index].charAt(0).toUpperCase() + arr[index].slice(1);\n    }\n    return arr.join(\" \");\n  };\n  const getRightPanel = () => {\n    if (selectedNode && selectedNode !== null) {\n      const contents = selectedNode?.tooltip_content;\n      let popupContents = [];\n      let index = 1;\n      for (var key in contents) {\n        index++;\n        if (contents.hasOwnProperty(key)) {\n          var val = contents[key];\n          popupContents.push(\n            <div\n              className=\"training-data-tooltip-content training-data-tooltip-content-graph row\"\n              key={index}\n            >\n              <div className=\"training-data-tooltip-title col-md-12 col-lg-12 p-0 pl-2 mb-1\">\n                {formatTitle(key)}\n              </div>\n              <div className=\"training-data-tooltip-description col-md-8 pl-2 pb-1 col-lg-8 p-0\">\n                {val}\n              </div>\n            </div>\n          );\n        }\n      }\n      return (\n        <div className=\"training-data-tooltip training-data-tooltip-graph\">\n          <div className=\"training-data-tooltip-top\">\n            <div className=\"py-2\">\n              <span className=\"training-data-tooltip-header pl-2\">\n                {selectedNode?.name}\n              </span>\n              <img\n                src={closeIcon}\n                className=\"tooltip-close-icon cursor-pointer\"\n                onClick={() => {\n                  setSelectedNode(null);\n                }}\n              />\n            </div>\n            {popupContents}\n          </div>\n        </div>\n      );\n    }\n  };\n\n  useEffect(() => {\n    getRightPanel();\n  }, [selectedNode]);\n\n  useEffect(() => {\n    setSelectedNode(null);\n    if (trainingData) {\n      let sources = getDataSources();\n      const graphDataset = getGraphData(sources);\n      setGraphData({ nodes: graphDataset.nodes, links: graphDataset.links });\n    } else {\n      setGraphData({ nodes: [], links: [] });\n    }\n  }, [\n    width,\n    llmInfo,\n    policyViolationsMaliciousActivity,\n    policyViolationsSensitiveData,\n    trainingData,\n    trainingDataFilter,\n  ]);\n\n  return (\n    <div>\n      {getRightPanel()}\n      {graphData && (\n        <Graph\n          id=\"access-graph-id\"\n          data={graphData}\n          config={config}\n          ref={handleRefChange}\n          width=\"200px\"\n        />\n      )}\n    </div>\n  );\n};\n\nexport default TrainingDataGraphView;\n","import TrainingDataCustomLink from \"../../d3-flow-chart/TrainingDataCustomLink\";\nimport TrainingDataCustomNode from \"../TrainingDataCustomNode\";\n\nexport const config = {\n  automaticRearrangeAfterDropNode: false,\n  collapsible: false,\n  height: 328,\n  highlightDegree: 1,\n  highlightOpacity: 0.2,\n  linkHighlightBehavior: false,\n  maxZoom: 8,\n  minZoom: 0.1,\n  directed: true,\n  nodeHighlightBehavior: false,\n  panAndZoom: false,\n  staticGraph: false,\n  staticGraphWithDragAndDrop: true,\n  width: \"100%\",\n  d3: {\n    alphaTarget: 0.05,\n    gravity: -400,\n    linkLength: 300,\n    // linkStrength: 1,\n    disableLinkForce: false,\n  },\n  node: {\n    color: \"#d3d3d3\",\n    fontColor: \"black\",\n    fontSize: 12,\n    fontWeight: \"normal\",\n    highlightColor: \"red\",\n    highlightFontSize: 12,\n    highlightFontWeight: \"bold\",\n    highlightStrokeColor: \"SAME\",\n    highlightStrokeWidth: 1.5,\n    labelProperty: \"name\",\n    mouseCursor: \"pointer\",\n    opacity: 1,\n    renderLabel: false,\n    size: {\n      width: 950,\n      height: 1250,\n    },\n    strokeColor: \"none\",\n    strokeWidth: 1.5,\n    svg: \"\",\n    symbolType: \"circle\",\n    viewGenerator: (node) => <TrainingDataCustomNode node={node} />,\n  },\n  link: {\n    color: \"#31477d\",\n    opacity: 1,\n    semanticStrokeWidth: false,\n    strokeWidth: 2,\n    labelProperty: \"linkLabel\",\n    // renderLabel: true,\n    // viewGenerator: (link) => <TrainingDataCustomLink node={link} />,\n  },\n};\n","export default __webpack_public_path__ + \"static/media/langchainIcon.7d5c1a8c.svg\";","export default __webpack_public_path__ + \"static/media/pdf.01d76698.svg\";","export default __webpack_public_path__ + \"static/media/rds.d4d4fe1f.svg\";","export default __webpack_public_path__ + \"static/media/postgres.a7d638cb.svg\";","export default __webpack_public_path__ + \"static/media/gptIcon.de302c70.svg\";","export default __webpack_public_path__ + \"static/media/AWS_S3.a7bd1072.svg\";","export default __webpack_public_path__ + \"static/media/chromaIcon.8c4cdb18.svg\";","export default __webpack_public_path__ + \"static/media/gcp.df756fc7.svg\";","export default __webpack_public_path__ + \"static/media/unstructured_logo.2fd1e2c8.png\";","export default __webpack_public_path__ + \"static/media/xls-icon.5e92a060.svg\";","export default __webpack_public_path__ + \"static/media/csv-icon.22c49a3d.svg\";","export default __webpack_public_path__ + \"static/media/json-icon.e6f077a7.svg\";","export default \"data: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nRSTlMAM6SdLBt04P/XEwtdzP3DVAYCP7H1OSST6Ilo+btN74BGqf//////////////////////////////////////////////9/////3/////////8/////////////////////////////////////7//v//////////////////////////////////////////////////////////////////////////////////////////////////////////////9VTA+xVp1CCM5jypdtoplO20XcvgnUiCMvil/MFLCuSDOHzV124WKeLsJ5rsPq33WpNYuhTGssz7vpEae6oAAA2NSURBVHgB5NoFzvMwDMbxlF1Kl4yZ6f4H/Bj9wrZM0yMnvxtsbS39LSu0KE5SFbYsL4jKvFLhqptW0ze66xkVJtsfDOknPYxHVgVoPJnSP6azsQpNlZf0H63LeaVCYnqdJk4vliujQmFH8ZDetU4iFYbxbEofKjaZ8l81L+lTbVMrv5nVUtMNi8HWKH/ZiA2DD6wnqfJVtpmSprsUeebpMGjpAZ2Ho8Fslwt6yHDQt8orabKmh00nY6+GQUFOpEc2C2ZHgiObBfOCnuBDZKeTNbmTH9k8mN1JjuyaBbM7sZFtR7shuZMf2SyY3eEjGz8MJEe2WXWaXkA7RDYymDW5w0c2fhgIjWy2PdP0SpqPBvnBzMmP7MghmBlIZOODWXpks2Cmp8iPbLN1C2Z4ZOODWXpk83MTAHxks+0ZjIZFNj83gRrGkcWfm8BNNxk+mPHaeQU/N8FbLLcGfm6Ct05SmcEscP/GghkKH9lm9UEwwy1YZAsIZtj+DR/M8iO7eiCYYbpeDQ9mvOFuZEUF8/5w2EMjGx/M+8Nxz/4GwGgAB/PhcDpfri/5FxYdj2zwuclX4s1CV24lCKL7XlAQBmF4mWF8mdE3l5mZ/v8PsmOlNIGxrHGnxvUHW7LP9mm1Yx+Daq3eaDRb7YKwBr5kv2YIs66g0+0pnaDXHSiQ0SAXZg4MBoeGGyoYGQlUY3i0SEEDviThCLP8P6FSGtMV6OgaxllowP5NJsyUx6DdaqKCnzWo5oQcDfIjF74wo4KBbi9QCgWghWByCmjIXrJZwowXATAwwTsxFqHhKf/IJTthBgzK45YKgIbpKuVhSPclyX8sGEw0lbUCvBQzsx3UkK1kv370mQSDqck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9wQD7wAD4ugAvpVHHrwy0mTsvpVH5uwAwqVMvpVL6vAC3qxD6vwD3ugD4ugD7wgD5vAAvpVIxrFT4ugD4ugAvplIvpVIwqFP4uwD4ugD7wQAuplMvpVIwp1Ixqk0deK0eeK8deK9AhfI/h/hBhPPDcFbuYyfuYyYWaNYVY9kSYNYZcOREi/5FjP8zi/9eeNPpOjjpQDUXZtEYadUXZ9EVZtA7ge9ChvVBhfOkXYT4PCToQjXpQjXyRDfpQjQWZtEYa9oTZM4sduNEh/c7h/lKgejfRkHwQC74RjjpQTQWZtAYbuAebNdBhfKIaKLoQTQVZtAUZc8zfOk+hvdAhfXNTVT0Pin+RznoQTQjcd1xcr3rQjTpQTQWZ9I3if64VW3tQzboQTQWZs8lcd3sQTEWZtDqQjTvQzYVZdEXatjnQDPjQzkWZtDtQjXnQTQWZc/xRDYWZ9PmPzQ2fuznQDMVZtDmQTSgX4jmQTQWZ9Jae9ecYYyJcrZBhfNGkP9AhfNDiftBhvRBhfQ/hvJFjv9AhPRCiflBhfNBhPRBhfNBhfJAhfNAhfNAhfNAhPNChvNAhfSGoNCyAAAA/HRSTlMAJ1Jmeo2eqbnH1uLr9EMwHhP//////wP/C8Awif///////Hy7////////////uh864v///////////+1YTPX/////////ilj/////Ev///9P////l///b//8mrP//2Av/of86f//L/2DJ///1rqP/BXTF8J7d//IZmv9OkfpvlNJo6URl+WCY///3///Ywsf6/+Lz///////////b1v//////////////zbf///////////++hP////+SUf////////91I///QOP///8dof//GYT1LvynMpfmVnP8yhE5ZV9L/5/D////ZP9V/+GTSv/sgX6r9frPuKOghnItvMPXAAAOTUlEQVR4AdzBRxaCMBQAwJheKJJfiJX739LA87FxCy4yI/7sIpU2xjrnfQixSil1Vb/rVqmKVQjBe++ctcYYrbVSSko5jNdJtG40MUOFFRFlyhv+lb9ogyvYIRL30Rs1zqJRs/QZiMsRmDMhAEcrJ9Gem4qIXI7FBNjZQbRlVhGonCIDBSkaMgSkchpGuD9EK56v91JOtHy4Nw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GfFHLqapVnAwZ8ALsTqgw+G7T5kHeM1SDu45ENsnzAvTuv9eCzQY0P8EZkYcQqg88GVT7EptVJY1a+GfxtgyYfYppfNm7llcFngyIfYtrYM3oroUqfDcgH+K247d5pFWcD8uHdzOf7an7PLqWFw/DsExvwOzltPuTVZbusWhZbkQ3ifMjNk4ZxD1fPg9eQ8B1/MjD3sZu4NoAYhMIAzBQnO0fKUD96psgMV6bG4dw9Ls25fL+g12I+x0D+QMTDEXq1vggkl+S3AeaKoT56g0QrzCMgvwkk5jJkQ/QuQ6N94BxLIE1QoCmgkl7JmiiFr1djS/zpLKYuGCfozWIzmfozIHXzWcFlVMZPLVLhVbBMTS+dXq3WZ6u1Lm1Sk9S2itWJDqYuiYfoTic6sv2dMxN7pQAAAABJRU5ErkJggg==\"","export default __webpack_public_path__ + \"static/media/ollama-logo.e174bef7.png\";","export default __webpack_public_path__ + \"static/media/sharepoint.d6ed9ac4.png\";","export default __webpack_public_path__ + \"static/media/text-icon.158eb020.svg\";","export default __webpack_public_path__ + \"static/media/directory-icon.b384d15c.svg\";","export default __webpack_public_path__ + \"static/media/file-icon.6ef18256.svg\";","export default __webpack_public_path__ + \"static/media/snowflake.8bf71d4f.svg\";","export default __webpack_public_path__ + \"static/media/datavolo.64dceb03.png\";","export default __webpack_public_path__ + \"static/media/docx-icon.9fbabd6d.svg\";","export default __webpack_public_path__ + \"static/media/txt-icon.c8de6b9f.svg\";","export default __webpack_public_path__ + \"static/media/default-loader.d5458083.svg\";","export default __webpack_public_path__ + \"static/media/pinecone.d9764b26.svg\";","export default __webpack_public_path__ + \"static/media/retriever-app-icon.eff6e50b.svg\";","export default __webpack_public_path__ + \"static/media/confluence.d11e2f8f.png\";","import moment from \"moment\";\nimport LangchainIcon from \"../assets/img/langchainIcon.svg\";\nimport RDSIcon from \"../assets/img/rds.svg\";\nimport PDFIcon from \"../assets/img/pdf.svg\";\nimport PostgresIcon from \"../assets/img/postgres.svg\";\nimport GPTIcon from \"../assets/img/gptIcon.svg\";\nimport S3Icon from \"../assets/img/AWS_S3.svg\";\nimport VectorDBIcon from \"../assets/img/chromaIcon.svg\";\nimport HuggingIcon from \"../assets/img/hugging.png\";\nimport GCPIcon from \"../assets/img/gcp.svg\";\nimport UnstructuredIcon from \"../assets/img/unstructured_logo.png\";\nimport ExcelIcon from \"../assets/img/xls-icon.svg\";\nimport CSVIcon from \"../assets/img/csv-icon.svg\";\nimport JSONIcon from \"../assets/img/json-icon.svg\";\nimport PandaIcon from \"../assets/img/pandas.svg\";\nimport AWSIcon from \"../assets/img/awsIcon.svg\";\nimport ChromaIcon from \"../assets/img/chromaIcon.svg\";\nimport QdrantIcon from \"../assets/img/qdrant-icon.png\";\nimport GoogleDriveIcon from \"../assets/img/google-drive-logo.png\";\nimport OllamaIcon from \"../assets/img/ollama-logo.png\";\nimport SharepointIcon from \"../assets/img/sharepoint.png\";\nimport TextIcon from \"../assets/img/text-icon.svg\";\nimport DirectoryIcon from \"../assets/img/directory-icon.svg\";\nimport FileIcon from \"../assets/img/file-icon.svg\";\nimport SnowflakeIcon from \"../assets/img/snowflake.svg\";\nimport DatavoloIcon from \"../assets/img/datavolo.png\";\nimport DocIcon from \"../assets/img/docx-icon.svg\";\nimport TxtIcon from \"../assets/img/txt-icon.svg\";\nimport DefaultLoaderIcon from \"../assets/img/default-loader.svg\";\nimport PineconeIcon from \"../assets/img/pinecone.svg\";\nimport VespaIcon from \"../assets/img/vespa.jpeg\";\nimport AppIcon from \"../assets/img/retriever-app-icon.svg\";\nimport ConfluenceIcon from \"../assets/img/confluence.png\";\nimport { EntityType } from \"../types/type\";\n\nconst commonUtils = {};\nexport default commonUtils;\n\n/**\n *\n * @param date1\n * @param date2\n * @returns returns difference between two dates in days\n */\nexport const getDifferenceInDays = (date1: Date, date2: Date) => {\n  const msPerMinute = 60 * 1000;\n  const msPerHour = msPerMinute * 60;\n  const msPerDay = msPerHour * 24;\n  const msPerWeek = msPerDay * 7;\n  const msPerMonth = msPerDay * 30; // Approximation\n  const msPerYear = msPerDay * 365; // Approximation\n\n  const elapsed = Math.abs(date2.getTime() - date1.getTime());\n\n  if (elapsed < msPerMinute) {\n    return \"Just now\";\n  } else if (elapsed < msPerHour) {\n    const minutes = Math.round(elapsed / msPerMinute);\n    return `${minutes} minute${minutes > 1 ? \"s\" : \"\"} ago`;\n  } else if (elapsed < msPerDay) {\n    const hours = Math.round(elapsed / msPerHour);\n    return `${hours} hour${hours > 1 ? \"s\" : \"\"} ago`;\n  } else if (elapsed < msPerWeek) {\n    const days = Math.round(elapsed / msPerDay);\n    return `${days} day${days > 1 ? \"s\" : \"\"} ago`;\n  } else if (elapsed < msPerMonth) {\n    const weeks = Math.round(elapsed / msPerWeek);\n    return `${weeks} week${weeks > 1 ? \"s\" : \"\"} ago`;\n  } else if (elapsed < msPerYear) {\n    const months = Math.round(elapsed / msPerMonth);\n    return `${months} month${months > 1 ? \"s\" : \"\"} ago`;\n  } else {\n    const years = Math.round(elapsed / msPerYear);\n    return `${years} year${years > 1 ? \"s\" : \"\"} ago`;\n  }\n};\n\n/**\n *\n * @param number\n * @returns number with 0 prefix if less than 10\n */\nexport const prefixNumber = (number: number) => {\n  return number > 0 && number < 10 ? `0${number}` : number;\n};\n\n/**\n *\n * @param object\n * @returns checks weather object contains any value or not\n */\nexport const isContainsValue = (data: object) => {\n  if (data && Object.values(data)?.length > 0) {\n    return true;\n  }\n  return false;\n};\n\n/**\n *\n * @param object\n * @returns checks weather string contains word vulnerable and returns string without vulnerable\n */\nexport const getFormattedTitle = (title: string) => {\n  if (title.toLocaleLowerCase().includes(\"vulnerable\")) {\n    return title.replace(\"Vulnerable \", \"\");\n  }\n  return title;\n};\n\n/**\n *\n * @param num\n * @returns number abbreviation\n */\nexport const getNumberAbbreviation = (num) => {\n  if (num) {\n    if (num > 9999) {\n      if (num < 1e6) return +(num / 1e3).toFixed(1) + \"K\";\n      if (num >= 1e6 && num < 1e9) return +(num / 1e6).toFixed(1) + \"M\";\n    }\n    return num?.toString();\n  }\n  return \"-\";\n};\n\n/**\n *\n * @param str\n * @returns remove all the special characters\n */\nexport const removeSpecialCharacters = (str) => {\n  return str && str !== \"\" ? str.replace(/[^a-zA-Z0-9 ]/g, \"\") : \"\";\n};\n\n/**\n * object property name to formatted string\n * @param title\n * @returns formatted string\n */\nexport const formatTitle = (title) => {\n  let formatedTitle = title.replaceAll(\"_\", \" \");\n  let arr = formatedTitle.split(\" \");\n\n  for (var index = 0; index < arr.length; index++) {\n    arr[index] = arr[index].charAt(0).toUpperCase() + arr[index].slice(1);\n  }\n  return arr.join(\" \");\n};\n\n/**\n * convert bytes to GB\n * @param bytes\n * @param decimals\n * @returns\n */\nexport const formatBytes = (bytes, decimals = 3) => {\n  if (!bytes) return \"-\";\n  if (bytes === 0) return \"0 Bytes\";\n\n  const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\"];\n  const i = Math.floor(Math.log(bytes) / Math.log(1024));\n\n  // Handle extremely small byte values\n  const sizeValue = bytes / Math.pow(1024, Math.max(i, 0));\n\n  // Display up to 2 decimal places but trim unnecessary zeros\n  return `${parseFloat(sizeValue.toFixed(decimals))} ${sizes[Math.max(i, 0)]}`;\n};\n\nexport const isToday = (date) => {\n  const today = moment().format(\"YYYY-MM-DD\");\n  const dateInQuestion = moment(date).format(\"YYYY-MM-DD\");\n  return today === dateInQuestion;\n};\n\nexport const getSelectedAccountIds = (selectedAccounts) => {\n  let accountIds: Array<string> = [];\n  if (selectedAccounts?.length > 0) {\n    selectedAccounts.map((account: { value: string }) => {\n      accountIds.push(account.value);\n    });\n  }\n  return accountIds;\n};\n\nexport const getMMMDDYYYY = (date) => {\n  return moment(date).format(\"MMM DD, YYYY\");\n};\n\nexport const getDateTime = (date) => {\n  return date ? moment(date).format(\"MMM DD, YYYY, hh:mm A\") : \"\";\n};\n\n/**\n * object property name to formatted string\n * @param type\n * @returns icon based on type\n */\n\nexport const getImageForNode = (type) => {\n  switch (type) {\n    case \"langchain\": {\n      return {\n        width: 50,\n        height: 50,\n        imgSrc: LangchainIcon,\n      };\n    }\n    case \"rds\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: RDSIcon,\n      };\n    }\n    case \"S3FileLoader\":\n    case \"S3DirLoader\":\n    case \"s3\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: S3Icon,\n      };\n    }\n    case \"llm\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: HuggingIcon,\n      };\n    }\n    case \"CSVLoader\":\n    case \"pdf\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: PDFIcon,\n      };\n    }\n    case \"PGVector\":\n    case \"postgres\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: PostgresIcon,\n      };\n    }\n    case \"vectorDB\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: VectorDBIcon,\n      };\n    }\n    case \"openai\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: GPTIcon,\n      };\n    }\n    case \"Chroma\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: ChromaIcon,\n      };\n    }\n    case \"Qdrant\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: QdrantIcon,\n      };\n    }\n    case \"GoogleDriveLoader\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: GoogleDriveIcon,\n      };\n    }\n    case \"Ollama\": {\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: OllamaIcon,\n      };\n    }\n    default:\n      return {\n        width: 40,\n        height: 40,\n        imgSrc: PDFIcon,\n      };\n  }\n};\n\nconst defaultIcons = {\n  file: FileIcon,\n  vector_db: VectorDBIcon,\n  llm: \"\",\n  data_source: DefaultLoaderIcon,\n  framework: AppIcon,\n  data_loader: DefaultLoaderIcon,\n};\n\nconst iconsMap: Record<EntityType, Record<string, string>> = {\n  file: {\n    pdf: PDFIcon,\n    doc: DocIcon,\n    docx: DocIcon,\n    txt: TxtIcon,\n    text: TextIcon,\n    json: JSONIcon,\n    csv: CSVIcon,\n    xls: ExcelIcon,\n    directory: DirectoryIcon,\n  },\n  vector_db: {\n    pinecone: PineconeIcon,\n    vespa: VespaIcon,\n    pg: PostgresIcon,\n    postgres: PostgresIcon,\n    qdrant: QdrantIcon,\n  },\n  llm: {\n    ollama: OllamaIcon,\n    openai: GPTIcon,\n  },\n  data_source: {},\n  framework: {\n    langchain: LangchainIcon,\n  },\n  data_loader: {\n    s3: S3Icon,\n    google: GoogleDriveIcon,\n    gcs: GCPIcon,\n    gcp: GCPIcon,\n    sharepoint: SharepointIcon,\n    snowflake: SnowflakeIcon,\n    datavolo: DatavoloIcon,\n    unstructured: UnstructuredIcon,\n    pdf: PDFIcon,\n    doc: DocIcon,\n    text: TextIcon,\n    json: JSONIcon,\n    csv: CSVIcon,\n    xls: ExcelIcon,\n    directory: DirectoryIcon,\n    confluence: ConfluenceIcon,\n  },\n};\n\nexport const getIconForKey = (type: EntityType, key: string): string => {\n  const icons = iconsMap[type];\n\n  if (key) {\n    // Check if any icon's key contains the provided key\n    for (const iconKey in icons) {\n      if (key.toLowerCase().includes(iconKey)) {\n        return icons[iconKey];\n      }\n    }\n  }\n\n  // Return the default icon if no match is found\n  return defaultIcons[type];\n};\n\nexport const getMaxValue = (propName, array) => {\n  return array?.length > 0\n    ? Math.max(...array?.map((arrItem) => arrItem[propName]))\n    : 1;\n};\n\nexport const getFirstNValue = (array, n = 2) => {\n  if (array && array.length) {\n    const newArr = [...array];\n    return newArr?.length > n\n      ? `${newArr?.splice(0, n)?.join(\", \")} +${newArr?.length}`\n      : newArr?.join(\", \");\n  }\n  return \"-\";\n};\n\nexport const getSumOfValues = (array: number[]) => {\n  let count = 0;\n  if (array) {\n    count = Object.values(array)?.reduce(\n      (acc: number, curr: any) => acc + curr,\n      0\n    );\n  }\n  return count;\n};\n\nexport const convertUTCToLocal = (date) => {\n  if (date) {\n    return moment.utc(date).local();\n  }\n  return \"\";\n};\n\nexport const getTruncatedString = (str, length, showMore) => {\n  if (showMore) {\n    return str.substring(0, str.length);\n  }\n  return str?.length > length ? str.substring(0, length) + \"...\" : str;\n};\n\nexport const getDoubleDigitNumber = (num) => {\n  if (num && num > 0 && num < 10) return `0${num}`;\n  else return num;\n};\n\nexport const getShortenedString = (str) => {\n  if (str) {\n    if (str.length > 35) {\n      return str.slice(0, 15) + \"....\" + str.slice(-20);\n    } else return str;\n  }\n  return \"\";\n};\n\nexport const getAllValuesSum = (obj, prop) => {\n  let sum: any = 0;\n  if (obj && Object.values(obj)?.length > 0) {\n    sum =\n      Object.values(obj).reduce(\n        (a: any, b: any) => a + (prop ? b[prop] : b),\n        0\n      ) || 0;\n  }\n  return sum;\n};\n\nexport const getJoinedString = (arr, delimiter = \",\") => {\n  if (arr && arr.length) {\n    return arr.join(delimiter);\n  }\n  return \"\";\n};\n\nexport const generateClassForBarGraph = (string) => {\n  const newStr = string.includes(\" \") ? string.split(\" \")[0] : string;\n  return `${newStr.replace(/[^\\w\\s]/gi, \"\")}`;\n};\n\nexport const getFileName = (name) => {\n  if (name) {\n    return name.split(\"/\")?.at(-1);\n  }\n  return \"\";\n};\n\nexport const convertYYYYMMDD = (date, time = true) => {\n  return moment(date).format(\"YYYY-MM-DD HH:mm:ss\");\n};\n\nexport const getPropertyTotalCount = (array, prop) => {\n  return array?.length > 0\n    ? array?.reduce((acc, curr) => acc + curr[prop], 0)\n    : 0;\n};\n\nexport const getFileExtension = (fileName) => {\n  if (!fileName) return \"file\";\n\n  if (fileName.toLowerCase().includes(\"csv\")) return \"csv\";\n\n  if (fileName.toLowerCase().includes(\"json\")) return \"json\";\n\n  if (fileName.toLowerCase().includes(\"pdf\")) return \"pdf\";\n\n  if (fileName.toLowerCase().includes(\"docx\")) return \"docx\";\n\n  if (fileName.toLowerCase().includes(\"txt\")) return \"txt\";\n\n  return \"file\";\n};\n","export default \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gKgSUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAA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bhRuFG4UbhFmKY0JqpwiFzqkn+p/8A/9oADAMBAAIAAwAAABDzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz/ADzzzzzzzzz+8888888888885BBBBBBBBBBD9888888888885BBBBBBBBBBBD988888888885BBBBBBBBBBBBD98888888885MOOOOOOOOOPBBD9888888885B+888888888+BBB188888885BB+888888888+BAf8888888tBBB+888888888+Af888888889BBBzyyyyyyyyywf8888888889BBBBBBBBBBBBBf88888888889BBBBBBBBBBBAd888888888889BBBBBBBBBBAf888888888888+PPPPPPPPPP/wDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP/xAAiEQEAAQIGAwEBAAAAAAAAAAABADDwETFBUbHxECGhIHD/2gAIAQMBAT8Q/kDIYGMsjLIyyMsjLIyyMsjLIyyMsjDLIau5VkXpE6YrT+Q4qblWRekTpitT5HFPcqyL0idMVq/I4pblWRCKJj7Q3nRE6InRE6InRE6InRE6InRECmPrINz8fI4o7lWRekTpis5vNLg8nkOWKxFdAKG5VkXpE6Yr45vNLg8ngOWKzcqzb0oMLoLE64r55PNLg8kDhis3Ks29KPwvH4CmPvNN52ROyJ2ROyJ2ROyJ2ROyJ2RCaJh6E3JuVZt6UvheKocMVm5Vm3pT+F4qBwxWblWbelT4XimHLFZuVZt6VTbIZZWWVllZZWWVllZZWWVllZZWMrgY/wAh/8QAHREAAgMBAQADAAAAAAAAAAAAAAERMGExECAhcP/aAAgBAgEBPxD8g6hqampqampqampqJz92oUbNLr5WIUY0uzlWhRjS7eVSFEUjRkZGRkZGRkZGQo8L4cqUKM2lnGrr6k2hCQkqEKNml+cauvjGhCFoaFIxpfvGrqMaEIWnt8FFlmxsbGxsbGxsbDKBMQtXa1JtCELX2sSbQhC2dq2NCELa1P0YmJiYmJiYmJiYnEX5D//EACcQAAECBQMEAwEBAAAAAAAAAAEAESExobHxQEFQIGHB8BBR0YGQ/9oACAEBAAE/EP8AJ5oyYESxAJQC+nY6yBMgTIEyBMgTIEyBMgTIEyBMgTIEyBMgTIEyBMgTIEyBMgQghIbEwAZf3VtJ8NP8HdAexoh4F+Q5NWDAm8SASWL8hy9jemkEAbTmFgL8hyaigb2CBwSEYHIcmjJgTYZEpKQvyHJpPhp/g7oD2NEPAvyHJqwYEFWI0hwzMCwFdKaNGjRo0aNGjRo0aNGjRo0aNGF8RIo7yD61fL2N6aQQBtOYWAuqvS1Xqrk1FA3sEDgkIwPir0tV6m5NGTAmwyJSUhf5q9LVfVEG85hYC6eDCu50LSfDT/B3QHsaIeBfoq9LVfTP4mAksXT1gwaFqwYE3iQCSxfpq9LVfREe5oh4F08nw0/wdtC0GFdygDacwsBfqq9LVfzPhmSkpC6eMmDU8qvS1X8ROSYjAT0UDew1XKr0tVqIN5zCwF17G9NIavkIXxAijNMPrSmjRo0aNGjRo0aNGjRo0aNGjQVYjyHDu4LAVT1gwchyI9zRDwLp5Php/g7chyfDMlJSF08ZMHIcickxGAnooG9hyHIg3nMLAXXsb00hyHJ/EwEli6esGDkORHuaIeBdPJ8NP8HbVkEJHcmARP8AqyBMgTIEyBMgTIEyBMgTIEyBMgTIEyBMgTIEyBMgTIEyBMgQliECgF9sx08ZMH+T/wD/2Q==\"","import { useTheme } from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport OpenInNewIcon from \"@mui/icons-material/OpenInNew\";\nimport { useHistory } from \"react-router-dom\";\nimport Box from \"../../common/Box\";\nimport TextButton from \"../../common/TextButton\";\nimport Typography from \"../../common/Typography\";\nimport { formatTitle } from \"../../../utils/commonUtils\";\n\nconst GraphSelectedDataCard = ({ selectedNode, setSelectedNode }) => {\n  const theme = useTheme();\n  const history = useHistory();\n  const redirectionLink = selectedNode?.tooltip_content?.type\n    ?.toLocaleLowerCase()\n    ?.includes(\"rds\")\n    ? \"/datastore-details/764eb4c7-05f9-46a3-afb4-643eefb15eea/arn:aws:rds:us-east-1:099873896856:db:employee-details\"\n    : \"/datastore-details/3f672f44-f1ab-4923-a1b3-3d25c327a0fe/arn:aws:s3:::role-data-bucket\";\n  const styles = {\n    cardContainer: {\n      display: \"flex\",\n      justifyContent: \"center\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n      width: \"30%\",\n      position: \"absolute\",\n      right: 0,\n      height: \"auto\",\n      maxHeight: \"90%\",\n      top: 20,\n      boxShadow: `0px 0px 10px 0px ${theme.palette.surface0.main}, 0px 2px 3px -2px rgba(9, 12, 31, 0.70)`,\n      borderRadius: theme.spacing(0.5),\n      overflow: \"hidden\",\n    },\n    contentWrapper: {\n      overflowX: \"hidden\",\n      overflowY: \"auto\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    cardHeader: {\n      display: \"flex\",\n      width: \"100%\",\n      justifyContent: \"space-between\",\n    },\n    cardTitle: {\n      color: theme.palette.surface80.main,\n      fontSiz: \"13px\",\n    },\n    cardTitleWithLink: {\n      color: theme.palette.primaryBlue.main,\n      fontSiz: \"13px\",\n    },\n    linkIcon: {\n      marginLeft: \"4px\",\n      \"&.MuiSvgIcon-root\": {\n        height: \"16px\",\n        width: \"16px\",\n      },\n    },\n    propName: {},\n    propValue: {},\n    rowGroup: {\n      height: \"100%\",\n      marginBottom: theme.spacing(2),\n    },\n    row: {\n      display: \"grid\",\n      gridTemplateColumns: \"30% 70%\",\n      gridRowGap: theme.spacing(2),\n      gridColumnGap: theme.spacing(2),\n      marginBottom: theme.spacing(2),\n    },\n    closeIcon: {\n      color: theme.palette.surface80.main,\n      height: \"20px\",\n      width: \"20px\",\n      cursor: \"pointer\",\n    },\n  };\n\n  const contents = selectedNode?.tooltip_content;\n  let popupContents: React.ReactElement[] = [];\n  let index = 1;\n  for (var key in contents) {\n    index++;\n    if (contents.hasOwnProperty(key)) {\n      var val = contents[key];\n\n      popupContents.push(\n        <Box sx={styles.row}>\n          <Typography\n            color={theme.palette.surface60.main}\n            variant=\"caption\"\n            sx={styles.propName}\n          >\n            {formatTitle(key)}\n          </Typography>\n          <Typography\n            color={theme.palette.surface80.main}\n            variant=\"caption\"\n            sx={styles.propValue}\n          >\n            {val || \"-\"}\n          </Typography>\n        </Box>\n      );\n    }\n  }\n\n  const redirectTo = (link) => history.push(link);\n\n  return (\n    <Box sx={styles.cardContainer}>\n      <Box sx={styles.contentWrapper}>\n        <Box sx={styles.cardHeader}>\n          {selectedNode?.tooltip_content?.type ? (\n            <TextButton\n              endIcon={<OpenInNewIcon fontSize=\"small\" sx={styles?.linkIcon} />}\n              onClick={() => redirectTo(redirectionLink)}\n              sx={styles.cardTitleWithLink}\n            >\n              {selectedNode?.name}\n            </TextButton>\n          ) : (\n            <Typography variant=\"caption\" sx={styles.cardTitle}>\n              {selectedNode?.name}\n            </Typography>\n          )}\n          <CloseIcon\n            sx={styles.closeIcon}\n            onClick={() => setSelectedNode(null)}\n          />\n        </Box>\n        <Box sx={styles.rowGroup}>{popupContents}</Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default GraphSelectedDataCard;\n","import moment from \"moment\";\nimport React, { useEffect, useState } from \"react\";\nimport { Graph } from \"react-d3-graph\";\nimport { useHistory } from \"react-router-dom\";\nimport closeIcon from \"../../../../assets/img/icons/close-icon-grey.svg\";\nimport { config } from \"./TrainingDataGraphLinearConfig\";\nimport \"../TrainingDataGraphView.scss\";\nimport { getNodeIconByType } from \"../../d3-flow-chart/flowChartHelper\";\nimport Box from \"../../../common/Box\";\nimport GraphSelectedDataCard from \"../GraphSelectedDataCard\";\n\nconst TrainingDataGraphLineageView = ({\n  llmInfo,\n  width,\n  datastoreId,\n  trainingData,\n  modelName,\n}) => {\n  const [graphData, setGraphData] = useState(null);\n  const [selectedNode, setSelectedNode] = useState(null);\n  const history = useHistory();\n\n  // const TrainingData = [\n  //   {\n  //     FileName: \"training.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training.json\",\n  //     Source: \"Configured\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"4.16 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-08-01T04:32:36.491000\",\n  //   },\n  //   {\n  //     FileName: \"training_2.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training_2.json\",\n  //     Source: \"Configured\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"2.45 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-05-15T04:32:36.491000\",\n  //   },\n  //   {\n  //     FileName: \"training_3.json\",\n  //     Location: \"s3://sagemaker-us-east-1-253326764176/training_3.json\",\n  //     Source: \"Configured\",\n  //     sensitive_labels: \"SSN, PII, ADDRESS\",\n  //     size: \"6.34 GB\",\n  //     type: \"s3\",\n  //     training_date: \"2023-06-10T04:32:36.491000\",\n  //   },\n  // ];\n\n  const handleRefChange = (ref) => {\n    if (ref) ref.resetNodesPositions();\n  };\n\n  const nodeClicked = (data) => {\n    setSelectedNode(data);\n  };\n\n  const getGraphData = (data) => {\n    if (data) {\n      data.nodes.map((node) => {\n        node.height = \"2rem\";\n        node.width = \"2rem\";\n        node.data = {};\n        node.data.image = {\n          width: node.is_primary ? 50 : 40,\n          height: node.is_primary ? 50 : 40,\n          src: getNodeIconByType(node.type),\n          margin: \"10px auto 0 auto\",\n        };\n        node.data.handleClick = nodeClicked;\n        node.selected = false;\n      });\n    }\n\n    data.links = data.links\n      .filter((x) => data.nodes.find((y) => y.id === x.source))\n      ?.filter((x) => data.nodes.find((y) => y.id === x.target));\n\n    return data;\n  };\n\n  const getNodeLinkColor = (node) => {\n    switch (node.source) {\n      case \"Configured\":\n        return \"#3d61ff\";\n      case \"Access Path\":\n        return \"#fecf1c\";\n      case \"Live Access\":\n        return \"#FC4C02\";\n      default:\n        return \"#3d61ff\";\n    }\n  };\n\n  const getDataSources = () => {\n    let startId = 1;\n    const data = { nodes: [], links: [] };\n    let datastoreNode = {\n      id: startId++,\n      datastore_node: true,\n      is_primary: true,\n      name: llmInfo[0]?.modelName,\n      source: \"\",\n      x: 130,\n      y: 200,\n      heading: modelName,\n      datastoreId: datastoreId,\n      tooltip_content: {\n        name: modelName || llmInfo[0]?.modelName,\n        framework: llmInfo?.Framework,\n        owner: llmInfo?.Owner,\n        baseFamily: llmInfo?.[\"Base Family\"],\n      },\n    };\n\n    data.nodes.push(datastoreNode);\n\n    let modelPosition = datastoreNode.x;\n    // Generating Model nodes\n    for (let index = 0; index < trainingData.length; index++) {\n      let modelNode = {\n        id: startId++,\n        datastore_node: true,\n        is_primary: true,\n        name: llmInfo[index]?.modelName,\n        source: \"\",\n        x: modelPosition + 150,\n        y: 200,\n        heading: modelName,\n        datastoreId: datastoreId,\n        tooltip_content: {\n          name: modelName || llmInfo[0]?.modelName,\n          framework: llmInfo?.Framework,\n          owner: llmInfo?.Owner,\n          baseFamily: llmInfo?.[\"Base Family\"],\n        },\n      };\n      modelPosition = modelNode.x;\n      data.nodes.push(modelNode);\n\n      let link = {\n        id: new Date().toISOString(),\n        source: data.nodes[index].id,\n        target: modelNode.id,\n        fontColor: getNodeLinkColor(modelNode),\n        fontSize: \"12\",\n        strokeWidth: 3,\n        color: \"#AC5AFF\",\n        textAnchor: \"middle\",\n      };\n      data.links.push(link);\n    }\n\n    for (let index = 0; index < trainingData.length; index++) {\n      let trainingNode = {\n        id: startId++,\n        datastore_node: false,\n        is_primary: false,\n        name: trainingData[index].sourceName,\n        datastoreId: datastoreId,\n        source: trainingData[index].Source,\n        type: \"S3Bucket\",\n        x: data.nodes[index + 1].x,\n        y: data.nodes[index + 1].y - 100,\n        tooltip_content: {\n          // name: trainingData[index].FileName,\n          type: trainingData[index].type,\n          location: trainingData[index].Location,\n          training_date: moment(\n            moment.utc(trainingData[index]?.training_date).toDate()\n          )\n            .local()\n            .format(\"YYYY-MM-DD HH:mm:ss\"),\n          source: trainingData[index].Source,\n          sensitive_data: trainingData[index].sensitive_labels,\n          size: trainingData[index].size,\n        },\n      };\n      data.nodes.push(trainingNode);\n\n      let link = {\n        id: new Date().toISOString(),\n        source: trainingNode.id,\n        target: data.nodes[index + 1].id,\n        fontColor: getNodeLinkColor(trainingNode),\n        fontSize: \"12\",\n        strokeWidth: 3,\n        color: getNodeLinkColor(trainingNode),\n        textAnchor: \"middle\",\n      };\n      data.links.push(link);\n    }\n    return data;\n  };\n\n  const formatTitle = (title) => {\n    let formatedTitle = title.replace(\"_\", \" \");\n    const arr = formatedTitle.split(\" \");\n    for (var index = 0; index < arr.length; index++) {\n      arr[index] = arr[index].charAt(0).toUpperCase() + arr[index].slice(1);\n    }\n    return arr.join(\" \");\n  };\n\n  const getRightPanel = () => {\n    if (selectedNode && selectedNode !== \"\") {\n      return (\n        <GraphSelectedDataCard\n          selectedNode={selectedNode}\n          setSelectedNode={setSelectedNode}\n        />\n      );\n    }\n  };\n  useEffect(() => {\n    getRightPanel();\n  }, [selectedNode]);\n\n  useEffect(() => {\n    setSelectedNode(null);\n    if (trainingData) {\n      let sources = getDataSources();\n      const graphDataset = getGraphData(sources);\n      setGraphData({ nodes: graphDataset.nodes, links: graphDataset.links });\n    } else {\n      setGraphData({ nodes: [], links: [] });\n    }\n  }, [width, trainingData, modelName]);\n\n  return (\n    <Box\n      sx={{\n        width: \"100%\",\n        position: \"relative\",\n      }}\n    >\n      <div className=\"linear-graph\">\n        {graphData && (\n          <Graph\n            id=\"access-graph-id\"\n            data={graphData}\n            config={config}\n            ref={handleRefChange}\n            width=\"200px\"\n          />\n        )}\n      </div>\n      {getRightPanel()}\n    </Box>\n  );\n};\n\nexport default TrainingDataGraphLineageView;\n","import TrainingDataCustomLink from \"../../d3-flow-chart/TrainingDataCustomLink\";\nimport TrainingDataCustomNode from \"../TrainingDataCustomNode\";\n\nexport const config = {\n  automaticRearrangeAfterDropNode: false,\n  collapsible: false,\n  height: 328,\n  highlightDegree: 1,\n  highlightOpacity: 0.2,\n  linkHighlightBehavior: false,\n  maxZoom: 8,\n  minZoom: 0.1,\n  directed: true,\n  nodeHighlightBehavior: false,\n  panAndZoom: false,\n  staticGraph: false,\n  staticGraphWithDragAndDrop: true,\n  width: \"100%\",\n  d3: {\n    alphaTarget: 0.05,\n    gravity: -400,\n    linkLength: 300,\n    // linkStrength: 1,\n    disableLinkForce: false,\n  },\n  node: {\n    color: \"#d3d3d3\",\n    fontColor: \"black\",\n    fontSize: 12,\n    fontWeight: \"normal\",\n    highlightColor: \"red\",\n    highlightFontSize: 12,\n    highlightFontWeight: \"bold\",\n    highlightStrokeColor: \"SAME\",\n    highlightStrokeWidth: 1.5,\n    labelProperty: \"name\",\n    mouseCursor: \"pointer\",\n    opacity: 1,\n    renderLabel: false,\n    size: {\n      width: 950,\n      height: 1150,\n    },\n    strokeColor: \"none\",\n    strokeWidth: 1.5,\n    svg: \"\",\n    symbolType: \"circle\",\n    viewGenerator: (node) => <TrainingDataCustomNode node={node} />,\n  },\n  link: {\n    color: \"#31477d\",\n    opacity: 1,\n    semanticStrokeWidth: false,\n    strokeWidth: 2,\n    labelProperty: \"linkLabel\",\n    // renderLabel: true,\n    // viewGenerator: (link) => <TrainingDataCustomLink node={link} />,\n  },\n};\n","import moment from \"moment\";\nimport React, { useEffect, useState } from \"react\";\nimport { Graph } from \"react-d3-graph\";\nimport { useHistory } from \"react-router-dom\";\nimport closeIcon from \"../../../../assets/img/icons/close-icon-grey.svg\";\nimport { config } from \"./TrainingDataOrchestratorGraphConfig\";\nimport \"../TrainingDataGraphView.scss\";\nimport { getNodeIconByType } from \"../../d3-flow-chart/flowChartHelper\";\nimport Box from \"../../../common/Box\";\nimport GraphSelectedDataCard from \"../GraphSelectedDataCard\";\n\nconst TrainingDataGraphLineageView = ({ llmInfo, width, datastoreId }) => {\n  const [graphData, setGraphData] = useState(null);\n  const [selectedNode, setSelectedNode] = useState(null);\n  const history = useHistory();\n\n  const TrainingData = [\n    {\n      FileName: \"Langchain\",\n      Version: \"0.0.259\",\n      install_location: \"/usr/home/sachin/.env/bin\",\n      github_link: \"https://github.com/langchain-ai/langchain\",\n      license_type: \"MIT License\",\n      documentation_site_link:\n        \"https://python.langchain.com/docs/get_started/introduction.html\",\n      pypi_link: \"https://pypi.org/project/langchain/\",\n      size: \"6.7 MB\",\n      sub_node: false,\n      main_node: true,\n      datastore_node: false,\n      type: \"langchain\",\n    },\n    {\n      FileName: \"ChromaDB\",\n      Version: \"0.4.5   \",\n      install_location: \"/usr/home/sachin/.env/bin\",\n      installed_via_package_manager: \"PIP installation\",\n      github_link: \"https://github.com/chroma-core/chroma\",\n      license_type: \"Apache Software License\",\n      documentation_site_link: \"https://docs.trychroma.com\",\n      pypi_link: \"https://pypi.org/project/chromadb\",\n      size: \"647 KB\",\n      sub_node: false,\n      main_node: false,\n\n      datastore_node: false,\n      type: \"vectorDB\",\n    },\n    {\n      FileName: \"training.json\",\n      Location: \"s3://sagemaker-us-east-1-099873896856/training.json\",\n      Source: \"Configured\",\n      sensitive_labels: \"SSN, PII, ADDRESS\",\n      size: \"4.16 GB\",\n      type: \"S3Bucket\",\n      training_date: \"2023-05-10T04:32:36.491000\",\n      policy_violation: true,\n      account: \"099873896856\",\n      count: 4,\n      sub_node: true,\n      main_node: false,\n\n      datastore_node: false,\n    },\n    {\n      FileName: \"RDS\",\n      Source: \"Configured\",\n      sensitive_labels: \"SSN, PII, ADDRESS\",\n      size: \"4.16 GB\",\n      type: \"RDSInstance\",\n      training_date: \"2023-05-10T04:32:36.491000\",\n      policy_violation: true,\n      account: \"099873896856\",\n      count: 4,\n      sub_node: true,\n      main_node: false,\n\n      datastore_node: false,\n    },\n  ];\n\n  const handleRefChange = (ref) => {\n    if (ref) ref.resetNodesPositions();\n  };\n\n  const nodeClicked = (data) => {\n    setSelectedNode(data);\n  };\n\n  const getGraphData = (data) => {\n    if (data) {\n      data.nodes.map((node) => {\n        node.height = \"2rem\";\n        node.width = \"2rem\";\n        node.data = {};\n        node.data.image = {\n          width: 40,\n          height: 40,\n          src: getNodeIconByType(node.type),\n          margin: \"10px auto 0 auto\",\n        };\n        node.data.handleClick = nodeClicked;\n        node.selected = false;\n      });\n    }\n\n    data.links = data.links\n      .filter((x) => data.nodes.find((y) => y.id === x.source))\n      ?.filter((x) => data.nodes.find((y) => y.id === x.target));\n\n    return data;\n  };\n\n  const getNodeLinkColor = (node) => {\n    switch (node.source) {\n      case \"Configured\":\n        return \"#3d61ff\";\n      case \"Access Path\":\n        return \"#fecf1c\";\n      case \"Live Access\":\n        return \"#FC4C02\";\n      default:\n        return \"#3d61ff\";\n    }\n  };\n\n  const getDataSources = () => {\n    let startId = 1;\n    const data = { nodes: [], links: [] };\n    let datastoreNode = {\n      id: startId++,\n      datastore_node: true,\n      is_primary: true,\n      name: llmInfo?.name,\n      source: \"\",\n      x: 100,\n      y: 100,\n      heading: llmInfo?.name,\n      datastoreId: datastoreId,\n      tooltip_content: {\n        name: llmInfo?.name,\n        framework: llmInfo?.Framework,\n        owner: llmInfo?.Owner,\n        baseFamily: llmInfo?.family,\n      },\n    };\n\n    data.nodes.push(datastoreNode);\n\n    let modelPosition = datastoreNode.x;\n    let mainNodeX = \"\";\n    let mainNodeY = \"\";\n    let mainId = \"\";\n\n    // Generating Model nodes\n    for (let index = 0; index < TrainingData.length; index++) {\n      if (TrainingData[index].sub_node === false) {\n        let modelNode = {\n          id: startId++,\n          datastore_node: TrainingData[index].datastore_node,\n          is_primary: true,\n          name: TrainingData[index].FileName,\n          source: \"\",\n          x: modelPosition + 250,\n          y: 100,\n          heading: llmInfo?.Name,\n          datastoreId: datastoreId,\n          type: TrainingData[index].type,\n\n          tooltip_content: {\n            name: TrainingData[index].FileName,\n            size: TrainingData[index].size,\n            version: TrainingData[index].Version,\n            install_location: TrainingData[index].install_location,\n            installed_via_package_manager:\n              TrainingData[index].installed_via_package_manager,\n            github_link: TrainingData[index].github_link,\n            license_type: TrainingData[index].license_type,\n            documentation_site_link:\n              TrainingData[index].documentation_site_link,\n            pypi_link: TrainingData[index].pypi_link,\n          },\n        };\n        if (TrainingData[index].FileName === \"Langchain\") {\n          mainNodeX = modelNode.x - 50;\n          mainNodeY = modelNode.y;\n          mainId = modelNode.id;\n        }\n\n        modelPosition = modelNode.x;\n        data.nodes.push(modelNode);\n\n        let link = {\n          id: new Date().toISOString(),\n          source: TrainingData[index].main_node\n            ? modelNode.id\n            : data.nodes[index].id,\n          target: TrainingData[index].main_node\n            ? data.nodes[index].id\n            : modelNode.id,\n          fontColor: getNodeLinkColor(modelNode),\n          fontSize: \"12\",\n          strokeWidth: 3,\n          color: \"#3d61ff\",\n          textAnchor: \"middle\",\n        };\n        data.links.push(link);\n      }\n    }\n    let subNodeX = mainNodeX - 50;\n\n    for (let index = 0; index < TrainingData.length; index++) {\n      if (TrainingData[index].sub_node === true) {\n        let trainingNode = {\n          id: startId++,\n          datastore_node: false,\n          is_primary: false,\n          name: TrainingData[index].FileName,\n          datastoreId: datastoreId,\n          source: TrainingData[index].Source,\n          type: TrainingData[index].type,\n          x: subNodeX,\n          y: mainNodeY + 180,\n          tooltip_content: {\n            // name: TrainingData[index].FileName,\n            type: TrainingData[index].type,\n            location: TrainingData[index].Location,\n            training_date: moment(\n              moment.utc(TrainingData[index]?.training_date).toDate()\n            )\n              .local()\n              .format(\"YYYY-MM-DD HH:mm:ss\"),\n            source: TrainingData[index].Source,\n            sensitive_data: TrainingData[index].sensitive_labels,\n            size: TrainingData[index].size,\n          },\n        };\n        subNodeX = subNodeX + 190;\n        data.nodes.push(trainingNode);\n\n        let link = {\n          id: new Date().toISOString(),\n          source: trainingNode.id,\n          target: mainId,\n          fontColor: getNodeLinkColor(trainingNode),\n          fontSize: \"12\",\n          strokeWidth: 3,\n          color: \"#AC5AFF\",\n          textAnchor: \"middle\",\n        };\n        // let link2 = {\n        //   id: new Date().toISOString(),\n        //   source: mainId,\n        //   target: trainingNode.id,\n        //   fontColor: getNodeLinkColor(trainingNode),\n        //   fontSize: \"12\",\n        //   strokeWidth: 3,\n        //   color: \"#AC5AFF\",\n        //   textAnchor: \"middle\",\n        //   class: \"link2\",\n        // };\n\n        data.links.push(link);\n        // data.links.push(link2);\n      }\n    }\n    return data;\n  };\n\n  const formatTitle = (title) => {\n    let formatedTitle = title.replaceAll(\"_\", \" \");\n    let arr = formatedTitle.split(\" \");\n\n    for (var index = 0; index < arr.length; index++) {\n      arr[index] = arr[index].charAt(0).toUpperCase() + arr[index].slice(1);\n    }\n    return arr.join(\" \");\n  };\n\n  const getRightPanel = () => {\n    if (selectedNode && selectedNode !== \"\") {\n      return (\n        <GraphSelectedDataCard\n          selectedNode={selectedNode}\n          setSelectedNode={setSelectedNode}\n        />\n      );\n    }\n  };\n  useEffect(() => {\n    getRightPanel();\n  }, [selectedNode]);\n\n  useEffect(() => {\n    setSelectedNode(null);\n    if (TrainingData) {\n      let sources = getDataSources();\n      const graphDataset = getGraphData(sources);\n      setGraphData({ nodes: graphDataset.nodes, links: graphDataset.links });\n    } else {\n      setGraphData({ nodes: [], links: [] });\n    }\n  }, [width, llmInfo]);\n\n  return (\n    <Box\n      sx={{\n        width: \"100%\",\n        position: \"relative\",\n      }}\n    >\n      <div className=\"linear-graph\">\n        {graphData && (\n          <Graph\n            id=\"access-graph-id\"\n            data={graphData}\n            config={config}\n            ref={handleRefChange}\n            width=\"200px\"\n          />\n        )}\n      </div>\n      {getRightPanel()}\n    </Box>\n  );\n};\n\nexport default TrainingDataGraphLineageView;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { useParams } from \"react-router-dom\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport \"./ShadowLLMComponent.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport loaderWhite from \"../../assets/img/half-circle-white.svg\";\nimport \"reactjs-popup/dist/index.css\";\nimport tagIcon from \"../../assets/img/icons/tagImage.svg\";\nimport Moment from \"react-moment\";\nimport CPU from \"../../assets/img/v1-icons/cpu.svg\";\nimport SharedCard from \"../home/v1/sharedCard/SharedCard\";\nimport RiskScore from \"../../assets/img/llm/risk-score.svg\";\nimport BiasScore from \"../../assets/img/llm/bias-score.svg\";\n// import StarScore from \"../../assets/img/llm/star.svg\";\nimport { ReactComponent as StarScore } from \"../../assets/img/llm/star.svg\";\nimport CreateTicket from \"../../assets/img/v1-icons/create-ticket.svg\";\nimport ViewTicket from \"../../assets/img/v1-icons/view-ticket.svg\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\nimport { getPolicyStatsAsync } from \"../../redux/slices/policySlice\";\nimport ManageTagsModal from \"../../components/modal/manage-tags-modal/ManageTagsModal\";\nimport SensitiveDataModal from \"../../components/modal/sensitive-data/SensitiveDataModal\";\nimport { trainingDataList } from \"./training_data\";\nimport ViolationIcon from \"../../assets/img/icons/compliance-violation.svg\";\nimport {\n  listDataStoreTagsAsync,\n  updateDataStoreAsync,\n} from \"../../redux/slices/dataStoreSlice\";\nimport EditIcon from \"../../assets/img/edit.svg\";\nimport DatastoreTicketModal from \"../../components/modal/datastore-ticket-modal/DatastoreTicketModal\";\nimport HuggingFace from \"../../assets/img/hugging.png\";\nimport IssueInstanceModal from \"../modal/issue-instance-modal/IssueInstanceModal\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport Toggle from \"react-toggle\";\nimport \"react-toggle/style.css\"; // for ES6 modules\nimport { fetchDatastoreDescriptionAsync } from \"../../redux/slices/dataStoreSlice\";\nimport TrainingDataGraphView from \"../charts/llm-charts/training-data-graph/TrainingDataGraphView\";\nimport TrainingDataGraphLineageView from \"../charts/llm-charts/training-data-linear-graph/TrainingDataGraphLineageView\";\nimport TranningDataOrchestratorGraph from \"../charts/llm-charts/training-data-orchestrator/TrainingDataOrchestratorGraph\";\n\nconst ShadowLLMComponent = ({ selectedAccount }) => {\n  const params = useParams();\n  const [loading, setLoading] = useState(false);\n  const dispatch = useDispatch();\n  const [ticketModal, setTicketModal] = useState(false);\n  const [ticketModalInfo, setTicketModalInfo] = useState(false);\n  const [isIssueInstanceModal, setIsIssueInstanceModal] = useState();\n  const history = useHistory();\n  const [trainingData, setTrainingData] = useState([]);\n  const datastoreId = params.id?.replaceAll(\"_\", \"/\");\n  const assetId = params.assetId?.replaceAll(\"_\", \"/\");\n  const policyViolationId = params?.policyViolationId;\n  const [tags, setTags] = useState([]);\n  const [datastoreDescriptions, setDatastoreDescriptions] = useState([]);\n  const [launchButtonTitle, setLaunchButtonTitle] = useState(\"Launch AIScan\");\n  const [trainingDataGraphView, setTrainingDataGraphView] = useState(false);\n  const [graphLineageView, setGraphLineageView] = useState(false);\n  const [moreTags, setMoreTags] = useState([]);\n  const [isManageTagsModal, setIsManageTagsModal] = useState(false);\n  const [isSensitiveDataModal, setIsSensitiveDataModal] = useState(false);\n  const [datastore, setDatastore] = useState({});\n  const [datastorePolicy, setDatastorePolicy] = useState();\n  const [datastoreType, setDatastoreType] = useState(null);\n  const [trainingDataFilter, setTrainningDataFilter] = useState(\"all\");\n  const [width, setWidth] = useState(0);\n  const ref = useRef();\n  const [\n    policyViolationsMaliciousActivity,\n    setpolicyViolationsMaliciousActivity,\n  ] = useState(false);\n  const [\n    policyViolationsSensitiveData,\n    setPolicyViolationsSensitiveData,\n  ] = useState(false);\n\n  useEffect(() => {\n    setWidth(ref?.current?.offsetWidth);\n  }, []);\n\n  useEffect(() => {\n    window.addEventListener(\"resize\", getWidth);\n    // return () => {\n    //   removeSelectedDataFlow();\n    // };\n  }, []);\n\n  const getWidth = () => {\n    setWidth(ref?.current?.clientWidth);\n  };\n  const getDatastore = async () => {\n    setLoading(true);\n    let url = `/datastore/instance/detail`;\n    const payload = {\n      id: datastoreId,\n      assetId: assetId,\n      customerId: getCustomerId(),\n    };\n    let res;\n    res = await axiosDenaliPrivate.post(url, payload);\n\n    if (res && res.data) {\n      setDatastore(res.data);\n      setDatastoreType(res.data.datastoreType);\n\n      setTrainingData([\n        ...res?.data?.llmInfo?.TrainingData,\n        ...trainingDataList,\n      ]);\n      // setTrainingData(trainingDataList);\n      // setTrainingData(res?.data?.llmInfo?.TrainingData);\n    } else {\n      setDatastore([]);\n    }\n    setLoading(false);\n  };\n\n  const getSensitiveData = async () => {\n    const payload = {\n      id: datastoreId,\n      customerId: getCustomerId(),\n    };\n    let resp = await dispatch(fetchDatastoreDescriptionAsync(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      setDatastoreDescriptions(\n        resp?.payload?.filter((element) => element?.Automated !== \"Manual\")\n      );\n    }\n  };\n\n  const updateDataStore = async (type_) => {\n    if (!type_) return;\n\n    const resp = await dispatch(\n      updateDataStoreAsync({\n        datastoreType: type_,\n        customerId: getCustomerId(),\n        datastoreId: datastoreId,\n      })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Datastore Type updated successfully.\");\n      getDatastore();\n    } else {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Datastore Type updated successfully.\");\n      getDatastore();\n      // Toaster(\n      //   TOASTER_TYPES.ERROR,\n      //   resp.payload?.err?.message || \"Failed to add account.\"\n      // );\n      // handleModal(false);\n    }\n  };\n\n  const getPolicyStats = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n      datastoreId: datastoreId,\n      policyViolationId: policyViolationId ? policyViolationId : null,\n    };\n    let resp = await dispatch(getPolicyStatsAsync(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      setDatastorePolicy(resp.payload);\n    } else {\n      setDatastorePolicy([]);\n    }\n  };\n  const refreshPolicies = () => {\n    getPolicyStats();\n  };\n\n  const refreshDataStoreTags = async () => {\n    const res = await dispatch(\n      listDataStoreTagsAsync({\n        customerId: getCustomerId(),\n        cloudAccountId: datastore?.cloudAccountId || \"\",\n        datastoreId: datastoreId,\n      })\n    );\n    let tagList = [];\n    if (res && res.payload && !res.payload.err) {\n      // Adding sensitive tag\n      if (res.payload?.customerSensTag) {\n        tagList.push({\n          value: res.payload.customerSensTag,\n          label: res.payload.customerSensTag,\n          type: \"sensitive\",\n        });\n      }\n      if (res.payload?.customerTags) {\n        // Adding custom tag\n        res.payload.customerTags.map((tag) => {\n          if (\n            tag.toLowerCase() === \"us_access_only\" ||\n            tag.includes(\"us access only\") ||\n            tag.includes(\"us-access-only\")\n          ) {\n            // props.setIsUSOnlyAccess(true);\n          }\n\n          tagList.push({\n            value: tag,\n            label: tag,\n            type: \"custom\",\n          });\n        });\n      }\n    }\n    setTags(tagList);\n  };\n\n  useEffect(() => {\n    getSensitiveData();\n  }, []);\n\n  useEffect(() => {\n    if (datastore && datastore.cloudAccountId) {\n      refreshDataStoreTags();\n    }\n  }, [datastore]);\n\n  useEffect(() => {\n    getPolicyStats();\n    getDatastore();\n    getSensitiveData();\n  }, []);\n\n  const viewPolicy = (policy) => {\n    history.push(\"/datastore/policy-violation/\" + policy.policyViolationId);\n    sessionStorage.setItem(\n      \"policy\",\n      JSON.stringify({\n        name: policy.policyViolationName,\n        id: policy.policyViolationId,\n        description: policy.description ? policy.description : null,\n        remediation: policy.remediation ? policy.remediation : null,\n      })\n    );\n  };\n\n  const editPolicy = (id) => {\n    history.push(\"/datastore/policy-violation/\" + id);\n  };\n\n  const launchAIScan = () => {\n    setLaunchButtonTitle(\"Loading Model\");\n\n    setTimeout(() => {\n      setLaunchButtonTitle(\"Running AIScan\");\n\n      setTimeout(() => {\n        setLaunchButtonTitle(\"Launch AIScan\");\n        let launchObj = {\n          FileName: \"\",\n          source: \"AIScan\",\n        };\n        launchObj[\"sensitive labels\"] = \"PII, PHI, PCI\";\n        if (trainingData.length > 0) {\n          setTrainingData([...trainingData, launchObj]);\n        } else {\n          setTrainingData([launchObj]);\n        }\n      }, \"60000\");\n    }, \"60000\");\n  };\n\n  return (\n    <BlockUi\n      tag=\"div\"\n      blocking={loading}\n      loader={\n        <Loader active type={LOADER_CONFIG.type} color={LOADER_CONFIG.color} />\n      }\n    >\n      <div className=\"llm-container\">\n        <SharedCard>\n          <div className=\"row mb-2\">\n            <div class=\"col-lg-6 col-md-6\">\n              {datastore &&\n                datastore.llmInfo &&\n                datastore.llmInfo.llmInformation && (\n                  <div className=\"left-container\">\n                    <h6 className=\"title\">\n                      LLM Information\n                      <a\n                        target=\"_blank\"\n                        href={\"https://huggingface.co/\"}\n                        title=\"huggingface.co\"\n                      >\n                        <img src={HuggingFace} />\n                      </a>\n                    </h6>\n                    <div className=\"\">\n                      <div className=\"row \">\n                        <div className=\"col-md-12 \">\n                          <table>\n                            <tbody>\n                              <tr>\n                                <td className=\"key\">Name:</td>\n                                <td className=\"value pl-4\">\n                                  {\" \"}\n                                  {datastore.llmInfo.llmInformation.Name}\n                                </td>\n                              </tr>\n                              <tr>\n                                <td className=\"key\">Base Family:</td>\n                                <td className=\"value pl-4\">\n                                  {\" \"}\n                                  {\n                                    datastore.llmInfo.llmInformation[\n                                      \"Base Family\"\n                                    ]\n                                  }\n                                </td>\n                              </tr>{\" \"}\n                              <tr>\n                                <td className=\"key\">Framework:</td>\n                                <td className=\"value pl-4\">\n                                  {\" \"}\n                                  {\n                                    datastore.llmInfo.llmInformation[\n                                      \"Framework\"\n                                    ]\n                                  }\n                                </td>\n                              </tr>{\" \"}\n                              <tr>\n                                <td className=\"key\">Owner:</td>\n                                <td className=\"value pl-4\">\n                                  {\" \"}\n                                  {datastore.llmInfo.llmInformation[\"Owner\"]}\n                                </td>\n                              </tr>{\" \"}\n                              <tr>\n                                <td className=\"key\">Tags:</td>\n                                <td className=\"value pl-4\">\n                                  {\" \"}\n                                  <div class=\"row \">\n                                    {tags.length === 0 ? (\n                                      <div class=\"col-md-auto pl-3 p-0\">\n                                        {\" \"}\n                                        N/A{\" \"}\n                                      </div>\n                                    ) : (\n                                      tags.map((tag, index) => (\n                                        <div key={index}>\n                                          {index < 3 ? (\n                                            <div class=\"col-md-auto pl-3 p-0\">\n                                              <span className=\"subvalue-bold data-store-tag\">\n                                                <img\n                                                  className=\"mr-1\"\n                                                  src={tagIcon}\n                                                ></img>\n                                                <span\n                                                  title={\n                                                    tag?.label.length > 12\n                                                      ? tag?.label\n                                                      : \"\"\n                                                  }\n                                                >\n                                                  {tag?.label.length > 12\n                                                    ? tag?.label.slice(0, 12) +\n                                                      \"...\"\n                                                    : tag.label || \"\"}\n                                                </span>\n                                              </span>\n                                            </div>\n                                          ) : (\n                                            \"\"\n                                          )}\n                                          {/* Adding more tags link */}\n                                          {index == 3 && (\n                                            <Popup\n                                              trigger={(open) => (\n                                                <div class=\"col-md-auto pl-3 p-0\">\n                                                  <span className=\"subvalue-bold more-tags\">\n                                                    <b>\n                                                      <u>more...</u>\n                                                    </b>\n                                                  </span>\n                                                </div>\n                                              )}\n                                              position=\"right top\"\n                                              closeOnDocumentClick\n                                              className=\"top-panel-tags\"\n                                            >\n                                              <div className=\"header\">Tags</div>\n                                              <div class=\"row\">\n                                                {moreTags.map((tag, index) => (\n                                                  <div\n                                                    key={index}\n                                                    class=\"col-md-auto\"\n                                                  >\n                                                    <div className=\"subvalue-bold data-store-tag m-2\">\n                                                      <img\n                                                        className=\"mr-2\"\n                                                        src={tagIcon}\n                                                      ></img>\n                                                      <span\n                                                        className=\"subvalue-bold\"\n                                                        title={tag.label}\n                                                      >\n                                                        {tag?.label.length > 25\n                                                          ? tag?.label.slice(\n                                                              0,\n                                                              25\n                                                            ) + \"...\"\n                                                          : tag.label || \"\"}\n                                                      </span>\n                                                    </div>\n                                                  </div>\n                                                ))}\n                                              </div>\n                                            </Popup>\n                                          )}\n                                        </div>\n                                      ))\n                                    )}\n                                  </div>\n                                </td>\n                              </tr>\n                            </tbody>\n                          </table>\n                        </div>\n                      </div>\n                      {/* <div className=\"row \">\n                        <div className=\"col-sm-3 key \">Name:</div>\n                        <div className=\"col-sm-9 value \">\n                          {datastore.llmInfo.llmInformation.Name}\n                        </div>\n                      </div>\n                      <div className=\"row pl-3\">\n                        <div className=\"col-sm-3 key\">Base Family:</div>\n                        <div className=\"col-sm-9 value\">\n                          {datastore.llmInfo.llmInformation[\"Base Family\"]}\n                        </div>\n                      </div>\n                      <div className=\"row pl-3\">\n                        <div className=\"col-sm-3 key\">Framework:</div>\n                        <div className=\"col-sm-9 value\">\n                          {datastore.llmInfo.llmInformation[\"Framework\"]}\n                        </div>\n                      </div>\n                      <div className=\"row pl-3\">\n                        <div className=\"col-sm-3 key\">Owner:</div>\n                        <div className=\"col-sm-9 value\">\n                          {datastore.llmInfo.llmInformation[\"Owner\"]}\n                        </div>\n                      </div> */}\n                      {/* <div className=\"row pl-3\">\n                        <div className=\"col col-sm-3 key workday-subheading\">\n                          Tags:\n                        </div>\n                        <div className=\"col col-sm-8 d-flex value workday-subheading-value\">\n                          <div class=\"row \">\n                            {tags.length === 0 ? (\n                              <div class=\"col-md-auto pl-3 p-0\"> N/A </div>\n                            ) : (\n                              tags.map((tag, index) => (\n                                <div key={index}>\n                                  {index < 3 ? (\n                                    <div class=\"col-md-auto pl-3 p-0\">\n                                      <span className=\"subvalue-bold data-store-tag\">\n                                        <img\n                                          className=\"mr-1\"\n                                          src={tagIcon}\n                                        ></img>\n                                        <span\n                                          title={\n                                            tag?.label.length > 12\n                                              ? tag?.label\n                                              : \"\"\n                                          }\n                                        >\n                                          {tag?.label.length > 12\n                                            ? tag?.label.slice(0, 12) + \"...\"\n                                            : tag.label || \"\"}\n                                        </span>\n                                      </span>\n                                    </div>\n                                  ) : (\n                                    \"\"\n                                  )}\n                                  {index == 3 && (\n                                    <Popup\n                                      trigger={(open) => (\n                                        <div class=\"col-md-auto pl-3 p-0\">\n                                          <span className=\"subvalue-bold more-tags\">\n                                            <b>\n                                              <u>more...</u>\n                                            </b>\n                                          </span>\n                                        </div>\n                                      )}\n                                      position=\"right top\"\n                                      closeOnDocumentClick\n                                      className=\"top-panel-tags\"\n                                    >\n                                      <div className=\"header\">Tags</div>\n                                      <div class=\"row\">\n                                        {moreTags.map((tag, index) => (\n                                          <div key={index} class=\"col-md-auto\">\n                                            <div className=\"subvalue-bold data-store-tag m-2\">\n                                              <img\n                                                className=\"mr-2\"\n                                                src={tagIcon}\n                                              ></img>\n                                              <span\n                                                className=\"subvalue-bold\"\n                                                title={tag.label}\n                                              >\n                                                {tag?.label.length > 25\n                                                  ? tag?.label.slice(0, 25) +\n                                                    \"...\"\n                                                  : tag.label || \"\"}\n                                              </span>\n                                            </div>\n                                          </div>\n                                        ))}\n                                      </div>\n                                    </Popup>\n                                  )}\n                                </div>\n                              ))\n                            )}\n                          </div>\n                        </div>\n                      </div> */}\n                    </div>\n                  </div>\n                )}\n            </div>\n            <div class=\"col-lg-6 col-md-6\">\n              <div className=\"right-container\">\n                {datastore &&\n                  datastore.llmInfo &&\n                  datastore.llmInfo.TrainingDataSets && (\n                    <div>\n                      <div className=\"row\">\n                        <div className=\"col-sm-6 p-0\">\n                          <img src={BiasScore} />\n                          <span className=\"score-title\">Bias Score</span>\n                          <h5 className=\"score-value\">\n                            {datastore.llmInfo.TrainingDataSets[\"Bias Score\"]}\n                          </h5>\n                        </div>\n                        <div className=\"col-sm-6 p-0\">\n                          <img src={RiskScore} />\n\n                          <span className=\"score-title\">Toxicity Score</span>\n                          <h5 className=\"score-value\">\n                            {datastore.llmInfo.TrainingDataSets[\"Risk Score\"]}\n                          </h5>\n                        </div>\n                        <div className=\"col-lg-12 col-md-12 p-0\">\n                          {\" \"}\n                          <table>\n                            <tbody>\n                              <tr>\n                                <td className=\"info\">\n                                  <span className=\"model-hash\">\n                                    Model Hash:\n                                  </span>\n                                </td>\n                                <td>\n                                  <span className=\"hash\">\n                                    {\n                                      datastore.llmInfo.TrainingDataSets[\n                                        \"Model Hash\"\n                                      ]\n                                    }\n                                  </span>\n                                </td>\n                              </tr>\n                              <tr>\n                                <td className=\"info\">\n                                  {\" \"}\n                                  <span className=\"model-hash\">\n                                    Training Data Sets:\n                                  </span>\n                                </td>\n                                <td>\n                                  {\" \"}\n                                  <span className=\"hash\">\n                                    {datastore?.llmInfo?.TrainingData?.length}\n                                  </span>\n                                </td>\n                              </tr>\n                            </tbody>\n                          </table>\n                        </div>\n\n                        {/* <h6 className=\"info\">\n                          <span className=\"model-hash\">Model Hash:</span>\n                          <span className=\"hash\">\n                            {datastore.llmInfo.TrainingDataSets[\"Model Hash\"]}\n                          </span>\n                        </h6> */}\n                      </div>\n                      {/* <h6 className=\"mt-1 info\">\n                        <span className=\"model-hash\">Training Data Sets:</span>\n                        <span className=\"hash\">\n                          {datastore?.llmInfo?.TrainingData?.length}\n                        </span>\n                      </h6> */}\n                    </div>\n                  )}\n              </div>\n            </div>\n          </div>\n          <div className=\"row  action-buttons\">\n            <div className=\"col col-sm-12 workday-subheading\">\n              <button\n                type=\"button\"\n                onClick={() => setIsManageTagsModal(true)}\n                className=\"btn float-left mr-3 btn-primary btn-sm my-1\"\n                disabled={!datastore?.cloudAccountId}\n              >\n                Manage Tags\n              </button>\n              <button\n                type=\"button\"\n                onClick={() => setIsSensitiveDataModal(true)}\n                className=\"btn   btn-primary btn-sm my-1\"\n                disabled={\n                  datastoreDescriptions && datastoreDescriptions.length === 0\n                }\n              >\n                Sensitive Data\n              </button>\n\n              {datastoreType !== \"managed\" ? (\n                <button\n                  type=\"button\"\n                  onClick={() =>\n                    updateDataStore(\n                      datastoreType === \"shadow\"\n                        ? \"self-managed\"\n                        : datastoreType === \"self-managed\"\n                        ? \"shadow\"\n                        : null\n                    )\n                  }\n                  className=\"btn   btn-primary btn-sm my-1 ml-3\"\n                >\n                  {datastoreType === \"shadow\" ? \"Sanctioned\" : \"Shadow\"}\n                </button>\n              ) : (\n                \"\"\n              )}\n            </div>\n            {isManageTagsModal ? (\n              <ManageTagsModal\n                tags={tags}\n                refreshDataStoreTags={refreshDataStoreTags}\n                handleModal={() => setIsManageTagsModal(false)}\n                datastoreId={datastoreId}\n                cloudAccountId={datastore?.cloudAccountId}\n              />\n            ) : (\n              \"\"\n            )}\n            {isSensitiveDataModal && (\n              <SensitiveDataModal\n                handleModal={() => setIsSensitiveDataModal(false)}\n                datastoreDescriptions={datastoreDescriptions}\n                sensitiveScore={datastore.sensitiveScore}\n              />\n            )}\n          </div>\n        </SharedCard>\n        <SharedCard>\n          <div className=\"row mb-2\">\n            <div class=\"col-lg-6 col-md-6\">\n              {datastore &&\n                datastore.llmInfo &&\n                datastore.llmInfo.InstallInformation && (\n                  <div className=\"left-container\">\n                    <h6 className=\"title\">Instance information</h6>\n                    <div className=\"row\">\n                      <div className=\"col pr-4\">\n                        <table className=\"instance-table\">\n                          <tbody>\n                            <tr>\n                              <td className=\"key\">Account: </td>\n                              <td className=\"value\">\n                                {datastore.llmInfo.InstallInformation.Account}\n                              </td>\n                            </tr>\n                            {datastore?.host && datastore?.host !== null && (\n                              <tr>\n                                <td className=\"key\">Host:</td>\n                                <td className=\"value\">{datastore.host}</td>\n                              </tr>\n                            )}\n                            {datastore?.llmInfo?.InstallInformation[\n                              \"Host Path\"\n                            ] &&\n                              datastore?.llmInfo?.InstallInformation[\n                                \"Host Path\"\n                              ] !== null && (\n                                <tr>\n                                  <td className=\"key\">Host Path:</td>\n                                  <td className=\"value\">\n                                    {\n                                      datastore.llmInfo.InstallInformation[\n                                        \"Host Path\"\n                                      ]\n                                    }\n                                  </td>\n                                </tr>\n                              )}\n\n                            {datastore?.llmInfo?.InstallInformation[\n                              \"Runtime\"\n                            ] &&\n                              datastore?.llmInfo?.InstallInformation[\n                                \"Runtime\"\n                              ] !== null && (\n                                <tr>\n                                  <td className=\"key\">Runtime:</td>\n                                  <td className=\"value\">\n                                    {\n                                      datastore.llmInfo.InstallInformation[\n                                        \"Runtime\"\n                                      ]\n                                    }\n                                  </td>\n                                </tr>\n                              )}\n\n                            {datastore?.llmInfo?.InstallInformation[\n                              \"SagemakerDomain\"\n                            ] &&\n                              datastore?.llmInfo?.InstallInformation[\n                                \"SagemakerDomain\"\n                              ] !== null && (\n                                <tr>\n                                  <td className=\"key\">Domain:</td>\n                                  <td className=\"value\">\n                                    {\n                                      datastore.llmInfo.InstallInformation[\n                                        \"SagemakerDomain\"\n                                      ]\n                                    }\n                                  </td>\n                                </tr>\n                              )}\n\n                            <tr>\n                              <td className=\"key\">Size:</td>\n                              <td className=\"value\">\n                                {datastore.llmInfo.InstallInformation[\"Size\"]}\n                              </td>\n                            </tr>\n                            <tr>\n                              <td className=\"key\">Last Used:</td>\n                              <td className=\"value\">\n                                {\" \"}\n                                {\n                                  datastore.llmInfo.InstallInformation[\n                                    \"Last Used\"\n                                  ]\n                                }\n                              </td>\n                            </tr>\n                          </tbody>\n                        </table>\n                      </div>\n                    </div>\n                    {/* <div className=\"row\">\n                      <div className=\"col-sm-3 key\">Account:</div>\n                      <div className=\"col-sm-9 value\">\n                        {datastore.llmInfo.InstallInformation.Account}\n                      </div>\n                    </div>\n                    <div className=\"row\">\n                      <div className=\"col-sm-3 key\">Host:</div>\n                      <div className=\"col-sm-9 value\">{datastore.host}</div>\n                    </div>\n                    <div className=\"row\">\n                      <div className=\"col-sm-3 key\">Host Path:</div>\n                      <div className=\"col-sm-9 value\">\n                        {datastore.llmInfo.InstallInformation[\"Host Path\"]}\n                      </div>\n                    </div>\n                    <div className=\"row\">\n                      <div className=\"col-sm-3 key\">Size:</div>\n                      <div className=\"col-sm-9 value\">\n                        {datastore.llmInfo.InstallInformation[\"Size\"]}\n                      </div>\n                    </div>\n                    <div className=\"row\">\n                      <div className=\"col-sm-3 key\">Last Used:</div>\n                      <div className=\"col-sm-9 value\">\n                        {datastore.llmInfo.InstallInformation[\"Last Used\"]}\n                      </div>\n                    </div> */}\n                  </div>\n                )}\n            </div>\n            <div class=\"col-lg-6 col-md-6 \">\n              <div className=\"right-container\">\n                {datastore &&\n                  datastore?.llmInfo &&\n                  datastore?.llmInfo?.PostTrained && (\n                    <div className=\"row\">\n                      <div className=\"col-sm-12 p-0\">\n                        {datastore?.llmInfo?.PostTrained?.is_different_hash ? (\n                          <StarScore\n                            className={`active-star-svg`}\n                            fill=\"#bb86fc\"\n                            width=\"40\"\n                          />\n                        ) : (\n                          <StarScore className={`active-star-svg`} />\n                        )}\n                        <span className=\"score-title\">\n                          Post - Trained after downloading\n                        </span>\n                      </div>\n                      <table className=\"mt-1\">\n                        <tbody>\n                          <tr className=\"info\">\n                            <td className=\"model-hash\">Model Hash:</td>\n                            <td className=\"hash\">\n                              {\n                                datastore.llmInfo.PostTrained[\n                                  \"Installed Model Hash\"\n                                ]\n                              }\n                            </td>\n                          </tr>\n                          {datastore?.llmInfo?.PostTrained?.duplicate_volume &&\n                            datastore?.llmInfo?.PostTrained?.duplicate_volume\n                              ?.length > 0 && (\n                              <tr className=\"info\">\n                                <td className=\"model-hash\">Clone:</td>\n                                <td className=\"hash\">\n                                  <div\n                                    className={\"card-circle disable-button\"}\n                                    onClick={() =>\n                                      setIsIssueInstanceModal(true)\n                                    }\n                                  >\n                                    <img\n                                      src={CPU}\n                                      className=\"mb-1 pointer\"\n                                      title=\"Other Instances of same Issue\"\n                                    />\n                                  </div>\n                                </td>\n                              </tr>\n                            )}\n                        </tbody>\n                      </table>\n\n                      {/* <h6 className=\"info\">\n                        <span className=\"model-hash\">Model Hash:</span>\n                        <span className=\"hash\">\n                          {\n                            datastore.llmInfo.PostTrained[\n                              \"Installed Model Hash\"\n                            ]\n                          }\n                        </span>\n                      </h6> */}\n\n                      {/* <br />\n                      <br />\n\n                      {datastore.llmInfo.PostTrained.duplicate_volume &&\n                      datastore.llmInfo.PostTrained.duplicate_volume.length ? (\n                        <div className=\"col-sm-6\">\n                          <span>Clone: </span>\n                        </div>\n                      ) : (\n                        \"\"\n                      )}\n\n                      {datastore.llmInfo.PostTrained.duplicate_volume &&\n                      datastore.llmInfo.PostTrained.duplicate_volume.length ? (\n                        <div className=\"col-sm-6\">\n                          <div\n                            className={\"card-circle disable-button\"}\n                            onClick={() => setIsIssueInstanceModal(true)}\n                          >\n                            <img\n                              src={EC2Image}\n                              className=\"mb-1 pointer\"\n                              title=\"Other Instances of same Issue\"\n                            />\n                          </div>\n                        </div>\n                      ) : (\n                        \"\"\n                      )} */}\n                    </div>\n                  )}\n              </div>\n            </div>\n          </div>\n        </SharedCard>\n\n        <SharedCard>\n          <div className=\"row mb-2\">\n            <div class=\"col-lg-12 col-md-12\">\n              <div className=\"left-container\" ref={ref}>\n                <div className=\"d-flex justify-content-between\">\n                  <div className=\"d-flex\">\n                    <h6 className=\"title mt-1\">Training Data</h6>\n                    {(datastore?.llmInfo?.llmInformation?.Name ===\n                      \"falcon-7b-bf16\" ||\n                      datastore?.llmInfo?.llmInformation?.Name === \"gpt2\") && (\n                      <span>\n                        <span className=\"ml-4\">\n                          <span className=\"mr-2\">Table View</span>\n                          <Toggle\n                            defaultChecked={trainingDataGraphView}\n                            onChange={() =>\n                              setTrainingDataGraphView(!trainingDataGraphView)\n                            }\n                            className=\"risk-accept-toggle mr-2\"\n                            icons={false}\n                            id=\"risk-accept-toggle\"\n                          />\n                          <span className=\"mr-2\">Graph View</span>\n                        </span>\n                        {trainingDataGraphView &&\n                          datastore?.llmInfo?.llmInformation?.Name ===\n                            \"falcon-7b-bf16\" && (\n                            <span className=\"ml-4\">\n                              <span className=\"mr-2\">Lineage view</span>\n                              <Toggle\n                                defaultChecked={graphLineageView}\n                                onChange={() =>\n                                  setGraphLineageView(!graphLineageView)\n                                }\n                                className=\"risk-accept-toggle mr-2\"\n                                icons={false}\n                                id=\"risk-accept-toggle\"\n                              />\n                            </span>\n                          )}\n                      </span>\n                    )}\n                  </div>\n                  <div className=\"d-flex\">\n                    <button\n                      type=\"button\"\n                      onClick={() => {\n                        launchButtonTitle === \"Launch AIScan\" &&\n                          launchAIScan(true);\n                      }}\n                      className={\n                        launchButtonTitle === \"Launch AIScan\"\n                          ? \"btn float-left mr-3 btn-primary btn-sm my-1 \"\n                          : \"btn float-left mr-3 btn-primary btn-disable btn-sm my-1 cursor-default\"\n                      }\n                      disabled={!launchButtonTitle === \"Launch AIScan\"}\n                    >\n                      <span className=\"mr-2\">{launchButtonTitle}</span>\n                      {launchButtonTitle !== \"Launch AIScan\" && (\n                        <img src={loaderWhite} className=\"launch-loader\" />\n                      )}\n                    </button>\n                  </div>\n                </div>\n                {trainingDataGraphView &&\n                  !graphLineageView &&\n                  datastore?.llmInfo?.llmInformation?.Name ===\n                    \"falcon-7b-bf16\" && (\n                    <ul\n                      className=\"nav nav-pills mb-1 d-flex\"\n                      id=\"pills-tab\"\n                      role=\"tablist\"\n                    >\n                      <li className=\"nav-item nav-item-all\">\n                        <a\n                          className={`nav-link px-3 ${\n                            trainingDataFilter === \"all\" ? \"active\" : \"\"\n                          }`}\n                          id=\"all\"\n                          data-toggle=\"pill\"\n                          href=\"#filter-types\"\n                          role=\"tab\"\n                          aria-selected=\"false\"\n                          onClick={() => {\n                            setTrainningDataFilter(\"all\");\n                          }}\n                        >\n                          All\n                        </a>\n                      </li>\n                      <li className=\"nav-item nav-filters\">\n                        <a\n                          className={`nav-link   px-3 ${\n                            trainingDataFilter === \"Configured\" ? \"active\" : \"\"\n                          }`}\n                          id=\"Configured\"\n                          data-toggle=\"pill\"\n                          href=\"#filter-types-tab\"\n                          role=\"tab\"\n                          aria-controls=\"filter-types\"\n                          aria-selected=\"false\"\n                          onClick={() => {\n                            setTrainningDataFilter(\"Configured\");\n                          }}\n                        >\n                          <span className=\"filter-color filter-color-configured\">\n                            {\" \"}\n                          </span>{\" \"}\n                          Configured\n                        </a>\n                      </li>\n                      <li\n                        className={\n                          trainingDataGraphView\n                            ? \"nav-item nav-filters nav-filter-disable \"\n                            : \"nav-item nav-filters\"\n                        }\n                      >\n                        <a\n                          className={`nav-link disabled  px-3 ${\n                            trainingDataGraphView && \"cursor-default\"\n                          } ${trainingDataFilter === \"Live Access\" ? \"\" : \"\"}`}\n                          id=\"Live Access\"\n                          data-toggle=\"pill\"\n                          href=\"#filter-types-tab\"\n                          role=\"tab\"\n                          aria-controls=\"filter-types\"\n                          aria-selected=\"false\"\n                          onClick={() => {\n                            if (!trainingDataGraphView) {\n                              setTrainningDataFilter(\"Live Access\");\n                            }\n                          }}\n                        >\n                          <span className=\"filter-color filter-color-live-access\">\n                            {\" \"}\n                          </span>{\" \"}\n                          LiveAccess\n                        </a>\n                      </li>\n                      <li className=\"nav-item nav-filters\">\n                        <a\n                          className={`nav-link px-3 ${\n                            trainingDataFilter === \"Access Path\" ? \"active\" : \"\"\n                          }`}\n                          id=\"Access Path\"\n                          data-toggle=\"pill\"\n                          href=\"#filter-types-tab\"\n                          role=\"tab\"\n                          aria-controls=\"filter-types\"\n                          aria-selected=\"false\"\n                          onClick={() => {\n                            setTrainningDataFilter(\"Access Path\");\n                          }}\n                        >\n                          {\" \"}\n                          <span className=\"filter-color filter-color-access-path\">\n                            {\" \"}\n                          </span>\n                          AccessPath\n                        </a>\n                      </li>\n                    </ul>\n                  )}\n\n                {!trainingDataGraphView ? (\n                  <div className=\"mt-2 table-responsive\">\n                    <table class=\"table\">\n                      <thead>\n                        <tr>\n                          <th>File Name</th>\n                          <th>Location</th>\n                          <th>Size</th>\n                          <th>Type</th>\n                          <th>Source</th>\n                          <th>Sensitive Labels</th>\n                        </tr>\n                      </thead>\n                      {trainingData && (\n                        <tbody>\n                          {trainingData?.map((item, index) => (\n                            <tr key={index}>\n                              <td>{item.FileName}</td>\n                              <td>{item.Location}</td>\n                              <td>{item.size}</td>\n                              <td>{item.type}</td>\n                              <td>{item?.source || \"Configured\"}</td>\n                              <td>\n                                {item?.[\"sensitive labels\"] ||\n                                  item?.sensitive_labels}\n                              </td>\n                            </tr>\n                          ))}\n                        </tbody>\n                      )}\n                    </table>\n                  </div>\n                ) : trainingDataGraphView && graphLineageView ? (\n                  <div className=\"w-100\">\n                    <TrainingDataGraphLineageView\n                      trainingData={trainingDataList?.filter(\n                        (data) => data.Source === \"Configured\"\n                      )}\n                      llmInfo={datastore?.llmInfo?.llmInformation}\n                      trainingDataFilter={trainingDataFilter}\n                      datastoreId={datastoreId}\n                      width={width}\n                    />{\" \"}\n                  </div>\n                ) : (\n                  <div className=\"w-100\">\n                    {datastore?.llmInfo?.llmInformation?.Name ===\n                    \"falcon-7b-bf16\" ? (\n                      <TrainingDataGraphView\n                        policyViolationsMaliciousActivity={\n                          policyViolationsMaliciousActivity\n                        }\n                        policyViolationsSensitiveData={\n                          policyViolationsSensitiveData\n                        }\n                        trainingData={trainingDataList}\n                        llmInfo={datastore?.llmInfo?.llmInformation}\n                        trainingDataFilter={trainingDataFilter}\n                        datastoreId={datastoreId}\n                        width={width}\n                      />\n                    ) : (\n                      <TranningDataOrchestratorGraph\n                        trainingData={trainingDataList?.filter(\n                          (data) => data.Source === \"Configured\"\n                        )}\n                        llmInfo={datastore?.llmInfo?.llmInformation}\n                        trainingDataFilter={trainingDataFilter}\n                        datastoreId={datastoreId}\n                        width={width}\n                      />\n                    )}{\" \"}\n                  </div>\n                )}\n              </div>\n            </div>\n          </div>\n        </SharedCard>\n\n        <SharedCard>\n          <div className=\"row mb-2\">\n            <div class=\"col-lg-12 col-md-12\">\n              <div className=\"right-container\">\n                <h6 className=\"title\">Policy Violations</h6>\n\n                <div className=\"mt-4 table-responsive\">\n                  <table class=\"table\">\n                    <thead>\n                      <tr>\n                        <th>Policy</th>\n                        <th>Last Violated</th>\n                        <th>Action</th>\n                      </tr>\n                    </thead>\n                    <tbody>\n                      {datastorePolicy &&\n                        datastorePolicy?.policyViolations?.map(\n                          (item, index) => (\n                            <tr key={index}>\n                              <td>\n                                <span\n                                  className=\"cursor-pointer\"\n                                  onClick={() => {\n                                    viewPolicy(item);\n                                  }}\n                                >\n                                  {item.policyViolationName}\n                                </span>{\" \"}\n                                {index === 1 &&\n                                  graphLineageView === false &&\n                                  trainingDataGraphView === true && (\n                                    <img\n                                      alt=\"icon\"\n                                      className={\n                                        policyViolationsMaliciousActivity\n                                          ? \"ml-2 cursor-pointer policy-violation-selected\"\n                                          : \"ml-2 cursor-pointer\"\n                                      }\n                                      src={ViolationIcon}\n                                      onClick={() => {\n                                        setpolicyViolationsMaliciousActivity(\n                                          !policyViolationsMaliciousActivity\n                                        );\n                                        setPolicyViolationsSensitiveData(false);\n                                      }}\n                                    />\n                                  )}\n                                {index === 3 &&\n                                  graphLineageView === false &&\n                                  trainingDataGraphView === true && (\n                                    <img\n                                      alt=\"icon\"\n                                      className={\n                                        policyViolationsSensitiveData\n                                          ? \"ml-2 cursor-pointer policy-violation-selected\"\n                                          : \"ml-2 cursor-pointer\"\n                                      }\n                                      src={ViolationIcon}\n                                      onClick={() => {\n                                        setPolicyViolationsSensitiveData(\n                                          !policyViolationsSensitiveData\n                                        );\n                                        setpolicyViolationsMaliciousActivity(\n                                          false\n                                        );\n                                      }}\n                                    />\n                                  )}\n                              </td>\n                              <td>\n                                <Moment format=\"YYYY-MM-DD HH:MM:SS\">\n                                  {item.lastViolatedAt}\n                                </Moment>\n                              </td>\n                              <td>\n                                <img\n                                  onClick={() => {\n                                    editPolicy(item.policyViolationId);\n                                  }}\n                                  title=\"Edit Policy\"\n                                  alt=\"icon\"\n                                  className=\"ml-1 cursor-pointer\"\n                                  src={EditIcon}\n                                />\n                                {item && item.tickets > 0 && (\n                                  <img\n                                    alt=\"icon\"\n                                    title=\"Ticket Details\"\n                                    src={ViewTicket}\n                                    className=\"ticket-icon ml-1 ml-3  cursor-pointer\"\n                                    onClick={(e) => {\n                                      e.stopPropagation();\n                                      window.open(item?.url ? item?.url : \"#\");\n                                    }}\n                                  />\n                                )}\n                                {item && item.tickets === 0 && (\n                                  <img\n                                    alt=\"icon\"\n                                    title=\"Create Ticket\"\n                                    src={CreateTicket}\n                                    className={\n                                      datastorePolicy.ticketIntegration\n                                        ? \"ticket-icon ml-3  cursor-pointer\"\n                                        : \"ticket-icon-disable ml-3 \"\n                                    }\n                                    onClick={(e) => {\n                                      e.stopPropagation();\n                                      if (datastorePolicy.ticketIntegration) {\n                                        setTicketModal(true);\n                                        setTicketModalInfo({\n                                          policyViolationId:\n                                            item.policyViolationId,\n                                          datastoreId: item.datastoreId,\n                                        });\n                                      }\n                                    }}\n                                  />\n                                )}\n                              </td>\n                            </tr>\n                          )\n                        )}{\" \"}\n                      {ticketModal && (\n                        <DatastoreTicketModal\n                          type=\"policy\"\n                          refreshDatastores={refreshPolicies}\n                          datastoreId={ticketModalInfo.datastoreId}\n                          policyViolationId={ticketModalInfo.policyViolationId}\n                          handleModal={() => {\n                            setTicketModal(false);\n                          }}\n                        />\n                      )}\n                    </tbody>\n                  </table>\n                </div>\n              </div>\n            </div>\n          </div>\n        </SharedCard>\n\n        {isIssueInstanceModal ? (\n          <IssueInstanceModal\n            instances={datastore.llmInfo.PostTrained.duplicate_volume}\n            handleModal={() => setIsIssueInstanceModal(false)}\n          />\n        ) : (\n          \"\"\n        )}\n      </div>\n    </BlockUi>\n  );\n};\n\nexport default ShadowLLMComponent;\n","import { useEffect } from \"react\";\nimport ShadowLLMComponent from \"../../components/shadow-llm/ShadowLLMComponent\";\n\nconst ShadowLLM = ({ setPath, selectedAccount }) => {\n  setPath(window.location.pathname);\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Vulnerabily Details\";\n  }, []);\n\n  return (\n    <>\n      <ShadowLLMComponent selectedAccount={selectedAccount} />\n    </>\n  );\n};\n\nexport default ShadowLLM;\n","import React, { useEffect, useState } from \"react\";\nconst PolicyDetails = ({ currentPosts, ticketDetail, getBulkTicketDetail }) => {\n  const sourceCategory = sessionStorage.getItem(\"source_category\");\n\n  return (\n    <div className=\"policy-details mb-4 p-3\">\n      <div className=\"row align-items-center\">\n        <div className=\"col-6 col-md-6 col-xl-6 \">\n          <span className=\"policy-details-title\">Source Category:</span>\n          <span className=\"policy-details-description\">{sourceCategory}</span>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default PolicyDetails;\n","import React, { useEffect, useState } from \"react\";\n// import \"../datastore/datastore.scss\";\nimport RiskCards from \"../../components/cards/risk-cards\";\nimport Select from \"react-select\";\nimport { useSelector } from \"react-redux\";\nimport SourceCategory from \"../../components/vulnerabilities/source-category/SourceCategory\";\nimport { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\n\nconst Cards = ({\n  severity,\n  filterIssues,\n  selectedAccount,\n  cloudEnvClass,\n  setSelectedAccount,\n  inputText,\n  setInputText,\n}) => {\n  const [accountList, setAccountList] = useState([\n    { value: \"all\", label: \"All\" },\n  ]);\n  const accounts = useSelector((state) => state.account.accounts);\n  const theme = useTheme();\n\n  const styles = {\n    cardContainer: {\n      marginBottom: theme.spacing(2),\n    },\n    breadcrumb: {\n      padding: theme.spacing(2),\n      paddingTop: 0,\n    },\n  };\n\n  useEffect(() => {\n    if (accounts && accounts.length > 0) {\n      setAccountList([\n        { value: \"all\", label: \"All\" },\n        ...accounts.map((account) => {\n          return { value: account.id, label: account.id };\n        }),\n      ]);\n    }\n  }, [accounts]);\n\n  return (\n    <Box sx={styles.cardContainer}>\n      <div className=\"row align-items-center\">\n        <Typography\n          color={theme.palette.surface100.main}\n          variant=\"body2\"\n          sx={styles.breadcrumb}\n        >\n          {cloudEnvClass ? \"Source Category > \" : \"Issues > \"}\n          <span className=\"text-info\">Overview</span>\n        </Typography>\n        {/* <div className=\"col-12 col-md-12 col-xl-8 mb-2\">\n          <div className=\"row justify-content-xl-end\">\n            <div className=\"col-auto\">\n              <b className=\"page-heading align-middle fs-14\">\n                ACCOUNT FILTER :\n              </b>\n            </div>\n            <div className=\"col-auto\">\n              <Select\n                options={accountList}\n                classNamePrefix=\"accounts-dropdown\"\n                placeholder=\"Select Account\"\n                defaultValue={accountList.length > 0 && accountList[0]}\n                value={\n                  accountList.find(\n                    (element) => element.value === selectedAccount.value\n                  )\n                    ? selectedAccount\n                    : accountList[0]\n                }\n                onChange={(value) => setSelectedAccount(value)}\n                isSearchable={false}\n              />\n            </div>\n     \n          </div>\n        </div> */}\n      </div>\n      <div className=\"row\">\n        <div className=\"col-sm-12\">\n          {cloudEnvClass ? (\n            <SourceCategory />\n          ) : (\n            <RiskCards\n              severity={severity}\n              filterIssues={filterIssues}\n              vunerability={true}\n              accountId={selectedAccount ? selectedAccount.value : undefined}\n            />\n          )}\n        </div>\n      </div>\n    </Box>\n  );\n};\n\nexport default Cards;\n","import React, { useEffect, useState } from \"react\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport { getIssuesApi, getIssuesApiV2 } from \"../../apis\";\nimport closeIcon from \"../../assets/img/icons/close-icon.svg\";\nimport NoDataContainer from \"../../components/cards/no-data\";\nimport Cards from \"../../components/vulnerabilities/cards\";\nimport VulnerabilityTable from \"../../components/vulnerabilities/table\";\nimport {\n  LOADER_CONFIG,\n  REACT_APP_SECURITYISSUES_API,\n} from \"../../utils/Constants\";\nimport { addIndex } from \"../../utils/dataHandler\";\nimport {\n  getCustomerId,\n  getSelectedIssuesAccount,\n  setSelectedIssuesAccount,\n} from \"../../utils/SessionHelper\";\nimport Search from \"../../components/common/Search\";\nimport { Select } from \"../../components/common/Select\";\nimport Box from \"../../components/common/Box\";\nimport { Pagination } from \"../../components/common/Pagination\";\nimport \"../Datastore/datastoreView.scss\";\nimport { useTheme } from \"@mui/material\";\nimport { CardWrapper } from \"../../components/common/CardWrapper\";\nimport NoData from \"../../components/common/NoData\";\n\nconst Datastore = ({ setPath, filterIssues, selectedAccount }) => {\n  const limit = 10;\n  const defaultAccount = getSelectedIssuesAccount() || {\n    value: \"all\",\n    label: \"All\",\n  };\n  const [subFilter, setSubFilter] = useState(\"Active\");\n  const [subFiltersList, setSubFiltersList] = useState([\n    {\n      value: \"Active\",\n      label: \"Active\",\n    },\n    {\n      value: \"Risk Accepted\",\n      label: \"Risk Accepted\",\n    },\n    {\n      value: \"Resolved\",\n      label: \"Resolved\",\n    },\n  ]);\n  const page_ = sessionStorage.getItem(\"page\");\n  const params = useParams();\n  const [inputText, setInputText] = useState(\"\");\n  const [currentPosts, setCurrentPosts] = useState([]);\n  const [severity, setSeverity] = useState(null);\n  const [loading, setLoading] = useState(false);\n  const [sortField, setSortField] = useState(\"cdIssueRiskScore\");\n  const [sortType, setSortType] = useState(\"desc\");\n  const routeAssetId = params.assetId?.replaceAll(\"_\", \"/\");\n  const cloudEnvClass = params.cloudEnvClass;\n\n  const policyViolationId = params.policyViolationId;\n  const [page, setPage] = useState(\n    !routeAssetId && page_ ? parseInt(page_) : 1\n  );\n\n  const [search, setSearch] = useState(null);\n\n  const [totalIssuesCount, setTotalIssuesCount] = useState(0);\n  const [isRiskAccepted, setIsRiskAccepted] = useState(false);\n  const [assetId, setAssetId] = useState();\n  const history = useHistory();\n  const theme = useTheme();\n\n  const styles = {\n    select: {\n      \"&.MuiInputBase-root\": {\n        fontSize: theme.typography.caption,\n        color: theme.palette.surface70.main,\n        fontWeight: theme.typography.fontWeightMedium,\n      },\n    },\n    wrapper: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: 3,\n    },\n  };\n\n  useEffect(() => {\n    document.title = \"Cloud Defense - Vulnerabilities\";\n    setPath(window.location.pathname);\n  }, []);\n\n  const availableKeywords = [\n    \"cdissueRiskScore\",\n    \"vulnerabilityid\",\n    \"type\",\n    \"name\",\n    \"issuetype\",\n    \"displayseverityscore\",\n    \"severityscore\",\n    \"instancelocation\",\n    \"location\",\n    \"impactedDatastoresCount\",\n    \"impacteddatastores\",\n  ];\n\n  const getSearchField = (keyword, field, search) => {\n    if (availableKeywords.includes(keyword.toLowerCase())) {\n      return field;\n    } else {\n      return search;\n    }\n  };\n  const getKeywordField = (keyword) => {\n    if (availableKeywords.includes(keyword.toLowerCase())) {\n      return keyword;\n    } else {\n      return null;\n    }\n  };\n\n  const getIssues = async (page_ = 0) => {\n    setLoading(true);\n    const cloudAccountId =\n      selectedAccount.value === \"all\" ? null : selectedAccount.value;\n    let payload = {\n      customerId: getCustomerId(),\n      cloudAccountId: cloudAccountId,\n      page: page_ ? page_ : page,\n      limit: limit,\n      ordering: sortField,\n      severity:\n        !severity || severity.includes(\"TOTAL ISSUES\")\n          ? null\n          : severity.replaceAll(\" \", \"_\"),\n      policyViolationId: policyViolationId ? policyViolationId : null,\n      // risk_accepted: isRiskAccepted,\n    };\n\n    const search_ =\n      search && search.includes(\":\")\n        ? getSearchField(search.split(\":\")[0], search.split(\":\")[1], search)\n        : search;\n    const keyword_ =\n      search && search.includes(\":\")\n        ? getKeywordField(search.split(\":\")[0])\n        : null;\n\n    if (REACT_APP_SECURITYISSUES_API === \"OPENSEARCH\") {\n      payload = {\n        customerId: getCustomerId(),\n        q: search_,\n        dataset: \"issues\",\n        exact: false,\n        page: page_ ? page_ : page,\n        limit: limit,\n        ordering: sortField,\n        sortType: sortType,\n        cloudAccountId: cloudAccountId,\n        severity:\n          !severity || severity.includes(\"TOTAL ISSUES\")\n            ? null\n            : severity.replaceAll(\" \", \"_\"),\n        risk_accepted: isRiskAccepted,\n        policyViolationId: policyViolationId ? policyViolationId : null,\n        cloudEnvClass: cloudEnvClass ? cloudEnvClass : null,\n      };\n\n      if (keyword_) {\n        payload.keyword = keyword_;\n      }\n    }\n    if (routeAssetId) {\n      setAssetId(routeAssetId.replaceAll(\"_\", \"/\"));\n      payload.assetId = routeAssetId.replaceAll(\"_\", \"/\");\n    } else {\n      setAssetId(\"undefine\");\n    }\n    if (subFilter === \"Active\") {\n      payload.risk_accepted = false;\n    }\n    if (subFilter === \"Risk Accepted\") {\n      payload.risk_accepted = true;\n    }\n    if (subFilter === \"Resolved\") {\n      payload.status = \"resolved\";\n    }\n    let res =\n      REACT_APP_SECURITYISSUES_API === \"OPENSEARCH\"\n        ? await getIssuesApiV2(payload)\n        : await getIssuesApi(payload);\n\n    if (res.err || !res.data) {\n      setLoading(false);\n      return;\n    }\n\n    setTotalIssuesCount(res.total_pages);\n    res = addIndex(res.data);\n    setCurrentPosts(res);\n    setLoading(false);\n    if (subFilter === \"Risk Accepted\") {\n      setIsRiskAccepted(true);\n    }\n  };\n\n  const handleRiskToggle = () => {\n    setIsRiskAccepted(!isRiskAccepted);\n  };\n\n  const sortData = (field) => {\n    if (field === sortField && sortType === \"asc\") {\n      setSortType(\"desc\");\n    } else if (field === sortField && sortType === \"desc\") {\n      setSortType(\"asc\");\n    } else {\n      setSortType(\"desc\");\n    }\n    setSortField(field);\n    setPage(1);\n  };\n\n  useEffect(() => {\n    setSelectedIssuesAccount(selectedAccount);\n  }, [selectedAccount]);\n\n  useEffect(() => {\n    getIssues();\n  }, [\n    page,\n    isRiskAccepted,\n    subFilter,\n    selectedAccount,\n    sortField,\n    severity,\n    sortType,\n  ]);\n\n  useEffect(() => {\n    sessionStorage.setItem(\"page\", page);\n  }, [page]);\n\n  const issueList = () => {\n    history.push(\"/vulnerabilities\");\n  };\n\n  const makeSearch = (ev) => {\n    ev.preventDefault();\n    setPage(1);\n    getIssues(1);\n  };\n\n  const setFilterValue = (value) => {\n    setSubFilter(value);\n    if (value === \"Risk Accepted\") {\n      // setIsRiskAccepted(true);\n    } else {\n      setIsRiskAccepted(false);\n    }\n  };\n\n  const onClear = () => setSearch(\"\");\n\n  return (\n    <div id=\"issues\">\n      <Cards\n        severity={severity}\n        filterIssues={(type) => {\n          setPage(1);\n          setSeverity(type);\n        }}\n        cloudEnvClass={cloudEnvClass}\n        selectedAccount={selectedAccount}\n        inputText={inputText}\n        setInputText={setInputText}\n      />\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }\n      >\n        <div id=\"issues\">\n          {/* <div className=\"table-main\"> */}\n          <CardWrapper sx={styles.wrapper}>\n            <div class=\"row\">\n              <div className=\"col col-xl-4 align-self-end\">\n                <Search\n                  placeholder=\"Search..\"\n                  value={search}\n                  onChange={(e) => setSearch(e.target.value)}\n                  onKeyDown={(e) => e.key === \"Enter\" && makeSearch(e)}\n                  onClear={onClear}\n                />\n              </div>\n              <div className=\"col-md-8 d-flex align-items-center justify-content-end\">\n                <div className=\"d-flex\">\n                  {assetId === \"undefine\" ? (\n                    \"\"\n                  ) : (\n                    <span className=\"asset-id-tag\">\n                      {assetId}\n                      <img\n                        className=\"close-icon\"\n                        alt=\"\"\n                        src={closeIcon}\n                        title=\"Close\"\n                        onClick={() => issueList()}\n                      />\n                    </span>\n                  )}\n                </div>\n                <div className=\"d-flex datastore-details-issues\">\n                  <Select\n                    value={subFilter}\n                    variant=\"standard\"\n                    label=\"Filter\"\n                    options={subFiltersList}\n                    sx={styles?.select}\n                    onChange={(event) => {\n                      setFilterValue(event.target.value);\n                    }}\n                  />\n                </div>\n              </div>\n            </div>\n\n            <>\n              {currentPosts.length ? (\n                <Box>\n                  <VulnerabilityTable\n                    severity={severity}\n                    currentPosts={currentPosts}\n                    sortData={sortData}\n                    isRiskAccepted={isRiskAccepted}\n                    refreshIssues={getIssues}\n                    subFilter={subFilter}\n                    setIsRiskAccepted={setIsRiskAccepted}\n                    sortField={sortField}\n                    sortType={sortType}\n                  />\n                  <Pagination\n                    page={page}\n                    rowsPerPageOptions={10}\n                    disabled={totalIssuesCount <= 1}\n                    count={totalIssuesCount}\n                    siblingCount={0}\n                    onChange={(e, value) => setPage(value)}\n                  />\n                </Box>\n              ) : (\n                !loading && <NoData customText=\"No Issues Available.\" />\n              )}\n            </>\n            {/* </div> */}\n          </CardWrapper>\n        </div>\n      </BlockUi>\n    </div>\n  );\n};\n\nexport default Datastore;\n","import React from \"react\";\nimport \"../../datastore/datastore.scss\";\nimport { getScoreColor } from \"../../../utils/styles\";\n\nconst Table = ({ currentPosts = [], sortData }) => {\n  return (\n    <div className=\"row\">\n      <div className=\"col col-xl-12\">\n        <div className=\"border-0 card table-card\">\n          <div className=\"table-responsive\">\n            <table className=\"mb-0 pb-3 table table-hover px-3\">\n              <thead className=\"vuls-row\">\n                <tr className=\"head vuls-row\">\n                  <th scope=\"col\" style={{ width: \"80px\" }}>\n                    Risk\n                    <i\n                      onClick={() => sortData(\"cdDatastoreRiskScore\")}\n                      className=\"las la-sort\"\n                    ></i>\n                  </th>\n                  <th scope=\"col\" style={{ width: \"200px\" }}>\n                    Name{\" \"}\n                    <i\n                      onClick={() => sortData(\"name\")}\n                      className=\"las la-sort\"\n                    ></i>\n                  </th>\n                  <th scope=\"col\">\n                    Resource Id{\" \"}\n                    <i\n                      onClick={() => sortData(\"metadata.cloudAccountId\")}\n                      className=\"las la-sort\"\n                    ></i>\n                  </th>\n                  <th scope=\"col\">\n                    Account Id{\" \"}\n                    <i\n                      onClick={() => sortData(\"type\")}\n                      className=\"las la-sort\"\n                    ></i>\n                  </th>\n                  <th scope=\"col\">\n                    Region{\" \"}\n                    <i\n                      onClick={() => sortData(\"metadata.createdAt\")}\n                      className=\"las la-sort\"\n                    ></i>\n                  </th>\n                  <th scope=\"col\">\n                    Resource Type{\" \"}\n                    <i\n                      onClick={() => sortData(\"size\")}\n                      className=\"las la-sort\"\n                    ></i>\n                  </th>\n                  <th scope=\"col\">\n                    Provider{\" \"}\n                    <i\n                      onClick={() => sortData(\"mountLocation\")}\n                      className=\"las la-sort\"\n                    ></i>\n                  </th>\n                </tr>\n              </thead>\n\n              <tbody>\n                {currentPosts.map(function (item, idx) {\n                  return (\n                    <tr key={idx} className=\"vuls-row\">\n                      <td>\n                        <div\n                          className={`${getScoreColor(item.cdIssueRiskScore)}`}\n                        ></div>\n                      </td>\n                      <td className=\"data-store-name\">\n                        <div className=\"wrap-with-ellipsis\" title={item?.name}>\n                          {item?.name}\n                        </div>\n                      </td>\n\n                      <td className=\"data-store-name\">\n                        <div className=\"wrap-with-ellipsis\" title={item?.id}>\n                          {item?.id}\n                        </div>\n                      </td>\n\n                      <td className=\"data-store-name\">\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item?.cloudAccountId}\n                        >\n                          {item?.cloudAccountId}\n                        </div>\n                      </td>\n\n                      <td className=\"data-store-name\">\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item?.location}\n                        >\n                          {item?.location}\n                        </div>\n                      </td>\n\n                      <td className=\"data-store-name\">\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item?.assetType}\n                        >\n                          {item?.assetType}\n                        </div>\n                      </td>\n\n                      <td className=\"data-store-name\">\n                        <div className=\"wrap-with-ellipsis\" title={\"AWS\"}>\n                          AWS\n                        </div>\n                      </td>\n                    </tr>\n                  );\n                })}\n              </tbody>\n            </table>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Table;\n","import React, { useEffect, useState } from \"react\";\nimport RiskCards from \"../../cards/risk-cards\";\nimport Select from \"react-select\";\nimport { useSelector } from \"react-redux\";\nimport Typography from \"../../common/Typography\";\nimport { useTheme } from \"@mui/material\";\n\nconst Cards = ({\n  filterIssues,\n  selectedAccount,\n  setSelectedAccount,\n  inputText,\n  setInputText,\n  identities,\n}) => {\n  const [accountList, setAccountList] = useState([\n    { value: \"all\", label: \"All\" },\n  ]);\n  const theme = useTheme();\n  const accounts = useSelector((state) => state.account.accounts);\n\n  const styles = {\n    breadcrumb: {\n      padding: theme.spacing(2),\n      paddingTop: 0,\n    },\n  };\n\n  useEffect(() => {\n    if (accounts && accounts.length > 0) {\n      setAccountList([\n        { value: \"all\", label: \"All\" },\n        ...accounts.map((account) => {\n          return { value: account.id, label: account.id };\n        }),\n      ]);\n    }\n  }, [accounts]);\n  return (\n    <div>\n      <div className=\"row align-items-center\">\n        <Typography\n          color={theme.palette.surface100.main}\n          variant=\"body2\"\n          sx={styles.breadcrumb}\n        >\n          {\"USERS > \"}\n          <span className=\"text-info\">{\"USERS OVERVIEW\"}</span>\n        </Typography>\n        <div className=\"col-12 col-md-12 col-xl-8 mb-2\">\n          <div className=\"row justify-content-xl-end\">\n            <div className=\"col-auto\">\n              <b className=\"page-heading align-middle fs-14\">\n                ACCOUNT FILTER :\n              </b>\n            </div>\n            <div className=\"col-auto\">\n              <Select\n                options={accountList}\n                classNamePrefix=\"accounts-dropdown\"\n                placeholder=\"Select Account\"\n                defaultValue={accountList.length > 0 && accountList[0]}\n                value={\n                  accountList.find(\n                    (element) => element.value === selectedAccount.value\n                  )\n                    ? selectedAccount\n                    : accountList[0]\n                }\n                onChange={(value) => setSelectedAccount(value)}\n                isSearchable={false}\n              />\n            </div>\n          </div>\n        </div>\n      </div>\n      <div className=\"row\">\n        <div className=\"col-sm-10\">\n          <RiskCards\n            filterIssues={filterIssues}\n            accountId={selectedAccount ? selectedAccount.value : undefined}\n            identities={identities}\n          />\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Cards;\n","import BlockUi from \"react-block-ui\";\nimport Table from \"./table\";\nimport Cards from \"./cards\";\nimport { LOADER_CONFIG } from \"../../../utils/Constants\";\nimport { Loader } from \"react-loaders\";\nimport { useEffect, useState } from \"react\";\nimport NoDataContainer from \"../../cards/no-data\";\nimport Pagination from \"../../pagination/Pagination\";\nimport {\n  getCustomerId,\n  getSelectedDatastoreAccount,\n} from \"../../../utils/SessionHelper\";\nimport { getAssetsApi, getAssetStatsApi } from \"../../../apis\";\nimport { addIndex } from \"../../../utils/dataHandler\";\n\nconst Identity = ({}) => {\n  const defaultAccount = getSelectedDatastoreAccount() || {\n    value: \"all\",\n    label: \"All\",\n  };\n  const limit = 10;\n  const page_ = sessionStorage.getItem(\"page\");\n\n  const [page, setPage] = useState(page_ ? parseInt(page_) : 1);\n  const [inputText, setInputText] = useState(\"\");\n  const [currentPosts, setCurrentPosts] = useState([]);\n  const [severity, setSeverity] = useState(null);\n  const [loading, setLoading] = useState(false);\n  const [sortField, setSortField] = useState(null);\n  const [selectedAccount, setSelectedAccount] = useState(defaultAccount);\n  const [totalDatastoresCount, setTotalDatastoresCount] = useState(0);\n  const [search, setSearch] = useState(null);\n  const [ordering, setOrdering] = useState(\"cdDatastoreRiskScore\");\n\n  const getAssets = async () => {\n    setLoading(true);\n    const cloudAccountId =\n      selectedAccount.value === \"all\" ? null : selectedAccount.value;\n\n    let payload = {\n      customerId: getCustomerId(),\n      limit: limit,\n      page: page,\n      cloudAccountId: cloudAccountId,\n      ordering: sortField ? sortField : null,\n      severity:\n        !severity || severity.includes(\"TOTAL DATA STORES\")\n          ? null\n          : severity.replaceAll(\" \", \"_\"),\n    };\n    let res = await getAssetsApi(payload);\n    if (res.err) {\n      setLoading(false);\n      return;\n    }\n\n    if (!res.data) return;\n    setTotalDatastoresCount(res.count);\n    res = addIndex(res.data);\n    setCurrentPosts(res);\n    setLoading(false);\n  };\n\n  const sortData = (field) => {\n    setSortField(field);\n    setPage(1);\n  };\n\n  useEffect(() => {\n    setPage(1);\n  }, [selectedAccount]);\n\n  useEffect(() => {\n    getAssets();\n  }, [page, selectedAccount, sortField, severity]);\n\n  useEffect(() => {\n    sessionStorage.setItem(\"page\", page);\n  }, [page]);\n\n  const makeSerch = (ev) => {\n    ev.preventDefault();\n    getAssets();\n  };\n\n  return (\n    <div id=\"datastores\">\n      <Cards\n        filterIssues={(type) => setSeverity(type)}\n        selectedAccount={selectedAccount}\n        setSelectedAccount={setSelectedAccount}\n        inputText={inputText}\n        setInputText={setInputText}\n        identities={true}\n      />\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }\n      >\n        <div id=\"datastores\">\n          <div className=\"table-main\">\n            <div class=\"row \">\n              <div class=\"col col-xl-4 align-self-start\"></div>\n\n              <div class=\"col col-xl-8 align-self-end\">\n                <div class=\"p-2 text-right\">\n                  <Pagination\n                    page={page}\n                    setPage={(val) => setPage(val)}\n                    limit={limit}\n                    totalCount={totalDatastoresCount}\n                  />\n                </div>\n              </div>\n            </div>\n\n            {currentPosts.length ? (\n              <Table\n                severity={severity}\n                currentPosts={currentPosts}\n                // sortData={sortData}\n              />\n            ) : !loading ? (\n              <NoDataContainer message={\"No Users Available\"} />\n            ) : (\n              \"\"\n            )}\n          </div>\n        </div>\n      </BlockUi>\n    </div>\n  );\n};\n\nexport default Identity;\n","import React, { useEffect } from \"react\";\nimport IdentityComponent from \"../../components/cloud/identity\";\n\nconst Identity = ({ setPath, path, selectedAccount }) => {\n  useEffect(() => {\n    document.title = \"Cloud Defense - Identity\";\n\n    setPath(window.location.pathname);\n  }, []);\n\n  return (\n    <div>\n      <IdentityComponent path={path} selectedAccount={selectedAccount} />\n    </div>\n  );\n};\n\nexport default Identity;\n","import React, { useEffect, useRef, useState } from \"react\";\n\nimport \"../../datastore/datastore.scss\";\nimport { getScoreColor } from \"../../../utils/styles\";\nimport \"./assets.scss\";\nimport AffectedDatastoresAndIssuesModal from \"../../modal/affected-datastore-and-issue-modal/AffectedDatastoresAndIssuesModal\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../../common/Table\";\nimport { useTheme } from \"@mui/material\";\nimport { StatusIndicator } from \"../../common/StatusIndicator\";\nimport ArrowUpwardRoundedIcon from \"@mui/icons-material/ArrowUpwardRounded\";\nimport ArrowDownwardRoundedIcon from \"@mui/icons-material/ArrowDownwardRounded\";\n\nconst CloudTable = ({ currentPosts = [], sortData, sortType, sortField }) => {\n  const theme = useTheme();\n  const [isDatastoreIssuesModal, setIsDatastoreIssuesModal] = useState(false);\n  const [selectedAsset, setSelectedAsset] = useState({});\n\n  const closeModal = () => {\n    setSelectedAsset({});\n    setIsDatastoreIssuesModal(false);\n  };\n\n  const styles = {\n    table: {\n      minWidth: \"max-content\",\n    },\n    sortIcon: {\n      fontSize: theme.typography.body2,\n      color: theme.palette.surface50.main,\n    },\n  };\n\n  return (\n    <div className=\"row\">\n      <div className=\"col col-xl-12\">\n        <div className=\"border-0 card table-card\">\n          <TableContainer>\n            <Table sx={styles.table}>\n              <TableHead>\n                <TableRow>\n                  <TableCell onClick={() => sortData(\"cdAssetRiskScore\")}>\n                    Risk\n                    {sortType === \"asc\" && sortField === \"cdIssueRiskScore\" ? (\n                      <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                    ) : (\n                      <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                    )}\n                  </TableCell>\n                  <TableCell onClick={() => sortData(\"name.keyword\")}>\n                    Name\n                    {sortType === \"asc\" && sortField === \"name.keyword\" ? (\n                      <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                    ) : (\n                      <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                    )}\n                  </TableCell>\n                  <TableCell scope=\"col\" onClick={() => sortData(\"id.keyword\")}>\n                    Resource Id\n                    {sortType === \"asc\" && sortField === \"id.keyword\" ? (\n                      <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                    ) : (\n                      <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                    )}\n                  </TableCell>\n                  <TableCell\n                    onClick={() => sortData(\"metadata.cloudAccountId.keyword\")}\n                  >\n                    Account Id\n                    {sortType === \"asc\" &&\n                    sortField === \"metadata.cloudAccountId.keyword\" ? (\n                      <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                    ) : (\n                      <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                    )}\n                  </TableCell>\n                  <TableCell onClick={() => sortData(\"location.keyword\")}>\n                    Region\n                    {sortType === \"asc\" && sortField === \"location.keyword\" ? (\n                      <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                    ) : (\n                      <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                    )}\n                  </TableCell>\n                  <TableCell onClick={() => sortData(\"assetType.keyword\")}>\n                    Resource Type\n                    {sortType === \"asc\" && sortField === \"assetType.keyword\" ? (\n                      <ArrowUpwardRoundedIcon sx={styles.sortIcon} />\n                    ) : (\n                      <ArrowDownwardRoundedIcon sx={styles.sortIcon} />\n                    )}\n                  </TableCell>\n                  <TableCell>Provider</TableCell>\n                </TableRow>\n              </TableHead>\n\n              <TableBody>\n                {isDatastoreIssuesModal ? (\n                  <AffectedDatastoresAndIssuesModal\n                    handleModal={() => {\n                      closeModal();\n                    }}\n                    assetIdValue={\n                      selectedAsset.id\n                        ? selectedAsset.id\n                        : selectedAsset.asset_id\n                    }\n                    isSecurityIssueVisisble={true}\n                    node={selectedAsset}\n                    isAttackPath={true}\n                    page=\"asset\"\n                  />\n                ) : (\n                  \"\"\n                )}\n                {currentPosts.map(function (item, idx) {\n                  const riskScore = getScoreColor(item.cdAssetRiskScore);\n                  const riskValue =\n                    riskScore === \"score-high\"\n                      ? \"high\"\n                      : riskScore === \"score-elevated\"\n                      ? \"critical\"\n                      : \"low\";\n                  return (\n                    <TableRow\n                      key={idx}\n                      onClick={(e) => {\n                        setIsDatastoreIssuesModal(true);\n                        setSelectedAsset({\n                          name: item.name,\n                          is_primary: true,\n                          asset_id: item.id ? item.id : item.asset_id,\n                          tooltip_content: {\n                            asset_type: item.assetType,\n                            cloud_account_id: item.cloudAccountId,\n                            location: item.location,\n                            name: item.name\n                              ? item.name.substring(\n                                  item.name.lastIndexOf(\":\") + 1\n                                )\n                              : null,\n                            asset_id: item.asset_id,\n                          },\n                        });\n                      }}\n                    >\n                      <TableCell>\n                        <StatusIndicator severity={riskValue} />\n                      </TableCell>\n                      <TableCell>\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item.name ? item.name : item.assetType}\n                        >\n                          {item.name ? item.name : item.assetType}\n                        </div>\n                      </TableCell>\n\n                      <TableCell>\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item.id ? item.id : item.asset_id}\n                        >\n                          {item.id ? item.id : item.asset_id}\n                        </div>\n                      </TableCell>\n\n                      <TableCell>\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item?.cloudAccountId}\n                        >\n                          {item?.cloudAccountId}\n                        </div>\n                      </TableCell>\n\n                      <TableCell>\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item?.location}\n                        >\n                          {item?.location}\n                        </div>\n                      </TableCell>\n\n                      <TableCell>\n                        <div\n                          className=\"wrap-with-ellipsis\"\n                          title={item?.assetType}\n                        >\n                          {item?.assetType}\n                        </div>\n                      </TableCell>\n\n                      <TableCell>\n                        <div className=\"wrap-with-ellipsis\" title={\"AWS\"}>\n                          AWS\n                        </div>\n                      </TableCell>\n                    </TableRow>\n                  );\n                })}\n              </TableBody>\n            </Table>\n          </TableContainer>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default CloudTable;\n","import React, { useEffect, useState } from \"react\";\nimport RiskCards from \"../../cards/risk-cards\";\nimport Select from \"react-select\";\nimport { useSelector } from \"react-redux\";\nimport { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\n\nconst Cards = ({\n  severity,\n  filterIssues,\n  selectedAccount,\n  setSelectedAccount,\n  inputText,\n  setInputText,\n  assets,\n  identities,\n}) => {\n  const [accountList, setAccountList] = useState([\n    { value: \"all\", label: \"All\" },\n  ]);\n  const accounts = useSelector((state) => state.account.accounts);\n  const theme = useTheme();\n\n  const styles = {\n    cardsContainer: {\n      marginBottom: theme.spacing(2),\n    },\n    breadcrumb: {\n      padding: theme.spacing(2),\n      paddingTop: 0,\n    },\n  };\n\n  useEffect(() => {\n    if (accounts && accounts.length > 0) {\n      setAccountList([\n        { value: \"all\", label: \"All\" },\n        ...accounts.map((account) => {\n          return { value: account.id, label: account.id };\n        }),\n      ]);\n    }\n  }, [accounts]);\n\n  return (\n    <Box sx={styles.cardsContainer}>\n      <div className=\"row align-items-center\">\n        <Typography\n          color={theme.palette.surface100.main}\n          variant=\"body2\"\n          sx={styles.breadcrumb}\n        >\n          {\"Assets > \"}\n          <span className=\"text-info\">Asset Overview</span>\n        </Typography>\n      </div>\n      <div className=\"row\">\n        <div className=\"col-sm-12\">\n          <RiskCards\n            severity={severity}\n            filterIssues={filterIssues}\n            accountId={selectedAccount ? selectedAccount.value : undefined}\n            assets={assets}\n            identities={identities}\n          />\n        </div>\n      </div>\n    </Box>\n  );\n};\n\nexport default Cards;\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Provides the list of all dataStores.\n * @returns -- Accounts list\n */\nexport const fetchAssetsSearch = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/assets/search`, params);\n};\n\nexport const fetchAssets = (params) => {\n  return axiosDenaliPrivate.post(`/api/v1/assets`, params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { fetchAssets, fetchAssetsSearch } from \"../apis/assetsAPI\";\n\nconst initialState = {\n  assetsSearch: [],\n};\n\n// Async calls.\nexport const listAssetsSearchAsync = createAsyncThunk(\n  \"asset/search/get\",\n  async (params) => {\n    const response = await fetchAssetsSearch(params);\n    return response.data;\n  }\n);\n\nexport const listAssetsAsync = createAsyncThunk(\"asset/get\", async (params) => {\n  const response = await fetchAssets(params);\n  return response.data;\n});\n\nexport const assetsSlice = createSlice({\n  name: \"asset\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(listAssetsSearchAsync.fulfilled, (state, action) => {\n        state.assetsSearch = action.payload;\n      })\n      .addCase(listAssetsSearchAsync.rejected, (state, action) => {\n        state.assetsSearch = [];\n      })\n      .addCase(listAssetsAsync.fulfilled, (state, action) => {\n        state.assets = action.payload;\n      })\n      .addCase(listAssetsAsync.rejected, (state, action) => {\n        state.assets = [];\n      });\n  },\n});\n\nexport default assetsSlice.reducer;\n","import BlockUi from \"react-block-ui\";\nimport CloudTable from \"./table\";\nimport Cards from \"./cards\";\nimport { LOADER_CONFIG, REACT_APP_ASSETS_API } from \"../../../utils/Constants\";\nimport { Loader } from \"react-loaders\";\nimport { useEffect, useState } from \"react\";\nimport NoDataContainer from \"../../cards/no-data\";\nimport {\n  getCustomerId,\n  getSelectedDatastoreAccount,\n} from \"../../../utils/SessionHelper\";\nimport {\n  listAssetsAsync,\n  listAssetsSearchAsync,\n} from \"../../../redux/slices/assetsSlice\";\nimport { useSelector } from \"react-redux\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  showLoading,\n  hideLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport Box from \"../../common/Box\";\nimport { Pagination } from \"../../common/Pagination\";\nimport { CardWrapper } from \"../../common/CardWrapper\";\nimport Search from \"../../common/Search\";\nimport NoData from \"../../common/NoData\";\n\nconst Assets = ({ path, selectedAccount }) => {\n  const defaultAccount = getSelectedDatastoreAccount() || {\n    value: \"all\",\n    label: \"All\",\n  };\n  const limit = 10;\n  const page_ = sessionStorage.getItem(\"page\");\n  const dispatch = useDispatch();\n\n  const [page, setPage] = useState(page_ ? parseInt(page_) : 1);\n  const [inputText, setInputText] = useState(\"\");\n  const [severity, setSeverity] = useState(null);\n  const [sortField, setSortField] = useState(\"cdAssetRiskScore\");\n  const [search, setSearch] = useState(null);\n  const [sortType, setSortType] = useState(\"desc\");\n  const assets = useSelector((state) =>\n    REACT_APP_ASSETS_API === \"MONGODB\"\n      ? state.asset.assets\n      : state.asset.assetsSearch\n  );\n\n  const styles = {\n    cardWrapper: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: 3,\n    },\n  };\n\n  const loading = useSelector((state) => state.globalOperation.loading);\n\n  const sortData = (field) => {\n    if (field === sortField && sortType === \"asc\") {\n      setSortType(\"desc\");\n    } else if (field === sortField && sortType === \"desc\") {\n      setSortType(\"asc\");\n    } else {\n      setSortType(\"desc\");\n    }\n\n    setSortField(field);\n    setPage(1);\n  };\n\n  useEffect(() => {\n    setPage(1);\n  }, [selectedAccount]);\n\n  const fetchData = async () => {\n    dispatch(showLoading());\n    await dispatch(\n      REACT_APP_ASSETS_API === \"MONGODB\"\n        ? listAssetsAsync({\n            customerId: getCustomerId(),\n            cloudAccountId:\n              selectedAccount.value === \"all\" ? null : selectedAccount.value,\n            ordering: sortField,\n            search: search,\n            page: page,\n            limit: limit,\n            exact: false,\n          })\n        : listAssetsSearchAsync({\n            customerId: getCustomerId(),\n            cloudAccountId:\n              selectedAccount.value === \"all\" ? null : selectedAccount.value,\n            q: search,\n            page: page,\n            limit: limit,\n            exact: false,\n            sortType: sortType,\n            ordering: sortField,\n            severity:\n              !severity || severity.includes(\"TOTAL ASSETS\")\n                ? null\n                : severity.replaceAll(\" \", \"_\"),\n          })\n    );\n    dispatch(hideLoading());\n  };\n\n  useEffect(() => {\n    fetchData();\n  }, [page, selectedAccount, sortField, severity, sortType]);\n\n  const makeSearch = (ev) => {\n    ev.preventDefault();\n    fetchData();\n  };\n\n  const onClear = () => setSearch(\"\");\n\n  return (\n    <div id=\"datastores\">\n      <Cards\n        severity={severity}\n        filterIssues={(type) => setSeverity(type)}\n        selectedAccount={selectedAccount}\n        inputText={inputText}\n        setInputText={setInputText}\n        assets={true}\n      />\n      <BlockUi\n        tag=\"div\"\n        blocking={loading}\n        loader={\n          <Loader\n            active\n            type={LOADER_CONFIG.type}\n            color={LOADER_CONFIG.color}\n          />\n        }\n      >\n        <div id=\"datastores\">\n          <CardWrapper sx={styles.cardWrapper}>\n            <div class=\"row border-\">\n              <div class=\"col col-xl-4 align-self-start\">\n                <Search\n                  placeholder=\"Search..\"\n                  value={search}\n                  onChange={(e) => setSearch(e.target.value)}\n                  onKeyDown={(e) => e.key === \"Enter\" && makeSearch(e)}\n                  onClear={onClear}\n                />\n              </div>\n            </div>\n\n            {assets && assets.data && assets.data.length ? (\n              <Box>\n                <CloudTable\n                  severity={severity}\n                  currentPosts={assets.data}\n                  sortData={sortData}\n                  sortType={sortType}\n                  sortField={sortField}\n                />\n                <Pagination\n                  page={page}\n                  rowsPerPageOptions={10}\n                  disabled={assets && assets.total_pages <= 1}\n                  count={assets ? assets.total_pages : 0}\n                  siblingCount={0}\n                  onChange={(e, value) => setPage(value)}\n                />\n              </Box>\n            ) : (\n              !loading && <NoData customText=\"No Assets Available.\" />\n            )}\n          </CardWrapper>\n        </div>\n      </BlockUi>\n    </div>\n  );\n};\n\nexport default Assets;\n","import React, { useEffect } from \"react\";\nimport AssetsComponent from \"../../components/cloud/assets\";\n\nconst Assets = ({ setPath, path, selectedAccount }) => {\n  useEffect(() => {\n    document.title = \"Cloud Defense - Assets\";\n\n    setPath(window.location.pathname);\n  }, []);\n\n  return (\n    <div>\n      <AssetsComponent path={path} selectedAccount={selectedAccount} />\n    </div>\n  );\n};\n\nexport default Assets;\n","import React, { useState, useEffect } from \"react\";\nimport deleteIcon from \"../../../assets/img/icons/ico-delete-grey.svg\";\nimport \"./../modal.scss\";\nimport \"./AddPolicyModal.scss\";\nimport Select from \"react-select\";\nimport { useFormik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport loaderImage from \"../../../assets/img/loader.svg\";\nimport Button from \"../../common/Button\";\nimport {\n  addPolicyAsync,\n  updatePolicyAsync,\n} from \"../../../redux/slices/policySlice\";\nimport { getUserId, getCustomerName } from \"../../../utils/SessionHelper\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport {\n  LOADER_CONFIG,\n  REACT_APP_DATASTORE_API,\n} from \"../../../utils/Constants\";\n// import { listAccountsAsync } from \"../../../redux/slices/accountSlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport Toggle from \"react-toggle\";\nimport \"react-toggle/style.css\"; // for ES6 modules\n\nconst AddPolicyModal = ({\n  handleModal,\n  policyAction,\n  instances,\n  refreshAccounts,\n  policyItem,\n}) => {\n  const dispatch = useDispatch();\n  const [accountsList, setAccountsList] = useState();\n  const [description, setDescription] = useState();\n  const [policyType, setPolicyType] = useState(\"alerting\");\n  const [isRiskUpgradeToCritical, setIsRiskUpgradeToCritical] = useState(false);\n  const [isRiskUpgradeToHigh, setIsRiskUpgradeToHigh] = useState(false);\n  const [isDirectAnomalyOnDatastore, setIsDirectAnomalyOnDatastore] = useState(\n    false\n  );\n  const [\n    isIndirectAnomalyViaCloudEnvironment,\n    setIsIndirectAnomalyViaCloudEnvironmen,\n  ] = useState(false);\n  const [selectedAccounts, setSelectedAccounts] = useState([]);\n  const [selectedAlertingAction, setSelectedAlertingAction] = useState();\n  const [selectedIssueTypes, setSelectedIssueTypes] = useState([]);\n  const [selectedResources, setSelectedResources] = useState([]);\n  const accounts = useSelector((state) => state.account.accounts);\n  const [loading, setLoading] = useState();\n\n  const formik = useFormik({\n    initialValues: {\n      name: \"\",\n      accounts: \"\",\n      alertingActions: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      name: Yup.string().required(\"Please enter policy name.\"),\n      // accounts: Yup.array().required(\"Please select account.\"),\n      alertingActions: Yup.object().required(\"Please select alerting action.\"),\n    }),\n    onSubmit: (values) => {\n      if (policyAction === \"add\") {\n        addPolicy({ ...values });\n      } else {\n        updatePolicy({ ...values });\n      }\n    },\n  });\n\n  const alertingActions = [\n    { value: \"slack\", label: \"slack\" },\n    { value: \"email\", label: \"email\" },\n  ];\n  const issueType = [\n    {\n      value: \"Sudo Vulnerability\",\n      label: \"Sudo Vulnerability\",\n    },\n    {\n      value: \"Open Port 22\",\n      label: \"Open Port 22\",\n    },\n    {\n      value: \"Kernal Heap Overflow\",\n      label: \"Kernal Heap Overflow\",\n    },\n  ];\n  const resource = [\n    {\n      value: \"04bf29cf9ee4c3a0a\",\n      label: \"04bf29cf9ee4c3a0a\",\n    },\n    {\n      value: \"04bf29cf9ee4c3a0a\",\n      label: \"04bf29cf9ee4c3a0a\",\n    },\n  ];\n\n  const refreshPolicyDetails = () => {\n    setSelectedAccounts([]);\n  };\n\n  const updateAccounts = (account) => {\n    let accounts = selectedAccounts;\n    accounts.push(account);\n    setSelectedAccounts(accounts);\n  };\n\n  const getSelectedAccountIds = () => {\n    let accountIds = [];\n    if (selectedAccounts?.length > 0) {\n      selectedAccounts.map((account) => {\n        accountIds.push(account.value);\n      });\n    }\n    return accountIds;\n  };\n\n  const addPolicy = async () => {\n    if (!isRiskUpgradeToCritical && !isRiskUpgradeToHigh) {\n      Toaster(TOASTER_TYPES.ERROR, \"Please choose one risk\");\n      return;\n    }\n    setLoading(true);\n    const resp = await dispatch(\n      addPolicyAsync({\n        cloudAccountIds: getSelectedAccountIds(),\n        type: getSelectedAccountIds().length > 0 ? \"accounts\" : \"customer\",\n        description: description,\n        name: formik.values.name,\n        datastoreIds: [],\n        userId: getUserId(),\n        category: \"alerting\",\n        alerting_action: [selectedAlertingAction.value],\n        triggerCondition: getTriggerConditions(),\n      })\n    );\n    dispatch(hideLoading());\n    let msg = \"Customer level policy added successfully.\";\n    if (getSelectedAccountIds().length) {\n      msg = \"Account level policy added successfully.\";\n    } else {\n      msg = \"Customer level policy added successfully.\";\n    }\n\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, msg);\n      setLoading(false);\n      refreshAccounts();\n      handleModal();\n      refreshPolicyDetails();\n    } else {\n      setLoading(false);\n\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message || \"Failed to add policy.\"\n      );\n    }\n  };\n\n  const updatePolicy = async () => {\n    setLoading(true);\n    const resp = await dispatch(\n      updatePolicyAsync({\n        cloudAccountIds: getSelectedAccountIds(),\n        type: selectedAccounts.length > 0 ? \"accounts\" : \"customer\",\n        id: policyItem.id,\n        description: description,\n        name: formik.values.name,\n        userId: getUserId(),\n        alerting_action: Array.isArray(selectedAlertingAction.value)\n          ? selectedAlertingAction.value\n          : [selectedAlertingAction.value],\n        triggerCondition: getTriggerConditions(),\n        category: \"alerting\",\n      })\n    );\n    dispatch(hideLoading());\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Policy updated successfully.\");\n      setLoading(false);\n      refreshAccounts();\n      refreshPolicyDetails();\n      handleModal();\n    } else {\n      setLoading(false);\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message || \"Failed to update policy.\"\n      );\n    }\n  };\n\n  useEffect(() => {\n    const accountList = [];\n    accounts.map((account) => {\n      accountList.push({ label: account.id, value: account.id });\n    });\n    setAccountsList(accountList);\n  }, [accounts]);\n\n  const getTriggerConditionValue = (value) => {\n    if (policyItem.triggerAction) {\n      let actions = Object.keys(policyItem.triggerAction);\n      if (actions.length > 0) {\n        if (actions.includes(value) === true) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n    }\n    return false;\n  };\n\n  const getTriggerConditions = () => {\n    let triggerConditions = [];\n    if (isRiskUpgradeToCritical) {\n      triggerConditions.push(\"datastore_risk_critical\");\n    }\n    if (isRiskUpgradeToHigh) {\n      triggerConditions.push(\"datastore_risk_high\");\n    }\n    if (isDirectAnomalyOnDatastore) {\n      triggerConditions.push(\"direct_anomaly\");\n    }\n    if (isIndirectAnomalyViaCloudEnvironment) {\n      triggerConditions.push(\"indirect_anomaly\");\n    }\n    return triggerConditions;\n  };\n\n  const setAlertingActions = () => {\n    let alertingAction = \"\";\n    if (policyItem.triggerAction) {\n      let actions = Object.keys(policyItem.triggerAction);\n      if (actions.length > 0) {\n        let action = actions[0];\n        alertingAction = policyItem.triggerAction[action];\n      } else {\n        alertingAction = \"\";\n      }\n    }\n    setSelectedAlertingAction({\n      value: alertingAction,\n      label: alertingAction,\n    });\n    formik.setFieldValue(\"alertingActions\", {\n      value: alertingAction,\n      label: alertingAction,\n    });\n  };\n\n  const updateSelectedAccounts = () => {\n    let updatedAccounts = [];\n\n    if (policyItem?.cloudAccountIds.length > 0) {\n      policyItem?.cloudAccountIds.map((accountID) => {\n        updatedAccounts.push({ label: accountID, value: accountID });\n      });\n    }\n    formik.setFieldValue(\"accounts\", updatedAccounts);\n    setSelectedAccounts(updatedAccounts);\n  };\n\n  useEffect(() => {\n    if (policyAction === \"edit\") {\n      formik.setFieldValue(\"name\", policyItem.name);\n      setDescription(policyItem.description);\n      setIsRiskUpgradeToCritical(\n        getTriggerConditionValue(\"datastore_risk_critical\")\n      );\n      setIsRiskUpgradeToHigh(getTriggerConditionValue(\"datastore_risk_high\"));\n      setIsDirectAnomalyOnDatastore(getTriggerConditionValue(\"direct_anomaly\"));\n      setIsIndirectAnomalyViaCloudEnvironmen(\n        getTriggerConditionValue(\"indirect_anomaly\")\n      );\n      setAlertingActions();\n      updateSelectedAccounts();\n    }\n  }, [policyAction]);\n\n  return (\n    <div id=\"add-policy-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form onSubmit={formik.handleSubmit}>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <span className=\"header-title\">\n                  {policyAction === \"add\" ? \"Add\" : \"Update\"} Alerting Policy\n                </span>\n                {/* <img\n                  src={deleteIcon}\n                  className=\"mr-3 delete-icon\"\n                  onClick={handleModal}\n                /> */}\n              </div>\n              <div className=\"modal-body mb-2\">\n                {loading && (\n                  <img src={loaderImage} className=\"modal-loading-img\" />\n                )}\n                {/* <div className=\"row py-2 text-center justify-content-start\">\n                  <div className=\"col col-sm-3 d-flex flex-row modal-subtitle justify-content-start align-items-center workday-subheading\">\n                    <input\n                      type=\"radio\"\n                      id=\"default\"\n                      checked={policyType === \"alerting\"}\n                      value={policyType}\n                      onClick={() => setPolicyType(\"alerting\")}\n                      name=\"frequency\"\n                      className=\"mr-3  custom-radio-button\"\n                    />{\" \"}\n                    Alerting Policies\n                  </div>\n                  <div className=\"col col-sm-6 modal-subtitle workday-subheading-value\">\n                    <input\n                      type=\"radio\"\n                      id=\"default\"\n                      checked={policyType === \"automation\"}\n                      value={policyType}\n                      onClick={() => setPolicyType(\"automation\")}\n                      name=\"frequency\"\n                      className=\"mr-3 ml-2 custom-radio-button\"\n                    />{\" \"}\n                    Custom Automation Policies\n                  </div>\n                </div> */}\n                <label className=\"label\">\n                  Policy Name: <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <input\n                      class=\"form-control\"\n                      type=\"text\"\n                      placeholder=\"Enter Policy Name\"\n                      onBlur={formik.handleBlur}\n                      onChange={(e) => {\n                        formik.setFieldValue(\"name\", e.target.value);\n                      }}\n                      value={formik.values.name}\n                      id=\"add-policy-policy-name\"\n                    ></input>\n                    {formik.errors.name && formik.touched.name && (\n                      <div className=\"error-message\">{formik.errors.name}</div>\n                    )}\n                  </div>\n                </div>{\" \"}\n                <label className=\"label\">Description:</label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <textarea\n                      className=\"modal-textarea form-control py-2 px-2\"\n                      placeholder=\"Account Description\"\n                      type=\"text\"\n                      value={description}\n                      onChange={(e) => {\n                        setDescription(e.target.value);\n                      }}\n                      id=\"add-policy-policy-description\"\n                    />\n                  </div>\n                </div>\n                <label className=\"label\">Customer:</label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <input\n                      class=\"form-control\"\n                      type=\"text\"\n                      placeholder=\"Enter Customer Name\"\n                      value={getCustomerName()}\n                      disabled={true}\n                      id=\"add-policy-customer-name\"\n                    ></input>\n                  </div>\n                </div>\n                <label className=\"label\">Accounts:</label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <Select\n                      isMulti\n                      name=\"colors\"\n                      value={selectedAccounts}\n                      options={accountsList}\n                      className=\"basic-multi-select\"\n                      classNamePrefix=\"select\"\n                      onBlur={formik.handleBlur}\n                      id=\"add-policy-accounts\"\n                      onChange={(value) => {\n                        setSelectedAccounts(value);\n                        formik.setFieldValue(\"accounts\", value);\n                      }}\n                    />\n                    {/* {formik.touched.accounts &&\n                      selectedAccounts.length === 0 && (\n                        <div className=\"error-message\">\n                          {\"Please select account.\"}\n                        </div>\n                      )} */}\n                  </div>\n                </div>\n                <div>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-6 d-flex flex-row modal-subtitle  justify-content-between align-items-center workday-subheading\">\n                      <label className=\"label\">Risk Upgrade to Critical:</label>\n                      <Toggle\n                        checked={isRiskUpgradeToCritical}\n                        onChange={() => {\n                          setIsRiskUpgradeToCritical(!isRiskUpgradeToCritical);\n                          setIsRiskUpgradeToHigh(!isRiskUpgradeToHigh);\n                        }}\n                        value={isRiskUpgradeToCritical}\n                        className=\"risk-accept-toggle risk-accept-toggle-left\"\n                        icons={false}\n                        id=\"add-policy-risk-accept-toggle-critical\"\n                      />\n                    </div>\n\n                    <div className=\"col col-sm-6 d-flex flex-row modal-subtitle  justify-content-between align-items-center workday-subheading\">\n                      <label className=\"label\">Risk Upgrade To High:</label>\n                      <Toggle\n                        checked={isRiskUpgradeToHigh}\n                        // onChange={() => {\n                        //   setIsRiskUpgradeToCritical(\n                        //     !isRiskUpgradeToHigh\n                        //       ? true\n                        //       : isRiskUpgradeToCritical\n                        //   );\n                        //   setIsRiskUpgradeToHigh(!isRiskUpgradeToHigh);\n                        // }}\n                        onChange={() => {\n                          // setIsRiskUpgradeToCritical(!isRiskUpgradeToCritical);\n                          setIsRiskUpgradeToHigh(!isRiskUpgradeToHigh);\n                        }}\n                        className=\"risk-accept-toggle \"\n                        icons={false}\n                        id=\"add-policy-risk-accept-toggle-high\"\n                      />\n                    </div>\n                  </div>\n\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-6 d-flex flex-row modal-subtitle  justify-content-between align-items-center workday-subheading\">\n                      <label className=\"label\">\n                        Direct Anomaly On Datastore:\n                      </label>\n\n                      <Toggle\n                        checked={isDirectAnomalyOnDatastore}\n                        onChange={() =>\n                          setIsDirectAnomalyOnDatastore(\n                            !isDirectAnomalyOnDatastore\n                          )\n                        }\n                        className=\"risk-accept-toggle risk-accept-toggle-left\"\n                        icons={false}\n                        disabled={true}\n                        id=\"add-policy-risk-accept-toggle-anomaly\"\n                      />\n                    </div>\n                    <div className=\"col col-sm-6 d-flex flex-row modal-subtitle  justify-content-between align-items-center workday-subheading\">\n                      <label className=\"label\">\n                        Indirect Anomaly Via Cloud Environment:\n                      </label>\n                      <Toggle\n                        checked={isIndirectAnomalyViaCloudEnvironment}\n                        onChange={() =>\n                          setIsIndirectAnomalyViaCloudEnvironmen(\n                            !isIndirectAnomalyViaCloudEnvironment\n                          )\n                        }\n                        className=\"risk-accept-toggle\"\n                        icons={false}\n                        disabled={true}\n                        id=\"add-policy-risk-accept-toggle-cloud\"\n                      />\n                    </div>\n                  </div>\n                </div>\n                <label className=\"label\">\n                  Alerting Action: <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <Select\n                      name=\"alerting actions\"\n                      options={alertingActions}\n                      classNamePrefix=\"accounts-dropdown\"\n                      onBlur={formik.handleBlur}\n                      value={selectedAlertingAction}\n                      onChange={(value) => {\n                        setSelectedAlertingAction(value);\n                        formik.setFieldValue(\"alertingActions\", value);\n                      }}\n                      id=\"add-policy-alerting-action\"\n                    />\n                    {formik.errors.alertingActions &&\n                      formik.touched.alertingActions && (\n                        <div className=\"error-message\">\n                          {formik.errors.alertingActions}\n                        </div>\n                      )}\n                  </div>\n                </div>\n              </div>\n              <div className=\"modal-footer p-2\">\n                {policyAction === \"add\" ? (\n                  <Button\n                    variant=\"contained\"\n                    className=\" mr-2\"\n                    disabled={\n                      !formik.isValid ||\n                      !formik.values.name ||\n                      loading ||\n                      (!isRiskUpgradeToCritical && !isRiskUpgradeToHigh)\n                    }\n                    type=\"submit\"\n                    id=\"add-policy-submit\"\n                  >\n                    Add Policy\n                  </Button>\n                ) : (\n                  <Button\n                    variant=\"contained\"\n                    className=\" mr-2\"\n                    disabled={!formik.isValid || !formik.values.name || loading}\n                    type=\"submit\"\n                    id=\"add-policy-update\"\n                  >\n                    {\" \"}\n                    Update Policy\n                  </Button>\n                )}\n                <Button\n                  variant=\"outlined\"\n                  type=\"button\"\n                  className=\"btn btn-secondary\"\n                  id=\"add-policy-cancel\"\n                  onClick={() => {\n                    handleModal();\n                  }}\n                >\n                  Cancel\n                </Button>\n              </div>\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default AddPolicyModal;\n","import React, { useState, useEffect } from \"react\";\nimport \"./../modal.scss\";\nimport \"./CompliancePolicyModal.scss\";\nimport Select from \"react-select\";\nimport { useFormik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport loaderImage from \"../../../assets/img/loader.svg\";\nimport closeIcon from \"../../../assets/img/icons/close-icon-grey.svg\";\nimport {\n  addPolicyAsync,\n  updatePolicyAsync,\n  getAllPolicies,\n} from \"../../../redux/slices/policySlice\";\nimport { getUserId, getCustomerName } from \"../../../utils/SessionHelper\";\nimport { REACT_APP_DATASTORE_API } from \"../../../utils/Constants\";\n// import { listAccountsAsync } from \"../../../redux/slices/accountSlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n  hideLoading,\n  showLoading,\n} from \"../../../redux/slices/globalOperationSlice\";\nimport \"react-toggle/style.css\"; // for ES6 modules\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { getDataStoresApi, getDataStoresApiV2 } from \"../../../apis/index.js\";\nimport Box from \"../../common/Box\";\nimport Button from \"../../common/Button\";\nimport { useTheme } from \"@mui/material\";\nimport Typography from \"../../common/Typography\";\nimport TextButton from \"../../common/TextButton\";\nimport CloseRoundedIcon from \"@mui/icons-material/CloseRounded\";\nimport { getSelectedAccountIds } from \"../../../utils/commonUtils\";\n\nconst CompliancePolicyModal = ({\n  handleModal,\n  policyAction,\n  instances,\n  refreshAccounts,\n  policyItem,\n  policiesList,\n  setDatastoreMappings,\n  setSelectedAccountIDs,\n}) => {\n  const dispatch = useDispatch();\n  const theme = useTheme();\n  const [accountsList, setAccountsList] = useState();\n  const [description, setDescription] = useState();\n  const [selectedAccounts, setSelectedAccounts] = useState([]);\n  const accounts = useSelector((state) => state.account.accounts);\n  const [loading, setLoading] = useState();\n  const [page, setPage] = useState(1);\n  const [datastores, setDatastores] = useState([]);\n  const [customTagErrors, setCustomTagError] = useState(\"\");\n  const [piiTags, setPiiTags] = useState([\n    {\n      label: \"PII-Name\",\n      value: \"PII-Name\",\n    },\n    {\n      label: \"PII-Address\",\n      value: \"PII-Address\",\n    },\n    {\n      label: \"PII-StreetAddress\",\n      value: \"PII-StreetAddress\",\n    },\n    {\n      label: \"PII-SocialSecurity\",\n      value: \"PII-SocialSecurity\",\n    },\n    {\n      label: \"PII-IPAddress\",\n      value: \"PII-IPAddress\",\n    },\n    {\n      label: \"PII-MobileNumber\",\n      value: \"PII-MobileNumber\",\n    },\n    {\n      label: \"PII-DriversLicense\",\n      value: \"PII-DriversLicense\",\n    },\n    {\n      label: \"PCI-CCNumber\",\n      value: \"PCI-CCNumber\",\n    },\n    {\n      label: \"PCI-CCExpiry\",\n      value: \"PCI-CCExpiry\",\n    },\n    {\n      label: \"PCI-CCPIN\",\n      value: \"PCI-CCPIN\",\n    },\n  ]);\n  const [sensitiveTags, setSensitiveTags] = useState([\n    {\n      label: \"Low\",\n      value: \"Low\",\n    },\n    {\n      label: \"Medium\",\n      value: \"Medium\",\n    },\n    {\n      label: \"High\",\n      value: \"High\",\n    },\n    {\n      label: \"Critical\",\n      value: \"Critical\",\n    },\n  ]);\n  const [selectedDatastores, setSelectedDatastores] = useState([]);\n  const [selectedPiiTags, setSelectedPiiTags] = useState([]);\n  const [selectedSensitiveTags, setSelectedSensitiveTags] = useState(null);\n  const [selectedPolicies, setSelectedPolicies] = useState([]);\n  const [customTag, setCustomTag] = useState([]);\n  const [loader, setLoader] = useState(false);\n  const [tagsUpdated, setTagsUpdated] = useState(false);\n  const [showUpdatePoliciesMessage, setShowUpdatePoliciesMessage] = useState();\n\n  const styles = {\n    modalHeader: {\n      display: \"flex\",\n      width: \"100%\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    closeButton: {\n      color: theme.palette.surface80.main,\n    },\n    modalFooter: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      paddingBottom: theme.spacing(2),\n      paddingX: theme.spacing(2),\n    },\n  };\n\n  const getDatastoreIds = () => {\n    let datastores_ = [];\n    if (datastores.length > 0) {\n      datastores.map((value) => {\n        datastores_.push(value.value);\n      });\n    }\n    return datastores_;\n  };\n\n  const updateTags = (tag) => {\n    tag.label = tag.label.trim();\n    setCustomTagError(\"\");\n    setCustomTag([...customTag, tag]);\n  };\n\n  const removeTag = (tag) => {\n    const tempTags = [...customTag];\n    tempTags.splice(\n      tempTags.findIndex((a) => a.value === tag.value),\n      1\n    );\n    setTagsUpdated(true);\n    setCustomTag(tempTags);\n  };\n\n  useEffect(() => {\n    if (!selectedAccounts.length) {\n      setSelectedDatastores([]);\n    }\n  }, [selectedAccounts]);\n\n  const limit = 100;\n\n  const formik = useFormik({\n    initialValues: {\n      name: \"\",\n      accounts: \"\",\n      datastores: \"\",\n      // sensitiveTags: \"\",\n      policies: \"\",\n      // alertingActions: \"\",\n    },\n    validationSchema: Yup.object().shape({\n      // name: Yup.string().required(\"Please enter policy name.\"),\n      // accounts: Yup.array().required(\"Please select account.\"),\n      // datastores: Yup.array().required(\"Please select datastores.\"),\n      // sensitiveTags: Yup.array().required(\"Please select sensitive tags.\"),\n      policies: Yup.array().required(\"Please select sensitive tags.\"),\n      // alertingActions: Yup.object().required(\"Please select alerting action.\"),\n    }),\n    onSubmit: (values) => {\n      if (policyAction === \"add\") {\n        addPolicy({ ...values });\n      } else {\n        updatePolicy({ ...values });\n      }\n    },\n  });\n\n  useEffect(() => {\n    if (!selectedPolicies.length) {\n      formik.setFieldValue(\"policies\", \"\");\n    }\n  }, [selectedPolicies]);\n\n  useEffect(() => {\n    if (!selectedAccounts.length) {\n      setSelectedDatastores([]);\n    }\n  }, [selectedAccounts]);\n\n  const alertingActions = [\n    { value: \"slack\", label: \"slack\" },\n    { value: \"email\", label: \"email\" },\n  ];\n  const issueType = [\n    {\n      value: \"Sudo Vulnerability\",\n      label: \"Sudo Vulnerability\",\n    },\n    {\n      value: \"Open Port 22\",\n      label: \"Open Port 22\",\n    },\n    {\n      value: \"Kernal Heap Overflow\",\n      label: \"Kernal Heap Overflow\",\n    },\n  ];\n  const resource = [\n    {\n      value: \"04bf29cf9ee4c3a0a\",\n      label: \"04bf29cf9ee4c3a0a\",\n    },\n    {\n      value: \"04bf29cf9ee4c3a0a\",\n      label: \"04bf29cf9ee4c3a0a\",\n    },\n  ];\n\n  const refreshPolicyDetails = () => {\n    setSelectedAccounts([]);\n    setSelectedDatastores([]);\n  };\n\n  const getUpdatedDatastores = () => {\n    let updatedSelectedDatastores = [];\n    if (selectedDatastores.length > 0) {\n      selectedDatastores.map((value) => {\n        updatedSelectedDatastores.push(value.value);\n      });\n    }\n    return updatedSelectedDatastores;\n  };\n\n  const getUpdatedPolicies = () => {\n    let updatedSelectedPolicies = [];\n    if (selectedPolicies.length > 0) {\n      selectedPolicies.map((value) => {\n        updatedSelectedPolicies.push({\n          rule: value.value,\n          description: value.label,\n        });\n      });\n    }\n    return updatedSelectedPolicies;\n  };\n\n  const getUpdatedTags = () => {\n    let updatedSensitivityTags = [];\n    if (selectedPiiTags.length > 0) {\n      selectedPiiTags.map((value) => {\n        updatedSensitivityTags.push(value.value);\n      });\n    }\n    return updatedSensitivityTags;\n  };\n\n  const getTagIds = (tags) => {\n    let ids = [];\n    if (tags?.length > 0) {\n      for (let tag of tags) {\n        ids.push(tag.value);\n      }\n    }\n    return ids;\n  };\n\n  const formattedTags = (ids) => {\n    let tags = [];\n    if (ids?.length > 0) {\n      for (let id of ids) {\n        tags.push({ label: id, value: id });\n      }\n    }\n    return tags;\n  };\n\n  const addPolicy = async () => {\n    setLoading(true);\n    const resp = await dispatch(\n      addPolicyAsync({\n        cloudAccountIds: getSelectedAccountIds(selectedAccounts),\n        type: getUpdatedDatastores().length\n          ? \"datastores\"\n          : selectedAccounts.length\n          ? \"accounts\"\n          : \"customer\",\n        description: description,\n        datastoreIds: getUpdatedDatastores(),\n        name: formik.values.name,\n        policies: getUpdatedPolicies(),\n        userId: getUserId(),\n        category: \"compliance\",\n        piiTags: getTagIds(selectedPiiTags),\n        sensitivityTags: selectedSensitiveTags\n          ? [selectedSensitiveTags.value]\n          : [],\n        customTags: getTagIds(customTag),\n      })\n    );\n\n    let msg = \"Customer level policy added successfully.\";\n    if (getUpdatedDatastores().length) {\n      msg = \"Datastore level policy added successfully.\";\n    } else if (getSelectedAccountIds().length) {\n      msg = \"Account level policy added successfully.\";\n    } else {\n      msg = \"Customer level policy added successfully.\";\n    }\n    dispatch(hideLoading());\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, msg);\n      setLoading(false);\n      refreshAccounts();\n      handleModal();\n      refreshPolicyDetails();\n    } else {\n      setLoading(false);\n\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message || \"Failed to add policy.\"\n      );\n    }\n  };\n\n  const updatePolicy = async () => {\n    setLoading(true);\n\n    const resp = await dispatch(\n      updatePolicyAsync({\n        cloudAccountIds: getSelectedAccountIds(),\n        type:\n          selectedDatastores?.length ||\n          selectedSensitiveTags.value ||\n          getTagIds(selectedPiiTags)?.length ||\n          getTagIds(customTag)?.length\n            ? \"datastores\"\n            : selectedAccounts.length > 0\n            ? \"accounts\"\n            : \"customer\",\n        id: policyItem.id,\n        description: description,\n        policies: getUpdatedPolicies(),\n        name: formik.values.name,\n        datastoreIds: getUpdatedDatastores(),\n        sensitivityTags: [selectedSensitiveTags.value],\n        piiTags: getTagIds(selectedPiiTags),\n        customTags: getTagIds(customTag),\n\n        userId: getUserId(),\n        category: \"compliance\",\n      })\n    );\n    dispatch(hideLoading());\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Policy updated successfully.\");\n      setLoading(false);\n      refreshAccounts();\n      refreshPolicyDetails();\n      handleModal();\n    } else {\n      setLoading(false);\n      Toaster(\n        TOASTER_TYPES.ERROR,\n        resp.payload?.err?.message || \"Failed to update policy.\"\n      );\n    }\n  };\n\n  useEffect(() => {\n    const accountList = [];\n    accounts.map((account) => {\n      accountList.push({ label: account.id, value: account.id });\n    });\n    setAccountsList(accountList);\n  }, [accounts]);\n\n  const updateSelectedAccounts = () => {\n    let updatedAccounts = [];\n\n    if (policyItem?.target?.cloudAccountIds?.length > 0) {\n      policyItem?.target?.cloudAccountIds?.map((accountID) => {\n        updatedAccounts.push({ label: accountID, value: accountID });\n      });\n    }\n    formik.setFieldValue(\"accounts\", updatedAccounts);\n    setSelectedAccounts(updatedAccounts);\n  };\n\n  const getDatastorelabel = (datastoreId) => {\n    for (let i of datastores) {\n      if (i.value === datastoreId) {\n        return i.label;\n      }\n    }\n    return datastoreId;\n  };\n\n  const updateSelectedDatastores = () => {\n    let updatedDatastores = [];\n\n    if (policyItem?.target?.datastoreIds?.length > 0) {\n      policyItem?.target?.datastoreIds?.map((datastore) => {\n        updatedDatastores.push({\n          label: getDatastorelabel(datastore),\n          value: datastore,\n        });\n      });\n    }\n    formik.setFieldValue(\"datastores\", updatedDatastores);\n    setSelectedDatastores(updatedDatastores);\n  };\n\n  const updateSensitivityTags = () => {\n    let updatedTags = [];\n\n    if (policyItem?.sensitivityTags?.length > 0) {\n      policyItem?.sensitivityTags?.map((tag) => {\n        updatedTags.push({ label: tag, value: tag });\n      });\n    }\n    formik.setFieldValue(\"sensitiveTags\", updatedTags);\n    setSelectedPiiTags(updatedTags);\n  };\n\n  const getPolicyDescription = (rule) => {\n    for (let i of policiesList) {\n      if (rule === i.value) {\n        return i.label;\n      }\n    }\n    return rule;\n  };\n\n  const updatePolicies = () => {\n    let updatedPolicies = [];\n\n    if (policyItem?.policyId) {\n      // policyItem?.policies?.map((policy) => {\n      if (policyItem?.policy) {\n        updatedPolicies.push({\n          label: policyItem?.policy,\n          value: policyItem?.policyId,\n        });\n      } else {\n        updatedPolicies.push({\n          label: getPolicyDescription(policyItem?.policyId),\n          value: policyItem?.policyId,\n        });\n      }\n      // });\n    }\n    formik.setFieldValue(\"policies\", updatedPolicies);\n    setSelectedPolicies(updatedPolicies);\n    setSelectedPiiTags(formattedTags(policyItem?.piiTags));\n    setSelectedSensitiveTags(formattedTags(policyItem?.sensitivityTags));\n    setCustomTag(formattedTags(policyItem?.customTags));\n  };\n\n  useEffect(() => {\n    if (policyAction === \"edit\") {\n      formik.setFieldValue(\"name\", policyItem.policy);\n      setDescription(policyItem.policy);\n      updateSelectedAccounts();\n      updateSelectedDatastores();\n      updateSensitivityTags();\n      updatePolicies();\n    }\n  }, [datastores]);\n\n  const getDatastores = async () => {\n    setLoading(true);\n    const cloudAccountId =\n      selectedAccounts.value === \"all\" ? null : selectedAccounts.value;\n\n    let payload = {\n      customerId: getCustomerId(),\n      limit: limit,\n      page: page,\n      cloudAccountId: cloudAccountId,\n    };\n\n    if (REACT_APP_DATASTORE_API === \"OPENSEARCH\") {\n      payload = {\n        customerId: getCustomerId(),\n        dataset: \"datastores\",\n        exact: false,\n        page: page,\n        limit: limit,\n        cloudAccountId: cloudAccountId,\n      };\n    }\n\n    let res =\n      REACT_APP_DATASTORE_API === \"OPENSEARCH\"\n        ? await getDataStoresApiV2(payload)\n        : await getDataStoresApi(payload);\n\n    if (res.err) {\n      setLoading(false);\n      return;\n    }\n\n    if (!res.data) return;\n    res = res.data;\n\n    const datastoreList = [];\n    res.map((d) => {\n      datastoreList.push({\n        label: d.name,\n        value: d.datastoreId,\n      });\n    });\n    // selectedDatastores;\n    setDatastores(datastoreList);\n    setLoading(false);\n  };\n\n  /**\n   * This method is the handler for the policy selection.\n   * @param - selected policy value\n   */\n  const setPolicySelectHandler = (value) => {\n    if (policyAction !== \"add\") {\n      // To behave multi selection as single selection\n      const policyList = value?.filter(\n        (pl) => pl.value !== policyItem?.policyId\n      );\n      if (policyList?.length > 1) {\n        const plList = [policyList[1]];\n        setSelectedPolicies(plList);\n        formik.setFieldValue(\"policies\", plList);\n      } else {\n        setSelectedPolicies(policyList);\n        formik.setFieldValue(\"policies\", policyList);\n      }\n    } else {\n      // Used in add policy with multiple selection\n      setSelectedPolicies(value);\n      formik.setFieldValue(\"policies\", value);\n    }\n\n    setShowUpdatePoliciesMessage(false);\n  };\n\n  useEffect(() => {\n    getDatastores();\n  }, []);\n\n  useEffect(() => {\n    if (selectedAccounts) {\n      let accountIds = [];\n      selectedAccounts.map((account) => {\n        accountIds.push(account.value);\n      });\n      setSelectedAccountIDs(accountIds);\n    }\n  }, [selectedAccounts]);\n\n  useEffect(() => {\n    console.log(showUpdatePoliciesMessage, \"showUpdatePoliciesMessage\");\n  }, [showUpdatePoliciesMessage]);\n\n  const colorStyles = {\n    control: (styles) => ({\n      ...styles,\n      backgroundColor: theme.palette.surface0.main,\n      fontSize: theme.typography.caption,\n    }),\n    option: (styles) => ({\n      ...styles,\n      color: theme.palette.surface0.main,\n      fontSize: theme.typography.caption,\n    }),\n    input: (styles) => ({\n      ...styles,\n      color: theme.palette.surface0.main,\n      fontSize: `${theme.typography.caption.fontSize} !important`,\n    }),\n    placeholder: (styles) => ({\n      ...styles,\n      color: theme.palette.surface100.main,\n      fontSize: `${theme.typography.caption.fontSize} !important`,\n      fontWeight: 400,\n    }),\n    multiValueLabel: (styles) => ({\n      ...styles,\n      color: theme.palette.primaryBlue.main,\n    }),\n    singleValue: (styles) => ({\n      ...styles,\n      color: theme.palette.surface100.main,\n      fontSize: `${theme.typography.caption.fontSize} !important`,\n      fontWeight: 400,\n    }),\n  };\n\n  return (\n    <div id=\"add-policy-modal\">\n      <div\n        className=\"modal fade show\"\n        id=\"info\"\n        tabIndex={-1}\n        role=\"dialog\"\n        aria-labelledby=\"infoModalTitle\"\n        aria-modal=\"true\"\n      >\n        <div className=\"modal-dialog modal-md\" role=\"document\">\n          <form>\n            <div className=\"modal-content\">\n              <div className=\"modal-header d-flex justify-content-start align-items-center\">\n                <Box sx={styles.modalHeader}>\n                  <Typography\n                    color={theme.palette.surface80.main}\n                    variant=\"body2\"\n                  >\n                    {policyAction === \"add\" ? \"Add\" : \"Update\"} Compliance\n                    Policy\n                  </Typography>\n                  <TextButton onClick={handleModal}>\n                    <CloseRoundedIcon sx={styles.closeButton} />\n                  </TextButton>\n                </Box>\n                {/* <img\n                  src={deleteIcon}\n                  className=\"mr-3 delete-icon\"\n                  onClick={handleModal}\n                /> */}\n              </div>\n              <div className=\"modal-body mb-2\">\n                {loading && (\n                  <img src={loaderImage} className=\"modal-loading-img\" />\n                )}\n                {/* <div className=\"row py-2 text-center justify-content-start\">\n                  <div className=\"col col-sm-3 d-flex flex-row modal-subtitle justify-content-start align-items-center workday-subheading\">\n                    <input\n                      type=\"radio\"\n                      id=\"default\"\n                      checked={policyType === \"alerting\"}\n                      value={policyType}\n                      onClick={() => setPolicyType(\"alerting\")}\n                      name=\"frequency\"\n                      className=\"mr-3  custom-radio-button\"\n                    />{\" \"}\n                    Alerting Policies\n                  </div>\n                  <div className=\"col col-sm-6 modal-subtitle workday-subheading-value\">\n                    <input\n                      type=\"radio\"\n                      id=\"default\"\n                      checked={policyType === \"automation\"}\n                      value={policyType}\n                      onClick={() => setPolicyType(\"automation\")}\n                      name=\"frequency\"\n                      className=\"mr-3 ml-2 custom-radio-button\"\n                    />{\" \"}\n                    Custom Automation Policies\n                  </div>\n                </div> */}\n                {policyAction !== \"add\" && (\n                  <>\n                    <Typography\n                      variant=\"caption\"\n                      color={theme.palette.surface60.main}\n                    >\n                      Policy:\n                    </Typography>\n                    <div className=\"row py-2\">\n                      <div className=\"col col-sm-12 workday-subheading-value\">\n                        <input\n                          class=\"form-control\"\n                          type=\"text\"\n                          placeholder=\"Enter Policy Name\"\n                          onBlur={formik.handleBlur}\n                          onChange={(e) => {\n                            console.log(e.target.value);\n                            formik.setFieldValue(\"name\", e.target.value);\n                          }}\n                          value={formik.values.name}\n                          id=\"compliance-policy-name\"\n                          disabled\n                        ></input>\n                        {formik.errors.name && formik.touched.name && (\n                          <div className=\"error-message\">\n                            {formik.errors.name}\n                          </div>\n                        )}\n                      </div>\n                    </div>{\" \"}\n                  </>\n                )}\n                {/* <label className=\"label\">\n                  Description: <span className=\"mandatory-icon\">*</span>\n                </label>\n                <div className=\"row py-2\">\n                  <div className=\"col col-sm-12 workday-subheading-value\">\n                    <textarea\n                      className=\"modal-textarea form-control py-2 px-2\"\n                      placeholder=\"Account Description\"\n                      type=\"text\"\n                      value={description}\n                      onChange={(e) => {\n                        setDescription(e.target.value);\n                      }}\n\n                    />\n                  </div>\n                </div>{\" \"} */}\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface60.main}\n                >\n                  Select Target\n                </Typography>\n\n                <div className=\"ml-3 mr-3\">\n                  {/* <div class=\"d-flex flex-wrap chip-container policy-chip-container\">\n                    {selectedAccounts.map((d, index) => (\n                      <div class=\"chip m-1\" key={index}>\n                        <span className=\"mr-2\"> {d.label}</span>\n                        <img\n                          className=\"close-icon\"\n                          src={closeIcon}\n                          title=\"Close\"\n                        />\n                      </div>\n                    ))}\n                    {selectedDatastores.map((d, index) => (\n                      <div class=\"chip m-1\" key={index}>\n                        <span className=\"mr-2\"> {d.label}</span>\n                        <img\n                          className=\"close-icon\"\n                          src={closeIcon}\n                          title=\"Close\"\n                        />\n                      </div>\n                    ))}\n                    {selectedPolicies.map((d, index) => (\n                      <div class=\"chip m-1\" key={index}>\n                        <span className=\"mr-2\"> {d.label}</span>\n                        <img\n                          className=\"close-icon\"\n                          src={closeIcon}\n                          title=\"Close\"\n                        />\n                      </div>\n                    ))}\n                  </div> */}\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    Customer:\n                  </Typography>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <input\n                        class=\"form-control\"\n                        type=\"text\"\n                        placeholder=\"Enter Policy Name\"\n                        value={getCustomerName()}\n                        disabled={true}\n                        id=\"compliance-policy-customer\"\n                      ></input>\n                    </div>\n                  </div>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    Accounts:\n                  </Typography>\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <Select\n                        isMulti\n                        name=\"colors\"\n                        value={selectedAccounts}\n                        options={accountsList}\n                        className=\"basic-multi-select\"\n                        styles={colorStyles}\n                        classNamePrefix=\"select\"\n                        onBlur={formik.handleBlur}\n                        onChange={(value) => {\n                          if (\n                            selectedPolicies !== null &&\n                            selectedPolicies.length > 0\n                          ) {\n                            setShowUpdatePoliciesMessage(true);\n                          }\n                          setSelectedAccounts(value);\n                          formik.setFieldValue(\"accounts\", value);\n                        }}\n                        id=\"compliance-policy-accounts\"\n                      />\n                    </div>\n                  </div>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    Datastores:\n                  </Typography>\n\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <Select\n                        isMulti\n                        name=\"colors\"\n                        value={selectedDatastores}\n                        options={datastores}\n                        className=\"basic-multi-select\"\n                        classNamePrefix=\"select\"\n                        styles={colorStyles}\n                        onBlur={formik.handleBlur}\n                        onChange={(value) => {\n                          setSelectedDatastores(value);\n                          formik.setFieldValue(\"datastores\", value);\n                        }}\n                        id=\"compliance-policy-datastores\"\n                        isDisabled={selectedAccounts.length ? false : true}\n                      />\n                    </div>\n                  </div>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    Tags\n                  </Typography>\n                  <div class=\"d-flex flex-wrap chip-container policy-chip-container\"></div>\n                  <div className=\"ml-3 mr-3\">\n                    <div className=\"row py-2\">\n                      <div className=\"col col-sm-12 workday-subheading-value py-1\">\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface60.main}\n                        >\n                          PII Tags:\n                        </Typography>\n                        <Select\n                          name=\"colors\"\n                          isMulti\n                          options={piiTags}\n                          className=\"basic-multi-select\"\n                          classNamePrefix=\"select\"\n                          styles={colorStyles}\n                          placeholder=\"Select PII Tag\"\n                          onChange={(value) => {\n                            setSelectedPiiTags(value);\n                          }}\n                          id=\"compliance-policy-pii-tags\"\n                          value={selectedPiiTags}\n                          // isDisabled={loader}\n                        />\n                      </div>\n\n                      <div className=\"col col-sm-12 workday-subheading-value py-1\">\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface60.main}\n                        >\n                          Sensitive tags:\n                        </Typography>\n\n                        <Select\n                          isMulti={false}\n                          options={sensitiveTags}\n                          classNamePrefix=\"accounts-dropdown\"\n                          placeholder=\"Select Sensitive Tag\"\n                          styles={colorStyles}\n                          onChange={(value) => {\n                            setSelectedSensitiveTags(value);\n                          }}\n                          id=\"compliance-policy-sensitive-tags\"\n                          value={selectedSensitiveTags}\n                        />\n                      </div>\n\n                      <div className=\"col col-sm-12 workday-subheading-value py-1\">\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface60.main}\n                        >\n                          Custom tag:{\" \"}\n                          <small className=\"font-weight-bold\">\n                            (Hit enter key to add tag)\n                          </small>\n                        </Typography>\n\n                        <input\n                          class=\"form-control\"\n                          type=\"text\"\n                          placeholder=\"Enter Custom Tag\"\n                          onKeyUp={(e) => {\n                            if (e.key === \"Enter\" && e.target.value !== \"\") {\n                              updateTags({\n                                value: e.target.value,\n                                label: e.target.value,\n                                type: \"custom\",\n                              });\n                              e.target.value = \"\";\n                              setTagsUpdated(true);\n                            }\n                          }}\n                          onBlur={formik.handleBlur}\n                          value={formik.values.customTag}\n                          id=\"compliance-policy-custom-tag\"\n                        ></input>\n                        <div className=\"error-message\">{customTagErrors} </div>\n                      </div>\n\n                      <div className=\"ml-2 flex\">\n                        {customTag.map((tag, i) => (\n                          <div class=\"chip policy-chip m-1\" key={i}>\n                            <span className=\"mr-2\">\n                              {tag.label ? tag.label : tag}\n                            </span>\n                            <img\n                              className=\"close-icon\"\n                              src={closeIcon}\n                              title=\"Close\"\n                              onClick={() => (loader ? null : removeTag(tag))}\n                            />\n                          </div>\n                        ))}\n                      </div>\n                    </div>\n                  </div>\n                </div>\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface60.main}\n                >\n                  {`${policyAction === \"add\" ? \"Select\" : \"Update\"} Policies`}\n                </Typography>\n\n                <div className=\"ml-3 mr-3\">\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    Policies:<span className=\"mandatory-icon\">*</span>\n                  </Typography>\n                  {/* <div class=\"d-flex flex-wrap chip-container policy-chip-container\">\n                    {selectedPolicies.map((d, index) => (\n                      <div class=\"chip m-1\" key={index}>\n                        <span className=\"mr-2\"> {d.label}</span>\n                        <img\n                          className=\"close-icon\"\n                          src={closeIcon}\n                          title=\"Close\"\n                        />\n                      </div>\n                    ))}\n                  </div> */}\n                  <div className=\"row py-2\">\n                    <div className=\"col col-sm-12 workday-subheading-value\">\n                      <Select\n                        isMulti\n                        name=\"colors\"\n                        // value={selectedPolicies}\n                        value={formik.values.policies}\n                        options={policiesList}\n                        className=\"basic-multi-select\"\n                        classNamePrefix=\"select\"\n                        styles={colorStyles}\n                        onBlur={formik.handleBlur}\n                        onChange={(value) => setPolicySelectHandler(value)}\n                        id=\"compliance-policy-policy\"\n                        isDisabled={policyAction === \"edit\"}\n                      />\n                      {showUpdatePoliciesMessage && (\n                        <small className=\" text-warning\">\n                          Please update your selected policies\n                        </small>\n                      )}\n                      {formik.touched.policies &&\n                        selectedPolicies.length === 0 && (\n                          <div className=\"error-message\">\n                            {\"Please select policy.\"}\n                          </div>\n                        )}\n                    </div>\n                  </div>\n                </div>\n              </div>\n\n              {/*<div className=\"modal-footer p-2\">*/}\n              <Box sx={styles.modalFooter}>\n                <Button\n                  variant=\"contained\"\n                  disabled={!formik.isValid || loading}\n                  type=\"button\"\n                  onClick={formik.handleSubmit}\n                >\n                  {`${policyAction === \"add\" ? \"Add\" : \"Update\"} Data Policy`}\n                </Button>\n                <Button\n                  variant=\"outlined\"\n                  onClick={() => {\n                    handleModal();\n                  }}\n                >\n                  Cancel\n                </Button>\n              </Box>\n              {/*</div>*/}\n            </div>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default CompliancePolicyModal;\n","import { useState, useEffect } from \"react\";\nimport AddPolicyModal from \"../modal/add-policy-modal/AddPolicyModal\";\nimport {\n  listPoliciesAsync,\n  deletePolicyAsync,\n} from \"../../redux/slices/policySlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BlockUi from \"react-block-ui\";\nimport { Loader } from \"react-loaders\";\nimport { LOADER_CONFIG } from \"../../utils/Constants\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport DeleteConfirmationModal from \"../modal/shared/DeleteConfirmationModal\";\nimport CompliancePolicyModal from \"../modal/compliance-policy-modal/CompliancePolicyModal\";\nimport { getAllPolicies } from \"../../redux/slices/policySlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { listDataStoreNames } from \"../../redux/slices/dataStoreSlice\";\nimport { useParams } from \"react-router-dom\";\nimport Button from \"../common/Button\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport EditIcon from \"@mui/icons-material/Edit\";\nimport DeleteIcon from \"@mui/icons-material/Delete\";\nimport Typography from \"../common/Typography\";\nimport NoData from \"../common/NoData\";\n\nconst PolicySetting = ({}) => {\n  const [isAddPolicyModal, setIsAddPolicyModal] = useState();\n  const [isAddCompliancePolicyModal, setIsAddCompliancePolicyModal] =\n    useState(false);\n  const params = useParams();\n  const [policyAction, setPolicyAction] = useState();\n  const [compliancePolicyAction, setCompliancePolicyAction] = useState();\n  const [alertingPolicies, setAlertingPolicies] = useState([]);\n  const [compliancePolicies, setCompliancePolicies] = useState([]);\n  const dispatch = useDispatch();\n  const [selectedPolicy, setSelectedPolicy] = useState();\n  const policies = useSelector((state) => state.policy.policies);\n  const [loading, setLoading] = useState();\n  const [isDelete, setIsDelete] = useState();\n  const [isComplianceDelete, setIsComplianceDelete] = useState();\n  const [policiesList, setPoliciesList] = useState([]);\n  const [datastoreMappings, setDatastoreMappings] = useState({});\n  const [selectedAccountIDs, setSelectedAccountIDs] = useState();\n  const selectedPolicyItem = sessionStorage.getItem(\"policy\");\n  const theme = useTheme();\n\n  const styles = {\n    tableParent: {\n      height: \"auto\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      marginY: theme.spacing(2),\n    },\n    sortIcon: {\n      fontSize: theme.typography.body2,\n      color: theme.palette.surface50.main,\n    },\n    actionsContainer: { width: \"100px\" },\n    actionIcons: {\n      color: theme.palette.primaryBlue.main,\n      marginLeft: theme.spacing(1),\n    },\n    tableCellCenterAlign: {\n      \"&.MuiTableCell-root\": {\n        textAlign: \"center\",\n      },\n    },\n  };\n\n  const getNames = (name) => {\n    return datastoreMappings[name];\n  };\n\n  const getDatastoreNames = async (ids) => {\n    let payload = {\n      customerId: getCustomerId(),\n      datastores: ids,\n    };\n    let res = await dispatch(listDataStoreNames(payload));\n    if (res && res.payload) {\n      setDatastoreMappings(res.payload);\n    }\n  };\n\n  useEffect(() => {\n    if (!compliancePolicies?.length) return;\n    let ids = [];\n    for (let i of compliancePolicies) {\n      if (i?.target?.datastoreIds) {\n        for (let j of i?.target?.datastoreIds) {\n          ids.push(j);\n        }\n      }\n    }\n    getDatastoreNames(ids);\n  }, [compliancePolicies]);\n\n  const refreshAccounts = async () => {\n    // await dispatch(listPoliciesAsync());\n    getAllPolicieList();\n  };\n  const [showLoader, setShowLoader] = useState(false);\n\n  const getAllPolicieList = async () => {\n    setLoading(true);\n\n    let res = await dispatch(listPoliciesAsync());\n    if (res && res.payload && !res.payload.err) {\n      if (res.payload && res.payload.length > 0) {\n        let updatedCompliancePolicy = [];\n        let updatedAlertingPolicy = [];\n        res.payload.map((policy) => {\n          if (policy.category == \"alerting\") {\n            updatedAlertingPolicy.push(policy);\n          }\n          if (policy.category == \"compliance\") {\n            updatedCompliancePolicy.push(policy);\n          }\n        });\n        setAlertingPolicies(updatedAlertingPolicy);\n        if (params?.policyID) {\n          setCompliancePolicies(\n            filterCompliancePolicies(updatedCompliancePolicy)\n          );\n        } else {\n          setCompliancePolicies(updatedCompliancePolicy);\n        }\n      }\n      // setAlertingPolicies(res.payload);\n      setLoading(false);\n    } else {\n      setLoading(false);\n    }\n  };\n\n  const filterCompliancePolicies = (updatedPolicies) => {\n    let filteredPolicies = [];\n    let policyId = params?.policyID;\n    filteredPolicies = updatedPolicies.filter(\n      (policyItem) => policyItem.policyId === policyId\n    );\n    return filteredPolicies;\n  };\n  const deletePolicy = async () => {\n    setShowLoader(true);\n    const resp = await dispatch(deletePolicyAsync(selectedPolicy._id));\n    if (resp && resp.payload) {\n      setShowLoader(false);\n      setIsDelete(false);\n      setIsComplianceDelete(false);\n\n      Toaster(TOASTER_TYPES.SUCCESS, \"Policy deleted successfully.\");\n      refreshAccounts();\n    } else {\n      setIsDelete(false);\n      setIsComplianceDelete(false);\n\n      setShowLoader(false);\n      Toaster(TOASTER_TYPES.ERROR, \"Failed to delete policy.\");\n    }\n  };\n\n  const refreshPolicyDetails = () => {\n    getAllPolicieList();\n  };\n\n  useEffect(() => {\n    getAllPolicieList();\n  }, []);\n\n  const getTriggerConditionValue = (value, items) => {\n    if (items) {\n      let actions = Object.keys(items);\n      if (actions.includes(value) === true) {\n        return <i class=\"ri-checkbox-circle-fill\"></i>;\n      } else {\n        return <i class=\"ri-close-circle-fill\"></i>;\n      }\n    } else {\n      return <i class=\"ri-close-circle-fill\"></i>;\n    }\n  };\n\n  const getAlertingAction = (items) => {\n    if (items) {\n      let actions = Object.keys(items);\n      if (actions.length > 0) {\n        let action = actions[0];\n        return items[action];\n      } else {\n        return \"\";\n      }\n    } else {\n      return \"\";\n    }\n  };\n\n  useEffect(() => {\n    if (selectedAccountIDs) {\n      getPredefinesPolicieList();\n    }\n  }, [selectedAccountIDs]);\n\n  const getPredefinesPolicieList = async () => {\n    setLoading(true);\n    let payload = {\n      customerId: getCustomerId(),\n      cloudAccountId: selectedAccountIDs ? selectedAccountIDs : \"\",\n    };\n    let res = await dispatch(getAllPolicies(payload));\n    let updatedPolicies = [];\n    if (res && res.payload && !res.payload.err) {\n      res.payload.map((policy) => {\n        updatedPolicies.push({\n          value: policy.policyId,\n          label: policy.description,\n        });\n      });\n      setPoliciesList(updatedPolicies);\n      setLoading(false);\n    } else {\n      setLoading(false);\n    }\n  };\n\n  useEffect(() => {\n    getPredefinesPolicieList();\n  }, []);\n\n  return (\n    <>\n      <div className=\"policy-settings ml-0\">\n        <div className=\"row m-0 justify-content-between align-items-center heading-section\">\n          <div className=\"col col-auto p-0 pb-2\">\n            <Typography color={theme.palette.surface100.main} variant=\"body2\">\n              Policy Settings\n            </Typography>\n          </div>\n        </div>\n        <BlockUi\n          tag=\"div\"\n          blocking={loading}\n          loader={\n            <Loader\n              active\n              type={LOADER_CONFIG.type}\n              color={LOADER_CONFIG.color}\n            />\n          }\n        >\n          <div className=\"row m-0 justify-content-between align-items-center heading-section\">\n            <div className=\"col col-auto py-2 pl-0\">\n              <Typography variant=\"body2\">Alerting Policy</Typography>\n            </div>\n            <div className=\"col col-auto align-items-center p-2 \">\n              <Button\n                variant=\"contained\"\n                type=\"button\"\n                onClick={() => {\n                  setIsAddPolicyModal(true);\n                  setPolicyAction(\"add\");\n                }}\n              >\n                Add Alerting Policy\n              </Button>\n\n              {isAddPolicyModal && policyAction === \"add\" && (\n                <AddPolicyModal\n                  refreshPolicyDetails={refreshPolicyDetails}\n                  refreshAccounts={refreshAccounts}\n                  policyAction={policyAction}\n                  handleModal={() => setIsAddPolicyModal(false)}\n                  policiesList={policiesList}\n                />\n              )}\n            </div>\n          </div>\n          <Box sx={styles.tableParent}>\n            <TableContainer>\n              <Table>\n                <TableHead>\n                  <TableRow>\n                    <TableCell>Policy Name</TableCell>\n                    <TableCell>Description</TableCell>\n                    <TableCell>Account</TableCell>\n                    <TableCell sx={styles.tableCellCenterAlign}>\n                      Risk Upgrade to Critical\n                    </TableCell>\n                    <TableCell sx={styles.tableCellCenterAlign}>\n                      Risk Upgrade To High\n                    </TableCell>\n                    <TableCell sx={styles.tableCellCenterAlign}>\n                      Direct Anomaly On Datastore\n                    </TableCell>\n                    <TableCell sx={styles.tableCellCenterAlign}>\n                      Indirect Anomaly Via Cloud Environment\n                    </TableCell>\n                    <TableCell>Alerting Action</TableCell>\n                    <TableCell>Actions</TableCell>\n                  </TableRow>\n                </TableHead>\n                <TableBody>\n                  {alertingPolicies?.length > 0 &&\n                    alertingPolicies.map(function (item, idx) {\n                      return (\n                        <TableRow>\n                          <TableCell>{item.name}</TableCell>\n                          <TableCell>{item.description}</TableCell>\n                          <TableCell>\n                            <div className=\"row chip-container m-0\">\n                              {item.cloudAccountIds &&\n                                item.cloudAccountIds.map((tag, i) => (\n                                  <div className=\"workday-subheading\" key={i}>\n                                    <div className=\"chip\" title={tag}>\n                                      {tag}\n                                    </div>\n                                  </div>\n                                ))}\n                            </div>\n                          </TableCell>\n                          <TableCell sx={styles.tableCellCenterAlign}>\n                            {getTriggerConditionValue(\n                              \"datastore_risk_critical\",\n                              item.triggerAction\n                            )}\n                          </TableCell>\n                          <TableCell sx={styles.tableCellCenterAlign}>\n                            {getTriggerConditionValue(\n                              \"datastore_risk_high\",\n                              item.triggerAction\n                            )}\n                          </TableCell>\n                          <TableCell sx={styles.tableCellCenterAlign}>\n                            {getTriggerConditionValue(\n                              \"direct_anomaly\",\n                              item.triggerAction\n                            )}\n                          </TableCell>\n                          <TableCell sx={styles.tableCellCenterAlign}>\n                            {getTriggerConditionValue(\n                              \"indirect_anomaly\",\n                              item.triggerAction\n                            )}\n                          </TableCell>\n                          <TableCell sx={styles.tableCellCenterAlign}>\n                            {getAlertingAction(item.triggerAction)}\n                          </TableCell>\n                          <TableCell\n                            sx={{\n                              ...styles.actionsContainer,\n                              ...styles.tableCell,\n                            }}\n                          >\n                            <EditIcon\n                              sx={styles.actionIcons}\n                              fontSize=\"small\"\n                              title=\"Edit Policy\"\n                              onClick={() => {\n                                setIsAddPolicyModal(true);\n                                setPolicyAction(\"edit\");\n                                setSelectedPolicy(item);\n                              }}\n                            />\n                            <DeleteIcon\n                              sx={styles.actionIcons}\n                              fontSize=\"small\"\n                              title=\"Delete Policy\"\n                              onClick={() => {\n                                setIsDelete(true);\n                                setSelectedPolicy(item);\n                              }}\n                            />\n                          </TableCell>\n                        </TableRow>\n                      );\n                    })}\n\n                  {isAddPolicyModal && policyAction === \"edit\" && (\n                    <AddPolicyModal\n                      refreshAccounts={refreshAccounts}\n                      policyAction={policyAction}\n                      policyItem={selectedPolicy}\n                      handleModal={() => setIsAddPolicyModal(false)}\n                      policiesList={policiesList}\n                    />\n                  )}\n                  {isDelete && (\n                    <DeleteConfirmationModal\n                      handleModal={() => setIsDelete(false)}\n                      deleteHandle={deletePolicy}\n                      showLoader={showLoader}\n                      modalData={{\n                        title: \"Delete Policy\",\n                        message:\n                          \"Are you sure, you want to delete this policy?\",\n                      }}\n                    />\n                  )}\n                </TableBody>\n              </Table>\n              {!alertingPolicies?.length && (\n                <NoData customText=\"No alerting policy found.\" />\n              )}\n            </TableContainer>\n          </Box>\n\n          <div className=\"row m-0 justify-content-between align-items-center heading-section\">\n            <div className=\"col col-auto p-2\">\n              <Typography variant=\"body2\">Compliance Policy</Typography>\n            </div>\n            <div className=\"col col-auto align-items-center p-2 \">\n              <Button\n                variant=\"contained\"\n                type=\"button\"\n                onClick={() => {\n                  setIsAddCompliancePolicyModal(true);\n                  setCompliancePolicyAction(\"add\");\n                }}\n              >\n                <img\n                  alt=\"\"\n                  src=\"static/img/add-account.svg\"\n                  className=\"add-account-svg\"\n                />\n                Add Compliance Policy\n              </Button>\n\n              {isAddPolicyModal && policyAction === \"add\" && (\n                <AddPolicyModal\n                  refreshAccounts={refreshAccounts}\n                  policyAction={policyAction}\n                  handleModal={() => setIsAddPolicyModal(false)}\n                  policiesList={policiesList}\n                />\n              )}\n            </div>\n          </div>\n          <Box sx={styles.tableParent}>\n            <TableContainer sx={styles.tableContainer}>\n              <Table>\n                <TableHead>\n                  <TableRow>\n                    <TableCell>Policy</TableCell>\n                    <TableCell sx={styles.tableCellCenterAlign}>\n                      Account\n                    </TableCell>\n                    <TableCell sx={styles.tableCellCenterAlign}>\n                      Data Store\n                    </TableCell>\n                    <TableCell>Actions</TableCell>\n                  </TableRow>\n                </TableHead>\n                <TableBody>\n                  {compliancePolicies?.length > 0 &&\n                    compliancePolicies.map((policy) => (\n                      <TableRow>\n                        <TableCell>{policy.policy}</TableCell>\n                        <TableCell>\n                          <div className=\"row chip-container m-0\">\n                            {policy?.target?.cloudAccountIds &&\n                              policy?.target?.cloudAccountIds.map((tag, i) => (\n                                <div\n                                  className=\"workday-subheading m-auto\"\n                                  key={i}\n                                >\n                                  <div className=\"chip\" title={tag}>\n                                    {tag}\n                                  </div>\n                                </div>\n                              ))}\n                          </div>\n                        </TableCell>\n                        <TableCell>\n                          <div className=\"row chip-container m-0\">\n                            {policy?.target?.datastoreIds &&\n                              policy?.target?.datastoreIds.map((tag, i) => (\n                                <div\n                                  className=\"workday-subheading m-auto\"\n                                  key={i}\n                                >\n                                  <div className=\"chip\" title={tag}>\n                                    {getNames(tag)}\n                                  </div>\n                                </div>\n                              ))}\n                          </div>\n                        </TableCell>\n                        <TableCell>\n                          <EditIcon\n                            sx={styles.actionIcons}\n                            title=\"Edit Policy\"\n                            fontSize=\"small\"\n                            onClick={() => {\n                              setIsAddCompliancePolicyModal(true);\n                              setCompliancePolicyAction(\"edit\");\n                              setSelectedPolicy(policy);\n                            }}\n                          />\n                          <DeleteIcon\n                            sx={styles.actionIcons}\n                            title=\"Delete Policy\"\n                            fontSize=\"small\"\n                            onClick={() => {\n                              setIsComplianceDelete(true);\n                              setSelectedPolicy(policy);\n                            }}\n                          />\n                        </TableCell>\n                      </TableRow>\n                    ))}\n                  {isAddCompliancePolicyModal && (\n                    <CompliancePolicyModal\n                      setSelectedAccountIDs={setSelectedAccountIDs}\n                      refreshAccounts={refreshAccounts}\n                      policyAction={compliancePolicyAction}\n                      policyItem={selectedPolicy}\n                      handleModal={() => setIsAddCompliancePolicyModal(false)}\n                      policiesList={policiesList}\n                      setDatastoreMappings={setDatastoreMappings}\n                    />\n                  )}\n                  {isComplianceDelete && (\n                    <DeleteConfirmationModal\n                      handleModal={() => setIsComplianceDelete(false)}\n                      deleteHandle={deletePolicy}\n                      showLoader={showLoader}\n                      modalData={{\n                        title: \"Delete Policy\",\n                        message:\n                          \"Are you sure, you want to delete this policy?\",\n                      }}\n                    />\n                  )}\n                </TableBody>\n              </Table>\n              {!compliancePolicies?.length && (\n                <NoData customText=\"No compliance policy found.\" />\n              )}\n            </TableContainer>\n          </Box>\n        </BlockUi>\n        {/* <div className=\"mx-4 mt-4\">\n          <div>\n            <b className=\"automation-policy-title\">\n              \n              Custom Automation Policies\n            </b>\n          </div>\n          <hr />\n          <div className=\"mt-3\">\n            <table className=\"automation-policy-table\">\n              <thead>\n                <tr>\n                  <th>Policy Name</th>\n                  <th>Description</th>\n                  <th>Account</th>\n                  <th>Issues</th>\n                  <th>Resources</th>\n\n                  <th>Alerting Action</th>\n                  <th>Actions</th>\n                </tr>\n              </thead>\n              <tbody>\n                {automationPolicies.map(function (item, idx) {\n                  return (\n                    <tr key={idx}>\n                      <td>{item.policyName}</td>\n                      <td>{item.description}</td>\n                      <td>{item.accounts}</td>\n                      <td>{item.issues}</td>\n                      <td>{item.resources}</td>\n                      <td>{item.alertingAction}</td>\n                      <td className=\"action-buttons\">\n                        <i\n                          className=\"ri-pencil-fill mr-2 cursor-pointer\"\n                          title=\"Edit Policy\"\n                        ></i>\n                        <i\n                          className=\"ri-delete-bin-2-fill\"\n                          title=\"Delete Policy\"\n                        ></i>\n                      </td>\n                    </tr>\n                  );\n                })}\n              </tbody>\n            </table>\n          </div>\n        </div> */}\n      </div>\n    </>\n  );\n};\n\nexport default PolicySetting;\n","import { useTheme } from \"@mui/material\";\nimport MUITab, { TabProps } from \"@mui/material/Tab\";\nimport MUITabs, { TabsProps } from \"@mui/material/Tabs\";\nimport Box from \"./Box\";\n\nexport const Tabs = (props: TabsProps) => {\n  const theme = useTheme();\n  return (\n    <MUITabs\n      {...props}\n      sx={{\n        \"&.MuiTabs-root\": {\n          minHeight: \"13px\",\n          flexShrink: 0,\n        },\n      }}\n      TabIndicatorProps={{\n        sx: {\n          height: \"1px\",\n          backgroundColor: theme.palette.primaryBlue.main,\n        },\n      }}\n    />\n  );\n};\n\ninterface CustomTabProps extends TabProps {\n  sx?: any;\n}\n\nexport const Tab = (props: CustomTabProps) => {\n  const theme = useTheme();\n  const styles = {\n    muiTab: {\n      fontSize: \"13px\",\n      color: theme.palette.surface70.main,\n      textTransform: \"none\",\n      \"&.Mui-selected\": {\n        color: theme.palette.surface80.main,\n        fontWeight: theme.typography.fontWeightMedium,\n      },\n      \"&.MuiButtonBase-root\": {\n        padding: 0,\n        minHeight: \"21px\",\n        paddingY: \"8px\",\n        marginRight: theme.spacing(2),\n      },\n      \"&.MuiTab-root\": {\n        minWidth: \"fit-content\",\n      },\n      \".MuiTouchRipple-root\": {\n        display: \"none\",\n      },\n      ...props.sx,\n    },\n  };\n  return <MUITab {...props} sx={styles.muiTab} />;\n};\n\nexport const TabPanel = ({\n  children,\n  value,\n  index,\n  sx,\n  ...props\n}: {\n  children: JSX.Element | string;\n  value: string;\n  index: string;\n  sx?: any;\n}) => {\n  const styles = {\n    tabPanel: {\n      width: \"100%\",\n      height: \"100%\",\n    },\n  };\n\n  return (\n    <Box\n      role=\"tabpanel\"\n      sx={{ ...styles.tabPanel, ...sx }}\n      hidden={value !== index}\n      id={`simple-tabpanel-${index}`}\n      aria-labelledby={`simple-tab-${index}`}\n      {...props}\n    >\n      {value === index && children}\n    </Box>\n  );\n};\n","import MUIDialog from \"@mui/material/Dialog\";\nimport MUIDialogTitle from \"@mui/material/DialogTitle\";\nimport MuiDialogContent from \"@mui/material/DialogContent\";\nimport MuiDialogActions from \"@mui/material/DialogActions\";\nimport Box from \"./Box\";\nimport { IconButton, useTheme } from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\n\nexport const Dialog = (props) => {\n  const theme = useTheme();\n  const styles = {\n    dialog: {\n      \".MuiPaper-root\": {\n        background: theme.palette.surface10.main,\n      },\n    },\n  };\n  return <MUIDialog {...props} sx={{ ...styles.dialog, ...props.sx }} />;\n};\n\nexport const DialogTitle = ({ handleClose, children }, props) => {\n  const theme = useTheme();\n  const styles = {\n    dialogHeader: {\n      display: \"flex\",\n      alignItems: \"flex-start\",\n      justifyContent: \"space-between\",\n      paddingX: theme.spacing(2),\n      paddingY: theme.spacing(2),\n    },\n    dialogTitle: {\n      color: theme.palette.surface80.main,\n      fontSize: theme.spacing(2.25),\n      padding: 0,\n      textTransform: \"none\",\n    },\n    closeIcon: {\n      fontSize: theme.spacing(2),\n      width: theme.spacing(2),\n    },\n  };\n  return (\n    <Box sx={styles.dialogHeader}>\n      <MUIDialogTitle\n        children={children}\n        {...props}\n        sx={{ ...styles.dialogTitle, ...props.sx }}\n      />\n      <IconButton aria-label=\"close\" onClick={handleClose}>\n        <CloseIcon sx={styles.closeIcon} />\n      </IconButton>\n    </Box>\n  );\n};\n\nexport const DialogContent = (props) => {\n  return <MuiDialogContent {...props} />;\n};\n\nexport const DialogActions = (props) => {\n  const theme = useTheme();\n  const styles = {\n    dialogAction: {\n      padding: theme.spacing(2),\n      \">:not(:first-of-type)\": {\n        marginLeft: theme.spacing(2),\n      },\n    },\n  };\n  return (\n    <MuiDialogActions {...props} sx={{ ...styles.dialogAction, ...props.sx }} />\n  );\n};\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Adds a topic\n * @param {*} params\n * @returns\n */\nexport const addTopic = (params) => {\n  return axiosDenaliPrivate.post(\"api/v1/ai/app/byot/add_topic\", params, {\n    headers: { \"Content-Type\": \"multipart/form-data\" },\n  });\n};\n\nexport const fetchTopics = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/byot/get_byot_topic\", params);\n};\n\nexport const deleteTopic = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/byot/delete_topic\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { addTopic, deleteTopic, fetchTopics } from \"../apis/topicAPI\";\n\nconst initialState = {\n  topics: [],\n};\n\nexport const fetchTopicSlice = createAsyncThunk(\n  \"topic/fetchTopics\",\n  async (params: any) => {\n    const response = await fetchTopics(params);\n    return response.data;\n  }\n);\n\nexport const addTopicSlice = createAsyncThunk(\n  \"topic/addTopic\",\n  async (params: any) => {\n    const response = await addTopic(params);\n    return response.data;\n  }\n);\n\nexport const deleteTopicSlice = createAsyncThunk(\n  \"topic/deleteTopic\",\n  async (params: any) => {\n    const response = await deleteTopic(params);\n    return response.data;\n  }\n);\n\nexport const topicSlice = createSlice({\n  name: \"topic\",\n  initialState,\n  reducers: {},\n  extraReducers: () => {},\n});\n\nexport default topicSlice.reducer;\n","import { IconButton, useTheme } from \"@mui/material\";\nimport Box from \"../../components/common/Box\";\n\nimport { TextField } from \"../../components/common/TextField\";\nimport TextButton from \"../../components/common/TextButton\";\nimport AddIcon from \"@mui/icons-material/Add\";\nimport Divider from \"../../components/common/Divider\";\nimport Typography from \"../../components/common/Typography\";\nimport DeleteIcon from \"@mui/icons-material/Delete\";\nimport WysiwygIcon from \"@mui/icons-material/Wysiwyg\";\nimport DescriptionIcon from \"@mui/icons-material/Description\";\nimport Button from \"../../components/common/Button\";\nimport { useEffect, useRef, useState } from \"react\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../common/Dialog\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchTopics } from \"../../redux/apis/topicAPI\";\nimport { addTopicSlice } from \"../../redux/slices/topicSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst TOPIC_ERROR_CODES = {\n  successful: 200,\n  topic_name_error: 409,\n  file_error: 400,\n};\n\nconst TOPIC_FILE_UPLOAD_PROMPTS = [\n  {\n    id: 0,\n    message: \"Checking if sufficient samples are provided ... \",\n    maxDelay: 2000,\n    minDelay: 2000,\n  },\n  {\n    id: 1,\n    message: \"Checking if samples have enough variance ... \",\n    maxDelay: 3000,\n    minDelay: 1000,\n  },\n  {\n    id: 2,\n    message:\n      \"Checking for minimum centroidal distance from existing topics ... \",\n    maxDelay: 4000,\n    minDelay: 1000,\n  },\n];\n\nconst MessageString = ({\n  uploadStatus,\n  successCloseDialog,\n  failCloseDialog,\n}) => {\n  const firstMessage = TOPIC_FILE_UPLOAD_PROMPTS[0];\n  const theme = useTheme();\n  const [messages, setMessages] = useState<\n    Array<{ id: number; message: string; status: string; delay: number }>\n  >([\n    {\n      id: firstMessage.id,\n      message: firstMessage.message,\n      status: \"\",\n      delay: firstMessage.maxDelay,\n    },\n  ]);\n  useEffect(() => {\n    const timeoutIds: any = [];\n    let messageList = messages;\n    TOPIC_FILE_UPLOAD_PROMPTS.forEach((message, i) => {\n      const isError = uploadStatus === TOPIC_ERROR_CODES.file_error;\n      const delay = isError\n        ? message.minDelay * (i + 1)\n        : message.maxDelay * (i + 1);\n      const timeoutId = setTimeout(() => {\n        const text = isError\n          ? message.id === 0\n            ? \"failed\"\n            : \"skipped\"\n          : \"success\";\n        // update message status and next message string\n        const newMessages = messageList.map((msg) =>\n          msg.id === i ? { ...msg, status: text } : msg\n        );\n        console.log(\"id message\", i, newMessages);\n        if (i <= 2) {\n          const nextMessage = TOPIC_FILE_UPLOAD_PROMPTS[i + 1];\n          messageList = [\n            ...newMessages,\n            {\n              id: nextMessage?.id,\n              message: nextMessage?.message,\n              status: \"\",\n              delay: nextMessage?.maxDelay,\n            },\n          ];\n        } else {\n          messageList = newMessages;\n        }\n        setMessages(messageList);\n      }, delay);\n      console.log({ messageList });\n      timeoutIds.push(timeoutId);\n    });\n\n    return () => {\n      timeoutIds.forEach((id) => clearTimeout(id));\n    };\n  }, []);\n\n  useEffect(() => {\n    const isError = uploadStatus === TOPIC_ERROR_CODES.file_error;\n    if (messages.length === 3 && messages[3]?.status !== \"\") {\n      let t = setTimeout(\n        () => {\n          isError ? failCloseDialog() : successCloseDialog();\n        },\n        isError ? 2000 : 6000\n      );\n    }\n  }, [messages]);\n\n  const styles = {\n    messages: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      padding: theme.spacing(1),\n      borderRadius: theme.spacing(0.5),\n    },\n    message: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    statusCode: (str) => ({\n      color:\n        str === \"failed\"\n          ? theme.palette.critical.main\n          : str === \"skipped\"\n          ? theme.palette.warning.main\n          : theme.palette.success.main,\n    }),\n  };\n\n  return (\n    <Box sx={styles.messages}>\n      {messages.map((str, i) => (\n        <Box sx={styles.message}>\n          <>\n            <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n              {str.message}\n            </Typography>\n            <Typography\n              variant=\"caption\"\n              color={theme.palette.surface60.main}\n              sx={styles.statusCode(str.status)}\n            >\n              {str.status}\n            </Typography>\n          </>\n        </Box>\n      ))}\n    </Box>\n  );\n};\n\nconst AlertBox = ({ type, title, createdAt, onDelete }) => {\n  const theme = useTheme();\n  const styles = {\n    alert: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n      background: \"#2A2D40\",\n      padding: theme.spacing(1),\n      borderRadius: \"2px\",\n    },\n    details: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n      width: \"85%\",\n    },\n    deleteIcon: {\n      fontSize: theme.spacing(2.5),\n      width: theme.spacing(2.5),\n      color: theme.palette.primaryBlue.main,\n    },\n    detailHeader: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    icon: {\n      color: theme.palette.surface40.main,\n      fontSize: theme.spacing(2),\n      width: theme.spacing(2),\n    },\n    createdAtBox: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    createdAt: {\n      fontSize: theme.spacing(1.25),\n    },\n  };\n  return (\n    <Box sx={styles.alert}>\n      <Box sx={styles.details}>\n        <Box sx={styles.detailHeader}>\n          {type === \"text\" ? (\n            <WysiwygIcon sx={styles.icon} />\n          ) : (\n            <DescriptionIcon sx={styles.icon} />\n          )}\n          <Typography color={theme.palette.surface80.main} variant=\"subtitle2\">\n            {title}\n          </Typography>\n        </Box>\n        <Box style={styles.createdAtBox}>\n          <Typography\n            color={theme.palette.surface50.main}\n            sx={styles.createdAt}\n          >\n            Added on:\n          </Typography>\n          <Typography\n            color={theme.palette.surface50.main}\n            sx={styles.createdAt}\n          >\n            {createdAt}\n          </Typography>\n        </Box>\n      </Box>\n      <IconButton onClick={onDelete}>\n        <DeleteIcon sx={styles.deleteIcon} />\n      </IconButton>\n    </Box>\n  );\n};\n\nexport const AddTopic = ({ isOpen, handleClose, fetchTopics }) => {\n  const [topicData, setTopicData] = useState<{\n    topic: string;\n    description: string;\n    examples: Array<{ id: string | number; createdOn: Date; value: string }>;\n    file: Blob | null;\n  }>({\n    topic: \"\",\n    description: \"\",\n    examples: [],\n    file: null,\n  });\n  const [emptyFields, setEmptyFields] = useState({\n    topic: \"\",\n    description: \"\",\n    file: \"\",\n  });\n  const [exampleValue, setExampleValue] = useState(\"\");\n  const [fileStatus, setFileStatus] = useState(null);\n  const [addedTopic, setAddedTopic] = useState(false);\n  const [isAdding, setIsAdding] = useState(false);\n\n  const theme = useTheme();\n  const fileInputRef = useRef<any>();\n  const dispatch = useDispatch<AppDispatch>();\n\n  const styles = {\n    dialogContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    textArea: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    addButton: {\n      marginLeft: \"auto\",\n    },\n    icon: {\n      fontSize: theme.spacing(2),\n      width: theme.spacing(2),\n    },\n    dividerBody: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    divider: {\n      width: \"100%\",\n      height: \"1px\",\n      background: theme.palette.surface20.main,\n      border: \"none\",\n      margin: \"auto\",\n      flexShrink: 1,\n    },\n    orText: {\n      fontSize: theme.spacing(1.5),\n    },\n    uploadFileBox: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n      marginTop: theme.spacing(1),\n    },\n    exampleText: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n      marginTop: theme.spacing(1.25),\n    },\n    alertHeading: {\n      fontSize: theme.spacing(1.25),\n    },\n    uploadFileText: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n      marginTop: theme.spacing(1),\n    },\n    messageBox: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      marginTop: theme.spacing(1),\n    },\n    messages: {\n      display: \"flex\",\n      flexDirection: \"column\",\n    },\n  };\n\n  const handleChange = (event) => {\n    if (event.target.files[0]) {\n      setEmptyFields({ ...emptyFields, file: \"\" });\n      setFileStatus(null);\n    }\n    setTopicData({\n      ...topicData,\n      file: event.target.files[0],\n      examples: [\n        {\n          id: topicData.examples.length + 1,\n          value: event.target.files[0]?.name,\n          createdOn: new Date(),\n        },\n      ],\n    });\n  };\n\n  const onAddExample = () => {\n    if (exampleValue) {\n      setTopicData({\n        ...topicData,\n        examples: [\n          {\n            id: topicData.examples.length + 1,\n            value: exampleValue,\n            createdOn: new Date(),\n          },\n        ],\n      });\n      setExampleValue(\"\");\n    }\n  };\n\n  const handleSubmit = async () => {\n    const emptyFields = validateInputFields();\n    if (Object.values(emptyFields).some((error) => error !== \"\")) return;\n    setIsAdding(true);\n    setFileStatus(null);\n    const formData = new FormData();\n    const customerId = getCustomerId();\n    formData.append(\"customerId\", customerId);\n    formData.append(\"topic_name\", topicData?.topic);\n    formData.append(\"topic_description\", topicData?.description);\n    if (topicData?.file) {\n      formData.append(\"upload_file\", topicData?.file, topicData?.file?.name);\n    }\n\n    const response = await dispatch(addTopicSlice(formData));\n    const payload = response.payload;\n\n    if (payload.status_code) {\n      if (\n        payload.status_code === TOPIC_ERROR_CODES.successful ||\n        payload.status_code === TOPIC_ERROR_CODES.file_error\n      )\n        setFileStatus(payload?.status_code);\n\n      if (payload.status_code === TOPIC_ERROR_CODES.topic_name_error) {\n        setIsAdding(false);\n        setEmptyFields({ ...emptyFields, topic: payload?.message });\n      }\n    }\n  };\n\n  const successFunc = () => {\n    setIsAdding(false);\n    setAddedTopic(true);\n  };\n\n  const failFunc = () => {\n    setIsAdding(false);\n  };\n\n  const closeAfterAdding = () => {\n    setFileStatus(null);\n    Toaster(TOASTER_TYPES.SUCCESS, \"Topic successfully added\");\n    const customerId = getCustomerId();\n    fetchTopics({ customerId });\n    onClose();\n  };\n\n  const validateInputFields = () => {\n    const fieldValidation = {\n      topic: !topicData?.topic ? \"Please provide a topic name\" : \"\",\n      description: !topicData.description\n        ? \"Please provide topic description\"\n        : \"\",\n      file: !topicData?.file\n        ? \"Please upload examples to help the AI model learn and identify this topic\"\n        : \"\",\n    };\n    setEmptyFields(fieldValidation);\n    return fieldValidation;\n  };\n\n  const onDeleteExample = (id) => {\n    if (id) {\n      setFileStatus(null);\n\n      const filteredData = topicData.examples.filter((item) => item.id !== id);\n      setTopicData({ ...topicData, file: null, examples: filteredData });\n    }\n  };\n\n  const onClose = () => {\n    setTopicData({ topic: \"\", description: \"\", examples: [], file: null });\n    setEmptyFields({ topic: \"\", description: \"\", file: \"\" });\n    setIsAdding(false);\n    setAddedTopic(false);\n    setFileStatus(null);\n    handleClose();\n  };\n\n  return (\n    <Dialog open={isOpen} fullWidth maxWidth=\"sm\">\n      <DialogTitle handleClose={onClose}>Add Topic</DialogTitle>\n      <DialogContent sx={styles.dialogContent}>\n        <TextField\n          label=\"Name\"\n          variant=\"standard\"\n          value={topicData?.topic}\n          onChange={(e) => {\n            if (e.target.value && emptyFields.topic) {\n              setEmptyFields({ ...emptyFields, topic: \"\" });\n            }\n            setTopicData({ ...topicData, topic: e.target.value });\n          }}\n          error={emptyFields.topic ? true : false}\n          helperText={emptyFields.topic}\n        />\n        <TextField\n          label=\"Description\"\n          variant=\"standard\"\n          value={topicData?.description}\n          onChange={(e) => {\n            if (e.target.value && emptyFields.description) {\n              setEmptyFields({ ...emptyFields, description: \"\" });\n            }\n            setTopicData({ ...topicData, description: e.target.value });\n          }}\n          error={emptyFields.description ? true : false}\n          helperText={\n            emptyFields.description && \"Please provide topic description\"\n          }\n        />\n        {/*<Box sx={styles.textArea}>\n          <TextField\n            label=\"Examples\"\n            multiline\n            maxRows={4}\n            minRows={4}\n            variant=\"outlined\"\n            value={exampleValue}\n            onChange={(e) => setExampleValue(e.target.value)}\n          />\n          <TextButton\n            startIcon={<AddIcon />}\n            sx={styles.addButton}\n            onClick={onAddExample}\n          >\n            Add\n          </TextButton>\n        </Box>\n        <Box sx={styles.dividerBody}>\n          <Divider variant=\"middle\" sx={styles.divider} />\n          <Typography color={theme.palette.surface40.main} sx={styles.orText}>\n            OR\n          </Typography>\n          <Divider variant=\"middle\" sx={styles.divider} />\n        </Box>*/}\n        <Box sx={styles.uploadFileBox}>\n          <Box sx={styles.uploadFileText}>\n            <Typography color={theme.palette.surface60.main} variant=\"body2\">\n              Provide examples relevant to the topic\n            </Typography>\n            <TextButton onClick={() => fileInputRef?.current?.click()}>\n              Upload File\n            </TextButton>\n            <input\n              onChange={handleChange}\n              onClick={(event: any) => (event.target.value = null)}\n              multiple={false}\n              ref={fileInputRef}\n              type=\"file\"\n              accept=\".xlsx\"\n              hidden\n            />\n          </Box>\n          {emptyFields.file && (\n            <Box>\n              <Typography variant=\"caption\" color={theme.palette.critical.main}>\n                {emptyFields.file}\n              </Typography>\n            </Box>\n          )}\n          <Box sx={styles.exampleText}>\n            <Typography color={theme.palette.surface40.main} variant=\"body2\">\n              Examples Uploaded ({topicData?.examples?.length})\n            </Typography>\n\n            {topicData?.examples?.length > 0 &&\n              topicData?.examples.map((item) => {\n                let date = new Date(item?.createdOn);\n                let dateString = [\n                  date.getFullYear(),\n                  (\"0\" + (date.getMonth() + 1)).slice(-2),\n                  (\"0\" + date.getDate()).slice(-2),\n                ].join(\"-\");\n\n                const hoursAndMinutes =\n                  date.getHours() +\n                  \":\" +\n                  date.getMinutes() +\n                  \":\" +\n                  date.getSeconds();\n                return (\n                  <AlertBox\n                    type=\"text\"\n                    title={item.value}\n                    createdAt={`${dateString} | ${hoursAndMinutes}`}\n                    onDelete={() => onDeleteExample(item.id)}\n                  />\n                );\n              })}\n          </Box>\n          <Box sx={styles.messageBox}>\n            {fileStatus && (\n              <Box sx={styles.messages}>\n                <MessageString\n                  uploadStatus={fileStatus}\n                  successCloseDialog={successFunc}\n                  failCloseDialog={failFunc}\n                />\n              </Box>\n            )}\n          </Box>\n        </Box>\n      </DialogContent>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={onClose}>\n          Cancel\n        </Button>\n        <Button\n          variant=\"contained\"\n          onClick={addedTopic ? closeAfterAdding : handleSubmit}\n          disabled={isAdding}\n        >\n          {addedTopic ? \"Done\" : isAdding ? \"Adding\" : \"Add Topic\"}\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n","import { useTheme } from \"@mui/material\";\nimport MUIChip, { ChipProps } from \"@mui/material/Chip\";\n\nconst Chip = (props: ChipProps) => {\n  const theme = useTheme();\n  const styles = {\n    chip: {\n      height: \"26px\",\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightMedium,\n      \"&.MuiChip-colorPrimary\": {\n        backgroundColor: theme.palette.primaryBlue.main,\n        borderColor: theme.palette.primaryBlue.main,\n      },\n    },\n  };\n  return <MUIChip sx={styles.chip} {...props} />;\n};\n\nexport default Chip;\n","import { useState } from \"react\";\nimport { Select } from \"../../components/common/Select\";\nimport Box from \"../../components/common/Box\";\nimport { TextField } from \"../../components/common/TextField\";\nimport TextButton from \"../../components/common/TextButton\";\nimport { useTheme } from \"@mui/material\";\nimport AddIcon from \"@mui/icons-material/Add\";\nimport Chip from \"../../components/common/Chip\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport Button from \"../../components/common/Button\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../common/Dialog\";\n\nconst sensitiveTag = [\n  { label: \"Low\", value: \"low\" },\n  { label: \"Medium\", value: \"medium\" },\n  { label: \"High\", value: \"high\" },\n  { label: \"Critical\", value: \"critical\" },\n];\n\nexport const AddEntity = ({ isOpen, handleClose }) => {\n  const theme = useTheme();\n  const [customEntity, setCustomEntity] = useState(\"\");\n  const [entityData, setEntityData] = useState<{\n    selectedSensitiveTag: string;\n    customEntity: Array<string>;\n  }>({\n    selectedSensitiveTag: \"low\",\n    customEntity: [],\n  });\n  const styles = {\n    dialogContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    customEntity: {\n      position: \"relative\",\n    },\n    addButton: {\n      position: \"absolute\",\n      right: \"10px\",\n      bottom: \"10px\",\n    },\n    chipContainer: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    closeIcon: {\n      fontSize: \"10px\",\n      width: \"10px\",\n    },\n  };\n\n  const handleAddCustomEntity = () => {\n    if (customEntity) {\n      const customEntities = [...entityData.customEntity, customEntity];\n      setEntityData({ ...entityData, customEntity: customEntities });\n      setCustomEntity(\"\");\n    }\n  };\n\n  const handleDelete = (value) => {\n    if (value) {\n      const customEntities = entityData.customEntity.filter(\n        (item) => item !== value\n      );\n      setEntityData({ ...entityData, customEntity: customEntities });\n    }\n  };\n\n  const handleSubmit = () => {};\n\n  return (\n    <Dialog open={isOpen} fullWidth maxWidth=\"sm\">\n      <DialogTitle handleClose={handleClose}>Add Entity</DialogTitle>\n      <DialogContent sx={styles.dialogContent}>\n        <Select\n          label=\"Sensitive Tag\"\n          variant=\"standard\"\n          fullWidth\n          defaultValue={sensitiveTag.length > 0 && sensitiveTag[0]?.value}\n          value={entityData?.selectedSensitiveTag}\n          options={sensitiveTag}\n          onChange={(event) => {\n            setEntityData({\n              ...entityData,\n              selectedSensitiveTag:\n                sensitiveTag?.find((tag) => tag?.value === event.target.value)\n                  ?.value || \"\",\n            });\n          }}\n        />\n        <Box sx={styles.customEntity}>\n          <TextField\n            fullWidth\n            label=\"Custom Entity\"\n            placeholder=\"E.g. Phone Number\"\n            variant=\"standard\"\n            value={customEntity}\n            onChange={(e) => setCustomEntity(e.target.value)}\n          />\n          <TextButton\n            startIcon={<AddIcon />}\n            onClick={handleAddCustomEntity}\n            sx={styles.addButton}\n          >\n            Add\n          </TextButton>\n        </Box>\n        <Box sx={styles.chipContainer}>\n          {entityData?.customEntity?.map((item) => (\n            <Chip\n              label={item}\n              variant=\"outlined\"\n              color=\"primary\"\n              deleteIcon={<CloseIcon sx={styles.closeIcon} />}\n              onDelete={() => handleDelete(item)}\n            />\n          ))}\n        </Box>\n      </DialogContent>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={handleClose}>\n          Cancel\n        </Button>\n        <Button variant=\"contained\" onClick={handleSubmit}>\n          Add\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n","import { IconButton, useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport { Dialog, DialogActions } from \"./Dialog\";\nimport Typography from \"./Typography\";\nimport Button from \"./Button\";\nimport CloseRounded from \"@mui/icons-material/CloseRounded\";\n\nconst DiscardChanges = ({ open, onClose, onSubmit }) => {\n  const theme = useTheme();\n  const styles = {\n    dialogHeader: {\n      display: \"flex\",\n      padding: theme.spacing(3),\n      alignItems: \"center\",\n      justifyContent: \"space-between\",\n    },\n    dialogContent: {\n      paddingX: theme.spacing(3),\n    },\n    closeIcon: {\n      color: theme.palette.surface100.main,\n      fontSize: theme.spacing(3),\n      width: theme.spacing(3),\n    },\n  };\n  return (\n    <Dialog open={open} onClose={onClose} fullWidth={true}>\n      <Box sx={styles.dialogHeader}>\n        <Typography variant=\"subtitle1\" color={theme.palette.surface100.main}>\n          Discard Changes\n        </Typography>\n        <IconButton onClick={onClose}>\n          <CloseRounded sx={styles.closeIcon} />\n        </IconButton>\n      </Box>\n      <Box sx={styles.dialogContent}>\n        <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n          You will lose any changes you have made\n        </Typography>\n      </Box>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={onClose}>\n          Cancel\n        </Button>\n        <Button variant=\"contained\" onClick={onSubmit}>\n          Discard\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default DiscardChanges;\n","import { useTheme } from \"@mui/material\";\nimport type { CheckboxProps } from \"@mui/material/Checkbox\";\nimport MUICheckbox from \"@mui/material/Checkbox\";\n\ninterface MUICheckboxProps extends CheckboxProps {\n  label: string;\n}\n\nconst Checkbox = ({ sx, label, ...otherProps }: MUICheckboxProps) => {\n  const theme = useTheme();\n\n  const styles = {\n    root: {\n      \"&.MuiButtonBase-root\": {\n        padding: theme.spacing(0),\n        svg: {\n          fontSize: \"20px\",\n        },\n      },\n    },\n  };\n  return <MUICheckbox sx={{ ...styles.root, ...sx }} {...otherProps} />;\n};\n\nexport default Checkbox;\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\nexport const getActiveUsers = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/users/\", params);\n};\n\nexport const getUserGroups = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/user-groups\", params);\n};\n\nexport const getActiveUsersByRetrievals = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/user_groups/\", params);\n};\n\nexport const getUserInfo = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/user/info\", params);\n};\n\nexport const getUserDetails = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/user/details\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  getActiveUsers,\n  getActiveUsersByRetrievals,\n  getUserDetails,\n  getUserGroups,\n  getUserInfo,\n} from \"../apis/userAPI\";\n\nconst initialState = {\n  users: null,\n  selectedUserRetrievals: null,\n};\n\nexport const fetchActiveUsersSlice = createAsyncThunk(\n  \"user/fetch\",\n  async (params: { customerId: string; count?: number }) => {\n    const response = await getActiveUsers(params);\n    return response.data;\n  }\n);\n\nexport const fetchUserGroupsSlice = createAsyncThunk(\n  \"user/getUserGroups\",\n  async (params: { customerId: string }) => {\n    const response = await getUserGroups(params);\n    return response.data;\n  }\n);\n\nexport const getActiveUsersByRetrievalsSlice = createAsyncThunk(\n  \"user/getActiveUsersByRetrievals\",\n  async (params: { customerId: string }) => {\n    const response = await getActiveUsersByRetrievals(params);\n    return response.data;\n  }\n);\n\nexport const getUserInfoSlice = createAsyncThunk(\n  \"user/info\",\n  async (params: { customerId: string; name: string }) => {\n    const response = await getUserInfo(params);\n    return response.data;\n  }\n);\n\nexport const getUserRetrievals = createAsyncThunk(\n  \"user/details\",\n  async (params: { customerId: string; name: string }) => {\n    const response = await getUserDetails(params);\n    return response.data;\n  }\n);\n\nconst userSlice = createSlice({\n  name: \"user\",\n  initialState,\n  reducers: {},\n  extraReducers: (builder) => {\n    builder.addCase(fetchActiveUsersSlice.fulfilled, (state, action) => {\n      const userList = action?.payload\n        ? Object.keys(action?.payload).map((key) => ({\n            name: key,\n            ...action?.payload[key],\n          }))\n        : [];\n      state.users = userList as any;\n    });\n    builder.addCase(getUserRetrievals.fulfilled, (state, action) => {\n      state.selectedUserRetrievals = action.payload;\n    });\n  },\n});\n\nexport default userSlice.reducer;\n","import { IconButton, useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\n\nimport CloseRoundedIcon from \"@mui/icons-material/CloseRounded\";\nimport Box from \"../../common/Box\";\nimport { Select } from \"../../common/Select\";\nimport Typography from \"../../common/Typography\";\nimport Search from \"../../common/Search\";\nimport Checkbox from \"../../common/Checkbox\";\nimport NoData from \"../../common/NoData\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchUserGroupsSlice } from \"../../../redux/slices/userSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { AppDispatch } from \"../../../redux/store\";\n\nconst identityProviders = [\n  {\n    label: \"Azure Active Directory\",\n    value: \"azure_ad\",\n    path: \"LDAP://OU=SecurityGroups,OU=Departments,OU=Company,DC=corp,DC=company,DC=com\",\n    groups: [\n      \"us_support_group@acmecorp.com\",\n      \"underwriter_group@acmecorp.com\",\n      \"us_intern_group@acmecorp.com\",\n      \"sales_group@acmecorp.com\",\n      \"customer_care@acmecorp.com\",\n    ],\n  },\n  { label: \"Google\", value: \"google\", path: \"\", groups: [] },\n  { label: \"Okta\", value: \"okta\", path: \"\", groups: [] },\n];\n\nconst SelectGroups = ({\n  selectedGroups,\n  setSelectedGroups,\n  setIdentityProvider,\n  identityProvider,\n  isProviderEmpty,\n  isIdentitiesEmpty,\n}) => {\n  const [searchKeyword, setSearchKeyword] = useState(\"\");\n  const [IDgroups, setIDGroups] = useState<any>([]);\n  const [userGroups, setUserGroups] = useState<any>([]);\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const styles = {\n    flex: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    width60: {\n      width: \"60%\",\n    },\n    groupsBox: {\n      width: \"100%\",\n      gap: theme.spacing(3),\n    },\n    gap_4: {\n      gap: theme.spacing(4),\n    },\n    availableGroup: {\n      border: `1px solid ${theme.palette.surface20.main}`,\n      width: \"50%\",\n      borderRadius: \"4px\",\n    },\n    listOfGroups: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      minHeight: \"250px\",\n      maxHeight: \"250px\",\n      overflowY: \"auto\",\n      gap: theme.spacing(1.5),\n      padding: theme.spacing(2),\n      borderTop: `1px solid ${theme.palette.surface20.main}`,\n    },\n    checkbox: {\n      \"& .MuiSvgIcon-root\": { fontSize: \"20px\", width: \"fit-content\" },\n    },\n    groupName: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    truncatedText: {\n      whiteSpace: \"nowrap\",\n      overflow: \"hidden\",\n      textOverflow: \"ellipsis\",\n    },\n    cancelIcon: {\n      width: \"16px\",\n      color: theme.palette.primaryBlue.main,\n    },\n    iconButton: {\n      width: \"20px\",\n      padding: \"0 !important\",\n      height: \"16px\",\n    },\n  };\n\n  const checkIfChecked = (group) => {\n    return selectedGroups.includes(group);\n  };\n\n  const fetchUserGroups = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchUserGroupsSlice(payload));\n    if (response?.payload) {\n      setUserGroups(response?.payload);\n      setIDGroups(response?.payload);\n    }\n  };\n\n  useEffect(() => {\n    if (searchKeyword) {\n      const filteredGroups = userGroups?.filter((group) =>\n        group.toLowerCase().includes(searchKeyword.toLowerCase())\n      );\n      setIDGroups(filteredGroups);\n    } else {\n      setIDGroups(userGroups);\n    }\n  }, [searchKeyword]);\n\n  useEffect(() => {\n    fetchUserGroups();\n  }, []);\n\n  return (\n    <Box\n      sx={{\n        ...styles.flexCol,\n        ...styles.gap_4,\n        padding: theme.spacing(2),\n      }}\n    >\n      <Box sx={styles.flex}>\n        <Select\n          options={identityProviders}\n          value={identityProvider}\n          onChange={(event: any) =>\n            setIdentityProvider(\n              identityProviders?.find(\n                (item) => item.value === event.target.value\n              )?.value\n            )\n          }\n          label=\"Identity Provider\"\n          minWidth={300}\n          error={isProviderEmpty}\n          helperText={\n            isProviderEmpty ? \"Identity Provider cannot be empty\" : \"\"\n          }\n        />\n        <Box sx={{ ...styles.flexCol, ...styles.width60 }}>\n          <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n            Path\n          </Typography>\n          <Typography\n            variant=\"body2\"\n            color={theme.palette.surface60.main}\n            sx={styles.truncatedText}\n          >\n            {identityProviders?.find(\n              (item) => item.value === identityProvider?.value\n            )?.path || \"-\"}\n          </Typography>\n        </Box>\n      </Box>\n      <Box sx={{ ...styles.flexCol, ...styles.groupsBox }}>\n        <Search\n          placeholder=\"Search Groups\"\n          value={searchKeyword}\n          onChange={(event) => setSearchKeyword(event.target.value)}\n          onClear={() => setSearchKeyword(\"\")}\n          width={\"49%\"}\n        />\n        <Box sx={{ ...styles.flex, gap: theme.spacing(2) }}>\n          <Box\n            sx={{\n              width: \"50%\",\n            }}\n          >\n            <Box\n              sx={{\n                ...styles.availableGroup,\n                width: \"100%\",\n                borderColor: isIdentitiesEmpty\n                  ? theme.palette.critical.main\n                  : theme.palette.surface20.main,\n              }}\n            >\n              <Box\n                sx={{\n                  padding: theme.spacing(2),\n                }}\n              >\n                <Typography variant=\"caption\">\n                  Available Groups ({IDgroups?.length || 0})\n                </Typography>\n              </Box>\n              <Box sx={styles.listOfGroups}>\n                {IDgroups?.length > 0 ? (\n                  IDgroups?.map((group) => (\n                    <Box sx={styles.groupName}>\n                      <Checkbox\n                        label={group}\n                        checked={checkIfChecked(group)}\n                        sx={styles.checkbox}\n                        onClick={() => {\n                          if (selectedGroups.includes(group)) {\n                            setSelectedGroups(\n                              selectedGroups.filter((item) => item !== group)\n                            );\n                          } else {\n                            setSelectedGroups([...selectedGroups, group]);\n                          }\n                        }}\n                      />\n                      <Typography\n                        sx={{\n                          fontSize: \"13px\",\n                        }}\n                        color={theme.palette.surface80.main}\n                      >\n                        {group}\n                      </Typography>\n                    </Box>\n                  ))\n                ) : (\n                  <NoData customText=\"No Groups Found\" />\n                )}\n              </Box>\n            </Box>\n            {isIdentitiesEmpty ? (\n              <Typography\n                sx={{\n                  marginTop: theme.spacing(1),\n                }}\n                color={theme.palette.critical.main}\n                variant=\"body2\"\n              >\n                Please select groups to be added in the policy\n              </Typography>\n            ) : null}\n          </Box>\n          <Box\n            sx={{\n              ...styles.availableGroup,\n              backgroundColor: \"rgba(59, 62, 82, 0.5)\",\n            }}\n          >\n            <Box\n              sx={{\n                padding: theme.spacing(2),\n                width: \"100%\",\n              }}\n            >\n              <Typography variant=\"caption\">\n                Selected Groups ({selectedGroups?.length})\n              </Typography>\n            </Box>\n            <Box\n              sx={{\n                ...styles.listOfGroups,\n                width: \"100%\",\n                borderTop: `1px solid ${theme.palette.surface30.main}`,\n              }}\n            >\n              {selectedGroups.map((group) => (\n                <Box\n                  sx={{\n                    ...styles.groupName,\n                    width: \"100%\",\n                    justifyContent: \"space-between\",\n                  }}\n                >\n                  <Typography\n                    sx={{\n                      fontSize: \"13px\",\n                    }}\n                    color={theme.palette.surface80.main}\n                  >\n                    {group}\n                  </Typography>\n                  <IconButton\n                    sx={styles.iconButton}\n                    onClick={() =>\n                      setSelectedGroups(\n                        selectedGroups?.filter((item) => item !== group)\n                      )\n                    }\n                  >\n                    <CloseRoundedIcon sx={styles.cancelIcon} />\n                  </IconButton>\n                </Box>\n              ))}\n            </Box>\n          </Box>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default SelectGroups;\n","export default __webpack_public_path__ + \"static/media/starIcon.b0584c5e.svg\";","import { IconButton, useTheme } from \"@mui/material\";\n\nimport { useEffect, useState } from \"react\";\n\nimport CloseRoundedIcon from \"@mui/icons-material/CloseRounded\";\n\nimport StarIcon from \"../../../assets/img/starIcon.svg\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport Chip from \"../../common/Chip\";\nimport Checkbox from \"../../common/Checkbox\";\nimport { useSelector } from \"react-redux\";\n\nconst SemanticGuardrailConfig = ({\n  selectedLabels,\n  setPolicyData,\n  isAIAssist,\n}) => {\n  const [selectedTab, setSelectedTab] = useState(\"Entity\");\n  const [topics, setTopics] = useState([]);\n  const [entities, setEntities] = useState([]);\n\n  const entitiesList = useSelector((state: any) => state.policy.entities);\n  const topicsList = useSelector((state: any) => state.policy.topics);\n\n  const theme = useTheme();\n  const styles = {\n    card: {\n      display: \"grid\",\n      gridTemplateColumns: \"30% 70%\",\n      borderTop: `1px solid ${theme.palette.surface20.main}`,\n    },\n    label: (label) => ({\n      backgroundColor:\n        selectedTab === label ? theme.palette.surface0.main : \"transparent\",\n      padding: theme.spacing(2),\n      cursour: \"pointer\",\n    }),\n    width_50: {\n      width: \"50%\",\n    },\n    checkbox: {\n      \"& .MuiSvgIcon-root\": { fontSize: \"20px\", width: \"fit-content\" },\n    },\n    labelName: {\n      display: \"flex\",\n      gap: theme.spacing(1.25),\n      alignItems: \"start\",\n    },\n    aiChip: {\n      backgroundColor: \"transparent\",\n      color: theme.palette.surface60.main,\n      \"& .MuiChip-avatar\": {\n        width: \"10px\",\n        height: \"10px\",\n      },\n    },\n  };\n\n  const labels = [\n    {\n      label: \"Entity\",\n      value: \"entites\",\n    },\n    {\n      label: \"Topic\",\n      value: \"topics\",\n    },\n  ];\n\n  const checkIfChecked = (group) => {\n    if (selectedTab === \"Entity\") {\n      return selectedLabels?.entities?.includes(group);\n    } else {\n      return selectedLabels?.topics?.includes(group);\n    }\n  };\n\n  const getSelectedLabels = () => {\n    if (selectedTab === \"Entity\") {\n      return selectedLabels?.entities?.length;\n    } else {\n      return selectedLabels?.topics?.length;\n    }\n  };\n\n  const labelList: { group: string; labels: [] }[] =\n    selectedTab === \"Entity\" ? entities : topics;\n\n  const selectedLabelList =\n    selectedTab === \"Entity\"\n      ? selectedLabels?.entities\n      : selectedLabels?.topics;\n\n  const getCountOfSelectedLabels = (label) => {\n    if (label === \"Entity\") {\n      return selectedLabels?.entities?.length || 0;\n    } else {\n      return selectedLabels?.topics?.length || 0;\n    }\n  };\n\n  useEffect(() => {\n    if (entitiesList?.length) {\n      const list = entitiesList.map((entity) => ({\n        id: entity?.id,\n        group: entity?.name,\n        labels: entity?.entities,\n      }));\n\n      setEntities(list);\n    }\n  }, [entitiesList]);\n\n  useEffect(() => {\n    if (topicsList?.length) {\n      const list = topicsList.map((topic) => ({\n        id: topic?.id,\n        group: topic?.name,\n        labels: [],\n      }));\n\n      setTopics(list);\n    }\n  }, [topicsList]);\n\n  return (\n    <Box sx={styles.card}>\n      <Box>\n        {labels.map((label) => (\n          <Box\n            sx={styles.label(label?.label)}\n            onClick={() => setSelectedTab(label?.label)}\n          >\n            <Typography variant=\"body2\" color={theme.palette.surface90.main}>\n              {label?.label} Groups\n            </Typography>\n            <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n              {getCountOfSelectedLabels(label?.label)} Selected\n            </Typography>\n          </Box>\n        ))}\n      </Box>\n      <Box\n        sx={{\n          backgroundColor: theme.palette.surface5.main,\n        }}\n      >\n        <Box\n          sx={{\n            padding: theme.spacing(2),\n            borderBottom: `1px solid ${theme.palette.surface20.main}`,\n            display: \"flex\",\n            justifyContent: \"space-between\",\n            alignItems: \"center\",\n          }}\n        >\n          <Typography variant=\"body2\" color={theme.palette.surface100.main}>\n            {selectedTab} Groups\n          </Typography>\n          {isAIAssist && (\n            <Chip\n              sx={styles.aiChip}\n              label=\"AI Assisted\"\n              avatar={<img src={StarIcon} />}\n            />\n          )}\n        </Box>\n        <Box\n          sx={{\n            display: \"flex\",\n            width: \"100%\",\n          }}\n        >\n          <Box\n            sx={{\n              width: \"50%\",\n              borderRight: `1px solid ${theme.palette.surface20.main}`,\n            }}\n          >\n            <Box\n              sx={{\n                padding: theme.spacing(2),\n                borderBottom: `1px solid ${theme.palette.surface20.main}`,\n              }}\n            >\n              <Typography sx={{ fontSize: \"13px\" }}>\n                Available ({labelList?.length || 0})\n              </Typography>\n            </Box>\n\n            <Box\n              sx={{\n                padding: theme.spacing(2),\n                display: \"flex\",\n                flexDirection: \"column\",\n                gap: theme.spacing(3),\n                height: \"400px\",\n                overflowY: \"auto\",\n              }}\n            >\n              {labelList?.map((entity: any) => (\n                <Box sx={styles.labelName}>\n                  <Checkbox\n                    label={entity?.id}\n                    checked={checkIfChecked(entity?.id)}\n                    sx={styles.checkbox}\n                    onClick={() => {\n                      if (selectedTab === \"Entity\") {\n                        if (selectedLabels?.entities?.includes(entity?.id)) {\n                          setPolicyData((prevState) => ({\n                            ...prevState,\n                            semanticGuardrail: {\n                              ...prevState?.semanticGuardrail,\n                              entities: selectedLabels?.entities?.filter(\n                                (item) => item !== entity?.id\n                              ),\n                            },\n                          }));\n                        } else {\n                          setPolicyData((prevState) => ({\n                            ...prevState,\n                            semanticGuardrail: {\n                              ...prevState?.semanticGuardrail,\n                              entities: [\n                                ...selectedLabels?.entities,\n                                entity?.id,\n                              ],\n                            },\n                          }));\n                        }\n                      } else {\n                        if (selectedLabels?.topics?.includes(entity?.id)) {\n                          setPolicyData((prevState) => ({\n                            ...prevState,\n                            semanticGuardrail: {\n                              ...prevState?.semanticGuardrail,\n                              topics: selectedLabels?.topics?.filter(\n                                (item) => item !== entity?.id\n                              ),\n                            },\n                          }));\n                        } else {\n                          setPolicyData((prevState) => ({\n                            ...prevState,\n                            semanticGuardrail: {\n                              ...prevState?.semanticGuardrail,\n                              topics: [...selectedLabels?.topics, entity?.id],\n                            },\n                          }));\n                        }\n                      }\n                    }}\n                  />\n                  <Box\n                    sx={{\n                      display: \"flex\",\n                      flexDirection: \"column\",\n                      gap: theme.spacing(1),\n                    }}\n                  >\n                    <Typography\n                      variant=\"body2\"\n                      color={theme.palette.surface80.main}\n                    >\n                      {entity?.group}\n                    </Typography>\n                    <Box\n                      sx={{\n                        display: \"flex\",\n                        flexDirection: \"column\",\n                        gap: theme.spacing(0.5),\n                      }}\n                    >\n                      {entity?.labels?.map((label) => (\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface50.main}\n                        >\n                          {label}\n                        </Typography>\n                      ))}\n                    </Box>\n                  </Box>\n                </Box>\n              ))}\n            </Box>\n          </Box>\n          <Box\n            sx={{\n              width: \"50%\",\n            }}\n          >\n            <Box\n              sx={{\n                padding: theme.spacing(2),\n                borderBottom: `1px solid ${theme.palette.surface20.main}`,\n              }}\n            >\n              <Typography sx={{ fontSize: \"13px\" }}>\n                Selected ({getSelectedLabels()})\n              </Typography>\n            </Box>\n\n            <Box\n              sx={{\n                padding: theme.spacing(2),\n                display: \"flex\",\n                flexDirection: \"column\",\n                gap: theme.spacing(3),\n                height: \"400px\",\n                overflowY: \"auto\",\n              }}\n            >\n              {selectedLabelList?.map((entity) => (\n                <Box\n                  sx={{ ...styles.labelName, justifyContent: \"space-between\" }}\n                >\n                  <Box\n                    sx={{\n                      display: \"flex\",\n                      flexDirection: \"column\",\n                      gap: theme.spacing(1),\n                    }}\n                  >\n                    <Typography\n                      variant=\"body2\"\n                      color={theme.palette.surface80.main}\n                    >\n                      {\n                        labelList.find((label: any) => label?.id === entity)\n                          ?.group\n                      }\n                    </Typography>\n                    <Box\n                      sx={{\n                        display: \"flex\",\n                        flexDirection: \"column\",\n                        gap: theme.spacing(0.5),\n                      }}\n                    >\n                      {labelList\n                        ?.find((label: any) => label?.id === entity)\n                        ?.labels?.map((label) => (\n                          <Typography\n                            variant=\"caption\"\n                            color={theme.palette.surface50.main}\n                          >\n                            {label}\n                          </Typography>\n                        ))}\n                    </Box>\n                  </Box>\n                  <IconButton\n                    sx={{\n                      width: \"20px\",\n                      padding: \"0 !important\",\n                      height: \"16px\",\n                    }}\n                    onClick={() => {\n                      if (selectedTab === \"Entity\") {\n                        setPolicyData((prevState) => ({\n                          ...prevState,\n                          semanticGuardrail: {\n                            ...prevState.semanticGuardrail,\n                            entities: selectedLabels?.entities?.filter(\n                              (item) => item !== entity\n                            ),\n                          },\n                        }));\n                      } else {\n                        setPolicyData((prevState) => ({\n                          ...prevState,\n                          semanticGuardrail: {\n                            ...prevState.semanticGuardrail,\n                            topics: selectedLabels?.topics?.filter(\n                              (item) => item !== entity\n                            ),\n                          },\n                        }));\n                      }\n                    }}\n                  >\n                    <CloseRoundedIcon\n                      sx={{\n                        width: \"16px\",\n                        color: theme.palette.primaryBlue.main,\n                      }}\n                    />\n                  </IconButton>\n                </Box>\n              ))}\n            </Box>\n          </Box>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default SemanticGuardrailConfig;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport Checkbox from \"../../common/Checkbox\";\n\nconst ExceptionConfig = ({\n  setPolicyExceptionConfig,\n  policyExceptionConfig,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    card: {\n      padding: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    label: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n  };\n  return (\n    <Box sx={styles.card}>\n      <Typography variant=\"body2\" color={theme.palette.surface50.main}>\n        Grant Full Access\n      </Typography>\n      <Box sx={styles.label}>\n        <Checkbox\n          label=\"policyExceptionConfig\"\n          checked={policyExceptionConfig}\n          onClick={() => setPolicyExceptionConfig(!policyExceptionConfig)}\n        />\n        <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n          Users will be allowed full access to all documents\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default ExceptionConfig;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport { TextField } from \"../../common/TextField\";\nimport Typography from \"../../common/Typography\";\n\nconst PolicyName = ({ policyName, setPolicyName, isEmpty }) => {\n  const theme = useTheme();\n  const styles = {\n    card: {\n      width: \"60%\",\n      padding: theme.spacing(2),\n    },\n  };\n  return (\n    <Box sx={styles.card}>\n      <TextField\n        value={policyName}\n        onChange={(event) => {\n          setPolicyName(event.target.value);\n        }}\n        label=\"Policy Name\"\n        fullWidth={true}\n        error={isEmpty}\n        helperText={isEmpty ? \"Policy name cannot be empty\" : \"\"}\n      />\n      <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n        You can either keep the suggested name or click to customize and enter\n        your own.\n      </Typography>\n    </Box>\n  );\n};\n\nexport default PolicyName;\n","import {\n  Stepper as MUIStepper,\n  StepperProps,\n  Step as MUIStep,\n  StepProps,\n  StepLabel as MUIStepLabel,\n  StepContent as MUIStepContent,\n  StepContentProps,\n  StepLabelProps,\n} from \"@mui/material\";\n\nexport const Stepper = (props: StepperProps) => {\n  return <MUIStepper {...props} />;\n};\n\nexport const Step = (props: StepProps) => {\n  return <MUIStep {...props} />;\n};\n\nexport const StepContent = (props: StepContentProps) => {\n  return <MUIStepContent {...props} />;\n};\n\nexport const StepLabel = (props: StepLabelProps) => {\n  return <MUIStepLabel {...props} />;\n};\n","import { Collapse, IconButton, useTheme } from \"@mui/material\";\nimport Box from \"../../components/common/Box\";\nimport Typography from \"../../components/common/Typography\";\nimport ChevronLeftIcon from \"@mui/icons-material/ChevronLeft\";\nimport Button from \"../../components/common/Button\";\nimport { useEffect, useState } from \"react\";\nimport CheckBoxOutlineBlankIcon from \"@mui/icons-material/CheckBoxOutlineBlank\";\nimport CheckBoxIcon from \"@mui/icons-material/CheckBox\";\nimport { Dialog, DialogActions } from \"../common/Dialog\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n  getAllPolicies,\n  addPolicyAsync,\n  updatePolicyDetailsSlice,\n} from \"../../redux/slices/policySlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport Loader from \"../common/Loader\";\nimport DiscardChanges from \"../common/DiscardChanges\";\nimport SelectGroups from \"./add-policy/SelectGroups\";\nimport SemanticGuardrailConfig from \"./add-policy/SemanticGuardrailConfig\";\nimport ExceptionConfig from \"./add-policy/ExceptionConfig\";\nimport PolicyName from \"./add-policy/PolicyName\";\nimport { Step, StepContent, StepLabel, Stepper } from \"../common/Stepper\";\nimport Chip from \"../common/Chip\";\nimport TextButton from \"../common/TextButton\";\nimport StarIcon from \"../../assets/img/starIcon.svg\";\nimport { Toaster, TOASTER_TYPES } from \"../../utils/toaster\";\n\nconst frameworkType = \"framework\";\nconst llmType = \"llm\";\n\nconst icon = <CheckBoxOutlineBlankIcon fontSize=\"small\" />;\nconst checkedIcon = <CheckBoxIcon fontSize=\"small\" />;\n\ninterface Props {\n  isEdit: boolean;\n  isOpen: boolean;\n  handleClose: () => void;\n  selectedAccount: any;\n  fetchPolicies: () => {};\n  buttonText?: string;\n  dialogHeader?: string;\n  policyDetails: any;\n}\n\nconst allTopics = \"All Topics\";\nconst allFrameworks = \"All Frameworks\";\nconst allModels = \"All Models\";\nconst allEntities = \"All Entities\";\n\nexport const AddPolicy = ({\n  isEdit,\n  isOpen,\n  handleClose,\n  selectedAccount,\n  fetchPolicies,\n  buttonText,\n  dialogHeader,\n  policyDetails,\n}: Props) => {\n  const [policyCategories, setPolicyCategories] = useState([]);\n  const dispatch = useDispatch();\n  const [isLoading, setIsLoading] = useState(false);\n  const [selectedType, setSelectedType] = useState(\"\");\n  const [entities, setEntities] = useState<Array<string>>([]);\n  const [topics, setTopics] = useState<Array<string>>([]);\n  const [showTopicEntity, setShowTopicEntity] = useState(\"\");\n  const [onEditShowDiscard, setOnEditShowDiscard] = useState(false);\n  const [showDiscardDialog, setShowDiscardDialog] = useState(false);\n  const [activeStep, setActiveStep] = useState(0);\n  const [addedAIAssist, setAddedAIAssist] = useState(false);\n\n  const definedEntities = useSelector((state: any) => state.policy.entities);\n  const definedTopics = useSelector((state: any) => state.policy.topics);\n\n  const [isEmptyField, setIsEmptyField] = useState({\n    name: false,\n    identities: false,\n    provider: false,\n  });\n  const [policyData, setPolicyData] = useState<{\n    provider: string;\n    name: string;\n    isException: boolean;\n    identities: Array<string>;\n    semanticGuardrail: {\n      entities: Array<string>;\n      topics: Array<string>;\n    };\n  }>({\n    provider: \"\",\n    identities: [],\n    name: \"\",\n    isException: false,\n    semanticGuardrail: {\n      entities: [],\n      topics: [],\n    },\n  });\n\n  const theme = useTheme();\n  const styles = {\n    dialog: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      \".MuiPaper-root\": {\n        background: theme.palette.surface0.main,\n      },\n    },\n    dialogHeader: {\n      display: \"flex\",\n      padding: 3,\n      alignItems: \"center\",\n    },\n    backIcon: {\n      color: theme.palette.surface50.main,\n      fontSize: theme.spacing(3),\n      width: theme.spacing(3),\n    },\n    dialogBody: {\n      display: \"flex\",\n      flex: 1,\n      borderBottom: `0.5px solid ${theme.palette.surface20.main}`,\n      paddingX: 7.5,\n      paddingY: 2,\n      flexDirection: \"column\",\n      gap: theme.spacing(4.5),\n    },\n    formBox: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      width: \"40%\",\n    },\n    form: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    formHeading: {\n      fontSize: \"14px\",\n      opacity: 0.6,\n    },\n    aiChip: {\n      backgroundColor: \"transparent\",\n      color: theme.palette.surface60.main,\n      \"& .MuiChip-avatar\": {\n        width: \"10px\",\n        height: \"10px\",\n      },\n    },\n    stepLabel: (isError, isActive) => ({\n      padding: 0,\n      display: \"flex\",\n      \"& .MuiStepLabel-labelContainer\": {\n        padding: theme.spacing(2),\n        backgroundColor: theme.palette.surface10.main,\n        border: `1px solid ${\n          isError && !isActive ? theme.palette.critical.main : \"transparent\"\n        }`,\n        borderRadius: \"4px\",\n      },\n    }),\n    stepContent: {\n      paddingRight: 0,\n      \"& .MuiCollapse-root\": {\n        backgroundColor: theme.palette.surface10.main,\n      },\n    },\n  };\n\n  const getPolicyCategories = async (payload) => {\n    setIsLoading(true);\n    const res = await dispatch(getAllPolicies(payload));\n    if (res.payload) {\n      setPolicyCategories(\n        res.payload.map((policy) => ({ ...policy, label: policy?.description }))\n      );\n    }\n    setIsLoading(false);\n  };\n\n  const getAllEntities = async (payload) => {\n    if (definedEntities) {\n      const entitiesList = definedEntities.map((entity) => entity?.name);\n      setEntities([allEntities, ...entitiesList]);\n    }\n  };\n\n  const getAllTopics = async (payload) => {\n    if (definedTopics) {\n      const topicList = definedTopics?.map((topic) => topic?.name);\n      setTopics([allTopics, ...topicList]);\n    }\n  };\n\n  useEffect(() => {\n    if (isEdit && policyDetails?.name) {\n      setPolicyData({\n        provider: policyDetails?.config?.userAndGroups?.provider,\n        identities: policyDetails?.config?.userAndGroups?.identities,\n        name: policyDetails?.name,\n        isException: policyDetails?.config?.exception?.grantFullAccess,\n        semanticGuardrail: {\n          entities: policyDetails?.config?.semanticGuardrail?.entities,\n          topics: policyDetails?.config?.semanticGuardrail?.topics,\n        },\n      });\n    }\n  }, [isEdit, policyDetails]);\n\n  const steps = [\n    {\n      label: \"Select Groups\",\n      isError: isEmptyField.identities || isEmptyField.provider,\n      component: (\n        <SelectGroups\n          selectedGroups={policyData.identities}\n          setSelectedGroups={(newIdentities) =>\n            setPolicyData((prevState) => ({\n              ...prevState,\n              identities: newIdentities,\n            }))\n          }\n          identityProvider={policyData.provider}\n          isProviderEmpty={isEmptyField.provider}\n          isIdentitiesEmpty={isEmptyField.identities}\n          setIdentityProvider={(newProvider) =>\n            setPolicyData((prevState) => ({\n              ...prevState,\n              provider: newProvider,\n            }))\n          }\n        />\n      ),\n    },\n    {\n      label: \"Semantic Guardrail Configuration\",\n      component: (\n        <SemanticGuardrailConfig\n          selectedLabels={policyData.semanticGuardrail}\n          setPolicyData={setPolicyData}\n          isAIAssist={true}\n        />\n      ),\n      activeSubTitle: (\n        <Box\n          sx={{\n            width: \"100%\",\n            display: \"flex\",\n            flexDirection: \"column\",\n            gap: theme.spacing(2),\n          }}\n        >\n          <Box\n            sx={{\n              width: \"100%\",\n              display: \"flex\",\n            }}\n          >\n            <Box\n              sx={{\n                display: \"flex\",\n                flexDirection: \"column\",\n                gap: theme.spacing(1),\n              }}\n            >\n              Semantic Guardrail Configuration\n              <Typography variant=\"body2\" color={theme.palette.surface50.main}>\n                Choose Topics and Entities to restrict for selected users\n              </Typography>\n            </Box>\n            {/*<Button\n              //disabled={addedAIAssist}\n              variant=\"outlined\"\n              sx={{ marginLeft: \"auto\" }}\n              onClick={() => {}}\n            >\n              <Chip\n                sx={styles.aiChip}\n                label=\"AI Assist\"\n                avatar={<img src={StarIcon} />}\n              />\n            </Button>*/}\n          </Box>\n          {addedAIAssist ? (\n            <Box\n              sx={{\n                backgroundColor: \"rgba(33, 144, 247, 0.2)\",\n                borderRadius: \"4px\",\n                padding: theme.spacing(2),\n                display: \"flex\",\n                gap: theme.spacing(4),\n                alignItems: \"center\",\n              }}\n            >\n              <Chip\n                sx={styles.aiChip}\n                label=\"AI Assist\"\n                avatar={<img src={StarIcon} />}\n              />\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface100.main}\n              >\n                Based on the groups you selected, here are the recommended\n                restricted entites and topics.\n              </Typography>\n              <TextButton onClick={() => {}}>Undo</TextButton>\n            </Box>\n          ) : null}\n        </Box>\n      ),\n    },\n    {\n      label: \"Exception Configuration\",\n      component: (\n        <ExceptionConfig\n          setPolicyExceptionConfig={() =>\n            setPolicyData((prevState) => ({\n              ...prevState,\n              isException: !prevState.isException,\n            }))\n          }\n          policyExceptionConfig={policyData.isException}\n        />\n      ),\n    },\n    {\n      label: \"Policy Name\",\n      isError: isEmptyField.name,\n      component: (\n        <PolicyName\n          policyName={policyData?.name}\n          isEmpty={isEmptyField.name}\n          setPolicyName={(newPolicyName) =>\n            setPolicyData({ ...policyData, name: newPolicyName })\n          }\n        />\n      ),\n    },\n  ];\n\n  useEffect(() => {\n    if (isOpen) {\n      let payload = {\n        customerId: getCustomerId(),\n        cloudAccountId:\n          selectedAccount.value === \"all\" ? null : selectedAccount.value,\n      };\n      getPolicyCategories(payload);\n      getAllEntities(payload);\n      getAllTopics(payload);\n    }\n  }, [isOpen]);\n\n  const validateInputFields = () => {\n    const validationFlags = {\n      name: !policyData?.name && policyData?.name === \"\",\n      provider: !policyData?.provider && policyData?.provider === \"\",\n      identities: !policyData?.identities?.length,\n    };\n    setIsEmptyField(validationFlags);\n    return validationFlags;\n  };\n\n  const clearStateAndCloseDialog = () => {\n    setPolicyData({\n      name: \"\",\n      provider: \"\",\n      identities: [],\n      isException: false,\n      semanticGuardrail: {\n        entities: [],\n        topics: [],\n      },\n    });\n    setShowDiscardDialog(false);\n    setOnEditShowDiscard(false);\n    setSelectedType(\"\");\n    setShowTopicEntity(\"\");\n    setIsEmptyField({\n      identities: false,\n      provider: false,\n      name: false,\n    });\n    setActiveStep(0);\n    handleClose();\n  };\n\n  const openDiscardChangesDialog = () => {\n    if (\n      !isEdit &&\n      (policyData?.name ||\n        policyData?.identities?.length ||\n        policyData?.provider ||\n        policyData?.semanticGuardrail?.entities?.length ||\n        policyData?.semanticGuardrail?.topics?.length)\n    ) {\n      setShowDiscardDialog(true);\n    } else if (isEdit && onEditShowDiscard) {\n      setShowDiscardDialog(true);\n    } else {\n      clearStateAndCloseDialog();\n    }\n  };\n\n  const handleStep = (index) => {\n    setActiveStep(index);\n  };\n\n  const handleSubmit = async () => {\n    const validationFlags = validateInputFields();\n    if (Object.values(validationFlags).includes(true)) {\n      return;\n    } else {\n      const firstName = localStorage.getItem(\"first_name\");\n      const lastName = localStorage.getItem(\"last_name\");\n      const payload = {\n        customerId: getCustomerId(),\n        name: policyData.name,\n        type: \"identity\",\n        userName: `${firstName} ${lastName}`,\n        config: {\n          userAndGroups: {\n            provider: policyData.provider,\n            identities: policyData.identities,\n          },\n          semanticGuardrail: policyData.semanticGuardrail,\n          exception: {\n            grantFullAccess: policyData.isException,\n          },\n        },\n      };\n      if (isEdit) {\n        // if action is Edit\n        const editResponse = await dispatch(\n          updatePolicyDetailsSlice({ id: policyDetails?.id, ...payload })\n        );\n        if (editResponse?.payload) {\n          Toaster(\n            TOASTER_TYPES.SUCCESS,\n            `Policy ${policyData?.name} updated successfully`\n          );\n          fetchPolicies();\n        } else {\n          Toaster(\n            TOASTER_TYPES.ERROR,\n            `Failed to update policy ${policyData?.name}`\n          );\n        }\n      } else {\n        // if action is Add\n        const res = await dispatch(addPolicyAsync(payload));\n        if (res?.payload) {\n          fetchPolicies();\n          Toaster(\n            TOASTER_TYPES.SUCCESS,\n            `Policy ${policyData?.name} added successfully`\n          );\n        } else {\n          Toaster(\n            TOASTER_TYPES.ERROR,\n            `Failed to add policy ${policyData?.name}`\n          );\n        }\n      }\n      clearStateAndCloseDialog();\n    }\n  };\n\n  return (\n    <Dialog\n      fullScreen\n      open={isOpen}\n      sx={styles.dialog}\n      onClose={openDiscardChangesDialog}\n    >\n      <Box sx={styles.dialogHeader}>\n        <IconButton onClick={openDiscardChangesDialog}>\n          <ChevronLeftIcon sx={styles.backIcon} />\n        </IconButton>\n        <Typography variant=\"subtitle1\" color={theme.palette.surface50.main}>\n          {dialogHeader}\n        </Typography>\n      </Box>\n      <Box sx={styles.dialogBody}>\n        {isLoading ? (\n          <Loader height=\"200px\" />\n        ) : (\n          <Stepper activeStep={activeStep} orientation=\"vertical\">\n            {steps.map((step, index) => (\n              <Step key={step.label} onClick={() => handleStep(index)}>\n                <StepLabel\n                  sx={{\n                    ...styles.stepLabel(step?.isError, activeStep == index),\n                  }}\n                >\n                  {activeStep === index && step?.activeSubTitle\n                    ? step.activeSubTitle\n                    : step.label}\n                </StepLabel>\n                <StepContent\n                  TransitionComponent={Collapse}\n                  transitionDuration={2}\n                  sx={styles.stepContent}\n                >\n                  {step.component}\n                </StepContent>\n              </Step>\n            ))}\n          </Stepper>\n        )}\n      </Box>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={openDiscardChangesDialog}>\n          Cancel\n        </Button>\n        <Button variant=\"contained\" onClick={handleSubmit}>\n          {buttonText}\n        </Button>\n      </DialogActions>\n      <DiscardChanges\n        open={showDiscardDialog}\n        onClose={() => setShowDiscardDialog(false)}\n        onSubmit={clearStateAndCloseDialog}\n      />\n    </Dialog>\n  );\n};\n","import { useTheme } from \"@mui/material\";\nimport Button from \"../common/Button\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../common/Dialog\";\nimport Typography from \"../common/Typography\";\n\nconst DeletePolicy = ({ policyName, open, onClose, onDelete }) => {\n  const theme = useTheme();\n  const styles = {\n    dialogContent: {\n      paddingY: 0,\n      paddingX: theme.spacing(2),\n    },\n  };\n\n  return (\n    <Dialog open={open} onClose={onClose}>\n      <DialogTitle handleClose={onClose}>Delete Policy?</DialogTitle>\n      <DialogContent sx={styles.dialogContent}>\n        <Typography variant=\"caption\" color={theme.palette.surface70.main}>\n          It will permanently delete the policy \"{policyName}\"\n        </Typography>\n      </DialogContent>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={onClose}>\n          Cancel\n        </Button>\n        <Button variant=\"contained\" onClick={onDelete}>\n          Delete\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default DeletePolicy;\n","import MUIMenu from \"@mui/material/Menu\";\nimport type { MenuProps } from \"@mui/material/Menu\";\nimport MUIMenuItem from \"@mui/material/MenuItem\";\nimport type { MenuItemProps } from \"@mui/material/MenuItem\";\nimport { useTheme } from \"@mui/material\";\n\nexport const Menu = (args: MenuProps) => {\n  const theme = useTheme();\n  const styles = {\n    menu: {\n      \"& .MuiList-root\": {\n        backgroundColor: theme.palette.surface10.main,\n      },\n      \"& .MuiPaper-root\": {\n        marginTop: theme.spacing(0.5),\n        border: `1px solid ${theme.palette.surface20.main}`,\n      },\n    },\n  };\n  return <MUIMenu sx={styles.menu} {...args} />;\n};\n\nexport const MenuItem = (args: MenuItemProps) => {\n  return <MUIMenuItem {...args} />;\n};\n","import MUIAutocomplete from \"@mui/material/Autocomplete\";\nimport { InputAdornment, TextField, useTheme } from \"@mui/material\";\n\nexport const Autocomplete = (props) => {\n  const theme = useTheme();\n  const styles = {\n    autoComplete: {\n      \".MuiFormLabel-root\": {\n        color: theme.palette.surface40.main,\n        \"&.Mui-focused\": {\n          color: theme.palette.primaryBlue.main,\n        },\n      },\n      \".MuiFormLabel-root .MuiInputLabel-root .Mui-focused\": {\n        color: theme.palette.primaryBlue.main,\n      },\n      \".MuiInputBase-root:before\": {\n        borderBottom: `1px solid ${theme.palette.surface40.main}`,\n      },\n      \".MuiInputBase-root:after\": {\n        borderBottom: `1px solid ${theme.palette.primaryBlue.main}`,\n      },\n      \".MuiAutocomplete-popupIndicator .MuiSvgIcon-root\": {\n        color: theme.palette.surface40.main,\n      },\n      \".MuiAutocomplete-popupIndicatorOpen .MuiSvgIcon-root\": {\n        color: theme.palette.primaryBlue.main,\n      },\n      \".MuiInputBase-input\": {\n        fontSize: theme.spacing(1.75),\n      },\n    },\n  };\n  return (\n    <MUIAutocomplete\n      {...props}\n      componentsProps={{\n        paper: {\n          sx: {\n            background: \"#191B2C\",\n            color: theme.palette.surface80.main,\n            fontSize: theme.spacing(1.5),\n          },\n        },\n      }}\n      renderInput={(params) => (\n        <TextField\n          {...params}\n          label={props.label}\n          variant={props.variant}\n          InputProps={{\n            ...params.InputProps,\n            startAdornment: (\n              <>\n                <InputAdornment position=\"start\" />\n                {params.InputProps.startAdornment}\n              </>\n            ),\n          }}\n          {...props}\n        />\n      )}\n      sx={{ ...styles.autoComplete, ...props.sx }}\n    />\n  );\n};\n","import { useTheme } from \"@mui/material\";\nimport { useState } from \"react\";\nimport { Autocomplete } from \"../common/AutoComplete\";\nimport Button from \"../common/Button\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../common/Dialog\";\nimport Typography from \"../common/Typography\";\n\nconst ApplyTopicToAppsDialog = ({ open, onClose, apps, onSubmit }) => {\n  const theme = useTheme();\n  const [isEmptyApp, setIsEmptyApp] = useState(false);\n  const [selectedApp, setSelectedApp] = useState(\"\");\n\n  const styles = {};\n\n  const onCloseDialog = () => {\n    setSelectedApp(\"\");\n    setIsEmptyApp(false);\n    onClose();\n  };\n\n  return (\n    <Dialog open={open} onClose={onCloseDialog} maxWidth=\"sm\" fullWidth>\n      <DialogTitle handleClose={onCloseDialog}>\n        <Typography variant=\"subtitle1\" color={theme.palette.surface80.main}>\n          Select Application\n        </Typography>\n        <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n          Select application to apply the selected topic\n        </Typography>\n      </DialogTitle>\n      <DialogContent>\n        <Autocomplete\n          label=\"Application\"\n          variant=\"standard\"\n          error={isEmptyApp}\n          helperText={isEmptyApp && \"Please select an Application.\"}\n          options={apps}\n          value={selectedApp}\n          onChange={(e: Event, newValue) => {\n            if (newValue) setIsEmptyApp(false);\n            setSelectedApp(newValue);\n          }}\n        />\n      </DialogContent>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={onCloseDialog}>\n          Cancel\n        </Button>\n        <Button\n          variant=\"contained\"\n          onClick={() => {\n            if (selectedApp) {\n              onSubmit(selectedApp);\n              setSelectedApp(\"\");\n            } else setIsEmptyApp(true);\n          }}\n        >\n          Apply\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default ApplyTopicToAppsDialog;\n","import { useTheme } from \"@mui/material\";\nimport Button from \"../common/Button\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../common/Dialog\";\nimport Typography from \"../common/Typography\";\n\nconst DeleteTopic = ({ open, onClose, onDelete, topicName }) => {\n  const theme = useTheme();\n  const styles = {\n    dialogContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      padding: theme.spacing(2),\n      paddingRight: theme.spacing(15),\n    },\n  };\n  return (\n    <Dialog open={open} onClose={onClose}>\n      <DialogTitle handleClose={onClose}>Delete Topic</DialogTitle>\n      <DialogContent sx={styles.dialogContent}>\n        <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n          It will permanently delete the policy \"{topicName}\"\n        </Typography>\n      </DialogContent>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={onClose}>\n          Cancel\n        </Button>\n        <Button variant=\"contained\" onClick={onDelete}>\n          Delete\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default DeleteTopic;\n","import { IconButton, useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport { Dialog, DialogActions, DialogTitle } from \"../common/Dialog\";\nimport Divider from \"../common/Divider\";\nimport Typography from \"../common/Typography\";\nimport { useSelector } from \"react-redux\";\nimport Button from \"../common/Button\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport { convertUTCToLocal } from \"../../utils/commonUtils\";\nimport moment from \"moment\";\nimport NoData from \"../common/NoData\";\n\nconst ViewPolicy = ({ policyData, open, onClose, onEdit }) => {\n  const theme = useTheme();\n  const { entities, topics } = useSelector((state: any) => state.policy);\n\n  console.log({ entities, topics });\n  const styles = {\n    manrope: {\n      fontFamily: \"Manrope\",\n    },\n    dialogContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      padding: theme.spacing(3),\n    },\n    policyDetails: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    policyCreate: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    violationBox: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"baseline\",\n    },\n    violationCount: {\n      fontSize: \"32px\",\n    },\n    violationText: {\n      fontSize: theme.spacing(2),\n    },\n    dialogTitle: {\n      color: theme.palette.surface80.main,\n      fontSize: theme.spacing(2.25),\n      padding: 0,\n      textTransform: \"none\",\n    },\n    closeIcon: {\n      fontSize: theme.spacing(2),\n      width: theme.spacing(2),\n    },\n    dialogHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      paddingX: theme.spacing(3),\n      paddingTop: theme.spacing(3),\n      alignItems: \"center\",\n    },\n    groupRows: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    groupListing: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    entityBlock: {\n      backgroundColor: theme.palette.surface0.main,\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n      borderRadius: \"8px\",\n      width: \"49%\",\n      height: \"250px\",\n      overflowY: \"auto\",\n    },\n  };\n\n  const groups = policyData?.config?.userAndGroups?.identities || [];\n  const topicsList =\n    topics?.filter((topic) =>\n      policyData?.config?.semanticGuardrail?.topics?.includes(topic?.id)\n    ) || [];\n  const entitiesList =\n    entities?.filter((entity) =>\n      policyData?.config?.semanticGuardrail?.entities?.includes(entity?.id)\n    ) || [];\n\n  const exceptionConfig =\n    policyData?.config?.exception?.grantFullAccess || false;\n\n  return (\n    <Dialog open={open} onClose={onClose} fullWidth={true}>\n      <Box sx={styles.dialogHeader}>\n        <Typography>{policyData?.name}</Typography>\n        <IconButton aria-label=\"close\" onClick={onClose}>\n          <CloseIcon sx={styles.closeIcon} />\n        </IconButton>\n      </Box>\n      <Box sx={styles.dialogContent}>\n        <Box sx={styles.policyDetails}>\n          <Box sx={styles.policyCreate}>\n            <Box>\n              <Typography\n                color={theme.palette.surface40.main}\n                variant=\"caption\"\n              >\n                Added On\n              </Typography>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                {moment(convertUTCToLocal(policyData?.metadata?.createdAt))\n                  .format(\"MM/DD/YYYY\")\n                  .toString()}\n              </Typography>\n            </Box>\n\n            <Box>\n              <Typography\n                color={theme.palette.surface40.main}\n                variant=\"caption\"\n              >\n                Owner\n              </Typography>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                {policyData?.userName}\n              </Typography>\n            </Box>\n          </Box>\n          <Box sx={styles.violationBox}>\n            <Box>\n              <Typography\n                color={theme.palette.surface40.main}\n                variant=\"caption\"\n              >\n                Exceptions\n              </Typography>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                {exceptionConfig ? \"Allowed\" : \"Not Allowed\"}\n              </Typography>\n            </Box>\n          </Box>\n        </Box>\n        <Divider />\n        <Box sx={styles.groupRows}>\n          <Typography color={theme.palette.surface80.main}>\n            {groups?.length} User Groups\n          </Typography>\n          <Box sx={styles.groupListing}>\n            {groups?.map((group) => (\n              <Typography\n                key={group}\n                variant=\"body2\"\n                color={theme.palette.surface80.main}\n              >\n                {group}\n              </Typography>\n            ))}\n          </Box>\n        </Box>\n        <Divider />\n        <Box sx={styles.groupRows}>\n          <Typography>Semantic Guardrail Configuration</Typography>\n          <Box\n            sx={{\n              display: \"flex\",\n              justifyContent: \"space-between\",\n              width: \"100%\",\n            }}\n          >\n            <Box sx={styles.entityBlock}>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                {entitiesList?.length || 0} Entity Groups Restricted\n              </Typography>\n              <Box sx={styles.groupRows}>\n                {entitiesList?.length > 0 ? (\n                  entitiesList?.map((entity) => {\n                    const subGroups = entity?.entities || [];\n                    return (\n                      <Box sx={{ ...styles.groupRows, gap: theme.spacing(1) }}>\n                        <Typography\n                          variant=\"body2\"\n                          color={theme.palette.surface80.main}\n                        >\n                          {entity?.name}\n                        </Typography>\n                        <Box\n                          sx={{\n                            display: \"flex\",\n                            flexDirection: \"column\",\n                            gap: theme.spacing(0.5),\n                          }}\n                        >\n                          {subGroups.map((subGroup) => (\n                            <Typography\n                              color={theme.palette.surface50.main}\n                              variant=\"caption\"\n                            >\n                              {subGroup}\n                            </Typography>\n                          ))}\n                        </Box>\n                      </Box>\n                    );\n                  })\n                ) : (\n                  <NoData customText=\"No Entities Added\" />\n                )}\n              </Box>\n            </Box>\n            <Box sx={styles.entityBlock}>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                {topicsList?.length || 0} Topic Groups Restricted\n              </Typography>\n              <Box\n                sx={{\n                  display: \"flex\",\n                  flexDirection: \"column\",\n                  gap: theme.spacing(2),\n                }}\n              >\n                {topicsList?.length > 0 ? (\n                  topicsList?.map((topic) => (\n                    <Typography\n                      variant=\"body2\"\n                      color={theme.palette.surface80.main}\n                    >\n                      {topic?.name}\n                    </Typography>\n                  ))\n                ) : (\n                  <NoData customText=\"No Topics Added\" />\n                )}\n              </Box>\n            </Box>\n          </Box>\n        </Box>\n      </Box>\n      <DialogActions>\n        <Button variant=\"contained\" onClick={() => onEdit(policyData)}>\n          Edit\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default ViewPolicy;\n","import { IconButton, useTheme } from \"@mui/material\";\nimport Box from \"../../components/common/Box\";\nimport Typography from \"../../components/common/Typography\";\nimport { SyntheticEvent, useEffect, useState } from \"react\";\nimport { Tab, TabPanel, Tabs } from \"../../components/common/Tabs\";\nimport Divider from \"../../components/common/Divider\";\nimport TextButton from \"../../components/common/TextButton\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../../components/common/Table\";\nimport Button from \"../../components/common/Button\";\nimport DeleteIcon from \"@mui/icons-material/Delete\";\nimport ConstructionIcon from \"@mui/icons-material/Construction\";\nimport { AddTopic } from \"./AddTopic\";\nimport { AddEntity } from \"./AddEntity\";\nimport { AddPolicy } from \"./AddPolicy\";\nimport NoSearchIcon from \"../../assets/img/No_Search_illustration.svg\";\nimport {\n  listPoliciesAsync,\n  deletePolicyAsync,\n  fetchEntitiesSlice,\n  fetchTopicsSlice as fetchDefinedTopicsSlice,\n} from \"../../redux/slices/policySlice\";\nimport { useDispatch } from \"react-redux\";\nimport DeletePolicy from \"./DeletePolicy\";\nimport Loader from \"../common/Loader\";\nimport moment from \"moment\";\nimport {\n  deleteTopicSlice,\n  fetchTopicSlice,\n} from \"../../redux/slices/topicSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport CheckCircleOutlineIcon from \"@mui/icons-material/CheckCircleOutline\";\nimport ErrorOutlineIcon from \"@mui/icons-material/ErrorOutline\";\nimport AccessTimeIcon from \"@mui/icons-material/AccessTime\";\nimport Tooltip from \"../common/Tooltip\";\nimport { Menu, MenuItem } from \"../common/Menu\";\nimport ApplyTopicToAppsDialog from \"./ApplyTopicToAppsDialog\";\nimport { fetchFrameworksSlice } from \"../../redux/slices/dashboardSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport DeleteTopic from \"./DeleteTopic\";\nimport { capitalizeFirstLetter } from \"../../utils/utils.js\";\nimport { AppDispatch } from \"../../redux/store\";\nimport MoreVert from \"@mui/icons-material/MoreVert\";\nimport ViewPolicy from \"./ViewPolicy\";\n\nconst TOPIC_STATUS = {\n  TRAINING: \"training\",\n  PENDING: \"pending\",\n  EVALUATING: \"evaluating\",\n  SUCCESS: \"success\",\n  FAIL: \"failed\",\n  ABORTED: \"aborted\",\n  CANCELLED: \"cancelled\",\n  MIN_SAMPLE_CHECK: \"sample_count_check\",\n  VARIANCE_CHECK: \"variance_check\",\n  CENTROID_CHECK: \"centroid_check\",\n  EMBEDDING_GENERATION: \"embedding_generation\",\n  LOAD_DATA: \"load_data\",\n  QUEUED: \"queued\",\n};\n\nconst TOPIC_STATUS_VALUES = {\n  training: \"training\",\n  pending: \"pending\",\n  evaluating: \"evaluating\",\n  success: \"success\",\n  failed: \"failed\",\n  aborted: \"aborted\",\n  cancelled: \"cancelled\",\n  sample_count_check: \"sample count check\",\n  variance_check: \"variance check\",\n  centroid_check: \"centroid check\",\n  embedding_generation: \"embedding generation\",\n  load_data: \"load data\",\n  queued: \"queued\",\n};\n\nconst TOPIC_STATUS_CODES = {\n  success: 200,\n  error: 500,\n};\n\ntype TableAlign =\n  | \"left\"\n  | \"center\"\n  | \"right\"\n  | \"justify\"\n  | \"inherit\"\n  | undefined;\n\ninterface TableCol {\n  title: string;\n  render: (any) => JSX.Element;\n  align?: TableAlign;\n  field?: string;\n}\n\ninterface DataTableProps {\n  columns: Array<{\n    title: string;\n    render: (any) => JSX.Element;\n    align?: TableAlign;\n    field?: string;\n  }>;\n  dataList;\n  isFetchingData?: boolean;\n}\n\nconst DataTable = ({ columns, dataList, isFetchingData }: DataTableProps) => {\n  const theme = useTheme();\n  const styles = {\n    tableContainer: {\n      maxHeight: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      justifyContent: \"space-between\",\n      backgroundColor: theme.palette.surface10.main,\n      paddingY: theme.spacing(1.5),\n    },\n    tableHead: {\n      \"&.MuiTableCell-head\": {\n        paddingY: theme.spacing(1.25),\n        zIndex: 0,\n      },\n    },\n    tableCell: {\n      fontSize: \"13px\",\n      padding: theme.spacing(2),\n      \"&.MuiTableCell-root \": {\n        borderBottom: `1px solid ${theme.palette.surface20.main}`,\n      },\n      verticalAlign: \"middle\",\n    },\n    noDataContainer: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n      height: \"100%\",\n    },\n    noDataMsg: {\n      fontSize: \"13px\",\n      color: theme.palette.surface60.main,\n    },\n  };\n\n  return (\n    <TableContainer sx={styles.tableContainer}>\n      <Table aria-label=\"simple table\">\n        <TableHead>\n          <TableRow>\n            {columns?.map((col, index) => (\n              <TableCell\n                key={col?.field || index}\n                sx={styles.tableHead}\n                align={col?.align ? (col.align as TableAlign) : \"left\"}\n              >\n                {col.title}\n              </TableCell>\n            ))}\n          </TableRow>\n        </TableHead>\n\n        <TableBody>\n          {isFetchingData ? (\n            <TableCell colSpan={columns?.length}>\n              <Loader height=\"150px\" />\n            </TableCell>\n          ) : dataList?.length > 0 ? (\n            dataList?.map((row, index: number) => (\n              <TableRow key={index}>\n                {columns?.map((col, index) => {\n                  return (\n                    <TableCell\n                      key={index}\n                      component=\"td\"\n                      scope=\"row\"\n                      sx={styles.tableCell}\n                      align={\n                        col?.align\n                          ? (col.align as\n                              | \"left\"\n                              | \"center\"\n                              | \"right\"\n                              | \"justify\"\n                              | \"inherit\"\n                              | undefined)\n                          : \"left\"\n                      }\n                    >\n                      {col?.render ? (\n                        col.render(row) || \"-\"\n                      ) : (\n                        <Typography variant=\"caption\">\n                          {row[col?.field || 0] || \"-\"}\n                        </Typography>\n                      )}\n                    </TableCell>\n                  );\n                })}\n              </TableRow>\n            ))\n          ) : (\n            <TableCell colSpan={columns?.length} borderBottom={false}>\n              <Box sx={styles.noDataContainer}>\n                <img src={NoSearchIcon} alt=\"no data\" />\n                <Typography sx={styles.noDataMsg}>No records found</Typography>\n              </Box>\n            </TableCell>\n          )}\n        </TableBody>\n      </Table>\n    </TableContainer>\n  );\n};\n\nconst PolicyPage = ({ selectedAccount }) => {\n  const dispatch = useDispatch<AppDispatch>();\n  const [tabValue, setTabValue] = useState(\"0\");\n  const [isAddPolicy, setIsAddPolicy] = useState(false);\n  const [isEditPolicy, setIsEditPolicy] = useState(false);\n  const [modifyPolicyData, setModifyPolicyData] = useState(null);\n  const [isOpenTopic, setIsOpenTopic] = useState(false);\n  const [isOpenEntity, setIsOpenEntity] = useState(false);\n  const [policyData, setPolicyData] = useState([]);\n  const [topicData, setTopicData] = useState([]);\n  const [entityData, setEntityData] = useState([]);\n  const [isDeletePolicy, setIsDeletePolicy] = useState<{\n    id: string;\n    policy: string;\n  } | null>(null);\n  const [isFetchingPolicies, setIsFetchingPolicies] = useState(false);\n  const [isFetchingTopics, setIsFetchingTopics] = useState(false);\n  const [appList, setAppList] = useState([]);\n  const [showDeleteTopic, setShowDeleteTopic] = useState(false);\n  const [topicDelete, setTopicDelete] = useState<{\n    _id: String;\n    topic: string;\n  } | null>(null);\n  const [showApplyMsg, setShowApplyMsg] = useState(\"\");\n  const [openApplyDialog, setOpenApplyDialog] = useState(false);\n  const [menuAnchor, setMenuAnchor] = useState<null | HTMLElement>(null);\n  const [policyActionsMenu, setPolicyActionsMenu] =\n    useState<null | HTMLElement>(null);\n  const isPolicyActionsMenuOpen = Boolean(policyActionsMenu);\n  const [selectedRow, setSelectedRow] = useState<string>(\"\");\n  const [viewPolicy, setViewPolicy] = useState({});\n  const [isViewPolicy, setIsViewPolicy] = useState<boolean>(false);\n  const isMenuOpen = Boolean(menuAnchor);\n\n  const getAppsData = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const res = await dispatch(fetchFrameworksSlice(payload));\n    if (res.payload) {\n      setAppList(res.payload.data?.map((app) => app?.name));\n    } else {\n      setAppList([]);\n    }\n  };\n\n  const fetchEntities = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    await dispatch(fetchEntitiesSlice(payload));\n  };\n\n  const fetchTopic = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    await dispatch(fetchDefinedTopicsSlice(payload));\n  };\n\n  const closeDeleteTopicDialog = () => {\n    setShowDeleteTopic(false);\n    setTopicDelete(null);\n  };\n\n  useEffect(() => {\n    if (policyActionsMenu) {\n      setSelectedRow(policyActionsMenu.id);\n      return;\n    }\n    setSelectedRow(\"\");\n  }, [policyActionsMenu]);\n\n  useEffect(() => {\n    getAppsData();\n    fetchEntities();\n    fetchTopic();\n  }, []);\n\n  const theme = useTheme();\n  const styles = {\n    main: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(4),\n    },\n    name: {\n      fontSize: \"13px\",\n      lineheight: \"24px\",\n    },\n    lastOccur: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n\n    tableCellLast: {\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"end\",\n      gap: theme.spacing(1.5),\n    },\n    tableCellAction: {\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      color: theme.palette.primaryBlue.main,\n      cursor: \"pointer\",\n    },\n    tableActionDivider: {\n      height: \"18px\",\n      margin: theme.spacing(0.26, 0),\n      width: \"1px\",\n      background: theme.palette.surface20.main,\n    },\n    deleteIcon: {\n      color: theme.palette.primaryBlue.main,\n      width: \"18px\",\n      cursor: \"pointer\",\n      \":hover\": {\n        color: theme.palette.secondaryBlue.main,\n      },\n    },\n    mainContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3.5),\n    },\n    tabPanel: {\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"space-between\",\n    },\n    statusIcon: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n      justifyContent: \"left\",\n    },\n    menuItem: {\n      padding: theme.spacing(1),\n    },\n    menuItemText: {\n      fontSize: \"13px\",\n    },\n    betaTag: {\n      backgroundColor: theme.palette.surface20.main,\n      paddingX: theme.spacing(0.5),\n      marginLeft: theme.spacing(0.5),\n      borderRadius: theme.spacing(0.5),\n      fontSize: \"10px\",\n      color: theme.palette.surface80.main,\n    },\n    flex: { display: \"flex\", alignItems: \"center\", gap: theme.spacing(1) },\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n  };\n\n  const handleTabChange = (event: Event | SyntheticEvent, newValue: string) =>\n    setTabValue(newValue.toString());\n\n  const handleAddDialog = (newValue) => {\n    switch (Number(newValue)) {\n      case 0:\n        setIsAddPolicy(true);\n        break;\n      case 1:\n        setIsOpenTopic(true);\n        break;\n      case 2:\n        setIsOpenEntity(true);\n        break;\n      default:\n        break;\n    }\n  };\n\n  const onCloseDeleteDialog = () => {\n    setIsDeletePolicy(null);\n  };\n\n  const deleteTopic = async () => {\n    if (topicDelete?._id) {\n      const params = {\n        customerId: getCustomerId(),\n        topicId: topicDelete?._id,\n      };\n      const response = await dispatch(deleteTopicSlice(params));\n      const payload = response?.payload;\n      if (payload?.status_code === TOPIC_STATUS_CODES.success) {\n        Toaster(TOASTER_TYPES.SUCCESS, payload?.message);\n        fetchTopics();\n      } else {\n        Toaster(TOASTER_TYPES.FAIL, \"Unable to delete Topic. Please try again\");\n      }\n      closeDeleteTopicDialog();\n    }\n  };\n\n  useEffect(() => {\n    if (showApplyMsg) {\n      setTimeout(() => {\n        Toaster(TOASTER_TYPES.SUCCESS, showApplyMsg);\n        setShowApplyMsg(\"\");\n      }, 1000);\n    }\n  }, [showApplyMsg]);\n\n  const onDeletePolicy = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      id: isDeletePolicy?.id,\n    };\n    const response = await dispatch(deletePolicyAsync(payload));\n    if (response?.payload?.message) {\n      setIsDeletePolicy(null);\n      Toaster(TOASTER_TYPES.SUCCESS, response?.payload?.message);\n      fetchPolicies();\n    }\n  };\n\n  const policyTableCols: Array<TableCol> = [\n    {\n      title: \"Policy Name\",\n      render: (row: any) => (\n        <Typography sx={styles.name}>{row?.name}</Typography>\n      ),\n    },\n    {\n      title: \"Type\",\n      field: \"type\",\n      render: (row: any) => (\n        <Typography sx={styles.name}>\n          {capitalizeFirstLetter(row?.type)}\n        </Typography>\n      ),\n    },\n    {\n      title: \"Configuration\",\n      field: \"config\",\n      render: (row: any) => {\n        return (\n          <Box sx={styles.flexCol}>\n            <Box sx={styles.flex}>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                Semantic Guardrail\n              </Typography>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface50.main}\n              >\n                | {row?.config?.semanticGuardrail?.entities?.length || 0}{\" \"}\n                Entities, {row?.config?.semanticGuardrail?.topics?.length || 0}{\" \"}\n                Topics\n              </Typography>\n            </Box>\n            <Box sx={styles.flex}>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                Exceptions\n              </Typography>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface50.main}\n              >\n                |{\" \"}\n                {row?.config?.exception?.grantFullAccess\n                  ? \"Allowed\"\n                  : \"Not Allowed\"}{\" \"}\n              </Typography>\n            </Box>\n            {/*<Box sx={styles.flex}>\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                Confidentiality Tags\n              </Typography>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface50.main}\n              >\n                | {row?.config?.ConfidentialityTags || \"-\"}\n              </Typography>\n            </Box>*/}\n          </Box>\n        );\n      },\n    },\n    {\n      title: \"Owner\",\n      field: \"owner\",\n      render: (row: any) => (\n        <Typography sx={styles.name}>{row?.userName}</Typography>\n      ),\n    },\n    {\n      title: \"Added On\",\n      field: \"addedOn\",\n      render: (row) => {\n        const date = row?.metadata?.createdAt;\n        const dateString = moment(date).format(\"yyyy-MM-DD\");\n        const hoursAndMinutes = moment(date).format(\"HH:mm:ss\");\n\n        return (\n          <Typography sx={styles.name}>\n            {`${dateString} | ${hoursAndMinutes}`}\n          </Typography>\n        );\n      },\n    },\n    {\n      title: \"\",\n      field: \"actions\",\n      align: \"right\",\n      render: (row) => {\n        return (\n          <div>\n            <TextButton\n              onClick={() => {\n                console.log(\"hey\");\n                setViewPolicy(row);\n                setIsViewPolicy(true);\n              }}\n            >\n              View Details\n            </TextButton>\n            <IconButton\n              id={row.id}\n              onClick={(e) => setPolicyActionsMenu(e.currentTarget)}\n            >\n              <MoreVert htmlColor={theme.palette.primaryBlue.main} />\n            </IconButton>\n            <Menu\n              open={!!policyActionsMenu && selectedRow === row.id}\n              id={row.id}\n              anchorEl={policyActionsMenu}\n              onClose={() => setPolicyActionsMenu(null)}\n            >\n              <MenuItem sx={styles.menuItem}>\n                <Typography\n                  sx={styles.menuItemText}\n                  onClick={() => {\n                    setIsEditPolicy(true);\n                    setModifyPolicyData(row);\n                    setPolicyActionsMenu(null);\n                  }}\n                >\n                  Edit Policy\n                </Typography>\n              </MenuItem>\n              <MenuItem sx={styles.menuItem}>\n                <Typography\n                  sx={styles.menuItemText}\n                  onClick={() => {\n                    setIsDeletePolicy({\n                      id: row?.id,\n                      policy: row?.name,\n                    });\n                    setPolicyActionsMenu(null);\n                  }}\n                >\n                  Delete Policy\n                </Typography>\n              </MenuItem>\n            </Menu>\n          </div>\n        );\n      },\n    },\n  ];\n\n  const getStatusIcon = (status) => {\n    switch (status) {\n      case TOPIC_STATUS.SUCCESS:\n        return (\n          <CheckCircleOutlineIcon\n            sx={{ color: theme.palette.success.main, fontSize: \"20px\" }}\n          />\n        );\n      case TOPIC_STATUS.EVALUATING:\n      case TOPIC_STATUS.TRAINING:\n      case TOPIC_STATUS.PENDING:\n        return (\n          <AccessTimeIcon\n            sx={{ color: theme.palette.warning.main, fontSize: \"20px\" }}\n          />\n        );\n      case TOPIC_STATUS.FAIL:\n        return (\n          <ErrorOutlineIcon\n            sx={{\n              color: theme.palette.critical.main,\n              fontSize: \"20px\",\n            }}\n          />\n        );\n      case TOPIC_STATUS.ABORTED:\n      case TOPIC_STATUS.CANCELLED:\n      case TOPIC_STATUS.MIN_SAMPLE_CHECK:\n      case TOPIC_STATUS.LOAD_DATA:\n      case TOPIC_STATUS.QUEUED:\n      case TOPIC_STATUS.EMBEDDING_GENERATION:\n      case TOPIC_STATUS.CENTROID_CHECK:\n      case TOPIC_STATUS.VARIANCE_CHECK:\n        return (\n          <AccessTimeIcon\n            sx={{ color: theme.palette.warning.main, fontSize: \"20px\" }}\n          />\n        );\n      default:\n        return \"-\";\n    }\n  };\n\n  const topicsCols: Array<TableCol> = [\n    {\n      title: \"Topic\",\n      render: (row) => (\n        <Typography sx={styles.name}>{row?.topic_name || \"-\"}</Typography>\n      ),\n    },\n    {\n      title: \"Description\",\n      field: \"topic_description\",\n      render: (row) => (\n        <Typography sx={styles.name}>\n          {row?.topic_description || \"-\"}\n        </Typography>\n      ),\n    },\n    {\n      title: \"Added On\",\n      field: \"createdOn\",\n      render: (row) => {\n        const dateString = moment(row?.metadata?.createdAt).format(\n          \"yyyy-MM-DD\"\n        );\n        const hoursAndMinutes = moment(row?.metadata?.createdAt).format(\n          \"HH:mm:ss\"\n        );\n        return (\n          <Typography sx={styles.name}>\n            {`${dateString || \"-\"} | ${hoursAndMinutes || \"-\"}`}\n          </Typography>\n        );\n      },\n    },\n    {\n      title: \"Status\",\n      field: \"status\",\n      align: \"left\",\n      render: (row) => {\n        const status = row?.model_info?.status;\n        const errorMessage = row?.model_info?.errorMessage;\n\n        if (status) {\n          const icon = getStatusIcon(status);\n          const displayStatus = capitalizeFirstLetter(\n            TOPIC_STATUS_VALUES[status]\n          );\n          return (\n            <Box sx={styles.statusIcon}>\n              {icon}\n              <Tooltip title={errorMessage || displayStatus}>\n                <div>\n                  <Typography variant=\"caption\">{displayStatus}</Typography>\n                </div>\n              </Tooltip>\n            </Box>\n          );\n        }\n        return <>-</>;\n      },\n    },\n    {\n      title: \"\",\n      field: \"actions\",\n      align: \"center\",\n      render: (row) => {\n        return (\n          <Box sx={styles.tableCellLast}>\n            <Box>\n              <TextButton\n                sx={styles.tableCellAction}\n                onClick={(e) => setMenuAnchor(e.currentTarget)}\n              >\n                Apply\n              </TextButton>\n              <Menu\n                open={isMenuOpen}\n                anchorEl={menuAnchor}\n                onClose={() => setMenuAnchor(null)}\n              >\n                <MenuItem sx={styles.menuItem}>\n                  <Typography\n                    sx={styles.menuItemText}\n                    onClick={() => {\n                      setShowApplyMsg(\n                        \"Topic successfully applied to all Applications\"\n                      );\n                      setMenuAnchor(null);\n                    }}\n                  >\n                    Apply to all applications\n                  </Typography>\n                </MenuItem>\n                <MenuItem sx={styles.menuItem}>\n                  <Typography\n                    sx={styles.menuItemText}\n                    onClick={() => {\n                      setOpenApplyDialog(true);\n                      setMenuAnchor(null);\n                    }}\n                  >\n                    Select Application\n                  </Typography>\n                </MenuItem>\n              </Menu>\n            </Box>\n            <Divider\n              orientation=\"vertical\"\n              flexItem\n              sx={styles.tableActionDivider}\n            />\n            <Box>\n              <TextButton sx={styles.tableCellAction}>Modify</TextButton>\n            </Box>\n            <Divider\n              orientation=\"vertical\"\n              flexItem\n              sx={styles.tableActionDivider}\n            />\n            <TextButton\n              onClick={() => {\n                setTopicDelete({ _id: row?._id, topic: row?.topic_name });\n                setShowDeleteTopic(true);\n              }}\n            >\n              <DeleteIcon sx={styles.deleteIcon} />\n            </TextButton>\n          </Box>\n        );\n      },\n    },\n  ];\n\n  const entityCols: Array<{\n    title: string;\n    render: (any) => JSX.Element;\n    align?: TableAlign;\n    field?: string;\n  }> = [\n    {\n      title: \"Entities\",\n      render: (row) => (\n        <Typography sx={styles.name}>\n          {row?.entity || row?.customEntity[0] || \"-\"}\n        </Typography>\n      ),\n    },\n    {\n      title: \"Added On\",\n      field: \"createdOn\",\n      render: (row) => {\n        const dateString = moment(row?.metadata?.createdAt).format(\n          \"yyyy-MM-DD\"\n        );\n        const hoursAndMinutes = moment(row?.metadata?.createdAt).format(\n          \"HH:mm:ss\"\n        );\n        return (\n          <Typography sx={styles.name}>\n            {`${dateString || \"-\"} | ${hoursAndMinutes || \"-\"}`}\n          </Typography>\n        );\n      },\n    },\n    {\n      title: \"\",\n      field: \"actions\",\n      align: \"center\",\n      render: (row) => {\n        return (\n          <Box sx={styles.tableCellLast}>\n            <Box>\n              <TextButton\n                startIcon={<ConstructionIcon />}\n                sx={styles.tableCellAction}\n              >\n                Modify Entity\n              </TextButton>\n            </Box>\n\n            <Divider\n              orientation=\"vertical\"\n              flexItem\n              sx={styles.tableActionDivider}\n            />\n            <DeleteIcon sx={styles.deleteIcon} />\n          </Box>\n        );\n      },\n    },\n  ];\n\n  const tabData = [\n    {\n      id: \"0\",\n      value: \"policy\",\n      label: \"Policy\",\n      tableCol: policyTableCols,\n      disableAdd: false,\n    },\n  ];\n\n  const getButtonText = () => {\n    switch (Number(tabValue)) {\n      case 0:\n        return \"Policy\";\n      case 1:\n        return \"Topic\";\n      case 2:\n        return \"Entity\";\n      default:\n        return \"Policy\";\n    }\n  };\n\n  const fetchPolicies = async () => {\n    setIsFetchingPolicies(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const res = await dispatch(listPoliciesAsync(payload));\n    if (res.payload) {\n      setPolicyData(res.payload);\n    }\n    setIsFetchingPolicies(false);\n  };\n\n  const fetchTopics = async () => {\n    setIsFetchingTopics(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const res = await dispatch(fetchTopicSlice(payload));\n    if (res.payload) {\n      setTopicData(res.payload);\n    }\n    setIsFetchingTopics(false);\n  };\n\n  useEffect(() => {\n    fetchPolicies();\n    fetchTopics();\n  }, []);\n\n  return (\n    <>\n      <Box sx={styles.main}>\n        <Typography color={theme.palette.surface100.main} variant=\"body2\">\n          Policy Settings\n        </Typography>\n        <Box sx={styles.mainContent}>\n          <Box sx={styles.tabPanel}>\n            <Tabs value={Number(tabValue)} onChange={handleTabChange}>\n              {tabData?.map((item) => (\n                <Tab\n                  label={item?.label}\n                  icon={\n                    <>\n                      {item?.label === \"Topic\" && (\n                        <Box sx={styles.betaTag}>BETA</Box>\n                      )}\n                    </>\n                  }\n                  iconPosition=\"end\"\n                />\n              ))}\n            </Tabs>\n            <Button\n              variant=\"contained\"\n              disabled={tabData.find((tab) => tab.id === tabValue)?.disableAdd}\n              onClick={() => handleAddDialog(tabValue)}\n            >\n              Add {getButtonText()}\n            </Button>\n          </Box>\n\n          <TabPanel value={tabValue} index=\"0\">\n            <DataTable\n              columns={policyTableCols}\n              dataList={policyData}\n              isFetchingData={isFetchingPolicies}\n            />\n          </TabPanel>\n          <TabPanel value={tabValue} index=\"1\">\n            <DataTable\n              columns={topicsCols}\n              dataList={topicData}\n              isFetchingData={isFetchingTopics}\n            />\n          </TabPanel>\n          <TabPanel value={tabValue} index=\"2\">\n            <DataTable columns={entityCols} dataList={[]} />\n          </TabPanel>\n        </Box>\n      </Box>\n      <AddPolicy\n        isEdit={isEditPolicy}\n        isOpen={isAddPolicy || isEditPolicy}\n        selectedAccount={selectedAccount}\n        handleClose={() => {\n          setIsAddPolicy(false);\n          setIsEditPolicy(false);\n        }}\n        fetchPolicies={fetchPolicies}\n        buttonText={isEditPolicy ? \"Update\" : \"Add\"}\n        dialogHeader={isEditPolicy ? \"Modify Policy\" : \"Add Policy\"}\n        policyDetails={modifyPolicyData}\n      />\n      <AddTopic\n        isOpen={isOpenTopic}\n        handleClose={() => setIsOpenTopic(false)}\n        fetchTopics={fetchTopics}\n      />\n      <AddEntity\n        isOpen={isOpenEntity}\n        handleClose={() => setIsOpenEntity(false)}\n      />\n      <DeletePolicy\n        policyName={isDeletePolicy?.policy}\n        open={isDeletePolicy}\n        onDelete={onDeletePolicy}\n        onClose={onCloseDeleteDialog}\n      />\n      <ApplyTopicToAppsDialog\n        open={openApplyDialog}\n        onClose={() => setOpenApplyDialog(false)}\n        apps={appList}\n        onSubmit={(appName) => {\n          setShowApplyMsg(`Topic successfully applied to ${appName}`);\n          setOpenApplyDialog(false);\n        }}\n      />\n      <DeleteTopic\n        open={showDeleteTopic}\n        onClose={closeDeleteTopicDialog}\n        onDelete={deleteTopic}\n        topicName={topicDelete?.topic}\n      />\n      {isViewPolicy && (\n        <ViewPolicy\n          open={isViewPolicy}\n          policyData={viewPolicy}\n          onClose={() => {\n            setIsViewPolicy(false);\n            setViewPolicy({});\n          }}\n          onEdit={(policyData) => {\n            setIsEditPolicy(true);\n            setIsViewPolicy(false);\n\n            setModifyPolicyData(policyData);\n          }}\n        />\n      )}\n    </>\n  );\n};\n\nexport default PolicyPage;\n","import { useEffect, useState } from \"react\";\nimport PolicySetting from \"../../components/settings/PolicySetting\";\nimport PolicyPage from \"../../components/policy/PolicyPage\";\n\nconst PolicySettings = ({ setPath, selectedAccount }) => {\n  useEffect(() => {\n    document.title = \"Daxa - Policy\";\n    setPath(window.location.pathname);\n  }, []);\n\n  const [showPolicySettings, setShowPolicySettings] = useState(false);\n\n  return (\n    <>\n      {showPolicySettings && <PolicySetting />}\n      <PolicyPage selectedAccount={selectedAccount} />\n    </>\n  );\n};\n\nexport default PolicySettings;\n","export default __webpack_public_path__ + \"static/media/user-profile-icon.75086b41.svg\";","export default __webpack_public_path__ + \"static/media/Question.709d56c4.svg\";","export default __webpack_public_path__ + \"static/media/settings.d9d08c20.svg\";","export default __webpack_public_path__ + \"static/media/down-arrow.bb4836d1.svg\";","export default __webpack_public_path__ + \"static/media/notification.a24f5222.svg\";","import React, { useEffect } from \"react\";\nimport * as am4core from \"@amcharts/amcharts4/core\";\nimport * as am4charts from \"@amcharts/amcharts4/charts\";\nimport \"./index.scss\";\nimport { getScoreColorCode } from \"../../utils/styles\";\n\nam4core.addLicense(\"ch-custom-attribution\");\n\nconst RiskScoreChart = ({ riskStats }) => {\n  const loadChart = () => {\n    // Create chart instance\n    var chart = am4core.create(\"risk-score-chart\", am4charts.PieChart);\n\n    // Add data\n    chart.data = [\n      {\n        risk: \"High\",\n        score: riskStats?.issueUberScore || 0,\n        color: am4core.color(getScoreColorCode(riskStats?.issueUberScore || 0)),\n      },\n      {\n        risk: \"\",\n        score: 100 - (riskStats?.issueUberScore || 0),\n        color: am4core.color(\"#060C2B\"),\n      },\n    ];\n\n    // Add and configure Series\n    var pieSeries = chart.series.push(new am4charts.PieSeries());\n    pieSeries.dataFields.value = \"score\";\n    pieSeries.dataFields.category = \"risk\";\n\n    // Let's cut a hole in our Pie chart the size of 40% the radius\n    chart.radius = am4core.percent(80);\n    chart.innerRadius = am4core.percent(80);\n    // chart.startAngle = 170;\n    // chart.endAngle = 270;\n\n    // Put a thick white border around each Slice\n    // pieSeries.slices.template.stroke = am4core.color(\"#FFFFFF\");\n    pieSeries.slices.template.strokeWidth = 3;\n    pieSeries.slices.template.strokeOpacity = 1;\n    pieSeries.slices.template.propertyFields.fill = \"color\";\n    pieSeries.slices.template.tooltipText = \"\";\n\n    var label = pieSeries.createChild(am4core.Label);\n    label.text = `${Math.round(riskStats?.issueUberScore) || 0}`;\n    label.horizontalCenter = \"middle\";\n    label.verticalCenter = \"middle\";\n    label.fontSize = 12;\n    label.fontWeight = 800;\n    label.fill = am4core.color(\n      getScoreColorCode(riskStats?.issueUberScore || 0)\n    );\n    // label.color = am4core.color(\"#FFFFFF\");\n    label.populateText = true;\n\n    // Add a legend\n    // chart.legend = new am4charts.Legend();\n  };\n\n  useEffect(() => {\n    // if (riskStats) {\n    loadChart();\n    // }\n  }, [riskStats]);\n\n  return (\n    <div id=\"risk-score-chart\" style={{ height: \"47px\", width: \"47px\" }}></div>\n  );\n};\n\nexport default RiskScoreChart;\n","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgDaxaTitle(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 259,\n    height: 64,\n    viewBox: \"0 0 259 64\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M252.742 51.75L258.502 63H245.902L240.142 51.75L226.372 24.75L212.602 51.75L206.842 63H194.242L200.002 51.75L226.372 0L252.742 51.75Z\",\n    fill: \"white\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M128.004 63.2698V63.0898H128.184L128.004 63.2698ZM191.004 63.0898V63.2698L190.914 63.0898H191.004ZM191.004 0.0898438H191.184L166.794 31.6798L191.094 63.0898H176.874L159.684 40.8598L142.494 63.0898H128.274L152.484 31.6798L128.094 0.0898438H142.314L159.594 22.4998L176.874 0.0898438H191.004Z\",\n    fill: \"white\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M119.059 51.75L124.819 63H112.219L106.459 51.75L92.6886 24.75L78.9186 51.75L73.1586 63H60.5586L66.3186 51.75L92.6886 0L119.059 51.75Z\",\n    fill: \"white\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M0 0L31.41 0.0900002C48.78 0.0900002 62.91 14.13 62.91 31.5C62.91 39.24 60.12 46.35 55.44 51.84C54.9 52.47 54.27 53.1 53.64 53.73C47.97 59.49 40.14 63 31.5 63H0V0ZM11.16 11.34V51.84H31.41C42.57 51.84 51.66 42.75 51.66 31.59C51.66 20.43 42.57 11.34 31.41 11.34H11.16Z\",\n    fill: \"white\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDaxaTitle);\nexport default __webpack_public_path__ + \"static/media/daxa-title.55ab22bd.svg\";\nexport { ForwardRef as ReactComponent };","import React, { useEffect, useState } from \"react\";\nimport \"./Header.scss\";\nimport user from \"../../assets/img/new-theme/user-profile-icon.svg\";\nimport questionIcon from \"../../assets/img/new-theme/Question.svg\";\nimport settings from \"../../assets/img/new-theme/settings.svg\";\nimport notification from \"../../assets/img/new-theme/notification.svg\";\nimport downArrow from \"../../assets/img/new-theme/down-arrow.svg\";\nimport { getUserId } from \"../../utils/SessionHelper\";\nimport RiskScoreChart from \"../charts/RiskScoreChart\";\nimport Popup from \"reactjs-popup\";\nimport Select from \"react-select\";\nimport Toggle from \"react-toggle\";\nimport \"react-toggle/style.css\"; // for ES6 modules\nimport {\n  getSelectedDatastoreAccount,\n  setSelectedDatastoreAccount,\n  getCustomerId,\n} from \"../../utils/SessionHelper\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport {\n  // issueViewVisible,\n  // issueViewDisable,\n  manageDashboardViewSlice,\n  fetchIssueUberScoreSlice,\n  isAIView,\n  isDataView,\n} from \"../../redux/slices/dashboardSlice\";\nimport { getScoreColor } from \"../../utils/styles\";\nimport { useHistory } from \"react-router-dom\";\nimport { TIMEOUT_IN_MILLISECONDS } from \"../../utils/Constants\";\n// import { useIdleTimer } from \"react-idle-timer\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport { accountType } from \"../constants/constants\";\n\nconst Header = ({\n  selectedAccount,\n  setSelectedAccount,\n  setInfoModal,\n  isIssueViewVisible,\n}) => {\n  const dispatch = useDispatch();\n  const defaultAccount = getSelectedDatastoreAccount() || {\n    value: \"all\",\n    label: \"All\",\n  };\n  const [accountList, setAccountList] = useState([\n    { value: \"all\", label: \"All\" },\n  ]);\n\n  const accounts = useSelector((state) => state.account.accounts);\n  const [riskStats, setRiskStats] = useState(null);\n  const [accountDropdownDisable, setAccountDrodpwonDisable] = useState(false);\n  const history = useHistory();\n  const path = history.location.pathname;\n  const timeout = parseInt(TIMEOUT_IN_MILLISECONDS);\n  const [isIdle, setIsIdle] = useState(false);\n  const handleOnActive = () => setIsIdle(false);\n  const handleOnIdle = () => setIsIdle(true);\n\n  // const {\n  //   reset,\n  //   pause,\n  //   resume,\n  //   getRemainingTime,\n  //   getLastActiveTime,\n  //   getElapsedTime,\n  // } = useIdleTimer({\n  //   timeout,\n  //   onActive: handleOnActive,\n  //   onIdle: handleOnIdle,\n  // });\n\n  useEffect(() => {\n    window.scrollTo(0, 0);\n  }, [history.location.pathname]);\n\n  useEffect(() => {\n    if (isIdle) {\n      localStorage.clear();\n      sessionStorage.clear();\n      const userId = getUserId();\n      if (userId) {\n        const url = FormatUrl(`/user/logout/${userId}`);\n        window.location = url;\n      } else {\n        window.location = \"/timeout\";\n      }\n    }\n  }, [isIdle]);\n\n  const logout = () => {\n    const userId = getUserId();\n    localStorage.clear();\n    sessionStorage.clear();\n    if (userId) {\n      const url = FormatUrl(`/user/logout/${userId}`);\n      window.location = url;\n    } else {\n      window.location = \"/\";\n    }\n  };\n\n  const getCloudAccountId = (selectedAccountId, accountFromStorage) => {\n    return selectedAccountId\n      ? selectedAccountId === \"all\"\n        ? null\n        : selectedAccountId\n      : accountFromStorage\n      ? accountFromStorage.value === \"all\"\n        ? null\n        : accountFromStorage.value\n      : null;\n  };\n\n  const checkAccountDropdownPermission = () => {\n    if (\n      path === \"/\" ||\n      path === \"/datastore\" ||\n      path === \"/vulnerabilities\" ||\n      path === \"/cloud/assets\"\n    ) {\n      setAccountDrodpwonDisable(false);\n    } else {\n      setAccountDrodpwonDisable(true);\n    }\n  };\n\n  const getRiskScore = async () => {\n    const resp = await dispatch(\n      fetchIssueUberScoreSlice({\n        customerId: getCustomerId(),\n      })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      setRiskStats(resp?.payload);\n    }\n  };\n\n  useEffect(() => {\n    checkAccountDropdownPermission();\n  }, [path]);\n\n  useEffect(() => {\n    // Populating risk score\n    getRiskScore();\n    const intervalCall = setInterval(() => {\n      getRiskScore();\n    }, 120000);\n    return () => {\n      if (intervalCall) {\n        clearInterval(intervalCall);\n      }\n    };\n  }, []);\n\n  useEffect(() => {\n    if (accounts && accounts.length > 0) {\n      setAccountList([\n        { value: \"all\", label: \"All\" },\n        ...accounts.map((account) => {\n          return { value: account.id, label: account.id };\n        }),\n      ]);\n    }\n  }, [accounts]);\n\n  const toggleView = () => {\n    if (isIssueViewVisible === accountType.Data) {\n      dispatch(isAIView());\n      dispatch(\n        manageDashboardViewSlice({\n          userId: getUserId(),\n          view: \"data\",\n        })\n      );\n    } else {\n      dispatch(isDataView());\n      dispatch(\n        manageDashboardViewSlice({\n          userId: getUserId(),\n          view: \"ai\",\n        })\n      );\n    }\n  };\n\n  return (\n    <div id=\"cd-top-header\">\n      <div className=\"d-flex justify-content-between header-main-container \">\n        <div className=\"left-container\">\n          <ul>\n            <li>\n              <div className=\"d-flex align-items-center\">\n                <label className=\"risk-score-label mr-2\"> RISK SCORE</label>\n                <RiskScoreChart riskStats={riskStats} />\n                <div\n                  className={`datastore-risk-score-label px-2 ml-2 ${getScoreColor(\n                    riskStats?.issueUberScore || 0\n                  )}-bg-level`}>\n                  <label\n                    className={`m-0 ${getScoreColor(\n                      riskStats?.issueUberScore || 0\n                    )}-level`}>\n                    {\" \"}\n                    {riskStats?.issueUberLabel || \"Low\"}\n                  </label>\n                </div>\n              </div>\n            </li>\n\n            <li className=\"ml-5 d-flex align-items-center\">\n              <label className=\"accounts-label mr-1\"> Accounts</label>\n              <Select\n                options={accountList}\n                isDisabled={accountDropdownDisable}\n                classNamePrefix=\"accounts-dropdown\"\n                placeholder=\"Select Account\"\n                defaultValue={accountList.length > 0 && accountList[0]}\n                value={\n                  accountList.find(\n                    (element) => element.value === selectedAccount.value\n                  )\n                    ? selectedAccount\n                    : accountList[0]\n                }\n                onChange={(value) => setSelectedAccount(value)}\n                isSearchable={false}\n                className={\n                  accountDropdownDisable\n                    ? \"accounts-dropdown\"\n                    : \"accounts-dropdown cursor-pointer\"\n                }\n              />\n            </li>\n          </ul>\n        </div>\n        <div className=\"right-container d-flex\">\n          {/* <img src={notification} className=\"mr-5 cursor-pointer\" /> */}\n\n          <Popup\n            trigger={<img src={settings} className=\"mr-4 cursor-pointer\" />}\n            on={[\"click\"]}\n            position=\"bottom right\"\n            arrow={true}\n            className=\"settings-popup\">\n            <div className=\"p-4\">\n              <span\n                className={\n                  isIssueViewVisible\n                    ? \"mr-2 toggle-title-disable\"\n                    : \"mr-2 toggle-title\"\n                }>\n                {\" \"}\n                Data View\n              </span>\n              <Toggle\n                defaultChecked={isIssueViewVisible}\n                onChange={() => toggleView()}\n                className=\"risk-accept-toggle\"\n                icons={false}\n                id=\"risk-accept-toggle\"\n              />\n              <span\n                className={\n                  isIssueViewVisible\n                    ? \"ml-1 toggle-title\"\n                    : \"ml-1 toggle-title-disable\"\n                }>\n                {\" \"}\n                Issue View\n              </span>\n            </div>\n          </Popup>\n\n          <Popup\n            trigger={\n              <div className=\"d-flex cursor-pointer\">\n                <img src={user} className=\"mr-2\" />\n\n                <div className=\"mr-2\">\n                  <span className=\"user-name\">\n                    {localStorage.getItem(\"username\")}\n                  </span>\n                  <br />\n\n                  <div className=\"customer-name\">\n                    {localStorage.getItem(\"customer_name\")}\n                  </div>\n                </div>\n                <img src={downArrow} />\n              </div>\n            }\n            on={[\"click\"]}\n            position=\"bottom right\"\n            arrow={false}\n            className=\"profile-popup\">\n            <div className=\"popup-item\" onClick={logout}>\n              Logout\n            </div>\n          </Popup>\n\n          <img\n            src={questionIcon}\n            onClick={() => setInfoModal(true)}\n            className=\"ml-4 cursor-pointer\"\n          />\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Header;\n","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgHome(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 27,\n    height: 27,\n    viewBox: \"0 0 27 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M3.95352 7.66755C2.97329 8.42995 2.17822 10.0528 2.17822 11.2835V19.354C2.17822 21.8808 4.23669 23.9501 6.76349 23.9501H19.3757C21.9025 23.9501 23.961 21.8808 23.961 19.3649V11.436C23.961 10.1181 23.0788 8.42995 22.0005 7.67844L15.2697 2.96248C13.7449 1.89512 11.2943 1.94958 9.82397 3.09317L3.95352 7.66755Z\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M13.0698 19.5936V16.3262\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgHome);\nexport default __webpack_public_path__ + \"static/media/home.da96501b.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgData(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 27,\n    height: 27,\n    viewBox: \"0 0 27 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M16.4762 23.961C21.9219 23.961 24.1001 21.7828 24.1001 16.3371V9.80224C24.1001 4.35656 21.9219 2.17828 16.4762 2.17828H9.94134C4.49566 2.17828 2.31738 4.35656 2.31738 9.80224V16.3371C2.31738 21.7828 4.49566 23.961 9.94134 23.961H16.4762Z\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M19.1988 17.9707V8.16851C19.1988 6.97046 18.2186 5.99023 17.0206 5.99023C15.8225 5.99023 14.8423 6.97046 14.8423 8.16851V17.9707C14.8423 19.1688 15.8116 20.149 17.0206 20.149C18.2186 20.149 19.1988 19.1688 19.1988 17.9707Z\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M11.5753 17.9708V14.1588C11.5753 12.9608 10.5951 11.9805 9.39702 11.9805C8.19897 11.9805 7.21875 12.9608 7.21875 14.1588V17.9708C7.21875 19.1688 8.18808 20.1491 9.39702 20.1491C10.5951 20.1491 11.5753 19.1688 11.5753 17.9708Z\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgData);\nexport default __webpack_public_path__ + \"static/media/data.546fe585.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIssues(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 27,\n    height: 27,\n    viewBox: \"0 0 27 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M16.6158 23.961C22.0615 23.961 24.2398 21.7828 24.2398 16.3371V9.80224C24.2398 4.35656 22.0615 2.17828 16.6158 2.17828H10.081C4.63531 2.17828 2.45703 4.35656 2.45703 9.80224V16.3371C2.45703 21.7828 4.63531 23.961 10.081 23.961H16.6158Z\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M8.26221 15.7816L10.8544 12.4162C11.2247 11.937 11.9108 11.8498 12.39 12.2202L14.3832 13.7885C14.8624 14.1588 15.5485 14.0717 15.9188 13.6034L18.4347 10.3577\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIssues);\nexport default __webpack_public_path__ + \"static/media/issues.c0d4d908.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCloud(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 27,\n    height: 27,\n    viewBox: \"0 0 27 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M8.33583 14.1697C7.75859 13.8756 7.116 13.7231 6.46252 13.7231C1.36536 14.0825 1.36536 21.4996 6.46252 21.859H18.541C20.0114 21.8699 21.4273 21.3253 22.5055 20.3342C26.0888 17.2084 24.1719 10.924 19.4559 10.325C17.7569 0.119805 3.02085 3.99713 6.51698 13.7231\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M17.6807 10.8043C18.247 10.5211 18.8678 10.3686 19.4995 10.3577\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCloud);\nexport default __webpack_public_path__ + \"static/media/cloud.162efb8f.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgReport(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 26,\n    height: 27,\n    viewBox: \"0 0 26 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M6.12339 6.43739C5.59058 6.86807 5.14957 7.66592 5.14957 9.26041V19.6906C5.14957 21.131 5.57938 21.9501 6.13913 22.4264C6.7212 22.9217 7.58468 23.1674 8.67814 23.1674H17.3639C18.4573 23.1674 19.3208 22.9217 19.9029 22.4264C20.4626 21.9501 20.8924 21.131 20.8924 19.6906V9.26041C20.8924 7.66592 20.4514 6.86807 19.9186 6.43739C19.4759 6.07951 18.8586 5.88168 18.0674 5.81236C17.6949 7.18046 16.4254 8.19064 14.921 8.19064H11.121C10.2229 8.19064 9.4103 7.83231 8.81889 7.24959C8.41959 6.85615 8.12412 6.36336 7.9743 5.81238C7.18327 5.88173 6.56608 6.07955 6.12339 6.43739ZM5.09046 5.19679C6.09564 4.38428 7.41502 4.17901 8.67814 4.17901C9.12786 4.17901 9.49242 4.53822 9.49242 4.98134C9.49242 5.423 9.6716 5.82045 9.97047 6.11493C10.2694 6.40942 10.6728 6.58599 11.121 6.58599H14.921C15.8176 6.58599 16.5496 5.86474 16.5496 4.98134C16.5496 4.53822 16.9141 4.17901 17.3639 4.17901C18.627 4.17901 19.9464 4.38428 20.9515 5.19679C21.9903 6.03646 22.521 7.37815 22.521 9.26041V19.6906C22.521 21.4595 21.9791 22.78 20.9673 23.6409C19.9778 24.4828 18.6698 24.772 17.3639 24.772H8.67814C7.37217 24.772 6.06422 24.4828 5.07472 23.6409C4.0629 22.78 3.521 21.4595 3.521 19.6906V9.26041C3.521 7.37815 4.0517 6.03646 5.09046 5.19679Z\",\n    fill: \"#858691\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.121 3.37668C10.2244 3.37668 9.49242 4.09794 9.49242 4.98134C9.49242 5.423 9.6716 5.82045 9.97047 6.11493C10.2694 6.40942 10.6728 6.58599 11.121 6.58599H14.921C15.8176 6.58599 16.5496 5.86474 16.5496 4.98134C16.5496 4.53967 16.3704 4.14222 16.0715 3.84774C15.7726 3.55325 15.3692 3.37668 14.921 3.37668H11.121ZM7.86385 4.98134C7.86385 3.21171 9.32499 1.77203 11.121 1.77203H14.921C15.8191 1.77203 16.6317 2.13036 17.2231 2.71308C17.8145 3.29581 18.1781 4.09649 18.1781 4.98134C18.1781 6.75096 16.717 8.19064 14.921 8.19064H11.121C10.2229 8.19064 9.4103 7.83231 8.81889 7.24959C8.22748 6.66686 7.86385 5.86618 7.86385 4.98134Z\",\n    fill: \"#858691\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M7.86385 14.3418C7.86385 13.8987 8.22842 13.5395 8.67814 13.5395H13.021C13.4707 13.5395 13.8353 13.8987 13.8353 14.3418C13.8353 14.7849 13.4707 15.1441 13.021 15.1441H8.67814C8.22842 15.1441 7.86385 14.7849 7.86385 14.3418Z\",\n    fill: \"#858691\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M7.86385 18.6209C7.86385 18.1778 8.22842 17.8185 8.67814 17.8185H17.3639C17.8136 17.8185 18.1781 18.1778 18.1781 18.6209C18.1781 19.064 17.8136 19.4232 17.3639 19.4232H8.67814C8.22842 19.4232 7.86385 19.064 7.86385 18.6209Z\",\n    fill: \"#858691\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgReport);\nexport default __webpack_public_path__ + \"static/media/report.6fe49466.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgAccounts(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 27,\n    height: 27,\n    viewBox: \"0 0 27 27\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M23.0806 15.9232C22.1657 19.855 20.3578 21.4451 16.9596 21.1184C16.4151 21.0748 15.8269 20.9768 15.1952 20.8243L13.3655 20.3886C8.82379 19.3104 7.41881 17.0668 8.48616 12.5142L9.55352 7.9507C9.77134 7.02493 10.0327 6.21897 10.3595 5.5546C11.6338 2.91888 13.8012 2.21095 17.4389 3.07136L19.2577 3.49613C23.8212 4.56348 25.2153 6.81799 24.148 11.3706L23.0806 15.9232Z\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M14.4001 22.2946L12.6793 22.861C8.35542 24.255 6.07913 23.0897 4.67414 18.7658L3.28005 14.4637C1.88595 10.1398 3.04044 7.85264 7.36431 6.45855L9.08515 5.8922C9.53169 5.75061 9.95646 5.63081 10.3594 5.55457C10.0327 6.21894 9.7713 7.0249 9.55348 7.95067L8.48612 12.5142C7.41877 17.0667 8.82375 19.3104 13.3655 20.3886L15.1952 20.8243C15.8269 20.9767 16.415 21.0748 16.9596 21.1183C16.2843 21.5758 15.4348 21.957 14.4001 22.2946Z\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M14.3237 9.29034L19.606 10.63\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M13.2568 13.5053L16.4153 14.3113\",\n    stroke: \"#9C9EA6\",\n    strokeWidth: 1.63371,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAccounts);\nexport default __webpack_public_path__ + \"static/media/accounts.0802aeb0.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgIntegrations(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 26,\n    height: 26,\n    viewBox: \"0 0 26 26\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M17.4676 13.0969C17.6665 13.0969 17.8573 13.1759 17.9979 13.3165L23.334 18.6526C24.7771 19.9972 24.7417 22.2918 23.3439 23.6896C21.9301 25.1035 19.7307 25.1035 18.3169 23.6896L12.9709 18.3436C12.8302 18.203 12.7512 18.0122 12.7512 17.8133C12.7512 17.6144 12.8302 17.4236 12.9709 17.2829L16.9373 13.3165C17.0779 13.1759 17.2687 13.0969 17.4676 13.0969ZM14.5618 17.8133L19.3775 22.629C20.2056 23.457 21.4552 23.457 22.2833 22.629C23.1236 21.7886 23.0918 20.4704 22.3049 19.744C22.2975 19.7372 22.2903 19.7303 22.2833 19.7232L17.4676 14.9075L14.5618 17.8133Z\",\n    fill: \"#858691\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M3.6496 1.3399C3.89064 1.09082 4.27097 1.03936 4.56954 1.21544L7.93235 3.19864C8.04171 3.26313 8.1329 3.35432 8.19739 3.46368L10.1322 6.74448L17.3941 14.0064C17.5348 14.147 17.6138 14.3378 17.6138 14.5367C17.6138 14.7356 17.5348 14.9264 17.3941 15.067L14.7211 17.74C14.4282 18.0329 13.9533 18.0329 13.6604 17.74L6.39547 10.4751L3.19661 8.53891C3.09049 8.47468 3.00196 8.38513 2.93894 8.27828L0.955744 4.91546C0.784318 4.62478 0.828138 4.25541 1.06282 4.01291L3.6496 1.3399ZM4.31656 2.80767L2.53798 4.64554L4.13499 7.35352L7.24991 9.23886C7.30154 9.27011 7.34921 9.30748 7.39189 9.35016L14.1908 16.149L15.8031 14.5367L9.00423 7.73781C8.95953 7.6931 8.92065 7.64293 8.88854 7.58847L7.00366 4.39237L4.31656 2.80767Z\",\n    fill: \"#858691\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M15.3764 2.37441C16.9131 0.743163 19.2265 0.471366 21.0894 1.15771C21.3294 1.24613 21.5078 1.45076 21.5627 1.70057C21.6176 1.95039 21.5413 2.21094 21.3605 2.3918L19.4189 4.33341L19.7241 5.5543L20.945 5.85953L22.8866 3.91792C23.0675 3.73706 23.328 3.66084 23.5778 3.71571C23.8276 3.77058 24.0323 3.94897 24.1207 4.18897C24.8163 6.07695 24.4298 8.36902 22.9211 9.8849C21.5105 11.3823 19.4453 11.7342 17.6749 11.2509L15.6696 13.2563L14.6089 12.1956L16.937 9.86751C17.1439 9.66066 17.4521 9.59295 17.7266 9.69409C19.1369 10.2137 20.7849 9.97033 21.8351 8.85017C21.8406 8.84429 21.8462 8.8385 21.8519 8.8328C22.61 8.07467 22.9821 7.01674 22.9538 5.97205L21.7054 7.22045C21.5191 7.40674 21.2487 7.48163 20.9932 7.41773L18.9237 6.90038C18.655 6.8332 18.4452 6.62338 18.378 6.35467L17.8607 4.28525C17.7968 4.02966 17.8717 3.7593 18.0579 3.57301L19.3217 2.30928C18.2666 2.25663 17.2121 2.60944 16.4624 3.40914C16.4569 3.41502 16.4513 3.42081 16.4456 3.42651C15.3746 4.49749 15.074 6.16673 15.5843 7.55178C15.6854 7.82628 15.6177 8.13454 15.4109 8.34139L13.0828 10.6695L12.0221 9.60884L14.0286 7.60236C13.5515 5.81471 13.9904 3.76701 15.3764 2.37441Z\",\n    fill: \"#858691\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M7.60257 14.0284L9.26301 12.368L10.3237 13.4287L8.34047 15.4119C8.13362 15.6187 7.82536 15.6864 7.55086 15.5853C6.14056 15.0657 4.49255 15.309 3.44241 16.4292C3.4369 16.4351 3.43129 16.4409 3.42559 16.4466C2.66745 17.2047 2.29537 18.2626 2.32369 19.3073L3.57209 18.0589C3.75838 17.8726 4.02874 17.7977 4.28432 17.8616L6.35375 18.379C6.62246 18.4462 6.83227 18.656 6.89945 18.9247L7.41681 20.9941C7.48071 21.2497 7.40582 21.5201 7.21953 21.7064L5.9558 22.9701C7.01091 23.0227 8.06534 22.6699 8.81506 21.8702C8.82057 21.8644 8.82618 21.8586 8.83188 21.8529C9.90286 20.7819 10.2034 19.1126 9.69316 17.7276C9.59203 17.4531 9.65974 17.1448 9.86659 16.938L11.936 14.8686L12.9967 15.9292L11.2489 17.677C11.726 19.4647 11.2871 21.5124 9.90106 22.905C8.36439 24.5362 6.05098 24.808 4.18805 24.1217C3.94805 24.0332 3.76965 23.8286 3.71479 23.5788C3.65992 23.329 3.73614 23.0684 3.917 22.8876L5.8586 20.946L5.55338 19.7251L4.33248 19.4198L2.39088 21.3615C2.21002 21.5423 1.94947 21.6185 1.69965 21.5637C1.44984 21.5088 1.24521 21.3304 1.15679 21.0904C0.461216 19.2024 0.847665 16.9104 2.35639 15.3945C3.76702 13.897 5.83219 13.5452 7.60257 14.0284Z\",\n    fill: \"#858691\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgIntegrations);\nexport default __webpack_public_path__ + \"static/media/integrations.03578b1f.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgPolicy(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 26,\n    height: 26,\n    viewBox: \"0 0 26 26\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M22.75 18.4167C22.75 21.6667 21.125 23.8333 17.3333 23.8333H8.66667C4.875 23.8333 3.25 21.6667 3.25 18.4167V7.58333C3.25 4.33333 4.875 2.16667 8.66667 2.16667H17.3333C21.125 2.16667 22.75 4.33333 22.75 7.58333V18.4167Z\",\n    stroke: \"#858691\",\n    strokeWidth: 1.625,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M15.7085 4.875V7.04167C15.7085 8.23333 16.6835 9.20833 17.8752 9.20833H20.0418\",\n    stroke: \"#858691\",\n    strokeWidth: 1.625,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M8.6665 14.0833H12.9998\",\n    stroke: \"#858691\",\n    strokeWidth: 1.625,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M8.6665 18.4167H17.3332\",\n    stroke: \"#858691\",\n    strokeWidth: 1.625,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgPolicy);\nexport default __webpack_public_path__ + \"static/media/policy.d39023af.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgUserManagement(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 26,\n    height: 26,\n    viewBox: \"0 0 26 26\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M13.4401 15.5014C13.4401 12.6954 10.6486 10.4259 7.21173 10.4259C3.77491 10.4259 0.983398 12.6954 0.983398 15.5014M7.21178 8.25068C5.20956 8.25068 3.58644 6.62756 3.58644 4.62534C3.58644 2.62312 5.20956 1 7.21178 1C9.214 1 10.8371 2.62312 10.8371 4.62534C10.8371 6.62756 9.214 8.25068 7.21178 8.25068ZM17.6428 19.6747C16.5298 19.6747 15.6276 18.7724 15.6276 17.6594C15.6276 16.5465 16.5298 15.6442 17.6428 15.6442C18.7558 15.6442 19.6581 16.5465 19.6581 17.6594C19.6581 18.7724 18.7558 19.6747 17.6428 19.6747ZM10.9253 17.0683C10.9253 16.3696 11.4963 15.7919 12.2017 15.7919C13.4175 15.7919 13.9146 14.9321 13.3033 13.8774C12.954 13.2729 13.1623 12.4869 13.7736 12.1376L14.9357 11.4726C15.4664 11.1568 16.1516 11.3449 16.4673 11.8756L16.5412 12.0033C17.1457 13.0579 18.1399 13.0579 18.7512 12.0033L18.8251 11.8756C19.1408 11.3449 19.826 11.1568 20.3567 11.4726L21.5189 12.1376C22.1301 12.4869 22.3384 13.2729 21.9891 13.8774C21.3778 14.9321 21.8749 15.7919 23.0907 15.7919C23.7894 15.7919 24.3671 16.3629 24.3671 17.0683V18.2505C24.3671 18.9492 23.7961 19.5269 23.0907 19.5269C21.8749 19.5269 21.3778 20.3867 21.9891 21.4414C22.3384 22.0527 22.1301 22.8319 21.5189 23.1812L20.3567 23.8462C19.826 24.162 19.1408 23.9739 18.8251 23.4432L18.7512 23.3156C18.1467 22.2609 17.1525 22.2609 16.5412 23.3156L16.4673 23.4432C16.1516 23.9739 15.4664 24.162 14.9357 23.8462L13.7736 23.1812C13.1623 22.8319 12.954 22.0459 13.3033 21.4414C13.9146 20.3867 13.4175 19.5269 12.2017 19.5269C11.4963 19.5269 10.9253 18.9492 10.9253 18.2505V17.0683Z\",\n    stroke: \"#858691\",\n    strokeWidth: 1.5,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgUserManagement);\nexport default __webpack_public_path__ + \"static/media/user_management.34f14142.svg\";\nexport { ForwardRef as ReactComponent };","var _circle, _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgLeftCircleArrow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 30,\n    height: 30,\n    viewBox: \"0 0 30 30\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 15,\n    cy: 15,\n    r: 15,\n    transform: \"rotate(-180 15 15)\",\n    fill: \"#282357\"\n  })), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_4554_13461)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M18.2281 9.20571C18.4956 9.47999 18.4956 9.92469 18.2281 10.199L13.9748 14.5602C13.7399 14.8009 13.7399 15.1991 13.9748 15.4398L18.2281 19.801C18.4956 20.0753 18.4956 20.52 18.2281 20.7943C17.9606 21.0686 17.5269 21.0686 17.2594 20.7943L13.0061 16.4331C12.2363 15.6438 12.2363 14.3562 13.0061 13.5669L17.2594 9.20571C17.5269 8.93143 17.9606 8.93143 18.2281 9.20571Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_4554_13461\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 12,\n    height: 12,\n    fill: \"white\",\n    transform: \"translate(9 21) rotate(-90)\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLeftCircleArrow);\nexport default __webpack_public_path__ + \"static/media/left-circle-arrow.da2e8f52.svg\";\nexport { ForwardRef as ReactComponent };","var _circle, _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgRightCircleArrow(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 30,\n    height: 30,\n    viewBox: \"0 0 30 30\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 15,\n    cy: 15,\n    r: 15,\n    fill: \"#282357\"\n  })), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n    clipPath: \"url(#clip0_4554_13457)\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    fillRule: \"evenodd\",\n    clipRule: \"evenodd\",\n    d: \"M11.7719 20.7943C11.5044 20.52 11.5044 20.0753 11.7719 19.801L16.0252 15.4398C16.2601 15.1991 16.2601 14.8009 16.0252 14.5602L11.7719 10.199C11.5044 9.92469 11.5044 9.47999 11.7719 9.20571C12.0394 8.93143 12.4731 8.93143 12.7406 9.20571L16.9939 13.5669C17.7637 14.3562 17.7637 15.6438 16.9939 16.4331L12.7406 20.7943C12.4731 21.0686 12.0394 21.0686 11.7719 20.7943Z\",\n    fill: \"white\"\n  }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n    id: \"clip0_4554_13457\"\n  }, /*#__PURE__*/React.createElement(\"rect\", {\n    width: 12,\n    height: 12,\n    fill: \"white\",\n    transform: \"translate(21 9) rotate(90)\"\n  })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgRightCircleArrow);\nexport default __webpack_public_path__ + \"static/media/right-circle-arrow.d165a86a.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgArrowUp(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 12,\n    height: 7,\n    viewBox: \"0 0 12 7\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10.6204 1.2207L6.81704 5.02404C6.36787 5.4732 5.63287 5.4732 5.1837 5.02404L1.38037 1.2207\",\n    stroke: \"#3F4252\",\n    strokeWidth: 1.5,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowUp);\nexport default __webpack_public_path__ + \"static/media/arrow-up.d7fe9f23.svg\";\nexport { ForwardRef as ReactComponent };","import { useEffect, useState } from \"react\";\n// import Logo from \"../../assets/img/new-theme/logo.svg\";\nimport Logo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport { ReactComponent as DaxaTitle } from \"../../assets/img/daxa-assets/daxa-title.svg\";\nimport { Link } from \"react-router-dom\";\nimport { useSelector } from \"react-redux\";\nimport \"./Sidebar.scss\";\nimport { ReactComponent as Home } from \"../../assets/img/new-theme/sidebar/home.svg\";\nimport { ReactComponent as Data } from \"../../assets/img/new-theme/sidebar/data.svg\";\nimport { ReactComponent as Issues } from \"../../assets/img/new-theme/sidebar/issues.svg\";\nimport { ReactComponent as Cloud } from \"../../assets/img/new-theme/sidebar/cloud.svg\";\nimport { ReactComponent as Reports } from \"../../assets/img/new-theme/sidebar/report.svg\";\nimport { ReactComponent as Accounts } from \"../../assets/img/new-theme/sidebar/accounts.svg\";\nimport { ReactComponent as Integrations } from \"../../assets/img/new-theme/sidebar/integrations.svg\";\nimport { ReactComponent as Policy } from \"../../assets/img/new-theme/sidebar/policy.svg\";\nimport { ReactComponent as UserManagement } from \"../../assets/img/new-theme/sidebar/user_management.svg\";\nimport { ReactComponent as LeftArrowIcon } from \"../../assets/img/new-theme/left-circle-arrow.svg\";\nimport { ReactComponent as RightArrowIcon } from \"../../assets/img/new-theme/right-circle-arrow.svg\";\nimport {\n  expandSidebar,\n  minimizeSidebar,\n} from \"../../redux/slices/dashboardSlice\";\nimport Popup from \"reactjs-popup\";\nimport \"reactjs-popup/dist/index.css\";\nimport { useLocation } from \"react-router-dom\";\nimport CustomTooltip from \"../custom-tooltip/CustomTooltip\";\nimport { useDispatch } from \"react-redux\";\nimport Box from \"../common/Box\";\nconst Sidebar = ({\n  setTab,\n  expandedSidebar,\n  setExpandedSidebar,\n  tab,\n  path,\n  setPath,\n}) => {\n  const [admin, setAdmin] = useState(false);\n  const location = useLocation();\n  const accountsAvailable = useSelector(\n    (state) => state.account.accountAvailable\n  );\n  const dispatch = useDispatch();\n\n  const firstAccountStatus = useSelector(\n    (state) => state.dashboard.firstAccountStatus\n  );\n\n  const toggleSidebar = () => {\n    if (expandedSidebar) {\n      dispatch(minimizeSidebar());\n    } else {\n      dispatch(expandSidebar());\n    }\n  };\n\n  const riskStatCompleted =\n    firstAccountStatus && firstAccountStatus.first_acct_risk_complete;\n\n  // useEffect(() => {\n  //   if (path === \"/checklist\") {\n  //     setTab(3);\n  //   } else if (\n  //     path.includes(\"settings\") &&\n  //     localStorage.getItem(\"role\") === \"ADMIN\"\n  //   ) {\n  //     setAdmin(true);\n  //   } else {\n  //     setAdmin(false);\n  //   }\n  // }, [path]);\n\n  // useEffect(() => {\n  //   console.log(expandedSidebar);\n  // }, [expandedSidebar]);\n\n  return (\n    <div\n      id=\"cd-sidebar\"\n      className={`${\n        expandedSidebar ? \"expanded-sidebar\" : \"collapsed-sidebar\"\n      }`}\n    >\n      <div className=\"d-flex flex-column justify-content-between h-100\">\n        <div className={`${expandedSidebar ? \"cd-logo\" : \"cd-logo\"} px-4`}>\n          <Link to={accountsAvailable ? \"/\" : \"#\"}>\n            <div className=\"d-flex align-items-center\">\n              <div>\n                <img src={Logo} alt=\"Logo\" height={32} />\n              </div>\n\n              <div\n                className={`ml-3 daxa-logo-title ${\n                  expandedSidebar ? \"visible\" : \"hidden\"\n                }`}\n              >\n                <DaxaTitle className=\"w-16\" height=\"100%\" />\n              </div>\n            </div>\n          </Link>\n        </div>\n        <div className=\"position-relative d-flex flex-column justify-content-between h-100 px-3\">\n          <Box\n            className={`position-absolute arrow-icon ${\n              expandedSidebar ? \"right-aligned\" : \"centered\"\n            }`}\n          >\n            {expandedSidebar ? (\n              <LeftArrowIcon\n                className=\"cursor-pointer \"\n                onClick={() => toggleSidebar()}\n              />\n            ) : (\n              <RightArrowIcon\n                className=\"cursor-pointer\"\n                onClick={() => toggleSidebar()}\n              />\n            )}\n          </Box>\n          <div className=\"sidebar-menu-container\">\n            <CustomTooltip\n              component={\n                <Link to=\"/\">\n                  <div\n                    className={`d-flex mt-5 align-items-center sidebar-menuItem ${\n                      location.pathname === \"/\"\n                        ? expandedSidebar\n                          ? \"sidebar-menu-selected-extended\"\n                          : \"sidebar-menu-selected\"\n                        : expandedSidebar\n                        ? \"sidebar-menu-extended\"\n                        : \"sidebar-menu\"\n                    }`}\n                  >\n                    <Home className=\"flex-shrink-0\" />\n                    <span className=\"sidebar-menu-title ml-3\">Home</span>\n                  </div>\n                </Link>\n              }\n              tooltipTitle=\"Home\"\n            />\n\n            <CustomTooltip\n              component={\n                <Link to=\"/settings/policy-settings\">\n                  <div\n                    className={`d-flex align-items-center sidebar-menuItem ${\n                      location.pathname === \"/settings/policy-settings\"\n                        ? expandedSidebar\n                          ? \"sidebar-menu-selected-extended\"\n                          : \"sidebar-menu-selected\"\n                        : expandedSidebar\n                        ? \"sidebar-menu-extended\"\n                        : \"sidebar-menu\"\n                    }`}\n                  >\n                    <Policy className=\"flex-shrink-0\" />\n                    <span className=\"sidebar-menu-title ml-3\">Policy</span>\n                  </div>\n                </Link>\n              }\n              tooltipTitle=\"Policy Settings\"\n            />\n\n            <CustomTooltip\n              component={\n                <Link to=\"/settings/integrations\">\n                  <div\n                    className={`d-flex align-items-center sidebar-menuItem ${\n                      location.pathname === \"/settings/integrations\"\n                        ? expandedSidebar\n                          ? \"sidebar-menu-selected-extended\"\n                          : \"sidebar-menu-selected\"\n                        : expandedSidebar\n                        ? \"sidebar-menu-extended\"\n                        : \"sidebar-menu\"\n                    }`}\n                  >\n                    <Integrations className=\"flex-shrink-0\" />\n                    <span className=\"sidebar-menu-title ml-3\">\n                      Integrations\n                    </span>\n                  </div>\n                </Link>\n              }\n              tooltipTitle=\"Integrations\"\n            />\n            <CustomTooltip\n              component={\n                <Link to=\"/settings/admin\">\n                  <div\n                    className={`d-flex align-items-center sidebar-menuItem ${\n                      location.pathname === \"/settings/admin\"\n                        ? expandedSidebar\n                          ? \"sidebar-menu-selected-extended\"\n                          : \"sidebar-menu-selected\"\n                        : expandedSidebar\n                        ? \"sidebar-menu-extended\"\n                        : \"sidebar-menu\"\n                    }`}\n                  >\n                    <UserManagement className=\"flex-shrink-0\" />\n                    <span className=\"sidebar-menu-title ml-3\">Users</span>\n                  </div>\n                </Link>\n              }\n              tooltipTitle=\" User Management\"\n            />\n          </div>\n        </div>\n\n        <div className=\"\"></div>\n      </div>\n    </div>\n  );\n};\n\nexport default Sidebar;\n","import \"./report.scss\";\nimport LoginPageLogo from \"../../assets/img/daxa-assets/daxa-icon.svg\";\nimport LoginPageTitle from \"../../assets/img/daxa-assets/daxa-title.svg\";\n\nconst ReportDoc = () => {\n  return (\n    <div className=\"report-page\">\n      <div>\n        <center>\n          <div className=\"logo-container mb-5\">\n            <div>\n              <img\n                src={LoginPageLogo}\n                alt=\"\"\n                className=\"login-from-logo\"\n                height={48}\n              />\n            </div>\n            <div>\n              <img\n                src={LoginPageTitle}\n                alt=\"\"\n                className=\"login-from-logo\"\n                width={88}\n              />\n            </div>\n          </div>\n        </center>\n        <h1 className=\"font-weight-bold text-white text-center\">\n          Cloud Data Risk Report\n        </h1>\n        <h5 className=\"font-weight-bold text-center\">Date : Jan 31,2023</h5>\n      </div>\n    </div>\n  );\n};\n\nexport default ReportDoc;\n","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgArrowDown(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 12,\n    height: 7,\n    viewBox: \"0 0 12 7\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M1.37963 5.7793L5.18296 1.97596C5.63213 1.5268 6.36713 1.5268 6.8163 1.97596L10.6196 5.7793\",\n    stroke: \"#3F4252\",\n    strokeWidth: 1.5,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowDown);\nexport default __webpack_public_path__ + \"static/media/arrow-down.28289631.svg\";\nexport { ForwardRef as ReactComponent };","import \"./style.scss\";\nimport Box from \"../../common/Box\";\nimport { CopyBlock, dracula } from \"react-code-blocks\";\nimport { ReactComponent as ArrowDownIcon } from \"../../../assets/img/arrow-up.svg\";\nimport { ReactComponent as ArrowUpIcon } from \"../../../assets/img/arrow-down.svg\";\nimport { useState } from \"react\";\nimport ReactTooltip from 'react-tooltip';\nimport { ThemeProvider } from 'styled-components';\nimport documentLoadingStep from \"./documentLoadingSteps.json\"\n\nconst ORDERED_LIST = \"OL\";\n\nconst Accordions = ({ data, title }) => {\n  const [accordions, setAccordions] = useState(data);\n  const [tooltip, setTooltip] = useState('');\n\n  const handleToggle = (index) => {\n    let newArr = [...accordions];\n    newArr[index].open = !newArr[index].open;\n    setAccordions(newArr);\n  };\n\n  const handleCopy = () => {\n  console.log(\"Copied !!\");\n    setTooltip('Code copied!');\n    setTimeout(() => {\n      setTooltip('');\n    }, 5000);\n  };\n  const customTheme ={\n    styles:[\n    {\n        types: [\"token\"],\n            style:{\n                color:\"rgb(80, 161, 79)\"\n            }\n    }]\n  }\n  return (\n    <div>\n      <h5 className=\"accordion-title\">{title}</h5>\n      <div className=\"accordions\">\n        {accordions.map((accordion, index) => (\n          <div className=\"accordion\" key={index}>\n            <h6 onClick={() => handleToggle(index)}>\n              {accordion.title}\n              <p className=\"float-right\">\n                {accordion.open ? <ArrowDownIcon /> : <ArrowUpIcon />}\n              </p>\n            </h6>\n            <div className={accordion.open ? \"show\" : \"hide\"}>\n              <div className=\"content\">{accordion.description}</div>\n              {accordion?.answer &&\n                (accordion?.answer?.listType == ORDERED_LIST ? (\n                  <ol>\n                    {accordion?.answer?.list?.map((item) => (\n                      <li key={item}>{item}</li>\n                    ))}\n                  </ol>\n                ) : (\n                  <ul style={{ listStyle: \"inside\" }}>\n                    {accordion?.answer?.list?.map((item) => (\n                      <li key={item}>{item}</li>\n                    ))}\n                  </ul>\n                ))}\n                {documentLoadingStep?.steps?.map((item, index) => (\n                    <div>\n                        {item?.step ? (\n                            <div style= {{margin: \"10px\"}}>{item.step}</div>\n                        ) : null }\n                        {item?.code ? (\n                            <div>\n                                <div data-tip={tooltip}>\n                                    <Box className=\"helpCodeBlock\">\n                                        <ThemeProvider theme={dracula}>\n                                            <CopyBlock\n                                                language={\"python\"}\n                                                text={item?.code || \"\"}\n                                                showLineNumbers={false}\n                                                onCopy={handleCopy}\n                                                theme={customTheme}\n                                                codeBlock\n                                            />\n                                        </ThemeProvider>\n                                    </Box>\n                                </div>\n                                <ReactTooltip place=\"top\" type=\"light\" effect=\"solid\" />\n                            </div>\n                        ) : null}\n                    </div>\n                ))}\n            </div>\n          </div>\n        ))}\n      </div>\n    </div>\n  );\n};\n\nexport default Accordions;\n","import \"./style.scss\";\nimport { ReactComponent as DeleteIcon } from \"../../../assets/img/close-icon.svg\";\nimport Accordions from \"./accordions\";\nimport { useState } from \"react\";\n\nconst EmbededUiModal = ({ handleModal }) => {\n  const [accordions, setAccordions] = useState([\n    {\n      title: \"Dashboard\",\n      data: [\n        {\n          open: false,\n          title: \"What is a Framework?\",\n          description:\n            \"Framework is nothing but the Rag samples deployed by client \",\n        },\n        {\n          open: false,\n          title: \"What is Policy and Policy Category?\",\n          description:\n            \"A policy is a set of principles, rules, or guidelines adopted. A policy category is a classification that groups similar types of policies together based on their purpose, subject matter, or the area they govern.\",\n        },\n        {\n          open: false,\n          title: \"What is a Geo Location Tag?\",\n          description:\n            \"Geo Location Tag is assigned to a data store to indicate the data is restricted to a certain geography. For example, the tag can be used when the data must remain within certain geography for regulatory compliance. Multiple custom tags can be assigned to a data store.\",\n        },\n        {\n          open: false,\n          title: \"How does prompt session summary works?\",\n          description: \"TBD\",\n        },\n      ],\n    },\n    {\n      title: \"Application Details\",\n      data: [\n        {\n          open: false,\n          title: \"What does overview page contain?\",\n          description:\n            \"Overview page described the framework details, Instance details, Database details and Loader Types with respective details\",\n        },\n      ],\n    },\n    {\n      title: \"Data Source\",\n      data: [\n        {\n          open: false,\n          title: \"What is data source?\",\n          description:\n            \"By simple,data source refers data is obtained, collected, or retrieved for analysis, processing, and use in various applications. Similarly Daxa collects the data and process the data with different files loaded, where those data are classifiied into different restricted datas(topics and entites).\",\n        },\n        {\n          open: false,\n          title: \"What does data sources do?\",\n          description:\n            \"Data source contains the file with restricted data, source file and its paths. Also the datas are separated into different small snippets which goes through different policy validations(Findings) defined under policy sections.\",\n        },\n        {\n          open: false,\n          title:\n            \"What kind of policy validation(Findings, Topics and Entities) data source pass through?\",\n          description: \"TBD\",\n        },\n      ],\n    },\n    {\n      title: \"Prompt Session\",\n      data: [\n        {\n          open: false,\n          title: \"What is Prompt session?\",\n          description:\n            \"A 'prompt session' in the context of using large language models (LLMs) involves a series of interactions where a user inputs prompts (questions, commands, or statements) and the model generates responses based on those inputs\",\n        },\n        {\n          open: false,\n          title: \"How does Prompt session works?\",\n          description:\n            \"Prompt session works by defined policies, the prompts, the context and the response are returned with violations or restricted messages. Also these are classified with respective violations and are plotted for better user visibility.\",\n        },\n      ],\n    },\n    {\n      title: \"Policy Violation\",\n      data: [\n        {\n          open: false,\n          title: \"What is Policy Violations?\",\n          description:\n            \"A policy violation occurs when a user or an application attempts to bypass a pre-defined guardrail. For example, a malicious user may try to exfiltrate sensitive data from a data store to an external entity.\",\n        },\n      ],\n    },\n    {\n      title: \"Policy\",\n      data: [\n        {\n          open: false,\n          title: \"What is a Policy?\",\n          description:\n            \"A policy is a guardrail defined by the security team to restrict cloud assets and data in one or more ways. For example, a policy can be defined to enforce encryption enabled on every data store or that data cannot travel outside of a certain region for regulatory compliance.\",\n        },\n        {\n          open: false,\n          title: \"What are my default Policies?\",\n          description: \"TBD.\",\n        },\n        {\n          open: false,\n          title: \"What is a Policy Violation?\",\n          description:\n            \"A policy violation occurs when a user or an application attempts to bypass a pre-defined guardrail. For example, a malicious user may try to exfiltrate sensitive data from a data store to an external entity.\",\n        },\n      ],\n    },\n    {\n      title: \"Integration\",\n      data: [\n        {\n          open: false,\n          title: \"How do I integrate Daxa with?\",\n          description: \"TBD\",\n        },\n      ],\n    },\n    {\n      title: \"SafeLoader\",\n      data: [\n        {\n          open: false,\n          title: \"What is SafeLoader?\",\n          description:\n            \"This describes how to augment your existing Langchain DocumentLoader with Daxa Safe DataLoader to get deep data visibility on the types of Topics and Entities ingested into the Gen-AI Langchain application.\",\n        },\n        {\n          open: false,\n          title: \"What LangChain Loaders are supported by SafeLoader?\",\n          description: \"Below Loaders are supported\",\n          answer: {\n            listType: \"UL\",\n            list: [\n              \"DirectoryLoader\",\n              \"JSONLoader\",\n              \"CSVLoader\",\n              \"DataFrameLoader\",\n              \"S3FileLoader\",\n              \"S3DirLoader\",\n              \"UnstructuredMarkdownLoader\",\n              \"UnstructuredPDFLoader\",\n              \"UnstructuredFileLoader\",\n              \"UnstructuredAPIFileLoader\",\n              \"UnstructuredExcelLoader\",\n              \"AmazonTextractPDFLoader\",\n              \"GCSFileLoader\",\n              \"GoogleDriveLoader\",\n              \"PyPDFDirectoryLoader\",\n              \"PyPDFLoader\",\n            ],\n          },\n        },\n        {\n          open: false,\n          title: \"How SafeLoader works?\",\n          description:\"\",\n            answer: {\n            listType: \"UL\",\n            list: [\n              \"Safeloader enables safe data ingestion for Langchain document loader. This is done by wrapping the document loader call with Safe Loader\",\n              \"A data report with all the findings, both Topics and Entities, will be generated and available for inspection\",\n            ],\n          },\n        },\n        {\n          open: false,\n          title: \"How to enable document loading?\",\n        },\n      ],\n    },\n    {\n      title: \"SafeRetriever\",\n      data: [\n        {\n          open: false,\n          title: \"What is SafeRetriever?\",\n          description: \"\",\n          answer: {\n            listType: \"UL\",\n            list: [\n              \"In LangChain, the SafeRetriever is a component designed to enhance the safety and reliability of document retrieval in language model applications. It functions as a wrapper around other retrievers, adding an extra layer of checks to ensure that the retrieved content adheres to specific safety or policy guidelines. This can be particularly useful in applications where it's critical to filter out potentially harmful, inappropriate, or irrelevant content before it reaches the user.\",\n              \"The SafeRetriever operates by incorporating custom filtering logic that screens retrieved documents for content that might be deemed unsafe or non-compliant with predefined standards. This filtering can be based on various criteria, such as keywords, metadata, or more sophisticated content analysis methods using machine learning models.\",\n              \"This approach helps ensure that only suitable and relevant documents are passed on to the language model for further processing or to the end user directly, thereby improving the overall trustworthiness and user experience of applications built with LangChain.\",\n            ],\n          },\n        },\n        {\n          open: false,\n          title: \"How SafeRetriever works?\",\n          description: \"Testing\",\n        },\n        {\n          open: false,\n          title: \"What kind of vector databases are supported by Safe Retrieval Chain?\",\n          description: \"\",\n          answer: {\n            listType: \"UL\",\n            list: [\n              \"Qdrant\",\n              \"Pinecone\",\n            ],\n          },\n        },\n        {\n          open: false,\n          title: \"How to retrieve documents with Identity and Semantic enforcement using Safe Retrieval?\",\n          description:\n            \"Retrieval chain uses a SafeRetrieval to enforce that the snippets used for in-context are retrieved only from the documents authorized for the user. To achieve this, the Gen-AI application needs to provide an authorization context for this retrieval chain. This 'auth_context' should be filled with the identity and authorization groups of the user accessing the Gen-AI app.\",\n          answer: {\n            listType: \"OL\",\n            list: [\n              \"Loading Documents with Authorization metadata - See supported loader specific documentation for exact input field (typically load_auth=True)\",\n              \"Using supported Vector database - Pick one from the supported Vector database\",\n              \"Initializing Retrieval Chain - After loading the documents, the Retrieval chain is initialized. This chain uses the retriever ( created from the vector database) and an LLM.\",\n              \"The 'ask' Function - This function accepts a question and an auth_context as input and returns the answer using the Retrieval chain where the auth_context contains the identity and authorization groups of the user accessing the application\",\n              \"Posing Questions - The system retrieves answers based on the authorization metadata in the documents and the auth_context provided in the 'ask' function\",\n            ],\n          },\n        },\n        ],\n     },\n    {\n      title: \"Accounts\",\n      data: [\n        {\n          open: false,\n          title: \"How do I add my Accounts?\",\n          description:\n            \"In order to ensure secure onboarding, each AWS cloud account in your organization is added individually as follows:\",\n          answer: {\n            listType: \"OL\",\n            list: [\n              \"Select the “Accounts” tab.\",\n              \"Click on “Add New Account”.\",\n              \"Select the “Type of account” e.g. AWS, Azure, GCP.\",\n              \"Select “Next: Account Info” and gather your root account information.\",\n              \"Enter your 12-digit root “Account Id”.\",\n              \"Next, enter a brief “Account Description”.\",\n              \"Skip the “External Id”.\",\n              \"Select the “Region” where the account resides e.g. us-east-1.\",\n              \"Click on “Launch Stack” to generate Role ARN in your AWS account.\",\n              \"A separate window will appear to launch the CFN stack in your account.\",\n              \"After around 10-15min, the CFN process will complete and generate a Role ARN.\",\n              \"Copy the Role ARN link from the AWS account and paste in the “Role ARN” field here.\",\n              \"Once a valid Role ARN is entered, click on “Add Account”.\",\n              \"The account will now show up on the Accounts page and start gathering cloud resources.\",\n            ],\n          },\n        },\n      ],\n    },\n  ]);\n\n  return (\n    <div\n      className=\"new-modal modal embeded-modal fade show\"\n      id=\"exampleModalLong\"\n      tabIndex={-1}\n      role=\"dialog\"\n      aria-labelledby=\"exampleModalLongTitle\"\n      style={{\n        display: \"block\",\n        paddingRight: \"8px\",\n        background: \"rgba(0, 0, 0, 0.5)\",\n      }}\n      aria-modal=\"true\"\n    >\n      <div className=\"modal-dialog modal-lg embeded-ui-modal\" role=\"document\">\n        <div className=\"modal-content\">\n          <div className=\"modal-body mt-2\">\n            <h5 className=\"float-left\">Help</h5>\n            <DeleteIcon\n              className=\"cursor-pointer float-right\"\n              onClick={() => handleModal(false)}\n            />\n\n            <input\n              type=\"text\"\n              placeholder=\"Search\"\n              className=\"form-control accordion-search-form\"\n            />\n\n            {accordions.map((accordion, index) => (\n              <span key={index}>\n                <Accordions\n                  title={accordion.title}\n                  setAccordions={setAccordions}\n                  data={accordion.data}\n                />\n              </span>\n            ))}\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default EmbededUiModal;\n","import \"./style.scss\";\n\nconst Footer = () => {\n  return (\n    <footer>\n      <div className=\"contents\">\n        <div>\n          <h6>Copyright © 2024 Daxa, Inc</h6>\n          <h6>All rights reserved.</h6>\n        </div>\n        <div>\n          <h6>\n            <a\n              href=\"https://www.clouddefense.io/privacy-policy\"\n              target=\"_blank\"\n            >\n              Privacy Policy\n            </a>\n            <a href=\"https://www.clouddefense.io/terms-of-use\" target=\"_blank\">\n              Term of Service\n            </a>\n          </h6>\n        </div>\n        <div>\n          <img\n            src={\n              \"https://uploads-ssl.webflow.com/6368a330c6078773baa83c80/636a5c651c7417e9ef7672d4_soc2.webp\"\n            }\n            className=\"logo\"\n            alt=\"logo\"\n          />\n        </div>\n      </div>\n    </footer>\n  );\n};\n\nexport default Footer;\n","import { useTheme } from \"@mui/material\";\nimport { useState } from \"react\";\nimport Box from \"../common/Box\";\nimport Button from \"../common/Button\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../common/Dialog\";\nimport { TextField } from \"../common/TextField\";\nimport Typography from \"../common/Typography\";\n\nconst GenerateAPIKey = ({ open, onClose, onAdd }) => {\n  const [name, setName] = useState(\"\");\n  const theme = useTheme();\n  const styles = {\n    dialogContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      padding: theme.spacing(2),\n    },\n    description: {\n      paddingRight: theme.spacing(15),\n    },\n    font12: {\n      fontSize: \"12px\",\n    },\n  };\n  return (\n    <Dialog open={open} onClose={onClose}>\n      <DialogTitle handleClose={onClose}>Generate New API Key</DialogTitle>\n      <Box sx={styles.dialogContent}>\n        <Box sx={styles.description}>\n          <Typography color={theme.palette.surface50.main} sx={styles.font12}>\n            Do not share API Keys with others, or expose it in the <br />\n            browser or code.\n          </Typography>\n        </Box>\n        <TextField\n          label=\"Name\"\n          variant=\"standard\"\n          fullWidth\n          placeholder=\"Name\"\n          value={name}\n          onChange={(e) => {\n            setName(e.target.value);\n          }}\n        />\n      </Box>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={onClose}>\n          Cancel\n        </Button>\n        <Button\n          variant=\"contained\"\n          onClick={() => {\n            onAdd({ name });\n            setName(\"\");\n          }}>\n          Generate\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default GenerateAPIKey;\n","import { axiosPrivate } from \"../../utils/ApiHandler\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\n\n/**\n * get all API Keys\n * @returns\n */\nexport const getAPIKeys = () => {\n  return axiosPrivate.get(`/api/v1/apiKey/${getCustomerId()}`);\n};\n\n/**\n * add a new API key\n * @param params\n * @returns\n */\nexport const addAPIKey = (params) => {\n  return axiosPrivate.post(\"/api/v1/apiKey\", params);\n};\n\n/**\n * delete API key\n * @param params\n * @returns\n */\nexport const deleteAPIKey = (params) => {\n  return axiosPrivate.delete(`/api/v1/apiKey/${params}`);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { getAPIKeys, addAPIKey, deleteAPIKey } from \"../apis/apiKeyAPI\";\n\nconst initialState = {};\n\n// Async calls.\nexport const fetchAllAPIKeysSlice = createAsyncThunk(\"apiKey/all\", async () => {\n  const response = await getAPIKeys();\n  return response.data;\n});\n\nexport const addNewAPIKeySlice = createAsyncThunk(\n  \"apiKey/add\",\n  async (params: any) => {\n    const response = await addAPIKey(params);\n    return response.data;\n  }\n);\n\nexport const deleteAPIKeySlice = createAsyncThunk(\n  \"apiKey/delete\",\n  async (params: string) => {\n    const response = await deleteAPIKey(params);\n    console.log({ response });\n    return response.data;\n  }\n);\n\nconst apiKeySlice = createSlice({\n  name: \"apiKey\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: () => {},\n});\n\nexport default apiKeySlice.reducer;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport Button from \"../common/Button\";\nimport { Dialog, DialogActions, DialogTitle } from \"../common/Dialog\";\nimport { TextField } from \"../common/TextField\";\nimport Typography from \"../common/Typography\";\n\nconst RevokeAPI = ({ open, onClose, onDelete }) => {\n  const theme = useTheme();\n  const styles = {\n    dialogContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      padding: theme.spacing(2),\n      paddingRight: theme.spacing(15),\n    },\n  };\n  return (\n    <Dialog open={open} onClose={onClose}>\n      <DialogTitle handleClose={onClose}>Revoke API Key</DialogTitle>\n      <Box sx={styles.dialogContent}>\n        <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n          This API key will be instantly disabled, leading to rejection of API\n          <br />\n          requests made with it. Once revoked, you'll lose access to view <br />\n          or modify this key.\n        </Typography>\n      </Box>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={onClose}>\n          Cancel\n        </Button>\n        <Button variant=\"contained\" color=\"error\" onClick={() => onDelete()}>\n          Revoke\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default RevokeAPI;\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { downloadPackage, getAllPackages } from \"../apis/packageAPI\";\n\nconst initialState = {};\n\nexport const getAllPackagesSlice = createAsyncThunk(\n  \"package/getAll\",\n  async () => {\n    const response = await getAllPackages();\n    return response.data;\n  }\n);\n\nexport const downloadPackageSlice = createAsyncThunk(\n  \"package/download\",\n  async (packageId: string) => {\n    const response = await downloadPackage(packageId);\n    return response.data;\n  }\n);\n\nexport const packageSlice = createSlice({\n  name: \"package\",\n  initialState,\n  reducers: {},\n  extraReducers: () => {},\n});\n\nexport default packageSlice.reducer;\n","import { axiosPrivate } from \"../../utils/ApiHandler\";\n\nexport const getAllPackages = () => {\n  return axiosPrivate.get(\"/api/v1/packageVersions\");\n};\n\nexport const downloadPackage = (packageID) => {\n  return axiosPrivate.get(`/api/v1/downloadFile/${packageID}`, {\n    responseType: \"blob\",\n  });\n};\n","import Close from \"@mui/icons-material/Close\";\nimport { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport { Dialog, DialogContent, DialogTitle } from \"../common/Dialog\";\nimport Typography from \"../common/Typography\";\nimport ContentCopyRoundedIcon from \"@mui/icons-material/ContentCopyRounded\";\nimport TextButton from \"../common/TextButton\";\nimport Snackbar from \"../common/Snackbar\";\nimport { useState } from \"react\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\n\nconst ViewHashes = ({ open, packageInfo, handleClose }) => {\n  const theme = useTheme();\n  const styles = {\n    dialogContent: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    packageName: {\n      fontSize: \"18px\",\n      width: \"80%\",\n    },\n    textBlock: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n      justifyContent: \"space-between\",\n    },\n    hashText: {\n      display: \"flex\",\n      alignItems: \"end\",\n      gap: theme.spacing(3.25),\n    },\n    copyIcon: {\n      cursor: \"pointer\",\n      color: theme.palette.surface80.main,\n    },\n  };\n\n  const copyHash = (copyText) => {\n    navigator.clipboard.writeText(copyText);\n    Toaster(TOASTER_TYPES.SUCCESS, \"Hash Digest copied to clipboard!\");\n  };\n\n  return (\n    <Dialog open={open} onClose={handleClose}>\n      <DialogTitle handleClose={handleClose}>\n        <Typography\n          color={theme.palette.surface80.main}\n          sx={styles.packageName}\n        >\n          {packageInfo?.packageName}\n        </Typography>\n      </DialogTitle>\n      <DialogContent sx={styles.dialogContent}>\n        <Box sx={styles.textBlock}>\n          <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n            Algorithm\n          </Typography>\n          <Typography variant=\"body2\">SHA256</Typography>\n        </Box>\n        <Box sx={styles.textBlock}>\n          <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n            Hash Digest\n          </Typography>\n          <Box sx={styles.hashText}>\n            <Typography variant=\"body2\">\n              {packageInfo?.sha.slice(0, 15)}...\n            </Typography>\n            <TextButton onClick={() => copyHash(packageInfo?.sha)}>\n              <ContentCopyRoundedIcon fontSize=\"small\" sx={styles.copyIcon} />\n            </TextButton>\n          </Box>\n        </Box>\n      </DialogContent>\n    </Dialog>\n  );\n};\n\nexport default ViewHashes;\n","import MUIAccordion, { AccordionProps } from \"@mui/material/Accordion\";\nimport MUIAccordionSummary, {\n  AccordionSummaryProps,\n} from \"@mui/material/AccordionSummary\";\nimport MUIAccordionDetails, {\n  AccordionDetailsProps,\n} from \"@mui/material/AccordionDetails\";\nimport ExpandMoreIcon from \"@mui/icons-material/ExpandMore\";\nimport { useTheme } from \"@mui/material\";\n\ninterface CustomAccordionProps extends AccordionProps {\n  children: JSX.Element[] | JSX.Element;\n  sx?: any;\n}\n\ninterface CustomAccordionSummaryProps extends AccordionSummaryProps {\n  children: JSX.Element;\n  expandIcon?: JSX.Element;\n  sx?: any;\n}\n\ninterface CustomAccordionDetailsProps extends AccordionDetailsProps {\n  children: JSX.Element;\n  sx?: any;\n}\n\nexport function Accordion({ children, sx, ...props }: CustomAccordionProps) {\n  const styles = {\n    accordion: {\n      background: \"none !important\",\n      borderBottom: \"none\",\n      boxShadow: \"none\",\n      width: \"100%\",\n      \"& .MuiAccordionDetails-root\": {\n        padding: \"16px 0px 0px\",\n      },\n    },\n  };\n  return (\n    <MUIAccordion {...props} sx={{ ...styles.accordion, ...sx }}>\n      {children}\n    </MUIAccordion>\n  );\n}\n\nexport function AccordionSummary(\n  {\n    children,\n    expandIcon = <ExpandMoreIcon />,\n    sx,\n  }: CustomAccordionSummaryProps,\n  props\n) {\n  const theme = useTheme();\n  const styles = {\n    accordionSummary: {\n      padding: 0,\n      minHeight: \"auto\",\n      justifyContent: \"start\",\n      \"&.Mui-expanded\": {\n        minHeight: \"auto\",\n        margin: 0,\n      },\n      \"& .MuiAccordionSummary-content\": {\n        margin: 0,\n        flex: \"none\",\n        width: \"fit-content\",\n        \"&.Mui-expanded\": {\n          margin: 0,\n        },\n      },\n      \"& .MuiAccordionSummary-expandIconWrapper\": {\n        \"& .Mui-expanded\": {\n          minHeight: \"auto\",\n        },\n        svg: {\n          color: theme.palette.surface50.main,\n        },\n      },\n    },\n  };\n  return (\n    <MUIAccordionSummary\n      expandIcon={expandIcon}\n      {...props}\n      sx={{ ...styles.accordionSummary, ...sx }}\n    >\n      {children}\n    </MUIAccordionSummary>\n  );\n}\n\nexport function AccordionDetails({\n  children,\n  sx,\n  ...props\n}: CustomAccordionDetailsProps) {\n  return (\n    <MUIAccordionDetails {...props} sx={sx}>\n      {children}\n    </MUIAccordionDetails>\n  );\n}\n","import Box from \"../common/Box\";\nimport Divider from \"../common/Divider\";\nimport TextButton from \"../common/TextButton\";\nimport Typography from \"../common/Typography\";\nimport InsertDriveFileOutlinedIcon from \"@mui/icons-material/InsertDriveFileOutlined\";\nimport DownloadRoundedIcon from \"@mui/icons-material/DownloadRounded\";\nimport { AccordionDetails, useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  getAllPackagesSlice,\n  downloadPackageSlice,\n} from \"../../redux/slices/packageSlice\";\nimport KeyboardArrowUpRoundedIcon from \"@mui/icons-material/KeyboardArrowUpRounded\";\nimport KeyboardArrowDownRoundedIcon from \"@mui/icons-material/KeyboardArrowDownRounded\";\nimport Loader from \"../common/Loader\";\nimport ViewHashes from \"./ViewHashes\";\nimport VisibilityOutlinedIcon from \"@mui/icons-material/VisibilityOutlined\";\nimport { Accordion, AccordionSummary } from \"../common/Accordion\";\nimport { getDateTime } from \"../../utils/commonUtils\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst PackageDetails = ({ packageDetails }) => {\n  const [openViewHashes, setOpenViewHashes] = useState(null);\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const styles = {\n    packageDetails: {},\n    packageName: {\n      display: \"flex\",\n      alignItems: \"top\",\n      gap: theme.spacing(0.5),\n    },\n    packageNameString: {\n      fontSize: \"13px\",\n    },\n    docIcon: {\n      padding: theme.spacing(0.5),\n      borderRadius: theme.spacing(0.5),\n      background: `${theme.palette.surface20.main}90`,\n      height: \"fit-content\",\n      display: \"flex\",\n    },\n    fileIcon: {\n      color: theme.palette.surface80.main,\n      height: theme.spacing(2),\n      width: theme.spacing(2),\n    },\n    packageInfo: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.5),\n      marginTop: theme.spacing(0.5),\n    },\n    info: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    actions: {\n      display: \"flex\",\n      gap: theme.spacing(1.5),\n    },\n  };\n\n  const downloadPackage = async (packageDetails) => {\n    const res = await dispatch(downloadPackageSlice(packageDetails.sha));\n    let fileName = packageDetails.packageName;\n    if (res?.payload) {\n      const url = window.URL.createObjectURL(new Blob([res.payload]));\n      const link = document.createElement(\"a\");\n      link.href = url;\n      link.setAttribute(\"download\", fileName);\n      document.body.appendChild(link);\n      link.click();\n      link?.parentNode?.removeChild(link);\n    }\n  };\n\n  return (\n    <Box>\n      <Box sx={styles.packageName}>\n        <Box sx={styles.docIcon}>\n          <InsertDriveFileOutlinedIcon sx={styles.fileIcon} />\n        </Box>\n        <Box sx={styles.packageInfo}>\n          <Box sx={styles.info}>\n            <Typography\n              color={theme.palette.surface80.main}\n              sx={styles.packageNameString}\n            >\n              {packageDetails?.packageName}\n            </Typography>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              {getDateTime(packageDetails?.uploadedOn)}\n            </Typography>\n          </Box>\n          <Box sx={styles.actions}>\n            <TextButton\n              startIcon={<DownloadRoundedIcon />}\n              size=\"small\"\n              onClick={() => downloadPackage(packageDetails)}\n            >\n              Download\n            </TextButton>\n            <Divider orientation=\"vertical\" flexItem />\n            <TextButton\n              startIcon={<VisibilityOutlinedIcon />}\n              size=\"small\"\n              onClick={() => setOpenViewHashes(packageDetails)}\n            >\n              View Hashes\n            </TextButton>\n          </Box>\n        </Box>\n      </Box>\n      {openViewHashes && (\n        <ViewHashes\n          open={openViewHashes}\n          packageInfo={openViewHashes}\n          handleClose={() => setOpenViewHashes(null)}\n        />\n      )}\n    </Box>\n  );\n};\n\nconst PackageDownload = () => {\n  const [isFetchingPackages, setIsFetchingPackages] = useState(false);\n  const [showOlderPackages, setShowOlderPackages] = useState(false);\n  const [packageList, setPackageList] = useState({ latest: [], previous: [] });\n  const dispatch = useDispatch<AppDispatch>();\n  const theme = useTheme();\n  const styles = {\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n    },\n    packageContainer: {\n      gap: theme.spacing(1.25),\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    packagesList: {\n      gap: theme.spacing(2),\n    },\n    viewHide: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n      width: \"max-content\",\n    },\n    seeMoreText: {\n      color: theme.palette.surface50.main,\n      cursor: \"pointer\",\n    },\n  };\n\n  const getAllPackages = async () => {\n    const res = await dispatch(getAllPackagesSlice());\n    if (res?.payload) {\n      const latest = res.payload.filter(\n        (packageItem) => packageItem.version === \"latest\"\n      );\n      const previous = res.payload.filter(\n        (packageItem) => packageItem.version === \"previous\"\n      );\n      setPackageList({ latest, previous });\n    }\n    setIsFetchingPackages(false);\n  };\n\n  useEffect(() => {\n    setIsFetchingPackages(true);\n    getAllPackages();\n  }, []);\n\n  return (\n    <>\n      {isFetchingPackages ? (\n        <Loader height=\"200px\" />\n      ) : (\n        <Box sx={{ ...styles.flexCol, ...styles.packageContainer }}>\n          <Box sx={{ ...styles.flexCol, ...styles.packagesList }}>\n            <Typography\n              color={theme.palette.surface80.main}\n              variant=\"subtitle2\"\n            >\n              Download Package\n            </Typography>\n            <Box sx={{ ...styles.flexCol, ...styles.packagesList }}>\n              {packageList.latest.map((packageItem) => (\n                <>\n                  <PackageDetails packageDetails={packageItem} />\n                  <Divider orientation=\"horizontal\" />\n                </>\n              ))}\n            </Box>\n          </Box>\n          <Box sx={{ ...styles.flexCol, ...styles.packagesList }}>\n            {/* <TextButton\n              sx={styles.viewHide}\n              onClick={() => {\n                setShowOlderPackages((prevState) => !prevState);\n              }}> */}\n            <Accordion>\n              <AccordionSummary>\n                <Typography variant=\"caption\" sx={styles.seeMoreText}>\n                  See Older Versions\n                </Typography>\n              </AccordionSummary>\n              <AccordionDetails>\n                <Box sx={{ ...styles.flexCol, ...styles.packagesList }}>\n                  {packageList.previous.map((packageItem) => (\n                    <>\n                      <PackageDetails packageDetails={packageItem} />\n                      <Divider orientation=\"horizontal\" />\n                    </>\n                  ))}\n                </Box>\n              </AccordionDetails>\n            </Accordion>\n            {/* {showOlderPackages ? (\n                <KeyboardArrowUpRoundedIcon sx={styles.seeMoreText} />\n              ) : (\n                <KeyboardArrowDownRoundedIcon sx={styles.seeMoreText} />\n              )} */}\n            {/* </TextButton> */}\n            {/* {showOlderPackages && ( */}\n\n            {/* )} */}\n          </Box>\n        </Box>\n      )}\n    </>\n  );\n};\n\nexport default PackageDownload;\n","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCopy(_ref, svgRef) {\n  var title = _ref.title,\n    titleId = _ref.titleId,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    width: 16,\n    height: 16,\n    viewBox: \"0 0 16 16\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    ref: svgRef,\n    \"aria-labelledby\": titleId\n  }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n    id: titleId\n  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M10.334 13.3335H3.66732V4.66683C3.66732 4.30016 3.36732 4.00016 3.00065 4.00016C2.63398 4.00016 2.33398 4.30016 2.33398 4.66683V13.3335C2.33398 14.0668 2.93398 14.6668 3.66732 14.6668H10.334C10.7007 14.6668 11.0007 14.3668 11.0007 14.0002C11.0007 13.6335 10.7007 13.3335 10.334 13.3335ZM13.6673 10.6668V2.66683C13.6673 1.9335 13.0673 1.3335 12.334 1.3335H6.33398C5.60065 1.3335 5.00065 1.9335 5.00065 2.66683V10.6668C5.00065 11.4002 5.60065 12.0002 6.33398 12.0002H12.334C13.0673 12.0002 13.6673 11.4002 13.6673 10.6668ZM12.334 10.6668H6.33398V2.66683H12.334V10.6668Z\",\n    fill: \"#E6E7ED\"\n  })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCopy);\nexport default __webpack_public_path__ + \"static/media/copy.a2598ea0.svg\";\nexport { ForwardRef as ReactComponent };","import MUIPopover, { PopoverProps } from \"@mui/material/Popover\";\nimport Typography from \"./Typography\";\nimport { useTheme } from \"@mui/material\";\n\ninterface CustomPopoverProps extends PopoverProps {\n  handleClose: any;\n  anchorOrigin?: any;\n}\n\nexport const Popover = ({\n  open,\n  anchorEl,\n  handleClose,\n  children,\n  sx,\n  ...props\n}: CustomPopoverProps) => {\n  const theme = useTheme();\n  const styles = {\n    popover: {\n      \".MuiPaper-root\": {\n        background: theme?.palette?.surface80?.main || \"#E6E7ED\",\n        padding: \"12px 16px 20px 16px\",\n        marginTop: \"8px\",\n      },\n      ...sx,\n    },\n  };\n\n  return (\n    <MUIPopover\n      open={open}\n      anchorEl={anchorEl}\n      onClose={handleClose}\n      anchorOrigin={\n        props?.anchorOrigin || {\n          vertical: \"bottom\",\n          horizontal: \"left\",\n        }\n      }\n      sx={styles.popover}\n    >\n      {children}\n    </MUIPopover>\n  );\n};\n","import { IconButton, useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport { Popover } from \"../common/Popover\";\nimport Typography from \"../common/Typography\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport installationData from \"../../mock-data/apiKeyInstallationSteps.json\";\nimport { CopyBlock, dracula } from \"react-code-blocks\";\nimport { ReactComponent as CopyIcon } from \"../../assets/img/copy.svg\";\nimport TextButton from \"../common/TextButton\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\n\nexport const PackageInstallationInfo = ({ open, anchorEl, handleClose }) => {\n  const theme = useTheme();\n  const styles = {\n    popover: {\n      \".MuiPaper-root\": {\n        background: theme.palette.surface10.main,\n        padding: theme.spacing(2.5),\n        display: \"flex\",\n        flexDirection: \"column\",\n        gap: theme.spacing(2),\n        maxHeight: \"100%\",\n      },\n    },\n    popoverBody: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    iconButton: {\n      padding: 0,\n    },\n    key: {\n      fontWeight: 500,\n      flexShrink: 0,\n    },\n    keyValue: {\n      display: \"flex\",\n      gap: theme.spacing(2.5),\n    },\n    popoverHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    valueWithImage: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.5),\n      width: \"100%\",\n    },\n    codeBox: {\n      background: \"#202122\",\n      padding: theme.spacing(1),\n    },\n    instruction: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n  };\n\n  const copyCommand = (command) => {\n    if (command) {\n      navigator.clipboard.writeText(command);\n      Toaster(TOASTER_TYPES.SUCCESS, \"Pip command copied!!\");\n    }\n  };\n\n  return (\n    <Popover\n      open={open}\n      anchorEl={anchorEl}\n      handleClose={handleClose}\n      sx={styles.popover}\n    >\n      <Box sx={styles.popoverHeader}>\n        <Typography variant=\"h6\">Install Instructions</Typography>\n        <IconButton onClick={handleClose} sx={styles.iconButton}>\n          <CloseIcon fontSize=\"small\" />\n        </IconButton>\n      </Box>\n      <Box sx={styles.popoverBody}>\n        {installationData?.steps?.map((item, index) => (\n          <Box sx={styles.keyValue}>\n            <Typography\n              variant=\"caption\"\n              color={theme.palette.surface50.main}\n              sx={styles.key}\n            >\n              Step {index + 1}:\n            </Typography>\n\n            <Box sx={styles.valueWithImage}>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface50.main}>\n                {item?.step}\n              </Typography>\n              {item?.code ? (\n                <Box className=\"codeBlock\">\n                  <CopyBlock\n                    language={\"python\"}\n                    text={item?.code || \"\"}\n                    showLineNumbers={false}\n                    theme={dracula}\n                    codeBlock\n                  />\n                </Box>\n              ) : null}\n            </Box>\n          </Box>\n        ))}\n      </Box>\n    </Popover>\n  );\n};\n","import { IconButton, styled, useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport Box from \"../common/Box\";\nimport Drawer from \"../common/Drawer\";\nimport ChevronLeftIcon from \"@mui/icons-material/ChevronLeft\";\nimport { Dialog, DialogContent } from \"../common/Dialog\";\nimport Typography from \"../common/Typography\";\nimport Button from \"../common/Button\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport GenerateAPIKey from \"./GenerateAPIKey\";\nimport NoSearchIcon from \"../../assets/img/No_Search_illustration.svg\";\nimport {\n  fetchAllAPIKeysSlice,\n  addNewAPIKeySlice,\n  deleteAPIKeySlice,\n} from \"../../redux/slices/apiKeySlice\";\nimport { useDispatch } from \"react-redux\";\nimport { getUserId } from \"../../utils/SessionHelper\";\nimport { getDifferenceInDays, getMMMDDYYYY } from \"../../utils/commonUtils\";\nimport VisibilityOutlinedIcon from \"@mui/icons-material/VisibilityOutlined\";\nimport VisibilityOffOutlinedIcon from \"@mui/icons-material/VisibilityOffOutlined\";\nimport TextButton from \"../common/TextButton\";\nimport Divider from \"../common/Divider\";\nimport EditOutlinedIcon from \"@mui/icons-material/EditOutlined\";\nimport DeleteOutlineOutlinedIcon from \"@mui/icons-material/DeleteOutlineOutlined\";\nimport RevokeAPI from \"./RevokeAPI\";\nimport NoData from \"../common/NoData\";\nimport PackageDownload from \"../packageDownload/PackageDownload\";\nimport Snackbar from \"../common/Snackbar\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport Loader from \"../common/Loader\";\nimport { TextField } from \"../common/TextField\";\nimport Tooltip from \"../common/Tooltip\";\nimport InfoOutlinedIcon from \"@mui/icons-material/InfoOutlined\";\nimport { PackageInstallationInfo } from \"../packageDownload/PackageInstallationInfo\";\nimport HelpOutlineIcon from \"@mui/icons-material/HelpOutline\";\nimport { ReactComponent as CopyIcon } from \"../../assets/img/copy.svg\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst APIConfigDrawer = ({ open, onClose }) => {\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const [apiKeys, setAPIKeys] = useState<\n    Array<{\n      _id: string;\n      name: string;\n      metadata: { createdAt: string };\n      lastUsedAt: string;\n      apiKey: string;\n    }>\n  >([]);\n  const [isFetchingAPIKeys, setIsFetchingAPIKeys] = useState(false);\n  const [isAddKey, setIsAddKey] = useState(false);\n  const [showAPIKey, setShowAPIKey] = useState<Array<string>>([]);\n  const [showDeleteKeyDialog, setShowDeleteKeyDialog] = useState(\"\");\n  const [anchorEl, setAnchorEl] = useState(null);\n  const isPopoverOpen = Boolean(anchorEl);\n\n  const handleClose = (e) => {\n    e.stopPropagation();\n    e.preventDefault();\n    setAnchorEl(null);\n  };\n\n  const openPopover = (e) => {\n    setAnchorEl(e.currentTarget);\n  };\n\n  const styles = {\n    dialog: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      \".MuiPaper-root\": {\n        background: theme.palette.surface0.main,\n      },\n    },\n    dialogHeader: {\n      display: \"flex\",\n      padding: \"20px 20px 0px 8px\",\n      alignItems: \"center\",\n    },\n    backIcon: {\n      color: theme.palette.surface50.main,\n      fontSize: theme.spacing(3),\n      width: theme.spacing(3),\n    },\n    keyHeader: {\n      fontSize: \"13px\",\n    },\n    dialogContent: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      height: \"100%\",\n    },\n    apiListBox: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      width: \"75%\",\n      backgroundColor: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      borderRadius: theme.spacing(0.5),\n      overflow: \"auto\",\n    },\n    apiTableHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    apiHeaderText: {\n      width: \"60%\",\n      height: \"100%\",\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    packageBox: {\n      width: \"25%\",\n      backgroundColor: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      borderRadius: theme.spacing(0.5),\n      overflow: \"auto\",\n    },\n    noDataContainer: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n      height: \"100%\",\n    },\n    apiKeyIcon: {\n      fontSize: theme.typography.body1,\n    },\n    apiKeyIconColor: { color: theme.palette.surface80.main },\n    apiKeyCell: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    key: {\n      minWidth: theme.spacing(36.5),\n      maxWidth: theme.spacing(36.5),\n      wordWrap: \"break-word\",\n    },\n    apiKeyActions: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    tableContainer: {\n      height: \"100%\",\n    },\n    keyTextField: {\n      minWidth: theme.spacing(25),\n      maxWidth: theme.spacing(25),\n      \"& .MuiInputBase-root\": {\n        paddingLeft: theme.spacing(0.5),\n        fontSize: theme.spacing(1.5),\n        \".MuiInputAdornment-root\": {\n          display: \"none\",\n        },\n        \"&:hover\": {\n          \".MuiOutlinedInput-notchedOutline\": {\n            borderColor: \"rgba(255, 255, 255, 0.23)\",\n          },\n        },\n        \"&.Mui-focused\": {\n          \".MuiOutlinedInput-notchedOutline\": {\n            borderColor: \"rgba(255, 255, 255, 0.23)\",\n          },\n        },\n      },\n      input: {\n        padding: theme.spacing(0.5),\n      },\n    },\n    infoIcon: {\n      color: theme.palette.surface40.main,\n      cursor: \"pointer\",\n    },\n    drawerHeading: {\n      display: \"flex\",\n      width: \"100%\",\n      alignItems: \"center\",\n      justifyContent: \"space-between\",\n    },\n  };\n\n  const getAllAPIKeys = async () => {\n    setIsFetchingAPIKeys(true);\n    const res = await dispatch(fetchAllAPIKeysSlice());\n    if (res.payload) {\n      setAPIKeys(res.payload);\n    }\n    setIsFetchingAPIKeys(false);\n  };\n\n  const addAPIKey = async (apiKeyDetails) => {\n    const payload = {\n      ...apiKeyDetails,\n      userId: getUserId(),\n    };\n    const res = await dispatch(addNewAPIKeySlice(payload));\n    if (res.payload) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"API Key Added!\");\n      getAllAPIKeys();\n    }\n  };\n\n  const getAPIKeyString = (apiKey) => {\n    const keyValue = apiKey?.apiKey;\n    if (getAPIKeyVisibilityFlag(apiKey?.name)) {\n      return keyValue;\n    } else {\n      return keyValue.replace(\n        keyValue.substr(3, keyValue.length - 7),\n        keyValue.substr(4, keyValue.length - 7).replace(/./g, \"*\")\n      );\n    }\n  };\n\n  const toggleAPIKeyVisibility = (apiKeyName: string) => {\n    const newState = showAPIKey.includes(apiKeyName)\n      ? showAPIKey.filter((key) => key !== apiKeyName)\n      : [...showAPIKey, apiKeyName];\n    setShowAPIKey(newState);\n  };\n\n  const getAPIKeyVisibilityFlag = (apiKeyName: string) => {\n    return showAPIKey.includes(apiKeyName);\n  };\n\n  const deleteAPIKey = async () => {\n    const res = await dispatch(deleteAPIKeySlice(showDeleteKeyDialog));\n    if (res?.payload) {\n      setShowDeleteKeyDialog(\"\");\n      getAllAPIKeys();\n      Toaster(TOASTER_TYPES.SUCCESS, \"API Key Deleted!\");\n    }\n  };\n\n  useEffect(() => {\n    getAllAPIKeys();\n  }, []);\n\n  const copyAPIKey = (apiKey) => {\n    if (apiKey) {\n      navigator.clipboard.writeText(apiKey);\n      Toaster(TOASTER_TYPES.SUCCESS, \"API Key copied to clipboard!\");\n    }\n  };\n\n  const infoDescription =\n    \"Your secret API Keys are listed below. Do not share API Keys with others, or expose it in the browser or code.\";\n\n  return (\n    <Dialog fullScreen open={open} sx={styles.dialog}>\n      <Box sx={styles.dialogHeader}>\n        <IconButton onClick={onClose}>\n          <ChevronLeftIcon sx={styles.backIcon} />\n        </IconButton>\n        <Box sx={styles.drawerHeading}>\n          <Typography variant=\"subtitle1\" color={theme.palette.surface50.main}>\n            API Key & Packages\n          </Typography>\n          <TextButton startIcon={<HelpOutlineIcon />} onClick={openPopover}>\n            Install Instructions\n          </TextButton>\n          <PackageInstallationInfo\n            open={isPopoverOpen}\n            anchorEl={anchorEl}\n            handleClose={handleClose}\n          />\n        </Box>\n      </Box>\n      <DialogContent>\n        <Box sx={styles.dialogContent}>\n          <Box sx={styles.apiListBox}>\n            <Box sx={styles.apiTableHeader}>\n              <Box sx={styles.apiHeaderText}>\n                <Typography\n                  sx={styles.keyHeader}\n                  color={theme.palette.surface80.main}\n                >\n                  API Key\n                </Typography>\n                {/* <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface50.main}>\n                  Your secret API Keys are listed below. Do not share API Keys\n                  with others, or expose it in the browser or code.\n                </Typography> */}\n                <Tooltip placement=\"right\" arrow title={infoDescription}>\n                  <InfoOutlinedIcon fontSize=\"inherit\" sx={styles.infoIcon} />\n                </Tooltip>\n              </Box>\n              <Box>\n                <Button\n                  onClick={() => setIsAddKey(true)}\n                  variant=\"outlined\"\n                  size=\"small\"\n                >\n                  Generate New Key\n                </Button>\n              </Box>\n            </Box>\n            <TableContainer sx={styles.tableContainer}>\n              <Table>\n                <TableHead>\n                  <TableCell>Name</TableCell>\n                  <TableCell>Key</TableCell>\n                  <TableCell>Used By</TableCell>\n                  <TableCell>Created</TableCell>\n                  <TableCell>Last Used</TableCell>\n                  <TableCell></TableCell>\n                </TableHead>\n                {!isFetchingAPIKeys ? (\n                  <TableBody>\n                    {apiKeys.length > 0 ? (\n                      apiKeys.map((apiKey) => (\n                        <TableRow>\n                          <TableCell>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface60.main}\n                            >\n                              {apiKey?.name}\n                            </Typography>\n                          </TableCell>\n                          <TableCell>\n                            <Box sx={styles.apiKeyCell}>\n                              {/* <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface60.main}\n                                sx={styles.key}>\n                                {getAPIKeyString(apiKey)}\n                              </Typography> */}\n                              <TextField\n                                value={getAPIKeyString(apiKey)}\n                                sx={styles.keyTextField}\n                              />\n                              <Box sx={styles.apiKeyActions}>\n                                <TextButton\n                                  onClick={() =>\n                                    toggleAPIKeyVisibility(apiKey?.name)\n                                  }\n                                >\n                                  {getAPIKeyVisibilityFlag(apiKey?.name) ? (\n                                    <VisibilityOffOutlinedIcon\n                                      sx={{\n                                        ...styles.apiKeyIcon,\n                                        ...styles.apiKeyIconColor,\n                                      }}\n                                    />\n                                  ) : (\n                                    <VisibilityOutlinedIcon\n                                      sx={{\n                                        ...styles.apiKeyIcon,\n                                        ...styles.apiKeyIconColor,\n                                      }}\n                                    />\n                                  )}\n                                </TextButton>\n                                <Divider orientation=\"vertical\" flexItem />\n                                <TextButton\n                                  onClick={() => copyAPIKey(apiKey?.apiKey)}\n                                >\n                                  <CopyIcon />\n                                </TextButton>\n                              </Box>\n                            </Box>\n                          </TableCell>\n                          <TableCell>-</TableCell>\n                          <TableCell>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface60.main}\n                            >\n                              {getMMMDDYYYY(apiKey?.metadata?.createdAt)}\n                            </Typography>\n                          </TableCell>\n                          <TableCell>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface60.main}\n                            >\n                              {getDifferenceInDays(\n                                new Date(apiKey?.lastUsedAt),\n                                new Date()\n                              )}\n                            </Typography>\n                          </TableCell>\n                          <TableCell>\n                            <Box sx={styles.apiKeyActions}>\n                              {/*<TextButton>\n                                <EditOutlinedIcon sx={styles.apiKeyIcon} />\n                              </TextButton>\n                              <Divider orientation=\"vertical\" flexItem />*/}\n                              <TextButton\n                                onClick={() =>\n                                  setShowDeleteKeyDialog(apiKey?._id)\n                                }\n                              >\n                                <DeleteOutlineOutlinedIcon\n                                  sx={styles.apiKeyIcon}\n                                />\n                              </TextButton>\n                            </Box>\n                          </TableCell>\n                        </TableRow>\n                      ))\n                    ) : (\n                      <TableCell colSpan={6} borderBottom={false}>\n                        <Box sx={styles.noDataContainer}>\n                          <NoData customText=\"No API Keys Found.\" />\n                        </Box>\n                      </TableCell>\n                    )}\n                  </TableBody>\n                ) : (\n                  <TableCell colspan=\"6\" borderBottom={false}>\n                    <Loader height=\"300px\" />\n                  </TableCell>\n                )}\n              </Table>\n            </TableContainer>\n          </Box>\n          <Box sx={styles.packageBox}>\n            <PackageDownload />\n          </Box>\n        </Box>\n      </DialogContent>\n      <GenerateAPIKey\n        open={isAddKey}\n        onClose={() => {\n          setIsAddKey(false);\n        }}\n        onAdd={(apiKeyDetails) => {\n          addAPIKey(apiKeyDetails);\n          setIsAddKey(false);\n        }}\n      />\n      {showDeleteKeyDialog && (\n        <RevokeAPI\n          open={showDeleteKeyDialog}\n          onClose={() => {\n            setShowDeleteKeyDialog(\"\");\n          }}\n          onDelete={() => deleteAPIKey()}\n        />\n      )}\n    </Dialog>\n  );\n};\n\nexport default APIConfigDrawer;\n","import GridViewIcon from \"@mui/icons-material/GridView\";\nimport SplitscreenIcon from \"@mui/icons-material/Splitscreen\";\nimport { useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport RiskScore from \"../dashboard-widgets/RiskScore\";\nimport Box from \"./Box\";\nimport Divider from \"./Divider\";\nimport { getUserId } from \"../../utils/SessionHelper\";\nimport { Select } from \"./Select\";\nimport { DropdownSelect } from \"./Dropdown\";\nimport { ToggleButtonGroup } from \"./ToggleButton\";\nimport Typography from \"./Typography\";\nimport NotificationsIcon from \"@mui/icons-material/Notifications\";\nimport AccountCircleIcon from \"@mui/icons-material/AccountCircle\";\nimport HelpRoundedIcon from \"@mui/icons-material/HelpRounded\";\n\nimport { Menu, MenuItem } from \"./Menu\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport { getSelectedDatastoreAccount } from \"../../utils/SessionHelper\";\nimport { useSelector } from \"react-redux\";\nimport AccountCircleOutlinedIcon from \"@mui/icons-material/AccountCircleOutlined\";\nimport { accountType } from \"../constants/constants\";\nimport APIConfigDrawer from \"../apiKey/APIConfigDrawer\";\n\nconst Header = ({\n  selectedAccount,\n  setSelectedAccount,\n  setInfoModal,\n  isDashboardView,\n}) => {\n  const theme = useTheme();\n  const [selectedButton, setSelectedButton] = useState<string | null>(null);\n  const [openAPIConfigDrawer, setOpenAPIConfigDrawer] = useState(false);\n  const [accountMenuAnchor, setAccountMenuAnchor] =\n    useState<null | HTMLElement>(null);\n  const open = Boolean(accountMenuAnchor);\n\n  const defaultAccount = getSelectedDatastoreAccount() || {\n    value: \"all\",\n    label: \"All\",\n  };\n  const [accountList, setAccountList] = useState([\n    { value: \"all\", label: \"All\" },\n  ]);\n  const accounts = useSelector((state: any) => state.account.accounts);\n\n  const styles = {\n    headerContainer: {\n      width: \"100%\",\n      display: \"flex\",\n      background: theme.palette.surface0.main,\n    },\n    accountDetails: {\n      display: \"flex\",\n      marginLeft: \"auto\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    dividerStyles: {\n      height: \"13px\",\n      alignSelf: \"center\",\n      backgroundColor: theme.palette.surface20.main,\n    },\n    pointer: {\n      cursor: \"pointer\",\n    },\n    noBottomBorder: {\n      \"&.MuiInputBase-root\": {\n        fontSize: theme.typography.caption,\n        color: theme.palette.surface70.main,\n        fontWeight: theme.typography.fontWeightMedium,\n      },\n    },\n    accountSelectControl: {\n      height: \"height\",\n      \"& .MuiSvgIcon-root\": {\n        color: theme.palette.surface70.main,\n      },\n    },\n    menuItems: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"left\",\n      \"&.MuiList-root\": {\n        paddingX: \"0 !important\",\n      },\n    },\n    clickableIcons: {\n      cursor: \"pointer\",\n      color: theme.palette.surface30.main,\n      \"&:hover\": {\n        color: theme.palette.surface20.main,\n      },\n    },\n    menuAccountDetails: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      padding: theme.spacing(1),\n      width: \"180px\",\n      textAlign: \"left\",\n      gap: theme.spacing(1),\n    },\n    textBold: {\n      fontWeight: theme.typography.fontWeightMedium,\n    },\n    accountName: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      alignItems: \"start\",\n      paddingX: theme.spacing(1),\n    },\n    menuItem: {\n      display: \"flex\",\n      justifyContent: \"left\",\n    },\n    betaTag: {\n      backgroundColor: theme.palette.surface20.main,\n      paddingX: theme.spacing(0.5),\n      marginLeft: theme.spacing(0.5),\n      borderRadius: theme.spacing(0.5),\n      fontSize: \"10px\",\n      color: theme.palette.surface80.main,\n    },\n  };\n\n  // don't need data/ai toggle in daxa ai\n  // const toggleButtons = [\n  //   {\n  //     id: accountType.Data,\n  //     label: \"Data\",\n  //     icon: <GridViewIcon fontSize=\"inherit\" />,\n  //   },\n  //   {\n  //     id: accountType.AI,\n  //     label: \"AI\",\n  //     icon: <SplitscreenIcon fontSize=\"inherit\" />,\n  //     endIcon: <Box sx={styles.betaTag}>BETA</Box>,\n  //   },\n  // ];\n\n  // const handleChange = (\n  //   event: React.MouseEvent<HTMLElement>,\n  //   newValue: string | null\n  // ) => {\n  //   // setSelectedButton(newValue);\n  //   toggleView();\n  // };\n\n  const handleOpenAccountMenu = (event) => {\n    setAccountMenuAnchor(event.currentTarget);\n  };\n\n  const logoutUser = () => {\n    const userId = getUserId();\n    localStorage.clear();\n    sessionStorage.clear();\n    if (userId) {\n      const url = FormatUrl(`/user/logout/${userId}`);\n      window.location = url;\n    } else {\n      window.location.href = \"/\";\n    }\n  };\n\n  // don't need data/ai toggle in daxa ai\n  // const toggleView = () => {\n  //   if (isDashboardView === accountType.Data) {\n  //     dispatch(isAIView());\n  //     dispatch(\n  //       manageDashboardViewSlice({\n  //         userId: getUserId(),\n  //         view: \"data\",\n  //       })\n  //     );\n  //   } else {\n  //     dispatch(isDataView());\n  //     dispatch(\n  //       manageDashboardViewSlice({\n  //         userId: getUserId(),\n  //         view: \"issue\",\n  //       })\n  //     );\n  //   }\n  // };\n\n  useEffect(() => {\n    if (accounts && accounts.length > 0) {\n      setAccountList([\n        { value: \"all\", label: \"All\" },\n        ...accounts.map((account) => {\n          return { value: account.id, label: account.id };\n        }),\n      ]);\n    }\n  }, [accounts]);\n\n  const toogleAPIConfigDrawer = (value) => {\n    setOpenAPIConfigDrawer(value);\n  };\n\n  return (\n    <Box sx={styles.headerContainer}>\n      {/* <RiskScore /> */}\n      <Box sx={styles.accountDetails}>\n        <Typography\n          variant=\"caption\"\n          color={theme.palette.surface70.main}\n          sx={styles.pointer}\n        >\n          {/* <DropdownSelect\n            accountList={accountList}\n            selectedAccount={selectedAccount}\n            setSelectedAccount={setSelectedAccount}\n          />\n       */}\n          <Select\n            label=\"Select Account\"\n            variant=\"standard\"\n            renderValue={() =>\n              `${selectedAccount?.label}${\n                selectedAccount?.label === \"All\" ? \" Accounts\" : \"\"\n              }`\n            }\n            defaultValue={accountList.length > 0 && accountList[0]}\n            value={() => {\n              const res = accountList.find(\n                (element) => element.value === selectedAccount.value\n              )\n                ? selectedAccount?.value\n                : accountList[0]?.value;\n              return res;\n            }}\n            options={accountList}\n            sx={styles?.noBottomBorder}\n            onChange={(event) =>\n              setSelectedAccount(\n                accountList.find(\n                  (account) => account?.value === event.target.value\n                )\n              )\n            }\n          />\n        </Typography>\n        <Divider\n          orientation=\"vertical\"\n          variant=\"middle\"\n          flexItem\n          sx={styles.dividerStyles}\n        />\n        {/* don't need data/ai toggle in daxa ai */}\n        {/* <ToggleButtonGroup\n          exclusive\n          options={toggleButtons}\n          value={\n            toggleButtons?.find((item) => item?.id === isDashboardView)?.label\n          }\n          onChange={handleChange}\n          width=\"100px\"\n        />\n        <Divider\n          orientation=\"vertical\"\n          variant=\"middle\"\n          flexItem\n          sx={styles.dividerStyles}\n        /> */}\n\n        <span title=\"Profile\">\n          <AccountCircleIcon\n            onClick={(event) => handleOpenAccountMenu(event)}\n            sx={styles.clickableIcons}\n          />\n        </span>\n        <span title=\"Notification\">\n          <NotificationsIcon sx={styles.clickableIcons} />\n        </span>\n\n        <span title=\"Help\">\n          <HelpRoundedIcon\n            onClick={() => setInfoModal(true)}\n            sx={styles.clickableIcons}\n          />\n        </span>\n\n        <Menu\n          open={open}\n          anchorEl={accountMenuAnchor}\n          onClose={() => setAccountMenuAnchor(null)}\n          transformOrigin={{ horizontal: \"right\", vertical: \"top\" }}\n          anchorOrigin={{ horizontal: \"right\", vertical: \"bottom\" }}\n        >\n          <Box sx={styles.menuAccountDetails}>\n            <Box sx={styles.accountName}>\n              <Typography\n                color={theme.palette.surface60.main}\n                variant=\"body2\"\n                sx={styles.textBold}\n              >\n                {localStorage.getItem(\"username\")}\n              </Typography>\n              <Typography\n                color={theme.palette.surface60.main}\n                variant=\"tooltip\"\n              >\n                {localStorage.getItem(\"customer_name\")}\n              </Typography>\n            </Box>\n\n            <Divider variant=\"fullWidth\" color={theme.palette.surface20.main} />\n          </Box>\n          <MenuItem\n            onClick={() => {\n              setOpenAPIConfigDrawer(true);\n              setAccountMenuAnchor(null);\n            }}\n            sx={styles.menuItem}\n          >\n            <Typography color={theme.palette.surface60.main} variant=\"caption\">\n              API Key & Packages\n            </Typography>\n          </MenuItem>\n          <MenuItem\n            onClick={() => {\n              logoutUser();\n              setAccountMenuAnchor(null);\n            }}\n            sx={styles.menuItem}\n          >\n            <Typography color={theme.palette.surface60.main} variant=\"caption\">\n              Logout\n            </Typography>\n          </MenuItem>\n        </Menu>\n      </Box>\n      {openAPIConfigDrawer && (\n        <APIConfigDrawer\n          open={openAPIConfigDrawer}\n          onClose={() => setOpenAPIConfigDrawer(false)}\n        />\n      )}\n    </Box>\n  );\n};\n\nexport default Header;\n","import ExpandLessIcon from '@mui/icons-material/ExpandLess';\nimport { useTheme } from '@mui/material';\nimport Box from './Box';\nimport Typography from './Typography';\n\nconst Insights = ({ onClick = () => {} }) => {\n  const theme = useTheme();\n\n  const styles = {\n    insights: {\n      background: theme.palette.surface50.main,\n      transform: 'rotate(-90deg) translate(-134px,56px)',\n      height: '24px',\n      display: 'flex',\n      alignItems: 'center',\n      gap: theme.spacing(3.5),\n      padding: theme.spacing(0.5, 1),\n      borderRadius: theme.spacing(0.5, 0.5, 0, 0),\n      textTransform: 'uppercase',\n      cursor: 'pointer',\n    },\n    expandIcon: {\n      width: '20px',\n    },\n    text: {\n      color: theme.palette.surfaceMain.main,\n      letterSpacing: '2px',\n    },\n  };\n  return (\n    <Box sx={styles.insights} onClick={onClick}>\n      <Typography variant=\"caption\" sx={styles.text}>\n        Insights\n      </Typography>\n      <ExpandLessIcon sx={styles.expandIcon} />\n    </Box>\n  );\n};\nexport default Insights;\n","import { ModalProps, useTheme } from '@mui/material';\nimport MUIDrawer, { DrawerProps } from '@mui/material/Drawer';\n\ninterface MUIDrawerProps extends DrawerProps {\n  width: number | string;\n  anchor: 'bottom' | 'left' | 'right' | 'top';\n  open: boolean;\n  onClose?: ModalProps['onClose'];\n}\n\nconst Drawer = (props: MUIDrawerProps) => {\n  const theme = useTheme();\n  const styles = {\n    drawerStyle: {\n      '& .MuiDrawer-paper': {\n        boxSizing: 'border-box',\n        width: props.width,\n        borderRadius: theme.spacing(1, 0, 0, 1),\n        backgroundColor: theme.palette.surface0.main,\n        backgroundImage: 'none'\n      }\n    }\n  };\n  return <MUIDrawer {...props} sx={styles.drawerStyle} />;\n};\n\nexport default Drawer;\n","import { useTheme } from '@mui/material';\nimport Box from '../common/Box';\nimport Drawer from '../common/Drawer';\nimport Typography from '../common/Typography';\nimport CloseRoundedIcon from '@mui/icons-material/CloseRounded';\nimport HourglassBottomOutlinedIcon from '@mui/icons-material/HourglassBottomOutlined';\n\nconst InsightsDrawer = ({ open, anchor, setOpenInsightsDrawer }) => {\n  const theme = useTheme();\n  const styles = {\n    drawerContent: {\n      height: '100%',\n      display: 'flex',\n      flexDirection: 'column',\n      padding: theme.spacing(2),\n    },\n    drawerHeader: {},\n    closeIcon: {\n      color: theme.palette.surface80.main,\n      cursor: 'pointer',\n      height: '20px',\n    },\n    drawerBody: {\n      display: 'flex',\n      height: '100%',\n      justifyContent: 'center',\n      alignItems: 'center',\n    },\n  };\n\n  const closeDrawer = () => {\n    setOpenInsightsDrawer(false);\n  };\n\n  return (\n    <Drawer\n      open={open}\n      anchor={anchor}\n      width=\"450px\"\n      sx={{ position: 'relative', height: '100vh', overflow: 'auto' }}\n      onClose={closeDrawer}\n    >\n      <Box sx={styles.drawerContent}>\n        <Box sx={styles.drawerHeader}>\n          <CloseRoundedIcon sx={styles.closeIcon} onClick={closeDrawer} />\n        </Box>\n        <Box sx={styles.drawerBody}>\n          <HourglassBottomOutlinedIcon />\n          <Typography variant=\"body2\">Coming Soon</Typography>\n        </Box>\n      </Box>\n    </Drawer>\n  );\n};\n\nexport default InsightsDrawer;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\n\ninterface HeroStatProps {\n  label: string;\n  value: number;\n  outOf: number;\n  suffix?: string;\n}\n\nconst HeroStat = ({ label, value, outOf, suffix }: HeroStatProps) => {\n  const theme = useTheme();\n  const styles = {\n    card: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n    flex: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"baseline\",\n    },\n    value: {\n      fontSize: \"32px\",\n      fontWeight: 500,\n      color: theme.palette.surface80.main,\n    },\n    manrope: {\n      fontFamily: \"Manrope\",\n    },\n  };\n  return (\n    <Box sx={styles.card}>\n      <Typography\n        variant=\"body2\"\n        color={theme.palette.surface60.main}\n        sx={styles.manrope}\n      >\n        {label}\n      </Typography>\n      <Box sx={styles.flex}>\n        <Typography sx={styles.value}>{value}</Typography>\n        <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n          / {outOf} {suffix}\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default HeroStat;\n","import { useTheme } from \"@mui/material\";\nimport { useContext, useEffect, useMemo, useState } from \"react\";\nimport { AppContext } from \"../../context/appContext\";\nimport Box from \"../common/Box\";\nimport Divider from \"../common/Divider\";\nimport DonutChart from \"../common/DonutChart\";\nimport LegendWithColor from \"../common/LegendWithColor\";\nimport Loader from \"../common/Loader\";\nimport MetricBlock from \"../common/MetricBlock\";\nimport Typography from \"../common/Typography\";\nimport ImpactedDataCard from \"./ImpactedDonutCard\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchFindingOverviewSlice } from \"../../redux/slices/dashboardSlice\";\nimport HeroStat from \"./HeroStat\";\nimport { ToggleButtonGroup } from \"../common/ToggleButton\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst ImpactedDataStoresPanel = () => {\n  const [isLoading, setIsLoading] = useState(false);\n  const [toggleView, setToggleView] = useState(\"Overview\");\n  const [findingOverview, setFindingOverview] = useState<any>([]);\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n\n  const styles = {\n    donutCardContainer: {\n      position: \"relative\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n    },\n    donuts: {\n      width: \"100%\",\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      height: \"100%\",\n      alignItems: \"center\",\n      paddingX: theme.spacing(6),\n    },\n    allDataImpactedText: {\n      color: theme.palette.surface80.main,\n      fontWeight: theme.typography.fontWeightMedium,\n      maxWidth: \"5rem\",\n    },\n    sensitiveDataText: {\n      color: theme.palette.surface70.main,\n      fontWeight: theme.typography.fontWeightRegular,\n      maxWidth: \"9.375rem\",\n    },\n    highlightDataText: {\n      color: theme.palette.surface80.main,\n      fontWeight: theme.typography.fontWeightMedium,\n    },\n    legendContainer: {\n      position: \"absolute\",\n      bottom: 0,\n      right: 0,\n      display: \"flex\",\n      gap: theme.spacing(2),\n      paddingX: theme.spacing(2),\n      paddingBottom: theme.spacing(2),\n      alignItems: \"center\",\n      zIndex: 20,\n    },\n    dividerStyles: {\n      height: \"13px\",\n      alignSelf: \"center\",\n      backgroundColor: theme.palette.surface40.main,\n      marginY: 0,\n    },\n    legendGroup: {\n      display: \"flex\",\n      gap: theme.spacing(3),\n    },\n    totalDataStore: {\n      opacity: 0.5,\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    statGrid: {\n      width: \"100%\",\n      display: \"grid\",\n      gridTemplateColumns: \"repeat(4, 1fr)\",\n    },\n    toggle: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1.25),\n      borderLeft: `1px solid ${theme.palette.surface20.main}`,\n      padding: theme.spacing(2),\n      justifyContent: \"center\",\n    },\n    toggleButton: {\n      background: theme.palette.surface5.main,\n    },\n  };\n\n  const fetchFindingOverview = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchFindingOverviewSlice(payload));\n    if (response.payload) {\n      const metrics = response.payload;\n      setFindingOverview(metrics);\n    }\n    setIsLoading(false);\n  };\n\n  const stats = useMemo(() => {\n    if (findingOverview) {\n      return [\n        {\n          label: \"Documents\",\n          outOf: findingOverview?.documents?.total,\n          value: findingOverview?.documents?.with_findings,\n          suffix: \" with Findings\",\n          variant: \"AutoColor\",\n        },\n        {\n          label: \"Applications\",\n          outOf: findingOverview?.applications?.total,\n          value: findingOverview?.applications?.with_findings,\n        },\n        {\n          label: \"Users\",\n          value: findingOverview?.users?.anamolous_users,\n          outOf: findingOverview?.users?.total,\n          suffix: \"Anamolous\",\n        },\n      ];\n    } else return [];\n  }, [findingOverview]);\n\n  const toggleButtons = [\n    {\n      id: \"overview\",\n      label: \"Overview\",\n    },\n    {\n      id: \"policy_violations\",\n      label: \"Policy Violations\",\n    },\n  ];\n\n  const handleChange = (\n    event: React.MouseEvent<HTMLElement>,\n    newValue: string | null\n  ) => {\n    if (newValue !== null) {\n      setToggleView(newValue);\n    }\n  };\n\n  useEffect(() => {\n    fetchFindingOverview();\n  }, []);\n\n  return (\n    <Box sx={styles.donutCardContainer}>\n      {isLoading ? (\n        <Loader height=\"100px\" />\n      ) : (\n        <Box sx={styles.statGrid}>\n          {stats.map((stat) => (\n            <HeroStat {...stat} />\n          ))}\n          {/*<Box sx={styles.toggle}>\n            <Typography variant=\"body2\" color={theme.palette.surface60.main}>\n              Show Data As\n            </Typography>{\" \"}\n            <ToggleButtonGroup\n              exclusive\n              options={toggleButtons}\n              value={toggleView}\n              onChange={handleChange}\n              sx={styles.toggleButton}\n              defaultValue={toggleView}\n            />\n          </Box>*/}\n        </Box>\n      )}\n    </Box>\n  );\n};\n\nexport default ImpactedDataStoresPanel;\n","export default __webpack_public_path__ + \"static/media/awsIcon.946aa194.svg\";","import { PaletteColor, useTheme } from \"@mui/material\";\nimport * as d3 from \"d3\";\nimport { useEffect } from \"react\";\nimport Box from \"./Box\";\nimport Tooltip from \"./Tooltip\";\nimport Typography from \"./Typography\";\n\nexport interface Props {\n  maxValue: number;\n  color: PaletteColor;\n  classForGraph: string;\n  xLabel: string;\n}\n\nconst BarGraphBottomAxis = ({\n  maxValue,\n  color,\n  xLabel,\n  classForGraph,\n}: Props) => {\n  const theme = useTheme();\n\n  const styles = {\n    axisContainer: {\n      width: \"100%\",\n      height: \"100%\",\n    },\n    axisLabels: {\n      width: \"100%\",\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    barLabel: {\n      width: \"100%\",\n      display: \"flex\",\n      justifyContent: \"center\",\n    },\n    labelText: {\n      textAlign: \"center\",\n      width: \"70%\",\n      textOverflow: \"ellipsis\",\n      textWrap: \"nowrap\",\n      overflow: \"hidden\",\n      whiteSpace: \"nowrap\",\n    },\n  };\n\n  const drawBottomAxis = () => {\n    const svgWidth = parseFloat(\n      d3.select(`.barChartXAxisContainer`).style(\"width\")\n    );\n    const margin = { top: 0, bottom: 0, left: 12, right: -6 };\n    const svgHeight = 30;\n    let height = 35,\n      width = svgWidth - margin.left - margin.right;\n    d3.select(`.${classForGraph}Axis svg`).remove();\n\n    let element = d3.select(`.${classForGraph}Axis`).append(\"svg\");\n\n    const xScale = d3\n      .scaleLinear()\n      .domain([0, maxValue] as [d3.NumberValue, d3.NumberValue])\n      .rangeRound([0, width]);\n\n    element.attr(\"height\", svgHeight).attr(\"width\", \"100%\");\n\n    const el = element\n      .append(\"g\")\n      .attr(\"class\", \"barBottomAxis\")\n      .attr(\"transform\", `translate(${margin.left - 10},${margin.top - 10})`);\n\n    el.append(\"g\")\n      .attr(\"transform\", `translate(0,${height})`)\n      .call(d3.axisBottom(xScale).ticks(2).tickValues([]));\n  };\n\n  useEffect(() => {\n    drawBottomAxis();\n  }, [classForGraph, maxValue]);\n\n  return (\n    <Box sx={styles.axisContainer}>\n      <div className={`barChartXAxisContainer ${classForGraph}Axis`}></div>\n      <Box sx={styles.axisLabels}>\n        <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n          0\n        </Typography>\n        <Tooltip title={xLabel.replace(\"#\", \"Number\")}>\n          <div style={styles.barLabel}>\n            <Typography\n              variant=\"caption\"\n              color={theme.palette.surface50.main}\n              sx={styles.labelText}\n            >\n              {xLabel}\n            </Typography>\n          </div>\n        </Tooltip>\n        <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n          {maxValue}\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default BarGraphBottomAxis;\n","import { useTheme } from \"@mui/material\";\nimport { generateClassForBarGraph } from \"../../utils/commonUtils\";\nimport BarGraphBottomAxis from \"./BarGraphBottomAxis\";\nimport Box from \"./Box\";\n\nexport interface Props {\n  barFaceColor: string;\n  barBackColor: string;\n  rectWidth: number;\n  xLabel: string;\n  totalValue: number;\n  barLabel: string;\n  index?: number;\n  isLastBar?: boolean;\n  barValue: number;\n  type?: string;\n}\n\nconst Bar = ({\n  barFaceColor,\n  barBackColor,\n  rectWidth,\n  xLabel,\n  totalValue,\n  barLabel,\n  index,\n  isLastBar = false,\n  barValue,\n  type,\n}: Props) => {\n  const theme = useTheme();\n  const styles = {\n    barOuterRect: {\n      height: theme.spacing(1),\n      width: \"100%\",\n      backgroundColor: barBackColor,\n      position: \"relative\",\n    },\n    barInnerRect: {\n      height: \"inherit\",\n      backgroundColor: barFaceColor,\n      transition: \"0.5s ease\",\n      width: `${rectWidth}%`,\n    },\n  };\n\n  return (\n    <Box sx={styles.barOuterRect}>\n      <Box style={styles.barInnerRect}></Box>\n      {isLastBar && (\n        <BarGraphBottomAxis\n          xLabel={xLabel}\n          maxValue={totalValue}\n          color={theme.palette.green}\n          classForGraph={`${generateClassForBarGraph(\n            barLabel\n          )}-${barValue}-${index}${type ? type : \"\"}`}\n        />\n      )}\n    </Box>\n  );\n};\n\nexport default Bar;\n","export default __webpack_public_path__ + \"static/media/slack.dbd60006.svg\";","export default __webpack_public_path__ + \"static/media/jira.e1632991.svg\";","import { useTheme } from \"@mui/material\";\nimport { ReactNode, SyntheticEvent, useEffect, useState } from \"react\";\nimport Box from \"../common/Box\";\nimport { Tab, Tabs } from \"../common/Tabs\";\nimport TextButton from \"../common/TextButton\";\nimport Typography from \"../common/Typography\";\nimport { ActionCardProps, CardDataTab } from \"./type\";\nimport KeyboardArrowRightIcon from \"@mui/icons-material/KeyboardArrowRight\";\nimport Loader from \"../common/Loader\";\n\nconst CardWithAction = ({\n  cardData,\n  buttonTitle,\n  onClick = () => {},\n  isLoading = false,\n}: ActionCardProps) => {\n  const hasTabs = cardData && Object.keys(cardData).length > 1;\n  const theme = useTheme();\n  const styles = {\n    card: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0),\n      height: \"100%\",\n    },\n    cardHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n      padding: theme.spacing(2),\n      paddingTop: hasTabs ? theme.spacing(1.5) : theme.spacing(2),\n    },\n    cardTitle: {\n      fontSize: \"13px\",\n    },\n    children: {\n      height: \"100%\",\n      width: \"100%\",\n    },\n  };\n\n  const [activeTab, setActiveTab] = useState(\"\");\n\n  const titleCardData: CardDataTab =\n    !hasTabs && cardData ? Object.values(cardData)[0] : null;\n\n  const handleTabChange = (event: Event | SyntheticEvent, newValue: string) => {\n    setActiveTab(newValue);\n  };\n\n  useEffect(() => {\n    if (hasTabs) {\n      setActiveTab(Object.keys(cardData)[0]);\n    }\n  }, [cardData]);\n\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.cardHeader}>\n        <Box>\n          {hasTabs ? (\n            <Tabs value={activeTab} onChange={handleTabChange}>\n              {Object.keys(cardData).map((tab: string) => (\n                <Tab value={tab} label={cardData[tab]?.title} key={tab} />\n              ))}\n            </Tabs>\n          ) : (\n            <Typography\n              color={theme.palette.surface80.main}\n              sx={styles.cardTitle}\n            >\n              {titleCardData?.title}\n            </Typography>\n          )}\n        </Box>\n        {buttonTitle ? (\n          <TextButton\n            endIcon={<KeyboardArrowRightIcon />}\n            onClick={() => onClick(activeTab)}\n          >\n            {buttonTitle}\n          </TextButton>\n        ) : null}\n      </Box>\n      <Box sx={styles.children}>\n        {isLoading ? (\n          <Loader height=\"250px\" />\n        ) : hasTabs ? (\n          cardData[activeTab]?.children\n        ) : (\n          titleCardData?.children\n        )}\n      </Box>\n    </Box>\n  );\n};\n\nexport default CardWithAction;\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Fetch App Details\n * @param params\n * @returns\n */\nexport const fetchAppData = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/details\", params);\n};\n\nexport const fetchAppOverview = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/overview\", params);\n};\n\nexport const fetchAppRetrievalsDetails = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/retrieval/details\", params);\n};\n\nexport const fetchAppRetrievalOverview = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/retrieval/overview\", params);\n};\n\n/**\n * Fetch list of applications\n * @param params customerId, count of items to fetch\n * @returns\n */\nexport const fetchAppsList = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/application/\", params);\n};\n\nexport const deleteApp = async (params) => {\n  return axiosDenaliPrivate.delete(\"/api/v1/ai/app\", { data: params });\n};\n\nexport const fetchAppRetreivalFindings = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/retrieval/findings\", params);\n};\n\nexport const setAppDescription = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/description\", params);\n};\n\nexport const setAppPolicy = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/policy\", params);\n};\n\nexport const fetchAppLoaderDetails = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/safe_loader/detail\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  deleteApp,\n  fetchAppData,\n  fetchAppLoaderDetails,\n  fetchAppOverview,\n  fetchAppRetreivalFindings,\n  fetchAppRetrievalOverview,\n  fetchAppRetrievalsDetails,\n  fetchAppsList,\n  setAppDescription,\n  setAppPolicy,\n} from \"../apis/appAPI\";\n\nconst initialState = {};\n\nexport const fetchAppDetailsSlice = createAsyncThunk(\n  \"app/details\",\n  async (params: { customerId: string; appId: string }) => {\n    const response = await fetchAppData(params);\n    return response.data;\n  }\n);\n\nexport const fetchAppOverviewSlice = createAsyncThunk(\n  \"app/overview\",\n  async (params: { customerId: string; appId?: string }) => {\n    const response = await fetchAppOverview(params);\n    return response.data;\n  }\n);\n\nexport const fetchAppRetrievalOverviewSlice = createAsyncThunk(\n  \"app/retrieval/overview\",\n  async (params: { customerId: string; appId: string }) => {\n    const response = await fetchAppRetrievalOverview(params);\n    return response.data;\n  }\n);\n\nexport const fetchAppRetreivalsSlice = createAsyncThunk(\n  \"app/retrieval/details\",\n  async (params: { customerId: string; appId: string }) => {\n    const response = await fetchAppRetrievalsDetails(params);\n    return response.data;\n  }\n);\n\nexport const fetchAppsListSlice = createAsyncThunk(\n  \"apps/list\",\n  async (params: { customerId: string; count?: number }) => {\n    const response = await fetchAppsList(params);\n    return response.data;\n  }\n);\n\nexport const deleteAppSlice = createAsyncThunk(\n  \"app/delete\",\n  async (params: { customerId: string; appId: string }) => {\n    const response = await deleteApp(params);\n    return response.data;\n  }\n);\n\nexport const fetchAppRetreivalFindingsSlice = createAsyncThunk(\n  \"app/findings\",\n  async (params: any) => {\n    const response = await fetchAppRetreivalFindings(params);\n    return response.data;\n  }\n);\n\nexport const setAppDescriptionSlice = createAsyncThunk(\n  \"app/description\",\n  async (params: { customerId: string; id: string; description: string }) => {\n    const response = await setAppDescription(params);\n    return response.data;\n  }\n);\n\nexport const setAppPolicySlice = createAsyncThunk(\n  \"app/policy\",\n  async (params: { customerId: string; id: string; policy: JSON }) => {\n    const response = await setAppPolicy(params);\n    return response.data;\n  }\n);\n\nexport const fetchAppLoaderDetailsSlice = createAsyncThunk(\n  \"app/loader/details\",\n  async (params: { customerId: string; appId: string }) => {\n    const response = await fetchAppLoaderDetails(params);\n    return response.data;\n  }\n);\n\nconst appSlice = createSlice({\n  name: \"app\",\n  initialState,\n  reducers: {},\n  extraReducers: () => {},\n});\n\nexport default appSlice.reducer;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport NoData from \"./NoData\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"./Table\";\nimport Loader from \"./Loader\";\n\ninterface CustomTableProps {\n  tableCols: any[];\n  tableData: any[];\n  tableHeight?: string;\n  onRowClick?: (params: any) => void;\n  isLoading?: boolean;\n}\n\nconst CustomTable = ({\n  tableCols,\n  tableData,\n  tableHeight,\n  onRowClick = () => {},\n  isLoading = false,\n}: CustomTableProps) => {\n  return (\n    <Box>\n      <TableContainer style={{ maxHeight: tableHeight }}>\n        <Table stickyHeader>\n          <TableHead>\n            <TableRow>\n              {tableCols.map((col) => (\n                <TableCell key={col.id}>{col.title}</TableCell>\n              ))}\n            </TableRow>\n          </TableHead>\n          <TableBody>\n            {isLoading ? (\n              <TableRow noHover={true}>\n                <TableCell\n                  colSpan={tableCols?.length || 0}\n                  borderBottom={false}\n                >\n                  <Loader />\n                </TableCell>\n              </TableRow>\n            ) : tableData?.length > 0 ? (\n              tableData.map((row) => (\n                <TableRow key={row.id} onClick={() => onRowClick(row)}>\n                  {tableCols.map((col) => (\n                    <TableCell key={col.id} borderBottom={false}>\n                      {col?.render ? col.render(row) : row[col.id] || \"-\"}\n                    </TableCell>\n                  ))}\n                </TableRow>\n              ))\n            ) : (\n              <TableRow noHover={true}>\n                <TableCell\n                  colSpan={tableCols?.length || 0}\n                  borderBottom={false}\n                >\n                  <NoData customText=\"No Data Found\" />\n                </TableCell>\n              </TableRow>\n            )}\n          </TableBody>\n        </Table>\n      </TableContainer>\n    </Box>\n  );\n};\n\nexport default CustomTable;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\n\ninterface LogoWrapperProps {\n  src: string;\n  alt: string;\n  height?: string;\n  bgColor?: string;\n}\n\nconst LogoWrapper = ({ src, height, alt, bgColor }: LogoWrapperProps) => {\n  const theme = useTheme();\n  const styles = {\n    bg: {\n      display: \"flex\",\n      width: \"32px\",\n      height: \"32px\",\n      alignItems: \"center\",\n      justifyContent: \"center\",\n      backgroundColor: bgColor || \"#2E3351\",\n      borderRadius: \"50%\",\n    },\n  };\n  return (\n    <Box sx={styles.bg}>\n      <img src={src} height={height || \"14px\"} alt={alt} />\n    </Box>\n  );\n};\n\nexport default LogoWrapper;\n","import { useTheme } from \"@mui/material\";\nimport { getFirstNValue, getPropertyTotalCount } from \"../../utils/commonUtils\";\nimport Box from \"../common/Box\";\nimport CardWithAction from \"./CardWithAction\";\nimport Typography from \"../common/Typography\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { fetchAppsListSlice } from \"../../redux/slices/appSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport Tooltip from \"../common/Tooltip\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n  ALL_APPLICATIONS_PAGE,\n  APPLICATION_DETAILS,\n} from \"../../routes/constants\";\nimport { ListAppAPI } from \"./APIResponseType\";\nimport AppIcon from \"../../assets/img/retriever-app-icon.svg\";\nimport Bar from \"../common/Bar\";\nimport CustomTable from \"../common/CustomTable\";\nimport LogoWrapper from \"../common/LogoWrapper\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst APP_RETRIEVAL_COUNT = 5;\n\nconst ApplicationsCard = () => {\n  const [applications, setApplications] = useState<ListAppAPI[]>([]);\n  const [isFetchingData, setIsFetchingData] = useState(false);\n  const dispatch = useDispatch<AppDispatch>();\n  const history = useHistory();\n\n  let totalRetrievals = 0;\n\n  const theme = useTheme();\n  const styles = {\n    noDataCell: {\n      \"&.MuiTableCell-root\": {\n        borderBottom: \"none\",\n      },\n    },\n    appNameCell: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    appVersion: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n    },\n    barCell: {\n      width: \"120px\",\n      display: \"flex\",\n      alignItems: \"baseline\",\n      gap: theme.spacing(1.25),\n    },\n    truncateText: {\n      width: \"12rem\",\n      overflow: \"hidden\",\n      whiteSpace: \"nowrap\",\n      textOverflow: \"ellipsis\",\n    },\n  };\n\n  const redirectToAppDetailsPage = (app) => {\n    history.push(APPLICATION_DETAILS + app?.id);\n  };\n\n  const redirectToAllAppsPage = (tab) => {\n    history.push(ALL_APPLICATIONS_PAGE);\n  };\n\n  const tableCols = [\n    {\n      id: 1,\n      title: \"Name\",\n      render: (data) => (\n        <Box sx={styles.appNameCell}>\n          <LogoWrapper src={AppIcon} alt=\"Langchain\" height=\"24px\" />\n          <Box sx={styles.appVersion}>\n            <Tooltip title={data?.name}>\n              <div>\n                <Typography\n                  variant=\"body2\"\n                  color={theme.palette.surface60.main}\n                  sx={styles.truncateText}\n                >\n                  {data?.name}\n                </Typography>\n              </div>\n            </Tooltip>\n            <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n              {data?.version}\n            </Typography>\n          </Box>\n        </Box>\n      ),\n    },\n    {\n      id: 2,\n      title: \"Retrievals\",\n      render: (data) => (\n        <Box sx={styles.barCell}>\n          <Typography variant=\"h6\" isNumber={true}>\n            {data?.retrievals}\n          </Typography>\n          <Bar\n            isLastBar={false}\n            xLabel={\"\"}\n            barBackColor={theme.palette.surface20.main}\n            barFaceColor={theme.palette.lightMagenta.main}\n            rectWidth={\n              ((data?.retrievals || 0) /\n                getPropertyTotalCount(applications, \"retrievals\")) *\n              100\n            }\n            index={data?.name}\n            totalValue={data?.retrievals || 0}\n            barLabel={\"\"}\n            barValue={data?.retrievals || 0}\n            type={\"\"}\n          />\n        </Box>\n      ),\n    },\n    {\n      id: 3,\n      title: \"Active Users\",\n      render: (data) => (\n        <Typography variant=\"h6\" isNumber={true}>\n          {data?.active_users}\n        </Typography>\n      ),\n    },\n    {\n      id: 4,\n      title: \"Labels\",\n      render: (data) => (\n        <Tooltip title={data?.labels?.join(\", \")}>\n          <div>\n            <Typography\n              variant=\"body2\"\n              color={theme.palette.surface60.main}\n              sx={styles.truncateText}\n            >\n              {data?.labels ? getFirstNValue(data?.labels, 2) : \"-\"}\n            </Typography>\n          </div>\n        </Tooltip>\n      ),\n    },\n  ];\n\n  const cardData = useMemo(\n    () => ({\n      applications: {\n        title: \"Applications\",\n        children: (\n          <CustomTable\n            tableCols={tableCols}\n            tableData={applications}\n            tableHeight=\"400px\"\n            onRowClick={redirectToAppDetailsPage}\n          />\n        ),\n      },\n    }),\n    [applications]\n  );\n\n  const fetchAppList = async () => {\n    setIsFetchingData(true);\n    const payload = {\n      customerId: getCustomerId(),\n      count: APP_RETRIEVAL_COUNT,\n    };\n    const response = await dispatch(fetchAppsListSlice(payload));\n    if (response?.payload) {\n      setApplications(response.payload);\n    } else {\n      setApplications([]);\n    }\n    setIsFetchingData(false);\n  };\n\n  useEffect(() => {\n    fetchAppList();\n  }, []);\n\n  return (\n    <Box>\n      <CardWithAction\n        cardData={cardData}\n        buttonTitle=\"View All\"\n        onClick={redirectToAllAppsPage}\n      />\n    </Box>\n  );\n};\n\nexport default ApplicationsCard;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\n\nconst ColorBadge = ({ color }) => {\n  const theme = useTheme();\n  const styles = {\n    badge: {\n      backgroundColor: color || theme.palette.critical.main,\n      borderRadius: \"50%\",\n      height: \"12px\",\n      width: \"12px\",\n    },\n  };\n  return <Box sx={styles.badge}></Box>;\n};\n\nexport default ColorBadge;\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  getDocumentBySources,\n  getDocumentDetails,\n  getDocumentInfo,\n  getImpactedDocuments,\n  getSnippetsByLabels,\n} from \"../apis/documentAPI\";\n\nconst initialSlice = {\n  documents: [],\n};\n\nexport const fetchImpactedDocumentsSlice = createAsyncThunk(\n  \"document/impacted\",\n  async (params: { customerId: string; count?: number }) => {\n    const response = await getImpactedDocuments(params);\n    return response.data;\n  }\n);\n\nexport const fetchDocumentInfoSlice = createAsyncThunk(\n  \"document/info\",\n  async (params: { customerId: string; documentName: string }) => {\n    const response = await getDocumentInfo(params);\n    return response.data;\n  }\n);\n\nexport const fetchDocumentDetailsSlice = createAsyncThunk(\n  \"document/details\",\n  async (params: { customerId: string; documentName: string }) => {\n    const response = await getDocumentDetails(params);\n    return response.data;\n  }\n);\n\nexport const fetchDocumentBySourcesSlice = createAsyncThunk(\n  \"document/bySources\",\n  async (params: { customerId: string; count?: number }) => {\n    const response = await getDocumentBySources(params);\n    return response.data;\n  }\n);\n\nexport const fetchSnippetsByLabelsSlice = createAsyncThunk(\n  \"document/snippetsByLabels\",\n  async (params: { customerId: string; count?: number }) => {\n    const response = await getSnippetsByLabels(params);\n    return response.data;\n  }\n);\n\nconst documentSlice = createSlice({\n  name: \"document\",\n  initialState: initialSlice,\n  reducers: {},\n  extraReducers: (builder) => {\n    builder.addCase(fetchImpactedDocumentsSlice.fulfilled, (state, action) => {\n      const docList = action?.payload?.data\n        ? Object.keys(action?.payload?.data).map((key) => ({\n            name: key,\n            ...action?.payload?.data[key],\n          }))\n        : [];\n      state.documents = docList as any;\n    });\n  },\n});\n\nexport default documentSlice.reducer;\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\nexport const getImpactedDocuments = (payload) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/documents\", payload);\n};\n\nexport const getDocumentInfo = (payload) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/document/info\", payload);\n};\n\nexport const getDocumentDetails = (payload) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/document/details\", payload);\n};\n\nexport const getDocumentBySources = (payload) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/documents_by_sources\", payload);\n};\n\nexport const getSnippetsByLabels = (payload) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/snippets_by_labels\", payload);\n};\n","import { useTheme } from \"@mui/material\";\nimport CustomTable from \"../common/CustomTable\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { axiosPost } from \"../../services/apiClient\";\nimport {\n  formatBytes,\n  getFileName,\n  getFirstNValue,\n  getIconForKey,\n} from \"../../utils/commonUtils\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\nimport ColorBadge from \"../common/ColorBadge\";\nimport Tooltip from \"../common/Tooltip\";\nimport Chip from \"../common/Chip\";\nimport CardWithAction from \"./CardWithAction\";\nimport LogoWrapper from \"../common/LogoWrapper\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchImpactedDocumentsSlice } from \"../../redux/slices/documentSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useHistory } from \"react-router-dom\";\nimport { TagColorMapping } from \"../constants/constants\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst SHOW_DOCUMENTS_COUNT = 5;\n\nconst DocumentCard = () => {\n  const [impactedDocs, setImpactedDocs] = useState<any>([]);\n  const [isLoading, setIsLoading] = useState(false);\n  const dispatch = useDispatch<AppDispatch>();\n  const history = useHistory();\n  const theme = useTheme();\n  const styles = {\n    docName: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    name: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    snippetCol: {\n      gap: theme.spacing(0.5),\n    },\n    snippet: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"baseline\",\n    },\n    groups: {\n      alignItems: \"center\",\n    },\n    manrope: {\n      fontFamily: \"Manrope\",\n    },\n    snippetCount: {\n      fontSize: \"20px\",\n      color: theme.palette.surface90.main,\n      fontWeight: \"500\",\n    },\n    groupCount: {\n      fontSize: \"20px\",\n      color: theme.palette.surface60.main,\n    },\n    truncateText: {\n      whiteSpace: \"nowrap\",\n      maxWidth: \"250px\",\n      overflow: \"hidden\",\n      textOverflow: \"ellipsis\",\n    },\n  };\n\n  const tableCols = [\n    {\n      id: 1,\n      title: \"Name\",\n      render: (data) => (\n        <Box sx={styles.docName}>\n          <LogoWrapper\n            src={getIconForKey(\"data_loader\", data?.loader_type)}\n            alt=\"source\"\n            height=\"20px\"\n            bgColor=\"#2E3351\"\n          />\n          <Box sx={styles.name}>\n            <Tooltip title={data?.name}>\n              <div>\n                <Typography\n                  variant=\"body2\"\n                  color={theme.palette.surface60.main}\n                  sx={styles.truncateText}\n                >\n                  {getFileName(data?.name)}\n                </Typography>\n              </div>\n            </Tooltip>\n            <Typography variant=\"tooltip\" color={theme.palette.surface50.main}>\n              {formatBytes(data?.doc_size) || \"-\"}\n            </Typography>\n          </Box>\n        </Box>\n      ),\n    },\n    {\n      id: 2,\n      title: \"Snippets with Impact\",\n      render: (data) => {\n        const count =\n          data?.snippet_count?.sensitive?.count ||\n          data?.snippet_count?.harmful?.count;\n        const tag =\n          data?.snippet_count?.sensitive?.count > 0\n            ? \"Sensitive\"\n            : data?.snippet_count?.hamrful?.count > 0\n            ? \"Harmful\"\n            : \"\";\n        const labels =\n          data?.snippet_count?.sensitive?.labels ||\n          data?.snippet_count?.harmful?.labels;\n        const color = TagColorMapping[tag];\n\n        return (\n          <Box sx={{ ...styles.name, ...styles.snippetCol }}>\n            <Box sx={styles.snippet}>\n              <Typography sx={{ ...styles.manrope, ...styles.snippetCount }}>\n                {count}\n              </Typography>\n              <Typography variant=\"body2\" color={theme.palette.surface60.main}>\n                {tag}\n              </Typography>\n              {color && <ColorBadge color={color} />}\n            </Box>\n            {labels?.length > 0 ? (\n              <Tooltip\n                title={labels?.join(\", \")}\n                children={\n                  <div>\n                    <Typography\n                      variant=\"caption\"\n                      color={theme.palette.surface50.main}\n                    >\n                      {getFirstNValue(labels, 1)}\n                    </Typography>\n                  </div>\n                }\n              />\n            ) : null}\n          </Box>\n        );\n      },\n    },\n    {\n      id: 3,\n      title: \"Groups with Access\",\n      render: (data) => {\n        return (\n          <Box sx={{ ...styles.name, ...styles.snippetCol }}>\n            <Box sx={{ ...styles.snippet, ...styles.groups }}>\n              <Typography sx={{ ...styles.groupCount, ...styles.manrope }}>\n                {data?.access_groups?.length || 0}\n              </Typography>\n              {/*{data?.overprovisioned ? <Chip label=\"Over-Provisioned\" /> : \"\"}*/}\n            </Box>\n            {data?.access_groups?.length ? (\n              <Tooltip\n                title={data?.access_groups?.join(\", \")}\n                children={\n                  <div>\n                    <Typography\n                      variant=\"caption\"\n                      color={theme.palette.surface50.main}\n                    >\n                      {getFirstNValue(data?.access_groups, 1)}\n                    </Typography>\n                  </div>\n                }\n              />\n            ) : null}\n          </Box>\n        );\n      },\n    },\n  ];\n\n  const gotoDocument = async (doc: { id: string[] }) => {\n    const docId = doc?.id?.length ? doc?.id[0] : \"\";\n    if (docId) history.push(`/documents/${docId}`);\n  };\n\n  const cardData = useMemo(\n    () => ({\n      \"impacted-docs\": {\n        title: \"Most Impacted Documents\",\n        children: (\n          <CustomTable\n            onRowClick={gotoDocument}\n            tableCols={tableCols}\n            tableData={impactedDocs}\n            tableHeight=\"500px\"\n          />\n        ),\n      },\n    }),\n    [impactedDocs]\n  );\n\n  const fetchImpactedDocs = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      count: SHOW_DOCUMENTS_COUNT,\n    };\n    const response = await dispatch(fetchImpactedDocumentsSlice(payload));\n    if (response?.payload) {\n      const docList = Object.keys(response?.payload?.data).map((key) => ({\n        name: key,\n        ...response?.payload?.data[key],\n      }));\n      setImpactedDocs(docList);\n    } else {\n      setImpactedDocs([]);\n    }\n    setIsLoading(false);\n  };\n\n  const gotoAllDocuments = async () => {\n    history.push(\"/documents\");\n  };\n\n  useEffect(() => {\n    fetchImpactedDocs();\n  }, []);\n\n  return (\n    <CardWithAction\n      cardData={cardData}\n      buttonTitle=\"View All\"\n      onClick={gotoAllDocuments}\n      isLoading={isLoading}\n    />\n  );\n};\n\nexport default DocumentCard;\n","import { ReactNode, useEffect, useState } from \"react\";\nimport Box from \"./Box\";\nimport { useTheme } from \"@mui/material\";\nimport * as d3 from \"d3\";\nimport NoData from \"./NoData\";\n\ninterface CustomTreeMapProps {\n  id: string;\n  colorScale: any;\n  data: any;\n  noDataText?: string;\n  graphHeight?: number;\n  graphWidth?: number;\n  tooltipContent?: (node: any) => JSX.Element;\n}\n\nconst CustomTreeMap = ({\n  id,\n  colorScale,\n  data,\n  noDataText = \"\",\n  graphHeight = 400,\n  graphWidth,\n  tooltipContent,\n}: CustomTreeMapProps) => {\n  const [coords, setCoords] = useState<{\n    x: number;\n    y: number;\n    data: {};\n  } | null>(null);\n  const theme = useTheme();\n  const styles = {\n    container: {\n      height: \"60%\",\n      width: \"100%\",\n      overflow: \"hidden\",\n      display: \"flex\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n    },\n    tooltip: {\n      position: \"absolute\",\n      zIndex: 1,\n      padding: theme.spacing(1),\n      borderRadius: \"50px\",\n      top: coords?.y ? coords.y + 20 + \"px\" : 0,\n      left: coords?.x + \"px\" || 0,\n    },\n  };\n\n  var root: any =\n    data?.length > 0\n      ? d3\n          .stratify()\n          .id(function (d: any) {\n            return d.id;\n          })\n          .parentId(function (d: any) {\n            return d.parent;\n          })(data)\n      : null;\n\n  if (root)\n    root.sum(function (d: any) {\n      return +d.value;\n    });\n\n  const values = data?.length\n    ? data?.map((d) => (d?.value ? Number(d?.value) : NaN))\n    : [];\n  const minValue = d3.min(values);\n  const [min, max] = d3.extent(values);\n\n  const drawTreeMap = () => {\n    const element = d3.selectAll(`.${id}`);\n    element.selectAll(\"svg\").remove();\n    var margin = { top: 0, right: 0, bottom: 0, left: 0 },\n      height = graphHeight - margin.top - margin.bottom;\n    const parentWidth =\n      document.getElementsByClassName(`${id}-parent`)[0]?.clientWidth || 300;\n    const width = parentWidth - margin.left - margin.right;\n\n    var svg = d3\n      .select(`#${id}`)\n      .append(\"svg\")\n      .attr(\"width\", width + margin.left + margin.right)\n      .attr(\"height\", height + margin.top + margin.bottom)\n      .append(\"g\")\n      .attr(\"transform\", \"translate(\" + margin.left + \",\" + margin.top + \")\");\n\n    d3.treemap().size([width, height]).padding(1)(root);\n\n    const adjustTooltipX = (x) => {\n      const tooltipMargin = 200;\n      const boundingCoords = document\n        .querySelector(`.${id}-parent`)\n        ?.getBoundingClientRect();\n\n      const tooltipSpacing = tooltipMargin ? tooltipMargin - 100 : 0;\n      const xCoord = boundingCoords?.right\n        ? boundingCoords?.right - x < 250\n          ? x - (!tooltipMargin ? 180 : 90 + tooltipSpacing)\n          : x\n        : x;\n\n      return xCoord;\n    };\n\n    var showTooltip = function (event, d, applyStyle = true) {\n      if (applyStyle) {\n        d3.select(`#rect-${d.id}`).attr(\"rx\", 6).attr(\"ry\", 6);\n        d3.select(`#rect-${d.id}`).style(\"stroke\", \"white\");\n      }\n      const xPos = adjustTooltipX(event.pageX);\n      const yPos = event.pageY;\n\n      setCoords({ x: xPos, y: yPos, data: d?.data });\n    };\n\n    var hideTooltip = function (event, d) {\n      setCoords(null);\n      d3.select(`#rect-${d.id}`).attr(\"rx\", 0).attr(\"ry\", 0);\n      d3.select(`#rect-${d.id}`).style(\"stroke\", \"none\");\n    };\n\n    var moveTooltip = function (event, d) {\n      const xPos = adjustTooltipX(event.pageX);\n      const yPos = event.pageY;\n      setCoords({ x: xPos, y: yPos, data: d?.data });\n    };\n\n    const groups = svg\n      .selectAll(\"g\")\n      .data(root.leaves())\n      .enter()\n      .append(\"g\")\n      .on(\"mouseenter\", showTooltip)\n      .on(\"mouseleave\", hideTooltip)\n      .on(\"mousemove\", moveTooltip)\n      .on(\"click\", (event, d) => {});\n\n    groups\n      .append(\"rect\")\n      .attr(\"id\", (d: any) => `rect-${d.data.id}`)\n      .attr(\"class\", (d: any) =>\n        Number(d.data.value) >= Number(10) ? \"rect-text\" : \"rect-no-text\"\n      )\n      .attr(\"x\", function (d: any) {\n        return d.x0;\n      })\n      .attr(\"y\", function (d: any) {\n        return d.y0;\n      })\n      .attr(\"width\", function (d: any) {\n        return d.x1 - d.x0;\n      })\n      .attr(\"height\", function (d: any) {\n        return d.y1 - d.y0;\n      })\n      .style(\"stroke\", \"black\")\n      .style(\"fill\", (d: any) => colorScale(d.data.tag));\n\n    // and to add the text labels\n    groups\n      .append(\"foreignObject\")\n      .attr(\"x\", function (d: any) {\n        return d.x0 + 5;\n      }) // +10 to adjust position (more right)\n      .attr(\"y\", function (d: any) {\n        return d.y0 + 5;\n      }) // +20 to adjust position (lower)\n      .attr(\"width\", (d: any) => d.x1 - d.x0 - 5)\n      .attr(\"height\", (d: any) => d.y1 - d.y0 - 5)\n      .append(\"xhtml:p\")\n      .style(\"fill\", \"black\")\n      .html((d: any) => {\n        const width = d.x1 - d.x0 - 5;\n        const height = d.y1 - d.y0;\n        return /*html*/ `<div class=\"treemap-rect\">\n            <div class=\"treemap-rect-header\">\n              ${\n                d.data.violation\n                  ? '<div class=\"treemap-error-badge\"></div>'\n                  : \"\"\n              }\n              ${\n                width > 60\n                  ? `<div class=\"treemap-rect-label\">${d.data.label}</div>`\n                  : \"\"\n              }\n            </div>\n            ${\n              height > 30 && width > 60\n                ? `<div class=\"treemap-rect-value\">${`${\n                    d.data.value <= 9 ? \"0\" : \"\"\n                  }${d.data.value}`}</div>`\n                : \"\"\n            }\n          </div>`;\n      });\n  };\n\n  useEffect(() => {\n    if (data?.length > 1) drawTreeMap();\n  }, [data]);\n\n  return (\n    <Box sx={styles.container} className={`${id}-parent`}>\n      {data?.length > 1 ? (\n        <>\n          <div id={id} className={id}></div>\n          {coords && tooltipContent ? (\n            <Box sx={styles.tooltip}>\n              <div className=\"treemap-tooltip\">\n                {tooltipContent(coords.data)}\n              </div>\n            </Box>\n          ) : null}\n        </>\n      ) : (\n        <NoData customText={noDataText} />\n      )}\n    </Box>\n  );\n};\n\nexport default CustomTreeMap;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport Typography from \"./Typography\";\n\nexport interface Props {\n  color: string;\n  label: string;\n  textColor?: string;\n}\n\nconst LegendWithColor = ({ color, label, textColor = \"\" }: Props) => {\n  const theme = useTheme();\n  const styles = {\n    rowBadge: (color: string) => ({\n      width: \"8px\",\n      height: \"8px\",\n      borderRadius: \"50%\",\n      backgroundColor: color,\n    }),\n    legendLabel: {\n      display: \"flex\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n      gap: theme.spacing(0.75),\n    },\n    labelText: {\n      whiteSpace: \"nowrap\",\n    },\n  };\n\n  return (\n    <Box sx={styles.legendLabel}>\n      <Box sx={styles.rowBadge(color)}></Box>\n      <Typography\n        variant=\"caption\"\n        sx={styles.labelText}\n        color={textColor !== \"\" ? textColor : theme.palette.surface40.main}\n      >\n        {label}\n      </Typography>\n    </Box>\n  );\n};\n\nexport default LegendWithColor;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport ColorBadge from \"../../common/ColorBadge\";\nimport { TagColorMapping } from \"../../constants/constants\";\nimport { capitalizeFirstLetter } from \"../../../utils/utils\";\n\nconst SnippetByLabelsTooltip = ({ node }) => {\n  const theme = useTheme();\n  const styles = {\n    tooltip: {\n      width: \"150px\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      borderRadius: \"4px\",\n      padding: theme.spacing(1),\n    },\n    name: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    flex: {\n      display: \"flex\",\n      alignItems: \"baseline\",\n      gap: theme.spacing(1),\n    },\n    alignItemsCenter: {\n      alignItems: \"center\",\n    },\n  };\n  return (\n    <Box sx={styles.tooltip}>\n      <Box sx={styles.name}>\n        <Typography variant=\"caption\" color={theme.palette.surfaceMain.main}>\n          {node?.label}\n        </Typography>\n        {node?.tag ? (\n          <Box sx={{ ...styles.flex, ...styles.alignItemsCenter }}>\n            <ColorBadge color={TagColorMapping[node.tag]} />\n            <Typography\n              variant=\"tooltip\"\n              color={theme.palette.surfaceMain.main}\n            >\n              {capitalizeFirstLetter(node.tag)}\n            </Typography>\n          </Box>\n        ) : null}\n      </Box>\n      <Box sx={styles.flex}>\n        <Typography variant=\"body1\" color={theme.palette.surfaceMain.main}>\n          {node?.value}\n        </Typography>\n        <Typography variant=\"caption\" color={theme.palette.surfaceMain.main}>\n          Snippets\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default SnippetByLabelsTooltip;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\n\nconst DatasourcesTooltip = ({ node }) => {\n  const theme = useTheme();\n  const styles = {\n    tooltip: {\n      width: \"150px\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      borderRadius: \"4px\",\n      padding: theme.spacing(1),\n    },\n    flex: {\n      display: \"flex\",\n      alignItems: \"baseline\",\n      gap: theme.spacing(1),\n    },\n  };\n  return (\n    <Box sx={styles.tooltip}>\n      <Typography variant=\"caption\" color={theme.palette.surfaceMain.main}>\n        {node?.label}\n      </Typography>\n      <Box sx={styles.flex}>\n        <Typography variant=\"body1\" color={theme.palette.surfaceMain.main}>\n          {node?.value}\n        </Typography>\n        <Typography variant=\"caption\" color={theme.palette.surfaceMain.main}>\n          Documents\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default DatasourcesTooltip;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport CustomTreeMap from \"../common/CustomTreeMap\";\nimport LegendWithColor from \"../common/LegendWithColor\";\nimport Typography from \"../common/Typography\";\nimport CardWithAction from \"./CardWithAction\";\nimport { CardDataObj } from \"./type\";\nimport { TagColorMapping } from \"../constants/constants\";\nimport { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  fetchDocumentBySourcesSlice,\n  fetchSnippetsByLabelsSlice,\n} from \"../../redux/slices/documentSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { capitalizeFirstLetter } from \"../../utils/utils\";\nimport { AppDispatch } from \"../../redux/store\";\nimport SnippetByLabelsTooltip from \"./treemap-tooltips/SnippetsByLabelsTooltip\";\nimport DatasourcesTooltip from \"./treemap-tooltips/DatasourcesTooltip\";\n\nexport interface TreeMapNode {\n  label: string;\n  id: string;\n  value: number;\n  parent: string;\n  tag?: string;\n}\n\nconst SnippetsByLabels = () => {\n  const [docBySources, setDocBySources] = useState<Array<TreeMapNode> | null>(\n    null\n  );\n  const [snippetsByLabels, setSnippetsByLabels] =\n    useState<Array<TreeMapNode> | null>();\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const styles = {\n    card: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    graphContainer: {\n      paddingX: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.25),\n    },\n    legends: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    cardTitle: {\n      fontSize: \"13px\",\n      fontWeight: theme.typography.fontWeightMedium,\n    },\n  };\n\n  const fetchDocsBySourcese = async (payload) => {\n    const response = await dispatch(fetchDocumentBySourcesSlice(payload));\n    if (response?.payload?.data) {\n      const formattedList = Object.keys(response.payload.data)?.map(\n        (item, index) => ({\n          id: `docs-by-sources-${index}`,\n          value: response.payload.data[item],\n          parent: \"P1\",\n          label: item,\n        })\n      );\n\n      setDocBySources([\n        { id: \"P1\", value: 0, parent: \"\", label: \"P1\" },\n        ...formattedList,\n      ]);\n    }\n  };\n\n  const fetchSnippetsByLabels = async (payload) => {\n    const response = await dispatch(fetchSnippetsByLabelsSlice(payload));\n    if (response?.payload?.data) {\n      const formattedList = Object.keys(response.payload.data)?.map(\n        (item, index) => ({\n          id: `snippets-by-labels-${index}`,\n          value: response.payload.data[item]?.count,\n          tag: response.payload.data[item]?.tag,\n          parent: \"P1\",\n          label: item,\n        })\n      );\n      setSnippetsByLabels([\n        { id: \"P1\", value: 0, parent: \"\", label: \"P1\" },\n        ...formattedList,\n      ]);\n    }\n  };\n\n  useEffect(() => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    fetchDocsBySourcese(payload);\n    fetchSnippetsByLabels(payload);\n  }, []);\n\n  const cardData: CardDataObj = {\n    snippetsByLabels: {\n      title: \"Snippets by Labels\",\n      children: (\n        <Box sx={styles.card}>\n          <Box sx={styles.graphContainer}>\n            <CustomTreeMap\n              id=\"snippetByLabels\"\n              colorScale={(label) => TagColorMapping[label]}\n              data={snippetsByLabels}\n              noDataText=\"No Snippets Found\"\n              graphHeight={200}\n              tooltipContent={(node) => <SnippetByLabelsTooltip node={node} />}\n            />\n            <Box sx={styles.legends}>\n              {Object.keys(TagColorMapping)?.map((tag) => (\n                <LegendWithColor\n                  color={TagColorMapping[tag]}\n                  label={capitalizeFirstLetter(tag)}\n                />\n              ))}\n            </Box>\n          </Box>\n          <Box sx={styles.graphContainer}>\n            <Typography\n              color={theme.palette.surface80.main}\n              sx={styles.cardTitle}\n            >\n              Documents by Sources\n            </Typography>\n            <Box\n              sx={{\n                paddingBottom: theme.spacing(2),\n              }}\n            >\n              <CustomTreeMap\n                id=\"docBySources\"\n                colorScale={() => \"#3F466D\"}\n                data={docBySources}\n                noDataText=\"No Documents Found\"\n                graphHeight={200}\n                tooltipContent={(node) => <DatasourcesTooltip node={node} />}\n              />\n            </Box>\n          </Box>\n        </Box>\n      ),\n    },\n  };\n\n  return <CardWithAction cardData={cardData} isLoading={false} />;\n};\n\nexport default SnippetsByLabels;\n","import { Grid, useTheme } from \"@mui/material\";\n\nimport Box from \"../common/Box\";\n\nimport Typography from \"../common/Typography\";\nimport { useContext, useEffect, useMemo, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { AppContext } from \"../../context/appContext\";\nimport Loader from \"../common/Loader\";\nimport CardWithAction from \"./CardWithAction\";\nimport { getIconForKey } from \"../../utils/commonUtils\";\nimport { capitalizeFirstLetter } from \"../../utils/utils\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchLLMModelsListingSlice } from \"../../redux/slices/dashboardSlice\";\nimport NoData from \"../common/NoData\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst LLMCard = () => {\n  const theme = useTheme();\n  const history = useHistory();\n  const dispatch = useDispatch<AppDispatch>();\n  const [models, setModels] = useState<any>([]);\n  const [isLoading, setIsLoading] = useState(true);\n\n  const styles = {\n    listing: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      paddingX: theme.spacing(2),\n      paddingBottom: theme.spacing(2),\n      height: \"400px\",\n      overflowY: \"auto\",\n    },\n    card: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      paddingY: theme.spacing(2),\n      paddingLeft: theme.spacing(1),\n      backgroundColor: \"rgba(49, 53, 74, 0.5)\",\n      borderRadius: \"4px\",\n    },\n    details: {\n      width: \"100%\",\n      display: \"grid\",\n      gridTemplateColumns: \"repeat(3, 1fr)\",\n      columnGap: theme.spacing(2),\n    },\n    keyValue: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n  };\n\n  const getModelsData = async (payload: any) => {\n    setIsLoading(true);\n    const res = await dispatch(fetchLLMModelsListingSlice(payload));\n    if (res.payload) {\n      setModels(res.payload?.data);\n    } else {\n      setModels([]);\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    getModelsData(payload);\n  }, []);\n\n  const cardData = useMemo(\n    () => ({\n      llms: {\n        title: \"LLMs\",\n        children: (\n          <Box sx={styles.listing}>\n            {!isLoading ? (\n              models?.length > 0 ? (\n                models.map((model: any) => {\n                  return (\n                    <Box sx={styles.card}>\n                      <img\n                        src={getIconForKey(\"llm\", model?.name)}\n                        alt=\"source\"\n                        height={16}\n                      />\n                      <Box sx={styles.keyValue}>\n                        <Typography\n                          variant=\"body2\"\n                          color={theme.palette.surface60.main}\n                        >\n                          {model?.name}\n                        </Typography>\n                        <Box sx={styles.details}>\n                          <Box sx={styles.keyValue}>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface30.main}\n                            >\n                              Status\n                            </Typography>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface60.main}\n                            >\n                              {model?.status || \"-\"}\n                            </Typography>\n                          </Box>\n                          <Box sx={styles.keyValue}>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface30.main}\n                            >\n                              Category\n                            </Typography>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface60.main}\n                            >\n                              {capitalizeFirstLetter(model?.datastoreType)}\n                            </Typography>\n                          </Box>\n                          <Box sx={styles.keyValue}>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface30.main}\n                            >\n                              Labels\n                            </Typography>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface60.main}\n                            >\n                              {model?.labels || \"-\"}\n                            </Typography>\n                          </Box>\n                        </Box>\n                      </Box>\n                    </Box>\n                  );\n                })\n              ) : (\n                <NoData customText=\"No Data Found\" />\n              )\n            ) : (\n              <Loader />\n            )}\n          </Box>\n        ),\n      },\n    }),\n    [models, isLoading]\n  );\n\n  return <CardWithAction cardData={cardData} />;\n};\n\nexport default LLMCard;\n","import { useEffect, useMemo, useState } from \"react\";\nimport CardWithAction from \"./CardWithAction\";\nimport CustomTable from \"../common/CustomTable\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\nimport { useTheme } from \"@mui/material\";\nimport { useHistory } from \"react-router-dom\";\nimport Bar from \"../common/Bar\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchActiveUsersSlice } from \"../../redux/slices/userSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { AppDispatch } from \"../../redux/store\";\nimport { getPropertyTotalCount } from \"../../utils/commonUtils\";\n\nexport const SHOW_USERS_COUNT = 5;\n\ninterface User {\n  name: string;\n  retrievals: number;\n  applications: any[];\n  sensitive_data_prompts: number;\n  sensitive_data_responses: number;\n}\n\nconst UsersCard = () => {\n  const [userData, setUserData] = useState<Array<User>>([]);\n  const [isLoading, setIsLoading] = useState(false);\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const history = useHistory();\n\n  const styles = {\n    userGroups: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: \"2px\",\n    },\n    chip: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    flex: {\n      display: \"flex\",\n      alignItems: \"baseline\",\n      gap: theme.spacing(1.25),\n      width: \"250px\",\n    },\n  };\n\n  const gotoUserDetails = (user) => {\n    history.push(`/users/${user?.name}`);\n  };\n\n  const tableCols = [\n    {\n      id: 1,\n      title: \"Name\",\n      render: (data) => {\n        return (\n          <Box sx={styles.userGroups}>\n            <Box sx={styles.chip}>\n              <Typography variant=\"body2\" color={theme.palette.surface60.main}>\n                {data?.name}\n              </Typography>\n            </Box>\n          </Box>\n        );\n      },\n    },\n    {\n      id: 2,\n      title: \"Retrievals\",\n      render: (data) => (\n        <Box sx={styles.flex}>\n          <Typography variant=\"h6\" isNumber={true}>\n            {data?.retrievals}\n          </Typography>\n          <Bar\n            isLastBar={false}\n            xLabel={\"\"}\n            barBackColor={theme.palette.surface20.main}\n            barFaceColor={theme.palette.lightMagenta.main}\n            rectWidth={\n              (data?.retrievals /\n                getPropertyTotalCount(Object.values(userData), \"retrievals\")) *\n              100\n            }\n            index={data?.retrievals}\n            totalValue={4}\n            barLabel={\"\"}\n            barValue={data?.retrievals}\n            type={\"\"}\n          />\n        </Box>\n      ),\n    },\n    {\n      id: 3,\n      title: \"Applications\",\n      render: (data) => (\n        <Typography variant=\"h6\" isNumber={true}>\n          {data?.applications?.length}\n        </Typography>\n      ),\n    },\n  ];\n\n  const cardData = useMemo(\n    () => ({\n      users: {\n        title: \"Most Active Users\",\n        children: (\n          <CustomTable\n            tableCols={tableCols}\n            tableData={userData}\n            tableHeight=\"320px\"\n            onRowClick={gotoUserDetails}\n          />\n        ),\n      },\n    }),\n    [userData]\n  );\n\n  const gotoAllUsers = () => {\n    history.push(\"/users\");\n  };\n\n  const fetchActiveUsers = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      count: SHOW_USERS_COUNT,\n    };\n    const response = await dispatch(fetchActiveUsersSlice(payload));\n    if (response?.payload) {\n      const userList = Object.keys(response.payload).map((key) => ({\n        name: key,\n        ...response.payload[key],\n      }));\n      setUserData(userList);\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    fetchActiveUsers();\n  }, []);\n\n  return (\n    <CardWithAction\n      cardData={cardData}\n      buttonTitle=\"View All\"\n      onClick={gotoAllUsers}\n      isLoading={isLoading}\n    />\n  );\n};\n\nexport default UsersCard;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\n\nconst RetrievalsByUserGroupsTooltip = ({ node }) => {\n  const theme = useTheme();\n  const styles = {\n    tooltip: {\n      width: \"200px\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      borderRadius: \"4px\",\n      padding: theme.spacing(1),\n    },\n    flex: {\n      display: \"flex\",\n      alignItems: \"baseline\",\n      gap: theme.spacing(1),\n    },\n    breakWord: {\n      wordBreak: \"break-all\",\n    },\n  };\n  return (\n    <Box sx={styles.tooltip}>\n      <Typography\n        variant=\"caption\"\n        color={theme.palette.surfaceMain.main}\n        sx={styles.breakWord}\n      >\n        {node?.label}\n      </Typography>\n      <Box sx={styles.flex}>\n        <Typography variant=\"body1\" color={theme.palette.surfaceMain.main}>\n          {node?.value}\n        </Typography>\n        <Typography variant=\"caption\" color={theme.palette.surfaceMain.main}>\n          Retrievals\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default RetrievalsByUserGroupsTooltip;\n","import { useEffect, useMemo, useState } from \"react\";\nimport CardWithAction from \"./CardWithAction\";\nimport CustomTreeMap from \"../common/CustomTreeMap\";\nimport NoData from \"../common/NoData\";\nimport { useDispatch } from \"react-redux\";\nimport { getActiveUsersByRetrievalsSlice } from \"../../redux/slices/userSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { TreeMapNode } from \"./SnippetsByLabels\";\nimport Box from \"../common/Box\";\nimport { useTheme } from \"@mui/material\";\nimport { AppDispatch } from \"../../redux/store\";\nimport RetrievalsByUserGroupsTooltip from \"./treemap-tooltips/RetrievalsByUserGroupsTooltip\";\n\nconst ActiveUsersByRetrievals = () => {\n  const dispatch = useDispatch<AppDispatch>();\n  const theme = useTheme();\n  const styles = {\n    content: {\n      paddingX: theme.spacing(2),\n      display: \"flex\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n    },\n  };\n  const [isLoading, setIsLoading] = useState(true);\n  const [userGroups, setUserGroups] = useState<Array<TreeMapNode> | null>(null);\n\n  const fetchUserByRetreivals = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(getActiveUsersByRetrievalsSlice(payload));\n    if (response?.payload) {\n      const userGroupsList = Object.keys(response.payload).map(\n        (key, index) => ({\n          id: `active-users-by-retreivals-${index}`,\n          label: key,\n          parent: \"P1\",\n          value: response.payload[key]?.retrievals,\n        })\n      );\n      setUserGroups([\n        { id: \"P1\", value: 0, parent: \"\", label: \"P1\" },\n        ...userGroupsList,\n      ]);\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    fetchUserByRetreivals();\n  }, []);\n\n  const cardData = useMemo(() => {\n    return {\n      activeUsers: {\n        title: \"Most Active User Groups by Retrievals\",\n        children: (\n          <Box sx={styles.content}>\n            {userGroups && userGroups?.length > 1 ? (\n              <CustomTreeMap\n                id=\"users-groups-by-retrievals\"\n                colorScale={() => \"#3F466D\"}\n                data={userGroups}\n                graphHeight={300}\n                tooltipContent={(node) => (\n                  <RetrievalsByUserGroupsTooltip node={node} />\n                )}\n              />\n            ) : (\n              <NoData customText=\"No Retrievals Data\" />\n            )}\n          </Box>\n        ),\n      },\n    };\n  }, [userGroups]);\n\n  return <CardWithAction isLoading={isLoading} cardData={cardData} />;\n};\n\nexport default ActiveUsersByRetrievals;\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\n/**\n * Fetches loader app overview tab data\n * @param params app name, customer ID, cloud account ID\n * @returns\n */\nexport const fetchLoaderOverview = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/loader/app\", params);\n};\n\n/**\n * Fetches app details\n * @param params\n * @returns\n */\nexport const fetchAppDetails = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/loader/app/detail\", params);\n};\n\n/**\n * Fetches snippet details\n * @param params ref IDs\n * @returns\n */\nexport const fetchSnippets = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/app/snippet\", params);\n};\n\n/**\n * Fetch list of data loaders\n * @param params customerId, count of items to fetch\n * @returns\n */\nexport const fetchLoaderList = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/loader/\", params);\n};\n\nexport const fetchLoaderGraph = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps/graph\", params);\n};\n\nexport const deleteLoaderApp = async (params) => {\n  return axiosDenaliPrivate.delete(\"/api/v1/ai/loader/app\", { data: params });\n};\n\nexport const setLoaderAppDescription = async (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/dataloader/description\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  deleteLoaderApp,\n  fetchAppDetails,\n  fetchLoaderGraph,\n  fetchLoaderList,\n  fetchLoaderOverview,\n  fetchSnippets,\n  setLoaderAppDescription,\n} from \"../apis/dataLoaderAPI\";\n\nconst initialState = {\n  dataLoaderApp: {},\n  loaders: null,\n};\n\nexport const fetchLoaderOverviewSlice = createAsyncThunk(\n  \"loader/overview\",\n  async (params: any) => {\n    const response = await fetchLoaderOverview(params);\n    return response.data;\n  }\n);\n\nexport const fetchLoaderAppDetailsSlice = createAsyncThunk(\n  \"loader/app\",\n  async (params: any) => {\n    const response = await fetchAppDetails(params);\n    return response.data;\n  }\n);\n\nexport const fetchLoaderGraphSlice = createAsyncThunk(\n  \"loader/graph\",\n  async (params: { customerId: string; dataLoaderId: string }) => {\n    const response = await fetchLoaderGraph(params);\n    return response.data;\n  }\n);\n\nexport const fetchSnippetsSlice = createAsyncThunk(\n  \"loader/snippet\",\n  async (params: {\n    customerId: string;\n    dataLoaderId: string;\n    dataSourceId: string;\n    documentId: string;\n    label: string;\n    labelName: string;\n  }) => {\n    const response = await fetchSnippets(params);\n    return response.data;\n  }\n);\n\nexport const fetchLoaderListSlice = createAsyncThunk(\n  \"loader/list\",\n  async (params: { customerId: string; count?: number }) => {\n    const response = await fetchLoaderList(params);\n    return response.data;\n  }\n);\n\nexport const deleteLoaderAppSlice = createAsyncThunk(\n  \"loader/delete\",\n  async (params: { customerId: string; dataLoaderId: string }) => {\n    const response = await deleteLoaderApp(params);\n    return response.data;\n  }\n);\n\nexport const setLoaderAppDescriptionSlice = createAsyncThunk(\n  \"loader/description\",\n  async (params: { customerId: any; id: any; description: any }) => {\n    const response = await setLoaderAppDescription(params);\n    return response.data;\n  }\n);\n\nexport const dataLoaderSlice = createSlice({\n  name: \"dataLoader\",\n  initialState,\n  reducers: {},\n  extraReducers: (builder) => {\n    builder.addCase(fetchLoaderAppDetailsSlice.fulfilled, (state, action) => {\n      state.dataLoaderApp = action.payload;\n    });\n    builder.addCase(fetchLoaderListSlice.fulfilled, (state, action) => {\n      state.loaders = action.payload?.map((app) => ({\n        label: app?.name,\n        value: app?.name,\n      }));\n    });\n  },\n});\n\nexport default dataLoaderSlice.reducer;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\nimport Bar from \"../common/Bar\";\nimport Tooltip from \"../common/Tooltip\";\nimport CardWithAction from \"./CardWithAction\";\nimport {\n  convertYYYYMMDD,\n  formatBytes,\n  getFirstNValue,\n  getIconForKey,\n} from \"../../utils/commonUtils\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { AppDispatch } from \"../../redux/store\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchLoaderListSlice } from \"../../redux/slices/dataLoaderSlice\";\nimport { useHistory } from \"react-router-dom\";\nimport NoData from \"../common/NoData\";\nimport Divider from \"../common/Divider\";\n\nconst SHOW_LOADER_COUNT = 3;\n\nconst DataLoaderWidget = () => {\n  const [dataLoaders, setDataLoaders] = useState<Array<{\n    DataLoaderListingResponse;\n  }> | null>(null);\n  const theme = useTheme();\n  const history = useHistory();\n  const dispatch = useDispatch<AppDispatch>();\n  const styles = {\n    card: (loaderCount) => ({\n      minWidth: \"100%\",\n      overflowX: \"auto\",\n      paddingX: theme.spacing(2),\n      paddingBottom: theme.spacing(2),\n      display: \"grid\",\n      gridTemplateColumns: `repeat(${loaderCount}, minmax(300px, min-content))`,\n      columnGap: theme.spacing(3),\n    }),\n    docName: {\n      width: \"100%\",\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    imgBg: {\n      display: \"flex\",\n      width: \"30px\",\n      height: \"30px\",\n      alignItems: \"center\",\n      justifyContent: \"center\",\n      backgroundColor: theme.palette.surfaceImgBg.main,\n      borderRadius: \"50%\",\n      flexShrink: 0,\n    },\n    name: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n      width: \"100%\",\n    },\n    lastRun: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    keyValue: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"baseline\",\n    },\n    font20: {\n      fontSize: \"20px\",\n    },\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      width: \"100%\",\n    },\n    pointer: {\n      cursor: \"pointer\",\n    },\n    truncateText: {\n      //minWidth: \"290px\",\n      width: \"min-content\",\n      maxWidth: \"calc(100% - 50px)\",\n      overflow: \"hidden\",\n      whiteSpace: \"nowrap\",\n      textOverflow: \"ellipsis\",\n    },\n    emptyState: {\n      paddingBottom: theme.spacing(2),\n    },\n    docSize: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"baseline\",\n    },\n    divider: {\n      height: \"18px\",\n    },\n  };\n\n  const gotoDataLoaderDetailsPage = (dataLoader) => {\n    history.push(`/data-loader/${dataLoader?.id}`);\n  };\n\n  const cardData = useMemo(\n    () => ({\n      dataLoaders: {\n        title: \"Data Loader Activity\",\n        children: dataLoaders?.length ? (\n          <Box\n            sx={styles.card(\n              dataLoaders?.length > 3 ? SHOW_LOADER_COUNT : dataLoaders?.length\n            )}\n          >\n            {dataLoaders?.map((loader: any) => (\n              <Box\n                sx={{ ...styles.flexCol, ...styles.pointer }}\n                onClick={() => gotoDataLoaderDetailsPage(loader)}\n              >\n                <Box sx={styles.docName}>\n                  <Box sx={styles.imgBg}>\n                    <img\n                      src={getIconForKey(\"data_loader\", loader?.type)}\n                      alt=\"source\"\n                      height={\"18px\"}\n                    />\n                  </Box>\n                  <Box sx={styles.name}>\n                    <Tooltip title={loader?.name}>\n                      <div>\n                        <Typography\n                          variant=\"body2\"\n                          color={theme.palette.surface60.main}\n                          sx={styles.truncateText}\n                        >\n                          {loader?.name}\n                        </Typography>\n                      </div>\n                    </Tooltip>\n                  </Box>\n                </Box>\n                <Box sx={styles.lastRun}>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface50.main}\n                  >\n                    Last run:\n                  </Typography>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface70.main}\n                  >\n                    {convertYYYYMMDD(loader.last_updated)}\n                  </Typography>\n                </Box>\n                <Box sx={{ ...styles.flexCol, gap: theme.spacing(1.25) }}>\n                  <Box sx={styles.docSize}>\n                    <Box sx={styles.keyValue}>\n                      <Typography\n                        sx={styles.font20}\n                        color={theme.palette.surface90.main}\n                      >\n                        {loader?.document_count}\n                      </Typography>\n                      <Typography\n                        variant=\"caption\"\n                        color={theme.palette.surface50.main}\n                      >\n                        Documents\n                      </Typography>\n                    </Box>\n                    <Divider orientation=\"vertical\" sx={styles.divider} />\n                    <Box sx={styles.keyValue}>\n                      {/*<Typography\n                        sx={styles.font20}\n                        color={theme.palette.surface90.main}\n                      >\n                        {loader?.doc_size || 0} \n                      </Typography>*/}\n                      <Typography\n                        variant=\"caption\"\n                        color={theme.palette.surface50.main}\n                      >\n                        {formatBytes(loader?.documents_size) || 0}\n                      </Typography>\n                    </Box>\n                  </Box>\n                  {/*<Tooltip\n                  title={\n                    <LoaderTooltip\n                      docs={loader?.docs}\n                      labels={loader?.barDetails}\n                    />\n                  }\n                >\n                  <div>\n                    <SpectrumGraph\n                      width=\"200\"\n                      height=\"8\"\n                      data={loader?.barDetails}\n                    />\n                  </div>\n                </Tooltip>*/}\n                </Box>\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface50.main}\n                >\n                  <Tooltip title={loader?.labels?.join(\", \")}>\n                    <span style={styles.pointer}>\n                      {getFirstNValue(loader?.labels, 2)}\n                    </span>\n                  </Tooltip>\n                </Typography>\n              </Box>\n            ))}\n          </Box>\n        ) : (\n          <Box sx={styles.emptyState}>\n            <NoData customText=\"No Data Loaders\" />\n          </Box>\n        ),\n      },\n    }),\n    [dataLoaders]\n  );\n\n  const getLoadersList = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      count: SHOW_LOADER_COUNT,\n    };\n    const response = await dispatch(fetchLoaderListSlice(payload));\n    if (response?.payload) {\n      setDataLoaders(response.payload);\n    }\n  };\n\n  const gotoDataLoaderListingPage = () => {\n    history.push(\"/data-loaders\");\n  };\n\n  useEffect(() => {\n    getLoadersList();\n  }, []);\n\n  return (\n    <CardWithAction\n      cardData={cardData}\n      buttonTitle=\"View All\"\n      onClick={gotoDataLoaderListingPage}\n    />\n  );\n};\n\nexport default DataLoaderWidget;\n","import \"./HomeV1.scss\";\nimport { fetchDashboardStat } from \"../../redux/slices/dashboardSlice\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { addIndex, colorRiskData } from \"../../utils/dataHandler\";\nimport { useHistory } from \"react-router-dom\";\nimport { isJsonEmpty, numberFormatter } from \"../../utils/utils\";\nimport { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport ImpactedDataStoresPanel from \"../dashboard-widgets/ImpactedDataStoresPanel\";\nimport GeoDistributionCard from \"../dashboard-widgets/GeoDistributionCard\";\nimport PolicyBarChart from \"../dashboard-widgets/PolicyBarChart\";\nimport PolicyStoreDetailsDrawer from \"../policy-store-details-drawer/PolicyStoreDetailsDrawer\";\nimport { useContext } from \"react\";\nimport { AppContext } from \"../../context/appContext\";\nimport ModelAppListCard from \"../dashboard-widgets/ModelAppListCard\";\nimport FindingsCard from \"../dashboard-widgets/FindingsCard\";\nimport ApplicationsCard from \"../dashboard-widgets/ApplicationsCard\";\nimport UserAccessCard from \"../dashboard-widgets/UserAccessCard\";\nimport DocumentCard from \"../dashboard-widgets/DocumentCard\";\nimport SnippetsByLabels from \"../dashboard-widgets/SnippetsByLabels\";\nimport LLMCard from \"../dashboard-widgets/LLMCard\";\nimport UsersCard from \"../dashboard-widgets/UsersCard\";\nimport ActiveUsersByRetrievals from \"../dashboard-widgets/ActiveUsersByRetrievals\";\nimport DataLoaderWidget from \"../dashboard-widgets/DataLoaderWidget\";\n\nconst NewHome = ({ setPath, tab, selectedAccount, isIssueViewVisible }) => {\n  const dispatch = useDispatch();\n  const history = useHistory();\n  const expandedSidebar = useSelector((state) => state.dashboard.sidebar);\n\n  const limit = 10;\n  const [risktype, setRisktype] = useState(\"high\");\n  const [severity, setSeverity] = useState(null);\n  const [selectedFilter, setSelectedFilter] = useState(\"all\");\n  const [page, setPage] = useState(1);\n  const [bars, setBars] = useState([]);\n  const [selectedBar, setSelectedBar] = useState({});\n  const [isBarClicked, setIsBarClicked] = useState(false);\n  const [start, setStart] = useState(1);\n  const [end, setEnd] = useState(10);\n  const [showInfoModal, setShowInfoModal] = useState(false);\n  const [infoModalData, setInfoModalData] = useState(false);\n  const [dataStores, setDatastores] = useState([]);\n  const [issues, setIssues] = useState([]);\n  const [dataRisks, setDataRisks] = useState([]);\n  const [totalDatastoresCount, setTotalDatastoresCount] = useState(0);\n  const [issuesCount, setIssuesCount] = useState(0);\n  const [datastoreIds, setDatastoreIds] = useState([]);\n  const [hoveredDatastoreIds, setHoveredDatastoreIds] = useState([]);\n  const [datastore, setDatastore] = useState({});\n  const [loading, setLoading] = useState(false);\n  const [datastoresLoading, setDatastoresLoading] = useState(false);\n  const [riskplotLoading, setRiskplotLoading] = useState(false);\n  const [filteredDatastores, setFiltersDatastores] = useState([]);\n  const [filteredPolicyDatastores, setPolicyFiltersDatastores] = useState([]);\n  const [stats, updateStats] = useState([]);\n  const showShadowAI = localStorage.getItem(\"showShadowAI\");\n  const [dashboardCards, setDashboardCards] = useState([\n    {\n      id: \"sensitive\",\n      title: \"Sensitive Data\",\n      count: 0,\n      clickable: true,\n    },\n    {\n      id: \"SHADOW\",\n      title: \"Shadow Data Store\",\n      count: 0,\n      clickable: true,\n    },\n    {\n      id: \"SHADOW_AI\",\n      title: \"Shadow AI\",\n      count: 0,\n      clickable: true,\n    },\n    {\n      id: \"violatingPolicies\",\n      title: \"Violating Policies\",\n      count: 0,\n    },\n    {\n      id: \"cloudEnvIssues\",\n      title: \"Cloud Risk Exposures\",\n      count: 0,\n    },\n  ]);\n\n  const riskPlot = useSelector((state) => state.dashboard.riskPlot);\n  const [breachCost, setBreachCost] = useState(0);\n\n  const firstAccountStatus = useSelector(\n    (state) => state.dashboard.firstAccountStatus\n  );\n  const accountAvailable = useSelector(\n    (state) => state.account.accountAvailable\n  );\n\n  const nextPage = () => {\n    setPage(page + 1);\n  };\n\n  const prevPage = () => {\n    setPage(page - 1);\n  };\n\n  const getDashboardStats = async (selectedAccount) => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n    };\n    let resp = await dispatch(fetchDashboardStat(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      updateStats(resp.payload);\n    }\n  };\n\n  useEffect(() => {\n    updateCards();\n  }, [stats]);\n\n  const updateCards = () => {\n    let updatedstats = [...dashboardCards];\n\n    const data = stats?.inventory?.data;\n    const violatingPolicyCount = stats?.inventory?.policy?.stores;\n    if (data) {\n      updatedstats.map((card) => {\n        switch (card.id) {\n          case \"sensitive\":\n            card.count = data[card.id] ? data[card.id] : 0;\n            break;\n          case \"SHADOW\":\n            card.count = data[\"shadow\"] ? data[\"shadow\"] : 0;\n            break;\n          case \"SHADOW_AI\":\n            card.count = data[\"shadowAI\"] ? data[\"shadowAI\"] : 0;\n            break;\n          case \"cloudEnvIssues\":\n            card.count = data[card.id] ? data[card.id] : 0;\n            break;\n          case \"violatingPolicies\":\n            card.count = violatingPolicyCount;\n\n            break;\n          default:\n        }\n      });\n    }\n    if (showShadowAI == \"false\") {\n      updatedstats = updatedstats.filter((card) => card.title !== \"Shadow AI\");\n    }\n    setDashboardCards([...updatedstats]);\n  };\n\n  const theme = useTheme();\n\n  const styles = {\n    pageParent: {\n      display: \"flex\",\n      width: \"100%\",\n      height: \"auto\",\n    },\n    sideBar: {\n      display: \"flex\",\n      justifyContent: \"center\",\n      minWidth: \"52px\",\n      borderRight: `1px solid ${theme.palette.surfaceMain.main}`,\n    },\n    homeContainer: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    contentPanel: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      paddingBottom: theme.spacing(2),\n    },\n    contentRow1: {\n      display: \"flex\",\n      width: \"100%\",\n      gap: theme.spacing(2),\n    },\n    donutCardContainer: {\n      overflow: \"visible\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      width: \"70%\",\n      display: \"flex\",\n    },\n    usageRiskContainer: {\n      minWidth: \"30%\",\n      width: \"30%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    barContainer: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    barCard: {\n      width: \"100%\",\n      paddingY: theme.spacing(1),\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n    },\n    cardBgColor: {\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      paddingTop: theme.spacing(2),\n      paddingBottom: theme.spacing(1),\n    },\n    insightsBar: {\n      width: \"24px\",\n      display: \"flex\",\n      justifyContent: \"end\",\n    },\n    logo: {\n      marginTop: \"22px\",\n      cursor: \"pointer\",\n    },\n    geoCard: {\n      width: \"100%\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n    },\n    geoDetailsCard: {\n      width: \"40%\",\n      marginLeft: \"auto\",\n    },\n    frameworkList: {\n      width: \"70%\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n    },\n    dashboardRow2: {\n      width: \"100%\",\n      display: \"grid\",\n      gridTemplateColumns: \"calc(70% - 16px) 30%\",\n      columnGap: theme.spacing(2),\n      minHeight: \"300px\",\n    },\n    dashboardRow30_70: {\n      width: \"100%\",\n      display: \"grid\",\n      gridTemplateColumns: \"calc(30% - 16px) 70%\",\n      columnGap: theme.spacing(2),\n      minHeight: \"300px\",\n    },\n    cardBackground: {\n      minWidth: \"100%\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      //padding: theme.spacing(2),\n      //paddingTop: theme.spacing(1.5),\n    },\n    stickyPanel: {\n      padding: `16px 0 16px 0`,\n      position: \"sticky\",\n      top: \"76px\",\n      mixBlendMode: \"inherit\",\n      background: theme.palette.surface0.main,\n      zIndex: 100,\n      marginTop: \"-16px\",\n    },\n    loaderCard: {\n      width: \"100%\",\n      backgroundColor: theme.palette.surface10.main,\n    },\n  };\n\n  const { openPolicyStoreDetailDrawer, setOpenPolicyStoreDetailDrawer } =\n    useContext(AppContext);\n\n  useEffect(() => {\n    if (riskPlot) {\n      let data = riskPlot;\n      if (!data || isJsonEmpty(data)) return;\n      data = colorRiskData(addIndex(data));\n      setDataRisks(data);\n    }\n  }, [riskPlot]);\n\n  const vulDatastores = () => {\n    let vunerabilityDataStores_ = issues;\n    if (severity) {\n      vunerabilityDataStores_ = issues.filter((i) => severity === i.severity);\n    }\n    const data = vunerabilityDataStores_.slice(start - 1, end);\n    return data;\n  };\n\n  const datastores = () => {\n    let data_ = dataStores;\n    if (severity) {\n      data_ = dataStores.filter((i) => severity === i.severity);\n    }\n    const data = data_.slice(start - 1, end);\n    return data;\n  };\n\n  const handleBarData = () => {\n    const data = tab === 2 ? vulDatastores() : datastores();\n    setBars(data);\n    sessionStorage.setItem(\"selected_bar\", JSON.stringify(data[0]));\n  };\n\n  const handleInfoModal = (visible, data) => {\n    setInfoModalData(data);\n    setShowInfoModal(visible);\n  };\n\n  useEffect(() => {\n    setPath(window.location.pathname);\n    document.title = \"Daxa - Dashboard\";\n  }, []);\n\n  return (\n    <Box sx={styles.pageParent}>\n      <Box sx={styles.homeContainer}>\n        <Box sx={styles.contentPanel}>\n          <Box sx={{ ...styles.contentRow1, gap: 0, ...styles.stickyPanel }}>\n            <ImpactedDataStoresPanel />\n          </Box>\n          <Box sx={{ ...styles.dashboardRow2, marginTop: \"-16px\" }}>\n            <Box sx={styles.cardBackground}>\n              <DocumentCard />\n            </Box>\n            <Box sx={styles.cardBackground}>\n              <SnippetsByLabels />\n            </Box>\n          </Box>\n          <Box sx={styles.geoCard}>\n            <DataLoaderWidget />\n          </Box>\n          <Box sx={styles.dashboardRow2}>\n            <Box sx={styles.cardBackground}>\n              <ApplicationsCard />\n            </Box>\n            <Box sx={styles.cardBackground}>\n              <LLMCard />\n            </Box>\n          </Box>\n          <Box sx={styles.dashboardRow2}>\n            <Box sx={styles.cardBackground}>\n              <UsersCard />\n            </Box>\n            <Box sx={styles.cardBackground}>\n              <ActiveUsersByRetrievals />\n            </Box>\n          </Box>\n          {/*<Box sx={styles.contentRow1}>\n            <Box sx={styles.geoCard}>\n              <GeoDistributionCard />\n            </Box>\n          </Box>*/}\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default NewHome;\n","import React, { useEffect, useState } from \"react\";\nimport PDFDOC from \"../../assets/CD-Wiz-UserGuide.pdf\";\nimport \"./style.scss\";\n\nconst Doc = ({}) => {\n  return (\n    <div className=\"doc-container\">\n      <div className=\"doc pb-2\">\n        <h3 className=\"mb-5 font-weight-bold\">Wiz Integration</h3>\n\n        <h4 className=\"mt-5 mb-3\">1. Overview</h4>\n        <p>\n          Wiz and Cloud Defense will share prioritized security findings with\n          the data context to enable our customers to better prioritize security\n          efforts and reduce the burden of audits and remediations. With a\n          combined Cloud Defense and Wiz solution, there will only be a single\n          IT ticket. Once the ticket is generated by either product, Cloud\n          Defense adds additional security findings to the ticket in the form of\n          sensitive data value, an attack path and much more. These insights\n          play a critical role in justifying the security efforts needed by\n          DevSecOps, cloud engineering and data teams to resolve the ticket.\n        </p>\n        <p>\n          This document describes the steps to prepare the Wiz service account\n          and enable Wiz integration in Cloud Defense dashboard.\n        </p>\n\n        <h4 className=\"mt-5 mb-3\">2. Before you begin</h4>\n        <p>\n          Make sure you have the following information from your Wiz account:\n        </p>\n        <ul>\n          <li>\n            1. Wiz Service Account with following permissions:{\" \"}\n            <span className=\"monospace ml-2\">\n              create:reports, read:reports and read:vulnerabilities\n            </span>\n          </li>\n          <li>\n            2. Client ID and Client Secret from the Wiz Management Console\n          </li>\n          <li>\n            3. API Endpoint URL under <b>Profile &gt; User Settings</b>. It will\n            be in a format similar to{\" \"}\n            <a href=\"https://api.region.app.wiz.io/graphql\">\n              https://api.&lt;region&gt;.app.wiz.io/graphql\n            </a>\n          </li>\n          <li>\n            4. Authentication Endpoint URL which is either the Amazon Cognito or\n            Auth0 (legacy) endpoint depending on your service account’s identity\n            provider.\n          </li>\n        </ul>\n\n        <h4 className=\"mt-5 mb-3\">\n          3. Configure Wiz integration in Cloud Defense\n        </h4>\n        <p>\n          To configure Wiz integration in Cloud Defense, log into Cloud Defense\n          dashboard and complete the following steps:\n        </p>\n        <ul>\n          <li>\n            ● Navigate to <b>Integrations</b> page from the left menu.\n          </li>\n          <li>\n            ● Click the Wiz logo to add Wiz integration.\n            <ul>\n              <li>\n                ○ Enter the{\" \"}\n                <b>Authentication Endpoint URL, API Endpoint URL, Client ID </b>{\" \"}\n                and <b>Client Secret </b>values prepared in the previous step\n              </li>\n              <li>\n                ○ Click <b>Submit</b> to enable the integration\n              </li>\n            </ul>\n          </li>\n        </ul>\n\n        <p>To view the status of Wiz integration in Cloud Defense:</p>\n\n        <ul>\n          <li>\n            ● Navigate to <b>Integration</b> page from the left menu.\n          </li>\n          <li>\n            ● Click <b>View</b> icon on the Wiz tile to see the status, last\n            synced date and time, and the number of vulnerabilities synced.\n          </li>\n        </ul>\n\n        <p>To delete the Wiz integration in Cloud Defense:</p>\n        <ul>\n          <li>\n            ● Navigate to <b>Integrations</b> page from the left menu.\n          </li>\n          <li>\n            ● Click <b>Delete</b> icon on the Wiz tile to confirm an delete the\n            integration.\n          </li>\n        </ul>\n\n        <h4 className=\"mt-5 mb-3\">\n          4. Wiz findings in Cloud Defense dashboard{\" \"}\n        </h4>\n\n        <p>\n          To locate the vulnerabilities from Wiz in Cloud Defense dashboard:\n        </p>\n        <ul className=\"mb-5\">\n          <li>\n            ● Navigate to <b>Issues</b> page from the left menu.\n          </li>\n          <li>\n            ● Enter the string Wiz in the <b>Search</b> text field to filter the\n            issues retrieved from Wiz\n          </li>\n          <li>\n            ● Click one or more of the Wiz Issues to understand how it affects\n            security of sensitive datastores mapped out by Cloud Defense.\n          </li>\n          <li>\n            ● Further drill down the details on specific security issue by\n            clicking the link back to the Wiz portal.\n          </li>\n        </ul>\n      </div>\n    </div>\n  );\n};\n\nexport default Doc;\n","export default __webpack_public_path__ + \"static/media/CD-Wiz-UserGuide.9eb9478d.pdf\";","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\n\nexport const CardWrapper = ({ children }) => {\n  const theme = useTheme();\n  const styles = {\n    cardWrapperStyle: {\n      backgroundColor: theme.palette.surface10?.main,\n      padding: theme.spacing(2.5),\n      borderRadius: 1,\n      width: \"100%\",\n    },\n  };\n  return <Box sx={styles.cardWrapperStyle}>{children}</Box>;\n};\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { CardWrapper } from \"../CardWrapper\";\nimport Chip from \"../../common/Chip\";\nimport Tooltip from \"../../common/Tooltip\";\n\nexport const InstanceDetailsCard = ({\n  instanceDetails = {},\n  isManaged,\n  isFineTuned,\n}: {\n  instanceDetails: any;\n  isManaged: boolean;\n  isFineTuned: Boolean;\n}) => {\n  const theme = useTheme();\n  const styles = {\n    instanceDetailsCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.5),\n      width: \"100%\",\n    },\n    cardHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    instanceDetailsCardHeading: {\n      fontSize: \"13px\",\n    },\n    instanceDetailsCardHeader: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n    },\n    instanceDetailsCardDescription: {\n      color: theme.palette.surface80.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightLight,\n      opacity: \"0.5\",\n    },\n    instanceDetailsCardBody: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    instanceDetail: {\n      display: \"flex\",\n    },\n    instanceDetailKey: {\n      color: theme.palette.surface60.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightRegular,\n      width: \"50%\",\n    },\n    instanceDetailValue: {\n      color: theme.palette.surface80.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightRegular,\n      width: \"50%\",\n      \"word-wrap\": \"break-word\",\n    },\n    truncateText: {\n      overflow: \"hidden\",\n      textOverflow: \"ellipsis\",\n      whiteSpace: \"noWrap\",\n      width: \"50%\",\n    },\n  };\n\n  return (\n    <CardWrapper>\n      <Box sx={styles.instanceDetailsCard}>\n        <Box sx={styles.cardHeader}>\n          <Box sx={styles.instanceDetailsCardHeader}>\n            <Typography variant=\"body2\" sx={styles.instanceDetailsCardHeading}>\n              Instance Details\n            </Typography>\n            <Typography sx={styles.instanceDetailsCardDescription}>\n              Post - Trained after downloading\n            </Typography>\n          </Box>\n          <Chip\n            label={isFineTuned ? \"Under Fine-tuning\" : \"Deployed\"}\n            color=\"primary\"\n          />\n        </Box>\n        <Box sx={styles.instanceDetailsCardBody}>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>Account</Typography>\n            <Typography sx={styles.instanceDetailValue}>\n              {instanceDetails?.account || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>Region</Typography>\n            <Typography sx={styles.instanceDetailValue}>\n              {instanceDetails?.region || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>Runtime</Typography>\n            <Typography sx={styles.instanceDetailValue}>\n              {instanceDetails?.runtime || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>\n              {isManaged ? \"Domain\" : \"Host\"}\n            </Typography>\n            <Typography sx={styles.instanceDetailValue}>\n              {isManaged ? instanceDetails?.sagemaker : instanceDetails?.host}\n            </Typography>\n          </Box>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>Size</Typography>\n            <Typography sx={styles.instanceDetailValue}>\n              {instanceDetails?.size || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>Last Used</Typography>\n            <Typography sx={styles.instanceDetailValue}>\n              {instanceDetails?.last_used || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>Endpoint URL</Typography>\n            <Box sx={styles.truncateText}>\n              <Tooltip title={instanceDetails?.endpoint_url}>\n                <div>\n                  <Typography component=\"div\" sx={styles.instanceDetailValue}>\n                    {instanceDetails?.endpoint_url || \"-\"}\n                  </Typography>\n                </div>\n              </Tooltip>\n            </Box>\n          </Box>\n          <Box sx={styles.instanceDetail}>\n            <Typography sx={styles.instanceDetailKey}>Modal Hash</Typography>\n            <Typography sx={styles.instanceDetailValue}>\n              {instanceDetails?.model_hash}\n            </Typography>\n          </Box>\n          {!isManaged && (\n            <Box sx={styles.instanceDetail}>\n              <Typography sx={styles.instanceDetailKey}>Clone</Typography>\n              <Typography sx={styles.instanceDetailValue}>\n                {instanceDetails?.PostTrained?.duplicate_volume?.length > 0\n                  ? instanceDetails?.PostTrained?.duplicate_volume.join(\" \")\n                  : \"-\"}\n              </Typography>\n            </Box>\n          )}\n        </Box>\n      </Box>\n    </CardWrapper>\n  );\n};\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\nexport const fetchPolicyViolations = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps/policyviolations\", params);\n};\n\nexport const fetchDataSourceSnippets = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps/docs/details\", params);\n};\n\nexport const suggestClassificationLabelForPrompt = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/entity/feedback\", params);\n};\n\nexport const suggestClassificationLabelForDoc = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/topic/feedback\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  fetchDataSourceSnippets,\n  fetchPolicyViolations,\n  suggestClassificationLabelForDoc,\n  suggestClassificationLabelForPrompt,\n} from \"../apis/frameworkPageAPI\";\n\nconst initialState = {\n  policyViolations: [],\n  datasource: [],\n};\n\nexport const fetchPolicyViolationsSlice = createAsyncThunk(\n  \"framework/policyViolations\",\n  async (params) => {\n    const response = await fetchPolicyViolations(params);\n    return response.data;\n  }\n);\n\nexport const fetchDataSourceSnippetsSlice = createAsyncThunk(\n  \"framework/datasource\",\n  async (params) => {\n    const response = await fetchDataSourceSnippets(params);\n    return response.data;\n  }\n);\n\nexport const suggestClassificationLabelForPromptSlice = createAsyncThunk(\n  \"framework/suggestPromptLabel\",\n  async (params) => {\n    const response = await suggestClassificationLabelForPrompt(params);\n    return response.data;\n  }\n);\n\nexport const suggestClassificationLabelForDocSlice = createAsyncThunk(\n  \"framework/suggestDocLabel\",\n  async (params) => {\n    const response = await suggestClassificationLabelForDoc(params);\n    return response.data;\n  }\n);\n\n// LLM slice for configuring reducers and actions.\nexport const frameworkPageSlice = createSlice({\n  name: \"framework\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: (builder) => {\n    builder\n      .addCase(fetchPolicyViolationsSlice.fulfilled, (state, action) => {\n        state.policyViolations = action.payload;\n      })\n      .addCase(fetchPolicyViolationsSlice.rejected, (state) => {\n        state.policyViolations = [];\n      })\n      .addCase(fetchDataSourceSnippetsSlice.fulfilled, (state, action) => {\n        state.datasource = action.payload;\n      })\n      .addCase(fetchDataSourceSnippetsSlice.rejected, (state) => {\n        state.datasource = [];\n      });\n  },\n});\n\nexport default frameworkPageSlice.reducer;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../../common/Table\";\nimport { useEffect, useState } from \"react\";\nimport DatastoreTicketModal from \"../../modal/datastore-ticket-modal/DatastoreTicketModal\";\nimport { useHistory } from \"react-router-dom\";\nimport NoData from \"../../common/NoData\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { useParams } from \"react-router-dom\";\nimport { fetchPolicyViolationsSlice } from \"../../../redux/slices/frameworkPageSlice\";\nimport Bar from \"../../common/Bar\";\nimport {\n  convertUTCToLocal,\n  getDateTime,\n  getMaxValue,\n} from \"../../../utils/commonUtils\";\n\nexport interface Props {\n  barColor: string;\n  dataDistribution: Array<{\n    dataType: string;\n    numberOfRecords: number;\n    totalValue: number;\n    impacted: number;\n  }>;\n  isFetchingData: boolean;\n}\n\nexport const PolicyViolationDetailsCard = ({\n  ticketIntegration,\n  refreshPolicies,\n}: {\n  ticketIntegration: any;\n  refreshPolicies?: any;\n}) => {\n  const theme = useTheme();\n  const history = useHistory();\n  const dispatch = useDispatch();\n  const params = useParams();\n  const [ticketModal, setTicketModal] = useState(false);\n  const [ticketModalInfo, setTicketModalInfo] = useState<any>({});\n  const [policyViolationDetails, setPolicyViolationDetails] = useState<any>([]);\n  const [isLoading, setIsLoading] = useState<boolean>(false);\n  const objectId = params.id;\n  const styles = {\n    card: {\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: \"4px\",\n    },\n    policyViolationDetailsCard: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      paddingBottom: theme.spacing(2),\n    },\n    tableCellLast: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1.5),\n    },\n    tableCellAction: {\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      color: theme.palette.primaryBlue.main,\n      cursor: \"pointer\",\n    },\n    tableActionDivider: {\n      height: \"18px\",\n      margin: theme.spacing(0.26, 0),\n      width: \"1px\",\n      background: theme.palette.surface20.main,\n    },\n    moreIcon: {\n      color: theme.palette.primaryBlue.main,\n      width: \"18px\",\n      cursor: \"pointer\",\n    },\n    tableHeader: {\n      \"& .MuiTableCell-head\": {\n        color: theme.palette.surface30.main,\n        fontSize: \"12px\",\n        fontWeight: theme.typography.fontWeightLight,\n      },\n    },\n    tableRow: {\n      \"&:last-child td, &:last-child th\": { border: 0 },\n    },\n    tableBody: {\n      color: theme.palette.surface80.main,\n      fontSize: \"12px\",\n      verticalAlign: \"middle\",\n    },\n    barCell: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(0.5),\n      width: \"80%\",\n      height: \"100%\",\n    },\n    cardHeader: {\n      padding: theme.spacing(2),\n    },\n  };\n\n  const redirectTo = (policy) => {\n    sessionStorage.setItem(\n      \"policy\",\n      JSON.stringify({\n        id: policy?.policyViolationId,\n        title: policy?.policyViolationName,\n        ...policy,\n      })\n    );\n    history.push(`/datastore/policy-violation/${policy?.policyId}`);\n  };\n\n  const getPolicyViolationDetails = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      id: objectId,\n    };\n    const resp = await dispatch(fetchPolicyViolationsSlice(payload));\n    if (resp?.payload?.length > 0) {\n      setPolicyViolationDetails(resp?.payload);\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    getPolicyViolationDetails();\n  }, []);\n\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.policyViolationDetailsCard}>\n        <Box sx={styles.cardHeader}>\n          <Typography variant=\"body2\">Policy Violations</Typography>\n        </Box>\n        <TableContainer>\n          <Table>\n            <TableHead>\n              <TableRow noHover={true}>\n                <TableCell colSpan={2} sx={styles.tableHeader}>\n                  Policy Type\n                </TableCell>\n                <TableCell sx={styles.tableHeader}>\n                  Restricted Messages Count\n                </TableCell>\n                <TableCell sx={styles.tableHeader}>Last Violated</TableCell>\n                <TableCell sx={styles.tableHeader}>Ticket Status</TableCell>\n                {/*<TableCell sx={styles.tableHeader}>Actions</TableCell>*/}\n              </TableRow>\n            </TableHead>\n            <TableBody>\n              {policyViolationDetails?.length > 0 ? (\n                policyViolationDetails?.map((item) => (\n                  <TableRow\n                    //onClick={() => redirectTo(item)}\n                    noHover={true}\n                    //sx={styles.tableRow}\n                  >\n                    <TableCell colSpan={2} sx={styles.tableBody}>\n                      {item?.title}\n                    </TableCell>\n                    <TableCell sx={styles.tableBody}>\n                      <Box sx={styles.barCell}>\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface80.main}\n                        >\n                          {item.sensitiveMessageCount}\n                        </Typography>\n                        <Bar\n                          isLastBar={false}\n                          xLabel={\"\"}\n                          barBackColor={theme.palette.surface20.main}\n                          barFaceColor={theme.palette.lightMagenta.main}\n                          rectWidth={\n                            (item?.sensitiveMessageCount /\n                              getMaxValue(\n                                \"sensitiveMessageCount\",\n                                policyViolationDetails\n                              )) *\n                            100\n                          }\n                          index={3}\n                          totalValue={4}\n                          barLabel={\"\"}\n                          barValue={item?.sensitiveMessageCount}\n                          type={\"\"}\n                        />\n                      </Box>\n                    </TableCell>\n                    <TableCell sx={styles.tableBody}>\n                      {item?.lastViolated\n                        ? getDateTime(convertUTCToLocal(item?.lastViolated))\n                        : \"-\"}\n                    </TableCell>\n                    <TableCell sx={styles.tableBody}>\n                      {item?.ticket_exist ? \"Created\" : \"Not Created\"}\n                    </TableCell>\n                    {/*<TableCell sx={styles.tableBody} width=\"15%\">\n                      <Box sx={styles.tableCellLast}>\n                        <Box>\n                          {item && item.tickets > 0 ? (\n                            <TextButton\n                              startIcon={<img src={JiraIcon} alt=\"jira\" />}\n                              sx={styles.tableCellAction}\n                              onClick={(e) => {\n                                e.stopPropagation();\n                                window.open(item?.url ? item?.url : \"#\");\n                              }}\n                            >\n                              View Ticket\n                            </TextButton>\n                          ) : (\n                            <TextButton\n                              startIcon={<img src={JiraIcon} alt=\"jira\" />}\n                              sx={styles.tableCellAction}\n                              onClick={(e) => {\n                                e.stopPropagation();\n                                if (ticketIntegration) {\n                                  setTicketModal(true);\n                                  setTicketModalInfo({\n                                    policyViolationId: item.policyViolationId,\n                                    datastoreId: item.datastoreId,\n                                  });\n                                }\n                              }}\n                            >\n                              Create Ticket\n                            </TextButton>\n                          )}\n                        </Box>\n                        <Divider\n                          orientation=\"vertical\"\n                          flexItem\n                          sx={styles.tableActionDivider}\n                        />\n                        <MoreVertIcon sx={styles.moreIcon} />\n                      </Box>\n                    </TableCell>*/}\n                  </TableRow>\n                ))\n              ) : (\n                <TableCell colspan=\"6\" borderBottom={false}>\n                  <NoData customText=\"No Data Found.\" />\n                </TableCell>\n              )}\n            </TableBody>\n          </Table>\n        </TableContainer>\n      </Box>\n      {ticketModal && (\n        <DatastoreTicketModal\n          type=\"policy\"\n          refreshDatastores={refreshPolicies}\n          datastoreId={ticketModalInfo.datastoreId}\n          policyViolationId={ticketModalInfo.policyViolationId}\n          handleModal={() => {\n            setTicketModal(false);\n          }}\n        />\n      )}\n    </Box>\n  );\n};\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { CardWrapper } from \"../CardWrapper\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../../common/Table\";\nimport NoData from \"../../common/NoData\";\n\nexport const SensitiveDataDetailsCard = ({\n  sensitiveDetails = [],\n}: {\n  sensitiveDetails: any;\n}) => {\n  const theme = useTheme();\n  const styles = {\n    sensitiveDataDetailCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.5),\n      width: \"100%\",\n    },\n    sensitiveDataDetailsCardHeading: {\n      fontSize: \"13px\",\n    },\n    sensitiveDataDetailCardHeader: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n    },\n    tableHeader: {\n      color: theme.palette.surface80.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightLight,\n    },\n    tableRow: {\n      \"&:last-child td, &:last-child th\": { border: 0 },\n    },\n    tableBody: {\n      color: theme.palette.surface60.main,\n      fontSize: \"12px\",\n      \"&.MuiTableBody-root .MuiTableRow-root:hover\": {\n        backgroundColor: \"none !important\",\n      },\n    },\n    tableBodyRecords: {\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightMedium,\n    },\n    noDataFound: {\n      borderBottom: \"none !important\",\n      padding: 0,\n    },\n  };\n\n  return (\n    <CardWrapper>\n      <Box sx={styles.sensitiveDataDetailCard}>\n        <Box sx={styles.sensitiveDataDetailCardHeader}>\n          <Typography\n            variant=\"body2\"\n            sx={styles.sensitiveDataDetailsCardHeading}\n          >\n            Sensitive Data\n          </Typography>\n        </Box>\n        <TableContainer>\n          <Table aria-label=\"simple table\">\n            <TableHead>\n              <TableRow>\n                <TableCell sx={styles.tableHeader}>Sensitive Tags</TableCell>\n                <TableCell align=\"right\" sx={styles.tableHeader}>\n                  Records\n                </TableCell>\n              </TableRow>\n            </TableHead>\n            <TableBody sx={styles.tableBody}>\n              {sensitiveDetails?.length > 0 ? (\n                sensitiveDetails?.map((item) => (\n                  <TableRow sx={styles.tableRow}>\n                    <TableCell sx={styles.tableBody}>\n                      PII - {item?.PII}\n                    </TableCell>\n                    <TableCell sx={styles.tableBodyRecords} align=\"right\">\n                      {item?.count}\n                    </TableCell>\n                  </TableRow>\n                ))\n              ) : (\n                <TableCell colspan=\"2\" sx={styles.noDataFound}>\n                  <NoData customText=\"No data found.\" />\n                </TableCell>\n              )}\n            </TableBody>\n          </Table>\n        </TableContainer>\n      </Box>\n    </CardWrapper>\n  );\n};\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { CardWrapper } from \"../CardWrapper\";\nimport TextButton from \"../../common/TextButton\";\nimport HuggingFace from \"../../../assets/img/hugging.png\";\nimport Divider from \"../../common/Divider\";\nimport tagIcon from \"../../../assets/img/icons/tagImage.svg\";\nimport Popup from \"reactjs-popup\";\n\nexport const LLMDetailsCard = ({\n  llmDetails = {},\n  tags = [],\n  moreTags = [],\n  onClick,\n}: {\n  llmDetails: any;\n  tags: any;\n  moreTags: any;\n  onClick: () => void;\n}) => {\n  const theme = useTheme();\n  const styles = {\n    llmDetailsCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.5),\n      width: \"100%\",\n    },\n    llmDetailsCardHeader: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n    },\n    llmDetailsCardHeading: {\n      fontSize: \"13px\",\n    },\n    llmDetailsCardDescription: {\n      color: theme.palette.surface80.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightLight,\n      opacity: \"0.5\",\n    },\n    llmDetailsCardBody: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    llmDetailsCardFooter: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      alignItems: \"end\",\n    },\n    llmDetail: {\n      display: \"flex\",\n    },\n    llmDetailKey: {\n      color: theme.palette.surface60.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightRegular,\n      width: \"50%\",\n    },\n    llmDetailValue: {\n      color: theme.palette.surface80.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightRegular,\n      width: \"50%\",\n      h6: {\n        color: theme.palette.surface80.main,\n        fontSize: \"12px\",\n        fontWeight: theme.typography.fontWeightRegular,\n      },\n    },\n    llmFooterDetialsKey: {\n      color: theme.palette.surface80.main,\n      fontSize: \"20px\",\n      fontWeight: theme.typography.fontWeightBold,\n      fontFamily: \"Manrope\",\n    },\n    llmFooterDetialsValue: {\n      color: theme.palette.surface60.main,\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightRegular,\n      \"word-wrap\": \"break-word\",\n    },\n    manageButton: {\n      fontSize: \"12px\",\n      fontWeight: theme.typography.fontWeightMedium,\n    },\n  };\n\n  return (\n    <CardWrapper>\n      <Box sx={styles.llmDetailsCard}>\n        <Box sx={styles.llmDetailsCardHeader}>\n          <Typography variant=\"body2\" sx={styles.llmDetailsCardHeading}>\n            LLM Details\n          </Typography>\n          {/*<Typography sx={styles.llmDetailsCardDescription}>\n            Post - Trained after downloading\n          </Typography>*/}\n        </Box>\n        <Box sx={styles.llmDetailsCardBody}>\n          <Box sx={styles.llmDetail}>\n            <Typography sx={styles.llmDetailKey}>Name</Typography>\n            <Typography sx={styles.llmDetailValue}>\n              {llmDetails?.name || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.llmDetail}>\n            <Typography sx={styles.llmDetailKey}>Basefamily</Typography>\n            <Typography sx={styles.llmDetailValue}>\n              {llmDetails?.base_family || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.llmDetail}>\n            <Typography sx={styles.llmDetailKey}>Framework</Typography>\n            <Typography sx={styles.llmDetailValue}>\n              {llmDetails?.framework || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.llmDetail}>\n            <Typography sx={styles.llmDetailKey}>Owner</Typography>\n            <Typography sx={styles.llmDetailValue}>\n              {llmDetails?.owner || \"-\"}\n            </Typography>\n          </Box>\n          <Box sx={styles.llmDetail}>\n            <Typography sx={styles.llmDetailKey}>Tags</Typography>\n            <Box sx={styles.llmDetailValue}>\n              {/* <Typography>Tag1</Typography> */}\n              <div className=\"row \">\n                {tags.length === 0 ? (\n                  <div className=\"col-md-auto pl-3 p-0\"> N/A </div>\n                ) : (\n                  tags.map((tag, index) => (\n                    <div key={index}>\n                      {index < 3 ? (\n                        <div className=\"col-md-auto pl-3 p-0\">\n                          <span className=\"subvalue-bold data-store-tag\">\n                            <img className=\"mr-1\" src={tagIcon}></img>\n                            <span\n                              title={tag?.label.length > 12 ? tag?.label : \"\"}\n                            >\n                              {tag?.label.length > 12\n                                ? tag?.label.slice(0, 12) + \"...\"\n                                : tag.label || \"\"}\n                            </span>\n                          </span>\n                        </div>\n                      ) : (\n                        \"\"\n                      )}\n                      {/* Adding more tags link */}\n                      {index == 3 && (\n                        <Popup\n                          trigger={(open) => (\n                            <div className=\"col-md-auto pl-3 p-0\">\n                              <span className=\"subvalue-bold more-tags\">\n                                <b>\n                                  <u>more...</u>\n                                </b>\n                              </span>\n                            </div>\n                          )}\n                          position=\"right top\"\n                          closeOnDocumentClick\n                          className=\"top-panel-tags\"\n                        >\n                          <div className=\"header\">Tags</div>\n                          <div className=\"row\">\n                            {moreTags.map((tag, index) => (\n                              <div key={index} className=\"col-md-auto\">\n                                <div className=\"subvalue-bold data-store-tag m-2\">\n                                  <img className=\"mr-2\" src={tagIcon}></img>\n                                  <span\n                                    className=\"subvalue-bold\"\n                                    title={tag.label}\n                                  >\n                                    {tag?.label.length > 25\n                                      ? tag?.label.slice(0, 25) + \"...\"\n                                      : tag.label || \"\"}\n                                  </span>\n                                </div>\n                              </div>\n                            ))}\n                          </div>\n                        </Popup>\n                      )}\n                    </div>\n                  ))\n                )}\n              </div>\n              <TextButton onClick={onClick} sx={styles.manageButton}>\n                Manage Tags\n              </TextButton>\n            </Box>\n          </Box>\n          <Box sx={styles.llmDetail}>\n            <Typography sx={styles.llmDetailKey}>Training Datasets</Typography>\n            <Typography sx={styles.llmDetailValue}>2</Typography>\n          </Box>\n        </Box>\n\n        <Divider />\n        <Box sx={styles.llmDetailsCardFooter}>\n          <Box>\n            <Typography sx={styles.llmFooterDetialsKey}>\n              {llmDetails?.bias_score || \"-\"}\n            </Typography>\n            <Typography sx={styles.llmFooterDetialsValue}>\n              Bias Score\n            </Typography>\n          </Box>\n          <Box>\n            <Typography sx={styles.llmFooterDetialsKey}>\n              {llmDetails?.riskScore || \"-\"}\n            </Typography>\n            <Typography sx={styles.llmFooterDetialsValue}>\n              Toxicity Score\n            </Typography>\n          </Box>\n          <Box>\n            <a\n              target=\"_blank\"\n              href={\"https://huggingface.co/\"}\n              title=\"huggingface.co\"\n              rel=\"noreferrer\"\n            >\n              <img\n                width=\"23px\"\n                height=\"21px\"\n                src={HuggingFace}\n                alt=\"Hug Icon\"\n              />\n            </a>\n            <Typography sx={styles.llmFooterDetialsValue}>Source</Typography>\n          </Box>\n        </Box>\n      </Box>\n    </CardWrapper>\n  );\n};\n","import MUIPaper, { PaperProps } from '@mui/material/Paper';\n\nconst Paper = (props: PaperProps) => {\n  return <MUIPaper {...props} />;\n};\n\nexport default Paper;\n","import {\n  SxProps,\n  Theme,\n  ToggleButtonGroupProps,\n  useTheme,\n} from \"@mui/material\";\nimport type { ToggleButtonProps } from \"@mui/material/ToggleButton\";\nimport MUIToggleButton from \"@mui/material/ToggleButton\";\nimport MUIToggleButtonGroup from \"@mui/material/ToggleButtonGroup\";\nimport Paper from \"./Paper\";\nimport Typography from \"./Typography\";\n\ninterface MUIToggleButtonProps extends ToggleButtonProps {\n  icon?: any;\n  width?: string;\n  endIcon?: any;\n}\n\nconst ToggleButton = ({\n  width,\n  icon,\n  endIcon,\n  ...props\n}: MUIToggleButtonProps) => {\n  const theme = useTheme();\n  const styles: { toggleButtons: SxProps<Theme> | undefined } = {\n    toggleButtons: {\n      \"&.MuiToggleButton-root\": {\n        display: \"flex\",\n        gap: theme.spacing(0.5),\n        backgroundColor: theme.palette.surface0.main,\n        color: theme.palette.surface40.main,\n        textTransform: \"none\",\n        border: \"0.5px solid transparent\",\n        fontWeight: theme.typography.fontWeightMedium,\n        fontSize: theme.typography.caption,\n        padding: theme.spacing(0, 1.5),\n\n        boxSizing: \"border-box\",\n        width: width,\n        \"&:hover\": {\n          backgroundColor: theme.palette.surface0.main,\n        },\n      },\n      \"&.Mui-selected\": {\n        borderColor: `${theme.palette.primaryBlue.main} !important`,\n        color: theme.palette.primaryBlue.main,\n        backgroundColor: theme.palette.surface0.main,\n      },\n    },\n  };\n\n  return (\n    <MUIToggleButton sx={styles.toggleButtons} {...props}>\n      {icon ? icon : \"\"} {props.value} {endIcon ? endIcon : \"\"}\n    </MUIToggleButton>\n  );\n};\n\nexport interface Props extends ToggleButtonGroupProps {\n  options: any[];\n  width?: string;\n}\n\nexport const ToggleButtonGroup = ({ width, options, sx, ...props }: Props) => {\n  const theme = useTheme();\n\n  return (\n    <Paper\n      elevation={0}\n      sx={{\n        backgroundColor: theme.palette.surface10.main,\n        display: \"flex\",\n        height: \"30px\",\n        alignItems: \"center\",\n      }}\n    >\n      <MUIToggleButtonGroup\n        sx={{\n          \"& .MuiToggleButtonGroup-grouped\": {\n            height: \"26px\",\n            display: \"flex\",\n            gap: \"20px\",\n            margin: theme.spacing(0.25),\n            \"&:not(:first-of-type)\": {\n              borderRadius: theme.spacing(0.5),\n            },\n            \"&:first-of-type\": {\n              borderRadius: theme.spacing(0.5),\n            },\n          },\n          ...(sx as any),\n        }}\n        {...props}\n      >\n        {options.map(\n          (option: { id: string; label: string; icon: any; endIcon: any }) => (\n            <ToggleButton\n              key={option.id}\n              value={option?.label}\n              icon={option?.icon}\n              width={width}\n              endIcon={option?.endIcon}\n            />\n          )\n        )}\n      </MUIToggleButtonGroup>\n    </Paper>\n  );\n};\n","import Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { InstanceDetailsCard } from \"./InstanceDetailsCard\";\nimport { PolicyViolationDetailsCard } from \"./PolicyViolationDetailsCard\";\nimport { SensitiveDataDetailsCard } from \"./SensitiveDataDetailsCard\";\nimport { LLMDetailsCard } from \"./LLMDetailsCard\";\nimport { useTheme } from \"@mui/material\";\nimport { useContext, useEffect, useRef, useState } from \"react\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { axiosDenaliPrivate } from \"../../../utils/ApiHandler\";\nimport { useParams } from \"react-router-dom\";\nimport { trainingDataList } from \"../../shadow-llm/training_data\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  listDataStoreTagsAsync,\n  updateDataStoreAsync,\n  fetchLineageGraphDataSlice,\n} from \"../../../redux/slices/dataStoreSlice\";\nimport InsertChartOutlinedIcon from \"@mui/icons-material/InsertChartOutlined\";\nimport TableRowsOutlinedIcon from \"@mui/icons-material/TableRowsOutlined\";\nimport ManageTagsModal from \"../../../components/modal/manage-tags-modal/ManageTagsModal\";\nimport { getPolicyStatsAsync } from \"../../../redux/slices/policySlice\";\nimport { fetchLLMDetailsSlice } from \"../../../redux/slices/dataStoreSlice\";\nimport { Tab, TabPanel, Tabs } from \"../../common/Tabs\";\nimport Button from \"../../common/Button\";\nimport { ToggleButtonGroup } from \"../../common/ToggleButton\";\nimport TrainingDataGraphView from \"../../charts/llm-charts/training-data-graph/TrainingDataGraphView\";\nimport TrainingDataGraphLineageView from \"../../charts/llm-charts/training-data-linear-graph/TrainingDataGraphLineageView\";\nimport Checkbox from \"../../common/Checkbox\";\nimport TranningDataOrchestratorGraph from \"../../charts/llm-charts/training-data-orchestrator/TrainingDataOrchestratorGraph\";\nimport { AppContext } from \"../../../context/appContext\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport {\n  LineageGraphProps,\n  ModelDetailsProps,\n  TrainingDataProps,\n} from \"../../../types/llmModelPage/llmModelPage.types\";\nimport { SelectedAccountType } from \"../../../types/type\";\nimport NoData from \"../../common/NoData\";\n\nexport const LLMModelPage = ({\n  selectedAccount = {\n    value: \"all\",\n  },\n  setPath,\n}: {\n  selectedAccount: SelectedAccountType;\n  setPath: (e) => void;\n}) => {\n  const params = useParams();\n  const dispatch = useDispatch();\n  const [loading, setLoading] = useState(false);\n  const [datastore, setDatastore] = useState<ModelDetailsProps>(\n    {} as ModelDetailsProps\n  );\n  const [datastoreType, setDatastoreType] = useState<any>(null);\n  const [trainingData, setTrainingData] = useState<any>([]);\n  const [launchButtonTitle, setLaunchButtonTitle] = useState(\"Launch AIScan\");\n  const [datastorePolicy, setDatastorePolicy] = useState<any>([]);\n  const [tags, setTags] = useState<any>([]);\n  const [isManaged, setIsManaged] = useState(false);\n  const [moreTags, setMoreTags] = useState<any>([]);\n  const [isManageTagsModal, setIsManageTagsModal] = useState(false);\n  const datastoreId = params.id?.replaceAll(\"_\", \"/\");\n  const assetId = params.assetId?.replaceAll(\"_\", \"/\");\n  const ref = useRef<any>(null);\n  const [width, setWidth] = useState<number>(0);\n  const [lineageGraphData, setLineageGraphData] = useState<\n    Array<LineageGraphProps>\n  >([]);\n  const [\n    policyViolationsMaliciousActivity,\n    setpolicyViolationsMaliciousActivity,\n  ] = useState(false);\n  const [policyViolationsSensitiveData, setPolicyViolationsSensitiveData] =\n    useState(false);\n  const [trainingDataGraphView, setTrainingDataGraphView] = useState(false);\n  const [graphLineageView, setGraphLineageView] = useState(true);\n  const [trainingDataFilter, setTrainningDataFilter] = useState(\"all\");\n  const policyViolationId = params?.policyViolationId;\n  const theme = useTheme();\n  const { dataStoreViolation } = useContext(AppContext);\n\n  const llmData = dataStoreViolation?.find(\n    (item) => item?.type === \"Under Finetuning\"\n  );\n  const isFineTuned = llmData?.data?.find(\n    (item) => item?.datastoreId === datastoreId\n  );\n\n  const styles = {\n    pageLayout: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    headerSection: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    headerSectionTitle: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    headerSectionTitleValue: {\n      fontSize: \"20px\",\n      fontWeight: theme.typography.fontWeightRegular,\n    },\n    headerSectionDescription: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    headerSectionDescriptionBody: {\n      color: theme.palette.surface60.main,\n      fontSize: \"12px\",\n    },\n    pageDetailsSection: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    llmDetailsSection: {\n      display: \"grid\",\n      gridTemplateColumns: \"repeat(3, minmax(0, 1fr))\",\n      gap: theme.spacing(2),\n    },\n    cardContainer: {\n      backgroundColor: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      marginY: theme.spacing(2),\n      borderRadius: theme.spacing(0.5),\n    },\n    cardTitle: {\n      fontSize: \"13px\",\n    },\n    cardHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(2),\n    },\n    cardContent: {},\n    cardControls: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    graphFooter: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(2),\n    },\n    graphCheckbox: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n    greenCheckbox: {\n      color: theme.palette.success.main,\n      \"&.Mui-checked\": {\n        color: theme.palette.success.main,\n      },\n    },\n    purpleCheckbox: {\n      color: theme.palette.lightPurple.main,\n      \"&.Mui-checked\": {\n        color: theme.palette.lightPurple.main,\n      },\n    },\n    blueCheckbox: {},\n    launchAIScanBtn: {\n      marginRight: 3,\n    },\n  };\n\n  useEffect(() => {\n    setPath(window.location.pathname);\n  }, []);\n\n  const getDatastore = async () => {\n    setLoading(true);\n    const payload = {\n      id: datastoreId,\n      // assetId: assetId,\n      // customerId: getCustomerId(),\n    };\n    let res;\n    res = await dispatch(fetchLLMDetailsSlice(payload));\n    if (Object.keys(res.payload)?.length > 0) {\n      setDatastore(res.payload);\n      // setDatastoreType(res.data.datastoreType);\n\n      // setTrainingData([\n      //   ...res?.data?.llmInfo?.TrainingData,\n      //   ...trainingDataList,\n      // ]);\n      // setTrainingData(trainingDataList);\n      // setTrainingData(res?.data?.llmInfo?.TrainingData);\n    } else {\n      setDatastore({} as ModelDetailsProps);\n    }\n    setLoading(false);\n  };\n\n  // useEffect(() => {\n  //   if (datastore?.datastoreType === \"managed\") {\n  //     setIsManaged(true);\n  //     setTrainingDataGraphView(true);\n  //     setGraphLineageView(true);\n  //   } else {\n  //     setIsManaged(false);\n  //   }\n  // }, [datastore?.datastoreType]);\n\n  const getLineageGraphData = async () => {\n    const res = await dispatch(\n      fetchLineageGraphDataSlice({\n        customerId: getCustomerId(),\n        modelId: assetId,\n      })\n    );\n    if (res.payload) {\n      setLineageGraphData(res.payload[0]?.lineageGraph);\n    } else {\n      setLineageGraphData([]);\n    }\n  };\n\n  const getPolicyStats = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      cloudAccountId:\n        selectedAccount.value === \"all\" ? null : selectedAccount.value,\n      datastoreId: datastoreId,\n      policyViolationId: policyViolationId ? policyViolationId : null,\n    };\n    let resp = await dispatch(getPolicyStatsAsync(payload));\n    if (resp && resp.payload && !resp.payload.err) {\n      setDatastorePolicy(resp.payload);\n    } else {\n      setDatastorePolicy([]);\n    }\n  };\n\n  const launchAIScan = () => {\n    setLaunchButtonTitle(\"Loading Model\");\n    setTimeout(() => {\n      setLaunchButtonTitle(\"Running AIScan\");\n\n      setTimeout(() => {\n        setLaunchButtonTitle(\"Launch AIScan\");\n        let launchObj = {\n          FileName: \"\",\n          source: \"AIScan\",\n        };\n        launchObj[\"sensitive labels\"] = \"PII, PHI, PCI\";\n        if (trainingData.length > 0) {\n          setTrainingData([...trainingData, launchObj]);\n        } else {\n          setTrainingData([launchObj]);\n        }\n      }, 60000);\n    }, 60000);\n  };\n\n  // const getSensitiveData = async () => {\n  //   const payload = {\n  //     id: datastoreId,\n  //     customerId: getCustomerId(),\n  //   };\n  //   let resp = await dispatch(fetchDatastoreDescriptionAsync(payload));\n  //   if (resp && resp.payload && !resp.payload.err) {\n  //     setDatastoreDescriptions(\n  //       resp?.payload?.filter((element) => element?.Automated !== \"Manual\")\n  //     );\n  //   }\n  // };\n\n  const refreshDataStoreTags = async () => {\n    const res = await dispatch(\n      listDataStoreTagsAsync({\n        customerId: getCustomerId(),\n        cloudAccountId: datastore?.cloudAccountId || \"\",\n        datastoreId: datastoreId,\n      })\n    );\n    let tagList: any = [];\n    if (res && res.payload && !res.payload.err) {\n      // Adding sensitive tag\n      if (res.payload?.customerSensTag) {\n        tagList.push({\n          value: res?.payload?.customerSensTag,\n          label: res?.payload?.customerSensTag,\n          type: \"sensitive\",\n        });\n      }\n      if (res.payload?.customerTags) {\n        // Adding custom tag\n        res.payload.customerTags.map((tag) => {\n          if (\n            tag.toLowerCase() === \"us_access_only\" ||\n            tag.includes(\"us access only\") ||\n            tag.includes(\"us-access-only\")\n          ) {\n            // props.setIsUSOnlyAccess(true);\n          }\n\n          tagList.push({\n            value: tag,\n            label: tag,\n            type: \"custom\",\n          });\n        });\n      }\n    }\n    setTags(tagList);\n  };\n\n  const refreshPolicies = () => {\n    getPolicyStats();\n  };\n\n  const toggleButtons = [\n    {\n      id: \"graph\",\n      label: \"Graph View\",\n      icon: <InsertChartOutlinedIcon fontSize=\"inherit\" />,\n    },\n    {\n      id: \"table\",\n      label: \"Table View\",\n      icon: <TableRowsOutlinedIcon fontSize=\"inherit\" />,\n    },\n  ];\n\n  const headerToggleButtons = [\n    {\n      id: \"shadow\",\n      label: \"Shadow\",\n      icon: \"\",\n    },\n    {\n      id: \"sanctioned\",\n      label: \"Sanctioned\",\n      icon: \"\",\n    },\n  ];\n\n  useEffect(() => {\n    getDatastore();\n    setTrainingDataGraphView(true);\n    setGraphLineageView(true);\n    // getSensitiveData();\n    // getPolicyStats();\n  }, []);\n\n  useEffect(() => {\n    const widthValue: any = ref?.current?.offsetWidth - 200;\n    setWidth(widthValue);\n  }, []);\n\n  useEffect(() => {\n    window.addEventListener(\"resize\", getWidth);\n    // return () => {\n    //   removeSelectedDataFlow();\n    // };\n  }, []);\n\n  const getWidth = () => {\n    setWidth(ref?.current?.clientWidth - 200);\n  };\n\n  useEffect(() => {\n    if (datastore && datastore.cloudAccountId) {\n      refreshDataStoreTags();\n    }\n    getLineageGraphData();\n  }, [datastore]);\n\n  const updateDataStore = async (type_) => {\n    if (!type_) return;\n\n    const resp = await dispatch(\n      updateDataStoreAsync({\n        datastoreType: type_,\n        customerId: getCustomerId(),\n        datastoreId: datastoreId,\n      })\n    );\n    if (resp && resp.payload && !resp.payload.err) {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Datastore Type updated successfully.\");\n      getDatastore();\n    } else {\n      Toaster(TOASTER_TYPES.SUCCESS, \"Datastore Type updated successfully.\");\n      getDatastore();\n      // Toaster(\n      //   TOASTER_TYPES.ERROR,\n      //   resp.payload?.err?.message || \"Failed to add account.\"\n      // );\n      // handleModal(false);\n    }\n  };\n\n  const constructLineageGraphData = () => {\n    let trainingData: Array<TrainingDataProps> = [];\n    lineageGraphData?.map((item: LineageGraphProps) => {\n      trainingData.push.apply(trainingData, item?.trainingDataDetails);\n    });\n    let mapObj: any = new Map();\n\n    trainingData.forEach((v: TrainingDataProps) => {\n      let prevValue = mapObj.get(v.sourceName);\n      if (!prevValue) {\n        mapObj.set(v.sourceName, v);\n      }\n    });\n    return [...mapObj.values()];\n  };\n\n  return (\n    <Box sx={styles.pageLayout}>\n      <Box sx={styles.headerSection}>\n        <Box sx={styles.headerSectionTitle}>\n          {/*<img src={GlobeIcon} height=\"19\" width=\"19\" alt=\"globe\" />*/}\n          <Box>\n            <Typography sx={styles.headerSectionTitleValue}>\n              {datastore?.name}\n            </Typography>\n            {datastore?.model_hash && (\n              <Box sx={styles.headerSectionDescription}>\n                <Typography sx={styles.headerSectionDescriptionBody}>\n                  Model Hash\n                </Typography>\n                <Typography sx={styles.headerSectionDescriptionBody}>\n                  {datastore?.model_hash}\n                </Typography>\n              </Box>\n            )}\n          </Box>\n          {/* {datastoreType !== \"managed\" && (\n            <ToggleButtonGroup\n              exclusive\n              options={headerToggleButtons}\n              value={\n                datastoreType === \"shadow\"\n                  ? headerToggleButtons[1]?.label\n                  : headerToggleButtons[0]?.label\n              }\n              onChange={() => {\n                updateDataStore(\n                  datastoreType === \"shadow\"\n                    ? \"self-managed\"\n                    : datastoreType === \"self-managed\"\n                    ? \"shadow\"\n                    : null\n                );\n              }}\n            />\n          )} */}\n        </Box>\n      </Box>\n      <Box sx={styles.pageDetailsSection}>\n        {!loading && Object.keys(datastore).length > 0 ? (\n          <Box sx={styles.llmDetailsSection}>\n            <LLMDetailsCard\n              llmDetails={datastore}\n              tags={tags}\n              moreTags={[]}\n              onClick={() => setIsManageTagsModal(true)}\n            />\n            <InstanceDetailsCard\n              isManaged={isManaged}\n              instanceDetails={datastore}\n              isFineTuned={isFineTuned}\n            />\n            <SensitiveDataDetailsCard\n              sensitiveDetails={datastore?.sensitive_data}\n            />\n          </Box>\n        ) : (\n          <NoData customText=\"No data found.\" />\n        )}\n        <Box sx={styles.cardContainer}>\n          <Box sx={styles.cardContent}>\n            <div ref={ref}>\n              <Box sx={styles.cardControls}>\n                <Box sx={styles.cardHeader}>\n                  <Typography\n                    color={theme.palette.surface80.main}\n                    sx={styles.cardTitle}>\n                    Training Data\n                  </Typography>\n                  {(datastore?.name === \"falcon-7b-bf16\" ||\n                    datastore?.name === \"gpt2\") && (\n                    <>\n                      <ToggleButtonGroup\n                        exclusive\n                        options={toggleButtons}\n                        value={\n                          trainingDataGraphView ? \"Graph View\" : \"Table View\"\n                        }\n                        onChange={(event, newValue) => {\n                          if (newValue === \"Graph View\") {\n                            setTrainingDataGraphView(true);\n                            if (!isManaged) {\n                              setGraphLineageView(false);\n                            }\n                          } else setTrainingDataGraphView(false);\n                        }}\n                      />\n                    </>\n                  )}\n                </Box>\n                <Box sx={styles.launchAIScanBtn}>\n                  <Button\n                    variant=\"outlined\"\n                    onClick={() => {\n                      launchButtonTitle === \"Launch AIScan\" && launchAIScan();\n                    }}\n                    disabled={launchButtonTitle !== \"Launch AIScan\"}>\n                    {launchButtonTitle}\n                  </Button>\n                </Box>\n              </Box>\n              <Box>\n                {trainingDataGraphView && (\n                  <Tabs\n                    value={graphLineageView ? \"lineageView\" : \"graphView\"}\n                    onChange={(event, newValue) => {\n                      setGraphLineageView(newValue !== \"graphView\");\n                    }}>\n                    <Tab\n                      value=\"lineageView\"\n                      label=\"Lineage View\"\n                      key=\"lineageView\"\n                      // disabled={!isManaged}\n                    />\n                    <Tab value=\"graphView\" label=\"Graph View\" key=\"graphView\" />\n                  </Tabs>\n                )}\n              </Box>\n              {!trainingDataGraphView ? (\n                <div className=\"mt-2 table-responsive\">\n                  <table className=\"table\">\n                    <thead>\n                      <tr>\n                        <th>File Name</th>\n                        <th>Location</th>\n                        <th>Size</th>\n                        <th>Type</th>\n                        <th>Source</th>\n                        <th>Sensitive Labels</th>\n                      </tr>\n                    </thead>\n                    {trainingData && (\n                      <tbody>\n                        {trainingData?.map((item, index) => (\n                          <tr key={index}>\n                            <td>\n                              <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface60.main}>\n                                {item.FileName}\n                              </Typography>\n                            </td>\n                            <td>\n                              <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface60.main}>\n                                {item.Location}\n                              </Typography>\n                            </td>\n                            <td>\n                              <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface60.main}>\n                                {item.size}\n                              </Typography>\n                            </td>\n                            <td>\n                              <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface60.main}>\n                                {item.type}\n                              </Typography>\n                            </td>\n                            <td>\n                              <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface60.main}>\n                                {item?.Source || \"Configured\"}\n                              </Typography>\n                            </td>\n                            <td>\n                              <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface60.main}>\n                                {item?.[\"sensitive labels\"] ||\n                                  item?.sensitive_labels}\n                              </Typography>\n                            </td>\n                          </tr>\n                        ))}\n                      </tbody>\n                    )}\n                  </table>\n                </div>\n              ) : trainingDataGraphView ? (\n                <Box sx={{ height: \"328px\" }}>\n                  <TabPanel\n                    value={graphLineageView ? \"lineageView\" : \"graphView\"}\n                    index=\"lineageView\"\n                    key=\"lineageView\">\n                    {lineageGraphData?.length > 0 ? (\n                      <TrainingDataGraphLineageView\n                        trainingData={constructLineageGraphData()}\n                        llmInfo={lineageGraphData}\n                        trainingDataFilter={trainingDataFilter}\n                        datastoreId={datastoreId}\n                        width={width}\n                        modelName={datastore?.name}\n                      />\n                    ) : (\n                      <NoData customText=\"No graph data found.\" />\n                    )}\n                  </TabPanel>\n                  <TabPanel\n                    value={graphLineageView ? \"lineageView\" : \"graphView\"}\n                    index=\"graphView\"\n                    key=\"graphView\">\n                    <TrainingDataGraphView\n                      policyViolationsMaliciousActivity={\n                        policyViolationsMaliciousActivity\n                      }\n                      policyViolationsSensitiveData={\n                        policyViolationsSensitiveData\n                      }\n                      trainingData={trainingDataList}\n                      llmInfo={datastore?.llmInfo?.llmInformation}\n                      trainingDataFilter={trainingDataFilter}\n                      datastoreId={datastoreId}\n                      width={width}\n                    />\n                  </TabPanel>\n                </Box>\n              ) : (\n                <TranningDataOrchestratorGraph\n                  trainingData={trainingDataList?.filter(\n                    (data) => data.Source === \"Configured\"\n                  )}\n                  llmInfo={datastore?.llmInfo?.llmInformation}\n                  trainingDataFilter={trainingDataFilter}\n                  datastoreId={datastoreId}\n                  width={width}\n                />\n              )}\n              {trainingDataGraphView &&\n                !graphLineageView &&\n                datastore?.llmInfo?.llmInformation?.Name ===\n                  \"falcon-7b-bf16\" && (\n                  <Box sx={styles.graphFooter}>\n                    <Box sx={styles.graphCheckbox}>\n                      <Checkbox\n                        label=\"all\"\n                        sx={styles.blueCheckbox}\n                        checked={trainingDataFilter === \"all\"}\n                        onClick={() => setTrainningDataFilter(\"all\")}\n                      />\n                      <Typography variant=\"caption\">All</Typography>\n                    </Box>\n                    <Box sx={styles.graphCheckbox}>\n                      <Checkbox\n                        label=\"configured\"\n                        sx={styles.blueCheckbox}\n                        checked={trainingDataFilter === \"Configured\"}\n                        onClick={() => setTrainningDataFilter(\"Configured\")}\n                      />\n                      <Typography variant=\"caption\">Configured</Typography>\n                    </Box>\n                    <Box sx={styles.graphCheckbox}>\n                      <Checkbox\n                        label=\"accessPath\"\n                        sx={styles.purpleCheckbox}\n                        checked={trainingDataFilter === \"Access Path\"}\n                        onClick={() => setTrainningDataFilter(\"Access Path\")}\n                      />\n                      <Typography variant=\"caption\">Access Path</Typography>\n                    </Box>\n                    <Box sx={styles.graphCheckbox}>\n                      <Checkbox\n                        label=\"liveAccess\"\n                        sx={styles.greenCheckbox}\n                        checked={trainingDataFilter === \"Live Access\"}\n                        onClick={() => setTrainningDataFilter(\"Live Access\")}\n                      />\n                      <Typography variant=\"caption\">Live Access</Typography>\n                    </Box>\n                  </Box>\n                )}\n            </div>\n          </Box>\n        </Box>\n        {datastorePolicy?.policyViolations?.length > 0 && (\n          <PolicyViolationDetailsCard\n            ticketIntegration={datastorePolicy?.ticketIntegration}\n            refreshPolicies={refreshPolicies}\n          />\n        )}\n      </Box>\n      {isManageTagsModal && (\n        <ManageTagsModal\n          tags={tags}\n          handleModal={() => setIsManageTagsModal(false)}\n          datastoreId={datastoreId}\n          cloudAccountId={datastore?.cloudAccountId}\n        />\n      )}\n    </Box>\n  );\n};\n","import MUIBreadcrumbs, { BreadcrumbsProps } from \"@mui/material/Breadcrumbs\";\nimport MUILink, { LinkProps } from \"@mui/material/Link\";\n\nexport const Breadcrumbs = (props: BreadcrumbsProps) => {\n  return <MUIBreadcrumbs {...props} />;\n};\n\nexport const Link = (props: LinkProps) => {\n  return <MUILink {...props} />;\n};\n","import { SyntheticEvent } from \"react\";\nimport Box from \"../../common/Box\";\nimport { Tab, Tabs } from \"../../common/Tabs\";\n\ninterface Props {\n  tabs: { value: string; label: JSX.Element | string; filter?: string }[];\n  activeTab: string;\n  onTabChange: (event: Event | SyntheticEvent, newValue: string) => void;\n}\n\nconst LLMTabs = ({ tabs, activeTab, onTabChange }: Props) => {\n  return (\n    <Tabs value={activeTab} onChange={onTabChange}>\n      {tabs.map((tab) => (\n        <Tab {...tab} key={tab.value} />\n      ))}\n    </Tabs>\n  );\n};\n\nexport default LLMTabs;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport Tooltip from \"./Tooltip\";\nimport Typography from \"./Typography\";\n\ninterface KeyValueProps {\n  label: string;\n  valueIcon?: JSX.Element | null;\n  value: string;\n}\n\nconst KeyValueBlock = ({ label, valueIcon = null, value }: KeyValueProps) => {\n  const theme = useTheme();\n  const styles = {\n    block: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n      width: \"90%\",\n    },\n    labelText: { fontSize: \"11px\" },\n    value: {\n      width: \"100%\",\n      overflow: \"hidden\",\n      whiteSpace: \"nowrap\",\n      textOverflow: \"ellipsis\",\n    },\n    tooltipChildren: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(0.5),\n      width: \"100%\",\n    },\n  };\n\n  return (\n    <Box sx={styles.block}>\n      <Typography sx={styles.labelText} color={theme.palette.surface30.main}>\n        {label}\n      </Typography>\n      <Box sx={styles.tooltipChildren}>\n        {valueIcon ? valueIcon : <></>}\n        <Tooltip title={value || \"\"}>\n          <div style={styles.tooltipChildren}>\n            <Typography\n              variant=\"caption\"\n              color={theme.palette.surface80.main}\n              sx={styles.value}\n            >\n              {value || \"-\"}\n            </Typography>\n          </div>\n        </Tooltip>\n      </Box>\n    </Box>\n  );\n};\n\nexport default KeyValueBlock;\n","export default __webpack_public_path__ + \"static/media/desktopIcon.92473831.svg\";","import { useTheme } from \"@mui/material\";\nimport Button from \"../../common/Button\";\nimport { Dialog, DialogActions, DialogTitle } from \"../../common/Dialog\";\nimport Typography from \"../../common/Typography\";\nimport Box from \"../../common/Box\";\nimport { DeleteApplicationDialogProp } from \"../../../types/type\";\n\nexport const DeleteApplicationDialog = ({\n  appName,\n  isOpen,\n  handleClose,\n  onDelete,\n}: DeleteApplicationDialogProp) => {\n  const theme = useTheme();\n\n  const styles = {\n    dialogContent: {\n      padding: theme.spacing(2),\n      paddingRight: theme.spacing(15),\n    },\n  };\n\n  return (\n    <Dialog open={isOpen} onClose={handleClose}>\n      <DialogTitle handleClose={handleClose}>Delete Application?</DialogTitle>\n      <Box sx={styles.dialogContent}>\n        <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n          It will permanently delete the application '{appName}'\n        </Typography>\n      </Box>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={handleClose}>\n          Cancel\n        </Button>\n        <Button variant=\"contained\" color=\"error\" onClick={() => onDelete()}>\n          Delete\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n","import { useEffect, useState } from \"react\";\nimport Button from \"../common/Button\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../common/Dialog\";\nimport { TextField } from \"../common/TextField\";\nimport { useTheme } from \"@mui/material\";\nimport Typography from \"../common/Typography\";\nimport Box from \"../common/Box\";\n\ninterface AddDescriptionDialogProps {\n  isOpen: boolean;\n  onClose: () => void;\n  handleSubmit: () => void;\n  description: string;\n}\n\nconst AddDescriptionDialog = (\n  { isOpen, onClose, handleSubmit, description },\n  props: AddDescriptionDialogProps\n) => {\n  const [isDescription, setIsDescription] = useState(\"\");\n  const [error, setError] = useState(false);\n  const theme = useTheme();\n\n  const styles = {\n    textField: {\n      \".MuiFormHelperText-root\": {\n        marginX: 0,\n        textAlign: error ? \"start\" : \"end\",\n      },\n    },\n    helperText: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n  };\n\n  const handleDialogClose = () => {\n    setError(false);\n    onClose();\n  };\n\n  useEffect(() => {\n    if (isOpen) {\n      setIsDescription(description);\n    }\n  }, [isOpen, description]);\n\n  const handleChange = (e) => {\n    setIsDescription(e.target.value);\n    if (e.target.value?.length > 350) {\n      setError(true);\n    } else {\n      setError(false);\n    }\n  };\n\n  const getHelperText = () =>\n    !error ? (\n      <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n        {isDescription?.length || 0}/350 Characters\n      </Typography>\n    ) : (\n      <Box sx={styles.helperText}>\n        <Typography variant=\"caption\" color={theme.palette.critical.main}>\n          Limit reached, please keep it within350 characters\n        </Typography>\n        <Typography variant=\"caption\" color={theme.palette.critical.main}>\n          {isDescription?.length}\n          <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n            /350 Characters\n          </Typography>\n        </Typography>\n      </Box>\n    );\n\n  return (\n    <Dialog open={isOpen} onClose={handleDialogClose} maxWidth=\"md\" fullWidth>\n      <DialogTitle handleClose={handleDialogClose}>\n        {description ? \"Update\" : \"Add\"} Description\n      </DialogTitle>\n      <DialogContent>\n        <TextField\n          fullWidth\n          error={error}\n          variant=\"outlined\"\n          placeholder=\"Briefly describe about the application \"\n          value={isDescription}\n          multiline\n          rows={4}\n          helperText={getHelperText()}\n          onChange={handleChange}\n          sx={styles.textField}\n        />\n      </DialogContent>\n      <DialogActions>\n        <Button variant=\"outlined\" onClick={handleDialogClose}>\n          Cancel\n        </Button>\n        <Button\n          disabled={error}\n          variant=\"contained\"\n          onClick={() => handleSubmit(isDescription)}\n        >\n          {description ? \"Update\" : \"Add\"}\n        </Button>\n      </DialogActions>\n    </Dialog>\n  );\n};\n\nexport default AddDescriptionDialog;\n","import { useTheme } from \"@mui/material\";\nimport { useState } from \"react\";\nimport Typography from \"./Typography\";\nimport { getTruncatedString } from \"../../utils/commonUtils\";\nimport TextButton from \"./TextButton\";\n\ninterface ViewMoreBlockProp {\n  value: string;\n  length: number;\n}\n\nconst ViewMoreBlock = ({ value, length }: ViewMoreBlockProp) => {\n  const [readMore, setReadMore] = useState(false);\n  const theme = useTheme();\n  const styles = {\n    viewMoreBtn: {\n      fontSize: theme.spacing(1.5),\n      marginLeft: theme.spacing(0.5),\n    },\n    wordBreak: {\n      wordBreak: \"break-all\",\n    },\n  };\n\n  return (\n    <Typography\n      variant=\"caption\"\n      component=\"span\"\n      color={theme.palette.surface80.main}\n      sx={styles.wordBreak}>\n      {value ? getTruncatedString(value, length, readMore) : \"-\"}\n      {value?.length > length ? (\n        <TextButton\n          onClick={() => setReadMore((prevState) => !prevState)}\n          sx={styles.viewMoreBtn}>\n          View {`${readMore ? \"less\" : \"more\"}`}\n        </TextButton>\n      ) : null}\n    </Typography>\n  );\n};\n\nexport default ViewMoreBlock;\n","export default __webpack_public_path__ + \"static/media/pebblo-logo.01313ea9.png\";","import Box from \"../../common/Box\";\nimport Divider from \"../../common/Divider\";\nimport KeyValueBlock from \"../../common/KeyValueBlock\";\nimport TextButton from \"../../common/TextButton\";\nimport Typography from \"../../common/Typography\";\nimport LangchainIcon from \"../../../assets/img/langchainIcon.svg\";\nimport AppIcon from \"../../../assets/img/retriever-app-icon.svg\";\nimport AWSIcon from \"../../../assets/img/awsIcon.svg\";\nimport GCPIcon from \"../../../assets/img/gcp.svg\";\nimport DesktopIcon from \"../../../assets/img/desktopIcon.svg\";\nimport ExpandMoreIcon from \"@mui/icons-material/ExpandMore\";\nimport { IconButton, useTheme } from \"@mui/material\";\nimport React, { useEffect, useState } from \"react\";\nimport {\n  convertUTCToLocal,\n  getDateTime,\n  getDifferenceInDays,\n  getIconForKey,\n  getImageForNode,\n} from \"../../../utils/commonUtils\";\nimport { useDispatch } from \"react-redux\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useParams } from \"react-router-dom\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport { DeleteApplicationDialog } from \"./DeleteApplicationDialog\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n  Accordion,\n  AccordionDetails,\n  AccordionSummary,\n} from \"../../common/Accordion\";\nimport PostAddIcon from \"@mui/icons-material/PostAdd\";\nimport AddDescriptionDialog from \"../AddDescriptionDialog\";\nimport { Menu } from \"../../common/Menu\";\nimport { MenuItem } from \"../../common/Select\";\nimport MoreVertIcon from \"@mui/icons-material/MoreVert\";\nimport DeleteOutlineOutlined from \"@mui/icons-material/DeleteOutlineOutlined\";\nimport EditIcon from \"@mui/icons-material/Edit\";\nimport ViewMoreBlock from \"../../common/ViewMoreBlock\";\nimport PebbloIcon from \"../../../assets/img/pebblo-logo.png\";\nimport Chip from \"../../common/Chip\";\nimport { setAppDescriptionSlice } from \"../../../redux/slices/appSlice\";\nimport { AppDispatch } from \"../../../redux/store\";\n\nconst NUM_OF_DEFAULT_CHARACTERS = 100;\n\nconst LLMFrameworkDetails = ({\n  item,\n  frameworkData,\n  onDeleteApp,\n  setDescription,\n}) => {\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const params = useParams();\n  const history = useHistory();\n  const [showFrameworkDetails, setShowFrameworkDetails] = useState(false);\n  const [isDeleteDialog, setIsDeleteDialog] = useState(false);\n  const [isAddDescription, setIsAddDescription] = useState(false);\n  const [isShowDescription, setIsShowDescription] = useState(false);\n  const [frameworkDescription, setFrameworkDescription] = useState(\"\");\n  const [menuAnchor, setMenuAnchor] = useState<null | HTMLElement>(null);\n  const isMenuOpen = Boolean(menuAnchor);\n\n  const isApp = item === \"application\";\n\n  const styles = {\n    langchainTitle: {\n      display: \"flex\",\n      gap: theme.spacing(1.25),\n      alignItems: \"center\",\n    },\n    langchainDetails: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      padding: theme.spacing(2),\n      backgroundColor: theme.palette.surface10.main,\n      gap: theme.spacing(3),\n      borderRadius: theme.spacing(0.5),\n      marginBottom: theme.spacing(1),\n    },\n    langchainDetailsCard: {\n      display: \"flex\",\n      gap: theme.spacing(4),\n    },\n    detailsSection: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      flexShrink: 0,\n    },\n    frameworkDetails: {\n      minWidth: \"25%\",\n      width: \"25%\",\n    },\n    summaryDetailsRow: {\n      display: \"grid\",\n      gridTemplateColumns: \"50% 50%\",\n      columnGap: theme.spacing(2),\n    },\n    instanceDetailsRow: {\n      display: \"grid\",\n      gridTemplateColumns: \"25% 25% 25% 25%\",\n      gridGap: \"10px\",\n      width: \"100%\",\n    },\n    instanceDetails: {\n      minWidth: \"60%\",\n    },\n    instanceDetailsHeader: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    divider: {\n      height: \"13px\",\n      margin: \"auto\",\n      borderWidth: \"1px\",\n    },\n    miscDetails: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      justifyContent: \"space-between\",\n      flexGrow: 1,\n      alignItems: \"end\",\n    },\n    useTimeStamp: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    lastUsedText: {\n      whiteSpace: \"nowrap\",\n    },\n    showHideDetails: {\n      overflow: \"hidden\",\n      height: showFrameworkDetails ? \"auto\" : \"0%\",\n      display: showFrameworkDetails ? \"block\" : \"none\",\n      transition: \"all 0.5s\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    frameworkDetailsHeader: {\n      display: \"flex\",\n      alignItems: \"top\",\n      width: \"fit-content\",\n    },\n    deleteFramework: {\n      color: theme.palette.critical.main,\n    },\n    frameworkInitialDetail: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.75),\n    },\n    frameworkHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    accordionSummary: {\n      width: \"100%\",\n    },\n    icon: {\n      color: `${theme.palette.primaryBlue.main} !important`,\n      fontSize: theme.spacing(2.25),\n    },\n    summaryContainer: {\n      display: \"flex\",\n      gap: theme.spacing(16),\n      justifyContent: \"space-between\",\n    },\n    actionsContainer: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    summary: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.75),\n    },\n    summaryText: {\n      fontSize: \"13px\",\n      fontWeight: 500,\n    },\n    actions: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n      alignItems: \"center\",\n    },\n    menuIcon: {\n      fontSize: theme.spacing(2.5),\n      color: theme.palette.primaryBlue.main,\n    },\n    iconButton: {\n      height: \"fit-content\",\n      width: \"fit-content\",\n    },\n    description: {\n      display: \"inline\",\n    },\n    descriptionText: {\n      marginRight: theme.spacing(0.5),\n      wordBreak: \"break-word\",\n    },\n    appSubHeading: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    pebbloChip: {\n      borderRadius: \"4px\",\n      paddingY: \"2px\",\n      height: \"auto\",\n      backgroundColor: theme.palette.surfaceFloatingWindow.main,\n      \"& .MuiChip-avatar\": {\n        width: \"16px\",\n        height: \"16px\",\n      },\n    },\n    graphContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      justifyContent: \"center\",\n    },\n  };\n\n  const getCloudTypeIcon = () => {\n    const cloudType = frameworkData?.providerInfo?.cloudType;\n    switch (cloudType) {\n      case \"gcp\":\n        return GCPIcon;\n      case \"aws\":\n        return AWSIcon;\n      default:\n        return DesktopIcon;\n    }\n  };\n\n  const getLastUsedDate = (lastUsedDate) => {\n    const convertedDate = lastUsedDate ? convertUTCToLocal(lastUsedDate) : \"\";\n    if (convertedDate) {\n      return `${getDifferenceInDays(\n        new Date(),\n        new Date(convertedDate.toDate())\n      )} | ${convertedDate.format(\"hh:mm A\")}`;\n    }\n    return \"-\";\n  };\n\n  const vectorDB = frameworkData?.vectorDB;\n  const pebbloClient = frameworkData?.pebbloClientVersion;\n  const pebbloServer = frameworkData?.pebbloServerVersion;\n\n  const handleAddDescriptionForFramework = async (val) => {\n    const resp = await setDescription(val);\n    if (resp?.payload?.message) {\n      Toaster(\n        TOASTER_TYPES.SUCCESS,\n        frameworkDescription\n          ? \"You have successfully updated the description!\"\n          : \"You have successfully added the description!\"\n      );\n      setFrameworkDescription(val);\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, resp?.payload?.error?.message);\n    }\n    setIsAddDescription(false);\n  };\n\n  const handleShowDescription = () => setIsShowDescription((prev) => !prev);\n\n  const getModelName = () => {\n    if (frameworkData?.models?.vendor) {\n      return (\n        frameworkData?.models?.vendor + \" - \" + frameworkData?.models?.name\n      );\n    }\n    return \"-\";\n  };\n\n  const modelName = getModelName();\n\n  useEffect(() => {\n    const desc = frameworkData?.frameworkSummary?.description || \"\";\n    if (desc) {\n      setFrameworkDescription(desc);\n    }\n  }, [frameworkData]);\n\n  return (\n    <React.Fragment>\n      <Accordion>\n        <Box sx={styles.frameworkHeader}>\n          <Box sx={styles.langchainTitle}>\n            <img src={AppIcon} alt=\"app\" height={32} />\n            <Box sx={styles.frameworkInitialDetail}>\n              <Box sx={styles.langchainTitle}>\n                <Typography>{frameworkData?.frameworkSummary?.name}</Typography>\n                <img src={getCloudTypeIcon()} alt=\"aws\" width={20} />\n              </Box>\n              <Box sx={styles.appSubHeading}>\n                {pebbloClient && (\n                  <Chip\n                    sx={styles.pebbloChip}\n                    avatar={\n                      <img\n                        src={PebbloIcon}\n                        alt=\"pebblo\"\n                        width=\"14\"\n                        height={14}\n                      />\n                    }\n                    label={\n                      <Typography variant=\"caption\">{`Pebblo Client V${pebbloClient}`}</Typography>\n                    }\n                  />\n                )}\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface50.main}\n                >{`Last Used: ${\n                  frameworkData?.lastused\n                    ? `${getLastUsedDate(frameworkData?.lastused)}`\n                    : \"-\"\n                }`}</Typography>\n              </Box>\n            </Box>\n          </Box>\n          <Box sx={styles.actions}>\n            <AccordionSummary\n              expandIcon={<ExpandMoreIcon sx={styles.icon} />}\n              onClick={() => setShowFrameworkDetails(!showFrameworkDetails)}\n            >\n              <TextButton sx={styles.lastUsedText}>\n                {`${showFrameworkDetails ? \"Hide\" : \"Show\"} Details`}\n              </TextButton>\n            </AccordionSummary>\n            <Divider\n              orientation=\"vertical\"\n              variant=\"middle\"\n              flexItem\n              sx={styles.divider}\n            />\n            <IconButton\n              onClick={(e) => setMenuAnchor(e.currentTarget)}\n              sx={styles.iconButton}\n            >\n              <MoreVertIcon sx={styles.menuIcon} />\n            </IconButton>\n            <Menu\n              open={isMenuOpen}\n              anchorEl={menuAnchor}\n              onClose={() => setMenuAnchor(null)}\n            >\n              <MenuItem>\n                <TextButton\n                  startIcon={<DeleteOutlineOutlined />}\n                  color=\"error\"\n                  onClick={() => setIsDeleteDialog(true)}\n                >\n                  Delete\n                </TextButton>\n              </MenuItem>\n            </Menu>\n          </Box>\n        </Box>\n        <AccordionDetails>\n          <Box sx={styles.langchainDetails}>\n            <Box sx={styles.summaryContainer}>\n              <Box sx={styles.summary}>\n                <Typography\n                  color={theme.palette.surface80.main}\n                  sx={styles.summaryText}\n                >\n                  Description\n                </Typography>\n                <Box sx={styles.description}>\n                  <ViewMoreBlock\n                    value={frameworkDescription}\n                    length={NUM_OF_DEFAULT_CHARACTERS}\n                  />\n                </Box>\n              </Box>\n              <Box sx={{ ...styles.detailsSection, ...styles.miscDetails }}>\n                <TextButton\n                  startIcon={\n                    frameworkDescription ? <EditIcon /> : <PostAddIcon />\n                  }\n                  onClick={() => setIsAddDescription(true)}\n                >\n                  {frameworkDescription ? \"Update\" : \"Add\"} Description\n                </TextButton>\n              </Box>\n            </Box>\n            <Box sx={styles.langchainDetailsCard}>\n              <Box\n                sx={{ ...styles.detailsSection, ...styles.frameworkDetails }}\n              >\n                <Box sx={styles.frameworkDetailsHeader}>\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    Framework Details\n                  </Typography>\n                </Box>\n                <Box sx={styles.summaryDetailsRow}>\n                  <KeyValueBlock\n                    label=\"Name\"\n                    value={frameworkData?.frameworkSummary?.name}\n                    valueIcon={\n                      <img src={LangchainIcon} alt=\"langchain\" width={20} />\n                    }\n                  />\n                  <KeyValueBlock\n                    label=\"Version\"\n                    value={frameworkData?.frameworkSummary?.version}\n                  />\n                </Box>\n\n                <Box sx={styles.summaryDetailsRow}>\n                  <KeyValueBlock\n                    label=\"VectorDB\"\n                    value={`${vectorDB || \"\"} ${\n                      frameworkData?.vectorDBVersion || \"-\"\n                    }`}\n                    valueIcon={\n                      vectorDB && (\n                        <img\n                          src={getIconForKey(\"vector_db\", vectorDB)}\n                          alt=\"\"\n                          width={14}\n                        />\n                      )\n                    }\n                  />\n                  <KeyValueBlock\n                    label=\"VectorDB Location\"\n                    value={frameworkData?.vectorDBLocation}\n                  />\n                </Box>\n                <Box sx={styles.summaryDetailsRow}>\n                  <KeyValueBlock\n                    label=\"Embedding Model\"\n                    value={frameworkData?.embeddingModel || \"\"}\n                  />\n                  <KeyValueBlock\n                    label=\"LLM Model\"\n                    value={modelName}\n                    valueIcon={\n                      modelName !== \"-\" ? (\n                        <img\n                          src={getIconForKey(\n                            \"llm\",\n                            frameworkData?.models?.vendor\n                          )}\n                          alt=\"model\"\n                          width={20}\n                        />\n                      ) : null\n                    }\n                  />\n                </Box>\n              </Box>\n              <Divider orientation=\"vertical\" flexItem />\n              <Box sx={{ ...styles.detailsSection, ...styles.instanceDetails }}>\n                <Box\n                  sx={{\n                    ...styles.frameworkDetailsHeader,\n                    ...styles.instanceDetailsHeader,\n                  }}\n                >\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface60.main}\n                  >\n                    Instance Details\n                  </Typography>\n                  <Divider orientation=\"vertical\" sx={styles.divider} />\n                  <Typography\n                    variant=\"caption\"\n                    color={theme.palette.surface40.main}\n                  >\n                    {frameworkData?.providerInfo?.region || \"-\"}\n                  </Typography>\n                </Box>\n                <Box sx={styles.instanceDetailsRow}>\n                  <KeyValueBlock\n                    label=\"Account ID\"\n                    value={frameworkData?.providerInfo?.accountId}\n                  />\n                  <KeyValueBlock\n                    label=\"Instance ID\"\n                    value={frameworkData?.providerInfo?.instanceId}\n                  />\n                  <KeyValueBlock\n                    label=\"Created At\"\n                    value={\n                      frameworkData?.createdAt\n                        ? getDateTime(\n                            convertUTCToLocal(frameworkData?.createdAt)\n                          )\n                        : \"-\"\n                    }\n                  />\n                  {pebbloServer && (\n                    <KeyValueBlock\n                      label=\"Pebblo Server Version\"\n                      value={pebbloServer}\n                    />\n                  )}\n                </Box>\n\n                <Box sx={styles.instanceDetailsRow}>\n                  <KeyValueBlock\n                    label=\"Runtime\"\n                    value={frameworkData?.instanceDetails?.runtime || \"\"}\n                  />\n                  <KeyValueBlock\n                    label=\"Host\"\n                    value={frameworkData?.instanceDetails?.host || \"\"}\n                  />\n                  <KeyValueBlock\n                    label=\"Path\"\n                    value={frameworkData?.instanceDetails?.path || \"\"}\n                  />\n                </Box>\n                <Box sx={styles.instanceDetailsRow}>\n                  <KeyValueBlock\n                    label=\"IP\"\n                    value={frameworkData?.instanceDetails?.ip || \"\"}\n                  />\n                  <KeyValueBlock\n                    label=\"Language\"\n                    value={frameworkData?.instanceDetails?.language}\n                  />\n                  <KeyValueBlock\n                    label=\"Language Version\"\n                    value={frameworkData?.instanceDetails?.languageVersion}\n                  />\n                </Box>\n              </Box>\n            </Box>\n          </Box>\n        </AccordionDetails>\n      </Accordion>\n      <DeleteApplicationDialog\n        appName={frameworkData?.frameworkSummary?.name}\n        isOpen={isDeleteDialog}\n        handleClose={() => setIsDeleteDialog(false)}\n        onDelete={() => {\n          onDeleteApp(frameworkData?.frameworkSummary?.name);\n          setIsDeleteDialog(false);\n        }}\n      />\n      <AddDescriptionDialog\n        isOpen={isAddDescription}\n        onClose={() => setIsAddDescription(false)}\n        handleSubmit={(val) => handleAddDescriptionForFramework(val)}\n        description={frameworkDescription || null}\n      />\n    </React.Fragment>\n  );\n};\n\nexport default LLMFrameworkDetails;\n","import { useEffect, useState } from \"react\";\nimport Box from \"./Box\";\nimport * as d3 from \"d3\";\nimport ReactDOMServer from \"react-dom/server\";\n\ninterface CollapsibleGraphProp {\n  className: string;\n  graphData: any;\n  handleClick?: any;\n  classNameForGraph?: string;\n  setNewNode?: any;\n  isChild?: boolean;\n  nodeDepth: number;\n  nodeLength?: number;\n  openPopover?: any;\n}\n\nexport const CollapsibleGraph = ({\n  className = \"\",\n  graphData = {},\n  handleClick,\n  classNameForGraph = \"\",\n  setNewNode,\n  isChild = false,\n  nodeDepth = 0,\n  nodeLength = 1,\n  openPopover = () => {},\n}: CollapsibleGraphProp) => {\n  const [treeData, setTreeData] = useState<any>({});\n  let noOfClick = 0;\n\n  // Collapse the node and all it's children\n  function collapse(d) {\n    if (d.children) {\n      d._children = d.children;\n      d._children.forEach(collapse);\n      d.children = null;\n    }\n  }\n\n  const createGraph = () => {\n    var margin = { top: 20, right: 0, bottom: 20, left: 50 };\n\n    const width = parseFloat(d3.select(`.${classNameForGraph}`).style(\"width\"));\n    const height = nodeDepth * nodeLength || 200;\n\n    // append the svg object to the body of the page\n    // appends a 'group' element to 'svg'\n    // moves the 'group' element to the top left margin\n    d3.select(`.${className}`).selectAll(\"svg\").remove();\n    var svg = d3\n      .select(`.${className}`)\n      .append(\"svg\")\n      .attr(\"width\", width)\n      .attr(\"height\", height)\n      .append(\"g\")\n      .attr(\"transform\", \"translate(\" + margin.left + \",\" + margin.top + \")\");\n\n    var i = 0,\n      duration = 750,\n      root;\n\n    // declares a tree layout and assigns the size\n    var treemap = d3.tree().size([height, width]);\n\n    // Assigns parent, children, height, depth\n    root = d3.hierarchy(treeData, function (d: any) {\n      return d.children;\n    });\n\n    root.x0 = height / 2;\n    root.y0 = 0;\n    // Collapse after the second level\n    root?.children?.forEach(collapse);\n\n    update(root);\n\n    function update(source) {\n      // Assigns the x and y position for the nodes\n      var treeData = treemap(root);\n\n      // Compute the new tree layout.\n      var nodes = treeData.descendants(),\n        links = treeData.descendants().slice(1);\n\n      // Normalize for fixed-depth.\n      nodes.forEach(function (d) {\n        d.y = d.depth * 180;\n      });\n\n      // ****************** Nodes section ***************************\n\n      // Update the nodes...\n      var node: any = svg.selectAll(\"g.node\").data(nodes, function (d: any) {\n        return d.id || (d.id = ++i);\n      });\n\n      // Enter any new nodes at the parent's previous position.\n      const nodeEnter = node\n        .enter()\n        .append(\"g\")\n        .attr(\"class\", function (d) {\n          if (Object.keys(d?.data)?.length > 0) {\n            return \"node\";\n          }\n          return \"emptyNode\";\n        })\n        .attr(\"id\", function (d) {\n          return d?.data?.name;\n        })\n        .attr(\"transform\", function (d) {\n          return d?.data?.width === \"100%\"\n            ? `translate(${source?.y0 + 165}, -20)`\n            : `translate(${source?.y0 + (isChild ? 145 : 165)}, ${source?.x0})`;\n        });\n\n      // Add labels for the nodes\n\n      // Append HTML elements\n      const nodeHTML = nodeEnter\n        .append(\"foreignObject\")\n        .attr(\"width\", function (d) {\n          return d?.data?.width === \"100%\"\n            ? d?.data?.width\n            : d?.data?.icon\n            ? d?.data?.width - 10\n            : d?.data?.width;\n        })\n        .attr(\"height\", function (d) {\n          return d?.data?.height;\n        })\n        .style(\"border-radius\", \"4px\")\n        .on(\"click\", function (e, d) {\n          e.preventDefault();\n          e.stopPropagation();\n          if (d?.data?.isNode) {\n            handleClick(e, d);\n          }\n        });\n\n      nodeHTML.append(\"xhtml\").html((d) => {\n        return ReactDOMServer.renderToStaticMarkup(d?.data?.node);\n      });\n\n      const nodeIcon = nodeEnter\n        .append(\"foreignObject\")\n        .attr(\"id\", \"icon-container\")\n        .attr(\"width\", 20)\n        .attr(\"height\", function (d) {\n          return d?.data?.height;\n        })\n        .attr(\"cursor\", \"pointer\")\n        .attr(\"x\", 180);\n\n      nodeIcon\n        .append(\"xhtml\")\n        .html((d) => {\n          return ReactDOMServer.renderToStaticMarkup(d?.data?.icon);\n        })\n        .on(\"click\", function (e, d) {\n          noOfClick += 1;\n          setTimeout(() => {\n            if (noOfClick === 1) {\n              click(e, d);\n            } else if (noOfClick === 2) {\n              click(e, d);\n            }\n          }, 200);\n        });\n\n      // UPDATE\n      var nodeUpdate = nodeEnter.merge(node);\n\n      // Transition to the proper position for the node\n      nodeUpdate\n        .transition()\n        .duration(duration)\n        .attr(\"transform\", function (d) {\n          return d?.data?.width === \"100%\"\n            ? `translate(${d?.y + 165}, -20)`\n            : `translate(${d?.y + (isChild ? 145 : 165)}, ${\n                d?.x - height / 2\n              })`;\n        });\n\n      // Remove any exiting nodes\n      var nodeExit = node\n        .exit()\n        .transition()\n        .duration(duration)\n        .attr(\"transform\", function (d) {\n          return \"translate(\" + source?.y + \",\" + source?.x + \")\";\n        })\n        .remove();\n\n      // On exit reduce the node circles size to 0\n      nodeExit.select(\"circle\").attr(\"r\", 1e-6);\n\n      // On exit reduce the opacity of text labels\n      nodeExit.select(\"text\").style(\"fill-opacity\", 1e-6);\n\n      // ****************** links section ***************************\n\n      // Update the links...\n      var link: any = svg.selectAll(\"path.link\").data(links, function (d: any) {\n        return d.id;\n      });\n\n      // Enter any new links at the parent's previous position.\n      var linkEnter = link\n        .enter()\n        .insert(\"path\", \"g\")\n        .attr(\"class\", function (d) {\n          if (Object.keys(d?.data)?.length > 0) {\n            return \"link\";\n          }\n          return \"emptyNode\";\n        })\n        .attr(\"d\", function (d) {\n          var o = { x: source?.x0, y: source?.y0 };\n          return diagonal(o, o);\n        })\n        .attr(\"transform\", function (d) {\n          return `translate(155, -${source?.x0 - 35})`;\n        });\n\n      // UPDATE\n      var linkUpdate = linkEnter.merge(link);\n\n      // Transition back to the parent element position\n      linkUpdate\n        .transition()\n        .duration(duration)\n        .attr(\"d\", function (d) {\n          return diagonal(d, d.parent);\n        });\n\n      // Remove any exiting links\n      var linkExit = link\n        .exit()\n        .transition()\n        .duration(duration)\n        .attr(\"d\", function (d) {\n          var o = { x: source?.x, y: source?.y };\n          return diagonal(o, o);\n        })\n        .remove();\n\n      // Store the old positions for transition.\n      nodes.forEach(function (d: any) {\n        d.x0 = d.x;\n        d.y0 = d.y;\n      });\n\n      // Creates a curved (diagonal) path from parent to the child nodes\n      function diagonal(s, d) {\n        const path: any = `M ${s.y - 16} ${s.x}\n            C ${(s.y + d.y) / 2 - 8} ${s.x},\n              ${(s.y + d.y) / 2 - 8} ${d.x},\n              ${d.y} ${d.x}`;\n        return path;\n      }\n\n      // Toggle children on click.\n      function click(event, d) {\n        const elem: any = document.getElementById(`icon-${d?.data?.name}`);\n        if (d.children) {\n          elem.innerText = \"+\";\n          d._children = d.children;\n          d.children = null;\n        } else {\n          elem.innerText = \"-\";\n          d.children = d._children;\n          d._children = null;\n          if (setNewNode) {\n            setNewNode();\n          }\n        }\n        update(d);\n        noOfClick = 0;\n      }\n      d3.selectAll(\".emptyNode\").remove();\n    }\n    // setNewNode();\n  };\n\n  useEffect(() => {\n    if (Object.keys(graphData)?.length > 0) {\n      setTreeData(graphData);\n    }\n  }, [graphData]);\n\n  useEffect(() => {\n    createGraph();\n  }, [treeData]);\n\n  const styles = {\n    collapsibleGraph: {\n      height: \"100%\",\n      width: \"100%\",\n    },\n  };\n\n  return <Box className={className} sx={styles.collapsibleGraph}></Box>;\n};\n","export default __webpack_public_path__ + \"static/media/chainIcon.999a28a3.svg\";","import { IconButton, useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport Typography from \"../../common/Typography\";\nimport Tooltip from \"../../common/Tooltip\";\n\nexport const LangchainPopover = ({\n  handleClose,\n  popoverData,\n  dataLabels,\n}: {\n  handleClose: any;\n  popoverData: any;\n  dataLabels: any;\n}) => {\n  const theme = useTheme();\n  const styles = {\n    popover: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(4),\n    },\n    popoverHeader: {\n      display: \"flex\",\n      alignItems: \"flex-start\",\n      justifyContent: \"space-between\",\n    },\n    popoverHeaderBody: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n    popoverHeaderBodyText: {\n      fontSize: \"10px\",\n    },\n    dividerStyles: {\n      height: \"13px\",\n      alignSelf: \"center\",\n      backgroundColor: \"#999DA6\",\n    },\n    closeIcon: {\n      color: theme?.palette?.surface20?.main,\n    },\n    popoverBody: {\n      display: \"grid\",\n      gridTemplateColumns: \"1fr auto\",\n      columnGap: theme.spacing(9.5),\n      rowGap: theme.spacing(2),\n    },\n    iconButton: {\n      padding: 0,\n    },\n    lableWithValue: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    textEllipsis: {\n      width: \"250px\",\n      overflow: \"hidden\",\n      textOverflow: \"ellipsis\",\n      whiteSpace: \"nowrap\",\n    },\n  };\n\n  const labelAndValue = (label, field) => {\n    const value =\n      (popoverData?.packageInfo[field] !== null &&\n      typeof popoverData?.packageInfo[field] === \"object\"\n        ? popoverData?.packageInfo[field][0]?.name\n        : popoverData?.packageInfo[field]) || \"-\";\n    return (\n      <Box sx={styles.lableWithValue}>\n        <Typography color=\"#63698B\" sx={styles.popoverHeaderBodyText}>\n          {label}\n        </Typography>\n        <Tooltip title={value}>\n          <div>\n            <Typography\n              variant=\"subtitle2\"\n              color=\"#080B1E\"\n              sx={styles.textEllipsis}>\n              {value}\n            </Typography>\n          </div>\n        </Tooltip>\n      </Box>\n    );\n  };\n\n  return (\n    <Box sx={styles.popover}>\n      <Box sx={styles.popoverHeader}>\n        <Box>\n          <Box sx={styles.popoverHeaderBody}>\n            <Typography variant=\"subtitle2\" color=\"#63698B\">\n              {popoverData?.name}\n            </Typography>\n            {/* <Divider\n              orientation=\"vertical\"\n              variant=\"middle\"\n              flexItem\n              sx={styles.dividerStyles}\n            />\n            <TextButton>View Details</TextButton> */}\n          </Box>\n          <Box sx={styles.popoverHeaderBody}>\n            <Typography color=\"#63698B\" sx={styles.popoverHeaderBodyText}>\n              {popoverData?.version}\n            </Typography>\n            {/* <Divider\n              orientation=\"vertical\"\n              variant=\"middle\"\n              flexItem\n              sx={styles.dividerStyles}\n            />\n            <Typography color=\"#63698B\" sx={styles.popoverHeaderBodyText}>\n              5 GB\n            </Typography> */}\n          </Box>\n        </Box>\n        <IconButton onClick={handleClose} sx={styles.iconButton}>\n          <CloseIcon fontSize=\"small\" sx={styles.closeIcon} />\n        </IconButton>\n      </Box>\n      <Box sx={styles.popoverBody}>\n        {dataLabels?.map((item: any) => labelAndValue(item?.label, item.field))}\n      </Box>\n    </Box>\n  );\n};\n","import Box from \"../../common/Box\";\ninterface LangchainGraphNodeProp {\n  icon: any;\n  title: string;\n  id?: string;\n  description?: string;\n  helperText?: string;\n  variant?: string;\n  isNode: boolean;\n}\n\nexport const LangchainGraphNode = ({\n  icon,\n  title,\n  id = \"\",\n  description,\n  helperText,\n  variant = \"primary\",\n  isNode = false,\n}: LangchainGraphNodeProp) => {\n  const backgroundColor =\n    variant === \"main\" ? \"rgb(201 107 249 / 30%)\" : isNode ? \"#191C2E\" : \"none\";\n\n  const styles = {\n    node: {\n      display: \"flex\",\n      gap: \"10px\",\n      width: \"100%\",\n      height: \"100%\",\n      alignItems: \"center\",\n      borderRadius: \"4px\",\n      paddingLeft: \"12px\",\n      backgroundColor: backgroundColor,\n      cursor: isNode ? \"pointer\" : \"default\",\n      \":hover\": {\n        // background: isNode && \"#191C2E\",\n        border: isNode ? \"1px solid #535874\" : \"\",\n      },\n    },\n    iconWrapper: {\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"center\",\n      background: variant !== \"main\" ? \"#3A3D50\" : \"\",\n      height: \"46px\",\n      width: \"46px\",\n      borderRadius: \"50%\",\n      padding: \"0px\",\n      flexShrink: 0,\n    },\n    body: {\n      overflow: \"hidden\",\n    },\n    title: {\n      fontSize: \"13px\",\n      color: \"#fff\",\n      whiteSpace: \"nowrap\",\n      textOverflow: \"ellipsis\",\n      overflow: \"hidden\",\n    },\n    description: {\n      fontSize: \"12px\",\n      color: \"#B5B8CA\",\n    },\n    helperText: {\n      color: \"#EA6262\",\n      fontSize: \"12px\",\n    },\n  };\n\n  return (\n    <Box id={id} className=\"graph-node\" sx={styles.node}>\n      <Box sx={styles.iconWrapper}>\n        <img alt=\"Icon\" src={icon} height={24} width={24} />\n      </Box>\n      <Box sx={styles.body}>\n        <Box title={title} sx={styles.title}>\n          {title}\n        </Box>\n        {description ? <Box style={styles.description}>{description}</Box> : \"\"}\n        {/* <Box style={styles.helperText}>{helperText}</Box> */}\n      </Box>\n    </Box>\n  );\n};\n","import { CollapsibleGraph } from \"../../common/CollapsibleGraph\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport Box from \"../../common/Box\";\nimport ChainIcon from \"../../../assets/img/chainIcon.svg\";\nimport { Popover } from \"../../common/Popover\";\nimport { LangchainPopover } from \"./LangchainPopover\";\nimport { LangchainGraphNode } from \"./LangchainGraphNode\";\nimport GPTIcon from \"../../../assets/img/gptIcon.svg\";\nimport HuggingFaceIcon from \"../../../assets/img/hugging.png\";\nimport { useTheme } from \"@mui/material\";\n\nexport const ChainGraph = ({\n  isChild = false,\n  className = \"\",\n  chainData = {},\n}: {\n  isChild: boolean;\n  className: string;\n  chainData: any;\n}) => {\n  const [treeData, setTreeData] = useState<any>({});\n  const [selectedNode, setSelectedNode] = useState<any>(\"\");\n  const [anchorEl, setAnchorEl] = useState(null);\n  const [popoverData, setPopoverData] = useState({});\n  const [popoverDataLabels, setPopoverDataLabels] = useState<\n    Array<{\n      label: string;\n      field: string;\n    }>\n  >([]);\n  const open = Boolean(anchorEl);\n  const theme = useTheme();\n\n  useEffect(() => {\n    if (Object.keys(chainData)?.length > 0) {\n      setTreeData(chainData);\n    }\n  }, [chainData]);\n\n  const childrenLength = treeData?.children?.filter(\n    (val) => Object.keys(val)?.length > 0\n  )?.length;\n\n  const styles = {\n    chainGraphWrapper: {\n      position: \"relative\",\n      height:\n        childrenLength > 0\n          ? 100 * (childrenLength === 1 ? childrenLength + 1 : childrenLength)\n          : 200,\n      width: childrenLength > 0 ? 600 : 228,\n      borderRadius: \"5px\",\n      border: \"1px solid #3B3E52\",\n      paddingX: \"12px\",\n    },\n    chainGraph: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: \"4px\",\n    },\n    chainIcon: {\n      display: \"flex\",\n      gap: \"4px\",\n    },\n    chainText: {\n      fontSize: \"11px\",\n      color: \"#fff\",\n    },\n    modelDetail: {\n      position: \"absolute\",\n      left: \"12px\",\n      bottom: \"12px\",\n    },\n    popover: {\n      \".MuiPaper-root\": {\n        background: theme?.palette?.surface80?.main || \"#E6E7ED\",\n        padding: \"20px\",\n        marginTop: \"8px\",\n      },\n    },\n  };\n\n  const handleClose = (e) => {\n    e.stopPropagation();\n    e.preventDefault();\n    const selectedElement = document.getElementsByClassName(\"selectedNode\")[0];\n    selectedElement?.classList?.remove(\"selectedNode\");\n    setAnchorEl(null);\n  };\n\n  const openPopover = (e, id) => {\n    if (selectedNode !== id) {\n      setAnchorEl(e.currentTarget);\n    } else {\n      setAnchorEl(null);\n    }\n  };\n\n  const handleClick = (e, d) => {\n    const elem: any = document.querySelectorAll(`#${d?.data?.name}`);\n    if (selectedNode === d?.data?.name) {\n      elem[elem?.length - 1].classList.remove(\"selectedNode\");\n      setSelectedNode(\"\");\n      setAnchorEl(null);\n    } else {\n      const allElements = document.querySelectorAll(\"*\");\n      allElements.forEach((element) => {\n        element.classList.remove(\"selectedNode\");\n      });\n      elem[elem?.length - 1].classList.add(\"selectedNode\");\n      setSelectedNode(d?.data?.name);\n      setPopoverData(d?.data);\n      openPopover(e, d?.data?.name);\n      if (d?.data?.type === \"loader\") {\n        setPopoverDataLabels(loaderPopoverLabels);\n      } else {\n        setPopoverDataLabels(vectorDBPopoverLabels);\n      }\n    }\n  };\n\n  const plotGraph = useMemo(() => {\n    return (\n      <CollapsibleGraph\n        className={className}\n        graphData={treeData}\n        handleClick={handleClick}\n        classNameForGraph=\"chain-graph-wrapper\"\n        isChild={isChild}\n        nodeDepth={100}\n        nodeLength={childrenLength > 0 ? childrenLength + 1 : 2}\n      />\n    );\n  }, [treeData]);\n\n  const vectorDBPopoverLabels = [\n    {\n      label: \"Location\",\n      field: \"location\",\n    },\n    {\n      label: \"Installed Via Package Manager\",\n      field: \"installedVia\",\n    },\n    {\n      label: \"Github Link\",\n      field: \"githubLink\",\n    },\n    {\n      label: \"License Type\",\n      field: \"licenceType\",\n    },\n    {\n      label: \"Documentation Site Link\",\n      field: \"documentationUrl\",\n    },\n    {\n      label: \"PyPi Link\",\n      field: \"pypiUrl\",\n    },\n  ];\n\n  const loaderPopoverLabels = [\n    {\n      label: \"Source\",\n      field: \"sourcePath\",\n    },\n    {\n      label: \"Source Type\",\n      field: \"sourceType\",\n    },\n    {\n      label: \"Source Files\",\n      field: \"sourceFiles\",\n    },\n    {\n      label: \"Last Modified\",\n      field: \"lastModified\",\n    },\n  ];\n\n  return (\n    <Box sx={styles.chainGraph}>\n      <Box sx={styles.chainIcon}>\n        <img src={ChainIcon} alt=\"Chain Icon\" height={16} width={16} />\n        <div style={styles.chainText}>{className}</div>\n      </Box>\n      <Box className=\"chain-graph-wrapper\" sx={styles.chainGraphWrapper}>\n        {plotGraph}\n        <Popover\n          open={open}\n          anchorEl={anchorEl}\n          handleClose={handleClose}\n          sx={styles.popover}>\n          <LangchainPopover\n            handleClose={handleClose}\n            popoverData={popoverData}\n            dataLabels={popoverDataLabels}\n          />\n        </Popover>\n        <Box sx={styles.modelDetail}>\n          <LangchainGraphNode\n            icon={\n              chainData?.modelDetail?.vendor === \"Huggingface\"\n                ? HuggingFaceIcon\n                : GPTIcon\n            }\n            title={chainData?.modelDetail?.name}\n            description={chainData?.modelDetail?.vendor}\n            isNode={false}\n          />\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n","import * as React from \"react\";\nimport Box from \"../../common/Box\";\nimport { CollapsibleGraph } from \"../../common/CollapsibleGraph\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { ChainGraph } from \"./ChainGraph\";\nimport { hydrate } from \"react-dom\";\n\nexport const LangchainGraph = ({\n  treeData,\n  nodeHeight,\n}: {\n  treeData: any;\n  nodeHeight: number;\n}) => {\n  const [newNode, setNewNode] = useState(true);\n  const [selectedNode, setSelectedNode] = useState<string>(\"\");\n  const [elem, setElem] = useState<any>([]);\n\n  const handleClick = (e, d) => {\n    if (selectedNode === d?.data?.name) {\n      const elem: any = document.getElementById(d?.data?.name);\n      elem.classList.remove(\"selectedNode\");\n      setSelectedNode(\"\");\n    } else {\n      const elem: any = document.getElementById(d?.data?.name);\n      const allElements = document.querySelectorAll(\"*\");\n      allElements.forEach((element) => {\n        element.classList.remove(\"selectedNode\");\n      });\n      elem.classList.add(\"selectedNode\");\n      setSelectedNode(d?.data?.name);\n    }\n  };\n\n  const styles = {\n    langchainGraphWrapper: {\n      height:\n        nodeHeight *\n          treeData?.children?.filter((val) => Object.keys(val)?.length > 0)\n            ?.length || \"200px\",\n    },\n  };\n\n  const plotGraph = useMemo(() => {\n    return (\n      <CollapsibleGraph\n        className=\"langchainGraph\"\n        graphData={treeData}\n        handleClick={handleClick}\n        classNameForGraph=\"langchain-graph-wrapper\"\n        setNewNode={() => setNewNode(true)}\n        nodeDepth={nodeHeight}\n        nodeLength={\n          treeData?.children?.filter((val) => Object.keys(val)?.length > 0)\n            ?.length\n        }\n      />\n    );\n  }, [treeData, elem, newNode]);\n\n  useEffect(() => {\n    const elementName = treeData?.children;\n    if (newNode) {\n      const interval = setInterval(() => {\n        let element: any = elementName?.map((el) => {\n          let count = 0;\n          return {\n            ...el,\n            index: count + 1,\n            childNode: document.getElementById(el?.name),\n          };\n        });\n        setElem([...element]);\n        if (element?.length > 0 && element.some((item) => item)) {\n          clearInterval(interval);\n        }\n      }, 100);\n      setNewNode(false);\n    }\n  }, [newNode]);\n\n  useEffect(() => {\n    if (elem?.length > 0) {\n      let chainNumber = 0;\n      elem?.map((element) => {\n        if (element?.childNode) {\n          chainNumber = chainNumber + 1;\n          hydrate(\n            <foreignObject\n              width={\n                treeData?.children[0]?.chainData?.children?.length > 0\n                  ? 600\n                  : 228\n              }\n              height={\n                treeData?.children?.length > 0\n                  ? 200 * (treeData?.children?.length + 1)\n                  : 300\n              }>\n              <div>\n                <ChainGraph\n                  className={`Chain-${chainNumber}`}\n                  isChild={true}\n                  chainData={element?.chainData}\n                />\n              </div>\n            </foreignObject>,\n            element?.childNode\n          );\n        }\n      });\n    }\n  }, [elem]);\n\n  return (\n    <Box className=\"langchain-graph-wrapper\" sx={styles.langchainGraphWrapper}>\n      {plotGraph}\n    </Box>\n  );\n};\n","import Box from \"./Box\";\n\nexport const CollapseIconComponent = ({ id = \"\" }: { id: string }) => {\n  const styles = {\n    collapseWrapper: {\n      position: \"absolute\",\n      right: 0,\n      top: \"0\",\n      bottom: \"0\",\n      marginY: \"auto\",\n      height: \"20px\",\n      width: \"20px\",\n      borderRadius: \"50%\",\n      flexShrink: 0,\n      border: \"1px solid #080B1E\",\n      transform: \"rotate(-45deg)\",\n    },\n    iconWrapper: {\n      background: \"white\",\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"center\",\n      borderRadius: \"50%\",\n      flexShrink: 0,\n      border: \"2px solid #080B1E\",\n      height: \"100%\",\n      width: \"100%\",\n    },\n    collapseIcon: {\n      transform: \"rotate(45deg)\",\n    },\n  };\n  return (\n    <Box id=\"icon-wrapper\" sx={styles.collapseWrapper}>\n      <Box sx={styles.iconWrapper}>\n        <Box sx={styles.collapseIcon} id={`icon-${id}`}>\n          -\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n","export default __webpack_public_path__ + \"static/media/langchain.b9accd69.svg\";","import { useState } from \"react\";\nimport Box from \"../../common/Box\";\nimport { TextField } from \"../../common/TextField\";\nimport Button from \"../../common/Button\";\nimport { useDispatch } from \"react-redux\";\nimport { addTopicSlice } from \"../../../redux/slices/topicSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useTheme } from \"@mui/material\";\nimport { setAppPolicySlice } from \"../../../redux/slices/appSlice\";\nimport { AppDispatch } from \"../../../redux/store\";\n\nconst AddAppPolicy = ({ appId }) => {\n  const [policyJson, setPolicyJson] = useState<string>(\"\");\n  const dispatch = useDispatch<AppDispatch>();\n  const theme = useTheme();\n  const styles = {\n    container: {\n      width: \"50%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n  };\n  const addPolicy = () => {\n    if (policyJson !== \"\") {\n      const resp = dispatch(\n        setAppPolicySlice({\n          id: appId,\n          customerId: getCustomerId(),\n          policy: JSON.parse(policyJson),\n        })\n      );\n      console.log(resp);\n    }\n  };\n  return (\n    <Box sx={styles.container}>\n      <TextField\n        label=\"Policy JSON\"\n        value={policyJson}\n        onChange={(e) => setPolicyJson(e.target.value)}\n      />\n      <Button variant=\"contained\" onClick={addPolicy}>\n        Add Policy\n      </Button>\n    </Box>\n  );\n};\n\nexport default AddAppPolicy;\n","import { useEffect } from \"react\";\n\nimport * as d3 from \"d3\";\n\nimport { useTheme } from \"@mui/material\";\nimport {\n  getFileName,\n  getFirstNValue,\n  getJoinedString,\n} from \"../../../utils/commonUtils\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport Divider from \"../../common/Divider\";\nimport NoData from \"../../common/NoData\";\n\nexport interface TreeMapData {\n  selectedNode: any;\n  setSelectedNode: any;\n  data: Array<{ name: string; parent: string; value: string }>;\n  maxTwoValue: any;\n}\n\nconst AppTreeMap = ({\n  selectedNode,\n  setSelectedNode,\n  data,\n  maxTwoValue,\n}: TreeMapData) => {\n  const theme = useTheme();\n  const styles = {\n    graphContainer: {\n      width: \"100%\",\n      height: \"240px\",\n    },\n    graphFooterContainer: {\n      paddingTop: theme.spacing(1),\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    divider: {\n      height: \"13px\",\n    },\n    minMax: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    colorIndicator: {\n      height: \"4px\",\n      width: \"300px\",\n      backgroundImage: \"linear-gradient(to right, #8C5DFA , #421F96)\",\n    },\n    graphFooter: {},\n  };\n\n  var root = d3\n    .stratify()\n    .id(function (d: any) {\n      return d.id;\n    })\n    .parentId(function (d: any) {\n      return d.parent;\n    })(data);\n\n  root.sum(function (d: any) {\n    return +d.value;\n  });\n\n  const values = data?.map((d) => (d?.value ? Number(d?.value) : NaN));\n  const minValue = d3.min(values);\n  const [min, max] = d3.extent(values);\n\n  const colorScale = d3\n    .scaleLinear()\n    .domain([min, max] as any)\n    .range([\"#421F96\", \"#8C5DFA\"] as any);\n\n  const drawTreeMap = () => {\n    const element = d3.selectAll(\".treeMapContainer\");\n    element.selectAll(\"svg\").remove();\n    var margin = { top: 10, right: 0, bottom: 0, left: 0 },\n      height = 200 - margin.top - margin.bottom;\n    const parentWidth =\n      document.getElementById(\"treemap-container\")?.clientWidth || 1000;\n    const width = parentWidth - margin.left - margin.right;\n\n    var svg = d3\n      .select(\"#treemap-container\")\n      .append(\"svg\")\n      .attr(\"width\", width + margin.left + margin.right)\n      .attr(\"height\", height + margin.top + margin.bottom)\n      .append(\"g\")\n      .attr(\"transform\", \"translate(\" + margin.left + \",\" + margin.top + \")\");\n\n    d3.selectAll(\".treemap-tooltip\").remove();\n\n    var tooltip = d3\n      .select(\"#treemap-container\")\n      .append(\"div\")\n      .style(\"opacity\", 0)\n      .attr(\"class\", \"treemap-tooltip\")\n      .style(\"border-radius\", \"5px\")\n      .style(\"color\", \"white\")\n      .style(\"position\", \"absolute\");\n\n    d3.treemap().size([width, height]).padding(1)(root);\n\n    const adjustTooltipX = (x) => {\n      const tooltipMargin = 100;\n      const boundingCoords = document\n        .querySelector(\".treeMapContainer\")\n        ?.getBoundingClientRect();\n\n      const tooltipSpacing = tooltipMargin ? tooltipMargin - 10 : 0;\n      const xCoord = boundingCoords?.width\n        ? boundingCoords?.width - x < 250\n          ? x - (!tooltipMargin ? 230 : 220 + tooltipSpacing)\n          : x + 50\n        : x;\n      return xCoord;\n    };\n\n    var showTooltip = function (event, d, applyStyle = true) {\n      if (applyStyle) {\n        d3.select(`#rect-${d.id}`).attr(\"rx\", 6).attr(\"ry\", 6);\n        d3.select(`#rect-${d.id}`).style(\"stroke\", \"white\");\n      }\n      const xPos = adjustTooltipX(event.clientX);\n      const yPos = event.clientY;\n\n      tooltip.transition().duration(200);\n      tooltip\n        .style(\"opacity\", 1)\n        .style(\"display\", \"block\")\n        .html(\n          /*html*/ `<div class=\"treemap-tooltip\">\n            <div class=\"treemap-header\">\n            <div class=\"treemap-tooltip-file\">${d.data.name}</div>\n            <div style=\"font-size:19px\">${d.data.value}</div>\n            <div class=\"treemap-tooltip-content\">Retrieval Count</div>\n            </div>\n        <div>`\n        )\n        .style(\"left\", xPos + \"px\")\n        .style(\"top\", yPos + \"px\");\n    };\n\n    var hideTooltip = function (event, d) {\n      if (selectedNode !== d.id) {\n        d3.select(`#rect-${d.id}`).attr(\"rx\", 0).attr(\"ry\", 0);\n        d3.select(`#rect-${d.id}`).style(\"stroke\", \"none\");\n      }\n      tooltip\n        .transition()\n        .duration(50)\n        .style(\"opacity\", 0)\n        .style(\"display\", \"none\");\n    };\n\n    var moveTooltip = function (event, d) {\n      const xPos = adjustTooltipX(event.clientX);\n      const yPos = event.clientY;\n      tooltip\n        .style(\"left\", xPos + \"px\")\n        .style(\"top\", yPos + \"px\")\n        .style(\"display\", \"block\");\n    };\n\n    const groups = svg\n      .selectAll(\"g\")\n      .data(root.leaves())\n      .enter()\n      .append(\"g\")\n      .on(\"mouseenter\", showTooltip)\n      .on(\"mouseleave\", hideTooltip)\n      .on(\"mousemove\", moveTooltip)\n      .on(\"click\", (event, d) => {\n        if (d.id === selectedNode) {\n          setSelectedNode(\"\");\n        } else {\n          setSelectedNode(d.id);\n        }\n      });\n\n    groups\n      .append(\"rect\")\n      .attr(\"id\", (d: any) => `rect-${d.data.id}`)\n      .attr(\"class\", (d: any) =>\n        Number(d.data.value) >= Number(maxTwoValue)\n          ? \"rect-text\"\n          : \"rect-no-text\"\n      )\n      .attr(\"x\", function (d: any) {\n        return d.x0;\n      })\n      .attr(\"y\", function (d: any) {\n        return d.y0;\n      })\n      .attr(\"width\", function (d: any) {\n        return d.x1 - d.x0;\n      })\n      .attr(\"height\", function (d: any) {\n        return d.y1 - d.y0;\n      })\n      .style(\"stroke\", \"black\")\n      .style(\"fill\", (d: any) => colorScale(d.data.value));\n\n    groups\n      .append(\"foreignObject\")\n      .attr(\"x\", function (d: any) {\n        return d.x0 + 10;\n      }) // +15 to adjust position (more right)\n      .attr(\"y\", function (d: any) {\n        return d.y0 + 10;\n      }) // +20 to adjust position (lower)\n      .attr(\"width\", (d: any) => d.x1 - d.x0 - 15)\n      .attr(\"height\", (d: any) => d.y1 - d.y0 - 20)\n      .attr(\"style\", \"cursor:pointer\")\n      .append(\"xhtml:p\")\n      .style(\"fill\", \"black\")\n      .html((d: any) => {\n        const width = d.x1 - d.x0 - 5;\n        const height = d.y1 - d.y0;\n        return /*html*/ `<div class=\"treemap-rect\">\n            <div class=\"treemap-rect-header\">\n              ${\n                d.data.violation\n                  ? '<div class=\"treemap-error-badge\"></div>'\n                  : \"\"\n              }\n              ${\n                width > 100\n                  ? `<div class=\"treemap-rect-label\" style=\"font-size:12px\">${getFileName(\n                      d.data.name\n                    )}</div>`\n                  : \"\"\n              }\n            </div>\n            ${\n              height > 87 && width > 100\n                ? `<div class=\"treemap-rect-value\" style=\"font-size:32px;font-weight:500\">${`${\n                    d.data.value <= 9 ? \"0\" : \"\"\n                  }${d.data.value}`}</div>`\n                : \"\"\n            }\n          </div>`;\n      });\n  };\n\n  useEffect(() => {\n    if (data?.length > 0) {\n      drawTreeMap();\n    }\n  }, [data, selectedNode]);\n\n  return (\n    <>\n      {data?.length > 1 ? (\n        <Box sx={styles.graphContainer}>\n          <div id=\"treemap-container\" className=\"treeMapContainer\"></div>\n          <Box sx={styles.graphFooterContainer}>\n            <Typography\n              variant=\"caption\"\n              color={theme.palette.surface40.main}\n              sx={styles.graphFooter}\n            >\n              Rectangle size & color represents the number of retrievals\n            </Typography>\n            <Divider orientation=\"vertical\" sx={styles.divider} />\n            <Box sx={styles.minMax}>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface40.main}\n              >\n                Max\n              </Typography>\n              <Box sx={styles.colorIndicator}></Box>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface40.main}\n              >\n                Min\n              </Typography>\n            </Box>\n          </Box>\n        </Box>\n      ) : (\n        <NoData customText=\"No data available\" height=\"240px\" />\n      )}\n    </>\n  );\n};\n\nexport default AppTreeMap;\n","import { useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport Box from \"../../common/Box\";\nimport {\n  Dialog,\n  DialogActions,\n  DialogContent,\n  DialogTitle,\n} from \"../../common/Dialog\";\nimport Divider from \"../../common/Divider\";\nimport Typography from \"../../common/Typography\";\nimport UsersIcon from \"../../../assets/img/users.svg\";\nimport ContentCopyRoundedIcon from \"@mui/icons-material/ContentCopyRounded\";\nimport TextButton from \"../../common/TextButton\";\nimport Tooltip from \"../../common/Tooltip\";\nimport { getFileName } from \"../../../utils/commonUtils\";\n\nconst MultipleContextDetailsDialog = ({ open, onClose, data }) => {\n  const [selectedID, setSelectedID] = useState<any>(null);\n  const [isCopied, setIsCopied] = useState(false);\n  const theme = useTheme();\n  const styles = {\n    dialog: {},\n    dialogTitle: {\n      fontSize: \"18px\",\n    },\n    dialogContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    dialogDetails: {\n      minHeight: \"500px\",\n      height: \"500px\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: \"20px\",\n    },\n    contextBtns: (index) => ({\n      cursor: \"pointer\",\n      backgroundColor: \"rgba(59, 62, 82, 0.3)\",\n      display: \"flex\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n      height: \"31px\",\n      width: \"31px\",\n      borderBottom:\n        index === selectedID?.index\n          ? `2px solid rgba(33, 144, 247, 1)`\n          : \"2px solid transparent\",\n    }),\n    visibleContext: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    contextAndFile: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n  };\n\n  const { context } = data;\n\n  useEffect(() => {\n    if (data && data.context) {\n      setSelectedID({\n        index: 0,\n        data: context[0],\n      });\n    }\n  }, [data]);\n\n  return (\n    <Dialog\n      open={open}\n      onClose={onClose}\n      maxWidth=\"md\"\n      fullWidth\n      sx={styles.dialog}\n    >\n      <DialogTitle handleClose={onClose}>\n        <Typography sx={styles.dialogTitle}>Snippets</Typography>\n        <Typography color={theme.palette.surface50.main} variant=\"caption\">\n          Showing all snippets of context generated for the prompt.\n        </Typography>\n      </DialogTitle>\n      <DialogContent sx={styles.dialogDetails}>\n        <Box\n          sx={{\n            display: \"flex\",\n            gap: theme.spacing(2),\n          }}\n        >\n          {context?.map((contextItem, index) => (\n            <Box\n              sx={styles.contextBtns(index)}\n              onClick={() => setSelectedID({ index, data: contextItem })}\n            >\n              <Typography\n                sx={{ fontSize: \"13px\" }}\n                color={theme.palette.surface80.main}\n              >\n                {index + 1}\n              </Typography>\n            </Box>\n          ))}\n        </Box>\n        <Box sx={styles.contextAndFile}>\n          <Box sx={styles.visibleContext}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Context\n            </Typography>\n            <Typography variant=\"caption\" color={theme.palette.surface80.main}>\n              {selectedID?.data?.data}\n            </Typography>\n          </Box>\n          <Divider orientation=\"vertical\" flexItem />\n          <Box sx={styles.visibleContext}>\n            <Box\n              sx={{\n                display: \"flex\",\n                flexDirection: \"column\",\n                gap: theme.spacing(1),\n              }}\n            >\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface40.main}\n              >\n                Retrieved From\n              </Typography>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface80.main}\n                sx={{\n                  width: \"100%\",\n                  wordWrap: \"break-word\",\n                  display: \"flex\",\n                  gap: theme.spacing(1),\n                  alignItems: \"center\",\n                }}\n              >\n                {getFileName(selectedID?.data?.retrievedFrom)}\n                <Tooltip\n                  title={isCopied ? \"Copied to Clipboard\" : \"Copy File Path\"}\n                >\n                  <ContentCopyRoundedIcon\n                    onClick={() => {\n                      setIsCopied(true);\n                      navigator.clipboard.writeText(\n                        selectedID?.data?.retrievedFrom\n                      );\n                    }}\n                    sx={{\n                      fontSize: \"16px\",\n                      cursor: \"pointer\",\n                      color: theme.palette.primaryBlue.main,\n                    }}\n                  />\n                </Tooltip>\n              </Typography>\n            </Box>\n          </Box>\n        </Box>\n      </DialogContent>\n      <DialogActions></DialogActions>\n    </Dialog>\n  );\n};\n\nexport default MultipleContextDetailsDialog;\n","const JiraIcon = ({ disabled }) => {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M14.5464 1.71484H7.66699C7.66699 2.53847 7.99418 3.32836 8.57657 3.91075C9.15896 4.49314 9.94885 4.82032 10.7725 4.82032H12.0397V6.0439C12.0409 7.75744 13.4297 9.1463 15.1432 9.14742V2.31163C15.1432 1.98213 14.8761 1.71484 14.5464 1.71484Z\"\n        fill={disabled ? \"grey\" : \"#2684FF\"}\n      />\n      <path\n        d=\"M11.1421 5.14258H4.2627C4.26376 6.85613 5.65256 8.24498 7.36616 8.2461H8.63343V9.47359C8.63561 11.1871 10.0254 12.575 11.7389 12.575V5.73948C11.7389 5.40986 11.4717 5.14258 11.1421 5.14258Z\"\n        fill={disabled ? \"grey\" : \"url(#paint0_linear_1_7462)\"}\n      />\n      <path\n        d=\"M7.73587 8.56641H0.856445C0.856445 10.2815 2.24687 11.6719 3.96193 11.6719H5.23317V12.8954C5.23429 14.6074 6.62068 15.9956 8.33272 15.9989V9.16325C8.33272 8.83364 8.06549 8.56641 7.73587 8.56641Z\"\n        fill={disabled ? \"grey\" : \"url(#paint1_linear_1_7462)\"}\n      />\n      <defs>\n        <linearGradient\n          id=\"paint0_linear_1_7462\"\n          x1=\"1875.53\"\n          y1=\"8.56445\"\n          x2=\"1133.38\"\n          y2=\"875.875\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\"0.18\" stop-color=\"#0052CC\" />\n          <stop offset=\"1\" stop-color=\"#2684FF\" />\n        </linearGradient>\n        <linearGradient\n          id=\"paint1_linear_1_7462\"\n          x1=\"1922.42\"\n          y1=\"18.2368\"\n          x2=\"1063.95\"\n          y2=\"964.201\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\"0.18\" stop-color=\"#0052CC\" />\n          <stop offset=\"1\" stop-color=\"#2684FF\" />\n        </linearGradient>\n      </defs>\n    </svg>\n  );\n};\n\nexport default JiraIcon;\n","import { useTheme } from \"@mui/material\";\nimport moment from \"moment\";\nimport { useContext, useEffect, useState } from \"react\";\nimport { AppContext } from \"../../context/appContext\";\nimport Box from \"../common/Box\";\nimport Checkbox from \"../common/Checkbox\";\nimport Divider from \"../common/Divider\";\nimport NoData from \"../common/NoData\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport TextButton from \"../common/TextButton\";\nimport Typography from \"../common/Typography\";\nimport SlackIcon from \"../../assets/img/slack.svg\";\nimport MoreVert from \"@mui/icons-material/MoreVert\";\nimport ExpandLessRoundedIcon from \"@mui/icons-material/ExpandLessRounded\";\nimport ExpandMoreRoundedIcon from \"@mui/icons-material/ExpandMoreRounded\";\nimport NodeChain from \"../common/NodeChain\";\nimport Chip from \"../common/Chip\";\nimport DatastoreTicketModal from \"../modal/datastore-ticket-modal/DatastoreTicketModal\";\nimport { TextField } from \"../common/TextField\";\nimport FlagOutlinedIcon from \"@mui/icons-material/FlagOutlined\";\nimport FlagIcon from \"@mui/icons-material/Flag\";\nimport Tooltip from \"../common/Tooltip\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport DiscardLabelDialog from \"./DiscardLabelDialog\";\nimport ViewMoreBlock from \"../common/ViewMoreBlock\";\nimport StarIcon from \"../../assets/img/star.svg\";\nimport MultipleContextDetailsDialog from \"./LLMFramework/MultipleContextDetailsDialog\";\nimport SuggestLabelDialog from \"./SuggestLabelDialog\";\nimport JiraIcon from \"../icons/JiraIcon\";\n\nconst NUM_OF_DEFAULT_CHARACTERS = 250;\n\nconst MessageDetailBlock = ({ data, index }) => {\n  const theme = useTheme();\n  const styles = {\n    messageContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.25),\n    },\n    messageCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    messageFontSize: {\n      fontSize: \"13px\",\n    },\n    dateText: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    messageData: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    keyValue: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.75),\n    },\n    tableCellAction: {\n      whiteSpace: \"nowrap\",\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      color: theme.palette.primaryBlue.main,\n      cursor: \"pointer\",\n      \"&.Mui-disabled\": {\n        color: theme.palette.surface20.main,\n        pointerEvents: \"unset\",\n        cursor: \"not-allowed\",\n      },\n    },\n    originChain: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.25),\n      alignItems: \"start\",\n    },\n    policyChip: {\n      display: \"flex\",\n      width: \"min-content\",\n      backgroundColor: \"rgba(255, 101, 91, 0.20)\",\n      borderRadius: theme.spacing(0.5),\n    },\n    finalContext: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    aiChip: {\n      color: theme.palette.surface60.main,\n      backgroundColor: \"transparent\",\n      \"& .MuiChip-avatar\": {\n        width: \"10px\",\n        height: \"10px\",\n      },\n    },\n    divider: {\n      height: \"13px\",\n    },\n    initalContext: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n  };\n  const [showOrigin, setShowOrigin] = useState(false);\n  const [openSnippetsDialog, setOpenSnippetsDialog] = useState(false);\n  const [snippetsData, setSnippetsData] = useState(null);\n  const dateString = moment(data.retrievedOn).format(\"YYYY-MM-DD\");\n  const timeString = moment(data.retrievedOn).format(\"HH:mm:ss\");\n\n  const isMultipleSnippet =\n    typeof data.context !== \"string\" && data.context?.length >= 1;\n\n  const onCloseSnippetDialog = () => {\n    setSnippetsData(null);\n    setOpenSnippetsDialog(false);\n  };\n\n  return (\n    <Box sx={styles.messageContainer}>\n      <Box sx={styles.messageCard}>\n        <Box sx={styles.messageData}>\n          <Box sx={styles.keyValue}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Prompt\n            </Typography>\n\n            <ViewMoreBlock\n              value={data.prompt}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n          <Box sx={styles.keyValue}>\n            <Box sx={styles.initalContext}>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface40.main}\n              >\n                Context\n              </Typography>\n              {isMultipleSnippet && (\n                <>\n                  <Divider orientation=\"vertical\" sx={styles.divider} />\n                  <TextButton\n                    sx={{ fontSize: \"12px\" }}\n                    onClick={() => {\n                      setSnippetsData(data);\n                      setOpenSnippetsDialog(true);\n                    }}\n                  >\n                    Show All {data?.context?.length}\n                  </TextButton>\n                </>\n              )}\n            </Box>\n            <ViewMoreBlock\n              value={isMultipleSnippet ? data.context[0]?.data : data.context}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n          <Box sx={styles.keyValue}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Response\n            </Typography>\n\n            <ViewMoreBlock\n              value={data.response}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n\n          <Box sx={styles.dateText}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Retrieved On:\n            </Typography>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              {dateString}\n            </Typography>\n            <Divider orientation=\"vertical\" flexItem />\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              {timeString}\n            </Typography>\n          </Box>\n        </Box>\n      </Box>\n      {openSnippetsDialog && (\n        <MultipleContextDetailsDialog\n          open={openSnippetsDialog}\n          onClose={onCloseSnippetDialog}\n          data={snippetsData}\n        />\n      )}\n    </Box>\n  );\n};\n\nconst MessageDetails = ({\n  messagesList = [],\n  frameworkData = {},\n  selectedSensitiveLabel = { label: \"\", type: \"\" },\n  sensitiveData,\n  selectedUser = \"\",\n  selectedFilter,\n}: {\n  frameworkData: any;\n  messagesList: any;\n  selectedSensitiveLabel: { label: string; type: string };\n  sensitiveData?: any;\n  selectedUser?: string;\n  selectedFilter?: string;\n}) => {\n  const [ticketModal, setTicketModal] = useState(false);\n  const [globalTicketModal, setGlobalTicketModal] = useState(false);\n  const [ticketTitle, setTicketTitle] = useState(\"\");\n  const [ticketDescription, setTicketDescription] = useState({});\n  const [sensitiveLabelCount, setSensitiveLabelCount] = useState(0);\n  const [openSuggestLabelDialog, setOpenSuggestLabelDialog] = useState(null);\n  const [isDiscardLabelDialog, setIsDiscardLabelDialog] = useState(null);\n  const [messageList, setMessageList] = useState<any>([]);\n  const [addedFeedback, setAddedFeedback] = useState<\n    Array<{\n      prompt: string;\n      inAccurateLabel: string;\n    }>\n  >([]);\n  const theme = useTheme();\n\n  const labels = [\n    \"API Key\",\n    \"JWT Token\",\n    \"Client Access Token\",\n    \"Client Secret\",\n    \"Symmetric Key\",\n    \"MRN\",\n    \"PII - SSN\",\n    \"PII - CC\",\n  ];\n\n  const styles = {\n    messagePanel: {\n      borderRadius: theme.spacing(0.5),\n      height: \"400px\",\n      overflow: \"hidden\",\n    },\n    checkbox: {\n      \"& .MuiSvgIcon-root\": { fontSize: \"16px\" },\n    },\n    tableHeader: {\n      \"& .MuiTableCell-head\": {\n        color: theme.palette.surface50.main,\n        fontSize: \"13px\",\n        lineHeight: \"1.125rem\",\n        background: theme.palette.surface0.main,\n        borderBottom: `1px solid ${theme.palette.surface20.main} !important`,\n        paddingY: theme.spacing(1.15),\n        zIndex: 10,\n      },\n    },\n    checkboxCell: {\n      verticalAlign: \"top\",\n      \"&.MuiTableCell-root \": {\n        borderBottom: `1px solid ${theme.palette.surface20.main}`,\n      },\n    },\n    tableCellAction: {\n      whiteSpace: \"nowrap\",\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      color: theme.palette.primaryBlue.main,\n      cursor: \"pointer\",\n      \"&.Mui-disabled\": {\n        color: theme.palette.surface20.main,\n        pointerEvents: \"unset\",\n        cursor: \"not-allowed\",\n      },\n    },\n    bulkActions: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    actionImg: {\n      height: \"16px\",\n    },\n    actionsCell: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    dividerHeight: { height: \"13px\" },\n    thumbsIcon: {\n      color: theme.palette.surface30.main,\n      height: \"20px\",\n      width: \"20px\",\n    },\n    tableHeight: {\n      height: \"100%\",\n      \"&.MuiTableCell-root \": {\n        borderBottom: `1px solid ${theme.palette.surface20.main}`,\n      },\n    },\n    thumbsIconBox: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(0.5),\n    },\n    modalBody: {\n      padding: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    modalContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n  };\n\n  const buildModalData = (item, appName = \"\") => {\n    return \"\";\n  };\n\n  useEffect(() => {\n    setAddedFeedback(\n      JSON.parse(localStorage.getItem(\"DATA_SOURCE_FEEDBACK\") || \"[]\")\n    );\n  }, [localStorage.getItem(\"DATA_SOURCE_FEEDBACK\")]);\n\n  useEffect(() => {\n    if (selectedUser) {\n      let filteredMessages = messagesList;\n      if (selectedFilter === \"user\") {\n        filteredMessages = messagesList?.filter(\n          (msg) => msg?.retrievedBy?.toString() == selectedUser?.toString()\n        );\n      } else {\n        const fileName = selectedUser?.split(\"/\")?.at(-1);\n        filteredMessages = messagesList?.filter((msg) =>\n          msg?.sourceFile?.includes(fileName)\n        );\n      }\n      setMessageList([...filteredMessages]);\n    } else setMessageList(messagesList);\n  }, [messagesList, selectedUser]);\n\n  const handleAddFeedbackDialog = (isReported, prompt) =>\n    isReported\n      ? setIsDiscardLabelDialog(prompt)\n      : setOpenSuggestLabelDialog(prompt);\n\n  const handleCloseFeedbackDialog = () => setOpenSuggestLabelDialog(null);\n\n  return (\n    <Box sx={styles.messagePanel}>\n      <TableContainer\n        sx={{\n          height: \"400px\",\n        }}\n      >\n        <Table sx={styles.tableHeight}>\n          <TableHead sx={styles.tableHeader}>\n            <TableRow>\n              {/*<TableCell>\n                <Checkbox label=\"selectAll\" sx={styles.checkbox} />\n              </TableCell>*/}\n              <TableCell>\n                <Box sx={styles.bulkActions}>\n                  <Divider orientation=\"vertical\" flexItem />\n                  <TextButton\n                    onClick={(event) => {}}\n                    startIcon={\n                      <JiraIcon disabled={true} />\n                    }\n                    sx={styles.tableCellAction}\n                    disabled={true}\n                  >\n                    Open Jira Ticket\n                  </TextButton>\n                  <Divider orientation=\"vertical\" flexItem />\n                  <TextButton\n                    onClick={(event) => {\n                      event.stopPropagation();\n                    }}\n                    startIcon={\n                      <img\n                        src={SlackIcon}\n                        alt=\"slack\"\n                        style={styles.actionImg}\n                      />\n                    }\n                    sx={styles.tableCellAction}\n                    disabled={true}\n                  >\n                    Notify on Slack\n                  </TextButton>\n                  <Divider orientation=\"vertical\" flexItem />\n                  <TextButton>\n                    <MoreVert fontSize=\"small\" />\n                  </TextButton>\n                </Box>\n              </TableCell>\n              <TableCell width=\"20%\"></TableCell>\n            </TableRow>\n          </TableHead>\n          <TableBody>\n            {messageList?.length > 0 ? (\n              messageList?.map((message, index) => {\n                const tooltipMessage = \"Report As Inaccurate Label\";\n                const isReported = false;\n                return (\n                  <TableRow>\n                    {/*<TableCell sx={styles.checkboxCell}>\n                      <Checkbox label={message?.msgText} sx={styles.checkbox} />\n                    </TableCell>*/}\n                    <TableCell\n                      sx={{\n                        ...styles.checkboxCell,\n                      }}\n                    >\n                      <MessageDetailBlock data={message} index={index} />\n                    </TableCell>\n                    <TableCell\n                      sx={{ ...styles.tableHeight, ...styles.checkboxCell }}\n                    >\n                      <Box sx={styles.actionsCell}>\n                        <TextButton\n                          disabled={true}\n                          onClick={(event) => {}}\n                          startIcon={<JiraIcon disabled={true} />}\n                          sx={styles.tableCellAction}\n                        >\n                          Open Ticket\n                        </TextButton>\n                        <Divider\n                          orientation=\"vertical\"\n                          sx={styles.dividerHeight}\n                        />\n                        <Box sx={styles.thumbsIconBox}>\n                          <Tooltip title={tooltipMessage}>\n                            <div>\n                              <TextButton\n                                onClick={() =>\n                                  handleAddFeedbackDialog(\n                                    isReported,\n                                    message?.prompt\n                                  )\n                                }\n                                disabled={true}\n                                startIcon={\n                                  isReported ? (\n                                    <FlagIcon />\n                                  ) : (\n                                    <FlagOutlinedIcon />\n                                  )\n                                }\n                              >\n                                {isReported ? \"Reported\" : \"Report\"}\n                              </TextButton>\n                            </div>\n                          </Tooltip>\n                        </Box>\n                      </Box>\n                    </TableCell>\n                  </TableRow>\n                );\n              })\n            ) : (\n              <TableRow>\n                <TableCell colSpan={3}>\n                  <Box\n                    sx={{\n                      width: \"100%\",\n                      display: \"flex\",\n                      justifyContent: \"center\",\n                    }}\n                  >\n                    <NoData\n                      customText={\n                        selectedUser\n                          ? `No Messages Found for ${selectedUser}`\n                          : \"No Messages Found\"\n                      }\n                    />\n                  </Box>\n                </TableCell>\n              </TableRow>\n            )}\n          </TableBody>\n        </Table>\n      </TableContainer>\n      {ticketModal && (\n        <DatastoreTicketModal\n          handleModal={() => {\n            setTicketModal(false);\n            setGlobalTicketModal(false);\n          }}\n        >\n          <Box sx={styles.modalBody}>\n            <Box sx={styles.modalContent}>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface60.main}\n              >\n                Ticket Name: <span className=\"mandatory-icon\">*</span>\n              </Typography>\n              <TextField fullWidth value={ticketTitle} />\n            </Box>\n            <Box sx={styles.modalContent}>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface60.main}\n              >\n                Description:\n              </Typography>\n              <TextField\n                fullWidth\n                multiline\n                minRows={10}\n                rows={10}\n                value={buildModalData(\n                  ticketDescription,\n                  frameworkData?.frameworkSummary?.name\n                )}\n              />\n            </Box>\n          </Box>\n        </DatastoreTicketModal>\n      )}\n    </Box>\n  );\n};\n\nexport default MessageDetails;\n","import { Collapse, IconButton, useTheme } from \"@mui/material\";\nimport { ReactNode, useContext, useEffect, useState } from \"react\";\nimport { AppContext } from \"../../context/appContext\";\nimport Bar from \"../common/Bar\";\nimport Box from \"../common/Box\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport Typography from \"../common/Typography\";\n//import WarningIcon from \"../../assets/img/warningIcon.svg\";\nimport KeyboardArrowUpRounded from \"@mui/icons-material/KeyboardArrowUpRounded\";\nimport KeyboardArrowDownRounded from \"@mui/icons-material/KeyboardArrowDownRounded\";\n\nconst CollapsableRow = ({\n  row,\n  rowData,\n  onRowClick,\n  selectedSensitiveLabel,\n}) => {\n  const [open, setOpen] = useState(false);\n\n  const theme = useTheme();\n  const styles = {\n    category: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n    tableCell: {\n      fontSize: \"13px\",\n      \"&.MuiTableCell-root \": {\n        borderBottom: `1px solid ${theme.palette.surface20.main}`,\n      },\n      verticalAlign: \"middle\",\n    },\n    imageWithLabel: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(2),\n    },\n    tableBody: {\n      \"&.MuiTableBody-root .MuiTableRow-root:hover\": {\n        backgroundColor: \"transparent\",\n      },\n    },\n  };\n\n  // Keep row open by default if flag is set to true\n  useEffect(() => {\n    if (selectedSensitiveLabel?.type === row.value) setOpen(true);\n  }, [selectedSensitiveLabel, row]);\n\n  const findingsCount: any = rowData\n    ? Object.values(rowData)?.reduce(function (a, b: any) {\n        return a + b?.totalCount || b?.length;\n      }, 0)\n    : 0;\n\n  return (\n    <>\n      <TableRow>\n        <TableCell\n          sx={styles.category}\n          onClick={() => setOpen((prev) => !prev)}\n          width={\"60%\"}\n          borderBottom={false}\n        >\n          {open ? <KeyboardArrowUpRounded /> : <KeyboardArrowDownRounded />}\n          <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n            {row?.name}\n          </Typography>\n        </TableCell>\n        <TableCell align=\"right\" borderBottom={false}>\n          <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n            {findingsCount}\n          </Typography>\n        </TableCell>\n      </TableRow>\n      <TableRow>\n        <TableCell\n          borderBottom={false}\n          sx={{\n            padding: 0,\n            \"& .MuiTableCell-root\": {\n              paddingRight: \"0 !important\",\n            },\n          }}\n          colSpan={2}\n        >\n          <Collapse\n            in={open}\n            timeout=\"auto\"\n            unmountOnExit\n            sx={{ width: \"100%\" }}\n          >\n            <Table>\n              {rowData ? (\n                <TableBody sx={styles.tableBody}>\n                  {Object.keys(rowData)?.map((rowItem) => {\n                    const count =\n                      rowData[rowItem]?.totalCount || rowData[rowItem]?.length;\n                    return (\n                      <TableRow\n                        selected={rowItem === selectedSensitiveLabel?.label}\n                        onClick={() => onRowClick(rowItem, row.value)}\n                      >\n                        <TableCell sx={styles.tableCell} borderBottom={false}>\n                          <Box sx={styles.imageWithLabel}>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface60.main}\n                            >\n                              {rowItem}\n                            </Typography>\n                          </Box>\n                        </TableCell>\n                        <TableCell\n                          align=\"right\"\n                          sx={styles.tableCell}\n                          borderBottom={false}\n                        >\n                          <Typography\n                            variant=\"caption\"\n                            color={theme.palette.surface60.main}\n                          >\n                            {count}\n                          </Typography>\n                        </TableCell>\n                      </TableRow>\n                    );\n                  })}\n                </TableBody>\n              ) : null}\n            </Table>\n          </Collapse>\n        </TableCell>\n      </TableRow>\n    </>\n  );\n};\n\nconst SensitiveMessageTable = ({\n  selectedUser,\n  retrievals,\n  onRowClick,\n  selectedSensitiveLabel,\n  selectedFilter,\n}: {\n  selectedUser?: string;\n  retrievals: any;\n  onRowClick: any;\n  selectedSensitiveLabel: any;\n  selectedFilter?: string;\n}) => {\n  const theme = useTheme();\n  const styles = {\n    tableContainer: {\n      //maxHeight: \"100%\",\n      height: \"fit-content\",\n      borderRadius: theme.spacing(0.5),\n      maxHeight: \"400px\",\n    },\n    barCell: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n    tableCell: {\n      fontSize: \"13px\",\n      padding: theme.spacing(2),\n      \"&.MuiTableCell-root \": {\n        borderBottom: `1px solid ${theme.palette.surface20.main}`,\n      },\n      verticalAlign: \"middle\",\n    },\n    tableHeader: {\n      \"& .MuiTableCell-head\": {\n        color: theme.palette.surface50.main,\n        fontSize: \"13px\",\n        lineHeight: \"1.125rem\",\n        background: theme.palette.surface0.main,\n        borderBottom: `1px solid ${theme.palette.surface20.main} !important`,\n        paddingY: theme.spacing(1.25),\n        zIndex: 0,\n      },\n    },\n    imageWithLabel: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n  };\n\n  const tableRows = [\n    {\n      name: \"Entity\",\n      value: \"entity_findings\",\n      open: true,\n    },\n    {\n      name: \"Topics\",\n      value: \"topic_findings\",\n    },\n    {\n      name: \"Identity\",\n      value: \"identity\",\n    },\n  ];\n\n  return (\n    <TableContainer sx={styles.tableContainer}>\n      <Table stickyHeader>\n        <TableHead sx={styles.tableHeader}>\n          <TableCell>Findings</TableCell>\n          <TableCell align=\"right\">Count</TableCell>\n        </TableHead>\n        <TableBody>\n          {tableRows.map((row) => {\n            const labelsExist =\n              row?.value && retrievals && retrievals[row.value];\n            return (\n              <CollapsableRow\n                row={row}\n                rowData={labelsExist ? retrievals[row.value] : null}\n                selectedSensitiveLabel={selectedSensitiveLabel}\n                onRowClick={onRowClick}\n              />\n            );\n          })}\n        </TableBody>\n      </Table>\n    </TableContainer>\n  );\n};\n\nexport default SensitiveMessageTable;\n","import { useEffect, useState } from \"react\";\nimport Box from \"../../common/Box\";\nimport MessageDetails from \"../MessageDetails\";\nimport SensitiveMessageTable from \"../SensitiveMessageTable\";\nimport Loader from \"../../common/Loader\";\nimport { useTheme } from \"@mui/material\";\n\nconst SensitiveMessagesDetails = ({ isLoading, messageData }) => {\n  const [selectedSensitiveLabel, setSelectedSensitiveLabel] = useState({\n    label: \"\",\n    type: \"\",\n  });\n  const [messages, setMessages] = useState([]);\n  const theme = useTheme();\n\n  const styles = {\n    loader: {\n      display: \"flex\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n    },\n    summaryContent: {\n      display: \"grid\",\n      gridTemplateColumns: \"30% auto\",\n      columnGap: theme.spacing(3),\n    },\n  };\n\n  const setInitialLabel = () => {\n    const data = Object.keys(messageData);\n    for (let i = 0; i < data.length; i++) {\n      const type = data[i];\n      const childKeys = Object.keys(messageData[type]);\n\n      // If the parent has non-empty children, return the first one\n      if (childKeys.length > 0) {\n        return { type, label: childKeys[0] };\n      }\n    }\n    return null;\n  };\n\n  useEffect(() => {\n    if (selectedSensitiveLabel?.label === \"\") {\n      const label = setInitialLabel();\n      if (label) setSelectedSensitiveLabel(label);\n    }\n    if (Object.keys(messageData)?.length > 0 && selectedSensitiveLabel?.label) {\n      const res =\n        messageData[selectedSensitiveLabel?.type][selectedSensitiveLabel?.label]\n          ?.retrievals;\n      setMessages(res);\n    }\n  }, [selectedSensitiveLabel, messageData]);\n\n  return (\n    <>\n      {isLoading ? (\n        <Box sx={styles.loader}>\n          <Loader height=\"250px\" />\n        </Box>\n      ) : (\n        <Box sx={styles.summaryContent}>\n          <SensitiveMessageTable\n            retrievals={messageData}\n            onRowClick={(label, type) => {\n              setSelectedSensitiveLabel({ label, type });\n            }}\n            selectedSensitiveLabel={selectedSensitiveLabel}\n          />\n          <MessageDetails\n            selectedSensitiveLabel={selectedSensitiveLabel}\n            messagesList={messages}\n            frameworkData={{}}\n          />\n        </Box>\n      )}\n    </>\n  );\n};\n\nexport default SensitiveMessagesDetails;\n","export default __webpack_public_path__ + \"static/media/users.f60b40cb.svg\";","import { useTheme } from \"@mui/material\";\nimport {\n  Accordion,\n  AccordionDetails,\n  AccordionSummary,\n} from \"../../common/Accordion\";\nimport Box from \"../../common/Box\";\nimport Divider from \"../../common/Divider\";\nimport Typography from \"../../common/Typography\";\nimport ExpandMoreIcon from \"@mui/icons-material/ExpandMore\";\nimport { useEffect, useState } from \"react\";\nimport TextButton from \"../../common/TextButton\";\nimport Chip from \"../../common/Chip\";\nimport StarIcon from \"../../../assets/img/starIcon.svg\";\nimport GroupsIcon from \"../../../assets/img/users.svg\";\nimport { getFileName } from \"../../../utils/commonUtils\";\nimport Tooltip from \"../../common/Tooltip\";\n\nexport interface Props {\n  nodeDetails: any;\n  selectedFilter: string;\n}\nconst SelectedNodeDetails = ({ nodeDetails, selectedFilter }: Props) => {\n  const isUser = selectedFilter === \"user\";\n\n  const [showUserDetails, setShowUserDetails] = useState(true);\n  const [openEditLabelDialog, setOpenEditLabelDialog] = useState(false);\n  const [displayedLabels, setDisplayedLabels] = useState([]);\n\n  const theme = useTheme();\n  const styles = {\n    container: {\n      padding: theme.spacing(2),\n    },\n    cardHeader: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    icon: {\n      color: `${theme.palette.primaryBlue.main} !important`,\n      fontSize: theme.spacing(2.25),\n    },\n    userDetailsBox: {\n      backgroundColor: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    restrictedLabelsHeader: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    sectionBox: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    accordion: {\n      \"&:before\": {\n        display: \"none\",\n      },\n      \"&.Mui-expanded\": {\n        margin: \"0px\",\n      },\n    },\n    labelChip: {\n      borderRadius: theme.spacing(0.25),\n    },\n    aiChip: {\n      backgroundColor: \"transparent\",\n      color: theme.palette.surface60.main,\n      \"& .MuiChip-avatar\": {\n        width: \"10px\",\n        height: \"10px\",\n      },\n    },\n    list: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n      flexWrap: \"wrap\",\n    },\n    divider: {\n      height: \"13px\",\n    },\n    groups: { display: \"flex\", gap: theme.spacing(1) },\n    truncateText: {\n      overflow: \"hidden\",\n      textOverflow: \"ellipsis\",\n      whiteSpace: \"nowrap\",\n      width: \"300px\",\n    },\n  };\n\n  useEffect(() => {\n    setDisplayedLabels(nodeDetails?.restrictedLabels);\n  }, [nodeDetails?.restrictedLabels]);\n\n  const documentGroups = !isUser\n    ? nodeDetails?.access_groups\n    : nodeDetails?.groups;\n\n  return (\n    <Accordion sx={styles.accordion} defaultExpanded={true}>\n      <Box sx={styles.cardHeader}>\n        <Typography color={theme.palette.surface80.main} variant=\"body2\">\n          Retrievals By\n        </Typography>\n\n        <Tooltip title={nodeDetails?.name}>\n          <div>\n            <Typography\n              color={theme.palette.surface80.main}\n              variant=\"body2\"\n              sx={styles.truncateText}\n            >\n              {getFileName(nodeDetails?.name)}\n            </Typography>\n          </div>\n        </Tooltip>\n\n        <Divider orientation=\"vertical\" flexItem />\n        <Typography color={theme.palette.surface40.main} variant=\"caption\">\n          {nodeDetails?.designation || \"-\"}\n        </Typography>\n        <Divider orientation=\"vertical\" flexItem sx={styles.divider} />\n        <Box>\n          <AccordionSummary\n            expandIcon={<ExpandMoreIcon sx={styles.icon} />}\n            onClick={() => setShowUserDetails(!showUserDetails)}\n          >\n            <TextButton>Details</TextButton>\n          </AccordionSummary>\n        </Box>\n      </Box>\n      <AccordionDetails>\n        <Box sx={styles.userDetailsBox}>\n          {!isUser && (\n            <>\n              <Box sx={styles.sectionBox}>\n                <Box sx={styles.restrictedLabelsHeader}>\n                  <Typography\n                    color={theme.palette.surface40.main}\n                    variant=\"caption\"\n                  >\n                    Document Owner\n                  </Typography>\n                </Box>\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface80.main}\n                >\n                  {nodeDetails?.owner || \"-\"}\n                </Typography>\n              </Box>\n              <Divider orientation=\"horizontal\" />\n            </>\n          )}\n          <Box sx={styles.sectionBox}>\n            <Typography color={theme.palette.surface40.main} variant=\"caption\">\n              {isUser ? \"\" : \"Authorized\"} Groups ({documentGroups?.length || 0}\n              )\n            </Typography>\n            <Box sx={styles.list}>\n              {documentGroups?.map((group) => (\n                <Box sx={styles.groups}>\n                  <img src={GroupsIcon} width=\"10px\" />\n                  <Typography\n                    color={theme.palette.surface80.main}\n                    variant=\"caption\"\n                  >\n                    {group}\n                  </Typography>\n                  <Divider orientation=\"vertical\" sx={styles.divider} />\n                </Box>\n              ))}\n            </Box>\n          </Box>\n          {isUser && (\n            <>\n              <Divider orientation=\"horizontal\" />\n              <Box sx={styles.sectionBox}>\n                <Box sx={styles.restrictedLabelsHeader}>\n                  <Typography\n                    color={theme.palette.surface40.main}\n                    variant=\"caption\"\n                  >\n                    Restricted Labels ({displayedLabels?.length || 0})\n                  </Typography>\n                  <Divider orientation=\"vertical\" sx={styles.divider} />\n                  <Chip\n                    sx={styles.aiChip}\n                    label=\"AI Assisted\"\n                    avatar={<img src={StarIcon} />}\n                  />\n                </Box>\n                <Box sx={styles.list}>\n                  {displayedLabels?.length > 0 ? (\n                    displayedLabels?.map((label) => (\n                      <Chip\n                        sx={styles.labelChip}\n                        label={\n                          <Typography\n                            color={theme.palette.surface80.main}\n                            variant=\"caption\"\n                          >\n                            {label}\n                          </Typography>\n                        }\n                      />\n                    ))\n                  ) : (\n                    <Typography\n                      color={theme.palette.surface80.main}\n                      variant=\"caption\"\n                    >\n                      No labels found\n                    </Typography>\n                  )}\n                  {/*<Divider orientation=\"vertical\" sx={styles.divider} />\n                  <TextButton\n                    onClick={() => setOpenEditLabelDialog((prev) => !prev)}\n                  >\n                    Edit\n                  </TextButton>*/}\n                </Box>\n              </Box>\n            </>\n          )}\n        </Box>\n      </AccordionDetails>\n    </Accordion>\n  );\n};\n\nexport default SelectedNodeDetails;\n","import { useTheme } from \"@mui/material\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Box from \"../../common/Box\";\nimport Divider from \"../../common/Divider\";\nimport Typography from \"../../common/Typography\";\nimport { Tab, Tabs } from \"../../common/Tabs\";\nimport * as d3 from \"d3\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useParams } from \"react-router-dom\";\nimport AppTreeMap from \"./AppTreeMap\";\nimport {\n  fetchAppOverviewSlice,\n  fetchAppRetreivalsSlice,\n  fetchAppRetrievalOverviewSlice,\n} from \"../../../redux/slices/appSlice\";\nimport SensitiveMessagesDetails from \"./SensitiveMessagesDetails\";\nimport { AppDispatch } from \"../../../redux/store\";\nimport SelectedNodeDetails from \"./SelectedNodeDetails\";\nimport { useSelector } from \"react-redux\";\nimport { fetchImpactedDocumentsSlice } from \"../../../redux/slices/documentSlice\";\nimport { fetchActiveUsersSlice } from \"../../../redux/slices/userSlice\";\n\nconst PromptSummaryPanel = () => {\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const params = useParams();\n  const [selectedNode, setSelectedNode] = useState<any>(null);\n  const [selectedFilter, setSelectedFilter] = useState<any>(\"user\");\n\n  const [retrievalOverview, setRetrievalOverview] = useState<any>({});\n  const [retrievalData, setRetrievalData] = useState<any>([]);\n  const [treeMapView, setTreeMapView] = useState(0);\n  const [isLoadingRetrievalData, setIsLoadingRetrievalData] = useState(false);\n  const documentsList = useSelector((state: any) => state.document.documents);\n  const usersList = useSelector((state: any) => state.user.users);\n\n  const styles = {\n    card: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    treeMapContainer: {\n      width: \"100%\",\n    },\n    cardHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    messageBlock: {\n      display: \"flex\",\n      flexDirection: \"column\",\n    },\n    sensitiveMessages: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n    messageCount: {\n      fontSize: \"24px\",\n    },\n    formControls: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(2),\n    },\n    checkboxLabel: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1),\n    },\n    checkbox: {\n      \"& .MuiSvgIcon-root\": { fontSize: \"20px\" },\n    },\n    promptCheckbox: {\n      color: theme.palette.peach.main,\n    },\n    responseCheckbox: {\n      color: theme.palette.paleBlue.main,\n    },\n    contextCheckbox: {\n      color: theme.palette.laurelGreen.main,\n    },\n    select: {\n      \"&.MuiInputBase-root\": {\n        fontSize: theme.typography.caption,\n        color: theme.palette.surface70.main,\n        fontWeight: theme.typography.fontWeightMedium,\n      },\n    },\n    graphContainer: {},\n    promptSummary: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    summaryHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"space-between\",\n    },\n    sortByText: {\n      fontSize: \"13px\",\n    },\n    messageDetailsHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1.5),\n    },\n    sortByBox: {\n      display: \"flex\",\n      alignItems: \"end\",\n      gap: theme.spacing(1.5),\n    },\n    treeMapLense: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: \"16px\",\n    },\n  };\n\n  const getRetrievalCount = (data, field) => {\n    return data?.reduce((acc, item) => acc + item[field], 0);\n  };\n\n  const treeMapViews = useMemo(\n    () => [\n      {\n        value: 0,\n        label: \"Users\",\n        key: \"Users\",\n        retrievalCount: retrievalOverview.retrievals,\n        treeMapData: retrievalOverview?.users\n          ? [\n              { name: \"P1\", value: \"\", parent: \"\", user: \"P1\", id: \"P1\" },\n              ...retrievalOverview.users?.map((item, index) => ({\n                id: index.toString(),\n                name: item?.name,\n                value: item?.retrieval_count,\n                parent: \"P1\",\n              })),\n            ]\n          : [{ name: \"P1\", value: \"\", parent: \"\", user: \"P1\", id: \"P1\" }],\n      },\n      {\n        value: 1,\n        label: \"Document\",\n        key: \"Document\",\n        retrievalCount: retrievalOverview.retrievals,\n        treeMapData: retrievalOverview?.documents_accessed\n          ? [\n              { name: \"P1\", value: \"\", parent: \"\", user: \"P1\", id: \"P1\" },\n              ...retrievalOverview.documents_accessed?.map((item, index) => ({\n                id: index.toString(),\n                name: item?.source_path,\n                value: item?.retrieval_count,\n                parent: \"P1\",\n              })),\n            ]\n          : [{ name: \"P1\", value: \"\", parent: \"\", user: \"P1\", id: \"P1\" }],\n      },\n    ],\n    [retrievalOverview]\n  );\n\n  const fetchTreeMapData = async (payload) => {\n    const response = await dispatch(fetchAppRetrievalOverviewSlice(payload));\n\n    if (response?.payload) {\n      setRetrievalOverview(response?.payload);\n    }\n  };\n\n  const fetchRetrievalsData = async (payload) => {\n    setIsLoadingRetrievalData(true);\n    const response = await dispatch(fetchAppRetreivalsSlice(payload));\n    if (response?.payload) {\n      setRetrievalData(response?.payload);\n    }\n    setIsLoadingRetrievalData(false);\n  };\n\n  const getSelectedNodeDetails = () => {\n    let details = null;\n    const data = treeMapViews.find(\n      (item) => item.value === treeMapView\n    )?.treeMapData;\n\n    if (data) {\n      const node = data.find((item) => item.id === selectedNode);\n\n      if (selectedFilter === \"file\" && documentsList?.length) {\n        details = {\n          ...node,\n          ...documentsList?.find((item) => item.name === node?.name),\n        };\n      } else if (usersList?.length) {\n        details = {\n          ...node,\n          ...usersList?.find((item) => item.name === node?.name),\n        };\n      } else {\n        details = { ...node };\n      }\n    }\n    return details;\n  };\n\n  const fetchDocsList = async () => {\n    if (!documentsList) {\n      await dispatch(\n        fetchImpactedDocumentsSlice({ customerId: getCustomerId() })\n      );\n    }\n  };\n\n  const fetchUsersList = async () => {\n    if (!usersList) {\n      await dispatch(fetchActiveUsersSlice({ customerId: getCustomerId() }));\n    }\n  };\n\n  useEffect(() => {\n    const payload = {\n      customerId: getCustomerId(),\n      appId: params.id,\n    };\n    fetchTreeMapData(payload);\n    fetchRetrievalsData(payload);\n    fetchDocsList();\n    fetchUsersList();\n  }, []);\n\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.cardHeader}>\n        <Box sx={styles.messageBlock}>\n          <Box sx={styles.sensitiveMessages}>\n            <Typography color={theme.palette.surface70.main} variant=\"body2\">\n              Retrieval Count\n            </Typography>\n            <Typography\n              color={theme.palette.critical.main}\n              sx={styles.messageCount}\n            >\n              {treeMapViews[treeMapView]?.retrievalCount}\n            </Typography>\n          </Box>\n          {/*<Typography\n            variant=\"caption\"\n            color={theme.palette.surface50.main}\n          >{`Total Messages ${totalPrompts}`}</Typography>*/}\n        </Box>\n      </Box>\n      <Box sx={styles.graphContainer}>\n        <Box sx={styles.treeMapContainer}>\n          <Box sx={styles.treeMapLense}>\n            <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n              View By\n            </Typography>\n            <Tabs\n              value={treeMapView}\n              onChange={(event, newValue) => {\n                setTreeMapView(newValue);\n                setSelectedNode(null);\n                setSelectedFilter(newValue === 0 ? \"user\" : \"file\");\n              }}\n            >\n              {treeMapViews?.map((item) => (\n                <Tab value={item.value} label={item.label} key={item.value} />\n              ))}\n            </Tabs>\n          </Box>\n          <Box\n            sx={{\n              display: \"flex\",\n              flexDirection: \"column\",\n              gap: theme.spacing(1),\n            }}\n          >\n            <AppTreeMap\n              setSelectedNode={setSelectedNode}\n              selectedNode={selectedNode}\n              data={\n                treeMapViews[treeMapView]?.treeMapData || [\n                  { name: \"P1\", value: \"\", parent: \"\", user: \"P1\" },\n                ]\n              }\n              maxTwoValue={2}\n            />\n            {selectedNode && (\n              <SelectedNodeDetails\n                nodeDetails={getSelectedNodeDetails()}\n                selectedFilter={selectedFilter}\n              />\n            )}\n          </Box>\n        </Box>\n      </Box>\n      <Divider orientation=\"horizontal\" />\n      <Box sx={styles.promptSummary}>\n        <Box sx={styles.summaryHeader}>\n          <Typography variant=\"body2\">Retrievals by Labels</Typography>\n        </Box>\n        <SensitiveMessagesDetails\n          isLoading={isLoadingRetrievalData}\n          messageData={retrievalData}\n        />\n      </Box>\n    </Box>\n  );\n};\n\nexport default PromptSummaryPanel;\n","import { IconButton, useTheme } from \"@mui/material\";\nimport moment from \"moment\";\nimport { useEffect, useState } from \"react\";\nimport SlackIcon from \"../../../assets/img/slack.svg\";\nimport MoreVert from \"@mui/icons-material/MoreVert\";\nimport TextButton from \"../../common/TextButton\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport Divider from \"../../common/Divider\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../../common/Table\";\nimport Checkbox from \"../../common/Checkbox\";\nimport Chip from \"../../common/Chip\";\nimport DatastoreTicketModal from \"../../modal/datastore-ticket-modal/DatastoreTicketModal\";\nimport { TextField } from \"../../common/TextField\";\nimport ReactDOMServer from \"react-dom/server\";\nimport NoData from \"../../common/NoData\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport FlagOutlinedIcon from \"@mui/icons-material/FlagOutlined\";\nimport FlagIcon from \"@mui/icons-material/Flag\";\nimport Loader from \"../../common/Loader\";\nimport Tooltip from \"../../common/Tooltip\";\nimport SuggestLabelDialog from \"../SuggestLabelDialog\";\nimport { getCustomerId, getID } from \"../../../utils/SessionHelper\";\nimport { suggestClassificationLabelForDocSlice } from \"../../../redux/slices/frameworkPageSlice\";\nimport { Toaster, TOASTER_TYPES } from \"../../../utils/toaster\";\nimport DiscardLabelDialog from \"../DiscardLabelDialog\";\nimport ViewMoreBlock from \"../../common/ViewMoreBlock\";\nimport JiraIcon from \"../../icons/JiraIcon\";\n\nconst NUM_OF_DEFAULT_CHARACTERS = 250;\n\nconst MessageDetailBlock = ({ data, index }) => {\n  const theme = useTheme();\n  const styles = {\n    messageContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.25),\n    },\n    messageCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    messageFontSize: {\n      fontSize: \"13px\",\n    },\n    dateText: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    messageData: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    keyValue: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.75),\n    },\n    tableCellAction: {\n      whiteSpace: \"nowrap\",\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      color: theme.palette.primaryBlue.main,\n      cursor: \"pointer\",\n      \"&.Mui-disabled\": {\n        color: theme.palette.surface20.main,\n        pointerEvents: \"unset\",\n        cursor: \"not-allowed\",\n      },\n    },\n    originChain: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.25),\n      alignItems: \"start\",\n    },\n    policyChip: {\n      display: \"flex\",\n      width: \"min-content\",\n      //backgroundColor: \"rgba(255, 101, 91, 0.20)\",\n      backgroundColor: theme.palette.surface10.main,\n      border: `1px solid ${theme.palette.warning.main}`,\n      borderRadius: theme.spacing(0.5),\n    },\n  };\n\n  return (\n    <Box sx={styles.messageContainer}>\n      <Box sx={styles.messageCard}>\n        <Box sx={styles.messageData}>\n          <Box sx={styles.keyValue}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Snippet\n            </Typography>\n            <ViewMoreBlock\n              value={data.doc}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n          <Box sx={styles.keyValue}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Retrieved From\n            </Typography>\n            <ViewMoreBlock\n              value={data?.retrieved_from}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nconst SnippetDetails = ({\n  isMessageLoading,\n  messagesList = [],\n  frameworkData = {},\n  selectedSensitiveLabel = { label: \"\", type: \"\" },\n  sensitiveData,\n}: {\n  isMessageLoading: boolean;\n  frameworkData: any;\n  messagesList: any;\n  selectedSensitiveLabel: { label: string; type: string };\n  sensitiveData: any;\n}) => {\n  const [globalTicketModal, setGlobalTicketModal] = useState(false);\n  const [sensitiveLabelCount, setSensitiveLabelCount] = useState(0);\n\n  const [labelList, setLabelList] = useState<Array<string>>([]);\n\n  const theme = useTheme();\n  const dispatch = useDispatch();\n  const topics = useSelector((state: any) => state.policy.topics);\n  const styles = {\n    messagePanel: {\n      borderRadius: theme.spacing(0.5),\n      height: \"400px\",\n      overflow: \"hidden\",\n    },\n    checkbox: {\n      \"& .MuiSvgIcon-root\": { fontSize: \"16px\" },\n    },\n    tableHeader: {\n      \"& .MuiTableCell-head\": {\n        color: theme.palette.surface50.main,\n        fontSize: \"13px\",\n        lineHeight: \"1.125rem\",\n        background: theme.palette.surface0.main,\n        borderBottom: `1px solid ${theme.palette.surface20.main} !important`,\n        paddingY: theme.spacing(0.75),\n        zIndex: 10,\n      },\n    },\n    checkboxCell: {\n      verticalAlign: \"top\",\n    },\n    tableCellAction: {\n      whiteSpace: \"nowrap\",\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      color: theme.palette.primaryBlue.main,\n      cursor: \"pointer\",\n      \"&.Mui-disabled\": {\n        color: theme.palette.surface20.main,\n        pointerEvents: \"unset\",\n        cursor: \"not-allowed\",\n      },\n    },\n    bulkActions: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    actionImg: {\n      height: \"16px\",\n    },\n    actionsCell: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      //height: \"100%\",\n      // flexDirection: \"column\",\n      justifyContent: \"space-between\",\n      alignItems: \"center\",\n    },\n    tableHeight: {\n      height: \"100%\",\n    },\n    modalBody: {\n      padding: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    modalContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    tableContainer: {\n      minHeight: \"100%\",\n      height: \"100%\",\n      maxHeight: \"400px\",\n    },\n    tableCell: {\n      verticalAlign: \"top\",\n    },\n    iconButton: {\n      padding: theme.spacing(0.5),\n    },\n    dFlex: {\n      display: \"flex\",\n    },\n    dividerHeight: { height: \"13px\" },\n    thumbsIcon: {\n      color: theme.palette.surface30.main,\n      height: \"20px\",\n      width: \"20px\",\n    },\n    thumbsIconBox: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(0.5),\n    },\n  };\n\n  useEffect(() => {\n    setLabelList([...topics.map((topic) => topic.name), \"Other\"]);\n  }, [topics]);\n\n  return (\n    <Box sx={styles.messagePanel}>\n      <TableContainer sx={styles.tableContainer}>\n        <Table sx={styles.tableHeight}>\n          <TableHead sx={styles.tableHeader}>\n            <TableRow noHover={true}>\n              {/*<TableCell>\n                <Tooltip title=\"Not available\">\n                  <div>\n                    <Checkbox disabled label=\"selectAll\" sx={styles.checkbox} />\n                  </div>\n                </Tooltip>\n              </TableCell>*/}\n              <TableCell>\n                <Box sx={styles.bulkActions}>\n                  <Divider orientation=\"vertical\" flexItem />\n                  <Tooltip title=\"Not available\">\n                    <div style={styles.dFlex}>\n                      <TextButton\n                        disabled\n                        startIcon={\n                         <JiraIcon disabled={true} />\n                        }\n                        // onClick={(event) => {\n                        //   event.stopPropagation();\n                        //   setGlobalTicketModal(true);\n                        //   setTicketTitle(selectedSensitiveLabel);\n                        //   setTicketDescription({\n                        //     ...frameworkData,\n                        //     ...messageList[0],\n                        //   });\n                        //   setTicketModal(true);\n                        // }}\n                        sx={styles.tableCellAction}\n                      >\n                        Open Jira Ticket\n                      </TextButton>\n                    </div>\n                  </Tooltip>\n                  <Divider orientation=\"vertical\" flexItem />\n                  <Tooltip title=\"Not available\">\n                    <div style={styles.dFlex}>\n                      <TextButton\n                        disabled\n                        startIcon={\n                          <img\n                            src={SlackIcon}\n                            alt=\"slack\"\n                            style={styles.actionImg}\n                          />\n                        }\n                        onClick={(event) => {\n                          event.stopPropagation();\n                        }}\n                        sx={styles.tableCellAction}\n                      >\n                        Notify on Slack\n                      </TextButton>\n                    </div>\n                  </Tooltip>\n                  <Divider orientation=\"vertical\" flexItem />\n                  <Tooltip title=\"Not available\">\n                    <div>\n                      <IconButton disabled sx={styles.iconButton}>\n                        <TextButton disabled>\n                          <MoreVert fontSize=\"small\" />\n                        </TextButton>\n                      </IconButton>\n                    </div>\n                  </Tooltip>\n                </Box>\n              </TableCell>\n              <TableCell></TableCell>\n            </TableRow>\n          </TableHead>\n          <TableBody>\n            {isMessageLoading ? (\n              <TableCell colspan=\"2\" borderBottom={false}>\n                <Loader />\n              </TableCell>\n            ) : messagesList?.length ? (\n              messagesList?.map((message, index) => {\n                const suggestedLabel = message?.label_feedback?.suggested_label;\n                const otherLabel = message?.label_feedback?.otherLabel;\n                return (\n                  <TableRow noHover={true}>\n                    <TableCell sx={styles.tableCell}>\n                      <MessageDetailBlock data={message} index={index} />\n                    </TableCell>\n                    <TableCell sx={styles.tableCell}>\n                      <Box sx={styles.actionsCell}>\n                        <TextButton\n                          onClick={(event) => {\n                            event.stopPropagation();\n                          }}\n                          disabled={true}\n                          startIcon={<JiraIcon disabled={true} />}\n                          sx={styles.tableCellAction}\n                        >\n                          Open Ticket\n                        </TextButton>\n                        <Divider\n                          orientation=\"vertical\"\n                          sx={styles.dividerHeight}\n                        />\n                        <Box sx={styles.thumbsIconBox}>\n                          <Tooltip\n                            title={\n                              suggestedLabel\n                                ? `You Suggested new label \n                            as ‘${suggestedLabel}${\n                                    otherLabel ? `-${otherLabel}` : \"\"\n                                  }’.`\n                                : \"Report As Inaccurate Label\"\n                            }\n                            placement=\"top\"\n                          >\n                            <div>\n                              <TextButton\n                                onClick={() => {}}\n                                disabled={true}\n                                startIcon={\n                                  suggestedLabel ? (\n                                    <FlagIcon />\n                                  ) : (\n                                    <FlagOutlinedIcon />\n                                  )\n                                }\n                              >\n                                {suggestedLabel ? \"Reported\" : \"Report\"}\n                              </TextButton>\n                            </div>\n                          </Tooltip>\n                        </Box>\n                      </Box>\n                    </TableCell>\n                  </TableRow>\n                );\n              })\n            ) : (\n              <TableCell colspan=\"2\" borderBottom={false}>\n                <NoData customText=\"No data found.\" />\n              </TableCell>\n            )}\n          </TableBody>\n        </Table>\n      </TableContainer>\n    </Box>\n  );\n};\n\nexport default SnippetDetails;\n","import { useEffect, useState } from \"react\";\nimport Box from \"../../common/Box\";\nimport { useTheme } from \"@mui/material\";\nimport SensitiveMessageTable from \"../SensitiveMessageTable\";\nimport SnippetDetails from \"./SnippetDetails\";\n\nexport const DataSourceMessageDetails = ({\n  messageData,\n  frameworkData,\n  isMessageLoading,\n}) => {\n  const [selectedSensitiveLabel, setSelectedSensitiveLabel] = useState({\n    label: \"\",\n    type: \"\",\n  });\n  const [messages, setMessages] = useState([]);\n  const theme = useTheme();\n\n  const styles = {\n    summaryContent: {\n      display: \"grid\",\n      gridTemplateColumns: \"30% auto\",\n      columnGap: theme.spacing(3),\n      alignItems: \"flex-start\",\n      height: \"100%\",\n    },\n  };\n\n  const setInitialLabel = () => {\n    const data = Object.keys(messageData);\n    for (let i = 0; i < data.length; i++) {\n      const type = data[i];\n      const childKeys = Object.keys(messageData[type]);\n\n      // If the parent has non-empty children, return the first one\n      if (childKeys.length > 0) {\n        return { type, label: childKeys[0] };\n      }\n    }\n    return null;\n  };\n\n  useEffect(() => {\n    if (messageData && Object.keys(messageData).length > 0) {\n      if (selectedSensitiveLabel?.label) {\n        const res =\n          messageData[selectedSensitiveLabel?.type][\n            selectedSensitiveLabel?.label\n          ]?.findings;\n        setMessages(res);\n      } else {\n        const label = setInitialLabel();\n        if (label) setSelectedSensitiveLabel(label);\n      }\n    }\n  }, [selectedSensitiveLabel, messageData]);\n\n  return (\n    <Box sx={styles.summaryContent}>\n      <SensitiveMessageTable\n        retrievals={messageData}\n        onRowClick={(label, type) => {\n          setSelectedSensitiveLabel({ label, type });\n        }}\n        selectedSensitiveLabel={selectedSensitiveLabel}\n      />\n      <SnippetDetails\n        isMessageLoading={isMessageLoading}\n        sensitiveData={messageData}\n        messagesList={messages}\n        selectedSensitiveLabel={selectedSensitiveLabel}\n        frameworkData={frameworkData}\n      />\n    </Box>\n  );\n};\n","import React, { useEffect, useState } from \"react\";\nimport Box from \"../../common/Box\";\nimport TextButton from \"../../common/TextButton\";\nimport ExpandLessRoundedIcon from \"@mui/icons-material/ExpandLessRounded\";\nimport ExpandMoreRoundedIcon from \"@mui/icons-material/ExpandMoreRounded\";\nimport { Divider, useTheme } from \"@mui/material\";\nimport Typography from \"../../common/Typography\";\nimport S3Icon from \"../../../assets/img/AWS_S3.svg\";\nimport MarkIcon from \"../../../assets/img/markDown.svg\";\nimport { Select } from \"../../common/Select\";\nimport Search from \"../../common/Search\";\nimport { fetchDataSourceSnippetsSlice } from \"../../../redux/slices/frameworkPageSlice\";\nimport { DataSourceMessageDetails } from \"./DataSourceMessageDetails\";\nimport {\n  Accordion,\n  AccordionDetails,\n  AccordionSummary,\n} from \"../../common/Accordion\";\nimport { getCustomerId, getID } from \"../../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { useParams } from \"react-router-dom\";\nimport { getDateTime, getIconForKey } from \"../../../utils/commonUtils\";\nimport { fetchAppLoaderDetailsSlice } from \"../../../redux/slices/appSlice\";\nimport { AppDispatch } from \"../../../redux/store\";\n\ninterface Loader {\n  summary: {\n    source: string;\n    source_type: string;\n    last_modified: string;\n  };\n  topic_findings: {};\n  entity_findings: {};\n}\n\nexport const DataSourceTab = ({ frameworkData }) => {\n  const [isMessageLoading, setIsMessageLoading] = useState<boolean>(false);\n  const [datasourceDetails, setDataSourceDetails] = useState<any>(null);\n\n  const [selectedLoader, setSelectedLoader] = useState<Loader | null>(null);\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const params = useParams();\n  const objectId = params.id;\n\n  const styles = {\n    card: {\n      height: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      borderRadius: theme.spacing(0.5),\n      padding: theme.spacing(2),\n    },\n    summaryCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      paddingBottom: theme.spacing(3),\n    },\n    fontWeight700: {\n      fontWeight: 700,\n    },\n    fontLight: {\n      fontSize: \"10px\",\n      marginLeft: 1,\n    },\n    dFlex: {\n      display: \"flex\",\n    },\n    alignEnd: {\n      alignItems: \"end\",\n    },\n    bottom4: {\n      marginBottom: 0.5,\n    },\n    gap4: {\n      gap: 1,\n    },\n    summaryTab: (selected: boolean) => ({\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: \"6px\",\n      padding: \"8px 16px\",\n      background: theme.palette.surface10.main,\n      border: `1px solid ${\n        selected ? theme.palette.primaryBlue.main : theme.palette.surface20.main\n      }`,\n      borderRadius: \"2px\",\n      width: \"fit-content\",\n      cursor: \"pointer\",\n    }),\n    summaryToggle: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    textButton: {\n      width: \"fit-content\",\n    },\n    gap56: {\n      gap: theme.spacing(7),\n    },\n    snippetDetails: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(4),\n      paddingY: theme.spacing(4),\n      flex: 1,\n    },\n    snippetHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"space-between\",\n    },\n    sortByText: {\n      fontSize: \"13px\",\n    },\n    messageDetailsHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1.5),\n    },\n    sortByBox: {\n      display: \"flex\",\n      alignItems: \"end\",\n      gap: theme.spacing(1.5),\n    },\n    gap24: {\n      gap: theme.spacing(3),\n    },\n    accordionSummary: {\n      \"& .MuiAccordionSummary-expandIconWrapper\": {\n        svg: {\n          color: theme.palette.primaryBlue.main,\n        },\n      },\n    },\n  };\n\n  const getLoaderDetails = async () => {\n    setIsMessageLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      appId: params.id,\n    };\n    const response = await dispatch(fetchAppLoaderDetailsSlice(payload));\n    if (response?.payload?.data) {\n      setDataSourceDetails(response?.payload?.data);\n    }\n    setIsMessageLoading(false);\n  };\n\n  useEffect(() => {\n    if (datasourceDetails?.length > 0) {\n      setSelectedLoader(datasourceDetails[0]);\n    }\n  }, [datasourceDetails]);\n\n  useEffect(() => {\n    getLoaderDetails();\n  }, []);\n\n  const snippetsData =\n    selectedLoader?.entity_findings || selectedLoader?.topic_findings\n      ? {\n          entity_findings: selectedLoader?.entity_findings,\n          topic_findings: selectedLoader?.topic_findings,\n        }\n      : null;\n\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.summaryCard}>\n        <Box sx={{ ...styles.dFlex, ...styles.gap24 }}>\n          {datasourceDetails?.length > 0 ? (\n            datasourceDetails?.map((item) => (\n              <Box\n                sx={styles.summaryTab(\n                  item?.summary?.source === selectedLoader?.summary?.source\n                )}\n                onClick={() => setSelectedLoader(item?.summary?.source)}\n              >\n                {/*<Box sx={{ ...styles.dFlex, ...styles.alignEnd }}>\n                  <Typography\n                    color={theme.palette.critical.main}\n                    variant=\"h5\"\n                    sx={styles.fontWeight700}\n                  >\n                    {item?.summary?.restrictedCount}\n                  </Typography>\n                  <Typography\n                    color={theme.palette.surface80.main}\n                    variant=\"caption\"\n                    sx={styles.bottom4}\n                  >\n                    /{datasourceDetails?.totalCount}\n                  </Typography>\n                  <Typography\n                    color={theme.palette.surface80.main}\n                    sx={{ ...styles.fontLight, ...styles.bottom4 }}\n                  >\n                    Files with restricted data\n                  </Typography>\n                </Box>*/}\n                <Box sx={{ ...styles.dFlex, ...styles.gap4 }}>\n                  <img\n                    alt=\"\"\n                    src={getIconForKey(\"data_loader\", item?.summary?.source)}\n                    height=\"14\"\n                    width=\"14\"\n                  />\n                  <Typography\n                    color={theme.palette.surface80.main}\n                    variant=\"body2\"\n                  >\n                    {item?.summary?.source_type || \"-\"}\n                  </Typography>\n                </Box>\n              </Box>\n            ))\n          ) : (\n            <Typography color={theme.palette.surface80.main} variant=\"body2\">\n              No loader found.\n            </Typography>\n          )}\n        </Box>\n        <Box sx={styles.summaryToggle}>\n          <Accordion>\n            <AccordionSummary sx={styles.accordionSummary}>\n              <TextButton sx={styles.textButton}>Summary</TextButton>\n            </AccordionSummary>\n            <AccordionDetails sx={{ ...styles.dFlex, ...styles.gap56 }}>\n              <React.Fragment>\n                <Box>\n                  <Typography\n                    color={theme.palette.surface30.main}\n                    variant=\"caption\"\n                  >\n                    Source\n                  </Typography>\n                  <Typography variant=\"body2\">\n                    {selectedLoader?.summary?.source || \"-\"}\n                  </Typography>\n                </Box>\n                <Box>\n                  <Typography\n                    color={theme.palette.surface30.main}\n                    variant=\"caption\"\n                  >\n                    Source Type\n                  </Typography>\n                  <Typography variant=\"body2\">\n                    {selectedLoader?.summary?.source_type || \"-\"}\n                  </Typography>\n                </Box>\n                <Box>\n                  <Typography\n                    color={theme.palette.surface30.main}\n                    variant=\"caption\"\n                  >\n                    Last Modified\n                  </Typography>\n                  <Typography variant=\"body2\">\n                    {getDateTime(selectedLoader?.summary?.last_modified) || \"-\"}\n                  </Typography>\n                </Box>\n              </React.Fragment>\n            </AccordionDetails>\n          </Accordion>\n        </Box>\n      </Box>\n      <Divider variant=\"fullWidth\" color={theme.palette.surface20.main} />\n      <Box sx={styles.snippetDetails}>\n        <Box sx={styles.snippetHeader}>\n          <Typography variant=\"body2\">Snippets by Labels</Typography>\n        </Box>\n        <DataSourceMessageDetails\n          isMessageLoading={isMessageLoading}\n          frameworkData={frameworkData}\n          messageData={snippetsData}\n        />\n      </Box>\n    </Box>\n  );\n};\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Typography from \"../../common/Typography\";\nimport { PolicyViolationDetailsCard } from \"../LLMModel/PolicyViolationDetailsCard\";\nimport data from \"../../../mock-data/llmFrameworkPageData.json\";\nimport { useParams } from \"react-router-dom\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { listDataStoreTagsAsync } from \"../../../redux/slices/dataStoreSlice\";\nimport Loader from \"../../common/Loader\";\nimport NoData from \"../../common/NoData\";\nimport { Breadcrumbs, Link } from \"../../common/Breadcrumbs\";\nimport LLMTabs from \"./LLMTabs\";\nimport LLMFrameworkDetails from \"./LLMFrameworkDetails\";\nimport { TabPanel } from \"../../common/Tabs\";\nimport { LangchainGraph } from \"../graph/LangchainGraph\";\nimport { ChainGraph } from \"../graph/ChainGraph\";\nimport { LangchainGraphNode } from \"../graph/LangchainGraphNode\";\nimport { CollapseIconComponent } from \"../../common/CollapseIcon\";\nimport LangchainIcon from \"../../../assets/img/langchain.svg\";\nimport ChromaIcon from \"../../../assets/img/chromaIcon.svg\";\nimport PostgresIcon from \"../../../assets/img/postgres.svg\";\nimport { frameworkPromptSummaryData } from \"../../../mock-data/frameworkPromptMessagesData\";\nimport { getIconForKey } from \"../../../utils/commonUtils\";\nimport {\n  fetchEntitiesSlice,\n  fetchTopicsSlice,\n} from \"../../../redux/slices/policySlice\";\nimport LoaderOverviewPanel from \"./Overview/LoaderOverviewPanel\";\nimport {\n  deleteAppSlice,\n  fetchAppDetailsSlice,\n  fetchAppOverviewSlice,\n  fetchAppRetreivalsSlice,\n  setAppDescriptionSlice,\n} from \"../../../redux/slices/appSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../../utils/toaster\";\nimport { useHistory } from \"react-router-dom\";\nimport AddAppPolicy from \"./AddAppPolicy\";\nimport PromptSummaryPanel from \"./PromptSummaryPanel\";\nimport { DataSourceTab } from \"./DataSourceTab\";\nimport { AppDispatch } from \"../../../redux/store\";\n\nconst APPLICATION_STR = \"application\";\n\nexport const LLMFrameworkPage = ({ setPath }) => {\n  const theme = useTheme();\n  const params = useParams();\n  const dispatch = useDispatch<AppDispatch>();\n  const history = useHistory();\n  const ref = useRef<any>(null);\n  const [frameworkData, setFrameworkData] = useState<any>({});\n  const objectId = params.id;\n  const [width, setWidth] = useState<any>(0);\n  const [tags, setTags] = useState<any>([]);\n  const [isLoading, setIsLoading] = useState(false);\n  const [selectedTab, setSelectedTab] = useState(\"overview\");\n  const [nodeHeight, setNodeHeight] = useState(0);\n  const [collapsibleTreeData, setCollapsibleTreeData] = useState<any>({});\n  const [tabsData, setTabsData] = useState(null);\n\n  const styles = {\n    loader: {\n      height: \"100vh\",\n      width: \"100%\",\n      backgroundColor: theme.palette.surface10.main,\n    },\n    pageLayout: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    langchainFramework: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      height: \"100%\",\n    },\n    breadCrumbLink: {\n      fontSize: theme.typography.caption,\n    },\n    activeLink: { color: theme.palette.surface80.main },\n    blueLink: {\n      color: theme.palette.primaryBlue.main,\n    },\n    langchainHeader: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    langchainTitle: {\n      display: \"flex\",\n      gap: theme.spacing(1.25),\n      alignItems: \"center\",\n    },\n    langchainDetailsCard: {\n      display: \"flex\",\n      gap: theme.spacing(4),\n      padding: theme.spacing(2),\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      marginBottom: theme.spacing(1),\n      height: \"auto\",\n      transition: \"all 0.5s\",\n    },\n    tabLabel: {\n      paddingX: theme.spacing(1),\n    },\n    promptSummaryPanel: {\n      background: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      borderRadius: theme.spacing(0.5),\n    },\n    tab: {\n      marginTop: theme.spacing(1.5),\n    },\n  };\n\n  const getFrameworkDetails = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      appId: objectId,\n    };\n    const resp = await dispatch(fetchAppDetailsSlice(payload));\n    if (resp?.payload) {\n      setFrameworkData(resp?.payload);\n      if (resp?.payload?.chains?.length > 0) {\n        const structuredTreeData = buildCollapsibleGraphData(\n          resp?.payload?.chains,\n          resp?.payload\n        );\n        setCollapsibleTreeData(structuredTreeData);\n      } else {\n        setCollapsibleTreeData({});\n      }\n    } else {\n      setFrameworkData({});\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    setPath(window.location.pathname);\n    window.addEventListener(\"resize\", getWidth);\n    getEntitiesTopicsList();\n    getFrameworkDetails();\n    const widthValue: any = ref?.current?.offsetWidth;\n    setWidth(widthValue);\n  }, []);\n\n  useEffect(() => {\n    if (objectId) {\n      const filteredData = data?.frameworkPageData.find(\n        (item) => item?.id === objectId\n      );\n      setFrameworkData(filteredData?.data);\n    }\n  }, [objectId]);\n\n  const getEntitiesTopicsList = async () => {\n    let payload = {\n      customerId: getCustomerId(),\n    };\n    await dispatch(fetchEntitiesSlice(payload));\n    await dispatch(fetchTopicsSlice(payload));\n  };\n\n  const getWidth = () => {\n    setWidth(ref?.current?.clientWidth);\n  };\n\n  let frameworkTabs = [\n    {\n      value: \"overview\",\n      label: (\n        <Typography variant=\"body2\" sx={styles.tabLabel}>\n          Overview\n        </Typography>\n      ),\n    },\n    {\n      value: \"datasource\",\n      label: (\n        <Typography variant=\"body2\" sx={styles.tabLabel}>\n          Safe Loader\n        </Typography>\n      ),\n    },\n    {\n      value: \"promptSummary\",\n      label: (\n        <Typography variant=\"body2\" sx={styles.tabLabel}>\n          Safe Retrieval\n        </Typography>\n      ),\n    },\n  ];\n\n  const updateDataStructure = (data) => {\n    let result = {};\n    if (data && data?.length) {\n      data.map((user: any) => {\n        result = {\n          ...result,\n          [user.userName]: {\n            user_id: user.userId,\n            documents: user.documents,\n          },\n        };\n      });\n    }\n    return result;\n  };\n\n  const getAppData = async () => {\n    const appId = params.id;\n    const payload = {\n      appId: appId,\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchAppOverviewSlice(payload));\n    const retirevalRes = await dispatch(fetchAppRetreivalsSlice(payload));\n    if (response?.payload || retirevalRes?.payload) {\n      return {\n        overview: response?.payload || {},\n        data: updateDataStructure(retirevalRes?.payload || []),\n      };\n    }\n    return { overview: {}, data: [] };\n  };\n\n  const buildCollapsibleGraphData = (unstructuredData, frameworkDetails) => {\n    if (unstructuredData?.length > 0) {\n      let graphData = {};\n      unstructuredData?.map((item) => {\n        graphData = {\n          name: item.name,\n          height: 70,\n          width: 200,\n          isNode: false,\n          nodeDepth: 600,\n          icon: <CollapseIconComponent id={item.name} />,\n          node: (\n            <LangchainGraphNode\n              icon={LangchainIcon}\n              title={item.name}\n              variant=\"main\"\n              isNode={false}\n            />\n          ),\n          children:\n            item?.vectorDbs?.length > 0\n              ? getLangchainChildren(item?.vectorDbs, item, frameworkDetails)\n              : [],\n        };\n      });\n      return graphData;\n    }\n    return {};\n  };\n\n  const constructChainData = (unstructuredData, index, frameworkDetails) => {\n    if (Object.keys(unstructuredData)?.length > 0) {\n      let graphData = {\n        name: unstructuredData?.name,\n        version: unstructuredData?.version,\n        height: 70,\n        width: 200,\n        isNode: true,\n        type: \"vectorDB\",\n        nodeDepth: 200,\n        packageInfo: unstructuredData?.packageInfo,\n        node: (\n          <LangchainGraphNode\n            id=\"lineage-graph-node\"\n            icon={getIconForKey(\"vector_db\", unstructuredData?.name)}\n            title={unstructuredData?.name}\n            description={unstructuredData?.version}\n            isNode={true}\n          />\n        ),\n        icon:\n          unstructuredData?.bucket?.length > 0 ||\n          frameworkDetails?.loaders?.length > 0 ? (\n            <CollapseIconComponent id={unstructuredData?.name} />\n          ) : (\n            \"\"\n          ),\n        children:\n          unstructuredData?.bucket?.length > 0\n            ? getVectorDbChildren(unstructuredData?.bucket)\n            : frameworkDetails?.loaders?.length > 0\n            ? getVectorDbChildren([frameworkDetails?.loaders[index]])\n            : [],\n      };\n      return graphData;\n    }\n    return {};\n  };\n\n  const addNullObject = (array) => {\n    let newArray: any = [];\n    for (let i = 0; i < array?.length - 1; i++) {\n      newArray.push({});\n    }\n    return [...newArray, ...array];\n  };\n\n  const getLangchainChildren = (array, item, frameworkDetails) => {\n    let collapsibleNodeHeight = 0;\n    let chainNumber = 0;\n    let newArray = array?.map((db, index) => {\n      let height =\n        db?.bucket?.length > 0\n          ? 200 *\n            (db?.bucket?.length === 1\n              ? db?.bucket?.length + 1\n              : db?.bucket?.length)\n          : 300;\n      if (collapsibleNodeHeight > height) {\n        collapsibleNodeHeight = nodeHeight;\n      } else {\n        collapsibleNodeHeight = height;\n      }\n      chainNumber = chainNumber + 1;\n      return {\n        name: db?.name,\n        // width: db?.bucket?.length > 0 ? 600 : 228,\n        width: frameworkDetails?.loaders?.length > 0 ? 600 : 228,\n        height:\n          db?.bucket?.length > 0\n            ? 200 *\n              (db?.bucket?.length === 1\n                ? db?.bucket?.length + 1\n                : db?.bucket?.length)\n            : 300,\n        isNode: false,\n        node: (\n          <ChainGraph\n            className={`Chain-${chainNumber}`}\n            isChild={true}\n            chainData={constructChainData(db, index, frameworkDetails)}\n          />\n        ),\n        chainData: {\n          ...constructChainData(db, index, frameworkDetails),\n          modelDetail: item?.model,\n        },\n      };\n    });\n    setNodeHeight(collapsibleNodeHeight);\n    return addNullObject(newArray);\n  };\n\n  const getVectorDbChildren = (array) => {\n    let newArray = array?.map((item) => {\n      return {\n        name: item?.name,\n        height: 70,\n        width: 200,\n        isNode: true,\n        type: \"loader\",\n        node: (\n          <LangchainGraphNode\n            icon={getIconForKey(\"data_loader\", item?.name)}\n            title={item?.name}\n            description={item?.sensitiveData || \"\"}\n            isNode={true}\n          />\n        ),\n        packageInfo: item,\n      };\n    });\n\n    return addNullObject(newArray);\n  };\n\n  const getInstanceDetails = () => {\n    if (\n      frameworkData &&\n      frameworkData.chains &&\n      frameworkData.chains?.length > 0\n    ) {\n      const chainObj = frameworkData.chains[0];\n\n      return {\n        frameworkSummary: {\n          name: frameworkData.name,\n          family: frameworkData.framework.name,\n          version: frameworkData.framework.version,\n          description: frameworkData.description,\n        },\n        vectorDB: chainObj.vectorDbs[0]?.name,\n        vectorDBLocation: chainObj.vectorDbs[0]?.location,\n        vectorDBVersion: chainObj.vectorDbs[0]?.version,\n        embeddingModel: chainObj?.vectorDbs[0]?.embeddingModel,\n        lastused: frameworkData.lastUsed,\n        models: {\n          vendor: chainObj.model.vendor,\n          name: chainObj.model.name,\n        },\n      };\n    }\n    return {};\n  };\n\n  const handleDelete = async (appName) => {\n    const payload = {\n      customerId: getCustomerId(),\n      appId: params.id,\n    };\n    const resp = await dispatch(deleteAppSlice(payload));\n    if (resp?.payload?.success) {\n      Toaster(\n        TOASTER_TYPES.SUCCESS,\n        `Application ${appName} successfully deleted!`\n      );\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, resp?.payload?.error?.message);\n    }\n    history.goBack();\n  };\n\n  const setDescription = async (description) => {\n    const payload = {\n      customerId: getCustomerId(),\n      id: params.id,\n      description,\n    };\n    return await dispatch(setAppDescriptionSlice(payload));\n  };\n\n  return (\n    <>\n      {isLoading ? (\n        <Box sx={styles.loader}>\n          <Loader />\n        </Box>\n      ) : Object.keys(frameworkData)?.length > 0 ? (\n        <Box sx={styles.langchainFramework}>\n          <Breadcrumbs sx={styles.breadCrumbLink}>\n            <Link\n              underline=\"hover\"\n              color=\"inherit\"\n              href=\"/\"\n              sx={styles.blueLink}\n            >\n              Home\n            </Link>\n            <Link\n              underline=\"hover\"\n              color=\"inherit\"\n              href=\"/applications\"\n              sx={styles.blueLink}\n            >\n              Applications\n            </Link>\n            <Typography variant=\"caption\" sx={styles.activeLink}>\n              {frameworkData?.name}\n            </Typography>\n          </Breadcrumbs>\n          <LLMFrameworkDetails\n            item={APPLICATION_STR}\n            frameworkData={{ ...frameworkData, ...getInstanceDetails() }}\n            onDeleteApp={handleDelete}\n            setDescription={setDescription}\n          />\n          <Box sx={styles.tab}>\n            <LLMTabs\n              tabs={frameworkTabs}\n              activeTab={selectedTab}\n              onTabChange={(event, newValue) => setSelectedTab(newValue)}\n            />\n          </Box>\n          <TabPanel\n            value={selectedTab}\n            index=\"policyViolations\"\n            key=\"policyViolations\"\n          >\n            <PolicyViolationDetailsCard ticketIntegration={false} />\n          </TabPanel>\n          <TabPanel value={selectedTab} index=\"overview\" key=\"overview\">\n            {Object.keys(collapsibleTreeData)?.length > 0 ? (\n              <LangchainGraph\n                treeData={collapsibleTreeData}\n                nodeHeight={nodeHeight}\n              />\n            ) : (\n              <NoData customText=\"No data found\" />\n            )}\n          </TabPanel>\n          <TabPanel value={selectedTab} index=\"datasource\" key=\"datasource\">\n            <DataSourceTab frameworkData={frameworkData} />\n          </TabPanel>\n          <TabPanel\n            value={selectedTab}\n            index=\"promptSummary\"\n            key=\"promptSummary\"\n          >\n            <PromptSummaryPanel />\n          </TabPanel>\n          <TabPanel value={selectedTab} index=\"addPolicy\" key=\"addPolicy\">\n            <AddAppPolicy appId={params.id} />\n          </TabPanel>\n        </Box>\n      ) : (\n        <NoData customText=\"No data found.\" />\n      )}\n    </>\n  );\n};\n","import React, { useEffect } from \"react\";\nimport FormatUrl from \"../../utils/UrlFormatter\";\nimport axios from \"axios\";\nimport { Toaster, TOASTER_TYPES } from \"../../utils/toaster\";\nimport { useHistory } from \"react-router-dom\";\n\nconst SignUpCallback = () => {\n  let history = useHistory();\n\n  const signUpCallback = async () => {\n    let url = FormatUrl(\n      `/user/serviceProviderCallback${window.location.search}&login=false`\n    );\n    let res = await axios.get(url);\n    res = res.data;\n\n    if (res.message) {\n      Toaster(TOASTER_TYPES.ERROR, res.message);\n      history.push(\"/verify-email\");\n    } else {\n      Toaster(0, res.err.message);\n    }\n    return;\n  };\n\n  useEffect(() => {\n    signUpCallback();\n  }, []);\n\n  return <></>;\n};\n\nexport default SignUpCallback;\n","import { useTheme } from \"@mui/material\";\nimport { useMemo } from \"react\";\nimport Box from \"../../../common/Box\";\nimport Divider from \"../../../common/Divider\";\nimport MetricBlock from \"../../../common/MetricBlock\";\nimport { AppOverview } from \"../../../dashboard-widgets/APIResponseType\";\n\ninterface ColumnType {\n  id: number;\n  value?: number;\n  outOf?: number;\n  label?: string;\n  isCritical?: boolean;\n  isDivider?: boolean;\n}\n\nconst AppDetails = ({ overview }) => {\n  const theme = useTheme();\n  const styles = {\n    panel: {\n      display: \"flex\",\n      gap: theme.spacing(6),\n      backgroundColor: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      borderRadius: \"4px\",\n    },\n  };\n\n  const overviewColumns: ColumnType[] = useMemo(\n    () => [\n      {\n        id: 0,\n        value: overview?.users_count,\n        outOf: 0,\n        label: \"Users\",\n        isCritical: false,\n      },\n      {\n        id: 1,\n        isDivider: true,\n        value: 0,\n        outOf: 0,\n        label: \"\",\n        isCritical: false,\n      },\n      {\n        id: 2,\n        value: overview?.retrievals,\n        outOf: 0,\n        label: \"Retrievals\",\n        isCritical: false,\n      },\n      {\n        id: 3,\n        isDivider: true,\n      },\n      {\n        id: 4,\n        value: overview?.topics_count,\n        label: \"Topics Accessed\",\n        isCritical: false,\n      },\n      {\n        id: 5,\n        value: overview?.entities_count,\n        label: \"Entities Accessed\",\n        isCritical: false,\n      },\n      {\n        id: 6,\n        isDivider: true,\n      },\n      {\n        id: 7,\n        value: overview?.documents_accessed,\n        label: \"Documents Accessed\",\n        isCritical: false,\n      },\n    ],\n    [overview]\n  );\n\n  return (\n    <Box sx={styles.panel}>\n      {overviewColumns.map((col: ColumnType) => {\n        return col?.isDivider ? (\n          <Divider orientation=\"vertical\" flexItem />\n        ) : (\n          <MetricBlock\n            label={col?.label || \"\"}\n            value={col?.value || 0}\n            outOf={col.outOf || 0}\n            isCritical={col?.isCritical || false}\n          />\n        );\n      })}\n    </Box>\n  );\n};\n\nexport default AppDetails;\n","import { useTheme } from \"@mui/material\";\nimport { useMemo } from \"react\";\nimport Box from \"../../../common/Box\";\nimport Divider from \"../../../common/Divider\";\nimport MetricBlock from \"../../../common/MetricBlock\";\nimport Typography from \"../../../common/Typography\";\n\nconst DataLoaderOverview = ({ overview }) => {\n  const theme = useTheme();\n  const styles = {\n    card: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(4),\n      backgroundColor: theme.palette.surface10.main,\n      padding: theme.spacing(2),\n      borderRadius: \"4px\",\n    },\n    cardContent: {\n      display: \"flex\",\n      gap: theme.spacing(6),\n    },\n    fontWeight300: {\n      fontWeight: 300,\n    },\n  };\n\n  const metricsList = useMemo(() => {\n    return [\n      {\n        id: 0,\n        value: overview?.findings || 0,\n        label: \"Findings\",\n        isCritical: false,\n        outOf: 0,\n      },\n      {\n        id: 1,\n        value: overview?.topic_count || 0,\n        label: \"Topics Blocked\",\n        isCritical: overview?.topic_count,\n        outOf: 0,\n      },\n      {\n        id: 2,\n        value: overview?.entity_count || 0,\n        label: \"Entities Blocked\",\n        isCritical: overview?.entity_count,\n        outOf: 0,\n      },\n    ];\n  }, [overview]);\n\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.cardContent}>\n        <MetricBlock\n          value={overview?.documents_with_findings || 0}\n          outOf={overview?.total_documents || 0}\n          isCritical={false}\n          label=\"Documents With Findings\"\n          subText={`Across ${overview?.total_datasource || 0} Datasource`}\n        />\n        <Divider orientation=\"vertical\" flexItem />\n        {metricsList.map((metric) => (\n          <MetricBlock {...metric} key={metric.id} />\n        ))}\n      </Box>\n    </Box>\n  );\n};\n\nexport default DataLoaderOverview;\n","import { useTheme } from \"@mui/material\";\nimport { getShortenedString } from \"../../../../../utils/commonUtils\";\nimport Box from \"../../../../common/Box\";\nimport Checkbox from \"../../../../common/Checkbox\";\nimport Tooltip from \"../../../../common/Tooltip\";\nimport Typography from \"../../../../common/Typography\";\n\nconst DataSourceDetailsItem = ({\n  isSelected = false,\n  name = \"\",\n  total = \"\",\n  count = \"\",\n  onClick,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    parent: {\n      cursor: \"pointer\",\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"top\",\n      padding: theme.spacing(2),\n      backgroundColor: isSelected ? theme.palette.surface0.main : \"\",\n      borderLeft: isSelected\n        ? `1px solid ${theme.palette.primaryBlue.main}`\n        : \"\",\n      \":hover\": {\n        backgroundColor: theme.palette.surface0.main,\n      },\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    userNameRole: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    checkbox: {\n      height: \"fit-content\",\n    },\n    accessDetails: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    labelBox: {\n      backgroundColor: theme.palette.blueGrey.main,\n      paddingY: theme.spacing(0.2),\n      paddingX: \"6px\",\n      borderRadius: \"2px\",\n    },\n  };\n\n  return (\n    <Box sx={styles.parent} onClick={onClick}>\n      {/*<Checkbox label=\"\" sx={styles.checkbox} />*/}\n      <Box sx={styles.flexCol}>\n        <Box sx={styles.userNameRole}>\n          <Tooltip title={name}>\n            <div>\n              <Typography\n                color={theme.palette.surface80.main}\n                sx={styles.font13}\n              >\n                {getShortenedString(name)}\n              </Typography>\n            </div>\n          </Tooltip>\n          {/*<Typography color={theme.palette.surface50.main} variant=\"caption\">\n              Sales Executive\n            </Typography>*/}\n        </Box>\n        <Box sx={styles.accessDetails}>\n          {/*<Typography\n              color={theme.palette.surface60.main}\n              variant=\"caption\"\n              sx={styles.accessDetails}\n            >\n              Accessed{\" \"}\n              <Box sx={styles.labelBox}>\n                <Typography color={theme.palette.critical.main} variant=\"caption\">\n                  5\n                </Typography>\n                <Typography\n                  color={theme.palette.surface60.main}\n                  variant=\"caption\"\n                >\n                  /12\n                </Typography>{\" \"}\n                Labels\n              </Box>{\" \"}\n              | 6 Documents\n            </Typography>*/}\n          <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n            {count}/{total} Documents with Findings\n          </Typography>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default DataSourceDetailsItem;\n","import { useTheme } from \"@mui/material\";\nimport {\n  getAllValuesSum,\n  getShortenedString,\n} from \"../../../../../utils/commonUtils\";\nimport Box from \"../../../../common/Box\";\nimport Checkbox from \"../../../../common/Checkbox\";\nimport Tooltip from \"../../../../common/Tooltip\";\nimport Typography from \"../../../../common/Typography\";\nimport { SNIPPET_COUNT_KEY } from \"../../../../constants/constants\";\n\nconst DocumentDetailsItem = ({ name, topic, entity, isSelected, onClick }) => {\n  const theme = useTheme();\n  const styles = {\n    parent: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"top\",\n      padding: theme.spacing(2),\n      backgroundColor: isSelected ? theme.palette.surface0.main : \"\",\n      cursor: \"pointer\",\n      \":hover\": {\n        backgroundColor: theme.palette.surface0.main,\n      },\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    checkbox: {\n      height: \"fit-content\",\n    },\n    accessDetails: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n  };\n\n  const topicSum = topic ? Object.keys(topic)?.length : 0;\n  const entitySum = entity ? Object.keys(entity)?.length : 0;\n\n  return (\n    <Box sx={styles.parent} onClick={onClick}>\n      {/*<Checkbox label=\"\" sx={styles.checkbox} />*/}\n      <Box sx={styles.flexCol}>\n        <Tooltip title={name}>\n          <div>\n            <Typography color={theme.palette.surface80.main} sx={styles.font13}>\n              {getShortenedString(name)}\n            </Typography>\n          </div>\n        </Tooltip>\n        <Box sx={styles.accessDetails}>\n          <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n            Topic{\" \"}\n            <Typography\n              variant=\"caption\"\n              color={\n                topicSum\n                  ? theme.palette.critical.main\n                  : theme.palette.surface60.main\n              }\n            >\n              {topicSum}\n            </Typography>{\" \"}\n            |{\" \"}\n          </Typography>\n          <Typography variant=\"caption\" color={theme.palette.surface60.main}>\n            Entity{\" \"}\n            <Typography\n              variant=\"caption\"\n              color={\n                entitySum\n                  ? theme.palette.critical.main\n                  : theme.palette.surface60.main\n              }\n            >\n              {entitySum}\n            </Typography>{\" \"}\n          </Typography>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default DocumentDetailsItem;\n","const SlackIcon = ({ disabled }) => {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fill-rule=\"evenodd\"\n        clip-rule=\"evenodd\"\n        d=\"M3.37393 10.1064C3.37393 11.0364 2.62334 11.787 1.69331 11.787C0.763288 11.787 0.0126953 11.0339 0.0126953 10.1064C0.0126953 9.1789 0.763288 8.42578 1.69331 8.42578H3.37393V10.1064ZM4.21298 10.1064C4.21298 9.17637 4.96357 8.42578 5.8936 8.42578C6.82363 8.42578 7.57422 9.17637 7.57422 10.1064V14.3067C7.57422 15.2367 6.82363 15.9873 5.8936 15.9873C4.96357 15.9873 4.21298 15.2367 4.21298 14.3067V10.1064Z\"\n        fill={disabled ? \"grey\" : \"#E01E5A\"}\n      />\n      <path\n        fill-rule=\"evenodd\"\n        clip-rule=\"evenodd\"\n        d=\"M5.89354 3.36124C4.96351 3.36124 4.21292 2.61065 4.21292 1.68062C4.21292 0.750592 4.96351 0 5.89354 0C6.82357 0 7.57416 0.750592 7.57416 1.68062V3.36124H5.89354ZM5.89354 4.21292C6.82357 4.21292 7.57416 4.96351 7.57416 5.89354C7.57416 6.82357 6.82357 7.57416 5.89354 7.57416H1.68062C0.750592 7.57416 0 6.82104 0 5.89354C0 4.96604 0.750592 4.21292 1.68062 4.21292H5.89354Z\"\n        fill={disabled ? \"grey\" : \"#36C5F0\"}\n      />\n      <path\n        fill-rule=\"evenodd\"\n        clip-rule=\"evenodd\"\n        d=\"M12.6261 5.89354C12.6261 4.96351 13.3767 4.21292 14.3067 4.21292C15.2367 4.21292 15.9873 4.96351 15.9873 5.89354C15.9873 6.82357 15.2367 7.57416 14.3067 7.57416H12.6261V5.89354ZM11.787 5.89354C11.787 6.82357 11.0364 7.57416 10.1064 7.57416C9.17637 7.57416 8.42578 6.82357 8.42578 5.89354V1.68062C8.42578 0.750592 9.17637 0 10.1064 0C11.0364 0 11.787 0.750592 11.787 1.68062V5.89354Z\"\n        fill={disabled ? \"grey\" : \"#2EB67D\"}\n      />\n      <path\n        fill-rule=\"evenodd\"\n        clip-rule=\"evenodd\"\n        d=\"M10.1064 12.6261C11.0364 12.6261 11.787 13.3767 11.787 14.3067C11.787 15.2367 11.0364 15.9873 10.1064 15.9873C9.17637 15.9873 8.42578 15.2367 8.42578 14.3067V12.6261H10.1064ZM10.1064 11.787C9.17637 11.787 8.42578 11.0364 8.42578 10.1064C8.42578 9.17637 9.17637 8.42578 10.1064 8.42578H14.3193C15.2493 8.42578 15.9999 9.17637 15.9999 10.1064C15.9999 11.0364 15.2493 11.787 14.3193 11.787H10.1064Z\"\n        fill={disabled ? \"grey\" : \"#ECB22E\"}\n      />\n    </svg>\n  );\n};\n\nexport default SlackIcon;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Divider from \"../../common/Divider\";\nimport TextButton from \"../../common/TextButton\";\nimport JiraIcon from \"../../icons/JiraIcon\";\nimport SlackIcon from \"../../icons/SlackIcon\";\n\nconst JiraSlackActionButtons = () => {\n  const theme = useTheme();\n  const styles = {\n    cardActions: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n  };\n  return (\n    <Box sx={styles.cardActions}>\n      <TextButton disabled={true} startIcon={<JiraIcon disabled={true} />}>\n        Open Jira Ticket\n      </TextButton>\n      <Divider orientation=\"vertical\" flexItem />\n      <TextButton disabled={true} startIcon={<SlackIcon disabled={true} />}>\n        Notify on Slack\n      </TextButton>\n    </Box>\n  );\n};\n\nexport default JiraSlackActionButtons;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../common/Box\";\nimport Divider from \"../../common/Divider\";\nimport TextButton from \"../../common/TextButton\";\nimport Typography from \"../../common/Typography\";\nimport ViewMoreBlock from \"../../common/ViewMoreBlock\";\nimport OutlinedFlagIcon from \"@mui/icons-material/OutlinedFlag\";\nimport { convertUTCToLocal, getDateTime } from \"../../../utils/commonUtils\";\nimport JiraIcon from \"../../icons/JiraIcon\";\n\nconst NUM_OF_DEFAULT_CHARACTERS = 250;\n\nconst LoaderSnippetDetailsBlock = ({ data }) => {\n  const theme = useTheme();\n  const styles = {\n    messageContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.25),\n      backgroundColor: theme.palette.surface5.main,\n      padding: theme.spacing(2),\n      borderRadius: \"4px\",\n      borderBottom: `1px solid ${theme.palette.surface20.main}`,\n    },\n    details: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1.5),\n    },\n    keyValue: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.75),\n    },\n    retrievedOnText: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    rowActions: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    snippetTextBlock: {\n      width: \"80%\",\n    },\n  };\n  const retrievalDate =\n    data?.metadata && data.metadata?.createdAt\n      ? convertUTCToLocal(data.metadata.createdAt)\n      : null;\n  return (\n    <Box sx={styles.messageContainer}>\n      <Box sx={styles.details}>\n        <Box sx={styles.retrievedOnText}>\n          {retrievalDate && (\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Loaded On: {getDateTime(retrievalDate)}\n            </Typography>\n          )}\n          <Box sx={styles.rowActions}>\n            <TextButton\n              disabled={true}\n              startIcon={<JiraIcon disabled={true} />}\n            >\n              Open Ticket\n            </TextButton>\n            <Divider orientation=\"vertical\" flexItem />\n            <TextButton disabled={true} startIcon={<OutlinedFlagIcon />}>\n              Report\n            </TextButton>\n          </Box>\n        </Box>\n        <Box sx={styles.keyValue}>\n          <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n            Snippet\n          </Typography>\n          <Box sx={styles.snippetTextBlock}>\n            <ViewMoreBlock\n              value={data?.doc}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default LoaderSnippetDetailsBlock;\n","import { useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport { convertUTCToLocal, getDateTime } from \"../../../utils/commonUtils\";\nimport Box from \"../../common/Box\";\nimport TextButton from \"../../common/TextButton\";\nimport Typography from \"../../common/Typography\";\nimport ViewMoreBlock from \"../../common/ViewMoreBlock\";\nimport Divider from \"../../common/Divider\";\nimport OutlinedFlagIcon from \"@mui/icons-material/OutlinedFlag\";\nimport JiraIcon from \"../../icons/JiraIcon\";\n\nconst NUM_OF_DEFAULT_CHARACTERS = 250;\n\nconst FinalContext = ({ context }: { context: any[] }) => {\n  const theme = useTheme();\n  const styles = {\n    btnContainer: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      paddingY: theme.spacing(1),\n    },\n    btnText: (index) => ({\n      fontSize: \"16px\",\n      color:\n        index === displayBtnId\n          ? theme.palette.surface100.main\n          : theme.palette.primaryBlue.main,\n    }),\n  };\n\n  const [displayBtnId, setDisplayBtnId] = useState(0);\n\n  useEffect(() => {\n    setDisplayBtnId(0);\n  }, [context]);\n\n  return (\n    <Box>\n      <Box sx={styles.btnContainer}>\n        {context?.map((contextButton, index) => (\n          <TextButton\n            onClick={() => setDisplayBtnId(index)}\n            sx={styles.btnText(index)}\n          >\n            {index + 1}\n          </TextButton>\n        ))}\n      </Box>\n      <ViewMoreBlock\n        value={context[displayBtnId]?.data}\n        length={NUM_OF_DEFAULT_CHARACTERS}\n      />\n    </Box>\n  );\n};\n\nconst MessageDetailsBlock = ({ data }) => {\n  const theme = useTheme();\n  const styles = {\n    messageContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.25),\n      backgroundColor: theme.palette.surface5.main,\n      padding: theme.spacing(2),\n      borderRadius: \"4px\",\n    },\n    messageCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    messageFontSize: {\n      fontSize: \"13px\",\n    },\n    dateText: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    messageData: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    keyValue: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.75),\n    },\n    policyChip: {\n      display: \"flex\",\n      width: \"min-content\",\n      backgroundColor: \"rgba(255, 101, 91, 0.20)\",\n      borderRadius: theme.spacing(0.5),\n    },\n    aiAssistedChip: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    finalContext: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    retrievedOnText: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    rowActions: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n  };\n  const convertedDate =\n    data?.metadata && data?.metadata?.createdAt\n      ? convertUTCToLocal(data?.metadata?.createdAt)\n      : null;\n\n  return (\n    <Box sx={styles.messageContainer}>\n      <Box sx={styles.messageCard}>\n        <Box sx={styles.messageData}>\n          <Box sx={styles.keyValue}>\n            <Box sx={styles.retrievedOnText}>\n              {convertedDate && (\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface40.main}\n                >\n                  Retrieved On: {getDateTime(convertedDate)}\n                </Typography>\n              )}\n              <Box sx={styles.rowActions}>\n                <TextButton\n                  disabled={true}\n                  startIcon={<JiraIcon disabled={true} />}\n                >\n                  Open Ticket\n                </TextButton>\n                <Divider orientation=\"vertical\" flexItem />\n                <TextButton disabled={true} startIcon={<OutlinedFlagIcon />}>\n                  Report\n                </TextButton>\n              </Box>\n            </Box>\n          </Box>\n          <Box sx={styles.keyValue}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Prompt\n            </Typography>\n            <ViewMoreBlock\n              value={data?.prompt?.data || \"-\"}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n          {/*<Box sx={styles.keyValue}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Initial Context\n            </Typography>\n            <ViewMoreBlock value={\"-\"} length={NUM_OF_DEFAULT_CHARACTERS} />\n          </Box>*/}\n          <Box sx={styles.keyValue}>\n            <Box sx={styles.finalContext}>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface40.main}\n              >\n                Context\n              </Typography>\n              {/*<Box sx={styles.aiAssistedChip}>\n                <img src={StarIcon} alt=\"star\" />\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface60.main}\n                >\n                  AI Assisted\n                </Typography>\n              </Box>*/}\n            </Box>\n            <FinalContext context={data?.context} />\n          </Box>\n          <Box sx={styles.keyValue}>\n            <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n              Response\n            </Typography>\n            <ViewMoreBlock\n              value={data?.response?.data}\n              length={NUM_OF_DEFAULT_CHARACTERS}\n            />\n          </Box>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default MessageDetailsBlock;\n","import { useTheme } from \"@mui/material\";\nimport { useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Box from \"../../../common/Box\";\nimport Checkbox from \"../../../common/Checkbox\";\nimport { Dialog, DialogContent, DialogTitle } from \"../../../common/Dialog\";\nimport NoData from \"../../../common/NoData\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../../../common/Table\";\nimport Typography from \"../../../common/Typography\";\nimport JiraSlackActionButtons from \"../JiraSlackActionButtons\";\nimport LoaderSnippetDetailsBlock from \"../LoaderSnippetDetailsBlock\";\nimport MessageDetailsBlock from \"../MessageDetailsBlock\";\n\nconst SnippetDetailsDialog = ({\n  snippets,\n  open,\n  label,\n  file,\n  onClose,\n  isDataLoader,\n}) => {\n  const theme = useTheme();\n  const dataLoaderApp = useSelector((state: any) => state.dataLoader);\n\n  const styles = {\n    checkBox: {\n      height: \"min-content\",\n      alignSelf: \"top\",\n    },\n    tableBody: {\n      \"&.MuiTableBody-root .MuiTableRow-root:hover\": {\n        backgroundColor: \"transparent !important\",\n      },\n    },\n    dialogTitle: {\n      width: \"100%\",\n      fontSize: \"20px\",\n    },\n    dialogHeader: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    tableCell: {\n      \"&.MuiTableCell-root\": {\n        borderBottom: \"transparent\",\n        padding: \"0px\",\n        paddingTop: theme.spacing(2),\n      },\n    },\n    checkboxCell: {\n      \"&.MuiTableCell-root\": {\n        borderBottom: \"transparent\",\n        padding: \"0px\",\n        paddingTop: theme.spacing(2),\n        paddingLeft: theme.spacing(2),\n      },\n    },\n    colActionsCell: {\n      \"&.MuiTableCell-root\": {\n        padding: \"0px\",\n      },\n    },\n    truncateFileName: {\n      width: \"100%\",\n      wordBreak: \"break-all\",\n    },\n  };\n\n  const handleClose = () => {\n    onClose();\n  };\n\n  return (\n    <Dialog\n      open={open}\n      handleClose={handleClose}\n      fullWidth={true}\n      maxWidth=\"md\"\n    >\n      <DialogTitle handleClose={handleClose}>\n        <Box sx={styles.dialogHeader}>\n          <Typography sx={styles.dialogTitle}>\n            Retrievals for '{label}' ({snippets?.length || 0})\n          </Typography>\n          {/*<Typography\n            color={theme.palette.surface50.main}\n            variant=\"body2\"\n            sx={styles.truncateFileName}\n          >\n            From {getFileName(file)}\n          </Typography>*/}\n        </Box>\n      </DialogTitle>\n      <DialogContent>\n        <TableContainer>\n          <Table>\n            <TableHead>\n              <TableRow>\n                <TableCell sx={styles.colActionsCell}>\n                  <JiraSlackActionButtons />\n                </TableCell>\n              </TableRow>\n            </TableHead>\n            <TableBody sx={styles.tableBody}>\n              {snippets?.length > 0 ? (\n                snippets.map((snippetItem) => (\n                  <TableRow>\n                    <TableCell sx={styles.tableCell}>\n                      {isDataLoader ? (\n                        <LoaderSnippetDetailsBlock data={snippetItem} />\n                      ) : (\n                        <MessageDetailsBlock data={snippetItem} />\n                      )}\n                    </TableCell>\n                  </TableRow>\n                ))\n              ) : (\n                <TableRow>\n                  <TableCell colSpan={2}>\n                    <NoData customText=\"No Data Found\" />\n                  </TableCell>\n                </TableRow>\n              )}\n            </TableBody>\n          </Table>\n        </TableContainer>\n      </DialogContent>\n    </Dialog>\n  );\n};\n\nexport default SnippetDetailsDialog;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../../common/Box\";\nimport TextButton from \"../../../../common/TextButton\";\nimport Typography from \"../../../../common/Typography\";\n\nconst FindingRow = ({ name, value, isDataLoader, onClick }) => {\n  const theme = useTheme();\n  const styles = {\n    accordionContent: {\n      display: \"grid\",\n      gridTemplateColumns: \"70% 30%\",\n      padding: theme.spacing(1),\n      paddingLeft: theme.spacing(2),\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    error: (isError) => ({\n      height: \"6px\",\n      width: \"6px\",\n      borderRadius: \"50%\",\n      marginLeft: \"50%\",\n      alignSelf: \"center\",\n      backgroundColor: isError ? theme.palette.critical.main : \"transparent\",\n    }),\n    snippetValue: {\n      marginLeft: \"auto\",\n      cursor: \"pointer\",\n      \":hover\": {\n        color: theme.palette.primaryBlue.main,\n      },\n    },\n  };\n  return (\n    <Box sx={styles.accordionContent}>\n      {/*<Box sx={styles.error(true)}></Box>*/}\n      <Typography color={theme.palette.surface80.main} sx={styles.font13}>\n        {name}\n      </Typography>\n      <Typography\n        color={theme.palette.surface50.main}\n        variant=\"caption\"\n        sx={styles.snippetValue}\n      >\n        <TextButton onClick={onClick}>{value} Snippets</TextButton>\n      </Typography>\n    </Box>\n  );\n};\n\nexport default FindingRow;\n","import { useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  Accordion,\n  AccordionDetails,\n  AccordionSummary,\n} from \"../../../../common/Accordion\";\nimport Box from \"../../../../common/Box\";\nimport NoData from \"../../../../common/NoData\";\nimport Typography from \"../../../../common/Typography\";\nimport { SNIPPET_COUNT_KEY } from \"../../../../constants/constants\";\nimport SnippetDetailsDialog from \"../SnippetDetailsDialog\";\nimport FindingRow from \"./FindingRow\";\nimport { getCustomerId } from \"../../../../../utils/SessionHelper\";\nimport { useParams } from \"react-router-dom\";\nimport { fetchSnippetsSlice } from \"../../../../../redux/slices/dataLoaderSlice\";\nimport { fetchAppRetreivalFindingsSlice } from \"../../../../../redux/slices/appSlice\";\nimport { AppDispatch } from \"../../../../../redux/store\";\n\nconst TOPIC = \"topics\";\nconst ENTITY = \"entities\";\n\nconst FindingsDetails = ({\n  selectedFirstValue,\n  selectedSecondValue,\n  findings,\n  isDataLoader,\n}) => {\n  const dispatch = useDispatch<AppDispatch>();\n  const params = useParams();\n  const [showSnippetDialog, setShowSnippetDialog] = useState(false);\n  const [snippets, setSnippets] = useState(\"\");\n  const [selectedFinding, setSelectedFinding] = useState({\n    label: \"\",\n    type: \"\",\n  });\n\n  const theme = useTheme();\n  const styles = {\n    container: {\n      backgroundColor: theme.palette.surfaceCard.main,\n    },\n    accordion: {\n      \"&:before\": {\n        display: \"none\",\n      },\n      \"&.Mui-expanded\": {\n        margin: \"0px\",\n      },\n    },\n    accordionSummary: {\n      padding: theme.spacing(2),\n      borderBottom: `1px solid ${theme.palette.surface20.main}`,\n    },\n    accordionContentWrapper: {\n      paddingBottom: theme.spacing(2),\n    },\n  };\n\n  const fetchSnippets = async (labelName, label) => {\n    const commonPayload = {\n      customerId: getCustomerId(),\n      label,\n    };\n    if (isDataLoader) {\n      const response = await dispatch(\n        fetchSnippetsSlice({\n          ...commonPayload,\n          dataLoaderId: params.id,\n          dataSourceId: selectedFirstValue?.data_source_id,\n          documentId: selectedSecondValue?.id,\n          labelName,\n        })\n      );\n      if (response && response?.payload) {\n        setSnippets(response.payload?.data);\n        setShowSnippetDialog(true);\n      }\n    } else {\n      const response = await dispatch(\n        fetchAppRetreivalFindingsSlice({\n          ...commonPayload,\n          appId: params.id,\n          userId: selectedFirstValue?.user_id,\n          finding: labelName,\n          docId: selectedSecondValue?.id,\n        })\n      );\n      if (response && response?.payload) {\n        setSnippets(response.payload);\n        setShowSnippetDialog(true);\n      }\n    }\n  };\n\n  const topics = Object.keys(findings?.topics ? findings?.topics : {});\n  const entities = Object.keys(findings?.entities ? findings?.entities : {});\n\n  return (\n    <Box sx={styles.container}>\n      <Accordion sx={styles.accordion}>\n        <AccordionSummary sx={styles.accordionSummary}>\n          <Typography color={theme.palette.surface40.main} variant=\"caption\">\n            Topics ({topics.length})\n          </Typography>\n        </AccordionSummary>\n        <AccordionDetails>\n          <Box sx={styles.accordionContentWrapper}>\n            {topics.length > 0 ? (\n              topics.map((topic) => (\n                <FindingRow\n                  name={topic}\n                  value={findings.topics[topic]}\n                  isDataLoader={isDataLoader}\n                  onClick={() => {\n                    fetchSnippets(topic, TOPIC);\n                    setSelectedFinding({ label: topic, type: TOPIC });\n                  }}\n                />\n              ))\n            ) : (\n              <NoData customText=\"No Topics Found\" />\n            )}\n          </Box>\n        </AccordionDetails>\n      </Accordion>\n      <Accordion sx={styles.accordion}>\n        <AccordionSummary sx={styles.accordionSummary}>\n          <Typography color={theme.palette.surface40.main} variant=\"caption\">\n            Entities ({entities.length})\n          </Typography>\n        </AccordionSummary>\n        <AccordionDetails>\n          <Box sx={styles.accordionContentWrapper}>\n            {entities.length > 0 ? (\n              entities.map((entity) => (\n                <FindingRow\n                  name={entity}\n                  value={findings.entities[entity]}\n                  isDataLoader={isDataLoader}\n                  onClick={() => {\n                    fetchSnippets(entity, ENTITY);\n                    setSelectedFinding({ label: entity, type: ENTITY });\n                  }}\n                />\n              ))\n            ) : (\n              <NoData customText=\"No Entities Found\" />\n            )}\n          </Box>\n        </AccordionDetails>\n      </Accordion>\n      {showSnippetDialog && (\n        <SnippetDetailsDialog\n          snippets={snippets}\n          open={showSnippetDialog}\n          label={selectedFinding.label}\n          file={selectedSecondValue?.name}\n          isDataLoader={isDataLoader}\n          onClose={() => {\n            setSelectedFinding({ label: \"\", type: \"\" });\n            setShowSnippetDialog(false);\n          }}\n        />\n      )}\n    </Box>\n  );\n};\n\nexport default FindingsDetails;\n","import { useTheme } from \"@mui/material\";\nimport { SyntheticEvent, useEffect, useState } from \"react\";\nimport Box from \"../../../common/Box\";\nimport Checkbox from \"../../../common/Checkbox\";\nimport { Tab, Tabs } from \"../../../common/Tabs\";\nimport Typography from \"../../../common/Typography\";\n\nconst DetailsBlock = ({ title, content }) => {\n  const [selectedTab, setSelectedTab] = useState<number | null>(null);\n  const theme = useTheme();\n\n  const styles = {\n    font13: {\n      fontSize: \"13px\",\n    },\n    users: {\n      height: \"100%\",\n    },\n    userHeader: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n      paddingX: theme.spacing(2),\n      borderBottom: `1px solid ${theme.palette.surface20.main}`,\n      minHeight: \"50px\",\n    },\n    userBox: {\n      height: \"100%\",\n      borderRight: `1px solid ${theme.palette.surface20.main}`,\n      paddingBottom: theme.spacing(2),\n    },\n    checkbox: {\n      height: \"fit-content\",\n    },\n    children: {\n      height: \"300px\",\n      overflowY: \"auto\",\n    },\n  };\n\n  const isTab = typeof title !== \"string\";\n\n  useEffect(() => {\n    if (typeof title !== \"string\" && !selectedTab) {\n      setSelectedTab(0);\n    }\n  }, [title]);\n\n  const handleTabChange = (event: Event | SyntheticEvent, newValue: number) =>\n    setSelectedTab(newValue);\n\n  return (\n    <Box sx={styles.users}>\n      <Box sx={styles.userBox}>\n        <Box sx={styles.userHeader}>\n          {/*<Checkbox label=\"\" sx={styles.checkbox} />*/}\n          {isTab ? (\n            <Tabs value={selectedTab} onChange={handleTabChange}>\n              {title.map((titleStr, index) => (\n                <Tab label={titleStr} value={index} key={titleStr} />\n              ))}\n            </Tabs>\n          ) : (\n            <Typography color={theme.palette.surface70.main} sx={styles.font13}>\n              {title}\n            </Typography>\n          )}\n        </Box>\n        <Box sx={styles.children}>\n          {selectedTab ? content[selectedTab] : content[0]}\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default DetailsBlock;\n","import { useTheme } from \"@mui/material\";\nimport { getShortenedString } from \"../../../../../utils/commonUtils\";\nimport Box from \"../../../../common/Box\";\nimport Checkbox from \"../../../../common/Checkbox\";\nimport Typography from \"../../../../common/Typography\";\n\nconst UserDetailsItem = ({\n  isSelected = false,\n  name = \"\",\n  total = 0,\n  count = \"\",\n  onClick,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    parent: {\n      cursor: \"pointer\",\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"top\",\n      padding: theme.spacing(2),\n      backgroundColor: isSelected ? theme.palette.surface0.main : \"\",\n      borderLeft: isSelected\n        ? `1px solid ${theme.palette.primaryBlue.main}`\n        : \"\",\n      \":hover\": {\n        backgroundColor: theme.palette.surface0.main,\n      },\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    userNameRole: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    checkbox: {\n      height: \"fit-content\",\n    },\n    accessDetails: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    flexCol: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    labelBox: {\n      backgroundColor: theme.palette.blueGrey.main,\n      paddingY: theme.spacing(0.2),\n      paddingX: \"6px\",\n      borderRadius: \"2px\",\n    },\n  };\n\n  return (\n    <Box sx={styles.parent} onClick={onClick}>\n      {/*<Checkbox label=\"\" sx={styles.checkbox} />*/}\n      <Box sx={styles.flexCol}>\n        <Box sx={styles.userNameRole}>\n          <Typography color={theme.palette.surface80.main} sx={styles.font13}>\n            {name}\n          </Typography>\n          {/*<Typography color={theme.palette.surface50.main} variant=\"caption\">\n            Sales Executive\n          </Typography>*/}\n        </Box>\n        <Box sx={styles.accessDetails}>\n          <Typography\n            color={theme.palette.surface60.main}\n            variant=\"caption\"\n            sx={styles.accessDetails}\n          >\n            Accessed{\" \"}\n            {/*<Box sx={styles.labelBox}>\n              <Typography color={theme.palette.critical.main} variant=\"caption\">\n                5\n              </Typography>\n              <Typography\n                color={theme.palette.surface60.main}\n                variant=\"caption\"\n              >\n                /12\n              </Typography>{\" \"}\n              Labels\n            </Box>{\" \"}*/}\n            {total} Documents\n          </Typography>\n          {/*<Typography variant=\"caption\" color={theme.palette.surface60.main}>\n            {count}/{total} Documents with Findings\n          </Typography>*/}\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default UserDetailsItem;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../../common/Box\";\nimport NoData from \"../../../../common/NoData\";\nimport Typography from \"../../../../common/Typography\";\n\nconst AuthorizedIdentities = ({ identities }) => {\n  const theme = useTheme();\n  const styles = {\n    container: {\n      padding: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n  };\n  return (\n    <Box sx={styles.container}>\n      {identities?.length > 0 ? (\n        identities.map((identity) => (\n          <Typography color={theme.palette.surface80.main} sx={styles.font13}>\n            {identity}\n          </Typography>\n        ))\n      ) : (\n        <NoData customText=\"No Identities Found\" />\n      )}\n    </Box>\n  );\n};\n\nexport default AuthorizedIdentities;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../common/Box\";\nimport Checkbox from \"../../../common/Checkbox\";\nimport Divider from \"../../../common/Divider\";\nimport TextButton from \"../../../common/TextButton\";\nimport Typography from \"../../../common/Typography\";\nimport JiraIcon from \"../../../../assets/img/jira.svg\";\nimport SlackIcon from \"../../../../assets/img/slack.svg\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport DataSourceDetailsItem from \"./EntityDetails/DataSourceDetailsItem\";\nimport DocumentDetailsItem from \"./EntityDetails/DocumentDetailsItem\";\nimport FindingsDetails from \"./EntityDetails/FindingDetails\";\nimport DetailsBlock from \"./DetailsBlock\";\nimport NoData from \"../../../common/NoData\";\nimport UserDetailsItem from \"./EntityDetails/UsersDetailsItem\";\nimport JiraSlackActionButtons from \"../JiraSlackActionButtons\";\nimport { getSumOfValues } from \"../../../../utils/commonUtils\";\nimport AuthorizedIdentities from \"./EntityDetails/AuthorizedIdentities\";\n\ninterface IProps {\n  data: any;\n  isDataLoader: boolean;\n}\n\nconst SafeRetrievalDetails = ({ data = {}, isDataLoader }: IProps) => {\n  const [selectedFirstColValue, setSelectedFirstColVal] = useState(\"\");\n  const [selectedSecondColValue, setSelectedSecondColValue] = useState(\"\");\n  const [authorizedIdentities, setAuthorizedIdentities] = useState([]);\n\n  const theme = useTheme();\n  const styles = {\n    safeRetrievalCard: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      backgroundColor: theme.palette.surface10.main,\n      paddingBottom: theme.spacing(2),\n      borderRadius: \"4px\",\n      width: \"100%\",\n    },\n    cardActions: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n    container: {\n      display: \"grid\",\n      gridTemplateColumns: \"1fr 1fr 1fr\",\n    },\n  };\n\n  useEffect(() => {\n    if (data && Object.keys(data)?.length > 0) {\n      const firstItem = Object.keys(data)[0];\n      setSelectedFirstColVal(firstItem || \"\");\n      const documents = Object.keys(data[firstItem]?.documents);\n      if (firstItem && documents?.length > 0) {\n        setSelectedSecondColValue(documents[0]);\n      }\n    }\n  }, [data]);\n\n  const secondTableList = useMemo(() => {\n    if (selectedFirstColValue) {\n      const loaderDetails = data[selectedFirstColValue];\n      if (\n        loaderDetails &&\n        loaderDetails?.documents &&\n        Object.keys(loaderDetails?.documents)?.length > 0\n      ) {\n        const result = Object.keys(loaderDetails.documents)\n          ?.map((doc) => ({\n            id: loaderDetails.documents[doc].id,\n            name: doc,\n            entity: loaderDetails.documents[doc].entities,\n            topic: loaderDetails.documents[doc].topics,\n            identities: loaderDetails.documents[doc].user_identities,\n            findings:\n              getSumOfValues(loaderDetails.documents[doc].entities) +\n              getSumOfValues(loaderDetails.documents[doc].topics),\n          }))\n          .sort((a, b) => -a.findings + b.findings);\n\n        setSelectedSecondColValue(result[0]?.name);\n        setAuthorizedIdentities(result[0].identities);\n        return result;\n      }\n      return [];\n    }\n    return [];\n  }, [selectedFirstColValue]);\n\n  const findingsList = useMemo(() => {\n    if (selectedFirstColValue && selectedSecondColValue) {\n      setAuthorizedIdentities(\n        data[selectedFirstColValue].documents[selectedSecondColValue]\n          ?.user_identities || []\n      );\n      const findings =\n        data[selectedFirstColValue].documents[selectedSecondColValue];\n      return findings;\n    }\n    return [];\n  }, [selectedSecondColValue]);\n\n  const overviewColumns = [\n    {\n      id: \"loader\",\n      title: `${isDataLoader ? \"Datasource\" : \"Users\"} (${\n        Object.keys(data)?.length\n      })`,\n      data: Object.keys(data),\n      children: [\n        Object.keys(data)?.length ? (\n          Object.keys(data).map((dataItem) =>\n            isDataLoader ? (\n              <DataSourceDetailsItem\n                isSelected={dataItem === selectedFirstColValue}\n                name={dataItem}\n                total={data[dataItem]?.total_documents}\n                count={data[dataItem]?.document_with_findings}\n                onClick={() => setSelectedFirstColVal(dataItem)}\n                key={dataItem}\n              />\n            ) : (\n              <UserDetailsItem\n                isSelected={dataItem === selectedFirstColValue}\n                name={dataItem}\n                total={Object.keys(data[dataItem]?.documents)?.length || 0}\n                count={data[dataItem]?.document_with_findings}\n                onClick={() => setSelectedFirstColVal(dataItem)}\n                key={dataItem}\n              />\n            )\n          )\n        ) : (\n          <NoData customText=\"No Datasources Found\" />\n        ),\n      ],\n    },\n    {\n      id: \"document\",\n      title: `All Documents (${secondTableList.length})`,\n      data: secondTableList,\n      children: [\n        secondTableList?.length ? (\n          secondTableList.map((item) => (\n            <DocumentDetailsItem\n              {...item}\n              isSelected={item.name === selectedSecondColValue}\n              onClick={() => setSelectedSecondColValue(item.name)}\n              key={item.name}\n            />\n          ))\n        ) : (\n          <NoData customText=\"No Documents Found\" />\n        ),\n      ],\n    },\n    {\n      id: \"findings\",\n      title: [\"Findings\", \"Authorized Users\"],\n      children: [\n        <FindingsDetails\n          selectedFirstValue={data[selectedFirstColValue]}\n          selectedSecondValue={secondTableList.find(\n            (doc) => doc.name === selectedSecondColValue\n          )}\n          findings={findingsList}\n          isDataLoader={isDataLoader}\n        />,\n        <AuthorizedIdentities identities={authorizedIdentities} />,\n      ],\n    },\n  ];\n\n  return (\n    <Box sx={styles.safeRetrievalCard}>\n      <JiraSlackActionButtons />\n      <Box sx={styles.container}>\n        {overviewColumns.map((column) => (\n          <DetailsBlock\n            key={column.id}\n            title={column.title}\n            content={column.children}\n          />\n        ))}\n      </Box>\n    </Box>\n  );\n};\n\nexport default SafeRetrievalDetails;\n","import { useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport Box from \"../../../common/Box\";\nimport { APPLICATION_STR, DATA_LOADER_STR } from \"../../../constants/constants\";\nimport {\n  AppOverview,\n  LoaderAppOverview,\n} from \"../../../dashboard-widgets/APIResponseType\";\nimport AppDetails from \"./AppDetails\";\nimport DataLoaderOverview from \"./DataLoaderOverview\";\nimport SafeRetrievalDetails from \"./SafeRetrievalDetails\";\nimport { fetchAppRetreivalsSlice } from \"../../../../redux/slices/appSlice\";\n\nconst LoaderOverviewPanel = ({ getCardData, page }) => {\n  const [cardData, setCardData] = useState<LoaderAppOverview | null>(null);\n  const theme = useTheme();\n  const styles = {\n    overviewContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n  };\n\n  const fetchAPIDetails = async () => {\n    const response = await getCardData();\n    setCardData(response);\n  };\n\n  useEffect(() => {\n    fetchAPIDetails();\n  }, []);\n\n  return (\n    <Box sx={styles.overviewContainer}>\n      {page === DATA_LOADER_STR ? (\n        <DataLoaderOverview overview={cardData?.overview} />\n      ) : (\n        <AppDetails overview={cardData?.overview} />\n      )}\n      <SafeRetrievalDetails\n        data={cardData?.data}\n        isDataLoader={page === DATA_LOADER_STR}\n      />\n    </Box>\n  );\n};\n\nexport default LoaderOverviewPanel;\n","import { useTheme } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport Box from \"../common/Box\";\nimport { useParams } from \"react-router-dom\";\nimport { Breadcrumbs, Link } from \"../common/Breadcrumbs\";\nimport { TabPanel } from \"../common/Tabs\";\nimport Typography from \"../common/Typography\";\nimport LLMFrameworkDetails from \"../llm/LLMFramework/LLMFrameworkDetails\";\nimport LLMTabs from \"../llm/LLMFramework/LLMTabs\";\nimport LoaderOverviewPanel from \"../llm/LLMFramework/Overview/LoaderOverviewPanel\";\nimport { PolicyViolationDetailsCard } from \"../llm/LLMModel/PolicyViolationDetailsCard\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport {\n  deleteLoaderAppSlice,\n  fetchLoaderAppDetailsSlice,\n  fetchLoaderGraphSlice,\n  fetchLoaderOverviewSlice,\n  setLoaderAppDescriptionSlice,\n} from \"../../redux/slices/dataLoaderSlice\";\nimport { TOASTER_TYPES, Toaster } from \"../../utils/toaster\";\nimport { useHistory } from \"react-router-dom\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst DATA_LOADER_STR = \"data-loader\";\n\nconst DataLoaderDetailsPage = ({ setPath }) => {\n  const [selectedTab, setSelectedTab] = useState(\"overview\");\n  const [frameworkData, setFrameworkData] = useState<any>({});\n  const [collapsibleTreeData, setCollapsibleTreeData] = useState<any>({});\n\n  const [nodeHeight, setNodeHeight] = useState(0);\n  const dispatch = useDispatch<AppDispatch>();\n  const params = useParams();\n  const theme = useTheme();\n  const history = useHistory();\n\n  const styles = {\n    tabLabel: {\n      paddingX: theme.spacing(1),\n    },\n    langchainDetailsCard: {\n      display: \"flex\",\n      gap: theme.spacing(4),\n      padding: theme.spacing(2),\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: theme.spacing(0.5),\n      marginBottom: theme.spacing(1),\n      height: \"auto\",\n      transition: \"all 0.5s\",\n    },\n    langchainFramework: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      height: \"100%\",\n    },\n    breadCrumbLink: {\n      fontSize: theme.typography.caption,\n    },\n    activeLink: { color: theme.palette.surface80.main },\n    blueLink: {\n      color: theme.palette.primaryBlue.main,\n    },\n    tab: {\n      marginTop: theme.spacing(1.5),\n    },\n  };\n\n  const frameworkTabs = [\n    {\n      value: \"overview\",\n      label: (\n        <Typography variant=\"body2\" sx={styles.tabLabel}>\n          Overview\n        </Typography>\n      ),\n    },\n  ];\n\n  const getDataLoaderAppDetails = async () => {\n    const payload = {\n      dataLoaderId: params.id,\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchLoaderAppDetailsSlice(payload));\n    if (response.payload) {\n      setFrameworkData(response.payload);\n    }\n    const graphResponse: any = {};\n    const networkData = await dispatch(fetchLoaderGraphSlice(payload));\n  };\n\n  useEffect(() => {\n    setPath(window.location.pathname);\n  }, []);\n\n  useEffect(() => {\n    getDataLoaderAppDetails();\n  }, []);\n\n  const getLoaderData = async () => {\n    const dataLoaderId = params.id;\n    const payload = {\n      dataLoaderId,\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchLoaderOverviewSlice(payload));\n    if (response.payload) {\n      return response.payload;\n    }\n    return { overview: {}, data: {} };\n  };\n\n  const handleDelete = async (appName) => {\n    const payload = {\n      customerId: getCustomerId(),\n      dataLoaderId: params.id,\n    };\n    const resp = await dispatch(deleteLoaderAppSlice(payload));\n    if (resp?.payload) {\n      Toaster(\n        TOASTER_TYPES.SUCCESS,\n        `Application ${appName} successfully deleted!`\n      );\n    } else {\n      Toaster(TOASTER_TYPES.ERROR, resp?.payload?.message);\n    }\n    history.goBack();\n  };\n\n  const setDescription = async (description) => {\n    const payload = {\n      customerId: getCustomerId(),\n      id: params.id,\n      description,\n    };\n    return await dispatch(setLoaderAppDescriptionSlice(payload));\n  };\n\n  return (\n    <Box sx={styles.langchainFramework}>\n      <Breadcrumbs sx={styles.breadCrumbLink}>\n        <Link underline=\"hover\" color=\"inherit\" href=\"/\" sx={styles.blueLink}>\n          Home\n        </Link>\n        <Link\n          underline=\"hover\"\n          color=\"inherit\"\n          href=\"/data-loaders\"\n          sx={styles.blueLink}\n        >\n          Data Loaders\n        </Link>\n        <Typography variant=\"caption\" sx={styles.activeLink}>\n          {frameworkData?.frameworkSummary?.name}\n        </Typography>\n      </Breadcrumbs>\n      <LLMFrameworkDetails\n        item=\"loader\"\n        frameworkData={frameworkData}\n        onDeleteApp={handleDelete}\n        setDescription={setDescription}\n      />\n      <Box sx={styles.tab}>\n        <LLMTabs\n          tabs={frameworkTabs}\n          activeTab={selectedTab}\n          onTabChange={(event, newValue) => setSelectedTab(newValue)}\n        />\n      </Box>\n      <TabPanel value={selectedTab} index=\"overview\" key=\"overview\">\n        <LoaderOverviewPanel\n          getCardData={getLoaderData}\n          page={DATA_LOADER_STR}\n        />\n      </TabPanel>\n    </Box>\n  );\n};\n\nexport default DataLoaderDetailsPage;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchLoaderListSlice } from \"../../redux/slices/dataLoaderSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport {\n  convertUTCToLocal,\n  getDifferenceInDays,\n  getFirstNValue,\n  getIconForKey,\n  getJoinedString,\n} from \"../../utils/commonUtils\";\nimport { capitalizeFirstLetter } from \"../../utils/utils.js\";\nimport { ListLoaderAPI } from \"../dashboard-widgets/APIResponseType\";\nimport { DATA_LOADER_DETAILS } from \"../../routes/constants\";\nimport { useHistory } from \"react-router-dom\";\nimport Tooltip from \"../common/Tooltip\";\nimport NoData from \"../common/NoData\";\nimport Loader from \"../common/Loader\";\nimport { Breadcrumbs, Link } from \"../common/Breadcrumbs\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst DataLoaderListingPage = () => {\n  const [loaders, setLoaders] = useState([]);\n  const [isLoading, setIsLoading] = useState(false);\n  const dispatch = useDispatch<AppDispatch>();\n  const history = useHistory();\n  const theme = useTheme();\n  const styles = {\n    page: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    pageHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n    },\n    searchOptions: {\n      marginLeft: \"auto\",\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    divider: {\n      height: \"13px\",\n    },\n    tableContainer: {\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: \"4px\",\n    },\n    loaderType: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    noDataCell: {\n      \"&.MuiTableCell-root\": {\n        borderBottom: \"none\",\n      },\n    },\n    breadCrumbLink: {\n      fontSize: theme.typography.caption,\n    },\n    activeLink: { color: theme.palette.surface80.main },\n    blueLink: {\n      color: theme.palette.primaryBlue.main,\n    },\n  };\n\n  const fetchAllDataLoaders = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchLoaderListSlice(payload));\n    if (response?.payload) {\n      setLoaders(response.payload);\n    }\n    setIsLoading(false);\n  };\n\n  const redirectToDataLoaderPage = (loaderID: string) => {\n    history.push(DATA_LOADER_DETAILS + loaderID);\n  };\n\n  useEffect(() => {\n    fetchAllDataLoaders();\n  }, []);\n\n  return (\n    <Box sx={styles.page}>\n      <Breadcrumbs sx={styles.breadCrumbLink}>\n        <Link underline=\"hover\" color=\"inherit\" href=\"/\" sx={styles.blueLink}>\n          Home\n        </Link>\n        <Typography variant=\"caption\" sx={styles.activeLink}>\n          All Data Loaders\n        </Typography>\n      </Breadcrumbs>\n      <Box sx={styles.pageHeader}>\n        <Typography>\n          List of Data Loaders ({loaders ? loaders?.length : 0})\n        </Typography>\n      </Box>\n      <Box sx={styles.tableContainer}>\n        <TableContainer>\n          <Table>\n            <TableHead>\n              <TableRow>\n                <TableCell>Name</TableCell>\n                <TableCell>Type</TableCell>\n                <TableCell>Labels</TableCell>\n                <TableCell>Last Updated</TableCell>\n              </TableRow>\n            </TableHead>\n            <TableBody>\n              {isLoading ? (\n                <TableCell colSpan={4} sx={styles.noDataCell}>\n                  <Loader height=\"150px\" />\n                </TableCell>\n              ) : loaders?.length > 0 ? (\n                loaders.map((loader: ListLoaderAPI) => {\n                  const updatedAtDate = loader.last_updated\n                    ? convertUTCToLocal(loader.last_updated).toString()\n                    : null;\n                  return (\n                    <TableRow\n                      onClick={() => redirectToDataLoaderPage(loader.id)}\n                    >\n                      <TableCell>\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface80.main}\n                        >\n                          {loader.name}\n                        </Typography>\n                      </TableCell>\n                      <TableCell>\n                        <Box sx={styles.loaderType}>\n                          <img\n                            src={getIconForKey(\"data_loader\", loader.type)}\n                            alt={loader.type}\n                            width=\"20px\"\n                          />\n                          <Typography\n                            variant=\"caption\"\n                            color={theme.palette.surface80.main}\n                          >\n                            {capitalizeFirstLetter(loader.type)}\n                          </Typography>\n                        </Box>\n                      </TableCell>\n                      <TableCell>\n                        <Tooltip title={getJoinedString(loader?.labels, \", \")}>\n                          <div>\n                            <Typography\n                              variant=\"caption\"\n                              color={theme.palette.surface80.main}\n                            >\n                              {getFirstNValue(loader.labels, 2)}\n                            </Typography>\n                          </div>\n                        </Tooltip>\n                      </TableCell>\n                      <TableCell>\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface80.main}\n                        >\n                          {updatedAtDate\n                            ? getDifferenceInDays(\n                                new Date(),\n                                new Date(updatedAtDate)\n                              )\n                            : \"-\"}\n                        </Typography>\n                      </TableCell>\n                    </TableRow>\n                  );\n                })\n              ) : (\n                <TableCell colSpan={4} sx={styles.noDataCell}>\n                  <NoData customText=\"No data found\" />\n                </TableCell>\n              )}\n            </TableBody>\n          </Table>\n        </TableContainer>\n      </Box>\n    </Box>\n  );\n};\n\nexport default DataLoaderListingPage;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport Divider from \"../common/Divider\";\nimport Search from \"../common/Search\";\nimport TextButton from \"../common/TextButton\";\nimport Typography from \"../common/Typography\";\nimport FilterListOutlinedIcon from \"@mui/icons-material/FilterListOutlined\";\nimport {\n  getFirstNValue,\n  getIconForKey,\n  getJoinedString,\n} from \"../../utils/commonUtils\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchAppsListSlice } from \"../../redux/slices/appSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { ListAppAPI } from \"../dashboard-widgets/APIResponseType\";\nimport Tooltip from \"../common/Tooltip\";\nimport NoData from \"../common/NoData\";\nimport Loader from \"../common/Loader\";\nimport { useHistory } from \"react-router-dom\";\nimport { APPLICATION_DETAILS } from \"../../routes/constants\";\nimport { Breadcrumbs, Link } from \"../common/Breadcrumbs\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst AppListingPage = () => {\n  const [apps, setApps] = useState<ListAppAPI[]>([]);\n  const [isFetchingData, setIsFetchingData] = useState(false);\n  const dispatch = useDispatch<AppDispatch>();\n  const history = useHistory();\n  const theme = useTheme();\n  const styles = {\n    page: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    pageHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n    },\n    searchOptions: {\n      marginLeft: \"auto\",\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    divider: {\n      height: \"13px\",\n    },\n    appName: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    appVersion: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    noDataCell: {\n      \"&.MuiTableCell-root\": {\n        borderBottom: \"none\",\n      },\n    },\n    tableContainer: {\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: \"4px\",\n    },\n    breadCrumbLink: {\n      fontSize: theme.typography.caption,\n    },\n    activeLink: { color: theme.palette.surface80.main },\n    blueLink: {\n      color: theme.palette.primaryBlue.main,\n    },\n  };\n\n  const tableCols = [\n    {\n      title: \"Name\",\n      sortField: \"\",\n      field: \"appName\",\n      align: \"\",\n      render: (data) => (\n        <Box sx={styles.appName}>\n          <img src={getIconForKey(\"framework\", data?.name)} alt=\"app\" />\n          <Box sx={styles.appVersion}>\n            <Typography color={theme.palette.surface80.main} sx={styles.font13}>\n              {data?.name}\n            </Typography>\n            <Divider orientation=\"vertical\" sx={styles.divider} />\n            <Typography color={theme.palette.surface60.main} variant=\"caption\">\n              {data?.version}\n            </Typography>\n          </Box>\n        </Box>\n      ),\n    },\n    {\n      title: \"Policies Violated\",\n      sortField: \"\",\n      field: \"appName\",\n      align: \"\",\n    },\n    {\n      title: \"Retrievals\",\n      sortField: \"\",\n      field: \"appName\",\n      align: \"\",\n    },\n    {\n      title: \"Active Users\",\n      sortField: \"\",\n      field: \"appName\",\n      align: \"\",\n    },\n    {\n      title: \"Labels\",\n      sortField: \"\",\n      field: \"appName\",\n      align: \"\",\n    },\n  ];\n\n  const fetchAllApps = async () => {\n    setIsFetchingData(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchAppsListSlice(payload));\n    if (response.payload) {\n      setApps(response.payload);\n    }\n    setIsFetchingData(false);\n  };\n\n  const redirectToAppDetailsPage = (appId: string) => {\n    history.push(APPLICATION_DETAILS + appId);\n  };\n\n  useEffect(() => {\n    fetchAllApps();\n  }, []);\n\n  return (\n    <Box sx={styles.page}>\n      <Breadcrumbs sx={styles.breadCrumbLink}>\n        <Link underline=\"hover\" color=\"inherit\" href=\"/\" sx={styles.blueLink}>\n          Home\n        </Link>\n        <Typography variant=\"caption\" sx={styles.activeLink}>\n          All Applications\n        </Typography>\n      </Breadcrumbs>\n      <Box sx={styles.pageHeader}>\n        <Typography>List of Applications</Typography>\n        {/*<Box sx={styles.searchOptions}>\n          <Search\n            placeholder={\"Search By Data Loader Name\"}\n            value={\"\"}\n            onChange={(e) => {}}\n            onClear={() => {}}\n            onKeyDown={(e) => {}}\n          />\n          <Divider orientation=\"vertical\" sx={styles.divider} />\n          <TextButton startIcon={<FilterListOutlinedIcon />}>\n            Filters\n          </TextButton>\n        </Box>*/}\n      </Box>\n      <Box sx={styles.tableContainer}>\n        <TableContainer>\n          <Table>\n            <TableHead>\n              <TableRow>\n                <TableCell>Name</TableCell>\n                <TableCell align=\"right\">Policies Violated</TableCell>\n                <TableCell align=\"right\">Retrievals</TableCell>\n                <TableCell align=\"right\">Active Users</TableCell>\n                <TableCell>Labels</TableCell>\n              </TableRow>\n            </TableHead>\n            <TableBody>\n              {!isFetchingData ? (\n                apps?.length > 0 ? (\n                  apps.map((app) => {\n                    return (\n                      <TableRow\n                        onClick={() => redirectToAppDetailsPage(app.id)}\n                      >\n                        <TableCell>\n                          <Typography\n                            variant=\"caption\"\n                            color={theme.palette.surface80.main}\n                          >\n                            {app.name}\n                          </Typography>\n                        </TableCell>\n                        <TableCell align=\"right\">\n                          <Typography\n                            variant=\"caption\"\n                            color={theme.palette.surface80.main}\n                          >\n                            {app?.policyViolated || \"-\"}\n                          </Typography>\n                        </TableCell>\n                        <TableCell align=\"right\">\n                          <Typography\n                            variant=\"caption\"\n                            color={theme.palette.surface80.main}\n                          >\n                            {app?.retrievals || \"0\"}\n                          </Typography>\n                        </TableCell>\n                        <TableCell align=\"right\">\n                          <Typography\n                            variant=\"caption\"\n                            color={theme.palette.surface80.main}\n                          >\n                            {app?.active_users}\n                          </Typography>\n                        </TableCell>\n                        <TableCell width=\"30%\">\n                          <Tooltip title={getJoinedString(app?.labels)}>\n                            <div>\n                              <Typography\n                                variant=\"caption\"\n                                color={theme.palette.surface80.main}\n                              >\n                                {getFirstNValue(app?.labels)}\n                              </Typography>\n                            </div>\n                          </Tooltip>{\" \"}\n                        </TableCell>\n                      </TableRow>\n                    );\n                  })\n                ) : (\n                  <TableCell colSpan={5} sx={styles.noDataCell}>\n                    <NoData customText=\"No data found\" />\n                  </TableCell>\n                )\n              ) : (\n                <TableCell colSpan={5} sx={styles.noDataCell}>\n                  <Loader height=\"150px\" />\n                </TableCell>\n              )}\n            </TableBody>\n          </Table>\n        </TableContainer>\n      </Box>\n    </Box>\n  );\n};\n\nexport default AppListingPage;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport { Breadcrumbs, Link } from \"./Breadcrumbs\";\nimport Typography from \"./Typography\";\n\ntype Props = {\n  breadcrumbs: {\n    isLink: boolean;\n    route?: string;\n    page: string;\n  }[];\n};\nconst PageBreadcrumbs = ({ breadcrumbs = [] }: Props) => {\n  const theme = useTheme();\n  const styles = {\n    breadCrumbLink: {\n      fontSize: theme.typography.caption,\n    },\n    activeLink: { color: theme.palette.surface80.main },\n    blueLink: {\n      color: theme.palette.primaryBlue.main,\n    },\n  };\n  return (\n    <Breadcrumbs sx={styles.breadCrumbLink}>\n      {breadcrumbs.map((breadcrumb) =>\n        breadcrumb.isLink ? (\n          <Link\n            underline=\"hover\"\n            color=\"inherit\"\n            href={breadcrumb.route}\n            sx={styles.blueLink}\n          >\n            {breadcrumb.page}\n          </Link>\n        ) : (\n          <Typography variant=\"caption\" sx={styles.activeLink}>\n            {breadcrumb.page}\n          </Typography>\n        )\n      )}\n    </Breadcrumbs>\n  );\n};\n\nexport default PageBreadcrumbs;\n","import { useTheme } from \"@mui/material\";\nimport { getSumOfValues } from \"../../utils/commonUtils\";\nimport Bar from \"../common/Bar\";\nimport Box from \"../common/Box\";\nimport Loader from \"../common/Loader\";\nimport NoData from \"../common/NoData\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from \"../common/Table\";\nimport Typography from \"../common/Typography\";\n\nconst PageTable = ({\n  tableCols,\n  tableKeys,\n  tableData,\n  isLoading,\n  pageTitle,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    page: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    pageHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n    },\n    tableContainer: {\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: \"4px\",\n    },\n    noHover: {\n      \"&.MuiTableBody-root .MuiTableRow-root:hover\": {\n        backgroundColor: \"none\",\n      },\n    },\n  };\n\n  return (\n    <Box sx={styles.page}>\n      <Box sx={styles.pageHeader}>\n        <Typography>\n          {pageTitle} ({tableKeys ? tableKeys?.length : 0})\n        </Typography>\n      </Box>\n      <Box sx={styles.tableContainer}>\n        <TableContainer>\n          <Table>\n            <TableHead>\n              {tableCols.map((col) => (\n                <TableCell key={col.id}>{col.value}</TableCell>\n              ))}\n            </TableHead>\n            <TableBody sx={styles.noHover}>\n              {isLoading ? (\n                <TableRow>\n                  <TableCell colSpan={2}>\n                    <Loader height=\"150px\" />\n                  </TableCell>\n                </TableRow>\n              ) : tableKeys?.length ? (\n                tableKeys.map((finding) => (\n                  <TableRow>\n                    <TableCell>\n                      <Typography\n                        variant=\"caption\"\n                        color={theme.palette.surface80.main}\n                      >\n                        {finding}\n                      </Typography>\n                    </TableCell>\n                    <TableCell align=\"right\" width=\"20%\">\n                      <Box\n                        sx={{\n                          display: \"flex\",\n                          gap: theme.spacing(2),\n                          justifyContent: \"center\",\n                          alignItems: \"center\",\n                        }}\n                      >\n                        <Typography\n                          variant=\"caption\"\n                          color={theme.palette.surface80.main}\n                        >\n                          {tableData[finding]}\n                        </Typography>\n                        <Bar\n                          isLastBar={false}\n                          xLabel={\"\"}\n                          barBackColor={theme.palette.surface20.main}\n                          barFaceColor={\n                            tableCols[1]?.color ||\n                            theme.palette.lightMagenta.main\n                          }\n                          rectWidth={\n                            (tableData[finding] / getSumOfValues(tableData)) *\n                            100\n                          }\n                          index={tableData[finding]}\n                          totalValue={4}\n                          barLabel={\"\"}\n                          barValue={tableData[finding]}\n                          type={\"\"}\n                        />\n                      </Box>\n                    </TableCell>\n                  </TableRow>\n                ))\n              ) : (\n                <TableRow>\n                  <TableCell colSpan={tableCols.length}>\n                    <NoData customText=\"No data found\" />\n                  </TableCell>\n                </TableRow>\n              )}\n            </TableBody>\n          </Table>\n        </TableContainer>\n      </Box>\n    </Box>\n  );\n};\n\nexport default PageTable;\n","import { useTheme } from \"@mui/material\";\nimport { SyntheticEvent, useEffect, useState } from \"react\";\nimport Box from \"../common/Box\";\nimport PageBreadcrumbs from \"../common/PageBreadcrumbs\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchFindingsSlice } from \"../../redux/slices/dashboardSlice\";\nimport { Tab, TabPanel, Tabs } from \"../common/Tabs\";\nimport PageTable from \"./PageTable\";\nimport { useHistory } from \"react-router-dom\";\n\nconst AllFindingsPage = ({ setPath }) => {\n  const [findings, setFindings] = useState({\n    findings: {},\n    documents_with_findings: {},\n  });\n  const [isLoading, setIsLoading] = useState(false);\n  const [activeTab, setActiveTab] = useState(\"\");\n\n  const dispatch = useDispatch();\n  const history = useHistory();\n  const theme = useTheme();\n  const styles = {\n    page: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    pageHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n    },\n    tableContainer: {\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: \"4px\",\n    },\n  };\n\n  const breadcrumbs = [\n    {\n      isLink: true,\n      route: \"/\",\n      page: \"Home\",\n    },\n    {\n      isLink: false,\n      page: \"All Findings\",\n    },\n  ];\n\n  const tabs = [\n    {\n      label: \"Findings\",\n      value: \"findings\",\n    },\n    {\n      label: \"Documents With Findings\",\n      value: \"docs-with-findings\",\n    },\n  ];\n\n  const findingTableCols = [\n    {\n      id: \"finding-label\",\n      value: \"Finding\",\n    },\n    {\n      id: \"snippets\",\n      value: \"Snippets\",\n      color: theme.palette.lightMagenta.main,\n    },\n  ];\n\n  const docsTableCols = [\n    {\n      id: \"docs-label\",\n      value: \"Documents\",\n    },\n    {\n      id: \"snippets\",\n      value: \"Snippets\",\n      color: theme.palette.lightMagenta.main,\n    },\n  ];\n\n  useEffect(() => {\n    const urlParams = new URLSearchParams(window.location.search);\n    const tabName = urlParams.get(\"tab\");\n    if (tabName) setActiveTab(tabName);\n    else setActiveTab(tabs[0].value);\n    setPath(window.location.pathname);\n    fetchAllFindings();\n  }, []);\n\n  const findingsKeys = findings?.findings\n    ? Object.keys(findings?.findings)\n    : [];\n  const docsKeys = findings?.documents_with_findings\n    ? Object.keys(findings?.documents_with_findings)\n    : [];\n\n  const handleTabChange = (event: Event | SyntheticEvent, newValue: string) => {\n    history.push(`${window.location.pathname}?tab=${newValue}`);\n    setActiveTab(newValue);\n  };\n\n  const fetchAllFindings = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchFindingsSlice(payload));\n\n    if (response?.payload) {\n      setFindings(response.payload);\n    }\n    setIsLoading(false);\n  };\n\n  return (\n    <Box sx={styles.page}>\n      <PageBreadcrumbs breadcrumbs={breadcrumbs} />\n      <Tabs value={activeTab} onChange={handleTabChange}>\n        {tabs.map((tab) => (\n          <Tab {...tab} />\n        ))}\n      </Tabs>\n      <TabPanel index=\"docs-with-findings\" value={activeTab}>\n        <PageTable\n          pageTitle=\"List of Documents with Findings\"\n          tableKeys={docsKeys}\n          tableData={findings.documents_with_findings}\n          tableCols={docsTableCols}\n          isLoading={isLoading}\n        />\n      </TabPanel>\n      <TabPanel index=\"findings\" value={activeTab}>\n        <PageTable\n          pageTitle=\"List of Findings\"\n          tableKeys={findingsKeys}\n          tableData={findings.findings}\n          tableCols={findingTableCols}\n          isLoading={isLoading}\n        />\n      </TabPanel>\n    </Box>\n  );\n};\n\nexport default AllFindingsPage;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../components/common/Box\";\nimport { Breadcrumbs, Link } from \"../components/common/Breadcrumbs\";\nimport Typography from \"../components/common/Typography\";\n\nconst CustomPage = ({ breadcrumbs, children }) => {\n  const theme = useTheme();\n  const styles = {\n    page: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    activeLink: { color: theme.palette.surface80.main },\n    blueLink: {\n      color: theme.palette.primaryBlue.main,\n    },\n    breadCrumbLink: {\n      fontSize: theme.typography.caption,\n    },\n  };\n\n  return (\n    <Box sx={styles.page}>\n      <Breadcrumbs sx={styles.breadCrumbLink}>\n        {breadcrumbs?.map((breadcrumb) => {\n          return breadcrumb?.isLink ? (\n            <Link\n              underline=\"hover\"\n              color=\"inherit\"\n              href={breadcrumb?.link}\n              sx={styles.blueLink}\n            >\n              {breadcrumb?.name}\n            </Link>\n          ) : (\n            <Typography variant=\"caption\" sx={styles.activeLink}>\n              {breadcrumb?.name}\n            </Typography>\n          );\n        })}\n      </Breadcrumbs>\n      {children}\n    </Box>\n  );\n};\n\nexport default CustomPage;\n","import { useEffect, useMemo, useState } from \"react\";\nimport Box from \"../../components/common/Box\";\nimport { useTheme } from \"@mui/material\";\nimport { Breadcrumbs, Link } from \"../../components/common/Breadcrumbs\";\nimport Typography from \"../../components/common/Typography\";\nimport Search from \"../../components/common/Search\";\nimport { useHistory } from \"react-router-dom\";\nimport NoData from \"../../components/common/NoData\";\nimport { capitalizeFirstLetter } from \"../../utils/utils\";\nimport { getFileName, getIconForKey } from \"../../utils/commonUtils\";\nimport ColorBadge from \"../../components/common/ColorBadge\";\nimport CustomPage from \"../CustomPage\";\nimport CustomTable from \"../../components/common/CustomTable\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchImpactedDocumentsSlice } from \"../../redux/slices/documentSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport Tooltip from \"../../components/common/Tooltip\";\nimport { AppDispatch } from \"../../redux/store\";\n\nconst DocumentsListing = () => {\n  const [isLoading, setIsLoading] = useState(false);\n  const [documents, setDocuments] = useState([]);\n  const [documentList, setDocumentList] = useState<any>([]);\n  const [searchKeyword, setSearchKeyword] = useState(\"\");\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const history = useHistory();\n  const styles = {\n    page: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n    },\n    activeLink: { color: theme.palette.surface80.main },\n    blueLink: {\n      color: theme.palette.primaryBlue.main,\n    },\n    breadCrumbLink: {\n      fontSize: theme.typography.caption,\n    },\n    users: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    tableTitle: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    tableContainer: {\n      backgroundColor: theme.palette.surface10.main,\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    userApps: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n      paddingY: theme.spacing(1),\n    },\n    datastore: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n      alignItems: \"center\",\n    },\n    alignBaseline: {\n      alignItems: \"baseline\",\n    },\n    truncateText: {\n      whiteSpace: \"nowrap\",\n      maxWidth: \"500px\",\n      overflow: \"hidden\",\n      textOverflow: \"ellipsis\",\n      cursor: \"pointer\",\n    },\n    tableBg: {\n      backgroundColor: theme.palette.surface10.main,\n    },\n  };\n\n  const fetchAllDocuments = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchImpactedDocumentsSlice(payload));\n    if (response?.payload) {\n      const docList: any = Object.keys(response?.payload?.data).map((key) => ({\n        name: key,\n        ...response?.payload?.data[key],\n      }));\n      setDocuments(docList);\n      setDocumentList(docList);\n    } else {\n      setDocuments([]);\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    fetchAllDocuments();\n  }, []);\n\n  useEffect(() => {\n    const filteredList = documents.filter((doc: { name: string }) =>\n      doc?.name?.toLowerCase().includes(searchKeyword.toLowerCase())\n    );\n    setDocumentList(filteredList);\n  }, [searchKeyword]);\n\n  const breadcrumbs = [\n    {\n      isLink: true,\n      name: \"Home\",\n      link: \"/\",\n    },\n    {\n      isLink: false,\n      name: \"Documents\",\n    },\n  ];\n\n  const tableCols = useMemo(\n    () => [\n      {\n        id: 1,\n        title: \"Document\",\n        render: (data) => (\n          <Tooltip title={data?.name}>\n            <div>\n              <Typography\n                color={theme.palette.surface70.main}\n                sx={{ ...styles.truncateText, ...styles.font13 }}\n              >\n                {getFileName(data?.name)}\n              </Typography>\n            </div>\n          </Tooltip>\n        ),\n      },\n      {\n        id: 2,\n        title: \"Document Source\",\n        render: (data) => (\n          <Box sx={styles.datastore}>\n            <img\n              src={getIconForKey(\"data_loader\", data?.loader_type)}\n              alt=\"source\"\n              height={18}\n            />\n            <Typography sx={styles.font13} color={theme.palette.surface80.main}>\n              {capitalizeFirstLetter(data?.loader_type)}\n            </Typography>\n          </Box>\n        ),\n      },\n      {\n        id: 3,\n        title: \"Snippets with Sensitive Content\",\n        render: (data) => (\n          <Box sx={{ ...styles.datastore, ...styles.alignBaseline }}>\n            <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n              {data?.snippet_count?.sensitive?.count}\n            </Typography>\n            <Typography sx={styles.font13} color={theme.palette.surface50.main}>\n              {`/ ${data?.snippet_count?.total}`}\n            </Typography>\n          </Box>\n        ),\n      },\n      {\n        id: 4,\n        title: \"Retrievals with Sensitive Data\",\n        render: (data) => {\n          const count = data?.retrievals?.sensitive_count || 0;\n          return (\n            <Box sx={{ ...styles.datastore, ...styles.alignBaseline }}>\n              {count ? <ColorBadge color=\"#DE2D31\" /> : null}\n              <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n                {count}\n              </Typography>\n              <Typography\n                sx={styles.font13}\n                color={theme.palette.surface50.main}\n              >\n                {`/ ${data?.retrievals?.total}`}\n              </Typography>\n            </Box>\n          );\n        },\n      },\n    ],\n    [documentList]\n  );\n\n  const gotoDocumentDetails = (doc) => {\n    const docId = doc?.id?.length ? doc?.id[0] : \"\";\n    if (docId) history.push(`/documents/${docId}`);\n  };\n\n  return (\n    <CustomPage breadcrumbs={breadcrumbs}>\n      <Box sx={styles.users}>\n        <Box sx={styles.tableTitle}>\n          <Typography>All Documents ({documentList?.length})</Typography>\n          <Search\n            placeholder=\"Search By Name\"\n            value={searchKeyword}\n            onChange={(e) => setSearchKeyword(e.target.value)}\n            onClear={() => setSearchKeyword(\"\")}\n            onKeyDown={(e) => {}}\n          />\n        </Box>\n        <Box sx={styles.tableBg}>\n          <CustomTable\n            tableCols={tableCols}\n            tableData={documentList}\n            onRowClick={gotoDocumentDetails}\n            isLoading={isLoading}\n          />\n        </Box>\n      </Box>\n    </CustomPage>\n  );\n};\n\nexport default DocumentsListing;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../components/common/Box\";\nimport Typography from \"../../components/common/Typography\";\nimport Tooltip from \"../../components/common/Tooltip\";\nimport { getIconForKey } from \"../../utils/commonUtils\";\n\nconst TitlePath = ({ type, entityKey, subText }) => {\n  const theme = useTheme();\n  const styles = {\n    block: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"start\",\n    },\n    nameSubtext: {\n      display: \"flex\",\n      flexDirection: \"column\",\n    },\n    truncateText: {\n      width: \"300px\",\n      whiteSpace: \"nowrap\",\n      textOverflow: \"ellipsis\",\n      overflow: \"hidden\",\n    },\n  };\n\n  return (\n    <Box sx={styles.block}>\n      {entityKey && (\n        <img src={getIconForKey(type, entityKey)} alt=\"source\" height={22} />\n      )}\n      <Box sx={styles.nameSubtext}>\n        <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n          {entityKey}\n        </Typography>\n        <Tooltip\n          title={subText}\n          children={\n            <div style={styles.truncateText as any}>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface50.main}\n                sx={styles.truncateText}\n              >\n                {subText}\n              </Typography>\n            </div>\n          }\n        />\n      </Box>\n    </Box>\n  );\n};\n\nexport default TitlePath;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport Typography from \"./Typography\";\nimport Tooltip from \"./Tooltip\";\n\nconst ExcessItemsTooltip = ({ items }) => {\n  const theme = useTheme();\n  const styles = {\n    table: {\n      padding: theme.spacing(1),\n      display: \"grid\",\n      gridTemplateColumns: \"70% 30%\",\n      rowGap: theme.spacing(1),\n    },\n  };\n\n  return (\n    <Box sx={styles.table}>\n      {items?.length\n        ? items?.map((label) => (\n            <>\n              <Typography variant=\"body2\" color={theme.palette.surface20.main}>\n                {label?.name}\n              </Typography>\n              <Typography\n                variant=\"caption\"\n                color={theme.palette.surface40.main}\n                sx={{\n                  justifySelf: \"end\",\n                }}\n              >\n                {label?.count}\n              </Typography>\n            </>\n          ))\n        : null}\n    </Box>\n  );\n};\n\nconst LabelAndValue = ({ labels }) => {\n  const theme = useTheme();\n  const styles = {\n    card: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    table: {\n      display: \"grid\",\n      gridTemplateColumns: \"1fr 1fr\",\n      rowGap: theme.spacing(1),\n    },\n    tooltipContainer: { width: \"fit-content\" },\n    pointer: {\n      cursor: \"pointer\",\n    },\n  };\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.table}>\n        {labels?.slice(0, 4)?.map((label) => (\n          <>\n            <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n              {label?.name}\n            </Typography>\n            <Typography\n              variant=\"caption\"\n              color={theme.palette.surface80.main}\n              sx={{\n                justifySelf: \"end\",\n              }}\n            >\n              {label?.count}\n            </Typography>\n          </>\n        ))}\n      </Box>\n      {labels?.length > 4 ? (\n        <Box sx={styles.tooltipContainer}>\n          <Tooltip title={<ExcessItemsTooltip items={labels?.slice(4)} />}>\n            <div>\n              <Typography\n                variant=\"body2\"\n                color={theme.palette.primaryBlue.main}\n                sx={styles.pointer}\n              >\n                + {labels?.length - 4} more\n              </Typography>\n            </div>\n          </Tooltip>\n        </Box>\n      ) : null}\n    </Box>\n  );\n};\n\nexport default LabelAndValue;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../common/Box\";\nimport Typography from \"../common/Typography\";\nimport GroupsIcon from \"../../assets/img/users.svg\";\n\nconst UserGroupsListing = ({ groups, title }) => {\n  const theme = useTheme();\n  const styles = {\n    group: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    groupTitle: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"baseline\",\n    },\n    groupCount: {\n      fontFamily: \"Manrope, sans-serif\",\n      fontSize: \"24px\",\n    },\n    groupList: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    row: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n  };\n  return (\n    <Box sx={styles.group}>\n      <Box sx={styles.groupTitle}>\n        <Typography sx={styles.groupCount} color={theme.palette.surface80.main}>\n          {groups?.length || 0}\n        </Typography>\n        <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n          {title}\n        </Typography>\n      </Box>\n      <Box sx={styles.groupList}>\n        {groups?.map((group) => (\n          <Box sx={styles.row}>\n            <img src={GroupsIcon} width=\"16px\" />\n            <Typography\n              variant=\"subtitle2\"\n              color={theme.palette.surface70.main}\n            >\n              {group}\n            </Typography>\n          </Box>\n        ))}\n      </Box>\n    </Box>\n  );\n};\n\nexport default UserGroupsListing;\n","import Box from \"../../../components/common/Box\";\nimport Divider from \"../../../components/common/Divider\";\nimport TextButton from \"../../../components/common/TextButton\";\nimport TitlePath from \"../../../components/common/TooltipTruncatedText\";\nimport Typography from \"../../../components/common/Typography\";\nimport JiraIcon from \"../../../assets/img/jira.svg\";\nimport GroupsIcon from \"../../../assets/img/users.svg\";\nimport { useTheme } from \"@mui/material\";\nimport {\n  formatBytes,\n  getFileExtension,\n  getFileName,\n  getIconForKey,\n} from \"../../../utils/commonUtils\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useEffect, useState } from \"react\";\nimport LabelAndValue from \"../../../components/common/LabelAndValue\";\nimport { useDispatch } from \"react-redux\";\nimport { useParams } from \"react-router-dom\";\nimport { fetchDocumentInfoSlice } from \"../../../redux/slices/documentSlice\";\nimport Tooltip from \"../../../components/common/Tooltip\";\nimport Loader from \"../../../components/common/Loader\";\nimport { AppDispatch } from \"../../../redux/store\";\nimport UserGroupsListing from \"../../../components/custom/UserGroupsListing\";\n\nconst DocumentInfo = ({ name }) => {\n  const [document, setDocument] = useState<null | any>(null);\n  const [isLoading, setIsLoading] = useState(false);\n  const theme = useTheme();\n  const dispatch = useDispatch<AppDispatch>();\n  const params = useParams();\n\n  const styles = {\n    docTitle: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"start\",\n      width: \"30%\",\n    },\n    docDetails: {\n      padding: theme.spacing(2),\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(5),\n      backgroundColor: theme.palette.surface5.main,\n    },\n    cardFirstRow: {\n      width: \"100%\",\n      //display: \"grid\",\n      //gridTemplateColumns: \"40% 25% 25% 10%\",\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    labelSubtext: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n      width: \"fit-content\",\n      maxWidth: \"100%\",\n    },\n    divider: {\n      backgroundColor: theme.palette.surface20.main,\n    },\n    jiraBtn: {\n      //marginLeft: \"auto\",\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      textTransform: \"none\",\n      paddingY: theme.spacing(1),\n      color: theme.palette.surface60.main,\n      cursor: \"pointer\",\n    },\n    docGroupsInfo: {\n      display: \"grid\",\n      gridTemplateColumns: \"1fr 1px 1fr 1px 1fr\",\n      justifyItems: \"center\",\n      gridGap: theme.spacing(2),\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    group: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    groupTitle: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"baseline\",\n    },\n    groupCount: {\n      fontFamily: \"Manrope, sans-serif\",\n      fontSize: \"24px\",\n    },\n    groupFirstChild: {\n      justifySelf: \"flex-start\",\n    },\n    groupList: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    row: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    labelGraph: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    docFullName: {\n      whiteSpace: \"nowrap\",\n      maxWidth: \"100%\",\n      overflow: \"hidden\",\n      textOverflow: \"ellipsis\",\n    },\n  };\n\n  const getDocumentInfo = async () => {\n    setIsLoading(true);\n    const documentId = params?.doc;\n\n    const payload = {\n      documentName: name,\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchDocumentInfoSlice(payload));\n    if (response?.payload?.data) {\n      const doc = response.payload.data;\n      setDocument({\n        ...doc,\n        harmful_labels: Object.keys(doc?.harmful_labels)?.map((label) => ({\n          name: label,\n          count: doc?.harmful_labels[label],\n        })),\n        sensitive_labels: Object.keys(doc?.sensitive_labels)?.map((label) => ({\n          name: label,\n          count: doc?.sensitive_labels[label],\n        })),\n      });\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    if (name) getDocumentInfo();\n  }, [name]);\n\n  return (\n    <Box sx={styles.docDetails}>\n      {isLoading ? (\n        <Loader height=\"200px\" />\n      ) : (\n        <>\n          <Box sx={styles.cardFirstRow}>\n            <Box sx={styles.docTitle}>\n              <img\n                src={getIconForKey(\"file\", getFileExtension(document?.name))}\n                alt=\"type\"\n                height={20}\n              />\n              <Box sx={styles.labelSubtext}>\n                <Tooltip title={document?.name}>\n                  <div>\n                    <Typography\n                      color={theme.palette.surface80.main}\n                      sx={styles.docFullName}\n                      variant=\"h6\"\n                    >\n                      {getFileName(document?.name)}\n                    </Typography>\n                  </div>\n                </Tooltip>\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface50.main}\n                >\n                  {formatBytes(document?.doc_size)}\n                </Typography>\n              </Box>\n            </Box>\n            <>\n              {document?.loader_type ? (\n                <>\n                  <Divider\n                    orientation=\"vertical\"\n                    flexItem\n                    sx={styles.divider}\n                  />\n                  <TitlePath\n                    type=\"data_loader\"\n                    entityKey={document?.loader_type}\n                    subText={document?.name}\n                  />\n                </>\n              ) : null}\n            </>\n            <>\n              {document?.vector_db ? (\n                <>\n                  <Divider\n                    orientation=\"vertical\"\n                    flexItem\n                    sx={styles.divider}\n                  />\n                  <TitlePath\n                    type=\"vector_db\"\n                    entityKey={document?.vector_db}\n                    subText={`Last Refreshed : ${\n                      document?.database?.updatedAt || \"-\"\n                    }`}\n                  />\n                </>\n              ) : null}\n            </>\n            {/*<TextButton\n              startIcon={<img src={JiraIcon} alt=\"jira\" />}\n              sx={styles.jiraBtn}\n              disabled={true}\n            >\n              Create Ticket\n            </TextButton>*/}\n          </Box>\n          <Box sx={styles.docGroupsInfo}>\n            <Box sx={styles.groupFirstChild}>\n              <UserGroupsListing\n                groups={document?.groups}\n                title=\"Groups with Access\"\n              />\n            </Box>\n            <Divider orientation=\"vertical\" flexItem sx={styles.divider} />\n            <Box sx={styles.group}>\n              <Box sx={styles.groupTitle}>\n                <Typography\n                  sx={styles.groupCount}\n                  color={theme.palette.surface80.main}\n                >\n                  {document?.harmful_labels?.length}\n                </Typography>\n                <Typography\n                  variant=\"body2\"\n                  color={theme.palette.surface80.main}\n                >\n                  Harmful Labels\n                </Typography>\n              </Box>\n              <Box sx={styles.labelGraph}>\n                <LabelAndValue labels={document?.harmful_labels} />\n              </Box>\n            </Box>\n            <Divider orientation=\"vertical\" flexItem sx={styles.divider} />\n            <Box sx={styles.group}>\n              <Box sx={styles.groupTitle}>\n                <Typography\n                  sx={styles.groupCount}\n                  color={theme.palette.surface80.main}\n                >\n                  {document?.sensitive_labels?.length}\n                </Typography>\n                <Typography\n                  variant=\"body2\"\n                  color={theme.palette.surface80.main}\n                >\n                  Sensitive Labels\n                </Typography>\n              </Box>\n              <Box sx={styles.labelGraph}>\n                <LabelAndValue labels={document?.sensitive_labels} />\n              </Box>\n            </Box>\n          </Box>\n        </>\n      )}\n    </Box>\n  );\n};\n\nexport default DocumentInfo;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../components/common/Box\";\nimport Typography from \"../../components/common/Typography\";\n\nconst CustomTab = ({\n  value,\n  color = \"\",\n  label,\n  count,\n  selectedValue,\n  outOf,\n}) => {\n  const theme = useTheme();\n  const styles = {\n    tab: {\n      backgroundColor:\n        selectedValue === value ? theme.palette.surface10.main : \"transparent\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      alignItems: \"start\",\n      gap: theme.spacing(1),\n      padding: theme.spacing(2),\n      borderRadius: \"4px 4px 0px 0px\",\n    },\n    rowBadge: (color: string) => ({\n      width: \"8px\",\n      height: \"8px\",\n      borderRadius: \"50%\",\n      backgroundColor: color,\n    }),\n    valueText: {\n      fontFamily: \"Manrope, sans-serif\",\n      fontSize: \"44px\",\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    tabLabel: {\n      display: \"flex\",\n      justifyContent: \"center\",\n      alignItems: \"center\",\n      gap: theme.spacing(0.5),\n    },\n    value: {\n      display: \"flex\",\n      alignItems: \"baseline\",\n      gap: theme.spacing(1),\n    },\n    outOfText: {\n      fontSize: \"24px\",\n    },\n  };\n  return (\n    <Box sx={styles.tab}>\n      <Box sx={styles.value}>\n        <Typography color={theme.palette.surface90.main} sx={styles.valueText}>\n          {count}\n        </Typography>\n        {outOf ? <Typography sx={styles.outOfText}>/ {outOf}</Typography> : \"\"}\n      </Box>\n      <Box sx={styles.tabLabel}>\n        {color && <Box sx={styles.rowBadge(color)}></Box>}\n        <Typography color={theme.palette.surface90.main} sx={styles.font13}>\n          {label}\n        </Typography>\n      </Box>\n    </Box>\n  );\n};\n\nexport default CustomTab;\n","import { useTheme } from \"@mui/material\";\nimport ViewMoreBlock from \"../../../components/common/ViewMoreBlock\";\nimport Typography from \"../../../components/common/Typography\";\nimport Box from \"../../../components/common/Box\";\nimport { convertUTCToLocal, convertYYYYMMDD } from \"../../../utils/commonUtils\";\n\nconst NUM_OF_CHARACTERS = 300;\n\nconst Snippet = ({ retrievedOn, snippet }) => {\n  const theme = useTheme();\n  const styles = {\n    snippet: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n  };\n  return (\n    <Box sx={styles.snippet}>\n      <Typography variant=\"caption\" color={theme.palette.surface50.main}>\n        Loaded On:{\" \"}\n        {retrievedOn ? convertYYYYMMDD(convertUTCToLocal(retrievedOn)) : \"-\"}\n      </Typography>\n      <ViewMoreBlock value={snippet} length={NUM_OF_CHARACTERS} />\n    </Box>\n  );\n};\n\nexport default Snippet;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../components/common/Box\";\nimport Typography from \"../../../components/common/Typography\";\nimport NoData from \"../../../components/common/NoData\";\n\nconst LabelCard = ({ isSelected, label, isHarmful, count, onChange }) => {\n  const theme = useTheme();\n  const styles = {\n    label: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n    },\n    card: {\n      cursor: \"pointer\",\n      display: \"flex\",\n      gap: theme.spacing(0.75),\n      flexDirection: \"column\",\n      padding: theme.spacing(2),\n      backgroundColor: isSelected ? theme.palette.surface0.main : \"transparent\",\n      borderLeft: isSelected\n        ? `1px solid ${theme.palette.primaryBlue.main}`\n        : \"1px solid transparent\",\n    },\n  };\n  return (\n    <Box sx={styles.card} onClick={onChange}>\n      <Box sx={styles.label}>\n        <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n          {label}\n        </Typography>\n      </Box>\n      <Typography variant=\"caption\" color={theme.palette.surface30.main}>\n        {count} Snippets\n      </Typography>\n    </Box>\n  );\n};\n\nconst LabelWithSnippetCount = ({\n  onChange,\n  labels,\n  selected,\n}: {\n  onChange: (label: string) => void;\n  labels: { label: string; value: any[] }[];\n  selected: string;\n}) => {\n  const theme = useTheme();\n  const styles = {\n    list: {\n      height: \"100%\",\n      overflowY: \"auto\",\n    },\n  };\n\n  return (\n    <Box sx={styles.list}>\n      {labels && labels?.length ? (\n        labels.map((label) => (\n          <LabelCard\n            label={label?.label}\n            count={label?.value}\n            isHarmful={false}\n            isSelected={selected === label?.label}\n            onChange={() => onChange(label?.label)}\n          />\n        ))\n      ) : (\n        <NoData customText=\"No Labels\" />\n      )}\n    </Box>\n  );\n};\n\nexport default LabelWithSnippetCount;\n","import { useEffect, useMemo, useState } from \"react\";\nimport Box from \"../../../components/common/Box\";\nimport { Tab, Tabs } from \"../../../components/common/Tabs\";\nimport { useTheme } from \"@mui/material\";\nimport CustomTab from \"../CustomTab\";\nimport Typography from \"../../../components/common/Typography\";\nimport { Select } from \"../../../components/common/Select\";\nimport Snippet from \"./Snippet\";\nimport NoData from \"../../../components/common/NoData\";\nimport LabelWithSnippetCount from \"./LabelWithSnippetCount\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchDocumentDetailsSlice } from \"../../../redux/slices/documentSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useParams } from \"react-router-dom\";\nimport { AppDispatch } from \"../../../redux/store\";\n\ninterface DocumentSnippets {\n  total_snippets: number;\n  snippets_with_harmful_data: any;\n  snippets_with_sensitive_content: any;\n}\n\nconst ListOfSnippets = ({ snippets }) => {\n  return snippets?.length ? (\n    snippets.map((snippet: any) => (\n      <Snippet retrievedOn={snippet?.retrieved_on} snippet={snippet?.doc} />\n    ))\n  ) : (\n    <NoData customText=\"No Snippets\" />\n  );\n};\n\nconst DocumentSnippets = ({ name }) => {\n  const [selectedTab, setSelectedTab] = useState(\"snippets_with_harmful_data\");\n  const [documentSnippets, setDocumentSnippets] =\n    useState<DocumentSnippets | null>(null);\n  const [filteredSnippets, setFilteredSnippets] = useState({});\n  const [selectedLabel, setSelectedLabel] = useState(\"\");\n  const [snippets, setSnippets] = useState([]);\n  const [applications, setApplications] = useState<\n    Array<{\n      label: string;\n      value: string;\n    }>\n  >([]);\n  const [filterByApp, setFilterByApp] = useState(\"all\");\n  const theme = useTheme();\n  const params = useParams();\n  const dispatch = useDispatch<AppDispatch>();\n\n  const styles = {\n    pageBody: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    snippetsCard: {},\n    noBottomBorder: {\n      \"&.MuiInputBase-root\": {\n        fontSize: theme.typography.caption,\n        color: theme.palette.surface70.main,\n        fontWeight: theme.typography.fontWeightMedium,\n        marginTop: 0,\n      },\n    },\n    promptSelector: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      borderBottom: \"1px solid #292D40\",\n      padding: theme.spacing(2),\n    },\n    filters: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n      marginLeft: \"auto\",\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    panel: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: \"4px\",\n      height: \"500px\",\n      overflow: \"hidden\",\n    },\n    cardContent: {\n      display: \"grid\",\n      gridTemplateColumns: \"30% 70%\",\n      flexGrow: \"1\",\n      overflow: \"hidden\",\n    },\n    gridTitle: {\n      padding: theme.spacing(2),\n      borderBottom: \"1px solid #292D40\",\n    },\n    column: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      flexGrow: \"1\",\n      overflow: \"hidden\",\n    },\n    column1: {\n      borderRight: \"1px solid #292D40\",\n      //  overflow: \"hidden\",\n    },\n    column2: {\n      //  overflow: \"hidden\",\n    },\n    snippetList: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n      overflowY: \"auto\",\n      height: \"100%\",\n    },\n  };\n\n  const fetchSnippetLabels = (label) => {\n    return documentSnippets\n      ? Object.keys(documentSnippets[label])?.map((snippet: any) => ({\n          label: snippet,\n          value: documentSnippets[label][snippet],\n        }))\n      : [];\n  };\n\n  const getKeyItemsFromObject = (obj: { key: [] }) => {\n    //using reducer get length of items in object\n    return obj\n      ? Object.values(obj).reduce((acc, item: []) => {\n          return acc + item?.length;\n        }, 0)\n      : 0;\n  };\n\n  const tabs = useMemo(() => {\n    return {\n      snippets_with_harmful_data: {\n        label: \"Snippets with Harmful Data\",\n        color: \"#B9605B\",\n        value: \"snippets_with_harmful_data\",\n        data: fetchSnippetLabels(\"snippets_with_harmful_data\"),\n        snippets: getKeyItemsFromObject(\n          documentSnippets?.snippets_with_harmful_data\n        ),\n        outOf: documentSnippets?.total_snippets || 0,\n      },\n      snippets_with_sensitive_content: {\n        label: \"Snippets with Sensitive Content\",\n        value: \"snippets_with_sensitive_content\",\n        data: fetchSnippetLabels(\"snippets_with_sensitive_content\"),\n        snippets: getKeyItemsFromObject(\n          documentSnippets?.snippets_with_sensitive_content\n        ),\n        outOf: documentSnippets?.total_snippets || 0,\n      },\n    };\n  }, [documentSnippets]);\n\n  const fetchDocumentSnippets = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      documentName: name,\n    };\n    const response = await dispatch(fetchDocumentDetailsSlice(payload));\n    if (response?.payload?.data) {\n      const data = response?.payload?.data;\n      setApplications([\n        {\n          label: `All Data Loaders (${data?.apps?.length || 0})`,\n          value: \"all\",\n        },\n        ...data.apps?.map((app) => ({\n          value: app,\n          label: app,\n        })),\n      ]);\n      setDocumentSnippets(data);\n    }\n  };\n\n  const filterTabsWithSnippets = (allLabels: DocumentSnippets) => {\n    let filteredObj = {} as { [key: string]: {} };\n\n    for (const key in allLabels[selectedTab]) {\n      const filteredArray = allLabels[selectedTab][key]?.filter((value) =>\n        filterByApp === \"all\" ? true : value?.app_name === filterByApp\n      );\n      if (filteredArray.length > 0) {\n        filteredObj[key] = {\n          label: key,\n          value: filteredArray.length,\n          data: filteredArray,\n        };\n      }\n    }\n\n    return filteredObj;\n  };\n\n  useEffect(() => {\n    if (name) {\n      fetchDocumentSnippets();\n    }\n  }, [name]);\n\n  useEffect(() => {\n    if (selectedTab && documentSnippets) {\n      const filteredData = filterTabsWithSnippets(documentSnippets);\n      if (filteredData && Object.keys(filteredData).length) {\n        if (!Object.keys(filteredData).includes(selectedLabel)) {\n          setSelectedLabel(Object.keys(filteredData)[0]);\n        }\n      }\n      setFilteredSnippets(filteredData || {});\n    }\n  }, [selectedTab, filterByApp, documentSnippets]);\n\n  return (\n    <Box sx={styles.pageBody}>\n      <Tabs\n        value={selectedTab}\n        onChange={(event, newValue) => setSelectedTab(newValue)}\n        sx={{\n          display: \"flex\",\n          gap: theme.spacing(2),\n          \"&.MuiTab-root\": {\n            paddingBottom: \"0\",\n          },\n        }}\n      >\n        {Object.values(tabs)?.map((tab) => (\n          <Tab\n            sx={{\n              \"&.MuiTab-root\": {\n                paddingBottom: 0,\n              },\n            }}\n            label={\n              <CustomTab\n                {...tab}\n                count={tab.snippets}\n                selectedValue={selectedTab}\n              />\n            }\n            value={tab.value}\n          />\n        ))}\n      </Tabs>\n      <Box sx={styles.snippetsCard}>\n        <Box sx={styles.panel}>\n          <Box sx={styles.promptSelector}>\n            <Box sx={styles.filters}>\n              <Typography\n                color={theme.palette.surface30.main}\n                sx={styles.font13}\n              >\n                Show Snippets for:\n              </Typography>\n              <Select\n                placeholder=\"Filter by Data Loaders\"\n                options={applications}\n                sx={styles.noBottomBorder}\n                value={filterByApp}\n                onChange={(event: any) => setFilterByApp(event.target.value)}\n              />\n            </Box>\n          </Box>\n          <Box sx={styles.cardContent}>\n            <Box sx={{ ...styles.column, ...styles.column1 }}>\n              <Box sx={styles.gridTitle}>\n                <Typography\n                  color={theme.palette.surface70.main}\n                  sx={styles.font13}\n                >\n                  Labels\n                </Typography>\n              </Box>\n              <LabelWithSnippetCount\n                onChange={(label) => setSelectedLabel(label)}\n                selected={selectedLabel}\n                labels={Object.values(filteredSnippets)}\n              />\n            </Box>\n            <Box sx={{ ...styles.column, ...styles.column2 }}>\n              <Box sx={styles.gridTitle}>\n                <Typography\n                  color={theme.palette.surface70.main}\n                  sx={styles.font13}\n                >\n                  Snippets\n                </Typography>\n              </Box>\n              <Box sx={styles.snippetList}>\n                <ListOfSnippets\n                  snippets={filteredSnippets[selectedLabel]?.data}\n                />\n              </Box>\n            </Box>\n          </Box>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default DocumentSnippets;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../components/common/Box\";\nimport CustomPage from \"../../CustomPage\";\nimport { useEffect, useState } from \"react\";\nimport DocumentInfo from \"./DocumentInfo\";\nimport DocumentSnippets from \"./DocumentSnippets\";\nimport { useParams } from \"react-router-dom\";\nimport { useSelector } from \"react-redux\";\nimport { fetchImpactedDocumentsSlice } from \"../../../redux/slices/documentSlice\";\nimport { useDispatch } from \"react-redux\";\nimport { AppDispatch } from \"../../../redux/store\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\n\nconst DocumentDetails = () => {\n  const params = useParams();\n  const dispatch = useDispatch<AppDispatch>();\n  const docs = useSelector((state: any) => state.document.documents);\n  const docName = useSelector((state: any) =>\n    state.document.documents.find((doc: any) => doc.id.includes(params.doc))\n  )?.name;\n\n  const breadcrumbs = [\n    {\n      isLink: true,\n      name: \"Home\",\n      link: \"/\",\n    },\n    {\n      isLink: true,\n      name: \"Documents\",\n      link: \"/documents\",\n    },\n    {\n      isLink: false,\n      name: \"Document Details\",\n    },\n  ];\n\n  const fetchDocsList = async () => {\n    await dispatch(\n      fetchImpactedDocumentsSlice({ customerId: getCustomerId() })\n    );\n  };\n\n  useEffect(() => {\n    if (!docs || !docs?.length) {\n      fetchDocsList();\n    }\n  }, []);\n\n  return (\n    <CustomPage breadcrumbs={breadcrumbs}>\n      <>\n        <DocumentInfo name={docName} />\n        <DocumentSnippets name={docName} />\n      </>\n    </CustomPage>\n  );\n};\n\nexport default DocumentDetails;\n","export default __webpack_public_path__ + \"static/media/langchainHexagonIcon.9aceceb9.svg\";","import { useTheme } from \"@mui/material\";\nimport CustomPage from \"../CustomPage\";\nimport Typography from \"../../components/common/Typography\";\nimport Box from \"../../components/common/Box\";\nimport Tooltip from \"../../components/common/Tooltip\";\nimport LangchainIcon from \"../../assets/img/langchainHexagonIcon.svg\";\nimport ColorBadge from \"../../components/common/ColorBadge\";\nimport Search from \"../../components/common/Search\";\nimport { useEffect, useState } from \"react\";\nimport CustomTable from \"../../components/common/CustomTable\";\nimport { useDispatch } from \"react-redux\";\nimport { fetchActiveUsersSlice } from \"../../redux/slices/userSlice\";\nimport { getCustomerId } from \"../../utils/SessionHelper\";\nimport { AppDispatch } from \"../../redux/store\";\nimport { UserListingObj } from \"./types\";\nimport { useHistory } from \"react-router-dom\";\n\nconst UserListing = () => {\n  const [searchKeyword, setSearchKeyword] = useState(\"\");\n  const [isLoading, setIsLoading] = useState(false);\n  const [users, setUsers] = useState<Array<UserListingObj>>([]);\n  const theme = useTheme();\n  const history = useHistory();\n  const dispatch = useDispatch<AppDispatch>();\n  const styles = {\n    users: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    tableTitle: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    userApps: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n      paddingY: theme.spacing(1),\n    },\n    datastore: {\n      display: \"flex\",\n      gap: theme.spacing(0.5),\n      alignItems: \"center\",\n      paddingY: theme.spacing(0.5),\n    },\n    alignBaseline: {\n      alignItems: \"baseline\",\n    },\n    tableBg: {\n      backgroundColor: theme.palette.surface10.main,\n    },\n  };\n\n  const breadcrumbs = [\n    {\n      name: \"Home\",\n      isLink: true,\n      link: \"/\",\n    },\n    {\n      name: \"Active Users\",\n      isLink: false,\n    },\n  ];\n\n  const tableCols = [\n    {\n      id: 1,\n      title: \"User\",\n      render: (data) => (\n        <Typography sx={styles.font13} color={theme.palette.surface70.main}>\n          {data?.name}\n        </Typography>\n      ),\n    },\n    {\n      id: 2,\n      title: \"Groups\",\n      render: (data) => (\n        <Typography sx={styles.font13} color={theme.palette.surface70.main}>\n          {data?.groups?.length}\n        </Typography>\n      ),\n    },\n    {\n      id: 3,\n      title: \"Applications\",\n      render: (data) => (\n        <Box sx={styles.userApps}>\n          {data?.applications?.length\n            ? data?.applications?.map((app) => (\n                <Tooltip\n                  title={app}\n                  children={<img src={LangchainIcon} height={24} alt=\"app\" />}\n                />\n              ))\n            : \"-\"}\n        </Box>\n      ),\n    },\n    {\n      id: 4,\n      title: \"Sensitive Data in Responses\",\n      render: (data) => (\n        <Box sx={styles.datastore}>\n          {data?.sensitiveResponse?.anamolous && (\n            <ColorBadge color={theme.palette.critical.main} />\n          )}\n          <Box\n            sx={{\n              ...styles.datastore,\n              ...styles.alignBaseline,\n            }}\n          >\n            <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n              {data?.sensitive_data_responses}\n            </Typography>\n            {/*<Typography sx={styles.font13} color={theme.palette.surface50.main}>\n              {`/ ${data?.sensitiveResponse?.outOf}`}\n            </Typography>*/}\n          </Box>\n          {/*<Typography\n            variant=\"body2\"\n            color={theme.palette.critical.main}\n            sx={{ marginLeft: theme.spacing(0.5) }}\n          >\n            {data?.sensitiveResponse?.anamolous} Anamolous Prompts\n          </Typography>*/}\n        </Box>\n      ),\n    },\n    {\n      id: 5,\n      title: \"Sensitive Data in Prompts\",\n      render: (data) => (\n        <Box sx={{ ...styles.datastore, ...styles.alignBaseline }}>\n          <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n            {data?.sensitive_data_prompts}\n          </Typography>\n          {/*<Typography sx={styles.font13} color={theme.palette.surface50.main}>\n            {`/ ${data?.sensitivePrompts?.outOf}`}\n          </Typography>*/}\n        </Box>\n      ),\n    },\n    {\n      id: 5,\n      title: \"Retrievals\",\n      render: (data) => (\n        <Box sx={{ ...styles.datastore, ...styles.alignBaseline }}>\n          <Typography variant=\"body2\" color={theme.palette.surface80.main}>\n            {data?.retrievals}\n          </Typography>\n        </Box>\n      ),\n    },\n  ];\n\n  const fetchActiveUsers = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n    };\n    const response = await dispatch(fetchActiveUsersSlice(payload));\n    if (response?.payload) {\n      const userList = Object.keys(response.payload).map((key) => ({\n        name: key,\n        ...response.payload[key],\n      }));\n      setUsers(userList);\n    }\n    setIsLoading(false);\n  };\n\n  const gotoUserDetails = (user) => {\n    history.push(`/users/${user?.name}`);\n  };\n\n  useEffect(() => {\n    fetchActiveUsers();\n  }, []);\n\n  return (\n    <CustomPage breadcrumbs={breadcrumbs}>\n      <Box sx={styles.users}>\n        <Box sx={styles.tableTitle}>\n          <Typography>Users ({users?.length})</Typography>\n          <Search\n            placeholder=\"Search By User Name\"\n            value={searchKeyword}\n            onChange={(e) => setSearchKeyword(e.target.value)}\n            onClear={() => setSearchKeyword(\"\")}\n            onKeyDown={(e) => {}}\n          />\n        </Box>\n        <Box sx={styles.tableBg}>\n          <CustomTable\n            tableCols={tableCols}\n            tableData={users}\n            onRowClick={gotoUserDetails}\n          />\n        </Box>\n      </Box>\n    </CustomPage>\n  );\n};\n\nexport default UserListing;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport { SpectrumGraphProps } from \"../dashboard-widgets/type\";\n\nconst SpectrumGraph = ({ data, height, width }: SpectrumGraphProps) => {\n  const total = data?.length\n    ? data?.reduce((acc, label) => acc + label?.value, 0)\n    : 0;\n  const theme = useTheme();\n  const styles = {\n    bar: {\n      display: \"flex\",\n      width: width ? `${width}px` : \"100%\",\n      height: `${height}px`,\n    },\n    segment: (label) => ({\n      width: `${(label.value / total) * 100}%`,\n      backgroundColor: label.color,\n    }),\n  };\n  return (\n    <Box sx={styles.bar}>\n      {data && data?.length\n        ? data.map((label, index) => (\n            <Box key={label.label} sx={styles.segment(label)}></Box>\n          ))\n        : null}\n    </Box>\n  );\n};\n\nexport default SpectrumGraph;\n","import { useEffect, useState } from \"react\";\nimport Box from \"../../../components/common/Box\";\nimport LegendWithColor from \"../../../components/common/LegendWithColor\";\nimport AccountBoxIcon from \"@mui/icons-material/AccountBox\";\nimport { IconButton, useTheme } from \"@mui/material\";\nimport Typography from \"../../../components/common/Typography\";\nimport TextButton from \"../../../components/common/TextButton\";\nimport Divider from \"../../../components/common/Divider\";\nimport LangchainApp from \"../../../assets/img/langchainHexagonIcon.svg\";\nimport SpectrumGraph from \"../../../components/common/SpectrumGraph\";\nimport MoreVertIcon from \"@mui/icons-material/MoreVert\";\nimport RefreshIcon from \"@mui/icons-material/Refresh\";\nimport { useDispatch } from \"react-redux\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { getUserInfoSlice } from \"../../../redux/slices/userSlice\";\nimport { AppDispatch } from \"../../../redux/store\";\nimport { useParams } from \"react-router-dom\";\nimport { UserInfoResponse } from \"../types\";\nimport {\n  LabelColorMapping,\n  LabelColorsList,\n} from \"../../../components/constants/constants\";\nimport NoData from \"../../../components/common/NoData\";\nimport UserGroupsListing from \"../../../components/custom/UserGroupsListing\";\nimport { useSelector } from \"react-redux\";\nimport Loader from \"../../../components/common/Loader\";\n\nconst UserInfo = () => {\n  const [userDetails, setUserDetails] = useState<UserInfoResponse | null>(null);\n  const [menuAnchor, setMenuAnchor] = useState<null | HTMLElement>(null);\n  const [userRetrievalFindings, setUserRetrievalFindings] = useState<\n    { label: string; value: any; color: any }[] | null\n  >(null);\n  const dispatch = useDispatch<AppDispatch>();\n  const userRetrievals = useSelector(\n    (state: any) => state.user.selectedUserRetrievals\n  );\n  const [isLoading, setIsLoading] = useState(false);\n  const params = useParams();\n\n  const theme = useTheme();\n  const styles = {\n    userHeader: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: theme.spacing(1.5),\n    },\n    iconWrapper: {\n      width: \"fit-content\",\n      border: `1px solid ${theme.palette.surface40.main}`,\n      borderRadius: \"1px\",\n      padding: \"2px\",\n    },\n    userIcon: {\n      height: \"40px\",\n      width: \"40px\",\n    },\n    userContent: {\n      width: \"100%\",\n      display: \"flex\",\n    },\n    actions: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      gap: theme.spacing(2),\n      marginLeft: \"auto\",\n      alignItems: \"center\",\n    },\n    userInfo: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n      justifyContent: \"center\",\n    },\n    font20: {\n      fontSize: \"20px\",\n      fontWeight: theme.typography.fontWeightMedium,\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    userDetails: {\n      width: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(4),\n      backgroundColor: \"rgba(19, 22, 41, 0.6)\",\n      borderRadius: \"4px\",\n      padding: theme.spacing(2),\n    },\n    retrievalDetails: {\n      display: \"grid\",\n      gridTemplateColumns: \"1fr 1px 1fr 1px 1fr\",\n      justifyItems: \"center\",\n      gridGap: theme.spacing(2),\n      width: \"100%\",\n    },\n    group: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n    },\n    groupTitle: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"baseline\",\n    },\n    row: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    groupCount: {\n      fontFamily: \"Manrope, sans-serif\",\n      fontSize: \"24px\",\n    },\n    retrievalContent: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2.5),\n    },\n    groupContent: {},\n    pageBody: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(4),\n    },\n    iconButton: {\n      height: \"fit-content\",\n      width: \"fit-content\",\n    },\n    menuIcon: {\n      fontSize: theme.spacing(2.5),\n      color: theme.palette.primaryBlue.main,\n    },\n    divider: {\n      backgroundColor: theme.palette.surface20.main,\n    },\n  };\n\n  const fetchUserInfoDetails = async () => {\n    setIsLoading(true);\n    const payload = {\n      customerId: getCustomerId(),\n      name: params.id,\n    };\n    const response = await dispatch(getUserInfoSlice(payload));\n    if (response?.payload) {\n      setUserDetails({\n        ...response?.payload,\n      });\n    }\n    setIsLoading(false);\n  };\n\n  useEffect(() => {\n    if (userRetrievals) {\n      const data = Object.keys(userRetrievals[\"retrieval_findings\"])?.map(\n        (findings, index) => ({\n          label: findings,\n          value: userRetrievals?.retrieval_findings[findings],\n          color: LabelColorsList[index],\n        })\n      );\n      setUserRetrievalFindings(data);\n    }\n  }, [userRetrievals]);\n\n  useEffect(() => {\n    fetchUserInfoDetails();\n  }, []);\n\n  const refreshPage = () => {\n    window.location.reload();\n  };\n\n  return (\n    <Box sx={styles.userDetails}>\n      {isLoading ? (\n        <Loader height=\"200px\" />\n      ) : userDetails ? (\n        <>\n          <Box sx={styles.userHeader}>\n            <Box sx={styles.iconWrapper}>\n              <AccountBoxIcon sx={styles.userIcon} />\n            </Box>\n            <Box sx={styles.userContent}>\n              <Box sx={styles.userInfo}>\n                <Typography sx={styles.font20}>{userDetails?.name}</Typography>\n                <Typography\n                  variant=\"caption\"\n                  color={theme.palette.surface50.main}\n                >\n                  Role\n                </Typography>\n              </Box>\n              <Box sx={styles.actions}>\n                <TextButton startIcon={<RefreshIcon />} onClick={refreshPage}>\n                  Refresh\n                </TextButton>\n                {/*<IconButton\n                  onClick={(e) => setMenuAnchor(e.currentTarget)}\n                  sx={styles.iconButton}\n                >\n                  <MoreVertIcon sx={styles.menuIcon} />\n                </IconButton>*/}\n              </Box>\n            </Box>\n          </Box>\n          <Box sx={styles.retrievalDetails}>\n            <UserGroupsListing groups={userDetails?.groups} title=\"Groups\" />\n            <Divider orientation=\"vertical\" flexItem sx={styles.divider} />\n            <Box sx={styles.group}>\n              <Box sx={styles.groupTitle}>\n                <Typography\n                  sx={styles.groupCount}\n                  color={theme.palette.surface80.main}\n                >\n                  {userDetails?.applications?.length || 0}\n                </Typography>\n                <Typography\n                  variant=\"body2\"\n                  color={theme.palette.surface80.main}\n                >\n                  Applications\n                </Typography>\n              </Box>\n              <Box sx={styles.groupContent}>\n                {userDetails?.applications?.map((group) => (\n                  <Box sx={styles.row} key={group}>\n                    <img src={LangchainApp} width=\"30px\" />\n                    <Typography\n                      variant=\"subtitle2\"\n                      color={theme.palette.surface70.main}\n                    >\n                      {group}\n                    </Typography>\n                  </Box>\n                ))}\n              </Box>\n            </Box>\n            <Divider orientation=\"vertical\" flexItem sx={styles.divider} />\n            <Box sx={styles.group}>\n              <Box sx={styles.groupTitle}>\n                <Typography\n                  sx={styles.groupCount}\n                  color={theme.palette.surface80.main}\n                >\n                  {userDetails?.retrievals?.total || 0}\n                </Typography>\n                <Typography\n                  variant=\"body2\"\n                  color={theme.palette.surface80.main}\n                >\n                  Retrievals\n                </Typography>\n              </Box>\n              <Box sx={styles.retrievalContent}>\n                <SpectrumGraph\n                  height={18}\n                  data={userRetrievals ? userRetrievalFindings : null}\n                />\n                <Box\n                  sx={{\n                    display: \"flex\",\n                    gap: theme.spacing(1),\n                    flexWrap: \"wrap\",\n                    width: \"90%\",\n                  }}\n                >\n                  {userRetrievalFindings?.map((retrieval) => (\n                    <LegendWithColor\n                      key={retrieval?.label}\n                      color={retrieval?.color}\n                      label={`${retrieval?.label} (${retrieval?.value})`}\n                      textColor={theme.palette.surface70.main}\n                    />\n                  ))}\n                </Box>\n              </Box>\n            </Box>\n          </Box>\n        </>\n      ) : (\n        <NoData customText=\"No User Details\" />\n      )}\n    </Box>\n  );\n};\n\nexport default UserInfo;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../components/common/Box\";\nimport Chip from \"../../../components/common/Chip\";\nimport Typography from \"../../../components/common/Typography\";\nimport { convertUTCToLocal, convertYYYYMMDD } from \"../../../utils/commonUtils\";\nimport { MessageTypeColorMapping } from \"../../../components/constants/constants\";\n\nconst UserPromptsCard = ({ prompt, labels, selected, onSelect }) => {\n  const theme = useTheme();\n  const styles = {\n    card: (color) => ({\n      position: \"relative\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1.5),\n      borderLeft: `1px solid ${color}`,\n      padding: theme.spacing(2),\n      cursor: \"pointer\",\n      backgroundColor: selected ? theme.palette.surface0.main : \"transparent\",\n    }),\n    chip: (color) => ({\n      height: \"20px\",\n      \"&.MuiChip-root\": {\n        width: \"fit-content\",\n        borderRadius: \"16px\",\n        border: `1px solid ${color}`,\n        backgroundColor: color,\n        fontSize: \"10px\",\n        color: theme.palette.surface100.main,\n      },\n      \"& .MuiChip-label\": {\n        padding: \"2px 8px 2px 8px\",\n      },\n    }),\n    font13: {\n      fontSize: \"13px\",\n    },\n    wrapText: {\n      wordBreak: \"break-word\",\n    },\n    selectedChip: {\n      position: \"absolute\",\n      width: \"15px\",\n      height: \"15px\",\n      right: \"-7.5px\",\n      top: \"45%\",\n      backgroundColor: theme.palette.surface0.main,\n      transform: \"rotate(45deg)\",\n    },\n    chips: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      flexWrap: \"wrap\",\n    },\n  };\n  return (\n    <Box sx={styles.card} onClick={onSelect}>\n      <Typography color={theme.palette.surface50.main} sx={styles.font13}>\n        {convertYYYYMMDD(convertUTCToLocal(prompt?.time))}\n      </Typography>\n      <Typography\n        color={theme.palette.surface80.main}\n        sx={{ ...styles.font13, ...styles.wrapText }}\n      >\n        {prompt?.prompt?.data}\n      </Typography>\n      <Box sx={styles.chips}>\n        {labels?.map((label) => (\n          <Chip\n            label={label?.label}\n            sx={styles.chip(MessageTypeColorMapping[label?.key])}\n          />\n        ))}\n      </Box>\n      {/*{selected && <Box sx={styles.selectedChip}></Box>}*/}\n    </Box>\n  );\n};\n\nexport default UserPromptsCard;\n","export default __webpack_public_path__ + \"static/media/langchain_hexagon.8d29ce3a.svg\";","import { useTheme } from \"@mui/material\";\n\nimport LangchainIcon from \"../../../assets/img/langchain_hexagon.svg\";\nimport Box from \"../../../components/common/Box\";\nimport Typography from \"../../../components/common/Typography\";\nimport Chip from \"../../../components/common/Chip\";\nimport Tooltip from \"../../../components/common/Tooltip\";\n\nconst PromptPolicyDetails = ({ promptDetails }) => {\n  const theme = useTheme();\n  const styles = {\n    card: {\n      backgroundColor: theme.palette.surface5.main,\n      padding: theme.spacing(2),\n      height: \"100%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(3),\n      width: \"30%\",\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    keyValue: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1.5),\n    },\n    policyChip: {\n      display: \"flex\",\n      width: \"min-content\",\n      backgroundColor: \"rgba(255, 101, 91, 0.20)\",\n      borderRadius: theme.spacing(0.5),\n    },\n    app: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n    },\n    doc: {\n      gap: theme.spacing(0.25),\n    },\n    breakWord: {\n      wordBreak: \"break-all\",\n    },\n  };\n  return (\n    <Box sx={styles.card}>\n      {/*<Box sx={styles.keyValue}>\n        <Typography sx={styles.font13} color={theme.palette.surface60.main}>\n          Policies Violated\n        </Typography>\n        <Chip\n          sx={styles.policyChip}\n          label={\n            <Typography variant=\"caption\" color={theme.palette.surface70.main}>\n              Sensitive identifiers in prompt session\n            </Typography>\n          }\n        />\n      </Box>*/}\n      <Box sx={styles.keyValue}>\n        <Typography sx={styles.font13} color={theme.palette.surface60.main}>\n          Application\n        </Typography>\n        <Box sx={styles.app}>\n          <img src={LangchainIcon} alt=\"app\" height={20} />\n          <Typography\n            variant=\"caption\"\n            color={theme.palette.surface70.main}\n            sx={styles.breakWord}\n          >\n            {promptDetails?.appName}\n          </Typography>\n        </Box>\n      </Box>\n    </Box>\n  );\n};\n\nexport default PromptPolicyDetails;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"./Box\";\nimport Typography from \"./Typography\";\nimport {\n  getFileExtension,\n  getFileName,\n  getIconForKey,\n} from \"../../utils/commonUtils\";\n\nconst FileChip = ({ fileName, link }) => {\n  const theme = useTheme();\n  const styles = {\n    chip: {\n      display: \"flex\",\n      gap: theme.spacing(1),\n      alignItems: \"center\",\n      padding: theme.spacing(0.5, 1),\n      border: `1px solid ${theme.palette.surface20.main}`,\n      borderRadius: \"24px\",\n      maxWidth: \"100%\",\n      width: \"fit-content\",\n    },\n    gotoLink: {\n      cursor: \"pointer\",\n    },\n    truncateText: {\n      overflow: \"hidden\",\n      whiteSpace: \"nowrap\",\n      textOverflow: \"ellipsis\",\n    },\n  };\n  return fileName ? (\n    <Box sx={styles.chip}>\n      <img\n        src={getIconForKey(\"file\", getFileExtension(fileName))}\n        alt=\"file\"\n        height={16}\n      />\n      <Typography\n        variant=\"caption\"\n        color={theme.palette.surface80.main}\n        sx={styles.truncateText}\n        title={fileName}\n      >\n        {getFileName(fileName)}\n      </Typography>\n      {/*<OpenInNewRoundedIcon\n        sx={styles.gotoLink}\n        onClick={() => window.open(link, \"_blank\")}\n        htmlColor={theme.palette.surface40.main}\n        fontSize=\"small\"\n      />*/}\n    </Box>\n  ) : null;\n};\n\nexport default FileChip;\n","import { useTheme } from \"@mui/material\";\n\nimport StarIcon from \"../../../assets/img/starIcon.svg\";\nimport { useEffect, useState } from \"react\";\nimport Box from \"../../../components/common/Box\";\nimport Typography from \"../../../components/common/Typography\";\nimport ViewMoreBlock from \"../../../components/common/ViewMoreBlock\";\nimport Chip from \"../../../components/common/Chip\";\nimport Divider from \"../../../components/common/Divider\";\nimport FileChip from \"../../../components/common/FileChip\";\n\nconst NUM_OF_DEFAULT_CHARACTERS = 500;\n\nconst ContextDetails = ({ initialContext, finalContext, response }) => {\n  const noOfContexts = initialContext?.length;\n  const [selectedContext, setSelectedContext] = useState(0);\n  const theme = useTheme();\n  const styles = {\n    card: {\n      width: \"70%\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(2),\n      padding: theme.spacing(2),\n    },\n    keyValue: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    aiChip: {\n      color: theme.palette.surface60.main,\n      backgroundColor: \"transparent\",\n      \"& .MuiChip-avatar\": {\n        width: \"10px\",\n        height: \"10px\",\n      },\n    },\n    context: {},\n    contextBtns: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n    },\n    contextBtn: {\n      cursor: \"pointer\",\n    },\n    divider: {\n      backgroundColor: \"#292D40\",\n    },\n    contextFile: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n      width: \"100%\",\n    },\n  };\n  const showContextSelector = typeof initialContext !== \"string\";\n\n  return (\n    <Box sx={styles.card}>\n      <Box sx={styles.keyValue}>\n        <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n          Context\n        </Typography>\n        {showContextSelector ? (\n          <Box sx={styles.keyValue}>\n            <Box sx={styles.contextBtns}>\n              {[...Array(noOfContexts)].map((_, index) => (\n                <Typography\n                  color={\n                    selectedContext === index\n                      ? theme.palette.surface100.main\n                      : theme.palette.primaryBlue.main\n                  }\n                  onClick={() => setSelectedContext(index)}\n                  sx={styles.contextBtn}\n                >\n                  {index + 1}\n                </Typography>\n              ))}\n            </Box>\n            <Box sx={styles.contextFile}>\n              <ViewMoreBlock\n                value={\n                  initialContext && initialContext[selectedContext]\n                    ? initialContext[selectedContext]?.data\n                    : \"-\"\n                }\n                length={NUM_OF_DEFAULT_CHARACTERS}\n              />\n              <FileChip\n                fileName={initialContext[selectedContext]?.retrievedFrom}\n                link={initialContext[selectedContext]?.retrievedFrom}\n              />\n            </Box>\n          </Box>\n        ) : (\n          <ViewMoreBlock\n            value={initialContext}\n            length={NUM_OF_DEFAULT_CHARACTERS}\n          />\n        )}\n      </Box>\n      <Divider orientation=\"horizontal\" sx={styles.divider} />\n      <Box sx={styles.keyValue}>\n        <Typography variant=\"caption\" color={theme.palette.surface40.main}>\n          Response\n        </Typography>\n        <ViewMoreBlock value={response} length={NUM_OF_DEFAULT_CHARACTERS} />\n      </Box>\n    </Box>\n  );\n};\n\nexport default ContextDetails;\n","import { useTheme } from \"@mui/material\";\n\nimport JiraIcon from \"../../../assets/img/jira.svg\";\nimport Box from \"../../../components/common/Box\";\nimport Typography from \"../../../components/common/Typography\";\nimport TextButton from \"../../../components/common/TextButton\";\nimport PromptPolicyDetails from \"./PromptPolicyDetails\";\nimport ContextDetails from \"./ContextDetails\";\nimport NoData from \"../../../components/common/NoData\";\n\nconst PromptDetailsCard = ({ promptDetails, onCreateTicket }) => {\n  const theme = useTheme();\n  const styles = {\n    card: {\n      borderLeft: \"1px solid #292D40\",\n      width: \"100%\",\n    },\n    header: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      gap: theme.spacing(4),\n      padding: theme.spacing(2),\n      borderBottom: \"1px solid #292D40\",\n      alignItems: \"center\",\n    },\n    jiraBtn: {\n      display: \"flex\",\n      alignItems: \"center\",\n      fontSize: \"13px\",\n      textTransform: \"none\",\n      paddingY: theme.spacing(1),\n      color: theme.palette.primaryBlue.main,\n      cursor: \"pointer\",\n      whiteSpace: \"nowrap\",\n    },\n    details: {\n      height: \"100%\",\n    },\n    prompt: {\n      width: \"100%\",\n      display: \"flex\",\n      height: \"100%\",\n    },\n    policy: {},\n  };\n\n  return (\n    <Box sx={styles.card}>\n      {promptDetails ? (\n        <>\n          {\" \"}\n          <Box sx={styles.header}>\n            <Typography color={theme.palette.surface80.main} variant=\"body2\">\n              {promptDetails?.prompt?.data}\n            </Typography>\n            {/*<TextButton\n              startIcon={<img src={JiraIcon} alt=\"jira\" />}\n              sx={styles.jiraBtn}\n              onClick={onCreateTicket}\n            >\n              Create Ticket\n            </TextButton>*/}\n          </Box>\n          <Box sx={styles.details}>\n            <Box sx={styles.prompt}>\n              <ContextDetails\n                initialContext={promptDetails?.context}\n                finalContext={\"\"}\n                response={promptDetails?.response?.data}\n              />\n              <PromptPolicyDetails promptDetails={promptDetails} />\n            </Box>\n          </Box>\n        </>\n      ) : (\n        <NoData customText=\"No Data Found\" />\n      )}\n    </Box>\n  );\n};\n\nexport default PromptDetailsCard;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../components/common/Box\";\nimport NoData from \"../../../components/common/NoData\";\nimport { Select } from \"../../../components/common/Select\";\nimport { Tab, Tabs } from \"../../../components/common/Tabs\";\nimport CustomTab from \"../../documents/CustomTab\";\nimport Typography from \"../../../components/common/Typography\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport UserPromptsCard from \"./UserPromptsCard\";\nimport PromptDetailsCard from \"./PromptDetailsCard\";\nimport { useDispatch } from \"react-redux\";\nimport { AppDispatch } from \"../../../redux/store\";\nimport { getUserRetrievals } from \"../../../redux/slices/userSlice\";\nimport { getCustomerId } from \"../../../utils/SessionHelper\";\nimport { useParams } from \"react-router-dom\";\nimport { UserRetrievalsResponse } from \"../types\";\n\nconst labels = [\"topics\", \"entities\"];\n\nconst UserRetrievals = () => {\n  const [selectedTab, setSelectedTab] = useState(\"sensitive_data_responses\");\n  const [userPrompts, setUserPrompts] = useState<UserRetrievalsResponse | null>(\n    null\n  );\n  const [filteredPrompts, setFilteredPrompts] = useState<[] | null>(null);\n  const [selectedPrompt, setSelectedPrompt] = useState<number>(0);\n  const [selectedAppFilter, setSelectedAppFilter] = useState<string>(\"all\");\n  const theme = useTheme();\n  const params = useParams();\n  const dispatch = useDispatch<AppDispatch>();\n\n  const tabs = useMemo(() => {\n    return {\n      sensitive_data_responses: {\n        label: \"Sensitive Data in Responses \",\n        color: theme.palette.high.main,\n        value: \"sensitive_data_responses\",\n        outOf: 0,\n        labelKey: \"response\",\n      },\n      sensitive_data_prompts: {\n        label: \"Sensitive Data in Prompts\",\n        color: theme.palette.purple.main,\n        value: \"sensitive_data_prompts\",\n        outOf: 0,\n        labelKey: \"prompt\",\n      },\n      total_retrievals: {\n        label: \"Total Prompts\",\n        value: \"total_retrievals\",\n        outOf: 0,\n        labelKey: \"\",\n      },\n    };\n  }, [userPrompts]);\n\n  const styles = {\n    pageBody: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(1),\n    },\n    promptsPanel: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      backgroundColor: theme.palette.surface10.main,\n      borderRadius: \"4px\",\n      //  paddingY: theme.spacing(2),\n      height: \"500px\",\n      overflow: \"hidden\",\n    },\n    promptSelector: {\n      display: \"flex\",\n      justifyContent: \"space-between\",\n      gap: theme.spacing(2),\n      borderBottom: \"1px solid #292D40\",\n      padding: theme.spacing(2),\n    },\n    prompts: {\n      display: \"grid\",\n      gridTemplateColumns: \"30% 70%\",\n      flexGrow: \"1\",\n      overflow: \"hidden\",\n    },\n    promptList: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: theme.spacing(0.5),\n      height: \"100%\",\n      overflowY: \"auto\",\n    },\n    filters: {\n      marginLeft: \"auto\",\n      display: \"flex\",\n      gap: theme.spacing(2),\n      alignItems: \"center\",\n    },\n    font13: {\n      fontSize: \"13px\",\n    },\n    noBottomBorder: {\n      \"&.MuiInputBase-root\": {\n        fontSize: theme.typography.caption,\n        color: theme.palette.surface70.main,\n        fontWeight: theme.typography.fontWeightMedium,\n        marginTop: 0,\n      },\n    },\n    tabs: {\n      display: \"flex\",\n      gap: theme.spacing(2),\n      \"&.MuiTab-root\": {\n        paddingBottom: \"0\",\n      },\n    },\n  };\n\n  const fetchUserRetrievals = async () => {\n    const payload = {\n      customerId: getCustomerId(),\n      name: params?.id,\n    };\n    const response = await dispatch(getUserRetrievals(payload));\n\n    if (response?.payload) {\n      const data = response.payload;\n      const retrievalData = {\n        ...data,\n        applications: [\n          {\n            label: `All Applications (${data.applications.length || 0})`,\n            value: \"all\",\n          },\n          ...data.applications?.map((app) => ({\n            value: app,\n            label: app,\n          })),\n        ],\n      };\n      setUserPrompts(retrievalData);\n      setFilteredPrompts(data?.sensitive_data_responses);\n    }\n  };\n\n  const getKeyFromObject = (obj) => {\n    return obj ? Object.keys(obj) : [];\n  };\n\n  const getLabels = (key, data) => {\n    let labelChips: { label: string; key: string }[] = [];\n    const findLabelsWithin = key ? data[key] : data;\n\n    if (findLabelsWithin) {\n      if (key) {\n        labels?.map((label) => {\n          const retrievedLabels = getKeyFromObject(findLabelsWithin[label]);\n          labelChips = [\n            ...labelChips,\n            ...retrievedLabels.map((label) => ({\n              label: label,\n              key: key,\n            })),\n          ];\n        });\n      } else {\n        [\"prompt\", \"response\"]?.map((keyItem) => {\n          labels?.map((label) => {\n            const retrievedLabels = getKeyFromObject(data[keyItem][label]);\n            labelChips = [\n              ...labelChips,\n              ...retrievedLabels.map((label) => ({\n                label: label,\n                key: keyItem,\n              })),\n            ];\n          });\n        });\n      }\n    }\n\n    return labelChips;\n  };\n\n  useEffect(() => {\n    if (selectedTab) {\n      const filteredPrompt = userPrompts\n        ? userPrompts[selectedTab]?.filter((prompt) => {\n            if (selectedAppFilter === \"all\") {\n              return true;\n            } else {\n              return prompt.appName === selectedAppFilter;\n            }\n          })\n        : [];\n      setFilteredPrompts(filteredPrompt);\n    }\n  }, [selectedTab, selectedAppFilter]);\n\n  useEffect(() => {\n    setSelectedPrompt(0);\n  }, [selectedTab]);\n\n  useEffect(() => {\n    fetchUserRetrievals();\n  }, []);\n\n  return (\n    <Box sx={styles.pageBody}>\n      <Tabs\n        value={selectedTab}\n        onChange={(event, newValue) => setSelectedTab(newValue)}\n        sx={styles.tabs}\n      >\n        {Object.values(tabs).map((tab) => (\n          <Tab\n            sx={{\n              \"&.MuiTab-root\": {\n                paddingBottom: 0,\n              },\n            }}\n            label={\n              <CustomTab\n                {...tab}\n                count={userPrompts ? userPrompts[tab.value]?.length : 0}\n                selectedValue={selectedTab}\n              />\n            }\n            value={tab.value}\n          />\n        ))}\n      </Tabs>\n\n      <Box sx={styles.promptsPanel}>\n        <Box sx={styles.promptSelector}>\n          <Box sx={styles.filters}>\n            <Typography color={theme.palette.surface30.main} sx={styles.font13}>\n              Show Prompts for:\n            </Typography>\n            <Select\n              options={userPrompts?.applications}\n              sx={styles.noBottomBorder}\n              value={selectedAppFilter}\n              onChange={(event: any) =>\n                setSelectedAppFilter(event.target.value)\n              }\n            />\n          </Box>\n        </Box>\n        {userPrompts ? (\n          <Box sx={styles.prompts}>\n            <Box sx={styles.promptList}>\n              {filteredPrompts?.length ? (\n                filteredPrompts?.map((prompt: any, index) => (\n                  <UserPromptsCard\n                    selected={selectedPrompt === index || false}\n                    prompt={prompt}\n                    onSelect={() => {\n                      setSelectedPrompt(index);\n                    }}\n                    labels={getLabels(tabs[selectedTab].labelKey, prompt)}\n                  />\n                ))\n              ) : (\n                <NoData customText=\"No Prompts Found\" />\n              )}\n            </Box>\n            <PromptDetailsCard\n              promptDetails={\n                filteredPrompts ? filteredPrompts[selectedPrompt] : null\n              }\n              onCreateTicket={() => {}}\n            />\n          </Box>\n        ) : (\n          <NoData customText=\"No Prompts Found\" />\n        )}\n      </Box>\n    </Box>\n  );\n};\n\nexport default UserRetrievals;\n","import { useTheme } from \"@mui/material\";\nimport Box from \"../../../components/common/Box\";\nimport UserInfo from \"./UserInfo\";\nimport CustomPage from \"../../CustomPage\";\nimport UserRetrievals from \"./UserRetrievals\";\n\nconst UserDetails = () => {\n  const theme = useTheme();\n  const styles = {};\n\n  const breadcrumbs = [\n    {\n      name: \"Home\",\n      isLink: true,\n      link: \"/\",\n    },\n    {\n      name: \"Active Users\",\n      isLink: true,\n      link: \"/users\",\n    },\n    {\n      name: \"User Details\",\n      isLink: false,\n    },\n  ];\n\n  return (\n    <CustomPage breadcrumbs={breadcrumbs}>\n      <UserInfo />\n      <UserRetrievals />\n    </CustomPage>\n  );\n};\n\nexport default UserDetails;\n","import { useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\n\nconst ScrollToTop = () => {\n  const { pathname } = useLocation();\n\n  // Automatically scrolls to top whenever pathname changes\n  useEffect(() => {\n    window.scrollTo(0, 0);\n  }, [pathname]);\n\n  return <></>;\n};\n\nexport default ScrollToTop;\n","import { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { BrowserRouter as Router, Route, Switch } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport { listAccountsAsync } from \"./redux/slices/accountSlice\";\nimport { firstAccountStatStatus } from \"./redux/slices/dashboardSlice\";\nimport { getCustomerId, getUserId } from \"./utils/SessionHelper\";\nimport Account from \"./views/Account\";\nimport CheckList from \"./views/CheckList\";\nimport DataStoreDetails from \"./views/Datastore/datastore-details.view\";\nimport DataStore from \"./views/Datastore/datastore.view\";\nimport Home from \"./components/home/HomeV1\";\nimport CompleteProfile from \"./views/Login/complete-profile.view\";\nimport ForgotPassword from \"./views/Login/forgot-password.view\";\nimport LoginCallback from \"./views/Login/login-callback.view\";\nimport Login from \"./views/Login/login.view\";\nimport Box from \"./components/common/Box\";\nimport ResetPassword from \"./views/Login/reset-password.view\";\nimport Timeout from \"./views/Login/timeout.view\";\nimport VerifyEmail from \"./views/Login/verify-email.view\";\nimport Register from \"./views/Register/Register.view\";\nimport Reports from \"./views/Reports\";\nimport Settings from \"./views/Settings\";\nimport Test from \"./views/test\";\nimport Tickets from \"./views/Tickets\";\nimport UserManagement from \"./views/UserManagement\";\nimport VulnerabilitiesDetails from \"./views/Vulnerabilities/vulnerabilities-details.view\";\nimport ShadowLLM from \"./views/Vulnerabilities/shadow-llm.view\";\nimport Vulnerabilities from \"./views/Vulnerabilities/vulnerabilities.view\";\nimport Identity from \"./views/Identity\";\nimport Assets from \"./views/Assets\";\nimport PolicySetting from \"./views/PolicySetting/PolicySetting.view\";\nimport Header from \"./components/layout/Header\";\nimport Sidebar from \"./components/layout/Sidebar\";\nimport \"./components/layout/Layout.scss\";\nimport { getSelectedDatastoreAccount } from \"./utils/SessionHelper\";\nimport ReportDoc from \"./components/reports/report\";\nimport { useSelector } from \"react-redux\";\nimport EmbededUiModal from \"./components/modal/embeded-ui/EmbededUiModal\";\nimport Footer from \"./components/footer\";\nimport { useTheme } from \"@mui/material\";\nimport NewHeader from \"./components/common/Header\";\nimport Insights from \"./components/common/Insights\";\nimport { useContext } from \"react\";\nimport { AppContext } from \"./context/appContext\";\nimport InsightsDrawer from \"./components/dashboard-widgets/InsightsDrawer\";\nimport NewHome from \"./components/home/NewHome\";\nimport Doc from \"./views/Docs/doc.view\";\nimport { LLMModelPage } from \"./components/llm/LLMModel/LLMModelPage\";\nimport { LLMFrameworkPage } from \"./components/llm/LLMFramework/LLMFrameworkPage\";\nimport SignUpCallback from \"./views/Login/signup-callback.view\";\nimport DataLoaderDetailsPage from \"./components/data-loader/DataLoaderDetailsPage\";\nimport DataLoaderListingPage from \"./components/data-loader/DataLoaderListingPage\";\nimport AppListingPage from \"./components/apps/AppListingPage\";\nimport AllFindingsPage from \"./components/findings/AllFindingsPage\";\nimport AllUsersPage from \"./components/findings/AllUsersPage\";\nimport DocumentListing from \"./pages/documents/DocumentListing\";\nimport DocumentDetails from \"./pages/documents/document-details/DocumentDetails\";\nimport UsersListing from \"./pages/users/UsersListing\";\nimport UserDetails from \"./pages/users/user-details/UserDetails\";\nimport ScrollToTop from \"./components/common/ScrollToTop\";\n\nconst App = () => {\n  const theme = useTheme();\n  const [loggendIn, setLoggendIn] = useState(false);\n  const [path, setPath] = useState(\"/\");\n  const [settings, setSetting] = useState(false);\n  const [ticket, setTicket] = useState(false);\n  const [ticket2, setTicket2] = useState(false);\n  const [tab, setTab] = useState(1);\n  const [infoModal, setInfoModal] = useState(false);\n\n  const isDashboardView = useSelector(\n    (state) => state.dashboard.isDashboardView\n  );\n  const expandedSidebar = useSelector((state) => state.dashboard.sidebar);\n  const [accountAvailable, setAccountAvailable] = useState(false);\n\n  const defaultAccount = getSelectedDatastoreAccount() || {\n    value: \"all\",\n    label: \"All\",\n  };\n  const [selectedAccount, setSelectedAccount] = useState(defaultAccount);\n\n  const { openInsightsDrawer, setOpenInsightsDrawer } = useContext(AppContext);\n\n  const dispatch = useDispatch();\n\n  const checkAccounts = async () => {\n    dispatch(\n      firstAccountStatStatus({\n        customerId: getCustomerId(),\n      })\n    );\n  };\n  useEffect(() => {\n    let token = localStorage.getItem(\"authToken\");\n    if (token) {\n      checkAccounts();\n      setLoggendIn(true);\n    }\n  }, []);\n\n  document.getElementsByTagName(\"html\")[0].style.backgroundColor =\n    theme.palette.surface0.main;\n\n  const styles = {\n    parent: {\n      display: \"flex\",\n      width: \"100%\",\n      backgroundColor: theme.palette.surface0.main,\n    },\n    contentParent: {\n      display: \"flex\",\n      height: \"100%\",\n    },\n    routesContainer: {\n      display: \"flex\",\n      flexDirection: \"column\",\n      padding: theme.spacing(2),\n      width: \"100%\",\n      flex: 1,\n    },\n    contentPanel: {\n      minHeight: \"100vh\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      marginLeft: loggendIn ? (expandedSidebar ? \"180px\" : \"78px\") : \"0px\",\n      transition: \"margin 0.4s ease-in-out\",\n      flexGrow: 1,\n      width: \"calc(100% - 204px)\",\n    },\n    headerContainer: {\n      height: \"auto\",\n      padding: theme.spacing(2),\n      position: \"sticky\",\n      top: 0,\n      zIndex: 50,\n      transition: \"all 0.5s ease-in-out\",\n      background: theme.palette.surface0.main,\n      width: \"100%\",\n    },\n    insightsBar: {\n      marginLeft: \"auto\",\n      width: \"24px\",\n      display: \"flex\",\n      justifyContent: \"end\",\n      backgroundColor: \"transparent\",\n      height: \"100vh\",\n      top: 0,\n      position: \"sticky\",\n    },\n    widthFull: {\n      width: \"100%\",\n    },\n  };\n\n  return (\n    <>\n      <Router>\n        <Switch>\n          <Box sx={styles.parent}>\n            <Box>\n              {loggendIn ? <Sidebar expandedSidebar={expandedSidebar} /> : \"\"}\n            </Box>\n            <Box sx={styles.contentPanel}>\n              <ScrollToTop />\n              {loggendIn &&\n                (path === \"/legacy-dashboard\" ? (\n                  <Header\n                    selectedAccount={selectedAccount}\n                    setSelectedAccount={setSelectedAccount}\n                    setInfoModal={setInfoModal}\n                    isIssueViewVisible={isDashboardView}\n                  />\n                ) : (\n                  <Box sx={styles.headerContainer} className=\"appHeader\">\n                    <NewHeader\n                      selectedAccount={selectedAccount}\n                      setSelectedAccount={setSelectedAccount}\n                      setInfoModal={setInfoModal}\n                      isDashboardView={isDashboardView}\n                    />\n                  </Box>\n                ))}\n\n              <Box sx={styles.routesContainer}>\n                {loggendIn ? (\n                  <Box sx={styles.contentParent}>\n                    <Box sx={styles.widthFull}>\n                      <Route exact path=\"/test\" render={(props) => <Test />} />\n                      <Route\n                        exact\n                        path=\"/on-boarding/:id\"\n                        render={(props) => (\n                          <CompleteProfile setLoggendIn={setLoggendIn} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/settings/admin\"\n                        render={(props) => <UserManagement setPath={setPath} />}\n                      />\n                      <Route\n                        exact\n                        path=\"/report\"\n                        render={(props) => <ReportDoc setPath={setPath} />}\n                      />\n                      <Route\n                        exact\n                        path=\"/reports\"\n                        render={(props) => <Reports setPath={setPath} />}\n                      />\n                      <Route\n                        exact\n                        path=\"/checklist\"\n                        render={(props) => (\n                          <CheckList setSetting={setSetting} tab={tab} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/tickets\"\n                        render={(props) => (\n                          <Tickets setTicket2={setTicket2} tab={tab} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/settings/integrations\"\n                        render={(props) => (\n                          <Settings\n                            setSetting={setSetting}\n                            setPath={setPath}\n                            tab={tab}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/settings/policy-settings\"\n                        render={(props) => (\n                          <PolicySetting\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/settings/policy-settings/:policyID\"\n                        render={(props) => (\n                          <PolicySetting\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/cloud/assets\"\n                        render={(props) => (\n                          <Assets\n                            setPath={setPath}\n                            tab={tab}\n                            path={path}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/cloud/identity\"\n                        render={(props) => (\n                          <Identity\n                            setPath={setPath}\n                            tab={tab}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/account\"\n                        render={(props) => (\n                          <Account setPath={setPath} tab={tab} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/datastore\"\n                        render={(props) => (\n                          <DataStore\n                            setPath={setPath}\n                            tab={tab}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/datastore/filter/:filterName\"\n                        render={(props) => (\n                          <DataStore\n                            setPath={setPath}\n                            tab={tab}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/datastore/policy-violation/:policyViolationId\"\n                        render={(props) => (\n                          <DataStore\n                            setPath={setPath}\n                            tab={tab}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/llm/:id/:assetId/:policyViolationId\"\n                        render={(props) => (\n                          <ShadowLLM\n                            selectedAccount={selectedAccount}\n                            setPath={setPath}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/llm/:id/:assetId\"\n                        render={(props) => <LLMModelPage setPath={setPath} />}\n                      />\n                      <Route\n                        exact\n                        path=\"/applications/\"\n                        render={(props) => <AppListingPage setPath={setPath} />}\n                      />\n                      <Route\n                        exact\n                        path=\"/application/:id\"\n                        render={(props) => (\n                          <LLMFrameworkPage setPath={setPath} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/data-loaders/\"\n                        render={(props) => (\n                          <DataLoaderListingPage setPath={setPath} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/data-loader/:id\"\n                        render={(props) => (\n                          <DataLoaderDetailsPage setPath={setPath} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/findings/\"\n                        render={(props) => (\n                          <AllFindingsPage setPath={setPath} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/users/\"\n                        render={(props) => <UsersListing setPath={setPath} />}\n                      />\n                      <Route\n                        exact\n                        path=\"/users/:id\"\n                        render={(props) => <UserDetails setPath={setPath} />}\n                      />\n                      <Route\n                        exact\n                        path=\"/documents\"\n                        render={(props) => <DocumentListing />}\n                      />\n                      <Route\n                        exact\n                        path=\"/documents/:doc\"\n                        render={(props) => <DocumentDetails />}\n                      />\n                      <Route\n                        exact\n                        path=\"/datastore-details/:id/:assetId\"\n                        render={(props) => (\n                          <DataStoreDetails\n                            setPath={setPath}\n                            setTicket={setTicket}\n                            tab={tab}\n                          />\n                        )}\n                      />{\" \"}\n                      <Route\n                        exact\n                        path=\"/datastore-details/:id/:assetId/:policyViolationId\"\n                        render={(props) => (\n                          <DataStoreDetails\n                            setPath={setPath}\n                            setTicket={setTicket}\n                            tab={tab}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/policy-details/:policyViolationId/:policyViolationInstanceId\"\n                        render={(props) => (\n                          <DataStoreDetails\n                            setPath={setPath}\n                            setTicket={setTicket}\n                            tab={tab}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/vulnerabilities\"\n                        render={(props) => (\n                          <Vulnerabilities\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/vulnerabilities/cloud-env/:cloudEnvClass\"\n                        render={(props) => (\n                          <Vulnerabilities\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/vulnerabilities/policy-violation/:policyViolationId\"\n                        render={(props) => (\n                          <Vulnerabilities\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/vulnerabilities/:assetId\"\n                        render={(props) => (\n                          <Vulnerabilities setPath={setPath} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/vulnerabilities-details/:id/:assetId/:securityIssueInstanceId\"\n                        render={(props) => (\n                          <VulnerabilitiesDetails setPath={setPath} />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/docs/wiz-integration\"\n                        render={(props) => (\n                          <Doc\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/docs/\"\n                        render={(props) => (\n                          <Home\n                            tab={tab}\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                            infoModal={infoModal}\n                            isIssueViewVisible={isDashboardView}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/\"\n                        render={(props) => (\n                          <NewHome\n                            tab={tab}\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                            infoModal={infoModal}\n                            isIssueViewVisible={isDashboardView}\n                          />\n                        )}\n                      />\n                      <Route\n                        exact\n                        path=\"/legacy-dashboard\"\n                        render={(props) => (\n                          <Home\n                            tab={tab}\n                            setPath={setPath}\n                            selectedAccount={selectedAccount}\n                            infoModal={infoModal}\n                            isIssueViewVisible={isDashboardView}\n                          />\n                        )}\n                      />\n                    </Box>\n                  </Box>\n                ) : (\n                  <>\n                    <Route exact path=\"/test\" render={(props) => <Test />} />\n                    <Route\n                      exact\n                      path=\"/on-boarding/:id\"\n                      render={(props) => (\n                        <CompleteProfile setLoggendIn={setLoggendIn} />\n                      )}\n                    />\n                    <Route\n                      exact\n                      path=\"/reset-password\"\n                      render={(props) => <ResetPassword />}\n                    />\n                    <Route\n                      exact\n                      path=\"/forgot-password\"\n                      render={(props) => <ForgotPassword />}\n                    />\n\n                    <Route\n                      exact\n                      path=\"/timeout\"\n                      render={(props) => <Timeout />}\n                    />\n\n                    <Route\n                      exact\n                      path=\"/verify-email\"\n                      render={(props) => <VerifyEmail />}\n                    />\n                    <Route\n                      exact\n                      path=\"/register\"\n                      render={(props) => <Register />}\n                    />\n                    <Route\n                      exact\n                      path=\"/loginCallback\"\n                      render={(props) => <LoginCallback />}\n                    />\n                    <Route\n                      exact\n                      path=\"/signupCallback\"\n                      render={(props) => <SignUpCallback />}\n                    />\n                    <Route\n                      exact\n                      path=\"/\"\n                      render={(props) => <Login setLoggendIn={setLoggendIn} />}\n                    />\n                  </>\n                )}\n              </Box>\n\n              <Box>\n                <Footer />\n              </Box>\n            </Box>\n            {loggendIn && path === \"/\" && (\n              <>\n                <Box sx={styles.insightsBar}>\n                  <Insights onClick={() => setOpenInsightsDrawer(true)} />\n                </Box>\n                <InsightsDrawer\n                  open={openInsightsDrawer}\n                  setOpenInsightsDrawer={setOpenInsightsDrawer}\n                  anchor=\"right\"\n                />\n              </>\n            )}\n          </Box>\n        </Switch>\n      </Router>\n\n      {infoModal && <EmbededUiModal handleModal={setInfoModal} />}\n      <ToastContainer\n        position=\"top-right\"\n        autoClose={3000}\n        hideProgressBar={false}\n        newestOnTop={false}\n        closeOnClick\n        rtl={false}\n        pauseOnFocusLoss\n        draggable\n        pauseOnHover\n      />\n    </>\n  );\n};\n\nexport default App;\n","import { axiosDenaliPrivate } from \"../../utils/ApiHandler\";\n\nexport const getAllPromptsSummary = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps/prompts/summary\", params);\n};\n\nexport const getMessageDetails = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps/prompts/detail\", params);\n};\n\n/**\n * Delete the framework with the specified framework id.\n * @param {object}  -- framework id to be deleted\n */\nexport const deleteFramework = (params) => {\n  return axiosDenaliPrivate.post(\"/api/v1/ai/apps/delete\", params);\n};\n\n/**\n * Add the description with the specified framework id.\n * @param {object} params -- payload params\n * @returns framework description added.\n */\nexport const addDescriptionForFramework = (params) => {\n  return axiosDenaliPrivate.put(\"/api/v1/ai/apps/description\", params);\n};\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n  addDescriptionForFramework,\n  deleteFramework,\n  getAllPromptsSummary,\n  getMessageDetails,\n} from \"../apis/llmAPI\";\n\nconst initialState = {\n  messageDetails: [],\n  frameworks: [],\n  get: [],\n};\n\nexport const getAllPromptsSummarySlice = createAsyncThunk(\n  \"llm/get\",\n  async (params) => {\n    const response = await getAllPromptsSummary(params);\n    return response.data;\n  }\n);\n\nexport const getMessageDetailsSlice = createAsyncThunk(\n  \"llm/messageDetails\",\n  async (params) => {\n    const response = await getMessageDetails(params);\n    return response.data;\n  }\n);\n\nexport const deleteFrameworkSlice = createAsyncThunk(\n  \"llm/frameworks\",\n  async (params) => {\n    try {\n      const response = await deleteFramework(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\nexport const addDescriptionForFrameworkSlice = createAsyncThunk(\n  \"llm/frameworks/description\",\n  async (params) => {\n    try {\n      const response = await addDescriptionForFramework(params);\n      return response.data;\n    } catch (err) {\n      if (!err.response) {\n        throw err;\n      }\n      return err.response.data;\n    }\n  }\n);\n\n// LLM slice for configuring reducers and actions.\nexport const llmSlice = createSlice({\n  name: \"llm\",\n  initialState,\n  // The `reducers` field lets us define reducers and generate associated actions\n  reducers: {},\n\n  // The `extraReducers` field lets the slice handle actions defined elsewhere,\n  // including actions generated by createAsyncThunk or in other slices.\n  extraReducers: {},\n});\n\nexport default llmSlice.reducer;\n","import { configureStore } from \"@reduxjs/toolkit\";\nimport accountReducer from \"./slices/accountSlice\";\nimport integrationReducer from \"./slices/integrationSlice\";\nimport assetReducer from \"./slices/assetsSlice\";\nimport reportsReducer from \"./slices/reportsSlice\";\nimport dashboardReducer from \"./slices/dashboardSlice\";\nimport globalOperationReducer from \"./slices/globalOperationSlice\";\nimport dataStoreReducer from \"./slices/dataStoreSlice\";\nimport issueReducer from \"./slices/issuesSlice\";\nimport ticketReducer from \"./slices/ticketSlice\";\nimport policyReducer from \"./slices/policySlice\";\nimport llmReducer from \"./slices/llmSlice\";\nimport dataLoaderReducer from \"./slices/dataLoaderSlice\";\nimport appReducer from \"./slices/appSlice\";\nimport documentSlice from \"./slices/documentSlice\";\nimport userSlice from \"./slices/userSlice\";\n\nexport const store = configureStore({\n  reducer: {\n    account: accountReducer,\n    integration: integrationReducer,\n    asset: assetReducer,\n    globalOperation: globalOperationReducer,\n    report: reportsReducer,\n    dashboard: dashboardReducer,\n    datastore: dataStoreReducer,\n    issue: issueReducer,\n    ticket: ticketReducer,\n    policy: policyReducer,\n    llm: llmReducer,\n    dataLoader: dataLoaderReducer,\n    app: appReducer,\n    document: documentSlice,\n    user: userSlice,\n  },\n});\n\nexport type AppDispatch = typeof store.dispatch;\n","import { PaletteMode } from \"@mui/material\";\n\ndeclare module \"@mui/material/styles\" {\n  interface Palette {\n    indigo: Palette[\"primary\"];\n    lavender: Palette[\"primary\"];\n    lightPurple: Palette[\"primary\"];\n    primaryBlue: Palette[\"primary\"];\n    secondaryBlue: Palette[\"primary\"];\n    blueGrey: Palette[\"primary\"];\n    lightBlue: Palette[\"primary\"];\n    critical: Palette[\"primary\"];\n    high: Palette[\"primary\"];\n    purple: Palette[\"primary\"];\n    warning: Palette[\"primary\"];\n    success: Palette[\"primary\"];\n    pictonBlue: Palette[\"primary\"];\n    lightMagenta: Palette[\"primary\"];\n    purpleStroke: Palette[\"primary\"];\n    redStroke: Palette[\"primary\"];\n    peach: Palette[\"primary\"];\n    paleBlue: Palette[\"primary\"];\n    laurelGreen: Palette[\"primary\"];\n    yellowRed: Palette[\"primary\"];\n    green: Palette[\"primary\"];\n    mistyMoss: Palette[\"primary\"];\n    surface100: Palette[\"primary\"];\n    surface90: Palette[\"primary\"];\n    surface80: Palette[\"primary\"];\n    surface70: Palette[\"primary\"];\n    surface60: Palette[\"primary\"];\n    surface50: Palette[\"primary\"];\n    surface40: Palette[\"primary\"];\n    surface30: Palette[\"primary\"];\n    surface20: Palette[\"primary\"];\n    surface10: Palette[\"primary\"];\n    surface5: Palette[\"primary\"];\n    surface0: Palette[\"primary\"];\n    surfaceMain: Palette[\"primary\"];\n    surfaceFloatingWindow: Palette[\"primary\"];\n    surfaceImgBg: Palette[\"primary\"];\n    surfaceCard: Palette[\"primary\"];\n  }\n  interface PaletteOptions {\n    indigo: PaletteOptions[\"primary\"];\n    lavender: PaletteOptions[\"primary\"];\n    lightPurple: PaletteOptions[\"primary\"];\n    primaryBlue: PaletteOptions[\"primary\"];\n    secondaryBlue: PaletteOptions[\"primary\"];\n    blueGrey: PaletteOptions[\"primary\"];\n    lightBlue: PaletteOptions[\"primary\"];\n    critical: PaletteOptions[\"primary\"];\n    high: PaletteOptions[\"primary\"];\n    purple: PaletteOptions[\"primary\"];\n    //warning: PaletteOptions['primary'];\n    //success: PaletteOptions['primary'];\n    pictonBlue: PaletteOptions[\"primary\"];\n    lightMagenta: PaletteOptions[\"primary\"];\n    purpleStroke: PaletteOptions[\"primary\"];\n    redStroke: PaletteOptions[\"primary\"];\n    peach: PaletteOptions[\"primary\"];\n    paleBlue: PaletteOptions[\"primary\"];\n    laurelGreen: PaletteOptions[\"primary\"];\n    yellowRed: PaletteOptions[\"primary\"];\n    green: PaletteOptions[\"primary\"];\n    mistyMoss: PaletteOptions[\"primary\"];\n    surface100: PaletteOptions[\"primary\"];\n    surface90: PaletteOptions[\"primary\"];\n    surface80: PaletteOptions[\"primary\"];\n    surface70: PaletteOptions[\"primary\"];\n    surface60: PaletteOptions[\"primary\"];\n    surface50: PaletteOptions[\"primary\"];\n    surface40: PaletteOptions[\"primary\"];\n    surface30: PaletteOptions[\"primary\"];\n    surface20: PaletteOptions[\"primary\"];\n    surface10: PaletteOptions[\"primary\"];\n    surface5: PaletteOptions[\"primary\"];\n    surface0: PaletteOptions[\"primary\"];\n    surfaceMain: PaletteOptions[\"primary\"];\n    surfaceFloatingWindow: PaletteOptions[\"primary\"];\n    surfaceImgBg: PaletteOptions[\"primary\"];\n    surfaceCard: PaletteOptions[\"primary\"];\n  }\n}\n\n// Primary palette\nconst primaryPalette = {\n  lightBlue: { main: \"#92CAFF\" },\n  indigo: { main: \"#8A4CE2\" },\n  lavender: { main: \"#AB7FEA\" },\n  lightPurple: { main: \"#CCB2F2\" },\n  purple: { main: \"#6750A3\" },\n};\n\n// Data visualization palette\nconst dataVisualisationPalette = {\n  pictonBlue: { main: \"#AC6AEE\" },\n  lightMagenta: { main: \"#816DFF\" },\n  purpleStroke: { main: \"#6C56F1\" },\n  redStroke: { main: \"#ED483D\" },\n  peach: { main: \"#FFBAAD\" },\n  paleBlue: { main: \"#84C3FF\" },\n  laurelGreen: { main: \"#B3E29D\" },\n  yellowRed: { main: \"#FFB984\" },\n  green: { main: \"#94EEE5\" },\n  mistyMoss: { main: \"#BF6F80\" },\n};\n\nexport const lightPalette = {\n  ...primaryPalette,\n  ...dataVisualisationPalette,\n  primaryBlue: { main: \"#0074E0\" },\n  secondaryBlue: { main: \"#5CB1FF\" },\n  blueGrey: { main: \"#21253B\" },\n  critical: { main: \"#F03844\" },\n  high: { main: \"#EC6D36\" },\n  warning: { main: \"#EBB52A\" },\n  success: { main: \"#14BE9B\" },\n  surface100: { main: \"#000000\" },\n  surface90: { main: \"#02051B\" },\n  surface80: { main: \"#191C2E\" },\n  surface70: { main: \"#3B3E52\" },\n  surface60: { main: \"#535874\" },\n  surface50: { main: \"#63698B\" },\n  surface40: { main: \"#787D9E\" },\n  surface30: { main: \"#B5B8CA\" },\n  surface20: { main: \"#CED0DC\" },\n  surface10: { main: \"#E6E7ED\" },\n  surface5: { main: \"#7B7B7D\" },\n  surface0: { main: \"#F5F5F9\" },\n  surfaceMain: { main: \"#FFFFFF\" },\n  surfaceFloatingWindow: { main: \"#1F2338\" },\n  surfaceImgBg: { main: \"#2E3351\" },\n  surfaceCard: { main: \"#121523\" },\n  mode: \"light\" as PaletteMode,\n};\n\nexport const darkPalette = {\n  ...primaryPalette,\n  ...dataVisualisationPalette,\n  primaryBlue: { main: \"#2195FF\" },\n  secondaryBlue: { main: \"#5CB1FF\" },\n  blueGrey: { main: \"#21253B\" },\n  critical: { main: \"#FF655B\" },\n  high: { main: \"#F88D50\" },\n  warning: { main: \"#FBC355\" },\n  success: { main: \"#53D7BB\" },\n  surface100: { main: \"#FFFFFF\" },\n  surface90: { main: \"#F5F5F9\" },\n  surface80: { main: \"#E6E7ED\" },\n  surface70: { main: \"#CED0DC\" },\n  surface60: { main: \"#B5B8CA\" },\n  surface50: { main: \"#787D9E\" },\n  surface40: { main: \"#63698B\" },\n  surface30: { main: \"#535874\" },\n  surface20: { main: \"#3B3E52\" },\n  surface10: { main: \"#191C2E\" },\n  surface5: { main: \"#131629\" },\n  surface0: { main: \"#02051B\" },\n  surfaceMain: { main: \"#010102\" },\n  surfaceFloatingWindow: { main: \"#1F2338\" },\n  surfaceImgBg: { main: \"#2E3351\" },\n  surfaceCard: { main: \"#121523\" },\n  mode: \"dark\" as PaletteMode,\n};\n","import { createTheme } from \"@mui/material\";\nimport { darkPalette, lightPalette } from \"./palette\";\n\n// Theme object for light theme\nconst LightTheme = () =>\n  createTheme({\n    palette: lightPalette,\n  });\n\n// Theme object for dark theme\nconst DarkTheme = () =>\n  createTheme({\n    palette: darkPalette,\n  });\n\nconst ThemeObject = {\n  light: LightTheme,\n  dark: DarkTheme,\n};\n\nexport default ThemeObject;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.scss';\nimport App from './App';\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { Provider } from 'react-redux';\nimport { store } from './redux/store';\nimport 'react-block-ui/style.css';\nimport 'loaders.css/loaders.min.css';\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport 'reactjs-popup/dist/index.css';\nimport { GoogleOAuthProvider } from '@react-oauth/google';\nimport { ThemeProvider } from '@mui/material';\nimport ThemeObject from './ThemeProvider';\nimport AppContextProvider from './context/appContext';\n\nReactDOM.render(\n  <GoogleOAuthProvider clientId=\"118420081966-s1n42272jcg4r5l4erufahti23ubp8o0.apps.googleusercontent.com\">\n    <React.StrictMode>\n      <ThemeProvider theme={ThemeObject.dark}>\n        <Provider store={store}>\n          <AppContextProvider>\n            <App />\n          </AppContextProvider>\n        </Provider>\n      </ThemeProvider>\n    </React.StrictMode>\n  </GoogleOAuthProvider>,\n  document.getElementById('root')\n);\n"],"sourceRoot":""}