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0uB,IACE1uB,EACTD,kBAAmBA,EACnBI,eAAe,OAAE+tB,EAAAA,KAAAA,EAAAA,EAAa/tB,aAAb+tB,EAA4B,GAGjD,UAACS,GAAUA,CACT3uB,MADS2uB,EACA3uB,EACTkS,cAAeA,EACfhS,SAAS,OAAEguB,EAAAA,KAAAA,EAAAA,EAAahuB,SAAS,CACjCH,GADWmuB,eACQnuB,EACnBI,eAAe,OAAE+tB,EAAAA,KAAAA,EAAAA,EAAa/tB,aAAb+tB,EAA4B,MAGhDltB,EACC,UAACnB,EAAMA,CACLG,GADKH,KACIG,EACTE,UAAWguB,EAAYhuB,SAAS,CAChCH,kBAAmBA,EACnBI,eAAe,OAAE+tB,EAAAA,KAAAA,EAAAA,EAAa/tB,aAAb+tB,EAA4B,GAE7CP,EACF,UAACe,GAAQA,CACP1uB,IADO0uB,IACE1uB,EACTD,kBAAmBA,EACnBI,eAAe,OAAE+tB,EAAAA,KAAAA,EAAAA,EAAa/tB,aAAb+tB,EAA4B,GAG/C,4BAIJ,UAACR,GAAyBA,CAAC5d,UAAWA,IA1DtB,OA0DU4d,EAIhC,GCzHmB,IACnB,EAQakB,CARb,WAQyBA,EAAC,KAR1B,YACE,UAACC,IAAIA,UACH,CADGA,EACH,OAAC51B,QAAAA,UAAO61B,EAAAA,EAAcA,CAACzrB,QAAQ,KAEjC,UAAC0rB,GAAQA,CAAAA,IAAAA","sources":["webpack://_N_E/","webpack://_N_E/./src/components/Overview/Topics/Topics.styles.tsx","webpack://_N_E/./src/components/Overview/overview.constants.ts","webpack://_N_E/./src/components/Overview/Topics/TopicsDialog/TopicsDialog.tsx","webpack://_N_E/./src/components/Overview/OverviewNoDataAvailable/OverviewNoDataAvailable.styles.tsx","webpack://_N_E/./src/components/Overview/OverviewNoDataAvailable/overviewNoDataAvailable.constants.ts","webpack://_N_E/./src/components/Overview/OverviewNoDataAvailable/OverviewNoDataAvailable.tsx","webpack://_N_E/./src/components/Overview/Topics/Topics.tsx","webpack://_N_E/./src/components/Overview/Summary/Summary.styles.tsx","webpack://_N_E/./src/components/Overview/Summary/summary.constants.ts","webpack://_N_E/./src/components/Overview/Summary/SummaryOverview/SummaryOverview.tsx","webpack://_N_E/./src/components/Overview/Summary/SummaryAnnotationDistribution/SummaryAnnotationDistribution.styles.tsx","webpack://_N_E/./src/components/Overview/Summary/SummaryAnnotationDistribution/SummaryAnnotationDistribution.tsx","webpack://_N_E/./src/components/Overview/Summary/Summary.tsx","webpack://_N_E/./src/components/Overview/Insights/Insights.styles.tsx","webpack://_N_E/./src/components/Overview/Insights/Insight/insight.helpers.ts","webpack://_N_E/./src/components/Overview/Insights/Insight/AnalysisInsight/AnalysisInsight.tsx","webpack://_N_E/./src/helpers/utils/operatorToSign.ts","webpack://_N_E/./src/helpers/utils/calculateDataFilterString.ts","webpack://_N_E/./src/components/Overview/Insights/Insight/WeakSegmentContent/WeakSegmentContent.tsx","webpack://_N_E/./src/components/Overview/Insights/Insight/Insight.tsx","webpack://_N_E/./src/components/Overview/Insights/NoInsights/NoInsights.tsx","webpack://_N_E/./public/assets/overview/sand-clock.svg","webpack://_N_E/./src/components/Overview/Insights/NewInsightsAvailable/NewInsightsAvailable.tsx","webpack://_N_E/./src/components/Overview/Insights/Insights.tsx","webpack://_N_E/./src/components/Overview/Properties/AddOrEditPropertyDialog/AddOrEditPropertyDialog.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/Properties.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/AddOrEditPropertyDialog/addOrEditPropertyDialog.helpers.ts","webpack://_N_E/./src/components/Overview/Properties/AddOrEditPropertyDialog/AddOrEditPropertyDialog.tsx","webpack://_N_E/./src/components/Overview/Properties/Property/PropertyMenu/PropertyMenu.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/Property/PropertyMenu/PropertyMenu.tsx","webpack://_N_E/./src/components/Overview/Properties/Property/Property.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/Property/PropertyContent/PropertyContent.tsx","webpack://_N_E/./src/components/Overview/Properties/Property/Property.tsx","webpack://_N_E/./src/components/Overview/Properties/Property/StaticDndProperty.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownDialog/PropertyDrillDownDialog.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownHeader/PropertyDrillDownHeader.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDown.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownHeader/propertyDrillDownHeader.constants.ts","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/propertyDrillDown.constants.ts","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownHeader/PropertyDrillDownHeader.tsx","webpack://_N_E/./src/components/shared/AnnotationAndScore/AnnotationAndScore.styles.tsx","webpack://_N_E/./src/components/shared/AnnotationAndScore/AnnotationAndScoreDivider/AnnotationAndScoreDivider.tsx","webpack://_N_E/./src/components/shared/AnnotationAndScore/AnnotationAndScore.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownInteractions/PropertyDrillDownInteractions.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownInteractions/PropertyDrillDownInteractions.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownDistribution/PropertyDrillDownDistribution.tsx","webpack://_N_E/./public/assets/chart/no-results-in-range.svg","webpack://_N_E/./src/components/Overview/OverviewNoVersionSelected/OverviewNoVersionSelected.styles.tsx","webpack://_N_E/./src/components/Overview/AnnotationOvertimeGraph/AnnotationOvertimeGraph.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownOvertimeChart/PropertyDrillDownOvertimeChart.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownCategoricalSelections/PropertyDrillDownCategoricalSelections.styles.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDownCategoricalSelections/PropertyDrillDownCategoricalSelections.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertyDrillDown/PropertyDrillDown.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertiesPendingAndNACard/PropertiesPendingAndNACard.styled.tsx","webpack://_N_E/./src/components/Overview/Properties/PropertiesPendingAndNACard/propertiesPendingAndNACard.constants.ts","webpack://_N_E/./src/components/Overview/Properties/PropertiesPendingAndNACard/PropertiesPendingAndNACard.tsx","webpack://_N_E/./src/components/Overview/Properties/properties.helpers.ts","webpack://_N_E/./src/components/Overview/Properties/Properties.tsx","webpack://_N_E/./src/components/Overview/Overview.styles.tsx","webpack://_N_E/./src/components/Overview/OverviewNoVersionSelected/overviewNoVersionSelected.constants.ts","webpack://_N_E/./src/components/Overview/OverviewNoVersionSelected/OverviewNoVersionSelected.tsx","webpack://_N_E/./src/components/Overview/Overview.tsx","webpack://_N_E/./src/pages/index.tsx"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import { styled } from '@mui/material';\nimport { CloseRounded, OpenInFullRounded, RefreshRounded } from '@mui/icons-material';\n\nimport { StyledContainer, StyledDialogBase, StyledInput, StyledText } from '@/components/lib';\n\nimport { fadeInAnimation } from '@/helpers/animations';\n\ninterface TopicTextProps {\n as_section?: string;\n}\n\nexport const TopicsContainer = styled(StyledContainer, {\n shouldForwardProp: prop => prop !== 'hide'\n})<{ hide?: string }>(({ hide, theme }) => ({\n gap: '12px',\n height: 'auto',\n minHeight: '250px',\n padding: '16px 24px',\n\n [theme.breakpoints.down('lg')]: {\n display: hide === 'true' ? 'none' : 'auto'\n }\n}));\n\nexport const TopicsInnerContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '12px',\n display: 'grid',\n overflow: 'auto',\n margin: '0 auto',\n maxWidth: '965px',\n alignItems: 'center',\n padding: '8px 0 12px',\n animation: `${fadeInAnimation} 0.5s ease`,\n gridTemplateColumns: 'repeat(auto-fill, minmax(170px, 2fr))',\n\n [theme.breakpoints.down('lg')]: { margin: '0' }\n}));\n\nexport const TopicsHeaderContainer = styled(StyledContainer)({\n padding: '0',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n\n '.MuiBox-root': { marginLeft: 'auto' }\n});\n\nexport const TopicsInput = styled(StyledInput)({\n width: '200px',\n margin: '0 8px 0 auto'\n});\n\nexport const TopicsRefreshIcon = styled(RefreshRounded)(({ theme }) => ({\n cursor: 'pointer',\n fill: theme.palette.grey[400]\n}));\n\nexport const TopicsExpandIcon = styled(OpenInFullRounded)(({ theme }) => ({\n fill: theme.palette.grey[400],\n cursor: 'pointer'\n}));\n\nexport const TopicText = styled(StyledText, {\n shouldForwardProp: prop => prop !== 'as_section'\n})(({ as_section, theme }) => ({\n background: theme.palette.grey[400],\n borderRadius: '28px',\n color: theme.palette.common.white,\n fontSize: '16px',\n fontWeight: 800,\n padding: '4px 12px',\n whiteSpace: 'nowrap',\n overflow: 'visible',\n cursor: as_section === 'true' ? 'pointer' : 'auto'\n}));\n\nexport const TopicsDialogContainer = styled(StyledDialogBase)({\n '.MuiPaper-root': { width: '800px' },\n '.MuiTypography-h3': { marginTop: '100px' }\n});\n\nexport const TopicsDialogCloseIcon = styled(CloseRounded)(({ theme }) => ({\n fill: theme.palette.grey[400],\n cursor: 'pointer'\n}));\n\nexport const NoTopicsContainer = styled(StyledContainer)({\n margin: 'auto',\n gap: '4px',\n alignItems: 'center',\n justifyContent: 'center',\n animation: `${fadeInAnimation} 0.5s ease`,\n\n img: { marginBottom: '16px' }\n});\n","export const constants = {\n properties: {\n title: 'Properties',\n addBtnLabel: 'Add',\n dialog: {\n titleAndSubmit: (isEditMode: boolean) => (isEditMode ? 'Edit Property' : 'Add Property'),\n propertyLabel: 'Property (Required)',\n conditionLabel: 'Condition',\n thresholdConst: {\n label: 'Threshold',\n placeholder: (min?: number, max?: number) => `${min || 0} to ${max || 'inf'}`\n },\n kindLabel: 'Type (Required)',\n chooseProperty: 'Choose Property'\n },\n propertyMenu: {\n linkToDocs: 'More Details',\n info: 'Info',\n condition: 'Condition',\n remove: 'Remove From Overview'\n },\n noValueDescription: 'N/A may indicate ongoing calculation or property-specific conditions.'\n },\n insights: {\n title: 'Insights',\n samples: 'Interactions',\n dismissed: 'Insight Dismissed',\n undoButtonLabel: 'Undo',\n refreshBtnLabel: 'Recalculate',\n analysis: {\n analysis: 'Analysis:',\n suggestions: 'Suggestions:',\n properties: 'Properties:',\n buttonLabel: 'View Data >'\n },\n weakSegment: {\n score: 'Score:',\n buttonLabel: 'View Segment >'\n },\n recalculateAvailable: {\n imgAlt: 'sand-clock-illustration',\n title: 'New Segments Available',\n description: 'Click the recalculate button to refresh Segments'\n },\n noInsights: {\n description: 'No insights for the current interactions'\n }\n },\n topics: {\n title: 'Topics',\n inputPlaceholder: 'Search topic...',\n refreshBtnLabel: 'Recalculate Topics',\n edit: {\n edit: 'Edit',\n name: 'Name',\n description: 'Description',\n submitButtonLabel: 'Save',\n title: 'Edit Topic Details'\n },\n noTopics: {\n imgAlt: 'eye-illustration',\n title: 'No Data Available',\n description: 'We need more interactions to calculate topics'\n },\n inProgress: {\n imgAlt: 'sand-clock-illustration',\n title: 'Topic Calculation In Progress',\n description: 'Please come back soon'\n }\n }\n};\n","import React, { useState } from 'react';\n\nimport { NoDataAvailable } from '@/components/shared/NoDataAvailable/NoDataAvailable';\n\nimport { StyledPercentageContainer, StyledText } from '@/components/lib';\nimport {\n TopicsContainer,\n TopicsDialogCloseIcon,\n TopicsDialogContainer,\n TopicsHeaderContainer,\n TopicsInnerContainer,\n TopicsInput\n} from '../Topics.styles';\n\nimport { AppVersionTopicSchema } from '@/helpers/services/api';\n\nimport { constants } from '../../overview.constants';\n\ninterface TopicsDialogProps {\n open: boolean;\n topics?: AppVersionTopicSchema[];\n topicsCount: number;\n onClose: () => void;\n handleRedirect: (topic: string) => void;\n}\n\nexport const TopicsDialog = ({ open, topics, topicsCount, onClose, handleRedirect }: TopicsDialogProps) => {\n const [input, setInput] = useState('');\n\n const filteredTopics = input\n ? topics?.filter(topic => topic?.topic_name?.toLowerCase().includes(input.toLowerCase()))\n : topics;\n\n return (\n \n \n \n \n setInput(e.target.value)}\n onCloseIconClick={() => setInput('')}\n placeholder={constants?.topics?.inputPlaceholder}\n searchField\n />\n \n \n {filteredTopics && filteredTopics[0] ? (\n \n {filteredTopics?.map((topic: AppVersionTopicSchema, i: number) => (\n handleRedirect(topic?.topic_name)}\n />\n ))}\n \n ) : (\n \n )}\n \n \n );\n};\n","import { Stack, styled, alpha } from '@mui/material';\n\nimport { StyledContainer, StyledText } from '@/components/lib';\n\nimport { fadeInAnimation } from '@/helpers/animations';\n\nexport const OverviewNoDataAvailableContainer = styled(StyledContainer)({\n width: '100%',\n height: '100%',\n margin: 'auto',\n alignItems: 'center',\n justifyContent: 'center',\n animation: `${fadeInAnimation} 0.5s ease`,\n gap: 0\n});\n\nexport const OverviewNoDataAvailableButton = styled(StyledText)(({ theme }) => ({\n color: theme.palette.primary.main,\n display: 'inline',\n marginLeft: '4px',\n textDecoration: 'underline',\n cursor: 'pointer'\n}));\n\nexport const StyledImageContainer = styled(Stack)<{ type?: string }>(({ theme, type }) => ({\n background:\n type === 'Insights'\n ? '#02A5E633'\n : type === 'Topics'\n ? 'rgba(54, 123, 244, 0.2)'\n : type === 'Properties'\n ? 'rgba(0, 178, 194, 0.2)'\n : alpha(theme.palette.primary.main, 0.2),\n marginBottom: '32px',\n width: '80px',\n height: '80px',\n borderRadius: '48px',\n justifyContent: 'center',\n alignItems: 'center',\n\n '& svg': {\n width: '48px',\n height: '48px',\n color:\n type === 'Insights'\n ? '#02A5E6'\n : type === 'Topics'\n ? '#367BF4'\n : type === 'Properties'\n ? '#00B2C2'\n : theme.palette.primary.main\n }\n}));\n\nexport const StyledTitleText = styled(StyledText)(({ theme }) => ({\n color: theme.palette.grey[400],\n marginBottom: '4px'\n}));\n\nexport const StyledSubTitleText = styled(StyledText)(({ theme }) => ({\n color: theme.palette.grey[300],\n maxWidth: '250px',\n textAlign: 'center'\n}));\n\nexport const StyledDescriptionText = styled(StyledText)(({ theme }) => ({\n color: theme.palette.grey[300],\n maxWidth: '450px',\n textAlign: 'center'\n}));\n","export const constants = {\n noDataAvailable: 'No Data Available',\n pleaseUploadData: 'Please upload data',\n here: 'here'\n};\n","import React, { useEffect, useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { SubjectOutlined, PieChartOutlineOutlined, FlashlightOnOutlined, DataUsageOutlined } from '@mui/icons-material';\n\nimport { routes } from '@/helpers/routes';\n\nimport {\n OverviewNoDataAvailableContainer,\n OverviewNoDataAvailableButton,\n StyledImageContainer,\n StyledTitleText,\n StyledSubTitleText,\n StyledDescriptionText\n} from './OverviewNoDataAvailable.styles';\n\nimport { constants } from './overviewNoDataAvailable.constants';\n\nconst { noDataAvailable, pleaseUploadData, here } = constants;\n\ninterface OverviewNoDataAvailableProps {\n type?: string;\n title?: string;\n subTitle?: string;\n description?: string;\n redirectLink?: string;\n noUploadDataBtn?: boolean;\n}\n\nexport const OverviewNoDataAvailable = ({\n type,\n title,\n subTitle,\n description,\n redirectLink,\n noUploadDataBtn\n}: OverviewNoDataAvailableProps) => {\n const [isShowEmptyState, setIsShowEmptyState] = useState(false);\n\n const { push } = useRouter();\n\n const handleGoToOnboardingPage = () => push(redirectLink || routes.onboarding);\n\n const getCurIcon = () => {\n switch (type) {\n case 'Topics':\n return ;\n\n case 'Properties':\n return ;\n\n case 'Insights':\n return ;\n\n default:\n return ;\n }\n };\n\n useEffect(() => {\n const timeoutShowEmptyState = setTimeout(() => {\n setIsShowEmptyState(true);\n }, 1000);\n\n return () => clearTimeout(timeoutShowEmptyState);\n }, []);\n\n if (!isShowEmptyState) {\n return <>;\n }\n\n return (\n \n {getCurIcon()}\n \n {description && }\n {!noUploadDataBtn && (\n \n {subTitle || pleaseUploadData}\n \n \n }\n type=\"h3\"\n />\n )}\n \n );\n};\n","import React, { useEffect, useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { TopicsDialog } from './TopicsDialog/TopicsDialog';\nimport { OverviewNoDataAvailable } from '../OverviewNoDataAvailable/OverviewNoDataAvailable';\n\nimport { StyledPercentageContainer, StyledSkeleton, StyledText } from '@/components/lib';\nimport {\n TopicsContainer,\n TopicsExpandIcon,\n TopicsHeaderContainer,\n TopicsInnerContainer,\n TopicsInput\n} from './Topics.styles';\n\nimport { routes } from '@/helpers/routes';\nimport { isHadron } from '@/helpers/utils/isHadron';\nimport { getAppStorage } from '@/helpers/utils/localStorage';\nimport {\n EnvType,\n Status,\n AppVersionTopicSchema,\n getTopicsApiV1ApplicationVersionsApplicationVersionIdTopicsPost\n} from '@/helpers/services/api';\n\nimport { constants } from '../overview.constants';\n\ninterface TopicsProps {\n envType?: EnvType;\n interactionType?: string;\n selectedVersionId?: number;\n timestamp?: { start: number; end: number };\n}\n\nexport const Topics = (props: TopicsProps) => {\n const { selectedVersionId, envType: propEnvType, timestamp, interactionType } = props;\n\n const { push } = useRouter();\n\n const [input, setInput] = useState('');\n const [isFetching, setIsFetching] = useState(false);\n const [isDialogOpen, setIsDialogOpen] = useState(false);\n const [topicsData, setTopicsData] = useState([]);\n const [calculationInProgress, setCalculationInProgress] = useState(Status['success']);\n\n const { type, versionId } = getAppStorage();\n\n const envType = propEnvType ?? type;\n const isProd = envType === EnvType['PROD'];\n const noTopics = !topicsData?.length && !isFetching;\n const currentVersionId = selectedVersionId ?? versionId;\n const inProgress = Status['success'] !== calculationInProgress && Status['failed'] !== calculationInProgress;\n\n const topicsCount = Array?.isArray(topicsData)\n ? topicsData?.reduce((sum, topic) => sum + Number(topic?.count), 0)\n : 0;\n const filteredTopics = Array.isArray(topicsData)\n ? topicsData?.filter(topic => topic?.topic_name?.toLowerCase()?.includes(input?.toLowerCase()))\n : [];\n\n const handleRedirect = (topic?: string) => topic && push(`${routes.samples}?topics=${encodeURIComponent(topic)}`);\n\n const getTopics = async () => {\n setIsFetching(true);\n\n await getTopicsApiV1ApplicationVersionsApplicationVersionIdTopicsPost(currentVersionId, {\n start_time_epoch: timestamp?.start,\n end_time_epoch: timestamp?.end,\n interaction_type: interactionType,\n environment: envType\n }).then(data => {\n data?.status && setCalculationInProgress(data?.status);\n if (Array.isArray(data?.topics)) {\n setTopicsData(data?.topics);\n }\n });\n\n setIsFetching(false);\n };\n\n useEffect(() => void getTopics(), [envType, currentVersionId, timestamp?.start, timestamp?.end, interactionType]);\n\n if (isHadron()) {\n return <>;\n }\n\n return (\n \n \n \n setInput('')}\n onChange={e => setInput(e.target.value)}\n placeholder={constants?.topics?.inputPlaceholder}\n searchField\n />\n {Number(topicsData?.length) > 8 ? setIsDialogOpen(true)} /> : <>}\n \n {isFetching ? (\n \n {[...Array(8)].map((_i, index) => (\n \n ))}\n \n ) : !filteredTopics?.length ? (\n \n ) : (\n \n {filteredTopics\n ?.slice(0, isProd ? 100 : 8)\n ?.map((topic: AppVersionTopicSchema, i: number) => (\n handleRedirect(topic?.topic_name)}\n />\n ))}\n \n )}\n setIsDialogOpen(false)}\n />\n \n );\n};\n","import { Stack, styled } from '@mui/material';\n\nimport { StyledButton, StyledContainer, StyledText } from '@/components/lib';\n\ninterface SummaryContainerProps {\n with_border?: string;\n is_column?: string;\n}\n\nexport const SummaryContainer = styled(StyledContainer)({\n gap: '24px',\n padding: '24px'\n});\n\nexport const SummaryFiltersContainer = styled(Stack)({\n flexWrap: 'wrap',\n flexDirection: 'row'\n});\n\nexport const SummaryChartAndDistributionContainer = styled(StyledContainer)({\n gap: 0,\n height: '100%',\n minWidth: '400px',\n\n '.MuiButton-outlined': {\n padding: '0',\n border: 'none',\n width: 'fit-content',\n margin: '12px auto 0',\n\n ':hover': { border: 'none' }\n }\n});\n\nexport const SummaryDetailsContainer = styled(StyledContainer)({\n gap: '24px',\n height: '100%',\n padding: '12px 16px'\n});\n\nexport const StyledTitleContainer = styled(Stack)({\n gap: '8px',\n flexDirection: 'row',\n marginBottom: 'auto',\n alignItems: 'flex-end'\n});\n\nexport const SummaryChartContainer = styled(StyledContainer, {\n shouldForwardProp: prop => prop !== 'chart'\n})<{ chart?: string }>(({ chart }) => ({\n padding: '0',\n minHeight: '260px',\n margin: '0 auto auto',\n width: chart === 'true' ? '250px' : 'auto'\n}));\n\nexport const SummaryScoreBigText = styled(StyledText)({\n fontSize: '32px',\n fontWeight: 400\n});\n\nexport const SummaryRowContainer = styled(StyledContainer, {\n shouldForwardProp: prop => prop !== 'with_border' && prop !== 'is_column'\n})(({ with_border, is_column, theme }) => ({\n padding: '0 4px',\n margin: '0 auto',\n maxWidth: '350px',\n textAlign: 'center',\n borderRadius: '8px',\n alignItems: 'center',\n flexDirection: is_column === 'true' ? 'column' : 'row',\n justifyContent: with_border === 'true' ? 'center' : 'space-between',\n border: `2px solid ${with_border === 'true' ? theme.palette.grey[200] : 'none'}`\n}));\n\nexport const CardContainer = styled(StyledContainer)({\n padding: 0,\n gap: '24px',\n display: 'grid',\n minHeight: '418px',\n alignItems: 'center',\n borderRadius: '16px',\n gridTemplateColumns: 'auto auto',\n\n '@media (max-width: 750px)': {\n flexWrap: 'wrap'\n }\n});\n\nexport const CardDescriptionContainer = styled(StyledContainer)({\n height: '100%'\n});\n\nexport const CardButton = styled(StyledButton)({\n maxWidth: '250px',\n gap: '16px',\n marginTop: 'auto'\n});\n\nexport const SummaryUsersOnlyText = styled(StyledText)(({ theme }) => ({\n width: '100%',\n margin: '0 auto',\n padding: '16px 0',\n maxWidth: '350px',\n borderRadius: '8px',\n textAlign: 'center',\n border: `2px solid ${theme.palette.grey[200]}`\n}));\n","export const constants = {\n title: 'Score by',\n score: 'Score',\n overview: 'Overview',\n sessions: 'Sessions',\n estimated: 'Est.Score',\n latency: 'Avg. Latency',\n skeletonHeight: '418px',\n latencyTooltip: 'Average latency in seconds, update this field by uploading your data using our SDK.',\n interactions: 'Interactions',\n annotation: 'Annot. %',\n userAnnotation: 'User Annot.',\n estAnnotation: 'Est. Annot.',\n users: 'Users',\n annotated: 'Annotated',\n distribution: {\n estimated: 'Estimated',\n userAnnotated: 'User Annotated'\n },\n changeViewBtnLabel: (isChartView: boolean) => (isChartView ? 'Show Score Breakdown' : 'Show on Chart'),\n usersLight: (numberOfUsers?: number) =>\n numberOfUsers || numberOfUsers === 0 ? `${numberOfUsers} Active Users` : 'Application Summary'\n};\n","import React from 'react';\n\nimport { StyledContainer, StyledText, StyledToolTip } from '@/components/lib';\nimport { SummaryRowContainer, SummaryScoreBigText, SummaryDetailsContainer } from '../Summary.styles';\n\nimport { constants } from '../summary.constants';\n\ninterface SummaryOverviewProps {\n isPartialDataMode: boolean;\n dataToDisplay: {\n [key: string]: {\n label: string;\n value: string | number | undefined | null;\n tooltip?: string | null;\n };\n };\n}\n\nexport const SummaryOverview = (props: SummaryOverviewProps) => {\n const { dataToDisplay, isPartialDataMode } = props;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {!isPartialDataMode && (\n \n \n \n \n \n \n \n \n )}\n \n );\n};\n","import { Stack, styled } from '@mui/material';\n\nimport { StyledContainer } from '@/components/lib';\n\nexport const SummaryAnnotationDistributionContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '24px',\n height: '260px',\n minWidth: '250px',\n overflowY: 'auto',\n\n '.MuiTypography-h5': { color: theme.palette.grey[400] }\n}));\n\nexport const SummaryAnnotationDistributionTitleContainer = styled(Stack)({\n gap: '8px',\n margin: '4px 0',\n flexDirection: 'row',\n alignItems: 'center'\n});\n\nexport const SummaryAnnotationDistributionBtnContainer = styled(Stack)(({ theme }) => ({\n gap: '16px',\n margin: '4px 0',\n cursor: 'pointer',\n transition: '0.2s',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n borderBottom: `1px solid transparent`,\n\n ':hover': {\n borderColor: theme.palette.primary.main,\n\n '.MuiTypography-root': { color: theme.palette.primary.main, fontWeight: 700, letterSpacing: '-0.3px' }\n },\n\n '.MuiTypography-body2': { color: theme.palette.grey[500], overflow: 'visible' }\n}));\n","import React from 'react';\n\nimport { Stack } from '@mui/material';\n\nimport { StyledText } from '@/components/lib';\nimport {\n SummaryAnnotationDistributionBtnContainer,\n SummaryAnnotationDistributionContainer,\n SummaryAnnotationDistributionTitleContainer\n} from './SummaryAnnotationDistribution.styles';\n\nimport { AnnotationType, ProductionDataSummarySchema } from '@/helpers/services/api';\nimport { getAnnotation } from '@/components/Samples/SamplesTable/SamplesTable.helpers';\n\nimport { constants } from '../summary.constants';\n\ninterface SummaryAnnotationDistributionProps {\n summaryData: ProductionDataSummarySchema | undefined;\n handleRedirect: (type: AnnotationType) => void;\n}\n\nconst { estimated, userAnnotated } = constants.distribution;\n\nexport const SummaryAnnotationDistribution = ({ summaryData, handleRedirect }: SummaryAnnotationDistributionProps) => {\n const { annotations_distribution, annotated_good, annotated_bad, unannotated, n_of_samples } = summaryData || {};\n\n const calculatePercentage = (samples?: number) => {\n const percentage = (Number(samples) / Number(n_of_samples || 1)) * 100;\n\n return `${\n Number(samples) > 0 && percentage < 1 && percentage > 0 ? percentage.toFixed(2) : Math.round(percentage)\n }% (${samples})`;\n };\n\n const samplesCount = (type: AnnotationType) => {\n switch (type) {\n case AnnotationType['bad']:\n return annotated_bad || 0;\n case AnnotationType['good']:\n return annotated_good || 0;\n case AnnotationType['unknown']:\n return unannotated || 0;\n default:\n return 0;\n }\n };\n return (\n \n {[AnnotationType['bad'], AnnotationType['unknown'], AnnotationType['good']]?.map(\n annotation =>\n !!samplesCount(annotation) && (\n \n \n {getAnnotation(AnnotationType[annotation], false)}\n \n \n {annotation === AnnotationType['good'] ? (\n <>\n {annotations_distribution?.good?.total_estimated ? (\n handleRedirect(annotation)}>\n \n \n \n ) : (\n <>\n )}\n {annotations_distribution?.good?.total_user ? (\n handleRedirect(annotation)}>\n \n \n \n ) : (\n <>\n )}\n \n ) : (\n Array?.isArray(annotations_distribution?.[annotation]?.per_property) &&\n annotations_distribution?.[annotation]?.per_property?.map((v, i) => (\n handleRedirect(annotation)}>\n \n \n \n ))\n )}\n \n )\n )}\n \n );\n};\n","import React, { useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport dayjs from 'dayjs';\n\nimport { SummaryOverview } from './SummaryOverview/SummaryOverview';\nimport { OverviewNoDataAvailable } from '../OverviewNoDataAvailable/OverviewNoDataAvailable';\nimport { SummaryAnnotationDistribution } from './SummaryAnnotationDistribution/SummaryAnnotationDistribution';\n\nimport { StyledButton, StyledDoughnutChart, StyledSkeleton, StyledText } from '@/components/lib';\nimport {\n CardContainer,\n StyledTitleContainer,\n SummaryChartContainer,\n SummaryChartAndDistributionContainer,\n SummaryFiltersContainer\n} from './Summary.styles';\n\nimport { routes } from '@/helpers/routes';\nimport { getPercentage } from '@/helpers/utils/getPercentage';\nimport { EnvType, useGetAppVersionProdSummary } from '@/helpers/services/api';\n\nimport { constants } from './summary.constants';\n\ninterface SummaryProps {\n envType: EnvType;\n interactionType: string;\n selectedVersionId: number;\n}\n\nconst {\n title,\n latency,\n sessions,\n interactions,\n estAnnotation,\n latencyTooltip,\n skeletonHeight,\n userAnnotation,\n changeViewBtnLabel\n} = constants;\n\nexport const Summary = (props: SummaryProps) => {\n const { envType, selectedVersionId, interactionType } = props;\n\n const [isChartView, setIsChartView] = useState(true);\n const [isIncludeEstimated, setIsIncludeEstimated] = useState(true);\n\n const { push } = useRouter();\n const { data, isLoading } = useGetAppVersionProdSummary(selectedVersionId, {\n environment: envType,\n interaction_type: interactionType\n });\n\n const curAnnotatedBadNum = isIncludeEstimated ? data?.annotated_bad : data?.user_annotated?.bad;\n const curAnnotatedGoodNum = isIncludeEstimated ? data?.annotated_good : data?.user_annotated?.good;\n const curAnnotatedNum = Number(curAnnotatedBadNum) + Number(curAnnotatedGoodNum);\n\n const allEstimatedAnnotatedNum = Number(data?.estimated?.bad) + Number(data?.estimated?.good);\n const allUserAnnotatedNum = Number(data?.user_annotated?.bad) + Number(data?.user_annotated?.good);\n\n const calculatedScore = Number(curAnnotatedGoodNum) / Number(curAnnotatedNum);\n const dataToDisplay = {\n estAnnotation: {\n label: estAnnotation,\n value: getPercentage(allEstimatedAnnotatedNum / Number(data?.n_of_samples), true)\n },\n userAnnotation: {\n label: userAnnotation,\n value: getPercentage(allUserAnnotatedNum / Number(data?.n_of_samples), true)\n },\n interactions: { label: interactions, value: data?.n_of_samples },\n latency: {\n label: latency,\n value: data?.latency_seconds ? `${data?.latency_seconds} Sec` : 'N/A',\n tooltip: latencyTooltip\n },\n sessions: { label: sessions, value: Number(data?.n_of_sessions) }\n };\n\n const dates =\n data?.start_date && data?.end_date\n ? `${dayjs(data?.start_date).format('lll')} - ${dayjs(data?.end_date).format('lll')}`\n : '';\n\n const chartData = [\n curAnnotatedBadNum || 0,\n curAnnotatedGoodNum || 0,\n isIncludeEstimated ? Number(data?.unannotated) : allEstimatedAnnotatedNum + Number(data?.unannotated)\n ];\n\n const handleCenterClick = () => setIsIncludeEstimated(!isIncludeEstimated);\n\n const handleRedirect = (annotation: string) => {\n annotation === 'unknown'\n ? push(`${routes.samples}?annotations=unknown${isIncludeEstimated ? '%3Bpending' : ''}`)\n : push(\n `${routes.samples}?annotations=${\n isIncludeEstimated ? `${annotation}%2Cestimated%3B` : ''\n }${annotation}%2Cuser_annotated`\n );\n };\n\n if (isLoading) {\n return (\n \n \n \n \n );\n }\n\n return (\n \n \n \n \n \n \n \n \n {!data?.n_of_samples ? (\n \n ) : isChartView ? (\n handleRedirect('bad'),\n goodRedirect: () => handleRedirect('good'),\n unannotatedRedirect: () => handleRedirect('unknown')\n }}\n />\n ) : (\n \n )}\n \n setIsChartView(!isChartView)}\n />\n \n \n \n );\n};\n","import { Button, styled } from '@mui/material';\nimport { ClearRounded, SubdirectoryArrowRight } from '@mui/icons-material';\n\nimport { StyledButton, StyledContainer, StyledText } from '@/components/lib';\n\nexport const InsightsContainer = styled(StyledContainer)(({ theme }) => ({\n margin: '0 16px',\n overflowY: 'auto',\n borderRadius: '0px',\n padding: '0 0 16px',\n overflowX: 'hidden',\n height: 'calc(100vh - 110px)',\n\n '::-webkit-scrollbar': { height: '4px' },\n '::-webkit-scrollbar-thumb': { borderRadius: '4px', background: theme.palette.grey[400] },\n '::-webkit-scrollbar-track': { borderRadius: '4px', background: theme.palette.grey[200] },\n\n [theme.breakpoints.down('xl')]: {\n margin: '0',\n height: 'auto',\n overflowX: 'auto',\n overflowY: 'hidden'\n }\n}));\n\nexport const InsightsScrollContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '24px',\n padding: '0',\n width: 'auto',\n borderRadius: '0',\n height: 'calc(100vh - 216px)',\n\n [theme.breakpoints.down('xl')]: {\n height: 'auto',\n overflow: 'auto',\n padding: '0 0 16px',\n margin: '0 0 -16px',\n flexDirection: 'row'\n }\n}));\n\nexport const InsightsTitleContainer = styled(StyledContainer)({\n padding: 0,\n maxWidth: '200px'\n});\n\nexport const InsightsScoreContainer = styled(StyledContainer)({\n padding: 0,\n width: 'auto',\n alignSelf: 'start',\n flexDirection: 'row',\n alignItems: 'center',\n margin: ' 0 -12px 0 auto'\n});\n\nexport const InsightsTagsContainer = styled(StyledContainer)({\n gap: '16px',\n flexWrap: 'wrap',\n padding: '12px 0',\n flexDirection: 'row',\n alignItems: 'center'\n});\n\nexport const InsightTag = styled(StyledText, {\n shouldForwardProp: prop => prop !== 'is_topic'\n})<{ is_topic?: string }>(({ is_topic, theme }) => ({\n padding: '8px',\n fontWeight: 700,\n borderRadius: '8px',\n color: theme.palette.grey[500],\n background: is_topic === 'true' ? theme.palette.grey[200] : theme.palette.common.white\n}));\n\nexport const InsightClearIcon = styled(ClearRounded, {\n shouldForwardProp: prop => prop !== 'hovered'\n})<{ hovered?: string }>(({ hovered, theme }) => ({\n fontWeight: 700,\n cursor: 'pointer',\n margin: '0 0 0 -6px !important',\n pointerEvents: hovered === 'true' ? 'all' : 'none',\n color: hovered === 'true' ? theme.palette.grey[500] : 'transparent'\n}));\n\nexport const InsightCardContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '2px',\n padding: '16px',\n maxWidth: '600px',\n minWidth: '350px',\n border: `2px solid ${theme.palette.grey[200]}`,\n\n ':hover': {\n background: theme.palette.grey[200]\n }\n}));\n\nexport const InsightAnalysisContainer = styled(StyledContainer)(({ theme }) => ({\n height: '100%',\n cursor: 'pointer',\n padding: '8px 0 0',\n\n '.MuiTypography-subtitle2': { color: theme.palette.grey[500] }\n}));\n\nexport const InsightInnerContainer = styled(StyledContainer)({\n padding: 0,\n flexDirection: 'row',\n alignItems: 'center',\n\n '.MuiButtonBase-root, .MuiSvgIcon-root': { padding: 0, marginTop: '6px' }\n});\n\nexport const InsightUndoContainer = styled(StyledContainer)({\n margin: 'auto',\n padding: '8px 0 0',\n alignItems: 'center',\n justifyContent: 'center'\n});\n\nexport const ScoreSampleContainer = styled(StyledContainer)({\n alignItems: 'center',\n flexDirection: 'row',\n padding: 0,\n margin: '3px 0 3px 10px',\n gap: '4px'\n});\n\nexport const InsightViewButton = styled(Button, {\n shouldForwardProp: prop => prop !== 'analysis'\n})<{ analysis?: string }>(({ analysis }) => ({\n fontSize: '14px',\n padding: '8px 12px 0',\n margin: analysis === 'true' ? '4px 4px 0 auto' : '0',\n width: analysis === 'true' ? 'fit-content' : '220px'\n}));\n\nexport const NoInsightContainer = styled(StyledContainer)(({ theme }) => ({\n width: 'auto',\n height: '100%',\n padding: '24px',\n textAlign: 'center',\n alignItems: 'center',\n justifyContent: 'center',\n maxHeight: 'calc(100vh - 234px)',\n border: `2px solid ${theme.palette.grey[200]}`,\n\n [theme.breakpoints.down('xl')]: { display: 'none' }\n}));\n\nexport const InsightsRefreshButton = styled(StyledButton)(({ theme }) => ({\n marginLeft: 'auto',\n color: theme.palette.grey[500],\n background: theme.palette.grey[200]\n}));\n\nexport const InsightsHeaderContainer = styled(StyledContainer)({\n padding: '0 4px 8px',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between'\n});\n\nexport const NewInsightsCardContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '16px',\n width: '100%',\n padding: '16px',\n minWidth: '350px',\n alignItems: 'center',\n flexDirection: 'row',\n border: `2px solid ${theme.palette.grey[200]}`,\n\n [theme.breakpoints.down('xl')]: { display: 'none' }\n}));\n\nexport const NewInsightsArrowUp = styled(SubdirectoryArrowRight)({\n rotate: '270deg'\n});\n","import { DataFilter } from '@/helpers/services/api';\nimport { capitalizeFirstLetter } from '@/helpers/utils/capitalizeFirstLetter';\n\nexport const topicsInsightString = (topic: DataFilter) => {\n if (Array.isArray(topic.value)) {\n if (topic.value.length === 1) {\n return `${capitalizeFirstLetter(topic?.column)} - ${topic.value[0]}`;\n } else {\n const topics = topic.value.join(', ');\n return `${capitalizeFirstLetter(topic?.column)} - ${topics}`;\n }\n } else {\n return '';\n }\n};\n\nexport const buildDrillDownQuery = (dataFilters: DataFilter[], topics: DataFilter[]) => {\n const dataFiltersConditions = dataFilters\n .map((e, i) => `${i === 0 ? '' : ';'}${encodeURIComponent(e.column)},${e.operator},${e.property_type},${e.value}`)\n .join('');\n const dataFilterQuery = dataFiltersConditions ? `insight_conditions=${dataFiltersConditions}` : '';\n\n const categoricalFilters = topics\n .map((e, i) =>\n e?.property_type\n ? `${i === 0 ? '' : ';'}${encodeURIComponent(e.column)},${e.operator},${e.property_type},${Array.isArray(e?.value) ? e?.value.map(e => (e === null ? '\\x00' : e)).join(':') : e?.value}`\n : ''\n )\n .join('');\n const categoricalFiltersQuery = categoricalFilters ? `&insight_conditions=${categoricalFilters}` : '';\n\n const topicsValue = Array?.isArray(topics?.[0]?.value) && topics[0]?.value?.toString();\n const topicsQuery = topics?.[0]?.value ? `${dataFiltersConditions ? '&' : ''}topics=${topicsValue}` : '';\n\n return `?${dataFilterQuery}${topicsQuery}${categoricalFiltersQuery}`;\n};\n","import React from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { ExpandLess, ExpandMore } from '@mui/icons-material';\n\nimport { StyledText } from '@/components/lib';\nimport { InsightAnalysisContainer, InsightInnerContainer, InsightViewButton } from '../../Insights.styles';\n\nimport { routes } from '@/helpers/routes';\nimport { buildDrillDownQuery } from '../insight.helpers';\nimport { DataFilter, InsightSchema } from '@/helpers/services/api';\nimport { getStorageItem, setStorageItem, storageKeys } from '@/helpers/utils/localStorage';\n\nimport { constants } from '../../../overview.constants';\n\ninterface AnalysisInsightProps {\n showLess: boolean;\n insight: InsightSchema;\n}\n\nconst { buttonLabel, analysis, suggestions, properties } = constants.insights.analysis;\n\nexport const AnalysisInsight = (props: AnalysisInsightProps) => {\n const { insight, showLess } = props;\n\n const { push } = useRouter();\n\n const handleRedirectSamples = (\n e: React.MouseEvent,\n dataFilters: DataFilter[],\n topics: DataFilter[]\n ) => {\n e?.stopPropagation();\n\n const appStorage = getStorageItem(storageKeys.app);\n\n setStorageItem(storageKeys.app, {\n ...appStorage,\n interactionType: { value: insight?.interaction_type_name, options: appStorage?.interactionType?.options }\n });\n\n push(`${routes.samples}${buildDrillDownQuery(dataFilters, topics)}`);\n };\n\n return (\n \n {showLess ? (\n \n ) : (\n <>\n \n \n \n \n \n \n \n )}\n \n {showLess ? : }\n handleRedirectSamples(e, insight?.segment_filters, insight?.categorical_segment_filters)}\n analysis=\"true\"\n >\n {buttonLabel}\n \n \n \n );\n};\n","import { Operator } from '../services/api';\n\nexport function operatorToSign(operator?: Operator) {\n switch (operator) {\n case 'GE':\n return '>=';\n case 'GT':\n return '>';\n case 'LE':\n return '<=';\n case 'LT':\n return '<';\n case 'EQ':\n return '==';\n case 'NEQ':\n return '!=';\n case 'IN':\n return 'in';\n case 'NIN':\n return 'not in';\n case 'OVERLAP':\n return 'overlaps';\n default:\n return '>';\n }\n}\n\nexport function operatorToSignRight(operator?: Operator) {\n switch (operator) {\n case 'GE':\n return '=<';\n case 'GT':\n return '<';\n case 'LE':\n return '>=';\n case 'LT':\n return '>';\n case 'EQ':\n return '==';\n case 'NEQ':\n return '!=';\n case 'OVERLAP':\n return '&&';\n default:\n return '<';\n }\n}\n","import { DataFilter } from '../services/api';\nimport { operatorToSign, operatorToSignRight } from '@/helpers/utils/operatorToSign';\n\nexport const calculateDataFilterString = (arr?: DataFilter[]) => {\n if (Array?.isArray(arr)) {\n const groupedFilters = arr.reduce((accumulator: { [key: string]: DataFilter[] }, filter) => {\n if (filter.column) {\n const key = `${filter?.column}_${filter?.property_type}`;\n\n if (!accumulator[key as keyof typeof accumulator]) {\n // eslint-disable-next-line no-param-reassign\n accumulator[key as keyof typeof accumulator] = [];\n }\n\n (accumulator[key as keyof typeof accumulator] as DataFilter[]).push(filter);\n }\n return accumulator;\n }, {});\n\n const combinedFilters = Object.values(groupedFilters).map((filters: DataFilter[]) => {\n if (filters?.length === 1) {\n const filter = filters[0];\n\n return `${filter?.column} ${operatorToSign(filter?.operator)} ${\n typeof filter?.value === 'number' ? Number(filter?.value)?.toFixed(2) : filter?.value\n }`;\n } else {\n const combinedFilterString = filters\n .map((filter: DataFilter, i: number) => {\n return ` ${i === 1 ? `${operatorToSign(filter?.operator)} ` : ''}${\n typeof filter?.value === 'number' ? Number(filter?.value)?.toFixed(2) : filter?.value\n } ${i === 0 ? `${operatorToSignRight(filter?.operator)} ${filters[0]?.column}` : ''}`;\n })\n .join(' ');\n\n return ` ${combinedFilterString}`;\n }\n });\n\n return [...combinedFilters];\n } else {\n return [];\n }\n};\n","import React from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { useTheme } from '@mui/material';\n\nimport { StyledText } from '@/components/lib';\nimport {\n InsightInnerContainer,\n InsightsTagsContainer,\n InsightTag,\n InsightViewButton,\n ScoreSampleContainer\n} from '../../Insights.styles';\n\nimport { routes } from '@/helpers/routes';\nimport { getPercentage } from '@/helpers/utils/getPercentage';\nimport { DataFilter, InsightSchema } from '@/helpers/services/api';\nimport { buildDrillDownQuery, topicsInsightString } from '../insight.helpers';\nimport { calculateDataFilterString } from '@/helpers/utils/calculateDataFilterString';\nimport { getStorageItem, setStorageItem, storageKeys } from '@/helpers/utils/localStorage';\n\nimport { constants } from '../../../overview.constants';\n\ninterface WeakSegmentContentProps {\n insight: InsightSchema;\n}\n\nconst { score, buttonLabel } = constants.insights.weakSegment;\n\nexport const WeakSegmentContent = (props: WeakSegmentContentProps) => {\n const { insight } = props;\n\n const { push } = useRouter();\n const { palette } = useTheme();\n\n const handleRedirectSamples = (dataFilters: DataFilter[], topics: DataFilter[]) => {\n const appStorage = getStorageItem(storageKeys.app);\n\n setStorageItem(storageKeys.app, {\n ...appStorage,\n interactionType: { value: insight?.interaction_type_name, options: appStorage?.interactionType?.options }\n });\n\n push(`${routes.samples}${buildDrillDownQuery(dataFilters, topics)}`);\n };\n\n return (\n <>\n \n {calculateDataFilterString(insight?.segment_filters)?.map((text: string) => (\n \n ))}\n {Array.isArray(insight?.categorical_segment_filters) &&\n insight?.categorical_segment_filters?.map((topic, i) => (\n \n ))}\n \n \n \n \n \n \n handleRedirectSamples(insight?.segment_filters, insight?.categorical_segment_filters)}\n >\n {buttonLabel}\n \n \n \n );\n};\n","import React, { useEffect, useState } from 'react';\n\nimport { Button, useTheme } from '@mui/material';\nimport { UndoRounded } from '@mui/icons-material';\n\nimport { AnalysisInsight } from './AnalysisInsight/AnalysisInsight';\nimport { WeakSegmentContent } from './WeakSegmentContent/WeakSegmentContent';\n\nimport { StyledText } from '@/components/lib';\nimport {\n InsightClearIcon,\n InsightUndoContainer,\n InsightCardContainer,\n ScoreSampleContainer,\n InsightInnerContainer,\n InsightsScoreContainer,\n InsightsTitleContainer\n} from '../Insights.styles';\n\nimport { InsightSchema, updateInsight } from '@/helpers/services/api';\n\nimport { constants } from '../../overview.constants';\n\ninterface InsightProps {\n insight: InsightSchema;\n isAllowedToDelete: boolean;\n refetch: () => void;\n}\n\nconst { dismissed, samples, undoButtonLabel } = constants.insights;\n\nexport const Insight = (props: InsightProps) => {\n const { insight, isAllowedToDelete, refetch } = props;\n\n const [undo, setUndo] = useState(false);\n const [hovered, setHovered] = useState(false);\n const [showLess, setShowLess] = useState(true);\n\n const { palette } = useTheme();\n\n const isPropertySegment = insight?.insight_type === 'Property Segment';\n\n const handleDismiss = () => setUndo(true);\n const handleStartHover = () => setHovered(true);\n const handleStopHover = () => setHovered(false);\n const handleNullValue = (arg: number) => (arg ? `${arg}` : 'N/A');\n\n const handleUndoDismiss = async () => {\n setUndo(false);\n\n await updateInsight(insight?.id, { is_deleted: false });\n };\n\n useEffect(() => {\n if (undo) {\n updateInsight(insight?.id, { is_deleted: true });\n\n const timeoutDeletion = setTimeout(() => {\n refetch();\n setUndo(false);\n }, 4000);\n\n return () => clearTimeout(timeoutDeletion);\n }\n }, [undo, insight, refetch]);\n\n return (\n setShowLess(!showLess)}\n >\n {undo ? (\n \n \n \n \n ) : (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n {isPropertySegment ? (\n \n ) : (\n \n )}\n \n )}\n \n );\n};\n","import React from 'react';\n\nimport { OverviewNoDataAvailable } from '../../OverviewNoDataAvailable/OverviewNoDataAvailable';\n\nimport { NoInsightContainer } from '../Insights.styles';\n\nimport { constants } from '../../overview.constants';\n\nconst { description } = constants.insights.noInsights;\n\nexport const NoInsights = () => (\n \n \n \n);\n","export default {\"src\":\"/_next/static/media/sand-clock.fb9ce8a0.svg\",\"height\":83,\"width\":76,\"blurWidth\":0,\"blurHeight\":0};","import React from 'react';\n\nimport Image from 'next/image';\n\nimport { Stack } from '@mui/material';\n\nimport { StyledText } from '@/components/lib';\nimport { NewInsightsArrowUp, NewInsightsCardContainer } from '../Insights.styles';\n\nimport sandClockImg from '@/public/assets/overview/sand-clock.svg';\n\nimport { constants } from '../../overview.constants';\n\nconst { description, title, imgAlt } = constants.insights.recalculateAvailable;\n\nexport const NewInsightsAvailable = () => (\n \n {imgAlt}\n \n \n \n \n \n \n);\n","import React, { useEffect, useState } from 'react';\n\nimport { RefreshRounded } from '@mui/icons-material';\n\nimport { Insight } from './Insight/Insight';\nimport { NoInsights } from './NoInsights/NoInsights';\nimport { PermissionToolTip, usePermission } from '@/components/shared/RBAC/RBAC';\nimport { NewInsightsAvailable } from './NewInsightsAvailable/NewInsightsAvailable';\n\nimport { StyledSkeleton, StyledText } from '@/components/lib';\nimport {\n InsightsContainer,\n InsightsRefreshButton,\n InsightsScrollContainer,\n InsightsHeaderContainer\n} from './Insights.styles';\n\nimport {\n EnvType,\n Permission,\n InsightSchema,\n useGetAppLastUpdateTime,\n useGetInsightApiV1InsightsGet,\n recalculateInsightsApiV1InsightsRecalculatePost\n} from '@/helpers/services/api';\n\nimport { constants } from '../overview.constants';\n\ninterface InsightsProps {\n envType: EnvType;\n interactionType: string;\n selectedVersionId: number;\n}\n\nexport const Insights = (props: InsightsProps) => {\n const { envType, selectedVersionId, interactionType } = props;\n\n const [isRecalculationDisabled, setIsRecalculationDisabled] = useState(false);\n\n const { isAllowed } = usePermission(Permission['INSIGHTS_WRITE']);\n\n const {\n data: insightsData,\n isLoading,\n refetch\n } = useGetInsightApiV1InsightsGet({\n env_type: envType,\n interaction_type_name: interactionType,\n application_version_id: selectedVersionId\n });\n const { data: sysInfoData } = useGetAppLastUpdateTime({\n application_version_id: selectedVersionId,\n env_type: envType\n });\n\n const isProd = envType === EnvType['PROD'];\n const isPenTest = envType === EnvType['PENTEST'];\n const isRecalculateAvailable = !!sysInfoData?.insights?.can_execute_calculation;\n\n const handleRecalculationClick = () => {\n recalculateInsightsApiV1InsightsRecalculatePost({\n environment: envType,\n application_version_id: selectedVersionId\n });\n setIsRecalculationDisabled(true);\n };\n\n useEffect(() => {\n // After the recalculation is done, enable the recalculation button for another versions\n if (isRecalculationDisabled) {\n setIsRecalculationDisabled(false);\n }\n }, [selectedVersionId, envType]);\n\n if (isPenTest || isProd) {\n return <>;\n } else if (!insightsData?.length && !isLoading) {\n return ;\n }\n\n return (\n \n \n \n {isRecalculateAvailable && (\n \n }\n label={constants.insights.refreshBtnLabel}\n disabled={isRecalculationDisabled || !isAllowed}\n onClick={handleRecalculationClick}\n />\n \n )}\n \n \n {isRecalculateAvailable && }\n {isLoading\n ? [...Array(3)].map((_e, index) => )\n : insightsData?.map((insight: InsightSchema, i) => (\n \n ))}\n \n \n );\n};\n","import React from 'react';\n\nimport { Box, Popover, PopoverProps, styled } from '@mui/material';\n\ninterface PropertiesDialogPropertyDropdownProps {\n is_active: string;\n disabled: string;\n no_property: string;\n}\n\nexport const PropertiesDialogPropertyDropdown = styled(Box)(\n ({ theme, is_active, disabled, no_property }) => ({\n height: '44px',\n display: 'flex',\n padding: '10px',\n marginTop: '2px',\n borderRadius: '5px',\n alignItems: 'center',\n justifyContent: 'space-between',\n cursor: disabled === 'true' ? 'default' : 'pointer',\n border: is_active === 'true' ? '2px solid' : '1px solid',\n borderColor: is_active === 'true' ? theme.palette.primary.main : theme.palette.grey[300],\n\n ':hover': {\n borderColor: disabled === 'true' ? theme.palette.grey[300] : theme.palette.common.black\n },\n\n p: {\n color: disabled === 'true' || no_property === 'true' ? theme.palette.grey[500] : theme.palette.common.black\n }\n })\n);\n\nexport const StyledPopover = styled((props: PopoverProps) => (\n \n))({});\n","import { Stack, styled } from '@mui/material';\n\nimport { StyledContainer, StyledInput, StyledLoader, StyledText } from '@/components/lib';\n\nexport const PropertiesContainer = styled(StyledContainer)(() => ({\n gap: '24px',\n width: '100%',\n padding: '24px'\n}));\n\nexport const PropertiesHeaderContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '18px',\n display: 'grid',\n alignItems: 'center',\n padding: '0 2px 0 6px',\n gridTemplateColumns: 'auto 24px 72px',\n\n '.MuiSvgIcon-root': {\n cursor: 'pointer',\n color: theme.palette.grey[300],\n\n ':hover': { borderRadius: '8px', backgroundColor: theme.palette.grey[100] }\n }\n}));\n\nexport const PropertiesAddContainer = styled(Stack)(({ theme }) => ({\n cursor: 'pointer',\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'center',\n\n '.MuiSvgIcon-root': { color: theme.palette.grey[300] },\n '.MuiTypography-root': { color: theme.palette.grey[300] },\n\n ':hover': { borderRadius: '8px', backgroundColor: theme.palette.grey[100] }\n}));\n\nexport const PropertiesInnerContainer = styled(StyledContainer)(({ theme }) => ({\n display: 'grid',\n gridTemplateColumns: 'repeat(auto-fill, minmax(300px, 1fr))',\n gap: '16px',\n padding: '0',\n\n [theme.breakpoints.down('xl')]: {\n gridTemplateColumns: 'repeat(auto-fill, minmax(250px, 1fr))'\n }\n}));\n\nexport const PropertiesDialogInnerContainer = styled(StyledContainer)(() => ({\n gap: '24px'\n}));\n\nexport const PropertiesDialogTextInput = styled(StyledInput)(({ theme }) => ({\n height: '44px',\n color: theme.palette.common.black\n}));\n\nexport const PropertiesAddCardText = styled(StyledText)(({ theme }) => ({\n margin: 'auto',\n color: theme.palette.grey[400]\n}));\n\nexport const LoaderContainer = styled(StyledContainer)(() => ({\n justifyContent: 'center',\n alignItems: 'center',\n height: '30vh'\n}));\n\nexport const PropertiesLoader = styled(StyledLoader)(() => ({\n margin: '200px auto'\n}));\n\nexport const PropertiesErrText = styled(StyledText)(({ theme }) => ({\n color: theme.palette.error.main,\n maxWidth: '466px'\n}));\n","import { PropertyType } from '@/helpers/services/api';\n\nimport { capitalizeFirstLetter } from '@/helpers/utils/capitalizeFirstLetter';\n\nexport const propertyConditionsDropdownValues = [\n { label: 'Greater than or equal', value: 'GE' },\n { label: 'Less than or equal', value: 'LE' }\n];\n\nexport const propertyKindsDropdownValues = Object.values(PropertyType).map((type: string) => ({\n label: capitalizeFirstLetter(type),\n value: type\n}));\n","import React, { useEffect, useState } from 'react';\n\nimport { Stack } from '@mui/material';\n\nimport { PropertyTag } from '@/components/shared/PropertyTag/PropertyTag';\nimport { SamplesTablePopoverSortByProperty } from '@/components/Samples/SamplesTable/SamplesTablePopover/SamplesTablePopoverSortByProperty/SamplesTablePopoverSortByProperty';\n\nimport { StyledDialog, StyledOutlinedDropdown, StyledText } from '@/components/lib';\nimport { StyledPopover, PropertiesDialogPropertyDropdown } from './AddOrEditPropertyDialog.styles';\nimport { PropertiesDialogInnerContainer, PropertiesDialogTextInput, PropertiesErrText } from '../Properties.styles';\n\nimport { resError } from '@/helpers/services/resHandlers';\nimport { getAppStorage } from '@/helpers/utils/localStorage';\nimport { propertyConditionsDropdownValues } from './addOrEditPropertyDialog.helpers';\nimport {\n Operator,\n OrderByModel,\n PropertyType,\n PropertyColumnType,\n updatePropertyConfig,\n ReadPropertyConfigSchema,\n PropertyDefinitionSchema,\n useListPropertiesDefinitions\n} from '@/helpers/services/api';\n\nimport { constants } from '../../overview.constants';\n\nexport interface AddOrEditPropertyDialogProps {\n open: boolean;\n selectedAppId: number;\n interactionType?: string;\n propertyData?: ReadPropertyConfigSchema;\n closeMenu?: () => void;\n closeDialog: () => void;\n refetchProperties: () => void;\n}\n\nconst { conditionLabel, thresholdConst, propertyLabel, chooseProperty, titleAndSubmit } = constants.properties.dialog;\n\nexport const AddOrEditPropertyDialog = (props: AddOrEditPropertyDialogProps) => {\n const { open, selectedAppId, propertyData, interactionType, closeMenu, closeDialog, refetchProperties } = props;\n\n const { type } = getAppStorage();\n\n const [err, setErr] = useState('');\n const [loading, setLoading] = useState(false);\n const [anchorEl, setAnchorEl] = useState(null);\n const [kind, setKind] = useState(propertyData?.kind || '');\n const [threshold, setThreshold] = useState(propertyData?.threshold?.toString() ?? '');\n const [condition, setCondition] = useState(propertyData?.condition || '');\n const [property, setProperty] = useState(propertyData?.text_property || '');\n\n const { data: propertylist, refetch } = useListPropertiesDefinitions(selectedAppId, {\n enviroment: type,\n interaction_type: interactionType\n });\n\n const disabledSubmit =\n (propertyData?.threshold === +threshold && propertyData?.condition === condition) || !property || !kind;\n const selectedProperty = Array.isArray(propertylist)\n ? propertylist?.filter(p => p?.property_name === property)?.[0]\n : ({} as PropertyDefinitionSchema);\n\n const isEditMode = !!propertyData?.id;\n const isCategorical = selectedProperty?.column_type === PropertyColumnType['categorical'];\n\n const propertyId = propertyData?.id\n ? propertyData?.id\n : Array.isArray(propertylist)\n ? propertylist?.filter(p => p?.property_name === property)?.[0]?.id\n : NaN;\n\n const handleCloseDialog = () => {\n closeDialog();\n setKind('');\n setProperty('');\n setThreshold('');\n setCondition('');\n setAnchorEl(null);\n };\n\n const filteredPropertylist = Array.isArray(propertylist)\n ? propertylist?.filter(property => propertyData || !property.in_dashboard)\n : [];\n\n const submitButtonAction = async () => {\n setLoading(true);\n\n const handleFinishCall = () => {\n setErr('');\n setThreshold('');\n setLoading(false);\n refetchProperties();\n handleCloseDialog();\n setKind(propertyData?.kind || '');\n setCondition(propertyData?.condition || '');\n setProperty(propertyData?.text_property || '');\n\n closeMenu && closeMenu();\n };\n\n await updatePropertyConfig(Number(propertyId), {\n in_dashboard: true,\n threshold: Number(threshold),\n condition: (condition as Operator) || null\n }).then(res => {\n if ((res as resError)?.error_message) {\n setErr((res as resError)?.error_message);\n setLoading(false);\n } else {\n handleFinishCall();\n }\n });\n };\n\n const handleApplyClick = (newKind: OrderByModel, newProperty?: string) => {\n setKind(newKind.split('_properties')[0]);\n\n if (newProperty) {\n setProperty(newProperty);\n }\n\n setAnchorEl(null);\n };\n\n useEffect(() => {\n if (open) {\n refetch();\n\n if (propertyData) {\n setKind(propertyData.kind);\n setProperty(propertyData.text_property);\n setCondition(propertyData.condition || '');\n setThreshold(propertyData?.threshold?.toString() ?? '');\n }\n }\n }, [open]);\n\n if (!open) return null;\n\n return (\n \n \n \n \n !isEditMode && setAnchorEl(e.currentTarget)}\n >\n \n {property && }\n \n \n setAnchorEl(null)}>\n \n \n {!isCategorical && (\n <>\n \n setThreshold(e.target.value)}\n />\n \n )}\n {err && }\n \n \n );\n};\n","import { Box, Menu, MenuItem, styled, Typography } from '@mui/material';\n\nexport const StyledContainer = styled(Box)(({ theme }) => ({\n padding: '32px 24px',\n border: `1px solid ${theme.palette.grey[200]}`,\n borderRadius: '16px',\n height: '100%',\n minHeight: '402px',\n background: theme.palette.common.white,\n\n [theme.breakpoints.up('md')]: {\n minHeight: '317px',\n padding: '20px 16px'\n }\n}));\n\nexport const StyledRootMenu = styled(Menu)({\n marginTop: '9px',\n\n '& .MuiPaper-root': {\n overflow: 'visible',\n padding: '6px 0',\n borderRadius: '12px',\n boxShadow: '2px 2px 30px -10px rgba(41, 53, 67, 0.25)'\n }\n});\n\nexport const StyledMenuItem = styled(MenuItem)(({ theme }) => ({\n position: 'relative',\n padding: '12px 17px',\n gap: '12px',\n\n '& svg': {\n color: theme.palette.primary.main\n }\n}));\n\nexport const StyledText = styled(Typography)(({ theme }) => ({\n fontSize: '14px',\n lineHeight: '32px',\n marginTop: 'auto',\n paddingTop: '16px',\n color: theme.palette.grey[600],\n textDecoration: 'none'\n}));\n","import React, { useState } from 'react';\n\nimport { MenuProps } from '@mui/material';\nimport { EditOutlined, HighlightOffOutlined } from '@mui/icons-material';\n\nimport { AddOrEditPropertyDialog } from '../../AddOrEditPropertyDialog/AddOrEditPropertyDialog';\n\nimport { StyledText } from '@/components/lib';\nimport { StyledMenuItem, StyledRootMenu } from './PropertyMenu.styles';\n\nimport { getAppStorage } from '@/helpers/utils/localStorage';\nimport { ReadPropertyConfigSchema, updatePropertyConfig } from '@/helpers/services/api';\n\nimport { constants } from '@/components/Overview/overview.constants';\n\ninterface PropertyMenuProps extends MenuProps {\n propertyData: ReadPropertyConfigSchema;\n refetchProperties: () => void;\n handleCloseRootMenu: () => void;\n}\n\nexport const PropertyMenu = (props: PropertyMenuProps) => {\n const { propertyData, handleCloseRootMenu, refetchProperties, ...otherProps } = props;\n const [isDialogOpen, setIsDialogOpen] = useState(false);\n\n const { appId } = getAppStorage();\n\n const handleOpenEditDialog = () => {\n setIsDialogOpen(true);\n handleCloseRootMenu();\n };\n\n const handleCloseEditDialog = () => setIsDialogOpen(false);\n\n const handleDeleteProperty = async () => {\n await updatePropertyConfig(propertyData?.id, {\n condition: propertyData?.condition,\n threshold: propertyData?.threshold,\n in_dashboard: false\n }).then(() => {\n handleCloseRootMenu();\n refetchProperties();\n });\n };\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import { styled } from '@mui/material';\nimport { MoreHorizRounded } from '@mui/icons-material';\n\nimport { StyledContainer, StyledText } from '@/components/lib';\n\nimport { CategoryPropertyValue } from '@/helpers/services/api';\n\nexport const PropertyContainer = styled(StyledContainer, {\n shouldForwardProp: prop => prop !== 'score'\n})<{ score?: number | CategoryPropertyValue[] | undefined }>(({ score, theme }) => ({\n height: '100px',\n maxWidth: '400px',\n transition: '0.5s',\n flexDirection: 'row',\n padding: '12px 16px',\n alignItems: 'center',\n opacity: score === undefined ? 0.6 : 1,\n border: `2px solid ${theme.palette.grey[200]}`,\n cursor: score == undefined ? 'not-allowed' : 'pointer',\n\n ':hover': {\n background: theme.palette.grey[100]\n },\n\n [theme.breakpoints.down('xl')]: {\n height: '90px',\n maxWidth: '300px'\n }\n}));\n\nexport const PropertyContentContainer = styled(StyledContainer)(({ theme }) => ({\n padding: '0',\n\n '.MuiTypography-h3': {\n whiteSpace: 'nowrap',\n color: theme.palette.grey[600]\n }\n}));\n\nexport const PropertyCategoriesContainer = styled(StyledContainer)(() => ({\n padding: '0',\n flexDirection: 'row'\n}));\n\nexport const PropertyContentInnerContainer = styled(StyledContainer)(({ theme }) => ({\n height: 'auto',\n padding: '16px 0',\n flexDirection: 'row',\n justifyContent: 'space-between',\n maxWidth: 'calc(100% - 60px)',\n\n [theme.breakpoints.down('xl')]: {\n padding: '18px 0'\n }\n}));\n\nexport const PropertyActionsContainer = styled(StyledContainer, {\n shouldForwardProp: prop => prop !== 'svg_color'\n})<{ svg_color?: string }>(({ svg_color }) => ({\n padding: 0,\n width: '50px',\n height: '100%',\n justifyContent: 'space-between',\n\n '.MuiSvgIcon-root': { color: svg_color, fontSize: '20px', margin: '0 0 0 32px' }\n}));\n\nexport const PropertyOtherPropContainer = styled(StyledContainer)(() => ({\n width: '100%',\n flexDirection: 'row',\n padding: 0\n}));\n\nexport const PropertyScoreColor = styled(StyledContainer)(() => ({\n width: '10px',\n height: '10px',\n borderRadius: '50%',\n margin: '8px 4px 0 auto',\n padding: 0\n}));\n\nexport const PropertyMenuIcon = styled(MoreHorizRounded)(({ theme }) => ({\n marginLeft: 'auto',\n cursor: 'pointer',\n color: theme.palette.grey[400]\n}));\n\nexport const PropertyScoreText = styled(StyledText)(({ theme }) => ({\n fontSize: '28px',\n lineHeight: '30px',\n fontWeight: 500,\n marginTop: '8px',\n\n [theme.breakpoints.down('xl')]: {\n fontSize: '20px',\n lineHeight: '24px'\n }\n}));\n\nexport const PropertyCategoryPercentage = styled(StyledText, {\n shouldForwardProp: prop => prop !== 'percentage'\n})<{ percentage: number }>(({ percentage, theme }) => ({\n width: '75px',\n height: '40px',\n padding: '6px',\n fontWeight: 700,\n fontSize: '10px',\n lineHeight: '16px',\n borderRadius: '6px',\n color: theme.palette.grey[400],\n background: `linear-gradient(to right, ${theme.palette.grey[200]} ${percentage * 100}%, ${theme.palette.grey[100]} ${\n percentage * 100\n }%)`,\n\n ':first-line': { fontSize: '14px', color: theme.palette.grey[600] }\n}));\n","import React from 'react';\n\nimport { StyledText } from '@/components/lib';\nimport {\n PropertyCategoriesContainer,\n PropertyCategoryPercentage,\n PropertyContentContainer,\n PropertyScoreText\n} from '../Property.styles';\n\nimport { CategoryPropertyValue } from '@/helpers/services/api';\n\nimport { ReadPropertyConfigSchemaExtended } from '../Property';\n\ninterface PropertyContentProps {\n score: number | undefined | CategoryPropertyValue[];\n scoreDynamicColor: string;\n propertyData: ReadPropertyConfigSchemaExtended;\n}\n\nconst constants = {\n categoricalTitle: (name: string, numberOfCategories: number) => `${name} | ${numberOfCategories}`,\n categoryLabel: (category: string | null | undefined, percentage: number) =>\n `${String(category).slice(0, 7) + `${Number(category?.length) > 7 ? '...' : ''}`}\\n${Math.round(percentage * 100)}%`\n};\n\nexport const PropertyContent = ({ propertyData, score, scoreDynamicColor }: PropertyContentProps) => {\n const isCategorical = typeof score === 'object';\n\n if (isCategorical) {\n const numberOfCategories = score?.length;\n const totalCount = Array?.isArray(score)\n ? score?.map(e => e.count)?.reduce((total, value) => total + Number(value), 0)\n : 0;\n\n return (\n \n \n \n {Array.isArray(score) &&\n score\n .slice(0, 2)\n .map(category => (\n \n ))}\n \n \n );\n }\n\n const scoreToDisplay = !!score || score === 0 ? Number(score) : 'N/A';\n\n return (\n \n \n \n \n );\n};\n","import React, { useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { BoxProps, useTheme } from '@mui/material';\n\nimport { useSortable } from '@dnd-kit/sortable';\nimport { CSS } from '@dnd-kit/utilities';\n\nimport { PropertyMenu } from './PropertyMenu/PropertyMenu';\nimport { PropertyContent } from './PropertyContent/PropertyContent';\nimport { PropertyTag } from '@/components/shared/PropertyTag/PropertyTag';\n\nimport { StyledToolTip } from '@/components/lib';\n\nimport {\n PropertyMenuIcon,\n PropertyContainer,\n PropertyActionsContainer,\n PropertyContentInnerContainer\n} from './Property.styles';\n\nimport { routes } from '@/helpers/routes';\nimport { shakingAnimation } from '@/helpers/animations';\nimport { getAppStorage } from '@/helpers/utils/localStorage';\nimport { useScoreColor } from '@/helpers/hooks/useScoreColor';\nimport {\n Operator,\n CategoryPropertyValue,\n ReadPropertyConfigSchema,\n PropertyDefinitionSchema\n} from '@/helpers/services/api';\n\nimport { constants } from '../../overview.constants';\nimport { constants as interactionTypesConstants } from '@/components/shared/InteractionTypeDropDown/interactionTypes.constants';\n\nexport interface ReadPropertyConfigSchemaExtended extends ReadPropertyConfigSchema {\n order?: string;\n}\n\ninterface PropertyProps extends BoxProps {\n isDragAndDrop: boolean;\n activeOrder?: null | string;\n propertyInfo: PropertyDefinitionSchema;\n propertyData: ReadPropertyConfigSchemaExtended;\n score: number | CategoryPropertyValue[] | undefined;\n refetchProperties: () => void;\n setCurrentProperty: (property: ReadPropertyConfigSchemaExtended) => void;\n}\n\nexport const Property = (props: PropertyProps) => {\n const {\n score,\n activeOrder,\n propertyData,\n propertyInfo,\n isDragAndDrop,\n refetchProperties,\n setCurrentProperty,\n ...otherProps\n } = props;\n\n const { attributes, listeners, transform, transition, setNodeRef, isDragging } = useSortable({\n id: `${propertyData.order}`\n });\n\n const style = {\n transform: CSS.Transform.toString(transform),\n transition: transform ? transition : 'none',\n background: isDragging ? 'rgba(127, 207, 250, 0.3)' : '#FFFFFF'\n };\n\n const isAnimationNeed = isDragAndDrop && !isDragging && !activeOrder;\n\n const [hover, setHover] = useState(false);\n const [anchorElRootMenu, setAnchorElRootMenu] = useState(null);\n\n const { push } = useRouter();\n\n const theme = useTheme();\n const scoreColor = useScoreColor(Number(score), propertyData?.condition as Operator, Number(propertyData?.threshold));\n\n const { interactionType: interactionTypeStorage } = getAppStorage();\n\n const scoreDynamicColor = hover ? scoreColor : theme.palette.grey[600];\n\n const interactionTypesList = Array?.isArray(interactionTypeStorage?.options)\n ? interactionTypeStorage?.options\n : interactionTypesConstants?.types;\n\n const interactionTypeInfo = interactionTypesList?.find(\n el => el.name?.toLowerCase() === propertyData.interaction_type?.toLowerCase()\n );\n\n const handleStartHover = () => setHover(true);\n\n const handleStopHover = () => setHover(false);\n\n const handleOpenRootMenu = (event: React.MouseEvent) => {\n event.stopPropagation();\n setAnchorElRootMenu(event.currentTarget as unknown as HTMLElement);\n };\n\n const handleCloseRootMenu = () => {\n setAnchorElRootMenu(null);\n handleStopHover();\n };\n\n const handleRedirect = () => {\n push(\n `${routes.config.properties}?drillDownPropertyName=${propertyData?.text_property}&drillDownPropertyType=${propertyData?.kind}`\n );\n };\n\n const currentProps = {\n ...otherProps,\n ...(isDragAndDrop\n ? {\n style: style,\n sx: { animation: isAnimationNeed ? `${shakingAnimation} 0.6s infinite ease` : 'none' },\n ref: setNodeRef,\n ...listeners,\n ...attributes\n }\n : {\n onMouseOver: handleStartHover,\n onMouseLeave: handleStopHover\n })\n };\n\n if (isDragging) {\n return ;\n }\n\n return (\n \n \n (isDragAndDrop || score == undefined ? {} : setCurrentProperty(propertyData))}\n >\n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\n\nimport { BoxProps } from '@mui/material';\n\nimport { PropertyTag } from '@/components/shared/PropertyTag/PropertyTag';\nimport { PropertyContent } from './PropertyContent/PropertyContent';\n\nimport { StyledToolTip } from '@/components/lib';\nimport {\n PropertyContainer,\n PropertyScoreColor,\n PropertyActionsContainer,\n PropertyContentInnerContainer\n} from './Property.styles';\n\nimport { useScoreColor } from '@/helpers/hooks/useScoreColor';\nimport {\n Operator,\n CategoryPropertyValue,\n ReadPropertyConfigSchema,\n PropertyDefinitionSchema\n} from '@/helpers/services/api';\n\nimport { constants } from '../../overview.constants';\n\ninterface StaticDndPropertyProps extends BoxProps {\n propertyData: ReadPropertyConfigSchema;\n propertyInfo: PropertyDefinitionSchema;\n score: number | CategoryPropertyValue[] | undefined;\n}\n\nexport const StaticDndProperty = (props: StaticDndPropertyProps) => {\n const { score, propertyData, propertyInfo, ...otherProps } = props;\n\n const scoreColor = useScoreColor(Number(score), propertyData?.condition as Operator, Number(propertyData?.threshold));\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\n\nimport { SampleDetailsDialog } from '@/components/shared/SampleDetailsDialog/SampleDetailsDialog';\n\nimport { ReadPropertyConfigSchema, useRetrieveInteraction } from '@/helpers/services/api';\nimport { getAppStorage } from '@/helpers/utils/localStorage';\n\ninterface PropertyDrillDownDialogProps {\n currentInteractionId: string;\n open: boolean;\n closeDialog: () => void;\n updateAnnotation: (interactionId: string, annotation: string, reason: string, isEstimated?: boolean) => void;\n listOfProperties: ReadPropertyConfigSchema[];\n}\n\nexport const PropertyDrillDownDialog = ({\n currentInteractionId,\n open,\n closeDialog,\n updateAnnotation,\n listOfProperties\n}: PropertyDrillDownDialogProps) => {\n const { versionId, appId } = getAppStorage();\n const { data, isFetching } = useRetrieveInteraction(versionId, currentInteractionId);\n\n if (isFetching) {\n return <>;\n }\n\n return (\n \n );\n};\n","import React from 'react';\n\nimport { Stack, styled } from '@mui/material';\nimport ArrowBackIosIcon from '@mui/icons-material/ArrowBackIos';\nimport InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';\n\nimport { StyledText, StyledDropdown } from '@/components/lib';\nimport { TextProps } from '@/components/lib/components/Text/Text';\n\nexport const StyledContainer = styled(Stack)({\n flexWrap: 'wrap',\n flexDirection: 'row',\n alignItems: 'center',\n marginBottom: '24px'\n});\n\nexport const StyledArrowBackIcon = styled(ArrowBackIosIcon)(({ theme }) => ({\n cursor: 'pointer',\n marginRight: '5px',\n fill: theme.palette.grey[500],\n transition: 'opacity 0.3s ease',\n\n '&:hover': { opacity: 0.5 }\n}));\n\nexport const StyledName = styled(StyledText)({\n marginRight: '8px'\n});\n\nexport const StyledInfoIcon = styled(InfoOutlinedIcon)(({ theme }) => ({\n height: '24px',\n fill: theme.palette.primary.main\n}));\n\nconst StyledValuesSectionContainerBase = styled(Stack)({\n flexDirection: 'row',\n alignItems: 'center'\n});\n\nexport const StyledValuesContainer = styled(StyledValuesSectionContainerBase)({\n minWidth: '200px',\n marginLeft: '24px',\n marginRight: 'auto',\n justifyContent: 'center'\n});\n\nexport const StyledValueLabel = styled((props: TextProps) => )(\n ({ theme }) => ({\n color: theme.palette.grey[400]\n })\n);\n\ninterface StyledValuesProps {\n background_color?: string;\n}\n\nexport const StyledValues = styled(StyledValuesSectionContainerBase, {\n shouldForwardProp: prop => prop !== 'background_color'\n})(({ theme, background_color }) => ({\n margin: '0 12px',\n padding: '4px 10px',\n borderRadius: '10px',\n background: background_color,\n justifyContent: 'space-between',\n color: theme.palette.common.white,\n\n '& svg': { opacity: 0.6, height: '13px' }\n}));\n\nexport const StyledValue = styled((props: TextProps) => )(({ theme }) => ({\n color: theme.palette.common.white\n}));\n\nexport const StyledCondition = styled((props: TextProps) => )({\n opacity: 0.6\n});\n\nexport const StyledOperator = styled(StyledCondition)({\n margin: '0 2px 0 1px'\n});\n\nexport const StyledOrderDropdown = styled(StyledDropdown)({\n width: 'auto'\n});\n","import { Stack, styled } from '@mui/material';\n\nimport { StyledButton } from '@/components/lib';\n\nexport const StyledContainer = styled(Stack)({\n padding: '0',\n margin: '-18px 0',\n minHeight: '400px',\n borderRadius: '16px'\n});\n\ninterface StyledContentContainerProps {\n categorical?: string;\n}\n\nexport const StyledContentContainer = styled(Stack, {\n shouldForwardProp: prop => prop !== 'categorical'\n})(({ categorical, theme }) => ({\n display: 'grid',\n gridTemplateColumns: categorical === 'true' ? '360px auto' : '430px auto',\n height: '100%',\n maxHeight: 'calc(100% - 112px)',\n\n '@media (max-width: 850px)': {\n overflow: 'auto',\n\n '&::-webkit-scrollbar': {\n height: '6px'\n },\n '&::-webkit-scrollbar-thumb': {\n backgroundColor: theme.palette.grey[300],\n borderRadius: '8px'\n },\n '&::-webkit-scrollbar-thumb:hover': {\n background: theme.palette.grey[500]\n }\n }\n}));\n\nexport const StyledSeeAllSamplesButton = styled(StyledButton)(({ theme }) => ({\n color: theme.palette.primary.main,\n padding: '16px 4px',\n marginLeft: 'auto'\n}));\n","export const constants = {\n avgValueTitle: 'Avg.Value',\n conditionTitle: 'Condition',\n linkTooltip: 'More Details'\n};\n","export const constants = {\n buttonLabel: 'See Interactions',\n highestValues: 'Highest values',\n lowestValues: 'Lowest values',\n noPropertyMessage: 'No data exists about this property for the selected application',\n distributionOverTime: {\n margin: '0 auto 24px',\n width: '100%'\n },\n limit: 2,\n chart: {\n title: 'Score Distribution',\n subtitle: 'Score',\n yAxisName: 'Density'\n }\n};\n","import React from 'react';\n\nimport { StackProps } from '@mui/material';\n\nimport { PropertyTag } from '@/components/shared/PropertyTag/PropertyTag';\n\nimport { StyledSkeleton, StyledToolTip } from '@/components/lib';\nimport {\n StyledName,\n StyledValue,\n StyledValues,\n StyledOperator,\n StyledInfoIcon,\n StyledCondition,\n StyledContainer,\n StyledValueLabel,\n StyledOrderDropdown,\n StyledArrowBackIcon,\n StyledValuesContainer\n} from './PropertyDrillDownHeader.styles';\nimport { StyledSeeAllSamplesButton } from '../PropertyDrillDown.styles';\n\nimport { operatorToSign } from '@/helpers/utils/operatorToSign';\nimport { useScoreColor } from '@/helpers/hooks/useScoreColor';\nimport {\n EnvType,\n Operator,\n ReadPropertyConfigSchema,\n ListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet200\n} from '@/helpers/services/api';\n\nimport { constants } from './propertyDrillDownHeader.constants';\nimport { constants as propertyDrillDownConstants } from '../propertyDrillDown.constants';\n\ninterface PropertyDrillDownHeaderProps extends StackProps {\n name: string;\n orderType: string;\n selectedEnv: string;\n isFetching: boolean;\n isCategorical?: boolean;\n isDataAvailable: boolean;\n currentProperty: ReadPropertyConfigSchema;\n propertyInfo: { description: string; url: string };\n headerData: ListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet200 | undefined;\n handleRedirectToSamples: () => void;\n setOrderType: React.Dispatch>;\n setCurrentProperty: React.Dispatch;\n}\n\nconst { avgValueTitle, conditionTitle, linkTooltip } = constants;\nconst { highestValues, lowestValues, buttonLabel } = propertyDrillDownConstants;\n\nexport const PropertyDrillDownHeader = (props: PropertyDrillDownHeaderProps) => {\n const {\n name,\n orderType,\n isFetching,\n headerData,\n selectedEnv,\n propertyInfo,\n isCategorical,\n currentProperty,\n isDataAvailable,\n setOrderType,\n setCurrentProperty,\n handleRedirectToSamples,\n ...otherProps\n } = props;\n\n const { condition, threshold, id } = currentProperty;\n\n const isProd = selectedEnv === EnvType['PROD'];\n\n const value = headerData && headerData[selectedEnv]?.[id];\n const valuesContainerBg = useScoreColor(Number(value), condition as Operator, Number(threshold));\n\n return (\n \n setCurrentProperty(null)} />\n \n \n \n \n \n {isProd ? (\n \n ) : (\n !isCategorical && (\n <>\n \n {isFetching ? (\n \n ) : value ? (\n <>\n \n \n \n {condition && }\n \n \n {condition && }\n \n ) : (\n <>\n )}\n \n {isDataAvailable && (\n \n )}\n \n )\n )}\n \n );\n};\n","import { Divider, Stack, styled } from '@mui/material';\n\nimport { StyledButton, StyledText, StyledContainer } from '@/components/lib';\n\nimport { fadeInAnimation } from '@/helpers/animations';\n\nexport const AnnotationAndScoreContainer = styled(StyledContainer)<{ is_compare?: string }>(\n ({ theme, is_compare }) => ({\n gap: '8px',\n minWidth: '300px',\n background: theme.palette.common.white,\n animation: `${fadeInAnimation} 0.5s ease`,\n padding: is_compare ? '16px' : '24px 24px 16px 24px',\n border: `2px solid ${is_compare === 'true' ? theme.palette.primary.main : theme.palette.grey[200]}`\n })\n);\n\nexport const StyledTextButton = styled(StyledButton)(({ theme }) => ({\n padding: 0,\n color: theme.palette.primary.main\n}));\n\nexport const StyledResponseText = styled(StyledText)<{ is_compare?: string; is_drill_down?: string }>(\n ({ theme, is_compare, is_drill_down }) => ({\n fontWeight: 500,\n fontSize: '15px',\n wordBreak: 'break-word',\n color: theme.palette.grey[600],\n maxWidth: is_compare ? '100%' : '20vw',\n minHeight: is_compare ? '81px' : 'auto',\n\n ...(is_drill_down === 'true'\n ? {\n overflow: 'auto',\n maxHeight: '165px'\n }\n : {\n display: '-webkit-box',\n textOverflow: 'ellipsis',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: is_compare ? '4' : '7',\n maxHeight: is_compare ? '81px' : '150px'\n })\n })\n);\n\nexport const StyledInputText = styled(StyledText)<{ is_compare?: string }>(({ theme, is_compare }) => ({\n fontWeight: 500,\n fontSize: '15px',\n overflow: 'hidden',\n WebkitLineClamp: '2',\n whiteSpace: 'initial',\n display: '-webkit-box',\n wordBreak: 'break-word',\n textOverflow: 'ellipsis',\n WebkitBoxOrient: 'vertical',\n color: theme.palette.grey[600],\n maxWidth: is_compare ? '100%' : '20vw',\n minHeight: is_compare ? '44px' : 'auto',\n maxHeight: is_compare ? '44px' : 'auto'\n}));\n\nexport const AnnotationAndScoreWrapper = styled(StyledContainer)({\n padding: '0',\n marginTop: 'auto',\n flexDirection: 'row',\n alignItems: 'center',\n\n '.MuiSvgIcon-root': { cursor: 'pointer' }\n});\n\nexport const StyledScoreBorderContainer = styled(StyledContainer)(({ theme }) => ({\n width: '44px',\n height: '48px',\n borderRadius: '6px',\n alignItems: 'center',\n border: `2px solid ${theme.palette.grey[200]}`,\n\n '.MuiTypography-root': {\n width: '38px',\n fontWeight: 600,\n textAlign: 'center',\n whiteSpace: 'nowrap',\n color: theme.palette.grey[400]\n }\n}));\n\nexport const StyledItemDivider = styled(Divider)(({ theme }) => ({\n height: '1px',\n width: 'calc(50% - 40px)',\n background: theme.palette.grey[200]\n}));\n\nexport const StyledDividerContainer = styled(Stack)({\n width: '100%',\n padding: '16px 0',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between'\n});\n\nexport const StyledName = styled(StyledText)(({ theme }) => ({\n color: theme.palette.grey[400]\n}));\n\nexport const ScoreWrapper = styled(Stack)({\n gap: '8px',\n marginLeft: 'auto',\n flexDirection: 'row',\n alignItems: 'center'\n});\n\nexport const AnnotationCellWrapper = styled(Stack)<{ is_compare?: string }>(({ theme, is_compare }) => ({\n width: '48px',\n padding: '0 8px',\n borderRadius: '8px',\n justifyContent: 'center',\n border: is_compare === 'true' ? `2px solid ${theme.palette.grey[200]}` : 'none'\n}));\n","import React from 'react';\n\nimport { StyledDividerContainer, StyledItemDivider, StyledName } from '../AnnotationAndScore.styles';\n\nconst constants = { outputLabel: 'Output' };\n\nexport const AnnotationAndScoreDivider = () => (\n \n \n \n \n \n);\n","import React, { useState, useEffect } from 'react';\n\nimport { StyledText, StyledToolTip } from '@/components/lib';\nimport { AnnotationType, TextScore, TextScoreAnnotation } from '@/helpers/services/api';\n\nimport { AnnotationCell } from '@/components/shared/SamplesAnnotationCell/SamplesAnnotationCell';\nimport { AnnotationAndScoreDivider } from './AnnotationAndScoreDivider/AnnotationAndScoreDivider';\n\nimport {\n AnnotationAndScoreWrapper,\n AnnotationAndScoreContainer,\n StyledTextButton,\n StyledInputText,\n StyledResponseText,\n StyledScoreBorderContainer,\n ScoreWrapper,\n AnnotationCellWrapper\n} from './AnnotationAndScore.styles';\n\ninterface AnnotationAndScoreProps {\n sample: TextScore;\n isCompare?: boolean;\n isDrillDown?: boolean;\n propertyName?: string;\n handleOpenDialog: (interactionId: string) => void;\n}\n\nconst constants = {\n viewMore: 'View More',\n scoreTooltip: (propertyName: string) => `${propertyName} Score`\n};\n\nconst { viewMore, scoreTooltip } = constants;\n\nexport const AnnotationAndScore = (props: AnnotationAndScoreProps) => {\n const { sample, isCompare, propertyName, handleOpenDialog, isDrillDown } = props;\n const { input, output, user_interaction_id, annotation: sampleAnnotation, score, estimated_annotation } = sample;\n\n const [baseAnnotation, setBaseAnnotation] = useState(sampleAnnotation);\n\n const formattedScore = typeof score === 'number' ? Number(score)?.toFixed(2) : null;\n\n const handleDetailsClick = (e: React.SyntheticEvent) => {\n e.stopPropagation();\n handleOpenDialog && handleOpenDialog(user_interaction_id);\n };\n\n const updateAnnotation = (\n _interactionId: string,\n annotation: string,\n reason: string,\n isEstimated?: boolean,\n deleteAnnotation?: boolean\n ) => {\n setBaseAnnotation(\n deleteAnnotation\n ? null\n : {\n updated_at: baseAnnotation?.updated_at ?? '',\n created_at: baseAnnotation?.created_at ?? '',\n is_estimated: isEstimated ? true : false,\n value: annotation as AnnotationType,\n reason: reason,\n origin: baseAnnotation?.origin ?? null,\n similarity_reason: baseAnnotation?.similarity_reason ?? null\n }\n );\n };\n\n useEffect(() => {\n setBaseAnnotation(sampleAnnotation);\n }, [sampleAnnotation]);\n\n return (\n \n \n \n \n \n handleDetailsClick(e)}\n data-testid={`viewMore${user_interaction_id}`}\n />\n \n \n \n \n {formattedScore && propertyName && (\n \n \n \n \n \n )}\n \n \n \n );\n};\n","import { Divider, Stack, styled } from '@mui/material';\n\nexport const StyledContainer = styled(Stack)({\n gap: '24px',\n width: '100%',\n height: '100%',\n overflow: 'auto',\n flexDirection: 'row',\n\n '@media (max-width: 850px)': { overflow: 'visible', maxHeight: '340px' }\n});\n\nexport const StyledInteractionsContainer = styled(Stack)({\n gap: '24px',\n width: '100%',\n flexDirection: 'row-reverse'\n});\n\nexport const StyledDivider = styled(Divider)(({ theme }) => ({\n border: `0.1px solid ${theme.palette.grey[300]}`\n}));\n","import React from 'react';\n\nimport { StackProps } from '@mui/material';\n\nimport { StyledSkeleton } from '@/components/lib';\nimport { NoDataAvailable } from '@/components/shared/NoDataAvailable/NoDataAvailable';\nimport { AnnotationAndScore } from '@/components/shared/AnnotationAndScore/AnnotationAndScore';\n\nimport { StyledContainer, StyledDivider, StyledInteractionsContainer } from './PropertyDrillDownInteractions.styles';\n\nimport { TextScore } from '@/helpers/services/api';\n\nexport interface PropertyDrillDownInteractionsProps extends StackProps {\n name: string;\n isFetching: boolean;\n isCategorical: boolean;\n data: TextScore[] | undefined;\n handleOpenDialog: (interactionId: string) => void;\n}\n\nexport const constants = { skeleton: { height: '100%', width: '50%' } };\n\nexport const PropertyDrillDownInteractions = (props: PropertyDrillDownInteractionsProps) => {\n const { name, data, isFetching, isCategorical, handleOpenDialog } = props;\n\n const showDivider = isCategorical && (isFetching || !data?.length);\n\n return (\n \n {showDivider && }\n {isFetching ? (\n [1, 2]?.map(i => )\n ) : Array.isArray(data) && data?.length ? (\n \n {data?.map(e => (\n \n ))}\n \n ) : (\n \n )}\n \n );\n};\n","import React from 'react';\n\nimport { StyledDistributionChart, StyledSkeleton } from '@/components/lib';\n\nimport {\n EnvType,\n useGetPropertyHistogram,\n ReadPropertyConfigSchema,\n ListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet200\n} from '@/helpers/services/api';\n\nimport { constants } from '../propertyDrillDown.constants';\n\ninterface GetPropertyHistogramData {\n hist: number[];\n bin_edges: number[];\n greater_is_better: boolean | null;\n}\n\ninterface PropertyDrillDownDistributionProps {\n versionId: number;\n selectedEnv: string;\n currentProperty: ReadPropertyConfigSchema;\n headerData: ListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet200 | undefined;\n}\n\nconst { title, subtitle, yAxisName } = constants.chart;\n\nexport const PropertyDrillDownDistribution = (props: PropertyDrillDownDistributionProps) => {\n const { currentProperty, headerData, selectedEnv, versionId } = props;\n\n const { threshold, id, kind, text_property, interaction_type } = currentProperty;\n\n const { data, isLoading }: { data?: GetPropertyHistogramData; isLoading: boolean } = useGetPropertyHistogram(\n versionId,\n selectedEnv as EnvType,\n { property_type: kind, property_name: text_property, interaction_type: interaction_type }\n );\n\n const value = headerData && headerData[selectedEnv]?.[id];\n const average = typeof value === 'number' ? +value?.toFixed(2) : 0;\n\n const labelNamesLength = data?.bin_edges?.length;\n const isNeedToLeftMoreNumbers = labelNamesLength && +data.bin_edges[labelNamesLength - 1]?.toFixed(3) === 0;\n const curLabels = Array.isArray(data?.bin_edges)\n ? data?.bin_edges?.map((el: number) => (isNeedToLeftMoreNumbers ? +el.toFixed(5) : +el.toFixed(3))) || []\n : [];\n\n const curData = data?.hist || [];\n const curAverage = curLabels?.findIndex(el => average < el);\n const curCondition = curLabels?.findIndex(el => Number(threshold) < el);\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n );\n};\n","export default {\"src\":\"/_next/static/media/no-results-in-range.ad569a66.svg\",\"height\":186,\"width\":298,\"blurWidth\":0,\"blurHeight\":0};","import { Stack, styled, alpha } from '@mui/material';\n\nimport { StyledContainer, StyledText } from '@/components/lib';\n\nimport { fadeInAnimation } from '@/helpers/animations';\n\nimport noDataImg from '@/public/assets/chart/no-results-in-range.svg';\n\nexport const OverviewNoVersionSelectedContainer = styled(StyledContainer)({\n width: '100%',\n height: '100%',\n margin: 'auto',\n marginTop: '27vh',\n alignItems: 'center',\n justifyContent: 'center',\n animation: `${fadeInAnimation} 0.5s ease`,\n gap: 0\n});\n\nexport const OverviewNoVersionSelectedButton = styled(StyledText)(({ theme }) => ({\n color: theme.palette.primary.main,\n display: 'inline',\n marginLeft: '4px',\n textDecoration: 'underline',\n cursor: 'pointer'\n}));\n\nexport const StyledImageContainer = styled(Stack)(({ theme }) => ({\n background: alpha(theme.palette.primary.main, 0.2),\n marginBottom: '32px',\n width: '80px',\n height: '80px',\n borderRadius: '48px',\n justifyContent: 'center',\n alignItems: 'center',\n\n '& svg': {\n height: '48px',\n width: '48px'\n }\n}));\n\nexport const StyledTitleText = styled(StyledText)(({ theme }) => ({\n color: theme.palette.grey[400]\n}));\n\nexport const StyledSubTitleText = styled(StyledText)(({ theme }) => ({\n marginTop: '4px',\n maxWidth: '250px',\n textAlign: 'center',\n color: theme.palette.grey[300]\n}));\n\nexport const InsightsEmptyContainer = styled(StyledContainer)(({ theme }) => ({\n display: 'grid',\n gridTemplateRows: '40px auto',\n\n [theme.breakpoints.down('xl')]: { display: 'none' }\n}));\n\nexport const AnnotationOvertimeGraphContainer = styled(StyledContainer)({\n minHeight: '535px',\n\n '.MuiTypography-h2': { margin: '12px' },\n\n canvas: { animation: `${fadeInAnimation} 0.5s ease` }\n});\n\nexport const AnnotationOvertimeGraphHeaderContainer = styled(Stack)(({ theme }) => ({\n margin: '0 16px 0 0',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n\n '.MuiTypography-h5': { span: { color: theme.palette.primary.main } }\n}));\n\nexport const OvertimeGraphNoDataImage = styled(Stack)({\n zIndex: 2,\n width: '298px',\n height: '184px',\n alignSelf: 'center',\n background: '#ffffff',\n backgroundSize: 'cover',\n margin: '70px auto -250px',\n backgroundPosition: 'center',\n backgroundImage: `url(${noDataImg.src})`,\n animation: `${fadeInAnimation} 0.5s ease`\n});\n","import React, { useEffect, useRef, useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport dayjs from 'dayjs';\n\nimport { StyledComboChart, StyledLoader, StyledText } from '@/components/lib';\nimport {\n OvertimeGraphNoDataImage,\n AnnotationOvertimeGraphContainer,\n AnnotationOvertimeGraphHeaderContainer\n} from '../OverviewNoVersionSelected/OverviewNoVersionSelected.styles';\n\nimport { getPercentage } from '@/helpers/utils/getPercentage';\nimport {\n EnvType,\n AnnotationsMonitorSchema,\n getAnnotationsMonitorApiV1ApplicationVersionsApplicationVersionIdGetAnnotationsMonitorPost\n} from '@/helpers/services/api';\n\ninterface AnnotationOvertimeGraphProps {\n envType: EnvType;\n interactionType: string;\n selectedVersionId: number;\n isAppCalcInProgress: boolean;\n timestamp: { start: number; end: number };\n}\n\nconst constants = {\n score: ' | Score ',\n title: 'Overtime Status',\n graphStyles: { margin: '0 auto' },\n legends: ['User Annotation', 'Estimated Annotation', 'Unknown'],\n graphSizes: { width: '98% !important', height: '400px !important' },\n inProgressLabel: '* Estimated Annotations are still been calculated, please refresh to see updated data',\n distribution: (interactions?: number, annotations?: string) =>\n `Total: ${interactions} Interactions \\n Annotated: ${annotations}`\n};\n\nexport const OVERTIME_LOADING_DEBOUNCE = 500;\nexport const OVERTIME_LOADING_TIMEOUT = 1000;\n\nconst { title, score, legends, graphStyles, graphSizes, inProgressLabel, distribution } = constants;\n\nexport const AnnotationOvertimeGraph = (props: AnnotationOvertimeGraphProps) => {\n const { envType, timestamp, interactionType, selectedVersionId, isAppCalcInProgress } = props;\n\n const { push } = useRouter();\n\n const [isLoading, setIsLoading] = useState(false);\n const [annotationMonitorData, setAnnotationMonitorData] = useState();\n\n const fetchAnnotationsDebounceRef = useRef(null);\n\n useEffect(() => {\n setIsLoading(true);\n\n const fetchAnnotations = () => {\n getAnnotationsMonitorApiV1ApplicationVersionsApplicationVersionIdGetAnnotationsMonitorPost(selectedVersionId, {\n environment: envType,\n interaction_type: interactionType,\n end_time_epoch: timestamp.end || dayjs().unix(),\n start_time_epoch: timestamp.start || dayjs().subtract(1, 'month').unix(),\n tz: `${Intl?.DateTimeFormat()?.resolvedOptions()?.timeZone}`\n }).then(res => {\n setAnnotationMonitorData(res);\n\n const timedOutLoading = setTimeout(() => setIsLoading(false), OVERTIME_LOADING_TIMEOUT);\n\n () => clearTimeout(timedOutLoading);\n });\n };\n\n fetchAnnotationsDebounceRef?.current && clearTimeout(fetchAnnotationsDebounceRef?.current);\n fetchAnnotationsDebounceRef.current = setTimeout(() => fetchAnnotations(), OVERTIME_LOADING_DEBOUNCE);\n\n return () => {\n fetchAnnotationsDebounceRef?.current && clearTimeout(fetchAnnotationsDebounceRef?.current);\n };\n }, [envType, timestamp?.start, timestamp?.end, selectedVersionId, interactionType]);\n\n const labels = Array?.isArray(annotationMonitorData?.window_list)\n ? annotationMonitorData?.window_list?.map(window =>\n dayjs(window).format(annotationMonitorData?.frequency === 'HOUR' ? 'DD/MM LT' : 'll')\n )\n : [];\n\n const barData = Array.isArray(annotationMonitorData?.values)\n ? annotationMonitorData?.values?.map(val => [\n Number(val?.per_type_results?.good?.user?.amount || 0) + Number(val?.per_type_results?.bad?.user?.amount || 0),\n Number(val?.per_type_results?.good?.estimated?.amount || 0) +\n Number(val?.per_type_results?.bad?.estimated?.amount || 0),\n Number(val?.per_type_results?.unknown?.user?.amount || 0) +\n Number(val?.per_type_results?.unknown?.estimated?.amount || 0)\n ])\n : [];\n\n const lineData = Array.isArray(annotationMonitorData?.values)\n ? annotationMonitorData?.values?.map(val => Number(val?.score))\n : [];\n\n const totalInteractionsCount = barData?.reduce((acc, val) => acc + val.reduce((acc, val) => acc + val, 0), 0);\n const totalGoodInteractionsCount = annotationMonitorData?.values?.reduce(\n (acc, val) =>\n acc +\n (Number(val?.per_type_results?.good?.user?.amount || 0) +\n Number(val?.per_type_results?.good?.estimated?.amount || 0)),\n 0\n );\n\n const totalUserAnnotationsCount = annotationMonitorData?.values?.reduce(\n (acc, val) =>\n acc +\n (Number(val?.per_type_results?.good?.user?.amount || 0) + Number(val?.per_type_results?.bad?.user?.amount || 0)),\n 0\n );\n\n const isNoData = lineData?.every(val => Number.isNaN(val));\n const totalScore = getPercentage(Number(totalGoodInteractionsCount) / totalInteractionsCount);\n const annotationsPercentage = getPercentage(Number(totalUserAnnotationsCount) / totalInteractionsCount);\n\n const dataInfoLabel = isNoData ? (\n isAppCalcInProgress ? (\n inProgressLabel\n ) : (\n ''\n )\n ) : (\n <>\n {distribution(totalInteractionsCount, annotationsPercentage)}\n \n {score} {totalScore}\n \n \n );\n\n return (\n \n \n \n \n \n {isLoading ? (\n \n ) : (\n <>\n {isNoData && }\n \n \n )}\n \n );\n};\n","import React, { useEffect, useState } from 'react';\n\nimport { Stack } from '@mui/material';\n\nimport dayjs from 'dayjs';\n\nimport { StyledDistributionChart, StyledLoader } from '@/components/lib';\n\nimport { OvertimeGraphNoDataImage } from '@/components/Overview/OverviewNoVersionSelected/OverviewNoVersionSelected.styles';\n\nimport {\n EnvType,\n getPropertyMonitorApiV1ApplicationVersionsApplicationVersionIdGetPropertyMonitorPost,\n PropertiesMonitorSchema,\n ReadPropertyConfigSchema\n} from '@/helpers/services/api';\n\nimport { constants } from '../propertyDrillDown.constants';\nimport { OVERTIME_LOADING_TIMEOUT } from '@/components/Overview/AnnotationOvertimeGraph/AnnotationOvertimeGraph';\n\ninterface PropertyDrillDownProductionChartProps {\n isProd: boolean;\n versionId: number;\n selectedEnv: EnvType;\n currentProperty: ReadPropertyConfigSchema;\n timestamp: { start: number; end: number };\n}\n\nconst { distributionOverTime } = constants;\n\nexport const PropertyDrillDownProductionChart = (props: PropertyDrillDownProductionChartProps) => {\n const { timestamp, versionId, selectedEnv, isProd, currentProperty } = props;\n\n const [propertyMonitorData, setPropertyMonitorData] = useState();\n const [isDistributionOvertimeLoading, setIsDistributionOvertimeLoading] = useState(false);\n\n const monitorLabels = Array?.isArray(propertyMonitorData?.window_list)\n ? propertyMonitorData?.window_list?.map(window =>\n dayjs(window).format(propertyMonitorData?.frequency === 'HOUR' ? 'DD/MM LT' : 'll')\n )\n : [];\n\n const monitorData = Array.isArray(propertyMonitorData?.values)\n ? propertyMonitorData?.values?.map(val => Number(val?.avg_value))\n : [];\n\n useEffect(() => {\n if (isProd) {\n setIsDistributionOvertimeLoading(true);\n getPropertyMonitorApiV1ApplicationVersionsApplicationVersionIdGetPropertyMonitorPost(\n versionId,\n {\n end_time_epoch: timestamp.end,\n start_time_epoch: timestamp.start,\n interaction_type: currentProperty?.interaction_type,\n tz: `${Intl?.DateTimeFormat()?.resolvedOptions()?.timeZone}`,\n environment: selectedEnv as EnvType\n },\n {\n property_type: currentProperty?.kind,\n property_name: currentProperty?.text_property\n }\n ).then(res => {\n setPropertyMonitorData(res);\n const timedOutLoading = setTimeout(() => setIsDistributionOvertimeLoading(false), OVERTIME_LOADING_TIMEOUT);\n\n () => clearTimeout(timedOutLoading);\n });\n }\n }, [selectedEnv, timestamp?.end, timestamp?.start, versionId]);\n\n if (isDistributionOvertimeLoading) {\n return ;\n }\n\n const isNoData = monitorData?.every(val => Number.isNaN(val));\n\n return (\n \n {isNoData && }\n \n \n );\n};\n","import { styled } from '@mui/material';\n\nimport { StyledContainer, StyledText } from '@/components/lib';\n\nexport const CategoricalSelectionsContainer = styled(StyledContainer)({\n gap: '16px',\n display: 'grid',\n padding: '0 8px',\n borderRadius: 0,\n overflow: 'auto',\n height: 'fit-content',\n maxHeight: '380px',\n marginRight: '12px',\n gridTemplateColumns: '1fr 1fr'\n});\n\ninterface PropertyCategoryPercentageProps {\n percentage: number;\n is_selected?: string;\n}\n\nexport const PropertyCategoryPercentage = styled(StyledText, {\n shouldForwardProp: prop => prop !== 'percentage' && prop !== 'is_selected'\n})(({ percentage, is_selected, theme }) => ({\n width: '150px',\n height: '50px',\n fontWeight: 700,\n padding: '16px',\n fontSize: '12px',\n cursor: 'pointer',\n lineHeight: '16px',\n textAlign: 'center',\n whiteSpace: 'nowrap',\n borderRadius: '10px',\n border: `1px solid ${theme.palette.common.white}`,\n transition: '0.2s',\n color: is_selected === 'true' ? theme.palette.common.white : theme.palette.grey[600],\n background:\n is_selected === 'true'\n ? theme.palette.primary.main\n : `linear-gradient(to right, ${theme.palette.grey[200]} ${percentage * 100}%, ${theme.palette.grey[100]} ${\n percentage * 100\n }%)`,\n\n ':hover': { borderColor: theme.palette.primary.main }\n}));\n","import React from 'react';\n\nimport { StyledToolTip } from '@/components/lib';\nimport {\n CategoricalSelectionsContainer,\n PropertyCategoryPercentage\n} from './PropertyDrillDownCategoricalSelections.styles';\n\nimport { getAppStorage } from '@/helpers/utils/localStorage';\nimport { CategoryPropertyValue, useGetAppVersionProdSummary } from '@/helpers/services/api';\n\ninterface CategoricalSelectionsProps {\n interactionType?: string;\n categories: CategoryPropertyValue[];\n selectedCategory: string | undefined;\n timestamp: { start: number; end: number };\n setSelectedCategory: (selectedCategory: string | undefined) => void;\n}\n\nconst constants = {\n categoryLabel: (category: string | null | undefined, percentage: number, samples: number) =>\n category ? `${Math.round(percentage * 100)}% ${category === null ? 'N/A' : String(category)} (${samples})` : ''\n};\n\nexport const PropertyDrillDownCategoricalSelections = (props: CategoricalSelectionsProps) => {\n const { categories, timestamp, selectedCategory, interactionType, setSelectedCategory } = props;\n\n const { versionId, type } = getAppStorage();\n\n // Used only to get the total number of samples\n const { data } = useGetAppVersionProdSummary(versionId, {\n environment: type,\n interaction_type: interactionType,\n end_time_epoch: timestamp?.end || undefined,\n start_time_epoch: timestamp?.start || undefined\n });\n\n const totalCount = data?.n_of_samples || 1;\n\n return (\n \n {Array.isArray(categories) &&\n categories.map(category => (\n \n setSelectedCategory(category.name as string)}\n />\n \n ))}\n \n );\n};\n","import React, { useState, useEffect } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { StackProps } from '@mui/material';\n\nimport { PropertyDrillDownDialog } from './PropertyDrillDownDialog/PropertyDrillDownDialog';\nimport { PropertyDrillDownHeader } from './PropertyDrillDownHeader/PropertyDrillDownHeader';\nimport { PropertyDrillDownInteractions } from './PropertyDrillDownInteractions/PropertyDrillDownInteractions';\nimport { PropertyDrillDownDistribution } from './PropertyDrillDownDistribution/PropertyDrillDownDistribution';\nimport { PropertyDrillDownProductionChart } from './PropertyDrillDownOvertimeChart/PropertyDrillDownOvertimeChart';\nimport { PropertyDrillDownCategoricalSelections } from './PropertyDrillDownCategoricalSelections/PropertyDrillDownCategoricalSelections';\n\nimport { StyledContainer, StyledContentContainer, StyledSeeAllSamplesButton } from './PropertyDrillDown.styles';\n\nimport { routes } from '@/helpers/routes';\nimport { getStorageItem, setStorageItem, storageKeys } from '@/helpers/utils/localStorage';\nimport {\n EnvType,\n OrderByDirection,\n CategoryPropertyValue,\n ReadPropertyConfigSchema,\n PropertyDefinitionSchema,\n GetInteractionsPerPropertyApiV1InteractionsPerPropertyGet200,\n useGetInteractionsPerPropertyApiV1InteractionsPerPropertyGet,\n useListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet\n} from '@/helpers/services/api';\n\nimport { constants } from './propertyDrillDown.constants';\n\ninterface PropertyDrillDownProps extends StackProps {\n versionId: number;\n selectedEnv: string;\n propertyInfo: PropertyDefinitionSchema;\n timestamp: { start: number; end: number };\n currentProperty: ReadPropertyConfigSchema;\n listOfProperties: ReadPropertyConfigSchema[];\n score: number | CategoryPropertyValue[] | undefined;\n setCurrentProperty: React.Dispatch;\n}\n\nconst { highestValues, buttonLabel, limit } = constants;\n\nexport const PropertyDrillDown = (props: PropertyDrillDownProps) => {\n const {\n score,\n versionId,\n timestamp,\n selectedEnv,\n propertyInfo,\n currentProperty,\n listOfProperties,\n setCurrentProperty,\n ...otherProps\n } = props;\n const { text_property, id, kind, interaction_type } = currentProperty;\n\n const isProd = selectedEnv === EnvType['PROD'];\n const isCategorical = typeof score === 'object';\n\n const [orderType, setOrderType] = useState(highestValues);\n const [detailsDialogOpen, setDetailsDialogOpen] = useState(false);\n const [currentInteractionId, setCurrentInteractionId] = useState(null);\n const [selectedCategory, setSelectedCategory] = useState(isCategorical ? score[0].name : undefined);\n const [currentData, setCurrentData] = useState();\n\n const { pathname, query, push, replace } = useRouter();\n\n const { data, isFetching } = useGetInteractionsPerPropertyApiV1InteractionsPerPropertyGet({\n limit,\n property_config_id: id,\n app_version_id: versionId,\n order_by_desc: orderType === highestValues,\n only_none_category_filter: selectedCategory === null,\n string_category_filter: selectedCategory === null ? undefined : selectedCategory\n });\n\n const { data: headerData, isFetching: isFetchingHeaderData } =\n useListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet(versionId, {\n interaction_type: interaction_type\n });\n\n const handleRedirect = () => {\n const direction = orderType === highestValues ? OrderByDirection['desc'] : OrderByDirection['asc'];\n\n const appStorage = getStorageItem(storageKeys.app);\n\n setStorageItem(storageKeys.app, {\n ...appStorage,\n interactionType: { value: interaction_type, options: appStorage?.interactionType?.options }\n });\n\n push({\n pathname: routes.samples,\n query: {\n model: `${kind}_properties`,\n column: text_property,\n direction: direction,\n ...(isCategorical && {\n insight_conditions: [\n `${currentProperty.text_property},${currentProperty?.condition || 'OVERLAP'},${currentProperty.kind},${\n selectedCategory === null ? '\\x00' : selectedCategory\n }`\n ]\n })\n }\n });\n };\n\n const handleOpenDialog = (interactionId: string) => {\n setDetailsDialogOpen(true);\n setCurrentInteractionId(interactionId);\n };\n\n const handleCloseDialog = () => {\n setDetailsDialogOpen(false);\n\n setTimeout(() => setCurrentInteractionId(null), 100);\n };\n\n const updateAnnotation = (\n interactionId: string,\n annotation: string,\n reason: string,\n isEstimated?: boolean,\n deleteAnnotation?: boolean\n ) => {\n const curEnvInteractions = Array.isArray(currentData?.[selectedEnv])\n ? currentData?.[selectedEnv].map(interaction =>\n interaction.user_interaction_id === interactionId\n ? {\n ...interaction,\n annotation: deleteAnnotation\n ? undefined\n : {\n updated_at: interaction?.annotation?.updated_at ?? '',\n created_at: interaction?.annotation?.created_at ?? '',\n is_estimated: isEstimated ? true : false,\n value: annotation,\n reason: reason\n }\n }\n : interaction\n )\n : [];\n\n setCurrentData({\n ...currentData,\n [selectedEnv]: curEnvInteractions\n } as GetInteractionsPerPropertyApiV1InteractionsPerPropertyGet200);\n };\n\n useEffect(() => {\n if (data) {\n setCurrentData(data);\n\n const updatedQuery = { ...query };\n\n delete updatedQuery.message;\n delete updatedQuery.message_type;\n\n replace({ pathname, query: updatedQuery }, undefined, {});\n }\n }, [data]);\n\n return (\n \n \n {isProd && !isCategorical ? (\n \n ) : (\n \n {isCategorical ? (\n \n ) : (\n currentProperty?.text_property && (\n \n )\n )}\n \n \n )}\n {isProd ? <> : }\n {currentInteractionId && (\n \n )}\n \n );\n};\n","export const sxContainerStyles = { display: 'flex', flexDirection: 'row', maxWidth: '270px', flexWrap: 'wrap' };\nexport const sxTextStyles = { marginRight: '4px', display: 'inline' };\nexport const sxStackStyles = { display: 'inline' };\n","export const constants = {\n propertiesNotDisplayed: 'Properties Not Displayed:',\n otherProperties: 'Other Properties',\n noValuesAvailable: 'No Values Available:\\n',\n na: 'N/A:'\n};\n","import React from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { BoxProps, Stack, useTheme } from '@mui/material';\n\nimport { StyledText, StyledToolTip } from '@/components/lib';\nimport { StyledPending } from '@/components/Samples/SamplesAnnotations/SamplesAnnotations.styles';\n\nimport { routes } from '@/helpers/routes';\nimport { ReadPropertyConfigSchema } from '@/helpers/services/api';\n\nimport {\n PropertyCategoriesContainer,\n PropertyContainer,\n PropertyContentContainer,\n PropertyContentInnerContainer,\n PropertyOtherPropContainer\n} from '../Property/Property.styles';\nimport { sxContainerStyles, sxStackStyles, sxTextStyles } from './PropertiesPendingAndNACard.styled';\n\nimport { constants } from './propertiesPendingAndNACard.constants';\n\nexport interface ReadPropertyConfigSchemaExtended extends ReadPropertyConfigSchema {\n order?: string;\n}\n\ninterface PropertyProps extends BoxProps {\n listOfNAProperties: ReadPropertyConfigSchemaExtended[];\n}\n\nconst { propertiesNotDisplayed, otherProperties, noValuesAvailable, na } = constants;\n\nexport const PropertiesPendingAndNACard = (props: PropertyProps) => {\n const { listOfNAProperties, ...otherProps } = props;\n\n const { push } = useRouter();\n const { palette } = useTheme();\n\n const handleRedirectToPropertiesAndTab = (el: ReadPropertyConfigSchemaExtended) => {\n push(`${routes.config.properties}?drillDownPropertyName=${el?.text_property}&drillDownPropertyType=${el?.kind}`);\n };\n\n return (\n \n \n {noValuesAvailable}\n \n {listOfNAProperties.map((el, index) => (\n \n \n {el.text_property}\n \n {index !== listOfNAProperties.length - 1 && (\n \n )}\n \n ))}\n \n \n }\n >\n \n \n \n \n \n \n \n el.text_property)[0]} ${\n listOfNAProperties.length > 1 ? `, +${listOfNAProperties.length - 1}` : ''\n }`}\n type=\"tinyBold\"\n />\n \n \n \n \n \n );\n};\n","import { Over } from '@dnd-kit/core';\nimport { ReadPropertyConfigSchemaExtended } from './Property/Property';\n\nexport const handleChangeOrderOfProperties = (\n properties: ReadPropertyConfigSchemaExtended[],\n active: { id: string | number },\n over: Over | null\n) =>\n properties\n .map((el: ReadPropertyConfigSchemaExtended) => {\n if (el.order === active.id) {\n return { ...el, order: over?.id };\n }\n\n if (\n el.order &&\n +el.order !== +active.id &&\n +(over?.id || 0) > +active.id &&\n +el.order <= +(over?.id || 0) &&\n +el.order > +active.id\n ) {\n return { ...el, order: `${+el.order - 1}` };\n }\n\n if (\n el.order &&\n +el.order !== +active.id &&\n +(over?.id || 0) < +active.id &&\n +el.order >= +(over?.id || 0) &&\n +el.order < +active.id\n ) {\n return { ...el, order: `${+el.order + 1}` };\n }\n\n return el;\n })\n .sort((a, b) => (+(a.order || 0) < +(b.order || 0) ? -1 : 1));\n","import React, { useEffect, useState, useMemo } from 'react';\n\nimport { alpha, useTheme } from '@mui/material';\nimport { EditOutlined, DoneOutlined, AddCircleOutline } from '@mui/icons-material';\n\nimport {\n useSensor,\n useSensors,\n DndContext,\n DragOverlay,\n MouseSensor,\n TouchSensor,\n closestCenter,\n DragOverEvent,\n KeyboardSensor\n} from '@dnd-kit/core';\nimport { restrictToParentElement } from '@dnd-kit/modifiers';\nimport { SortableContext, rectSortingStrategy } from '@dnd-kit/sortable';\n\nimport { Property } from './Property/Property';\nimport { StaticDndProperty } from './Property/StaticDndProperty';\nimport { PropertyDrillDown } from './PropertyDrillDown/PropertyDrillDown';\nimport { AddOrEditPropertyDialog } from './AddOrEditPropertyDialog/AddOrEditPropertyDialog';\nimport { OverviewNoDataAvailable } from '../OverviewNoDataAvailable/OverviewNoDataAvailable';\nimport { PropertiesPendingAndNACard } from './PropertiesPendingAndNACard/PropertiesPendingAndNACard';\n\nimport { StyledText } from '@/components/lib';\nimport {\n LoaderContainer,\n PropertiesLoader,\n PropertiesContainer,\n PropertiesAddCardText,\n PropertiesAddContainer,\n PropertiesInnerContainer,\n PropertiesHeaderContainer\n} from './Properties.styles';\n\nimport { getAppStorage } from '@/helpers/utils/localStorage';\nimport { usePropertiesInfo } from '@/helpers/hooks/usePropertiesInfo';\nimport { handleChangeOrderOfProperties } from './properties.helpers';\nimport {\n EnvType,\n ReadPropertyConfigSchema,\n useListPropertiesConfigs,\n useListPropertiesDefinitions,\n propertiesConfigsReorderApiV1PropertiesConfigReorderPut,\n useListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet\n} from '@/helpers/services/api';\n\nimport { constants } from '../overview.constants';\nimport {\n iconsDictionary,\n constants as interactionTypesConstants\n} from '@/components/shared/InteractionTypeDropDown/interactionTypes.constants';\n\ninterface PropertiesProps {\n envType: string;\n selectedAppId: number;\n interactionType: string;\n selectedVersionId: number;\n timestamp: { start: number; end: number };\n}\n\ninterface PropertiesWithOrder extends ReadPropertyConfigSchema {\n order: string;\n}\n\nexport const Properties = (props: PropertiesProps) => {\n const { selectedAppId, selectedVersionId, envType, timestamp, interactionType } = props;\n\n const { type, interactionType: interactionTypeStorage } = getAppStorage();\n\n const [isDragAndDrop, setIsDragAndDrop] = useState(false);\n const [isAddDialogOpen, setIsAddDialogOpen] = useState(false);\n const [activeOrder, setActiveOrder] = useState();\n const [listOfProperties, setListOfProperties] = useState([]);\n const [listOfNAProperties, setListOfNAProperties] = useState([]);\n const [currentProperty, setCurrentProperty] = useState(null);\n\n const { palette } = useTheme();\n\n const { data: propertylist } = useListPropertiesDefinitions(selectedAppId, {\n enviroment: type,\n interaction_type: interactionType\n });\n\n const {\n refetch: refetchScores,\n data: listPropertiesScores,\n isLoading: isConfigLoading\n } = useListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet(selectedVersionId, {\n interaction_type: interactionType,\n end_time_epoch: timestamp.end && !Number.isNaN(timestamp?.end) ? timestamp.end : undefined,\n start_time_epoch: timestamp.start && !Number.isNaN(timestamp?.start) ? timestamp.start : undefined\n });\n\n const {\n data: listProperties,\n refetch: refetchList,\n isLoading\n } = useListPropertiesConfigs({\n app_id: selectedAppId,\n only_in_dashboard: true,\n interaction_type: interactionType\n });\n\n const { getPropertyInfo } = usePropertiesInfo();\n\n const curListProperties = useMemo(\n () =>\n Array.isArray(listProperties)\n ? envType === EnvType['PENTEST']\n ? listProperties?.filter(el => el.kind === 'garak')\n : listProperties?.filter(el => el.kind !== 'garak')\n : [],\n [listProperties, envType]\n );\n\n const sensors = useSensors(useSensor(MouseSensor, {}), useSensor(TouchSensor, {}), useSensor(KeyboardSensor, {}));\n\n const scores = listPropertiesScores && listPropertiesScores[envType];\n const properties: PropertiesWithOrder[] = Array.isArray(listOfProperties)\n ? (listOfProperties?.map((el, index) => ({ ...el, order: `${index}` })) as PropertiesWithOrder[])\n : [];\n const items = useMemo(() => properties?.map(({ order }) => order), [properties]);\n\n const interactionTypesList = Array?.isArray(interactionTypeStorage?.options)\n ? interactionTypeStorage?.options\n : interactionTypesConstants?.types;\n\n const interactionTypeInfo = interactionTypesList?.find(\n el => el.name?.toLocaleLowerCase() === interactionType?.toLocaleLowerCase()\n );\n\n const openAddDialog = () => setIsAddDialogOpen(true);\n const closeAddDialog = () => setIsAddDialogOpen(false);\n const handleDragStart = (event: DragOverEvent) => setActiveOrder(event.active.id ? `${event.active.id}` : undefined);\n const handleEditClick = () => setIsDragAndDrop(true);\n const handleDragCancel = () => setActiveOrder(null);\n\n const refetchProperties = async () => {\n await refetchList();\n await refetchScores();\n };\n\n const calculateScore = (id: number) =>\n scores && id && (typeof scores[id] === 'number' ? +Number(scores[id]).toFixed(2) : scores[id]);\n\n const handleSaveClick = () => {\n setIsDragAndDrop(false);\n\n const listOfPropertiesIds = listOfProperties.map(el => el.id);\n\n propertiesConfigsReorderApiV1PropertiesConfigReorderPut(listOfPropertiesIds);\n };\n\n const handleDragEnd = (event: DragOverEvent) => {\n const { active, over } = event;\n\n if (active?.id !== over?.id) {\n const sortedProperties = handleChangeOrderOfProperties(properties, active, over);\n\n setListOfProperties(sortedProperties);\n setActiveOrder(null);\n } else {\n setActiveOrder(null);\n }\n };\n\n const selectedProperty = useMemo(() => {\n if (!activeOrder) {\n return null;\n }\n\n const property = properties.find(({ order }) => order === activeOrder);\n\n return property;\n }, [activeOrder]);\n\n useEffect(() => {\n if (Array.isArray(curListProperties)) {\n const propToShow = curListProperties; // remove comment to keep only the properties with values .filter(el => calculateScore(el.id) !== undefined && calculateScore(el.id) !== null);\n const propWhichNa = [] as ReadPropertyConfigSchema[]; // remove comment to show only non values properties card .filter(el => calculateScore(el.id) === undefined || calculateScore(el.id) === null);\n\n setListOfProperties(propToShow);\n setListOfNAProperties(propWhichNa);\n }\n }, [curListProperties, listPropertiesScores, envType]);\n\n useEffect(() => setCurrentProperty(null), [selectedVersionId, interactionType, envType]);\n\n return (\n \n \n {!currentProperty && (\n <>\n \n {iconsDictionary[Number(interactionTypeInfo?.icon_id)]}\n {`${interactionTypeInfo?.name} ${constants.properties.title}`}\n \n }\n />\n {isDragAndDrop ? : }\n \n \n \n \n \n )}\n \n {isLoading || isConfigLoading ? (\n \n \n \n ) : currentProperty ? (\n \n ) : propertylist?.length || curListProperties.length ? (\n \n \n \n {properties.map((prop, i) => (\n \n ))}\n \n \n {activeOrder && (\n \n )}\n \n \n {listOfNAProperties.length > 0 && }\n \n ) : (\n \n )}\n \n \n );\n};\n","import { styled } from '@mui/material';\n\nimport { StyledContainer } from '@/components/lib';\n\nimport { isHadron } from '@/helpers/utils/isHadron';\n\nexport const OverviewInnerGrid = styled(StyledContainer, {\n shouldForwardProp: prop => prop !== 'pentest'\n})<{ pentest?: string }>(({ pentest, theme }) => ({\n gap: '24px',\n display: 'grid',\n padding: '8px 0',\n gridTemplateRows: 'none',\n gridTemplateColumns: pentest === 'true' ? 'auto' : 'auto 416px',\n maxWidth: isHadron() ? '1800px' : 'auto',\n\n [theme.breakpoints.down('xl')]: { display: 'flex' }\n}));\n\nexport const SummaryTopicsContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '24px',\n padding: '0',\n display: 'grid',\n\n [theme.breakpoints.up('lg')]: {\n gridTemplateColumns: isHadron() ? 'auto' : 'auto 530px'\n }\n}));\n\nexport const OverViewPropertiesContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '24px',\n padding: '0',\n\n [theme.breakpoints.down('xl')]: { gap: '24px' }\n}));\n","export const constants = {\n noVersion: 'No Version',\n subTitle: 'Please create a version for this application',\n summaryTitle: 'Score',\n topicsTitle: 'Topics',\n propertiesTitle: 'Properties',\n segments: 'Segments'\n};\n","import React from 'react';\n\nimport { useMediaQuery, useTheme } from '@mui/material';\n\nimport { StyledText } from '@/components/lib';\n\nimport { routes } from '@/helpers/routes';\n\nimport { OverviewNoDataAvailable } from '../OverviewNoDataAvailable/OverviewNoDataAvailable';\n\nimport { InsightsEmptyContainer } from './OverviewNoVersionSelected.styles';\nimport { CardContainer, CardDescriptionContainer } from '../Summary/Summary.styles';\nimport { TopicsContainer, TopicsHeaderContainer } from '../Topics/Topics.styles';\nimport { PropertiesContainer, PropertiesHeaderContainer } from '../Properties/Properties.styles';\nimport { OverViewPropertiesContainer, OverviewInnerGrid, SummaryTopicsContainer } from '../Overview.styles';\n\nimport { constants } from './overviewNoVersionSelected.constants';\n\nconst { summaryTitle, noVersion, subTitle, topicsTitle, propertiesTitle } = constants;\n\ninterface OverviewNoVersionSelectedProps {\n isPenTest: boolean;\n}\n\nexport const OverviewNoVersionSelected = ({ isPenTest }: OverviewNoVersionSelectedProps) => {\n const { breakpoints } = useTheme();\n const isDesktop = useMediaQuery(breakpoints.up('xl'));\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {!isDesktop && (\n \n \n \n \n )}\n \n \n \n \n \n \n \n {isDesktop && (\n \n \n \n \n )}\n \n );\n};\n","import React, { useState } from 'react';\n\nimport { useMediaQuery, useTheme } from '@mui/material';\n\nimport { Topics } from './Topics/Topics';\nimport { Summary } from './Summary/Summary';\nimport { Insights } from './Insights/Insights';\nimport { Properties } from './Properties/Properties';\nimport { AppFilters } from '../shared/AppFilters/AppFilters';\nimport { AnnotationOvertimeGraph } from './AnnotationOvertimeGraph/AnnotationOvertimeGraph';\nimport { OverviewNoVersionSelected } from './OverviewNoVersionSelected/OverviewNoVersionSelected';\n\nimport { StyledContainer } from '@/components/lib';\nimport { OverviewInnerGrid, OverViewPropertiesContainer, SummaryTopicsContainer } from './Overview.styles';\n\nimport { EnvType } from '@/helpers/services/api';\nimport { getAppStorage } from '@/helpers/utils/localStorage';\n\nexport const Overview = () => {\n const { interactionType: interactionTypeStorage } = getAppStorage();\n\n const [refreshValue, setRefreshValue] = useState(false);\n const [selectedApp, setSelectedApp] = useState({\n appId: 0,\n versionId: 0,\n type: 'EVAL',\n timestamp: { start: NaN, end: NaN },\n interactionType: interactionTypeStorage?.value ?? ''\n });\n\n const { breakpoints } = useTheme();\n\n const isDesktop = useMediaQuery(breakpoints.up('xl'));\n\n const selectedAppId = selectedApp?.appId;\n const envType = selectedApp?.type as EnvType;\n const selectedVersionId = selectedApp?.versionId;\n\n const isProd = envType === EnvType['PROD'];\n const isPenTest = envType === EnvType['PENTEST'];\n const isAppCalcInProgress = false; // Todo - get this from the BE once its ready\n\n const refresh = () => {\n const appCopy = { ...selectedApp };\n\n setRefreshValue(!refreshValue);\n setSelectedApp({\n appId: NaN,\n versionId: NaN,\n type: EnvType['EVAL'],\n timestamp: { start: NaN, end: NaN },\n interactionType: ''\n });\n\n setTimeout(() => setSelectedApp(appCopy), 100);\n };\n\n return (\n \n {}}\n />\n {!selectedAppId ? null : selectedVersionId ? (\n \n \n {isProd ? (\n \n ) : (\n \n \n \n \n )}\n {!isDesktop && (\n \n )}\n \n \n {isProd ? (\n \n ) : isDesktop ? (\n \n ) : (\n <>\n )}\n \n ) : (\n \n )}\n \n );\n};\n","import React from 'react';\n\nimport Head from 'next/head';\n\nimport { routesMetaData } from '@/helpers/routes';\n\nimport { Overview } from '@/components/Overview/Overview';\n\nconst OverviewPage = () => (\n <>\n \n {routesMetaData.overview}\n \n \n \n);\n\nexport default OverviewPage;\n"],"names":["TopicsContainer","styled","StyledContainer","shouldForwardProp","prop","hide","theme","gap","height","minHeight","padding","breakpoints","down","display","overflow","margin","maxWidth","alignItems","animation","fadeInAnimation","gridTemplateColumns","flexDirection","justifyContent","marginLeft","TopicsInput","StyledInput","width","RefreshRounded","cursor","fill","palette","grey","TopicsExpandIcon","OpenInFullRounded","StyledText","as_section","background","borderRadius","color","common","white","fontSize","fontWeight","whiteSpace","TopicsDialogContainer","StyledDialogBase","marginTop","CloseRounded","img","marginBottom","constants","properties","title","addBtnLabel","dialog","titleAndSubmit","isEditMode","propertyLabel","conditionLabel","thresholdConst","label","placeholder","min","max","kindLabel","chooseProperty","propertyMenu","linkToDocs","info","condition","remove","noValueDescription","insights","samples","dismissed","undoButtonLabel","refreshBtnLabel","analysis","suggestions","buttonLabel","weakSegment","score","recalculateAvailable","imgAlt","description","noInsights","topics","inputPlaceholder","edit","name","submitButtonLabel","noTopics","inProgress","open","topicsCount","onClose","handleRedirect","input","setInput","useState","filteredTopics","filter","topic","topic_name","toLowerCase","includes","TopicsHeaderContainer","text","type","value","e","target","onCloseIconClick","searchField","TopicsDialogCloseIcon","onClick","TopicsInnerContainer","map","i","StyledPercentageContainer","percentage","Number","count","amount","NoDataAvailable","OverviewNoDataAvailableContainer","primary","main","textDecoration","Stack","alpha","textAlign","noDataAvailable","pleaseUploadData","here","subTitle","redirectLink","noUploadDataBtn","isShowEmptyState","setIsShowEmptyState","push","useRouter","useEffect","timeoutShowEmptyState","setTimeout","clearTimeout","StyledImageContainer","getCurIcon","SubjectOutlined","FlashlightOnOutlined","DataUsageOutlined","PieChartOutlineOutlined","StyledTitleText","StyledDescriptionText","StyledSubTitleText","OverviewNoDataAvailableButton","handleGoToOnboardingPage","routes","onboarding","data-testid","Topics","Array","selectedVersionId","envType","propEnvType","timestamp","interactionType","props","isFetching","setIsFetching","isDialogOpen","setIsDialogOpen","topicsData","setTopicsData","calculationInProgress","setCalculationInProgress","Status","versionId","getAppStorage","isProd","EnvType","length","isArray","reduce","sum","encodeURIComponent","getTopics","getTopicsApiV1ApplicationVersionsApplicationVersionIdTopicsPost","currentVersionId","start_time_epoch","start","end_time_epoch","end","interaction_type","environment","then","data","status","isHadron","contrast","onChange","_i","index","StyledSkeleton","slice","OverviewNoDataAvailable","TopicsDialog","SummaryFiltersContainer","flexWrap","minWidth","border","chart","with_border","is_column","CardDescriptionContainer","StyledButton","overview","sessions","estimated","latency","skeletonHeight","latencyTooltip","interactions","annotation","userAnnotation","estAnnotation","users","annotated","distribution","userAnnotated","changeViewBtnLabel","isChartView","usersLight","numberOfUsers","dataToDisplay","isPartialDataMode","SummaryDetailsContainer","SummaryRowContainer","SummaryScoreBigText","StyledToolTip","tooltip","SummaryAnnotationDistributionContainer","overflowY","transition","borderBottom","borderColor","letterSpacing","SummaryAnnotationDistribution","summaryData","annotations_distribution","annotated_good","annotated_bad","unannotated","n_of_samples","calculatePercentage","toFixed","Math","round","samplesCount","AnnotationType","SummaryAnnotationDistributionTitleContainer","getAnnotation","good","total_estimated","SummaryAnnotationDistributionBtnContainer","total_user","per_property","v","Summary","setIsChartView","isIncludeEstimated","setIsIncludeEstimated","isLoading","useGetAppVersionProdSummary","curAnnotatedBadNum","user_annotated","bad","curAnnotatedGoodNum","curAnnotatedNum","allEstimatedAnnotatedNum","allUserAnnotatedNum","calculatedScore","getPercentage","latency_seconds","n_of_sessions","dates","start_date","end_date","dayjs","format","chartData","CardContainer","SummaryChartAndDistributionContainer","StyledTitleContainer","SummaryChartContainer","StyledDoughnutChart","estimatedAnnotated","pendingAnnotated","checkboxCheckedIcon","checkboxUnCheckedIcon","handleCenterClick","actions","badRedirect","goodRedirect","unannotatedRedirect","variant","SummaryOverview","InsightsContainer","overflowX","alignSelf","InsightsTagsContainer","InsightTag","is_topic","ClearRounded","hovered","pointerEvents","InsightInnerContainer","Button","maxHeight","SubdirectoryArrowRight","rotate","topicsInsightString","capitalizeFirstLetter","column","join","dataFilters","dataFiltersConditions","operator","property_type","categoricalFilters","topicsValue","toString","topicsQuery","categoricalFiltersQuery","AnalysisInsight","insight","showLess","handleRedirectSamples","appStorage","stopPropagation","getStorageItem","storageKeys","app","setStorageItem","interaction_type_name","options","buildDrillDownQuery","InsightAnalysisContainer","additional_text_info","ExpandMore","ExpandLess","InsightViewButton","id","segment_filters","categorical_segment_filters","operatorToSign","calculateDataFilterString","arr","Object","values","accumulator","key","filters","combinedFilterString","operatorToSignRight","WeakSegmentContent","useTheme","ScoreSampleContainer","error","segment_score","Insight","isAllowedToDelete","refetch","undo","setUndo","setHovered","setShowLess","isPropertySegment","insight_type","handleUndoDismiss","updateInsight","is_deleted","timeoutDeletion","InsightCardContainer","onMouseOver","handleStartHover","onMouseLeave","handleStopHover","InsightUndoContainer","startIcon","UndoRounded","InsightsTitleContainer","InsightsScoreContainer","handleNullValue","arg","InsightClearIcon","handleDismiss","NoInsights","NoInsightContainer","NewInsightsAvailable","NewInsightsCardContainer","Image","src","sandClockImg","alt","NewInsightsArrowUp","sysInfoData","isRecalculationDisabled","setIsRecalculationDisabled","isAllowed","usePermission","Permission","insightsData","useGetInsightApiV1InsightsGet","env_type","application_version_id","useGetAppLastUpdateTime","isPenTest","isRecalculateAvailable","can_execute_calculation","InsightsHeaderContainer","PermissionToolTip","permission","InsightsRefreshButton","disabled","handleRecalculationClick","recalculateInsightsApiV1InsightsRecalculatePost","InsightsScrollContainer","_e","PropertiesDialogPropertyDropdown","Box","is_active","no_property","black","p","Popover","anchorOrigin","vertical","horizontal","transformOrigin","slotProps","paper","style","PropertiesHeaderContainer","backgroundColor","PropertiesDialogTextInput","PropertiesLoader","StyledLoader","PropertiesErrText","PropertyType","AddOrEditPropertyDialog","propertyData","propertylist","selectedAppId","closeMenu","closeDialog","refetchProperties","err","setErr","loading","setLoading","anchorEl","setAnchorEl","kind","setKind","threshold","setThreshold","setCondition","property","setProperty","text_property","useListPropertiesDefinitions","enviroment","disabledSubmit","selectedProperty","property_name","isCategorical","column_type","PropertyColumnType","propertyId","NaN","handleCloseDialog","filteredPropertylist","in_dashboard","submitButtonAction","handleFinishCall","updatePropertyConfig","res","error_message","StyledDialog","submitButtonWidth","submitButtonDisabled","PropertiesDialogInnerContainer","Boolean","currentTarget","PropertyTag","user_facing_property_type","StyledPopover","SamplesTablePopoverSortByProperty","model","handleApplyClick","newKind","newProperty","split","StyledOutlinedDropdown","propertyConditionsDropdownValues","setValue","min_value","max_value","up","StyledRootMenu","Menu","boxShadow","MenuItem","position","Typography","lineHeight","paddingTop","PropertyMenu","handleCloseRootMenu","otherProps","appId","handleDeleteProperty","StyledMenuItem","handleOpenEditDialog","EditOutlined","HighlightOffOutlined","handleCloseEditDialog","PropertyContainer","opacity","undefined","PropertyContentInnerContainer","svg_color","PropertyScoreColor","PropertyMenuIcon","MoreHorizRounded","PropertyScoreText","categoricalTitle","numberOfCategories","categoryLabel","category","String","PropertyContent","scoreDynamicColor","totalCount","total","PropertyContentContainer","PropertyCategoriesContainer","PropertyCategoryPercentage","scoreToDisplay","Property","activeOrder","propertyInfo","isDragAndDrop","setCurrentProperty","attributes","listeners","transform","setNodeRef","isDragging","useSortable","order","CSS","Transform","hover","setHover","anchorElRootMenu","setAnchorElRootMenu","scoreColor","useScoreColor","interactionTypeStorage","interactionTypesList","interactionTypesConstants","types","interactionTypeInfo","find","el","currentProps","sx","isAnimationNeed","shakingAnimation","ref","descriptions","link","onClickOverride","config","PropertyActionsContainer","color_code","event","handleOpenRootMenu","href","url","PropertyDrillDownDialog","currentInteractionId","updateAnnotation","listOfProperties","useRetrieveInteraction","SampleDetailsDialog","sample","ArrowBackIosIcon","marginRight","InfoOutlinedIcon","StyledValuesSectionContainerBase","StyledValuesContainer","StyledValueLabel","background_color","StyledValue","StyledCondition","StyledDropdown","categorical","highestValues","lowestValues","noPropertyMessage","distributionOverTime","limit","subtitle","yAxisName","avgValueTitle","conditionTitle","linkTooltip","propertyDrillDownConstants","PropertyDrillDownHeader","headerData","orderType","selectedEnv","currentProperty","isDataAvailable","setOrderType","handleRedirectToSamples","valuesContainerBg","StyledArrowBackIcon","StyledName","StyledInfoIcon","StyledSeeAllSamplesButton","StyledValues","StyledOperator","StyledOrderDropdown","AnnotationAndScoreContainer","is_compare","StyledTextButton","is_drill_down","wordBreak","textOverflow","WebkitBoxOrient","WebkitLineClamp","Divider","StyledDividerContainer","ScoreWrapper","outputLabel","AnnotationAndScoreDivider","StyledItemDivider","viewMore","scoreTooltip","propertyName","AnnotationAndScore","isCompare","handleOpenDialog","isDrillDown","output","user_interaction_id","sampleAnnotation","estimated_annotation","baseAnnotation","setBaseAnnotation","formattedScore","handleDetailsClick","StyledInputText","StyledResponseText","AnnotationAndScoreWrapper","AnnotationCellWrapper","AnnotationCell","interactionId","_interactionId","reason","isEstimated","deleteAnnotation","updated_at","created_at","is_estimated","origin","similarity_reason","StyledScoreBorderContainer","skeleton","showDivider","StyledDivider","StyledInteractionsContainer","PropertyDrillDownDistribution","useGetPropertyHistogram","average","labelNamesLength","bin_edges","isNeedToLeftMoreNumbers","curLabels","curData","hist","curAverage","findIndex","curCondition","StyledDistributionChart","labels","isGoodAndBad","greater_is_better","direction","InsightsEmptyContainer","gridTemplateRows","canvas","span","zIndex","backgroundSize","backgroundPosition","backgroundImage","noDataImg","legends","graphStyles","graphSizes","inProgressLabel","annotations","AnnotationOvertimeGraph","annotationMonitorData","isAppCalcInProgress","setIsLoading","setAnnotationMonitorData","fetchAnnotationsDebounceRef","useRef","fetchAnnotations","Intl","getAnnotationsMonitorApiV1ApplicationVersionsApplicationVersionIdGetAnnotationsMonitorPost","unix","subtract","tz","DateTimeFormat","resolvedOptions","timeZone","OVERTIME_LOADING_TIMEOUT","current","OVERTIME_LOADING_DEBOUNCE","window_list","window","frequency","barData","val","per_type_results","user","unknown","lineData","totalInteractionsCount","acc","totalGoodInteractionsCount","totalUserAnnotationsCount","isNoData","every","isNaN","totalScore","annotationsPercentage","dataInfoLabel","AnnotationOvertimeGraphContainer","AnnotationOvertimeGraphHeaderContainer","OvertimeGraphNoDataImage","StyledComboChart","barLegends","barWidth","barHeight","rawData","PropertyDrillDownProductionChart","propertyMonitorData","setPropertyMonitorData","isDistributionOvertimeLoading","setIsDistributionOvertimeLoading","monitorLabels","monitorData","avg_value","getPropertyMonitorApiV1ApplicationVersionsApplicationVersionIdGetPropertyMonitorPost","total_avg","is_selected","PropertyDrillDownCategoricalSelections","categories","selectedCategory","setSelectedCategory","CategoricalSelectionsContainer","PropertyDrillDown","detailsDialogOpen","setDetailsDialogOpen","setCurrentInteractionId","currentData","setCurrentData","pathname","query","replace","useGetInteractionsPerPropertyApiV1InteractionsPerPropertyGet","property_config_id","app_version_id","order_by_desc","only_none_category_filter","string_category_filter","isFetchingHeaderData","useListPropertiesDataApiV1ApplicationVersionsAppVersionIdPropertiesConfigDataGet","OrderByDirection","insight_conditions","updatedQuery","message","message_type","StyledContentContainer","PropertyDrillDownInteractions","curEnvInteractions","interaction","sxContainerStyles","propertiesNotDisplayed","otherProperties","noValuesAvailable","na","PropertiesPendingAndNACard","listOfNAProperties","handleRedirectToPropertiesAndTab","sxStackStyles","a","bind","sxTextStyles","PropertyOtherPropContainer","StyledPending","handleChangeOrderOfProperties","active","over","sort","b","setIsDragAndDrop","isAddDialogOpen","setIsAddDialogOpen","setActiveOrder","setListOfProperties","setListOfNAProperties","refetchScores","listPropertiesScores","isConfigLoading","listProperties","refetchList","useListPropertiesConfigs","app_id","only_in_dashboard","getPropertyInfo","usePropertiesInfo","curListProperties","useMemo","sensors","useSensors","useSensor","MouseSensor","TouchSensor","KeyboardSensor","scores","items","toLocaleLowerCase","calculateScore","propToShow","PropertiesContainer","iconsDictionary","icon_id","DoneOutlined","handleSaveClick","listOfPropertiesIds","propertiesConfigsReorderApiV1PropertiesConfigReorderPut","handleEditClick","PropertiesAddContainer","openAddDialog","AddCircleOutline","PropertiesAddCardText","LoaderContainer","PropertiesInnerContainer","DndContext","onDragEnd","handleDragEnd","sortedProperties","onDragStart","handleDragStart","onDragCancel","handleDragCancel","collisionDetection","closestCenter","modifiers","restrictToParentElement","SortableContext","strategy","rectSortingStrategy","DragOverlay","dropAnimation","StaticDndProperty","closeAddDialog","OverviewInnerGrid","pentest","noVersion","summaryTitle","topicsTitle","propertiesTitle","segments","OverviewNoVersionSelected","isDesktop","useMediaQuery","OverViewPropertiesContainer","SummaryTopicsContainer","versions","refreshValue","setRefreshValue","selectedApp","setSelectedApp","AppFilters","isOverview","initialLoading","refresh","appCopy","resetAdditionalFilters","Insights","Properties","OverviewPage","Head","routesMetaData","Overview"],"sourceRoot":"","ignoreList":[]}