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4K,CAAU,WAC1D,UAACrG,EAAAA,EAAaA,CAAAA,CAACpF,KAAMsM,EAAiB,SAAMzT,EAAAA,KAAAA,EAAAA,EAAYE,MAAM,MAAlBF,IAC1C,UAAC2C,EAAAA,CAAKA,CAAAA,UAAEoG,CAAAA,EAAAA,EAAAA,EAAAA,CAAaA,CAAC+I,EAAe9I,OAEvC,UAACyJ,EAAqBA,CACpBvS,OAAQA,EACR8I,SAFoByJ,GAEPzJ,EACbd,KAAM,CAAC,CAAC2L,EACR7N,SAAU6N,EACV/B,cAAeA,EACfpV,cAAe0X,EACf1B,UAAWA,EACXC,iBAAkBA,EAClBvK,QAAS0B,GAAK8H,EAAoB9H,GAClC8H,oBAAqBA,EACrBC,yBAA0BA,MAIlC,EAAE","sources":["webpack://_N_E/./src/helpers/services/logger.ts","webpack://_N_E/./src/helpers/utils/capitalizeFirstLetter.ts","webpack://_N_E/./src/components/shared/SamplesAnnotationCell/samplesAnnotationCell.constants.ts","webpack://_N_E/./src/helpers/hooks/useStorageProperties.ts","webpack://_N_E/./src/helpers/animations/index.ts","webpack://_N_E/./src/components/Samples/SamplesTable/samplesTable.constants.ts","webpack://_N_E/./src/components/shared/InteractionTypeDropDown/InteractionTypeDropDown.styles.tsx","webpack://_N_E/./src/components/shared/InteractionTypeDropDown/InteractionTypeDropDown.tsx","webpack://_N_E/./src/components/Samples/SamplesTable/SamplesTable.helpers.tsx","webpack://_N_E/./public/assets/common/builtin_property.svg","webpack://_N_E/./public/assets/common/user_value_property.svg","webpack://_N_E/./src/components/shared/PropertyTag/PropertyTag.styles.tsx","webpack://_N_E/./src/components/shared/PropertyTag/PropertyTag.tsx","webpack://_N_E/./src/components/shared/PropertyTag/propertyTag.constants.ts","webpack://_N_E/./src/components/shared/SampleDetailsDialog/SampleDetailsDialogComparison/SampleDetailsDialogComparisonInteraction/SampleDetailsDialogComparisonInteractionContent/SampleDetailsDialogComparisonInteractionContent.styles.tsx","webpack://_N_E/./src/components/shared/InteractionTypeDropDown/interactionTypes.constants.tsx","webpack://_N_E/./src/components/shared/AppFilters/AppFilters.styles.tsx","webpack://_N_E/./src/components/shared/AppFilters/appFilters.constants.ts","webpack://_N_E/./src/components/Samples/SamplesTable/SamplesTable.styles.tsx","webpack://_N_E/./src/components/shared/SamplesAnnotationCell/SamplesAnnotationMenu/SamplesAnnotationEst/SamplesAnnotationEst.styles.tsx","webpack://_N_E/./src/components/shared/SamplesAnnotationCell/SamplesAnnotationMenu/SamplesAnnotationEst/SamplesAnnotationEst.tsx","webpack://_N_E/./src/components/shared/SamplesAnnotationCell/SamplesAnnotationCell.styles.tsx","webpack://_N_E/./src/components/shared/SamplesAnnotationCell/SamplesAnnotationMenu/SamplesAnnotationMenu.tsx","webpack://_N_E/./src/components/shared/SamplesAnnotationCell/SamplesAnnotationCell.tsx"],"sourcesContent":["export const logger = (msg: unknown) => {\n console.error(msg);\n\n // Todo - implement a real logger to datadog logs\n};\n","export const capitalizeFirstLetter = (arg: string, chars?: number) => {\n if (arg?.length < (chars || 3)) {\n return arg;\n }\n\n const firstLetterUppercase = arg.charAt(0).toUpperCase();\n const restOfTheStringLowercase = arg.slice(1).toLowerCase();\n\n return firstLetterUppercase + restOfTheStringLowercase;\n};\n","export const constants = {\n similarityLinkLabel: 'Similar Response',\n menu: { options: ['good', 'bad', 'unknown'], inputPlaceHolder: 'Type Reason...' },\n estAnnotation: {\n title: 'Estimated Annotation',\n noReason: 'No reason provided',\n buttonLabel: 'Revert back to estimated',\n calculating: 'Estimated annotation is being calculated...'\n },\n deleteButtonLabel: 'Delete User Annotation'\n};\n","import { ReadPropertyConfigSchema } from '../services/api';\n\nimport { getSessionStorageItem, sessionStorageKeys } from '../utils/sessionStorage';\n\ntype StoragePropertiesType = { [key: number]: { prop_filters: ReadPropertyConfigSchema[] } };\n\nexport const useStorageProperties = (appId?: number, interactionType?: string | null) => {\n const propertiesStorage = getSessionStorageItem(sessionStorageKeys.propFilters) as StoragePropertiesType;\n\n if (appId) {\n const applicationProperties = propertiesStorage?.[appId]?.prop_filters;\n\n if (interactionType && interactionType !== '') {\n const applicationPropertiesByInteractionType = (applicationProperties || [])?.filter(\n property => property.interaction_type?.toLowerCase() === interactionType?.toLowerCase()\n ) as ReadPropertyConfigSchema[];\n\n // Return app properties by interaction type\n return {\n appStorageProperties: applicationPropertiesByInteractionType,\n allStorageProperties: (propertiesStorage || {}) as StoragePropertiesType\n };\n } else {\n // Return app properties\n return {\n appStorageProperties: (applicationProperties || []) as ReadPropertyConfigSchema[],\n allStorageProperties: (propertiesStorage || {}) as StoragePropertiesType\n };\n }\n } else {\n // Return all properties\n return {\n appStorageProperties: [] as ReadPropertyConfigSchema[],\n allStorageProperties: (propertiesStorage || {}) as StoragePropertiesType\n };\n }\n};\n","import { keyframes } from '@emotion/react';\n\nexport const shakingAnimation = keyframes`\n 0% { transform: rotate(0deg); }\n 25% { transform: rotate(0.8deg); }\n 50% { transform: rotate(0eg); }\n 75% { transform: rotate(-0.8deg); }\n 100% { transform: rotate(0deg); }\n`;\n\nexport const fadeInAnimation = keyframes`\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n`;\n\nexport const spinAnimation = keyframes`\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n`;\n","import { SearchSchemaFieldNamesItem } from '@/helpers/services/api';\n\nexport const INPUT_PROPERTIES = [\n 'Text Length',\n 'Average Word Length',\n 'Max Word Length',\n '% Special Characters',\n 'Sentiment',\n 'Subjectivity',\n 'Toxicity',\n 'Fluency',\n 'Formality',\n 'Reading Ease',\n 'Reading Time',\n 'English Text',\n 'Lexical Density',\n 'Unique Noun Count',\n 'Average Words Per Sentence',\n 'URLs Count',\n 'Email Addresses Count',\n 'Sentences Count'\n];\n\nexport const OUTPUT_PROPERTIES = [...INPUT_PROPERTIES, 'Grounded in Context', 'Avoided Answer', 'Relevance'];\n\nexport const constants = {\n outputKey: 'Output',\n addColumn: 'Add Column',\n inputKey: 'Input',\n llmKey: 'LLM',\n garakKey: 'Garak',\n customKey: 'Custom',\n columnLimit: 3,\n sampleKey: 'Interaction',\n responseKey: 'Response',\n historyKey: 'History',\n informationRetrievalKey: 'Information Retrieval',\n searchFields: {\n tooltip: 'Click to modify your search fields',\n options: Object.keys(SearchSchemaFieldNamesItem).map(field => {\n return { value: field, label: field };\n })\n },\n fullPromptKey: 'Full Prompt',\n stepId: (id: string) => `ID=${id}`,\n stepNameKey: (id: string, name: string) => `${name} (ID=${id})`,\n documentTitle: (number: number, history?: boolean) => `${history ? 'History' : 'Document'} #${number}`,\n dateTitle: 'Date',\n annotation: 'Annotation',\n details: 'Details',\n reason: 'Reason',\n searchFieldPlaceholder: 'Search by field...',\n samplesPageLength: 20,\n selectAllTitle: (nFiltered?: number, nVersion?: number) =>\n `Select all ${nFiltered ? `( ${nFiltered} ${nVersion ? `of ${nVersion} ` : ''})` : ''}`,\n na: 'N/A',\n comparisonBtnLabel: 'Compare to Other Version',\n propertiesSection: 'Properties:',\n actionButtons: {\n download: {\n tooltip: 'Download',\n submitBtn: 'Download to CSV',\n dialogTitle: 'Download Interactions',\n description: 'Select which fields to download',\n sections: {\n data: 'Data',\n properties: {\n general: 'Properties',\n pentest: 'Pentest properties',\n input: 'Built-in properties (input)',\n output: 'Built-in properties (output)',\n custom: 'Custom properties',\n llm: 'LLM properties',\n typesSelected: (selected?: number) => (selected ? `${selected} types selected` : '')\n },\n annotations: 'Annotations',\n topics: 'Topics',\n similarities: 'Similarity Scores',\n sessionRelated: 'Session Related Interactions',\n notebook: 'Download as a Notebook'\n }\n },\n copyTooltip: 'Copy to Evaluation',\n deleteTooltip: 'Delete',\n dialogTitle: (isDeletion: boolean) => (isDeletion ? 'Delete Interactions' : 'Copy Interactions to Evaluation'),\n dialogSubmitButtonLabel: 'Ok',\n snackbarMessage: 'Copied!',\n dialogMessage: (selectedSamples: number, isDeletion: boolean, deleteAll?: boolean) =>\n deleteAll\n ? 'You are about to delete all the interactions from the evaluation, please confirm.'\n : isDeletion\n ? `You are about to delete ${selectedSamples} sample${\n selectedSamples > 1 ? 's' : ''\n } from the evaluation, please confirm.`\n : `You are about to copy ${selectedSamples} sample${\n selectedSamples > 1 ? 's' : ''\n } to the evaluation, please confirm.`\n },\n skeletonHeight: '62.2px'\n};\n","import React from 'react';\n\nimport { Popover, PopoverProps, Stack, styled } from '@mui/material';\n\nexport const InteractionTypeDDContainer = styled(Stack)<{ outline?: string }>(({ outline, theme }) => ({\n opacity: 1,\n gap: '8px',\n width: '360px',\n border: 'none',\n padding: 'none',\n borderRadius: '4px',\n alignItems: 'center',\n flexDirection: 'row',\n pointerEvents: 'auto',\n\n '.Mui-disabled': { background: `${theme?.palette?.common?.white} !important` },\n '.MuiButtonBase-root': {\n gap: '4px',\n width: '225px',\n fontWeight: 500,\n boxShadow: 'none',\n overflow: 'hidden',\n margin: '0 0 0 0',\n borderRadius: '6px',\n padding: '8px 12px',\n whiteSpace: 'nowrap',\n justifyContent: 'left',\n textOverflow: 'ellipsis',\n color: theme.palette.grey?.[500],\n border: outline === 'true' ? `1px solid ${theme.palette.grey?.[300]}` : 'none',\n backgroundColor: outline === 'true' ? 'transparent' : theme.palette.grey?.[200],\n\n '&:hover': { boxShadow: 'none' },\n\n '.MuiButton-endIcon': { marginLeft: 'auto' }\n }\n}));\n\nexport const StyledInteractionsTypePopover = styled((props: PopoverProps) => (\n \n))(({ theme }) => ({\n '.MuiButtonBase-root': {\n border: 'none',\n padding: '8px',\n width: '200px',\n boxShadow: 'none',\n textAlign: 'left',\n borderRadius: '2px',\n justifyContent: 'flex-start',\n backgroundColor: 'transparent',\n color: theme.palette.grey?.[400]\n }\n}));\n","import React, { useEffect, useState } from 'react';\n\nimport { useRouter } from 'next/router';\n\nimport { alpha, Stack } from '@mui/material';\nimport { KeyboardArrowDownOutlined, KeyboardArrowUpOutlined } from '@mui/icons-material';\n\nimport { StyledButton, StyledText } from '@/components/lib';\nimport { InteractionTypeDDContainer, StyledInteractionsTypePopover } from './InteractionTypeDropDown.styles';\n\nimport { logger } from '@/helpers/services/logger';\nimport { ReadInteractionTypeSchema } from '@/helpers/services/api';\nimport { getStorageItem, setStorageItem, storageKeys } from '@/helpers/utils/localStorage';\n\nimport { constants, iconsDictionary } from './interactionTypes.constants';\n\ninterface InteractionTypeDropDownProps {\n noLabel?: boolean;\n outline?: boolean;\n interactionType: string;\n appInteractionTypes?: ReadInteractionTypeSchema[];\n additionalCallback?: () => void;\n setInteractionType: (value: string) => void;\n}\n\nconst { label, types } = constants;\n\nexport const InteractionTypeDropDown = (props: InteractionTypeDropDownProps) => {\n const { noLabel, outline, interactionType, appInteractionTypes, additionalCallback, setInteractionType } = props;\n\n const { query, pathname, replace } = useRouter();\n\n const [anchorEl, setAnchorEl] = useState(null);\n\n const appStorage = getStorageItem(storageKeys.app);\n\n const noAppInteractionTypesFallback = Array?.isArray(appStorage?.interactionType?.options)\n ? appStorage?.interactionType?.options\n : types;\n\n const availableTypes: ReadInteractionTypeSchema[] = appInteractionTypes || noAppInteractionTypesFallback;\n\n const activeTypes = Array?.isArray(availableTypes) ? availableTypes?.filter(val => !!val?.is_active) : types;\n\n const handleOpen = (event: React.MouseEvent) => setAnchorEl(anchorEl ? null : event?.currentTarget);\n\n const handleChooseType = (type: string) => {\n if (type !== interactionType) {\n setAnchorEl(null);\n setInteractionType(type);\n setStorageItem(storageKeys.app, {\n ...appStorage,\n interactionType: { options: availableTypes, value: type }\n });\n\n additionalCallback && additionalCallback();\n } else {\n setAnchorEl(null);\n }\n };\n\n useEffect(() => {\n try {\n if (!interactionType || !availableTypes?.find(type => type?.name === interactionType)) {\n setInteractionType(availableTypes?.[0]?.name);\n setStorageItem(storageKeys.app, {\n ...appStorage,\n interactionType: {\n value: availableTypes?.[0]?.name,\n options: availableTypes\n }\n });\n } else {\n replace({ pathname, query: { ...query, interactionType: interactionType } }, undefined, {});\n }\n } catch (err) {\n logger(err);\n setInteractionType(types?.[0]?.name);\n }\n }, [interactionType, appInteractionTypes]);\n\n try {\n return (\n <>\n \n {!noLabel && }\n : \n }\n label={interactionType}\n startIcon={iconsDictionary?.[Number(activeTypes?.find(type => type?.name === interactionType)?.icon_id)]}\n onClick={handleOpen}\n data-testid=\"InteractionTypeButton\"\n />\n \n setAnchorEl(null)}>\n \n {activeTypes?.map(type => (\n handleChooseType(type?.name)}\n data-testid={`InteractionTypeButton_${type?.name}`}\n />\n ))}\n \n \n \n );\n } catch (err) {\n logger(err);\n\n return ;\n }\n};\n","import React from 'react';\n\nimport ThumbUpIcon from '@mui/icons-material/ThumbUp';\nimport ThumbDownIcon from '@mui/icons-material/ThumbDown';\nimport { HelpOutline, ThumbDownOutlined, ThumbUpOutlined, UpdateRounded } from '@mui/icons-material';\n\nimport { StyledText } from '@/components/lib';\n\nimport { AnnotationType, PropertyDefinitionSchema } from '@/helpers/services/api';\n\nimport { SelectedColumnType } from '../Samples.types';\nimport { sxErrorStyles, sxGreyStyles, sxLowGreyStyles, sxSuccessStyles } from './SamplesTable.styles';\n\nimport { constants } from './samplesTable.constants';\n\ntype Selected = string[];\n\nexport const selectMultiple = (\n event: React.MouseEvent,\n id: string,\n selected: Selected,\n setSelected: React.Dispatch>\n) => {\n event.stopPropagation();\n\n const selectedIndex = selected.indexOf(id);\n let newSelected: string[] = [];\n\n if (selectedIndex === -1) {\n newSelected = newSelected.concat(selected, id);\n } else if (selectedIndex === 0) {\n newSelected = newSelected.concat(selected.slice(1));\n } else if (selectedIndex === selected.length - 1) {\n newSelected = newSelected.concat(selected.slice(0, -1));\n } else if (selectedIndex > 0) {\n newSelected = newSelected.concat(selected.slice(0, selectedIndex), selected.slice(selectedIndex + 1));\n }\n\n setSelected(newSelected);\n};\n\nexport const isSelected = (id: string, selected: Selected) => selected.indexOf(id) !== -1;\n\nexport function getAnnotation(annotation: AnnotationType | undefined | null, isEstimated?: boolean) {\n switch (annotation) {\n case 'good':\n return isEstimated ? (\n <>\n \n \n \n ) : (\n \n );\n\n case 'bad':\n return isEstimated ? (\n <>\n \n \n \n ) : (\n \n );\n\n case 'unknown':\n return ;\n\n default:\n return ;\n }\n}\n\nconst { inputKey, outputKey } = constants;\n\nfunction foundProperty(propertylist: PropertyDefinitionSchema[], column: string) {\n return propertylist.find(e => e.property_name === column) ? column : propertylist[0]?.property_name;\n}\n\nexport function saveCurrentSelectedColumn(\n setSelectedColumn: (value: React.SetStateAction) => void,\n propertylist: PropertyDefinitionSchema[],\n column: string | undefined,\n renderedColumn: string,\n isPenTest: boolean,\n selectedColumns: SelectedColumnType[],\n setSelectedColumns: React.Dispatch>\n) {\n const outputProperties = propertylist.filter(el => el?.property_type === 'output');\n const inputProperties = propertylist.filter(el => el?.property_type === 'input');\n const customProperties = propertylist.filter(el => el?.property_type === 'custom');\n const garakProperties = propertylist.filter(el => el?.property_type === 'garak');\n\n if (isPenTest && garakProperties?.length) {\n !selectedColumns.length &&\n setSelectedColumns([\n {\n selected: false,\n propertyName: garakProperties[0].property_name,\n propertyType: garakProperties[0].property_type\n }\n ]);\n setSelectedColumn(garakProperties[0]?.property_name);\n return;\n }\n\n if (!column) {\n setSelectedColumn(outputProperties[outputProperties.length - 3]?.property_name);\n return;\n }\n\n if (renderedColumn === inputKey) {\n setSelectedColumn(foundProperty(inputProperties, column));\n return;\n } else if (renderedColumn === outputKey) {\n setSelectedColumn(foundProperty(outputProperties, column));\n return;\n } else {\n const selectedColumn = customProperties.find(e => e.property_name === column)\n ? column\n : customProperties[0]?.property_name;\n\n if (selectedColumn) {\n setSelectedColumn(foundProperty(customProperties, column));\n return;\n } else {\n setSelectedColumn(inputProperties[0]?.property_name);\n }\n }\n}\n","export default {\"src\":\"/_next/static/media/builtin_property.897f5f7e.svg\",\"height\":14,\"width\":14,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/user_value_property.5f3d359d.svg\",\"height\":16,\"width\":18,\"blurWidth\":0,\"blurHeight\":0};","import React from 'react';\n\nimport Image from 'next/image';\n\nimport { Box, styled } from '@mui/material';\n\nimport { StyledText } from '@/components/lib';\n\nimport builtinIcon from '@/public/assets/common/builtin_property.svg';\nimport userValueIcon from '@/public/assets/common/user_value_property.svg';\n\nexport const StyledPropertyTagRowContainer = styled(Box)({\n gap: '8px',\n display: 'flex',\n flexDirection: 'row',\n width: 'content-fit !important'\n});\n\nexport const StyledPropertyTag = styled(StyledText)(({ theme }) => ({\n width: 'auto',\n overflow: 'unset',\n fontWeight: '700',\n textAlign: 'center',\n fontSize: '10px !important',\n color: theme.palette.grey[500]\n}));\n\nexport const StyledPropertyTagContainer = styled(Box)(({ theme }) => ({\n height: '20px',\n display: 'flex',\n padding: '0 4px',\n borderRadius: '5px',\n flexDirection: 'row',\n alignItems: 'center',\n border: `2px solid ${theme.palette.grey[400]}`,\n\n '.MuiSvgIcon-root': {\n margin: '0 !important',\n fontSize: '13px !important',\n fill: `${theme.palette.grey[500]} !important`,\n color: `${theme.palette.grey[500]} !important`\n }\n}));\n\nexport const BuiltInIcon = () => \"BuiltIn\";\n\nexport const UserValueIcon = () => \"UserValue\";\n","import React from 'react';\n\nimport { AutoModeOutlined } from '@mui/icons-material';\n\nimport { StyledToolTip } from '@/components/lib';\nimport {\n BuiltInIcon,\n UserValueIcon,\n StyledPropertyTag,\n StyledPropertyTagContainer,\n StyledPropertyTagRowContainer\n} from './PropertyTag.styles';\n\nimport { PropertyDefinitionSchemaUserFacingPropertyType, UserFacingPropertyType } from '@/helpers/services/api';\n\nimport { constants } from './propertyTag.constants';\n\ninterface PropertyTagProps {\n margin?: string;\n withText?: boolean;\n kind?: PropertyDefinitionSchemaUserFacingPropertyType;\n}\n\nexport const PropertyTag = (props: PropertyTagProps) => {\n const { kind, margin = '0', withText } = props;\n\n const { builtIn, builtInTooltip, customPrompt, customPromptTooltip, userProvided, userProvidedTooltip } = constants;\n\n if (!kind) {\n return <>;\n }\n\n const iconData = () => {\n switch (kind) {\n case UserFacingPropertyType['Built-in']:\n return { text: builtIn, tooltip: builtInTooltip, icon: };\n case UserFacingPropertyType['User_Value']:\n return { text: userProvided, tooltip: userProvidedTooltip, icon: };\n case UserFacingPropertyType['Prompt']:\n return { text: customPrompt, tooltip: customPromptTooltip, icon: };\n default:\n return { text: 'Detector', tooltip: '', icon: };\n }\n };\n\n return (\n \n \n {iconData()?.icon}\n \n {withText ? (\n \n \n \n ) : (\n <>\n )}\n \n );\n};\n","export const constants = {\n builtIn: 'Built-in',\n builtInTooltip: 'Built-in',\n customPrompt: 'Prompt',\n customPromptTooltip: 'Prompt',\n userProvided: 'User Value',\n userProvidedTooltip: 'User Value'\n};\n","import { Stack, styled } from '@mui/material';\n\nimport { StyledContainer as DSStyledContainer, StyledContainer, StyledText } from '@/components/lib';\n\nimport { fadeInAnimation } from '@/helpers/animations';\n\nexport const StyledDiffContainer = styled(Stack, {\n shouldForwardProp: prop => prop !== 'diff'\n})<{ diff?: string; is_dark_mode?: string }>(({ theme, diff, is_dark_mode }) => ({\n overflowY: 'auto',\n borderRadius: '8px',\n color: theme.palette.grey[700],\n animation: `${fadeInAnimation} 0.5s ease`,\n\n '.css-vl0irh-content': { background: `${theme?.palette?.grey[200]} !important` },\n '.css-cncyp1-word-diff': { padding: '0 2px' },\n '.css-1u4zuq6-word-added': {\n fontWeight: 600,\n background: is_dark_mode === 'true' ? 'rgba(1, 110, 153, 1)' : 'rgba(163, 229, 255, 1)'\n },\n '.css-hf3w1f-word-removed': {\n fontWeight: 600,\n background: is_dark_mode === 'true' ? 'rgba(92, 54, 164, 1)' : 'rgba(218, 201, 249, 1)'\n },\n '.css-cnnxkz-diff-added': {\n display: diff === 'true' ? 'auto' : 'none',\n background: `${theme?.palette?.grey[200]} !important`\n },\n '.css-rq9a2a-diff-removed': {\n display: diff === 'true' ? 'none' : 'auto',\n background: `${theme?.palette?.grey[200]} !important`\n },\n // '.css-1ks9aww-gutter, .css-17vezug-marker': { display: 'none' },\n '.MuiTypography-body2': { fontWeight: 800, color: theme.palette.grey[700] },\n '.css-1klnsbn-empty-gutter, .css-17vezug-marker, .css-1ks9aww-gutter': { display: 'none' },\n '.MuiTypography-body1': { fontWeight: 500, color: theme.palette.grey[600], fontSize: '12px' },\n '.css-1ks9aww-gutter': {\n minWidth: '24px',\n background: `${theme?.palette?.grey[200]} !important`\n },\n '.css-h84nzi-line-number': {\n fontWeight: 800,\n color: `${diff === 'true' ? 'rgba(54, 123, 244, 1)' : 'rgba(145, 89, 247, 1)'} !important`\n },\n\n table: { background: `${theme?.palette?.grey[200]} !important` },\n pre: { fontSize: '12px', color: `${theme.palette.grey[600]} !important`, fontFamily: 'Manrope' }\n}));\n\nexport const StyledContentBottomContainer = styled(StyledContainer)(({ theme }) => ({\n gap: 0,\n marginTop: '-12px',\n borderRadius: '12px',\n alignItems: 'center',\n flexDirection: 'row',\n padding: '0 24px 16px',\n borderTopLeftRadius: '0',\n borderTopRightRadius: '0',\n justifyContent: 'space-between',\n color: theme.palette.grey[600],\n background: theme?.palette?.grey[200]\n}));\n\nexport const StyledAnnotationContentContainer = styled(StyledContainer)<{ is_sticky?: string; is_full_width?: string }>(\n ({ is_sticky, is_full_width, theme }) => ({\n gap: '4px',\n bottom: 0,\n alignItems: 'center',\n flexDirection: 'row',\n marginLeft: 'auto',\n background: is_sticky === 'true' ? theme?.palette?.grey[200] : 'transparent',\n marginTop: is_sticky === 'true' ? 'auto' : 0,\n position: is_sticky === 'true' ? 'sticky' : 'static',\n width: is_full_width === 'true' ? '100%' : 'auto',\n borderRadius: is_full_width === 'true' ? '0' : '12px'\n })\n);\n\nexport const StyledPropertyScoreContainer = styled(StyledContainer)({\n alignItems: 'center',\n flexDirection: 'row',\n gap: '12px',\n width: 'auto',\n padding: 0\n});\n\nexport const StyledTogglerContainer = styled(Stack)(({ theme }) => ({\n padding: '2px',\n borderRadius: '12px',\n alignContent: 'center',\n background: theme.palette.grey[200],\n marginRight: 'auto',\n\n '.MuiFormControlLabel-labelPlacementEnd': {\n marginLeft: '0'\n }\n}));\n\nexport const StyledPropertyScoreNumberContainer = styled(StyledContainer)(({ theme }) => ({\n alignItems: 'center',\n justifyContent: 'center',\n height: '40px',\n gap: 0,\n padding: '0 8px',\n border: `2px solid ${theme.palette.grey[300]}`,\n borderRadius: '8px',\n width: '50px'\n}));\n\nexport const StyledPropColorText = styled(StyledText)(({ theme }) => ({\n color: theme.palette.grey[600]\n}));\n\nexport const StyledInfoRetrievalText = styled(StyledText)<{ is_margin?: string }>(({ theme, is_margin }) => ({\n color: theme.palette.grey[600],\n marginBottom: is_margin === 'true' ? '8px' : 0,\n overflow: 'visible'\n}));\n\nexport const StyledContentContainer = styled(DSStyledContainer)<{ is_sticky?: string }>(({ theme, is_sticky }) => ({\n overflowY: 'auto',\n fontSize: '12px',\n borderRadius: '12px',\n whiteSpace: 'pre-line',\n borderBottomLeftRadius: '0',\n borderBottomRightRadius: '0',\n color: theme.palette.grey[600],\n background: theme?.palette?.grey[200],\n animation: `${fadeInAnimation} 0.5s ease`,\n height: is_sticky === 'true' ? '318px' : '270px',\n paddingBottom: is_sticky === 'true' ? 0 : '12px',\n\n '&::-webkit-scrollbar-thumb': {\n borderRadius: '8px',\n backgroundColor: theme.palette.grey[300]\n }\n}));\n\nexport const StyledSimilarityContainer = styled(StyledContainer)(({ theme }) => ({\n gap: '0',\n padding: '0',\n display: 'grid',\n marginLeft: 'auto',\n alignItems: 'center',\n width: 'fit-content',\n gridTemplateColumns: '98px 44px',\n animation: `${fadeInAnimation} 0.5s ease-in-out`,\n\n '.MuiTypography-h5': { fontWeight: 500 },\n '.MuiTypography-body2': {\n padding: '2px 4px',\n textAlign: 'center',\n borderRadius: '6px',\n color: theme.palette.grey[600],\n background: theme.palette.grey[200]\n },\n\n '@media (min-width:1440px)': {\n gridTemplateColumns: '110px 44px'\n }\n}));\n\nexport const StyledContentHeader = styled(Stack)({\n gap: '24px',\n height: '30px',\n padding: '0 6px',\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'space-between'\n});\n","import React, { JSX } from 'react';\n\nimport {\n TaskRounded,\n HelpRounded,\n CloudRounded,\n FileOpenRounded,\n CategoryRounded,\n SummarizeRounded,\n TableChartRounded,\n AccessTimeRounded,\n AutoAwesomeRounded,\n ConstructionRounded,\n FolderSpecialRounded\n} from '@mui/icons-material';\n\nimport { ReadInteractionTypeSchema } from '@/helpers/services/api';\n\nexport const colorsList = [\n '#9159F7',\n '#00B2C2',\n '#02A5E6',\n '#C23EC0',\n '#367BF4',\n '#DD268D',\n '#2A0B63',\n '#5C36A4',\n '#B28FF3',\n '#2052AA',\n '#79A7F8',\n '#007681',\n '#016E99',\n '#47C9FD',\n '#822980',\n '#95175E',\n '#95175E'\n];\n\nexport const iconsDictionary: { [key: number]: JSX.Element } = {\n 1: ,\n 2: ,\n 3: ,\n 4: ,\n 5: ,\n 6: ,\n 7: ,\n 8: ,\n 10: ,\n 11: ,\n 12: \n};\n\nexport const constants = {\n label: 'Interaction Type',\n types: [\n { name: 'Q&A', color_code: `${colorsList[0]}`, icon_id: 1, id: NaN, is_builtin_type: true, is_active: false },\n { name: 'Other', color_code: `${colorsList[1]}`, icon_id: 2, id: NaN, is_builtin_type: true, is_active: false },\n {\n name: 'Summarization',\n color_code: `${colorsList[2]}`,\n icon_id: 3,\n id: NaN,\n is_builtin_type: true,\n is_active: false\n },\n {\n name: 'Classification',\n color_code: `${colorsList[3]}`,\n icon_id: 4,\n id: NaN,\n is_builtin_type: true,\n is_active: false\n },\n {\n name: 'Generation',\n color_code: `${colorsList[4]}`,\n icon_id: 5,\n id: NaN,\n is_builtin_type: true,\n is_active: false\n },\n {\n name: 'Feature Extraction',\n color_code: `${colorsList[5]}`,\n icon_id: 6,\n id: NaN,\n is_builtin_type: true,\n is_active: false\n }\n ] as ReadInteractionTypeSchema[]\n};\n","import { Stack, styled } from '@mui/material';\nimport RefreshIcon from '@mui/icons-material/Refresh';\n\nimport { StyledContainer, StyledDropdown, StyledText } from '@/components/lib';\n\nexport const AppFiltersContainer = styled(StyledContainer)({\n gap: '16px',\n flexWrap: 'wrap',\n padding: '8px',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n\n '.css-i4bv87-MuiSvgIcon-root': { cursor: 'pointer', margin: '6px -12px 0 0' }\n});\n\nexport const AppFiltersInnerContainer = styled(StyledContainer)({\n gap: '16px',\n padding: '0',\n width: 'auto',\n flexWrap: 'wrap',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'left'\n});\n\nexport const AppFiltersVersionsDropdown = styled(StyledDropdown)({\n width: '225px'\n});\n\nexport const AppFiltersInnerItemContainer = styled(Stack)({\n gap: '8px',\n alignItems: 'center',\n flexDirection: 'row'\n});\n\nexport const StyledLabelText = styled(StyledText)({ marginLeft: '0px' });\n\nexport const StyledRefreshIcon = styled(RefreshIcon)(({ theme }) => ({\n cursor: 'pointer',\n fill: theme.palette.primary.main,\n transition: 'opacity ease 0.3s',\n\n ':hover': { opacity: 0.7 }\n}));\n","import { EnvType } from '@/helpers/services/api';\n\nimport { getUserPreferences } from '@/helpers/utils/localStorage';\n\nexport const envs = [\n { value: EnvType['EVAL'], label: 'Evaluation' },\n { value: EnvType['PENTEST'], label: 'Pentest' },\n { value: EnvType['PROD'], label: 'Production' }\n];\n\nexport const constants = {\n time: { label: 'Time Range' },\n application: { label: 'Application', placeholder: 'application' },\n version: { label: 'Version', placeholder: 'Click to create' },\n noVersion: 'No Application Version Selected',\n refreshTooltip: 'Refresh Content',\n manageBtnLabel: 'Manage Applications >',\n manageVersionBtnLabel: 'Manage Versions >',\n internalServerErr: {\n title: 'Sorry, we had some technical issues during your last operation',\n buttonLabel: 'Reload',\n imgAlt: 'magnifying glass illustration'\n }\n};\n\nexport const srcRadioOptions = () => {\n return Array.isArray(getUserPreferences()?.activeEnvs)\n ? envs.filter(env => getUserPreferences().activeEnvs.includes(env.value))\n : envs;\n};\n","import React from 'react';\n\nimport { Stack, styled, Theme } from '@mui/material';\n\nimport { StyledMUICheckbox, StyledText } from '@/components/lib';\nimport { TextProps } from '@/components/lib/components/Text/Text';\n\nexport const StyledContainer = styled(Stack)({\n width: '100%',\n minWidth: '700px',\n maxWidth: '2150px'\n});\n\nexport const StyledRowContainer = styled(Stack)(({ theme }) => ({\n borderRadius: '10px',\n flexDirection: 'row',\n alignItems: 'center',\n padding: '5px 22px 5px 10px',\n background: theme.palette.common.white\n}));\n\ninterface StyledRowBaseContainerProps {\n row?: string;\n column_count?: number;\n}\n\nexport const StyledRowBaseContainer = styled(Stack)(({ row, column_count }) => ({\n flexDirection: 'row',\n alignItems: 'center',\n width: row\n ? `calc(100% - (${(column_count || 1) * 110}px + 110px + 145px))`\n : `calc(100% - (${column_count === 3 ? 0 : 52}px + ${(column_count || 1) * 110}px + 110px + 145px))`\n}));\n\nexport const StyledColumnContainer = styled(Stack)(({ row, column_count, theme }) => ({\n gap: 0,\n padding: 0,\n flexDirection: 'row',\n alignItems: 'center',\n width: `calc(${row || column_count === 3 ? 0 : 52}px + ${(column_count || 1) * 110}px + 110px + 145px)`,\n\n '.MuiSvgIcon-root': { color: theme.palette.grey[400] }\n}));\n\nexport const StyledCheckBox = styled(StyledMUICheckbox)(({ theme, checked, disabled, indeterminate }) => ({\n padding: 0,\n margin: '0 8px 0 -3px',\n\n '& svg': { fill: (checked || indeterminate) && !disabled ? theme.palette.primary.main : theme.palette.grey[300] }\n}));\n\nexport const StyledTableBody = styled(Stack, {\n shouldForwardProp: prop => prop !== 'is_topics_available'\n})<{ is_topics_available: string }>(({ is_topics_available, theme }) => ({\n gap: '8px',\n overflow: 'auto',\n minHeight: '400px',\n height: `calc(100vh - ${210 + (is_topics_available === 'true' ? 80 : 0)}px)`,\n\n '&::-webkit-scrollbar': { width: '4px', marginLeft: '8px' },\n '&::-webkit-scrollbar-thumb:hover': { background: theme.palette.grey[400] },\n '&::-webkit-scrollbar-thumb': { backgroundColor: theme.palette.grey[300], borderRadius: '8px' },\n\n '@media (max-width: 2050px)': { height: `calc(100vh - ${260 + (is_topics_available === 'true' ? 80 : 0)}px)` },\n '@media (max-width: 1640px)': { height: `calc(100vh - ${310 + (is_topics_available === 'true' ? 80 : 0)}px)` }\n}));\n\nexport const StyledListItemText = styled((props: TextProps) => , {\n shouldForwardProp: prop => prop !== 'is_selected'\n})<{ is_selected?: string }>(({ theme, is_selected }) => ({\n marginRight: 'auto',\n whiteSpace: 'nowrap',\n color: is_selected === 'true' ? theme.palette.primary.main : theme.palette.grey[600]\n}));\n\nexport const sxGreyStyles = (theme: Theme) => ({ fill: theme.palette.grey[500] });\nexport const sxErrorStyles = (theme: Theme) => ({ fill: theme.palette.error.main });\nexport const sxLowGreyStyles = (theme: Theme) => ({ color: theme.palette.grey[300] });\nexport const sxSuccessStyles = (theme: Theme) => ({ fill: theme.palette.success.main });\n","import { Stack, styled } from '@mui/material';\n\nimport { StyledContainer as DSStyledContainer } from '@/components/lib';\n\nexport const StyledContainer = styled(Stack)({\n gap: '8px',\n\n '.MuiTypography-h5': {\n margin: '16px auto 8px'\n }\n});\n\nexport const StyledInnerContainer = styled(DSStyledContainer)(({ theme }) => ({\n padding: '16px',\n background: theme.palette.grey[100],\n\n '.MuiButton-text': {\n padding: '0',\n fontSize: '12px',\n color: theme.palette.primary.main\n }\n}));\n\nexport const StyledRowInnerContainer = styled(StyledContainer)({\n gap: '8px',\n display: 'grid',\n alignItems: 'center',\n gridTemplateColumns: '36px auto'\n});\n","import React from 'react';\n\nimport { Stack } from '@mui/material';\nimport { SettingsBackupRestoreRounded } from '@mui/icons-material';\n\nimport { StyledButton, StyledText } from '@/components/lib';\nimport { StyledContainer, StyledRowInnerContainer, StyledInnerContainer } from './SamplesAnnotationEst.styles';\n\nimport { AnnotationSchemaOut } from '@/helpers/services/api';\nimport { getAnnotation } from '@/components/Samples/SamplesTable/SamplesTable.helpers';\n\nimport { constants } from '../../samplesAnnotationCell.constants';\n\ninterface SamplesAnnotationEstProps {\n estAnnotation?: AnnotationSchemaOut | null;\n handleCloseRootMenu: (e: { stopPropagation?: () => void }, isRevert?: boolean) => void;\n handleModifyAnnotationId: (annotation: string | null, isRevert?: boolean) => void;\n annotationVal: string | undefined;\n}\n\nconst { deleteButtonLabel, estAnnotation } = constants;\nconst { title, buttonLabel, noReason, calculating } = estAnnotation;\n\nexport const SamplesAnnotationEst = (props: SamplesAnnotationEstProps) => {\n const { estAnnotation, handleCloseRootMenu, handleModifyAnnotationId, annotationVal } = props;\n\n if (!annotationVal && !estAnnotation?.value) {\n return <>;\n }\n\n const handleRevertClick = (event: React.MouseEvent) => {\n estAnnotation?.value ? handleModifyAnnotationId(estAnnotation.value, true) : handleModifyAnnotationId(null, true);\n handleCloseRootMenu && handleCloseRootMenu(event, true);\n };\n\n return (\n \n \n \n \n {getAnnotation(estAnnotation?.value, estAnnotation?.is_estimated)}\n \n \n handleRevertClick(e)}\n startIcon={}\n />\n \n \n );\n};\n","import { Box, Menu, MenuItem, styled } from '@mui/material';\n\nexport const StyledContainer = styled(Box)({\n height: '44px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n});\n\nexport const StyledRowContainer = styled(Box)({\n display: 'flex',\n width: 'fit-content',\n flexDirection: 'row',\n margin: '0 auto 16px'\n});\n\nexport const StyledRootMenu = styled(Menu)(({ theme }) => ({\n marginTop: '9px',\n\n '& .MuiPaper-root': {\n width: '290px',\n padding: '16px',\n overflow: 'visible',\n borderRadius: '10px',\n justifyContent: 'center',\n boxShadow: `2px 2px 30px -10px ${theme.palette.grey[400]}`\n }\n}));\n\ninterface styledMenuItemProps {\n is_selected?: string;\n}\n\nexport const StyledMenuItem = styled(MenuItem, {\n shouldForwardProp: prop => prop !== 'is_selected'\n})(({ is_selected, theme }) => ({\n gap: '12px',\n padding: '2px 16px',\n position: 'relative',\n flexDirection: 'column',\n background: is_selected === 'true' ? theme.palette.grey[200] : 'transparent',\n\n '& svg': {\n color: theme.palette.primary.main\n },\n\n '&:not(:last-child)': {\n borderRight: `2px solid ${theme.palette.grey[200]}`\n }\n}));\n","import React from 'react';\n\nimport { MenuProps } from '@mui/material';\n\nimport { SamplesAnnotationEst } from './SamplesAnnotationEst/SamplesAnnotationEst';\n\nimport { StyledInput, StyledText } from '@/components/lib';\nimport { StyledMenuItem, StyledRootMenu } from '../SamplesAnnotationCell.styles';\nimport { StyledRowContainer } from '../SamplesAnnotationCell.styles';\n\nimport { getAnnotation } from '@/components/Samples/SamplesTable/SamplesTable.helpers';\n\nimport { AnnotationSchemaOut, AnnotationType } from '@/helpers/services/api';\nimport { capitalizeFirstLetter } from '@/helpers/utils/capitalizeFirstLetter';\n\nimport { constants } from '../samplesAnnotationCell.constants';\n\ninterface SamplesAnnotationMenuProps extends MenuProps {\n reason: string;\n isEstimated: boolean | undefined;\n annotationVal: AnnotationType | undefined;\n estAnnotation?: AnnotationSchemaOut | null;\n setReason: (reason: string) => void;\n handleModifyAnnotationId: (annotation: string | null, isRevert?: boolean) => void;\n handleCloseRootMenu: (e: { stopPropagation?: () => void }, isRevert?: boolean) => void;\n setAnnotationVal: (annotation: AnnotationType | undefined) => void;\n}\n\nconst { options, inputPlaceHolder } = constants.menu;\n\nexport const SamplesAnnotationMenu = (props: SamplesAnnotationMenuProps) => {\n const {\n reason,\n isEstimated,\n annotationVal,\n estAnnotation,\n setReason,\n setAnnotationVal,\n handleCloseRootMenu,\n handleModifyAnnotationId,\n ...otherProps\n } = props;\n\n const isSelected = (annotation: string) => annotation === annotationVal && !isEstimated;\n\n const handleSelect = async (event: React.SyntheticEvent, annotation: AnnotationType) => {\n event.stopPropagation();\n setAnnotationVal(annotation);\n handleModifyAnnotationId(annotation);\n };\n\n const handleKeyDown = (event: React.KeyboardEvent) => {\n event.code === 'Enter' && handleCloseRootMenu(event);\n event.code === 'KeyG' && event.stopPropagation();\n };\n\n return (\n \n \n {options.map(annotation => (\n handleSelect(e, annotation as AnnotationType)}\n is_selected={`${isSelected(annotation)}`}\n >\n {getAnnotation(annotation as AnnotationType)}\n \n \n ))}\n \n setReason(e.target.value)}\n onKeyDown={e => handleKeyDown(e)}\n />\n \n \n );\n};\n","import React, { useEffect, useState } from 'react';\n\nimport { BoxProps, Stack } from '@mui/material';\n\nimport { usePermission } from '../RBAC/RBAC';\nimport { SamplesAnnotationMenu } from './SamplesAnnotationMenu/SamplesAnnotationMenu';\n\nimport { StyledToolTip } from '@/components/lib';\nimport { StyledContainer } from './SamplesAnnotationCell.styles';\n\nimport { getAppStorage } from '@/helpers/utils/localStorage';\nimport { getAnnotation } from '@/components/Samples/SamplesTable/SamplesTable.helpers';\nimport {\n Permission,\n AnnotationType,\n AnnotationSchemaOut,\n updateAnnotationsApiV1AnnotationsPut\n} from '@/helpers/services/api';\n\ninterface AnnotationCellProps extends BoxProps {\n interactionId: string;\n interactionVersionId?: number;\n nonEditable?: boolean;\n disableTooltip?: boolean;\n annotation: AnnotationSchemaOut | null;\n estAnnotation?: AnnotationSchemaOut | null;\n updateAnnotation?: (\n interactionId: string,\n annotation: string,\n reason: string,\n isEstimated?: boolean,\n deleteAnnotation?: boolean\n ) => void;\n}\n\nexport const AnnotationCell = (props: AnnotationCellProps) => {\n const {\n annotation,\n nonEditable,\n estAnnotation,\n interactionId,\n disableTooltip,\n interactionVersionId,\n updateAnnotation,\n ...otherProps\n } = props;\n\n const [reason, setReason] = useState(annotation?.reason ?? '');\n const [annotationVal, setAnnotationVal] = useState(annotation?.value as AnnotationType);\n const [isEstimated, setIsEstimated] = useState(annotation?.is_estimated);\n const [anchorElRootMenu, setAnchorElRootMenu] = useState(null);\n\n const { versionId } = getAppStorage();\n\n const { isAllowed } = usePermission(Permission['AUTO_ANNOTATIONS_WRITE']);\n\n const estimatedAnnotation = !annotation?.is_estimated ? estAnnotation : undefined;\n\n const handleOpenRootMenu = (event: React.MouseEvent) => {\n if (!nonEditable && isAllowed) {\n event.stopPropagation();\n\n setAnchorElRootMenu(event.currentTarget);\n }\n };\n\n const handleModifyAnnotationId = (annotation: string | null, isRevert?: boolean) => {\n setIsEstimated(false);\n\n updateAnnotationsApiV1AnnotationsPut({\n application_version_id: interactionVersionId || versionId,\n user_interaction_id: interactionId,\n value: isRevert ? undefined : (annotation as AnnotationType),\n reason: isRevert ? undefined : reason,\n revert_to_estimated: isRevert\n });\n\n if (isRevert && annotation === null && updateAnnotation) {\n const finalReason = isRevert ? `${estAnnotation?.reason}` : reason;\n const finalAnnotation = `${estAnnotation?.value}`;\n\n updateAnnotation(interactionId, finalAnnotation, finalReason, isRevert, true);\n setAnnotationVal(undefined);\n } else if (annotation && updateAnnotation) {\n const finalReason = isRevert ? `${estAnnotation?.reason}` : reason;\n const finalAnnotation = isRevert ? `${estAnnotation?.value}` : annotation;\n updateAnnotation(interactionId, finalAnnotation, finalReason, isRevert);\n }\n };\n\n const handleCloseRootMenu = (event: { stopPropagation?: () => void }, isRevert?: boolean) => {\n event?.stopPropagation && event?.stopPropagation();\n setAnchorElRootMenu(null);\n\n if (!isRevert && reason !== annotation?.reason && annotationVal) {\n handleModifyAnnotationId(annotationVal);\n }\n };\n\n useEffect(() => {\n setReason(annotation?.reason ?? '');\n setIsEstimated(annotation?.is_estimated);\n setAnnotationVal(annotation?.value as AnnotationType);\n }, [annotation?.value, annotation?.is_estimated, annotation?.reason]);\n\n return (\n \n \n {getAnnotation(annotationVal, isEstimated)}\n \n handleCloseRootMenu(e)}\n handleCloseRootMenu={handleCloseRootMenu}\n handleModifyAnnotationId={handleModifyAnnotationId}\n />\n \n );\n};\n"],"names":["logger","msg","console","error","capitalizeFirstLetter","arg","chars","length","charAt","toUpperCase","restOfTheStringLowercase","slice","toLowerCase","constants","similarityLinkLabel","menu","options","inputPlaceHolder","estAnnotation","title","noReason","buttonLabel","calculating","deleteButtonLabel","useStorageProperties","appId","interactionType","propertiesStorage","getSessionStorageItem","sessionStorageKeys","propFilters","appStorageProperties","allStorageProperties","applicationProperties","prop_filters","applicationPropertiesByInteractionType","filter","property","interaction_type","shakingAnimation","keyframes","fadeInAnimation","spinAnimation","outputKey","addColumn","inputKey","llmKey","garakKey","customKey","columnLimit","sampleKey","responseKey","historyKey","informationRetrievalKey","searchFields","tooltip","Object","keys","SearchSchemaFieldNamesItem","map","field","value","label","fullPromptKey","stepId","id","stepNameKey","name","documentTitle","number","history","dateTitle","annotation","details","reason","searchFieldPlaceholder","samplesPageLength","selectAllTitle","nFiltered","nVersion","na","comparisonBtnLabel","propertiesSection","actionButtons","download","submitBtn","dialogTitle","description","sections","data","properties","general","pentest","input","output","custom","llm","typesSelected","selected","annotations","topics","similarities","sessionRelated","notebook","copyTooltip","deleteTooltip","isDeletion","dialogSubmitButtonLabel","snackbarMessage","dialogMessage","selectedSamples","deleteAll","skeletonHeight","InteractionTypeDDContainer","styled","Stack","theme","outline","opacity","gap","width","border","padding","borderRadius","alignItems","flexDirection","pointerEvents","background","palette","common","white","fontWeight","boxShadow","overflow","margin","whiteSpace","justifyContent","textOverflow","color","grey","backgroundColor","marginLeft","StyledInteractionsTypePopover","Popover","anchorOrigin","vertical","horizontal","transformOrigin","slotProps","paper","style","height","maxHeight","props","textAlign","types","InteractionTypeDropDown","appStorage","Array","activeTypes","noLabel","appInteractionTypes","additionalCallback","setInteractionType","query","pathname","replace","useRouter","anchorEl","setAnchorEl","useState","getStorageItem","storageKeys","app","noAppInteractionTypesFallback","isArray","availableTypes","val","is_active","handleChooseType","type","setStorageItem","useEffect","find","undefined","err","StyledText","text","StyledButton","endIcon","KeyboardArrowUpOutlined","fontSize","KeyboardArrowDownOutlined","startIcon","iconsDictionary","Number","icon_id","onClick","event","handleOpen","currentTarget","data-testid","open","Boolean","onClose","sx","color_code","alpha","selectMultiple","setSelected","stopPropagation","selectedIndex","indexOf","newSelected","concat","getAnnotation","isEstimated","ThumbUpOutlined","sxSuccessStyles","sxLowGreyStyles","ThumbUpIcon","ThumbDownOutlined","sxErrorStyles","ThumbDownIcon","HelpOutline","sxGreyStyles","UpdateRounded","foundProperty","propertylist","column","e","property_name","saveCurrentSelectedColumn","setSelectedColumn","renderedColumn","isPenTest","selectedColumns","setSelectedColumns","garakProperties","outputProperties","customProperties","inputProperties","el","property_type","propertyName","propertyType","selectedColumn","StyledPropertyTagRowContainer","Box","display","fill","Image","src","builtinIcon","alt","userValueIcon","PropertyTag","iconData","kind","withText","builtIn","builtInTooltip","customPrompt","customPromptTooltip","userProvided","userProvidedTooltip","UserFacingPropertyType","icon","BuiltInIcon","UserValueIcon","AutoModeOutlined","StyledToolTip","placement","StyledPropertyTagContainer","StyledPropertyTag","StyledDiffContainer","shouldForwardProp","prop","diff","is_dark_mode","overflowY","animation","minWidth","table","pre","fontFamily","StyledContainer","marginTop","borderTopLeftRadius","borderTopRightRadius","is_sticky","is_full_width","bottom","position","alignContent","marginRight","is_margin","marginBottom","DSStyledContainer","borderBottomLeftRadius","borderBottomRightRadius","paddingBottom","gridTemplateColumns","colorsList","HelpRounded","ConstructionRounded","SummarizeRounded","CategoryRounded","AutoAwesomeRounded","TaskRounded","FileOpenRounded","TableChartRounded","AccessTimeRounded","CloudRounded","FolderSpecialRounded","NaN","is_builtin_type","AppFiltersContainer","flexWrap","cursor","AppFiltersVersionsDropdown","StyledDropdown","RefreshIcon","primary","main","transition","envs","EnvType","time","application","placeholder","version","noVersion","refreshTooltip","manageBtnLabel","manageVersionBtnLabel","internalServerErr","imgAlt","getUserPreferences","activeEnvs","env","includes","maxWidth","StyledRowContainer","row","column_count","StyledMUICheckbox","checked","disabled","indeterminate","StyledTableBody","is_topics_available","minHeight","is_selected","success","SamplesAnnotationEst","handleCloseRootMenu","handleModifyAnnotationId","annotationVal","handleRevertClick","StyledInnerContainer","StyledRowInnerContainer","is_estimated","variant","SettingsBackupRestoreRounded","StyledRootMenu","Menu","MenuItem","borderRight","SamplesAnnotationMenu","setReason","setAnnotationVal","otherProps","isSelected","handleSelect","handleKeyDown","code","StyledMenuItem","StyledInput","onChange","target","onKeyDown","AnnotationCell","nonEditable","interactionId","disableTooltip","interactionVersionId","updateAnnotation","setIsEstimated","anchorElRootMenu","setAnchorElRootMenu","versionId","getAppStorage","isAllowed","usePermission","Permission","estimatedAnnotation","isRevert","updateAnnotationsApiV1AnnotationsPut","application_version_id","user_interaction_id","revert_to_estimated","finalReason","finalAnnotation","handleOpenRootMenu"],"sourceRoot":"","ignoreList":[]}